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

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 +1321 -4975
  134. package/sdk/platform/Cart/CartPlatformModel.js +1226 -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 +396 -620
  246. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +326 -501
  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
@@ -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.object().pattern(/\S/, Joi.any()),
216
+ meta: 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({ filters, requestHeaders }?: ThemeApplicationValidator.GetAppliedThemeParam, { responseHeaders }?: object): Promise<ThemeApplicationModel.ThemesSchema>;
32
+ getAppliedTheme({ requestHeaders }?: any, { 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, filters, requestHeaders }?: ThemeApplicationValidator.GetThemeForPreviewParam, { responseHeaders }?: object): Promise<ThemeApplicationModel.ThemesSchema>;
52
+ getThemeForPreview({ themeId, 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
- { filters, requestHeaders } = { requestHeaders: {} },
126
+ { requestHeaders } = { requestHeaders: {} },
127
127
  { responseHeaders } = { responseHeaders: false }
128
128
  ) {
129
129
  const { error } = ThemeApplicationValidator.getAppliedTheme().validate(
130
- { filters },
130
+ {},
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
- { filters },
141
+ {},
142
142
  { abortEarly: false, allowUnknown: false }
143
143
  );
144
144
  if (warrning) {
@@ -149,7 +149,6 @@ class Theme {
149
149
  }
150
150
 
151
151
  const query_params = {};
152
- query_params["filters"] = filters;
153
152
 
154
153
  const xHeaders = {};
155
154
 
@@ -288,11 +287,11 @@ class Theme {
288
287
  * @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/).
289
288
  */
290
289
  async getThemeForPreview(
291
- { themeId, filters, requestHeaders } = { requestHeaders: {} },
290
+ { themeId, requestHeaders } = { requestHeaders: {} },
292
291
  { responseHeaders } = { responseHeaders: false }
293
292
  ) {
294
293
  const { error } = ThemeApplicationValidator.getThemeForPreview().validate(
295
- { themeId, filters },
294
+ { themeId },
296
295
  { abortEarly: false, allowUnknown: true }
297
296
  );
298
297
  if (error) {
@@ -303,7 +302,7 @@ class Theme {
303
302
  const {
304
303
  error: warrning,
305
304
  } = ThemeApplicationValidator.getThemeForPreview().validate(
306
- { themeId, filters },
305
+ { themeId },
307
306
  { abortEarly: false, allowUnknown: false }
308
307
  );
309
308
  if (warrning) {
@@ -314,7 +313,6 @@ class Theme {
314
313
  }
315
314
 
316
315
  const query_params = {};
317
- query_params["filters"] = filters;
318
316
 
319
317
  const xHeaders = {};
320
318
 
@@ -75,6 +75,7 @@ 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'.
78
79
  * @property {Object} [props] - An object containing various properties
79
80
  * associated with the section.
80
81
  * @property {Object[]} [blocks] - An array of blocks within the section, where
@@ -82,21 +83,6 @@ export = ThemeApplicationModel;
82
83
  * @property {Object} [preset] - An object containing preset configurations for
83
84
  * the section.
84
85
  * @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.
100
86
  */
101
87
  /**
102
88
  * @typedef AvailablePagePredicate
@@ -234,6 +220,11 @@ export = ThemeApplicationModel;
234
220
  * @property {boolean} [is_menu_below_logo] - Whether the menu is below the logo or not.
235
221
  * @property {string} [menu_position] - The position of the menu.
236
222
  */
223
+ /**
224
+ * @typedef GlobalConfig
225
+ * @property {StaticConfig} [statics]
226
+ * @property {CustomConfig} [custom]
227
+ */
237
228
  /**
238
229
  * @typedef GeneralSetting
239
230
  * @property {ThemeSetting} [theme]
@@ -564,7 +555,7 @@ export = ThemeApplicationModel;
564
555
  declare class ThemeApplicationModel {
565
556
  }
566
557
  declare namespace ThemeApplicationModel {
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 };
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 };
568
559
  }
569
560
  /** @returns {AllAvailablePageSchema} */
570
561
  declare function AllAvailablePageSchema(): AllAvailablePageSchema;
@@ -733,6 +724,10 @@ type AvailablePageSchemaSections = {
733
724
  * display purposes.
734
725
  */
735
726
  label?: string;
727
+ /**
728
+ * - The source of the section, for example, 'themebundle'.
729
+ */
730
+ source?: string;
736
731
  /**
737
732
  * - An object containing various properties
738
733
  * associated with the section.
@@ -749,38 +744,6 @@ type AvailablePageSchemaSections = {
749
744
  */
750
745
  preset?: any;
751
746
  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;
784
747
  };
785
748
  /** @returns {AvailablePagePredicate} */
786
749
  declare function AvailablePagePredicate(): AvailablePagePredicate;
@@ -1126,6 +1089,12 @@ type CustomProps = {
1126
1089
  */
1127
1090
  menu_position?: string;
1128
1091
  };
1092
+ /** @returns {GlobalConfig} */
1093
+ declare function GlobalConfig(): GlobalConfig;
1094
+ type GlobalConfig = {
1095
+ statics?: StaticConfig;
1096
+ custom?: CustomConfig;
1097
+ };
1129
1098
  /** @returns {GeneralSetting} */
1130
1099
  declare function GeneralSetting(): GeneralSetting;
1131
1100
  type GeneralSetting = {
@@ -85,6 +85,7 @@ 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'.
88
89
  * @property {Object} [props] - An object containing various properties
89
90
  * associated with the section.
90
91
  * @property {Object[]} [blocks] - An array of blocks within the section, where
@@ -92,23 +93,6 @@ const Joi = require("joi");
92
93
  * @property {Object} [preset] - An object containing preset configurations for
93
94
  * the section.
94
95
  * @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.
112
96
  */
113
97
 
114
98
  /**
@@ -260,6 +244,12 @@ const Joi = require("joi");
260
244
  * @property {string} [menu_position] - The position of the menu.
261
245
  */
262
246
 
247
+ /**
248
+ * @typedef GlobalConfig
249
+ * @property {StaticConfig} [statics]
250
+ * @property {CustomConfig} [custom]
251
+ */
252
+
263
253
  /**
264
254
  * @typedef GeneralSetting
265
255
  * @property {ThemeSetting} [theme]
@@ -666,7 +656,7 @@ class ThemeApplicationModel {
666
656
  /** @returns {AvailablePageSectionMetaAttributes} */
667
657
  static AvailablePageSectionMetaAttributes() {
668
658
  return Joi.object({
669
- attributes: Joi.object().pattern(/\S/, Joi.any()),
659
+ attributes: Joi.any(),
670
660
  });
671
661
  }
672
662
 
@@ -729,29 +719,11 @@ class ThemeApplicationModel {
729
719
  return Joi.object({
730
720
  name: Joi.string().allow(""),
731
721
  label: Joi.string().allow(""),
732
- props: Joi.object().pattern(/\S/, Joi.any()),
722
+ source: Joi.string().allow(""),
723
+ props: Joi.any(),
733
724
  blocks: Joi.array().items(Joi.any()),
734
- preset: Joi.object().pattern(/\S/, Joi.any()),
725
+ preset: Joi.any(),
735
726
  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(""),
755
727
  });
756
728
  }
757
729
 
@@ -789,7 +761,7 @@ class ThemeApplicationModel {
789
761
  return Joi.object({
790
762
  selected: Joi.string().allow(""),
791
763
  exact_url: Joi.string().allow(""),
792
- query: Joi.object().pattern(/\S/, Joi.any()),
764
+ query: Joi.any(),
793
765
  });
794
766
  }
795
767
 
@@ -817,7 +789,7 @@ class ThemeApplicationModel {
817
789
  name: Joi.string().allow(""),
818
790
  template_theme_id: Joi.string().allow(""),
819
791
  version: Joi.string().allow(""),
820
- styles: Joi.object().pattern(/\S/, Joi.any()),
792
+ styles: Joi.any(),
821
793
  created_at: Joi.string().allow(""),
822
794
  updated_at: Joi.string().allow(""),
823
795
  assets: ThemeApplicationModel.Assets(),
@@ -872,7 +844,7 @@ class ThemeApplicationModel {
872
844
  static ThemeConfiguration() {
873
845
  return Joi.object({
874
846
  name: Joi.string().allow(""),
875
- global_config: Joi.object().pattern(/\S/, Joi.any()),
847
+ global_config: Joi.any(),
876
848
  page: Joi.array().items(Joi.string().allow("")),
877
849
  });
878
850
  }
@@ -920,6 +892,14 @@ class ThemeApplicationModel {
920
892
  });
921
893
  }
922
894
 
895
+ /** @returns {GlobalConfig} */
896
+ static GlobalConfig() {
897
+ return Joi.object({
898
+ statics: ThemeApplicationModel.StaticConfig(),
899
+ custom: ThemeApplicationModel.CustomConfig(),
900
+ });
901
+ }
902
+
923
903
  /** @returns {GeneralSetting} */
924
904
  static GeneralSetting() {
925
905
  return Joi.object({
@@ -3,10 +3,7 @@ export = ThemeApplicationValidator;
3
3
  * @typedef GetAllPagesParam
4
4
  * @property {string} themeId - Id of the theme to be retrieved.
5
5
  */
6
- /**
7
- * @typedef GetAppliedThemeParam
8
- * @property {boolean} [filters] - Filters on sections to be applied or not.
9
- */
6
+ /** @typedef GetAppliedThemeParam */
10
7
  /**
11
8
  * @typedef GetPageParam
12
9
  * @property {string} themeId - Id of the theme to be retrieved.
@@ -18,13 +15,12 @@ export = ThemeApplicationValidator;
18
15
  /**
19
16
  * @typedef GetThemeForPreviewParam
20
17
  * @property {string} themeId - Id of the theme to be retrieved.
21
- * @property {boolean} [filters] - Filters on sections to be applied or not.
22
18
  */
23
19
  declare class ThemeApplicationValidator {
24
20
  /** @returns {GetAllPagesParam} */
25
21
  static getAllPages(): GetAllPagesParam;
26
22
  /** @returns {GetAppliedThemeParam} */
27
- static getAppliedTheme(): GetAppliedThemeParam;
23
+ static getAppliedTheme(): any;
28
24
  /** @returns {GetPageParam} */
29
25
  static getPage(): GetPageParam;
30
26
  /** @returns {GetThemeForPreviewParam} */
@@ -39,12 +35,6 @@ type GetAllPagesParam = {
39
35
  */
40
36
  themeId: string;
41
37
  };
42
- type GetAppliedThemeParam = {
43
- /**
44
- * - Filters on sections to be applied or not.
45
- */
46
- filters?: boolean;
47
- };
48
38
  type GetPageParam = {
49
39
  /**
50
40
  * - Id of the theme to be retrieved.
@@ -72,8 +62,5 @@ type GetThemeForPreviewParam = {
72
62
  * - Id of the theme to be retrieved.
73
63
  */
74
64
  themeId: string;
75
- /**
76
- * - Filters on sections to be applied or not.
77
- */
78
- filters?: boolean;
79
65
  };
66
+ type GetAppliedThemeParam = any;
@@ -7,10 +7,7 @@ const ThemeApplicationModel = require("./ThemeApplicationModel");
7
7
  * @property {string} themeId - Id of the theme to be retrieved.
8
8
  */
9
9
 
10
- /**
11
- * @typedef GetAppliedThemeParam
12
- * @property {boolean} [filters] - Filters on sections to be applied or not.
13
- */
10
+ /** @typedef GetAppliedThemeParam */
14
11
 
15
12
  /**
16
13
  * @typedef GetPageParam
@@ -24,7 +21,6 @@ const ThemeApplicationModel = require("./ThemeApplicationModel");
24
21
  /**
25
22
  * @typedef GetThemeForPreviewParam
26
23
  * @property {string} themeId - Id of the theme to be retrieved.
27
- * @property {boolean} [filters] - Filters on sections to be applied or not.
28
24
  */
29
25
 
30
26
  class ThemeApplicationValidator {
@@ -37,9 +33,7 @@ class ThemeApplicationValidator {
37
33
 
38
34
  /** @returns {GetAppliedThemeParam} */
39
35
  static getAppliedTheme() {
40
- return Joi.object({
41
- filters: Joi.boolean(),
42
- });
36
+ return Joi.object({});
43
37
  }
44
38
 
45
39
  /** @returns {GetPageParam} */
@@ -57,7 +51,6 @@ class ThemeApplicationValidator {
57
51
  static getThemeForPreview() {
58
52
  return Joi.object({
59
53
  themeId: Joi.string().allow("").required(),
60
- filters: Joi.boolean(),
61
54
  }).required();
62
55
  }
63
56
  }
@@ -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.SendOtp>} - Success response
226
+ * @returns {Promise<UserApplicationModel.SendOtpResponse>} - 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.SendOtp>;
231
+ loginWithOTP({ body, platform, requestHeaders }?: UserApplicationValidator.LoginWithOTPParam, { responseHeaders }?: object): Promise<UserApplicationModel.SendOtpResponse>;
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.SendOtpSuccess>} - Success response
287
+ * @returns {Promise<UserApplicationModel.OtpSuccess>} - 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.SendOtpSuccess>;
292
+ sendForgotOTPOnMobile({ body, platform, requestHeaders }?: UserApplicationValidator.SendForgotOTPOnMobileParam, { responseHeaders }?: object): Promise<UserApplicationModel.OtpSuccess>;
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.SendOtpSuccess>} - Success response
307
+ * @returns {Promise<UserApplicationModel.OtpSuccess>} - 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.SendOtpSuccess>;
312
+ sendOTPOnMobile({ body, platform, requestHeaders }?: UserApplicationValidator.SendOTPOnMobileParam, { responseHeaders }?: object): Promise<UserApplicationModel.OtpSuccess>;
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.UserExistsDetails>} - Success response
422
+ * @returns {Promise<UserApplicationModel.UserExistsResponse>} - 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.UserExistsDetails>;
427
+ userExists({ q, requestHeaders }?: UserApplicationValidator.UserExistsParam, { responseHeaders }?: object): Promise<UserApplicationModel.UserExistsResponse>;
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.SendOtp>} - Success response
1463
+ * @returns {Promise<UserApplicationModel.SendOtpResponse>} - 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.SendOtp().validate(responseData, {
1519
+ } = UserApplicationModel.SendOtpResponse().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.SendOtpSuccess>} - Success response
1933
+ * @returns {Promise<UserApplicationModel.OtpSuccess>} - 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.SendOtpSuccess().validate(responseData, {
1989
+ } = UserApplicationModel.OtpSuccess().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.SendOtpSuccess>} - Success response
2091
+ * @returns {Promise<UserApplicationModel.OtpSuccess>} - 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.SendOtpSuccess().validate(responseData, {
2147
+ } = UserApplicationModel.OtpSuccess().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.UserExistsDetails>} - Success response
2967
+ * @returns {Promise<UserApplicationModel.UserExistsResponse>} - 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.UserExistsDetails().validate(responseData, {
3021
+ } = UserApplicationModel.UserExistsResponse().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(