@gofynd/fdk-client-javascript 1.4.15-beta.2 → 1.4.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/README.md +2 -2
  2. package/application.d.ts +1 -2
  3. package/application.js +2 -3
  4. package/index.d.ts +1 -2
  5. package/index.js +7 -1
  6. package/package.json +2 -3
  7. package/sdk/application/ApplicationClient.d.ts +2 -0
  8. package/sdk/application/ApplicationClient.js +2 -18
  9. package/sdk/application/Cart/CartApplicationClient.d.ts +75 -90
  10. package/sdk/application/Cart/CartApplicationClient.js +108 -1199
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +81 -142
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +41 -1344
  13. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
  14. package/sdk/application/Common/CommonApplicationClient.js +2 -92
  15. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
  16. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -148
  17. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
  18. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -727
  19. package/sdk/application/Content/ContentApplicationClient.d.ts +48 -111
  20. package/sdk/application/Content/ContentApplicationClient.js +43 -1065
  21. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -13
  22. package/sdk/application/FileStorage/FileStorageApplicationClient.js +8 -138
  23. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  24. package/sdk/application/Finance/FinanceApplicationClient.js +105 -0
  25. package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
  26. package/sdk/application/Lead/LeadApplicationClient.js +5 -217
  27. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +42 -39
  28. package/sdk/application/Logistic/LogisticApplicationClient.js +91 -493
  29. package/sdk/application/Order/OrderApplicationClient.d.ts +36 -46
  30. package/sdk/application/Order/OrderApplicationClient.js +52 -507
  31. package/sdk/application/Payment/PaymentApplicationClient.d.ts +103 -213
  32. package/sdk/application/Payment/PaymentApplicationClient.js +84 -2105
  33. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -29
  34. package/sdk/application/Rewards/RewardsApplicationClient.js +8 -312
  35. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
  36. package/sdk/application/Share/ShareApplicationClient.js +7 -309
  37. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
  38. package/sdk/application/Theme/ThemeApplicationClient.js +8 -176
  39. package/sdk/application/User/UserApplicationClient.d.ts +87 -138
  40. package/sdk/application/User/UserApplicationClient.js +44 -1820
  41. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
  42. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -52
  43. package/sdk/application/index.d.ts +0 -18
  44. package/sdk/application/index.js +0 -33
  45. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  51. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  52. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  53. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  54. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  55. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +157 -30
  56. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1177 -56
  57. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1662 -249
  58. package/sdk/partner/Logistics/LogisticsPartnerModel.js +774 -162
  59. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
  60. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +141 -12
  61. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  62. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  63. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  64. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  65. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  66. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  67. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  68. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  69. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  70. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  71. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  72. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  73. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  74. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  75. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  76. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  77. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  78. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  79. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  80. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  82. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  83. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  84. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  85. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  86. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  87. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  88. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  89. package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
  90. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
  91. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
  92. package/sdk/platform/Cart/CartPlatformModel.d.ts +5060 -1300
  93. package/sdk/platform/Cart/CartPlatformModel.js +1985 -1217
  94. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
  95. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
  97. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
  98. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +178 -117
  99. package/sdk/platform/Catalog/CatalogPlatformClient.js +468 -172
  100. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6554 -1772
  101. package/sdk/platform/Catalog/CatalogPlatformModel.js +3264 -1690
  102. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +116 -31
  103. package/sdk/platform/Catalog/CatalogPlatformValidator.js +85 -24
  104. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  105. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  106. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  107. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  112. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  113. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  114. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  120. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  121. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  124. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  125. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  126. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  127. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  128. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  129. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  130. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +122 -191
  131. package/sdk/platform/Content/ContentPlatformApplicationClient.js +447 -831
  132. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +174 -220
  133. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +164 -199
  134. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  135. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  136. package/sdk/platform/Content/ContentPlatformModel.d.ts +1233 -476
  137. package/sdk/platform/Content/ContentPlatformModel.js +514 -487
  138. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  139. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  140. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  141. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  142. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  143. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  144. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  145. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  149. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  150. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  151. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  152. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  153. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  154. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  155. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  156. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  157. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  158. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  159. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  160. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
  161. package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
  162. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
  163. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
  164. package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
  165. package/sdk/platform/Order/OrderPlatformClient.js +424 -198
  166. package/sdk/platform/Order/OrderPlatformModel.d.ts +7747 -1342
  167. package/sdk/platform/Order/OrderPlatformModel.js +3960 -1262
  168. package/sdk/platform/Order/OrderPlatformValidator.d.ts +292 -109
  169. package/sdk/platform/Order/OrderPlatformValidator.js +145 -77
  170. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  171. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  172. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  173. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  174. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  175. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  176. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  177. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  178. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  179. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  180. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
  181. package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
  182. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  183. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  184. package/sdk/platform/PlatformClient.d.ts +0 -2
  185. package/sdk/platform/PlatformClient.js +0 -4
  186. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  187. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  188. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  189. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  190. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  191. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +46 -36
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +132 -44
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +681 -64
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2458 -650
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1266 -572
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +176 -47
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -28
  202. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  203. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  204. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  205. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  206. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  208. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  210. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  211. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  212. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  213. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  214. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  215. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  216. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  217. package/sdk/platform/User/UserPlatformModel.js +23 -23
  218. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  219. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  220. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  221. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  222. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  223. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  224. package/sdk/platform/index.d.ts +0 -1
  225. package/sdk/platform/index.js +0 -2
  226. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  227. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -7
  228. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  229. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  230. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  231. package/sdk/public/Content/ContentPublicClient.js +795 -7
  232. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  233. package/sdk/public/Content/ContentPublicModel.js +649 -3
  234. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  235. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  236. package/sdk/public/Partner/PartnerPublicClient.js +4 -2
  237. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  238. package/sdk/public/Webhook/WebhookPublicClient.js +12 -10
  239. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  240. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  241. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  242. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  243. package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
  244. package/sdk/application/Cart/CartApplicationModel.js +0 -2497
  245. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
  246. package/sdk/application/Cart/CartApplicationValidator.js +0 -530
  247. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
  248. package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
  249. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
  250. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
  251. package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
  252. package/sdk/application/Common/CommonApplicationModel.js +0 -308
  253. package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
  254. package/sdk/application/Common/CommonApplicationValidator.js +0 -38
  255. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
  256. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
  257. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
  258. package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
  259. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
  260. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
  261. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
  262. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
  263. package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
  264. package/sdk/application/Content/ContentApplicationModel.js +0 -1589
  265. package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
  266. package/sdk/application/Content/ContentApplicationValidator.js +0 -264
  267. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
  268. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
  269. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
  270. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
  271. package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
  272. package/sdk/application/Lead/LeadApplicationModel.js +0 -480
  273. package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
  274. package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
  275. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
  276. package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
  277. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
  278. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
  279. package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
  280. package/sdk/application/Order/OrderApplicationModel.js +0 -1471
  281. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
  282. package/sdk/application/Order/OrderApplicationValidator.js +0 -197
  283. package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
  284. package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
  285. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
  286. package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
  287. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
  288. package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
  289. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
  290. package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
  291. package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
  292. package/sdk/application/Share/ShareApplicationModel.js +0 -234
  293. package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
  294. package/sdk/application/Share/ShareApplicationValidator.js +0 -91
  295. package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
  296. package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
  297. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
  298. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
  299. package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
  300. package/sdk/application/User/UserApplicationModel.js +0 -1382
  301. package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
  302. package/sdk/application/User/UserApplicationValidator.js +0 -573
  303. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
  304. package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
  305. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
  306. package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
  307. package/sdk/common/Clickstream.d.ts +0 -1
  308. package/sdk/common/Clickstream.js +0 -464
  309. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  310. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  311. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  312. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  313. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  314. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -1,79 +1,111 @@
