@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.10
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 +2 -2
- package/application.d.ts +1 -2
- package/application.js +2 -3
- package/index.d.ts +1 -2
- package/index.js +7 -1
- package/package.json +2 -3
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -20
- package/sdk/application/Cart/CartApplicationClient.d.ts +55 -97
- package/sdk/application/Cart/CartApplicationClient.js +60 -1262
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +80 -162
- package/sdk/application/Catalog/CatalogApplicationClient.js +148 -1313
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -9
- package/sdk/application/Common/CommonApplicationClient.js +5 -90
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -145
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -80
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +31 -725
- package/sdk/application/Content/ContentApplicationClient.d.ts +63 -85
- package/sdk/application/Content/ContentApplicationClient.js +126 -942
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -15
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +26 -130
- package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -17
- package/sdk/application/Lead/LeadApplicationClient.js +32 -201
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -62
- package/sdk/application/Logistic/LogisticApplicationClient.js +51 -647
- package/sdk/application/Order/OrderApplicationClient.d.ts +22 -56
- package/sdk/application/Order/OrderApplicationClient.js +86 -555
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +92 -209
- package/sdk/application/Payment/PaymentApplicationClient.js +57 -2099
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -26
- package/sdk/application/Rewards/RewardsApplicationClient.js +17 -303
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
- package/sdk/application/Share/ShareApplicationClient.js +34 -294
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
- package/sdk/application/Theme/ThemeApplicationClient.js +30 -166
- package/sdk/application/User/UserApplicationClient.d.ts +87 -138
- package/sdk/application/User/UserApplicationClient.js +47 -1817
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
- package/sdk/application/Webhook/WebhookApplicationClient.js +6 -49
- package/sdk/application/index.d.ts +0 -19
- package/sdk/application/index.js +0 -35
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +10 -7
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +21 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +16 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +85 -767
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +39 -135
- package/sdk/partner/Theme/ThemePartnerModel.js +38 -114
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +112 -407
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1328 -4975
- package/sdk/platform/Cart/CartPlatformModel.js +1229 -1922
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
- package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1744 -1501
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1211 -1383
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +138 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +100 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
- package/sdk/platform/Content/ContentPlatformModel.js +390 -521
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +39 -95
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +63 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +22 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +24 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +116 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +104 -313
- 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 +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -25
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -175
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -52
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -34
- package/sdk/platform/Order/OrderPlatformClient.d.ts +103 -174
- package/sdk/platform/Order/OrderPlatformClient.js +275 -528
- package/sdk/platform/Order/OrderPlatformModel.d.ts +3078 -5449
- package/sdk/platform/Order/OrderPlatformModel.js +1659 -3501
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +219 -234
- package/sdk/platform/Order/OrderPlatformValidator.js +118 -146
- 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 +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +106 -94
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +507 -386
- package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
- 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 +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +35 -45
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +68 -62
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +396 -620
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +326 -501
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +11 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
- package/sdk/platform/Share/SharePlatformModel.js +4 -27
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +13 -76
- package/sdk/platform/Theme/ThemePlatformModel.js +17 -57
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -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/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -8
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +19 -793
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +14 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +13 -10
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Cart/CartApplicationModel.d.ts +0 -4340
- package/sdk/application/Cart/CartApplicationModel.js +0 -2718
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -788
- package/sdk/application/Cart/CartApplicationValidator.js +0 -546
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3909
- package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2667
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
- package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
- package/sdk/application/Common/CommonApplicationModel.js +0 -308
- package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
- package/sdk/application/Common/CommonApplicationValidator.js +0 -38
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
- package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2544
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1875
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
- package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2189
- package/sdk/application/Content/ContentApplicationModel.js +0 -1640
- package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -290
- package/sdk/application/Content/ContentApplicationValidator.js +0 -269
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -270
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -188
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -36
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
- package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
- package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
- package/sdk/application/Lead/LeadApplicationModel.js +0 -480
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
- package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -2034
- package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1391
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -299
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -224
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2612
- package/sdk/application/Order/OrderApplicationModel.js +0 -1669
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -279
- package/sdk/application/Order/OrderApplicationValidator.js +0 -210
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4062
- package/sdk/application/Payment/PaymentApplicationModel.js +0 -2632
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
- package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
- package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
- package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
- package/sdk/application/Share/ShareApplicationModel.js +0 -234
- package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
- package/sdk/application/Share/ShareApplicationValidator.js +0 -91
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1744
- package/sdk/application/Theme/ThemeApplicationModel.js +0 -1446
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -79
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -65
- package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
- package/sdk/application/User/UserApplicationModel.js +0 -1382
- package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
- package/sdk/application/User/UserApplicationValidator.js +0 -573
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -54
- package/sdk/application/Webhook/WebhookApplicationModel.js +0 -48
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
- package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
- package/sdk/common/Clickstream.d.ts +0 -1
- package/sdk/common/Clickstream.js +0 -464
|
@@ -1,111 +1,79 @@
|
|
|
1
1
|
export = WebhookPartnerModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
4
|
-
* @property {string} [status]
|
|
3
|
+
* @typedef UpdateSubscriberRequest
|
|
4
|
+
* @property {string} [status]
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* @typedef
|
|
8
|
-
* @property {string} [message]
|
|
9
|
-
* the subscriber update operation.
|
|
7
|
+
* @typedef UpdateSubscriberResponse
|
|
8
|
+
* @property {string} [message]
|
|
10
9
|
*/
|
|
11
10
|
/**
|
|
12
11
|
* @typedef Association
|
|
13
|
-
* @property {number} [company_id]
|
|
14
|
-
*
|
|
15
|
-
* @property {string
|
|
16
|
-
*
|
|
17
|
-
* @property {string} [extension_id] - The identifier for the extension related
|
|
18
|
-
* to the configuration.
|
|
19
|
-
* @property {string} [criteria] - Defines the criteria for the association,
|
|
20
|
-
* including options for all events, empty criteria, or specific events.
|
|
12
|
+
* @property {number} [company_id]
|
|
13
|
+
* @property {string[]} [application_id]
|
|
14
|
+
* @property {string} [extension_id]
|
|
15
|
+
* @property {string} [criteria]
|
|
21
16
|
*/
|
|
22
17
|
/**
|
|
23
18
|
* @typedef AuthMeta
|
|
24
|
-
* @property {string} [type]
|
|
25
|
-
* @property {string} [secret]
|
|
26
|
-
*/
|
|
27
|
-
/**
|
|
28
|
-
* @typedef BroadcasterConfig
|
|
29
|
-
* @property {string} [topic] - The topic associated with the broadcaster configuration.
|
|
30
|
-
* @property {string} [queue] - The queue name used by the broadcaster.
|
|
31
|
-
* @property {string} [event_bridge_name] - The name of the event bridge used in
|
|
32
|
-
* the broadcaster configuration.
|
|
33
|
-
* @property {string} [workflow_name] - The name of the workflow related to the
|
|
34
|
-
* broadcaster.
|
|
35
|
-
* @property {string} [account_id] - The account ID associated with the
|
|
36
|
-
* broadcaster configuration.
|
|
37
|
-
* @property {string} [detail_type] - Specifies the type of detail for the
|
|
38
|
-
* broadcaster, allowing for custom or non-enumerated values.
|
|
19
|
+
* @property {string} [type]
|
|
20
|
+
* @property {string} [secret]
|
|
39
21
|
*/
|
|
40
22
|
/**
|
|
41
23
|
* @typedef SubscriberEventMapping
|
|
42
|
-
* @property {number} [id]
|
|
43
|
-
* @property {number} [event_id]
|
|
44
|
-
*
|
|
45
|
-
* @property {
|
|
46
|
-
*
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
*
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
* @
|
|
53
|
-
* @property {
|
|
54
|
-
* @property {
|
|
55
|
-
* @property {string} [
|
|
56
|
-
*
|
|
57
|
-
* @property {string} [
|
|
58
|
-
*
|
|
59
|
-
* @property {
|
|
60
|
-
*
|
|
61
|
-
* @property {string} [version] - The version number of the event configuration.
|
|
62
|
-
* @property {string} [display_name] - The display name for the event configuration.
|
|
63
|
-
* @property {string} [description] - A description of the event configuration,
|
|
64
|
-
* if provided.
|
|
65
|
-
* @property {string} [created_on] - The timestamp indicating when the event
|
|
66
|
-
* configuration was created.
|
|
67
|
-
* @property {string} [updated_on] - The timestamp indicating when the event
|
|
68
|
-
* configuration was last updated.
|
|
69
|
-
* @property {string} [group] - The group to which the event configuration
|
|
70
|
-
* belongs, if applicable.
|
|
24
|
+
* @property {number} [id]
|
|
25
|
+
* @property {number} [event_id]
|
|
26
|
+
* @property {number} [subscriber_id]
|
|
27
|
+
* @property {string} [topic]
|
|
28
|
+
* @property {string} [created_on]
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* @typedef EventConfigResponse
|
|
32
|
+
* @property {number} [id]
|
|
33
|
+
* @property {string} [event_name]
|
|
34
|
+
* @property {string} [event_type]
|
|
35
|
+
* @property {string} [event_category]
|
|
36
|
+
* @property {Object} [event_schema]
|
|
37
|
+
* @property {string} [version]
|
|
38
|
+
* @property {string} [display_name]
|
|
39
|
+
* @property {string} [description]
|
|
40
|
+
* @property {string} [created_on]
|
|
41
|
+
* @property {string} [updated_on]
|
|
42
|
+
* @property {string} [group]
|
|
71
43
|
* @property {SubscriberEventMapping} [subscriber_event_mapping]
|
|
72
44
|
*/
|
|
73
45
|
/**
|
|
74
|
-
* @typedef
|
|
75
|
-
* @property {ItemSchema[]} [items]
|
|
76
|
-
* configurations.
|
|
46
|
+
* @typedef SubscriberConfigResponse
|
|
47
|
+
* @property {ItemSchema[]} [items]
|
|
77
48
|
* @property {Page} [page]
|
|
78
49
|
*/
|
|
79
50
|
/**
|
|
80
|
-
* @typedef
|
|
81
|
-
* @property {string} [event_name]
|
|
82
|
-
* @property {string} [version]
|
|
83
|
-
* @property {string} [category]
|
|
84
|
-
* @property {string} [start_date]
|
|
85
|
-
*
|
|
86
|
-
* @property {string} [end_date] - The end date and time for the period during
|
|
87
|
-
* which events were considered invalid.
|
|
51
|
+
* @typedef InvalidEventsRequest
|
|
52
|
+
* @property {string} [event_name]
|
|
53
|
+
* @property {string} [version]
|
|
54
|
+
* @property {string} [category]
|
|
55
|
+
* @property {string} [start_date]
|
|
56
|
+
* @property {string} [end_date]
|
|
88
57
|
*/
|
|
89
58
|
/**
|
|
90
|
-
* @typedef
|
|
91
|
-
* @property {string} [event_name]
|
|
92
|
-
* @property {string} [event_type]
|
|
93
|
-
*
|
|
94
|
-
* @property {string} [
|
|
95
|
-
* @property {
|
|
96
|
-
* @property {number} [count] - The number of occurrences of the invalid event.
|
|
59
|
+
* @typedef InvalidEventsResponse
|
|
60
|
+
* @property {string} [event_name]
|
|
61
|
+
* @property {string} [event_type]
|
|
62
|
+
* @property {string} [version]
|
|
63
|
+
* @property {string} [category]
|
|
64
|
+
* @property {number} [count]
|
|
97
65
|
*/
|
|
98
66
|
/**
|
|
99
67
|
* @typedef HistoryFilters
|
|
100
|
-
* @property {string[]} [events]
|
|
101
|
-
* @property {string} [search_text]
|
|
68
|
+
* @property {string[]} [events]
|
|
69
|
+
* @property {string} [search_text]
|
|
102
70
|
* @property {string} [status] - The status of the history report (e.g., "FAILED").
|
|
103
71
|
* @property {string} [end_date] - The end date and time of the history report.
|
|
104
72
|
* @property {string} [start_date] - The start date and time of the history report.
|
|
105
73
|
* @property {number[]} [subscribers] - An array of subscriber IDs associated
|
|
106
74
|
* with the history report.
|
|
107
|
-
* @property {string[]} [webhook_type] - An array of webhook
|
|
108
|
-
*
|
|
75
|
+
* @property {string[]} [webhook_type] - An array of webhook type to identify
|
|
76
|
+
* thetype of subscriber i.e (KAFKA or REST).
|
|
109
77
|
*/
|
|
110
78
|
/**
|
|
111
79
|
* @typedef Url
|
|
@@ -114,8 +82,7 @@ export = WebhookPartnerModel;
|
|
|
114
82
|
*/
|
|
115
83
|
/**
|
|
116
84
|
* @typedef CdnObject
|
|
117
|
-
* @property {Url[]} [urls]
|
|
118
|
-
* location of the uploaded report files.
|
|
85
|
+
* @property {Url[]} [urls]
|
|
119
86
|
*/
|
|
120
87
|
/**
|
|
121
88
|
* @typedef UploadServiceObject
|
|
@@ -123,108 +90,92 @@ export = WebhookPartnerModel;
|
|
|
123
90
|
*/
|
|
124
91
|
/**
|
|
125
92
|
* @typedef HistoryAssociation
|
|
126
|
-
* @property {number} [company_id]
|
|
127
|
-
*
|
|
128
|
-
* @property {number[]} [subscriber_ids] - A list of subscriber IDs related to
|
|
129
|
-
* the history report.
|
|
93
|
+
* @property {number} [company_id]
|
|
94
|
+
* @property {number[]} [subscriber_ids]
|
|
130
95
|
*/
|
|
131
96
|
/**
|
|
132
97
|
* @typedef HistoryItems
|
|
133
|
-
* @property {number} [id] - The
|
|
98
|
+
* @property {number} [id] - The ID of the history report.
|
|
134
99
|
* @property {HistoryAssociation} [association]
|
|
135
100
|
* @property {HistoryFilters} [filters]
|
|
136
|
-
* @property {string} [filename] - The
|
|
137
|
-
* @property {string} [status] - The
|
|
138
|
-
* "COMPLETED").
|
|
101
|
+
* @property {string} [filename] - The filename of the history report.
|
|
102
|
+
* @property {string} [status] - The status of the history report (e.g., "COMPLETED").
|
|
139
103
|
* @property {UploadServiceObject} [upload_service_response]
|
|
140
104
|
* @property {string} [created_on] - The date and time when the history report
|
|
141
|
-
* was
|
|
105
|
+
* was created.
|
|
142
106
|
* @property {string} [updated_on] - The date and time when the history report
|
|
143
107
|
* was last updated.
|
|
144
108
|
* @property {string} [message] - A message related to the history report.
|
|
145
109
|
*/
|
|
146
110
|
/**
|
|
147
|
-
* @typedef
|
|
148
|
-
* @property {HistoryItems[]} [items]
|
|
111
|
+
* @typedef HistoryResponse
|
|
112
|
+
* @property {HistoryItems[]} [items]
|
|
149
113
|
* @property {Page} [page]
|
|
150
114
|
*/
|
|
151
115
|
/**
|
|
152
116
|
* @typedef HistoryPayload
|
|
153
|
-
* @property {number} [company_id]
|
|
154
|
-
*
|
|
155
|
-
* @property {
|
|
156
|
-
*
|
|
157
|
-
* @property {number} [page_no] - The page number of the history report results.
|
|
158
|
-
* @property {number} [page_size] - The number of records to display per page in
|
|
159
|
-
* the history report.
|
|
117
|
+
* @property {number} [company_id]
|
|
118
|
+
* @property {string} [type] - The type of history report (e.g., "platform").
|
|
119
|
+
* @property {number} [page_no] - The page number of the history report.
|
|
120
|
+
* @property {number} [page_size] - The number of records per page.
|
|
160
121
|
*/
|
|
161
122
|
/**
|
|
162
|
-
* @typedef
|
|
163
|
-
* @property {string} [message]
|
|
164
|
-
*
|
|
165
|
-
* @property {string} [result] - The outcome of the cancel download operation.
|
|
123
|
+
* @typedef CancelDownloadResponse
|
|
124
|
+
* @property {string} [message]
|
|
125
|
+
* @property {string} [result]
|
|
166
126
|
*/
|
|
167
127
|
/**
|
|
168
|
-
* @typedef
|
|
169
|
-
* @property {string} [filter_name]
|
|
170
|
-
* @property {Object[]} [values]
|
|
128
|
+
* @typedef FilterReportResponse
|
|
129
|
+
* @property {string} [filter_name]
|
|
130
|
+
* @property {Object[]} [values]
|
|
171
131
|
*/
|
|
172
132
|
/**
|
|
173
|
-
* @typedef
|
|
133
|
+
* @typedef DeliveryTsResponse
|
|
174
134
|
* @property {DeliveryTsSchema[]} [delivery_ts]
|
|
175
135
|
*/
|
|
176
136
|
/**
|
|
177
137
|
* @typedef DeliveryTsSchema
|
|
178
|
-
* @property {string} [timestamp]
|
|
179
|
-
* @property {number} [failed]
|
|
180
|
-
* @property {number} [removed_webhooks]
|
|
181
|
-
* @property {number} [success]
|
|
138
|
+
* @property {string} [timestamp]
|
|
139
|
+
* @property {number} [failed]
|
|
140
|
+
* @property {number} [removed_webhooks]
|
|
141
|
+
* @property {number} [success]
|
|
182
142
|
*/
|
|
183
143
|
/**
|
|
184
|
-
* @typedef
|
|
185
|
-
* @property {string} [company_id]
|
|
186
|
-
*
|
|
187
|
-
* @property {number} [
|
|
188
|
-
* @property {
|
|
189
|
-
* @property {string} [
|
|
190
|
-
*
|
|
191
|
-
* @property {string} [
|
|
192
|
-
* @property {EventDeliveryDetailSchema[]} [event] - A list of event delivery details.
|
|
193
|
-
* @property {string} [status] - The status of the delivery details request.
|
|
144
|
+
* @typedef DeliveryDetailsRequest
|
|
145
|
+
* @property {string} [company_id]
|
|
146
|
+
* @property {number} [page_no]
|
|
147
|
+
* @property {number} [page_size]
|
|
148
|
+
* @property {string} [start_date]
|
|
149
|
+
* @property {string} [end_date]
|
|
150
|
+
* @property {EventDeliveryDetailSchema[]} [event]
|
|
151
|
+
* @property {string} [status]
|
|
194
152
|
*/
|
|
195
153
|
/**
|
|
196
154
|
* @typedef EventDeliveryDetailSchema
|
|
197
|
-
* @property {string} [event_name]
|
|
198
|
-
*
|
|
199
|
-
* @property {string} [
|
|
200
|
-
*
|
|
201
|
-
* @property {string} [event_category] - The category of the event, allowing for
|
|
202
|
-
* custom or non-enumerated values.
|
|
203
|
-
* @property {string} [version] - The version of the event related to the
|
|
204
|
-
* delivery details.
|
|
155
|
+
* @property {string} [event_name]
|
|
156
|
+
* @property {string} [event_type]
|
|
157
|
+
* @property {string} [event_category]
|
|
158
|
+
* @property {string} [version]
|
|
205
159
|
*/
|
|
206
160
|
/**
|
|
207
|
-
* @typedef
|
|
208
|
-
* @property {EventProcessReportObject[]} [rows]
|
|
209
|
-
* reports with delivery details.
|
|
161
|
+
* @typedef DeliveryDetailsResponse
|
|
162
|
+
* @property {EventProcessReportObject[]} [rows]
|
|
210
163
|
* @property {Page} [page]
|
|
211
164
|
*/
|
|
212
165
|
/**
|
|
213
166
|
* @typedef EventProcessReportObject
|
|
214
167
|
* @property {string} [event_name] - The name of the processed event.
|
|
215
|
-
* @property {number} [response_code] - The response code
|
|
216
|
-
*
|
|
217
|
-
* @property {string} [
|
|
218
|
-
* @property {
|
|
219
|
-
* @property {number} [
|
|
220
|
-
* @property {
|
|
221
|
-
* process the event.
|
|
222
|
-
* @property {string} [status] - The status of the event processing (e.g., "FAILED").
|
|
168
|
+
* @property {number} [response_code] - The response code of the event.
|
|
169
|
+
* @property {string} [response_message] - The response message of the event.
|
|
170
|
+
* @property {string} [data] - The data associated with the event.
|
|
171
|
+
* @property {number} [attempt] - The attempt number of the event.
|
|
172
|
+
* @property {number} [last_attempted_on] - The timestamp of the last attempted event.
|
|
173
|
+
* @property {string} [status] - The status of the event (e.g., "FAILED").
|
|
223
174
|
* @property {string} [name] - The name of the event.
|
|
224
|
-
* @property {string} [webhook_url] - The URL
|
|
225
|
-
* @property {number} [response_time] - The time
|
|
226
|
-
* @property {string} [message_id]
|
|
227
|
-
* @property {string} [event_trace_id]
|
|
175
|
+
* @property {string} [webhook_url] - The webhook URL associated with the event.
|
|
176
|
+
* @property {number} [response_time] - The response time of the event.
|
|
177
|
+
* @property {string} [message_id]
|
|
178
|
+
* @property {string} [event_trace_id]
|
|
228
179
|
*/
|
|
229
180
|
/**
|
|
230
181
|
* @typedef Page
|
|
@@ -238,304 +189,126 @@ export = WebhookPartnerModel;
|
|
|
238
189
|
*/
|
|
239
190
|
/**
|
|
240
191
|
* @typedef DeliveryEventLevelSchema
|
|
241
|
-
* @property {string} [event]
|
|
242
|
-
* @property {number} [success]
|
|
243
|
-
* @property {number} [failed]
|
|
244
|
-
* @property {number} [failed_percentage]
|
|
245
|
-
*
|
|
246
|
-
* @property {number} [
|
|
247
|
-
*
|
|
248
|
-
* @property {number} [total] - The total number of delivery attempts for the event.
|
|
249
|
-
* @property {number} [response_time] - The average response time for the event
|
|
250
|
-
* deliveries.
|
|
251
|
-
*/
|
|
252
|
-
/**
|
|
253
|
-
* @typedef ResponseTimeTs
|
|
254
|
-
* @property {AvgResponseTime[]} [avg_response_time_ts]
|
|
192
|
+
* @property {string} [event]
|
|
193
|
+
* @property {number} [success]
|
|
194
|
+
* @property {number} [failed]
|
|
195
|
+
* @property {number} [failed_percentage]
|
|
196
|
+
* @property {number} [removed_webhooks]
|
|
197
|
+
* @property {number} [total]
|
|
198
|
+
* @property {number} [response_time]
|
|
255
199
|
*/
|
|
256
200
|
/**
|
|
257
|
-
* @typedef
|
|
258
|
-
* @property {string} [last_attempted_on] - The timestamp of the last attempt,
|
|
259
|
-
* formatted as a string.
|
|
260
|
-
* @property {number} [response_code] - The response code returned for the
|
|
261
|
-
* delivery attempt, allowing for custom or non-enumerated values.
|
|
262
|
-
* @property {string} [response_time] - The response time for the delivery
|
|
263
|
-
* attempt, formatted as a string.
|
|
264
|
-
* @property {number} [attempt] - The attempt number for the delivery.
|
|
265
|
-
* @property {number} [total] - The total count of deliveries attempted.
|
|
266
|
-
*/
|
|
267
|
-
/**
|
|
268
|
-
* @typedef DeliverySummaryResult
|
|
201
|
+
* @typedef DeliverySummaryResponse
|
|
269
202
|
* @property {DeliveryEventLevelSchema[]} [delivery_event_level]
|
|
270
203
|
* @property {DeliverySummarySchema} [delivery_summary]
|
|
271
204
|
*/
|
|
272
205
|
/**
|
|
273
206
|
* @typedef DeliverySummarySchema
|
|
274
|
-
* @property {number} [success]
|
|
275
|
-
* @property {number} [response_time]
|
|
276
|
-
* @property {number} [failed_percentage]
|
|
277
|
-
* @property {number} [removed_webhooks]
|
|
207
|
+
* @property {number} [success]
|
|
208
|
+
* @property {number} [response_time]
|
|
209
|
+
* @property {number} [failed_percentage]
|
|
210
|
+
* @property {number} [removed_webhooks]
|
|
278
211
|
*/
|
|
279
212
|
/**
|
|
280
213
|
* @typedef ItemSchema
|
|
281
|
-
* @property {number} [id]
|
|
282
|
-
* @property {string} [modified_by]
|
|
283
|
-
* @property {string} [name]
|
|
284
|
-
* @property {string} [webhook_url]
|
|
285
|
-
* @property {string} [provider]
|
|
214
|
+
* @property {number} [id]
|
|
215
|
+
* @property {string} [modified_by]
|
|
216
|
+
* @property {string} [name]
|
|
217
|
+
* @property {string} [webhook_url]
|
|
218
|
+
* @property {string} [provider]
|
|
286
219
|
* @property {Association} [association]
|
|
287
|
-
* @property {Object} [custom_headers]
|
|
288
|
-
* @property {string} [status]
|
|
289
|
-
* @property {string} [email_id]
|
|
290
|
-
* @property {string} [updated_on]
|
|
291
|
-
* @property {string} [created_on]
|
|
292
|
-
* @property {string} [type]
|
|
220
|
+
* @property {Object} [custom_headers]
|
|
221
|
+
* @property {string} [status]
|
|
222
|
+
* @property {string} [email_id]
|
|
223
|
+
* @property {string} [updated_on]
|
|
224
|
+
* @property {string} [created_on]
|
|
225
|
+
* @property {string} [type]
|
|
293
226
|
* @property {AuthMeta} [auth_meta]
|
|
294
|
-
* @property {
|
|
295
|
-
*
|
|
296
|
-
* @property {number[]} [event_id] - A list of event IDs associated with the item.
|
|
227
|
+
* @property {EventConfigResponse[]} [event_configs]
|
|
228
|
+
* @property {number[]} [event_id]
|
|
297
229
|
*/
|
|
298
230
|
declare class WebhookPartnerModel {
|
|
299
231
|
}
|
|
300
232
|
declare namespace WebhookPartnerModel {
|
|
301
|
-
export {
|
|
233
|
+
export { UpdateSubscriberRequest, UpdateSubscriberResponse, Association, AuthMeta, SubscriberEventMapping, EventConfigResponse, SubscriberConfigResponse, InvalidEventsRequest, InvalidEventsResponse, HistoryFilters, Url, CdnObject, UploadServiceObject, HistoryAssociation, HistoryItems, HistoryResponse, HistoryPayload, CancelDownloadResponse, FilterReportResponse, DeliveryTsResponse, DeliveryTsSchema, DeliveryDetailsRequest, EventDeliveryDetailSchema, DeliveryDetailsResponse, EventProcessReportObject, Page, DeliveryEventLevelSchema, DeliverySummaryResponse, DeliverySummarySchema, ItemSchema };
|
|
302
234
|
}
|
|
303
|
-
/** @returns {
|
|
304
|
-
declare function
|
|
305
|
-
type
|
|
306
|
-
/**
|
|
307
|
-
* - Represents the status of the subscriber update operation.
|
|
308
|
-
*/
|
|
235
|
+
/** @returns {UpdateSubscriberRequest} */
|
|
236
|
+
declare function UpdateSubscriberRequest(): UpdateSubscriberRequest;
|
|
237
|
+
type UpdateSubscriberRequest = {
|
|
309
238
|
status?: string;
|
|
310
239
|
};
|
|
311
|
-
/** @returns {
|
|
312
|
-
declare function
|
|
313
|
-
type
|
|
314
|
-
/**
|
|
315
|
-
* - Provides a message describing the result of
|
|
316
|
-
* the subscriber update operation.
|
|
317
|
-
*/
|
|
240
|
+
/** @returns {UpdateSubscriberResponse} */
|
|
241
|
+
declare function UpdateSubscriberResponse(): UpdateSubscriberResponse;
|
|
242
|
+
type UpdateSubscriberResponse = {
|
|
318
243
|
message?: string;
|
|
319
244
|
};
|
|
320
245
|
/** @returns {Association} */
|
|
321
246
|
declare function Association(): Association;
|
|
322
247
|
type Association = {
|
|
323
|
-
/**
|
|
324
|
-
* - The identifier for the company associated
|
|
325
|
-
* with the configuration.
|
|
326
|
-
*/
|
|
327
248
|
company_id?: number;
|
|
328
|
-
/**
|
|
329
|
-
* - A list of application identifiers
|
|
330
|
-
* associated with the configuration.
|
|
331
|
-
*/
|
|
332
249
|
application_id?: string[];
|
|
333
|
-
/**
|
|
334
|
-
* - The identifier for the extension related
|
|
335
|
-
* to the configuration.
|
|
336
|
-
*/
|
|
337
250
|
extension_id?: string;
|
|
338
|
-
/**
|
|
339
|
-
* - Defines the criteria for the association,
|
|
340
|
-
* including options for all events, empty criteria, or specific events.
|
|
341
|
-
*/
|
|
342
251
|
criteria?: string;
|
|
343
252
|
};
|
|
344
253
|
/** @returns {AuthMeta} */
|
|
345
254
|
declare function AuthMeta(): AuthMeta;
|
|
346
255
|
type AuthMeta = {
|
|
347
|
-
/**
|
|
348
|
-
* - Specifies the type of authentication used.
|
|
349
|
-
*/
|
|
350
256
|
type?: string;
|
|
351
|
-
/**
|
|
352
|
-
* - Contains the secret key or token used for authentication.
|
|
353
|
-
*/
|
|
354
257
|
secret?: string;
|
|
355
258
|
};
|
|
356
|
-
/** @returns {BroadcasterConfig} */
|
|
357
|
-
declare function BroadcasterConfig(): BroadcasterConfig;
|
|
358
|
-
type BroadcasterConfig = {
|
|
359
|
-
/**
|
|
360
|
-
* - The topic associated with the broadcaster configuration.
|
|
361
|
-
*/
|
|
362
|
-
topic?: string;
|
|
363
|
-
/**
|
|
364
|
-
* - The queue name used by the broadcaster.
|
|
365
|
-
*/
|
|
366
|
-
queue?: string;
|
|
367
|
-
/**
|
|
368
|
-
* - The name of the event bridge used in
|
|
369
|
-
* the broadcaster configuration.
|
|
370
|
-
*/
|
|
371
|
-
event_bridge_name?: string;
|
|
372
|
-
/**
|
|
373
|
-
* - The name of the workflow related to the
|
|
374
|
-
* broadcaster.
|
|
375
|
-
*/
|
|
376
|
-
workflow_name?: string;
|
|
377
|
-
/**
|
|
378
|
-
* - The account ID associated with the
|
|
379
|
-
* broadcaster configuration.
|
|
380
|
-
*/
|
|
381
|
-
account_id?: string;
|
|
382
|
-
/**
|
|
383
|
-
* - Specifies the type of detail for the
|
|
384
|
-
* broadcaster, allowing for custom or non-enumerated values.
|
|
385
|
-
*/
|
|
386
|
-
detail_type?: string;
|
|
387
|
-
};
|
|
388
259
|
/** @returns {SubscriberEventMapping} */
|
|
389
260
|
declare function SubscriberEventMapping(): SubscriberEventMapping;
|
|
390
261
|
type SubscriberEventMapping = {
|
|
391
|
-
/**
|
|
392
|
-
* - The unique identifier for the subscriber event mapping.
|
|
393
|
-
*/
|
|
394
262
|
id?: number;
|
|
395
|
-
/**
|
|
396
|
-
* - The identifier for the event associated with
|
|
397
|
-
* the subscriber.
|
|
398
|
-
*/
|
|
399
263
|
event_id?: number;
|
|
400
|
-
/**
|
|
401
|
-
* - The identifier for the subscriber
|
|
402
|
-
* involved in the mapping.
|
|
403
|
-
*/
|
|
404
264
|
subscriber_id?: number;
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* - The timestamp indicating when the
|
|
408
|
-
* subscriber event mapping was created.
|
|
409
|
-
*/
|
|
265
|
+
topic?: string;
|
|
410
266
|
created_on?: string;
|
|
411
267
|
};
|
|
412
|
-
/** @returns {
|
|
413
|
-
declare function
|
|
414
|
-
type
|
|
415
|
-
/**
|
|
416
|
-
* - The unique identifier for the event configuration.
|
|
417
|
-
*/
|
|
268
|
+
/** @returns {EventConfigResponse} */
|
|
269
|
+
declare function EventConfigResponse(): EventConfigResponse;
|
|
270
|
+
type EventConfigResponse = {
|
|
418
271
|
id?: number;
|
|
419
|
-
/**
|
|
420
|
-
* - The name assigned to the event configuration.
|
|
421
|
-
*/
|
|
422
272
|
event_name?: string;
|
|
423
|
-
/**
|
|
424
|
-
* - Specifies the type of event, allowing for
|
|
425
|
-
* custom or non-enumerated values.
|
|
426
|
-
*/
|
|
427
273
|
event_type?: string;
|
|
428
|
-
/**
|
|
429
|
-
* - Defines the category of the event,
|
|
430
|
-
* allowing for custom or non-enumerated values.
|
|
431
|
-
*/
|
|
432
274
|
event_category?: string;
|
|
433
|
-
/**
|
|
434
|
-
* - Contains the schema details for the
|
|
435
|
-
* event, allowing for flexible or dynamic schemas.
|
|
436
|
-
*/
|
|
437
275
|
event_schema?: any;
|
|
438
|
-
/**
|
|
439
|
-
* - The version number of the event configuration.
|
|
440
|
-
*/
|
|
441
276
|
version?: string;
|
|
442
|
-
/**
|
|
443
|
-
* - The display name for the event configuration.
|
|
444
|
-
*/
|
|
445
277
|
display_name?: string;
|
|
446
|
-
/**
|
|
447
|
-
* - A description of the event configuration,
|
|
448
|
-
* if provided.
|
|
449
|
-
*/
|
|
450
278
|
description?: string;
|
|
451
|
-
/**
|
|
452
|
-
* - The timestamp indicating when the event
|
|
453
|
-
* configuration was created.
|
|
454
|
-
*/
|
|
455
279
|
created_on?: string;
|
|
456
|
-
/**
|
|
457
|
-
* - The timestamp indicating when the event
|
|
458
|
-
* configuration was last updated.
|
|
459
|
-
*/
|
|
460
280
|
updated_on?: string;
|
|
461
|
-
/**
|
|
462
|
-
* - The group to which the event configuration
|
|
463
|
-
* belongs, if applicable.
|
|
464
|
-
*/
|
|
465
281
|
group?: string;
|
|
466
282
|
subscriber_event_mapping?: SubscriberEventMapping;
|
|
467
283
|
};
|
|
468
|
-
/** @returns {
|
|
469
|
-
declare function
|
|
470
|
-
type
|
|
471
|
-
/**
|
|
472
|
-
* - A list of items representing subscriber
|
|
473
|
-
* configurations.
|
|
474
|
-
*/
|
|
284
|
+
/** @returns {SubscriberConfigResponse} */
|
|
285
|
+
declare function SubscriberConfigResponse(): SubscriberConfigResponse;
|
|
286
|
+
type SubscriberConfigResponse = {
|
|
475
287
|
items?: ItemSchema[];
|
|
476
288
|
page?: Page;
|
|
477
289
|
};
|
|
478
|
-
/** @returns {
|
|
479
|
-
declare function
|
|
480
|
-
type
|
|
481
|
-
/**
|
|
482
|
-
* - The name of the event that is considered invalid.
|
|
483
|
-
*/
|
|
290
|
+
/** @returns {InvalidEventsRequest} */
|
|
291
|
+
declare function InvalidEventsRequest(): InvalidEventsRequest;
|
|
292
|
+
type InvalidEventsRequest = {
|
|
484
293
|
event_name?: string;
|
|
485
|
-
/**
|
|
486
|
-
* - The version of the event that is considered invalid.
|
|
487
|
-
*/
|
|
488
294
|
version?: string;
|
|
489
|
-
/**
|
|
490
|
-
* - The category of the event that is considered invalid.
|
|
491
|
-
*/
|
|
492
295
|
category?: string;
|
|
493
|
-
/**
|
|
494
|
-
* - The start date and time for the period
|
|
495
|
-
* during which events were considered invalid.
|
|
496
|
-
*/
|
|
497
296
|
start_date?: string;
|
|
498
|
-
/**
|
|
499
|
-
* - The end date and time for the period during
|
|
500
|
-
* which events were considered invalid.
|
|
501
|
-
*/
|
|
502
297
|
end_date?: string;
|
|
503
298
|
};
|
|
504
|
-
/** @returns {
|
|
505
|
-
declare function
|
|
506
|
-
type
|
|
507
|
-
/**
|
|
508
|
-
* - The name of the event that was found to be invalid.
|
|
509
|
-
*/
|
|
299
|
+
/** @returns {InvalidEventsResponse} */
|
|
300
|
+
declare function InvalidEventsResponse(): InvalidEventsResponse;
|
|
301
|
+
type InvalidEventsResponse = {
|
|
510
302
|
event_name?: string;
|
|
511
|
-
/**
|
|
512
|
-
* - The type of the invalid event, allowing for
|
|
513
|
-
* custom or non-enumerated values.
|
|
514
|
-
*/
|
|
515
303
|
event_type?: string;
|
|
516
|
-
/**
|
|
517
|
-
* - The version of the invalid event.
|
|
518
|
-
*/
|
|
519
304
|
version?: string;
|
|
520
|
-
/**
|
|
521
|
-
* - The category of the invalid event.
|
|
522
|
-
*/
|
|
523
305
|
category?: string;
|
|
524
|
-
/**
|
|
525
|
-
* - The number of occurrences of the invalid event.
|
|
526
|
-
*/
|
|
527
306
|
count?: number;
|
|
528
307
|
};
|
|
529
308
|
/** @returns {HistoryFilters} */
|
|
530
309
|
declare function HistoryFilters(): HistoryFilters;
|
|
531
310
|
type HistoryFilters = {
|
|
532
|
-
/**
|
|
533
|
-
* - A list of event types to filter the history report.
|
|
534
|
-
*/
|
|
535
311
|
events?: string[];
|
|
536
|
-
/**
|
|
537
|
-
* - Text used for searching within the history report.
|
|
538
|
-
*/
|
|
539
312
|
search_text?: string;
|
|
540
313
|
/**
|
|
541
314
|
* - The status of the history report (e.g., "FAILED").
|
|
@@ -555,8 +328,8 @@ type HistoryFilters = {
|
|
|
555
328
|
*/
|
|
556
329
|
subscribers?: number[];
|
|
557
330
|
/**
|
|
558
|
-
* - An array of webhook
|
|
559
|
-
*
|
|
331
|
+
* - An array of webhook type to identify
|
|
332
|
+
* thetype of subscriber i.e (KAFKA or REST).
|
|
560
333
|
*/
|
|
561
334
|
webhook_type?: string[];
|
|
562
335
|
};
|
|
@@ -575,10 +348,6 @@ type Url = {
|
|
|
575
348
|
/** @returns {CdnObject} */
|
|
576
349
|
declare function CdnObject(): CdnObject;
|
|
577
350
|
type CdnObject = {
|
|
578
|
-
/**
|
|
579
|
-
* - A list of URLs for CDN objects, including the
|
|
580
|
-
* location of the uploaded report files.
|
|
581
|
-
*/
|
|
582
351
|
urls?: Url[];
|
|
583
352
|
};
|
|
584
353
|
/** @returns {UploadServiceObject} */
|
|
@@ -589,39 +358,30 @@ type UploadServiceObject = {
|
|
|
589
358
|
/** @returns {HistoryAssociation} */
|
|
590
359
|
declare function HistoryAssociation(): HistoryAssociation;
|
|
591
360
|
type HistoryAssociation = {
|
|
592
|
-
/**
|
|
593
|
-
* - The identifier for the company associated
|
|
594
|
-
* with the history report.
|
|
595
|
-
*/
|
|
596
361
|
company_id?: number;
|
|
597
|
-
/**
|
|
598
|
-
* - A list of subscriber IDs related to
|
|
599
|
-
* the history report.
|
|
600
|
-
*/
|
|
601
362
|
subscriber_ids?: number[];
|
|
602
363
|
};
|
|
603
364
|
/** @returns {HistoryItems} */
|
|
604
365
|
declare function HistoryItems(): HistoryItems;
|
|
605
366
|
type HistoryItems = {
|
|
606
367
|
/**
|
|
607
|
-
* - The
|
|
368
|
+
* - The ID of the history report.
|
|
608
369
|
*/
|
|
609
370
|
id?: number;
|
|
610
371
|
association?: HistoryAssociation;
|
|
611
372
|
filters?: HistoryFilters;
|
|
612
373
|
/**
|
|
613
|
-
* - The
|
|
374
|
+
* - The filename of the history report.
|
|
614
375
|
*/
|
|
615
376
|
filename?: string;
|
|
616
377
|
/**
|
|
617
|
-
* - The
|
|
618
|
-
* "COMPLETED").
|
|
378
|
+
* - The status of the history report (e.g., "COMPLETED").
|
|
619
379
|
*/
|
|
620
380
|
status?: string;
|
|
621
381
|
upload_service_response?: UploadServiceObject;
|
|
622
382
|
/**
|
|
623
383
|
* - The date and time when the history report
|
|
624
|
-
* was
|
|
384
|
+
* was created.
|
|
625
385
|
*/
|
|
626
386
|
created_on?: string;
|
|
627
387
|
/**
|
|
@@ -634,153 +394,76 @@ type HistoryItems = {
|
|
|
634
394
|
*/
|
|
635
395
|
message?: string;
|
|
636
396
|
};
|
|
637
|
-
/** @returns {
|
|
638
|
-
declare function
|
|
639
|
-
type
|
|
640
|
-
/**
|
|
641
|
-
* - A list of history report items.
|
|
642
|
-
*/
|
|
397
|
+
/** @returns {HistoryResponse} */
|
|
398
|
+
declare function HistoryResponse(): HistoryResponse;
|
|
399
|
+
type HistoryResponse = {
|
|
643
400
|
items?: HistoryItems[];
|
|
644
401
|
page?: Page;
|
|
645
402
|
};
|
|
646
403
|
/** @returns {HistoryPayload} */
|
|
647
404
|
declare function HistoryPayload(): HistoryPayload;
|
|
648
405
|
type HistoryPayload = {
|
|
649
|
-
/**
|
|
650
|
-
* - The identifier for the company requesting
|
|
651
|
-
* the history report.
|
|
652
|
-
*/
|
|
653
406
|
company_id?: number;
|
|
654
407
|
/**
|
|
655
|
-
* -
|
|
656
|
-
* (e.g., "platform").
|
|
408
|
+
* - The type of history report (e.g., "platform").
|
|
657
409
|
*/
|
|
658
410
|
type?: string;
|
|
659
411
|
/**
|
|
660
|
-
* - The page number of the history report
|
|
412
|
+
* - The page number of the history report.
|
|
661
413
|
*/
|
|
662
414
|
page_no?: number;
|
|
663
415
|
/**
|
|
664
|
-
* - The number of records
|
|
665
|
-
* the history report.
|
|
416
|
+
* - The number of records per page.
|
|
666
417
|
*/
|
|
667
418
|
page_size?: number;
|
|
668
419
|
};
|
|
669
|
-
/** @returns {
|
|
670
|
-
declare function
|
|
671
|
-
type
|
|
672
|
-
/**
|
|
673
|
-
* - A message indicating the result of the cancel
|
|
674
|
-
* download request.
|
|
675
|
-
*/
|
|
420
|
+
/** @returns {CancelDownloadResponse} */
|
|
421
|
+
declare function CancelDownloadResponse(): CancelDownloadResponse;
|
|
422
|
+
type CancelDownloadResponse = {
|
|
676
423
|
message?: string;
|
|
677
|
-
/**
|
|
678
|
-
* - The outcome of the cancel download operation.
|
|
679
|
-
*/
|
|
680
424
|
result?: string;
|
|
681
425
|
};
|
|
682
|
-
/** @returns {
|
|
683
|
-
declare function
|
|
684
|
-
type
|
|
685
|
-
/**
|
|
686
|
-
* - The name of the filter applied in the report.
|
|
687
|
-
*/
|
|
426
|
+
/** @returns {FilterReportResponse} */
|
|
427
|
+
declare function FilterReportResponse(): FilterReportResponse;
|
|
428
|
+
type FilterReportResponse = {
|
|
688
429
|
filter_name?: string;
|
|
689
|
-
/**
|
|
690
|
-
* - A list of values resulting from the applied filter.
|
|
691
|
-
*/
|
|
692
430
|
values?: any[];
|
|
693
431
|
};
|
|
694
|
-
/** @returns {
|
|
695
|
-
declare function
|
|
696
|
-
type
|
|
432
|
+
/** @returns {DeliveryTsResponse} */
|
|
433
|
+
declare function DeliveryTsResponse(): DeliveryTsResponse;
|
|
434
|
+
type DeliveryTsResponse = {
|
|
697
435
|
delivery_ts?: DeliveryTsSchema[];
|
|
698
436
|
};
|
|
699
437
|
/** @returns {DeliveryTsSchema} */
|
|
700
438
|
declare function DeliveryTsSchema(): DeliveryTsSchema;
|
|
701
439
|
type DeliveryTsSchema = {
|
|
702
|
-
/**
|
|
703
|
-
* - The timestamp of the delivery event.
|
|
704
|
-
*/
|
|
705
440
|
timestamp?: string;
|
|
706
|
-
/**
|
|
707
|
-
* - The count of failed delivery attempts.
|
|
708
|
-
*/
|
|
709
441
|
failed?: number;
|
|
710
|
-
/**
|
|
711
|
-
* - The count of removed webhooks during delivery.
|
|
712
|
-
*/
|
|
713
442
|
removed_webhooks?: number;
|
|
714
|
-
/**
|
|
715
|
-
* - The count of successful delivery attempts.
|
|
716
|
-
*/
|
|
717
443
|
success?: number;
|
|
718
444
|
};
|
|
719
|
-
/** @returns {
|
|
720
|
-
declare function
|
|
721
|
-
type
|
|
722
|
-
/**
|
|
723
|
-
* - The identifier for the company requesting
|
|
724
|
-
* delivery details.
|
|
725
|
-
*/
|
|
445
|
+
/** @returns {DeliveryDetailsRequest} */
|
|
446
|
+
declare function DeliveryDetailsRequest(): DeliveryDetailsRequest;
|
|
447
|
+
type DeliveryDetailsRequest = {
|
|
726
448
|
company_id?: string;
|
|
727
|
-
/**
|
|
728
|
-
* - The page number for the delivery details results.
|
|
729
|
-
*/
|
|
730
449
|
page_no?: number;
|
|
731
|
-
/**
|
|
732
|
-
* - The number of records per page for delivery details.
|
|
733
|
-
*/
|
|
734
450
|
page_size?: number;
|
|
735
|
-
/**
|
|
736
|
-
* - The start date and time for filtering
|
|
737
|
-
* delivery details.
|
|
738
|
-
*/
|
|
739
451
|
start_date?: string;
|
|
740
|
-
/**
|
|
741
|
-
* - The end date and time for filtering delivery details.
|
|
742
|
-
*/
|
|
743
452
|
end_date?: string;
|
|
744
|
-
/**
|
|
745
|
-
* - A list of event delivery details.
|
|
746
|
-
*/
|
|
747
453
|
event?: EventDeliveryDetailSchema[];
|
|
748
|
-
/**
|
|
749
|
-
* - The status of the delivery details request.
|
|
750
|
-
*/
|
|
751
454
|
status?: string;
|
|
752
455
|
};
|
|
753
456
|
/** @returns {EventDeliveryDetailSchema} */
|
|
754
457
|
declare function EventDeliveryDetailSchema(): EventDeliveryDetailSchema;
|
|
755
458
|
type EventDeliveryDetailSchema = {
|
|
756
|
-
/**
|
|
757
|
-
* - The name of the event related to the
|
|
758
|
-
* delivery details.
|
|
759
|
-
*/
|
|
760
459
|
event_name?: string;
|
|
761
|
-
/**
|
|
762
|
-
* - The type of the event, allowing for custom
|
|
763
|
-
* or non-enumerated values.
|
|
764
|
-
*/
|
|
765
460
|
event_type?: string;
|
|
766
|
-
/**
|
|
767
|
-
* - The category of the event, allowing for
|
|
768
|
-
* custom or non-enumerated values.
|
|
769
|
-
*/
|
|
770
461
|
event_category?: string;
|
|
771
|
-
/**
|
|
772
|
-
* - The version of the event related to the
|
|
773
|
-
* delivery details.
|
|
774
|
-
*/
|
|
775
462
|
version?: string;
|
|
776
463
|
};
|
|
777
|
-
/** @returns {
|
|
778
|
-
declare function
|
|
779
|
-
type
|
|
780
|
-
/**
|
|
781
|
-
* - A list of processed event
|
|
782
|
-
* reports with delivery details.
|
|
783
|
-
*/
|
|
464
|
+
/** @returns {DeliveryDetailsResponse} */
|
|
465
|
+
declare function DeliveryDetailsResponse(): DeliveryDetailsResponse;
|
|
466
|
+
type DeliveryDetailsResponse = {
|
|
784
467
|
rows?: EventProcessReportObject[];
|
|
785
468
|
page?: Page;
|
|
786
469
|
};
|
|
@@ -792,29 +475,27 @@ type EventProcessReportObject = {
|
|
|
792
475
|
*/
|
|
793
476
|
event_name?: string;
|
|
794
477
|
/**
|
|
795
|
-
* - The response code
|
|
796
|
-
* event, allowing for custom or non-enumerated values.
|
|
478
|
+
* - The response code of the event.
|
|
797
479
|
*/
|
|
798
480
|
response_code?: number;
|
|
799
481
|
/**
|
|
800
|
-
* - The response message
|
|
482
|
+
* - The response message of the event.
|
|
801
483
|
*/
|
|
802
484
|
response_message?: string;
|
|
803
485
|
/**
|
|
804
|
-
* - The data
|
|
486
|
+
* - The data associated with the event.
|
|
805
487
|
*/
|
|
806
488
|
data?: string;
|
|
807
489
|
/**
|
|
808
|
-
* - The attempt number
|
|
490
|
+
* - The attempt number of the event.
|
|
809
491
|
*/
|
|
810
492
|
attempt?: number;
|
|
811
493
|
/**
|
|
812
|
-
* - The timestamp of the last
|
|
813
|
-
* process the event.
|
|
494
|
+
* - The timestamp of the last attempted event.
|
|
814
495
|
*/
|
|
815
496
|
last_attempted_on?: number;
|
|
816
497
|
/**
|
|
817
|
-
* - The status of the event
|
|
498
|
+
* - The status of the event (e.g., "FAILED").
|
|
818
499
|
*/
|
|
819
500
|
status?: string;
|
|
820
501
|
/**
|
|
@@ -822,20 +503,14 @@ type EventProcessReportObject = {
|
|
|
822
503
|
*/
|
|
823
504
|
name?: string;
|
|
824
505
|
/**
|
|
825
|
-
* - The URL
|
|
506
|
+
* - The webhook URL associated with the event.
|
|
826
507
|
*/
|
|
827
508
|
webhook_url?: string;
|
|
828
509
|
/**
|
|
829
|
-
* - The time
|
|
510
|
+
* - The response time of the event.
|
|
830
511
|
*/
|
|
831
512
|
response_time?: number;
|
|
832
|
-
/**
|
|
833
|
-
* - The identifier for the event message.
|
|
834
|
-
*/
|
|
835
513
|
message_id?: string;
|
|
836
|
-
/**
|
|
837
|
-
* - The trace ID associated with the event.
|
|
838
|
-
*/
|
|
839
514
|
event_trace_id?: string;
|
|
840
515
|
};
|
|
841
516
|
/** @returns {Page} */
|
|
@@ -873,152 +548,44 @@ type Page = {
|
|
|
873
548
|
/** @returns {DeliveryEventLevelSchema} */
|
|
874
549
|
declare function DeliveryEventLevelSchema(): DeliveryEventLevelSchema;
|
|
875
550
|
type DeliveryEventLevelSchema = {
|
|
876
|
-
/**
|
|
877
|
-
* - The name or identifier of the event.
|
|
878
|
-
*/
|
|
879
551
|
event?: string;
|
|
880
|
-
/**
|
|
881
|
-
* - The count of successful deliveries for the event.
|
|
882
|
-
*/
|
|
883
552
|
success?: number;
|
|
884
|
-
/**
|
|
885
|
-
* - The count of failed deliveries for the event.
|
|
886
|
-
*/
|
|
887
553
|
failed?: number;
|
|
888
|
-
/**
|
|
889
|
-
* - The percentage of failed deliveries
|
|
890
|
-
* relative to the total.
|
|
891
|
-
*/
|
|
892
554
|
failed_percentage?: number;
|
|
893
|
-
/**
|
|
894
|
-
* - The count of webhooks that were
|
|
895
|
-
* removed during the delivery.
|
|
896
|
-
*/
|
|
897
555
|
removed_webhooks?: number;
|
|
898
|
-
/**
|
|
899
|
-
* - The total number of delivery attempts for the event.
|
|
900
|
-
*/
|
|
901
556
|
total?: number;
|
|
902
|
-
/**
|
|
903
|
-
* - The average response time for the event
|
|
904
|
-
* deliveries.
|
|
905
|
-
*/
|
|
906
557
|
response_time?: number;
|
|
907
558
|
};
|
|
908
|
-
/** @returns {
|
|
909
|
-
declare function
|
|
910
|
-
type
|
|
911
|
-
avg_response_time_ts?: AvgResponseTime[];
|
|
912
|
-
};
|
|
913
|
-
/** @returns {AvgResponseTime} */
|
|
914
|
-
declare function AvgResponseTime(): AvgResponseTime;
|
|
915
|
-
type AvgResponseTime = {
|
|
916
|
-
/**
|
|
917
|
-
* - The timestamp of the last attempt,
|
|
918
|
-
* formatted as a string.
|
|
919
|
-
*/
|
|
920
|
-
last_attempted_on?: string;
|
|
921
|
-
/**
|
|
922
|
-
* - The response code returned for the
|
|
923
|
-
* delivery attempt, allowing for custom or non-enumerated values.
|
|
924
|
-
*/
|
|
925
|
-
response_code?: number;
|
|
926
|
-
/**
|
|
927
|
-
* - The response time for the delivery
|
|
928
|
-
* attempt, formatted as a string.
|
|
929
|
-
*/
|
|
930
|
-
response_time?: string;
|
|
931
|
-
/**
|
|
932
|
-
* - The attempt number for the delivery.
|
|
933
|
-
*/
|
|
934
|
-
attempt?: number;
|
|
935
|
-
/**
|
|
936
|
-
* - The total count of deliveries attempted.
|
|
937
|
-
*/
|
|
938
|
-
total?: number;
|
|
939
|
-
};
|
|
940
|
-
/** @returns {DeliverySummaryResult} */
|
|
941
|
-
declare function DeliverySummaryResult(): DeliverySummaryResult;
|
|
942
|
-
type DeliverySummaryResult = {
|
|
559
|
+
/** @returns {DeliverySummaryResponse} */
|
|
560
|
+
declare function DeliverySummaryResponse(): DeliverySummaryResponse;
|
|
561
|
+
type DeliverySummaryResponse = {
|
|
943
562
|
delivery_event_level?: DeliveryEventLevelSchema[];
|
|
944
563
|
delivery_summary?: DeliverySummarySchema;
|
|
945
564
|
};
|
|
946
565
|
/** @returns {DeliverySummarySchema} */
|
|
947
566
|
declare function DeliverySummarySchema(): DeliverySummarySchema;
|
|
948
567
|
type DeliverySummarySchema = {
|
|
949
|
-
/**
|
|
950
|
-
* - The total count of successful deliveries.
|
|
951
|
-
*/
|
|
952
568
|
success?: number;
|
|
953
|
-
/**
|
|
954
|
-
* - The average response time for deliveries.
|
|
955
|
-
*/
|
|
956
569
|
response_time?: number;
|
|
957
|
-
/**
|
|
958
|
-
* - The percentage of failed deliveries.
|
|
959
|
-
*/
|
|
960
570
|
failed_percentage?: number;
|
|
961
|
-
/**
|
|
962
|
-
* - The count of webhooks removed during delivery.
|
|
963
|
-
*/
|
|
964
571
|
removed_webhooks?: number;
|
|
965
572
|
};
|
|
966
573
|
/** @returns {ItemSchema} */
|
|
967
574
|
declare function ItemSchema(): ItemSchema;
|
|
968
575
|
type ItemSchema = {
|
|
969
|
-
/**
|
|
970
|
-
* - The unique identifier for the item.
|
|
971
|
-
*/
|
|
972
576
|
id?: number;
|
|
973
|
-
/**
|
|
974
|
-
* - The user or system that last modified the item.
|
|
975
|
-
*/
|
|
976
577
|
modified_by?: string;
|
|
977
|
-
/**
|
|
978
|
-
* - The name of the item.
|
|
979
|
-
*/
|
|
980
578
|
name?: string;
|
|
981
|
-
/**
|
|
982
|
-
* - The URL of the webhook associated with the item.
|
|
983
|
-
*/
|
|
984
579
|
webhook_url?: string;
|
|
985
|
-
/**
|
|
986
|
-
* - The provider of the item.
|
|
987
|
-
*/
|
|
988
580
|
provider?: string;
|
|
989
581
|
association?: Association;
|
|
990
|
-
/**
|
|
991
|
-
* - Custom headers associated with the item, if any.
|
|
992
|
-
*/
|
|
993
582
|
custom_headers?: any;
|
|
994
|
-
/**
|
|
995
|
-
* - The current status of the item.
|
|
996
|
-
*/
|
|
997
583
|
status?: string;
|
|
998
|
-
/**
|
|
999
|
-
* - The email ID associated with the item, if applicable.
|
|
1000
|
-
*/
|
|
1001
584
|
email_id?: string;
|
|
1002
|
-
/**
|
|
1003
|
-
* - The date and time when the item was last updated.
|
|
1004
|
-
*/
|
|
1005
585
|
updated_on?: string;
|
|
1006
|
-
/**
|
|
1007
|
-
* - The date and time when the item was created.
|
|
1008
|
-
*/
|
|
1009
586
|
created_on?: string;
|
|
1010
|
-
/**
|
|
1011
|
-
* - The type of the item, if applicable.
|
|
1012
|
-
*/
|
|
1013
587
|
type?: string;
|
|
1014
588
|
auth_meta?: AuthMeta;
|
|
1015
|
-
|
|
1016
|
-
* - A list of event
|
|
1017
|
-
* configurations associated with the item.
|
|
1018
|
-
*/
|
|
1019
|
-
event_configs?: EventConfigDetails[];
|
|
1020
|
-
/**
|
|
1021
|
-
* - A list of event IDs associated with the item.
|
|
1022
|
-
*/
|
|
589
|
+
event_configs?: EventConfigResponse[];
|
|
1023
590
|
event_id?: number[];
|
|
1024
591
|
};
|