@gofynd/fdk-client-javascript 1.6.4 → 3.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +0 -2
  4. package/sdk/application/ApplicationClient.js +0 -2
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +113 -93
  6. package/sdk/application/Cart/CartApplicationClient.js +270 -139
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +122 -138
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +3 -3
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +43 -3
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +190 -3
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +71 -36
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +103 -29
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +51 -21
  16. package/sdk/application/Content/ContentApplicationClient.js +197 -36
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
  20. package/sdk/application/Lead/LeadApplicationClient.js +3 -3
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +79 -64
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +246 -264
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +44 -24
  24. package/sdk/application/Order/OrderApplicationClient.js +140 -21
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +211 -111
  26. package/sdk/application/Payment/PaymentApplicationClient.js +610 -109
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  29. package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
  30. package/sdk/application/Share/ShareApplicationClient.js +14 -14
  31. package/sdk/application/Theme/ThemeApplicationClient.d.ts +23 -3
  32. package/sdk/application/Theme/ThemeApplicationClient.js +103 -5
  33. package/sdk/application/User/UserApplicationClient.d.ts +13 -23
  34. package/sdk/application/User/UserApplicationClient.js +9 -57
  35. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  36. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
  37. package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +66 -0
  38. package/sdk/partner/Authorization/AuthorizationPartnerClient.js +431 -0
  39. package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +231 -0
  40. package/sdk/partner/Authorization/AuthorizationPartnerModel.js +152 -0
  41. package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +8 -0
  42. package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +39 -0
  43. package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +26 -0
  44. package/sdk/partner/Catalog/CatalogPartnerClient.js +173 -0
  45. package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +238 -0
  46. package/sdk/partner/Catalog/CatalogPartnerModel.js +248 -0
  47. package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +5 -0
  48. package/sdk/partner/Catalog/CatalogPartnerValidator.js +19 -0
  49. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -22
  50. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -87
  51. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +33 -99
  52. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +25 -84
  53. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -1
  54. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -10
  55. package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
  56. package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
  57. package/sdk/partner/Lead/LeadPartnerModel.d.ts +100 -49
  58. package/sdk/partner/Lead/LeadPartnerModel.js +100 -74
  59. package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
  60. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -160
  61. package/sdk/partner/Logistics/LogisticsPartnerClient.js +66 -1180
  62. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +288 -1685
  63. package/sdk/partner/Logistics/LogisticsPartnerModel.js +226 -824
  64. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -13
  65. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +14 -141
  66. package/sdk/partner/PartnerClient.d.ts +6 -0
  67. package/sdk/partner/PartnerClient.js +9 -0
  68. package/sdk/partner/Payment/PaymentPartnerClient.d.ts +116 -0
  69. package/sdk/partner/Payment/PaymentPartnerClient.js +857 -0
  70. package/sdk/partner/Payment/PaymentPartnerModel.d.ts +388 -0
  71. package/sdk/partner/Payment/PaymentPartnerModel.js +442 -0
  72. package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +14 -0
  73. package/sdk/partner/Payment/PaymentPartnerValidator.js +74 -0
  74. package/sdk/partner/Theme/ThemePartnerClient.d.ts +63 -21
  75. package/sdk/partner/Theme/ThemePartnerClient.js +396 -71
  76. package/sdk/partner/Theme/ThemePartnerModel.d.ts +104 -72
  77. package/sdk/partner/Theme/ThemePartnerModel.js +101 -75
  78. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +5 -1
  79. package/sdk/partner/Theme/ThemePartnerValidator.js +42 -12
  80. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
  81. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
  82. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +191 -670
  83. package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -268
  84. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
  85. package/sdk/partner/index.d.ts +3 -0
  86. package/sdk/partner/index.js +6 -0
  87. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +1 -4
  88. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  89. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
  90. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -1
  91. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  92. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  93. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +145 -49
  94. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +171 -20
  95. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  96. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  97. package/sdk/platform/Billing/BillingPlatformClient.d.ts +406 -15
  98. package/sdk/platform/Billing/BillingPlatformClient.js +3214 -76
  99. package/sdk/platform/Billing/BillingPlatformModel.d.ts +3798 -459
  100. package/sdk/platform/Billing/BillingPlatformModel.js +2577 -342
  101. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +465 -24
  102. package/sdk/platform/Billing/BillingPlatformValidator.js +490 -14
  103. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +284 -205
  104. package/sdk/platform/Cart/CartPlatformApplicationClient.js +671 -553
  105. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
  106. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +108 -132
  107. package/sdk/platform/Cart/CartPlatformModel.d.ts +3136 -4788
  108. package/sdk/platform/Cart/CartPlatformModel.js +2850 -2031
  109. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1015 -419
  110. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +6450 -2010
  111. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1121 -230
  112. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +919 -127
  113. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +372 -574
  114. package/sdk/platform/Catalog/CatalogPlatformClient.js +1238 -1317
  115. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +8351 -9825
  116. package/sdk/platform/Catalog/CatalogPlatformModel.js +9662 -6881
  117. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +288 -235
  118. package/sdk/platform/Catalog/CatalogPlatformValidator.js +241 -183
  119. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -6
  120. package/sdk/platform/Common/CommonPlatformClient.js +5 -6
  121. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  122. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  123. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +374 -234
  124. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +875 -583
  125. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +170 -139
  126. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +145 -126
  127. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +56 -3
  128. package/sdk/platform/Communication/CommunicationPlatformClient.js +307 -4
  129. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +424 -252
  130. package/sdk/platform/Communication/CommunicationPlatformModel.js +540 -320
  131. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +62 -3
  132. package/sdk/platform/Communication/CommunicationPlatformValidator.js +48 -2
  133. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +68 -99
  134. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +84 -140
  135. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +238 -256
  136. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +222 -244
  137. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -20
  138. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -20
  139. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +333 -118
  140. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1470 -409
  141. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +158 -55
  142. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +163 -41
  143. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +151 -61
  144. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +595 -101
  145. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +1199 -462
  146. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1008 -321
  147. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +80 -34
  148. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +79 -24
  149. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +253 -140
  150. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1087 -458
  151. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +221 -178
  152. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +220 -157
  153. package/sdk/platform/Content/ContentPlatformClient.d.ts +124 -123
  154. package/sdk/platform/Content/ContentPlatformClient.js +459 -379
  155. package/sdk/platform/Content/ContentPlatformModel.d.ts +833 -1307
  156. package/sdk/platform/Content/ContentPlatformModel.js +893 -582
  157. package/sdk/platform/Content/ContentPlatformValidator.d.ts +140 -150
  158. package/sdk/platform/Content/ContentPlatformValidator.js +131 -135
  159. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +60 -36
  160. package/sdk/platform/Discount/DiscountPlatformClient.js +85 -36
  161. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +46 -47
  162. package/sdk/platform/Discount/DiscountPlatformModel.js +42 -46
  163. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  164. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  165. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -15
  166. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +24 -22
  167. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -4
  168. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -4
  169. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
  170. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
  171. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +75 -86
  172. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +60 -74
  173. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  174. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  175. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  176. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  177. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2895 -0
  178. package/sdk/platform/Finance/FinancePlatformModel.js +2150 -0
  179. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  180. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  181. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
  182. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
  183. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
  184. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
  185. package/sdk/platform/Lead/LeadPlatformClient.d.ts +4 -24
  186. package/sdk/platform/Lead/LeadPlatformClient.js +4 -160
  187. package/sdk/platform/Lead/LeadPlatformModel.d.ts +142 -57
  188. package/sdk/platform/Lead/LeadPlatformModel.js +162 -79
  189. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +3 -29
  190. package/sdk/platform/Lead/LeadPlatformValidator.js +2 -28
  191. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +94 -25
  192. package/sdk/platform/Order/OrderPlatformApplicationClient.js +600 -57
  193. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +115 -115
  194. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +120 -43
  195. package/sdk/platform/Order/OrderPlatformClient.d.ts +502 -293
  196. package/sdk/platform/Order/OrderPlatformClient.js +1466 -913
  197. package/sdk/platform/Order/OrderPlatformModel.d.ts +4103 -9109
  198. package/sdk/platform/Order/OrderPlatformModel.js +3198 -4245
  199. package/sdk/platform/Order/OrderPlatformValidator.d.ts +445 -612
  200. package/sdk/platform/Order/OrderPlatformValidator.js +316 -326
  201. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  202. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  203. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  204. package/sdk/platform/Partner/PartnerPlatformModel.js +7 -7
  205. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +382 -135
  206. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +2453 -935
  207. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +306 -93
  208. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +305 -70
  209. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +66 -56
  210. package/sdk/platform/Payment/PaymentPlatformClient.js +269 -124
  211. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3525 -1313
  212. package/sdk/platform/Payment/PaymentPlatformModel.js +3813 -1511
  213. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +64 -35
  214. package/sdk/platform/Payment/PaymentPlatformValidator.js +60 -34
  215. package/sdk/platform/PlatformClient.d.ts +2 -0
  216. package/sdk/platform/PlatformClient.js +4 -0
  217. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  218. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  219. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  220. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  221. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +14 -9
  222. package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -8
  223. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +344 -56
  224. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +2180 -302
  225. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +380 -54
  226. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +336 -37
  227. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +127 -213
  228. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +538 -1306
  229. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +3429 -2979
  230. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3642 -1785
  231. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +218 -392
  232. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +151 -290
  233. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +4 -16
  234. package/sdk/platform/Share/SharePlatformApplicationClient.js +8 -86
  235. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -23
  236. package/sdk/platform/Share/SharePlatformApplicationValidator.js +3 -16
  237. package/sdk/platform/Share/SharePlatformModel.d.ts +6 -50
  238. package/sdk/platform/Share/SharePlatformModel.js +3 -43
  239. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -4
  240. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +157 -10
  241. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +21 -10
  242. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +23 -6
  243. package/sdk/platform/Theme/ThemePlatformClient.d.ts +18 -8
  244. package/sdk/platform/Theme/ThemePlatformClient.js +85 -8
  245. package/sdk/platform/Theme/ThemePlatformModel.d.ts +425 -17
  246. package/sdk/platform/Theme/ThemePlatformModel.js +329 -23
  247. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +7 -3
  248. package/sdk/platform/Theme/ThemePlatformValidator.js +9 -2
  249. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +18 -71
  250. package/sdk/platform/User/UserPlatformApplicationClient.js +27 -412
  251. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +10 -114
  252. package/sdk/platform/User/UserPlatformApplicationValidator.js +7 -80
  253. package/sdk/platform/User/UserPlatformModel.d.ts +216 -264
  254. package/sdk/platform/User/UserPlatformModel.js +209 -216
  255. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  256. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  257. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +428 -810
  258. package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -444
  259. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  260. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  261. package/sdk/platform/index.d.ts +1 -0
  262. package/sdk/platform/index.js +2 -0
  263. package/sdk/public/Billing/BillingPublicClient.d.ts +56 -0
  264. package/sdk/public/Billing/BillingPublicClient.js +397 -0
  265. package/sdk/public/Billing/BillingPublicModel.d.ts +919 -0
  266. package/sdk/public/Billing/BillingPublicModel.js +560 -0
  267. package/sdk/public/Billing/BillingPublicValidator.d.ts +43 -0
  268. package/sdk/public/Billing/BillingPublicValidator.js +50 -0
  269. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -4
  270. package/sdk/public/Configuration/ConfigurationPublicClient.js +97 -9
  271. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +102 -40
  272. package/sdk/public/Configuration/ConfigurationPublicModel.js +111 -29
  273. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +11 -1
  274. package/sdk/public/Configuration/ConfigurationPublicValidator.js +12 -0
  275. package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
  276. package/sdk/public/Content/ContentPublicClient.js +183 -0
  277. package/sdk/public/Content/ContentPublicModel.d.ts +38 -1
  278. package/sdk/public/Content/ContentPublicModel.js +47 -1
  279. package/sdk/public/Content/ContentPublicValidator.d.ts +17 -1
  280. package/sdk/public/Content/ContentPublicValidator.js +19 -0
  281. package/sdk/public/PublicClient.d.ts +2 -2
  282. package/sdk/public/PublicClient.js +2 -2
  283. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  284. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  285. package/sdk/public/Webhook/WebhookPublicModel.d.ts +67 -215
  286. package/sdk/public/Webhook/WebhookPublicModel.js +61 -66
  287. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  288. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  289. package/sdk/public/index.d.ts +1 -1
  290. package/sdk/public/index.js +1 -1
  291. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
  292. package/sdk/application/Finance/FinanceApplicationClient.js +0 -126
  293. package/sdk/public/Catalog/CatalogPublicClient.d.ts +0 -22
  294. package/sdk/public/Catalog/CatalogPublicClient.js +0 -138
  295. package/sdk/public/Catalog/CatalogPublicModel.d.ts +0 -155
  296. package/sdk/public/Catalog/CatalogPublicModel.js +0 -116
  297. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +0 -55
  298. package/sdk/public/Catalog/CatalogPublicValidator.js +0 -35
