@gofynd/fdk-client-javascript 1.6.4 → 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 -670
- package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -268
- 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 +4103 -9109
- package/sdk/platform/Order/OrderPlatformModel.js +3198 -4245
- 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 +18 -71
- package/sdk/platform/User/UserPlatformApplicationClient.js +27 -412
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +10 -114
- package/sdk/platform/User/UserPlatformApplicationValidator.js +7 -80
- package/sdk/platform/User/UserPlatformModel.d.ts +216 -264
- package/sdk/platform/User/UserPlatformModel.js +209 -216
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +428 -810
- package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -444
- 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,132 +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
|
-
*
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
* @
|
|
59
|
-
* @property {string} [
|
|
60
|
-
*
|
|
61
|
-
* within the payload.
|
|
62
|
-
* @property {string} [condition] - JavaScript function used to evaluate the
|
|
63
|
-
* specified property in the webhook payload against a condition. This
|
|
64
|
-
* function determines whether the filter passes based on its return value.
|
|
65
|
-
* @property {string} [logic] - Logical operator used to combine multiple
|
|
66
|
-
* conditions in the `conditions` array. Supported values are `AND` and `OR`.
|
|
67
|
-
* @property {Object[]} [conditions] - An array of filter objects to be
|
|
68
|
-
* evaluated using the specified logical operator. This array will contain
|
|
69
|
-
* more filters including a combination of single condition mode and logical
|
|
70
|
-
* group mode filters.
|
|
71
|
-
*/
|
|
72
|
-
/**
|
|
73
|
-
* @typedef EventConfigDetails
|
|
74
|
-
* @property {number} [id] - The unique identifier for the event configuration.
|
|
75
|
-
* @property {string} [event_name] - The name assigned to the event configuration.
|
|
76
|
-
* @property {string} [event_type] - Specifies the type of event, allowing for
|
|
77
|
-
* custom or non-enumerated values.
|
|
78
|
-
* @property {string} [event_category] - Defines the category of the event,
|
|
79
|
-
* allowing for custom or non-enumerated values.
|
|
80
|
-
* @property {Object} [event_schema] - Contains the schema details for the
|
|
81
|
-
* event, allowing for flexible or dynamic schemas.
|
|
82
|
-
* @property {string} [version] - The version number of the event configuration.
|
|
83
|
-
* @property {string} [display_name] - The display name for the event configuration.
|
|
84
|
-
* @property {string} [description] - A description of the event configuration,
|
|
85
|
-
* if provided.
|
|
86
|
-
* @property {string} [created_on] - The timestamp indicating when the event
|
|
87
|
-
* configuration was created.
|
|
88
|
-
* @property {string} [updated_on] - The timestamp indicating when the event
|
|
89
|
-
* configuration was last updated.
|
|
90
|
-
* @property {string} [group] - The group to which the event configuration
|
|
91
|
-
* 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]
|
|
92
43
|
* @property {SubscriberEventMapping} [subscriber_event_mapping]
|
|
93
44
|
*/
|
|
94
45
|
/**
|
|
95
|
-
* @typedef
|
|
96
|
-
* @property {ItemSchema[]} [items]
|
|
97
|
-
* configurations.
|
|
46
|
+
* @typedef SubscriberConfigResponse
|
|
47
|
+
* @property {ItemSchema[]} [items]
|
|
98
48
|
* @property {Page} [page]
|
|
99
49
|
*/
|
|
100
50
|
/**
|
|
101
|
-
* @typedef
|
|
102
|
-
* @property {string} [event_name]
|
|
103
|
-
* @property {string} [version]
|
|
104
|
-
* @property {string} [category]
|
|
105
|
-
* @property {string} [start_date]
|
|
106
|
-
*
|
|
107
|
-
* @property {string} [end_date] - The end date and time for the period during
|
|
108
|
-
* 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]
|
|
109
57
|
*/
|
|
110
58
|
/**
|
|
111
|
-
* @typedef
|
|
112
|
-
* @property {string} [event_name]
|
|
113
|
-
* @property {string} [event_type]
|
|
114
|
-
*
|
|
115
|
-
* @property {string} [
|
|
116
|
-
* @property {
|
|
117
|
-
* @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]
|
|
118
65
|
*/
|
|
119
66
|
/**
|
|
120
67
|
* @typedef HistoryFilters
|
|
121
|
-
* @property {string[]} [events]
|
|
122
|
-
* @property {string} [search_text]
|
|
68
|
+
* @property {string[]} [events]
|
|
69
|
+
* @property {string} [search_text]
|
|
123
70
|
* @property {string} [status] - The status of the history report (e.g., "FAILED").
|
|
124
71
|
* @property {string} [end_date] - The end date and time of the history report.
|
|
125
72
|
* @property {string} [start_date] - The start date and time of the history report.
|
|
126
73
|
* @property {number[]} [subscribers] - An array of subscriber IDs associated
|
|
127
74
|
* with the history report.
|
|
128
|
-
* @property {string[]} [webhook_type] - An array of webhook
|
|
129
|
-
*
|
|
75
|
+
* @property {string[]} [webhook_type] - An array of webhook type to identify
|
|
76
|
+
* thetype of subscriber i.e (KAFKA or REST).
|
|
130
77
|
*/
|
|
131
78
|
/**
|
|
132
79
|
* @typedef Url
|
|
@@ -135,8 +82,7 @@ export = WebhookPartnerModel;
|
|
|
135
82
|
*/
|
|
136
83
|
/**
|
|
137
84
|
* @typedef CdnObject
|
|
138
|
-
* @property {Url[]} [urls]
|
|
139
|
-
* location of the uploaded report files.
|
|
85
|
+
* @property {Url[]} [urls]
|
|
140
86
|
*/
|
|
141
87
|
/**
|
|
142
88
|
* @typedef UploadServiceObject
|
|
@@ -144,108 +90,92 @@ export = WebhookPartnerModel;
|
|
|
144
90
|
*/
|
|
145
91
|
/**
|
|
146
92
|
* @typedef HistoryAssociation
|
|
147
|
-
* @property {number} [company_id]
|
|
148
|
-
*
|
|
149
|
-
* @property {number[]} [subscriber_ids] - A list of subscriber IDs related to
|
|
150
|
-
* the history report.
|
|
93
|
+
* @property {number} [company_id]
|
|
94
|
+
* @property {number[]} [subscriber_ids]
|
|
151
95
|
*/
|
|
152
96
|
/**
|
|
153
97
|
* @typedef HistoryItems
|
|
154
|
-
* @property {number} [id] - The
|
|
98
|
+
* @property {number} [id] - The ID of the history report.
|
|
155
99
|
* @property {HistoryAssociation} [association]
|
|
156
100
|
* @property {HistoryFilters} [filters]
|
|
157
|
-
* @property {string} [filename] - The
|
|
158
|
-
* @property {string} [status] - The
|
|
159
|
-
* "COMPLETED").
|
|
101
|
+
* @property {string} [filename] - The filename of the history report.
|
|
102
|
+
* @property {string} [status] - The status of the history report (e.g., "COMPLETED").
|
|
160
103
|
* @property {UploadServiceObject} [upload_service_response]
|
|
161
104
|
* @property {string} [created_on] - The date and time when the history report
|
|
162
|
-
* was
|
|
105
|
+
* was created.
|
|
163
106
|
* @property {string} [updated_on] - The date and time when the history report
|
|
164
107
|
* was last updated.
|
|
165
108
|
* @property {string} [message] - A message related to the history report.
|
|
166
109
|
*/
|
|
167
110
|
/**
|
|
168
|
-
* @typedef
|
|
169
|
-
* @property {HistoryItems[]} [items]
|
|
111
|
+
* @typedef HistoryResponse
|
|
112
|
+
* @property {HistoryItems[]} [items]
|
|
170
113
|
* @property {Page} [page]
|
|
171
114
|
*/
|
|
172
115
|
/**
|
|
173
116
|
* @typedef HistoryPayload
|
|
174
|
-
* @property {number} [company_id]
|
|
175
|
-
*
|
|
176
|
-
* @property {
|
|
177
|
-
*
|
|
178
|
-
* @property {number} [page_no] - The page number of the history report results.
|
|
179
|
-
* @property {number} [page_size] - The number of records to display per page in
|
|
180
|
-
* 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.
|
|
181
121
|
*/
|
|
182
122
|
/**
|
|
183
|
-
* @typedef
|
|
184
|
-
* @property {string} [message]
|
|
185
|
-
*
|
|
186
|
-
* @property {string} [result] - The outcome of the cancel download operation.
|
|
123
|
+
* @typedef CancelDownloadResponse
|
|
124
|
+
* @property {string} [message]
|
|
125
|
+
* @property {string} [result]
|
|
187
126
|
*/
|
|
188
127
|
/**
|
|
189
|
-
* @typedef
|
|
190
|
-
* @property {string} [filter_name]
|
|
191
|
-
* @property {Object[]} [values]
|
|
128
|
+
* @typedef FilterReportResponse
|
|
129
|
+
* @property {string} [filter_name]
|
|
130
|
+
* @property {Object[]} [values]
|
|
192
131
|
*/
|
|
193
132
|
/**
|
|
194
|
-
* @typedef
|
|
195
|
-
* @property {DeliveryTsSchema[]} [delivery_ts]
|
|
133
|
+
* @typedef DeliveryTsResponse
|
|
134
|
+
* @property {DeliveryTsSchema[]} [delivery_ts]
|
|
196
135
|
*/
|
|
197
136
|
/**
|
|
198
137
|
* @typedef DeliveryTsSchema
|
|
199
|
-
* @property {string} [timestamp]
|
|
200
|
-
* @property {number} [failed]
|
|
201
|
-
* @property {number} [removed_webhooks]
|
|
202
|
-
* @property {number} [success]
|
|
138
|
+
* @property {string} [timestamp]
|
|
139
|
+
* @property {number} [failed]
|
|
140
|
+
* @property {number} [removed_webhooks]
|
|
141
|
+
* @property {number} [success]
|
|
203
142
|
*/
|
|
204
143
|
/**
|
|
205
|
-
* @typedef
|
|
206
|
-
* @property {string} [company_id]
|
|
207
|
-
*
|
|
208
|
-
* @property {number} [
|
|
209
|
-
* @property {
|
|
210
|
-
* @property {string} [
|
|
211
|
-
*
|
|
212
|
-
* @property {string} [
|
|
213
|
-
* @property {EventDeliveryDetailSchema[]} [event] - A list of event delivery details.
|
|
214
|
-
* @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]
|
|
215
152
|
*/
|
|
216
153
|
/**
|
|
217
154
|
* @typedef EventDeliveryDetailSchema
|
|
218
|
-
* @property {string} [event_name]
|
|
219
|
-
*
|
|
220
|
-
* @property {string} [
|
|
221
|
-
*
|
|
222
|
-
* @property {string} [event_category] - The category of the event, allowing for
|
|
223
|
-
* custom or non-enumerated values.
|
|
224
|
-
* @property {string} [version] - The version of the event related to the
|
|
225
|
-
* delivery details.
|
|
155
|
+
* @property {string} [event_name]
|
|
156
|
+
* @property {string} [event_type]
|
|
157
|
+
* @property {string} [event_category]
|
|
158
|
+
* @property {string} [version]
|
|
226
159
|
*/
|
|
227
160
|
/**
|
|
228
|
-
* @typedef
|
|
229
|
-
* @property {EventProcessReportObject[]} [rows]
|
|
230
|
-
* reports with delivery details.
|
|
161
|
+
* @typedef DeliveryDetailsResponse
|
|
162
|
+
* @property {EventProcessReportObject[]} [rows]
|
|
231
163
|
* @property {Page} [page]
|
|
232
164
|
*/
|
|
233
165
|
/**
|
|
234
166
|
* @typedef EventProcessReportObject
|
|
235
167
|
* @property {string} [event_name] - The name of the processed event.
|
|
236
|
-
* @property {number} [response_code] - The response code
|
|
237
|
-
*
|
|
238
|
-
* @property {string} [
|
|
239
|
-
* @property {
|
|
240
|
-
* @property {number} [
|
|
241
|
-
* @property {
|
|
242
|
-
* process the event.
|
|
243
|
-
* @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").
|
|
244
174
|
* @property {string} [name] - The name of the event.
|
|
245
|
-
* @property {string} [webhook_url] - The URL
|
|
246
|
-
* @property {number} [response_time] - The time
|
|
247
|
-
* @property {string} [message_id]
|
|
248
|
-
* @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]
|
|
249
179
|
*/
|
|
250
180
|
/**
|
|
251
181
|
* @typedef Page
|
|
@@ -256,346 +186,139 @@ export = WebhookPartnerModel;
|
|
|
256
186
|
* @property {number} [current] - The current page number.
|
|
257
187
|
* @property {string} type - The type of the page, such as 'PageType'.
|
|
258
188
|
* @property {number} [size] - The number of items per page.
|
|
189
|
+
* @property {number} [total] - Total number of items.
|
|
259
190
|
*/
|
|
260
191
|
/**
|
|
261
192
|
* @typedef DeliveryEventLevelSchema
|
|
262
|
-
* @property {string} [event]
|
|
263
|
-
* @property {number} [success]
|
|
264
|
-
* @property {number} [failed]
|
|
265
|
-
* @property {number} [failed_percentage]
|
|
266
|
-
*
|
|
267
|
-
* @property {number} [
|
|
268
|
-
*
|
|
269
|
-
* @property {number} [total] - The total number of delivery attempts for the event.
|
|
270
|
-
* @property {number} [response_time] - The average response time for the event
|
|
271
|
-
* deliveries.
|
|
193
|
+
* @property {string} [event]
|
|
194
|
+
* @property {number} [success]
|
|
195
|
+
* @property {number} [failed]
|
|
196
|
+
* @property {number} [failed_percentage]
|
|
197
|
+
* @property {number} [removed_webhooks]
|
|
198
|
+
* @property {number} [total]
|
|
199
|
+
* @property {number} [response_time]
|
|
272
200
|
*/
|
|
273
201
|
/**
|
|
274
202
|
* @typedef ResponseTimeTs
|
|
275
|
-
* @property {AvgResponseTime[]} [avg_response_time_ts]
|
|
276
|
-
* response time timestamps.
|
|
203
|
+
* @property {AvgResponseTime[]} [avg_response_time_ts]
|
|
277
204
|
*/
|
|
278
205
|
/**
|
|
279
206
|
* @typedef AvgResponseTime
|
|
280
|
-
* @property {string} [
|
|
281
|
-
*
|
|
282
|
-
* @property {number} [response_code] - The response code returned for the
|
|
283
|
-
* delivery attempt, allowing for custom or non-enumerated values.
|
|
284
|
-
* @property {string} [response_time] - The response time for the delivery
|
|
285
|
-
* attempt, formatted as a string.
|
|
286
|
-
* @property {number} [attempt] - The attempt number for the delivery.
|
|
287
|
-
* @property {number} [total] - The total count of deliveries attempted.
|
|
207
|
+
* @property {string} [timestamp]
|
|
208
|
+
* @property {number} [response_time]
|
|
288
209
|
*/
|
|
289
210
|
/**
|
|
290
|
-
* @typedef
|
|
291
|
-
* @property {DeliveryEventLevelSchema[]} [delivery_event_level]
|
|
292
|
-
* delivery event levels.
|
|
211
|
+
* @typedef DeliverySummaryResponse
|
|
212
|
+
* @property {DeliveryEventLevelSchema[]} [delivery_event_level]
|
|
293
213
|
* @property {DeliverySummarySchema} [delivery_summary]
|
|
294
214
|
*/
|
|
295
215
|
/**
|
|
296
216
|
* @typedef DeliverySummarySchema
|
|
297
|
-
* @property {number} [success]
|
|
298
|
-
* @property {number} [response_time]
|
|
299
|
-
* @property {number} [failed_percentage]
|
|
300
|
-
* @property {number} [removed_webhooks]
|
|
217
|
+
* @property {number} [success]
|
|
218
|
+
* @property {number} [response_time]
|
|
219
|
+
* @property {number} [failed_percentage]
|
|
220
|
+
* @property {number} [removed_webhooks]
|
|
301
221
|
*/
|
|
302
222
|
/**
|
|
303
223
|
* @typedef ItemSchema
|
|
304
|
-
* @property {number} [id]
|
|
305
|
-
* @property {string} [modified_by]
|
|
306
|
-
* @property {string} [name]
|
|
307
|
-
* @property {string} [webhook_url]
|
|
308
|
-
* @property {string} [provider]
|
|
224
|
+
* @property {number} [id]
|
|
225
|
+
* @property {string} [modified_by]
|
|
226
|
+
* @property {string} [name]
|
|
227
|
+
* @property {string} [webhook_url]
|
|
228
|
+
* @property {string} [provider]
|
|
309
229
|
* @property {Association} [association]
|
|
310
|
-
* @property {Object} [custom_headers]
|
|
311
|
-
* @property {string} [status]
|
|
312
|
-
* @property {string} [email_id]
|
|
313
|
-
* @property {string} [updated_on]
|
|
314
|
-
* @property {string} [created_on]
|
|
315
|
-
* @property {string} [type]
|
|
230
|
+
* @property {Object} [custom_headers]
|
|
231
|
+
* @property {string} [status]
|
|
232
|
+
* @property {string} [email_id]
|
|
233
|
+
* @property {string} [updated_on]
|
|
234
|
+
* @property {string} [created_on]
|
|
235
|
+
* @property {string} [type]
|
|
316
236
|
* @property {AuthMeta} [auth_meta]
|
|
317
|
-
* @property {
|
|
318
|
-
*
|
|
319
|
-
* @property {number[]} [event_id] - A list of event IDs associated with the item.
|
|
237
|
+
* @property {EventConfigResponse[]} [event_configs]
|
|
238
|
+
* @property {number[]} [event_id]
|
|
320
239
|
*/
|
|
321
240
|
declare class WebhookPartnerModel {
|
|
322
241
|
}
|
|
323
242
|
declare namespace WebhookPartnerModel {
|
|
324
|
-
export {
|
|
243
|
+
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, ResponseTimeTs, AvgResponseTime, DeliverySummaryResponse, DeliverySummarySchema, ItemSchema };
|
|
325
244
|
}
|
|
326
|
-
/** @returns {
|
|
327
|
-
declare function
|
|
328
|
-
type
|
|
329
|
-
/**
|
|
330
|
-
* - Represents the status of the subscriber update operation.
|
|
331
|
-
*/
|
|
245
|
+
/** @returns {UpdateSubscriberRequest} */
|
|
246
|
+
declare function UpdateSubscriberRequest(): UpdateSubscriberRequest;
|
|
247
|
+
type UpdateSubscriberRequest = {
|
|
332
248
|
status?: string;
|
|
333
249
|
};
|
|
334
|
-
/** @returns {
|
|
335
|
-
declare function
|
|
336
|
-
type
|
|
337
|
-
/**
|
|
338
|
-
* - Provides a message describing the result of
|
|
339
|
-
* the subscriber update operation.
|
|
340
|
-
*/
|
|
250
|
+
/** @returns {UpdateSubscriberResponse} */
|
|
251
|
+
declare function UpdateSubscriberResponse(): UpdateSubscriberResponse;
|
|
252
|
+
type UpdateSubscriberResponse = {
|
|
341
253
|
message?: string;
|
|
342
254
|
};
|
|
343
255
|
/** @returns {Association} */
|
|
344
256
|
declare function Association(): Association;
|
|
345
257
|
type Association = {
|
|
346
|
-
/**
|
|
347
|
-
* - The identifier for the company associated
|
|
348
|
-
* with the configuration.
|
|
349
|
-
*/
|
|
350
258
|
company_id?: number;
|
|
351
|
-
/**
|
|
352
|
-
* - A list of application identifiers
|
|
353
|
-
* associated with the configuration.
|
|
354
|
-
*/
|
|
355
259
|
application_id?: string[];
|
|
356
|
-
/**
|
|
357
|
-
* - The identifier for the extension related
|
|
358
|
-
* to the configuration.
|
|
359
|
-
*/
|
|
360
260
|
extension_id?: string;
|
|
361
|
-
/**
|
|
362
|
-
* - Defines the criteria for the association,
|
|
363
|
-
* including options for all events, empty criteria, or specific events.
|
|
364
|
-
*/
|
|
365
261
|
criteria?: string;
|
|
366
262
|
};
|
|
367
263
|
/** @returns {AuthMeta} */
|
|
368
264
|
declare function AuthMeta(): AuthMeta;
|
|
369
265
|
type AuthMeta = {
|
|
370
|
-
/**
|
|
371
|
-
* - Specifies the type of authentication used.
|
|
372
|
-
*/
|
|
373
266
|
type?: string;
|
|
374
|
-
/**
|
|
375
|
-
* - Contains the secret key or token used for authentication.
|
|
376
|
-
*/
|
|
377
267
|
secret?: string;
|
|
378
268
|
};
|
|
379
|
-
/** @returns {BroadcasterConfig} */
|
|
380
|
-
declare function BroadcasterConfig(): BroadcasterConfig;
|
|
381
|
-
type BroadcasterConfig = {
|
|
382
|
-
/**
|
|
383
|
-
* - The topic associated with the broadcaster configuration.
|
|
384
|
-
*/
|
|
385
|
-
topic?: string;
|
|
386
|
-
/**
|
|
387
|
-
* - The queue name used by the broadcaster.
|
|
388
|
-
*/
|
|
389
|
-
queue?: string;
|
|
390
|
-
/**
|
|
391
|
-
* - The name of the event bridge used in
|
|
392
|
-
* the broadcaster configuration.
|
|
393
|
-
*/
|
|
394
|
-
event_bridge_name?: string;
|
|
395
|
-
/**
|
|
396
|
-
* - The name of the workflow related to the
|
|
397
|
-
* broadcaster.
|
|
398
|
-
*/
|
|
399
|
-
workflow_name?: string;
|
|
400
|
-
/**
|
|
401
|
-
* - The account ID associated with the
|
|
402
|
-
* broadcaster configuration.
|
|
403
|
-
*/
|
|
404
|
-
account_id?: string;
|
|
405
|
-
/**
|
|
406
|
-
* - Specifies the type of detail for the
|
|
407
|
-
* broadcaster, allowing for custom or non-enumerated values.
|
|
408
|
-
*/
|
|
409
|
-
detail_type?: string;
|
|
410
|
-
};
|
|
411
269
|
/** @returns {SubscriberEventMapping} */
|
|
412
270
|
declare function SubscriberEventMapping(): SubscriberEventMapping;
|
|
413
271
|
type SubscriberEventMapping = {
|
|
414
|
-
/**
|
|
415
|
-
* - The unique identifier for the subscriber event mapping.
|
|
416
|
-
*/
|
|
417
272
|
id?: number;
|
|
418
|
-
/**
|
|
419
|
-
* - The identifier for the event associated with
|
|
420
|
-
* the subscriber.
|
|
421
|
-
*/
|
|
422
273
|
event_id?: number;
|
|
423
|
-
/**
|
|
424
|
-
* - The identifier for the subscriber
|
|
425
|
-
* involved in the mapping.
|
|
426
|
-
*/
|
|
427
274
|
subscriber_id?: number;
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* - The reducer property allows users to customize
|
|
431
|
-
* the JSON structure of the webhook payload using JSONPath queries. They can
|
|
432
|
-
* also create new properties by mapping existing ones. Note that it overrides
|
|
433
|
-
* the entire JSON structure of the webhook payload sent via the webhook. See
|
|
434
|
-
* the partner documentation's filter and reducer section for details.
|
|
435
|
-
*/
|
|
436
|
-
reducer?: any;
|
|
437
|
-
broadcaster_config?: BroadcasterConfig;
|
|
438
|
-
/**
|
|
439
|
-
* - The timestamp indicating when the
|
|
440
|
-
* subscriber event mapping was created.
|
|
441
|
-
*/
|
|
275
|
+
topic?: string;
|
|
442
276
|
created_on?: string;
|
|
443
277
|
};
|
|
444
|
-
/** @returns {
|
|
445
|
-
declare function
|
|
446
|
-
type
|
|
447
|
-
/**
|
|
448
|
-
* - JSONPath expression that specifies the property
|
|
449
|
-
* in the webhook payload to filter on. This enables targeting specific data
|
|
450
|
-
* within the payload.
|
|
451
|
-
*/
|
|
452
|
-
query?: string;
|
|
453
|
-
/**
|
|
454
|
-
* - JavaScript function used to evaluate the
|
|
455
|
-
* specified property in the webhook payload against a condition. This
|
|
456
|
-
* function determines whether the filter passes based on its return value.
|
|
457
|
-
*/
|
|
458
|
-
condition?: string;
|
|
459
|
-
/**
|
|
460
|
-
* - Logical operator used to combine multiple
|
|
461
|
-
* conditions in the `conditions` array. Supported values are `AND` and `OR`.
|
|
462
|
-
*/
|
|
463
|
-
logic?: string;
|
|
464
|
-
/**
|
|
465
|
-
* - An array of filter objects to be
|
|
466
|
-
* evaluated using the specified logical operator. This array will contain
|
|
467
|
-
* more filters including a combination of single condition mode and logical
|
|
468
|
-
* group mode filters.
|
|
469
|
-
*/
|
|
470
|
-
conditions?: any[];
|
|
471
|
-
};
|
|
472
|
-
/** @returns {EventConfigDetails} */
|
|
473
|
-
declare function EventConfigDetails(): EventConfigDetails;
|
|
474
|
-
type EventConfigDetails = {
|
|
475
|
-
/**
|
|
476
|
-
* - The unique identifier for the event configuration.
|
|
477
|
-
*/
|
|
278
|
+
/** @returns {EventConfigResponse} */
|
|
279
|
+
declare function EventConfigResponse(): EventConfigResponse;
|
|
280
|
+
type EventConfigResponse = {
|
|
478
281
|
id?: number;
|
|
479
|
-
/**
|
|
480
|
-
* - The name assigned to the event configuration.
|
|
481
|
-
*/
|
|
482
282
|
event_name?: string;
|
|
483
|
-
/**
|
|
484
|
-
* - Specifies the type of event, allowing for
|
|
485
|
-
* custom or non-enumerated values.
|
|
486
|
-
*/
|
|
487
283
|
event_type?: string;
|
|
488
|
-
/**
|
|
489
|
-
* - Defines the category of the event,
|
|
490
|
-
* allowing for custom or non-enumerated values.
|
|
491
|
-
*/
|
|
492
284
|
event_category?: string;
|
|
493
|
-
/**
|
|
494
|
-
* - Contains the schema details for the
|
|
495
|
-
* event, allowing for flexible or dynamic schemas.
|
|
496
|
-
*/
|
|
497
285
|
event_schema?: any;
|
|
498
|
-
/**
|
|
499
|
-
* - The version number of the event configuration.
|
|
500
|
-
*/
|
|
501
286
|
version?: string;
|
|
502
|
-
/**
|
|
503
|
-
* - The display name for the event configuration.
|
|
504
|
-
*/
|
|
505
287
|
display_name?: string;
|
|
506
|
-
/**
|
|
507
|
-
* - A description of the event configuration,
|
|
508
|
-
* if provided.
|
|
509
|
-
*/
|
|
510
288
|
description?: string;
|
|
511
|
-
/**
|
|
512
|
-
* - The timestamp indicating when the event
|
|
513
|
-
* configuration was created.
|
|
514
|
-
*/
|
|
515
289
|
created_on?: string;
|
|
516
|
-
/**
|
|
517
|
-
* - The timestamp indicating when the event
|
|
518
|
-
* configuration was last updated.
|
|
519
|
-
*/
|
|
520
290
|
updated_on?: string;
|
|
521
|
-
/**
|
|
522
|
-
* - The group to which the event configuration
|
|
523
|
-
* belongs, if applicable.
|
|
524
|
-
*/
|
|
525
291
|
group?: string;
|
|
526
292
|
subscriber_event_mapping?: SubscriberEventMapping;
|
|
527
293
|
};
|
|
528
|
-
/** @returns {
|
|
529
|
-
declare function
|
|
530
|
-
type
|
|
531
|
-
/**
|
|
532
|
-
* - A list of items representing subscriber
|
|
533
|
-
* configurations.
|
|
534
|
-
*/
|
|
294
|
+
/** @returns {SubscriberConfigResponse} */
|
|
295
|
+
declare function SubscriberConfigResponse(): SubscriberConfigResponse;
|
|
296
|
+
type SubscriberConfigResponse = {
|
|
535
297
|
items?: ItemSchema[];
|
|
536
298
|
page?: Page;
|
|
537
299
|
};
|
|
538
|
-
/** @returns {
|
|
539
|
-
declare function
|
|
540
|
-
type
|
|
541
|
-
/**
|
|
542
|
-
* - The name of the event that is considered invalid.
|
|
543
|
-
*/
|
|
300
|
+
/** @returns {InvalidEventsRequest} */
|
|
301
|
+
declare function InvalidEventsRequest(): InvalidEventsRequest;
|
|
302
|
+
type InvalidEventsRequest = {
|
|
544
303
|
event_name?: string;
|
|
545
|
-
/**
|
|
546
|
-
* - The version of the event that is considered invalid.
|
|
547
|
-
*/
|
|
548
304
|
version?: string;
|
|
549
|
-
/**
|
|
550
|
-
* - The category of the event that is considered invalid.
|
|
551
|
-
*/
|
|
552
305
|
category?: string;
|
|
553
|
-
/**
|
|
554
|
-
* - The start date and time for the period
|
|
555
|
-
* during which events were considered invalid.
|
|
556
|
-
*/
|
|
557
306
|
start_date?: string;
|
|
558
|
-
/**
|
|
559
|
-
* - The end date and time for the period during
|
|
560
|
-
* which events were considered invalid.
|
|
561
|
-
*/
|
|
562
307
|
end_date?: string;
|
|
563
308
|
};
|
|
564
|
-
/** @returns {
|
|
565
|
-
declare function
|
|
566
|
-
type
|
|
567
|
-
/**
|
|
568
|
-
* - The name of the event that was found to be invalid.
|
|
569
|
-
*/
|
|
309
|
+
/** @returns {InvalidEventsResponse} */
|
|
310
|
+
declare function InvalidEventsResponse(): InvalidEventsResponse;
|
|
311
|
+
type InvalidEventsResponse = {
|
|
570
312
|
event_name?: string;
|
|
571
|
-
/**
|
|
572
|
-
* - The type of the invalid event, allowing for
|
|
573
|
-
* custom or non-enumerated values.
|
|
574
|
-
*/
|
|
575
313
|
event_type?: string;
|
|
576
|
-
/**
|
|
577
|
-
* - The version of the invalid event.
|
|
578
|
-
*/
|
|
579
314
|
version?: string;
|
|
580
|
-
/**
|
|
581
|
-
* - The category of the invalid event.
|
|
582
|
-
*/
|
|
583
315
|
category?: string;
|
|
584
|
-
/**
|
|
585
|
-
* - The number of occurrences of the invalid event.
|
|
586
|
-
*/
|
|
587
316
|
count?: number;
|
|
588
317
|
};
|
|
589
318
|
/** @returns {HistoryFilters} */
|
|
590
319
|
declare function HistoryFilters(): HistoryFilters;
|
|
591
320
|
type HistoryFilters = {
|
|
592
|
-
/**
|
|
593
|
-
* - A list of event types to filter the history report.
|
|
594
|
-
*/
|
|
595
321
|
events?: string[];
|
|
596
|
-
/**
|
|
597
|
-
* - Text used for searching within the history report.
|
|
598
|
-
*/
|
|
599
322
|
search_text?: string;
|
|
600
323
|
/**
|
|
601
324
|
* - The status of the history report (e.g., "FAILED").
|
|
@@ -615,8 +338,8 @@ type HistoryFilters = {
|
|
|
615
338
|
*/
|
|
616
339
|
subscribers?: number[];
|
|
617
340
|
/**
|
|
618
|
-
* - An array of webhook
|
|
619
|
-
*
|
|
341
|
+
* - An array of webhook type to identify
|
|
342
|
+
* thetype of subscriber i.e (KAFKA or REST).
|
|
620
343
|
*/
|
|
621
344
|
webhook_type?: string[];
|
|
622
345
|
};
|
|
@@ -635,10 +358,6 @@ type Url = {
|
|
|
635
358
|
/** @returns {CdnObject} */
|
|
636
359
|
declare function CdnObject(): CdnObject;
|
|
637
360
|
type CdnObject = {
|
|
638
|
-
/**
|
|
639
|
-
* - A list of URLs for CDN objects, including the
|
|
640
|
-
* location of the uploaded report files.
|
|
641
|
-
*/
|
|
642
361
|
urls?: Url[];
|
|
643
362
|
};
|
|
644
363
|
/** @returns {UploadServiceObject} */
|
|
@@ -649,39 +368,30 @@ type UploadServiceObject = {
|
|
|
649
368
|
/** @returns {HistoryAssociation} */
|
|
650
369
|
declare function HistoryAssociation(): HistoryAssociation;
|
|
651
370
|
type HistoryAssociation = {
|
|
652
|
-
/**
|
|
653
|
-
* - The identifier for the company associated
|
|
654
|
-
* with the history report.
|
|
655
|
-
*/
|
|
656
371
|
company_id?: number;
|
|
657
|
-
/**
|
|
658
|
-
* - A list of subscriber IDs related to
|
|
659
|
-
* the history report.
|
|
660
|
-
*/
|
|
661
372
|
subscriber_ids?: number[];
|
|
662
373
|
};
|
|
663
374
|
/** @returns {HistoryItems} */
|
|
664
375
|
declare function HistoryItems(): HistoryItems;
|
|
665
376
|
type HistoryItems = {
|
|
666
377
|
/**
|
|
667
|
-
* - The
|
|
378
|
+
* - The ID of the history report.
|
|
668
379
|
*/
|
|
669
380
|
id?: number;
|
|
670
381
|
association?: HistoryAssociation;
|
|
671
382
|
filters?: HistoryFilters;
|
|
672
383
|
/**
|
|
673
|
-
* - The
|
|
384
|
+
* - The filename of the history report.
|
|
674
385
|
*/
|
|
675
386
|
filename?: string;
|
|
676
387
|
/**
|
|
677
|
-
* - The
|
|
678
|
-
* "COMPLETED").
|
|
388
|
+
* - The status of the history report (e.g., "COMPLETED").
|
|
679
389
|
*/
|
|
680
390
|
status?: string;
|
|
681
391
|
upload_service_response?: UploadServiceObject;
|
|
682
392
|
/**
|
|
683
393
|
* - The date and time when the history report
|
|
684
|
-
* was
|
|
394
|
+
* was created.
|
|
685
395
|
*/
|
|
686
396
|
created_on?: string;
|
|
687
397
|
/**
|
|
@@ -694,156 +404,76 @@ type HistoryItems = {
|
|
|
694
404
|
*/
|
|
695
405
|
message?: string;
|
|
696
406
|
};
|
|
697
|
-
/** @returns {
|
|
698
|
-
declare function
|
|
699
|
-
type
|
|
700
|
-
/**
|
|
701
|
-
* - A list of history report items.
|
|
702
|
-
*/
|
|
407
|
+
/** @returns {HistoryResponse} */
|
|
408
|
+
declare function HistoryResponse(): HistoryResponse;
|
|
409
|
+
type HistoryResponse = {
|
|
703
410
|
items?: HistoryItems[];
|
|
704
411
|
page?: Page;
|
|
705
412
|
};
|
|
706
413
|
/** @returns {HistoryPayload} */
|
|
707
414
|
declare function HistoryPayload(): HistoryPayload;
|
|
708
415
|
type HistoryPayload = {
|
|
709
|
-
/**
|
|
710
|
-
* - The identifier for the company requesting
|
|
711
|
-
* the history report.
|
|
712
|
-
*/
|
|
713
416
|
company_id?: number;
|
|
714
417
|
/**
|
|
715
|
-
* -
|
|
716
|
-
* (e.g., "platform").
|
|
418
|
+
* - The type of history report (e.g., "platform").
|
|
717
419
|
*/
|
|
718
420
|
type?: string;
|
|
719
421
|
/**
|
|
720
|
-
* - The page number of the history report
|
|
422
|
+
* - The page number of the history report.
|
|
721
423
|
*/
|
|
722
424
|
page_no?: number;
|
|
723
425
|
/**
|
|
724
|
-
* - The number of records
|
|
725
|
-
* the history report.
|
|
426
|
+
* - The number of records per page.
|
|
726
427
|
*/
|
|
727
428
|
page_size?: number;
|
|
728
429
|
};
|
|
729
|
-
/** @returns {
|
|
730
|
-
declare function
|
|
731
|
-
type
|
|
732
|
-
/**
|
|
733
|
-
* - A message indicating the result of the cancel
|
|
734
|
-
* download request.
|
|
735
|
-
*/
|
|
430
|
+
/** @returns {CancelDownloadResponse} */
|
|
431
|
+
declare function CancelDownloadResponse(): CancelDownloadResponse;
|
|
432
|
+
type CancelDownloadResponse = {
|
|
736
433
|
message?: string;
|
|
737
|
-
/**
|
|
738
|
-
* - The outcome of the cancel download operation.
|
|
739
|
-
*/
|
|
740
434
|
result?: string;
|
|
741
435
|
};
|
|
742
|
-
/** @returns {
|
|
743
|
-
declare function
|
|
744
|
-
type
|
|
745
|
-
/**
|
|
746
|
-
* - The name of the filter applied in the report.
|
|
747
|
-
*/
|
|
436
|
+
/** @returns {FilterReportResponse} */
|
|
437
|
+
declare function FilterReportResponse(): FilterReportResponse;
|
|
438
|
+
type FilterReportResponse = {
|
|
748
439
|
filter_name?: string;
|
|
749
|
-
/**
|
|
750
|
-
* - A list of values resulting from the applied filter.
|
|
751
|
-
*/
|
|
752
440
|
values?: any[];
|
|
753
441
|
};
|
|
754
|
-
/** @returns {
|
|
755
|
-
declare function
|
|
756
|
-
type
|
|
757
|
-
/**
|
|
758
|
-
* - List of delivery timestamps.
|
|
759
|
-
*/
|
|
442
|
+
/** @returns {DeliveryTsResponse} */
|
|
443
|
+
declare function DeliveryTsResponse(): DeliveryTsResponse;
|
|
444
|
+
type DeliveryTsResponse = {
|
|
760
445
|
delivery_ts?: DeliveryTsSchema[];
|
|
761
446
|
};
|
|
762
447
|
/** @returns {DeliveryTsSchema} */
|
|
763
448
|
declare function DeliveryTsSchema(): DeliveryTsSchema;
|
|
764
449
|
type DeliveryTsSchema = {
|
|
765
|
-
/**
|
|
766
|
-
* - The timestamp of the delivery event.
|
|
767
|
-
*/
|
|
768
450
|
timestamp?: string;
|
|
769
|
-
/**
|
|
770
|
-
* - The count of failed delivery attempts.
|
|
771
|
-
*/
|
|
772
451
|
failed?: number;
|
|
773
|
-
/**
|
|
774
|
-
* - The count of removed webhooks during delivery.
|
|
775
|
-
*/
|
|
776
452
|
removed_webhooks?: number;
|
|
777
|
-
/**
|
|
778
|
-
* - The count of successful delivery attempts.
|
|
779
|
-
*/
|
|
780
453
|
success?: number;
|
|
781
454
|
};
|
|
782
|
-
/** @returns {
|
|
783
|
-
declare function
|
|
784
|
-
type
|
|
785
|
-
/**
|
|
786
|
-
* - The identifier for the company requesting
|
|
787
|
-
* delivery details.
|
|
788
|
-
*/
|
|
455
|
+
/** @returns {DeliveryDetailsRequest} */
|
|
456
|
+
declare function DeliveryDetailsRequest(): DeliveryDetailsRequest;
|
|
457
|
+
type DeliveryDetailsRequest = {
|
|
789
458
|
company_id?: string;
|
|
790
|
-
/**
|
|
791
|
-
* - The page number for the delivery details results.
|
|
792
|
-
*/
|
|
793
459
|
page_no?: number;
|
|
794
|
-
/**
|
|
795
|
-
* - The number of records per page for delivery details.
|
|
796
|
-
*/
|
|
797
460
|
page_size?: number;
|
|
798
|
-
/**
|
|
799
|
-
* - The start date and time for filtering
|
|
800
|
-
* delivery details.
|
|
801
|
-
*/
|
|
802
461
|
start_date?: string;
|
|
803
|
-
/**
|
|
804
|
-
* - The end date and time for filtering delivery details.
|
|
805
|
-
*/
|
|
806
462
|
end_date?: string;
|
|
807
|
-
/**
|
|
808
|
-
* - A list of event delivery details.
|
|
809
|
-
*/
|
|
810
463
|
event?: EventDeliveryDetailSchema[];
|
|
811
|
-
/**
|
|
812
|
-
* - The status of the delivery details request.
|
|
813
|
-
*/
|
|
814
464
|
status?: string;
|
|
815
465
|
};
|
|
816
466
|
/** @returns {EventDeliveryDetailSchema} */
|
|
817
467
|
declare function EventDeliveryDetailSchema(): EventDeliveryDetailSchema;
|
|
818
468
|
type EventDeliveryDetailSchema = {
|
|
819
|
-
/**
|
|
820
|
-
* - The name of the event related to the
|
|
821
|
-
* delivery details.
|
|
822
|
-
*/
|
|
823
469
|
event_name?: string;
|
|
824
|
-
/**
|
|
825
|
-
* - The type of the event, allowing for custom
|
|
826
|
-
* or non-enumerated values.
|
|
827
|
-
*/
|
|
828
470
|
event_type?: string;
|
|
829
|
-
/**
|
|
830
|
-
* - The category of the event, allowing for
|
|
831
|
-
* custom or non-enumerated values.
|
|
832
|
-
*/
|
|
833
471
|
event_category?: string;
|
|
834
|
-
/**
|
|
835
|
-
* - The version of the event related to the
|
|
836
|
-
* delivery details.
|
|
837
|
-
*/
|
|
838
472
|
version?: string;
|
|
839
473
|
};
|
|
840
|
-
/** @returns {
|
|
841
|
-
declare function
|
|
842
|
-
type
|
|
843
|
-
/**
|
|
844
|
-
* - A list of processed event
|
|
845
|
-
* reports with delivery details.
|
|
846
|
-
*/
|
|
474
|
+
/** @returns {DeliveryDetailsResponse} */
|
|
475
|
+
declare function DeliveryDetailsResponse(): DeliveryDetailsResponse;
|
|
476
|
+
type DeliveryDetailsResponse = {
|
|
847
477
|
rows?: EventProcessReportObject[];
|
|
848
478
|
page?: Page;
|
|
849
479
|
};
|
|
@@ -855,29 +485,27 @@ type EventProcessReportObject = {
|
|
|
855
485
|
*/
|
|
856
486
|
event_name?: string;
|
|
857
487
|
/**
|
|
858
|
-
* - The response code
|
|
859
|
-
* event, allowing for custom or non-enumerated values.
|
|
488
|
+
* - The response code of the event.
|
|
860
489
|
*/
|
|
861
490
|
response_code?: number;
|
|
862
491
|
/**
|
|
863
|
-
* - The response message
|
|
492
|
+
* - The response message of the event.
|
|
864
493
|
*/
|
|
865
494
|
response_message?: string;
|
|
866
495
|
/**
|
|
867
|
-
* - The data
|
|
496
|
+
* - The data associated with the event.
|
|
868
497
|
*/
|
|
869
498
|
data?: string;
|
|
870
499
|
/**
|
|
871
|
-
* - The attempt number
|
|
500
|
+
* - The attempt number of the event.
|
|
872
501
|
*/
|
|
873
502
|
attempt?: number;
|
|
874
503
|
/**
|
|
875
|
-
* - The timestamp of the last
|
|
876
|
-
* process the event.
|
|
504
|
+
* - The timestamp of the last attempted event.
|
|
877
505
|
*/
|
|
878
506
|
last_attempted_on?: number;
|
|
879
507
|
/**
|
|
880
|
-
* - The status of the event
|
|
508
|
+
* - The status of the event (e.g., "FAILED").
|
|
881
509
|
*/
|
|
882
510
|
status?: string;
|
|
883
511
|
/**
|
|
@@ -885,20 +513,14 @@ type EventProcessReportObject = {
|
|
|
885
513
|
*/
|
|
886
514
|
name?: string;
|
|
887
515
|
/**
|
|
888
|
-
* - The URL
|
|
516
|
+
* - The webhook URL associated with the event.
|
|
889
517
|
*/
|
|
890
518
|
webhook_url?: string;
|
|
891
519
|
/**
|
|
892
|
-
* - The time
|
|
520
|
+
* - The response time of the event.
|
|
893
521
|
*/
|
|
894
522
|
response_time?: number;
|
|
895
|
-
/**
|
|
896
|
-
* - The identifier for the event message.
|
|
897
|
-
*/
|
|
898
523
|
message_id?: string;
|
|
899
|
-
/**
|
|
900
|
-
* - The trace ID associated with the event.
|
|
901
|
-
*/
|
|
902
524
|
event_trace_id?: string;
|
|
903
525
|
};
|
|
904
526
|
/** @returns {Page} */
|
|
@@ -932,164 +554,63 @@ type Page = {
|
|
|
932
554
|
* - The number of items per page.
|
|
933
555
|
*/
|
|
934
556
|
size?: number;
|
|
557
|
+
/**
|
|
558
|
+
* - Total number of items.
|
|
559
|
+
*/
|
|
560
|
+
total?: number;
|
|
935
561
|
};
|
|
936
562
|
/** @returns {DeliveryEventLevelSchema} */
|
|
937
563
|
declare function DeliveryEventLevelSchema(): DeliveryEventLevelSchema;
|
|
938
564
|
type DeliveryEventLevelSchema = {
|
|
939
|
-
/**
|
|
940
|
-
* - The name or identifier of the event.
|
|
941
|
-
*/
|
|
942
565
|
event?: string;
|
|
943
|
-
/**
|
|
944
|
-
* - The count of successful deliveries for the event.
|
|
945
|
-
*/
|
|
946
566
|
success?: number;
|
|
947
|
-
/**
|
|
948
|
-
* - The count of failed deliveries for the event.
|
|
949
|
-
*/
|
|
950
567
|
failed?: number;
|
|
951
|
-
/**
|
|
952
|
-
* - The percentage of failed deliveries
|
|
953
|
-
* relative to the total.
|
|
954
|
-
*/
|
|
955
568
|
failed_percentage?: number;
|
|
956
|
-
/**
|
|
957
|
-
* - The count of webhooks that were
|
|
958
|
-
* removed during the delivery.
|
|
959
|
-
*/
|
|
960
569
|
removed_webhooks?: number;
|
|
961
|
-
/**
|
|
962
|
-
* - The total number of delivery attempts for the event.
|
|
963
|
-
*/
|
|
964
570
|
total?: number;
|
|
965
|
-
/**
|
|
966
|
-
* - The average response time for the event
|
|
967
|
-
* deliveries.
|
|
968
|
-
*/
|
|
969
571
|
response_time?: number;
|
|
970
572
|
};
|
|
971
573
|
/** @returns {ResponseTimeTs} */
|
|
972
574
|
declare function ResponseTimeTs(): ResponseTimeTs;
|
|
973
575
|
type ResponseTimeTs = {
|
|
974
|
-
/**
|
|
975
|
-
* - List of average
|
|
976
|
-
* response time timestamps.
|
|
977
|
-
*/
|
|
978
576
|
avg_response_time_ts?: AvgResponseTime[];
|
|
979
577
|
};
|
|
980
578
|
/** @returns {AvgResponseTime} */
|
|
981
579
|
declare function AvgResponseTime(): AvgResponseTime;
|
|
982
580
|
type AvgResponseTime = {
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
* formatted as a string.
|
|
986
|
-
*/
|
|
987
|
-
last_attempted_on?: string;
|
|
988
|
-
/**
|
|
989
|
-
* - The response code returned for the
|
|
990
|
-
* delivery attempt, allowing for custom or non-enumerated values.
|
|
991
|
-
*/
|
|
992
|
-
response_code?: number;
|
|
993
|
-
/**
|
|
994
|
-
* - The response time for the delivery
|
|
995
|
-
* attempt, formatted as a string.
|
|
996
|
-
*/
|
|
997
|
-
response_time?: string;
|
|
998
|
-
/**
|
|
999
|
-
* - The attempt number for the delivery.
|
|
1000
|
-
*/
|
|
1001
|
-
attempt?: number;
|
|
1002
|
-
/**
|
|
1003
|
-
* - The total count of deliveries attempted.
|
|
1004
|
-
*/
|
|
1005
|
-
total?: number;
|
|
581
|
+
timestamp?: string;
|
|
582
|
+
response_time?: number;
|
|
1006
583
|
};
|
|
1007
|
-
/** @returns {
|
|
1008
|
-
declare function
|
|
1009
|
-
type
|
|
1010
|
-
/**
|
|
1011
|
-
* - List of
|
|
1012
|
-
* delivery event levels.
|
|
1013
|
-
*/
|
|
584
|
+
/** @returns {DeliverySummaryResponse} */
|
|
585
|
+
declare function DeliverySummaryResponse(): DeliverySummaryResponse;
|
|
586
|
+
type DeliverySummaryResponse = {
|
|
1014
587
|
delivery_event_level?: DeliveryEventLevelSchema[];
|
|
1015
588
|
delivery_summary?: DeliverySummarySchema;
|
|
1016
589
|
};
|
|
1017
590
|
/** @returns {DeliverySummarySchema} */
|
|
1018
591
|
declare function DeliverySummarySchema(): DeliverySummarySchema;
|
|
1019
592
|
type DeliverySummarySchema = {
|
|
1020
|
-
/**
|
|
1021
|
-
* - The total count of successful deliveries.
|
|
1022
|
-
*/
|
|
1023
593
|
success?: number;
|
|
1024
|
-
/**
|
|
1025
|
-
* - The average response time for deliveries.
|
|
1026
|
-
*/
|
|
1027
594
|
response_time?: number;
|
|
1028
|
-
/**
|
|
1029
|
-
* - The percentage of failed deliveries.
|
|
1030
|
-
*/
|
|
1031
595
|
failed_percentage?: number;
|
|
1032
|
-
/**
|
|
1033
|
-
* - The count of webhooks removed during delivery.
|
|
1034
|
-
*/
|
|
1035
596
|
removed_webhooks?: number;
|
|
1036
597
|
};
|
|
1037
598
|
/** @returns {ItemSchema} */
|
|
1038
599
|
declare function ItemSchema(): ItemSchema;
|
|
1039
600
|
type ItemSchema = {
|
|
1040
|
-
/**
|
|
1041
|
-
* - The unique identifier for the item.
|
|
1042
|
-
*/
|
|
1043
601
|
id?: number;
|
|
1044
|
-
/**
|
|
1045
|
-
* - The user or system that last modified the item.
|
|
1046
|
-
*/
|
|
1047
602
|
modified_by?: string;
|
|
1048
|
-
/**
|
|
1049
|
-
* - The name of the item.
|
|
1050
|
-
*/
|
|
1051
603
|
name?: string;
|
|
1052
|
-
/**
|
|
1053
|
-
* - The URL of the webhook associated with the item.
|
|
1054
|
-
*/
|
|
1055
604
|
webhook_url?: string;
|
|
1056
|
-
/**
|
|
1057
|
-
* - The provider of the item.
|
|
1058
|
-
*/
|
|
1059
605
|
provider?: string;
|
|
1060
606
|
association?: Association;
|
|
1061
|
-
/**
|
|
1062
|
-
* - Custom headers associated with the item, if any.
|
|
1063
|
-
*/
|
|
1064
607
|
custom_headers?: any;
|
|
1065
|
-
/**
|
|
1066
|
-
* - The current status of the item.
|
|
1067
|
-
*/
|
|
1068
608
|
status?: string;
|
|
1069
|
-
/**
|
|
1070
|
-
* - The email ID associated with the item, if applicable.
|
|
1071
|
-
*/
|
|
1072
609
|
email_id?: string;
|
|
1073
|
-
/**
|
|
1074
|
-
* - The date and time when the item was last updated.
|
|
1075
|
-
*/
|
|
1076
610
|
updated_on?: string;
|
|
1077
|
-
/**
|
|
1078
|
-
* - The date and time when the item was created.
|
|
1079
|
-
*/
|
|
1080
611
|
created_on?: string;
|
|
1081
|
-
/**
|
|
1082
|
-
* - The type of the item, if applicable.
|
|
1083
|
-
*/
|
|
1084
612
|
type?: string;
|
|
1085
613
|
auth_meta?: AuthMeta;
|
|
1086
|
-
|
|
1087
|
-
* - A list of event
|
|
1088
|
-
* configurations associated with the item.
|
|
1089
|
-
*/
|
|
1090
|
-
event_configs?: EventConfigDetails[];
|
|
1091
|
-
/**
|
|
1092
|
-
* - A list of event IDs associated with the item.
|
|
1093
|
-
*/
|
|
614
|
+
event_configs?: EventConfigResponse[];
|
|
1094
615
|
event_id?: number[];
|
|
1095
616
|
};
|