@gofynd/fdk-client-javascript 1.6.3 → 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 -612
  83. package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -234
  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 +4111 -9093
  198. package/sdk/platform/Order/OrderPlatformModel.js +3202 -4230
  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 +22 -12
  250. package/sdk/platform/User/UserPlatformApplicationClient.js +91 -12
  251. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +15 -3
  252. package/sdk/platform/User/UserPlatformApplicationValidator.js +14 -2
  253. package/sdk/platform/User/UserPlatformModel.d.ts +223 -59
  254. package/sdk/platform/User/UserPlatformModel.js +204 -65
  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 +434 -758
  258. package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -410
  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,111 +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 {BroadcasterConfig} [broadcaster_config]
48
- * @property {string} [created_on] - The timestamp indicating when the
49
- * subscriber event mapping was created.
50
- */
51
- /**
52
- * @typedef EventConfigDetails
53
- * @property {number} [id] - The unique identifier for the event configuration.
54
- * @property {string} [event_name] - The name assigned to the event configuration.
55
- * @property {string} [event_type] - Specifies the type of event, allowing for
56
- * custom or non-enumerated values.
57
- * @property {string} [event_category] - Defines the category of the event,
58
- * allowing for custom or non-enumerated values.
59
- * @property {Object} [event_schema] - Contains the schema details for the
60
- * event, allowing for flexible or dynamic schemas.
61
- * @property {string} [version] - The version number of the event configuration.
62
- * @property {string} [display_name] - The display name for the event configuration.
63
- * @property {string} [description] - A description of the event configuration,
64
- * if provided.
65
- * @property {string} [created_on] - The timestamp indicating when the event
66
- * configuration was created.
67
- * @property {string} [updated_on] - The timestamp indicating when the event
68
- * configuration was last updated.
69
- * @property {string} [group] - The group to which the event configuration
70
- * 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]
71
43
  * @property {SubscriberEventMapping} [subscriber_event_mapping]
72
44
  */
73
45
  /**
74
- * @typedef SubscriberConfigDetails
75
- * @property {ItemSchema[]} [items] - A list of items representing subscriber
76
- * configurations.
46
+ * @typedef SubscriberConfigResponse
47
+ * @property {ItemSchema[]} [items]
77
48
  * @property {Page} [page]
78
49
  */
79
50
  /**
80
- * @typedef InvalidEventsPayload
81
- * @property {string} [event_name] - The name of the event that is considered invalid.
82
- * @property {string} [version] - The version of the event that is considered invalid.
83
- * @property {string} [category] - The category of the event that is considered invalid.
84
- * @property {string} [start_date] - The start date and time for the period
85
- * during which events were considered invalid.
86
- * @property {string} [end_date] - The end date and time for the period during
87
- * 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]
88
57
  */
89
58
  /**
90
- * @typedef InvalidEventsResult
91
- * @property {string} [event_name] - The name of the event that was found to be invalid.
92
- * @property {string} [event_type] - The type of the invalid event, allowing for
93
- * custom or non-enumerated values.
94
- * @property {string} [version] - The version of the invalid event.
95
- * @property {string} [category] - The category of the invalid event.
96
- * @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]
97
65
  */
98
66
  /**
99
67
  * @typedef HistoryFilters
100
- * @property {string[]} [events] - A list of event types to filter the history report.
101
- * @property {string} [search_text] - Text used for searching within the history report.
68
+ * @property {string[]} [events]
69
+ * @property {string} [search_text]
102
70
  * @property {string} [status] - The status of the history report (e.g., "FAILED").
103
71
  * @property {string} [end_date] - The end date and time of the history report.
104
72
  * @property {string} [start_date] - The start date and time of the history report.
105
73
  * @property {number[]} [subscribers] - An array of subscriber IDs associated
106
74
  * with the history report.
107
- * @property {string[]} [webhook_type] - An array of webhook types to identify
108
- * 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).
109
77
  */
110
78
  /**
111
79
  * @typedef Url
@@ -114,8 +82,7 @@ export = WebhookPartnerModel;
114
82
  */
115
83
  /**
116
84
  * @typedef CdnObject
117
- * @property {Url[]} [urls] - A list of URLs for CDN objects, including the
118
- * location of the uploaded report files.
85
+ * @property {Url[]} [urls]
119
86
  */
120
87
  /**
121
88
  * @typedef UploadServiceObject
@@ -123,108 +90,92 @@ export = WebhookPartnerModel;
123
90
  */
124
91
  /**
125
92
  * @typedef HistoryAssociation
126
- * @property {number} [company_id] - The identifier for the company associated
127
- * with the history report.
128
- * @property {number[]} [subscriber_ids] - A list of subscriber IDs related to
129
- * the history report.
93
+ * @property {number} [company_id]
94
+ * @property {number[]} [subscriber_ids]
130
95
  */
