@gofynd/fdk-client-javascript 1.3.11-beta.7 → 1.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +5 -3
- package/sdk/application/Cart/CartApplicationModel.d.ts +107 -1
- package/sdk/application/Cart/CartApplicationModel.js +74 -0
- package/sdk/application/Cart/CartApplicationValidator.d.ts +4 -0
- package/sdk/application/Cart/CartApplicationValidator.js +4 -0
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -6
- package/sdk/application/Catalog/CatalogApplicationClient.js +7 -20
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2 -2
- package/sdk/application/Catalog/CatalogApplicationModel.js +2 -2
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -14
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -6
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +183 -49
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +173 -31
- package/sdk/application/Content/ContentApplicationClient.d.ts +36 -0
- package/sdk/application/Content/ContentApplicationClient.js +246 -0
- package/sdk/application/Content/ContentApplicationModel.d.ts +208 -1
- package/sdk/application/Content/ContentApplicationModel.js +252 -0
- package/sdk/application/Content/ContentApplicationValidator.d.ts +40 -1
- package/sdk/application/Content/ContentApplicationValidator.js +41 -0
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +67 -0
- package/sdk/application/Logistic/LogisticApplicationClient.js +547 -0
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +456 -1
- package/sdk/application/Logistic/LogisticApplicationModel.js +488 -0
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +211 -1
- package/sdk/application/Logistic/LogisticApplicationValidator.js +131 -0
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +32 -8
- package/sdk/application/Order/OrderApplicationModel.d.ts +6 -0
- package/sdk/application/Order/OrderApplicationModel.js +6 -0
- package/sdk/application/Order/OrderApplicationValidator.d.ts +20 -0
- package/sdk/application/Order/OrderApplicationValidator.js +8 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -2
- package/sdk/application/Payment/PaymentApplicationClient.js +341 -10
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +493 -186
- package/sdk/application/Payment/PaymentApplicationModel.js +341 -70
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +59 -14
- package/sdk/application/Payment/PaymentApplicationValidator.js +64 -10
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +34 -1
- package/sdk/application/PosCart/PosCartApplicationModel.js +24 -0
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +7 -3
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +222 -36
- package/sdk/application/Theme/ThemeApplicationModel.js +322 -26
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +10 -0
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -0
- package/sdk/application/User/UserApplicationClient.d.ts +33 -0
- package/sdk/application/User/UserApplicationClient.js +239 -0
- package/sdk/application/User/UserApplicationModel.d.ts +28 -13
- package/sdk/application/User/UserApplicationModel.js +36 -12
- package/sdk/application/User/UserApplicationValidator.d.ts +34 -1
- package/sdk/application/User/UserApplicationValidator.js +36 -0
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +3 -15
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +2 -14
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +125 -0
- package/sdk/partner/Lead/LeadPartnerClient.js +785 -0
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +1127 -0
- package/sdk/partner/Lead/LeadPartnerModel.js +896 -0
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +12 -0
- package/sdk/partner/Lead/LeadPartnerValidator.js +67 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +155 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1195 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +372 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +442 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +16 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +123 -0
- package/sdk/partner/PartnerClient.d.ts +6 -0
- package/sdk/partner/PartnerClient.js +9 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +80 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +100 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +74 -30
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +9 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +99 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.js +753 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +566 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.js +583 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +12 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +74 -0
- package/sdk/partner/index.d.ts +3 -0
- package/sdk/partner/index.js +6 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +11 -1
- package/sdk/platform/Billing/BillingPlatformClient.js +110 -3
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +67 -1
- package/sdk/platform/Billing/BillingPlatformModel.js +78 -0
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +43 -4
- package/sdk/platform/Billing/BillingPlatformValidator.js +29 -2
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +7 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +4 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +100 -5
- package/sdk/platform/Cart/CartPlatformModel.js +71 -4
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +15 -11
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +52 -21
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +11 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +26 -4
- package/sdk/platform/Catalog/CatalogPlatformClient.js +173 -7
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +304 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.js +335 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -3
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +27 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +138 -36
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +739 -57
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +128 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +111 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +150 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.js +172 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +8 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -4
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +38 -9
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +42 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +14 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +6 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +371 -132
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +288 -77
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +391 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +3641 -1059
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +351 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +410 -0
- package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
- package/sdk/platform/Content/ContentPlatformClient.js +2011 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1100 -1
- package/sdk/platform/Content/ContentPlatformModel.js +1362 -46
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +247 -0
- package/sdk/platform/Content/ContentPlatformValidator.js +319 -0
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +96 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +104 -12
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +16 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +117 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +55 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +39 -2
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +18 -19
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +20 -18
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +33 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +240 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +151 -5
- package/sdk/platform/Finance/FinancePlatformModel.js +190 -4
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +38 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +38 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +38 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +137 -56
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +41 -29
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +33 -21
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +12 -3
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +23 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +178 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +39 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +202 -31
- package/sdk/platform/Order/OrderPlatformClient.js +2010 -586
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1032 -470
- package/sdk/platform/Order/OrderPlatformModel.js +1187 -534
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +318 -35
- package/sdk/platform/Order/OrderPlatformValidator.js +292 -29
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +119 -13
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +749 -39
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +143 -7
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +133 -6
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +996 -134
- package/sdk/platform/Payment/PaymentPlatformModel.js +721 -58
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +4 -2
- package/sdk/platform/PlatformClient.js +8 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +142 -66
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +645 -147
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +131 -63
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +126 -47
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +217 -105
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1136 -347
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +912 -313
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1071 -355
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +382 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +266 -102
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +11 -1
- package/sdk/platform/Theme/ThemePlatformClient.js +87 -3
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +333 -47
- package/sdk/platform/Theme/ThemePlatformModel.js +395 -35
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +28 -4
- package/sdk/platform/Theme/ThemePlatformValidator.js +21 -2
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +116 -1
- package/sdk/platform/User/UserPlatformApplicationClient.js +931 -85
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +224 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +173 -5
- package/sdk/platform/User/UserPlatformModel.d.ts +344 -7
- package/sdk/platform/User/UserPlatformModel.js +256 -5
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +47 -39
- package/sdk/platform/Webhook/WebhookPlatformClient.js +63 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +264 -156
- package/sdk/platform/Webhook/WebhookPlatformModel.js +276 -153
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +7 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
- package/sdk/platform/index.d.ts +1 -1
- package/sdk/platform/index.js +2 -2
- package/sdk/public/Billing/BillingPublicClient.d.ts +23 -0
- package/sdk/public/Billing/BillingPublicClient.js +116 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +92 -0
- package/sdk/public/Billing/BillingPublicModel.js +96 -0
- package/sdk/public/Billing/BillingPublicValidator.d.ts +18 -0
- package/sdk/public/Billing/BillingPublicValidator.js +19 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
- package/sdk/public/Content/ContentPublicClient.js +114 -0
- package/sdk/public/Content/ContentPublicModel.d.ts +53 -0
- package/sdk/public/Content/ContentPublicModel.js +60 -0
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -0
- package/sdk/public/Content/ContentPublicValidator.js +19 -0
- package/sdk/public/PublicClient.d.ts +4 -0
- package/sdk/public/PublicClient.js +8 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +33 -0
- package/sdk/public/Webhook/WebhookPublicClient.js +242 -0
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +147 -1
- package/sdk/public/Webhook/WebhookPublicModel.js +177 -1
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +23 -1
- package/sdk/public/Webhook/WebhookPublicValidator.js +31 -0
- package/sdk/public/index.d.ts +2 -0
- package/sdk/public/index.js +4 -0
|
@@ -6,10 +6,6 @@ export = WebhookPlatformModel;
|
|
|
6
6
|
* @property {string} [criteria]
|
|
7
7
|
* @property {string} [extension_id]
|
|
8
8
|
*/
|
|
9
|
-
/**
|
|
10
|
-
* @typedef AssociationDetails
|
|
11
|
-
* @property {number} [company_id]
|
|
12
|
-
*/
|
|
13
9
|
/**
|
|
14
10
|
* @typedef AuthMeta
|
|
15
11
|
* @property {string} [secret]
|
|
@@ -17,12 +13,22 @@ export = WebhookPlatformModel;
|
|
|
17
13
|
*/
|
|
18
14
|
/**
|
|
19
15
|
* @typedef CancelResponse
|
|
20
|
-
* @property {
|
|
16
|
+
* @property {string} [message] - The HTTP status code of the response (e.g., 200).
|
|
21
17
|
*/
|
|
22
18
|
/**
|
|
23
19
|
* @typedef CdnObject
|
|
24
20
|
* @property {Url[]} [urls]
|
|
25
21
|
*/
|
|
22
|
+
/**
|
|
23
|
+
* @typedef DownloadReportResponse
|
|
24
|
+
* @property {string} [file_name]
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* @typedef Err
|
|
28
|
+
* @property {string} [location]
|
|
29
|
+
* @property {string} [msg]
|
|
30
|
+
* @property {string} [param]
|
|
31
|
+
*/
|
|
26
32
|
/**
|
|
27
33
|
* @typedef Error
|
|
28
34
|
* @property {string} [error] - Error message describing the reason for the failure.
|
|
@@ -47,24 +53,39 @@ export = WebhookPlatformModel;
|
|
|
47
53
|
*/
|
|
48
54
|
/**
|
|
49
55
|
* @typedef EventConfigResponse
|
|
50
|
-
* @property {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
* @
|
|
54
|
-
* @property {
|
|
55
|
-
* @property {
|
|
56
|
+
* @property {string} [created_on]
|
|
57
|
+
* @property {string} [description]
|
|
58
|
+
* @property {string} [display_name]
|
|
59
|
+
* @property {string} [event_category]
|
|
60
|
+
* @property {string} [event_name]
|
|
61
|
+
* @property {Object} [event_schema]
|
|
62
|
+
* @property {string} [event_type]
|
|
63
|
+
* @property {number} [id]
|
|
64
|
+
* @property {string} [updated_on]
|
|
65
|
+
* @property {string} [version]
|
|
56
66
|
*/
|
|
57
67
|
/**
|
|
58
|
-
* @typedef
|
|
59
|
-
* @property {string} [
|
|
60
|
-
* @property {
|
|
68
|
+
* @typedef EventConfigs
|
|
69
|
+
* @property {string} [created_on]
|
|
70
|
+
* @property {string} [description]
|
|
71
|
+
* @property {string} [display_name]
|
|
72
|
+
* @property {string} [event_category]
|
|
73
|
+
* @property {string} [event_name]
|
|
74
|
+
* @property {Object} [event_schema]
|
|
75
|
+
* @property {string} [event_type]
|
|
76
|
+
* @property {number} [id]
|
|
77
|
+
* @property {SubscriberEventMapping} [subscriber_event_mapping]
|
|
78
|
+
* @property {string} [updated_on]
|
|
79
|
+
* @property {string} [version]
|
|
61
80
|
*/
|
|
62
81
|
/**
|
|
63
82
|
* @typedef EventProcessReportObject
|
|
64
83
|
* @property {number} [attempt] - The attempt number of the event.
|
|
65
|
-
* @property {
|
|
84
|
+
* @property {Object} [data] - The data associated with the event.
|
|
66
85
|
* @property {string} [event_name] - The name of the processed event.
|
|
86
|
+
* @property {string} [event_trace_id]
|
|
67
87
|
* @property {number} [last_attempted_on] - The timestamp of the last attempted event.
|
|
88
|
+
* @property {string} [message_id]
|
|
68
89
|
* @property {string} [name] - The name of the event.
|
|
69
90
|
* @property {number} [response_code] - The response code of the event.
|
|
70
91
|
* @property {string} [response_message] - The response message of the event.
|
|
@@ -83,48 +104,27 @@ export = WebhookPlatformModel;
|
|
|
83
104
|
* @property {Event[]} [event]
|
|
84
105
|
* @property {string} [search_text]
|
|
85
106
|
* @property {string} [start_date]
|
|
107
|
+
* @property {string} [status]
|
|
86
108
|
* @property {number[]} [subscriber_ids]
|
|
87
109
|
*/
|
|
88
110
|
/**
|
|
89
|
-
* @typedef
|
|
90
|
-
* @property {
|
|
91
|
-
* @property {
|
|
92
|
-
*/
|
|
93
|
-
/**
|
|
94
|
-
* @typedef FailedEventsCountSuccessResponse
|
|
95
|
-
* @property {EventCountItem[]} [items]
|
|
96
|
-
*/
|
|
97
|
-
/**
|
|
98
|
-
* @typedef FilterResponseObject
|
|
99
|
-
* @property {string} [filter_name] - The name of the filter.
|
|
100
|
-
* @property {FilterValues[]} [values]
|
|
101
|
-
*/
|
|
102
|
-
/**
|
|
103
|
-
* @typedef FilterValues
|
|
104
|
-
* @property {string} [text] - The display text for the filter value.
|
|
105
|
-
* @property {Object} [value] - The value associated with the filter value.
|
|
111
|
+
* @typedef HistoryAssociation
|
|
112
|
+
* @property {number} [company_id]
|
|
113
|
+
* @property {number[]} [subscriber_ids]
|
|
106
114
|
*/
|
|
107
115
|
/**
|
|
108
116
|
* @typedef HistoryFilters
|
|
109
117
|
* @property {string} [end_date] - The end date and time of the history report.
|
|
118
|
+
* @property {string[]} [events]
|
|
119
|
+
* @property {string} [search_text]
|
|
110
120
|
* @property {string} [start_date] - The start date and time of the history report.
|
|
111
121
|
* @property {string} [status] - The status of the history report (e.g., "FAILED").
|
|
112
122
|
* @property {number[]} [subscribers] - An array of subscriber IDs associated
|
|
113
123
|
* with the history report.
|
|
114
124
|
*/
|
|
115
125
|
/**
|
|
116
|
-
* @typedef
|
|
117
|
-
* @property {
|
|
118
|
-
* @property {number} [page_size] - The number of records per page.
|
|
119
|
-
* @property {string} [type] - The type of history report (e.g., "platform").
|
|
120
|
-
*/
|
|
121
|
-
/**
|
|
122
|
-
* @typedef HistoryResponse
|
|
123
|
-
* @property {HistoryResponseObject[]} [items]
|
|
124
|
-
*/
|
|
125
|
-
/**
|
|
126
|
-
* @typedef HistoryResponseObject
|
|
127
|
-
* @property {AssociationDetails} [association]
|
|
126
|
+
* @typedef HistoryItems
|
|
127
|
+
* @property {HistoryAssociation} [association]
|
|
128
128
|
* @property {string} [created_on] - The date and time when the history report
|
|
129
129
|
* was created.
|
|
130
130
|
* @property {string} [filename] - The filename of the history report.
|
|
@@ -137,12 +137,20 @@ export = WebhookPlatformModel;
|
|
|
137
137
|
* @property {UploadServiceObject} [upload_service_response]
|
|
138
138
|
*/
|
|
139
139
|
/**
|
|
140
|
-
* @typedef
|
|
141
|
-
* @property {
|
|
142
|
-
* @property {
|
|
143
|
-
* @property {string} [
|
|
144
|
-
|
|
145
|
-
|
|
140
|
+
* @typedef HistoryPayload
|
|
141
|
+
* @property {number} [page_no] - The page number of the history report.
|
|
142
|
+
* @property {number} [page_size] - The number of records per page.
|
|
143
|
+
* @property {string} [type] - The type of history report (e.g., "platform").
|
|
144
|
+
*/
|
|
145
|
+
/**
|
|
146
|
+
* @typedef HistoryResponse
|
|
147
|
+
* @property {HistoryItems[]} [items]
|
|
148
|
+
* @property {Page} [page]
|
|
149
|
+
*/
|
|
150
|
+
/**
|
|
151
|
+
* @typedef Item
|
|
152
|
+
* @property {number} [count]
|
|
153
|
+
* @property {string} [status]
|
|
146
154
|
*/
|
|
147
155
|
/**
|
|
148
156
|
* @typedef Page
|
|
@@ -169,13 +177,31 @@ export = WebhookPlatformModel;
|
|
|
169
177
|
*/
|
|
170
178
|
/**
|
|
171
179
|
* @typedef ReportFilterResponse
|
|
172
|
-
* @property {
|
|
180
|
+
* @property {string} [filter_name] - The name of the filter.
|
|
181
|
+
* @property {Object[]} [values]
|
|
173
182
|
*/
|
|
174
183
|
/**
|
|
175
184
|
* @typedef ReportFiltersPayload
|
|
176
185
|
* @property {number[]} [subscriber_ids] - An array of subscriber IDs for
|
|
177
186
|
* filtering filters (optional).
|
|
178
187
|
*/
|
|
188
|
+
/**
|
|
189
|
+
* @typedef RetryCountResponse
|
|
190
|
+
* @property {Item[]} [items]
|
|
191
|
+
*/
|
|
192
|
+
/**
|
|
193
|
+
* @typedef RetryEventRequest
|
|
194
|
+
* @property {string} [end_date]
|
|
195
|
+
* @property {Event[]} [event]
|
|
196
|
+
* @property {string} [search_text]
|
|
197
|
+
* @property {string} [start_date]
|
|
198
|
+
* @property {string} [status]
|
|
199
|
+
* @property {number[]} [subscriber_ids]
|
|
200
|
+
*/
|
|
201
|
+
/**
|
|
202
|
+
* @typedef RetryFailureResponse
|
|
203
|
+
* @property {Err[]} [err]
|
|
204
|
+
*/
|
|
179
205
|
/**
|
|
180
206
|
* @typedef RetryStatusResponse
|
|
181
207
|
* @property {number} [failure_count] - The count of failed retry attempts.
|
|
@@ -184,6 +210,11 @@ export = WebhookPlatformModel;
|
|
|
184
210
|
* @property {number} [success_count] - The count of successfully retried events.
|
|
185
211
|
* @property {number} [total_event] - The total number of events that require retry.
|
|
186
212
|
*/
|
|
213
|
+
/**
|
|
214
|
+
* @typedef RetrySuccessResponse
|
|
215
|
+
* @property {string} [message]
|
|
216
|
+
* @property {boolean} [success]
|
|
217
|
+
*/
|
|
187
218
|
/**
|
|
188
219
|
* @typedef SubscriberConfig
|
|
189
220
|
* @property {Association} [association]
|
|
@@ -193,7 +224,7 @@ export = WebhookPlatformModel;
|
|
|
193
224
|
* @property {number[]} [event_id]
|
|
194
225
|
* @property {number} [id]
|
|
195
226
|
* @property {string} [name]
|
|
196
|
-
* @property {
|
|
227
|
+
* @property {string} [status]
|
|
197
228
|
* @property {string} [webhook_url]
|
|
198
229
|
*/
|
|
199
230
|
/**
|
|
@@ -201,6 +232,35 @@ export = WebhookPlatformModel;
|
|
|
201
232
|
* @property {SubscriberResponse[]} [items]
|
|
202
233
|
* @property {Page} [page]
|
|
203
234
|
*/
|
|
235
|
+
/**
|
|
236
|
+
* @typedef SubscriberConfigResponse
|
|
237
|
+
* @property {Association} [association]
|
|
238
|
+
* @property {AuthMeta} [auth_meta]
|
|
239
|
+
* @property {string} [created_on]
|
|
240
|
+
* @property {Object} [custom_headers]
|
|
241
|
+
* @property {string} [email_id]
|
|
242
|
+
* @property {number[]} [event_id]
|
|
243
|
+
* @property {number} [id]
|
|
244
|
+
* @property {string} [modified_by]
|
|
245
|
+
* @property {string} [name]
|
|
246
|
+
* @property {string} [status]
|
|
247
|
+
* @property {string} [type]
|
|
248
|
+
* @property {string} [updated_on]
|
|
249
|
+
* @property {string} [webhook_url]
|
|
250
|
+
*/
|
|
251
|
+
/**
|
|
252
|
+
* @typedef SubscriberEventMapping
|
|
253
|
+
* @property {string} [created_on]
|
|
254
|
+
* @property {number} [event_id]
|
|
255
|
+
* @property {number} [id]
|
|
256
|
+
* @property {number} [subscriber_id]
|
|
257
|
+
*/
|
|
258
|
+
/**
|
|
259
|
+
* @typedef SubscriberFailureResponse
|
|
260
|
+
* @property {string} [code]
|
|
261
|
+
* @property {string} [message]
|
|
262
|
+
* @property {string} [stack]
|
|
263
|
+
*/
|
|
204
264
|
/**
|
|
205
265
|
* @typedef SubscriberResponse
|
|
206
266
|
* @property {Association} [association]
|
|
@@ -208,10 +268,12 @@ export = WebhookPlatformModel;
|
|
|
208
268
|
* @property {string} [created_on]
|
|
209
269
|
* @property {Object} [custom_headers]
|
|
210
270
|
* @property {string} [email_id]
|
|
211
|
-
* @property {
|
|
271
|
+
* @property {EventConfigs[]} [event_configs]
|
|
212
272
|
* @property {number} [id]
|
|
273
|
+
* @property {string} [modified_by]
|
|
213
274
|
* @property {string} [name]
|
|
214
|
-
* @property {
|
|
275
|
+
* @property {string} [status]
|
|
276
|
+
* @property {string} [type]
|
|
215
277
|
* @property {string} [updated_on]
|
|
216
278
|
* @property {string} [webhook_url]
|
|
217
279
|
*/
|
|
@@ -224,11 +286,10 @@ export = WebhookPlatformModel;
|
|
|
224
286
|
* @property {string} [name] - The name of the uploaded report file.
|
|
225
287
|
* @property {string} [url] - The URL of the uploaded report file.
|
|
226
288
|
*/
|
|
227
|
-
/** @typedef {"active" | "inactive" | "blocked"} SubscriberStatus */
|
|
228
289
|
declare class WebhookPlatformModel {
|
|
229
290
|
}
|
|
230
291
|
declare namespace WebhookPlatformModel {
|
|
231
|
-
export { Association,
|
|
292
|
+
export { Association, AuthMeta, CancelResponse, CdnObject, DownloadReportResponse, Err, Error, Event, EventConfig, EventConfigResponse, EventConfigs, EventProcessReportObject, EventProcessReports, EventProcessRequest, HistoryAssociation, HistoryFilters, HistoryItems, HistoryPayload, HistoryResponse, Item, Page, PingWebhook, PingWebhookResponse, ReportFilterResponse, ReportFiltersPayload, RetryCountResponse, RetryEventRequest, RetryFailureResponse, RetryStatusResponse, RetrySuccessResponse, SubscriberConfig, SubscriberConfigList, SubscriberConfigResponse, SubscriberEventMapping, SubscriberFailureResponse, SubscriberResponse, UploadServiceObject, Url };
|
|
232
293
|
}
|
|
233
294
|
/** @returns {Association} */
|
|
234
295
|
declare function Association(): Association;
|
|
@@ -238,11 +299,6 @@ type Association = {
|
|
|
238
299
|
criteria?: string;
|
|
239
300
|
extension_id?: string;
|
|
240
301
|
};
|
|
241
|
-
/** @returns {AssociationDetails} */
|
|
242
|
-
declare function AssociationDetails(): AssociationDetails;
|
|
243
|
-
type AssociationDetails = {
|
|
244
|
-
company_id?: number;
|
|
245
|
-
};
|
|
246
302
|
/** @returns {AuthMeta} */
|
|
247
303
|
declare function AuthMeta(): AuthMeta;
|
|
248
304
|
type AuthMeta = {
|
|
@@ -255,13 +311,25 @@ type CancelResponse = {
|
|
|
255
311
|
/**
|
|
256
312
|
* - The HTTP status code of the response (e.g., 200).
|
|
257
313
|
*/
|
|
258
|
-
|
|
314
|
+
message?: string;
|
|
259
315
|
};
|
|
260
316
|
/** @returns {CdnObject} */
|
|
261
317
|
declare function CdnObject(): CdnObject;
|
|
262
318
|
type CdnObject = {
|
|
263
319
|
urls?: Url[];
|
|
264
320
|
};
|
|
321
|
+
/** @returns {DownloadReportResponse} */
|
|
322
|
+
declare function DownloadReportResponse(): DownloadReportResponse;
|
|
323
|
+
type DownloadReportResponse = {
|
|
324
|
+
file_name?: string;
|
|
325
|
+
};
|
|
326
|
+
/** @returns {Err} */
|
|
327
|
+
declare function Err(): Err;
|
|
328
|
+
type Err = {
|
|
329
|
+
location?: string;
|
|
330
|
+
msg?: string;
|
|
331
|
+
param?: string;
|
|
332
|
+
};
|
|
265
333
|
/** @returns {Error} */
|
|
266
334
|
declare function Error(): Error;
|
|
267
335
|
type Error = {
|
|
@@ -293,25 +361,31 @@ type EventConfig = {
|
|
|
293
361
|
/** @returns {EventConfigResponse} */
|
|
294
362
|
declare function EventConfigResponse(): EventConfigResponse;
|
|
295
363
|
type EventConfigResponse = {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
* - The status of the event (e.g., "FAILED").
|
|
307
|
-
*/
|
|
308
|
-
status?: string;
|
|
364
|
+
created_on?: string;
|
|
365
|
+
description?: string;
|
|
366
|
+
display_name?: string;
|
|
367
|
+
event_category?: string;
|
|
368
|
+
event_name?: string;
|
|
369
|
+
event_schema?: any;
|
|
370
|
+
event_type?: string;
|
|
371
|
+
id?: number;
|
|
372
|
+
updated_on?: string;
|
|
373
|
+
version?: string;
|
|
309
374
|
};
|
|
310
|
-
/** @returns {
|
|
311
|
-
declare function
|
|
312
|
-
type
|
|
313
|
-
|
|
314
|
-
|
|
375
|
+
/** @returns {EventConfigs} */
|
|
376
|
+
declare function EventConfigs(): EventConfigs;
|
|
377
|
+
type EventConfigs = {
|
|
378
|
+
created_on?: string;
|
|
379
|
+
description?: string;
|
|
380
|
+
display_name?: string;
|
|
381
|
+
event_category?: string;
|
|
382
|
+
event_name?: string;
|
|
383
|
+
event_schema?: any;
|
|
384
|
+
event_type?: string;
|
|
385
|
+
id?: number;
|
|
386
|
+
subscriber_event_mapping?: SubscriberEventMapping;
|
|
387
|
+
updated_on?: string;
|
|
388
|
+
version?: string;
|
|
315
389
|
};
|
|
316
390
|
/** @returns {EventProcessReportObject} */
|
|
317
391
|
declare function EventProcessReportObject(): EventProcessReportObject;
|
|
@@ -323,15 +397,17 @@ type EventProcessReportObject = {
|
|
|
323
397
|
/**
|
|
324
398
|
* - The data associated with the event.
|
|
325
399
|
*/
|
|
326
|
-
data?:
|
|
400
|
+
data?: any;
|
|
327
401
|
/**
|
|
328
402
|
* - The name of the processed event.
|
|
329
403
|
*/
|
|
330
404
|
event_name?: string;
|
|
405
|
+
event_trace_id?: string;
|
|
331
406
|
/**
|
|
332
407
|
* - The timestamp of the last attempted event.
|
|
333
408
|
*/
|
|
334
409
|
last_attempted_on?: number;
|
|
410
|
+
message_id?: string;
|
|
335
411
|
/**
|
|
336
412
|
* - The name of the event.
|
|
337
413
|
*/
|
|
@@ -370,39 +446,14 @@ type EventProcessRequest = {
|
|
|
370
446
|
event?: Event[];
|
|
371
447
|
search_text?: string;
|
|
372
448
|
start_date?: string;
|
|
449
|
+
status?: string;
|
|
373
450
|
subscriber_ids?: number[];
|
|
374
451
|
};
|
|
375
|
-
/** @returns {
|
|
376
|
-
declare function
|
|
377
|
-
type
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
};
|
|
381
|
-
/** @returns {FailedEventsCountSuccessResponse} */
|
|
382
|
-
declare function FailedEventsCountSuccessResponse(): FailedEventsCountSuccessResponse;
|
|
383
|
-
type FailedEventsCountSuccessResponse = {
|
|
384
|
-
items?: EventCountItem[];
|
|
385
|
-
};
|
|
386
|
-
/** @returns {FilterResponseObject} */
|
|
387
|
-
declare function FilterResponseObject(): FilterResponseObject;
|
|
388
|
-
type FilterResponseObject = {
|
|
389
|
-
/**
|
|
390
|
-
* - The name of the filter.
|
|
391
|
-
*/
|
|
392
|
-
filter_name?: string;
|
|
393
|
-
values?: FilterValues[];
|
|
394
|
-
};
|
|
395
|
-
/** @returns {FilterValues} */
|
|
396
|
-
declare function FilterValues(): FilterValues;
|
|
397
|
-
type FilterValues = {
|
|
398
|
-
/**
|
|
399
|
-
* - The display text for the filter value.
|
|
400
|
-
*/
|
|
401
|
-
text?: string;
|
|
402
|
-
/**
|
|
403
|
-
* - The value associated with the filter value.
|
|
404
|
-
*/
|
|
405
|
-
value?: any;
|
|
452
|
+
/** @returns {HistoryAssociation} */
|
|
453
|
+
declare function HistoryAssociation(): HistoryAssociation;
|
|
454
|
+
type HistoryAssociation = {
|
|
455
|
+
company_id?: number;
|
|
456
|
+
subscriber_ids?: number[];
|
|
406
457
|
};
|
|
407
458
|
/** @returns {HistoryFilters} */
|
|
408
459
|
declare function HistoryFilters(): HistoryFilters;
|
|
@@ -411,6 +462,8 @@ type HistoryFilters = {
|
|
|
411
462
|
* - The end date and time of the history report.
|
|
412
463
|
*/
|
|
413
464
|
end_date?: string;
|
|
465
|
+
events?: string[];
|
|
466
|
+
search_text?: string;
|
|
414
467
|
/**
|
|
415
468
|
* - The start date and time of the history report.
|
|
416
469
|
*/
|
|
@@ -425,31 +478,10 @@ type HistoryFilters = {
|
|
|
425
478
|
*/
|
|
426
479
|
subscribers?: number[];
|
|
427
480
|
};
|
|
428
|
-
/** @returns {
|
|
429
|
-
declare function
|
|
430
|
-
type
|
|
431
|
-
|
|
432
|
-
* - The page number of the history report.
|
|
433
|
-
*/
|
|
434
|
-
page_no?: number;
|
|
435
|
-
/**
|
|
436
|
-
* - The number of records per page.
|
|
437
|
-
*/
|
|
438
|
-
page_size?: number;
|
|
439
|
-
/**
|
|
440
|
-
* - The type of history report (e.g., "platform").
|
|
441
|
-
*/
|
|
442
|
-
type?: string;
|
|
443
|
-
};
|
|
444
|
-
/** @returns {HistoryResponse} */
|
|
445
|
-
declare function HistoryResponse(): HistoryResponse;
|
|
446
|
-
type HistoryResponse = {
|
|
447
|
-
items?: HistoryResponseObject[];
|
|
448
|
-
};
|
|
449
|
-
/** @returns {HistoryResponseObject} */
|
|
450
|
-
declare function HistoryResponseObject(): HistoryResponseObject;
|
|
451
|
-
type HistoryResponseObject = {
|
|
452
|
-
association?: AssociationDetails;
|
|
481
|
+
/** @returns {HistoryItems} */
|
|
482
|
+
declare function HistoryItems(): HistoryItems;
|
|
483
|
+
type HistoryItems = {
|
|
484
|
+
association?: HistoryAssociation;
|
|
453
485
|
/**
|
|
454
486
|
* - The date and time when the history report
|
|
455
487
|
* was created.
|
|
@@ -479,14 +511,33 @@ type HistoryResponseObject = {
|
|
|
479
511
|
updated_on?: string;
|
|
480
512
|
upload_service_response?: UploadServiceObject;
|
|
481
513
|
};
|
|
482
|
-
/** @returns {
|
|
483
|
-
declare function
|
|
484
|
-
type
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
514
|
+
/** @returns {HistoryPayload} */
|
|
515
|
+
declare function HistoryPayload(): HistoryPayload;
|
|
516
|
+
type HistoryPayload = {
|
|
517
|
+
/**
|
|
518
|
+
* - The page number of the history report.
|
|
519
|
+
*/
|
|
520
|
+
page_no?: number;
|
|
521
|
+
/**
|
|
522
|
+
* - The number of records per page.
|
|
523
|
+
*/
|
|
524
|
+
page_size?: number;
|
|
525
|
+
/**
|
|
526
|
+
* - The type of history report (e.g., "platform").
|
|
527
|
+
*/
|
|
528
|
+
type?: string;
|
|
529
|
+
};
|
|
530
|
+
/** @returns {HistoryResponse} */
|
|
531
|
+
declare function HistoryResponse(): HistoryResponse;
|
|
532
|
+
type HistoryResponse = {
|
|
533
|
+
items?: HistoryItems[];
|
|
534
|
+
page?: Page;
|
|
535
|
+
};
|
|
536
|
+
/** @returns {Item} */
|
|
537
|
+
declare function Item(): Item;
|
|
538
|
+
type Item = {
|
|
539
|
+
count?: number;
|
|
540
|
+
status?: string;
|
|
490
541
|
};
|
|
491
542
|
/** @returns {Page} */
|
|
492
543
|
declare function Page(): Page;
|
|
@@ -535,7 +586,11 @@ type PingWebhookResponse = {
|
|
|
535
586
|
/** @returns {ReportFilterResponse} */
|
|
536
587
|
declare function ReportFilterResponse(): ReportFilterResponse;
|
|
537
588
|
type ReportFilterResponse = {
|
|
538
|
-
|
|
589
|
+
/**
|
|
590
|
+
* - The name of the filter.
|
|
591
|
+
*/
|
|
592
|
+
filter_name?: string;
|
|
593
|
+
values?: any[];
|
|
539
594
|
};
|
|
540
595
|
/** @returns {ReportFiltersPayload} */
|
|
541
596
|
declare function ReportFiltersPayload(): ReportFiltersPayload;
|
|
@@ -546,6 +601,26 @@ type ReportFiltersPayload = {
|
|
|
546
601
|
*/
|
|
547
602
|
subscriber_ids?: number[];
|
|
548
603
|
};
|
|
604
|
+
/** @returns {RetryCountResponse} */
|
|
605
|
+
declare function RetryCountResponse(): RetryCountResponse;
|
|
606
|
+
type RetryCountResponse = {
|
|
607
|
+
items?: Item[];
|
|
608
|
+
};
|
|
609
|
+
/** @returns {RetryEventRequest} */
|
|
610
|
+
declare function RetryEventRequest(): RetryEventRequest;
|
|
611
|
+
type RetryEventRequest = {
|
|
612
|
+
end_date?: string;
|
|
613
|
+
event?: Event[];
|
|
614
|
+
search_text?: string;
|
|
615
|
+
start_date?: string;
|
|
616
|
+
status?: string;
|
|
617
|
+
subscriber_ids?: number[];
|
|
618
|
+
};
|
|
619
|
+
/** @returns {RetryFailureResponse} */
|
|
620
|
+
declare function RetryFailureResponse(): RetryFailureResponse;
|
|
621
|
+
type RetryFailureResponse = {
|
|
622
|
+
err?: Err[];
|
|
623
|
+
};
|
|
549
624
|
/** @returns {RetryStatusResponse} */
|
|
550
625
|
declare function RetryStatusResponse(): RetryStatusResponse;
|
|
551
626
|
type RetryStatusResponse = {
|
|
@@ -567,6 +642,12 @@ type RetryStatusResponse = {
|
|
|
567
642
|
*/
|
|
568
643
|
total_event?: number;
|
|
569
644
|
};
|
|
645
|
+
/** @returns {RetrySuccessResponse} */
|
|
646
|
+
declare function RetrySuccessResponse(): RetrySuccessResponse;
|
|
647
|
+
type RetrySuccessResponse = {
|
|
648
|
+
message?: string;
|
|
649
|
+
success?: boolean;
|
|
650
|
+
};
|
|
570
651
|
/** @returns {SubscriberConfig} */
|
|
571
652
|
declare function SubscriberConfig(): SubscriberConfig;
|
|
572
653
|
type SubscriberConfig = {
|
|
@@ -577,7 +658,7 @@ type SubscriberConfig = {
|
|
|
577
658
|
event_id?: number[];
|
|
578
659
|
id?: number;
|
|
579
660
|
name?: string;
|
|
580
|
-
status?:
|
|
661
|
+
status?: string;
|
|
581
662
|
webhook_url?: string;
|
|
582
663
|
};
|
|
583
664
|
/** @returns {SubscriberConfigList} */
|
|
@@ -586,6 +667,38 @@ type SubscriberConfigList = {
|
|
|
586
667
|
items?: SubscriberResponse[];
|
|
587
668
|
page?: Page;
|
|
588
669
|
};
|
|
670
|
+
/** @returns {SubscriberConfigResponse} */
|
|
671
|
+
declare function SubscriberConfigResponse(): SubscriberConfigResponse;
|
|
672
|
+
type SubscriberConfigResponse = {
|
|
673
|
+
association?: Association;
|
|
674
|
+
auth_meta?: AuthMeta;
|
|
675
|
+
created_on?: string;
|
|
676
|
+
custom_headers?: any;
|
|
677
|
+
email_id?: string;
|
|
678
|
+
event_id?: number[];
|
|
679
|
+
id?: number;
|
|
680
|
+
modified_by?: string;
|
|
681
|
+
name?: string;
|
|
682
|
+
status?: string;
|
|
683
|
+
type?: string;
|
|
684
|
+
updated_on?: string;
|
|
685
|
+
webhook_url?: string;
|
|
686
|
+
};
|
|
687
|
+
/** @returns {SubscriberEventMapping} */
|
|
688
|
+
declare function SubscriberEventMapping(): SubscriberEventMapping;
|
|
689
|
+
type SubscriberEventMapping = {
|
|
690
|
+
created_on?: string;
|
|
691
|
+
event_id?: number;
|
|
692
|
+
id?: number;
|
|
693
|
+
subscriber_id?: number;
|
|
694
|
+
};
|
|
695
|
+
/** @returns {SubscriberFailureResponse} */
|
|
696
|
+
declare function SubscriberFailureResponse(): SubscriberFailureResponse;
|
|
697
|
+
type SubscriberFailureResponse = {
|
|
698
|
+
code?: string;
|
|
699
|
+
message?: string;
|
|
700
|
+
stack?: string;
|
|
701
|
+
};
|
|
589
702
|
/** @returns {SubscriberResponse} */
|
|
590
703
|
declare function SubscriberResponse(): SubscriberResponse;
|
|
591
704
|
type SubscriberResponse = {
|
|
@@ -594,10 +707,12 @@ type SubscriberResponse = {
|
|
|
594
707
|
created_on?: string;
|
|
595
708
|
custom_headers?: any;
|
|
596
709
|
email_id?: string;
|
|
597
|
-
event_configs?:
|
|
710
|
+
event_configs?: EventConfigs[];
|
|
598
711
|
id?: number;
|
|
712
|
+
modified_by?: string;
|
|
599
713
|
name?: string;
|
|
600
|
-
status?:
|
|
714
|
+
status?: string;
|
|
715
|
+
type?: string;
|
|
601
716
|
updated_on?: string;
|
|
602
717
|
webhook_url?: string;
|
|
603
718
|
};
|
|
@@ -618,10 +733,3 @@ type Url = {
|
|
|
618
733
|
*/
|
|
619
734
|
url?: string;
|
|
620
735
|
};
|
|
621
|
-
/**
|
|
622
|
-
* Enum: SubscriberStatus Used By: Webhook
|
|
623
|
-
*
|
|
624
|
-
* @returns {SubscriberStatus}
|
|
625
|
-
*/
|
|
626
|
-
declare function SubscriberStatus(): SubscriberStatus;
|
|
627
|
-
type SubscriberStatus = "active" | "inactive" | "blocked";
|