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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (294) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +0 -2
  4. package/sdk/application/ApplicationClient.js +0 -2
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +53 -60
  6. package/sdk/application/Cart/CartApplicationClient.js +53 -130
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +143 -489
  8. package/sdk/application/Cart/CartApplicationModel.js +159 -380
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +19 -38
  10. package/sdk/application/Cart/CartApplicationValidator.js +18 -34
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +68 -88
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +94 -114
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +142 -194
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +133 -171
  15. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -3
  16. package/sdk/application/Common/CommonApplicationClient.js +5 -6
  17. package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
  18. package/sdk/application/Common/CommonApplicationModel.js +6 -6
  19. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +27 -34
  20. package/sdk/application/Configuration/ConfigurationApplicationClient.js +27 -34
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +57 -45
  22. package/sdk/application/Configuration/ConfigurationApplicationModel.js +47 -35
  23. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
  24. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
  25. package/sdk/application/Content/ContentApplicationClient.d.ts +33 -23
  26. package/sdk/application/Content/ContentApplicationClient.js +75 -54
  27. package/sdk/application/Content/ContentApplicationModel.d.ts +37 -93
  28. package/sdk/application/Content/ContentApplicationModel.js +32 -83
  29. package/sdk/application/Content/ContentApplicationValidator.d.ts +17 -23
  30. package/sdk/application/Content/ContentApplicationValidator.js +10 -15
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -9
  32. package/sdk/application/FileStorage/FileStorageApplicationClient.js +13 -14
  33. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +25 -23
  34. package/sdk/application/FileStorage/FileStorageApplicationModel.js +18 -16
  35. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
  36. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
  37. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -2
  38. package/sdk/application/Lead/LeadApplicationClient.js +3 -2
  39. package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
  40. package/sdk/application/Lead/LeadApplicationModel.js +19 -19
  41. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +16 -39
  42. package/sdk/application/Logistic/LogisticApplicationClient.js +21 -189
  43. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +173 -532
  44. package/sdk/application/Logistic/LogisticApplicationModel.js +139 -409
  45. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +9 -54
  46. package/sdk/application/Logistic/LogisticApplicationValidator.js +8 -42
  47. package/sdk/application/Order/OrderApplicationClient.d.ts +10 -24
  48. package/sdk/application/Order/OrderApplicationClient.js +13 -96
  49. package/sdk/application/Order/OrderApplicationModel.d.ts +120 -436
  50. package/sdk/application/Order/OrderApplicationModel.js +81 -279
  51. package/sdk/application/Order/OrderApplicationValidator.d.ts +3 -17
  52. package/sdk/application/Order/OrderApplicationValidator.js +2 -15
  53. package/sdk/application/Payment/PaymentApplicationClient.d.ts +99 -96
  54. package/sdk/application/Payment/PaymentApplicationClient.js +114 -111
  55. package/sdk/application/Payment/PaymentApplicationModel.d.ts +289 -293
  56. package/sdk/application/Payment/PaymentApplicationModel.js +241 -243
  57. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
  58. package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
  59. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -13
  60. package/sdk/application/Rewards/RewardsApplicationClient.js +22 -19
  61. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
  62. package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
  63. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
  64. package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
  65. package/sdk/application/Share/ShareApplicationModel.js +1 -1
  66. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  67. package/sdk/application/Theme/ThemeApplicationClient.js +6 -8
  68. package/sdk/application/Theme/ThemeApplicationModel.d.ts +17 -48
  69. package/sdk/application/Theme/ThemeApplicationModel.js +22 -42
  70. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +3 -16
  71. package/sdk/application/Theme/ThemeApplicationValidator.js +2 -9
  72. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  73. package/sdk/application/User/UserApplicationClient.js +10 -10
  74. package/sdk/application/User/UserApplicationModel.d.ts +17 -17
  75. package/sdk/application/User/UserApplicationModel.js +16 -16
  76. package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
  77. package/sdk/application/User/UserApplicationValidator.js +2 -2
  78. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  79. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
  80. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +9 -11
  81. package/sdk/application/Webhook/WebhookApplicationModel.js +6 -8
  82. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
  83. package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
  84. package/sdk/application/index.d.ts +0 -1
  85. package/sdk/application/index.js +0 -2
  86. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
  87. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
  88. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
  89. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
  90. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
  91. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
  92. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  93. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  94. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  95. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  96. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
  97. package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
  98. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +85 -767
  99. package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
  100. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
  101. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
  102. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
  103. package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
  104. package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
  105. package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
  106. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  107. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
  108. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
  109. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
  110. package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
  111. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
  112. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
  113. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
  114. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
  115. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
  116. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
  117. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  118. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  119. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
  120. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
  121. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  122. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  123. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  124. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  125. package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
  126. package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
  127. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
  128. package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
  129. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
  130. package/sdk/platform/Cart/CartPlatformApplicationClient.js +112 -407
  131. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
  132. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
  133. package/sdk/platform/Cart/CartPlatformModel.d.ts +1304 -4979
  134. package/sdk/platform/Cart/CartPlatformModel.js +1217 -1922
  135. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
  136. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
  137. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
  138. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
  139. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
  140. package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
  141. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1751 -1501
  142. package/sdk/platform/Catalog/CatalogPlatformModel.js +1224 -1393
  143. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
  144. package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
  145. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
  146. package/sdk/platform/Common/CommonPlatformClient.js +2 -3
  147. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  148. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  149. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
  150. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
  151. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  152. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  153. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
  154. package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
  155. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
  156. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
  157. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  158. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
  159. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  160. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  161. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
  162. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
  163. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  164. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  165. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
  166. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
  167. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +124 -283
  168. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +94 -219
  169. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
  170. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
  171. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
  172. package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
  173. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
  174. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
  175. package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
  176. package/sdk/platform/Content/ContentPlatformClient.js +336 -523
  177. package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
  178. package/sdk/platform/Content/ContentPlatformModel.js +390 -521
  179. package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
  180. package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
  181. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
  182. package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
  183. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  184. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  185. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  186. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  187. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
  188. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
  189. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
  190. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
  191. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  192. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  193. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
  194. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
  195. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  196. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  197. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  198. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  199. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
  200. package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
  201. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  202. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  203. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  204. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  205. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  206. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  207. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -15
  208. package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -83
  209. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -25
  210. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -16
  211. package/sdk/platform/Order/OrderPlatformClient.d.ts +97 -178
  212. package/sdk/platform/Order/OrderPlatformClient.js +245 -597
  213. package/sdk/platform/Order/OrderPlatformModel.d.ts +3071 -5449
  214. package/sdk/platform/Order/OrderPlatformModel.js +1656 -3501
  215. package/sdk/platform/Order/OrderPlatformValidator.d.ts +190 -237
  216. package/sdk/platform/Order/OrderPlatformValidator.js +105 -153
  217. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  218. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  219. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  220. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  221. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +106 -94
  222. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
  223. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
  224. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
  225. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  226. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  227. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +507 -386
  228. package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
  229. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
  230. package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
  231. package/sdk/platform/PlatformClient.d.ts +2 -0
  232. package/sdk/platform/PlatformClient.js +4 -0
  233. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  234. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  235. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  236. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  237. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  238. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  239. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +35 -45
  240. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
  241. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
  242. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
  243. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
  244. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
  245. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +341 -602
  246. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +284 -483
  247. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
  248. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
  249. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  250. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  251. package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
  252. package/sdk/platform/Share/SharePlatformModel.js +4 -27
  253. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  254. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
  255. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
  256. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
  257. package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
  258. package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
  259. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  260. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  261. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  262. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  263. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  264. package/sdk/platform/User/UserPlatformModel.js +23 -23
  265. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  266. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  267. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
  268. package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
  269. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  270. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  271. package/sdk/platform/index.d.ts +1 -0
  272. package/sdk/platform/index.js +2 -0
  273. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
  274. package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
  275. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  276. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  277. package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
  278. package/sdk/public/Content/ContentPublicClient.js +5 -791
  279. package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
  280. package/sdk/public/Content/ContentPublicModel.js +3 -649
  281. package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
  282. package/sdk/public/Content/ContentPublicValidator.js +2 -88
  283. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  284. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  285. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  286. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  287. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  288. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  289. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -36
  290. package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
  291. package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
  292. package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
  293. package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
  294. package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