131
96
  /**
132
97
  * @typedef HistoryItems
133
- * @property {number} [id] - The unique identifier for the history report.
98
+ * @property {number} [id] - The ID of the history report.
134
99
  * @property {HistoryAssociation} [association]
135
100
  * @property {HistoryFilters} [filters]
136
- * @property {string} [filename] - The name of the file containing the history report.
137
- * @property {string} [status] - The current status of the history report (e.g.,
138
- * "COMPLETED").
101
+ * @property {string} [filename] - The filename of the history report.
102
+ * @property {string} [status] - The status of the history report (e.g., "COMPLETED").
139
103
  * @property {UploadServiceObject} [upload_service_response]
140
104
  * @property {string} [created_on] - The date and time when the history report
141
- * was generated.
105
+ * was created.
142
106
  * @property {string} [updated_on] - The date and time when the history report
143
107
  * was last updated.
144
108
  * @property {string} [message] - A message related to the history report.
145
109
  */
146
110
  /**
147
- * @typedef HistoryResult
148
- * @property {HistoryItems[]} [items] - A list of history report items.
111
+ * @typedef HistoryResponse
112
+ * @property {HistoryItems[]} [items]
149
113
  * @property {Page} [page]
150
114
  */
151
115
  /**
152
116
  * @typedef HistoryPayload
153
- * @property {number} [company_id] - The identifier for the company requesting
154
- * the history report.
155
- * @property {string} [type] - Specifies the type of history report requested
156
- * (e.g., "platform").
157
- * @property {number} [page_no] - The page number of the history report results.
158
- * @property {number} [page_size] - The number of records to display per page in
159
- * 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.
160
121
  */
161
122
  /**
162
- * @typedef CancelDownloadResult
163
- * @property {string} [message] - A message indicating the result of the cancel
164
- * download request.
165
- * @property {string} [result] - The outcome of the cancel download operation.
123
+ * @typedef CancelDownloadResponse
124
+ * @property {string} [message]
125
+ * @property {string} [result]
166
126
  */
167
127
  /**
168
- * @typedef FilterReportResult
169
- * @property {string} [filter_name] - The name of the filter applied in the report.
170
- * @property {Object[]} [values] - A list of values resulting from the applied filter.
128
+ * @typedef FilterReportResponse
129
+ * @property {string} [filter_name]
130
+ * @property {Object[]} [values]
171
131
  */
172
132
  /**
173
- * @typedef DeliveryTsResult
174
- * @property {DeliveryTsSchema[]} [delivery_ts] - List of delivery timestamps.
133
+ * @typedef DeliveryTsResponse
134
+ * @property {DeliveryTsSchema[]} [delivery_ts]
175
135
  */
176
136
  /**
177
137
  * @typedef DeliveryTsSchema
178
- * @property {string} [timestamp] - The timestamp of the delivery event.
179
- * @property {number} [failed] - The count of failed delivery attempts.
180
- * @property {number} [removed_webhooks] - The count of removed webhooks during delivery.
181
- * @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]
182
142
  */
183
143
  /**
184
- * @typedef DeliveryDetailsPayload
185
- * @property {string} [company_id] - The identifier for the company requesting
186
- * delivery details.
187
- * @property {number} [page_no] - The page number for the delivery details results.
188
- * @property {number} [page_size] - The number of records per page for delivery details.
189
- * @property {string} [start_date] - The start date and time for filtering
190
- * delivery details.
191
- * @property {string} [end_date] - The end date and time for filtering delivery details.
192
- * @property {EventDeliveryDetailSchema[]} [event] - A list of event delivery details.
193
- * @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]
194
152
  */
195
153
  /**
196
154
  * @typedef EventDeliveryDetailSchema
197
- * @property {string} [event_name] - The name of the event related to the
198
- * delivery details.
199
- * @property {string} [event_type] - The type of the event, allowing for custom
200
- * or non-enumerated values.
201
- * @property {string} [event_category] - The category of the event, allowing for
202
- * custom or non-enumerated values.
203
- * @property {string} [version] - The version of the event related to the
204
- * delivery details.
155
+ * @property {string} [event_name]
156
+ * @property {string} [event_type]
157
+ * @property {string} [event_category]
158
+ * @property {string} [version]
205
159
  */
206
160
  /**
207
- * @typedef DeliveryDetailsResult
208
- * @property {EventProcessReportObject[]} [rows] - A list of processed event
209
- * reports with delivery details.
161
+ * @typedef DeliveryDetailsResponse
162
+ * @property {EventProcessReportObject[]} [rows]
210
163
  * @property {Page} [page]
211
164
  */
