@getbrevo/brevo 2.0.0-beta.4 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +396 -0
- package/.openapi-generator/VERSION +1 -0
- package/api/apis.ts +5 -1
- package/api/contactsApi.ts +12 -2
- package/api/couponsApi.ts +7 -7
- package/api/dealsApi.ts +1 -1
- package/api/ecommerceApi.ts +360 -2
- package/api/eventsApi.ts +169 -0
- package/api/masterAccountApi.ts +1056 -143
- package/api/paymentsApi.ts +321 -0
- package/api/tasksApi.ts +1 -1
- package/api/userApi.ts +2 -2
- package/api/whatsAppCampaignsApi.ts +6 -1
- package/dist/api/apis.d.ts +5 -1
- package/dist/api/apis.js +5 -1
- package/dist/api/apis.js.map +1 -1
- package/dist/api/contactsApi.d.ts +1 -1
- package/dist/api/contactsApi.js +7 -1
- package/dist/api/contactsApi.js.map +1 -1
- package/dist/api/couponsApi.d.ts +2 -2
- package/dist/api/couponsApi.js +4 -4
- package/dist/api/couponsApi.js.map +1 -1
- package/dist/api/ecommerceApi.d.ts +35 -2
- package/dist/api/ecommerceApi.js +303 -2
- package/dist/api/ecommerceApi.js.map +1 -1
- package/dist/api/eventsApi.d.ts +37 -0
- package/dist/api/eventsApi.js +140 -0
- package/dist/api/eventsApi.js.map +1 -0
- package/dist/api/masterAccountApi.d.ts +106 -0
- package/dist/api/masterAccountApi.js +882 -78
- package/dist/api/masterAccountApi.js.map +1 -1
- package/dist/api/paymentsApi.d.ts +55 -0
- package/dist/api/paymentsApi.js +274 -0
- package/dist/api/paymentsApi.js.map +1 -0
- package/dist/api/transactionalEmailsApi.js +1 -0
- package/dist/api/transactionalEmailsApi.js.map +1 -1
- package/dist/api/whatsAppCampaignsApi.d.ts +1 -1
- package/dist/api/whatsAppCampaignsApi.js +4 -1
- package/dist/api/whatsAppCampaignsApi.js.map +1 -1
- package/dist/model/cart.d.ts +20 -0
- package/dist/model/cart.js +29 -0
- package/dist/model/cart.js.map +1 -0
- package/dist/model/configuration.d.ts +14 -0
- package/dist/model/configuration.js +18 -0
- package/dist/model/configuration.js.map +1 -0
- package/dist/model/conversionSourceMetrics.d.ts +23 -0
- package/dist/model/conversionSourceMetrics.js +44 -0
- package/dist/model/conversionSourceMetrics.js.map +1 -0
- package/dist/model/conversionSourceProduct.d.ts +21 -0
- package/dist/model/conversionSourceProduct.js +53 -0
- package/dist/model/conversionSourceProduct.js.map +1 -0
- package/dist/model/corporateGroupDetailsResponse.d.ts +19 -0
- package/dist/model/corporateGroupDetailsResponse.js +28 -0
- package/dist/model/corporateGroupDetailsResponse.js.map +1 -0
- package/dist/model/corporateGroupDetailsResponseGroup.d.ts +16 -0
- package/dist/model/corporateGroupDetailsResponseGroup.js +28 -0
- package/dist/model/corporateGroupDetailsResponseGroup.js.map +1 -0
- package/dist/model/corporateGroupDetailsResponseSubAccountsInner.d.ts +16 -0
- package/dist/model/corporateGroupDetailsResponseSubAccountsInner.js +28 -0
- package/dist/model/corporateGroupDetailsResponseSubAccountsInner.js.map +1 -0
- package/dist/model/corporateGroupDetailsResponseUsersInner.d.ts +16 -0
- package/dist/model/corporateGroupDetailsResponseUsersInner.js +28 -0
- package/dist/model/corporateGroupDetailsResponseUsersInner.js.map +1 -0
- package/dist/model/corporateGroupPost201Response.d.ts +14 -0
- package/dist/model/corporateGroupPost201Response.js +18 -0
- package/dist/model/corporateGroupPost201Response.js.map +1 -0
- package/dist/model/corporateGroupPostRequest.d.ts +15 -0
- package/dist/model/corporateGroupPostRequest.js +23 -0
- package/dist/model/corporateGroupPostRequest.js.map +1 -0
- package/dist/model/corporateGroupUnlinkGroupIdSubAccountsPutRequest.d.ts +14 -0
- package/dist/model/corporateGroupUnlinkGroupIdSubAccountsPutRequest.js +18 -0
- package/dist/model/corporateGroupUnlinkGroupIdSubAccountsPutRequest.js.map +1 -0
- package/dist/model/corporateUserInvitationActionEmailPut200Response.d.ts +14 -0
- package/dist/model/corporateUserInvitationActionEmailPut200Response.js +18 -0
- package/dist/model/corporateUserInvitationActionEmailPut200Response.js.map +1 -0
- package/dist/model/createCouponCollectionRequest.d.ts +5 -2
- package/dist/model/createCouponCollectionRequest.js +17 -2
- package/dist/model/createCouponCollectionRequest.js.map +1 -1
- package/dist/model/createDomainModel.d.ts +1 -0
- package/dist/model/createDomainModel.js +5 -0
- package/dist/model/createDomainModel.js.map +1 -1
- package/dist/model/createDomainModelDnsRecords.d.ts +1 -0
- package/dist/model/createDomainModelDnsRecords.js +5 -0
- package/dist/model/createDomainModelDnsRecords.js.map +1 -1
- package/dist/model/createPaymentRequest.d.ts +21 -0
- package/dist/model/createPaymentRequest.js +38 -0
- package/dist/model/createPaymentRequest.js.map +1 -0
- package/dist/model/createWebhook.d.ts +5 -0
- package/dist/model/createWebhook.js +15 -0
- package/dist/model/createWebhook.js.map +1 -1
- package/dist/model/createWhatsAppTemplate.d.ts +2 -2
- package/dist/model/createWhatsAppTemplate.js +2 -2
- package/dist/model/createWhatsAppTemplate.js.map +1 -1
- package/dist/model/event.d.ts +19 -0
- package/dist/model/event.js +38 -0
- package/dist/model/event.js.map +1 -0
- package/dist/model/eventIdentifiers.d.ts +18 -0
- package/dist/model/eventIdentifiers.js +38 -0
- package/dist/model/eventIdentifiers.js.map +1 -0
- package/dist/model/getContactDetails.d.ts +1 -1
- package/dist/model/getCorporateInvitedUsersList.d.ts +15 -0
- package/dist/model/getCorporateInvitedUsersList.js +18 -0
- package/dist/model/getCorporateInvitedUsersList.js.map +1 -0
- package/dist/model/getCorporateInvitedUsersListUsersInner.d.ts +20 -0
- package/dist/model/getCorporateInvitedUsersListUsersInner.js +38 -0
- package/dist/model/getCorporateInvitedUsersListUsersInner.js.map +1 -0
- package/dist/model/getCorporateInvitedUsersListUsersInnerFeatureAccess.d.ts +17 -0
- package/dist/model/getCorporateInvitedUsersListUsersInnerFeatureAccess.js +33 -0
- package/dist/model/getCorporateInvitedUsersListUsersInnerFeatureAccess.js.map +1 -0
- package/dist/model/getCorporateInvitedUsersListUsersInnerGroups.d.ts +15 -0
- package/dist/model/getCorporateInvitedUsersListUsersInnerGroups.js +23 -0
- package/dist/model/getCorporateInvitedUsersListUsersInnerGroups.js.map +1 -0
- package/dist/model/getCorporateUserPermission.d.ts +19 -0
- package/dist/model/getCorporateUserPermission.js +33 -0
- package/dist/model/getCorporateUserPermission.js.map +1 -0
- package/dist/model/getCorporateUserPermissionFeatureAccess.d.ts +17 -0
- package/dist/model/getCorporateUserPermissionFeatureAccess.js +33 -0
- package/dist/model/getCorporateUserPermissionFeatureAccess.js.map +1 -0
- package/dist/model/getCorporateUserPermissionGroupsInner.d.ts +15 -0
- package/dist/model/getCorporateUserPermissionGroupsInner.js +23 -0
- package/dist/model/getCorporateUserPermissionGroupsInner.js.map +1 -0
- package/dist/model/getCouponCollection.d.ts +3 -0
- package/dist/model/getCouponCollection.js +15 -0
- package/dist/model/getCouponCollection.js.map +1 -1
- package/dist/model/getExtendedContactDetails.d.ts +1 -1
- package/dist/model/getOrders.d.ts +16 -0
- package/dist/model/getOrders.js +23 -0
- package/dist/model/getOrders.js.map +1 -0
- package/dist/model/getOrdersOrdersInner.d.ts +25 -0
- package/dist/model/getOrdersOrdersInner.js +63 -0
- package/dist/model/getOrdersOrdersInner.js.map +1 -0
- package/dist/model/getPaymentRequest.d.ts +29 -0
- package/dist/model/getPaymentRequest.js +51 -0
- package/dist/model/getPaymentRequest.js.map +1 -0
- package/dist/model/getSubAccountGroups200ResponseInner.d.ts +15 -0
- package/dist/model/getSubAccountGroups200ResponseInner.js +23 -0
- package/dist/model/getSubAccountGroups200ResponseInner.js.map +1 -0
- package/dist/model/getWebhook.d.ts +5 -0
- package/dist/model/getWebhook.js +15 -0
- package/dist/model/getWebhook.js.map +1 -1
- package/dist/model/getWebhookAuth.d.ts +15 -0
- package/dist/model/getWebhookAuth.js +23 -0
- package/dist/model/getWebhookAuth.js.map +1 -0
- package/dist/model/getWebhookHeadersInner.d.ts +15 -0
- package/dist/model/getWebhookHeadersInner.js +23 -0
- package/dist/model/getWebhookHeadersInner.js.map +1 -0
- package/dist/model/inviteAdminUser.d.ts +18 -0
- package/dist/model/inviteAdminUser.js +33 -0
- package/dist/model/inviteAdminUser.js.map +1 -0
- package/dist/model/inviteAdminUserPrivilegesInner.d.ts +27 -0
- package/dist/model/inviteAdminUserPrivilegesInner.js +37 -0
- package/dist/model/inviteAdminUserPrivilegesInner.js.map +1 -0
- package/dist/model/inviteuserPrivilegesInner.d.ts +14 -2
- package/dist/model/inviteuserPrivilegesInner.js +13 -1
- package/dist/model/inviteuserPrivilegesInner.js.map +1 -1
- package/dist/model/masterDetailsResponsePlanInfoFeaturesInner.d.ts +2 -0
- package/dist/model/masterDetailsResponsePlanInfoFeaturesInner.js +10 -0
- package/dist/model/masterDetailsResponsePlanInfoFeaturesInner.js.map +1 -1
- package/dist/model/models.d.ts +32 -0
- package/dist/model/models.js +102 -0
- package/dist/model/models.js.map +1 -1
- package/dist/model/notification.d.ts +20 -0
- package/dist/model/notification.js +29 -0
- package/dist/model/notification.js.map +1 -0
- package/dist/model/orderBatch.d.ts +1 -0
- package/dist/model/orderBatch.js +8 -0
- package/dist/model/orderBatch.js.map +1 -1
- package/dist/model/sendSmtpEmailMessageVersionsInner.d.ts +2 -0
- package/dist/model/sendSmtpEmailMessageVersionsInner.js +10 -0
- package/dist/model/sendSmtpEmailMessageVersionsInner.js.map +1 -1
- package/dist/model/sendWhatsappMessage.d.ts +1 -0
- package/dist/model/sendWhatsappMessage.js +5 -0
- package/dist/model/sendWhatsappMessage.js.map +1 -1
- package/dist/model/ssoTokenRequestCorporate.d.ts +14 -0
- package/dist/model/ssoTokenRequestCorporate.js +18 -0
- package/dist/model/ssoTokenRequestCorporate.js.map +1 -0
- package/dist/model/updateCouponCollection200Response.d.ts +1 -1
- package/dist/model/updateCouponCollectionRequest.d.ts +4 -1
- package/dist/model/updateCouponCollectionRequest.js +15 -0
- package/dist/model/updateCouponCollectionRequest.js.map +1 -1
- package/dist/model/updateWebhook.d.ts +5 -0
- package/dist/model/updateWebhook.js +15 -0
- package/dist/model/updateWebhook.js.map +1 -1
- package/model/cart.ts +51 -0
- package/model/configuration.ts +37 -0
- package/model/conversionSourceMetrics.ts +60 -0
- package/model/conversionSourceProduct.ts +73 -0
- package/model/corporateGroupDetailsResponse.ts +46 -0
- package/model/corporateGroupDetailsResponseGroup.ts +52 -0
- package/model/corporateGroupDetailsResponseSubAccountsInner.ts +52 -0
- package/model/corporateGroupDetailsResponseUsersInner.ts +52 -0
- package/model/corporateGroupPost201Response.ts +31 -0
- package/model/corporateGroupPostRequest.ts +43 -0
- package/model/corporateGroupUnlinkGroupIdSubAccountsPutRequest.ts +34 -0
- package/model/corporateUserInvitationActionEmailPut200Response.ts +31 -0
- package/model/createContact.ts +1 -1
- package/model/createCouponCollectionRequest.ts +33 -6
- package/model/createDomainModel.ts +9 -0
- package/model/createDomainModelDnsRecords.ts +6 -0
- package/model/createPaymentRequest.ts +64 -0
- package/model/createWebhook.ts +26 -0
- package/model/createWhatsAppTemplate.ts +2 -2
- package/model/crmDealsIdPatchRequest.ts +1 -1
- package/model/crmDealsPostRequest.ts +1 -1
- package/model/crmTasksIdPatchRequest.ts +1 -1
- package/model/crmTasksPostRequest.ts +1 -1
- package/model/event.ts +68 -0
- package/model/eventIdentifiers.ts +73 -0
- package/model/getContactDetails.ts +1 -1
- package/model/getCorporateInvitedUsersList.ts +35 -0
- package/model/getCorporateInvitedUsersListUsersInner.ts +66 -0
- package/model/getCorporateInvitedUsersListUsersInnerFeatureAccess.ts +64 -0
- package/model/getCorporateInvitedUsersListUsersInnerGroups.ts +46 -0
- package/model/getCorporateUserPermission.ts +60 -0
- package/model/getCorporateUserPermissionFeatureAccess.ts +64 -0
- package/model/getCorporateUserPermissionGroupsInner.ts +46 -0
- package/model/getCouponCollection.ts +33 -6
- package/model/getExtendedContactDetails.ts +1 -1
- package/model/getOrders.ts +41 -0
- package/model/getOrdersOrdersInner.ts +111 -0
- package/model/getPaymentRequest.ts +80 -0
- package/model/getSubAccountGroups200ResponseInner.ts +43 -0
- package/model/getWebhook.ts +26 -0
- package/model/getWebhookAuth.ts +46 -0
- package/model/getWebhookHeadersInner.ts +43 -0
- package/model/inviteAdminUser.ts +59 -0
- package/model/inviteAdminUserPrivilegesInner.ts +58 -0
- package/model/inviteuserPrivilegesInner.ts +14 -2
- package/model/masterDetailsResponsePlanInfoFeaturesInner.ts +18 -0
- package/model/models.ts +102 -0
- package/model/notification.ts +51 -0
- package/model/orderBatch.ts +9 -0
- package/model/sendSmtpEmailMessageVersionsInner.ts +18 -0
- package/model/sendWhatsappMessage.ts +9 -0
- package/model/ssoTokenRequestCorporate.ts +34 -0
- package/model/subAccountAppsToggleRequest.ts +1 -1
- package/model/subAccountDetailsResponsePlanInfoFeaturesInbox.ts +1 -1
- package/model/subAccountDetailsResponsePlanInfoFeaturesLandingPage.ts +1 -1
- package/model/subAccountUpdatePlanRequestFeatures.ts +2 -2
- package/model/updateContact.ts +1 -1
- package/model/updateCouponCollection200Response.ts +1 -1
- package/model/updateCouponCollectionRequest.ts +28 -1
- package/model/updateWebhook.ts +26 -0
- package/package.json +3 -3
- /package/{.swagger-codegen-ignore → .openapi-generator-ignore} +0 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Brevo API
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
|
+
* Contact: contact@brevo.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class CorporateGroupDetailsResponseUsersInner {
|
|
16
|
+
/**
|
|
17
|
+
* Email address of the user
|
|
18
|
+
*/
|
|
19
|
+
'email'?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Last name of the user
|
|
22
|
+
*/
|
|
23
|
+
'lastName'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* First name of the user
|
|
26
|
+
*/
|
|
27
|
+
'firstName'?: string;
|
|
28
|
+
|
|
29
|
+
static discriminator: string | undefined = undefined;
|
|
30
|
+
|
|
31
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
32
|
+
{
|
|
33
|
+
"name": "email",
|
|
34
|
+
"baseName": "email",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "lastName",
|
|
39
|
+
"baseName": "lastName",
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "firstName",
|
|
44
|
+
"baseName": "firstName",
|
|
45
|
+
"type": "string"
|
|
46
|
+
} ];
|
|
47
|
+
|
|
48
|
+
static getAttributeTypeMap() {
|
|
49
|
+
return CorporateGroupDetailsResponseUsersInner.attributeTypeMap;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Brevo API
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
|
+
* Contact: contact@brevo.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class CorporateGroupPost201Response {
|
|
16
|
+
'id'?: string;
|
|
17
|
+
|
|
18
|
+
static discriminator: string | undefined = undefined;
|
|
19
|
+
|
|
20
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
21
|
+
{
|
|
22
|
+
"name": "id",
|
|
23
|
+
"baseName": "id",
|
|
24
|
+
"type": "string"
|
|
25
|
+
} ];
|
|
26
|
+
|
|
27
|
+
static getAttributeTypeMap() {
|
|
28
|
+
return CorporateGroupPost201Response.attributeTypeMap;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Brevo API
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
|
+
* Contact: contact@brevo.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class CorporateGroupPostRequest {
|
|
16
|
+
/**
|
|
17
|
+
* The name of the group of sub-accounts
|
|
18
|
+
*/
|
|
19
|
+
'groupName': string;
|
|
20
|
+
/**
|
|
21
|
+
* Pass the list of sub-account Ids to be included in the group
|
|
22
|
+
*/
|
|
23
|
+
'subAccountIds'?: Array<number>;
|
|
24
|
+
|
|
25
|
+
static discriminator: string | undefined = undefined;
|
|
26
|
+
|
|
27
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
28
|
+
{
|
|
29
|
+
"name": "groupName",
|
|
30
|
+
"baseName": "groupName",
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "subAccountIds",
|
|
35
|
+
"baseName": "subAccountIds",
|
|
36
|
+
"type": "Array<number>"
|
|
37
|
+
} ];
|
|
38
|
+
|
|
39
|
+
static getAttributeTypeMap() {
|
|
40
|
+
return CorporateGroupPostRequest.attributeTypeMap;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Brevo API
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
|
+
* Contact: contact@brevo.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class CorporateGroupUnlinkGroupIdSubAccountsPutRequest {
|
|
16
|
+
/**
|
|
17
|
+
* List of sub-account ids
|
|
18
|
+
*/
|
|
19
|
+
'subAccountIds': Array<number>;
|
|
20
|
+
|
|
21
|
+
static discriminator: string | undefined = undefined;
|
|
22
|
+
|
|
23
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
24
|
+
{
|
|
25
|
+
"name": "subAccountIds",
|
|
26
|
+
"baseName": "subAccountIds",
|
|
27
|
+
"type": "Array<number>"
|
|
28
|
+
} ];
|
|
29
|
+
|
|
30
|
+
static getAttributeTypeMap() {
|
|
31
|
+
return CorporateGroupUnlinkGroupIdSubAccountsPutRequest.attributeTypeMap;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Brevo API
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
|
+
* Contact: contact@brevo.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class CorporateUserInvitationActionEmailPut200Response {
|
|
16
|
+
'message'?: string;
|
|
17
|
+
|
|
18
|
+
static discriminator: string | undefined = undefined;
|
|
19
|
+
|
|
20
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
21
|
+
{
|
|
22
|
+
"name": "message",
|
|
23
|
+
"baseName": "message",
|
|
24
|
+
"type": "string"
|
|
25
|
+
} ];
|
|
26
|
+
|
|
27
|
+
static getAttributeTypeMap() {
|
|
28
|
+
return CorporateUserInvitationActionEmailPut200Response.attributeTypeMap;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
package/model/createContact.ts
CHANGED
|
@@ -22,7 +22,7 @@ export class CreateContact {
|
|
|
22
22
|
*/
|
|
23
23
|
'extId'?: string;
|
|
24
24
|
/**
|
|
25
|
-
* Pass the set of attributes and their values. The attribute\'s parameter should be passed in capital letter while creating a contact. These attributes must be present in your Brevo account. For eg. {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}
|
|
25
|
+
* Pass the set of attributes and their values. The attribute\'s parameter should be passed in capital letter while creating a contact. Values that don\'t match the attribute type (e.g. text or string in a date attribute) will be ignored.These attributes must be present in your Brevo account. For eg. {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}
|
|
26
26
|
*/
|
|
27
27
|
'attributes'?: object;
|
|
28
28
|
/**
|
|
@@ -14,13 +14,25 @@ import { RequestFile } from './models';
|
|
|
14
14
|
|
|
15
15
|
export class CreateCouponCollectionRequest {
|
|
16
16
|
/**
|
|
17
|
-
* Name of the collection
|
|
17
|
+
* Name of the coupons collection
|
|
18
18
|
*/
|
|
19
|
-
'name':
|
|
19
|
+
'name': string;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Default coupons collection name
|
|
22
22
|
*/
|
|
23
|
-
'defaultCoupon':
|
|
23
|
+
'defaultCoupon': string;
|
|
24
|
+
/**
|
|
25
|
+
* Specify an expiration date for the coupon collection in RFC3339 format. Use null to remove the expiration date.
|
|
26
|
+
*/
|
|
27
|
+
'expirationDate'?: Date;
|
|
28
|
+
/**
|
|
29
|
+
* Send a notification alert (email) when the remaining days until the expiration date are equal or fall bellow this number. Use null to disable alerts.
|
|
30
|
+
*/
|
|
31
|
+
'remainingDaysAlert'?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Send a notification alert (email) when the remaining coupons count is equal or fall bellow this number. Use null to disable alerts.
|
|
34
|
+
*/
|
|
35
|
+
'remainingCouponsAlert'?: number;
|
|
24
36
|
|
|
25
37
|
static discriminator: string | undefined = undefined;
|
|
26
38
|
|
|
@@ -28,12 +40,27 @@ export class CreateCouponCollectionRequest {
|
|
|
28
40
|
{
|
|
29
41
|
"name": "name",
|
|
30
42
|
"baseName": "name",
|
|
31
|
-
"type": "
|
|
43
|
+
"type": "string"
|
|
32
44
|
},
|
|
33
45
|
{
|
|
34
46
|
"name": "defaultCoupon",
|
|
35
47
|
"baseName": "defaultCoupon",
|
|
36
|
-
"type": "
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "expirationDate",
|
|
52
|
+
"baseName": "expirationDate",
|
|
53
|
+
"type": "Date"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "remainingDaysAlert",
|
|
57
|
+
"baseName": "remainingDaysAlert",
|
|
58
|
+
"type": "number"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "remainingCouponsAlert",
|
|
62
|
+
"baseName": "remainingCouponsAlert",
|
|
63
|
+
"type": "number"
|
|
37
64
|
} ];
|
|
38
65
|
|
|
39
66
|
static getAttributeTypeMap() {
|
|
@@ -23,6 +23,10 @@ export class CreateDomainModel {
|
|
|
23
23
|
*/
|
|
24
24
|
'domainName'?: string;
|
|
25
25
|
/**
|
|
26
|
+
* Domain Provider
|
|
27
|
+
*/
|
|
28
|
+
'domainProvider'?: string;
|
|
29
|
+
/**
|
|
26
30
|
* Success message
|
|
27
31
|
*/
|
|
28
32
|
'message'?: string;
|
|
@@ -41,6 +45,11 @@ export class CreateDomainModel {
|
|
|
41
45
|
"baseName": "domain_name",
|
|
42
46
|
"type": "string"
|
|
43
47
|
},
|
|
48
|
+
{
|
|
49
|
+
"name": "domainProvider",
|
|
50
|
+
"baseName": "domain_provider",
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
44
53
|
{
|
|
45
54
|
"name": "message",
|
|
46
55
|
"baseName": "message",
|
|
@@ -16,6 +16,7 @@ import { CreateDomainModelDnsRecordsDkimRecord } from './createDomainModelDnsRec
|
|
|
16
16
|
export class CreateDomainModelDnsRecords {
|
|
17
17
|
'dkimRecord'?: CreateDomainModelDnsRecordsDkimRecord;
|
|
18
18
|
'brevoCode'?: CreateDomainModelDnsRecordsDkimRecord;
|
|
19
|
+
'dmarcRecord'?: CreateDomainModelDnsRecordsDkimRecord;
|
|
19
20
|
|
|
20
21
|
static discriminator: string | undefined = undefined;
|
|
21
22
|
|
|
@@ -29,6 +30,11 @@ export class CreateDomainModelDnsRecords {
|
|
|
29
30
|
"name": "brevoCode",
|
|
30
31
|
"baseName": "brevo_code",
|
|
31
32
|
"type": "CreateDomainModelDnsRecordsDkimRecord"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "dmarcRecord",
|
|
36
|
+
"baseName": "dmarc_record",
|
|
37
|
+
"type": "CreateDomainModelDnsRecordsDkimRecord"
|
|
32
38
|
} ];
|
|
33
39
|
|
|
34
40
|
static getAttributeTypeMap() {
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Brevo API
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
|
+
* Contact: contact@brevo.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { Cart } from './cart';
|
|
15
|
+
import { Configuration } from './configuration';
|
|
16
|
+
import { Notification } from './notification';
|
|
17
|
+
|
|
18
|
+
export class CreatePaymentRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Reference of the payment request, it will appear on the payment page.
|
|
21
|
+
*/
|
|
22
|
+
'reference': string;
|
|
23
|
+
'cart': Cart;
|
|
24
|
+
/**
|
|
25
|
+
* Brevo ID of the contact requested to pay.
|
|
26
|
+
*/
|
|
27
|
+
'contactId': number;
|
|
28
|
+
'notification'?: Notification;
|
|
29
|
+
'configuration': Configuration;
|
|
30
|
+
|
|
31
|
+
static discriminator: string | undefined = undefined;
|
|
32
|
+
|
|
33
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
34
|
+
{
|
|
35
|
+
"name": "reference",
|
|
36
|
+
"baseName": "reference",
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "cart",
|
|
41
|
+
"baseName": "cart",
|
|
42
|
+
"type": "Cart"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "contactId",
|
|
46
|
+
"baseName": "contactId",
|
|
47
|
+
"type": "number"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "notification",
|
|
51
|
+
"baseName": "notification",
|
|
52
|
+
"type": "Notification"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "configuration",
|
|
56
|
+
"baseName": "configuration",
|
|
57
|
+
"type": "Configuration"
|
|
58
|
+
} ];
|
|
59
|
+
|
|
60
|
+
static getAttributeTypeMap() {
|
|
61
|
+
return CreatePaymentRequest.attributeTypeMap;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
package/model/createWebhook.ts
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { RequestFile } from './models';
|
|
14
|
+
import { GetWebhookAuth } from './getWebhookAuth';
|
|
15
|
+
import { GetWebhookHeadersInner } from './getWebhookHeadersInner';
|
|
14
16
|
|
|
15
17
|
export class CreateWebhook {
|
|
16
18
|
/**
|
|
@@ -33,6 +35,15 @@ export class CreateWebhook {
|
|
|
33
35
|
* Inbound domain of webhook, required in case of event type `inbound`
|
|
34
36
|
*/
|
|
35
37
|
'domain'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* To send batched webhooks
|
|
40
|
+
*/
|
|
41
|
+
'batched'?: boolean;
|
|
42
|
+
'auth'?: GetWebhookAuth;
|
|
43
|
+
/**
|
|
44
|
+
* Custom headers to be send with webhooks
|
|
45
|
+
*/
|
|
46
|
+
'headers'?: Array<GetWebhookHeadersInner>;
|
|
36
47
|
|
|
37
48
|
static discriminator: string | undefined = undefined;
|
|
38
49
|
|
|
@@ -61,6 +72,21 @@ export class CreateWebhook {
|
|
|
61
72
|
"name": "domain",
|
|
62
73
|
"baseName": "domain",
|
|
63
74
|
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "batched",
|
|
78
|
+
"baseName": "batched",
|
|
79
|
+
"type": "boolean"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "auth",
|
|
83
|
+
"baseName": "auth",
|
|
84
|
+
"type": "GetWebhookAuth"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "headers",
|
|
88
|
+
"baseName": "headers",
|
|
89
|
+
"type": "Array<GetWebhookHeadersInner>"
|
|
64
90
|
} ];
|
|
65
91
|
|
|
66
92
|
static getAttributeTypeMap() {
|
|
@@ -89,10 +89,10 @@ export class CreateWhatsAppTemplate {
|
|
|
89
89
|
export namespace CreateWhatsAppTemplate {
|
|
90
90
|
export enum CategoryEnum {
|
|
91
91
|
Marketing = <any> 'MARKETING',
|
|
92
|
-
|
|
92
|
+
Utility = <any> 'UTILITY'
|
|
93
93
|
}
|
|
94
94
|
export enum SourceEnum {
|
|
95
95
|
Automation = <any> 'Automation',
|
|
96
|
-
|
|
96
|
+
Conversations = <any> 'Conversations'
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -18,7 +18,7 @@ export class CrmDealsIdPatchRequest {
|
|
|
18
18
|
*/
|
|
19
19
|
'name'?: string;
|
|
20
20
|
/**
|
|
21
|
-
* Attributes for deal update If you wish to update the pipeline of a deal you need to provide the `pipeline` and the `deal_stage`. Pipeline and deal_stage are ids you can fetch using this endpoint `/crm/pipeline/details/{pipelineID}`
|
|
21
|
+
* Attributes for deal update To assign owner of a Deal you can send attributes.deal_owner and utilize the account email or ID. If you wish to update the pipeline of a deal you need to provide the `pipeline` and the `deal_stage`. Pipeline and deal_stage are ids you can fetch using this endpoint `/crm/pipeline/details/{pipelineID}`
|
|
22
22
|
*/
|
|
23
23
|
'attributes'?: object;
|
|
24
24
|
|
|
@@ -18,7 +18,7 @@ export class CrmDealsPostRequest {
|
|
|
18
18
|
*/
|
|
19
19
|
'name': string;
|
|
20
20
|
/**
|
|
21
|
-
* Attributes for deal creation If you want to create a deal on a specific pipeline and stage you can use the following attributes `pipeline` and `deal_stage`. Pipeline and deal_stage are ids you can fetch using this endpoint `/crm/pipeline/details/{pipelineID}`
|
|
21
|
+
* Attributes for deal creation To assign owner of a Deal you can send attributes.deal_owner and utilize the account email or ID. If you want to create a deal on a specific pipeline and stage you can use the following attributes `pipeline` and `deal_stage`. Pipeline and deal_stage are ids you can fetch using this endpoint `/crm/pipeline/details/{pipelineID}`
|
|
22
22
|
*/
|
|
23
23
|
'attributes'?: object;
|
|
24
24
|
|
package/model/event.ts
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Brevo API
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
|
+
* Contact: contact@brevo.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { EventIdentifiers } from './eventIdentifiers';
|
|
15
|
+
|
|
16
|
+
export class Event {
|
|
17
|
+
/**
|
|
18
|
+
* The name of the event that occurred. This is how you will find your event in Brevo. Limited to 255 characters, alphanumerical characters and - _ only.
|
|
19
|
+
*/
|
|
20
|
+
'eventName': string;
|
|
21
|
+
/**
|
|
22
|
+
* Timestamp of when the event occurred (e.g. \"2024-01-24T17:39:57+01:00\"). If no value is passed, the timestamp of the event creation is used.
|
|
23
|
+
*/
|
|
24
|
+
'eventDate'?: string;
|
|
25
|
+
'identifiers': EventIdentifiers;
|
|
26
|
+
/**
|
|
27
|
+
* Properties defining the state of the contact associated to this event. Useful to update contact attributes defined in your contacts database while passing the event. For example: **\"FIRSTNAME\": \"Jane\" , \"AGE\": 37**
|
|
28
|
+
*/
|
|
29
|
+
'contactProperties'?: object;
|
|
30
|
+
/**
|
|
31
|
+
* Properties of the event. Top level properties and nested properties can be used to better segment contacts and personalise workflow conditions. The following field type are supported: string, number, boolean (true/false), date (Timestamp e.g. \"2024-01-24T17:39:57+01:00\"). Keys are limited to 255 characters, alphanumerical characters and - _ only. Size is limited to 50Kb.
|
|
32
|
+
*/
|
|
33
|
+
'eventProperties'?: object;
|
|
34
|
+
|
|
35
|
+
static discriminator: string | undefined = undefined;
|
|
36
|
+
|
|
37
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
38
|
+
{
|
|
39
|
+
"name": "eventName",
|
|
40
|
+
"baseName": "event_name",
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "eventDate",
|
|
45
|
+
"baseName": "event_date",
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "identifiers",
|
|
50
|
+
"baseName": "identifiers",
|
|
51
|
+
"type": "EventIdentifiers"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "contactProperties",
|
|
55
|
+
"baseName": "contact_properties",
|
|
56
|
+
"type": "object"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "eventProperties",
|
|
60
|
+
"baseName": "event_properties",
|
|
61
|
+
"type": "object"
|
|
62
|
+
} ];
|
|
63
|
+
|
|
64
|
+
static getAttributeTypeMap() {
|
|
65
|
+
return Event.attributeTypeMap;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Brevo API
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
|
+
* Contact: contact@brevo.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Identifies the contact associated with the event. At least one identifier is required.
|
|
17
|
+
*/
|
|
18
|
+
export class EventIdentifiers {
|
|
19
|
+
/**
|
|
20
|
+
* Email Id associated with the event
|
|
21
|
+
*/
|
|
22
|
+
'emailId'?: string;
|
|
23
|
+
/**
|
|
24
|
+
* SMS associated with the event
|
|
25
|
+
*/
|
|
26
|
+
'sms'?: string;
|
|
27
|
+
/**
|
|
28
|
+
* whatsapp associated with the event
|
|
29
|
+
*/
|
|
30
|
+
'whatsapp'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* landline_number associated with the event
|
|
33
|
+
*/
|
|
34
|
+
'landlineNumber'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* ext_id associated with the event
|
|
37
|
+
*/
|
|
38
|
+
'extId'?: string;
|
|
39
|
+
|
|
40
|
+
static discriminator: string | undefined = undefined;
|
|
41
|
+
|
|
42
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
43
|
+
{
|
|
44
|
+
"name": "emailId",
|
|
45
|
+
"baseName": "email_id",
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "sms",
|
|
50
|
+
"baseName": "sms",
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "whatsapp",
|
|
55
|
+
"baseName": "whatsapp",
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "landlineNumber",
|
|
60
|
+
"baseName": "landline_number",
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "extId",
|
|
65
|
+
"baseName": "ext_id",
|
|
66
|
+
"type": "string"
|
|
67
|
+
} ];
|
|
68
|
+
|
|
69
|
+
static getAttributeTypeMap() {
|
|
70
|
+
return EventIdentifiers.attributeTypeMap;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|