@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,35 @@
|
|
|
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 { GetCorporateInvitedUsersListUsersInner } from './getCorporateInvitedUsersListUsersInner';
|
|
15
|
+
|
|
16
|
+
export class GetCorporateInvitedUsersList {
|
|
17
|
+
/**
|
|
18
|
+
* Get invited users list
|
|
19
|
+
*/
|
|
20
|
+
'users'?: Array<GetCorporateInvitedUsersListUsersInner>;
|
|
21
|
+
|
|
22
|
+
static discriminator: string | undefined = undefined;
|
|
23
|
+
|
|
24
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
25
|
+
{
|
|
26
|
+
"name": "users",
|
|
27
|
+
"baseName": "users",
|
|
28
|
+
"type": "Array<GetCorporateInvitedUsersListUsersInner>"
|
|
29
|
+
} ];
|
|
30
|
+
|
|
31
|
+
static getAttributeTypeMap() {
|
|
32
|
+
return GetCorporateInvitedUsersList.attributeTypeMap;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 { GetCorporateInvitedUsersListUsersInnerFeatureAccess } from './getCorporateInvitedUsersListUsersInnerFeatureAccess';
|
|
15
|
+
import { GetCorporateInvitedUsersListUsersInnerGroups } from './getCorporateInvitedUsersListUsersInnerGroups';
|
|
16
|
+
|
|
17
|
+
export class GetCorporateInvitedUsersListUsersInner {
|
|
18
|
+
'groups': GetCorporateInvitedUsersListUsersInnerGroups;
|
|
19
|
+
/**
|
|
20
|
+
* Email address of the user.
|
|
21
|
+
*/
|
|
22
|
+
'email': string;
|
|
23
|
+
/**
|
|
24
|
+
* Flag for indicating is user owner of the organization.
|
|
25
|
+
*/
|
|
26
|
+
'isOwner': string;
|
|
27
|
+
/**
|
|
28
|
+
* Status of the invited user.
|
|
29
|
+
*/
|
|
30
|
+
'status': string;
|
|
31
|
+
'featureAccess': GetCorporateInvitedUsersListUsersInnerFeatureAccess;
|
|
32
|
+
|
|
33
|
+
static discriminator: string | undefined = undefined;
|
|
34
|
+
|
|
35
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
36
|
+
{
|
|
37
|
+
"name": "groups",
|
|
38
|
+
"baseName": "groups",
|
|
39
|
+
"type": "GetCorporateInvitedUsersListUsersInnerGroups"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "email",
|
|
43
|
+
"baseName": "email",
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "isOwner",
|
|
48
|
+
"baseName": "is_owner",
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "status",
|
|
53
|
+
"baseName": "status",
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "featureAccess",
|
|
58
|
+
"baseName": "feature_access",
|
|
59
|
+
"type": "GetCorporateInvitedUsersListUsersInnerFeatureAccess"
|
|
60
|
+
} ];
|
|
61
|
+
|
|
62
|
+
static getAttributeTypeMap() {
|
|
63
|
+
return GetCorporateInvitedUsersListUsersInner.attributeTypeMap;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -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
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Feature accessiblity given to the user. (Required only if status is active)
|
|
17
|
+
*/
|
|
18
|
+
export class GetCorporateInvitedUsersListUsersInnerFeatureAccess {
|
|
19
|
+
/**
|
|
20
|
+
* User management accessiblity.
|
|
21
|
+
*/
|
|
22
|
+
'userManagement'?: Array<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Api keys accessiblity.
|
|
25
|
+
*/
|
|
26
|
+
'apiKeys'?: Array<string>;
|
|
27
|
+
/**
|
|
28
|
+
* My plan accessiblity.
|
|
29
|
+
*/
|
|
30
|
+
'myPlan'?: Array<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Apps management accessiblity | Not available in ENTv2
|
|
33
|
+
*/
|
|
34
|
+
'appsManagement'?: Array<string>;
|
|
35
|
+
|
|
36
|
+
static discriminator: string | undefined = undefined;
|
|
37
|
+
|
|
38
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
39
|
+
{
|
|
40
|
+
"name": "userManagement",
|
|
41
|
+
"baseName": "user_management",
|
|
42
|
+
"type": "Array<string>"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "apiKeys",
|
|
46
|
+
"baseName": "api_keys",
|
|
47
|
+
"type": "Array<string>"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "myPlan",
|
|
51
|
+
"baseName": "my_plan",
|
|
52
|
+
"type": "Array<string>"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "appsManagement",
|
|
56
|
+
"baseName": "apps_management",
|
|
57
|
+
"type": "Array<string>"
|
|
58
|
+
} ];
|
|
59
|
+
|
|
60
|
+
static getAttributeTypeMap() {
|
|
61
|
+
return GetCorporateInvitedUsersListUsersInnerFeatureAccess.attributeTypeMap;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
* Admin user groups list
|
|
17
|
+
*/
|
|
18
|
+
export class GetCorporateInvitedUsersListUsersInnerGroups {
|
|
19
|
+
/**
|
|
20
|
+
* group id
|
|
21
|
+
*/
|
|
22
|
+
'id'?: string;
|
|
23
|
+
/**
|
|
24
|
+
* group name
|
|
25
|
+
*/
|
|
26
|
+
'name'?: string;
|
|
27
|
+
|
|
28
|
+
static discriminator: string | undefined = undefined;
|
|
29
|
+
|
|
30
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
31
|
+
{
|
|
32
|
+
"name": "id",
|
|
33
|
+
"baseName": "id",
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "name",
|
|
38
|
+
"baseName": "name",
|
|
39
|
+
"type": "string"
|
|
40
|
+
} ];
|
|
41
|
+
|
|
42
|
+
static getAttributeTypeMap() {
|
|
43
|
+
return GetCorporateInvitedUsersListUsersInnerGroups.attributeTypeMap;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { GetCorporateUserPermissionFeatureAccess } from './getCorporateUserPermissionFeatureAccess';
|
|
15
|
+
import { GetCorporateUserPermissionGroupsInner } from './getCorporateUserPermissionGroupsInner';
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Check admin user permissions
|
|
19
|
+
*/
|
|
20
|
+
export class GetCorporateUserPermission {
|
|
21
|
+
/**
|
|
22
|
+
* Email address of the user.
|
|
23
|
+
*/
|
|
24
|
+
'email': string;
|
|
25
|
+
/**
|
|
26
|
+
* Status of the invited user.
|
|
27
|
+
*/
|
|
28
|
+
'status': string;
|
|
29
|
+
'groups': Array<GetCorporateUserPermissionGroupsInner>;
|
|
30
|
+
'featureAccess': GetCorporateUserPermissionFeatureAccess;
|
|
31
|
+
|
|
32
|
+
static discriminator: string | undefined = undefined;
|
|
33
|
+
|
|
34
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
35
|
+
{
|
|
36
|
+
"name": "email",
|
|
37
|
+
"baseName": "email",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "status",
|
|
42
|
+
"baseName": "status",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "groups",
|
|
47
|
+
"baseName": "groups",
|
|
48
|
+
"type": "Array<GetCorporateUserPermissionGroupsInner>"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "featureAccess",
|
|
52
|
+
"baseName": "feature_access",
|
|
53
|
+
"type": "GetCorporateUserPermissionFeatureAccess"
|
|
54
|
+
} ];
|
|
55
|
+
|
|
56
|
+
static getAttributeTypeMap() {
|
|
57
|
+
return GetCorporateUserPermission.attributeTypeMap;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -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
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Granular feature permissions given to the user.
|
|
17
|
+
*/
|
|
18
|
+
export class GetCorporateUserPermissionFeatureAccess {
|
|
19
|
+
/**
|
|
20
|
+
* Permission on api keys
|
|
21
|
+
*/
|
|
22
|
+
'apiKeys'?: Array<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Permission on my plan
|
|
25
|
+
*/
|
|
26
|
+
'myPlan'?: Array<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Permission on user management
|
|
29
|
+
*/
|
|
30
|
+
'userManagement'?: Array<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Permission on apps management
|
|
33
|
+
*/
|
|
34
|
+
'appsManagement'?: Array<string>;
|
|
35
|
+
|
|
36
|
+
static discriminator: string | undefined = undefined;
|
|
37
|
+
|
|
38
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
39
|
+
{
|
|
40
|
+
"name": "apiKeys",
|
|
41
|
+
"baseName": "api_keys",
|
|
42
|
+
"type": "Array<string>"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "myPlan",
|
|
46
|
+
"baseName": "my_plan",
|
|
47
|
+
"type": "Array<string>"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "userManagement",
|
|
51
|
+
"baseName": "user_management",
|
|
52
|
+
"type": "Array<string>"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "appsManagement",
|
|
56
|
+
"baseName": "apps_management",
|
|
57
|
+
"type": "Array<string>"
|
|
58
|
+
} ];
|
|
59
|
+
|
|
60
|
+
static getAttributeTypeMap() {
|
|
61
|
+
return GetCorporateUserPermissionFeatureAccess.attributeTypeMap;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
* Groups details
|
|
17
|
+
*/
|
|
18
|
+
export class GetCorporateUserPermissionGroupsInner {
|
|
19
|
+
/**
|
|
20
|
+
* group identifier
|
|
21
|
+
*/
|
|
22
|
+
'id'?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Group name
|
|
25
|
+
*/
|
|
26
|
+
'name'?: string;
|
|
27
|
+
|
|
28
|
+
static discriminator: string | undefined = undefined;
|
|
29
|
+
|
|
30
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
31
|
+
{
|
|
32
|
+
"name": "id",
|
|
33
|
+
"baseName": "id",
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "name",
|
|
38
|
+
"baseName": "name",
|
|
39
|
+
"type": "string"
|
|
40
|
+
} ];
|
|
41
|
+
|
|
42
|
+
static getAttributeTypeMap() {
|
|
43
|
+
return GetCorporateUserPermissionGroupsInner.attributeTypeMap;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
@@ -14,29 +14,41 @@ import { RequestFile } from './models';
|
|
|
14
14
|
|
|
15
15
|
export class GetCouponCollection {
|
|
16
16
|
/**
|
|
17
|
-
* The id of the collection
|
|
17
|
+
* The id of the collection.
|
|
18
18
|
*/
|
|
19
19
|
'id': string;
|
|
20
20
|
/**
|
|
21
|
-
* The name of the collection
|
|
21
|
+
* The name of the collection.
|
|
22
22
|
*/
|
|
23
23
|
'name': string;
|
|
24
24
|
/**
|
|
25
|
-
* The default coupon of the collection
|
|
25
|
+
* The default coupon of the collection.
|
|
26
26
|
*/
|
|
27
27
|
'defaultCoupon': string;
|
|
28
28
|
/**
|
|
29
|
-
* Datetime on which the collection was created
|
|
29
|
+
* Datetime on which the collection was created.
|
|
30
30
|
*/
|
|
31
31
|
'createdAt': Date;
|
|
32
32
|
/**
|
|
33
|
-
* Total coupons in the collection
|
|
33
|
+
* Total number of coupons in the collection.
|
|
34
34
|
*/
|
|
35
35
|
'totalCoupons': number;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Number of coupons that have not been sent yet.
|
|
38
38
|
*/
|
|
39
39
|
'remainingCoupons': number;
|
|
40
|
+
/**
|
|
41
|
+
* Expiration date for the coupon collection in RFC3339 format.
|
|
42
|
+
*/
|
|
43
|
+
'expirationDate'?: Date;
|
|
44
|
+
/**
|
|
45
|
+
* If present, an email notification is going to be sent the defined amount of days before the expiration date.
|
|
46
|
+
*/
|
|
47
|
+
'remainingDaysAlert'?: number;
|
|
48
|
+
/**
|
|
49
|
+
* If present, an email notification is going to be sent when the total number of available coupons falls below the defined threshold.
|
|
50
|
+
*/
|
|
51
|
+
'remainingCouponsAlert'?: number;
|
|
40
52
|
|
|
41
53
|
static discriminator: string | undefined = undefined;
|
|
42
54
|
|
|
@@ -70,6 +82,21 @@ export class GetCouponCollection {
|
|
|
70
82
|
"name": "remainingCoupons",
|
|
71
83
|
"baseName": "remainingCoupons",
|
|
72
84
|
"type": "number"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "expirationDate",
|
|
88
|
+
"baseName": "expirationDate",
|
|
89
|
+
"type": "Date"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "remainingDaysAlert",
|
|
93
|
+
"baseName": "remainingDaysAlert",
|
|
94
|
+
"type": "number"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "remainingCouponsAlert",
|
|
98
|
+
"baseName": "remainingCouponsAlert",
|
|
99
|
+
"type": "number"
|
|
73
100
|
} ];
|
|
74
101
|
|
|
75
102
|
static getAttributeTypeMap() {
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { GetOrdersOrdersInner } from './getOrdersOrdersInner';
|
|
15
|
+
|
|
16
|
+
export class GetOrders {
|
|
17
|
+
'orders'?: Array<GetOrdersOrdersInner>;
|
|
18
|
+
/**
|
|
19
|
+
* Number of orders
|
|
20
|
+
*/
|
|
21
|
+
'count'?: number;
|
|
22
|
+
|
|
23
|
+
static discriminator: string | undefined = undefined;
|
|
24
|
+
|
|
25
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
26
|
+
{
|
|
27
|
+
"name": "orders",
|
|
28
|
+
"baseName": "orders",
|
|
29
|
+
"type": "Array<GetOrdersOrdersInner>"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "count",
|
|
33
|
+
"baseName": "count",
|
|
34
|
+
"type": "number"
|
|
35
|
+
} ];
|
|
36
|
+
|
|
37
|
+
static getAttributeTypeMap() {
|
|
38
|
+
return GetOrders.attributeTypeMap;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -0,0 +1,111 @@
|
|
|
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 { OrderBilling } from './orderBilling';
|
|
15
|
+
import { OrderProductsInner } from './orderProductsInner';
|
|
16
|
+
|
|
17
|
+
export class GetOrdersOrdersInner {
|
|
18
|
+
/**
|
|
19
|
+
* Unique ID of the order.
|
|
20
|
+
*/
|
|
21
|
+
'id': string;
|
|
22
|
+
/**
|
|
23
|
+
* Event occurrence UTC date-time (YYYY-MM-DDTHH:mm:ssZ), when order is actually created.
|
|
24
|
+
*/
|
|
25
|
+
'createdAt': string;
|
|
26
|
+
/**
|
|
27
|
+
* Event updated UTC date-time (YYYY-MM-DDTHH:mm:ssZ), when the status of the order is actually changed/updated.
|
|
28
|
+
*/
|
|
29
|
+
'updatedAt': string;
|
|
30
|
+
/**
|
|
31
|
+
* State of the order.
|
|
32
|
+
*/
|
|
33
|
+
'status': string;
|
|
34
|
+
/**
|
|
35
|
+
* Total amount of the order, including all shipping expenses, tax and the price of items.
|
|
36
|
+
*/
|
|
37
|
+
'amount': number;
|
|
38
|
+
'products': Array<OrderProductsInner>;
|
|
39
|
+
/**
|
|
40
|
+
* Email of the contact, Mandatory if \"phone\" field is not passed in \"billing\" parameter.
|
|
41
|
+
*/
|
|
42
|
+
'email'?: string;
|
|
43
|
+
'billing'?: OrderBilling;
|
|
44
|
+
/**
|
|
45
|
+
* Coupons applied to the order. Stored case insensitive.
|
|
46
|
+
*/
|
|
47
|
+
'coupons'?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Contact ID for the order
|
|
50
|
+
*/
|
|
51
|
+
'contactId'?: number;
|
|
52
|
+
|
|
53
|
+
static discriminator: string | undefined = undefined;
|
|
54
|
+
|
|
55
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
56
|
+
{
|
|
57
|
+
"name": "id",
|
|
58
|
+
"baseName": "id",
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "createdAt",
|
|
63
|
+
"baseName": "createdAt",
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "updatedAt",
|
|
68
|
+
"baseName": "updatedAt",
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "status",
|
|
73
|
+
"baseName": "status",
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "amount",
|
|
78
|
+
"baseName": "amount",
|
|
79
|
+
"type": "number"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "products",
|
|
83
|
+
"baseName": "products",
|
|
84
|
+
"type": "Array<OrderProductsInner>"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "email",
|
|
88
|
+
"baseName": "email",
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "billing",
|
|
93
|
+
"baseName": "billing",
|
|
94
|
+
"type": "OrderBilling"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "coupons",
|
|
98
|
+
"baseName": "coupons",
|
|
99
|
+
"type": "Array<string>"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "contactId",
|
|
103
|
+
"baseName": "contact_id",
|
|
104
|
+
"type": "number"
|
|
105
|
+
} ];
|
|
106
|
+
|
|
107
|
+
static getAttributeTypeMap() {
|
|
108
|
+
return GetOrdersOrdersInner.attributeTypeMap;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|