@@ -1,11 +1,12 @@
1
1
  export = CommunicationPlatformApplicationValidator;
2
+ /**
3
+ * @typedef CreateAppPushtokenParam
4
+ * @property {CommunicationPlatformModel.PushtokenReq} body
5
+ */
2
6
  /**
3
7
  * @typedef CreateAudienceParam
4
8
  * @property {CommunicationPlatformModel.AudienceReq} body
5
9
  */
6
- /** @typedef CreateBigQueryHeadersParam */
7
- /** @typedef CreateBigQueryNCountParam */
8
- /** @typedef CreateBigQueryRowCountParam */
9
10
  /**
10
11
  * @typedef CreateCampaignParam
11
12
  * @property {CommunicationPlatformModel.CampaignReq} body
@@ -24,7 +25,7 @@ export = CommunicationPlatformApplicationValidator;
24
25
  */
25
26
  /**
26
27
  * @typedef CreateEventSubscriptionsByBulkParam
27
- * @property {CommunicationPlatformModel.EventSubscriptionsBulkUpdatePayload} body
28
+ * @property {CommunicationPlatformModel.EventSubscriptionsBulkUpdateRequest} body
28
29
  */
29
30
  /**
30
31
  * @typedef CreateJobsParam
@@ -40,16 +41,20 @@ export = CommunicationPlatformApplicationValidator;
40
41
  */
