@gofynd/fdk-client-javascript 1.4.15-beta.13 → 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.
Files changed (278) hide show
  1. package/README.md +23 -26
  2. package/package.json +5 -1
  3. package/sdk/application/ApplicationClient.d.ts +5 -6
  4. package/sdk/application/ApplicationClient.js +24 -20
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +133 -83
  6. package/sdk/application/Cart/CartApplicationClient.js +444 -76
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +132 -114
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +209 -126
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +58 -36
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +73 -29
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +95 -66
  16. package/sdk/application/Content/ContentApplicationClient.js +274 -111
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -11
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -10
  19. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  20. package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
  21. package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
  22. package/sdk/application/Lead/LeadApplicationClient.js +6 -6
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +37 -57
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +117 -180
  25. package/sdk/application/Order/OrderApplicationClient.d.ts +63 -21
  26. package/sdk/application/Order/OrderApplicationClient.js +217 -17
  27. package/sdk/application/Payment/PaymentApplicationClient.d.ts +179 -149
  28. package/sdk/application/Payment/PaymentApplicationClient.js +301 -167
  29. package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
  30. package/sdk/application/Share/ShareApplicationClient.js +7 -7
  31. package/sdk/application/Theme/ThemeApplicationClient.d.ts +7 -7
  32. package/sdk/application/Theme/ThemeApplicationClient.js +10 -6
  33. package/sdk/application/User/UserApplicationClient.d.ts +103 -53
  34. package/sdk/application/User/UserApplicationClient.js +308 -49
  35. package/sdk/common/AxiosHelper.js +11 -4
  36. package/sdk/common/Constant.d.ts +27 -4
  37. package/sdk/common/Constant.js +33 -6
  38. package/sdk/common/utils.d.ts +10 -0
  39. package/sdk/common/utils.js +24 -3
  40. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +46 -16
  41. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +266 -40
  42. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +163 -19
  43. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +158 -14
  44. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +5 -2
  45. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +23 -7
  46. package/sdk/partner/Lead/LeadPartnerClient.d.ts +9 -9
  47. package/sdk/partner/Lead/LeadPartnerClient.js +9 -9
  48. package/sdk/partner/Lead/LeadPartnerModel.d.ts +14 -9
  49. package/sdk/partner/Lead/LeadPartnerModel.js +19 -17
  50. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +264 -49
  51. package/sdk/partner/Logistics/LogisticsPartnerClient.js +2116 -252
  52. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2256 -258
  53. package/sdk/partner/Logistics/LogisticsPartnerModel.js +1187 -230
  54. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +21 -1
  55. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +218 -13
  56. package/sdk/partner/PartnerClient.d.ts +5 -2
  57. package/sdk/partner/PartnerClient.js +21 -7
  58. package/sdk/partner/Theme/ThemePartnerClient.d.ts +32 -34
  59. package/sdk/partner/Theme/ThemePartnerClient.js +42 -44
  60. package/sdk/partner/Theme/ThemePartnerModel.d.ts +142 -43
  61. package/sdk/partner/Theme/ThemePartnerModel.js +129 -44
  62. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  63. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +83 -27
  64. package/sdk/partner/Webhook/WebhookPartnerClient.js +446 -27
  65. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +920 -185
  66. package/sdk/partner/Webhook/WebhookPartnerModel.js +462 -154
  67. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +5 -0
  68. package/sdk/partner/Webhook/WebhookPartnerValidator.js +41 -3
  69. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +8 -7
  70. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +17 -11
  71. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
  72. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  73. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +68 -13
  74. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +44 -6
  75. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +3 -33
  76. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -244
  77. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
  78. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
  79. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  80. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  81. package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -15
  82. package/sdk/platform/Billing/BillingPlatformClient.js +18 -18
  83. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  84. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  85. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  86. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  87. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +266 -203
  88. package/sdk/platform/Cart/CartPlatformApplicationClient.js +1446 -500
  89. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +729 -100
  90. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +446 -82
  91. package/sdk/platform/Cart/CartPlatformModel.d.ts +6927 -1396
  92. package/sdk/platform/Cart/CartPlatformModel.js +3065 -1316
  93. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +433 -248
  94. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1662 -559
  95. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +464 -159
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +304 -87
  97. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +383 -234
  98. package/sdk/platform/Catalog/CatalogPlatformClient.js +2475 -1557
  99. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9571 -2674
  100. package/sdk/platform/Catalog/CatalogPlatformModel.js +5081 -2019
  101. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +364 -117
  102. package/sdk/platform/Catalog/CatalogPlatformValidator.js +281 -104
  103. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -4
  104. package/sdk/platform/Common/CommonPlatformClient.js +6 -5
  105. package/sdk/platform/Common/CommonPlatformModel.d.ts +36 -25
  106. package/sdk/platform/Common/CommonPlatformModel.js +25 -14
  107. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -153
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +102 -541
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +36 -49
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +20 -60
  111. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
  112. package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
  113. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +189 -43
  114. package/sdk/platform/Communication/CommunicationPlatformModel.js +165 -42
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +58 -81
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +68 -116
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +291 -249
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +243 -234
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  120. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  121. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +78 -65
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +101 -88
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +20 -20
  124. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +19 -19
  125. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +68 -34
  126. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +174 -41
  127. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +667 -244
  128. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +474 -155
  129. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  130. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  131. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +366 -280
  132. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1435 -753
  133. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +323 -223
  134. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +335 -205
  135. package/sdk/platform/Content/ContentPlatformClient.d.ts +304 -106
  136. package/sdk/platform/Content/ContentPlatformClient.js +1842 -450
  137. package/sdk/platform/Content/ContentPlatformModel.d.ts +2582 -566
  138. package/sdk/platform/Content/ContentPlatformModel.js +1426 -558
  139. package/sdk/platform/Content/ContentPlatformValidator.d.ts +293 -114
  140. package/sdk/platform/Content/ContentPlatformValidator.js +328 -101
  141. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +59 -23
  142. package/sdk/platform/Discount/DiscountPlatformClient.js +84 -23
  143. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +403 -110
  144. package/sdk/platform/Discount/DiscountPlatformModel.js +121 -107
  145. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
  146. package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +12 -110
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +14 -684
  149. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -94
  150. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -115
  151. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -20
  152. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +22 -22
  153. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +90 -920
  154. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +53 -949
  155. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  156. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  157. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
  158. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
  159. package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
  160. package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
  161. package/sdk/platform/Lead/LeadPlatformModel.d.ts +14 -9
  162. package/sdk/platform/Lead/LeadPlatformModel.js +20 -18
  163. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +56 -9
  164. package/sdk/platform/Order/OrderPlatformApplicationClient.js +340 -10
  165. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +128 -24
  166. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +81 -19
  167. package/sdk/platform/Order/OrderPlatformClient.d.ts +517 -160
  168. package/sdk/platform/Order/OrderPlatformClient.js +1623 -384
  169. package/sdk/platform/Order/OrderPlatformModel.d.ts +10372 -1587
  170. package/sdk/platform/Order/OrderPlatformModel.js +5726 -1512
  171. package/sdk/platform/Order/OrderPlatformValidator.d.ts +539 -123
  172. package/sdk/platform/Order/OrderPlatformValidator.js +323 -92
  173. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +8 -6
  174. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +11 -9
  175. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +6 -4
  176. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +3 -2
  177. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +77 -25
  178. package/sdk/platform/Partner/PartnerPlatformModel.js +32 -21
  179. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +144 -219
  180. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +307 -796
  181. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +86 -121
  182. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +80 -138
  183. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +30 -30
  184. package/sdk/platform/Payment/PaymentPlatformClient.js +30 -30
  185. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +901 -761
  186. package/sdk/platform/Payment/PaymentPlatformModel.js +663 -583
  187. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  188. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  189. package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
  190. package/sdk/platform/PlatformApplicationClient.js +0 -4
  191. package/sdk/platform/PlatformClient.d.ts +5 -4
  192. package/sdk/platform/PlatformClient.js +32 -22
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +526 -69
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +3337 -337
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +603 -38
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +529 -32
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +184 -133
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +780 -491
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +9408 -1666
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5720 -1765
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +257 -180
  202. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +185 -127
  203. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
  204. package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
  205. package/sdk/platform/Share/SharePlatformModel.d.ts +45 -9
  206. package/sdk/platform/Share/SharePlatformModel.js +31 -6
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -26
  208. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +38 -29
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -3
  210. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +10 -2
  211. package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
  212. package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
  213. package/sdk/platform/Theme/ThemePlatformModel.d.ts +103 -17
  214. package/sdk/platform/Theme/ThemePlatformModel.js +92 -23
  215. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +167 -45
  216. package/sdk/platform/User/UserPlatformApplicationClient.js +950 -67
  217. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +189 -3
  218. package/sdk/platform/User/UserPlatformApplicationValidator.js +157 -3
  219. package/sdk/platform/User/UserPlatformModel.d.ts +880 -47
  220. package/sdk/platform/User/UserPlatformModel.js +607 -46
  221. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +33 -86
  222. package/sdk/platform/Webhook/WebhookPlatformClient.js +79 -474
  223. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +861 -422
  224. package/sdk/platform/Webhook/WebhookPlatformModel.js +469 -391
  225. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  226. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  227. package/sdk/platform/index.d.ts +0 -2
  228. package/sdk/platform/index.js +0 -4
  229. package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
  230. package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
  231. package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
  232. package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
  233. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
  234. package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
  235. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -4
  236. package/sdk/public/Configuration/ConfigurationPublicClient.js +9 -8
  237. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +41 -21
  238. package/sdk/public/Configuration/ConfigurationPublicModel.js +28 -12
  239. package/sdk/public/Content/ContentPublicClient.d.ts +145 -2
  240. package/sdk/public/Content/ContentPublicClient.js +1067 -17
  241. package/sdk/public/Content/ContentPublicModel.d.ts +704 -3
  242. package/sdk/public/Content/ContentPublicModel.js +751 -3
  243. package/sdk/public/Content/ContentPublicValidator.d.ts +94 -3
  244. package/sdk/public/Content/ContentPublicValidator.js +119 -2
  245. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  246. package/sdk/public/Partner/PartnerPublicClient.js +1 -1
  247. package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
  248. package/sdk/public/Partner/PartnerPublicModel.js +81 -71
  249. package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
  250. package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
  251. package/sdk/public/PublicClient.d.ts +5 -2
  252. package/sdk/public/PublicClient.js +16 -6
  253. package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -13
  254. package/sdk/public/Webhook/WebhookPublicClient.js +13 -13
  255. package/sdk/public/Webhook/WebhookPublicModel.d.ts +249 -67
  256. package/sdk/public/Webhook/WebhookPublicModel.js +81 -61
  257. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  258. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  259. package/sdk/public/index.d.ts +1 -0
  260. package/sdk/public/index.js +2 -0
  261. package/utility.d.ts +3 -0
  262. package/utility.js +7 -0
  263. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
  264. package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
  265. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +0 -19
  266. package/sdk/application/Webhook/WebhookApplicationClient.js +0 -72
  267. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  268. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  269. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  270. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  271. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  272. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
  273. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
  274. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
  275. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
  276. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
  277. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -382
  278. package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -408