1
1
  export = WebhookPartnerModel;
2
2
  /**
3
- * @typedef UpdateSubscriberRequest
4
- * @property {string} [status]
3
+ * @typedef SubscriberUpdate
4
+ * @property {string} [status] - Represents the status of the subscriber update operation.
5
5
  */
6
6
  /**
7
- * @typedef UpdateSubscriberResponse
8
- * @property {string} [message]
7
+ * @typedef SubscriberUpdateResult
8
+ * @property {string} [message] - Provides a message describing the result of
9
+ * the subscriber update operation.
9
10
  */
10
11
  /**
11
12
  * @typedef Association
12
- * @property {number} [company_id]
13
- * @property {string[]} [application_id]
14
- * @property {string} [extension_id]
15
- * @property {string} [criteria]
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.
16
21
  */
17
22
  /**
18
23
  * @typedef AuthMeta
19
- * @property {string} [type]
20
- * @property {string} [secret]
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.
21
39
  */
22
40
  /**
23
41
  * @typedef SubscriberEventMapping
24
- * @property {number} [id]
25
- * @property {number} [event_id]
26
- * @property {number} [subscriber_id]
27
- * @property {string} [topic]
28
- * @property {string} [created_on]
29
- */
30
- /**
31
- * @typedef EventConfigResponse
32
- * @property {number} [id]
33
- * @property {string} [event_name]
34
- * @property {string} [event_type]
35
- * @property {string} [event_category]
36
- * @property {Object} [event_schema]
37
- * @property {string} [version]
38
- * @property {string} [display_name]
39
- * @property {string} [description]
40
- * @property {string} [created_on]
41
- * @property {string} [updated_on]
42
- * @property {string} [group]
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.
43
71
  * @property {SubscriberEventMapping} [subscriber_event_mapping]
44
72
  */
45
73
  /**
46
- * @typedef SubscriberConfigResponse
47
- * @property {ItemSchema[]} [items]
74
+ * @typedef SubscriberConfigDetails
75
+ * @property {ItemSchema[]} [items] - A list of items representing subscriber
76
+ * configurations.
48
77
  * @property {Page} [page]
49
78
  */
50
79
  /**
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]
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.
57
88
  */
58
89
  /**
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]
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.
65
97
  */
66
98
  /**
67
99
  * @typedef HistoryFilters
68
- * @property {string[]} [events]
69
- * @property {string} [search_text]
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.
70
102
  * @property {string} [status] - The status of the history report (e.g., "FAILED").
71
103
  * @property {string} [end_date] - The end date and time of the history report.
72
104
  * @property {string} [start_date] - The start date and time of the history report.
73
105
  * @property {number[]} [subscribers] - An array of subscriber IDs associated
74
106
  * with the history report.
75
- * @property {string[]} [webhook_type] - An array of webhook type to identify
76
- * thetype of subscriber i.e (KAFKA or REST).
107
+ * @property {string[]} [webhook_type] - An array of webhook types to identify
108
+ * the type of subscriber.
77
109
  */
78
110
  /**
79
111
  * @typedef Url
@@ -82,7 +114,8 @@ export = WebhookPartnerModel;
82
114
  */
83
115
  /**
84
116
  * @typedef CdnObject
85
- * @property {Url[]} [urls]
117
+ * @property {Url[]} [urls] - A list of URLs for CDN objects, including the
118
+ * location of the uploaded report files.
86
119
  */