41
42
  /**
42
43
  * @typedef DeleteAudienceByIdParam
43
- * @property {string} id - Audience id
44
+ * @property {string} id - Event subscription id
44
45
  * @property {CommunicationPlatformModel.AudienceReq} body
45
46
  */
47
+ /**
48
+ * @typedef DeleteCampaignByIdParam
49
+ * @property {string} id - Event subscription id
50
+ */
46
51
  /**
47
52
  * @typedef DeleteEmailProviderByIdParam
48
- * @property {string} id - Email provider id
53
+ * @property {string} id - Event subscription id
49
54
  */
50
55
  /**
51
56
  * @typedef DeleteEmailTemplateByIdParam
52
- * @property {string} id - Email template id
57
+ * @property {string} id - Event subscription id
53
58
  */
54
59
  /**
55
60
  * @typedef DeleteEventSubscriptionsByIdParam
@@ -57,55 +62,48 @@ export = CommunicationPlatformApplicationValidator;
57
62
  */
58
63
  /**
59
64
  * @typedef DeleteSmsProviderByIdParam
60
- * @property {string} id - Sms provider id
65
+ * @property {string} id - Event subscription id
61
66
  */
62
67
  /**
63
68
  * @typedef DeleteSmsTemplateByIdParam
64
- * @property {string} id - Sms template id
69
+ * @property {string} id - Event subscription id
65
70
  */
66
71
  /**
67
72
  * @typedef EditEventSubscriptionsParam
68
73
  * @property {string} id - Event subscription id
69
- * @property {CommunicationPlatformModel.SubscriptionsObject} body
74
+ * @property {CommunicationPlatformModel.SubscriptionsObjectRequest} body
70
75
  */
71
76
  /** @typedef GetAppProvidersParam */
72
77
  /**
73
78
  * @typedef GetAudienceByIdParam
74
- * @property {string} id - Audience id
79
+ * @property {string} id - Event subscription id
75
80
  */
76
81
  /**
77
82
  * @typedef GetAudiencesParam
78
83
  * @property {number} [pageNo] - Current page no
79
84
  * @property {number} [pageSize] - Current request items count
80
- * @property {Object} [sort] - To sort based on created_at
81
- * @property {Object} [query] - To search based on plain text
82
- */
83
- /**
84
- * @typedef GetBigQueryHeadersByIdParam
85
- * @property {string} id - Audience id
86
- */
87
- /**
88
- * @typedef GetBigQueryRowCountByIdParam
89
- * @property {string} id - Audience id
85
+ * @property {string} [sort] - To sort based on created_at
86
+ * @property {string} [query] - To search based on plain text
90
87
  */
91
88
  /**
92
89
  * @typedef GetCampaignByIdParam
93
- * @property {string} id - Campaign id
90
+ * @property {string} id - Event subscription id
94
91
  */
95
92
  /**
96
93
  * @typedef GetCampaignsParam
97
- * @property {Object} [query] - To search based on plain text
94
+ * @property {string} [query] - To search based on plain text
98
95
  * @property {number} [pageNo] - Current page no
99
96
  * @property {number} [pageSize] - Current request items count
100
- * @property {Object} [sort] - To sort based on created_at
97
+ * @property {string} [sort] - To sort based on created_at
101
98
  */
102
99
  /**
103
100
  * @typedef GetCommunicationLogsParam
104
- * @property {string} [pageId] - Current page no
101
+ * @property {number} [pageNo] - Current page no
105
102
  * @property {number} [pageSize] - Current request items count
106
- * @property {Object} [sort] - To sort based on _id
103
+ * @property {string} [sort] - To sort based on created_at
107
104
  * @property {Object} [query]
108
105
  */
106
+ /** @typedef GetDefaultEmailProvidersParam */
109
107
  /** @typedef GetDefaultSmsProvidersParam */
110
108
  /** @typedef GetDummyDatasourcesParam */
111
109
  /**
@@ -114,25 +112,25 @@ export = CommunicationPlatformApplicationValidator;
114
112
  */
115
113
  /**
116
114
  * @typedef GetEmailProviderByIdParam
117
- * @property {string} id - Email provider id
115
+ * @property {string} id - Event subscription id
118
116
  */
119
117
  /**
120
118
  * @typedef GetEmailProvidersParam
121
119
  * @property {number} [pageNo] - Current page no
122
120
  * @property {number} [pageSize] - Current request items count
123
- * @property {Object} [sort] - To sort based on created_at
124
- * @property {Object} [query] - To search based on plain text
121
+ * @property {string} [sort] - To sort based on created_at
122
+ * @property {string} [query] - To search based on plain text
125
123
  */
126
124
  /**
127
125
  * @typedef GetEmailTemplateByIdParam
128
- * @property {string} id - Email template id
126
+ * @property {string} id - Event subscription id
129
127
  */
130
128
  /**
131
129
  * @typedef GetEmailTemplatesParam
132
130
  * @property {number} [pageNo] - Current page no
133
131
  * @property {number} [pageSize] - Current request items count
134
- * @property {Object} [sort] - To sort based on created_at
135
- * @property {Object} [query] - To search based on plain text
132
+ * @property {string} [sort] - To sort based on created_at
133
+ * @property {string} [query] - To search based on plain text
136
134
  */
137
135
  /**
138
136
  * @typedef GetEventSubscriptionsParam
@@ -142,8 +140,8 @@ export = CommunicationPlatformApplicationValidator;
142
140
  */
