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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/README.md +2 -2
  2. package/application.d.ts +1 -2
  3. package/application.js +2 -3
  4. package/index.d.ts +1 -2
  5. package/index.js +7 -1
  6. package/package.json +2 -3
  7. package/sdk/application/ApplicationClient.d.ts +2 -0
  8. package/sdk/application/ApplicationClient.js +2 -18
  9. package/sdk/application/Cart/CartApplicationClient.d.ts +75 -90
  10. package/sdk/application/Cart/CartApplicationClient.js +111 -1200
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +81 -142
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +41 -1344
  13. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
  14. package/sdk/application/Common/CommonApplicationClient.js +2 -92
  15. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
  16. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -148
  17. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
  18. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -727
  19. package/sdk/application/Content/ContentApplicationClient.d.ts +52 -95
  20. package/sdk/application/Content/ContentApplicationClient.js +46 -990
  21. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -13
  22. package/sdk/application/FileStorage/FileStorageApplicationClient.js +8 -138
  23. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  24. package/sdk/application/Finance/FinanceApplicationClient.js +105 -0
  25. package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
  26. package/sdk/application/Lead/LeadApplicationClient.js +5 -217
  27. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +42 -39
  28. package/sdk/application/Logistic/LogisticApplicationClient.js +89 -493
  29. package/sdk/application/Order/OrderApplicationClient.d.ts +36 -46
  30. package/sdk/application/Order/OrderApplicationClient.js +52 -507
  31. package/sdk/application/Payment/PaymentApplicationClient.d.ts +93 -213
  32. package/sdk/application/Payment/PaymentApplicationClient.js +49 -2109
  33. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -29
  34. package/sdk/application/Rewards/RewardsApplicationClient.js +8 -312
  35. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
  36. package/sdk/application/Share/ShareApplicationClient.js +7 -309
  37. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
  38. package/sdk/application/Theme/ThemeApplicationClient.js +8 -176
  39. package/sdk/application/User/UserApplicationClient.d.ts +87 -138
  40. package/sdk/application/User/UserApplicationClient.js +44 -1820
  41. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
  42. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -52
  43. package/sdk/application/index.d.ts +0 -18
  44. package/sdk/application/index.js +0 -33
  45. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  51. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  52. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  53. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  54. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  55. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  56. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  57. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
  58. package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
  59. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  60. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
  61. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  62. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  63. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  64. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  65. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  66. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  67. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  68. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  69. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  70. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  71. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  72. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  73. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  74. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  75. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  76. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  77. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  78. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  79. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  80. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  82. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  83. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  84. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  85. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  86. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  87. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  88. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  89. package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
  90. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +118 -65
  91. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
  92. package/sdk/platform/Cart/CartPlatformModel.d.ts +5046 -1300
  93. package/sdk/platform/Cart/CartPlatformModel.js +1979 -1217
  94. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
  95. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
  97. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
  98. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
  99. package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
  100. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6506 -1775
  101. package/sdk/platform/Catalog/CatalogPlatformModel.js +3224 -1690
  102. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
  103. package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
  104. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  105. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  106. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  107. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  112. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  113. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  114. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  120. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  121. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  124. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  125. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  126. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  127. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  128. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  129. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  130. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  131. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  132. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  133. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  134. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  135. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  136. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  137. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  138. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  139. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  140. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  141. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  142. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  143. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  144. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  145. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  149. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  150. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  151. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  152. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  153. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  154. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  155. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  156. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  157. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  158. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  159. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  160. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
  161. package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
  162. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
  163. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
  164. package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
  165. package/sdk/platform/Order/OrderPlatformClient.js +416 -198
  166. package/sdk/platform/Order/OrderPlatformModel.d.ts +7602 -1269
  167. package/sdk/platform/Order/OrderPlatformModel.js +3926 -1269
  168. package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
  169. package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
  170. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  171. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  172. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  173. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  174. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  175. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  176. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  177. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  178. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  179. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  180. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
  181. package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
  182. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  183. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  184. package/sdk/platform/PlatformClient.d.ts +0 -2
  185. package/sdk/platform/PlatformClient.js +0 -4
  186. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  187. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  188. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  189. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  190. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  191. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +46 -36
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1842 -609
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +886 -554
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
  202. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  203. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  204. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  205. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  206. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  208. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  210. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  211. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  212. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  213. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  214. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  215. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  216. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  217. package/sdk/platform/User/UserPlatformModel.js +23 -23
  218. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  219. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  220. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  221. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  222. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  223. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  224. package/sdk/platform/index.d.ts +0 -1
  225. package/sdk/platform/index.js +0 -2
  226. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  227. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -7
  228. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  229. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  230. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  231. package/sdk/public/Content/ContentPublicClient.js +795 -7
  232. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  233. package/sdk/public/Content/ContentPublicModel.js +649 -3
  234. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  235. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  236. package/sdk/public/Partner/PartnerPublicClient.js +4 -2
  237. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  238. package/sdk/public/Webhook/WebhookPublicClient.js +12 -10
  239. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  240. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  241. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  242. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  243. package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
  244. package/sdk/application/Cart/CartApplicationModel.js +0 -2497
  245. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
  246. package/sdk/application/Cart/CartApplicationValidator.js +0 -530
  247. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
  248. package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
  249. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
  250. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
  251. package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
  252. package/sdk/application/Common/CommonApplicationModel.js +0 -308
  253. package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
  254. package/sdk/application/Common/CommonApplicationValidator.js +0 -38
  255. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
  256. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
  257. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
  258. package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
  259. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
  260. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
  261. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
  262. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
  263. package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
  264. package/sdk/application/Content/ContentApplicationModel.js +0 -1589
  265. package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
  266. package/sdk/application/Content/ContentApplicationValidator.js +0 -264
  267. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
  268. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
  269. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
  270. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
  271. package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
  272. package/sdk/application/Lead/LeadApplicationModel.js +0 -480
  273. package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
  274. package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
  275. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
  276. package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
  277. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
  278. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
  279. package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
  280. package/sdk/application/Order/OrderApplicationModel.js +0 -1471
  281. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
  282. package/sdk/application/Order/OrderApplicationValidator.js +0 -197
  283. package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
  284. package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
  285. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
  286. package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
  287. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
  288. package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
  289. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
  290. package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
  291. package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
  292. package/sdk/application/Share/ShareApplicationModel.js +0 -234
  293. package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
  294. package/sdk/application/Share/ShareApplicationValidator.js +0 -91
  295. package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
  296. package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
  297. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
  298. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
  299. package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
  300. package/sdk/application/User/UserApplicationModel.js +0 -1382
  301. package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
  302. package/sdk/application/User/UserApplicationValidator.js +0 -573
  303. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
  304. package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
  305. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
  306. package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
  307. package/sdk/common/Clickstream.d.ts +0 -1
  308. package/sdk/common/Clickstream.js +0 -464
  309. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  310. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  311. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  312. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  313. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  314. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -93,14 +93,14 @@ declare class Communication {
93
93
  *
94
94
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
95
95
  * @param {import("../PlatformAPIClient").Options} - Options
96
- * @returns {Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse>}
96
+ * @returns {Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResult>}
97
97
  * - Success response
98
98
  *
99
99
  * @name createEventSubscriptions
100
100
  * @summary: Create an event subscription
101
101
  * @description: Creates a new event subscription. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/createEventSubscriptions/).