87
120
  /**
88
121
  * @typedef UploadServiceObject
@@ -90,92 +123,108 @@ export = WebhookPartnerModel;
90
123
  */
91
124
  /**
92
125
  * @typedef HistoryAssociation
93
- * @property {number} [company_id]
94
- * @property {number[]} [subscriber_ids]
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.
95
130
  */
96
131
  /**
97
132
  * @typedef HistoryItems
98
- * @property {number} [id] - The ID of the history report.
133
+ * @property {number} [id] - The unique identifier for the history report.
99
134
  * @property {HistoryAssociation} [association]
100
135
  * @property {HistoryFilters} [filters]
101
- * @property {string} [filename] - The filename of the history report.
102
- * @property {string} [status] - The status of the history report (e.g., "COMPLETED").
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").
103
139
  * @property {UploadServiceObject} [upload_service_response]
104
140
  * @property {string} [created_on] - The date and time when the history report
105
- * was created.
141
+ * was generated.
106
142
  * @property {string} [updated_on] - The date and time when the history report
107
143
  * was last updated.
108
144
  * @property {string} [message] - A message related to the history report.
109
145
  */
110
146
  /**
111
- * @typedef HistoryResponse
112
- * @property {HistoryItems[]} [items]
147
+ * @typedef HistoryResult
148
+ * @property {HistoryItems[]} [items] - A list of history report items.
113
149
  * @property {Page} [page]
114
150
  */
115
151
  /**
116
152
  * @typedef HistoryPayload
117
- * @property {number} [company_id]
118
- * @property {string} [type] - The type of history report (e.g., "platform").
119
- * @property {number} [page_no] - The page number of the history report.
120
- * @property {number} [page_size] - The number of records per page.
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.
121
160
  */
122
161
  /**
123
- * @typedef CancelDownloadResponse
124
- * @property {string} [message]
125
- * @property {string} [result]
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.
126
166
  */
127
167
  /**
128
- * @typedef FilterReportResponse
129
- * @property {string} [filter_name]
130
- * @property {Object[]} [values]
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.
131
171
  */
132
172
  /**
133
- * @typedef DeliveryTsResponse
173
+ * @typedef DeliveryTsResult
134
174
  * @property {DeliveryTsSchema[]} [delivery_ts]
135
175
  */
136
176
  /**
137
177
  * @typedef DeliveryTsSchema
138
- * @property {string} [timestamp]
139
- * @property {number} [failed]
140
- * @property {number} [removed_webhooks]
141
- * @property {number} [success]
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.
142
182
  */
143
183
  /**
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]
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.
152
194
  */
153
195
  /**
154
196
  * @typedef EventDeliveryDetailSchema
155
- * @property {string} [event_name]
156
- * @property {string} [event_type]
157
- * @property {string} [event_category]
158
- * @property {string} [version]
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.
159
205
  */
160
206
  /**
161
- * @typedef DeliveryDetailsResponse
162
- * @property {EventProcessReportObject[]} [rows]
207
+ * @typedef DeliveryDetailsResult
208
+ * @property {EventProcessReportObject[]} [rows] - A list of processed event
209
+ * reports with delivery details.
163
210
  * @property {Page} [page]
164
211
  */
165
212
  /**
166
213
  * @typedef EventProcessReportObject
167
214
  * @property {string} [event_name] - The name of the processed event.
168
- * @property {number} [response_code] - The response code of the event.
169
- * @property {string} [response_message] - The response message of the event.
170
- * @property {string} [data] - The data associated with the event.
171
- * @property {number} [attempt] - The attempt number of the event.
172
- * @property {number} [last_attempted_on] - The timestamp of the last attempted event.
173
- * @property {string} [status] - The status of the event (e.g., "FAILED").
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").
174
223
  * @property {string} [name] - The name of the event.
175
- * @property {string} [webhook_url] - The webhook URL associated with the event.
176
- * @property {number} [response_time] - The response time of the event.
177
- * @property {string} [message_id]
178
- * @property {string} [event_trace_id]
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.
179
228
  */
180
229
  /**
181
230
  * @typedef Page
@@ -189,126 +238,304 @@ export = WebhookPartnerModel;
189
238
  */
190
239
  /**
191
240
  * @typedef DeliveryEventLevelSchema
192
- * @property {string} [event]
193
- * @property {number} [success]
194
- * @property {number} [failed]
195
- * @property {number} [failed_percentage]
196
- * @property {number} [removed_webhooks]
197
- * @property {number} [total]
198
- * @property {number} [response_time]
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.
251
+ */
252
+ /**
253
+ * @typedef ResponseTimeTs
254
+ * @property {AvgResponseTime[]} [avg_response_time_ts]
199
255
  */
200
256
  /**
201
- * @typedef DeliverySummaryResponse
257
+ * @typedef AvgResponseTime
258
+ * @property {string} [last_attempted_on] - The timestamp of the last attempt,
259
+ * formatted as a string.
260
+ * @property {number} [response_code] - The response code returned for the
261
+ * delivery attempt, allowing for custom or non-enumerated values.
262
+ * @property {string} [response_time] - The response time for the delivery
263
+ * attempt, formatted as a string.
264
+ * @property {number} [attempt] - The attempt number for the delivery.
265
+ * @property {number} [total] - The total count of deliveries attempted.
266
+ */
267
+ /**
268
+ * @typedef DeliverySummaryResult
202
269
  * @property {DeliveryEventLevelSchema[]} [delivery_event_level]
203
270
  * @property {DeliverySummarySchema} [delivery_summary]
204
271
  */