@@ -1,79 +1,200 @@
1
1
  export = WebhookPartnerModel;
2
2
  /**
3
- * @typedef UpdateSubscriberRequest
4
- * @property {string} [status]
3
+ * @typedef ReportDownloadPayload
4
+ * @property {string} end_date - The end date and time for the report, in ISO 8601 format.
5
+ * @property {string} start_date - The start date and time for the report, in
6
+ * ISO 8601 format.
5
7
  */
6
8
  /**
7
- * @typedef UpdateSubscriberResponse
8
- * @property {string} [message]
9
+ * @typedef DownloadReportResult
10
+ * @property {string} [file_name] - The generated report file name.
11
+ */
12
+ /**
13
+ * @typedef FilterValidationPayload
14
+ * @property {Object} sample_data - Sample payload used to validate the filter logic.
15
+ * @property {FilterValidationSchema} filters
16
+ */
17
+ /**
18
+ * @typedef ReducerValidationPayload
19
+ * @property {Object} sample_data - Sample payload used to validate the reducer mapping.
20
+ * @property {Object} reducer - The reducer property allows users to customize
21
+ * the JSON structure of the webhook payload using JSONPath queries.
22
+ */
23
+ /**
24
+ * @typedef FilterReducerSave
25
+ * @property {FilterSaveSchema} [filter_configuration]
26
+ * @property {Object} [reducer_configuration] - The reducer property allows
27
+ * users to customize the JSON structure of the webhook payload using JSONPath queries.
28
+ * @property {string} event_slug - Event slug for which filter/reducer is being
29
+ * configured.
30
+ */
31
+ /**
32
+ * @typedef FilterValidationSchema
33
+ * @property {string} [query] - JSONPath expression to extract a value from
34
+ * sample payload.
35
+ * @property {string} [condition] - JavaScript condition function evaluated for
36
+ * the extracted value.
37
+ * @property {string} [logic] - Logical operator for combining nested filter conditions.
38
+ * @property {Object[]} [conditions] - Nested filter conditions evaluated with
39
+ * the selected logical operator.
40
+ */
41
+ /**
42
+ * @typedef FilterSaveSchema
43
+ * @property {string} [query] - JSONPath expression to extract a value from event payload.
44
+ * @property {string} [condition] - JavaScript condition function evaluated for
45
+ * the extracted value.
46
+ * @property {string} [logic] - Logical operator for combining nested filter conditions.
47
+ * @property {Object[]} [conditions] - Nested filter conditions evaluated with
48
+ * the selected logical operator.
49
+ */
50
+ /**
51
+ * @typedef FilterValidationResult
52
+ * @property {boolean} [success] - Indicates if the filter validation succeeded.
53
+ * @property {string} [message] - Additional details about filter validation result.
54
+ * @property {boolean} [filter_result] - Evaluated result of the filter condition.
55
+ */
56
+ /**
57
+ * @typedef ReducerValidationResult
58
+ * @property {boolean} [success] - Indicates if the reducer validation succeeded.
59
+ * @property {string} [message] - Additional details about reducer validation result.
60
+ * @property {Object} [reducer_result] - Result produced by applying reducer
61
+ * mapping on sample data.
62
+ */
63
+ /**
64
+ * @typedef FilterReducerSaveResult
65
+ * @property {boolean} [success] - Indicates if filter/reducer configuration was
66
+ * saved successfully.
67
+ * @property {string} [message] - Additional details about save operation result.
68
+ * @property {Object} [data] - Additional response payload returned by the save operation.
69
+ */
70
+ /**
71
+ * @typedef SubscriberUpdate
72
+ * @property {string} [status] - Represents the status of the subscriber update operation.
73
+ */
74
+ /**
75
+ * @typedef SubscriberUpdateResult
76
+ * @property {string} [message] - Provides a message describing the result of
77
+ * the subscriber update operation.
9
78
  */
10
79
  /**
11
80
  * @typedef Association
12
- * @property {number} [company_id]
13
- * @property {string[]} [application_id]
14
- * @property {string} [extension_id]
15
- * @property {string} [criteria]
81
+ * @property {number} [company_id] - The identifier for the company associated
82
+ * with the configuration.
83
+ * @property {string[]} [application_id] - A list of application identifiers
84
+ * associated with the configuration.
85
+ * @property {string} [extension_id] - The identifier for the extension related
86
+ * to the configuration.
87
+ * @property {string} [criteria] - Defines the criteria for the association,
88
+ * including options for all events, empty criteria, or specific events.
16
89
  */
17
90
  /**
18
91
  * @typedef AuthMeta
19
- * @property {string} [type]
20
- * @property {string} [secret]
92
+ * @property {string} [type] - Specifies the type of authentication used.
93
+ * @property {string} [secret] - Contains the key or token used for authentication.
94
+ */
95
+ /**
96
+ * @typedef BroadcasterConfig
97
+ * @property {string} [topic] - The topic associated with the broadcaster configuration.
98
+ * @property {string} [queue] - The queue name used by the broadcaster.
99
+ * @property {string} [event_bridge_name] - The name of the event bridge used in
100
+ * the broadcaster configuration.
101
+ * @property {string} [workflow_name] - The name of the workflow related to the
102
+ * broadcaster.
103
+ * @property {string} [account_id] - The account ID associated with the
104
+ * broadcaster configuration.
105
+ * @property {string} [detail_type] - Specifies the type of detail for the
106
+ * broadcaster, allowing for custom or non-enumerated values.
21
107
  */
