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