143
141
  /**
144
142
  * @typedef GetEventSubscriptionsByIdParam
145
- * @property {string} id - Event subscription id
146
143
  * @property {string} [populate] - Populate Fields
144
+ * @property {string} id - Event subscription id
147
145
  */
148
146
  /** @typedef GetGlobalProvidersParam */
149
147
  /** @typedef GetGlobalVariablesParam */
@@ -151,61 +149,65 @@ export = CommunicationPlatformApplicationValidator;
151
149
  * @typedef GetJobLogsParam
152
150
  * @property {number} [pageNo] - Current page no
153
151
  * @property {number} [pageSize] - Current request items count
154
- * @property {Object} [sort] - To sort based on created_at
155
- * @property {Object} [query] - To search based on plain text
152
+ * @property {string} [sort] - To sort based on created_at
153
+ * @property {string} [query] - To search based on plain text
156
154
  */
157
155
  /**
158
156
  * @typedef GetJobsParam
159
157
  * @property {number} [pageNo] - Current page no
160
158
  * @property {number} [pageSize] - Current request items count
161
- * @property {Object} [sort] - To sort based on created_at
162
- * @property {Object} [query] - To search based on plain text
159
+ * @property {string} [sort] - To sort based on created_at
160
+ * @property {string} [query] - To search based on plain text
163
161
  */
164
162
  /**
165
163
  * @typedef GetNSampleRecordsFromCsvParam
166
164
  * @property {CommunicationPlatformModel.GetNRecordsCsvReq} body
167
165
  */
168
- /** @typedef GetNSampleRecordsFromCsvByGetParam */
166
+ /**
167
+ * @typedef GetNSampleRecordsFromCsvByGetParam
168
+ * @property {number} [count] - Number or records
169
+ * @property {boolean} [header] - Header needed
170
+ * @property {string} [url] - Url of file
171
+ */
169
172
  /** @typedef GetOtpConfigurationParam */
170
173
  /**
171
174
  * @typedef GetSmsProviderByIdParam
172
- * @property {string} id - Sms provider id
175
+ * @property {string} id - Event subscription id
173
176
  */
174
177
  /**
175
178
  * @typedef GetSmsProvidersParam
176
179
  * @property {number} [pageNo] - Current page no
177
180
  * @property {number} [pageSize] - Current request items count
178
- * @property {Object} [sort] - To sort based on created_at
179
- * @property {Object} [query] - To search based on plain text
181
+ * @property {string} [sort] - To sort based on created_at
182
+ * @property {string} [query] - To search based on plain text
180
183
  */
181
184
  /**
182
185
  * @typedef GetSmsTemplateByIdParam
183
- * @property {string} id - Sms template id
186
+ * @property {string} id - Event subscription id
184
187
  */
185
188
  /**
186
189
  * @typedef GetSmsTemplatesParam
187
190
  * @property {number} [pageNo] - Current page no
188
191
  * @property {number} [pageSize] - Current request items count
189
- * @property {Object} [sort] - To sort based on created_at
190
- * @property {Object} [query] - To search based on plain text
192
+ * @property {string} [sort] - To sort based on created_at
193
+ * @property {string} [query] - To search based on plain text
191
194
  */
192
195
  /**
193
196
  * @typedef GetStatsOfCampaignByIdParam
194
- * @property {string} id - Campaign id
197
+ * @property {string} id - Event subscription id
195
198
  */
196
199
  /**
197
200
  * @typedef GetSubscribedEmailTemplatesParam
198
201
  * @property {number} [pageNo] - Current page no
199
202
  * @property {number} [pageSize] - Current request items count
200
- * @property {Object} [query] - To search based on plain text
203
+ * @property {string} [query] - To search based on plain text
201
204
  */
202
205
  /**
203
206
  * @typedef GetSubscribedSmsTemplatesParam
204
207
  * @property {number} [pageNo] - Current page no
205
208
  * @property {number} [pageSize] - Current request items count
206
- * @property {Object} [query] - To search based on plain text
209
+ * @property {string} [query] - To search based on plain text
207
210
  */
208
- /** @typedef GetSystemAudiencesParam */
209
211
  /** @typedef GetSystemEmailTemplatesParam */
210
212
  /** @typedef GetSystemSmsTemplatesParam */
211
213
  /**
@@ -214,53 +216,65 @@ export = CommunicationPlatformApplicationValidator;
214
216
  */
215
217
  /**
216
218
  * @typedef SendCommunicationAsynchronouslyParam
217
- * @property {CommunicationPlatformModel.EnginePayload} body
219
+ * @property {CommunicationPlatformModel.EngineRequest} body
218
220
  */
219
221
  /**
220
222
  * @typedef SendCommunicationSynchronouslyParam
221
- * @property {CommunicationPlatformModel.EnginePayload} body
223
+ * @property {CommunicationPlatformModel.EngineRequest} body
224
+ */
225
+ /**
226
+ * @typedef SendEngineCommunicationSynchronouslyParam
227
+ * @property {CommunicationPlatformModel.EngineRequest} body
222
228
  */
223
229
  /**
224
230
  * @typedef SendOtpParam
231
+ * @property {boolean} [ci] - Common Information
225
232
  * @property {CommunicationPlatformModel.SendOtpCommsReq} body
226
233
  */
227
234
  /**
228
235
  * @typedef TriggerCampaignJobParam
229
- * @property {CommunicationPlatformModel.TriggerJobPayload} body
236
+ * @property {CommunicationPlatformModel.TriggerJobRequest} body
230
237
  */
231
238
  /**
232
239
  * @typedef UpdateAppProvidersParam
233
240
  * @property {CommunicationPlatformModel.AppProviderReq} body
234
241
  */
242
+ /**
243
+ * @typedef UpdateAppProvidersGlobalProviderParam
244
+ * @property {CommunicationPlatformModel.AppProvidersGlobalProviderRequest} body
245
+ */
235
246
  /**
236
247
  * @typedef UpdateAudienceByIdParam
237
- * @property {string} id - Audience id
248
+ * @property {string} id - Event subscription id
238
249
  * @property {CommunicationPlatformModel.AudienceReq} body
239
250
  */
240
251
  /**
241
252
  * @typedef UpdateCampaignByIdParam
242
- * @property {string} id - Campaign id
253
+ * @property {string} id - Event subscription id
243
254
  * @property {CommunicationPlatformModel.CampaignReq} body
244
255
  */
245
256
  /**
246
257
  * @typedef UpdateEmailProviderByIdParam
247
- * @property {string} id - Email provider id
258
+ * @property {string} id - Event subscription id
248
259
  * @property {CommunicationPlatformModel.EmailProviderReq} body
249
260
  */