212
165
  /**
213
166
  * @typedef EventProcessReportObject
214
167
  * @property {string} [event_name] - The name of the processed event.
215
- * @property {number} [response_code] - The response code returned for the
216
- * event, allowing for custom or non-enumerated values.
217
- * @property {string} [response_message] - The response message associated with the event.
218
- * @property {string} [data] - The data payload associated with the event.
219
- * @property {number} [attempt] - The attempt number for processing the event.
220
- * @property {number} [last_attempted_on] - The timestamp of the last attempt to
221
- * process the event.
222
- * @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").
223
174
  * @property {string} [name] - The name of the event.
224
- * @property {string} [webhook_url] - The URL of the webhook associated with the event.
225
- * @property {number} [response_time] - The time taken to respond to the event.
226
- * @property {string} [message_id] - The identifier for the event message.
227
- * @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]
228
179
  */
229
180
  /**
230
181
  * @typedef Page
@@ -235,309 +186,139 @@ export = WebhookPartnerModel;
235
186
  * @property {number} [current] - The current page number.
236
187
  * @property {string} type - The type of the page, such as 'PageType'.
237
188
  * @property {number} [size] - The number of items per page.
189
+ * @property {number} [total] - Total number of items.
238
190
  */
239
191
  /**
240
192
  * @typedef DeliveryEventLevelSchema
241
- * @property {string} [event] - The name or identifier of the event.
242
- * @property {number} [success] - The count of successful deliveries for the event.
243
- * @property {number} [failed] - The count of failed deliveries for the event.
244
- * @property {number} [failed_percentage] - The percentage of failed deliveries
245
- * relative to the total.
246
- * @property {number} [removed_webhooks] - The count of webhooks that were
247
- * removed during the delivery.
248
- * @property {number} [total] - The total number of delivery attempts for the event.
249
- * @property {number} [response_time] - The average response time for the event
250
- * 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]
251
200
  */
252
201
  /**
253
202
  * @typedef ResponseTimeTs
254
- * @property {AvgResponseTime[]} [avg_response_time_ts] - List of average
255
- * response time timestamps.
203
+ * @property {AvgResponseTime[]} [avg_response_time_ts]
256
204
  */
257
205
  /**
258
206
  * @typedef AvgResponseTime
259
- * @property {string} [last_attempted_on] - The timestamp of the last attempt,
260
- * formatted as a string.
261
- * @property {number} [response_code] - The response code returned for the
262
- * delivery attempt, allowing for custom or non-enumerated values.
263
- * @property {string} [response_time] - The response time for the delivery
264
- * attempt, formatted as a string.
265
- * @property {number} [attempt] - The attempt number for the delivery.
266
- * @property {number} [total] - The total count of deliveries attempted.
207
+ * @property {string} [timestamp]
208
+ * @property {number} [response_time]
267
209
  */
268
210
  /**
269
- * @typedef DeliverySummaryResult
270
- * @property {DeliveryEventLevelSchema[]} [delivery_event_level] - List of
271
- * delivery event levels.
211
+ * @typedef DeliverySummaryResponse
212
+ * @property {DeliveryEventLevelSchema[]} [delivery_event_level]
272
213
  * @property {DeliverySummarySchema} [delivery_summary]
273
214
  */
274
215
  /**
275
216
  * @typedef DeliverySummarySchema
276
- * @property {number} [success] - The total count of successful deliveries.
277
- * @property {number} [response_time] - The average response time for deliveries.
278
- * @property {number} [failed_percentage] - The percentage of failed deliveries.
279
- * @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]
280
221
  */
281
222
  /**
282
223
  * @typedef ItemSchema
283
- * @property {number} [id] - The unique identifier for the item.
284
- * @property {string} [modified_by] - The user or system that last modified the item.
285
- * @property {string} [name] - The name of the item.
286
- * @property {string} [webhook_url] - The URL of the webhook associated with the item.
287
- * @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]
288
229
  * @property {Association} [association]
289
- * @property {Object} [custom_headers] - Custom headers associated with the item, if any.
290
- * @property {string} [status] - The current status of the item.
291
- * @property {string} [email_id] - The email ID associated with the item, if applicable.
292
- * @property {string} [updated_on] - The date and time when the item was last updated.
293
- * @property {string} [created_on] - The date and time when the item was created.
294
- * @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]
295
236
  * @property {AuthMeta} [auth_meta]
296
- * @property {EventConfigDetails[]} [event_configs] - A list of event
297
- * configurations associated with the item.
298
- * @property {number[]} [event_id] - A list of event IDs associated with the item.
237
+ * @property {EventConfigResponse[]} [event_configs]
238
+ * @property {number[]} [event_id]
299
239
  */
300
240
  declare class WebhookPartnerModel {
301
241
  }
302
242
  declare namespace WebhookPartnerModel {
303
- export { SubscriberUpdate, SubscriberUpdateResult, Association, AuthMeta, BroadcasterConfig, SubscriberEventMapping, 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 };
304
244
  }
