@gofynd/fdk-client-javascript 1.4.13 → 1.4.14

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 +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
  6. package/sdk/application/Cart/CartApplicationClient.js +130 -53
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
  8. package/sdk/application/Cart/CartApplicationModel.js +380 -159
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
  10. package/sdk/application/Cart/CartApplicationValidator.js +34 -18
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
  15. package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
  16. package/sdk/application/Common/CommonApplicationClient.js +6 -5
  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 +34 -27
  20. package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
  22. package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
  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 +23 -33
  26. package/sdk/application/Content/ContentApplicationClient.js +54 -75
  27. package/sdk/application/Content/ContentApplicationModel.d.ts +93 -37
  28. package/sdk/application/Content/ContentApplicationModel.js +83 -32
  29. package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
  30. package/sdk/application/Content/ContentApplicationValidator.js +15 -10
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
  32. package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
  33. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
  34. package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
  35. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
  36. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
  37. package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
  38. package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
  39. package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
  40. package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
  41. package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
  42. package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
  43. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
  44. package/sdk/application/Lead/LeadApplicationClient.js +2 -3
  45. package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
  46. package/sdk/application/Lead/LeadApplicationModel.js +19 -19
  47. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
  48. package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
  49. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
  50. package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
  51. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
  52. package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
  53. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
  54. package/sdk/application/Order/OrderApplicationClient.js +96 -13
  55. package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
  56. package/sdk/application/Order/OrderApplicationModel.js +278 -73
  57. package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
  58. package/sdk/application/Order/OrderApplicationValidator.js +15 -2
  59. package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
  60. package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
  61. package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
  62. package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
  63. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
  64. package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
  65. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
  66. package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
  67. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
  68. package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
  69. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
  70. package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
  71. package/sdk/application/Share/ShareApplicationModel.js +1 -1
  72. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  73. package/sdk/application/Theme/ThemeApplicationClient.js +8 -6
  74. package/sdk/application/Theme/ThemeApplicationModel.d.ts +48 -17
  75. package/sdk/application/Theme/ThemeApplicationModel.js +42 -22
  76. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
  77. package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
  78. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  79. package/sdk/application/User/UserApplicationClient.js +10 -10
  80. package/sdk/application/User/UserApplicationModel.d.ts +17 -17
  81. package/sdk/application/User/UserApplicationModel.js +16 -16
  82. package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
  83. package/sdk/application/User/UserApplicationValidator.js +2 -2
  84. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  85. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
  86. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +11 -9
  87. package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
  88. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
  89. package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
  90. package/sdk/application/index.d.ts +1 -0
  91. package/sdk/application/index.js +2 -0
  92. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  93. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  94. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  95. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  96. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  97. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  98. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  99. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  100. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  101. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  102. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  103. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  104. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
  105. package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
  106. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  107. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
  108. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  109. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  110. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  111. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  112. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  113. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  114. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  115. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  116. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  117. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  118. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  119. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  120. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  121. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  122. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  124. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  125. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  126. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  127. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  128. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  129. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  130. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  131. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  132. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  133. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  134. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  135. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  136. package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
  137. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
  138. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
  139. package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
  140. package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
  141. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +208 -183
  142. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +383 -358
  143. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +122 -126
  144. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +66 -68
  145. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +141 -118
  146. package/sdk/platform/Catalog/CatalogPlatformClient.js +193 -170
  147. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1516 -1766
  148. package/sdk/platform/Catalog/CatalogPlatformModel.js +1393 -1224
  149. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
  150. package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
  151. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  152. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  153. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  154. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  156. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  157. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  158. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  159. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  160. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  161. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  167. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  171. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  173. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  175. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  177. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  179. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  181. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  182. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  183. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  184. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  185. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  186. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  187. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  188. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  189. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  190. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  191. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  192. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  194. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  195. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  196. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  197. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  198. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  199. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  200. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  201. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  202. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  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 +15 -4
  208. package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
  209. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
  210. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  211. package/sdk/platform/Order/OrderPlatformClient.d.ts +178 -97
  212. package/sdk/platform/Order/OrderPlatformClient.js +589 -229
  213. package/sdk/platform/Order/OrderPlatformModel.d.ts +5447 -3071
  214. package/sdk/platform/Order/OrderPlatformModel.js +3496 -1653
  215. package/sdk/platform/Order/OrderPlatformValidator.d.ts +241 -176
  216. package/sdk/platform/Order/OrderPlatformValidator.js +153 -97
  217. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  218. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  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 +93 -105
  222. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  223. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  224. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  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 +327 -313
  228. package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
  229. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  230. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  231. package/sdk/platform/PlatformClient.d.ts +0 -2
  232. package/sdk/platform/PlatformClient.js +0 -4
  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 +45 -35
  240. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
  241. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
  242. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
  243. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  244. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  245. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
  246. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
  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 +36 -5
  252. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  253. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  254. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  255. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  256. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  257. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  258. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  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 +25 -78
  266. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  267. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  268. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  269. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  270. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  271. package/sdk/platform/index.d.ts +0 -1
  272. package/sdk/platform/index.js +0 -2
  273. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  274. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  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 +112 -2
  278. package/sdk/public/Content/ContentPublicClient.js +791 -5
  279. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  280. package/sdk/public/Content/ContentPublicModel.js +649 -3
  281. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  282. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  283. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  284. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  285. package/sdk/public/Webhook/WebhookPublicModel.d.ts +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/platform/Finance/FinancePlatformClient.d.ts +0 -320
  290. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  291. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  292. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  293. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  294. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -213,7 +213,7 @@ class ShareApplicationModel {
213
213
  application: Joi.string().allow(""),
214
214
  user_id: Joi.string().allow(""),
215
215
  created_at: Joi.string().allow(""),
216
- meta: Joi.any(),
216
+ meta: Joi.object().pattern(/\S/, Joi.any()),
217
217
  updated_at: Joi.string().allow(""),
218
218
  personalized: Joi.boolean(),
219
219
  campaign: ShareApplicationModel.CampaignShortLink(),
@@ -29,7 +29,7 @@ declare class Theme {
29
29
  * @summary: Get applied theme
30
30
  * @description: Gets the theme configuration and template details of a theme applied to the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getAppliedTheme/).
31
31
  */
32
- getAppliedTheme({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ThemeApplicationModel.ThemesSchema>;
32
+ getAppliedTheme({ filters, requestHeaders }?: ThemeApplicationValidator.GetAppliedThemeParam, { responseHeaders }?: object): Promise<ThemeApplicationModel.ThemesSchema>;
33
33
  /**
34
34
  * @param {ThemeApplicationValidator.GetPageParam} arg - Arg object.
35
35
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -49,7 +49,7 @@ declare class Theme {
49
49
  * @summary: Get theme for preview
50
50
  * @description: Gets the theme configuration and template details of a theme by theme id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getThemeForPreview/).
51
51
  */
52
- getThemeForPreview({ themeId, requestHeaders }?: ThemeApplicationValidator.GetThemeForPreviewParam, { responseHeaders }?: object): Promise<ThemeApplicationModel.ThemesSchema>;
52
+ getThemeForPreview({ themeId, filters, requestHeaders }?: ThemeApplicationValidator.GetThemeForPreviewParam, { responseHeaders }?: object): Promise<ThemeApplicationModel.ThemesSchema>;
53
53
  }
54
54
  import ThemeApplicationValidator = require("./ThemeApplicationValidator");
55
55
  import ThemeApplicationModel = require("./ThemeApplicationModel");
@@ -123,11 +123,11 @@ class Theme {
123
123
  * @description: Gets the theme configuration and template details of a theme applied to the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getAppliedTheme/).
124
124
  */
125
125
  async getAppliedTheme(
126
- { requestHeaders } = { requestHeaders: {} },
126
+ { filters, requestHeaders } = { requestHeaders: {} },
127
127
  { responseHeaders } = { responseHeaders: false }
128
128
  ) {
129
129
  const { error } = ThemeApplicationValidator.getAppliedTheme().validate(
130
- {},
130
+ { filters },
131
131
  { abortEarly: false, allowUnknown: true }
132
132
  );
133
133
  if (error) {
@@ -138,7 +138,7 @@ class Theme {
138
138
  const {
139
139
  error: warrning,
140
140
  } = ThemeApplicationValidator.getAppliedTheme().validate(
141
- {},
141
+ { filters },
142
142
  { abortEarly: false, allowUnknown: false }
143
143
  );
144
144
  if (warrning) {
@@ -149,6 +149,7 @@ class Theme {
149
149
  }
150
150
 
151
151
  const query_params = {};
152
+ query_params["filters"] = filters;
152
153
 
153
154
  const xHeaders = {};
154
155
 
@@ -287,11 +288,11 @@ class Theme {
287
288
  * @description: Gets the theme configuration and template details of a theme by theme id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getThemeForPreview/).
288
289
  */
289
290
  async getThemeForPreview(
290
- { themeId, requestHeaders } = { requestHeaders: {} },
291
+ { themeId, filters, requestHeaders } = { requestHeaders: {} },
291
292
  { responseHeaders } = { responseHeaders: false }
292
293
  ) {
293
294
  const { error } = ThemeApplicationValidator.getThemeForPreview().validate(
294
- { themeId },
295
+ { themeId, filters },
295
296
  { abortEarly: false, allowUnknown: true }
296
297
  );
297
298
  if (error) {
@@ -302,7 +303,7 @@ class Theme {
302
303
  const {
303
304
  error: warrning,
304
305
  } = ThemeApplicationValidator.getThemeForPreview().validate(
305
- { themeId },
306
+ { themeId, filters },
306
307
  { abortEarly: false, allowUnknown: false }
307
308
  );
308
309
  if (warrning) {
@@ -313,6 +314,7 @@ class Theme {
313
314
  }
314
315
 
315
316
  const query_params = {};
317
+ query_params["filters"] = filters;
316
318
 
317
319
  const xHeaders = {};
318
320
 
@@ -75,7 +75,6 @@ export = ThemeApplicationModel;
75
75
  * @property {string} [name] - The name of the section.
76
76
  * @property {string} [label] - A label for the section, which can be used for
77
77
  * display purposes.
78
- * @property {string} [source] - The source of the section, for example, 'themebundle'.
79
78
  * @property {Object} [props] - An object containing various properties
80
79
  * associated with the section.
81
80
  * @property {Object[]} [blocks] - An array of blocks within the section, where
@@ -83,6 +82,21 @@ export = ThemeApplicationModel;
83
82
  * @property {Object} [preset] - An object containing preset configurations for
84
83
  * the section.
85
84
  * @property {AvailablePagePredicate} [predicate]
85
+ * @property {SectionSource} [__source]
86
+ * @property {SectionAssets} [assets]
87
+ */
88
+ /**
89
+ * @typedef SectionAssets
90
+ * @property {string} [js] - The CDN URL of JS bundle.
91
+ * @property {string} [css] - The CDN URL of CSS file.
92
+ */
93
+ /**
94
+ * @typedef SectionSource
95
+ * @property {string} [id] - The source id specifying the source of the section.
96
+ * @property {string} [bundle_name] - This is the extension binding name
97
+ * containing this section.
98
+ * @property {string} [type] - This is source type. It will either be
99
+ * themeBundle or extension.
86
100
  */
87
101
  /**
88
102
  * @typedef AvailablePagePredicate
@@ -220,11 +234,6 @@ export = ThemeApplicationModel;
220
234
  * @property {boolean} [is_menu_below_logo] - Whether the menu is below the logo or not.
221
235
  * @property {string} [menu_position] - The position of the menu.
222
236
  */
223
- /**
224
- * @typedef GlobalConfig
225
- * @property {StaticConfig} [statics]
226
- * @property {CustomConfig} [custom]
227
- */
228
237
  /**
229
238
  * @typedef GeneralSetting
230
239
  * @property {ThemeSetting} [theme]
@@ -555,7 +564,7 @@ export = ThemeApplicationModel;
555
564
  declare class ThemeApplicationModel {
556
565
  }
557
566
  declare namespace ThemeApplicationModel {
558
- export { AllAvailablePageSchema, AvailablePageSchema, AvailablePageSectionMetaAttributes, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, AvailablePageSeo, AvailablePageSchemaSections, AvailablePagePredicate, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePageSchedulePredicate, ThemesSchema, Font, FontVariants, FontVariant, Config, ThemeConfiguration, CustomConfig, CustomProps, GlobalConfig, GeneralSetting, AdvanceSetting, UserAlertsSetting, ThemeSetting, TextSetting, ButtonSetting, SaleDiscountSetting, HeaderSetting, FooterSetting, OverlayPopupSetting, DividerStrokeHighlightSetting, StaticConfig, StaticProps, Colors, AuthConfig, PaletteConfig, ThemeMeta, ThemePayment, Release, Images, Assets, UMDJs, CommonJS, CSS, SectionItem, GlobalSchema, Prop, Preset, Page, SectionProps, SectionPreset, ImagePickerProp, UrlProp, BlockProps, TextProp, CheckboxProp, RangeProp, Section, Block, Predicate, Screen, ThemeUserSchema, Route, AvailablePagePlatformPredicate, BlitzkriegInternalServerErrorSchema, BlitzkriegApiErrorSchema, ActionPage, PageType };
567
+ export { AllAvailablePageSchema, AvailablePageSchema, AvailablePageSectionMetaAttributes, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, AvailablePageSeo, AvailablePageSchemaSections, SectionAssets, SectionSource, AvailablePagePredicate, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePageSchedulePredicate, ThemesSchema, Font, FontVariants, FontVariant, Config, ThemeConfiguration, CustomConfig, CustomProps, GeneralSetting, AdvanceSetting, UserAlertsSetting, ThemeSetting, TextSetting, ButtonSetting, SaleDiscountSetting, HeaderSetting, FooterSetting, OverlayPopupSetting, DividerStrokeHighlightSetting, StaticConfig, StaticProps, Colors, AuthConfig, PaletteConfig, ThemeMeta, ThemePayment, Release, Images, Assets, UMDJs, CommonJS, CSS, SectionItem, GlobalSchema, Prop, Preset, Page, SectionProps, SectionPreset, ImagePickerProp, UrlProp, BlockProps, TextProp, CheckboxProp, RangeProp, Section, Block, Predicate, Screen, ThemeUserSchema, Route, AvailablePagePlatformPredicate, BlitzkriegInternalServerErrorSchema, BlitzkriegApiErrorSchema, ActionPage, PageType };
559
568
  }
560
569
  /** @returns {AllAvailablePageSchema} */
561
570
  declare function AllAvailablePageSchema(): AllAvailablePageSchema;
@@ -724,10 +733,6 @@ type AvailablePageSchemaSections = {
724
733
  * display purposes.
725
734
  */
726
735
  label?: string;
727
- /**
728
- * - The source of the section, for example, 'themebundle'.
729
- */
730
- source?: string;
731
736
  /**
732
737
  * - An object containing various properties
733
738
  * associated with the section.
@@ -744,6 +749,38 @@ type AvailablePageSchemaSections = {
744
749
  */
745
750
  preset?: any;
746
751
  predicate?: AvailablePagePredicate;
752
+ __source?: SectionSource;
753
+ assets?: SectionAssets;
754
+ };
755
+ /** @returns {SectionAssets} */
756
+ declare function SectionAssets(): SectionAssets;
757
+ type SectionAssets = {
758
+ /**
759
+ * - The CDN URL of JS bundle.
760
+ */
761
+ js?: string;
762
+ /**
763
+ * - The CDN URL of CSS file.
764
+ */
765
+ css?: string;
766
+ };
767
+ /** @returns {SectionSource} */
768
+ declare function SectionSource(): SectionSource;
769
+ type SectionSource = {
770
+ /**
771
+ * - The source id specifying the source of the section.
772
+ */
773
+ id?: string;
774
+ /**
775
+ * - This is the extension binding name
776
+ * containing this section.
777
+ */
778
+ bundle_name?: string;
779
+ /**
780
+ * - This is source type. It will either be
781
+ * themeBundle or extension.
782
+ */
783
+ type?: string;
747
784
  };
748
785
  /** @returns {AvailablePagePredicate} */
749
786
  declare function AvailablePagePredicate(): AvailablePagePredicate;
@@ -1089,12 +1126,6 @@ type CustomProps = {
1089
1126
  */
1090
1127
  menu_position?: string;
1091
1128
  };
1092
- /** @returns {GlobalConfig} */
1093
- declare function GlobalConfig(): GlobalConfig;
1094
- type GlobalConfig = {
1095
- statics?: StaticConfig;
1096
- custom?: CustomConfig;
1097
- };
1098
1129
  /** @returns {GeneralSetting} */
1099
1130
  declare function GeneralSetting(): GeneralSetting;
1100
1131
  type GeneralSetting = {
@@ -85,7 +85,6 @@ const Joi = require("joi");
85
85
  * @property {string} [name] - The name of the section.
86
86
  * @property {string} [label] - A label for the section, which can be used for
87
87
  * display purposes.
88
- * @property {string} [source] - The source of the section, for example, 'themebundle'.
89
88
  * @property {Object} [props] - An object containing various properties
90
89
  * associated with the section.
91
90
  * @property {Object[]} [blocks] - An array of blocks within the section, where
@@ -93,6 +92,23 @@ const Joi = require("joi");
93
92
  * @property {Object} [preset] - An object containing preset configurations for
94
93
  * the section.
95
94
  * @property {AvailablePagePredicate} [predicate]
95
+ * @property {SectionSource} [__source]
96
+ * @property {SectionAssets} [assets]
97
+ */
98
+
99
+ /**
100
+ * @typedef SectionAssets
101
+ * @property {string} [js] - The CDN URL of JS bundle.
102
+ * @property {string} [css] - The CDN URL of CSS file.
103
+ */
104
+
105
+ /**
106
+ * @typedef SectionSource
107
+ * @property {string} [id] - The source id specifying the source of the section.
108
+ * @property {string} [bundle_name] - This is the extension binding name
109
+ * containing this section.
110
+ * @property {string} [type] - This is source type. It will either be
111
+ * themeBundle or extension.
96
112
  */
97
113
 
98
114
  /**
@@ -244,12 +260,6 @@ const Joi = require("joi");
244
260
  * @property {string} [menu_position] - The position of the menu.
245
261
  */
246
262
 
247
- /**
248
- * @typedef GlobalConfig
249
- * @property {StaticConfig} [statics]
250
- * @property {CustomConfig} [custom]
251
- */
252
-
253
263
  /**
254
264
  * @typedef GeneralSetting
255
265
  * @property {ThemeSetting} [theme]
@@ -656,7 +666,7 @@ class ThemeApplicationModel {
656
666
  /** @returns {AvailablePageSectionMetaAttributes} */
657
667
  static AvailablePageSectionMetaAttributes() {
658
668
  return Joi.object({
659
- attributes: Joi.any(),
669
+ attributes: Joi.object().pattern(/\S/, Joi.any()),
660
670
  });
661
671
  }
662
672
 
@@ -719,11 +729,29 @@ class ThemeApplicationModel {
719
729
  return Joi.object({
720
730
  name: Joi.string().allow(""),
721
731
  label: Joi.string().allow(""),
722
- source: Joi.string().allow(""),
723
- props: Joi.any(),
732
+ props: Joi.object().pattern(/\S/, Joi.any()),
724
733
  blocks: Joi.array().items(Joi.any()),
725
- preset: Joi.any(),
734
+ preset: Joi.object().pattern(/\S/, Joi.any()),
726
735
  predicate: ThemeApplicationModel.AvailablePagePredicate(),
736
+ __source: ThemeApplicationModel.SectionSource(),
737
+ assets: ThemeApplicationModel.SectionAssets(),
738
+ });
739
+ }
740
+
741
+ /** @returns {SectionAssets} */
742
+ static SectionAssets() {
743
+ return Joi.object({
744
+ js: Joi.string().allow(""),
745
+ css: Joi.string().allow(""),
746
+ });
747
+ }
748
+
749
+ /** @returns {SectionSource} */
750
+ static SectionSource() {
751
+ return Joi.object({
752
+ id: Joi.string().allow(""),
753
+ bundle_name: Joi.string().allow(""),
754
+ type: Joi.string().allow(""),
727
755
  });
728
756
  }
729
757
 
@@ -761,7 +789,7 @@ class ThemeApplicationModel {
761
789
  return Joi.object({
762
790
  selected: Joi.string().allow(""),
763
791
  exact_url: Joi.string().allow(""),
764
- query: Joi.any(),
792
+ query: Joi.object().pattern(/\S/, Joi.any()),
765
793
  });
766
794
  }
767
795
 
@@ -789,7 +817,7 @@ class ThemeApplicationModel {
789
817
  name: Joi.string().allow(""),
790
818
  template_theme_id: Joi.string().allow(""),
791
819
  version: Joi.string().allow(""),
792
- styles: Joi.any(),
820
+ styles: Joi.object().pattern(/\S/, Joi.any()),
793
821
  created_at: Joi.string().allow(""),
794
822
  updated_at: Joi.string().allow(""),
795
823
  assets: ThemeApplicationModel.Assets(),
@@ -844,7 +872,7 @@ class ThemeApplicationModel {
844
872
  static ThemeConfiguration() {
845
873
  return Joi.object({
846
874
  name: Joi.string().allow(""),
847
- global_config: Joi.any(),
875
+ global_config: Joi.object().pattern(/\S/, Joi.any()),
848
876
  page: Joi.array().items(Joi.string().allow("")),
849
877
  });
850
878
  }
@@ -892,14 +920,6 @@ class ThemeApplicationModel {
892
920
  });
893
921
  }
894
922
 
895
- /** @returns {GlobalConfig} */
896
- static GlobalConfig() {
897
- return Joi.object({
898
- statics: ThemeApplicationModel.StaticConfig(),
899
- custom: ThemeApplicationModel.CustomConfig(),
900
- });
901
- }
902
-
903
923
  /** @returns {GeneralSetting} */
904
924
  static GeneralSetting() {
905
925
  return Joi.object({
@@ -3,7 +3,10 @@ export = ThemeApplicationValidator;
3
3
  * @typedef GetAllPagesParam
4
4
  * @property {string} themeId - Id of the theme to be retrieved.
5
5
  */
6
- /** @typedef GetAppliedThemeParam */
6
+ /**
7
+ * @typedef GetAppliedThemeParam
8
+ * @property {boolean} [filters] - Filters on sections to be applied or not.
9
+ */
7
10
  /**
8
11
  * @typedef GetPageParam
9
12
  * @property {string} themeId - Id of the theme to be retrieved.
@@ -15,12 +18,13 @@ export = ThemeApplicationValidator;
15
18
  /**
16
19
  * @typedef GetThemeForPreviewParam
17
20
  * @property {string} themeId - Id of the theme to be retrieved.
21
+ * @property {boolean} [filters] - Filters on sections to be applied or not.
18
22
  */
19
23
  declare class ThemeApplicationValidator {
20
24
  /** @returns {GetAllPagesParam} */
21
25
  static getAllPages(): GetAllPagesParam;
22
26
  /** @returns {GetAppliedThemeParam} */
23
- static getAppliedTheme(): any;
27
+ static getAppliedTheme(): GetAppliedThemeParam;
24
28
  /** @returns {GetPageParam} */
25
29
  static getPage(): GetPageParam;
26
30
  /** @returns {GetThemeForPreviewParam} */
@@ -35,6 +39,12 @@ type GetAllPagesParam = {
35
39
  */
36
40
  themeId: string;
37
41
  };
42
+ type GetAppliedThemeParam = {
43
+ /**
44
+ * - Filters on sections to be applied or not.
45
+ */
46
+ filters?: boolean;
47
+ };
38
48
  type GetPageParam = {
39
49
  /**
40
50
  * - Id of the theme to be retrieved.
@@ -62,5 +72,8 @@ type GetThemeForPreviewParam = {
62
72
  * - Id of the theme to be retrieved.
63
73
  */
64
74
  themeId: string;
75
+ /**
76
+ * - Filters on sections to be applied or not.
77
+ */
78
+ filters?: boolean;
65
79
  };
66
- type GetAppliedThemeParam = any;
@@ -7,7 +7,10 @@ const ThemeApplicationModel = require("./ThemeApplicationModel");
7
7
  * @property {string} themeId - Id of the theme to be retrieved.
8
8
  */
9
9
 
10
- /** @typedef GetAppliedThemeParam */
10
+ /**
11
+ * @typedef GetAppliedThemeParam
12
+ * @property {boolean} [filters] - Filters on sections to be applied or not.
13
+ */
11
14
 
12
15
  /**
13
16
  * @typedef GetPageParam
@@ -21,6 +24,7 @@ const ThemeApplicationModel = require("./ThemeApplicationModel");
21
24
  /**
22
25
  * @typedef GetThemeForPreviewParam
23
26
  * @property {string} themeId - Id of the theme to be retrieved.
27
+ * @property {boolean} [filters] - Filters on sections to be applied or not.
24
28
  */
25
29
 
26
30
  class ThemeApplicationValidator {
@@ -33,7 +37,9 @@ class ThemeApplicationValidator {
33
37
 
34
38
  /** @returns {GetAppliedThemeParam} */
35
39
  static getAppliedTheme() {
36
- return Joi.object({});
40
+ return Joi.object({
41
+ filters: Joi.boolean(),
42
+ });
37
43
  }
38
44
 
39
45
  /** @returns {GetPageParam} */
@@ -51,6 +57,7 @@ class ThemeApplicationValidator {
51
57
  static getThemeForPreview() {
52
58
  return Joi.object({
53
59
  themeId: Joi.string().allow("").required(),
60
+ filters: Joi.boolean(),
54
61
  }).required();
55
62
  }
56
63
  }
@@ -223,12 +223,12 @@ declare class User {
223
223
  * @param {UserApplicationValidator.LoginWithOTPParam} arg - Arg object.
224
224
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
225
225
  * @param {import("../ApplicationAPIClient").Options} - Options
226
- * @returns {Promise<UserApplicationModel.SendOtpResponse>} - Success response
226
+ * @returns {Promise<UserApplicationModel.SendOtp>} - Success response
227
227
  * @name loginWithOTP
228
228
  * @summary: Login with Mobile OTP
229
229
  * @description: Allow users to log in using a one-time password sent to their mobile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithOTP/).
230
230
  */
231
- loginWithOTP({ body, platform, requestHeaders }?: UserApplicationValidator.LoginWithOTPParam, { responseHeaders }?: object): Promise<UserApplicationModel.SendOtpResponse>;
231
+ loginWithOTP({ body, platform, requestHeaders }?: UserApplicationValidator.LoginWithOTPParam, { responseHeaders }?: object): Promise<UserApplicationModel.SendOtp>;
232
232
  /**
233
233
  * @param {UserApplicationValidator.LoginWithTokenParam} arg - Arg object.
234
234
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -284,12 +284,12 @@ declare class User {
284
284
  * @param {UserApplicationValidator.SendForgotOTPOnMobileParam} arg - Arg object.
285
285
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
286
286
  * @param {import("../ApplicationAPIClient").Options} - Options
287
- * @returns {Promise<UserApplicationModel.OtpSuccess>} - Success response
287
+ * @returns {Promise<UserApplicationModel.SendOtpSuccess>} - Success response
288
288
  * @name sendForgotOTPOnMobile
289
289
  * @summary: Send mobile OTP for forgot-password
290
290
  * @description: Send a one-time password to the user's mobile for verification when resetting a forgotten password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendForgotOTPOnMobile/).
291
291
  */
292
- sendForgotOTPOnMobile({ body, platform, requestHeaders }?: UserApplicationValidator.SendForgotOTPOnMobileParam, { responseHeaders }?: object): Promise<UserApplicationModel.OtpSuccess>;
292
+ sendForgotOTPOnMobile({ body, platform, requestHeaders }?: UserApplicationValidator.SendForgotOTPOnMobileParam, { responseHeaders }?: object): Promise<UserApplicationModel.SendOtpSuccess>;
293
293
  /**
294
294
  * @param {UserApplicationValidator.SendOTPOnEmailParam} arg - Arg object.
295
295
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -304,12 +304,12 @@ declare class User {
304
304
  * @param {UserApplicationValidator.SendOTPOnMobileParam} arg - Arg object.
305
305
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
306
306
  * @param {import("../ApplicationAPIClient").Options} - Options
307
- * @returns {Promise<UserApplicationModel.OtpSuccess>} - Success response
307
+ * @returns {Promise<UserApplicationModel.SendOtpSuccess>} - Success response
308
308
  * @name sendOTPOnMobile
309
309
  * @summary: Send OTP on Mobile
310
310
  * @description: Send a one-time password to the user's mobile for verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendOTPOnMobile/).
311
311
  */
312
- sendOTPOnMobile({ body, platform, requestHeaders }?: UserApplicationValidator.SendOTPOnMobileParam, { responseHeaders }?: object): Promise<UserApplicationModel.OtpSuccess>;
312
+ sendOTPOnMobile({ body, platform, requestHeaders }?: UserApplicationValidator.SendOTPOnMobileParam, { responseHeaders }?: object): Promise<UserApplicationModel.SendOtpSuccess>;
313
313
  /**
314
314
  * @param {UserApplicationValidator.SendResetPasswordEmailParam} arg - Arg object.
315
315
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -391,7 +391,7 @@ declare class User {
391
391
  * @param {import("../ApplicationAPIClient").Options} - Options
392
392
  * @returns {Promise<UserApplicationModel.VerifyEmailSuccess>} - Success response
393
393
  * @name updatePassword
394
- * @summary: Update Password
394
+ * @summary: Update password
395
395
  * @description: Allow user to change their password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/updatePassword/).
396
396
  */
397
397
  updatePassword({ body, requestHeaders }?: UserApplicationValidator.UpdatePasswordParam, { responseHeaders }?: object): Promise<UserApplicationModel.VerifyEmailSuccess>;
@@ -419,12 +419,12 @@ declare class User {
419
419
  * @param {UserApplicationValidator.UserExistsParam} arg - Arg object.
420
420
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
421
421
  * @param {import("../ApplicationAPIClient").Options} - Options
422
- * @returns {Promise<UserApplicationModel.UserExistsResponse>} - Success response
422
+ * @returns {Promise<UserApplicationModel.UserExistsDetails>} - Success response
423
423
  * @name userExists
424
424
  * @summary: Chcek User Existence
425
425
  * @description: Check whether user is already registered or not to the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/userExists/).
426
426
  */
427
- userExists({ q, requestHeaders }?: UserApplicationValidator.UserExistsParam, { responseHeaders }?: object): Promise<UserApplicationModel.UserExistsResponse>;
427
+ userExists({ q, requestHeaders }?: UserApplicationValidator.UserExistsParam, { responseHeaders }?: object): Promise<UserApplicationModel.UserExistsDetails>;
428
428
  /**
429
429
  * @param {UserApplicationValidator.VerifyEmailParam} arg - Arg object.
430
430
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -481,7 +481,7 @@ declare class User {
481
481
  * @param {import("../ApplicationAPIClient").Options} - Options
482
482
  * @returns {Promise<UserApplicationModel.VerifyOtpSuccess>} - Success response
483
483
  * @name verifyMobileOTP
484
- * @summary: Verify Mobile OTP
484
+ * @summary: Verify mobile OTP
485
485
  * @description: Verify one-time password sent to user's mobile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyMobileOTP/).
486
486
  */
487
487
  verifyMobileOTP({ body, platform, requestHeaders }?: UserApplicationValidator.VerifyMobileOTPParam, { responseHeaders }?: object): Promise<UserApplicationModel.VerifyOtpSuccess>;
@@ -1460,7 +1460,7 @@ class User {
1460
1460
  * @param {UserApplicationValidator.LoginWithOTPParam} arg - Arg object.
1461
1461
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1462
1462
  * @param {import("../ApplicationAPIClient").Options} - Options
1463
- * @returns {Promise<UserApplicationModel.SendOtpResponse>} - Success response
1463
+ * @returns {Promise<UserApplicationModel.SendOtp>} - Success response
1464
1464
  * @name loginWithOTP
1465
1465
  * @summary: Login with Mobile OTP
1466
1466
  * @description: Allow users to log in using a one-time password sent to their mobile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithOTP/).
@@ -1516,7 +1516,7 @@ class User {
1516
1516
 
1517
1517
  const {
1518
1518
  error: res_error,
1519
- } = UserApplicationModel.SendOtpResponse().validate(responseData, {
1519
+ } = UserApplicationModel.SendOtp().validate(responseData, {
1520
1520
  abortEarly: false,
1521
1521
  allowUnknown: true,
1522
1522
  });
@@ -1930,7 +1930,7 @@ class User {
1930
1930
  * @param {UserApplicationValidator.SendForgotOTPOnMobileParam} arg - Arg object.
1931
1931
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1932
1932
  * @param {import("../ApplicationAPIClient").Options} - Options
1933
- * @returns {Promise<UserApplicationModel.OtpSuccess>} - Success response
1933
+ * @returns {Promise<UserApplicationModel.SendOtpSuccess>} - Success response
1934
1934
  * @name sendForgotOTPOnMobile
1935
1935
  * @summary: Send mobile OTP for forgot-password
1936
1936
  * @description: Send a one-time password to the user's mobile for verification when resetting a forgotten password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendForgotOTPOnMobile/).
@@ -1986,7 +1986,7 @@ class User {
1986
1986
 
1987
1987
  const {
1988
1988
  error: res_error,
1989
- } = UserApplicationModel.OtpSuccess().validate(responseData, {
1989
+ } = UserApplicationModel.SendOtpSuccess().validate(responseData, {
1990
1990
  abortEarly: false,
1991
1991
  allowUnknown: true,
1992
1992
  });
@@ -2088,7 +2088,7 @@ class User {
2088
2088
  * @param {UserApplicationValidator.SendOTPOnMobileParam} arg - Arg object.
2089
2089
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2090
2090
  * @param {import("../ApplicationAPIClient").Options} - Options
2091
- * @returns {Promise<UserApplicationModel.OtpSuccess>} - Success response
2091
+ * @returns {Promise<UserApplicationModel.SendOtpSuccess>} - Success response
2092
2092
  * @name sendOTPOnMobile
2093
2093
  * @summary: Send OTP on Mobile
2094
2094
  * @description: Send a one-time password to the user's mobile for verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendOTPOnMobile/).
@@ -2144,7 +2144,7 @@ class User {
2144
2144
 
2145
2145
  const {
2146
2146
  error: res_error,
2147
- } = UserApplicationModel.OtpSuccess().validate(responseData, {
2147
+ } = UserApplicationModel.SendOtpSuccess().validate(responseData, {
2148
2148
  abortEarly: false,
2149
2149
  allowUnknown: true,
2150
2150
  });
@@ -2731,7 +2731,7 @@ class User {
2731
2731
  * @param {import("../ApplicationAPIClient").Options} - Options
2732
2732
  * @returns {Promise<UserApplicationModel.VerifyEmailSuccess>} - Success response
2733
2733
  * @name updatePassword
2734
- * @summary: Update Password
2734
+ * @summary: Update password
2735
2735
  * @description: Allow user to change their password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/updatePassword/).
2736
2736
  */
2737
2737
  async updatePassword(
@@ -2964,7 +2964,7 @@ class User {
2964
2964
  * @param {UserApplicationValidator.UserExistsParam} arg - Arg object.
2965
2965
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2966
2966
  * @param {import("../ApplicationAPIClient").Options} - Options
2967
- * @returns {Promise<UserApplicationModel.UserExistsResponse>} - Success response
2967
+ * @returns {Promise<UserApplicationModel.UserExistsDetails>} - Success response
2968
2968
  * @name userExists
2969
2969
  * @summary: Chcek User Existence
2970
2970
  * @description: Check whether user is already registered or not to the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/userExists/).
@@ -3018,7 +3018,7 @@ class User {
3018
3018
 
3019
3019
  const {
3020
3020
  error: res_error,
3021
- } = UserApplicationModel.UserExistsResponse().validate(responseData, {
3021
+ } = UserApplicationModel.UserExistsDetails().validate(responseData, {
3022
3022
  abortEarly: false,
3023
3023
  allowUnknown: true,
3024
3024
  });
@@ -3434,7 +3434,7 @@ class User {
3434
3434
  * @param {import("../ApplicationAPIClient").Options} - Options
3435
3435
  * @returns {Promise<UserApplicationModel.VerifyOtpSuccess>} - Success response
3436
3436
  * @name verifyMobileOTP
3437
- * @summary: Verify Mobile OTP
3437
+ * @summary: Verify mobile OTP
3438
3438
  * @description: Verify one-time password sent to user's mobile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyMobileOTP/).
3439
3439
  */
3440
3440
  async verifyMobileOTP(