@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.1

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