@@ -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.EventSubscriptionsBulkUpdateResult>}
573
+ * @returns {Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse>}
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.EventSubscriptionsBulkUpdateResult().validate(
631
+ } = CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse().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.EventSubscriptionsBulkUpdateResult[]
657
+ * CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse[]
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.EventSubscriptionsBulkUpdateResult())
715
+ .items(CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse())
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.EventSubscriptionsBulkUpdateResult>}
1465
+ * @returns {Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse>}
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.EventSubscriptionsBulkUpdateResult().validate(
1525
+ } = CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse().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.GetGlobalVariablesResult>}
3046
+ * @returns {Promise<CommunicationPlatformModel.GlobalVariablesGetResponse>}
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.GetGlobalVariablesResult().validate(
3100
+ } = CommunicationPlatformModel.GlobalVariablesGetResponse().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.CreateGlobalVariablesResult>}
4363
+ * @returns {Promise<CommunicationPlatformModel.GlobalVariablesPostResponse>}
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.CreateGlobalVariablesResult().validate(
4421
+ } = CommunicationPlatformModel.GlobalVariablesPostResponse().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.EngineResult>} - Success response
4446
+ * @returns {Promise<CommunicationPlatformModel.EngineResponse>} - 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.EngineResult().validate(responseData, {
4502
+ } = CommunicationPlatformModel.EngineResponse().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.EngineResult>} - Success response
4527
+ * @returns {Promise<CommunicationPlatformModel.EngineResponse>} - 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.EngineResult().validate(responseData, {
4583
+ } = CommunicationPlatformModel.EngineResponse().validate(responseData, {
4584
4584
  abortEarly: false,
4585
4585
  allowUnknown: true,
4586
4586
  });
@@ -4684,7 +4684,8 @@ 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.TriggerJobResult>} - Success response
4687
+ * @returns {Promise<CommunicationPlatformModel.TriggerJobResponse>} -
4688
+ * Success response
4688
4689
  * @name triggerCampaignJob