22
108
  /**
23
109
  * @typedef SubscriberEventMapping
24
- * @property {number} [id]
25
- * @property {number} [event_id]
26
- * @property {number} [subscriber_id]
27
- * @property {string} [topic]
28
- * @property {string} [created_on]
29
- */
30
- /**
31
- * @typedef EventConfigResponse
32
- * @property {number} [id]
33
- * @property {string} [event_name]
34
- * @property {string} [event_type]
35
- * @property {string} [event_category]
36
- * @property {Object} [event_schema]
37
- * @property {string} [version]
38
- * @property {string} [display_name]
39
- * @property {string} [description]
40
- * @property {string} [created_on]
41
- * @property {string} [updated_on]
42
- * @property {string} [group]
110
+ * @property {number} [id] - The unique identifier for the subscriber event mapping.
111
+ * @property {number} [event_id] - The identifier for the event associated with
112
+ * the subscriber.
113
+ * @property {number} [subscriber_id] - The identifier for the subscriber
114
+ * involved in the mapping.
115
+ * @property {FilterSchema} [filters]
116
+ * @property {Object} [reducer] - The reducer property allows users to customize
117
+ * the JSON structure of the webhook payload using JSONPath queries. They can
118
+ * also create new properties by mapping existing ones. Note that it overrides
119
+ * the entire JSON structure of the webhook payload sent via the webhook. See
120
+ * the partner documentation's filter and reducer section for details.
121
+ * @property {BroadcasterConfig} [broadcaster_config]
122
+ * @property {string} [created_on] - The timestamp indicating when the
123
+ * subscriber event mapping was created.
124
+ */
125
+ /**
126
+ * @typedef FilterSchema
127
+ * @property {string} [query] - JSONPath expression that specifies the property
128
+ * in the webhook payload to filter on. This enables targeting specific data
129
+ * within the payload.
130
+ * @property {string} [condition] - JavaScript function used to evaluate the
131
+ * specified property in the webhook payload against a condition. This
132
+ * function determines whether the filter passes based on its return value.
133
+ * @property {string} [logic] - Logical operator used to combine multiple
134
+ * conditions in the `conditions` array. Supported values are `AND` and `OR`.
135
+ * @property {Object[]} [conditions] - An array of filter objects to be
136
+ * evaluated using the specified logical operator. This array will contain
137
+ * more filters including a combination of single condition mode and logical
138
+ * group mode filters.
139
+ */
140
+ /**
141
+ * @typedef EventConfigDetails
142
+ * @property {number} [id] - The unique identifier for the event configuration.
143
+ * @property {string} [event_name] - The name assigned to the event configuration.
144
+ * @property {string} [event_type] - Specifies the type of event, allowing for
145
+ * custom or non-enumerated values.
146
+ * @property {string} [event_category] - Defines the category of the event,
147
+ * allowing for custom or non-enumerated values.
148
+ * @property {Object} [event_schema] - Contains the schema details for the
149
+ * event, allowing for flexible or dynamic schemas.
150
+ * @property {string} [version] - The version number of the event configuration.
151
+ * @property {string} [display_name] - The display name for the event configuration.
152
+ * @property {string} [description] - A description of the event configuration,
153
+ * if provided.
154
+ * @property {string} [created_on] - The timestamp indicating when the event
155
+ * configuration was created.
156
+ * @property {string} [updated_on] - The timestamp indicating when the event
157
+ * configuration was last updated.
158
+ * @property {string} [group] - The group to which the event configuration
159
+ * belongs, if applicable.
43
160
  * @property {SubscriberEventMapping} [subscriber_event_mapping]
44
161
  */
45
162
  /**
46
- * @typedef SubscriberConfigResponse
47
- * @property {ItemSchema[]} [items]
163
+ * @typedef SubscriberConfigDetails
164
+ * @property {ItemSchema[]} [items] - A list of items representing subscriber
165
+ * configurations.
48
166
  * @property {Page} [page]
49
167
  */
50
168
  /**
51
- * @typedef InvalidEventsRequest
52
- * @property {string} [event_name]
53
- * @property {string} [version]
54
- * @property {string} [category]
55
- * @property {string} [start_date]
56
- * @property {string} [end_date]
169
+ * @typedef InvalidEventsPayload
170
+ * @property {string} [event_name] - The name of the event that is considered invalid.
171
+ * @property {string} [version] - The version of the event that is considered invalid.
172
+ * @property {string} [category] - The category of the event that is considered invalid.
173
+ * @property {string} [start_date] - The start date and time for the period
174
+ * during which events were considered invalid.
175
+ * @property {string} [end_date] - The end date and time for the period during
176
+ * which events were considered invalid.
57
177
  */
58
178
  /**
59
- * @typedef InvalidEventsResponse
60
- * @property {string} [event_name]
61
- * @property {string} [event_type]
62
- * @property {string} [version]
63
- * @property {string} [category]
64
- * @property {number} [count]
179
+ * @typedef InvalidEventsResult
180
+ * @property {string} [event_name] - The name of the event that was found to be invalid.
181
+ * @property {string} [event_type] - The type of the invalid event, allowing for
182
+ * custom or non-enumerated values.
183
+ * @property {string} [version] - The version of the invalid event.
184
+ * @property {string} [category] - The category of the invalid event.
185
+ * @property {number} [count] - The number of occurrences of the invalid event.
65
186
  */
66
187
  /**
67
188
  * @typedef HistoryFilters
68
- * @property {string[]} [events]
69
- * @property {string} [search_text]
189
+ * @property {string[]} [events] - A list of event types to filter the history report.
190
+ * @property {string} [search_text] - Text used for searching within the history report.
70
191
  * @property {string} [status] - The status of the history report (e.g., "FAILED").
71
192
  * @property {string} [end_date] - The end date and time of the history report.
72
193
  * @property {string} [start_date] - The start date and time of the history report.
73
194
  * @property {number[]} [subscribers] - An array of subscriber IDs associated
74
195
  * with the history report.
75
- * @property {string[]} [webhook_type] - An array of webhook type to identify
76
- * thetype of subscriber i.e (KAFKA or REST).
196
+ * @property {string[]} [webhook_type] - An array of webhook types to identify
197
+ * the type of subscriber.
77
198
  */
78
199
  /**
79
200
  * @typedef Url
@@ -82,7 +203,8 @@ export = WebhookPartnerModel;
82
203
  */
83
204
  /**
84
205
  * @typedef CdnObject
85
- * @property {Url[]} [urls]
206
+ * @property {Url[]} [urls] - A list of URLs for CDN objects, including the
207
+ * location of the uploaded report files.
86
208
  */
87
209
  /**
88
210
  * @typedef UploadServiceObject
@@ -90,225 +212,613 @@ export = WebhookPartnerModel;
90
212
  */
91
213
  /**
92
214
  * @typedef HistoryAssociation
93
- * @property {number} [company_id]
94
- * @property {number[]} [subscriber_ids]
215
+ * @property {number} [company_id] - The identifier for the company associated
216
+ * with the history report.
217
+ * @property {number[]} [subscriber_ids] - A list of subscriber IDs related to
218
+ * the history report.
95
219
  */
96
220
  /**
97
221
  * @typedef HistoryItems
98
- * @property {number} [id] - The ID of the history report.
222
+ * @property {number} [id] - The unique identifier for the history report.
99
223
  * @property {HistoryAssociation} [association]
100
224
  * @property {HistoryFilters} [filters]
101
- * @property {string} [filename] - The filename of the history report.
102
- * @property {string} [status] - The status of the history report (e.g., "COMPLETED").
225
+ * @property {string} [filename] - The name of the file containing the history report.
226
+ * @property {string} [status] - The current status of the history report (e.g.,
227
+ * "COMPLETED").
103
228
  * @property {UploadServiceObject} [upload_service_response]
104
229
  * @property {string} [created_on] - The date and time when the history report
105
- * was created.
230
+ * was generated.
106
231
  * @property {string} [updated_on] - The date and time when the history report
107
232
  * was last updated.
108
233
  * @property {string} [message] - A message related to the history report.
109
234
  */
110
235
  /**
111
- * @typedef HistoryResponse
112
- * @property {HistoryItems[]} [items]
236
+ * @typedef HistoryResult
237
+ * @property {HistoryItems[]} [items] - A list of history report items.
113
238
  * @property {Page} [page]
114
239
  */
115
240
  /**
116
241
  * @typedef HistoryPayload
117
- * @property {number} [company_id]
118
- * @property {string} [type] - The type of history report (e.g., "platform").
119
- * @property {number} [page_no] - The page number of the history report.
120
- * @property {number} [page_size] - The number of records per page.
242
+ * @property {number} [company_id] - The identifier for the company requesting
243
+ * the history report.
244
+ * @property {string} [type] - Specifies the type of history report requested
245
+ * (e.g., "platform").
246
+ * @property {number} [page_no] - The page number of the history report results.
247
+ * @property {number} [page_size] - The number of records to display per page in
248
+ * the history report.
121
249
  */
122
250
  /**
123
- * @typedef CancelDownloadResponse
124
- * @property {string} [message]
125
- * @property {string} [result]
251
+ * @typedef CancelDownloadResult
252
+ * @property {string} [message] - A message indicating the result of the cancel
253
+ * download request.
254
+ * @property {string} [result] - The outcome of the cancel download operation.
126
255
  */
127
256
  /**
128
- * @typedef FilterReportResponse
129
- * @property {string} [filter_name]
130
- * @property {Object[]} [values]
257
+ * @typedef FilterReportResult
258
+ * @property {string} [filter_name] - The name of the filter applied in the report.
259
+ * @property {Object[]} [values] - A list of values resulting from the applied filter.
131
260
  */
