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