4689
4690
  * @summary: Trigger a campaign job
4690
4691
  * @description: Initiates a job to execute a communication campaign. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/triggerCampaignJob/).
@@ -4740,7 +4741,7 @@ class Communication {
4740
4741
 
4741
4742
  const {
4742
4743
  error: res_error,
4743
- } = CommunicationPlatformModel.TriggerJobResult().validate(responseData, {
4744
+ } = CommunicationPlatformModel.TriggerJobResponse().validate(responseData, {
4744
4745
  abortEarly: false,
4745
4746
  allowUnknown: true,
4746
4747
  });
@@ -24,7 +24,7 @@ export = CommunicationPlatformApplicationValidator;
24
24
  */
25
25
  /**
26
26
  * @typedef CreateEventSubscriptionsByBulkParam
27
- * @property {CommunicationPlatformModel.EventSubscriptionsBulkUpdatePayload} body
27
+ * @property {CommunicationPlatformModel.EventSubscriptionsBulkUpdateRequest} 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.EnginePayload} body
217
+ * @property {CommunicationPlatformModel.EngineRequest} body
218
218
  */
219
219
  /**
220
220
  * @typedef SendCommunicationSynchronouslyParam
221
- * @property {CommunicationPlatformModel.EnginePayload} body
221
+ * @property {CommunicationPlatformModel.EngineRequest} 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.TriggerJobPayload} body
229
+ * @property {CommunicationPlatformModel.TriggerJobRequest} 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.EventSubscriptionsBulkUpdatePayload;
425
+ body: CommunicationPlatformModel.EventSubscriptionsBulkUpdateRequest;
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.EnginePayload;
758
+ body: CommunicationPlatformModel.EngineRequest;
759
759
  };
760
760
  type SendCommunicationSynchronouslyParam = {
761
- body: CommunicationPlatformModel.EnginePayload;
761
+ body: CommunicationPlatformModel.EngineRequest;
762
762
  };
763
763
  type SendOtpParam = {
764
764
  body: CommunicationPlatformModel.SendOtpCommsReq;
765
765
  };
766
766
  type TriggerCampaignJobParam = {
767
- body: CommunicationPlatformModel.TriggerJobPayload;
767
+ body: CommunicationPlatformModel.TriggerJobRequest;
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.EventSubscriptionsBulkUpdatePayload} body
38
+ * @property {CommunicationPlatformModel.EventSubscriptionsBulkUpdateRequest} 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.EnginePayload} body
274
+ * @property {CommunicationPlatformModel.EngineRequest} body
275
275
  */
276
276
 
277
277
  /**
278
278
  * @typedef SendCommunicationSynchronouslyParam
279
- * @property {CommunicationPlatformModel.EnginePayload} body
279
+ * @property {CommunicationPlatformModel.EngineRequest} 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.TriggerJobPayload} body
289
+ * @property {CommunicationPlatformModel.TriggerJobRequest} 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.EventSubscriptionsBulkUpdatePayload().required(),
394
+ body: CommunicationPlatformModel.EventSubscriptionsBulkUpdateRequest().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.EnginePayload().required(),
732
+ body: CommunicationPlatformModel.EngineRequest().required(),
733
733
  }).required();
734
734
  }
735
735
 
736
736
  /** @returns {SendCommunicationSynchronouslyParam} */
737
737
  static sendCommunicationSynchronously() {
738
738
  return Joi.object({
739
- body: CommunicationPlatformModel.EnginePayload().required(),
739
+ body: CommunicationPlatformModel.EngineRequest().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.TriggerJobPayload().required(),
753
+ body: CommunicationPlatformModel.TriggerJobRequest().required(),
754
754
  }).required();
755
755
  }
756
756
 
@@ -1,10 +1,10 @@
1
1
  export = CommunicationPlatformModel;
2
2
  /**
3
- * @typedef EventSubscriptionsBulkUpdatePayload
3
+ * @typedef EventSubscriptionsBulkUpdateRequest
4
4
  * @property {SubscriptionsObject[]} [subscriptions]
5
5
  */
6
6
  /**
7
- * @typedef EventSubscriptionsBulkUpdateResult
7
+ * @typedef EventSubscriptionsBulkUpdateResponse
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 EnginePayload
417
+ * @typedef EngineRequest
418
418
  * @property {PayloadStructure} [payload]
419
419
  * @property {MetaStructure} [meta]
420
420
  */
421
421
  /**
422
- * @typedef EngineResult
422
+ * @typedef EngineResponse
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 TriggerJobResult
458
+ * @typedef TriggerJobResponse
459
459
  * @property {number} [status]
460
460
  */
461
461
  /**
462
- * @typedef TriggerJobPayload
462
+ * @typedef TriggerJobRequest
463
463
  * @property {string} [job_id]
464
464
  */
465
465
  /**
466
- * @typedef GetGlobalVariablesResult
466
+ * @typedef GlobalVariablesGetResponse
467
467
  * @property {Object} [read_only]
468
468
  * @property {Object} [editable]
469
469
  */
470
470
  /**
471
- * @typedef CreateGlobalVariablesResult
471
+ * @typedef GlobalVariablesPostResponse
472
472
  * @property {string} [_id]
473
473
  * @property {string} [category]
474
474
  * @property {string} [application]
@@ -671,8 +671,6 @@ 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.
676
674
  */
677
675
  /**
678
676
  * @typedef SmsProvider
@@ -858,16 +856,16 @@ export = CommunicationPlatformModel;
858
856
  declare class CommunicationPlatformModel {
859
857
  }
860
858
  declare namespace CommunicationPlatformModel {
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 };
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 };
862
860
  }
863
- /** @returns {EventSubscriptionsBulkUpdatePayload} */
864
- declare function EventSubscriptionsBulkUpdatePayload(): EventSubscriptionsBulkUpdatePayload;
865
- type EventSubscriptionsBulkUpdatePayload = {
861
+ /** @returns {EventSubscriptionsBulkUpdateRequest} */
862
+ declare function EventSubscriptionsBulkUpdateRequest(): EventSubscriptionsBulkUpdateRequest;
863
+ type EventSubscriptionsBulkUpdateRequest = {
866
864
  subscriptions?: SubscriptionsObject[];
867
865
  };
868
- /** @returns {EventSubscriptionsBulkUpdateResult} */
869
- declare function EventSubscriptionsBulkUpdateResult(): EventSubscriptionsBulkUpdateResult;
870
- type EventSubscriptionsBulkUpdateResult = {
866
+ /** @returns {EventSubscriptionsBulkUpdateResponse} */
867
+ declare function EventSubscriptionsBulkUpdateResponse(): EventSubscriptionsBulkUpdateResponse;
868
+ type EventSubscriptionsBulkUpdateResponse = {
871
869
  template?: EventSubscriptionTemplate;
872
870
  _id?: string;
873
871
  application?: string;
@@ -1348,15 +1346,15 @@ type MetaStructure = {
1348
1346
  trace?: string;
1349
1347
  timestamp?: string;
1350
1348
  };
1351
- /** @returns {EnginePayload} */
1352
- declare function EnginePayload(): EnginePayload;
1353
- type EnginePayload = {
1349
+ /** @returns {EngineRequest} */
1350
+ declare function EngineRequest(): EngineRequest;
1351
+ type EngineRequest = {
1354
1352
  payload?: PayloadStructure;
1355
1353
  meta?: MetaStructure;
1356
1354
  };
1357
- /** @returns {EngineResult} */
1358
- declare function EngineResult(): EngineResult;
1359
- type EngineResult = {
1355
+ /** @returns {EngineResponse} */
1356
+ declare function EngineResponse(): EngineResponse;
1357
+ type EngineResponse = {
1360
1358
  success?: boolean;
1361
1359
  };
1362
1360
  /** @returns {EventSubscriptionTemplateSms} */
@@ -1396,25 +1394,25 @@ type EventSubscriptions = {
1396
1394
  items?: EventSubscription[];
1397
1395
  page?: Page;
1398
1396
  };
1399
- /** @returns {TriggerJobResult} */
1400
- declare function TriggerJobResult(): TriggerJobResult;
1401
- type TriggerJobResult = {
1397
+ /** @returns {TriggerJobResponse} */
1398
+ declare function TriggerJobResponse(): TriggerJobResponse;
1399
+ type TriggerJobResponse = {
1402
1400
  status?: number;
1403
1401
  };
1404
- /** @returns {TriggerJobPayload} */
1405
- declare function TriggerJobPayload(): TriggerJobPayload;
1406
- type TriggerJobPayload = {
1402
+ /** @returns {TriggerJobRequest} */
1403
+ declare function TriggerJobRequest(): TriggerJobRequest;
1404
+ type TriggerJobRequest = {
1407
1405
  job_id?: string;
1408
1406
  };
1409
- /** @returns {GetGlobalVariablesResult} */
1410
- declare function GetGlobalVariablesResult(): GetGlobalVariablesResult;
1411
- type GetGlobalVariablesResult = {
1407
+ /** @returns {GlobalVariablesGetResponse} */
1408
+ declare function GlobalVariablesGetResponse(): GlobalVariablesGetResponse;
1409
+ type GlobalVariablesGetResponse = {
1412
1410
  read_only?: any;
1413
1411
  editable?: any;
1414
1412
  };
1415
- /** @returns {CreateGlobalVariablesResult} */
1416
- declare function CreateGlobalVariablesResult(): CreateGlobalVariablesResult;
1417
- type CreateGlobalVariablesResult = {
1413
+ /** @returns {GlobalVariablesPostResponse} */
1414
+ declare function GlobalVariablesPostResponse(): GlobalVariablesPostResponse;
1415
+ type GlobalVariablesPostResponse = {
1418
1416
  _id?: string;
1419
1417
  category?: string;
1420
1418
  application?: string;
@@ -1680,14 +1678,6 @@ type SmsProviderReq = {
1680
1678
  * - The api_key for the test.
1681
1679
  */
1682
1680
  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;
1691
1681
  };
1692
1682
  /** @returns {SmsProvider} */
1693
1683
  declare function SmsProvider(): SmsProvider;
@@ -1,12 +1,12 @@
1
1
  const Joi = require("joi");
2
2
 
3
3
  /**
4
- * @typedef EventSubscriptionsBulkUpdatePayload
4
+ * @typedef EventSubscriptionsBulkUpdateRequest
5
5
  * @property {SubscriptionsObject[]} [subscriptions]
6
6
  */
7
7
 
8
8
  /**
9
- * @typedef EventSubscriptionsBulkUpdateResult
9
+ * @typedef EventSubscriptionsBulkUpdateResponse
10
10
  * @property {EventSubscriptionTemplate} [template]
11
11
  * @property {string} [_id]
12
12
  * @property {string} [application]
@@ -471,13 +471,13 @@ const Joi = require("joi");
471
471
  */
472
472
 
473
473
  /**
474
- * @typedef EnginePayload
474
+ * @typedef EngineRequest
475
475
  * @property {PayloadStructure} [payload]
476
476
  * @property {MetaStructure} [meta]
477
477
  */
478
478
 
479
479
  /**
480
- * @typedef EngineResult
480
+ * @typedef EngineResponse
481
481
  * @property {boolean} [success]
482
482
  */
483
483
 
@@ -519,23 +519,23 @@ const Joi = require("joi");
519
519
  */
520
520
 
521
521
  /**
522
- * @typedef TriggerJobResult
522
+ * @typedef TriggerJobResponse
523
523
  * @property {number} [status]
524
524
  */
525
525
 
526
526
  /**
527
- * @typedef TriggerJobPayload
527
+ * @typedef TriggerJobRequest
528
528
  * @property {string} [job_id]
529
529
  */
530
530
 
531
531
  /**
532
- * @typedef GetGlobalVariablesResult
532
+ * @typedef GlobalVariablesGetResponse
533
533
  * @property {Object} [read_only]
534
534
  * @property {Object} [editable]
535
535
  */
536
536
 
537
537
  /**
538
- * @typedef CreateGlobalVariablesResult
538
+ * @typedef GlobalVariablesPostResponse
539
539
  * @property {string} [_id]
540
540
  * @property {string} [category]
541
541
  * @property {string} [application]
@@ -765,8 +765,6 @@ const Joi = require("joi");
765
765
  * @property {number} [version_id] - The version ID for the test.
766
766
  * @property {string} [sender_id] - The sender ID for the test.
767
767
  * @property {string} [api_key] - The api_key for the test.
768
- * @property {string} [tenant_name_1] - First part of jiocx url.
769
- * @property {string} [tenant_name_2] - Second part of jiocx url.
770
768
  */
771
769
 
772
770
  /**
@@ -972,8 +970,8 @@ const Joi = require("joi");
972
970
  */
973
971
 
974
972
  class CommunicationPlatformModel {
975
- /** @returns {EventSubscriptionsBulkUpdatePayload} */
976
- static EventSubscriptionsBulkUpdatePayload() {
973
+ /** @returns {EventSubscriptionsBulkUpdateRequest} */
974
+ static EventSubscriptionsBulkUpdateRequest() {
977
975
  return Joi.object({
978
976
  subscriptions: Joi.array().items(
979
977
  CommunicationPlatformModel.SubscriptionsObject()
@@ -981,8 +979,8 @@ class CommunicationPlatformModel {
981
979
  });
982
980
  }
983
981
 
984
- /** @returns {EventSubscriptionsBulkUpdateResult} */
985
- static EventSubscriptionsBulkUpdateResult() {
982
+ /** @returns {EventSubscriptionsBulkUpdateResponse} */
983
+ static EventSubscriptionsBulkUpdateResponse() {
986
984
  return Joi.object({
987
985
  template: CommunicationPlatformModel.EventSubscriptionTemplate(),
988
986
  _id: Joi.string().allow(""),
@@ -1403,7 +1401,7 @@ class CommunicationPlatformModel {
1403
1401
  reply_to: Joi.string().allow(""),
1404
1402
  priority: Joi.string().allow(""),
1405
1403
  tags: Joi.array().items(Joi.string().allow("")),
1406
- template_variables: Joi.object().pattern(/\S/, Joi.any()),
1404
+ template_variables: Joi.any(),
1407
1405
  published: Joi.boolean(),
1408
1406
  subject: CommunicationPlatformModel.TemplateAndType(),
1409
1407
  html: CommunicationPlatformModel.TemplateAndType(),
@@ -1445,7 +1443,7 @@ class CommunicationPlatformModel {
1445
1443
  html: CommunicationPlatformModel.TemplateAndType(),
1446
1444
  url_shorten: CommunicationPlatformModel.EnabledObj(),
1447
1445
  priority: Joi.string().allow(""),
1448
- template_variables: Joi.object().pattern(/\S/, Joi.any()),
1446
+ template_variables: Joi.any(),
1449
1447
  published: Joi.boolean(),
1450
1448
  category: Joi.string().allow(""),
1451
1449
  _id: Joi.string().allow(""),
@@ -1477,7 +1475,7 @@ class CommunicationPlatformModel {
1477
1475
  html: CommunicationPlatformModel.TemplateAndType(),
1478
1476
  url_shorten: CommunicationPlatformModel.EnabledObj(),
1479
1477
  priority: Joi.string().allow(""),
1480
- template_variables: Joi.object().pattern(/\S/, Joi.any()),
1478
+ template_variables: Joi.any(),
1481
1479
  published: Joi.boolean(),
1482
1480
  category: Joi.string().allow(""),
1483
1481
  _id: Joi.string().allow(""),
@@ -1576,16 +1574,16 @@ class CommunicationPlatformModel {
1576
1574
  });
1577
1575
  }
1578
1576
 
1579
- /** @returns {EnginePayload} */
1580
- static EnginePayload() {
1577
+ /** @returns {EngineRequest} */
1578
+ static EngineRequest() {
1581
1579
  return Joi.object({
1582
1580
  payload: CommunicationPlatformModel.PayloadStructure(),
1583
1581
  meta: CommunicationPlatformModel.MetaStructure(),
1584
1582
  });
1585
1583
  }
1586
1584
 
1587
- /** @returns {EngineResult} */
1588
- static EngineResult() {
1585
+ /** @returns {EngineResponse} */
1586
+ static EngineResponse() {
1589
1587
  return Joi.object({
1590
1588
  success: Joi.boolean(),
1591
1589
  });
@@ -1638,35 +1636,35 @@ class CommunicationPlatformModel {
1638
1636
  });
1639
1637
  }
1640
1638
 
1641
- /** @returns {TriggerJobResult} */
1642
- static TriggerJobResult() {
1639
+ /** @returns {TriggerJobResponse} */
1640
+ static TriggerJobResponse() {
1643
1641
  return Joi.object({
1644
1642
  status: Joi.number(),
1645
1643
  });
1646
1644
  }
1647
1645
 
1648
- /** @returns {TriggerJobPayload} */
1649
- static TriggerJobPayload() {
1646
+ /** @returns {TriggerJobRequest} */
1647
+ static TriggerJobRequest() {
1650
1648
  return Joi.object({
1651
1649
  job_id: Joi.string().allow(""),
1652
1650
  });
1653
1651
  }
1654
1652
 
1655
- /** @returns {GetGlobalVariablesResult} */
1656
- static GetGlobalVariablesResult() {
1653
+ /** @returns {GlobalVariablesGetResponse} */
1654
+ static GlobalVariablesGetResponse() {
1657
1655
  return Joi.object({
1658
- read_only: Joi.object().pattern(/\S/, Joi.any()),
1659
- editable: Joi.object().pattern(/\S/, Joi.any()),
1656
+ read_only: Joi.any(),
1657
+ editable: Joi.any(),
1660
1658
  });
1661
1659
  }
1662
1660
 
1663
- /** @returns {CreateGlobalVariablesResult} */
1664
- static CreateGlobalVariablesResult() {
1661
+ /** @returns {GlobalVariablesPostResponse} */
1662
+ static GlobalVariablesPostResponse() {
1665
1663
  return Joi.object({
1666
1664
  _id: Joi.string().allow(""),
1667
1665
  category: Joi.string().allow(""),
1668
1666
  application: Joi.string().allow(""),
1669
- global_variables: Joi.object().pattern(/\S/, Joi.any()),
1667
+ global_variables: Joi.any(),
1670
1668
  created_at: Joi.string().allow(""),
1671
1669
  });
1672
1670
  }
@@ -1674,7 +1672,7 @@ class CommunicationPlatformModel {
1674
1672
  /** @returns {GlobalVariablesReq} */
1675
1673
  static GlobalVariablesReq() {
1676
1674
  return Joi.object({
1677
- global_variables: Joi.object().pattern(/\S/, Joi.any()),
1675
+ global_variables: Joi.any(),
1678
1676
  });
1679
1677
  }
1680
1678
 
@@ -1946,8 +1944,6 @@ class CommunicationPlatformModel {
1946
1944
  version_id: Joi.number(),
1947
1945
  sender_id: Joi.string().allow(""),
1948
1946
  api_key: Joi.string().allow(""),
1949
- tenant_name_1: Joi.string().allow(""),
1950
- tenant_name_2: Joi.string().allow(""),
1951
1947
  });
1952
1948
  }
1953
1949
 
@@ -2022,7 +2018,7 @@ class CommunicationPlatformModel {
2022
2018
  message: CommunicationPlatformModel.SmsTemplateMessage(),
2023
2019
  priority: Joi.string().allow(""),
2024
2020
  tags: Joi.array().items(Joi.string().allow("")),
2025
- template_variables: Joi.object().pattern(/\S/, Joi.any()),
2021
+ template_variables: Joi.any(),
2026
2022
  template_id: Joi.string().allow(""),
2027
2023
  published: Joi.boolean(),
2028
2024
  category: Joi.string().allow(""),
@@ -2045,7 +2041,7 @@ class CommunicationPlatformModel {
2045
2041
  message: CommunicationPlatformModel.SmsTemplateMessage(),
2046
2042
  priority: Joi.string().allow(""),
2047
2043
  tags: Joi.array().items(Joi.string().allow("")),
2048
- template_variables: Joi.object().pattern(/\S/, Joi.any()),
2044
+ template_variables: Joi.any(),
2049
2045
  template_id: Joi.string().allow(""),
2050
2046
  published: Joi.boolean(),
2051
2047
  category: Joi.string().allow(""),
@@ -2073,7 +2069,7 @@ class CommunicationPlatformModel {
2073
2069
  priority: Joi.string().allow(""),
2074
2070
  template_id: Joi.string().allow(""),
2075
2071
  meta: CommunicationPlatformModel.metaObj(),
2076
- template_variables: Joi.object().pattern(/\S/, Joi.any()),
2072
+ template_variables: Joi.any(),
2077
2073
  published: Joi.boolean(),
2078
2074
  message: CommunicationPlatformModel.SmsTemplateMessage(),
2079
2075
  });