132
261
  /**
133
- * @typedef DeliveryTsResponse
134
- * @property {DeliveryTsSchema[]} [delivery_ts]
262
+ * @typedef DeliveryTsResult
263
+ * @property {DeliveryTsSchema[]} [delivery_ts] - List of delivery timestamps.
135
264
  */
136
265
  /**
137
266
  * @typedef DeliveryTsSchema
138
- * @property {string} [timestamp]
139
- * @property {number} [failed]
140
- * @property {number} [removed_webhooks]
141
- * @property {number} [success]
267
+ * @property {string} [timestamp] - The timestamp of the delivery event.
268
+ * @property {number} [failed] - The count of failed delivery attempts.
269
+ * @property {number} [removed_webhooks] - The count of removed webhooks during delivery.
270
+ * @property {number} [success] - The count of successful delivery attempts.
142
271
  */
143
272
  /**
144
- * @typedef DeliveryDetailsRequest
145
- * @property {string} [company_id]
146
- * @property {number} [page_no]
147
- * @property {number} [page_size]
148
- * @property {string} [start_date]
149
- * @property {string} [end_date]
150
- * @property {EventDeliveryDetailSchema[]} [event]
151
- * @property {string} [status]
273
+ * @typedef DeliveryDetailsPayload
274
+ * @property {string} [company_id] - The identifier for the company requesting
275
+ * delivery details.
276
+ * @property {number} [page_no] - The page number for the delivery details results.
277
+ * @property {number} [page_size] - The number of records per page for delivery details.
278
+ * @property {string} [start_date] - The start date and time for filtering
279
+ * delivery details.
280
+ * @property {string} [end_date] - The end date and time for filtering delivery details.
281
+ * @property {EventDeliveryDetailSchema[]} [event] - A list of event delivery details.
282
+ * @property {string} [status] - The status of the delivery details request.
152
283
  */
153
284
  /**
154
285
  * @typedef EventDeliveryDetailSchema
155
- * @property {string} [event_name]
156
- * @property {string} [event_type]
157
- * @property {string} [event_category]
158
- * @property {string} [version]
286
+ * @property {string} [event_name] - The name of the event related to the
287
+ * delivery details.
288
+ * @property {string} [event_type] - The type of the event, allowing for custom
289
+ * or non-enumerated values.
290
+ * @property {string} [event_category] - The category of the event, allowing for
291
+ * custom or non-enumerated values.
292
+ * @property {string} [version] - The version of the event related to the
293
+ * delivery details.
159
294
  */
160
295
  /**
161
- * @typedef DeliveryDetailsResponse
162
- * @property {EventProcessReportObject[]} [rows]
296
+ * @typedef DeliveryDetailsResult
297
+ * @property {EventProcessReportObject[]} [rows] - A list of processed event
298
+ * reports with delivery details.
163
299
  * @property {Page} [page]
164
300
  */
165
301
  /**
166
302
  * @typedef EventProcessReportObject
167
303
  * @property {string} [event_name] - The name of the processed event.
168
- * @property {number} [response_code] - The response code of the event.
169
- * @property {string} [response_message] - The response message of the event.
170
- * @property {string} [data] - The data associated with the event.
171
- * @property {number} [attempt] - The attempt number of the event.
172
- * @property {number} [last_attempted_on] - The timestamp of the last attempted event.
173
- * @property {string} [status] - The status of the event (e.g., "FAILED").
304
+ * @property {number} [response_code] - The response code returned for the
305
+ * event, allowing for custom or non-enumerated values.
306
+ * @property {string} [response_message] - The response message associated with the event.
307
+ * @property {string} [data] - The data payload associated with the event.
308
+ * @property {number} [attempt] - The attempt number for processing the event.
309
+ * @property {number} [last_attempted_on] - The timestamp of the last attempt to
310
+ * process the event.
311
+ * @property {string} [status] - The status of the event processing (e.g., "FAILED").
174
312
  * @property {string} [name] - The name of the event.
175
- * @property {string} [webhook_url] - The webhook URL associated with the event.
176
- * @property {number} [response_time] - The response time of the event.
177
- * @property {string} [message_id]
178
- * @property {string} [event_trace_id]
313
+ * @property {string} [webhook_url] - The URL of the webhook associated with the event.
314
+ * @property {number} [response_time] - The time taken to respond to the event.
315
+ * @property {string} [message_id] - The identifier for the event message.
316
+ * @property {string} [event_trace_id] - The trace ID associated with the event.
179
317
  */
180
318
  /**
181
319
  * @typedef Page
182
- * @property {number} [item_total] - The total number of items on the page.
320
+ * @property {number} [item_total] - The total number of all items across all pages.
183
321
  * @property {string} [next_id] - The identifier for the next page.
184
322
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
185
323
  * @property {boolean} [has_next] - Indicates whether there is a next page.
186
324
  * @property {number} [current] - The current page number.
187
- * @property {string} type - The type of the page, such as 'PageType'.
325
+ * @property {string} type - The type of the page, can be 'cursor' or 'number'.
188
326
  * @property {number} [size] - The number of items per page.
327
+ * @property {number} [page_size] - The number of items per page.
189
328
  */
190
329
  /**
191
330
  * @typedef DeliveryEventLevelSchema
192
- * @property {string} [event]
193
- * @property {number} [success]
194
- * @property {number} [failed]
195
- * @property {number} [failed_percentage]
196
- * @property {number} [removed_webhooks]
197
- * @property {number} [total]
198
- * @property {number} [response_time]
331
+ * @property {string} [event] - The name or identifier of the event.
332
+ * @property {number} [success] - The count of successful deliveries for the event.
333
+ * @property {number} [failed] - The count of failed deliveries for the event.
334
+ * @property {number} [failed_percentage] - The percentage of failed deliveries
335
+ * relative to the total.
336
+ * @property {number} [removed_webhooks] - The count of webhooks that were
337
+ * removed during the delivery.
338
+ * @property {number} [total] - The total number of delivery attempts for the event.
339
+ * @property {number} [response_time] - The average response time for the event
340
+ * deliveries.
341
+ */
342
+ /**
343
+ * @typedef ResponseTimeTs
344
+ * @property {AvgResponseTime[]} [avg_response_time_ts] - List of average
345
+ * response time timestamps.
346
+ */
347
+ /**
348
+ * @typedef AvgResponseTime
349
+ * @property {string} [last_attempted_on] - The timestamp of the last attempt,
350
+ * formatted as a string.
351
+ * @property {number} [response_code] - The response code returned for the
352
+ * delivery attempt, allowing for custom or non-enumerated values.
353
+ * @property {string} [response_time] - The response time for the delivery
354
+ * attempt, formatted as a string.
355
+ * @property {number} [attempt] - The attempt number for the delivery.
356
+ * @property {number} [total] - The total count of deliveries attempted.
199
357
  */
200
358
  /**
201
- * @typedef DeliverySummaryResponse
202
- * @property {DeliveryEventLevelSchema[]} [delivery_event_level]
359
+ * @typedef DeliverySummaryResult
360
+ * @property {DeliveryEventLevelSchema[]} [delivery_event_level] - List of
361
+ * delivery event levels.
203
362
  * @property {DeliverySummarySchema} [delivery_summary]
204
363
  */
205
364
  /**
206
365
  * @typedef DeliverySummarySchema
207
- * @property {number} [success]
208
- * @property {number} [response_time]
209
- * @property {number} [failed_percentage]
210
- * @property {number} [removed_webhooks]
366
+ * @property {number} [success] - The total count of successful deliveries.
367
+ * @property {number} [response_time] - The average response time for deliveries.
368
+ * @property {number} [failed_percentage] - The percentage of failed deliveries.
369
+ * @property {number} [removed_webhooks] - The count of webhooks removed during delivery.
211
370
  */
212
371
  /**
213
372
  * @typedef ItemSchema
214
- * @property {number} [id]
215
- * @property {string} [modified_by]
216
- * @property {string} [name]
217
- * @property {string} [webhook_url]
218
- * @property {string} [provider]
373
+ * @property {number} [id] - The unique identifier for the item.
374
+ * @property {string} [modified_by] - The user or system that last modified the item.
375
+ * @property {string} [name] - The name of the item.
376
+ * @property {string} [webhook_url] - The URL of the webhook associated with the item.
377
+ * @property {string} [provider] - The provider of the item.
378
+ * @property {string} [source] - Source that subscriber belongs to.
219
379
  * @property {Association} [association]
220
- * @property {Object} [custom_headers]
221
- * @property {string} [status]
222
- * @property {string} [email_id]
223
- * @property {string} [updated_on]
224
- * @property {string} [created_on]
225
- * @property {string} [type]
380
+ * @property {Object} [custom_headers] - Custom headers associated with the item, if any.
381
+ * @property {string} [status] - The current status of the item.
382
+ * @property {string} [email_id] - The email ID associated with the item, if applicable.
383
+ * @property {string} [updated_on] - The date and time when the item was last updated.
384
+ * @property {string} [created_on] - The date and time when the item was created.
385
+ * @property {string} [type] - The type of the item, if applicable.
226
386
  * @property {AuthMeta} [auth_meta]
227
- * @property {EventConfigResponse[]} [event_configs]
228
- * @property {number[]} [event_id]
387
+ * @property {EventConfigDetails[]} [event_configs] - A list of event
388
+ * configurations associated with the item.
389
+ * @property {number[]} [event_id] - A list of event IDs associated with the item.
229
390
  */
