@gofynd/fdk-client-javascript 1.4.15-beta.14 → 1.4.15-beta.15
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 +23 -26
- package/package.json +5 -1
- package/sdk/application/ApplicationClient.d.ts +5 -6
- package/sdk/application/ApplicationClient.js +24 -20
- package/sdk/application/Cart/CartApplicationClient.d.ts +133 -83
- package/sdk/application/Cart/CartApplicationClient.js +444 -76
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +132 -114
- package/sdk/application/Catalog/CatalogApplicationClient.js +209 -126
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +58 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +73 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +95 -66
- package/sdk/application/Content/ContentApplicationClient.js +274 -111
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -11
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -10
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
- package/sdk/application/Lead/LeadApplicationClient.js +6 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +37 -57
- package/sdk/application/Logistic/LogisticApplicationClient.js +117 -180
- package/sdk/application/Order/OrderApplicationClient.d.ts +63 -21
- package/sdk/application/Order/OrderApplicationClient.js +217 -17
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +179 -149
- package/sdk/application/Payment/PaymentApplicationClient.js +301 -167
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.js +10 -6
- package/sdk/application/User/UserApplicationClient.d.ts +103 -53
- package/sdk/application/User/UserApplicationClient.js +308 -49
- package/sdk/common/AxiosHelper.js +11 -4
- package/sdk/common/Constant.d.ts +27 -4
- package/sdk/common/Constant.js +33 -6
- package/sdk/common/utils.d.ts +10 -0
- package/sdk/common/utils.js +24 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +46 -16
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +266 -40
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +163 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +158 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +5 -2
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +23 -7
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +9 -9
- package/sdk/partner/Lead/LeadPartnerClient.js +9 -9
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +14 -9
- package/sdk/partner/Lead/LeadPartnerModel.js +19 -17
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +264 -49
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +2116 -252
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2256 -258
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +1187 -230
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +21 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +218 -13
- package/sdk/partner/PartnerClient.d.ts +5 -2
- package/sdk/partner/PartnerClient.js +21 -7
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +32 -34
- package/sdk/partner/Theme/ThemePartnerClient.js +42 -44
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +142 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +129 -44
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +83 -27
- package/sdk/partner/Webhook/WebhookPartnerClient.js +446 -27
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +920 -185
- package/sdk/partner/Webhook/WebhookPartnerModel.js +462 -154
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +5 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +41 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +8 -7
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +17 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +68 -13
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +44 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +3 -33
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -244
- 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 +15 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +18 -18
- 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 +266 -203
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1446 -500
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +729 -100
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +446 -82
- package/sdk/platform/Cart/CartPlatformModel.d.ts +6927 -1396
- package/sdk/platform/Cart/CartPlatformModel.js +3065 -1316
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +433 -248
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1662 -559
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +464 -159
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +304 -87
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +383 -234
- package/sdk/platform/Catalog/CatalogPlatformClient.js +2475 -1557
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9573 -2678
- package/sdk/platform/Catalog/CatalogPlatformModel.js +5033 -1973
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +364 -117
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +281 -104
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -4
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +36 -25
- package/sdk/platform/Common/CommonPlatformModel.js +25 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -153
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +102 -541
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +36 -49
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +20 -60
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +189 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +165 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +58 -81
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +68 -116
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +291 -249
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +243 -234
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +78 -65
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +101 -88
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +19 -19
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +68 -34
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +174 -41
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +667 -244
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +474 -155
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +366 -280
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1435 -753
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +323 -223
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +335 -205
- package/sdk/platform/Content/ContentPlatformClient.d.ts +304 -106
- package/sdk/platform/Content/ContentPlatformClient.js +1842 -450
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2582 -566
- package/sdk/platform/Content/ContentPlatformModel.js +1426 -558
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +293 -114
- package/sdk/platform/Content/ContentPlatformValidator.js +328 -101
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +59 -23
- package/sdk/platform/Discount/DiscountPlatformClient.js +84 -23
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +403 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +121 -107
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +12 -110
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +14 -684
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -115
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +22 -22
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +90 -920
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +53 -949
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +14 -9
- package/sdk/platform/Lead/LeadPlatformModel.js +20 -18
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +56 -9
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +340 -10
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +128 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +81 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +517 -160
- package/sdk/platform/Order/OrderPlatformClient.js +1623 -384
- package/sdk/platform/Order/OrderPlatformModel.d.ts +10372 -1587
- package/sdk/platform/Order/OrderPlatformModel.js +5726 -1512
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +539 -123
- package/sdk/platform/Order/OrderPlatformValidator.js +323 -92
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +8 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +11 -9
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +3 -2
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +77 -25
- package/sdk/platform/Partner/PartnerPlatformModel.js +32 -21
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +144 -219
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +307 -796
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +86 -121
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +80 -138
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +30 -30
- package/sdk/platform/Payment/PaymentPlatformClient.js +30 -30
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +901 -761
- package/sdk/platform/Payment/PaymentPlatformModel.js +663 -583
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
- package/sdk/platform/PlatformApplicationClient.js +0 -4
- package/sdk/platform/PlatformClient.d.ts +5 -4
- package/sdk/platform/PlatformClient.js +32 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +526 -69
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +3337 -337
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +603 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +529 -32
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +184 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +780 -491
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +9408 -1666
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5720 -1765
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +257 -180
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +185 -127
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
- package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
- package/sdk/platform/Share/SharePlatformModel.d.ts +45 -9
- package/sdk/platform/Share/SharePlatformModel.js +31 -6
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -26
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +38 -29
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -3
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +10 -2
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
- package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +103 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +92 -23
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +167 -45
- package/sdk/platform/User/UserPlatformApplicationClient.js +950 -67
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +189 -3
- package/sdk/platform/User/UserPlatformApplicationValidator.js +157 -3
- package/sdk/platform/User/UserPlatformModel.d.ts +880 -47
- package/sdk/platform/User/UserPlatformModel.js +607 -46
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +33 -86
- package/sdk/platform/Webhook/WebhookPlatformClient.js +79 -474
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +861 -422
- package/sdk/platform/Webhook/WebhookPlatformModel.js +469 -391
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -2
- package/sdk/platform/index.js +0 -4
- 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 +5 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +9 -8
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +41 -21
- package/sdk/public/Configuration/ConfigurationPublicModel.js +28 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +145 -2
- package/sdk/public/Content/ContentPublicClient.js +1067 -17
- package/sdk/public/Content/ContentPublicModel.d.ts +704 -3
- package/sdk/public/Content/ContentPublicModel.js +751 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +94 -3
- package/sdk/public/Content/ContentPublicValidator.js +119 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- 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 +5 -2
- package/sdk/public/PublicClient.js +16 -6
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -13
- package/sdk/public/Webhook/WebhookPublicClient.js +13 -13
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +249 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +81 -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/utility.d.ts +3 -0
- package/utility.js +7 -0
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
- package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +0 -19
- package/sdk/application/Webhook/WebhookApplicationClient.js +0 -72
- 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
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -382
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -408
|
@@ -1,359 +1,339 @@
|
|
|
1
1
|
export = WebhookPlatformModel;
|
|
2
|
-
/**
|
|
3
|
-
* @typedef Event
|
|
4
|
-
* @property {string} [event_name]
|
|
5
|
-
* @property {string} [event_type]
|
|
6
|
-
* @property {string} [event_category]
|
|
7
|
-
* @property {string} [version]
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @typedef EventProcessRequest
|
|
11
|
-
* @property {string} [search_text]
|
|
12
|
-
* @property {string} end_date
|
|
13
|
-
* @property {string} start_date
|
|
14
|
-
* @property {number[]} [subscriber_ids]
|
|
15
|
-
* @property {string} [status]
|
|
16
|
-
* @property {Event[]} [event]
|
|
17
|
-
*/
|
|
18
|
-
/**
|
|
19
|
-
* @typedef DownloadReportResponse
|
|
20
|
-
* @property {string} [file_name]
|
|
21
|
-
*/
|
|
22
|
-
/**
|
|
23
|
-
* @typedef EventProcessReports
|
|
24
|
-
* @property {EventProcessReportObject[]} [rows]
|
|
25
|
-
* @property {Page} [page]
|
|
26
|
-
*/
|
|
27
|
-
/**
|
|
28
|
-
* @typedef EventProcessReportObject
|
|
29
|
-
* @property {string} [event_name] - The name of the processed event.
|
|
30
|
-
* @property {number} [response_code] - The response code of the event.
|
|
31
|
-
* @property {string} [response_message] - The response message of the event.
|
|
32
|
-
* @property {string} [data] - The data associated with the event.
|
|
33
|
-
* @property {number} [attempt] - The attempt number of the event.
|
|
34
|
-
* @property {number} [last_attempted_on] - The timestamp of the last attempted event.
|
|
35
|
-
* @property {string} [status] - The status of the event (e.g., "FAILED").
|
|
36
|
-
* @property {string} [name] - The name of the event.
|
|
37
|
-
* @property {string} [webhook_url] - The webhook URL associated with the event.
|
|
38
|
-
* @property {number} [response_time] - The response time of the event.
|
|
39
|
-
* @property {string} [message_id]
|
|
40
|
-
* @property {string} [event_trace_id]
|
|
41
|
-
*/
|
|
42
2
|
/**
|
|
43
3
|
* @typedef Page
|
|
44
|
-
* @property {number} [item_total] - The total number of items
|
|
4
|
+
* @property {number} [item_total] - The total number of all items across all pages.
|
|
45
5
|
* @property {string} [next_id] - The identifier for the next page.
|
|
46
6
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
47
7
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
48
8
|
* @property {number} [current] - The current page number.
|
|
49
|
-
* @property {string} type - The type of the page,
|
|
9
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
50
10
|
* @property {number} [size] - The number of items per page.
|
|
11
|
+
* @property {number} [page_size] - The number of items per page.
|
|
51
12
|
*/
|
|
52
13
|
/**
|
|
53
|
-
* @typedef
|
|
54
|
-
* @property {string}
|
|
55
|
-
* @property {
|
|
56
|
-
*
|
|
57
|
-
*
|
|
14
|
+
* @typedef BroadcasterConfig
|
|
15
|
+
* @property {string} [topic] - The name of the topic for the broadcaster configuration.
|
|
16
|
+
* @property {string} [queue] - The name of the queue for the broadcaster configuration.
|
|
17
|
+
* @property {string} [event_bridge_name] - The name of the event bridge
|
|
18
|
+
* associated with the broadcaster.
|
|
19
|
+
* @property {string} [workflow_name] - The name of the workflow related to the
|
|
20
|
+
* broadcaster.
|
|
21
|
+
* @property {string} [account_id] - The account ID associated with the broadcaster.
|
|
22
|
+
* @property {string} [detail_type] - The type of detail for the broadcaster
|
|
23
|
+
* configuration.
|
|
58
24
|
*/
|
|
59
25
|
/**
|
|
60
|
-
* @typedef
|
|
61
|
-
* @property {
|
|
62
|
-
* @property {
|
|
63
|
-
* @property {number} [
|
|
26
|
+
* @typedef SubscriberEventMapping
|
|
27
|
+
* @property {number} [id] - The unique identifier for the subscriber event mapping.
|
|
28
|
+
* @property {number} [event_id] - The ID of the event associated with the subscriber.
|
|
29
|
+
* @property {number} [subscriber_id] - The ID of the subscriber.
|
|
30
|
+
* @property {FilterSchema} [filters]
|
|
31
|
+
* @property {Object} [reducer] - The reducer property allows users to customize
|
|
32
|
+
* the JSON structure of the webhook payload using JSONPath queries. They can
|
|
33
|
+
* also create new properties by mapping existing ones. Note that it overrides
|
|
34
|
+
* the entire JSON structure of the webhook payload sent via the webhook. See
|
|
35
|
+
* the partner documentation's filter and reducer section for details.
|
|
36
|
+
* @property {BroadcasterConfig} [broadcaster_config]
|
|
37
|
+
* @property {string} [created_on] - The date and time when the subscriber event
|
|
38
|
+
* mapping was created.
|
|
64
39
|
*/
|
|
65
40
|
/**
|
|
66
|
-
* @typedef
|
|
67
|
-
* @property {
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
* @property {string} [
|
|
71
|
-
*
|
|
41
|
+
* @typedef FilterSchema
|
|
42
|
+
* @property {string} [query] - JSONPath expression that specifies the property
|
|
43
|
+
* in the webhook payload to filter on. This enables targeting specific data
|
|
44
|
+
* within the payload.
|
|
45
|
+
* @property {string} [condition] - JavaScript function used to evaluate the
|
|
46
|
+
* specified property in the webhook payload against a condition. This
|
|
47
|
+
* function determines whether the filter passes based on its return value.
|
|
48
|
+
* @property {string} [logic] - Logical operator used to combine multiple
|
|
49
|
+
* conditions in the `conditions` array. Supported values are `AND` and `OR`.
|
|
50
|
+
* @property {Object[]} [conditions] - An array of filter objects to be
|
|
51
|
+
* evaluated using the specified logical operator. This array will contain
|
|
52
|
+
* more filters including a combination of single condition mode and logical
|
|
53
|
+
* group mode filters.
|
|
72
54
|
*/
|
|
73
55
|
/**
|
|
74
56
|
* @typedef EventConfig
|
|
75
|
-
* @property {number} [id]
|
|
76
|
-
* @property {string} [
|
|
77
|
-
* @property {string} [
|
|
78
|
-
* @property {string} [
|
|
57
|
+
* @property {number} [id] - The unique identifier for the event configuration.
|
|
58
|
+
* @property {string} [type] - The type of event configuration, which may be null.
|
|
59
|
+
* @property {string} [event_name] - The name of the event.
|
|
60
|
+
* @property {string} [event_type] - The type of the event.
|
|
61
|
+
* @property {string} [event_category] - The category of the event.
|
|
62
|
+
* @property {string} [modified_by] - The identifier of the user who last
|
|
63
|
+
* modified the event configuration.
|
|
79
64
|
* @property {SubscriberEventMapping} [subscriber_event_mapping]
|
|
80
|
-
* @property {Object} [event_schema]
|
|
81
|
-
*
|
|
82
|
-
* @property {string} [
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
* @property {string} [
|
|
86
|
-
*
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
* @
|
|
90
|
-
*
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
*
|
|
94
|
-
* @property {
|
|
95
|
-
*
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
* @
|
|
99
|
-
*
|
|
100
|
-
* @property {
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @typedef HistoryPayload
|
|
104
|
-
* @property {string} type - The type of history report (e.g., "platform").
|
|
105
|
-
* @property {number} [page_no] - The page number of the history report.
|
|
106
|
-
* @property {number} [page_size] - The number of records per page.
|
|
107
|
-
*/
|
|
108
|
-
/**
|
|
109
|
-
* @typedef HistoryFilters
|
|
110
|
-
* @property {string[]} [events]
|
|
111
|
-
* @property {string} [search_text]
|
|
112
|
-
* @property {string} [status] - The status of the history report (e.g., "FAILED").
|
|
113
|
-
* @property {string} [end_date] - The end date and time of the history report.
|
|
114
|
-
* @property {string} [start_date] - The start date and time of the history report.
|
|
115
|
-
* @property {number[]} [subscribers] - An array of subscriber IDs associated
|
|
116
|
-
* with the history report.
|
|
117
|
-
* @property {string[]} [webhook_type] - An array of webhook type to identify
|
|
118
|
-
* thetype of subscriber i.e (KAFKA or REST).
|
|
119
|
-
*/
|
|
120
|
-
/**
|
|
121
|
-
* @typedef Url
|
|
122
|
-
* @property {string} [url] - The URL of the uploaded report file.
|
|
123
|
-
* @property {string} [name] - The name of the uploaded report file.
|
|
124
|
-
*/
|
|
125
|
-
/**
|
|
126
|
-
* @typedef CdnObject
|
|
127
|
-
* @property {Url[]} [urls]
|
|
128
|
-
*/
|
|
129
|
-
/**
|
|
130
|
-
* @typedef UploadServiceObject
|
|
131
|
-
* @property {CdnObject} [cdn]
|
|
132
|
-
*/
|
|
133
|
-
/**
|
|
134
|
-
* @typedef HistoryAssociation
|
|
135
|
-
* @property {number} [company_id]
|
|
136
|
-
* @property {number[]} [subscriber_ids]
|
|
137
|
-
*/
|
|
138
|
-
/**
|
|
139
|
-
* @typedef HistoryItems
|
|
140
|
-
* @property {number} [id] - The ID of the history report.
|
|
141
|
-
* @property {HistoryAssociation} [association]
|
|
142
|
-
* @property {HistoryFilters} [filters]
|
|
143
|
-
* @property {string} [filename] - The filename of the history report.
|
|
144
|
-
* @property {string} [status] - The status of the history report (e.g., "COMPLETED").
|
|
145
|
-
* @property {UploadServiceObject} [upload_service_response]
|
|
146
|
-
* @property {string} [created_on] - The date and time when the history report
|
|
147
|
-
* was created.
|
|
148
|
-
* @property {string} [updated_on] - The date and time when the history report
|
|
149
|
-
* was last updated.
|
|
150
|
-
* @property {string} [message] - A message related to the history report.
|
|
151
|
-
*/
|
|
152
|
-
/**
|
|
153
|
-
* @typedef HistoryResponse
|
|
154
|
-
* @property {HistoryItems[]} [items]
|
|
155
|
-
* @property {Page} [page]
|
|
65
|
+
* @property {Object} [event_schema] - The schema for the event, allowing for
|
|
66
|
+
* additional properties and may be null.
|
|
67
|
+
* @property {string} [sunset_date] - The date and time after which the event is
|
|
68
|
+
* considered sunset. After this timestamp, the entity should no longer be
|
|
69
|
+
* actively used, referenced, or offered for new operations, even if it still exists.
|
|
70
|
+
* @property {string} [announcement_date] - The date and time when the
|
|
71
|
+
* deprecation of the event is officially announced. This marks the start of
|
|
72
|
+
* the deprecation notice period and indicates that the entity is planned to
|
|
73
|
+
* be retired in the future, but may still remain available until the sunset date.
|
|
74
|
+
* @property {string} [support_end_date] - The date and time after which
|
|
75
|
+
* official support for the event ends. Beyond this point, no guarantees are
|
|
76
|
+
* made for maintenance, updates, fixes, or issue resolution.
|
|
77
|
+
* @property {string} [group] - The group associated with the event
|
|
78
|
+
* configuration, which may be null.
|
|
79
|
+
* @property {string} [version] - The version of the event configuration.
|
|
80
|
+
* @property {string} [display_name] - The display name of the event configuration.
|
|
81
|
+
* @property {string} [description] - A description of the event configuration,
|
|
82
|
+
* which may be null.
|
|
83
|
+
* @property {string} [created_on] - The date and time when the event
|
|
84
|
+
* configuration was created.
|
|
85
|
+
* @property {string} [updated_on] - The date and time when the event
|
|
86
|
+
* configuration was last updated.
|
|
156
87
|
*/
|
|
157
88
|
/**
|
|
158
|
-
* @typedef
|
|
159
|
-
* @property {
|
|
89
|
+
* @typedef EventConfigResult
|
|
90
|
+
* @property {EventConfig[]} [event_configs] - List of event configurations.
|
|
160
91
|
*/
|
|
161
92
|
/**
|
|
162
93
|
* @typedef Association
|
|
163
|
-
* @property {string[]} [application_id]
|
|
164
|
-
*
|
|
165
|
-
* @property {string} [
|
|
94
|
+
* @property {string[]} [application_id] - A list of application IDs associated
|
|
95
|
+
* with the association.
|
|
96
|
+
* @property {string} [extension_id] - The extension ID associated with the association.
|
|
97
|
+
* @property {string} [criteria] - The criteria for the association, such as
|
|
98
|
+
* "ALL", "EMPTY", or "SPECIFIC-EVENTS".
|
|
166
99
|
*/
|
|
167
100
|
/**
|
|
168
101
|
* @typedef AssociationResp
|
|
169
|
-
* @property {number} [company_id]
|
|
170
|
-
* @property {string[]} [application_id]
|
|
171
|
-
*
|
|
172
|
-
* @property {string} [
|
|
102
|
+
* @property {number} [company_id] - The ID of the company associated with the response.
|
|
103
|
+
* @property {string[]} [application_id] - A list of application IDs associated
|
|
104
|
+
* with the response.
|
|
105
|
+
* @property {string} [extension_id] - The extension ID associated with the response.
|
|
106
|
+
* @property {string} [criteria] - The criteria for the response, such as "ALL",
|
|
107
|
+
* "EMPTY", or "SPECIFIC-EVENTS".
|
|
173
108
|
*/
|
|
174
109
|
/**
|
|
175
110
|
* @typedef AuthMeta
|
|
176
|
-
* @property {string} [type]
|
|
177
|
-
* @property {string} [secret]
|
|
111
|
+
* @property {string} [type] - The type of authentication method used.
|
|
112
|
+
* @property {string} [secret] - The secret key or token used for authentication.
|
|
178
113
|
*/
|
|
179
114
|
/**
|
|
180
|
-
* @typedef
|
|
181
|
-
* @property {number} [id]
|
|
182
|
-
* @property {string} [modified_by]
|
|
183
|
-
*
|
|
184
|
-
* @property {string} [
|
|
185
|
-
* @property {string} [
|
|
115
|
+
* @typedef SubscriberDetails
|
|
116
|
+
* @property {number} [id] - The unique identifier of the subscriber.
|
|
117
|
+
* @property {string} [modified_by] - The identifier of the user who last
|
|
118
|
+
* modified the subscriber details.
|
|
119
|
+
* @property {string} [name] - The name of the subscriber.
|
|
120
|
+
* @property {string} [provider] - The provider of the subscriber.
|
|
121
|
+
* @property {string} [webhook_url] - The URL for the subscriber's webhook.
|
|
122
|
+
* @property {string} [source] - Source that subscriber belongs to.
|
|
186
123
|
* @property {AssociationResp} [association]
|
|
187
|
-
* @property {Object} [custom_headers]
|
|
124
|
+
* @property {Object} [custom_headers] - Custom headers for the subscriber.
|
|
188
125
|
* @property {SubscriberStatus} [status]
|
|
189
|
-
* @property {string} [email_id]
|
|
190
|
-
* @property {string} [updated_on]
|
|
191
|
-
*
|
|
192
|
-
* @property {string} [
|
|
126
|
+
* @property {string} [email_id] - The email ID associated with the subscriber.
|
|
127
|
+
* @property {string} [updated_on] - The date and time when the subscriber
|
|
128
|
+
* details were last updated.
|
|
129
|
+
* @property {string} [created_on] - The date and time when the subscriber was created.
|
|
130
|
+
* @property {string} [type] - The type of subscriber, which can either be passed as null.
|
|
193
131
|
* @property {AuthMeta} [auth_meta]
|
|
194
|
-
* @property {EventConfig[]} [event_configs]
|
|
132
|
+
* @property {EventConfig[]} [event_configs] - List of event configurations.
|
|
195
133
|
*/
|
|
196
134
|
/**
|
|
197
135
|
* @typedef Events
|
|
198
|
-
* @property {string} [slug]
|
|
199
|
-
* @property {string} [topic]
|
|
136
|
+
* @property {string} [slug] - The slug or identifier for the event.
|
|
137
|
+
* @property {string} [topic] - The topic associated with the event.
|
|
138
|
+
* @property {string} [queue] - The queue associated with the event in case of
|
|
139
|
+
* provider as Pub/Sub.
|
|
140
|
+
* @property {string} [event_bridge_name] - The name of the event bridge
|
|
141
|
+
* associated with the event in case of provider as AWS event bridge.
|
|
142
|
+
* @property {string} [workflow_name] - The name of the workflow related to the
|
|
143
|
+
* event in case of provider as temporal.
|
|
144
|
+
* @property {string} [detail_type] - The type of detail for the event.
|
|
200
145
|
*/
|
|
201
146
|
/**
|
|
202
147
|
* @typedef SubscriberConfigPostRequestV2
|
|
203
|
-
* @property {string} name
|
|
204
|
-
* @property {string} [
|
|
205
|
-
* @property {string}
|
|
148
|
+
* @property {string} name - The name of the subscriber.
|
|
149
|
+
* @property {string} [type] - The type of the subscriber, which may be null.
|
|
150
|
+
* @property {string} [webhook_url] - The URL for the subscriber's webhook.
|
|
151
|
+
* @property {string} provider - The provider of the subscriber.
|
|
206
152
|
* @property {Association} association
|
|
207
|
-
* @property {Object} [custom_headers]
|
|
153
|
+
* @property {Object} [custom_headers] - Custom headers for the subscriber.
|
|
208
154
|
* @property {SubscriberStatus} status
|
|
209
|
-
* @property {string} email_id
|
|
155
|
+
* @property {string} email_id - The email ID associated with the subscriber.
|
|
210
156
|
* @property {AuthMeta} [auth_meta]
|
|
211
|
-
* @property {Events[]} events
|
|
157
|
+
* @property {Events[]} events - The list of events associated with the subscriber.
|
|
212
158
|
*/
|
|
213
159
|
/**
|
|
214
160
|
* @typedef SubscriberConfigUpdateRequestV2
|
|
215
|
-
* @property {number} id
|
|
216
|
-
* @property {string} [name]
|
|
217
|
-
* @property {string} [
|
|
218
|
-
* @property {string}
|
|
161
|
+
* @property {number} id - The unique identifier of the subscriber to be updated.
|
|
162
|
+
* @property {string} [name] - The name of the subscriber.
|
|
163
|
+
* @property {string} [type] - The type of the subscriber, which may be null.
|
|
164
|
+
* @property {string} [webhook_url] - The URL for the subscriber's webhook.
|
|
165
|
+
* @property {string} provider - The provider of the subscriber.
|
|
219
166
|
* @property {Association} [association]
|
|
220
|
-
* @property {Object} [custom_headers]
|
|
167
|
+
* @property {Object} [custom_headers] - Custom headers for the subscriber.
|
|
221
168
|
* @property {SubscriberStatus} status
|
|
222
|
-
* @property {string} [email_id]
|
|
169
|
+
* @property {string} [email_id] - The email ID associated with the subscriber.
|
|
223
170
|
* @property {AuthMeta} [auth_meta]
|
|
224
|
-
* @property {Events[]} [events]
|
|
171
|
+
* @property {Events[]} [events] - The list of events associated with the subscriber.
|
|
225
172
|
*/
|
|
226
173
|
/**
|
|
227
174
|
* @typedef SubscriberConfigPost
|
|
228
|
-
* @property {string} name
|
|
229
|
-
* @property {string}
|
|
175
|
+
* @property {string} name - The name of the subscriber.
|
|
176
|
+
* @property {string} [type] - The type of the subscriber, which can be null.
|
|
177
|
+
* @property {string} webhook_url - The URL for the subscriber's webhook.
|
|
230
178
|
* @property {Association} association
|
|
231
|
-
* @property {Object} [custom_headers]
|
|
179
|
+
* @property {Object} [custom_headers] - Custom headers for the subscriber.
|
|
232
180
|
* @property {SubscriberStatus} status
|
|
233
|
-
* @property {string} email_id
|
|
181
|
+
* @property {string} email_id - The email ID associated with the subscriber.
|
|
234
182
|
* @property {AuthMeta} [auth_meta]
|
|
235
|
-
* @property {number[]} event_id
|
|
183
|
+
* @property {number[]} event_id - The list of event IDs associated with the subscriber.
|
|
236
184
|
*/
|
|
237
185
|
/**
|
|
238
186
|
* @typedef SubscriberConfigUpdate
|
|
239
|
-
* @property {number} id
|
|
240
|
-
* @property {string} [name]
|
|
241
|
-
* @property {string} [
|
|
187
|
+
* @property {number} id - The unique identifier of the subscriber to be updated.
|
|
188
|
+
* @property {string} [name] - The name of the subscriber.
|
|
189
|
+
* @property {string} [type] - The type of the subscriber, which can be null.
|
|
190
|
+
* @property {string} [webhook_url] - The URL for the subscriber's webhook.
|
|
242
191
|
* @property {Association} [association]
|
|
243
|
-
* @property {Object} [custom_headers]
|
|
192
|
+
* @property {Object} [custom_headers] - Custom headers for the subscriber.
|
|
244
193
|
* @property {SubscriberStatus} [status]
|
|
245
|
-
* @property {string} [email_id]
|
|
194
|
+
* @property {string} [email_id] - The email ID associated with the subscriber.
|
|
246
195
|
* @property {AuthMeta} [auth_meta]
|
|
247
|
-
* @property {number[]} event_id
|
|
196
|
+
* @property {number[]} event_id - The list of event IDs associated with the subscriber.
|
|
248
197
|
*/
|
|
249
198
|
/**
|
|
250
|
-
* @typedef
|
|
251
|
-
* @property {number} [id]
|
|
252
|
-
* @property {string} [modified_by]
|
|
253
|
-
*
|
|
254
|
-
* @property {string} [
|
|
255
|
-
* @property {string} [
|
|
199
|
+
* @typedef SubscriberConfigResult
|
|
200
|
+
* @property {number} [id] - The unique identifier of the subscriber configuration.
|
|
201
|
+
* @property {string} [modified_by] - The identifier of the user who last
|
|
202
|
+
* modified the subscriber configuration.
|
|
203
|
+
* @property {string} [name] - The name of the subscriber.
|
|
204
|
+
* @property {string} [webhook_url] - The URL for the subscriber's webhook.
|
|
205
|
+
* @property {string} [provider] - The provider of the subscriber.
|
|
256
206
|
* @property {AssociationResp} [association]
|
|
257
|
-
* @property {Object} [custom_headers]
|
|
207
|
+
* @property {Object} [custom_headers] - Custom headers for the subscriber.
|
|
258
208
|
* @property {SubscriberStatus} [status]
|
|
259
|
-
* @property {string} [
|
|
260
|
-
* @property {string} [
|
|
261
|
-
* @property {string} [
|
|
262
|
-
*
|
|
209
|
+
* @property {string} [source] - Source that subscriber belongs to.
|
|
210
|
+
* @property {string} [email_id] - The email ID associated with the subscriber.
|
|
211
|
+
* @property {string} [updated_on] - The date and time when the subscriber was
|
|
212
|
+
* last updated.
|
|
213
|
+
* @property {string} [created_on] - The date and time when the subscriber was created.
|
|
214
|
+
* @property {string} [type] - The type of the subscriber, which can be null.
|
|
263
215
|
* @property {AuthMeta} [auth_meta]
|
|
264
|
-
* @property {number[]} [event_id]
|
|
216
|
+
* @property {number[]} [event_id] - The list of event IDs associated with the subscriber.
|
|
265
217
|
*/
|
|
266
218
|
/**
|
|
267
219
|
* @typedef SubscriberConfigList
|
|
268
|
-
* @property {
|
|
220
|
+
* @property {SubscriberDetails[]} [items] - List of subscriber details.
|
|
269
221
|
* @property {Page} [page]
|
|
270
222
|
*/
|
|
223
|
+
/**
|
|
224
|
+
* @typedef RestEventData
|
|
225
|
+
* @property {string} event_category - The category of the event.
|
|
226
|
+
* @property {string} event_name - The name of the event.
|
|
227
|
+
* @property {string} event_type - The type of the event.
|
|
228
|
+
* @property {number} version - The version number of the event.
|
|
229
|
+
*/
|
|
230
|
+
/**
|
|
231
|
+
* @typedef RestConfig
|
|
232
|
+
* @property {string} webhook_url - The URL for the webhook.
|
|
233
|
+
* @property {string} type - The type of the configuration.
|
|
234
|
+
* @property {Object} [custom_headers] - Custom headers for the configuration.
|
|
235
|
+
* @property {AuthMeta} [auth_meta]
|
|
236
|
+
* @property {RestEventData[]} events - List of event data for configuration.
|
|
237
|
+
*/
|
|
238
|
+
/**
|
|
239
|
+
* @typedef QueueEventData
|
|
240
|
+
* @property {string} event_category - The category of the event.
|
|
241
|
+
* @property {string} event_name - The name of the event.
|
|
242
|
+
* @property {string} event_type - The type of the event.
|
|
243
|
+
* @property {number} version - The version number of the event.
|
|
244
|
+
* @property {string} topic - The topic associated with the event.
|
|
245
|
+
*/
|
|
246
|
+
/**
|
|
247
|
+
* @typedef KafkaConfig
|
|
248
|
+
* @property {string} [type] - Type of Kafka configuration (optional).
|
|
249
|
+
* @property {QueueEventData[]} events - List of event data for configuration.
|
|
250
|
+
*/
|
|
251
|
+
/**
|
|
252
|
+
* @typedef PubSubConfig
|
|
253
|
+
* @property {string} [type] - Type of Pub/Sub configuration (optional).
|
|
254
|
+
* @property {QueueEventData[]} events - List of event data for configuration.
|
|
255
|
+
*/
|
|
256
|
+
/**
|
|
257
|
+
* @typedef TemporalEventData
|
|
258
|
+
* @property {string} event_category - The category of the event.
|
|
259
|
+
* @property {string} event_name - The name of the event.
|
|
260
|
+
* @property {string} event_type - The type of the event.
|
|
261
|
+
* @property {number} version - The version number of the event.
|
|
262
|
+
* @property {string} [queue] - The queue associated with the event.
|
|
263
|
+
* @property {string} [workflow_name] - The workflow name related to the event.
|
|
264
|
+
*/
|
|
265
|
+
/**
|
|
266
|
+
* @typedef TemporalConfig
|
|
267
|
+
* @property {string} [type] - Type of Temporal configuration (optional).
|
|
268
|
+
* @property {TemporalEventData[]} events - List of event data for configuration.
|
|
269
|
+
*/
|
|
270
|
+
/**
|
|
271
|
+
* @typedef SqsEventData
|
|
272
|
+
* @property {string} event_category - The category of the event.
|
|
273
|
+
* @property {string} event_name - The name of the event.
|
|
274
|
+
* @property {string} event_type - The type of the event.
|
|
275
|
+
* @property {number} version - The version number of the event.
|
|
276
|
+
* @property {string} [queue] - The queue name associated with the event in SQS.
|
|
277
|
+
*/
|
|
278
|
+
/**
|
|
279
|
+
* @typedef SqsConfig
|
|
280
|
+
* @property {string} [type] - Type of SQS configuration (optional).
|
|
281
|
+
* @property {SqsEventData[]} events - List of event data for configuration.
|
|
282
|
+
*/
|
|
283
|
+
/**
|
|
284
|
+
* @typedef EventBridgeData
|
|
285
|
+
* @property {string} event_category - The category of the event.
|
|
286
|
+
* @property {string} event_name - The name of the event.
|
|
287
|
+
* @property {string} event_type - The type of the event.
|
|
288
|
+
* @property {number} version - The version number of the event.
|
|
289
|
+
* @property {string} [event_bridge_name] - The name of the event bridge related
|
|
290
|
+
* to the event.
|
|
291
|
+
*/
|
|
292
|
+
/**
|
|
293
|
+
* @typedef EventBridgeConfig
|
|
294
|
+
* @property {string} [type] - Type of event configuration (optional).
|
|
295
|
+
* @property {EventBridgeData[]} events - List of event data for EventBridge
|
|
296
|
+
* configuration.
|
|
297
|
+
*/
|
|
298
|
+
/**
|
|
299
|
+
* @typedef EventMapBody
|
|
300
|
+
* @property {RestConfig} [rest]
|
|
301
|
+
* @property {KafkaConfig} [kafka]
|
|
302
|
+
* @property {PubSubConfig} [pub_sub]
|
|
303
|
+
* @property {TemporalConfig} [temporal]
|
|
304
|
+
* @property {SqsConfig} [sqs]
|
|
305
|
+
* @property {EventBridgeConfig} [event_bridge]
|
|
306
|
+
*/
|
|
307
|
+
/**
|
|
308
|
+
* @typedef WebhookConfig
|
|
309
|
+
* @property {string} [notification_email] - The email address for notifications.
|
|
310
|
+
* @property {string} [name] - The name of the webhook configuration.
|
|
311
|
+
* @property {string} [status] - The status of the webhook (e.g., active or inactive).
|
|
312
|
+
* @property {Association} [association]
|
|
313
|
+
* @property {EventMapBody} [event_map]
|
|
314
|
+
*/
|
|
315
|
+
/**
|
|
316
|
+
* @typedef UpsertSubscriberConfig
|
|
317
|
+
* @property {WebhookConfig} webhook_config
|
|
318
|
+
*/
|
|
319
|
+
/**
|
|
320
|
+
* @typedef UpsertSubscriberConfigResult
|
|
321
|
+
* @property {boolean} [status] - The status of the upsert operation (e.g.,
|
|
322
|
+
* success or failure).
|
|
323
|
+
* @property {string} [message] - A message providing details about the upsert
|
|
324
|
+
* operation result.
|
|
325
|
+
*/
|
|
271
326
|
/** @typedef {"active" | "inactive"} SubscriberStatus */
|
|
272
327
|
declare class WebhookPlatformModel {
|
|
273
328
|
}
|
|
274
329
|
declare namespace WebhookPlatformModel {
|
|
275
|
-
export {
|
|
330
|
+
export { Page, BroadcasterConfig, SubscriberEventMapping, FilterSchema, EventConfig, EventConfigResult, Association, AssociationResp, AuthMeta, SubscriberDetails, Events, SubscriberConfigPostRequestV2, SubscriberConfigUpdateRequestV2, SubscriberConfigPost, SubscriberConfigUpdate, SubscriberConfigResult, SubscriberConfigList, RestEventData, RestConfig, QueueEventData, KafkaConfig, PubSubConfig, TemporalEventData, TemporalConfig, SqsEventData, SqsConfig, EventBridgeData, EventBridgeConfig, EventMapBody, WebhookConfig, UpsertSubscriberConfig, UpsertSubscriberConfigResult, SubscriberStatus };
|
|
276
331
|
}
|
|
277
|
-
/** @returns {Event} */
|
|
278
|
-
declare function Event(): Event;
|
|
279
|
-
type Event = {
|
|
280
|
-
event_name?: string;
|
|
281
|
-
event_type?: string;
|
|
282
|
-
event_category?: string;
|
|
283
|
-
version?: string;
|
|
284
|
-
};
|
|
285
|
-
/** @returns {EventProcessRequest} */
|
|
286
|
-
declare function EventProcessRequest(): EventProcessRequest;
|
|
287
|
-
type EventProcessRequest = {
|
|
288
|
-
search_text?: string;
|
|
289
|
-
end_date: string;
|
|
290
|
-
start_date: string;
|
|
291
|
-
subscriber_ids?: number[];
|
|
292
|
-
status?: string;
|
|
293
|
-
event?: Event[];
|
|
294
|
-
};
|
|
295
|
-
/** @returns {DownloadReportResponse} */
|
|
296
|
-
declare function DownloadReportResponse(): DownloadReportResponse;
|
|
297
|
-
type DownloadReportResponse = {
|
|
298
|
-
file_name?: string;
|
|
299
|
-
};
|
|
300
|
-
/** @returns {EventProcessReports} */
|
|
301
|
-
declare function EventProcessReports(): EventProcessReports;
|
|
302
|
-
type EventProcessReports = {
|
|
303
|
-
rows?: EventProcessReportObject[];
|
|
304
|
-
page?: Page;
|
|
305
|
-
};
|
|
306
|
-
/** @returns {EventProcessReportObject} */
|
|
307
|
-
declare function EventProcessReportObject(): EventProcessReportObject;
|
|
308
|
-
type EventProcessReportObject = {
|
|
309
|
-
/**
|
|
310
|
-
* - The name of the processed event.
|
|
311
|
-
*/
|
|
312
|
-
event_name?: string;
|
|
313
|
-
/**
|
|
314
|
-
* - The response code of the event.
|
|
315
|
-
*/
|
|
316
|
-
response_code?: number;
|
|
317
|
-
/**
|
|
318
|
-
* - The response message of the event.
|
|
319
|
-
*/
|
|
320
|
-
response_message?: string;
|
|
321
|
-
/**
|
|
322
|
-
* - The data associated with the event.
|
|
323
|
-
*/
|
|
324
|
-
data?: string;
|
|
325
|
-
/**
|
|
326
|
-
* - The attempt number of the event.
|
|
327
|
-
*/
|
|
328
|
-
attempt?: number;
|
|
329
|
-
/**
|
|
330
|
-
* - The timestamp of the last attempted event.
|
|
331
|
-
*/
|
|
332
|
-
last_attempted_on?: number;
|
|
333
|
-
/**
|
|
334
|
-
* - The status of the event (e.g., "FAILED").
|
|
335
|
-
*/
|
|
336
|
-
status?: string;
|
|
337
|
-
/**
|
|
338
|
-
* - The name of the event.
|
|
339
|
-
*/
|
|
340
|
-
name?: string;
|
|
341
|
-
/**
|
|
342
|
-
* - The webhook URL associated with the event.
|
|
343
|
-
*/
|
|
344
|
-
webhook_url?: string;
|
|
345
|
-
/**
|
|
346
|
-
* - The response time of the event.
|
|
347
|
-
*/
|
|
348
|
-
response_time?: number;
|
|
349
|
-
message_id?: string;
|
|
350
|
-
event_trace_id?: string;
|
|
351
|
-
};
|
|
352
332
|
/** @returns {Page} */
|
|
353
333
|
declare function Page(): Page;
|
|
354
334
|
type Page = {
|
|
355
335
|
/**
|
|
356
|
-
* - The total number of items
|
|
336
|
+
* - The total number of all items across all pages.
|
|
357
337
|
*/
|
|
358
338
|
item_total?: number;
|
|
359
339
|
/**
|
|
@@ -373,335 +353,794 @@ type Page = {
|
|
|
373
353
|
*/
|
|
374
354
|
current?: number;
|
|
375
355
|
/**
|
|
376
|
-
* - The type of the page,
|
|
356
|
+
* - The type of the page, can be 'cursor' or 'number'.
|
|
377
357
|
*/
|
|
378
358
|
type: string;
|
|
379
359
|
/**
|
|
380
360
|
* - The number of items per page.
|
|
381
361
|
*/
|
|
382
362
|
size?: number;
|
|
363
|
+
/**
|
|
364
|
+
* - The number of items per page.
|
|
365
|
+
*/
|
|
366
|
+
page_size?: number;
|
|
383
367
|
};
|
|
384
|
-
/** @returns {
|
|
385
|
-
declare function
|
|
386
|
-
type
|
|
368
|
+
/** @returns {BroadcasterConfig} */
|
|
369
|
+
declare function BroadcasterConfig(): BroadcasterConfig;
|
|
370
|
+
type BroadcasterConfig = {
|
|
387
371
|
/**
|
|
388
|
-
* - The
|
|
372
|
+
* - The name of the topic for the broadcaster configuration.
|
|
389
373
|
*/
|
|
390
|
-
|
|
374
|
+
topic?: string;
|
|
391
375
|
/**
|
|
392
|
-
* -
|
|
393
|
-
* subscriber).
|
|
376
|
+
* - The name of the queue for the broadcaster configuration.
|
|
394
377
|
*/
|
|
395
|
-
|
|
378
|
+
queue?: string;
|
|
396
379
|
/**
|
|
397
|
-
* -
|
|
380
|
+
* - The name of the event bridge
|
|
381
|
+
* associated with the broadcaster.
|
|
398
382
|
*/
|
|
399
|
-
|
|
400
|
-
};
|
|
401
|
-
/** @returns {PingWebhookResponse} */
|
|
402
|
-
declare function PingWebhookResponse(): PingWebhookResponse;
|
|
403
|
-
type PingWebhookResponse = {
|
|
383
|
+
event_bridge_name?: string;
|
|
404
384
|
/**
|
|
405
|
-
* - The
|
|
385
|
+
* - The name of the workflow related to the
|
|
386
|
+
* broadcaster.
|
|
406
387
|
*/
|
|
407
|
-
|
|
388
|
+
workflow_name?: string;
|
|
408
389
|
/**
|
|
409
|
-
* -
|
|
390
|
+
* - The account ID associated with the broadcaster.
|
|
410
391
|
*/
|
|
411
|
-
|
|
392
|
+
account_id?: string;
|
|
412
393
|
/**
|
|
413
|
-
* - The
|
|
394
|
+
* - The type of detail for the broadcaster
|
|
395
|
+
* configuration.
|
|
414
396
|
*/
|
|
415
|
-
|
|
397
|
+
detail_type?: string;
|
|
416
398
|
};
|
|
417
399
|
/** @returns {SubscriberEventMapping} */
|
|
418
400
|
declare function SubscriberEventMapping(): SubscriberEventMapping;
|
|
419
401
|
type SubscriberEventMapping = {
|
|
402
|
+
/**
|
|
403
|
+
* - The unique identifier for the subscriber event mapping.
|
|
404
|
+
*/
|
|
420
405
|
id?: number;
|
|
406
|
+
/**
|
|
407
|
+
* - The ID of the event associated with the subscriber.
|
|
408
|
+
*/
|
|
421
409
|
event_id?: number;
|
|
410
|
+
/**
|
|
411
|
+
* - The ID of the subscriber.
|
|
412
|
+
*/
|
|
422
413
|
subscriber_id?: number;
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
display_name?: string;
|
|
438
|
-
description?: string;
|
|
414
|
+
filters?: FilterSchema;
|
|
415
|
+
/**
|
|
416
|
+
* - The reducer property allows users to customize
|
|
417
|
+
* the JSON structure of the webhook payload using JSONPath queries. They can
|
|
418
|
+
* also create new properties by mapping existing ones. Note that it overrides
|
|
419
|
+
* the entire JSON structure of the webhook payload sent via the webhook. See
|
|
420
|
+
* the partner documentation's filter and reducer section for details.
|
|
421
|
+
*/
|
|
422
|
+
reducer?: any;
|
|
423
|
+
broadcaster_config?: BroadcasterConfig;
|
|
424
|
+
/**
|
|
425
|
+
* - The date and time when the subscriber event
|
|
426
|
+
* mapping was created.
|
|
427
|
+
*/
|
|
439
428
|
created_on?: string;
|
|
440
|
-
updated_on?: string;
|
|
441
|
-
};
|
|
442
|
-
/** @returns {EventConfigResponse} */
|
|
443
|
-
declare function EventConfigResponse(): EventConfigResponse;
|
|
444
|
-
type EventConfigResponse = {
|
|
445
|
-
event_configs?: EventConfig[];
|
|
446
429
|
};
|
|
447
|
-
/** @returns {
|
|
448
|
-
declare function
|
|
449
|
-
type
|
|
430
|
+
/** @returns {FilterSchema} */
|
|
431
|
+
declare function FilterSchema(): FilterSchema;
|
|
432
|
+
type FilterSchema = {
|
|
450
433
|
/**
|
|
451
|
-
* -
|
|
452
|
-
*
|
|
434
|
+
* - JSONPath expression that specifies the property
|
|
435
|
+
* in the webhook payload to filter on. This enables targeting specific data
|
|
436
|
+
* within the payload.
|
|
453
437
|
*/
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
438
|
+
query?: string;
|
|
439
|
+
/**
|
|
440
|
+
* - JavaScript function used to evaluate the
|
|
441
|
+
* specified property in the webhook payload against a condition. This
|
|
442
|
+
* function determines whether the filter passes based on its return value.
|
|
443
|
+
*/
|
|
444
|
+
condition?: string;
|
|
445
|
+
/**
|
|
446
|
+
* - Logical operator used to combine multiple
|
|
447
|
+
* conditions in the `conditions` array. Supported values are `AND` and `OR`.
|
|
448
|
+
*/
|
|
449
|
+
logic?: string;
|
|
459
450
|
/**
|
|
460
|
-
* -
|
|
451
|
+
* - An array of filter objects to be
|
|
452
|
+
* evaluated using the specified logical operator. This array will contain
|
|
453
|
+
* more filters including a combination of single condition mode and logical
|
|
454
|
+
* group mode filters.
|
|
461
455
|
*/
|
|
462
|
-
|
|
463
|
-
values?: any[];
|
|
456
|
+
conditions?: any[];
|
|
464
457
|
};
|
|
465
|
-
/** @returns {
|
|
466
|
-
declare function
|
|
467
|
-
type
|
|
458
|
+
/** @returns {EventConfig} */
|
|
459
|
+
declare function EventConfig(): EventConfig;
|
|
460
|
+
type EventConfig = {
|
|
468
461
|
/**
|
|
469
|
-
* - The
|
|
462
|
+
* - The unique identifier for the event configuration.
|
|
470
463
|
*/
|
|
471
|
-
|
|
464
|
+
id?: number;
|
|
472
465
|
/**
|
|
473
|
-
* - The
|
|
466
|
+
* - The type of event configuration, which may be null.
|
|
474
467
|
*/
|
|
475
|
-
|
|
468
|
+
type?: string;
|
|
476
469
|
/**
|
|
477
|
-
* - The
|
|
470
|
+
* - The name of the event.
|
|
478
471
|
*/
|
|
479
|
-
|
|
480
|
-
};
|
|
481
|
-
/** @returns {HistoryFilters} */
|
|
482
|
-
declare function HistoryFilters(): HistoryFilters;
|
|
483
|
-
type HistoryFilters = {
|
|
484
|
-
events?: string[];
|
|
485
|
-
search_text?: string;
|
|
472
|
+
event_name?: string;
|
|
486
473
|
/**
|
|
487
|
-
* - The
|
|
474
|
+
* - The type of the event.
|
|
488
475
|
*/
|
|
489
|
-
|
|
476
|
+
event_type?: string;
|
|
490
477
|
/**
|
|
491
|
-
* - The
|
|
478
|
+
* - The category of the event.
|
|
492
479
|
*/
|
|
493
|
-
|
|
480
|
+
event_category?: string;
|
|
494
481
|
/**
|
|
495
|
-
* - The
|
|
482
|
+
* - The identifier of the user who last
|
|
483
|
+
* modified the event configuration.
|
|
496
484
|
*/
|
|
497
|
-
|
|
485
|
+
modified_by?: string;
|
|
486
|
+
subscriber_event_mapping?: SubscriberEventMapping;
|
|
498
487
|
/**
|
|
499
|
-
* -
|
|
500
|
-
*
|
|
488
|
+
* - The schema for the event, allowing for
|
|
489
|
+
* additional properties and may be null.
|
|
501
490
|
*/
|
|
502
|
-
|
|
491
|
+
event_schema?: any;
|
|
503
492
|
/**
|
|
504
|
-
* -
|
|
505
|
-
*
|
|
493
|
+
* - The date and time after which the event is
|
|
494
|
+
* considered sunset. After this timestamp, the entity should no longer be
|
|
495
|
+
* actively used, referenced, or offered for new operations, even if it still exists.
|
|
506
496
|
*/
|
|
507
|
-
|
|
508
|
-
};
|
|
509
|
-
/** @returns {Url} */
|
|
510
|
-
declare function Url(): Url;
|
|
511
|
-
type Url = {
|
|
497
|
+
sunset_date?: string;
|
|
512
498
|
/**
|
|
513
|
-
* - The
|
|
499
|
+
* - The date and time when the
|
|
500
|
+
* deprecation of the event is officially announced. This marks the start of
|
|
501
|
+
* the deprecation notice period and indicates that the entity is planned to
|
|
502
|
+
* be retired in the future, but may still remain available until the sunset date.
|
|
514
503
|
*/
|
|
515
|
-
|
|
504
|
+
announcement_date?: string;
|
|
516
505
|
/**
|
|
517
|
-
* - The
|
|
506
|
+
* - The date and time after which
|
|
507
|
+
* official support for the event ends. Beyond this point, no guarantees are
|
|
508
|
+
* made for maintenance, updates, fixes, or issue resolution.
|
|
518
509
|
*/
|
|
519
|
-
|
|
520
|
-
};
|
|
521
|
-
/** @returns {CdnObject} */
|
|
522
|
-
declare function CdnObject(): CdnObject;
|
|
523
|
-
type CdnObject = {
|
|
524
|
-
urls?: Url[];
|
|
525
|
-
};
|
|
526
|
-
/** @returns {UploadServiceObject} */
|
|
527
|
-
declare function UploadServiceObject(): UploadServiceObject;
|
|
528
|
-
type UploadServiceObject = {
|
|
529
|
-
cdn?: CdnObject;
|
|
530
|
-
};
|
|
531
|
-
/** @returns {HistoryAssociation} */
|
|
532
|
-
declare function HistoryAssociation(): HistoryAssociation;
|
|
533
|
-
type HistoryAssociation = {
|
|
534
|
-
company_id?: number;
|
|
535
|
-
subscriber_ids?: number[];
|
|
536
|
-
};
|
|
537
|
-
/** @returns {HistoryItems} */
|
|
538
|
-
declare function HistoryItems(): HistoryItems;
|
|
539
|
-
type HistoryItems = {
|
|
510
|
+
support_end_date?: string;
|
|
540
511
|
/**
|
|
541
|
-
* - The
|
|
512
|
+
* - The group associated with the event
|
|
513
|
+
* configuration, which may be null.
|
|
542
514
|
*/
|
|
543
|
-
|
|
544
|
-
association?: HistoryAssociation;
|
|
545
|
-
filters?: HistoryFilters;
|
|
515
|
+
group?: string;
|
|
546
516
|
/**
|
|
547
|
-
* - The
|
|
517
|
+
* - The version of the event configuration.
|
|
548
518
|
*/
|
|
549
|
-
|
|
519
|
+
version?: string;
|
|
550
520
|
/**
|
|
551
|
-
* - The
|
|
521
|
+
* - The display name of the event configuration.
|
|
552
522
|
*/
|
|
553
|
-
|
|
554
|
-
upload_service_response?: UploadServiceObject;
|
|
523
|
+
display_name?: string;
|
|
555
524
|
/**
|
|
556
|
-
* -
|
|
557
|
-
*
|
|
525
|
+
* - A description of the event configuration,
|
|
526
|
+
* which may be null.
|
|
558
527
|
*/
|
|
559
|
-
|
|
528
|
+
description?: string;
|
|
560
529
|
/**
|
|
561
|
-
* - The date and time when the
|
|
562
|
-
* was
|
|
530
|
+
* - The date and time when the event
|
|
531
|
+
* configuration was created.
|
|
563
532
|
*/
|
|
564
|
-
|
|
533
|
+
created_on?: string;
|
|
565
534
|
/**
|
|
566
|
-
* -
|
|
535
|
+
* - The date and time when the event
|
|
536
|
+
* configuration was last updated.
|
|
567
537
|
*/
|
|
568
|
-
|
|
569
|
-
};
|
|
570
|
-
/** @returns {HistoryResponse} */
|
|
571
|
-
declare function HistoryResponse(): HistoryResponse;
|
|
572
|
-
type HistoryResponse = {
|
|
573
|
-
items?: HistoryItems[];
|
|
574
|
-
page?: Page;
|
|
538
|
+
updated_on?: string;
|
|
575
539
|
};
|
|
576
|
-
/** @returns {
|
|
577
|
-
declare function
|
|
578
|
-
type
|
|
540
|
+
/** @returns {EventConfigResult} */
|
|
541
|
+
declare function EventConfigResult(): EventConfigResult;
|
|
542
|
+
type EventConfigResult = {
|
|
579
543
|
/**
|
|
580
|
-
* -
|
|
544
|
+
* - List of event configurations.
|
|
581
545
|
*/
|
|
582
|
-
|
|
546
|
+
event_configs?: EventConfig[];
|
|
583
547
|
};
|
|
584
548
|
/** @returns {Association} */
|
|
585
549
|
declare function Association(): Association;
|
|
586
550
|
type Association = {
|
|
551
|
+
/**
|
|
552
|
+
* - A list of application IDs associated
|
|
553
|
+
* with the association.
|
|
554
|
+
*/
|
|
587
555
|
application_id?: string[];
|
|
556
|
+
/**
|
|
557
|
+
* - The extension ID associated with the association.
|
|
558
|
+
*/
|
|
588
559
|
extension_id?: string;
|
|
560
|
+
/**
|
|
561
|
+
* - The criteria for the association, such as
|
|
562
|
+
* "ALL", "EMPTY", or "SPECIFIC-EVENTS".
|
|
563
|
+
*/
|
|
589
564
|
criteria?: string;
|
|
590
565
|
};
|
|
591
566
|
/** @returns {AssociationResp} */
|
|
592
567
|
declare function AssociationResp(): AssociationResp;
|
|
593
568
|
type AssociationResp = {
|
|
569
|
+
/**
|
|
570
|
+
* - The ID of the company associated with the response.
|
|
571
|
+
*/
|
|
594
572
|
company_id?: number;
|
|
573
|
+
/**
|
|
574
|
+
* - A list of application IDs associated
|
|
575
|
+
* with the response.
|
|
576
|
+
*/
|
|
595
577
|
application_id?: string[];
|
|
578
|
+
/**
|
|
579
|
+
* - The extension ID associated with the response.
|
|
580
|
+
*/
|
|
596
581
|
extension_id?: string;
|
|
582
|
+
/**
|
|
583
|
+
* - The criteria for the response, such as "ALL",
|
|
584
|
+
* "EMPTY", or "SPECIFIC-EVENTS".
|
|
585
|
+
*/
|
|
597
586
|
criteria?: string;
|
|
598
587
|
};
|
|
599
588
|
/** @returns {AuthMeta} */
|
|
600
589
|
declare function AuthMeta(): AuthMeta;
|
|
601
590
|
type AuthMeta = {
|
|
591
|
+
/**
|
|
592
|
+
* - The type of authentication method used.
|
|
593
|
+
*/
|
|
602
594
|
type?: string;
|
|
595
|
+
/**
|
|
596
|
+
* - The secret key or token used for authentication.
|
|
597
|
+
*/
|
|
603
598
|
secret?: string;
|
|
604
599
|
};
|
|
605
|
-
/** @returns {
|
|
606
|
-
declare function
|
|
607
|
-
type
|
|
600
|
+
/** @returns {SubscriberDetails} */
|
|
601
|
+
declare function SubscriberDetails(): SubscriberDetails;
|
|
602
|
+
type SubscriberDetails = {
|
|
603
|
+
/**
|
|
604
|
+
* - The unique identifier of the subscriber.
|
|
605
|
+
*/
|
|
608
606
|
id?: number;
|
|
607
|
+
/**
|
|
608
|
+
* - The identifier of the user who last
|
|
609
|
+
* modified the subscriber details.
|
|
610
|
+
*/
|
|
609
611
|
modified_by?: string;
|
|
612
|
+
/**
|
|
613
|
+
* - The name of the subscriber.
|
|
614
|
+
*/
|
|
610
615
|
name?: string;
|
|
616
|
+
/**
|
|
617
|
+
* - The provider of the subscriber.
|
|
618
|
+
*/
|
|
611
619
|
provider?: string;
|
|
620
|
+
/**
|
|
621
|
+
* - The URL for the subscriber's webhook.
|
|
622
|
+
*/
|
|
612
623
|
webhook_url?: string;
|
|
624
|
+
/**
|
|
625
|
+
* - Source that subscriber belongs to.
|
|
626
|
+
*/
|
|
627
|
+
source?: string;
|
|
613
628
|
association?: AssociationResp;
|
|
629
|
+
/**
|
|
630
|
+
* - Custom headers for the subscriber.
|
|
631
|
+
*/
|
|
614
632
|
custom_headers?: any;
|
|
615
633
|
status?: SubscriberStatus;
|
|
634
|
+
/**
|
|
635
|
+
* - The email ID associated with the subscriber.
|
|
636
|
+
*/
|
|
616
637
|
email_id?: string;
|
|
638
|
+
/**
|
|
639
|
+
* - The date and time when the subscriber
|
|
640
|
+
* details were last updated.
|
|
641
|
+
*/
|
|
617
642
|
updated_on?: string;
|
|
643
|
+
/**
|
|
644
|
+
* - The date and time when the subscriber was created.
|
|
645
|
+
*/
|
|
618
646
|
created_on?: string;
|
|
647
|
+
/**
|
|
648
|
+
* - The type of subscriber, which can either be passed as null.
|
|
649
|
+
*/
|
|
619
650
|
type?: string;
|
|
620
651
|
auth_meta?: AuthMeta;
|
|
652
|
+
/**
|
|
653
|
+
* - List of event configurations.
|
|
654
|
+
*/
|
|
621
655
|
event_configs?: EventConfig[];
|
|
622
656
|
};
|
|
623
657
|
/** @returns {Events} */
|
|
624
658
|
declare function Events(): Events;
|
|
625
659
|
type Events = {
|
|
660
|
+
/**
|
|
661
|
+
* - The slug or identifier for the event.
|
|
662
|
+
*/
|
|
626
663
|
slug?: string;
|
|
664
|
+
/**
|
|
665
|
+
* - The topic associated with the event.
|
|
666
|
+
*/
|
|
627
667
|
topic?: string;
|
|
668
|
+
/**
|
|
669
|
+
* - The queue associated with the event in case of
|
|
670
|
+
* provider as Pub/Sub.
|
|
671
|
+
*/
|
|
672
|
+
queue?: string;
|
|
673
|
+
/**
|
|
674
|
+
* - The name of the event bridge
|
|
675
|
+
* associated with the event in case of provider as AWS event bridge.
|
|
676
|
+
*/
|
|
677
|
+
event_bridge_name?: string;
|
|
678
|
+
/**
|
|
679
|
+
* - The name of the workflow related to the
|
|
680
|
+
* event in case of provider as temporal.
|
|
681
|
+
*/
|
|
682
|
+
workflow_name?: string;
|
|
683
|
+
/**
|
|
684
|
+
* - The type of detail for the event.
|
|
685
|
+
*/
|
|
686
|
+
detail_type?: string;
|
|
628
687
|
};
|
|
629
688
|
/** @returns {SubscriberConfigPostRequestV2} */
|
|
630
689
|
declare function SubscriberConfigPostRequestV2(): SubscriberConfigPostRequestV2;
|
|
631
690
|
type SubscriberConfigPostRequestV2 = {
|
|
691
|
+
/**
|
|
692
|
+
* - The name of the subscriber.
|
|
693
|
+
*/
|
|
632
694
|
name: string;
|
|
695
|
+
/**
|
|
696
|
+
* - The type of the subscriber, which may be null.
|
|
697
|
+
*/
|
|
698
|
+
type?: string;
|
|
699
|
+
/**
|
|
700
|
+
* - The URL for the subscriber's webhook.
|
|
701
|
+
*/
|
|
633
702
|
webhook_url?: string;
|
|
703
|
+
/**
|
|
704
|
+
* - The provider of the subscriber.
|
|
705
|
+
*/
|
|
634
706
|
provider: string;
|
|
635
707
|
association: Association;
|
|
708
|
+
/**
|
|
709
|
+
* - Custom headers for the subscriber.
|
|
710
|
+
*/
|
|
636
711
|
custom_headers?: any;
|
|
637
712
|
status: SubscriberStatus;
|
|
713
|
+
/**
|
|
714
|
+
* - The email ID associated with the subscriber.
|
|
715
|
+
*/
|
|
638
716
|
email_id: string;
|
|
639
717
|
auth_meta?: AuthMeta;
|
|
718
|
+
/**
|
|
719
|
+
* - The list of events associated with the subscriber.
|
|
720
|
+
*/
|
|
640
721
|
events: Events[];
|
|
641
722
|
};
|
|
642
723
|
/** @returns {SubscriberConfigUpdateRequestV2} */
|
|
643
724
|
declare function SubscriberConfigUpdateRequestV2(): SubscriberConfigUpdateRequestV2;
|
|
644
725
|
type SubscriberConfigUpdateRequestV2 = {
|
|
726
|
+
/**
|
|
727
|
+
* - The unique identifier of the subscriber to be updated.
|
|
728
|
+
*/
|
|
645
729
|
id: number;
|
|
730
|
+
/**
|
|
731
|
+
* - The name of the subscriber.
|
|
732
|
+
*/
|
|
646
733
|
name?: string;
|
|
734
|
+
/**
|
|
735
|
+
* - The type of the subscriber, which may be null.
|
|
736
|
+
*/
|
|
737
|
+
type?: string;
|
|
738
|
+
/**
|
|
739
|
+
* - The URL for the subscriber's webhook.
|
|
740
|
+
*/
|
|
647
741
|
webhook_url?: string;
|
|
742
|
+
/**
|
|
743
|
+
* - The provider of the subscriber.
|
|
744
|
+
*/
|
|
648
745
|
provider: string;
|
|
649
746
|
association?: Association;
|
|
747
|
+
/**
|
|
748
|
+
* - Custom headers for the subscriber.
|
|
749
|
+
*/
|
|
650
750
|
custom_headers?: any;
|
|
651
751
|
status: SubscriberStatus;
|
|
752
|
+
/**
|
|
753
|
+
* - The email ID associated with the subscriber.
|
|
754
|
+
*/
|
|
652
755
|
email_id?: string;
|
|
653
756
|
auth_meta?: AuthMeta;
|
|
757
|
+
/**
|
|
758
|
+
* - The list of events associated with the subscriber.
|
|
759
|
+
*/
|
|
654
760
|
events?: Events[];
|
|
655
761
|
};
|
|
656
762
|
/** @returns {SubscriberConfigPost} */
|
|
657
763
|
declare function SubscriberConfigPost(): SubscriberConfigPost;
|
|
658
764
|
type SubscriberConfigPost = {
|
|
765
|
+
/**
|
|
766
|
+
* - The name of the subscriber.
|
|
767
|
+
*/
|
|
659
768
|
name: string;
|
|
769
|
+
/**
|
|
770
|
+
* - The type of the subscriber, which can be null.
|
|
771
|
+
*/
|
|
772
|
+
type?: string;
|
|
773
|
+
/**
|
|
774
|
+
* - The URL for the subscriber's webhook.
|
|
775
|
+
*/
|
|
660
776
|
webhook_url: string;
|
|
661
777
|
association: Association;
|
|
778
|
+
/**
|
|
779
|
+
* - Custom headers for the subscriber.
|
|
780
|
+
*/
|
|
662
781
|
custom_headers?: any;
|
|
663
782
|
status: SubscriberStatus;
|
|
783
|
+
/**
|
|
784
|
+
* - The email ID associated with the subscriber.
|
|
785
|
+
*/
|
|
664
786
|
email_id: string;
|
|
665
787
|
auth_meta?: AuthMeta;
|
|
788
|
+
/**
|
|
789
|
+
* - The list of event IDs associated with the subscriber.
|
|
790
|
+
*/
|
|
666
791
|
event_id: number[];
|
|
667
792
|
};
|
|
668
793
|
/** @returns {SubscriberConfigUpdate} */
|
|
669
794
|
declare function SubscriberConfigUpdate(): SubscriberConfigUpdate;
|
|
670
795
|
type SubscriberConfigUpdate = {
|
|
796
|
+
/**
|
|
797
|
+
* - The unique identifier of the subscriber to be updated.
|
|
798
|
+
*/
|
|
671
799
|
id: number;
|
|
800
|
+
/**
|
|
801
|
+
* - The name of the subscriber.
|
|
802
|
+
*/
|
|
672
803
|
name?: string;
|
|
804
|
+
/**
|
|
805
|
+
* - The type of the subscriber, which can be null.
|
|
806
|
+
*/
|
|
807
|
+
type?: string;
|
|
808
|
+
/**
|
|
809
|
+
* - The URL for the subscriber's webhook.
|
|
810
|
+
*/
|
|
673
811
|
webhook_url?: string;
|
|
674
812
|
association?: Association;
|
|
813
|
+
/**
|
|
814
|
+
* - Custom headers for the subscriber.
|
|
815
|
+
*/
|
|
675
816
|
custom_headers?: any;
|
|
676
817
|
status?: SubscriberStatus;
|
|
818
|
+
/**
|
|
819
|
+
* - The email ID associated with the subscriber.
|
|
820
|
+
*/
|
|
677
821
|
email_id?: string;
|
|
678
822
|
auth_meta?: AuthMeta;
|
|
823
|
+
/**
|
|
824
|
+
* - The list of event IDs associated with the subscriber.
|
|
825
|
+
*/
|
|
679
826
|
event_id: number[];
|
|
680
827
|
};
|
|
681
|
-
/** @returns {
|
|
682
|
-
declare function
|
|
683
|
-
type
|
|
828
|
+
/** @returns {SubscriberConfigResult} */
|
|
829
|
+
declare function SubscriberConfigResult(): SubscriberConfigResult;
|
|
830
|
+
type SubscriberConfigResult = {
|
|
831
|
+
/**
|
|
832
|
+
* - The unique identifier of the subscriber configuration.
|
|
833
|
+
*/
|
|
684
834
|
id?: number;
|
|
835
|
+
/**
|
|
836
|
+
* - The identifier of the user who last
|
|
837
|
+
* modified the subscriber configuration.
|
|
838
|
+
*/
|
|
685
839
|
modified_by?: string;
|
|
840
|
+
/**
|
|
841
|
+
* - The name of the subscriber.
|
|
842
|
+
*/
|
|
686
843
|
name?: string;
|
|
844
|
+
/**
|
|
845
|
+
* - The URL for the subscriber's webhook.
|
|
846
|
+
*/
|
|
687
847
|
webhook_url?: string;
|
|
848
|
+
/**
|
|
849
|
+
* - The provider of the subscriber.
|
|
850
|
+
*/
|
|
688
851
|
provider?: string;
|
|
689
852
|
association?: AssociationResp;
|
|
853
|
+
/**
|
|
854
|
+
* - Custom headers for the subscriber.
|
|
855
|
+
*/
|
|
690
856
|
custom_headers?: any;
|
|
691
857
|
status?: SubscriberStatus;
|
|
858
|
+
/**
|
|
859
|
+
* - Source that subscriber belongs to.
|
|
860
|
+
*/
|
|
861
|
+
source?: string;
|
|
862
|
+
/**
|
|
863
|
+
* - The email ID associated with the subscriber.
|
|
864
|
+
*/
|
|
692
865
|
email_id?: string;
|
|
866
|
+
/**
|
|
867
|
+
* - The date and time when the subscriber was
|
|
868
|
+
* last updated.
|
|
869
|
+
*/
|
|
693
870
|
updated_on?: string;
|
|
871
|
+
/**
|
|
872
|
+
* - The date and time when the subscriber was created.
|
|
873
|
+
*/
|
|
694
874
|
created_on?: string;
|
|
875
|
+
/**
|
|
876
|
+
* - The type of the subscriber, which can be null.
|
|
877
|
+
*/
|
|
695
878
|
type?: string;
|
|
696
879
|
auth_meta?: AuthMeta;
|
|
880
|
+
/**
|
|
881
|
+
* - The list of event IDs associated with the subscriber.
|
|
882
|
+
*/
|
|
697
883
|
event_id?: number[];
|
|
698
884
|
};
|
|
699
885
|
/** @returns {SubscriberConfigList} */
|
|
700
886
|
declare function SubscriberConfigList(): SubscriberConfigList;
|
|
701
887
|
type SubscriberConfigList = {
|
|
702
|
-
|
|
888
|
+
/**
|
|
889
|
+
* - List of subscriber details.
|
|
890
|
+
*/
|
|
891
|
+
items?: SubscriberDetails[];
|
|
703
892
|
page?: Page;
|
|
704
893
|
};
|
|
894
|
+
/** @returns {RestEventData} */
|
|
895
|
+
declare function RestEventData(): RestEventData;
|
|
896
|
+
type RestEventData = {
|
|
897
|
+
/**
|
|
898
|
+
* - The category of the event.
|
|
899
|
+
*/
|
|
900
|
+
event_category: string;
|
|
901
|
+
/**
|
|
902
|
+
* - The name of the event.
|
|
903
|
+
*/
|
|
904
|
+
event_name: string;
|
|
905
|
+
/**
|
|
906
|
+
* - The type of the event.
|
|
907
|
+
*/
|
|
908
|
+
event_type: string;
|
|
909
|
+
/**
|
|
910
|
+
* - The version number of the event.
|
|
911
|
+
*/
|
|
912
|
+
version: number;
|
|
913
|
+
};
|
|
914
|
+
/** @returns {RestConfig} */
|
|
915
|
+
declare function RestConfig(): RestConfig;
|
|
916
|
+
type RestConfig = {
|
|
917
|
+
/**
|
|
918
|
+
* - The URL for the webhook.
|
|
919
|
+
*/
|
|
920
|
+
webhook_url: string;
|
|
921
|
+
/**
|
|
922
|
+
* - The type of the configuration.
|
|
923
|
+
*/
|
|
924
|
+
type: string;
|
|
925
|
+
/**
|
|
926
|
+
* - Custom headers for the configuration.
|
|
927
|
+
*/
|
|
928
|
+
custom_headers?: any;
|
|
929
|
+
auth_meta?: AuthMeta;
|
|
930
|
+
/**
|
|
931
|
+
* - List of event data for configuration.
|
|
932
|
+
*/
|
|
933
|
+
events: RestEventData[];
|
|
934
|
+
};
|
|
935
|
+
/** @returns {QueueEventData} */
|
|
936
|
+
declare function QueueEventData(): QueueEventData;
|
|
937
|
+
type QueueEventData = {
|
|
938
|
+
/**
|
|
939
|
+
* - The category of the event.
|
|
940
|
+
*/
|
|
941
|
+
event_category: string;
|
|
942
|
+
/**
|
|
943
|
+
* - The name of the event.
|
|
944
|
+
*/
|
|
945
|
+
event_name: string;
|
|
946
|
+
/**
|
|
947
|
+
* - The type of the event.
|
|
948
|
+
*/
|
|
949
|
+
event_type: string;
|
|
950
|
+
/**
|
|
951
|
+
* - The version number of the event.
|
|
952
|
+
*/
|
|
953
|
+
version: number;
|
|
954
|
+
/**
|
|
955
|
+
* - The topic associated with the event.
|
|
956
|
+
*/
|
|
957
|
+
topic: string;
|
|
958
|
+
};
|
|
959
|
+
/** @returns {KafkaConfig} */
|
|
960
|
+
declare function KafkaConfig(): KafkaConfig;
|
|
961
|
+
type KafkaConfig = {
|
|
962
|
+
/**
|
|
963
|
+
* - Type of Kafka configuration (optional).
|
|
964
|
+
*/
|
|
965
|
+
type?: string;
|
|
966
|
+
/**
|
|
967
|
+
* - List of event data for configuration.
|
|
968
|
+
*/
|
|
969
|
+
events: QueueEventData[];
|
|
970
|
+
};
|
|
971
|
+
/** @returns {PubSubConfig} */
|
|
972
|
+
declare function PubSubConfig(): PubSubConfig;
|
|
973
|
+
type PubSubConfig = {
|
|
974
|
+
/**
|
|
975
|
+
* - Type of Pub/Sub configuration (optional).
|
|
976
|
+
*/
|
|
977
|
+
type?: string;
|
|
978
|
+
/**
|
|
979
|
+
* - List of event data for configuration.
|
|
980
|
+
*/
|
|
981
|
+
events: QueueEventData[];
|
|
982
|
+
};
|
|
983
|
+
/** @returns {TemporalEventData} */
|
|
984
|
+
declare function TemporalEventData(): TemporalEventData;
|
|
985
|
+
type TemporalEventData = {
|
|
986
|
+
/**
|
|
987
|
+
* - The category of the event.
|
|
988
|
+
*/
|
|
989
|
+
event_category: string;
|
|
990
|
+
/**
|
|
991
|
+
* - The name of the event.
|
|
992
|
+
*/
|
|
993
|
+
event_name: string;
|
|
994
|
+
/**
|
|
995
|
+
* - The type of the event.
|
|
996
|
+
*/
|
|
997
|
+
event_type: string;
|
|
998
|
+
/**
|
|
999
|
+
* - The version number of the event.
|
|
1000
|
+
*/
|
|
1001
|
+
version: number;
|
|
1002
|
+
/**
|
|
1003
|
+
* - The queue associated with the event.
|
|
1004
|
+
*/
|
|
1005
|
+
queue?: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* - The workflow name related to the event.
|
|
1008
|
+
*/
|
|
1009
|
+
workflow_name?: string;
|
|
1010
|
+
};
|
|
1011
|
+
/** @returns {TemporalConfig} */
|
|
1012
|
+
declare function TemporalConfig(): TemporalConfig;
|
|
1013
|
+
type TemporalConfig = {
|
|
1014
|
+
/**
|
|
1015
|
+
* - Type of Temporal configuration (optional).
|
|
1016
|
+
*/
|
|
1017
|
+
type?: string;
|
|
1018
|
+
/**
|
|
1019
|
+
* - List of event data for configuration.
|
|
1020
|
+
*/
|
|
1021
|
+
events: TemporalEventData[];
|
|
1022
|
+
};
|
|
1023
|
+
/** @returns {SqsEventData} */
|
|
1024
|
+
declare function SqsEventData(): SqsEventData;
|
|
1025
|
+
type SqsEventData = {
|
|
1026
|
+
/**
|
|
1027
|
+
* - The category of the event.
|
|
1028
|
+
*/
|
|
1029
|
+
event_category: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* - The name of the event.
|
|
1032
|
+
*/
|
|
1033
|
+
event_name: string;
|
|
1034
|
+
/**
|
|
1035
|
+
* - The type of the event.
|
|
1036
|
+
*/
|
|
1037
|
+
event_type: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* - The version number of the event.
|
|
1040
|
+
*/
|
|
1041
|
+
version: number;
|
|
1042
|
+
/**
|
|
1043
|
+
* - The queue name associated with the event in SQS.
|
|
1044
|
+
*/
|
|
1045
|
+
queue?: string;
|
|
1046
|
+
};
|
|
1047
|
+
/** @returns {SqsConfig} */
|
|
1048
|
+
declare function SqsConfig(): SqsConfig;
|
|
1049
|
+
type SqsConfig = {
|
|
1050
|
+
/**
|
|
1051
|
+
* - Type of SQS configuration (optional).
|
|
1052
|
+
*/
|
|
1053
|
+
type?: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* - List of event data for configuration.
|
|
1056
|
+
*/
|
|
1057
|
+
events: SqsEventData[];
|
|
1058
|
+
};
|
|
1059
|
+
/** @returns {EventBridgeData} */
|
|
1060
|
+
declare function EventBridgeData(): EventBridgeData;
|
|
1061
|
+
type EventBridgeData = {
|
|
1062
|
+
/**
|
|
1063
|
+
* - The category of the event.
|
|
1064
|
+
*/
|
|
1065
|
+
event_category: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* - The name of the event.
|
|
1068
|
+
*/
|
|
1069
|
+
event_name: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* - The type of the event.
|
|
1072
|
+
*/
|
|
1073
|
+
event_type: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* - The version number of the event.
|
|
1076
|
+
*/
|
|
1077
|
+
version: number;
|
|
1078
|
+
/**
|
|
1079
|
+
* - The name of the event bridge related
|
|
1080
|
+
* to the event.
|
|
1081
|
+
*/
|
|
1082
|
+
event_bridge_name?: string;
|
|
1083
|
+
};
|
|
1084
|
+
/** @returns {EventBridgeConfig} */
|
|
1085
|
+
declare function EventBridgeConfig(): EventBridgeConfig;
|
|
1086
|
+
type EventBridgeConfig = {
|
|
1087
|
+
/**
|
|
1088
|
+
* - Type of event configuration (optional).
|
|
1089
|
+
*/
|
|
1090
|
+
type?: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* - List of event data for EventBridge
|
|
1093
|
+
* configuration.
|
|
1094
|
+
*/
|
|
1095
|
+
events: EventBridgeData[];
|
|
1096
|
+
};
|
|
1097
|
+
/** @returns {EventMapBody} */
|
|
1098
|
+
declare function EventMapBody(): EventMapBody;
|
|
1099
|
+
type EventMapBody = {
|
|
1100
|
+
rest?: RestConfig;
|
|
1101
|
+
kafka?: KafkaConfig;
|
|
1102
|
+
pub_sub?: PubSubConfig;
|
|
1103
|
+
temporal?: TemporalConfig;
|
|
1104
|
+
sqs?: SqsConfig;
|
|
1105
|
+
event_bridge?: EventBridgeConfig;
|
|
1106
|
+
};
|
|
1107
|
+
/** @returns {WebhookConfig} */
|
|
1108
|
+
declare function WebhookConfig(): WebhookConfig;
|
|
1109
|
+
type WebhookConfig = {
|
|
1110
|
+
/**
|
|
1111
|
+
* - The email address for notifications.
|
|
1112
|
+
*/
|
|
1113
|
+
notification_email?: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* - The name of the webhook configuration.
|
|
1116
|
+
*/
|
|
1117
|
+
name?: string;
|
|
1118
|
+
/**
|
|
1119
|
+
* - The status of the webhook (e.g., active or inactive).
|
|
1120
|
+
*/
|
|
1121
|
+
status?: string;
|
|
1122
|
+
association?: Association;
|
|
1123
|
+
event_map?: EventMapBody;
|
|
1124
|
+
};
|
|
1125
|
+
/** @returns {UpsertSubscriberConfig} */
|
|
1126
|
+
declare function UpsertSubscriberConfig(): UpsertSubscriberConfig;
|
|
1127
|
+
type UpsertSubscriberConfig = {
|
|
1128
|
+
webhook_config: WebhookConfig;
|
|
1129
|
+
};
|
|
1130
|
+
/** @returns {UpsertSubscriberConfigResult} */
|
|
1131
|
+
declare function UpsertSubscriberConfigResult(): UpsertSubscriberConfigResult;
|
|
1132
|
+
type UpsertSubscriberConfigResult = {
|
|
1133
|
+
/**
|
|
1134
|
+
* - The status of the upsert operation (e.g.,
|
|
1135
|
+
* success or failure).
|
|
1136
|
+
*/
|
|
1137
|
+
status?: boolean;
|
|
1138
|
+
/**
|
|
1139
|
+
* - A message providing details about the upsert
|
|
1140
|
+
* operation result.
|
|
1141
|
+
*/
|
|
1142
|
+
message?: string;
|
|
1143
|
+
};
|
|
705
1144
|
/**
|
|
706
1145
|
* Enum: SubscriberStatus Used By: Webhook
|
|
707
1146
|
*
|