@gofynd/fdk-client-javascript 3.1.0-beta.1 → 3.2.0

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