Skip to content

Commit c4a4a91

Browse files
committed
Add authentication to ComponentTypeEnum
1 parent 8845106 commit c4a4a91

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@
77

88
Send WhatsApp Notifications with Crisp!
99

10-
This package is near stable but not 1.0 yet, as I'm still fine-tuning the API Design.
11-
1210
## Support me
1311

14-
You can use my [referral link to sign up for Crisp & be a paid customer at the
15-
essential or plus plan.](https://crisp.chat/?track=KszsQ9SFo8)
12+
You can use my [referral link to sign up for Crisp. I get a small reward if you become a paid customer at the Essentials or Plus Plan.](https://crisp.chat/?track=KszsQ9SFo8)
13+
14+
I highly recommend Crisp Chat if you are looking for a chat support SaaS for your website. As it charges a flat
15+
monthly fee instead of charging by per seat. It has a very nice UI, powerful bot builder & healthy plugins ecosystem as well.
1616

17-
I highly recommend Crisp Chat if you are looking for a chat support SaaS for your business website. As it charges a flat
18-
monthly fee instead of charging by per seat. To use whatsapp for Crisp, you will need to subscribe at the essential or plus plan.
17+
To use Whatsapp for Crisp, you will need to subscribe at the Essential or Plus plan.
1918

2019
## Installation
2120

src/Enums/CategoryEnum.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
enum CategoryEnum: string
88
{
9+
case Authentication = 'AUTHENTICATION';
910
case Marketing = 'MARKETING';
1011
case Utility = 'UTILITY';
1112
}

src/Enums/ComponentTypeEnum.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,10 @@ enum ComponentTypeEnum: string
99
case Header = 'HEADER';
1010
case Body = 'BODY';
1111
case Footer = 'FOOTER';
12+
13+
// When retrieving, it is BUTTONS
1214
case Buttons = 'BUTTONS';
15+
16+
// When sending, it it BUTTON. No idea why the inconsistency.
17+
case Button = 'BUTTON';
1318
}

0 commit comments

Comments
 (0)