230
391
  declare class WebhookPartnerModel {
231
392
  }
232
393
  declare namespace WebhookPartnerModel {
233
- export { UpdateSubscriberRequest, UpdateSubscriberResponse, Association, AuthMeta, SubscriberEventMapping, EventConfigResponse, SubscriberConfigResponse, InvalidEventsRequest, InvalidEventsResponse, HistoryFilters, Url, CdnObject, UploadServiceObject, HistoryAssociation, HistoryItems, HistoryResponse, HistoryPayload, CancelDownloadResponse, FilterReportResponse, DeliveryTsResponse, DeliveryTsSchema, DeliveryDetailsRequest, EventDeliveryDetailSchema, DeliveryDetailsResponse, EventProcessReportObject, Page, DeliveryEventLevelSchema, DeliverySummaryResponse, DeliverySummarySchema, ItemSchema };
394
+ export { ReportDownloadPayload, DownloadReportResult, FilterValidationPayload, ReducerValidationPayload, FilterReducerSave, FilterValidationSchema, FilterSaveSchema, FilterValidationResult, ReducerValidationResult, FilterReducerSaveResult, SubscriberUpdate, SubscriberUpdateResult, Association, AuthMeta, BroadcasterConfig, SubscriberEventMapping, FilterSchema, EventConfigDetails, SubscriberConfigDetails, InvalidEventsPayload, InvalidEventsResult, HistoryFilters, Url, CdnObject, UploadServiceObject, HistoryAssociation, HistoryItems, HistoryResult, HistoryPayload, CancelDownloadResult, FilterReportResult, DeliveryTsResult, DeliveryTsSchema, DeliveryDetailsPayload, EventDeliveryDetailSchema, DeliveryDetailsResult, EventProcessReportObject, Page, DeliveryEventLevelSchema, ResponseTimeTs, AvgResponseTime, DeliverySummaryResult, DeliverySummarySchema, ItemSchema };
234
395
  }
