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