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