250
261
  /**
251
262
  * @typedef UpdateEmailTemplateByIdParam
252
- * @property {string} id - Email template id
263
+ * @property {string} id - Event subscription id
253
264
  * @property {CommunicationPlatformModel.EmailTemplateReq} body
254
265
  */
255
- /** @typedef UpdateOtpConfigurationParam */
266
+ /**
267
+ * @typedef UpdateOtpConfigurationParam
268
+ * @property {CommunicationPlatformModel.OtpConfiguration} body
269
+ */
256
270
  /**
257
271
  * @typedef UpdateSmsProviderByIdParam
258
- * @property {string} id - Sms provider id
272
+ * @property {string} id - Event subscription id
259
273
  * @property {CommunicationPlatformModel.SmsProviderReq} body
260
274
  */
261
275
  /**
262
276
  * @typedef UpdateSmsTemplateByIdParam
263
- * @property {string} id - Sms template id
277
+ * @property {string} id - Event subscription id
264
278
  * @property {CommunicationPlatformModel.SmsTemplateReq} body
265
279
  */
266
280
  /**
@@ -268,14 +282,10 @@ export = CommunicationPlatformApplicationValidator;
268
282
  * @property {CommunicationPlatformModel.VerifyOtpCommsReq} body
269
283
  */
270
284
  declare class CommunicationPlatformApplicationValidator {
285
+ /** @returns {CreateAppPushtokenParam} */
286
+ static createAppPushtoken(): CreateAppPushtokenParam;
271
287
  /** @returns {CreateAudienceParam} */
272
288
  static createAudience(): CreateAudienceParam;
273
- /** @returns {CreateBigQueryHeadersParam} */
274
- static createBigQueryHeaders(): any;
275
- /** @returns {CreateBigQueryNCountParam} */
276
- static createBigQueryNCount(): any;
277
- /** @returns {CreateBigQueryRowCountParam} */
278
- static createBigQueryRowCount(): any;
279
289
  /** @returns {CreateCampaignParam} */
280
290
  static createCampaign(): CreateCampaignParam;
281
291
  /** @returns {CreateEmailProviderParam} */
@@ -294,6 +304,8 @@ declare class CommunicationPlatformApplicationValidator {
294
304
  static createSmsTemplate(): CreateSmsTemplateParam;
295
305
  /** @returns {DeleteAudienceByIdParam} */
296
306
  static deleteAudienceById(): DeleteAudienceByIdParam;
307
+ /** @returns {DeleteCampaignByIdParam} */
308
+ static deleteCampaignById(): DeleteCampaignByIdParam;
297
309
  /** @returns {DeleteEmailProviderByIdParam} */
298
310
  static deleteEmailProviderById(): DeleteEmailProviderByIdParam;
299
311
  /** @returns {DeleteEmailTemplateByIdParam} */
@@ -312,16 +324,14 @@ declare class CommunicationPlatformApplicationValidator {
312
324
  static getAudienceById(): GetAudienceByIdParam;
313
325
  /** @returns {GetAudiencesParam} */
314
326
  static getAudiences(): GetAudiencesParam;
315
- /** @returns {GetBigQueryHeadersByIdParam} */
316
- static getBigQueryHeadersById(): GetBigQueryHeadersByIdParam;
317
- /** @returns {GetBigQueryRowCountByIdParam} */
318
- static getBigQueryRowCountById(): GetBigQueryRowCountByIdParam;
319
327
  /** @returns {GetCampaignByIdParam} */
320
328
  static getCampaignById(): GetCampaignByIdParam;
321
329
  /** @returns {GetCampaignsParam} */
322
330
  static getCampaigns(): GetCampaignsParam;
323
331
  /** @returns {GetCommunicationLogsParam} */
324
332
  static getCommunicationLogs(): GetCommunicationLogsParam;
333
+ /** @returns {GetDefaultEmailProvidersParam} */
334
+ static getDefaultEmailProviders(): any;
325
335
  /** @returns {GetDefaultSmsProvidersParam} */
326
336
  static getDefaultSmsProviders(): any;
327
337
  /** @returns {GetDummyDatasourcesParam} */
@@ -351,7 +361,7 @@ declare class CommunicationPlatformApplicationValidator {
351
361
  /** @returns {GetNSampleRecordsFromCsvParam} */
352
362
  static getNSampleRecordsFromCsv(): GetNSampleRecordsFromCsvParam;
353
363
  /** @returns {GetNSampleRecordsFromCsvByGetParam} */
354
- static getNSampleRecordsFromCsvByGet(): any;
364
+ static getNSampleRecordsFromCsvByGet(): GetNSampleRecordsFromCsvByGetParam;
355
365
  /** @returns {GetOtpConfigurationParam} */
356
366
  static getOtpConfiguration(): any;
357
367
  /** @returns {GetSmsProviderByIdParam} */
@@ -368,8 +378,6 @@ declare class CommunicationPlatformApplicationValidator {
368
378
  static getSubscribedEmailTemplates(): GetSubscribedEmailTemplatesParam;
369
379
  /** @returns {GetSubscribedSmsTemplatesParam} */
370
380
  static getSubscribedSmsTemplates(): GetSubscribedSmsTemplatesParam;
371
- /** @returns {GetSystemAudiencesParam} */
372
- static getSystemAudiences(): any;
373
381
  /** @returns {GetSystemEmailTemplatesParam} */
374
382
  static getSystemEmailTemplates(): any;
375
383
  /** @returns {GetSystemSmsTemplatesParam} */
@@ -380,12 +388,16 @@ declare class CommunicationPlatformApplicationValidator {
380
388
  static sendCommunicationAsynchronously(): SendCommunicationAsynchronouslyParam;
381
389
  /** @returns {SendCommunicationSynchronouslyParam} */
382
390
  static sendCommunicationSynchronously(): SendCommunicationSynchronouslyParam;
391
+ /** @returns {SendEngineCommunicationSynchronouslyParam} */
392
+ static sendEngineCommunicationSynchronously(): SendEngineCommunicationSynchronouslyParam;
383
393
  /** @returns {SendOtpParam} */
384
394
  static sendOtp(): SendOtpParam;
385
395
  /** @returns {TriggerCampaignJobParam} */
386
396
  static triggerCampaignJob(): TriggerCampaignJobParam;
387
397
  /** @returns {UpdateAppProvidersParam} */
388
398
  static updateAppProviders(): UpdateAppProvidersParam;
399
+ /** @returns {UpdateAppProvidersGlobalProviderParam} */
400
+ static updateAppProvidersGlobalProvider(): UpdateAppProvidersGlobalProviderParam;
389
401
  /** @returns {UpdateAudienceByIdParam} */
390
402
  static updateAudienceById(): UpdateAudienceByIdParam;
391
403
  /** @returns {UpdateCampaignByIdParam} */
@@ -395,7 +407,7 @@ declare class CommunicationPlatformApplicationValidator {
395
407
  /** @returns {UpdateEmailTemplateByIdParam} */
396
408
  static updateEmailTemplateById(): UpdateEmailTemplateByIdParam;
397
409
  /** @returns {UpdateOtpConfigurationParam} */
398
- static updateOtpConfiguration(): any;
410
+ static updateOtpConfiguration(): UpdateOtpConfigurationParam;
399
411
  /** @returns {UpdateSmsProviderByIdParam} */
400
412
  static updateSmsProviderById(): UpdateSmsProviderByIdParam;
401
413
  /** @returns {UpdateSmsTemplateByIdParam} */
@@ -404,8 +416,11 @@ declare class CommunicationPlatformApplicationValidator {
404
416
  static verfiyOtp(): VerfiyOtpParam;
405
417
  }
406
418
  declare namespace CommunicationPlatformApplicationValidator {
407
- export { CreateAudienceParam, CreateBigQueryHeadersParam, CreateBigQueryNCountParam, CreateBigQueryRowCountParam, CreateCampaignParam, CreateEmailProviderParam, CreateEmailTemplateParam, CreateEventSubscriptionsParam, CreateEventSubscriptionsByBulkParam, CreateJobsParam, CreateSmsProviderParam, CreateSmsTemplateParam, DeleteAudienceByIdParam, DeleteEmailProviderByIdParam, DeleteEmailTemplateByIdParam, DeleteEventSubscriptionsByIdParam, DeleteSmsProviderByIdParam, DeleteSmsTemplateByIdParam, EditEventSubscriptionsParam, GetAppProvidersParam, GetAudienceByIdParam, GetAudiencesParam, GetBigQueryHeadersByIdParam, GetBigQueryRowCountByIdParam, GetCampaignByIdParam, GetCampaignsParam, GetCommunicationLogsParam, GetDefaultSmsProvidersParam, GetDummyDatasourcesParam, GetDummyDatasourcesMetaParam, GetEmailProviderByIdParam, GetEmailProvidersParam, GetEmailTemplateByIdParam, GetEmailTemplatesParam, GetEventSubscriptionsParam, GetEventSubscriptionsByIdParam, GetGlobalProvidersParam, GetGlobalVariablesParam, GetJobLogsParam, GetJobsParam, GetNSampleRecordsFromCsvParam, GetNSampleRecordsFromCsvByGetParam, GetOtpConfigurationParam, GetSmsProviderByIdParam, GetSmsProvidersParam, GetSmsTemplateByIdParam, GetSmsTemplatesParam, GetStatsOfCampaignByIdParam, GetSubscribedEmailTemplatesParam, GetSubscribedSmsTemplatesParam, GetSystemAudiencesParam, GetSystemEmailTemplatesParam, GetSystemSmsTemplatesParam, PostGlobalVariablesParam, SendCommunicationAsynchronouslyParam, SendCommunicationSynchronouslyParam, SendOtpParam, TriggerCampaignJobParam, UpdateAppProvidersParam, UpdateAudienceByIdParam, UpdateCampaignByIdParam, UpdateEmailProviderByIdParam, UpdateEmailTemplateByIdParam, UpdateOtpConfigurationParam, UpdateSmsProviderByIdParam, UpdateSmsTemplateByIdParam, VerfiyOtpParam };
419
+ export { CreateAppPushtokenParam, CreateAudienceParam, CreateCampaignParam, CreateEmailProviderParam, CreateEmailTemplateParam, CreateEventSubscriptionsParam, CreateEventSubscriptionsByBulkParam, CreateJobsParam, CreateSmsProviderParam, CreateSmsTemplateParam, DeleteAudienceByIdParam, DeleteCampaignByIdParam, DeleteEmailProviderByIdParam, DeleteEmailTemplateByIdParam, DeleteEventSubscriptionsByIdParam, DeleteSmsProviderByIdParam, DeleteSmsTemplateByIdParam, EditEventSubscriptionsParam, GetAppProvidersParam, GetAudienceByIdParam, GetAudiencesParam, GetCampaignByIdParam, GetCampaignsParam, GetCommunicationLogsParam, GetDefaultEmailProvidersParam, GetDefaultSmsProvidersParam, GetDummyDatasourcesParam, GetDummyDatasourcesMetaParam, GetEmailProviderByIdParam, GetEmailProvidersParam, GetEmailTemplateByIdParam, GetEmailTemplatesParam, GetEventSubscriptionsParam, GetEventSubscriptionsByIdParam, GetGlobalProvidersParam, GetGlobalVariablesParam, GetJobLogsParam, GetJobsParam, GetNSampleRecordsFromCsvParam, GetNSampleRecordsFromCsvByGetParam, GetOtpConfigurationParam, GetSmsProviderByIdParam, GetSmsProvidersParam, GetSmsTemplateByIdParam, GetSmsTemplatesParam, GetStatsOfCampaignByIdParam, GetSubscribedEmailTemplatesParam, GetSubscribedSmsTemplatesParam, GetSystemEmailTemplatesParam, GetSystemSmsTemplatesParam, PostGlobalVariablesParam, SendCommunicationAsynchronouslyParam, SendCommunicationSynchronouslyParam, SendEngineCommunicationSynchronouslyParam, SendOtpParam, TriggerCampaignJobParam, UpdateAppProvidersParam, UpdateAppProvidersGlobalProviderParam, UpdateAudienceByIdParam, UpdateCampaignByIdParam, UpdateEmailProviderByIdParam, UpdateEmailTemplateByIdParam, UpdateOtpConfigurationParam, UpdateSmsProviderByIdParam, UpdateSmsTemplateByIdParam, VerfiyOtpParam };
408
420
  }
421
+ type CreateAppPushtokenParam = {
422
+ body: CommunicationPlatformModel.PushtokenReq;
423
+ };
409
424
  type CreateAudienceParam = {
410
425
  body: CommunicationPlatformModel.AudienceReq;
411
426
  };
@@ -422,7 +437,7 @@ type CreateEventSubscriptionsParam = {
422
437
  body: CommunicationPlatformModel.SubscriptionsObject;
423
438
  };
424
439
  type CreateEventSubscriptionsByBulkParam = {
425
- body: CommunicationPlatformModel.EventSubscriptionsBulkUpdatePayload;
440
+ body: CommunicationPlatformModel.EventSubscriptionsBulkUpdateRequest;
426
441
  };
427
442
  type CreateJobsParam = {
428
443
  body: CommunicationPlatformModel.CreateJobsReq;
@@ -435,20 +450,26 @@ type CreateSmsTemplateParam = {
435
450
  };
436
451
  type DeleteAudienceByIdParam = {
437
452
  /**
438
- * - Audience id
453
+ * - Event subscription id
439
454
  */
440
455
  id: string;
441
456
  body: CommunicationPlatformModel.AudienceReq;
442
457
  };
458
+ type DeleteCampaignByIdParam = {
459
+ /**
460
+ * - Event subscription id
461
+ */
462
+ id: string;
463
+ };
443
464
  type DeleteEmailProviderByIdParam = {
444
465
  /**
445
- * - Email provider id
466
+ * - Event subscription id
446
467
  */
447
468
  id: string;
448
469
  };
449
470
  type DeleteEmailTemplateByIdParam = {
450
471
  /**
451
- * - Email template id
472
+ * - Event subscription id
452
473
  */
453
474
  id: string;
454
475
  };
@@ -460,13 +481,13 @@ type DeleteEventSubscriptionsByIdParam = {
460
481
  };
461
482
  type DeleteSmsProviderByIdParam = {
462
483
  /**
463
- * - Sms provider id
484
+ * - Event subscription id
464
485
  */
465
486
  id: string;
466
487
  };
467
488
  type DeleteSmsTemplateByIdParam = {
468
489
  /**
469
- * - Sms template id
490
+ * - Event subscription id
470
491
  */
471
492
  id: string;
472
493
  };
@@ -475,11 +496,11 @@ type EditEventSubscriptionsParam = {
475
496
  * - Event subscription id
476
497
  */
477
498
  id: string;
478
- body: CommunicationPlatformModel.SubscriptionsObject;
499
+ body: CommunicationPlatformModel.SubscriptionsObjectRequest;
479
500
  };
480
501
  type GetAudienceByIdParam = {
481
502
  /**
482
- * - Audience id
503
+ * - Event subscription id
483
504
  */
484
505
  id: string;
485
506
  };
@@ -495,27 +516,15 @@ type GetAudiencesParam = {
495
516
  /**
496
517
  * - To sort based on created_at
497
518
  */
498
- sort?: any;
519
+ sort?: string;
499
520
  /**
500
521
  * - To search based on plain text
501
522
  */
502
- query?: any;
503
- };
504
- type GetBigQueryHeadersByIdParam = {
505
- /**
506
- * - Audience id
507
- */
508
- id: string;
509
- };
510
- type GetBigQueryRowCountByIdParam = {
511
- /**
512
- * - Audience id
513
- */
514
- id: string;
523
+ query?: string;
515
524
  };
516
525
  type GetCampaignByIdParam = {
517
526
  /**
518
- * - Campaign id
527
+ * - Event subscription id
519
528
  */
520
529
  id: string;
521
530
  };
@@ -523,7 +532,7 @@ type GetCampaignsParam = {
523
532
  /**
524
533
  * - To search based on plain text
525
534
  */
526
- query?: any;
535
+ query?: string;
527
536
  /**
528
537
  * - Current page no
529
538
  */
@@ -535,21 +544,21 @@ type GetCampaignsParam = {
535
544
  /**
536
545
  * - To sort based on created_at
537
546
  */
538
- sort?: any;
547
+ sort?: string;
539
548
  };
540
549
  type GetCommunicationLogsParam = {
541
550
  /**
542
551
  * - Current page no
543
552
  */
544
- pageId?: string;
553
+ pageNo?: number;
545
554
  /**
546
555
  * - Current request items count
547
556
  */
548
557
  pageSize?: number;
549
558
  /**
550
- * - To sort based on _id
559
+ * - To sort based on created_at
551
560
  */
552
- sort?: any;
561
+ sort?: string;
553
562
  query?: any;
554
563
  };
555
564
  type GetDummyDatasourcesMetaParam = {
@@ -560,7 +569,7 @@ type GetDummyDatasourcesMetaParam = {
560
569
  };
561
570
  type GetEmailProviderByIdParam = {
562
571
  /**
563
- * - Email provider id
572
+ * - Event subscription id
564
573
  */
565
574
  id: string;
566
575
  };
@@ -576,15 +585,15 @@ type GetEmailProvidersParam = {
576
585
  /**
577
586
  * - To sort based on created_at
578
587
  */
579
- sort?: any;
588
+ sort?: string;
580
589
  /**
581
590
  * - To search based on plain text
582
591
  */
583
- query?: any;
592
+ query?: string;
584
593
  };
585
594
  type GetEmailTemplateByIdParam = {
586
595
  /**
587
- * - Email template id
596
+ * - Event subscription id
588
597
  */
589
598
  id: string;
590
599
  };
@@ -600,11 +609,11 @@ type GetEmailTemplatesParam = {
600
609
  /**
601
610
  * - To sort based on created_at
602
611
  */
603
- sort?: any;
612
+ sort?: string;
604
613
  /**
605
614
  * - To search based on plain text
606
615
  */
607
- query?: any;
616
+ query?: string;
608
617
  };
609
618
  type GetEventSubscriptionsParam = {
610
619
  /**
@@ -621,14 +630,14 @@ type GetEventSubscriptionsParam = {
621
630
  populate?: string;
622
631
  };
623
632
  type GetEventSubscriptionsByIdParam = {
624
- /**
625
- * - Event subscription id
626
- */
627
- id: string;
628
633
  /**
629
634
  * - Populate Fields
630
635
  */
631
636
  populate?: string;
637
+ /**
638
+ * - Event subscription id
639
+ */
640
+ id: string;
632
641
  };
633
642
  type GetJobLogsParam = {
634
643
  /**
@@ -642,11 +651,11 @@ type GetJobLogsParam = {
642
651
  /**
643
652
  * - To sort based on created_at
644
653
  */
645
- sort?: any;
654
+ sort?: string;
646
655
  /**
647
656
  * - To search based on plain text
648
657
  */
649
- query?: any;
658
+ query?: string;
650
659
  };
651
660
  type GetJobsParam = {
652
661
  /**
@@ -660,18 +669,32 @@ type GetJobsParam = {
660
669
  /**
661
670
  * - To sort based on created_at
662
671
  */
663
- sort?: any;
672
+ sort?: string;
664
673
  /**
665
674
  * - To search based on plain text
666
675
  */
667
- query?: any;
676
+ query?: string;
668
677
  };
669
678
  type GetNSampleRecordsFromCsvParam = {
670
679
  body: CommunicationPlatformModel.GetNRecordsCsvReq;
671
680
  };
681
+ type GetNSampleRecordsFromCsvByGetParam = {
682
+ /**
683
+ * - Number or records
684
+ */
685
+ count?: number;
686
+ /**
687
+ * - Header needed
688
+ */
689
+ header?: boolean;
690
+ /**
691
+ * - Url of file
692
+ */
693
+ url?: string;
694
+ };
672
695
  type GetSmsProviderByIdParam = {
673
696
  /**
674
- * - Sms provider id
697
+ * - Event subscription id
675
698
  */
676
699
  id: string;
677
700
  };
@@ -687,15 +710,15 @@ type GetSmsProvidersParam = {
687
710
  /**
688
711
  * - To sort based on created_at
689
712
  */
690
- sort?: any;
713
+ sort?: string;
691
714
  /**
692
715
  * - To search based on plain text
693
716
  */
694
- query?: any;
717
+ query?: string;
695
718
  };
696
719
  type GetSmsTemplateByIdParam = {
697
720
  /**
698
- * - Sms template id
721
+ * - Event subscription id
699
722
  */
700
723
  id: string;
701
724
  };
@@ -711,15 +734,15 @@ type GetSmsTemplatesParam = {
711
734
  /**
712
735
  * - To sort based on created_at
713
736
  */
714
- sort?: any;
737
+ sort?: string;
715
738
  /**
716
739
  * - To search based on plain text
717
740
  */
718
- query?: any;
741
+ query?: string;
719
742
  };
720
743
  type GetStatsOfCampaignByIdParam = {
721
744
  /**
722
- * - Campaign id
745
+ * - Event subscription id
723
746
  */
724
747
  id: string;
725
748
  };
@@ -735,7 +758,7 @@ type GetSubscribedEmailTemplatesParam = {
735
758
  /**
736
759
  * - To search based on plain text
737
760
  */
738
- query?: any;
761
+ query?: string;
739
762
  };
740
763
  type GetSubscribedSmsTemplatesParam = {
741
764
  /**
@@ -749,64 +772,77 @@ type GetSubscribedSmsTemplatesParam = {
749
772
  /**
750
773
  * - To search based on plain text
751
774
  */
752
- query?: any;
775
+ query?: string;
753
776
  };
754
777
  type PostGlobalVariablesParam = {
755
778
  body: CommunicationPlatformModel.GlobalVariablesReq;
756
779
  };
757
780
  type SendCommunicationAsynchronouslyParam = {
758
- body: CommunicationPlatformModel.EnginePayload;
781
+ body: CommunicationPlatformModel.EngineRequest;
759
782
  };
760
783
  type SendCommunicationSynchronouslyParam = {
761
- body: CommunicationPlatformModel.EnginePayload;
784
+ body: CommunicationPlatformModel.EngineRequest;
785
+ };
786
+ type SendEngineCommunicationSynchronouslyParam = {
787
+ body: CommunicationPlatformModel.EngineRequest;
762
788
  };
763
789
  type SendOtpParam = {
790
+ /**
791
+ * - Common Information
792
+ */
793
+ ci?: boolean;
764
794
  body: CommunicationPlatformModel.SendOtpCommsReq;
765
795
  };
766
796
  type TriggerCampaignJobParam = {
767
- body: CommunicationPlatformModel.TriggerJobPayload;
797
+ body: CommunicationPlatformModel.TriggerJobRequest;
768
798
  };
769
799
  type UpdateAppProvidersParam = {
770
800
  body: CommunicationPlatformModel.AppProviderReq;
771
801
  };
802
+ type UpdateAppProvidersGlobalProviderParam = {
803
+ body: CommunicationPlatformModel.AppProvidersGlobalProviderRequest;
804
+ };
772
805
  type UpdateAudienceByIdParam = {
773
806
  /**
774
- * - Audience id
807
+ * - Event subscription id
775
808
  */
776
809
  id: string;
777
810
  body: CommunicationPlatformModel.AudienceReq;
778
811
  };
779
812
  type UpdateCampaignByIdParam = {
780
813
  /**
781
- * - Campaign id
814
+ * - Event subscription id
782
815
  */
783
816
  id: string;
784
817
  body: CommunicationPlatformModel.CampaignReq;
785
818
  };
786
819
  type UpdateEmailProviderByIdParam = {
787
820
  /**
788
- * - Email provider id
821
+ * - Event subscription id
789
822
  */
790
823
  id: string;
791
824
  body: CommunicationPlatformModel.EmailProviderReq;
792
825
  };
793
826
  type UpdateEmailTemplateByIdParam = {
794
827
  /**
795
- * - Email template id
828
+ * - Event subscription id
796
829
  */
797
830
  id: string;
798
831
  body: CommunicationPlatformModel.EmailTemplateReq;
799
832
  };
833
+ type UpdateOtpConfigurationParam = {
834
+ body: CommunicationPlatformModel.OtpConfiguration;
835
+ };
800
836
  type UpdateSmsProviderByIdParam = {
801
837
  /**
802
- * - Sms provider id
838
+ * - Event subscription id
803
839
  */
804
840
  id: string;
805
841
  body: CommunicationPlatformModel.SmsProviderReq;
806
842
  };
807
843
  type UpdateSmsTemplateByIdParam = {
808
844
  /**
809
- * - Sms template id
845
+ * - Event subscription id
810
846
  */
811
847
  id: string;
812
848
  body: CommunicationPlatformModel.SmsTemplateReq;
@@ -814,18 +850,13 @@ type UpdateSmsTemplateByIdParam = {
814
850
  type VerfiyOtpParam = {
815
851
  body: CommunicationPlatformModel.VerifyOtpCommsReq;
816
852
  };
817
- type CreateBigQueryHeadersParam = any;
818
- type CreateBigQueryNCountParam = any;
819
- type CreateBigQueryRowCountParam = any;
820
853
  type GetAppProvidersParam = any;
854
+ type GetDefaultEmailProvidersParam = any;
821
855
  type GetDefaultSmsProvidersParam = any;
822
856
  type GetDummyDatasourcesParam = any;
823
857
  type GetGlobalProvidersParam = any;
824
858
  type GetGlobalVariablesParam = any;
825
- type GetNSampleRecordsFromCsvByGetParam = any;
826
859
  type GetOtpConfigurationParam = any;
827
- type GetSystemAudiencesParam = any;
828
860
  type GetSystemEmailTemplatesParam = any;
829
861
  type GetSystemSmsTemplatesParam = any;
830
- type UpdateOtpConfigurationParam = any;
831
862
  import CommunicationPlatformModel = require("./CommunicationPlatformModel");