235
- /** @returns {UpdateSubscriberRequest} */
236
- declare function UpdateSubscriberRequest(): UpdateSubscriberRequest;
237
- type UpdateSubscriberRequest = {
396
+ /** @returns {ReportDownloadPayload} */
397
+ declare function ReportDownloadPayload(): ReportDownloadPayload;
398
+ type ReportDownloadPayload = {
399
+ /**
400
+ * - The end date and time for the report, in ISO 8601 format.
401
+ */
402
+ end_date: string;
403
+ /**
404
+ * - The start date and time for the report, in
405
+ * ISO 8601 format.
406
+ */
407
+ start_date: string;
408
+ };
409
+ /** @returns {DownloadReportResult} */
410
+ declare function DownloadReportResult(): DownloadReportResult;
411
+ type DownloadReportResult = {
412
+ /**
413
+ * - The generated report file name.
414
+ */
415
+ file_name?: string;
416
+ };
417
+ /** @returns {FilterValidationPayload} */
418
+ declare function FilterValidationPayload(): FilterValidationPayload;
419
+ type FilterValidationPayload = {
420
+ /**
421
+ * - Sample payload used to validate the filter logic.
422
+ */
423
+ sample_data: any;
424
+ filters: FilterValidationSchema;
425
+ };
426
+ /** @returns {ReducerValidationPayload} */
427
+ declare function ReducerValidationPayload(): ReducerValidationPayload;
428
+ type ReducerValidationPayload = {
429
+ /**
430
+ * - Sample payload used to validate the reducer mapping.
431
+ */
432
+ sample_data: any;
433
+ /**
434
+ * - The reducer property allows users to customize
435
+ * the JSON structure of the webhook payload using JSONPath queries.
436
+ */
437
+ reducer: any;
438
+ };
439
+ /** @returns {FilterReducerSave} */
440
+ declare function FilterReducerSave(): FilterReducerSave;
441
+ type FilterReducerSave = {
442
+ filter_configuration?: FilterSaveSchema;
443
+ /**
444
+ * - The reducer property allows
445
+ * users to customize the JSON structure of the webhook payload using JSONPath queries.
446
+ */
447
+ reducer_configuration?: any;
448
+ /**
449
+ * - Event slug for which filter/reducer is being
450
+ * configured.
451
+ */
452
+ event_slug: string;
453
+ };
454
+ /** @returns {FilterValidationSchema} */
455
+ declare function FilterValidationSchema(): FilterValidationSchema;
456
+ type FilterValidationSchema = {
457
+ /**
458
+ * - JSONPath expression to extract a value from
459
+ * sample payload.
460
+ */
461
+ query?: string;
462
+ /**
463
+ * - JavaScript condition function evaluated for
464
+ * the extracted value.
465
+ */
466
+ condition?: string;
467
+ /**
468
+ * - Logical operator for combining nested filter conditions.
469
+ */
470
+ logic?: string;
471
+ /**
472
+ * - Nested filter conditions evaluated with
473
+ * the selected logical operator.
474
+ */
475
+ conditions?: any[];
476
+ };
477
+ /** @returns {FilterSaveSchema} */
478
+ declare function FilterSaveSchema(): FilterSaveSchema;
479
+ type FilterSaveSchema = {
480
+ /**
481
+ * - JSONPath expression to extract a value from event payload.
482
+ */
483
+ query?: string;
484
+ /**
485
+ * - JavaScript condition function evaluated for
486
+ * the extracted value.
487
+ */
488
+ condition?: string;
489
+ /**
490
+ * - Logical operator for combining nested filter conditions.
491
+ */
492
+ logic?: string;
493
+ /**
494
+ * - Nested filter conditions evaluated with
495
+ * the selected logical operator.
496
+ */
497
+ conditions?: any[];
498
+ };
499
+ /** @returns {FilterValidationResult} */
500
+ declare function FilterValidationResult(): FilterValidationResult;
501
+ type FilterValidationResult = {
502
+ /**
503
+ * - Indicates if the filter validation succeeded.
504
+ */
505
+ success?: boolean;
506
+ /**
507
+ * - Additional details about filter validation result.
508
+ */
509
+ message?: string;
510
+ /**
511
+ * - Evaluated result of the filter condition.
512
+ */
513
+ filter_result?: boolean;
514
+ };
515
+ /** @returns {ReducerValidationResult} */
516
+ declare function ReducerValidationResult(): ReducerValidationResult;
517
+ type ReducerValidationResult = {
518
+ /**
519
+ * - Indicates if the reducer validation succeeded.
520
+ */
521
+ success?: boolean;
522
+ /**
523
+ * - Additional details about reducer validation result.
524
+ */
525
+ message?: string;
526
+ /**
527
+ * - Result produced by applying reducer
528
+ * mapping on sample data.
529
+ */
530
+ reducer_result?: any;
531
+ };
532
+ /** @returns {FilterReducerSaveResult} */
533
+ declare function FilterReducerSaveResult(): FilterReducerSaveResult;
534
+ type FilterReducerSaveResult = {
535
+ /**
536
+ * - Indicates if filter/reducer configuration was
537
+ * saved successfully.
538
+ */
539
+ success?: boolean;
540
+ /**
541
+ * - Additional details about save operation result.
542
+ */
543
+ message?: string;
544
+ /**
545
+ * - Additional response payload returned by the save operation.
546
+ */
547
+ data?: any;
548
+ };
549
+ /** @returns {SubscriberUpdate} */
550
+ declare function SubscriberUpdate(): SubscriberUpdate;
551
+ type SubscriberUpdate = {
552
+ /**
553
+ * - Represents the status of the subscriber update operation.
554
+ */
238
555
  status?: string;
239
556
  };
240
- /** @returns {UpdateSubscriberResponse} */
241
- declare function UpdateSubscriberResponse(): UpdateSubscriberResponse;
242
- type UpdateSubscriberResponse = {
557
+ /** @returns {SubscriberUpdateResult} */
558
+ declare function SubscriberUpdateResult(): SubscriberUpdateResult;
559
+ type SubscriberUpdateResult = {
560
+ /**
561
+ * - Provides a message describing the result of
562
+ * the subscriber update operation.
563
+ */
243
564
  message?: string;
244
565
  };
245
566
  /** @returns {Association} */
246
567
  declare function Association(): Association;
247
568
  type Association = {
569
+ /**
570
+ * - The identifier for the company associated
571
+ * with the configuration.
572
+ */
248
573
  company_id?: number;
574
+ /**
575
+ * - A list of application identifiers
576
+ * associated with the configuration.
577
+ */
249
578
  application_id?: string[];
579
+ /**
580
+ * - The identifier for the extension related
581
+ * to the configuration.
582
+ */
250
583
  extension_id?: string;
584
+ /**
585
+ * - Defines the criteria for the association,
586
+ * including options for all events, empty criteria, or specific events.
587
+ */
251
588
  criteria?: string;
252
589
  };
253
590
  /** @returns {AuthMeta} */
254
591
  declare function AuthMeta(): AuthMeta;
255
592
  type AuthMeta = {
593
+ /**
594
+ * - Specifies the type of authentication used.
595
+ */
256
596
  type?: string;
597
+ /**
598
+ * - Contains the key or token used for authentication.
599
+ */
257
600
  secret?: string;
258
601
  };
602
+ /** @returns {BroadcasterConfig} */
603
+ declare function BroadcasterConfig(): BroadcasterConfig;
604
+ type BroadcasterConfig = {
605
+ /**
606
+ * - The topic associated with the broadcaster configuration.
607
+ */
608
+ topic?: string;
609
+ /**
610
+ * - The queue name used by the broadcaster.
611
+ */
612
+ queue?: string;
613
+ /**
614
+ * - The name of the event bridge used in
615
+ * the broadcaster configuration.
616
+ */
617
+ event_bridge_name?: string;
618
+ /**
619
+ * - The name of the workflow related to the
620
+ * broadcaster.
621
+ */
622
+ workflow_name?: string;
623
+ /**
624
+ * - The account ID associated with the
625
+ * broadcaster configuration.
626
+ */
627
+ account_id?: string;
628
+ /**
629
+ * - Specifies the type of detail for the
630
+ * broadcaster, allowing for custom or non-enumerated values.
631
+ */
632
+ detail_type?: string;
633
+ };
259
634
  /** @returns {SubscriberEventMapping} */
260
635
  declare function SubscriberEventMapping(): SubscriberEventMapping;
261
636
  type SubscriberEventMapping = {
637
+ /**
638
+ * - The unique identifier for the subscriber event mapping.
639
+ */
262
640
  id?: number;
641
+ /**
642
+ * - The identifier for the event associated with
643
+ * the subscriber.
644
+ */
263
645
  event_id?: number;
646
+ /**
647
+ * - The identifier for the subscriber
648
+ * involved in the mapping.
649
+ */
264
650
  subscriber_id?: number;
265
- topic?: string;
651
+ filters?: FilterSchema;
652
+ /**
653
+ * - The reducer property allows users to customize
654
+ * the JSON structure of the webhook payload using JSONPath queries. They can
655
+ * also create new properties by mapping existing ones. Note that it overrides
656
+ * the entire JSON structure of the webhook payload sent via the webhook. See
657
+ * the partner documentation's filter and reducer section for details.
658
+ */
659
+ reducer?: any;
660
+ broadcaster_config?: BroadcasterConfig;
661
+ /**
662
+ * - The timestamp indicating when the
663
+ * subscriber event mapping was created.
664
+ */
266
665
  created_on?: string;
267
666
  };
268
- /** @returns {EventConfigResponse} */
269
- declare function EventConfigResponse(): EventConfigResponse;
270
- type EventConfigResponse = {
667
+ /** @returns {FilterSchema} */
668
+ declare function FilterSchema(): FilterSchema;
669
+ type FilterSchema = {
670
+ /**
671
+ * - JSONPath expression that specifies the property
672
+ * in the webhook payload to filter on. This enables targeting specific data
673
+ * within the payload.
674
+ */
675
+ query?: string;
676
+ /**
677
+ * - JavaScript function used to evaluate the
678
+ * specified property in the webhook payload against a condition. This
679
+ * function determines whether the filter passes based on its return value.
680
+ */
681
+ condition?: string;
682
+ /**
683
+ * - Logical operator used to combine multiple
684
+ * conditions in the `conditions` array. Supported values are `AND` and `OR`.
685
+ */
686
+ logic?: string;
687
+ /**
688
+ * - An array of filter objects to be
689
+ * evaluated using the specified logical operator. This array will contain
690
+ * more filters including a combination of single condition mode and logical
691
+ * group mode filters.
692
+ */
693
+ conditions?: any[];
694
+ };
695
+ /** @returns {EventConfigDetails} */
696
+ declare function EventConfigDetails(): EventConfigDetails;
697
+ type EventConfigDetails = {
698
+ /**
699
+ * - The unique identifier for the event configuration.
700
+ */
271
701
  id?: number;
702
+ /**
703
+ * - The name assigned to the event configuration.
704
+ */
272
705
  event_name?: string;
706
+ /**
707
+ * - Specifies the type of event, allowing for
708
+ * custom or non-enumerated values.
709
+ */
273
710
  event_type?: string;
711
+ /**
712
+ * - Defines the category of the event,
713
+ * allowing for custom or non-enumerated values.
714
+ */
274
715
  event_category?: string;
716
+ /**
717
+ * - Contains the schema details for the
718
+ * event, allowing for flexible or dynamic schemas.
719
+ */
275
720
  event_schema?: any;
721
+ /**
722
+ * - The version number of the event configuration.
723
+ */
276
724
  version?: string;
725
+ /**
726
+ * - The display name for the event configuration.
727
+ */
277
728
  display_name?: string;
729
+ /**
730
+ * - A description of the event configuration,
731
+ * if provided.
732
+ */
278
733
  description?: string;
734
+ /**
735
+ * - The timestamp indicating when the event
736
+ * configuration was created.
737
+ */
279
738
  created_on?: string;
739
+ /**
740
+ * - The timestamp indicating when the event
741
+ * configuration was last updated.
742
+ */
280
743
  updated_on?: string;
744
+ /**
745
+ * - The group to which the event configuration
746
+ * belongs, if applicable.
747
+ */
281
748
  group?: string;
282
749
  subscriber_event_mapping?: SubscriberEventMapping;
283
750
  };
284
- /** @returns {SubscriberConfigResponse} */
285
- declare function SubscriberConfigResponse(): SubscriberConfigResponse;
286
- type SubscriberConfigResponse = {
751
+ /** @returns {SubscriberConfigDetails} */
752
+ declare function SubscriberConfigDetails(): SubscriberConfigDetails;
753
+ type SubscriberConfigDetails = {
754
+ /**
755
+ * - A list of items representing subscriber
756
+ * configurations.
757
+ */
287
758
  items?: ItemSchema[];
288
759
  page?: Page;
289
760
  };
290
- /** @returns {InvalidEventsRequest} */
291
- declare function InvalidEventsRequest(): InvalidEventsRequest;
292
- type InvalidEventsRequest = {
761
+ /** @returns {InvalidEventsPayload} */
762
+ declare function InvalidEventsPayload(): InvalidEventsPayload;
763
+ type InvalidEventsPayload = {
764
+ /**
765
+ * - The name of the event that is considered invalid.
766
+ */
293
767
  event_name?: string;
768
+ /**
769
+ * - The version of the event that is considered invalid.
770
+ */
294
771
  version?: string;
772
+ /**
773
+ * - The category of the event that is considered invalid.
774
+ */
295
775
  category?: string;
776
+ /**
777
+ * - The start date and time for the period
778
+ * during which events were considered invalid.
779
+ */
296
780
  start_date?: string;
781
+ /**
782
+ * - The end date and time for the period during
783
+ * which events were considered invalid.
784
+ */
297
785
  end_date?: string;
298
786
  };
299
- /** @returns {InvalidEventsResponse} */
300
- declare function InvalidEventsResponse(): InvalidEventsResponse;
301
- type InvalidEventsResponse = {
787
+ /** @returns {InvalidEventsResult} */
788
+ declare function InvalidEventsResult(): InvalidEventsResult;
789
+ type InvalidEventsResult = {
790
+ /**
791
+ * - The name of the event that was found to be invalid.
792
+ */
302
793
  event_name?: string;
794
+ /**
795
+ * - The type of the invalid event, allowing for
796
+ * custom or non-enumerated values.
797
+ */
303
798
  event_type?: string;
799
+ /**
800
+ * - The version of the invalid event.
801
+ */
304
802
  version?: string;
803
+ /**
804
+ * - The category of the invalid event.
805
+ */
305
806
  category?: string;
807
+ /**
808
+ * - The number of occurrences of the invalid event.
809
+ */
306
810
  count?: number;
307
811
  };
308
812
  /** @returns {HistoryFilters} */
309
813
  declare function HistoryFilters(): HistoryFilters;
310
814
  type HistoryFilters = {
815
+ /**
816
+ * - A list of event types to filter the history report.
817
+ */
311
818
  events?: string[];
819
+ /**
820
+ * - Text used for searching within the history report.
821
+ */
312
822
  search_text?: string;
313
823
  /**
314
824
  * - The status of the history report (e.g., "FAILED").
@@ -328,8 +838,8 @@ type HistoryFilters = {
328
838
  */
329
839
  subscribers?: number[];
330
840
  /**
331
- * - An array of webhook type to identify
332
- * thetype of subscriber i.e (KAFKA or REST).
841
+ * - An array of webhook types to identify
842
+ * the type of subscriber.
333
843
  */
334
844
  webhook_type?: string[];
335
845
  };
@@ -348,6 +858,10 @@ type Url = {
348
858
  /** @returns {CdnObject} */
349
859
  declare function CdnObject(): CdnObject;
350
860
  type CdnObject = {
861
+ /**
862
+ * - A list of URLs for CDN objects, including the
863
+ * location of the uploaded report files.
864
+ */
351
865
  urls?: Url[];
352
866
  };
353
867
  /** @returns {UploadServiceObject} */
@@ -358,30 +872,39 @@ type UploadServiceObject = {
358
872
  /** @returns {HistoryAssociation} */
359
873
  declare function HistoryAssociation(): HistoryAssociation;
360
874
  type HistoryAssociation = {
875
+ /**
876
+ * - The identifier for the company associated
877
+ * with the history report.
878
+ */
361
879
  company_id?: number;
880
+ /**
881
+ * - A list of subscriber IDs related to
882
+ * the history report.
883
+ */
362
884
  subscriber_ids?: number[];
363
885
  };
364
886
  /** @returns {HistoryItems} */
365
887
  declare function HistoryItems(): HistoryItems;
366
888
  type HistoryItems = {
367
889
  /**
368
- * - The ID of the history report.
890
+ * - The unique identifier for the history report.
369
891
  */
370
892
  id?: number;
371
893
  association?: HistoryAssociation;
372
894
  filters?: HistoryFilters;
373
895
  /**
374
- * - The filename of the history report.
896
+ * - The name of the file containing the history report.
375
897
  */
376
898
  filename?: string;
377
899
  /**
378
- * - The status of the history report (e.g., "COMPLETED").
900
+ * - The current status of the history report (e.g.,
901
+ * "COMPLETED").
379
902
  */
380
903
  status?: string;
381
904
  upload_service_response?: UploadServiceObject;
382
905
  /**
383
906
  * - The date and time when the history report
384
- * was created.
907
+ * was generated.
385
908
  */
386
909
  created_on?: string;
387
910
  /**
@@ -394,76 +917,156 @@ type HistoryItems = {
394
917
  */
395
918
  message?: string;
396
919
  };
397
- /** @returns {HistoryResponse} */
398
- declare function HistoryResponse(): HistoryResponse;
399
- type HistoryResponse = {
920
+ /** @returns {HistoryResult} */
921
+ declare function HistoryResult(): HistoryResult;
922
+ type HistoryResult = {
923
+ /**
924
+ * - A list of history report items.
925
+ */
400
926
  items?: HistoryItems[];
401
927
  page?: Page;
402
928
  };
403
929
  /** @returns {HistoryPayload} */
404
930
  declare function HistoryPayload(): HistoryPayload;
405
931
  type HistoryPayload = {
932
+ /**
933
+ * - The identifier for the company requesting
934
+ * the history report.
935
+ */
406
936
  company_id?: number;
407
937
  /**
408
- * - The type of history report (e.g., "platform").
938
+ * - Specifies the type of history report requested
939
+ * (e.g., "platform").
409
940
  */
410
941
  type?: string;
411
942
  /**
412
- * - The page number of the history report.
943
+ * - The page number of the history report results.
413
944
  */
414
945
  page_no?: number;
415
946
  /**
416
- * - The number of records per page.
947
+ * - The number of records to display per page in
948
+ * the history report.
417
949
  */
418
950
  page_size?: number;
419
951
  };
420
- /** @returns {CancelDownloadResponse} */
421
- declare function CancelDownloadResponse(): CancelDownloadResponse;
422
- type CancelDownloadResponse = {
952
+ /** @returns {CancelDownloadResult} */
953
+ declare function CancelDownloadResult(): CancelDownloadResult;
954
+ type CancelDownloadResult = {
955
+ /**
956
+ * - A message indicating the result of the cancel
957
+ * download request.
958
+ */
423
959
  message?: string;
960
+ /**
961
+ * - The outcome of the cancel download operation.
962
+ */
424
963
  result?: string;
425
964
  };
426
- /** @returns {FilterReportResponse} */
427
- declare function FilterReportResponse(): FilterReportResponse;
428
- type FilterReportResponse = {
965
+ /** @returns {FilterReportResult} */
966
+ declare function FilterReportResult(): FilterReportResult;
967
+ type FilterReportResult = {
968
+ /**
969
+ * - The name of the filter applied in the report.
970
+ */
429
971
  filter_name?: string;
972
+ /**
973
+ * - A list of values resulting from the applied filter.
974
+ */
430
975
  values?: any[];
431
976
  };
432
- /** @returns {DeliveryTsResponse} */
433
- declare function DeliveryTsResponse(): DeliveryTsResponse;
434
- type DeliveryTsResponse = {
977
+ /** @returns {DeliveryTsResult} */
978
+ declare function DeliveryTsResult(): DeliveryTsResult;
979
+ type DeliveryTsResult = {
980
+ /**
981
+ * - List of delivery timestamps.
982
+ */
435
983
  delivery_ts?: DeliveryTsSchema[];
436
984
  };
437
985
  /** @returns {DeliveryTsSchema} */
438
986
  declare function DeliveryTsSchema(): DeliveryTsSchema;
439
987
  type DeliveryTsSchema = {
988
+ /**
989
+ * - The timestamp of the delivery event.
990
+ */
440
991
  timestamp?: string;
992
+ /**
993
+ * - The count of failed delivery attempts.
994
+ */
441
995
  failed?: number;
996
+ /**
997
+ * - The count of removed webhooks during delivery.
998
+ */
442
999
  removed_webhooks?: number;
1000
+ /**
1001
+ * - The count of successful delivery attempts.
1002
+ */
443
1003
  success?: number;
444
1004
  };
445
- /** @returns {DeliveryDetailsRequest} */
446
- declare function DeliveryDetailsRequest(): DeliveryDetailsRequest;
447
- type DeliveryDetailsRequest = {
1005
+ /** @returns {DeliveryDetailsPayload} */
1006
+ declare function DeliveryDetailsPayload(): DeliveryDetailsPayload;
1007
+ type DeliveryDetailsPayload = {
1008
+ /**
1009
+ * - The identifier for the company requesting
1010
+ * delivery details.
1011
+ */
448
1012
  company_id?: string;
1013
+ /**
1014
+ * - The page number for the delivery details results.
1015
+ */
449
1016
  page_no?: number;
1017
+ /**
1018
+ * - The number of records per page for delivery details.
1019
+ */
450
1020
  page_size?: number;
1021
+ /**
1022
+ * - The start date and time for filtering
1023
+ * delivery details.
1024
+ */
451
1025
  start_date?: string;
1026
+ /**
1027
+ * - The end date and time for filtering delivery details.
1028
+ */
452
1029
  end_date?: string;
1030
+ /**
1031
+ * - A list of event delivery details.
1032
+ */
453
1033
  event?: EventDeliveryDetailSchema[];
1034
+ /**
1035
+ * - The status of the delivery details request.
1036
+ */
454
1037
  status?: string;
455
1038
  };
456
1039
  /** @returns {EventDeliveryDetailSchema} */
457
1040
  declare function EventDeliveryDetailSchema(): EventDeliveryDetailSchema;
458
1041
  type EventDeliveryDetailSchema = {
1042
+ /**
1043
+ * - The name of the event related to the
1044
+ * delivery details.
1045
+ */
459
1046
  event_name?: string;
1047
+ /**
1048
+ * - The type of the event, allowing for custom
1049
+ * or non-enumerated values.
1050
+ */
460
1051
  event_type?: string;
1052
+ /**
1053
+ * - The category of the event, allowing for
1054
+ * custom or non-enumerated values.
1055
+ */
461
1056
  event_category?: string;
1057
+ /**
1058
+ * - The version of the event related to the
1059
+ * delivery details.
1060
+ */
462
1061
  version?: string;
463
1062
  };
464
- /** @returns {DeliveryDetailsResponse} */
465
- declare function DeliveryDetailsResponse(): DeliveryDetailsResponse;
466
- type DeliveryDetailsResponse = {
1063
+ /** @returns {DeliveryDetailsResult} */
1064
+ declare function DeliveryDetailsResult(): DeliveryDetailsResult;
1065
+ type DeliveryDetailsResult = {
1066
+ /**
1067
+ * - A list of processed event
1068
+ * reports with delivery details.
1069
+ */
467
1070
  rows?: EventProcessReportObject[];
468
1071
  page?: Page;
469
1072
  };
@@ -475,27 +1078,29 @@ type EventProcessReportObject = {
475
1078
  */
476
1079
  event_name?: string;
477
1080
  /**
478
- * - The response code of the event.
1081
+ * - The response code returned for the
1082
+ * event, allowing for custom or non-enumerated values.
479
1083
  */
480
1084
  response_code?: number;
481
1085
  /**
482
- * - The response message of the event.
1086
+ * - The response message associated with the event.
483
1087
  */
484
1088
  response_message?: string;
485
1089
  /**
486
- * - The data associated with the event.
1090
+ * - The data payload associated with the event.
487
1091
  */
488
1092
  data?: string;
489
1093
  /**
490
- * - The attempt number of the event.
1094
+ * - The attempt number for processing the event.
491
1095
  */
492
1096
  attempt?: number;
493
1097
  /**
494
- * - The timestamp of the last attempted event.
1098
+ * - The timestamp of the last attempt to
1099
+ * process the event.
495
1100
  */
496
1101
  last_attempted_on?: number;
497
1102
  /**
498
- * - The status of the event (e.g., "FAILED").
1103
+ * - The status of the event processing (e.g., "FAILED").
499
1104
  */
500
1105
  status?: string;
501
1106
  /**
@@ -503,21 +1108,27 @@ type EventProcessReportObject = {
503
1108
  */
504
1109
  name?: string;
505
1110
  /**
506
- * - The webhook URL associated with the event.
1111
+ * - The URL of the webhook associated with the event.
507
1112
  */
508
1113
  webhook_url?: string;
509
1114
  /**
510
- * - The response time of the event.
1115
+ * - The time taken to respond to the event.
511
1116
  */
512
1117
  response_time?: number;
1118
+ /**
1119
+ * - The identifier for the event message.
1120
+ */
513
1121
  message_id?: string;
1122
+ /**
1123
+ * - The trace ID associated with the event.
1124
+ */
514
1125
  event_trace_id?: string;
515
1126
  };
516
1127
  /** @returns {Page} */
517
1128
  declare function Page(): Page;
518
1129
  type Page = {
519
1130
  /**
520
- * - The total number of items on the page.
1131
+ * - The total number of all items across all pages.
521
1132
  */
522
1133
  item_total?: number;
523
1134
  /**
@@ -537,55 +1148,179 @@ type Page = {
537
1148
  */
538
1149
  current?: number;
539
1150
  /**
540
- * - The type of the page, such as 'PageType'.
1151
+ * - The type of the page, can be 'cursor' or 'number'.
541
1152
  */
542
1153
  type: string;
543
1154
  /**
544
1155
  * - The number of items per page.
545
1156
  */
546
1157
  size?: number;
1158
+ /**
1159
+ * - The number of items per page.
1160
+ */
1161
+ page_size?: number;
547
1162
  };
548
1163
  /** @returns {DeliveryEventLevelSchema} */
549
1164
  declare function DeliveryEventLevelSchema(): DeliveryEventLevelSchema;
550
1165
  type DeliveryEventLevelSchema = {
1166
+ /**
1167
+ * - The name or identifier of the event.
1168
+ */
551
1169
  event?: string;
1170
+ /**
1171
+ * - The count of successful deliveries for the event.
1172
+ */
552
1173
  success?: number;
1174
+ /**
1175
+ * - The count of failed deliveries for the event.
1176
+ */
553
1177
  failed?: number;
1178
+ /**
1179
+ * - The percentage of failed deliveries
1180
+ * relative to the total.
1181
+ */
554
1182
  failed_percentage?: number;
1183
+ /**
1184
+ * - The count of webhooks that were
1185
+ * removed during the delivery.
1186
+ */
555
1187
  removed_webhooks?: number;
1188
+ /**
1189
+ * - The total number of delivery attempts for the event.
1190
+ */
556
1191
  total?: number;
1192
+ /**
1193
+ * - The average response time for the event
1194
+ * deliveries.
1195
+ */
557
1196
  response_time?: number;
558
1197
  };
559
- /** @returns {DeliverySummaryResponse} */
560
- declare function DeliverySummaryResponse(): DeliverySummaryResponse;
561
- type DeliverySummaryResponse = {
1198
+ /** @returns {ResponseTimeTs} */
1199
+ declare function ResponseTimeTs(): ResponseTimeTs;
1200
+ type ResponseTimeTs = {
1201
+ /**
1202
+ * - List of average
1203
+ * response time timestamps.
1204
+ */
1205
+ avg_response_time_ts?: AvgResponseTime[];
1206
+ };
1207
+ /** @returns {AvgResponseTime} */
1208
+ declare function AvgResponseTime(): AvgResponseTime;
1209
+ type AvgResponseTime = {
1210
+ /**
1211
+ * - The timestamp of the last attempt,
1212
+ * formatted as a string.
1213
+ */
1214
+ last_attempted_on?: string;
1215
+ /**
1216
+ * - The response code returned for the
1217
+ * delivery attempt, allowing for custom or non-enumerated values.
1218
+ */
1219
+ response_code?: number;
1220
+ /**
1221
+ * - The response time for the delivery
1222
+ * attempt, formatted as a string.
1223
+ */
1224
+ response_time?: string;
1225
+ /**
1226
+ * - The attempt number for the delivery.
1227
+ */
1228
+ attempt?: number;
1229
+ /**
1230
+ * - The total count of deliveries attempted.
1231
+ */
1232
+ total?: number;
1233
+ };
1234
+ /** @returns {DeliverySummaryResult} */
1235
+ declare function DeliverySummaryResult(): DeliverySummaryResult;
1236
+ type DeliverySummaryResult = {
1237
+ /**
1238
+ * - List of
1239
+ * delivery event levels.
1240
+ */
562
1241
  delivery_event_level?: DeliveryEventLevelSchema[];
563
1242
  delivery_summary?: DeliverySummarySchema;
564
1243
  };
565
1244
  /** @returns {DeliverySummarySchema} */
566
1245
  declare function DeliverySummarySchema(): DeliverySummarySchema;
567
1246
  type DeliverySummarySchema = {
1247
+ /**
1248
+ * - The total count of successful deliveries.
1249
+ */
568
1250
  success?: number;
1251
+ /**
1252
+ * - The average response time for deliveries.
1253
+ */
569
1254
  response_time?: number;
1255
+ /**
1256
+ * - The percentage of failed deliveries.
1257
+ */
570
1258
  failed_percentage?: number;
1259
+ /**
1260
+ * - The count of webhooks removed during delivery.
1261
+ */
571
1262
  removed_webhooks?: number;
572
1263
  };
573
1264
  /** @returns {ItemSchema} */
574
1265
  declare function ItemSchema(): ItemSchema;
575
1266
  type ItemSchema = {
1267
+ /**
1268
+ * - The unique identifier for the item.
1269
+ */
576
1270
  id?: number;
1271
+ /**
1272
+ * - The user or system that last modified the item.
1273
+ */
577
1274
  modified_by?: string;
1275
+ /**
1276
+ * - The name of the item.
1277
+ */
578
1278
  name?: string;
1279
+ /**
1280
+ * - The URL of the webhook associated with the item.
1281
+ */
579
1282
  webhook_url?: string;
1283
+ /**
1284
+ * - The provider of the item.
1285
+ */
580
1286
  provider?: string;
1287
+ /**
1288
+ * - Source that subscriber belongs to.
1289
+ */
1290
+ source?: string;
581
1291
  association?: Association;
1292
+ /**
1293
+ * - Custom headers associated with the item, if any.
1294
+ */
582
1295
  custom_headers?: any;
1296
+ /**
1297
+ * - The current status of the item.
1298
+ */
583
1299
  status?: string;
1300
+ /**
1301
+ * - The email ID associated with the item, if applicable.
1302
+ */
584
1303
  email_id?: string;
1304
+ /**
1305
+ * - The date and time when the item was last updated.
1306
+ */
585
1307
  updated_on?: string;
1308
+ /**
1309
+ * - The date and time when the item was created.
1310
+ */
586
1311
  created_on?: string;
1312
+ /**
1313
+ * - The type of the item, if applicable.
1314
+ */
587
1315
  type?: string;
588
1316
  auth_meta?: AuthMeta;
589
- event_configs?: EventConfigResponse[];
1317
+ /**
1318
+ * - A list of event
1319
+ * configurations associated with the item.
1320
+ */
1321
+ event_configs?: EventConfigDetails[];
1322
+ /**
1323
+ * - A list of event IDs associated with the item.
1324
+ */
590
1325
  event_id?: number[];
591
1326
  };