102
102
  */
103
- createEventSubscriptions({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.CreateEventSubscriptionsParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse>;
103
+ createEventSubscriptions({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.CreateEventSubscriptionsParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResult>;
104
104
  /**
105
105
  * @param {CommunicationPlatformApplicationValidator.CreateEventSubscriptionsByBulkParam} arg
106
106
  * - Arg object
@@ -108,7 +108,7 @@ declare class Communication {
108
108
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
109
109
  * @param {import("../PlatformAPIClient").Options} - Options
110
110
  * @returns {Promise<
111
- * CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse[]
111
+ * CommunicationPlatformModel.EventSubscriptionsBulkUpdateResult[]
112
112
  * >}
113
113
  * - Success response
114
114
  *
@@ -116,7 +116,7 @@ declare class Communication {
116
116
  * @summary: Create event subscriptions in bulk
117
117
  * @description: Creates a new event subscription in bulk. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/createEventSubscriptionsByBulk/).
118
118
  */
119
- createEventSubscriptionsByBulk({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.CreateEventSubscriptionsByBulkParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse[]>;
119
+ createEventSubscriptionsByBulk({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.CreateEventSubscriptionsByBulkParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResult[]>;
120
120
  /**
121
121
  * @param {CommunicationPlatformApplicationValidator.CreateJobsParam} arg - Arg object
122
122
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -229,14 +229,14 @@ declare class Communication {
229
229
  *
230
230
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
231
231
  * @param {import("../PlatformAPIClient").Options} - Options
232
- * @returns {Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse>}
232
+ * @returns {Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResult>}
233
233
  * - Success response
234
234
  *
235
235
  * @name editEventSubscriptions
236
236
  * @summary: Update an event subscriptions
237
237
  * @description: Modifys the configuration and settings of a specific event subscription. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/editEventSubscriptions/).
238
238
  */
239
- editEventSubscriptions({ id, body, requestHeaders }?: CommunicationPlatformApplicationValidator.EditEventSubscriptionsParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse>;
239
+ editEventSubscriptions({ id, body, requestHeaders }?: CommunicationPlatformApplicationValidator.EditEventSubscriptionsParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResult>;
240
240
  /**
241
241
  * @param {CommunicationPlatformApplicationValidator.GetAppProvidersParam} arg
242
242
  * - Arg object
@@ -463,14 +463,14 @@ declare class Communication {
463
463
  *
464
464
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
465
465
  * @param {import("../PlatformAPIClient").Options} - Options
466
- * @returns {Promise<CommunicationPlatformModel.GlobalVariablesGetResponse>}
466
+ * @returns {Promise<CommunicationPlatformModel.GetGlobalVariablesResult>}
467
467
  * - Success response
468
468
  *
469
469
  * @name getGlobalVariables
470
470
  * @summary: Get all global variables
471
471
  * @description: Retrieves a list of communication global variables. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/getGlobalVariables/).
472
472
  */
473
- getGlobalVariables({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CommunicationPlatformModel.GlobalVariablesGetResponse>;
473
+ getGlobalVariables({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CommunicationPlatformModel.GetGlobalVariablesResult>;
474
474
  /**
475
475
  * @param {CommunicationPlatformApplicationValidator.GetJobLogsParam} arg - Arg object
476
476
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -655,38 +655,38 @@ declare class Communication {
655
655
  *
656
656
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
657
657
  * @param {import("../PlatformAPIClient").Options} - Options
658
- * @returns {Promise<CommunicationPlatformModel.GlobalVariablesPostResponse>}
658
+ * @returns {Promise<CommunicationPlatformModel.CreateGlobalVariablesResult>}
659
659
  * - Success response
660
660
  *
661
661
  * @name postGlobalVariables
662
662
  * @summary: Create global variables
663
663
  * @description: Updates and creates communication global variables. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/postGlobalVariables/).
664
664
  */
665
- postGlobalVariables({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.PostGlobalVariablesParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.GlobalVariablesPostResponse>;
665
+ postGlobalVariables({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.PostGlobalVariablesParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.CreateGlobalVariablesResult>;
666
666
  /**
667
667
  * @param {CommunicationPlatformApplicationValidator.SendCommunicationAsynchronouslyParam} arg
668
668
  * - Arg object
669
669
  *
670
670
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
671
671
  * @param {import("../PlatformAPIClient").Options} - Options
672
- * @returns {Promise<CommunicationPlatformModel.EngineResponse>} - Success response
672
+ * @returns {Promise<CommunicationPlatformModel.EngineResult>} - Success response
673
673
  * @name sendCommunicationAsynchronously
674
674
  * @summary: Send communication asynchronously
675
675
  * @description: Sends communications to sellers with deffered delivery. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/sendCommunicationAsynchronously/).
676
676
  */
677
- sendCommunicationAsynchronously({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.SendCommunicationAsynchronouslyParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EngineResponse>;
677
+ sendCommunicationAsynchronously({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.SendCommunicationAsynchronouslyParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EngineResult>;
678
678
  /**
679
679
  * @param {CommunicationPlatformApplicationValidator.SendCommunicationSynchronouslyParam} arg
680
680
  * - Arg object
681
681
  *
682
682
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
683
683
  * @param {import("../PlatformAPIClient").Options} - Options
684
- * @returns {Promise<CommunicationPlatformModel.EngineResponse>} - Success response
684
+ * @returns {Promise<CommunicationPlatformModel.EngineResult>} - Success response
685
685
  * @name sendCommunicationSynchronously
686
686
  * @summary: Send communication synchronously
687
687
  * @description: Sends real-time communications to sellers with immediate delivery. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/sendCommunicationSynchronously/).
688
688
  */
689
- sendCommunicationSynchronously({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.SendCommunicationSynchronouslyParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EngineResponse>;
689
+ sendCommunicationSynchronously({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.SendCommunicationSynchronouslyParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EngineResult>;
690
690
  /**
691
691
  * @param {CommunicationPlatformApplicationValidator.SendOtpParam} arg - Arg object
692
692
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -703,13 +703,12 @@ declare class Communication {
703
703
  *
704
704
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
705
705
  * @param {import("../PlatformAPIClient").Options} - Options
706
- * @returns {Promise<CommunicationPlatformModel.TriggerJobResponse>} -
707
- * Success response
706
+ * @returns {Promise<CommunicationPlatformModel.TriggerJobResult>} - Success response
708
707
  * @name triggerCampaignJob
709
708
  * @summary: Trigger a campaign job
710
709
  * @description: Initiates a job to execute a communication campaign. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/triggerCampaignJob/).
711
710
  */
712
- triggerCampaignJob({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.TriggerCampaignJobParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.TriggerJobResponse>;
711
+ triggerCampaignJob({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.TriggerCampaignJobParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.TriggerJobResult>;
713
712
  /**
714
713
  * @param {CommunicationPlatformApplicationValidator.UpdateAppProvidersParam} arg
715
714
  * - Arg object
@@ -570,7 +570,7 @@ class Communication {
570
570
  *
571
571
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
572
572
  * @param {import("../PlatformAPIClient").Options} - Options
573
- * @returns {Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse>}
573
+ * @returns {Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResult>}
574
574
  * - Success response
575
575
  *
576
576
  * @name createEventSubscriptions
@@ -628,7 +628,7 @@ class Communication {
628
628
 
629
629
  const {
630
630
  error: res_error,
631
- } = CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse().validate(
631
+ } = CommunicationPlatformModel.EventSubscriptionsBulkUpdateResult().validate(
632
632
  responseData,
633
633
  { abortEarly: false, allowUnknown: true }
634
634
  );
@@ -654,7 +654,7 @@ class Communication {
654
654
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
655
655
  * @param {import("../PlatformAPIClient").Options} - Options
656
656
  * @returns {Promise<
657
- * CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse[]
657
+ * CommunicationPlatformModel.EventSubscriptionsBulkUpdateResult[]
658
658
  * >}
659
659
  * - Success response
660
660
  *
@@ -712,7 +712,7 @@ class Communication {
712
712
  }
713
713
 
714
714
  const { error: res_error } = Joi.array()
715
- .items(CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse())
715
+ .items(CommunicationPlatformModel.EventSubscriptionsBulkUpdateResult())
716
716
  .validate(responseData, { abortEarly: false, allowUnknown: true });
717
717
 
718
718
  if (res_error) {
@@ -1462,7 +1462,7 @@ class Communication {
1462
1462
  *
1463
1463
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1464
1464
  * @param {import("../PlatformAPIClient").Options} - Options
1465
- * @returns {Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse>}
1465
+ * @returns {Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResult>}
1466
1466
  * - Success response
1467
1467
  *
1468
1468
  * @name editEventSubscriptions
@@ -1522,7 +1522,7 @@ class Communication {
1522
1522
 
1523
1523
  const {
1524
1524
  error: res_error,
1525
- } = CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse().validate(
1525
+ } = CommunicationPlatformModel.EventSubscriptionsBulkUpdateResult().validate(
1526
1526
  responseData,
1527
1527
  { abortEarly: false, allowUnknown: true }
1528
1528
  );
@@ -3043,7 +3043,7 @@ class Communication {
3043
3043
  *
3044
3044
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
3045
3045
  * @param {import("../PlatformAPIClient").Options} - Options
3046
- * @returns {Promise<CommunicationPlatformModel.GlobalVariablesGetResponse>}
3046
+ * @returns {Promise<CommunicationPlatformModel.GetGlobalVariablesResult>}
3047
3047
  * - Success response
3048
3048
  *
3049
3049
  * @name getGlobalVariables
@@ -3097,7 +3097,7 @@ class Communication {
3097
3097
 
3098
3098
  const {
3099
3099
  error: res_error,
3100
- } = CommunicationPlatformModel.GlobalVariablesGetResponse().validate(
3100
+ } = CommunicationPlatformModel.GetGlobalVariablesResult().validate(
3101
3101
  responseData,
3102
3102
  { abortEarly: false, allowUnknown: true }
3103
3103
  );
@@ -4360,7 +4360,7 @@ class Communication {
4360
4360
  *
4361
4361
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
4362
4362
  * @param {import("../PlatformAPIClient").Options} - Options
4363
- * @returns {Promise<CommunicationPlatformModel.GlobalVariablesPostResponse>}
4363
+ * @returns {Promise<CommunicationPlatformModel.CreateGlobalVariablesResult>}
4364
4364
  * - Success response
4365
4365
  *
4366
4366
  * @name postGlobalVariables
@@ -4418,7 +4418,7 @@ class Communication {
4418
4418
 
4419
4419
  const {
4420
4420
  error: res_error,
4421
- } = CommunicationPlatformModel.GlobalVariablesPostResponse().validate(
4421
+ } = CommunicationPlatformModel.CreateGlobalVariablesResult().validate(
4422
4422
  responseData,
4423
4423
  { abortEarly: false, allowUnknown: true }
4424
4424
  );
@@ -4443,7 +4443,7 @@ class Communication {
4443
4443
  *
4444
4444
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
4445
4445
  * @param {import("../PlatformAPIClient").Options} - Options
4446
- * @returns {Promise<CommunicationPlatformModel.EngineResponse>} - Success response
4446
+ * @returns {Promise<CommunicationPlatformModel.EngineResult>} - Success response
4447
4447
  * @name sendCommunicationAsynchronously
4448
4448
  * @summary: Send communication asynchronously
4449
4449
  * @description: Sends communications to sellers with deffered delivery. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/sendCommunicationAsynchronously/).
@@ -4499,7 +4499,7 @@ class Communication {
4499
4499
 
4500
4500
  const {
4501
4501
  error: res_error,
4502
- } = CommunicationPlatformModel.EngineResponse().validate(responseData, {
4502
+ } = CommunicationPlatformModel.EngineResult().validate(responseData, {
4503
4503
  abortEarly: false,
4504
4504
  allowUnknown: true,
4505
4505
  });
@@ -4524,7 +4524,7 @@ class Communication {
4524
4524
  *
4525
4525
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
4526
4526
  * @param {import("../PlatformAPIClient").Options} - Options
4527
- * @returns {Promise<CommunicationPlatformModel.EngineResponse>} - Success response
4527
+ * @returns {Promise<CommunicationPlatformModel.EngineResult>} - Success response
4528
4528
  * @name sendCommunicationSynchronously
4529
4529
  * @summary: Send communication synchronously
4530
4530
  * @description: Sends real-time communications to sellers with immediate delivery. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/sendCommunicationSynchronously/).
@@ -4580,7 +4580,7 @@ class Communication {
4580
4580
 
4581
4581
  const {
4582
4582
  error: res_error,
4583
- } = CommunicationPlatformModel.EngineResponse().validate(responseData, {
4583
+ } = CommunicationPlatformModel.EngineResult().validate(responseData, {
4584
4584
  abortEarly: false,
4585
4585
  allowUnknown: true,
4586
4586
  });
@@ -4684,8 +4684,7 @@ class Communication {
4684
4684
  *
4685
4685
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
4686
4686
  * @param {import("../PlatformAPIClient").Options} - Options
4687
- * @returns {Promise<CommunicationPlatformModel.TriggerJobResponse>} -
4688
- * Success response
4687
+ * @returns {Promise<CommunicationPlatformModel.TriggerJobResult>} - Success response
4689
4688
  * @name triggerCampaignJob
4690
4689
  * @summary: Trigger a campaign job
4691
4690
  * @description: Initiates a job to execute a communication campaign. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/triggerCampaignJob/).
@@ -4741,7 +4740,7 @@ class Communication {
4741
4740
 
4742
4741
  const {
4743
4742
  error: res_error,
4744
- } = CommunicationPlatformModel.TriggerJobResponse().validate(responseData, {
4743
+ } = CommunicationPlatformModel.TriggerJobResult().validate(responseData, {
4745
4744
  abortEarly: false,
4746
4745
  allowUnknown: true,
4747
4746
  });
@@ -24,7 +24,7 @@ export = CommunicationPlatformApplicationValidator;
24
24
  */
25
25
  /**
26
26
  * @typedef CreateEventSubscriptionsByBulkParam
27
- * @property {CommunicationPlatformModel.EventSubscriptionsBulkUpdateRequest} body
27
+ * @property {CommunicationPlatformModel.EventSubscriptionsBulkUpdatePayload} body
28
28
  */
29
29
  /**
30
30
  * @typedef CreateJobsParam
@@ -214,11 +214,11 @@ export = CommunicationPlatformApplicationValidator;
214
214
  */
215
215
  /**
216
216
  * @typedef SendCommunicationAsynchronouslyParam
217
- * @property {CommunicationPlatformModel.EngineRequest} body
217
+ * @property {CommunicationPlatformModel.EnginePayload} body
218
218
  */
219
219
  /**
220
220
  * @typedef SendCommunicationSynchronouslyParam
221
- * @property {CommunicationPlatformModel.EngineRequest} body
221
+ * @property {CommunicationPlatformModel.EnginePayload} body
222
222
  */
223
223
  /**
224
224
  * @typedef SendOtpParam
@@ -226,7 +226,7 @@ export = CommunicationPlatformApplicationValidator;
226
226
  */
227
227
  /**
228
228
  * @typedef TriggerCampaignJobParam
229
- * @property {CommunicationPlatformModel.TriggerJobRequest} body
229
+ * @property {CommunicationPlatformModel.TriggerJobPayload} body
230
230
  */
231
231
  /**
232
232
  * @typedef UpdateAppProvidersParam
@@ -422,7 +422,7 @@ type CreateEventSubscriptionsParam = {
422
422
  body: CommunicationPlatformModel.SubscriptionsObject;
423
423
  };
424
424
  type CreateEventSubscriptionsByBulkParam = {
425
- body: CommunicationPlatformModel.EventSubscriptionsBulkUpdateRequest;
425
+ body: CommunicationPlatformModel.EventSubscriptionsBulkUpdatePayload;
426
426
  };
427
427
  type CreateJobsParam = {
428
428
  body: CommunicationPlatformModel.CreateJobsReq;
@@ -755,16 +755,16 @@ type PostGlobalVariablesParam = {
755
755
  body: CommunicationPlatformModel.GlobalVariablesReq;
756
756
  };
757
757
  type SendCommunicationAsynchronouslyParam = {
758
- body: CommunicationPlatformModel.EngineRequest;
758
+ body: CommunicationPlatformModel.EnginePayload;
759
759
  };
760
760
  type SendCommunicationSynchronouslyParam = {
761
- body: CommunicationPlatformModel.EngineRequest;
761
+ body: CommunicationPlatformModel.EnginePayload;
762
762
  };
763
763
  type SendOtpParam = {
764
764
  body: CommunicationPlatformModel.SendOtpCommsReq;
765
765
  };
766
766
  type TriggerCampaignJobParam = {
767
- body: CommunicationPlatformModel.TriggerJobRequest;
767
+ body: CommunicationPlatformModel.TriggerJobPayload;
768
768
  };
769
769
  type UpdateAppProvidersParam = {
770
770
  body: CommunicationPlatformModel.AppProviderReq;
@@ -35,7 +35,7 @@ const CommunicationPlatformModel = require("./CommunicationPlatformModel");
35
35
 
36
36
  /**
37
37
  * @typedef CreateEventSubscriptionsByBulkParam
38
- * @property {CommunicationPlatformModel.EventSubscriptionsBulkUpdateRequest} body
38
+ * @property {CommunicationPlatformModel.EventSubscriptionsBulkUpdatePayload} body
39
39
  */
40
40
 
41
41
  /**
@@ -271,12 +271,12 @@ const CommunicationPlatformModel = require("./CommunicationPlatformModel");
271
271
 
272
272
  /**
273
273
  * @typedef SendCommunicationAsynchronouslyParam
274
- * @property {CommunicationPlatformModel.EngineRequest} body
274
+ * @property {CommunicationPlatformModel.EnginePayload} body
275
275
  */
276
276
 
277
277
  /**
278
278
  * @typedef SendCommunicationSynchronouslyParam
279
- * @property {CommunicationPlatformModel.EngineRequest} body
279
+ * @property {CommunicationPlatformModel.EnginePayload} body
280
280
  */
281
281
 
282
282
  /**
@@ -286,7 +286,7 @@ const CommunicationPlatformModel = require("./CommunicationPlatformModel");
286
286
 
287
287
  /**
288
288
  * @typedef TriggerCampaignJobParam
289
- * @property {CommunicationPlatformModel.TriggerJobRequest} body
289
+ * @property {CommunicationPlatformModel.TriggerJobPayload} body
290
290
  */
291
291
 
292
292
  /**
@@ -391,7 +391,7 @@ class CommunicationPlatformApplicationValidator {
391
391
  /** @returns {CreateEventSubscriptionsByBulkParam} */
392
392
  static createEventSubscriptionsByBulk() {
393
393
  return Joi.object({
394
- body: CommunicationPlatformModel.EventSubscriptionsBulkUpdateRequest().required(),
394
+ body: CommunicationPlatformModel.EventSubscriptionsBulkUpdatePayload().required(),
395
395
  }).required();
396
396
  }
397
397
 
@@ -729,14 +729,14 @@ class CommunicationPlatformApplicationValidator {
729
729
  /** @returns {SendCommunicationAsynchronouslyParam} */
730
730
  static sendCommunicationAsynchronously() {
731
731
  return Joi.object({
732
- body: CommunicationPlatformModel.EngineRequest().required(),
732
+ body: CommunicationPlatformModel.EnginePayload().required(),
733
733
  }).required();
734
734
  }
735
735
 
736
736
  /** @returns {SendCommunicationSynchronouslyParam} */
737
737
  static sendCommunicationSynchronously() {
738
738
  return Joi.object({
739
- body: CommunicationPlatformModel.EngineRequest().required(),
739
+ body: CommunicationPlatformModel.EnginePayload().required(),
740
740
  }).required();
741
741
  }
742
742
 
@@ -750,7 +750,7 @@ class CommunicationPlatformApplicationValidator {
750
750
  /** @returns {TriggerCampaignJobParam} */
751
751
  static triggerCampaignJob() {
752
752
  return Joi.object({
753
- body: CommunicationPlatformModel.TriggerJobRequest().required(),
753
+ body: CommunicationPlatformModel.TriggerJobPayload().required(),
754
754
  }).required();
755
755
  }
756
756
 
@@ -1,10 +1,10 @@
1
1
  export = CommunicationPlatformModel;
2
2
  /**
3
- * @typedef EventSubscriptionsBulkUpdateRequest
3
+ * @typedef EventSubscriptionsBulkUpdatePayload
4
4
  * @property {SubscriptionsObject[]} [subscriptions]
5
5
  */
6
6
  /**
7
- * @typedef EventSubscriptionsBulkUpdateResponse
7
+ * @typedef EventSubscriptionsBulkUpdateResult
8
8
  * @property {EventSubscriptionTemplate} [template]
9
9
  * @property {string} [_id]
10
10
  * @property {string} [application]
@@ -414,12 +414,12 @@ export = CommunicationPlatformModel;
414
414
  * @property {string} [timestamp]
415
415
  */
416
416
  /**
417
- * @typedef EngineRequest
417
+ * @typedef EnginePayload
418
418
  * @property {PayloadStructure} [payload]
419
419
  * @property {MetaStructure} [meta]
420
420
  */
421
421
  /**
422
- * @typedef EngineResponse
422
+ * @typedef EngineResult
423
423
  * @property {boolean} [success]
424
424
  */
425
425
  /**
@@ -455,20 +455,20 @@ export = CommunicationPlatformModel;
455
455
  * @property {Page} [page]
456
456
  */
457
457
  /**
458
- * @typedef TriggerJobResponse
458
+ * @typedef TriggerJobResult
459
459
  * @property {number} [status]
460
460
  */
461
461
  /**
462
- * @typedef TriggerJobRequest
462
+ * @typedef TriggerJobPayload
463
463
  * @property {string} [job_id]
464
464
  */
465
465
  /**
466
- * @typedef GlobalVariablesGetResponse
466
+ * @typedef GetGlobalVariablesResult
467
467
  * @property {Object} [read_only]
468
468
  * @property {Object} [editable]
469
469
  */
470
470
  /**
471
- * @typedef GlobalVariablesPostResponse
471
+ * @typedef CreateGlobalVariablesResult
472
472
  * @property {string} [_id]
473
473
  * @property {string} [category]
474
474
  * @property {string} [application]
@@ -671,6 +671,8 @@ export = CommunicationPlatformModel;
671
671
  * @property {number} [version_id] - The version ID for the test.
672
672
  * @property {string} [sender_id] - The sender ID for the test.
673
673
  * @property {string} [api_key] - The api_key for the test.
674
+ * @property {string} [tenant_name_1] - First part of jiocx url.
675
+ * @property {string} [tenant_name_2] - Second part of jiocx url.
674
676
  */
675
677
  /**
676
678
  * @typedef SmsProvider
@@ -856,16 +858,16 @@ export = CommunicationPlatformModel;
856
858
  declare class CommunicationPlatformModel {
857
859
  }
858
860
  declare namespace CommunicationPlatformModel {
859
- export { EventSubscriptionsBulkUpdateRequest, EventSubscriptionsBulkUpdateResponse, SubscriptionsObject, TemplateObject, CommunicationTemplate, AppProvider, AppProviderRes, AppProviderResVoice, AppProviderResObj, GlobalProviders, GlobalProvidersResObj, AppProviderReq, StatsImported, StatsProcessedEmail, StatsProcessedSms, StatsProcessed, Stats, GetStats, CampaignReq, RecipientHeaders, CampaignEmailTemplate, CampignEmailProvider, CampaignEmail, Campaign, Campaigns, BadRequestSchema, NotFound, AudienceReq, Audience, Audiences, GetNRecordsCsvReq, GetNRecordsCsvResItems, GetNRecordsCsvRes, DummyDatasources, DummyDatasourcesMeta, DummyDatasourcesMetaObj, EmailProviderReqFrom, EmailProviderReq, EmailProvider, EmailProviders, EmailTemplateKeys, EmailTemplateHeaders, EmailTemplateReq, TemplateAndType, EmailTemplate, SystemEmailTemplate, EmailTemplates, SystemEmailTemplates, PayloadEmailTemplateStructure, PayloadEmailProviderStructure, PayloadEmailStructure, PayloadSmsTemplateStructure, PayloadSmsProviderStructure, PayloadSmsStructure, PayloadStructure, MetaStructure, EngineRequest, EngineResponse, EventSubscriptionTemplateSms, EventSubscriptionTemplateEmail, EventSubscriptionTemplate, EventSubscription, EventSubscriptions, TriggerJobResponse, TriggerJobRequest, GlobalVariablesGetResponse, GlobalVariablesPostResponse, GlobalVariablesReq, Job, Jobs, CreateJobsRes, CreateJobsReq, JobLog, JobLogs, LogEmail, LogPushnotification, LogMeta, Log, Logs, SendOtpSmsCommsTemplate, SendOtpSmsCommsProvider, SendOtpEmailCommsProvider, SendOtpEmailCommsTemplate, SendOtpCommsReqData, SendOtpCommsReqSms, SendOtpCommsReqEmail, SendOtpCommsResSms, SendOtpCommsResEmail, SendOtpCommsReq, SendOtpCommsRes, VerifyOtpCommsReq, VerifyOtpCommsSuccessRes, VerifyOtpCommsErrorRes, SmsProviderReq, SmsProvider, SmsProviders, DefaultSmsProviders, SmsTemplateMessage, SmsTemplates, SmsTemplate, SystemSmsTemplates, metaObj, SmsTemplateReq, Notification, SystemNotificationUser, SystemNotification, SystemNotifications, Page, GenericError, GenericDelete, Message, EnabledObj, OtpConfigurationExpiryDuration, OtpConfigurationExpiry, OtpConfiguration };
861
+ export { EventSubscriptionsBulkUpdatePayload, EventSubscriptionsBulkUpdateResult, SubscriptionsObject, TemplateObject, CommunicationTemplate, AppProvider, AppProviderRes, AppProviderResVoice, AppProviderResObj, GlobalProviders, GlobalProvidersResObj, AppProviderReq, StatsImported, StatsProcessedEmail, StatsProcessedSms, StatsProcessed, Stats, GetStats, CampaignReq, RecipientHeaders, CampaignEmailTemplate, CampignEmailProvider, CampaignEmail, Campaign, Campaigns, BadRequestSchema, NotFound, AudienceReq, Audience, Audiences, GetNRecordsCsvReq, GetNRecordsCsvResItems, GetNRecordsCsvRes, DummyDatasources, DummyDatasourcesMeta, DummyDatasourcesMetaObj, EmailProviderReqFrom, EmailProviderReq, EmailProvider, EmailProviders, EmailTemplateKeys, EmailTemplateHeaders, EmailTemplateReq, TemplateAndType, EmailTemplate, SystemEmailTemplate, EmailTemplates, SystemEmailTemplates, PayloadEmailTemplateStructure, PayloadEmailProviderStructure, PayloadEmailStructure, PayloadSmsTemplateStructure, PayloadSmsProviderStructure, PayloadSmsStructure, PayloadStructure, MetaStructure, EnginePayload, EngineResult, EventSubscriptionTemplateSms, EventSubscriptionTemplateEmail, EventSubscriptionTemplate, EventSubscription, EventSubscriptions, TriggerJobResult, TriggerJobPayload, GetGlobalVariablesResult, CreateGlobalVariablesResult, GlobalVariablesReq, Job, Jobs, CreateJobsRes, CreateJobsReq, JobLog, JobLogs, LogEmail, LogPushnotification, LogMeta, Log, Logs, SendOtpSmsCommsTemplate, SendOtpSmsCommsProvider, SendOtpEmailCommsProvider, SendOtpEmailCommsTemplate, SendOtpCommsReqData, SendOtpCommsReqSms, SendOtpCommsReqEmail, SendOtpCommsResSms, SendOtpCommsResEmail, SendOtpCommsReq, SendOtpCommsRes, VerifyOtpCommsReq, VerifyOtpCommsSuccessRes, VerifyOtpCommsErrorRes, SmsProviderReq, SmsProvider, SmsProviders, DefaultSmsProviders, SmsTemplateMessage, SmsTemplates, SmsTemplate, SystemSmsTemplates, metaObj, SmsTemplateReq, Notification, SystemNotificationUser, SystemNotification, SystemNotifications, Page, GenericError, GenericDelete, Message, EnabledObj, OtpConfigurationExpiryDuration, OtpConfigurationExpiry, OtpConfiguration };
860
862
  }
861
- /** @returns {EventSubscriptionsBulkUpdateRequest} */
862
- declare function EventSubscriptionsBulkUpdateRequest(): EventSubscriptionsBulkUpdateRequest;
863
- type EventSubscriptionsBulkUpdateRequest = {
863
+ /** @returns {EventSubscriptionsBulkUpdatePayload} */
864
+ declare function EventSubscriptionsBulkUpdatePayload(): EventSubscriptionsBulkUpdatePayload;
865
+ type EventSubscriptionsBulkUpdatePayload = {
864
866
  subscriptions?: SubscriptionsObject[];
865
867
  };
866
- /** @returns {EventSubscriptionsBulkUpdateResponse} */
867
- declare function EventSubscriptionsBulkUpdateResponse(): EventSubscriptionsBulkUpdateResponse;
868
- type EventSubscriptionsBulkUpdateResponse = {
868
+ /** @returns {EventSubscriptionsBulkUpdateResult} */
869
+ declare function EventSubscriptionsBulkUpdateResult(): EventSubscriptionsBulkUpdateResult;
870
+ type EventSubscriptionsBulkUpdateResult = {
869
871
  template?: EventSubscriptionTemplate;
870
872
  _id?: string;
871
873
  application?: string;
@@ -1346,15 +1348,15 @@ type MetaStructure = {
1346
1348
  trace?: string;
1347
1349
  timestamp?: string;
1348
1350
  };
1349
- /** @returns {EngineRequest} */
1350
- declare function EngineRequest(): EngineRequest;
1351
- type EngineRequest = {
1351
+ /** @returns {EnginePayload} */
1352
+ declare function EnginePayload(): EnginePayload;
1353
+ type EnginePayload = {
1352
1354
  payload?: PayloadStructure;
1353
1355
  meta?: MetaStructure;
1354
1356
  };
1355
- /** @returns {EngineResponse} */
1356
- declare function EngineResponse(): EngineResponse;
1357
- type EngineResponse = {
1357
+ /** @returns {EngineResult} */
1358
+ declare function EngineResult(): EngineResult;
1359
+ type EngineResult = {
1358
1360
  success?: boolean;
1359
1361
  };
1360
1362
  /** @returns {EventSubscriptionTemplateSms} */
@@ -1394,25 +1396,25 @@ type EventSubscriptions = {
1394
1396
  items?: EventSubscription[];
1395
1397
  page?: Page;
1396
1398
  };
1397
- /** @returns {TriggerJobResponse} */
1398
- declare function TriggerJobResponse(): TriggerJobResponse;
1399
- type TriggerJobResponse = {
1399
+ /** @returns {TriggerJobResult} */
1400
+ declare function TriggerJobResult(): TriggerJobResult;
1401
+ type TriggerJobResult = {
1400
1402
  status?: number;
1401
1403
  };
1402
- /** @returns {TriggerJobRequest} */
1403
- declare function TriggerJobRequest(): TriggerJobRequest;
1404
- type TriggerJobRequest = {
1404
+ /** @returns {TriggerJobPayload} */
1405
+ declare function TriggerJobPayload(): TriggerJobPayload;
1406
+ type TriggerJobPayload = {
1405
1407
  job_id?: string;
1406
1408
  };
1407
- /** @returns {GlobalVariablesGetResponse} */
1408
- declare function GlobalVariablesGetResponse(): GlobalVariablesGetResponse;
1409
- type GlobalVariablesGetResponse = {
1409
+ /** @returns {GetGlobalVariablesResult} */
1410
+ declare function GetGlobalVariablesResult(): GetGlobalVariablesResult;
1411
+ type GetGlobalVariablesResult = {
1410
1412
  read_only?: any;
1411
1413
  editable?: any;
1412
1414
  };
1413
- /** @returns {GlobalVariablesPostResponse} */
1414
- declare function GlobalVariablesPostResponse(): GlobalVariablesPostResponse;
1415
- type GlobalVariablesPostResponse = {
1415
+ /** @returns {CreateGlobalVariablesResult} */
1416
+ declare function CreateGlobalVariablesResult(): CreateGlobalVariablesResult;
1417
+ type CreateGlobalVariablesResult = {
1416
1418
  _id?: string;
1417
1419
  category?: string;
1418
1420
  application?: string;
@@ -1678,6 +1680,14 @@ type SmsProviderReq = {
1678
1680
  * - The api_key for the test.
1679
1681
  */
1680
1682
  api_key?: string;
1683
+ /**
1684
+ * - First part of jiocx url.
1685
+ */
1686
+ tenant_name_1?: string;
1687
+ /**
1688
+ * - Second part of jiocx url.
1689
+ */
1690
+ tenant_name_2?: string;
1681
1691
  };
1682
1692
  /** @returns {SmsProvider} */
1683
1693
  declare function SmsProvider(): SmsProvider;