205
272
  /**
206
273
  * @typedef DeliverySummarySchema
207
- * @property {number} [success]
208
- * @property {number} [response_time]
209
- * @property {number} [failed_percentage]
210
- * @property {number} [removed_webhooks]
274
+ * @property {number} [success] - The total count of successful deliveries.
275
+ * @property {number} [response_time] - The average response time for deliveries.
276
+ * @property {number} [failed_percentage] - The percentage of failed deliveries.
277
+ * @property {number} [removed_webhooks] - The count of webhooks removed during delivery.
211
278
  */
212
279
  /**
213
280
  * @typedef ItemSchema
214
- * @property {number} [id]
215
- * @property {string} [modified_by]
216
- * @property {string} [name]
217
- * @property {string} [webhook_url]
218
- * @property {string} [provider]
281
+ * @property {number} [id] - The unique identifier for the item.
282
+ * @property {string} [modified_by] - The user or system that last modified the item.
283
+ * @property {string} [name] - The name of the item.
284
+ * @property {string} [webhook_url] - The URL of the webhook associated with the item.
285
+ * @property {string} [provider] - The provider of the item.
219
286
  * @property {Association} [association]
220
- * @property {Object} [custom_headers]
221
- * @property {string} [status]
222
- * @property {string} [email_id]
223
- * @property {string} [updated_on]
224
- * @property {string} [created_on]
225
- * @property {string} [type]
287
+ * @property {Object} [custom_headers] - Custom headers associated with the item, if any.
288
+ * @property {string} [status] - The current status of the item.
289
+ * @property {string} [email_id] - The email ID associated with the item, if applicable.
290
+ * @property {string} [updated_on] - The date and time when the item was last updated.
291
+ * @property {string} [created_on] - The date and time when the item was created.
292
+ * @property {string} [type] - The type of the item, if applicable.
226
293
  * @property {AuthMeta} [auth_meta]
227
- * @property {EventConfigResponse[]} [event_configs]
228
- * @property {number[]} [event_id]
294
+ * @property {EventConfigDetails[]} [event_configs] - A list of event
295
+ * configurations associated with the item.
296
+ * @property {number[]} [event_id] - A list of event IDs associated with the item.
229
297
  */
230
298
  declare class WebhookPartnerModel {
231
299
  }
232
300
  declare namespace WebhookPartnerModel {
233
- export { UpdateSubscriberRequest, UpdateSubscriberResponse, Association, AuthMeta, SubscriberEventMapping, EventConfigResponse, SubscriberConfigResponse, InvalidEventsRequest, InvalidEventsResponse, HistoryFilters, Url, CdnObject, UploadServiceObject, HistoryAssociation, HistoryItems, HistoryResponse, HistoryPayload, CancelDownloadResponse, FilterReportResponse, DeliveryTsResponse, DeliveryTsSchema, DeliveryDetailsRequest, EventDeliveryDetailSchema, DeliveryDetailsResponse, EventProcessReportObject, Page, DeliveryEventLevelSchema, DeliverySummaryResponse, DeliverySummarySchema, ItemSchema };
301
+ 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 };
234
302
  }