305
- /** @returns {SubscriberUpdate} */
306
- declare function SubscriberUpdate(): SubscriberUpdate;
307
- type SubscriberUpdate = {
308
- /**
309
- * - Represents the status of the subscriber update operation.
310
- */
245
+ /** @returns {UpdateSubscriberRequest} */
246
+ declare function UpdateSubscriberRequest(): UpdateSubscriberRequest;
247
+ type UpdateSubscriberRequest = {
311
248
  status?: string;
312
249
  };
313
- /** @returns {SubscriberUpdateResult} */
314
- declare function SubscriberUpdateResult(): SubscriberUpdateResult;
315
- type SubscriberUpdateResult = {
316
- /**
317
- * - Provides a message describing the result of
318
- * the subscriber update operation.
319
- */
250
+ /** @returns {UpdateSubscriberResponse} */
251
+ declare function UpdateSubscriberResponse(): UpdateSubscriberResponse;
252
+ type UpdateSubscriberResponse = {
320
253
  message?: string;
321
254
  };
322
255
  /** @returns {Association} */
323
256
  declare function Association(): Association;
324
257
  type Association = {
325
- /**
326
- * - The identifier for the company associated
327
- * with the configuration.
328
- */
329
258
  company_id?: number;
330
- /**
331
- * - A list of application identifiers
332
- * associated with the configuration.
333
- */
334
259
  application_id?: string[];
335
- /**
336
- * - The identifier for the extension related
337
- * to the configuration.
338
- */
339
260
  extension_id?: string;
340
- /**
341
- * - Defines the criteria for the association,
342
- * including options for all events, empty criteria, or specific events.
343
- */
344
261
  criteria?: string;
345
262
  };
346
263
  /** @returns {AuthMeta} */
347
264
  declare function AuthMeta(): AuthMeta;
348
265
  type AuthMeta = {
349
- /**
350
- * - Specifies the type of authentication used.
351
- */
352
266
  type?: string;
353
- /**
354
- * - Contains the secret key or token used for authentication.
355
- */
356
267
  secret?: string;
357
268
  };
358
- /** @returns {BroadcasterConfig} */
359
- declare function BroadcasterConfig(): BroadcasterConfig;
360
- type BroadcasterConfig = {
361
- /**
362
- * - The topic associated with the broadcaster configuration.
363
- */
364
- topic?: string;
365
- /**
366
- * - The queue name used by the broadcaster.
367
- */
368
- queue?: string;
369
- /**
370
- * - The name of the event bridge used in
371
- * the broadcaster configuration.
372
- */
373
- event_bridge_name?: string;
374
- /**
375
- * - The name of the workflow related to the
376
- * broadcaster.
377
- */
378
- workflow_name?: string;
379
- /**
380
- * - The account ID associated with the
381
- * broadcaster configuration.
382
- */
383
- account_id?: string;
384
- /**
385
- * - Specifies the type of detail for the
386
- * broadcaster, allowing for custom or non-enumerated values.
387
- */
388
- detail_type?: string;
389
- };
390
269
  /** @returns {SubscriberEventMapping} */
391
270
  declare function SubscriberEventMapping(): SubscriberEventMapping;
392
271
  type SubscriberEventMapping = {
393
- /**
394
- * - The unique identifier for the subscriber event mapping.
395
- */
396
272
  id?: number;
397
- /**
398
- * - The identifier for the event associated with
399
- * the subscriber.
400
- */
401
273
  event_id?: number;
402
- /**
403
- * - The identifier for the subscriber
404
- * involved in the mapping.
405
- */
406
274
  subscriber_id?: number;
407
- broadcaster_config?: BroadcasterConfig;
408
- /**
409
- * - The timestamp indicating when the
410
- * subscriber event mapping was created.
411
- */
275
+ topic?: string;
412
276
  created_on?: string;
413
277
  };
414
- /** @returns {EventConfigDetails} */
415
- declare function EventConfigDetails(): EventConfigDetails;
416
- type EventConfigDetails = {
417
- /**
418
- * - The unique identifier for the event configuration.
419
- */
278
+ /** @returns {EventConfigResponse} */
279
+ declare function EventConfigResponse(): EventConfigResponse;
280
+ type EventConfigResponse = {
420
281
  id?: number;
421
- /**
422
- * - The name assigned to the event configuration.
423
- */
424
282
  event_name?: string;
425
- /**
426
- * - Specifies the type of event, allowing for
427
- * custom or non-enumerated values.
428
- */
429
283
  event_type?: string;
430
- /**
431
- * - Defines the category of the event,
432
- * allowing for custom or non-enumerated values.
433
- */
434
284
  event_category?: string;
435
- /**
436
- * - Contains the schema details for the
437
- * event, allowing for flexible or dynamic schemas.
438
- */
439
285
  event_schema?: any;
440
- /**
441
- * - The version number of the event configuration.
442
- */
443
286
  version?: string;
444
- /**
445
- * - The display name for the event configuration.
446
- */
447
287
  display_name?: string;
448
- /**
449
- * - A description of the event configuration,
450
- * if provided.
451
- */
452
288
  description?: string;
453
- /**
454
- * - The timestamp indicating when the event
455
- * configuration was created.
456
- */
457
289
  created_on?: string;
458
- /**
459
- * - The timestamp indicating when the event
460
- * configuration was last updated.
461
- */
462
290
  updated_on?: string;
463
- /**
464
- * - The group to which the event configuration
465
- * belongs, if applicable.
466
- */
467
291
  group?: string;
468
292
  subscriber_event_mapping?: SubscriberEventMapping;
469
293
  };
470
- /** @returns {SubscriberConfigDetails} */
471
- declare function SubscriberConfigDetails(): SubscriberConfigDetails;
472
- type SubscriberConfigDetails = {
473
- /**
474
- * - A list of items representing subscriber
475
- * configurations.
476
- */
294
+ /** @returns {SubscriberConfigResponse} */
295
+ declare function SubscriberConfigResponse(): SubscriberConfigResponse;
296
+ type SubscriberConfigResponse = {
477
297
  items?: ItemSchema[];
478
298
  page?: Page;
479
299
  };
480
- /** @returns {InvalidEventsPayload} */
481
- declare function InvalidEventsPayload(): InvalidEventsPayload;
482
- type InvalidEventsPayload = {
483
- /**
484
- * - The name of the event that is considered invalid.
485
- */
300
+ /** @returns {InvalidEventsRequest} */
301
+ declare function InvalidEventsRequest(): InvalidEventsRequest;
302
+ type InvalidEventsRequest = {
486
303
  event_name?: string;
487
- /**
488
- * - The version of the event that is considered invalid.
489
- */
490
304
  version?: string;
491
- /**
492
- * - The category of the event that is considered invalid.
493
- */
494
305
  category?: string;
495
- /**
496
- * - The start date and time for the period
497
- * during which events were considered invalid.
498
- */
499
306
  start_date?: string;
500
- /**
501
- * - The end date and time for the period during
502
- * which events were considered invalid.
503
- */
504
307
  end_date?: string;
505
308
  };
506
- /** @returns {InvalidEventsResult} */
507
- declare function InvalidEventsResult(): InvalidEventsResult;
508
- type InvalidEventsResult = {
509
- /**
510
- * - The name of the event that was found to be invalid.
511
- */
309
+ /** @returns {InvalidEventsResponse} */
310
+ declare function InvalidEventsResponse(): InvalidEventsResponse;
311
+ type InvalidEventsResponse = {
512
312
  event_name?: string;
513
- /**
514
- * - The type of the invalid event, allowing for
515
- * custom or non-enumerated values.
516
- */
517
313
  event_type?: string;
518
- /**
519
- * - The version of the invalid event.
520
- */
521
314
  version?: string;
522
- /**
523
- * - The category of the invalid event.
524
- */
525
315
  category?: string;
526
- /**
527
- * - The number of occurrences of the invalid event.
528
- */
529
316
  count?: number;
530
317
  };
531
318
  /** @returns {HistoryFilters} */
532
319
  declare function HistoryFilters(): HistoryFilters;
533
320
  type HistoryFilters = {
534
- /**
535
- * - A list of event types to filter the history report.
536
- */
537
321
  events?: string[];
538
- /**
539
- * - Text used for searching within the history report.
540
- */
541
322
  search_text?: string;
542
323
  /**
543
324
  * - The status of the history report (e.g., "FAILED").
@@ -557,8 +338,8 @@ type HistoryFilters = {
557
338
  */
558
339
  subscribers?: number[];
559
340
  /**
560
- * - An array of webhook types to identify
561
- * the type of subscriber.
341
+ * - An array of webhook type to identify
342
+ * thetype of subscriber i.e (KAFKA or REST).
562
343
  */
563
344
  webhook_type?: string[];
564
345
  };
@@ -577,10 +358,6 @@ type Url = {
577
358
  /** @returns {CdnObject} */
578
359
  declare function CdnObject(): CdnObject;
579
360
  type CdnObject = {
580
- /**
581
- * - A list of URLs for CDN objects, including the
582
- * location of the uploaded report files.
583
- */
584
361
  urls?: Url[];
585
362
  };
586
363
  /** @returns {UploadServiceObject} */
@@ -591,39 +368,30 @@ type UploadServiceObject = {
591
368
  /** @returns {HistoryAssociation} */
592
369
  declare function HistoryAssociation(): HistoryAssociation;
593
370
  type HistoryAssociation = {
594
- /**
595
- * - The identifier for the company associated
596
- * with the history report.
597
- */
598
371
  company_id?: number;
599
- /**
600
- * - A list of subscriber IDs related to
601
- * the history report.
602
- */
603
372
  subscriber_ids?: number[];
604
373
  };
605
374
  /** @returns {HistoryItems} */
606
375
  declare function HistoryItems(): HistoryItems;
607
376
  type HistoryItems = {
608
377
  /**
609
- * - The unique identifier for the history report.
378
+ * - The ID of the history report.
610
379
  */
611
380
  id?: number;
612
381
  association?: HistoryAssociation;
613
382
  filters?: HistoryFilters;
614
383
  /**
615
- * - The name of the file containing the history report.
384
+ * - The filename of the history report.
616
385
  */
617
386
  filename?: string;
618
387
  /**
619
- * - The current status of the history report (e.g.,
620
- * "COMPLETED").
388
+ * - The status of the history report (e.g., "COMPLETED").
621
389
  */
622
390
  status?: string;
623
391
  upload_service_response?: UploadServiceObject;
624
392
  /**
625
393
  * - The date and time when the history report
626
- * was generated.
394
+ * was created.
627
395
  */
628
396
  created_on?: string;
629
397
  /**
@@ -636,156 +404,76 @@ type HistoryItems = {
636
404
  */
637
405
  message?: string;
638
406
  };
639
- /** @returns {HistoryResult} */
640
- declare function HistoryResult(): HistoryResult;
641
- type HistoryResult = {
642
- /**
643
- * - A list of history report items.
644
- */
407
+ /** @returns {HistoryResponse} */
408
+ declare function HistoryResponse(): HistoryResponse;
409
+ type HistoryResponse = {
645
410
  items?: HistoryItems[];
646
411
  page?: Page;
647
412
  };
648
413
  /** @returns {HistoryPayload} */
649
414
  declare function HistoryPayload(): HistoryPayload;
650
415
  type HistoryPayload = {
651
- /**
652
- * - The identifier for the company requesting
653
- * the history report.
654
- */
655
416
  company_id?: number;
656
417
  /**
657
- * - Specifies the type of history report requested
658
- * (e.g., "platform").
418
+ * - The type of history report (e.g., "platform").
659
419
  */
660
420
  type?: string;
661
421
  /**
662
- * - The page number of the history report results.
422
+ * - The page number of the history report.
663
423
  */
664
424
  page_no?: number;
665
425
  /**
666
- * - The number of records to display per page in
667
- * the history report.
426
+ * - The number of records per page.
668
427
  */
669
428
  page_size?: number;
670
429
  };
671
- /** @returns {CancelDownloadResult} */
672
- declare function CancelDownloadResult(): CancelDownloadResult;
673
- type CancelDownloadResult = {
674
- /**
675
- * - A message indicating the result of the cancel
676
- * download request.
677
- */
430
+ /** @returns {CancelDownloadResponse} */
431
+ declare function CancelDownloadResponse(): CancelDownloadResponse;
432
+ type CancelDownloadResponse = {
678
433
  message?: string;
679
- /**
680
- * - The outcome of the cancel download operation.
681
- */
682
434
  result?: string;
683
435
  };
684
- /** @returns {FilterReportResult} */
685
- declare function FilterReportResult(): FilterReportResult;
686
- type FilterReportResult = {
687
- /**
688
- * - The name of the filter applied in the report.
689
- */
436
+ /** @returns {FilterReportResponse} */
437
+ declare function FilterReportResponse(): FilterReportResponse;
438
+ type FilterReportResponse = {
690
439
  filter_name?: string;
691
- /**
692
- * - A list of values resulting from the applied filter.
693
- */
694
440
  values?: any[];
695
441
  };
696
- /** @returns {DeliveryTsResult} */
697
- declare function DeliveryTsResult(): DeliveryTsResult;
698
- type DeliveryTsResult = {
699
- /**
700
- * - List of delivery timestamps.
701
- */
442
+ /** @returns {DeliveryTsResponse} */
443
+ declare function DeliveryTsResponse(): DeliveryTsResponse;
444
+ type DeliveryTsResponse = {
702
445
  delivery_ts?: DeliveryTsSchema[];
703
446
  };
704
447
  /** @returns {DeliveryTsSchema} */
705
448
  declare function DeliveryTsSchema(): DeliveryTsSchema;
706
449
  type DeliveryTsSchema = {
707
- /**
708
- * - The timestamp of the delivery event.
709
- */
710
450
  timestamp?: string;
711
- /**
712
- * - The count of failed delivery attempts.
713
- */
714
451
  failed?: number;
715
- /**
716
- * - The count of removed webhooks during delivery.
717
- */
718
452
  removed_webhooks?: number;
719
- /**
720
- * - The count of successful delivery attempts.
721
- */
722
453
  success?: number;
723
454
  };
724
- /** @returns {DeliveryDetailsPayload} */
725
- declare function DeliveryDetailsPayload(): DeliveryDetailsPayload;
726
- type DeliveryDetailsPayload = {
727
- /**
728
- * - The identifier for the company requesting
729
- * delivery details.
730
- */
455
+ /** @returns {DeliveryDetailsRequest} */
456
+ declare function DeliveryDetailsRequest(): DeliveryDetailsRequest;
457
+ type DeliveryDetailsRequest = {
731
458
  company_id?: string;
732
- /**
733
- * - The page number for the delivery details results.
734
- */
735
459
  page_no?: number;
736
- /**
737
- * - The number of records per page for delivery details.
738
- */
739
460
  page_size?: number;
740
- /**
741
- * - The start date and time for filtering
742
- * delivery details.
743
- */
744
461
  start_date?: string;
745
- /**
746
- * - The end date and time for filtering delivery details.
747
- */
748
462
  end_date?: string;
749
- /**
750
- * - A list of event delivery details.
751
- */
752
463
  event?: EventDeliveryDetailSchema[];
753
- /**
754
- * - The status of the delivery details request.
755
- */
756
464
  status?: string;
757
465
  };
758
466
  /** @returns {EventDeliveryDetailSchema} */
759
467
  declare function EventDeliveryDetailSchema(): EventDeliveryDetailSchema;
760
468
  type EventDeliveryDetailSchema = {
761
- /**
762
- * - The name of the event related to the
763
- * delivery details.
764
- */
765
469
  event_name?: string;
766
- /**
767
- * - The type of the event, allowing for custom
768
- * or non-enumerated values.
769
- */
770
470
  event_type?: string;
771
- /**
772
- * - The category of the event, allowing for
773
- * custom or non-enumerated values.
774
- */
775
471
  event_category?: string;
776
- /**
777
- * - The version of the event related to the
778
- * delivery details.
779
- */
780
472
  version?: string;
781
473
  };
782
- /** @returns {DeliveryDetailsResult} */
783
- declare function DeliveryDetailsResult(): DeliveryDetailsResult;
784
- type DeliveryDetailsResult = {
785
- /**
786
- * - A list of processed event
787
- * reports with delivery details.
788
- */
474
+ /** @returns {DeliveryDetailsResponse} */
475
+ declare function DeliveryDetailsResponse(): DeliveryDetailsResponse;
476
+ type DeliveryDetailsResponse = {
789
477
  rows?: EventProcessReportObject[];
790
478
  page?: Page;
791
479
  };
@@ -797,29 +485,27 @@ type EventProcessReportObject = {
797
485
  */
798
486
  event_name?: string;
799
487
  /**
800
- * - The response code returned for the
801
- * event, allowing for custom or non-enumerated values.
488
+ * - The response code of the event.
802
489
  */
803
490
  response_code?: number;
804
491
  /**
805
- * - The response message associated with the event.
492
+ * - The response message of the event.
806
493
  */
807
494
  response_message?: string;
808
495
  /**
809
- * - The data payload associated with the event.
496
+ * - The data associated with the event.
810
497
  */
811
498
  data?: string;
812
499
  /**
813
- * - The attempt number for processing the event.
500
+ * - The attempt number of the event.
814
501
  */
815
502
  attempt?: number;
816
503
  /**
817
- * - The timestamp of the last attempt to
818
- * process the event.
504
+ * - The timestamp of the last attempted event.
819
505
  */
820
506
  last_attempted_on?: number;
821
507
  /**
822
- * - The status of the event processing (e.g., "FAILED").
508
+ * - The status of the event (e.g., "FAILED").
823
509
  */
824
510
  status?: string;
825
511
  /**
@@ -827,20 +513,14 @@ type EventProcessReportObject = {
827
513
  */
828
514
  name?: string;
829
515
  /**
830
- * - The URL of the webhook associated with the event.
516
+ * - The webhook URL associated with the event.
831
517
  */
832
518
  webhook_url?: string;
833
519
  /**
834
- * - The time taken to respond to the event.
520
+ * - The response time of the event.
835
521
  */
836
522
  response_time?: number;
837
- /**
838
- * - The identifier for the event message.
839
- */
840
523
  message_id?: string;
841
- /**
842
- * - The trace ID associated with the event.
843
- */
844
524
  event_trace_id?: string;
845
525
  };
846
526
  /** @returns {Page} */
@@ -874,164 +554,63 @@ type Page = {
874
554
  * - The number of items per page.
875
555
  */
876
556
  size?: number;
557
+ /**
558
+ * - Total number of items.
559
+ */
560
+ total?: number;
877
561
  };
878
562
  /** @returns {DeliveryEventLevelSchema} */
879
563
  declare function DeliveryEventLevelSchema(): DeliveryEventLevelSchema;
880
564
  type DeliveryEventLevelSchema = {
881
- /**
882
- * - The name or identifier of the event.
883
- */
884
565
  event?: string;
885
- /**
886
- * - The count of successful deliveries for the event.
887
- */
888
566
  success?: number;
889
- /**
890
- * - The count of failed deliveries for the event.
891
- */
892
567
  failed?: number;
893
- /**
894
- * - The percentage of failed deliveries
895
- * relative to the total.
896
- */
897
568
  failed_percentage?: number;
898
- /**
899
- * - The count of webhooks that were
900
- * removed during the delivery.
901
- */
902
569
  removed_webhooks?: number;
903
- /**
904
- * - The total number of delivery attempts for the event.
905
- */
906
570
  total?: number;
907
- /**
908
- * - The average response time for the event
909
- * deliveries.
910
- */
911
571
  response_time?: number;
912
572
  };
913
573
  /** @returns {ResponseTimeTs} */
914
574
  declare function ResponseTimeTs(): ResponseTimeTs;
915
575
  type ResponseTimeTs = {
916
- /**
917
- * - List of average
918
- * response time timestamps.
919
- */
920
576
  avg_response_time_ts?: AvgResponseTime[];
921
577
  };
922
578
  /** @returns {AvgResponseTime} */
923
579
  declare function AvgResponseTime(): AvgResponseTime;
924
580
  type AvgResponseTime = {
925
- /**
926
- * - The timestamp of the last attempt,
927
- * formatted as a string.
928
- */
929
- last_attempted_on?: string;
930
- /**
931
- * - The response code returned for the
932
- * delivery attempt, allowing for custom or non-enumerated values.
933
- */
934
- response_code?: number;
935
- /**
936
- * - The response time for the delivery
937
- * attempt, formatted as a string.
938
- */
939
- response_time?: string;
940
- /**
941
- * - The attempt number for the delivery.
942
- */
943
- attempt?: number;
944
- /**
945
- * - The total count of deliveries attempted.
946
- */
947
- total?: number;
581
+ timestamp?: string;
582
+ response_time?: number;
948
583
  };
949
- /** @returns {DeliverySummaryResult} */
950
- declare function DeliverySummaryResult(): DeliverySummaryResult;
951
- type DeliverySummaryResult = {
952
- /**
953
- * - List of
954
- * delivery event levels.
955
- */
584
+ /** @returns {DeliverySummaryResponse} */
585
+ declare function DeliverySummaryResponse(): DeliverySummaryResponse;
586
+ type DeliverySummaryResponse = {
956
587
  delivery_event_level?: DeliveryEventLevelSchema[];
957
588
  delivery_summary?: DeliverySummarySchema;
958
589
  };
959
590
  /** @returns {DeliverySummarySchema} */
960
591
  declare function DeliverySummarySchema(): DeliverySummarySchema;
961
592
  type DeliverySummarySchema = {
962
- /**
963
- * - The total count of successful deliveries.
964
- */
965
593
  success?: number;
966
- /**
967
- * - The average response time for deliveries.
968
- */
969
594
  response_time?: number;
970
- /**
971
- * - The percentage of failed deliveries.
972
- */
973
595
  failed_percentage?: number;
974
- /**
975
- * - The count of webhooks removed during delivery.
976
- */
977
596
  removed_webhooks?: number;
978
597
  };
979
598
  /** @returns {ItemSchema} */
980
599
  declare function ItemSchema(): ItemSchema;
981
600
  type ItemSchema = {
982
- /**
983
- * - The unique identifier for the item.
984
- */
985
601
  id?: number;
986
- /**
987
- * - The user or system that last modified the item.
988
- */
989
602
  modified_by?: string;
990
- /**
991
- * - The name of the item.
992
- */
993
603
  name?: string;
994
- /**
995
- * - The URL of the webhook associated with the item.
996
- */
997
604
  webhook_url?: string;
998
- /**
999
- * - The provider of the item.
1000
- */
1001
605
  provider?: string;
1002
606
  association?: Association;
1003
- /**
1004
- * - Custom headers associated with the item, if any.
1005
- */
1006
607
  custom_headers?: any;
1007
- /**
1008
- * - The current status of the item.
1009
- */
1010
608
  status?: string;
1011
- /**
1012
- * - The email ID associated with the item, if applicable.
1013
- */
1014
609
  email_id?: string;
1015
- /**
1016
- * - The date and time when the item was last updated.
1017
- */
1018
610
  updated_on?: string;
1019
- /**
1020
- * - The date and time when the item was created.
1021
- */
1022
611
  created_on?: string;
1023
- /**
1024
- * - The type of the item, if applicable.
1025
- */
1026
612
  type?: string;
1027
613
  auth_meta?: AuthMeta;
1028
- /**
1029
- * - A list of event
1030
- * configurations associated with the item.
1031
- */
1032
- event_configs?: EventConfigDetails[];
1033
- /**
1034
- * - A list of event IDs associated with the item.
1035
- */
614
+ event_configs?: EventConfigResponse[];
1036
615
  event_id?: number[];
1037
616
  };