@gofynd/fdk-client-javascript 1.6.3 → 3.0.0-beta.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/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +113 -93
- package/sdk/application/Cart/CartApplicationClient.js +270 -139
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
- package/sdk/application/Catalog/CatalogApplicationClient.js +122 -138
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +43 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +190 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +71 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +103 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +51 -21
- package/sdk/application/Content/ContentApplicationClient.js +197 -36
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +79 -64
- package/sdk/application/Logistic/LogisticApplicationClient.js +246 -264
- package/sdk/application/Order/OrderApplicationClient.d.ts +44 -24
- package/sdk/application/Order/OrderApplicationClient.js +140 -21
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +211 -111
- package/sdk/application/Payment/PaymentApplicationClient.js +610 -109
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +14 -14
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +23 -3
- package/sdk/application/Theme/ThemeApplicationClient.js +103 -5
- package/sdk/application/User/UserApplicationClient.d.ts +13 -23
- package/sdk/application/User/UserApplicationClient.js +9 -57
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +66 -0
- package/sdk/partner/Authorization/AuthorizationPartnerClient.js +431 -0
- package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +231 -0
- package/sdk/partner/Authorization/AuthorizationPartnerModel.js +152 -0
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +8 -0
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +39 -0
- package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +26 -0
- package/sdk/partner/Catalog/CatalogPartnerClient.js +173 -0
- package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +238 -0
- package/sdk/partner/Catalog/CatalogPartnerModel.js +248 -0
- package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +5 -0
- package/sdk/partner/Catalog/CatalogPartnerValidator.js +19 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -22
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -87
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +33 -99
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +25 -84
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -10
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +100 -49
- package/sdk/partner/Lead/LeadPartnerModel.js +100 -74
- package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -160
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +66 -1180
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +288 -1685
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +226 -824
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -13
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +14 -141
- package/sdk/partner/PartnerClient.d.ts +6 -0
- package/sdk/partner/PartnerClient.js +9 -0
- package/sdk/partner/Payment/PaymentPartnerClient.d.ts +116 -0
- package/sdk/partner/Payment/PaymentPartnerClient.js +857 -0
- package/sdk/partner/Payment/PaymentPartnerModel.d.ts +388 -0
- package/sdk/partner/Payment/PaymentPartnerModel.js +442 -0
- package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +14 -0
- package/sdk/partner/Payment/PaymentPartnerValidator.js +74 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +63 -21
- package/sdk/partner/Theme/ThemePartnerClient.js +396 -71
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +104 -72
- package/sdk/partner/Theme/ThemePartnerModel.js +101 -75
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +5 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +42 -12
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +191 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -234
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
- package/sdk/partner/index.d.ts +3 -0
- package/sdk/partner/index.js +6 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +1 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +145 -49
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +171 -20
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +406 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +3214 -76
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +3798 -459
- package/sdk/platform/Billing/BillingPlatformModel.js +2577 -342
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +465 -24
- package/sdk/platform/Billing/BillingPlatformValidator.js +490 -14
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +284 -205
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +671 -553
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +108 -132
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3136 -4788
- package/sdk/platform/Cart/CartPlatformModel.js +2850 -2031
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1015 -419
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +6450 -2010
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1121 -230
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +919 -127
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +372 -574
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1238 -1317
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +8351 -9825
- package/sdk/platform/Catalog/CatalogPlatformModel.js +9662 -6881
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +288 -235
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +241 -183
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -6
- package/sdk/platform/Common/CommonPlatformClient.js +5 -6
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +374 -234
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +875 -583
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +170 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +145 -126
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +56 -3
- package/sdk/platform/Communication/CommunicationPlatformClient.js +307 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +424 -252
- package/sdk/platform/Communication/CommunicationPlatformModel.js +540 -320
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +62 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +48 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +68 -99
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +84 -140
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +238 -256
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +222 -244
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -20
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +333 -118
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1470 -409
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +158 -55
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +163 -41
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +151 -61
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +595 -101
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +1199 -462
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1008 -321
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +80 -34
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +79 -24
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +253 -140
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1087 -458
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +221 -178
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +220 -157
- package/sdk/platform/Content/ContentPlatformClient.d.ts +124 -123
- package/sdk/platform/Content/ContentPlatformClient.js +459 -379
- package/sdk/platform/Content/ContentPlatformModel.d.ts +833 -1307
- package/sdk/platform/Content/ContentPlatformModel.js +893 -582
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +140 -150
- package/sdk/platform/Content/ContentPlatformValidator.js +131 -135
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +60 -36
- package/sdk/platform/Discount/DiscountPlatformClient.js +85 -36
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +46 -47
- package/sdk/platform/Discount/DiscountPlatformModel.js +42 -46
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +24 -22
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +75 -86
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +60 -74
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2895 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2150 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +4 -24
- package/sdk/platform/Lead/LeadPlatformClient.js +4 -160
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +142 -57
- package/sdk/platform/Lead/LeadPlatformModel.js +162 -79
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +3 -29
- package/sdk/platform/Lead/LeadPlatformValidator.js +2 -28
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +94 -25
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +600 -57
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +115 -115
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +120 -43
- package/sdk/platform/Order/OrderPlatformClient.d.ts +502 -293
- package/sdk/platform/Order/OrderPlatformClient.js +1466 -913
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4111 -9093
- package/sdk/platform/Order/OrderPlatformModel.js +3202 -4230
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +445 -612
- package/sdk/platform/Order/OrderPlatformValidator.js +316 -326
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +7 -7
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +382 -135
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +2453 -935
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +306 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +305 -70
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +66 -56
- package/sdk/platform/Payment/PaymentPlatformClient.js +269 -124
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3525 -1313
- package/sdk/platform/Payment/PaymentPlatformModel.js +3813 -1511
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +64 -35
- package/sdk/platform/Payment/PaymentPlatformValidator.js +60 -34
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +14 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +344 -56
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +2180 -302
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +380 -54
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +336 -37
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +127 -213
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +538 -1306
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +3429 -2979
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3642 -1785
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +218 -392
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +151 -290
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +4 -16
- package/sdk/platform/Share/SharePlatformApplicationClient.js +8 -86
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -23
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +3 -16
- package/sdk/platform/Share/SharePlatformModel.d.ts +6 -50
- package/sdk/platform/Share/SharePlatformModel.js +3 -43
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +157 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +21 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +23 -6
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +18 -8
- package/sdk/platform/Theme/ThemePlatformClient.js +85 -8
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +425 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +329 -23
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +7 -3
- package/sdk/platform/Theme/ThemePlatformValidator.js +9 -2
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +22 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +91 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +15 -3
- package/sdk/platform/User/UserPlatformApplicationValidator.js +14 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +223 -59
- package/sdk/platform/User/UserPlatformModel.js +204 -65
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +434 -758
- package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Billing/BillingPublicClient.d.ts +56 -0
- package/sdk/public/Billing/BillingPublicClient.js +397 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +919 -0
- package/sdk/public/Billing/BillingPublicModel.js +560 -0
- package/sdk/public/Billing/BillingPublicValidator.d.ts +43 -0
- package/sdk/public/Billing/BillingPublicValidator.js +50 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +97 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +102 -40
- package/sdk/public/Configuration/ConfigurationPublicModel.js +111 -29
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +11 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +12 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
- package/sdk/public/Content/ContentPublicClient.js +183 -0
- package/sdk/public/Content/ContentPublicModel.d.ts +38 -1
- package/sdk/public/Content/ContentPublicModel.js +47 -1
- package/sdk/public/Content/ContentPublicValidator.d.ts +17 -1
- package/sdk/public/Content/ContentPublicValidator.js +19 -0
- package/sdk/public/PublicClient.d.ts +2 -2
- package/sdk/public/PublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +67 -215
- package/sdk/public/Webhook/WebhookPublicModel.js +61 -66
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -1
- package/sdk/public/index.js +1 -1
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -126
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +0 -22
- package/sdk/public/Catalog/CatalogPublicClient.js +0 -138
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +0 -155
- package/sdk/public/Catalog/CatalogPublicModel.js +0 -116
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +0 -55
- package/sdk/public/Catalog/CatalogPublicValidator.js +0 -35
|
@@ -1,10 +1,133 @@
|
|
|
1
1
|
export = CommunicationPlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
3
|
+
* @typedef AppProvidersGlobalProviderRequestObjProvider
|
|
4
|
+
* @property {string} [provider]
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @typedef AppProvidersGlobalProviderRequestObj
|
|
8
|
+
* @property {AppProvidersGlobalProviderRequestObjProvider} [transaction]
|
|
9
|
+
* @property {AppProvidersGlobalProviderRequestObjProvider} [otp]
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @typedef AppProvidersGlobalProviderRequest
|
|
13
|
+
* @property {AppProvidersGlobalProviderRequestObj} [email]
|
|
14
|
+
* @property {AppProvidersGlobalProviderRequestObj} [sms]
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* @typedef UpdateAppProvidersGlobalProviderResponseEmailSmsObj
|
|
18
|
+
* @property {string} [default_provider]
|
|
19
|
+
* @property {string} [otp_provider]
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* @typedef UpdateAppProvidersGlobalProviderResponse
|
|
23
|
+
* @property {UpdateAppProvidersGlobalProviderResponseEmailSmsObj} [email]
|
|
24
|
+
* @property {UpdateAppProvidersGlobalProviderResponseEmailSmsObj} [sms]
|
|
25
|
+
* @property {string} [_id]
|
|
26
|
+
* @property {string} [slug]
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* @typedef DefaultEmailProvidersFromAddresses
|
|
30
|
+
* @property {string} [name]
|
|
31
|
+
* @property {string} [email]
|
|
32
|
+
* @property {boolean} [is_default]
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* @typedef DefaultEmailProviders
|
|
36
|
+
* @property {string} [_id]
|
|
37
|
+
* @property {DefaultEmailProvidersFromAddresses[]} [from_address]
|
|
38
|
+
* @property {string} [name]
|
|
39
|
+
* @property {boolean} [is_default]
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* @typedef PushtokenReq
|
|
43
|
+
* @property {string} [action]
|
|
44
|
+
* @property {string} [bundle_identifier]
|
|
45
|
+
* @property {string} [push_token]
|
|
46
|
+
* @property {string} [unique_device_id]
|
|
47
|
+
* @property {string} [type]
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* @typedef PushtokenRes
|
|
51
|
+
* @property {string} [_id]
|
|
52
|
+
* @property {string} [bundle_identifier]
|
|
53
|
+
* @property {string} [push_token]
|
|
54
|
+
* @property {string} [unique_device_id]
|
|
55
|
+
* @property {string} [type]
|
|
56
|
+
* @property {string} [platform]
|
|
57
|
+
* @property {string} [application_id]
|
|
58
|
+
* @property {string} [user_id]
|
|
59
|
+
* @property {string} [created_at]
|
|
60
|
+
* @property {string} [updated_at]
|
|
61
|
+
* @property {string} [expired_at]
|
|
62
|
+
*/
|
|
63
|
+
/**
|
|
64
|
+
* @typedef SendInstantResponse
|
|
65
|
+
* @property {boolean} [success]
|
|
66
|
+
* @property {string} [provider]
|
|
67
|
+
* @property {boolean} [response]
|
|
68
|
+
*/
|
|
69
|
+
/**
|
|
70
|
+
* @typedef MetaStructure
|
|
71
|
+
* @property {string} [job_type]
|
|
72
|
+
* @property {string} [action]
|
|
73
|
+
* @property {string} [trace]
|
|
74
|
+
* @property {string} [timestamp]
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* @typedef PayloadSmsTemplateStructure
|
|
78
|
+
* @property {string} [key]
|
|
79
|
+
* @property {Object} [value]
|
|
80
|
+
*/
|
|
81
|
+
/**
|
|
82
|
+
* @typedef PayloadSmsProviderStructure
|
|
83
|
+
* @property {string} [slug]
|
|
84
|
+
*/
|
|
85
|
+
/**
|
|
86
|
+
* @typedef PayloadEmailTemplateStructure
|
|
87
|
+
* @property {string} [key]
|
|
88
|
+
* @property {Object} [value]
|
|
89
|
+
*/
|
|
90
|
+
/**
|
|
91
|
+
* @typedef PayloadEmailProviderStructure
|
|
92
|
+
* @property {string} [slug]
|
|
93
|
+
*/
|
|
94
|
+
/**
|
|
95
|
+
* @typedef PayloadEmailStructure
|
|
96
|
+
* @property {PayloadEmailTemplateStructure} [template]
|
|
97
|
+
* @property {PayloadEmailProviderStructure} [provider]
|
|
98
|
+
*/
|
|
99
|
+
/**
|
|
100
|
+
* @typedef PayloadSmsStructure
|
|
101
|
+
* @property {PayloadSmsTemplateStructure} [template]
|
|
102
|
+
* @property {PayloadSmsProviderStructure} [provider]
|
|
103
|
+
*/
|
|
104
|
+
/**
|
|
105
|
+
* @typedef SendSyncData
|
|
106
|
+
* @property {string} [phone_number]
|
|
107
|
+
* @property {string} [country_code]
|
|
108
|
+
* @property {string} [to]
|
|
109
|
+
*/
|
|
110
|
+
/**
|
|
111
|
+
* @typedef SendSyncRequest
|
|
112
|
+
* @property {SendSyncData[]} [data]
|
|
113
|
+
* @property {PayloadEmailStructure} [email]
|
|
114
|
+
* @property {PayloadSmsStructure} [sms]
|
|
115
|
+
*/
|
|
116
|
+
/**
|
|
117
|
+
* @typedef EngineRequest
|
|
118
|
+
* @property {SendSyncRequest} [payload]
|
|
119
|
+
* @property {MetaStructure} [meta]
|
|
120
|
+
*/
|
|
121
|
+
/**
|
|
122
|
+
* @typedef EngineResponse
|
|
123
|
+
* @property {boolean} [success]
|
|
124
|
+
*/
|
|
125
|
+
/**
|
|
126
|
+
* @typedef EventSubscriptionsBulkUpdateRequest
|
|
4
127
|
* @property {SubscriptionsObject[]} [subscriptions]
|
|
5
128
|
*/
|
|
6
129
|
/**
|
|
7
|
-
* @typedef
|
|
130
|
+
* @typedef EventSubscriptionsBulkUpdateResponse
|
|
8
131
|
* @property {EventSubscriptionTemplate} [template]
|
|
9
132
|
* @property {string} [_id]
|
|
10
133
|
* @property {string} [application]
|
|
@@ -15,9 +138,17 @@ export = CommunicationPlatformModel;
|
|
|
15
138
|
* @property {string} [updated_at]
|
|
16
139
|
* @property {number} [__v]
|
|
17
140
|
*/
|
|
141
|
+
/**
|
|
142
|
+
* @typedef SubscriptionsObjectRequest
|
|
143
|
+
* @property {string} [event]
|
|
144
|
+
* @property {string} [slug]
|
|
145
|
+
* @property {TemplateObject} [template]
|
|
146
|
+
*/
|
|
18
147
|
/**
|
|
19
148
|
* @typedef SubscriptionsObject
|
|
20
149
|
* @property {string} [_id] - Subscription ID
|
|
150
|
+
* @property {string} [event]
|
|
151
|
+
* @property {string} [slug]
|
|
21
152
|
* @property {TemplateObject} [template]
|
|
22
153
|
*/
|
|
23
154
|
/**
|
|
@@ -107,6 +238,9 @@ export = CommunicationPlatformModel;
|
|
|
107
238
|
*/
|
|
108
239
|
/**
|
|
109
240
|
* @typedef CampaignReq
|
|
241
|
+
* @property {RecipientHeaders} [recipient_headers]
|
|
242
|
+
* @property {CampaignEmail} [email]
|
|
243
|
+
* @property {string} [datasource]
|
|
110
244
|
* @property {string} [description]
|
|
111
245
|
* @property {string[]} [tags]
|
|
112
246
|
* @property {string[]} [headers]
|
|
@@ -142,7 +276,7 @@ export = CommunicationPlatformModel;
|
|
|
142
276
|
* @property {RecipientHeaders} [recipient_headers]
|
|
143
277
|
* @property {CampaignEmail} [email]
|
|
144
278
|
* @property {string} [description]
|
|
145
|
-
* @property {
|
|
279
|
+
* @property {string[]} [tags]
|
|
146
280
|
* @property {boolean} [is_active]
|
|
147
281
|
* @property {string} [_id]
|
|
148
282
|
* @property {string} [datasource]
|
|
@@ -159,15 +293,6 @@ export = CommunicationPlatformModel;
|
|
|
159
293
|
* @property {Campaign[]} [items]
|
|
160
294
|
* @property {Page} [page]
|
|
161
295
|
*/
|
|
162
|
-
/**
|
|
163
|
-
* @typedef BadRequestSchema
|
|
164
|
-
* @property {string} [status] - Response status.
|
|
165
|
-
* @property {string} [message] - Failure message.
|
|
166
|
-
*/
|
|
167
|
-
/**
|
|
168
|
-
* @typedef NotFound
|
|
169
|
-
* @property {string} [message] - Failure message.
|
|
170
|
-
*/
|
|
171
296
|
/**
|
|
172
297
|
* @typedef AudienceReq
|
|
173
298
|
* @property {string} [name]
|
|
@@ -305,6 +430,12 @@ export = CommunicationPlatformModel;
|
|
|
305
430
|
* @property {string} [template_type]
|
|
306
431
|
* @property {string} [template]
|
|
307
432
|
*/
|
|
433
|
+
/**
|
|
434
|
+
* @typedef TemplateKeys
|
|
435
|
+
* @property {string} [to]
|
|
436
|
+
* @property {string} [cc]
|
|
437
|
+
* @property {string} [bcc]
|
|
438
|
+
*/
|
|
308
439
|
/**
|
|
309
440
|
* @typedef EmailTemplate
|
|
310
441
|
* @property {string} [application]
|
|
@@ -320,6 +451,7 @@ export = CommunicationPlatformModel;
|
|
|
320
451
|
* @property {string} [reply_to]
|
|
321
452
|
* @property {string[]} [tags]
|
|
322
453
|
* @property {TemplateAndType} [subject]
|
|
454
|
+
* @property {TemplateKeys} [keys]
|
|
323
455
|
* @property {TemplateAndType} [html]
|
|
324
456
|
* @property {EnabledObj} [url_shorten]
|
|
325
457
|
* @property {string} [priority]
|
|
@@ -368,74 +500,32 @@ export = CommunicationPlatformModel;
|
|
|
368
500
|
* @property {Page} [page]
|
|
369
501
|
*/
|
|
370
502
|
/**
|
|
371
|
-
* @typedef
|
|
372
|
-
* @property {
|
|
373
|
-
*/
|
|
374
|
-
/**
|
|
375
|
-
* @typedef PayloadEmailTemplateStructure
|
|
376
|
-
* @property {string} [key]
|
|
377
|
-
* @property {Object} [value]
|
|
378
|
-
*/
|
|
379
|
-
/**
|
|
380
|
-
* @typedef PayloadEmailProviderStructure
|
|
381
|
-
* @property {string} [_id]
|
|
382
|
-
*/
|
|
383
|
-
/**
|
|
384
|
-
* @typedef PayloadEmailStructure
|
|
385
|
-
* @property {PayloadEmailTemplateStructure} [template]
|
|
386
|
-
* @property {PayloadEmailProviderStructure} [provider]
|
|
387
|
-
*/
|
|
388
|
-
/**
|
|
389
|
-
* @typedef PayloadSmsTemplateStructure
|
|
390
|
-
* @property {string} [key]
|
|
391
|
-
* @property {Object} [value]
|
|
392
|
-
*/
|
|
393
|
-
/**
|
|
394
|
-
* @typedef PayloadSmsProviderStructure
|
|
395
|
-
* @property {string} [_id]
|
|
396
|
-
*/
|
|
397
|
-
/**
|
|
398
|
-
* @typedef PayloadSmsStructure
|
|
399
|
-
* @property {PayloadSmsTemplateStructure} [template]
|
|
400
|
-
* @property {PayloadSmsProviderStructure} [provider]
|
|
401
|
-
*/
|
|
402
|
-
/**
|
|
403
|
-
* @typedef PayloadStructure
|
|
404
|
-
* @property {Object[]} [data]
|
|
405
|
-
* @property {PayloadEmailStructure} [email]
|
|
406
|
-
* @property {PayloadSmsStructure} [sms]
|
|
407
|
-
* @property {string} [application]
|
|
503
|
+
* @typedef SubscribedSmsTemplates
|
|
504
|
+
* @property {SmsTemplates[]} [items]
|
|
408
505
|
*/
|
|
409
506
|
/**
|
|
410
|
-
* @typedef
|
|
411
|
-
* @property {
|
|
412
|
-
* @property {string} [action]
|
|
413
|
-
* @property {string} [trace]
|
|
414
|
-
* @property {string} [timestamp]
|
|
415
|
-
*/
|
|
416
|
-
/**
|
|
417
|
-
* @typedef EnginePayload
|
|
418
|
-
* @property {PayloadStructure} [payload]
|
|
419
|
-
* @property {MetaStructure} [meta]
|
|
420
|
-
*/
|
|
421
|
-
/**
|
|
422
|
-
* @typedef EngineResult
|
|
423
|
-
* @property {boolean} [success]
|
|
507
|
+
* @typedef SubscribedEmailTemplates
|
|
508
|
+
* @property {EmailTemplate[]} [items]
|
|
424
509
|
*/
|
|
425
510
|
/**
|
|
426
511
|
* @typedef EventSubscriptionTemplateSms
|
|
427
512
|
* @property {boolean} [subscribed]
|
|
428
|
-
* @property {
|
|
513
|
+
* @property {Object} [template]
|
|
429
514
|
*/
|
|
430
515
|
/**
|
|
431
516
|
* @typedef EventSubscriptionTemplateEmail
|
|
432
517
|
* @property {boolean} [subscribed]
|
|
433
|
-
* @property {
|
|
518
|
+
* @property {Object} [template]
|
|
519
|
+
*/
|
|
520
|
+
/**
|
|
521
|
+
* @typedef EventSubscriptionTemplatePushnotification
|
|
522
|
+
* @property {boolean} [subscribed]
|
|
434
523
|
*/
|
|
435
524
|
/**
|
|
436
525
|
* @typedef EventSubscriptionTemplate
|
|
437
526
|
* @property {EventSubscriptionTemplateSms} [sms]
|
|
438
527
|
* @property {EventSubscriptionTemplateEmail} [email]
|
|
528
|
+
* @property {EventSubscriptionTemplatePushnotification} [pushnotification]
|
|
439
529
|
*/
|
|
440
530
|
/**
|
|
441
531
|
* @typedef EventSubscription
|
|
@@ -443,7 +533,8 @@ export = CommunicationPlatformModel;
|
|
|
443
533
|
* @property {boolean} [is_default]
|
|
444
534
|
* @property {string} [_id]
|
|
445
535
|
* @property {string} [application]
|
|
446
|
-
* @property {string} [
|
|
536
|
+
* @property {string} [category]
|
|
537
|
+
* @property {Object} [event]
|
|
447
538
|
* @property {string} [slug]
|
|
448
539
|
* @property {string} [created_at]
|
|
449
540
|
* @property {string} [updated_at]
|
|
@@ -455,20 +546,20 @@ export = CommunicationPlatformModel;
|
|
|
455
546
|
* @property {Page} [page]
|
|
456
547
|
*/
|
|
457
548
|
/**
|
|
458
|
-
* @typedef
|
|
549
|
+
* @typedef TriggerJobResponse
|
|
459
550
|
* @property {number} [status]
|
|
460
551
|
*/
|
|
461
552
|
/**
|
|
462
|
-
* @typedef
|
|
553
|
+
* @typedef TriggerJobRequest
|
|
463
554
|
* @property {string} [job_id]
|
|
464
555
|
*/
|
|
465
556
|
/**
|
|
466
|
-
* @typedef
|
|
557
|
+
* @typedef GlobalVariablesGetResponse
|
|
467
558
|
* @property {Object} [read_only]
|
|
468
559
|
* @property {Object} [editable]
|
|
469
560
|
*/
|
|
470
561
|
/**
|
|
471
|
-
* @typedef
|
|
562
|
+
* @typedef GlobalVariablesPostResponse
|
|
472
563
|
* @property {string} [_id]
|
|
473
564
|
* @property {string} [category]
|
|
474
565
|
* @property {string} [application]
|
|
@@ -529,6 +620,15 @@ export = CommunicationPlatformModel;
|
|
|
529
620
|
/**
|
|
530
621
|
* @typedef LogEmail
|
|
531
622
|
* @property {string} [template]
|
|
623
|
+
* @property {string} [provider]
|
|
624
|
+
* @property {string} [to]
|
|
625
|
+
*/
|
|
626
|
+
/**
|
|
627
|
+
* @typedef LogSms
|
|
628
|
+
* @property {string} [template]
|
|
629
|
+
* @property {string} [provider]
|
|
630
|
+
* @property {string} [phone_number]
|
|
631
|
+
* @property {string} [country_code]
|
|
532
632
|
*/
|
|
533
633
|
/**
|
|
534
634
|
* @typedef LogPushnotification
|
|
@@ -536,8 +636,10 @@ export = CommunicationPlatformModel;
|
|
|
536
636
|
*/
|
|
537
637
|
/**
|
|
538
638
|
* @typedef LogMeta
|
|
539
|
-
* @property {string} [type]
|
|
540
639
|
* @property {string} [identifier]
|
|
640
|
+
* @property {string} [type]
|
|
641
|
+
* @property {string} [job]
|
|
642
|
+
* @property {string} [campaign]
|
|
541
643
|
* @property {string} [key]
|
|
542
644
|
* @property {string} [offset]
|
|
543
645
|
* @property {string} [partition]
|
|
@@ -546,16 +648,18 @@ export = CommunicationPlatformModel;
|
|
|
546
648
|
/**
|
|
547
649
|
* @typedef Log
|
|
548
650
|
* @property {LogEmail} [email]
|
|
651
|
+
* @property {LogSms} [sms]
|
|
549
652
|
* @property {LogPushnotification} [pushnotification]
|
|
550
|
-
* @property {LogMeta} [meta]
|
|
551
653
|
* @property {string} [_id]
|
|
552
|
-
* @property {string} [
|
|
654
|
+
* @property {string} [pod]
|
|
553
655
|
* @property {string} [service]
|
|
554
656
|
* @property {string} [step]
|
|
657
|
+
* @property {string} [source]
|
|
555
658
|
* @property {string} [status]
|
|
556
|
-
* @property {Object} [data]
|
|
557
659
|
* @property {string} [expire_at]
|
|
558
660
|
* @property {string} [created_at]
|
|
661
|
+
* @property {LogMeta} [meta]
|
|
662
|
+
* @property {string} [application]
|
|
559
663
|
*/
|
|
560
664
|
/**
|
|
561
665
|
* @typedef Logs
|
|
@@ -644,15 +748,9 @@ export = CommunicationPlatformModel;
|
|
|
644
748
|
* @property {string} [message]
|
|
645
749
|
* @property {string} [email]
|
|
646
750
|
*/
|
|
647
|
-
/**
|
|
648
|
-
* @typedef VerifyOtpCommsErrorRes
|
|
649
|
-
* @property {boolean} [success]
|
|
650
|
-
* @property {string} [message]
|
|
651
|
-
*/
|
|
652
751
|
/**
|
|
653
752
|
* @typedef SmsProviderReq
|
|
654
753
|
* @property {string} [name]
|
|
655
|
-
* @property {string} [token]
|
|
656
754
|
* @property {string} [description]
|
|
657
755
|
* @property {string} [sender]
|
|
658
756
|
* @property {string} [username]
|
|
@@ -671,15 +769,9 @@ export = CommunicationPlatformModel;
|
|
|
671
769
|
* @property {number} [version_id] - The version ID for the test.
|
|
672
770
|
* @property {string} [sender_id] - The sender ID for the test.
|
|
673
771
|
* @property {string} [api_key] - The api_key for the test.
|
|
674
|
-
* @property {string} [tenant_name_1] - First part of jiocx url.
|
|
675
|
-
* @property {string} [tenant_name_2] - Second part of jiocx url.
|
|
676
772
|
*/
|
|
677
773
|
/**
|
|
678
774
|
* @typedef SmsProvider
|
|
679
|
-
* @property {string} [token]
|
|
680
|
-
* @property {string} [sender_id]
|
|
681
|
-
* @property {string} [api_key]
|
|
682
|
-
* @property {number} [expiry_date]
|
|
683
775
|
* @property {number} [rpt]
|
|
684
776
|
* @property {string} [type]
|
|
685
777
|
* @property {string} [provider]
|
|
@@ -689,6 +781,7 @@ export = CommunicationPlatformModel;
|
|
|
689
781
|
* @property {string} [sender]
|
|
690
782
|
* @property {string} [username]
|
|
691
783
|
* @property {string} [authkey]
|
|
784
|
+
* @property {string} [entity_id]
|
|
692
785
|
* @property {string} [application]
|
|
693
786
|
* @property {string} [created_at]
|
|
694
787
|
* @property {string} [updated_at]
|
|
@@ -813,25 +906,12 @@ export = CommunicationPlatformModel;
|
|
|
813
906
|
* @property {number} [current] - The current page number.
|
|
814
907
|
* @property {string} type - The type of the page, such as 'PageType'.
|
|
815
908
|
* @property {number} [size] - The number of items per page.
|
|
909
|
+
* @property {number} [total] - Total number of items.
|
|
816
910
|
*/
|
|
817
911
|
/**
|
|
818
|
-
* @typedef
|
|
819
|
-
* @property {Message} [message]
|
|
820
|
-
* @property {string} [sentry]
|
|
821
|
-
*/
|
|
822
|
-
/**
|
|
823
|
-
* @typedef GenericDelete
|
|
824
|
-
* @property {string} [message]
|
|
912
|
+
* @typedef BasicDelete
|
|
825
913
|
* @property {boolean} [acknowledged]
|
|
826
|
-
* @property {number} [
|
|
827
|
-
* @property {string} [operation]
|
|
828
|
-
*/
|
|
829
|
-
/**
|
|
830
|
-
* @typedef Message
|
|
831
|
-
* @property {string} [message]
|
|
832
|
-
* @property {boolean} [success]
|
|
833
|
-
* @property {string} [info]
|
|
834
|
-
* @property {string} [operation]
|
|
914
|
+
* @property {number} [deleted_count]
|
|
835
915
|
*/
|
|
836
916
|
/**
|
|
837
917
|
* @typedef EnabledObj
|
|
@@ -847,27 +927,177 @@ export = CommunicationPlatformModel;
|
|
|
847
927
|
* @property {OtpConfigurationExpiryDuration} duration
|
|
848
928
|
* @property {string} type
|
|
849
929
|
*/
|
|
930
|
+
/**
|
|
931
|
+
* @typedef OtpConfigRateLimit
|
|
932
|
+
* @property {number} [duration]
|
|
933
|
+
* @property {number} [limit]
|
|
934
|
+
*/
|
|
850
935
|
/**
|
|
851
936
|
* @typedef OtpConfiguration
|
|
852
937
|
* @property {number} otp_length
|
|
853
938
|
* @property {string} type
|
|
854
939
|
* @property {OtpConfigurationExpiry} expiry
|
|
940
|
+
* @property {OtpConfigRateLimit} rate_limit
|
|
855
941
|
* @property {string} [application_id]
|
|
856
942
|
* @property {string} [company_id]
|
|
857
943
|
*/
|
|
858
944
|
declare class CommunicationPlatformModel {
|
|
859
945
|
}
|
|
860
946
|
declare namespace CommunicationPlatformModel {
|
|
861
|
-
export {
|
|
947
|
+
export { AppProvidersGlobalProviderRequestObjProvider, AppProvidersGlobalProviderRequestObj, AppProvidersGlobalProviderRequest, UpdateAppProvidersGlobalProviderResponseEmailSmsObj, UpdateAppProvidersGlobalProviderResponse, DefaultEmailProvidersFromAddresses, DefaultEmailProviders, PushtokenReq, PushtokenRes, SendInstantResponse, MetaStructure, PayloadSmsTemplateStructure, PayloadSmsProviderStructure, PayloadEmailTemplateStructure, PayloadEmailProviderStructure, PayloadEmailStructure, PayloadSmsStructure, SendSyncData, SendSyncRequest, EngineRequest, EngineResponse, EventSubscriptionsBulkUpdateRequest, EventSubscriptionsBulkUpdateResponse, SubscriptionsObjectRequest, SubscriptionsObject, TemplateObject, CommunicationTemplate, AppProvider, AppProviderRes, AppProviderResVoice, AppProviderResObj, GlobalProviders, GlobalProvidersResObj, AppProviderReq, StatsImported, StatsProcessedEmail, StatsProcessedSms, StatsProcessed, Stats, GetStats, CampaignReq, RecipientHeaders, CampaignEmailTemplate, CampignEmailProvider, CampaignEmail, Campaign, Campaigns, AudienceReq, Audience, Audiences, GetNRecordsCsvReq, GetNRecordsCsvResItems, GetNRecordsCsvRes, DummyDatasources, DummyDatasourcesMeta, DummyDatasourcesMetaObj, EmailProviderReqFrom, EmailProviderReq, EmailProvider, EmailProviders, EmailTemplateKeys, EmailTemplateHeaders, EmailTemplateReq, TemplateAndType, TemplateKeys, EmailTemplate, SystemEmailTemplate, EmailTemplates, SubscribedSmsTemplates, SubscribedEmailTemplates, EventSubscriptionTemplateSms, EventSubscriptionTemplateEmail, EventSubscriptionTemplatePushnotification, EventSubscriptionTemplate, EventSubscription, EventSubscriptions, TriggerJobResponse, TriggerJobRequest, GlobalVariablesGetResponse, GlobalVariablesPostResponse, GlobalVariablesReq, Job, Jobs, CreateJobsRes, CreateJobsReq, JobLog, JobLogs, LogEmail, LogSms, LogPushnotification, LogMeta, Log, Logs, SendOtpSmsCommsTemplate, SendOtpSmsCommsProvider, SendOtpEmailCommsProvider, SendOtpEmailCommsTemplate, SendOtpCommsReqData, SendOtpCommsReqSms, SendOtpCommsReqEmail, SendOtpCommsResSms, SendOtpCommsResEmail, SendOtpCommsReq, SendOtpCommsRes, VerifyOtpCommsReq, VerifyOtpCommsSuccessRes, SmsProviderReq, SmsProvider, SmsProviders, DefaultSmsProviders, SmsTemplateMessage, SmsTemplates, SmsTemplate, SystemSmsTemplates, metaObj, SmsTemplateReq, Notification, SystemNotificationUser, SystemNotification, SystemNotifications, Page, BasicDelete, EnabledObj, OtpConfigurationExpiryDuration, OtpConfigurationExpiry, OtpConfigRateLimit, OtpConfiguration };
|
|
862
948
|
}
|
|
863
|
-
/** @returns {
|
|
864
|
-
declare function
|
|
865
|
-
type
|
|
949
|
+
/** @returns {AppProvidersGlobalProviderRequestObjProvider} */
|
|
950
|
+
declare function AppProvidersGlobalProviderRequestObjProvider(): AppProvidersGlobalProviderRequestObjProvider;
|
|
951
|
+
type AppProvidersGlobalProviderRequestObjProvider = {
|
|
952
|
+
provider?: string;
|
|
953
|
+
};
|
|
954
|
+
/** @returns {AppProvidersGlobalProviderRequestObj} */
|
|
955
|
+
declare function AppProvidersGlobalProviderRequestObj(): AppProvidersGlobalProviderRequestObj;
|
|
956
|
+
type AppProvidersGlobalProviderRequestObj = {
|
|
957
|
+
transaction?: AppProvidersGlobalProviderRequestObjProvider;
|
|
958
|
+
otp?: AppProvidersGlobalProviderRequestObjProvider;
|
|
959
|
+
};
|
|
960
|
+
/** @returns {AppProvidersGlobalProviderRequest} */
|
|
961
|
+
declare function AppProvidersGlobalProviderRequest(): AppProvidersGlobalProviderRequest;
|
|
962
|
+
type AppProvidersGlobalProviderRequest = {
|
|
963
|
+
email?: AppProvidersGlobalProviderRequestObj;
|
|
964
|
+
sms?: AppProvidersGlobalProviderRequestObj;
|
|
965
|
+
};
|
|
966
|
+
/** @returns {UpdateAppProvidersGlobalProviderResponseEmailSmsObj} */
|
|
967
|
+
declare function UpdateAppProvidersGlobalProviderResponseEmailSmsObj(): UpdateAppProvidersGlobalProviderResponseEmailSmsObj;
|
|
968
|
+
type UpdateAppProvidersGlobalProviderResponseEmailSmsObj = {
|
|
969
|
+
default_provider?: string;
|
|
970
|
+
otp_provider?: string;
|
|
971
|
+
};
|
|
972
|
+
/** @returns {UpdateAppProvidersGlobalProviderResponse} */
|
|
973
|
+
declare function UpdateAppProvidersGlobalProviderResponse(): UpdateAppProvidersGlobalProviderResponse;
|
|
974
|
+
type UpdateAppProvidersGlobalProviderResponse = {
|
|
975
|
+
email?: UpdateAppProvidersGlobalProviderResponseEmailSmsObj;
|
|
976
|
+
sms?: UpdateAppProvidersGlobalProviderResponseEmailSmsObj;
|
|
977
|
+
_id?: string;
|
|
978
|
+
slug?: string;
|
|
979
|
+
};
|
|
980
|
+
/** @returns {DefaultEmailProvidersFromAddresses} */
|
|
981
|
+
declare function DefaultEmailProvidersFromAddresses(): DefaultEmailProvidersFromAddresses;
|
|
982
|
+
type DefaultEmailProvidersFromAddresses = {
|
|
983
|
+
name?: string;
|
|
984
|
+
email?: string;
|
|
985
|
+
is_default?: boolean;
|
|
986
|
+
};
|
|
987
|
+
/** @returns {DefaultEmailProviders} */
|
|
988
|
+
declare function DefaultEmailProviders(): DefaultEmailProviders;
|
|
989
|
+
type DefaultEmailProviders = {
|
|
990
|
+
_id?: string;
|
|
991
|
+
from_address?: DefaultEmailProvidersFromAddresses[];
|
|
992
|
+
name?: string;
|
|
993
|
+
is_default?: boolean;
|
|
994
|
+
};
|
|
995
|
+
/** @returns {PushtokenReq} */
|
|
996
|
+
declare function PushtokenReq(): PushtokenReq;
|
|
997
|
+
type PushtokenReq = {
|
|
998
|
+
action?: string;
|
|
999
|
+
bundle_identifier?: string;
|
|
1000
|
+
push_token?: string;
|
|
1001
|
+
unique_device_id?: string;
|
|
1002
|
+
type?: string;
|
|
1003
|
+
};
|
|
1004
|
+
/** @returns {PushtokenRes} */
|
|
1005
|
+
declare function PushtokenRes(): PushtokenRes;
|
|
1006
|
+
type PushtokenRes = {
|
|
1007
|
+
_id?: string;
|
|
1008
|
+
bundle_identifier?: string;
|
|
1009
|
+
push_token?: string;
|
|
1010
|
+
unique_device_id?: string;
|
|
1011
|
+
type?: string;
|
|
1012
|
+
platform?: string;
|
|
1013
|
+
application_id?: string;
|
|
1014
|
+
user_id?: string;
|
|
1015
|
+
created_at?: string;
|
|
1016
|
+
updated_at?: string;
|
|
1017
|
+
expired_at?: string;
|
|
1018
|
+
};
|
|
1019
|
+
/** @returns {SendInstantResponse} */
|
|
1020
|
+
declare function SendInstantResponse(): SendInstantResponse;
|
|
1021
|
+
type SendInstantResponse = {
|
|
1022
|
+
success?: boolean;
|
|
1023
|
+
provider?: string;
|
|
1024
|
+
response?: boolean;
|
|
1025
|
+
};
|
|
1026
|
+
/** @returns {MetaStructure} */
|
|
1027
|
+
declare function MetaStructure(): MetaStructure;
|
|
1028
|
+
type MetaStructure = {
|
|
1029
|
+
job_type?: string;
|
|
1030
|
+
action?: string;
|
|
1031
|
+
trace?: string;
|
|
1032
|
+
timestamp?: string;
|
|
1033
|
+
};
|
|
1034
|
+
/** @returns {PayloadSmsTemplateStructure} */
|
|
1035
|
+
declare function PayloadSmsTemplateStructure(): PayloadSmsTemplateStructure;
|
|
1036
|
+
type PayloadSmsTemplateStructure = {
|
|
1037
|
+
key?: string;
|
|
1038
|
+
value?: any;
|
|
1039
|
+
};
|
|
1040
|
+
/** @returns {PayloadSmsProviderStructure} */
|
|
1041
|
+
declare function PayloadSmsProviderStructure(): PayloadSmsProviderStructure;
|
|
1042
|
+
type PayloadSmsProviderStructure = {
|
|
1043
|
+
slug?: string;
|
|
1044
|
+
};
|
|
1045
|
+
/** @returns {PayloadEmailTemplateStructure} */
|
|
1046
|
+
declare function PayloadEmailTemplateStructure(): PayloadEmailTemplateStructure;
|
|
1047
|
+
type PayloadEmailTemplateStructure = {
|
|
1048
|
+
key?: string;
|
|
1049
|
+
value?: any;
|
|
1050
|
+
};
|
|
1051
|
+
/** @returns {PayloadEmailProviderStructure} */
|
|
1052
|
+
declare function PayloadEmailProviderStructure(): PayloadEmailProviderStructure;
|
|
1053
|
+
type PayloadEmailProviderStructure = {
|
|
1054
|
+
slug?: string;
|
|
1055
|
+
};
|
|
1056
|
+
/** @returns {PayloadEmailStructure} */
|
|
1057
|
+
declare function PayloadEmailStructure(): PayloadEmailStructure;
|
|
1058
|
+
type PayloadEmailStructure = {
|
|
1059
|
+
template?: PayloadEmailTemplateStructure;
|
|
1060
|
+
provider?: PayloadEmailProviderStructure;
|
|
1061
|
+
};
|
|
1062
|
+
/** @returns {PayloadSmsStructure} */
|
|
1063
|
+
declare function PayloadSmsStructure(): PayloadSmsStructure;
|
|
1064
|
+
type PayloadSmsStructure = {
|
|
1065
|
+
template?: PayloadSmsTemplateStructure;
|
|
1066
|
+
provider?: PayloadSmsProviderStructure;
|
|
1067
|
+
};
|
|
1068
|
+
/** @returns {SendSyncData} */
|
|
1069
|
+
declare function SendSyncData(): SendSyncData;
|
|
1070
|
+
type SendSyncData = {
|
|
1071
|
+
phone_number?: string;
|
|
1072
|
+
country_code?: string;
|
|
1073
|
+
to?: string;
|
|
1074
|
+
};
|
|
1075
|
+
/** @returns {SendSyncRequest} */
|
|
1076
|
+
declare function SendSyncRequest(): SendSyncRequest;
|
|
1077
|
+
type SendSyncRequest = {
|
|
1078
|
+
data?: SendSyncData[];
|
|
1079
|
+
email?: PayloadEmailStructure;
|
|
1080
|
+
sms?: PayloadSmsStructure;
|
|
1081
|
+
};
|
|
1082
|
+
/** @returns {EngineRequest} */
|
|
1083
|
+
declare function EngineRequest(): EngineRequest;
|
|
1084
|
+
type EngineRequest = {
|
|
1085
|
+
payload?: SendSyncRequest;
|
|
1086
|
+
meta?: MetaStructure;
|
|
1087
|
+
};
|
|
1088
|
+
/** @returns {EngineResponse} */
|
|
1089
|
+
declare function EngineResponse(): EngineResponse;
|
|
1090
|
+
type EngineResponse = {
|
|
1091
|
+
success?: boolean;
|
|
1092
|
+
};
|
|
1093
|
+
/** @returns {EventSubscriptionsBulkUpdateRequest} */
|
|
1094
|
+
declare function EventSubscriptionsBulkUpdateRequest(): EventSubscriptionsBulkUpdateRequest;
|
|
1095
|
+
type EventSubscriptionsBulkUpdateRequest = {
|
|
866
1096
|
subscriptions?: SubscriptionsObject[];
|
|
867
1097
|
};
|
|
868
|
-
/** @returns {
|
|
869
|
-
declare function
|
|
870
|
-
type
|
|
1098
|
+
/** @returns {EventSubscriptionsBulkUpdateResponse} */
|
|
1099
|
+
declare function EventSubscriptionsBulkUpdateResponse(): EventSubscriptionsBulkUpdateResponse;
|
|
1100
|
+
type EventSubscriptionsBulkUpdateResponse = {
|
|
871
1101
|
template?: EventSubscriptionTemplate;
|
|
872
1102
|
_id?: string;
|
|
873
1103
|
application?: string;
|
|
@@ -878,6 +1108,13 @@ type EventSubscriptionsBulkUpdateResult = {
|
|
|
878
1108
|
updated_at?: string;
|
|
879
1109
|
__v?: number;
|
|
880
1110
|
};
|
|
1111
|
+
/** @returns {SubscriptionsObjectRequest} */
|
|
1112
|
+
declare function SubscriptionsObjectRequest(): SubscriptionsObjectRequest;
|
|
1113
|
+
type SubscriptionsObjectRequest = {
|
|
1114
|
+
event?: string;
|
|
1115
|
+
slug?: string;
|
|
1116
|
+
template?: TemplateObject;
|
|
1117
|
+
};
|
|
881
1118
|
/** @returns {SubscriptionsObject} */
|
|
882
1119
|
declare function SubscriptionsObject(): SubscriptionsObject;
|
|
883
1120
|
type SubscriptionsObject = {
|
|
@@ -885,6 +1122,8 @@ type SubscriptionsObject = {
|
|
|
885
1122
|
* - Subscription ID
|
|
886
1123
|
*/
|
|
887
1124
|
_id?: string;
|
|
1125
|
+
event?: string;
|
|
1126
|
+
slug?: string;
|
|
888
1127
|
template?: TemplateObject;
|
|
889
1128
|
};
|
|
890
1129
|
/** @returns {TemplateObject} */
|
|
@@ -996,6 +1235,9 @@ type GetStats = {
|
|
|
996
1235
|
/** @returns {CampaignReq} */
|
|
997
1236
|
declare function CampaignReq(): CampaignReq;
|
|
998
1237
|
type CampaignReq = {
|
|
1238
|
+
recipient_headers?: RecipientHeaders;
|
|
1239
|
+
email?: CampaignEmail;
|
|
1240
|
+
datasource?: string;
|
|
999
1241
|
description?: string;
|
|
1000
1242
|
tags?: string[];
|
|
1001
1243
|
headers?: string[];
|
|
@@ -1036,7 +1278,7 @@ type Campaign = {
|
|
|
1036
1278
|
recipient_headers?: RecipientHeaders;
|
|
1037
1279
|
email?: CampaignEmail;
|
|
1038
1280
|
description?: string;
|
|
1039
|
-
tags?:
|
|
1281
|
+
tags?: string[];
|
|
1040
1282
|
is_active?: boolean;
|
|
1041
1283
|
_id?: string;
|
|
1042
1284
|
datasource?: string;
|
|
@@ -1054,26 +1296,6 @@ type Campaigns = {
|
|
|
1054
1296
|
items?: Campaign[];
|
|
1055
1297
|
page?: Page;
|
|
1056
1298
|
};
|
|
1057
|
-
/** @returns {BadRequestSchema} */
|
|
1058
|
-
declare function BadRequestSchema(): BadRequestSchema;
|
|
1059
|
-
type BadRequestSchema = {
|
|
1060
|
-
/**
|
|
1061
|
-
* - Response status.
|
|
1062
|
-
*/
|
|
1063
|
-
status?: string;
|
|
1064
|
-
/**
|
|
1065
|
-
* - Failure message.
|
|
1066
|
-
*/
|
|
1067
|
-
message?: string;
|
|
1068
|
-
};
|
|
1069
|
-
/** @returns {NotFound} */
|
|
1070
|
-
declare function NotFound(): NotFound;
|
|
1071
|
-
type NotFound = {
|
|
1072
|
-
/**
|
|
1073
|
-
* - Failure message.
|
|
1074
|
-
*/
|
|
1075
|
-
message?: string;
|
|
1076
|
-
};
|
|
1077
1299
|
/** @returns {AudienceReq} */
|
|
1078
1300
|
declare function AudienceReq(): AudienceReq;
|
|
1079
1301
|
type AudienceReq = {
|
|
@@ -1228,6 +1450,13 @@ type TemplateAndType = {
|
|
|
1228
1450
|
template_type?: string;
|
|
1229
1451
|
template?: string;
|
|
1230
1452
|
};
|
|
1453
|
+
/** @returns {TemplateKeys} */
|
|
1454
|
+
declare function TemplateKeys(): TemplateKeys;
|
|
1455
|
+
type TemplateKeys = {
|
|
1456
|
+
to?: string;
|
|
1457
|
+
cc?: string;
|
|
1458
|
+
bcc?: string;
|
|
1459
|
+
};
|
|
1231
1460
|
/** @returns {EmailTemplate} */
|
|
1232
1461
|
declare function EmailTemplate(): EmailTemplate;
|
|
1233
1462
|
type EmailTemplate = {
|
|
@@ -1244,6 +1473,7 @@ type EmailTemplate = {
|
|
|
1244
1473
|
reply_to?: string;
|
|
1245
1474
|
tags?: string[];
|
|
1246
1475
|
subject?: TemplateAndType;
|
|
1476
|
+
keys?: TemplateKeys;
|
|
1247
1477
|
html?: TemplateAndType;
|
|
1248
1478
|
url_shorten?: EnabledObj;
|
|
1249
1479
|
priority?: string;
|
|
@@ -1293,89 +1523,39 @@ type EmailTemplates = {
|
|
|
1293
1523
|
items?: EmailTemplate[];
|
|
1294
1524
|
page?: Page;
|
|
1295
1525
|
};
|
|
1296
|
-
/** @returns {
|
|
1297
|
-
declare function
|
|
1298
|
-
type
|
|
1299
|
-
items?:
|
|
1300
|
-
};
|
|
1301
|
-
/** @returns {PayloadEmailTemplateStructure} */
|
|
1302
|
-
declare function PayloadEmailTemplateStructure(): PayloadEmailTemplateStructure;
|
|
1303
|
-
type PayloadEmailTemplateStructure = {
|
|
1304
|
-
key?: string;
|
|
1305
|
-
value?: any;
|
|
1306
|
-
};
|
|
1307
|
-
/** @returns {PayloadEmailProviderStructure} */
|
|
1308
|
-
declare function PayloadEmailProviderStructure(): PayloadEmailProviderStructure;
|
|
1309
|
-
type PayloadEmailProviderStructure = {
|
|
1310
|
-
_id?: string;
|
|
1311
|
-
};
|
|
1312
|
-
/** @returns {PayloadEmailStructure} */
|
|
1313
|
-
declare function PayloadEmailStructure(): PayloadEmailStructure;
|
|
1314
|
-
type PayloadEmailStructure = {
|
|
1315
|
-
template?: PayloadEmailTemplateStructure;
|
|
1316
|
-
provider?: PayloadEmailProviderStructure;
|
|
1317
|
-
};
|
|
1318
|
-
/** @returns {PayloadSmsTemplateStructure} */
|
|
1319
|
-
declare function PayloadSmsTemplateStructure(): PayloadSmsTemplateStructure;
|
|
1320
|
-
type PayloadSmsTemplateStructure = {
|
|
1321
|
-
key?: string;
|
|
1322
|
-
value?: any;
|
|
1323
|
-
};
|
|
1324
|
-
/** @returns {PayloadSmsProviderStructure} */
|
|
1325
|
-
declare function PayloadSmsProviderStructure(): PayloadSmsProviderStructure;
|
|
1326
|
-
type PayloadSmsProviderStructure = {
|
|
1327
|
-
_id?: string;
|
|
1328
|
-
};
|
|
1329
|
-
/** @returns {PayloadSmsStructure} */
|
|
1330
|
-
declare function PayloadSmsStructure(): PayloadSmsStructure;
|
|
1331
|
-
type PayloadSmsStructure = {
|
|
1332
|
-
template?: PayloadSmsTemplateStructure;
|
|
1333
|
-
provider?: PayloadSmsProviderStructure;
|
|
1334
|
-
};
|
|
1335
|
-
/** @returns {PayloadStructure} */
|
|
1336
|
-
declare function PayloadStructure(): PayloadStructure;
|
|
1337
|
-
type PayloadStructure = {
|
|
1338
|
-
data?: any[];
|
|
1339
|
-
email?: PayloadEmailStructure;
|
|
1340
|
-
sms?: PayloadSmsStructure;
|
|
1341
|
-
application?: string;
|
|
1526
|
+
/** @returns {SubscribedSmsTemplates} */
|
|
1527
|
+
declare function SubscribedSmsTemplates(): SubscribedSmsTemplates;
|
|
1528
|
+
type SubscribedSmsTemplates = {
|
|
1529
|
+
items?: SmsTemplates[];
|
|
1342
1530
|
};
|
|
1343
|
-
/** @returns {
|
|
1344
|
-
declare function
|
|
1345
|
-
type
|
|
1346
|
-
|
|
1347
|
-
action?: string;
|
|
1348
|
-
trace?: string;
|
|
1349
|
-
timestamp?: string;
|
|
1350
|
-
};
|
|
1351
|
-
/** @returns {EnginePayload} */
|
|
1352
|
-
declare function EnginePayload(): EnginePayload;
|
|
1353
|
-
type EnginePayload = {
|
|
1354
|
-
payload?: PayloadStructure;
|
|
1355
|
-
meta?: MetaStructure;
|
|
1356
|
-
};
|
|
1357
|
-
/** @returns {EngineResult} */
|
|
1358
|
-
declare function EngineResult(): EngineResult;
|
|
1359
|
-
type EngineResult = {
|
|
1360
|
-
success?: boolean;
|
|
1531
|
+
/** @returns {SubscribedEmailTemplates} */
|
|
1532
|
+
declare function SubscribedEmailTemplates(): SubscribedEmailTemplates;
|
|
1533
|
+
type SubscribedEmailTemplates = {
|
|
1534
|
+
items?: EmailTemplate[];
|
|
1361
1535
|
};
|
|
1362
1536
|
/** @returns {EventSubscriptionTemplateSms} */
|
|
1363
1537
|
declare function EventSubscriptionTemplateSms(): EventSubscriptionTemplateSms;
|
|
1364
1538
|
type EventSubscriptionTemplateSms = {
|
|
1365
1539
|
subscribed?: boolean;
|
|
1366
|
-
template?:
|
|
1540
|
+
template?: any;
|
|
1367
1541
|
};
|
|
1368
1542
|
/** @returns {EventSubscriptionTemplateEmail} */
|
|
1369
1543
|
declare function EventSubscriptionTemplateEmail(): EventSubscriptionTemplateEmail;
|
|
1370
1544
|
type EventSubscriptionTemplateEmail = {
|
|
1371
1545
|
subscribed?: boolean;
|
|
1372
|
-
template?:
|
|
1546
|
+
template?: any;
|
|
1547
|
+
};
|
|
1548
|
+
/** @returns {EventSubscriptionTemplatePushnotification} */
|
|
1549
|
+
declare function EventSubscriptionTemplatePushnotification(): EventSubscriptionTemplatePushnotification;
|
|
1550
|
+
type EventSubscriptionTemplatePushnotification = {
|
|
1551
|
+
subscribed?: boolean;
|
|
1373
1552
|
};
|
|
1374
1553
|
/** @returns {EventSubscriptionTemplate} */
|
|
1375
1554
|
declare function EventSubscriptionTemplate(): EventSubscriptionTemplate;
|
|
1376
1555
|
type EventSubscriptionTemplate = {
|
|
1377
1556
|
sms?: EventSubscriptionTemplateSms;
|
|
1378
1557
|
email?: EventSubscriptionTemplateEmail;
|
|
1558
|
+
pushnotification?: EventSubscriptionTemplatePushnotification;
|
|
1379
1559
|
};
|
|
1380
1560
|
/** @returns {EventSubscription} */
|
|
1381
1561
|
declare function EventSubscription(): EventSubscription;
|
|
@@ -1384,7 +1564,8 @@ type EventSubscription = {
|
|
|
1384
1564
|
is_default?: boolean;
|
|
1385
1565
|
_id?: string;
|
|
1386
1566
|
application?: string;
|
|
1387
|
-
|
|
1567
|
+
category?: string;
|
|
1568
|
+
event?: any;
|
|
1388
1569
|
slug?: string;
|
|
1389
1570
|
created_at?: string;
|
|
1390
1571
|
updated_at?: string;
|
|
@@ -1396,25 +1577,25 @@ type EventSubscriptions = {
|
|
|
1396
1577
|
items?: EventSubscription[];
|
|
1397
1578
|
page?: Page;
|
|
1398
1579
|
};
|
|
1399
|
-
/** @returns {
|
|
1400
|
-
declare function
|
|
1401
|
-
type
|
|
1580
|
+
/** @returns {TriggerJobResponse} */
|
|
1581
|
+
declare function TriggerJobResponse(): TriggerJobResponse;
|
|
1582
|
+
type TriggerJobResponse = {
|
|
1402
1583
|
status?: number;
|
|
1403
1584
|
};
|
|
1404
|
-
/** @returns {
|
|
1405
|
-
declare function
|
|
1406
|
-
type
|
|
1585
|
+
/** @returns {TriggerJobRequest} */
|
|
1586
|
+
declare function TriggerJobRequest(): TriggerJobRequest;
|
|
1587
|
+
type TriggerJobRequest = {
|
|
1407
1588
|
job_id?: string;
|
|
1408
1589
|
};
|
|
1409
|
-
/** @returns {
|
|
1410
|
-
declare function
|
|
1411
|
-
type
|
|
1590
|
+
/** @returns {GlobalVariablesGetResponse} */
|
|
1591
|
+
declare function GlobalVariablesGetResponse(): GlobalVariablesGetResponse;
|
|
1592
|
+
type GlobalVariablesGetResponse = {
|
|
1412
1593
|
read_only?: any;
|
|
1413
1594
|
editable?: any;
|
|
1414
1595
|
};
|
|
1415
|
-
/** @returns {
|
|
1416
|
-
declare function
|
|
1417
|
-
type
|
|
1596
|
+
/** @returns {GlobalVariablesPostResponse} */
|
|
1597
|
+
declare function GlobalVariablesPostResponse(): GlobalVariablesPostResponse;
|
|
1598
|
+
type GlobalVariablesPostResponse = {
|
|
1418
1599
|
_id?: string;
|
|
1419
1600
|
category?: string;
|
|
1420
1601
|
application?: string;
|
|
@@ -1483,6 +1664,16 @@ type JobLogs = {
|
|
|
1483
1664
|
declare function LogEmail(): LogEmail;
|
|
1484
1665
|
type LogEmail = {
|
|
1485
1666
|
template?: string;
|
|
1667
|
+
provider?: string;
|
|
1668
|
+
to?: string;
|
|
1669
|
+
};
|
|
1670
|
+
/** @returns {LogSms} */
|
|
1671
|
+
declare function LogSms(): LogSms;
|
|
1672
|
+
type LogSms = {
|
|
1673
|
+
template?: string;
|
|
1674
|
+
provider?: string;
|
|
1675
|
+
phone_number?: string;
|
|
1676
|
+
country_code?: string;
|
|
1486
1677
|
};
|
|
1487
1678
|
/** @returns {LogPushnotification} */
|
|
1488
1679
|
declare function LogPushnotification(): LogPushnotification;
|
|
@@ -1492,8 +1683,10 @@ type LogPushnotification = {
|
|
|
1492
1683
|
/** @returns {LogMeta} */
|
|
1493
1684
|
declare function LogMeta(): LogMeta;
|
|
1494
1685
|
type LogMeta = {
|
|
1495
|
-
type?: string;
|
|
1496
1686
|
identifier?: string;
|
|
1687
|
+
type?: string;
|
|
1688
|
+
job?: string;
|
|
1689
|
+
campaign?: string;
|
|
1497
1690
|
key?: string;
|
|
1498
1691
|
offset?: string;
|
|
1499
1692
|
partition?: string;
|
|
@@ -1503,16 +1696,18 @@ type LogMeta = {
|
|
|
1503
1696
|
declare function Log(): Log;
|
|
1504
1697
|
type Log = {
|
|
1505
1698
|
email?: LogEmail;
|
|
1699
|
+
sms?: LogSms;
|
|
1506
1700
|
pushnotification?: LogPushnotification;
|
|
1507
|
-
meta?: LogMeta;
|
|
1508
1701
|
_id?: string;
|
|
1509
|
-
|
|
1702
|
+
pod?: string;
|
|
1510
1703
|
service?: string;
|
|
1511
1704
|
step?: string;
|
|
1705
|
+
source?: string;
|
|
1512
1706
|
status?: string;
|
|
1513
|
-
data?: any;
|
|
1514
1707
|
expire_at?: string;
|
|
1515
1708
|
created_at?: string;
|
|
1709
|
+
meta?: LogMeta;
|
|
1710
|
+
application?: string;
|
|
1516
1711
|
};
|
|
1517
1712
|
/** @returns {Logs} */
|
|
1518
1713
|
declare function Logs(): Logs;
|
|
@@ -1615,17 +1810,10 @@ type VerifyOtpCommsSuccessRes = {
|
|
|
1615
1810
|
message?: string;
|
|
1616
1811
|
email?: string;
|
|
1617
1812
|
};
|
|
1618
|
-
/** @returns {VerifyOtpCommsErrorRes} */
|
|
1619
|
-
declare function VerifyOtpCommsErrorRes(): VerifyOtpCommsErrorRes;
|
|
1620
|
-
type VerifyOtpCommsErrorRes = {
|
|
1621
|
-
success?: boolean;
|
|
1622
|
-
message?: string;
|
|
1623
|
-
};
|
|
1624
1813
|
/** @returns {SmsProviderReq} */
|
|
1625
1814
|
declare function SmsProviderReq(): SmsProviderReq;
|
|
1626
1815
|
type SmsProviderReq = {
|
|
1627
1816
|
name?: string;
|
|
1628
|
-
token?: string;
|
|
1629
1817
|
description?: string;
|
|
1630
1818
|
sender?: string;
|
|
1631
1819
|
username?: string;
|
|
@@ -1680,22 +1868,10 @@ type SmsProviderReq = {
|
|
|
1680
1868
|
* - The api_key for the test.
|
|
1681
1869
|
*/
|
|
1682
1870
|
api_key?: string;
|
|
1683
|
-
/**
|
|
1684
|
-
* - First part of jiocx url.
|
|
1685
|
-
*/
|
|
1686
|
-
tenant_name_1?: string;
|
|
1687
|
-
/**
|
|
1688
|
-
* - Second part of jiocx url.
|
|
1689
|
-
*/
|
|
1690
|
-
tenant_name_2?: string;
|
|
1691
1871
|
};
|
|
1692
1872
|
/** @returns {SmsProvider} */
|
|
1693
1873
|
declare function SmsProvider(): SmsProvider;
|
|
1694
1874
|
type SmsProvider = {
|
|
1695
|
-
token?: string;
|
|
1696
|
-
sender_id?: string;
|
|
1697
|
-
api_key?: string;
|
|
1698
|
-
expiry_date?: number;
|
|
1699
1875
|
rpt?: number;
|
|
1700
1876
|
type?: string;
|
|
1701
1877
|
provider?: string;
|
|
@@ -1705,6 +1881,7 @@ type SmsProvider = {
|
|
|
1705
1881
|
sender?: string;
|
|
1706
1882
|
username?: string;
|
|
1707
1883
|
authkey?: string;
|
|
1884
|
+
entity_id?: string;
|
|
1708
1885
|
application?: string;
|
|
1709
1886
|
created_at?: string;
|
|
1710
1887
|
updated_at?: string;
|
|
@@ -1863,28 +2040,16 @@ type Page = {
|
|
|
1863
2040
|
* - The number of items per page.
|
|
1864
2041
|
*/
|
|
1865
2042
|
size?: number;
|
|
2043
|
+
/**
|
|
2044
|
+
* - Total number of items.
|
|
2045
|
+
*/
|
|
2046
|
+
total?: number;
|
|
1866
2047
|
};
|
|
1867
|
-
/** @returns {
|
|
1868
|
-
declare function
|
|
1869
|
-
type
|
|
1870
|
-
message?: Message;
|
|
1871
|
-
sentry?: string;
|
|
1872
|
-
};
|
|
1873
|
-
/** @returns {GenericDelete} */
|
|
1874
|
-
declare function GenericDelete(): GenericDelete;
|
|
1875
|
-
type GenericDelete = {
|
|
1876
|
-
message?: string;
|
|
2048
|
+
/** @returns {BasicDelete} */
|
|
2049
|
+
declare function BasicDelete(): BasicDelete;
|
|
2050
|
+
type BasicDelete = {
|
|
1877
2051
|
acknowledged?: boolean;
|
|
1878
|
-
|
|
1879
|
-
operation?: string;
|
|
1880
|
-
};
|
|
1881
|
-
/** @returns {Message} */
|
|
1882
|
-
declare function Message(): Message;
|
|
1883
|
-
type Message = {
|
|
1884
|
-
message?: string;
|
|
1885
|
-
success?: boolean;
|
|
1886
|
-
info?: string;
|
|
1887
|
-
operation?: string;
|
|
2052
|
+
deleted_count?: number;
|
|
1888
2053
|
};
|
|
1889
2054
|
/** @returns {EnabledObj} */
|
|
1890
2055
|
declare function EnabledObj(): EnabledObj;
|
|
@@ -1903,12 +2068,19 @@ type OtpConfigurationExpiry = {
|
|
|
1903
2068
|
duration: OtpConfigurationExpiryDuration;
|
|
1904
2069
|
type: string;
|
|
1905
2070
|
};
|
|
2071
|
+
/** @returns {OtpConfigRateLimit} */
|
|
2072
|
+
declare function OtpConfigRateLimit(): OtpConfigRateLimit;
|
|
2073
|
+
type OtpConfigRateLimit = {
|
|
2074
|
+
duration?: number;
|
|
2075
|
+
limit?: number;
|
|
2076
|
+
};
|
|
1906
2077
|
/** @returns {OtpConfiguration} */
|
|
1907
2078
|
declare function OtpConfiguration(): OtpConfiguration;
|
|
1908
2079
|
type OtpConfiguration = {
|
|
1909
2080
|
otp_length: number;
|
|
1910
2081
|
type: string;
|
|
1911
2082
|
expiry: OtpConfigurationExpiry;
|
|
2083
|
+
rate_limit: OtpConfigRateLimit;
|
|
1912
2084
|
application_id?: string;
|
|
1913
2085
|
company_id?: string;
|
|
1914
2086
|
};
|