235
- /** @returns {UpdateSubscriberRequest} */
236
- declare function UpdateSubscriberRequest(): UpdateSubscriberRequest;
237
- type UpdateSubscriberRequest = {
303
+ /** @returns {SubscriberUpdate} */
304
+ declare function SubscriberUpdate(): SubscriberUpdate;
305
+ type SubscriberUpdate = {
306
+ /**
307
+ * - Represents the status of the subscriber update operation.
308
+ */
238
309
  status?: string;
239
310
  };
240
- /** @returns {UpdateSubscriberResponse} */
241
- declare function UpdateSubscriberResponse(): UpdateSubscriberResponse;
242
- type UpdateSubscriberResponse = {
311
+ /** @returns {SubscriberUpdateResult} */
312
+ declare function SubscriberUpdateResult(): SubscriberUpdateResult;
313
+ type SubscriberUpdateResult = {
314
+ /**
315
+ * - Provides a message describing the result of
316
+ * the subscriber update operation.
317
+ */
243
318
  message?: string;
244
319
  };
245
320
  /** @returns {Association} */
246
321
  declare function Association(): Association;
247
322
  type Association = {
323
+ /**
324
+ * - The identifier for the company associated
325
+ * with the configuration.
326
+ */
248
327
  company_id?: number;
328
+ /**
329
+ * - A list of application identifiers
330
+ * associated with the configuration.
331
+ */
249
332
  application_id?: string[];
333
+ /**
334
+ * - The identifier for the extension related
335
+ * to the configuration.
336
+ */
250
337
  extension_id?: string;
338
+ /**
339
+ * - Defines the criteria for the association,
340
+ * including options for all events, empty criteria, or specific events.
341
+ */
251
342
  criteria?: string;
252
343
  };
253
344
  /** @returns {AuthMeta} */
254
345
  declare function AuthMeta(): AuthMeta;
255
346
  type AuthMeta = {
347
+ /**
348
+ * - Specifies the type of authentication used.
349
+ */
256
350
  type?: string;
351
+ /**
352
+ * - Contains the secret key or token used for authentication.
353
+ */
257
354
  secret?: string;
258
355
  };
356
+ /** @returns {BroadcasterConfig} */
357
+ declare function BroadcasterConfig(): BroadcasterConfig;
358
+ type BroadcasterConfig = {
359
+ /**
360
+ * - The topic associated with the broadcaster configuration.
361
+ */
362
+ topic?: string;
363
+ /**
364
+ * - The queue name used by the broadcaster.
365
+ */
366
+ queue?: string;
367
+ /**
368
+ * - The name of the event bridge used in
369
+ * the broadcaster configuration.
370
+ */
371
+ event_bridge_name?: string;
372
+ /**
373
+ * - The name of the workflow related to the
374
+ * broadcaster.
375
+ */
376
+ workflow_name?: string;
377
+ /**
378
+ * - The account ID associated with the
379
+ * broadcaster configuration.
380
+ */
381
+ account_id?: string;
382
+ /**
383
+ * - Specifies the type of detail for the
384
+ * broadcaster, allowing for custom or non-enumerated values.
385
+ */
386
+ detail_type?: string;
387
+ };
259
388
  /** @returns {SubscriberEventMapping} */
260
389
  declare function SubscriberEventMapping(): SubscriberEventMapping;
261
390
  type SubscriberEventMapping = {
391
+ /**
392
+ * - The unique identifier for the subscriber event mapping.
393
+ */
262
394
  id?: number;
395
+ /**
396
+ * - The identifier for the event associated with
397
+ * the subscriber.
398
+ */
263
399
  event_id?: number;
400
+ /**
401
+ * - The identifier for the subscriber
402
+ * involved in the mapping.
403
+ */
264
404
  subscriber_id?: number;
265
- topic?: string;
405
+ broadcaster_config?: BroadcasterConfig;
406
+ /**
407
+ * - The timestamp indicating when the
408
+ * subscriber event mapping was created.
409
+ */
266
410
  created_on?: string;
267
411
  };
268
- /** @returns {EventConfigResponse} */
269
- declare function EventConfigResponse(): EventConfigResponse;
270
- type EventConfigResponse = {
412
+ /** @returns {EventConfigDetails} */
413
+ declare function EventConfigDetails(): EventConfigDetails;
414
+ type EventConfigDetails = {
415
+ /**
416
+ * - The unique identifier for the event configuration.
417
+ */
271
418
  id?: number;
419
+ /**
420
+ * - The name assigned to the event configuration.
421
+ */
272
422
  event_name?: string;
423
+ /**
424
+ * - Specifies the type of event, allowing for
425
+ * custom or non-enumerated values.
426
+ */
273
427
  event_type?: string;
428
+ /**
429
+ * - Defines the category of the event,
430
+ * allowing for custom or non-enumerated values.
431
+ */
274
432
  event_category?: string;
433
+ /**
434
+ * - Contains the schema details for the
435
+ * event, allowing for flexible or dynamic schemas.
436
+ */
275
437
  event_schema?: any;
438
+ /**
439
+ * - The version number of the event configuration.
440
+ */
276
441
  version?: string;
442
+ /**
443
+ * - The display name for the event configuration.
444
+ */
277
445
  display_name?: string;
446
+ /**
447
+ * - A description of the event configuration,
448
+ * if provided.
449
+ */
278
450
  description?: string;
451
+ /**
452
+ * - The timestamp indicating when the event
453
+ * configuration was created.
454
+ */
279
455
  created_on?: string;
456
+ /**
457
+ * - The timestamp indicating when the event
458
+ * configuration was last updated.
459
+ */
280
460
  updated_on?: string;
461
+ /**
462
+ * - The group to which the event configuration
463
+ * belongs, if applicable.
464
+ */
281
465
  group?: string;
282
466
  subscriber_event_mapping?: SubscriberEventMapping;
283
467
  };
284
- /** @returns {SubscriberConfigResponse} */
285
- declare function SubscriberConfigResponse(): SubscriberConfigResponse;
286
- type SubscriberConfigResponse = {
468
+ /** @returns {SubscriberConfigDetails} */
469
+ declare function SubscriberConfigDetails(): SubscriberConfigDetails;
470
+ type SubscriberConfigDetails = {
471
+ /**
472
+ * - A list of items representing subscriber
473
+ * configurations.
474
+ */
287
475
  items?: ItemSchema[];
288
476
  page?: Page;
289
477
  };
290
- /** @returns {InvalidEventsRequest} */
291
- declare function InvalidEventsRequest(): InvalidEventsRequest;
292
- type InvalidEventsRequest = {
478
+ /** @returns {InvalidEventsPayload} */
479
+ declare function InvalidEventsPayload(): InvalidEventsPayload;
480
+ type InvalidEventsPayload = {
481
+ /**
482
+ * - The name of the event that is considered invalid.
483
+ */
293
484
  event_name?: string;
485
+ /**
486
+ * - The version of the event that is considered invalid.
487
+ */
294
488
  version?: string;
489
+ /**
490
+ * - The category of the event that is considered invalid.
491
+ */
295
492
  category?: string;
493
+ /**
494
+ * - The start date and time for the period
495
+ * during which events were considered invalid.
496
+ */
296
497
  start_date?: string;
498
+ /**
499
+ * - The end date and time for the period during
500
+ * which events were considered invalid.
501
+ */
297
502
  end_date?: string;
298
503
  };
299
- /** @returns {InvalidEventsResponse} */
300
- declare function InvalidEventsResponse(): InvalidEventsResponse;
301
- type InvalidEventsResponse = {
504
+ /** @returns {InvalidEventsResult} */
505
+ declare function InvalidEventsResult(): InvalidEventsResult;
506
+ type InvalidEventsResult = {
507
+ /**
508
+ * - The name of the event that was found to be invalid.
509
+ */
302
510
  event_name?: string;
511
+ /**
512
+ * - The type of the invalid event, allowing for
513
+ * custom or non-enumerated values.
514
+ */
303
515
  event_type?: string;
516
+ /**
517
+ * - The version of the invalid event.
518
+ */
304
519
  version?: string;
520
+ /**
521
+ * - The category of the invalid event.
522
+ */
305
523
  category?: string;
524
+ /**
525
+ * - The number of occurrences of the invalid event.
526
+ */
306
527
  count?: number;
307
528
  };
308
529
  /** @returns {HistoryFilters} */
309
530
  declare function HistoryFilters(): HistoryFilters;
310
531
  type HistoryFilters = {
532
+ /**
533
+ * - A list of event types to filter the history report.
534
+ */
311
535
  events?: string[];
536
+ /**
537
+ * - Text used for searching within the history report.
538
+ */
312
539
  search_text?: string;
313
540
  /**
314
541
  * - The status of the history report (e.g., "FAILED").
@@ -328,8 +555,8 @@ type HistoryFilters = {
328
555
  */
329
556
  subscribers?: number[];
330
557
  /**
331
- * - An array of webhook type to identify
332
- * thetype of subscriber i.e (KAFKA or REST).
558
+ * - An array of webhook types to identify
559
+ * the type of subscriber.
333
560
  */
334
561
  webhook_type?: string[];
335
562
  };
@@ -348,6 +575,10 @@ type Url = {
348
575
  /** @returns {CdnObject} */
349
576
  declare function CdnObject(): CdnObject;
350
577
  type CdnObject = {
578
+ /**
579
+ * - A list of URLs for CDN objects, including the
580
+ * location of the uploaded report files.
581
+ */
351
582
  urls?: Url[];
352
583
  };
353
584
  /** @returns {UploadServiceObject} */
@@ -358,30 +589,39 @@ type UploadServiceObject = {
358
589
  /** @returns {HistoryAssociation} */
359
590
  declare function HistoryAssociation(): HistoryAssociation;
360
591
  type HistoryAssociation = {
592
+ /**
593
+ * - The identifier for the company associated
594
+ * with the history report.
595
+ */
361
596
  company_id?: number;
597
+ /**
598
+ * - A list of subscriber IDs related to
599
+ * the history report.
600
+ */
362
601
  subscriber_ids?: number[];
363
602
  };
364
603
  /** @returns {HistoryItems} */
365
604
  declare function HistoryItems(): HistoryItems;
366
605
  type HistoryItems = {
367
606
  /**
368
- * - The ID of the history report.
607
+ * - The unique identifier for the history report.
369
608
  */
370
609
  id?: number;
371
610
  association?: HistoryAssociation;
372
611
  filters?: HistoryFilters;
373
612
  /**
374
- * - The filename of the history report.
613
+ * - The name of the file containing the history report.
375
614
  */
376
615
  filename?: string;
377
616
  /**
378
- * - The status of the history report (e.g., "COMPLETED").
617
+ * - The current status of the history report (e.g.,
618
+ * "COMPLETED").
379
619
  */
380
620
  status?: string;
381
621
  upload_service_response?: UploadServiceObject;
382
622
  /**
383
623
  * - The date and time when the history report
384
- * was created.
624
+ * was generated.
385
625
  */
386
626
  created_on?: string;
387
627
  /**
@@ -394,76 +634,153 @@ type HistoryItems = {
394
634
  */
395
635
  message?: string;
396
636
  };
397
- /** @returns {HistoryResponse} */
398
- declare function HistoryResponse(): HistoryResponse;
399
- type HistoryResponse = {
637
+ /** @returns {HistoryResult} */
638
+ declare function HistoryResult(): HistoryResult;
639
+ type HistoryResult = {
640
+ /**
641
+ * - A list of history report items.
642
+ */
400
643
  items?: HistoryItems[];
401
644
  page?: Page;
402
645
  };
403
646
  /** @returns {HistoryPayload} */
404
647
  declare function HistoryPayload(): HistoryPayload;
405
648
  type HistoryPayload = {
649
+ /**
650
+ * - The identifier for the company requesting
651
+ * the history report.
652
+ */
406
653
  company_id?: number;
407
654
  /**
408
- * - The type of history report (e.g., "platform").
655
+ * - Specifies the type of history report requested
656
+ * (e.g., "platform").
409
657
  */
410
658
  type?: string;
411
659
  /**
412
- * - The page number of the history report.
660
+ * - The page number of the history report results.
413
661
  */
414
662
  page_no?: number;
415
663
  /**
416
- * - The number of records per page.
664
+ * - The number of records to display per page in
665
+ * the history report.
417
666
  */
418
667
  page_size?: number;
419
668
  };
420
- /** @returns {CancelDownloadResponse} */
421
- declare function CancelDownloadResponse(): CancelDownloadResponse;
422
- type CancelDownloadResponse = {
669
+ /** @returns {CancelDownloadResult} */
670
+ declare function CancelDownloadResult(): CancelDownloadResult;
671
+ type CancelDownloadResult = {
672
+ /**
673
+ * - A message indicating the result of the cancel
674
+ * download request.
675
+ */
423
676
  message?: string;
677
+ /**
678
+ * - The outcome of the cancel download operation.
679
+ */
424
680
  result?: string;
425
681
  };
426
- /** @returns {FilterReportResponse} */
427
- declare function FilterReportResponse(): FilterReportResponse;
428
- type FilterReportResponse = {
682
+ /** @returns {FilterReportResult} */
683
+ declare function FilterReportResult(): FilterReportResult;
684
+ type FilterReportResult = {
685
+ /**
686
+ * - The name of the filter applied in the report.
687
+ */
429
688
  filter_name?: string;
689
+ /**
690
+ * - A list of values resulting from the applied filter.
691
+ */
430
692
  values?: any[];
431
693
  };
432
- /** @returns {DeliveryTsResponse} */
433
- declare function DeliveryTsResponse(): DeliveryTsResponse;
434
- type DeliveryTsResponse = {
694
+ /** @returns {DeliveryTsResult} */
695
+ declare function DeliveryTsResult(): DeliveryTsResult;
696
+ type DeliveryTsResult = {
435
697
  delivery_ts?: DeliveryTsSchema[];
436
698
  };
437
699
  /** @returns {DeliveryTsSchema} */
438
700
  declare function DeliveryTsSchema(): DeliveryTsSchema;
439
701
  type DeliveryTsSchema = {
702
+ /**
703
+ * - The timestamp of the delivery event.
704
+ */
440
705
  timestamp?: string;
706
+ /**
707
+ * - The count of failed delivery attempts.
708
+ */
441
709
  failed?: number;
710
+ /**
711
+ * - The count of removed webhooks during delivery.
712
+ */
442
713
  removed_webhooks?: number;
714
+ /**
715
+ * - The count of successful delivery attempts.
716
+ */
443
717
  success?: number;
444
718
  };
445
- /** @returns {DeliveryDetailsRequest} */
446
- declare function DeliveryDetailsRequest(): DeliveryDetailsRequest;
447
- type DeliveryDetailsRequest = {
719
+ /** @returns {DeliveryDetailsPayload} */
720
+ declare function DeliveryDetailsPayload(): DeliveryDetailsPayload;
721
+ type DeliveryDetailsPayload = {
722
+ /**
723
+ * - The identifier for the company requesting
724
+ * delivery details.
725
+ */
448
726
  company_id?: string;
727
+ /**
728
+ * - The page number for the delivery details results.
729
+ */
449
730
  page_no?: number;
731
+ /**
732
+ * - The number of records per page for delivery details.
733
+ */
450
734
  page_size?: number;
735
+ /**
736
+ * - The start date and time for filtering
737
+ * delivery details.
738
+ */
451
739
  start_date?: string;
740
+ /**
741
+ * - The end date and time for filtering delivery details.
742
+ */
452
743
  end_date?: string;
744
+ /**
745
+ * - A list of event delivery details.
746
+ */
453
747
  event?: EventDeliveryDetailSchema[];
748
+ /**
749
+ * - The status of the delivery details request.
750
+ */
454
751
  status?: string;
455
752
  };
456
753
  /** @returns {EventDeliveryDetailSchema} */
457
754
  declare function EventDeliveryDetailSchema(): EventDeliveryDetailSchema;
458
755
  type EventDeliveryDetailSchema = {
756
+ /**
757
+ * - The name of the event related to the
758
+ * delivery details.
759
+ */
459
760
  event_name?: string;
761
+ /**
762
+ * - The type of the event, allowing for custom
763
+ * or non-enumerated values.
764
+ */
460
765
  event_type?: string;
766
+ /**
767
+ * - The category of the event, allowing for
768
+ * custom or non-enumerated values.
769
+ */
461
770
  event_category?: string;
771
+ /**
772
+ * - The version of the event related to the
773
+ * delivery details.
774
+ */
462
775
  version?: string;
463
776
  };
464
- /** @returns {DeliveryDetailsResponse} */
465
- declare function DeliveryDetailsResponse(): DeliveryDetailsResponse;
466
- type DeliveryDetailsResponse = {
777
+ /** @returns {DeliveryDetailsResult} */
778
+ declare function DeliveryDetailsResult(): DeliveryDetailsResult;
779
+ type DeliveryDetailsResult = {
780
+ /**
781
+ * - A list of processed event
782
+ * reports with delivery details.
783
+ */
467
784
  rows?: EventProcessReportObject[];
468
785
  page?: Page;
469
786
  };
@@ -475,27 +792,29 @@ type EventProcessReportObject = {
475
792
  */
476
793
  event_name?: string;
477
794
  /**
478
- * - The response code of the event.
795
+ * - The response code returned for the
796
+ * event, allowing for custom or non-enumerated values.
479
797
  */
480
798
  response_code?: number;
481
799
  /**
482
- * - The response message of the event.
800
+ * - The response message associated with the event.
483
801
  */
484
802
  response_message?: string;
485
803
  /**
486
- * - The data associated with the event.
804
+ * - The data payload associated with the event.
487
805
  */
488
806
  data?: string;
489
807
  /**
490
- * - The attempt number of the event.
808
+ * - The attempt number for processing the event.
491
809
  */
492
810
  attempt?: number;
493
811
  /**
494
- * - The timestamp of the last attempted event.
812
+ * - The timestamp of the last attempt to
813
+ * process the event.
495
814
  */
496
815
  last_attempted_on?: number;
497
816
  /**
498
- * - The status of the event (e.g., "FAILED").
817
+ * - The status of the event processing (e.g., "FAILED").
499
818
  */
500
819
  status?: string;
501
820
  /**
@@ -503,14 +822,20 @@ type EventProcessReportObject = {
503
822
  */
504
823
  name?: string;
505
824
  /**
506
- * - The webhook URL associated with the event.
825
+ * - The URL of the webhook associated with the event.
507
826
  */
508
827
  webhook_url?: string;
509
828
  /**
510
- * - The response time of the event.
829
+ * - The time taken to respond to the event.
511
830
  */
512
831
  response_time?: number;
832
+ /**
833
+ * - The identifier for the event message.
834
+ */
513
835
  message_id?: string;
836
+ /**
837
+ * - The trace ID associated with the event.
838
+ */
514
839
  event_trace_id?: string;
515
840
  };
516
841
  /** @returns {Page} */
@@ -548,44 +873,152 @@ type Page = {
548
873
  /** @returns {DeliveryEventLevelSchema} */
549
874
  declare function DeliveryEventLevelSchema(): DeliveryEventLevelSchema;
550
875
  type DeliveryEventLevelSchema = {
876
+ /**
877
+ * - The name or identifier of the event.
878
+ */
551
879
  event?: string;
880
+ /**
881
+ * - The count of successful deliveries for the event.
882
+ */
552
883
  success?: number;
884
+ /**
885
+ * - The count of failed deliveries for the event.
886
+ */
553
887
  failed?: number;
888
+ /**
889
+ * - The percentage of failed deliveries
890
+ * relative to the total.
891
+ */
554
892
  failed_percentage?: number;
893
+ /**
894
+ * - The count of webhooks that were
895
+ * removed during the delivery.
896
+ */
555
897
  removed_webhooks?: number;
898
+ /**
899
+ * - The total number of delivery attempts for the event.
900
+ */
556
901
  total?: number;
902
+ /**
903
+ * - The average response time for the event
904
+ * deliveries.
905
+ */
557
906
  response_time?: number;
558
907
  };
559
- /** @returns {DeliverySummaryResponse} */
560
- declare function DeliverySummaryResponse(): DeliverySummaryResponse;
561
- type DeliverySummaryResponse = {
908
+ /** @returns {ResponseTimeTs} */
909
+ declare function ResponseTimeTs(): ResponseTimeTs;
910
+ type ResponseTimeTs = {
911
+ avg_response_time_ts?: AvgResponseTime[];
912
+ };
913
+ /** @returns {AvgResponseTime} */
914
+ declare function AvgResponseTime(): AvgResponseTime;
915
+ type AvgResponseTime = {
916
+ /**
917
+ * - The timestamp of the last attempt,
918
+ * formatted as a string.
919
+ */
920
+ last_attempted_on?: string;
921
+ /**
922
+ * - The response code returned for the
923
+ * delivery attempt, allowing for custom or non-enumerated values.
924
+ */
925
+ response_code?: number;
926
+ /**
927
+ * - The response time for the delivery
928
+ * attempt, formatted as a string.
929
+ */
930
+ response_time?: string;
931
+ /**
932
+ * - The attempt number for the delivery.
933
+ */
934
+ attempt?: number;
935
+ /**
936
+ * - The total count of deliveries attempted.
937
+ */
938
+ total?: number;
939
+ };
940
+ /** @returns {DeliverySummaryResult} */
941
+ declare function DeliverySummaryResult(): DeliverySummaryResult;
942
+ type DeliverySummaryResult = {
562
943
  delivery_event_level?: DeliveryEventLevelSchema[];
563
944
  delivery_summary?: DeliverySummarySchema;
564
945
  };
565
946
  /** @returns {DeliverySummarySchema} */
566
947
  declare function DeliverySummarySchema(): DeliverySummarySchema;
567
948
  type DeliverySummarySchema = {
949
+ /**
950
+ * - The total count of successful deliveries.
951
+ */
568
952
  success?: number;
953
+ /**
954
+ * - The average response time for deliveries.
955
+ */
569
956
  response_time?: number;
957
+ /**
958
+ * - The percentage of failed deliveries.
959
+ */
570
960
  failed_percentage?: number;
961
+ /**
962
+ * - The count of webhooks removed during delivery.
963
+ */
571
964
  removed_webhooks?: number;
572
965
  };
573
966
  /** @returns {ItemSchema} */
574
967
  declare function ItemSchema(): ItemSchema;
575
968
  type ItemSchema = {
969
+ /**
970
+ * - The unique identifier for the item.
971
+ */
576
972
  id?: number;
973
+ /**
974
+ * - The user or system that last modified the item.
975
+ */
577
976
  modified_by?: string;
977
+ /**
978
+ * - The name of the item.
979
+ */
578
980
  name?: string;
981
+ /**
982
+ * - The URL of the webhook associated with the item.
983
+ */
579
984
  webhook_url?: string;
985
+ /**
986
+ * - The provider of the item.
987
+ */
580
988
  provider?: string;
581
989
  association?: Association;
990
+ /**
991
+ * - Custom headers associated with the item, if any.
992
+ */
582
993
  custom_headers?: any;
994
+ /**
995
+ * - The current status of the item.
996
+ */
583
997
  status?: string;
998
+ /**
999
+ * - The email ID associated with the item, if applicable.
1000
+ */
584
1001
  email_id?: string;
1002
+ /**
1003
+ * - The date and time when the item was last updated.
1004
+ */
585
1005
  updated_on?: string;
1006
+ /**
1007
+ * - The date and time when the item was created.
1008
+ */
586
1009
  created_on?: string;
1010
+ /**
1011
+ * - The type of the item, if applicable.
1012
+ */
587
1013
  type?: string;
588
1014
  auth_meta?: AuthMeta;
589
- event_configs?: EventConfigResponse[];
1015
+ /**
1016
+ * - A list of event
1017
+ * configurations associated with the item.
1018
+ */
1019
+ event_configs?: EventConfigDetails[];
1020
+ /**
1021
+ * - A list of event IDs associated with the item.
1022
+ */
590
1023
  event_id?: number[];
591
1024
  };