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

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 (241) 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 +48 -68
  6. package/sdk/application/Cart/CartApplicationClient.js +304 -114
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +58 -59
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +437 -30
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  10. package/sdk/application/Common/CommonApplicationClient.js +22 -1
  11. package/sdk/application/Communication/CommunicationApplicationClient.js +29 -0
  12. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.js +157 -10
  14. package/sdk/application/Content/ContentApplicationClient.d.ts +30 -19
  15. package/sdk/application/Content/ContentApplicationClient.js +297 -28
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -8
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.js +50 -7
  18. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
  19. package/sdk/application/Lead/LeadApplicationClient.js +74 -1
  20. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +15 -35
  21. package/sdk/application/Logistic/LogisticApplicationClient.js +159 -87
  22. package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
  23. package/sdk/application/Order/OrderApplicationClient.js +195 -47
  24. package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
  25. package/sdk/application/Payment/PaymentApplicationClient.js +473 -46
  26. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  27. package/sdk/application/Rewards/RewardsApplicationClient.js +75 -7
  28. package/sdk/application/Share/ShareApplicationClient.js +96 -0
  29. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  30. package/sdk/application/Theme/ThemeApplicationClient.js +66 -4
  31. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  32. package/sdk/application/User/UserApplicationClient.js +418 -6
  33. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  34. package/sdk/application/Webhook/WebhookApplicationClient.js +16 -3
  35. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
  36. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
  37. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
  38. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
  39. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
  40. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
  41. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  42. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  43. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  44. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  45. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
  46. package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
  47. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +167 -1200
  48. package/sdk/partner/Logistics/LogisticsPartnerModel.js +160 -571
  49. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
  50. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -121
  51. package/sdk/partner/OAuthClient.js +1 -0
  52. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
  53. package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
  54. package/sdk/partner/Theme/ThemePartnerModel.d.ts +39 -135
  55. package/sdk/partner/Theme/ThemePartnerModel.js +38 -114
  56. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  57. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
  58. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
  59. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
  60. package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
  61. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
  62. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
  63. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
  64. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
  65. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
  66. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
  67. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  68. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  69. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
  70. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
  71. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  72. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  73. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  74. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  75. package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
  76. package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
  77. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
  78. package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
  79. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
  80. package/sdk/platform/Cart/CartPlatformApplicationClient.js +115 -419
  81. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -118
  82. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
  83. package/sdk/platform/Cart/CartPlatformModel.d.ts +1298 -5037
  84. package/sdk/platform/Cart/CartPlatformModel.js +1217 -1976
  85. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -209
  86. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +400 -457
  87. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +142 -185
  88. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +78 -96
  89. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +117 -154
  90. package/sdk/platform/Catalog/CatalogPlatformClient.js +172 -292
  91. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1647 -6385
  92. package/sdk/platform/Catalog/CatalogPlatformModel.js +1680 -3217
  93. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -72
  94. package/sdk/platform/Catalog/CatalogPlatformValidator.js +24 -50
  95. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
  96. package/sdk/platform/Common/CommonPlatformClient.js +2 -3
  97. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  98. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  99. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
  100. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
  101. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  102. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  103. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
  104. package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
  105. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
  106. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
  107. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  108. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
  109. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  110. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  111. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
  112. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
  113. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  114. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  115. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
  116. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
  117. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +131 -283
  118. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +97 -219
  119. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
  120. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
  121. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
  122. package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
  123. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
  124. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
  125. package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
  126. package/sdk/platform/Content/ContentPlatformClient.js +336 -523
  127. package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
  128. package/sdk/platform/Content/ContentPlatformModel.js +390 -521
  129. package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
  130. package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
  131. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
  132. package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
  133. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  134. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  135. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  136. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  137. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
  141. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  142. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
  144. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
  145. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  146. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  147. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  148. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  149. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
  150. package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
  151. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  152. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  153. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  154. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  155. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  156. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  157. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -17
  158. package/sdk/platform/Order/OrderPlatformApplicationClient.js +7 -85
  159. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +24 -95
  160. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +19 -39
  161. package/sdk/platform/Order/OrderPlatformClient.d.ts +96 -153
  162. package/sdk/platform/Order/OrderPlatformClient.js +198 -416
  163. package/sdk/platform/Order/OrderPlatformModel.d.ts +1286 -7619
  164. package/sdk/platform/Order/OrderPlatformModel.js +1265 -3922
  165. package/sdk/platform/Order/OrderPlatformValidator.d.ts +109 -270
  166. package/sdk/platform/Order/OrderPlatformValidator.js +77 -135
  167. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  168. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  169. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  170. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  171. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +105 -93
  172. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +141 -129
  173. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  174. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  175. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  176. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  177. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +319 -333
  178. package/sdk/platform/Payment/PaymentPlatformModel.js +278 -288
  179. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  180. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  181. package/sdk/platform/PlatformClient.d.ts +2 -0
  182. package/sdk/platform/PlatformClient.js +4 -0
  183. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  184. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  185. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  186. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  187. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  188. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +36 -46
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +41 -132
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -46
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +14 -34
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +612 -1845
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +554 -886
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +46 -42
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +28 -26
  199. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  200. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  201. package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
  202. package/sdk/platform/Share/SharePlatformModel.js +4 -27
  203. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  204. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
  205. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
  206. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
  207. package/sdk/platform/Theme/ThemePlatformModel.d.ts +13 -76
  208. package/sdk/platform/Theme/ThemePlatformModel.js +17 -57
  209. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  210. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  211. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  212. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  213. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  214. package/sdk/platform/User/UserPlatformModel.js +23 -23
  215. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  216. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  217. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
  218. package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
  219. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  220. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  221. package/sdk/platform/index.d.ts +1 -0
  222. package/sdk/platform/index.js +2 -0
  223. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
  224. package/sdk/public/Configuration/ConfigurationPublicClient.js +21 -6
  225. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  226. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  227. package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
  228. package/sdk/public/Content/ContentPublicClient.js +20 -791
  229. package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
  230. package/sdk/public/Content/ContentPublicModel.js +3 -649
  231. package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
  232. package/sdk/public/Content/ContentPublicValidator.js +2 -88
  233. package/sdk/public/Partner/PartnerPublicClient.js +15 -0
  234. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  235. package/sdk/public/Webhook/WebhookPublicClient.js +48 -8
  236. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  237. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  238. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  239. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  240. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
  241. package/sdk/application/Finance/FinanceApplicationClient.js +0 -105
@@ -16,12 +16,12 @@ declare class Rewards {
16
16
  /**
17
17
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
18
18
  * @param {import("../ApplicationAPIClient").Options} - Options
19
- * @returns {Promise<CatalogueOrderDetails>} - Success response
19
+ * @returns {Promise<CatalogueOrderResponse>} - Success response
20
20
  * @name catalogueOrder
21
21
  * @summary: Order from catalogue
22
- * @description: Place a reward on order items available in the catalogue. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/catalogueOrder/).
22
+ * @description: Place an reward on order items available in the catalogue. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/catalogueOrder/).
23
23
  */
24
- catalogueOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CatalogueOrderDetails>;
24
+ catalogueOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CatalogueOrderResponse>;
25
25
  /**
26
26
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
27
27
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -34,46 +34,46 @@ declare class Rewards {
34
34
  /**
35
35
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
36
36
  * @param {import("../ApplicationAPIClient").Options} - Options
37
- * @returns {Promise<OrderDiscountDetails>} - Success response
37
+ * @returns {Promise<OrderDiscountResponse>} - Success response
38
38
  * @name getOrderDiscount
39
39
  * @summary: Order discount
40
40
  * @description: Retrieve the discount applied to a specific order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getOrderDiscount/).
41
41
  */
42
- getOrderDiscount({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderDiscountDetails>;
42
+ getOrderDiscount({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderDiscountResponse>;
43
43
  /**
44
44
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
45
45
  * @param {import("../ApplicationAPIClient").Options} - Options
46
- * @returns {Promise<PointsDetails>} - Success response
46
+ * @returns {Promise<PointsResponse>} - Success response
47
47
  * @name getUserPoints
48
48
  * @summary: Current points
49
49
  * @description: Retrieves the current reward points balance for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPoints/).
50
50
  */
51
- getUserPoints({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PointsDetails>;
51
+ getUserPoints({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PointsResponse>;
52
52
  /**
53
53
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
54
54
  * @param {import("../ApplicationAPIClient").Options} - Options
55
- * @returns {Promise<PointsHistoryDetails>} - Success response
55
+ * @returns {Promise<PointsHistoryResponse>} - Success response
56
56
  * @name getUserPointsHistory
57
57
  * @summary: Points history
58
58
  * @description: Gets the historical data of points earned or spent by the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPointsHistory/).
59
59
  */
60
- getUserPointsHistory({ pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PointsHistoryDetails>;
60
+ getUserPointsHistory({ pageId, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PointsHistoryResponse>;
61
61
  /**
62
62
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
63
63
  * @param {import("../ApplicationAPIClient").Options} - Options
64
- * @returns {Promise<ReferralDetails>} - Success response
64
+ * @returns {Promise<ReferralDetailsResponse>} - Success response
65
65
  * @name getUserReferralDetails
66
66
  * @summary: Referral details
67
67
  * @description: Gets the details of the user’s referral status and codes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserReferralDetails/).
68
68
  */
69
- getUserReferralDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ReferralDetails>;
69
+ getUserReferralDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ReferralDetailsResponse>;
70
70
  /**
71
71
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
72
72
  * @param {import("../ApplicationAPIClient").Options} - Options
73
- * @returns {Promise<RedeemReferralCodeDetails>} - Success response
73
+ * @returns {Promise<RedeemReferralCodeResponse>} - Success response
74
74
  * @name redeemReferralCode
75
75
  * @summary: Redeem code
76
76
  * @description: Applies a referral code to earn or redeem rewards. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/redeemReferralCode/).
77
77
  */
78
- redeemReferralCode({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RedeemReferralCodeDetails>;
78
+ redeemReferralCode({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RedeemReferralCodeResponse>;
79
79
  }
@@ -1,3 +1,8 @@
1
+ const {
2
+ FDKClientValidationError,
3
+ FDKResponseValidationError,
4
+ } = require("../../common/FDKError");
5
+
1
6
  const ApplicationAPIClient = require("../ApplicationAPIClient");
2
7
  const constructUrl = require("../constructUrl");
3
8
  const Paginator = require("../../common/Paginator");
@@ -38,15 +43,23 @@ class Rewards {
38
43
  /**
39
44
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
40
45
  * @param {import("../ApplicationAPIClient").Options} - Options
41
- * @returns {Promise<CatalogueOrderDetails>} - Success response
46
+ * @returns {Promise<CatalogueOrderResponse>} - Success response
42
47
  * @name catalogueOrder
43
48
  * @summary: Order from catalogue
44
- * @description: Place a reward on order items available in the catalogue. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/catalogueOrder/).
49
+ * @description: Place an reward on order items available in the catalogue. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/catalogueOrder/).
45
50
  */
46
51
  async catalogueOrder(
47
52
  { body, requestHeaders } = { requestHeaders: {} },
48
53
  { responseHeaders } = { responseHeaders: false }
49
54
  ) {
55
+ let invalidInput = [];
56
+ if (invalidInput.length) {
57
+ const error = new Error();
58
+ error.message = "Missing required field";
59
+ error.details = invalidInput;
60
+ return Promise.reject(new FDKClientValidationError(error));
61
+ }
62
+
50
63
  const query_params = {};
51
64
 
52
65
  const xHeaders = {};
@@ -84,6 +97,21 @@ class Rewards {
84
97
  { name, requestHeaders } = { requestHeaders: {} },
85
98
  { responseHeaders } = { responseHeaders: false }
86
99
  ) {
100
+ let invalidInput = [];
101
+
102
+ if (!name) {
103
+ invalidInput.push({
104
+ message: `The 'name' field is required.`,
105
+ path: ["name"],
106
+ });
107
+ }
108
+ if (invalidInput.length) {
109
+ const error = new Error();
110
+ error.message = "Missing required field";
111
+ error.details = invalidInput;
112
+ return Promise.reject(new FDKClientValidationError(error));
113
+ }
114
+
87
115
  const query_params = {};
88
116
 
89
117
  const xHeaders = {};
@@ -112,7 +140,7 @@ class Rewards {
112
140
  /**
113
141
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
114
142
  * @param {import("../ApplicationAPIClient").Options} - Options
115
- * @returns {Promise<OrderDiscountDetails>} - Success response
143
+ * @returns {Promise<OrderDiscountResponse>} - Success response
116
144
  * @name getOrderDiscount
117
145
  * @summary: Order discount
118
146
  * @description: Retrieve the discount applied to a specific order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getOrderDiscount/).
@@ -121,6 +149,14 @@ class Rewards {
121
149
  { body, requestHeaders } = { requestHeaders: {} },
122
150
  { responseHeaders } = { responseHeaders: false }
123
151
  ) {
152
+ let invalidInput = [];
153
+ if (invalidInput.length) {
154
+ const error = new Error();
155
+ error.message = "Missing required field";
156
+ error.details = invalidInput;
157
+ return Promise.reject(new FDKClientValidationError(error));
158
+ }
159
+
124
160
  const query_params = {};
125
161
 
126
162
  const xHeaders = {};
@@ -149,7 +185,7 @@ class Rewards {
149
185
  /**
150
186
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
151
187
  * @param {import("../ApplicationAPIClient").Options} - Options
152
- * @returns {Promise<PointsDetails>} - Success response
188
+ * @returns {Promise<PointsResponse>} - Success response
153
189
  * @name getUserPoints
154
190
  * @summary: Current points
155
191
  * @description: Retrieves the current reward points balance for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPoints/).
@@ -158,6 +194,14 @@ class Rewards {
158
194
  { requestHeaders } = { requestHeaders: {} },
159
195
  { responseHeaders } = { responseHeaders: false }
160
196
  ) {
197
+ let invalidInput = [];
198
+ if (invalidInput.length) {
199
+ const error = new Error();
200
+ error.message = "Missing required field";
201
+ error.details = invalidInput;
202
+ return Promise.reject(new FDKClientValidationError(error));
203
+ }
204
+
161
205
  const query_params = {};
162
206
 
163
207
  const xHeaders = {};
@@ -186,7 +230,7 @@ class Rewards {
186
230
  /**
187
231
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
188
232
  * @param {import("../ApplicationAPIClient").Options} - Options
189
- * @returns {Promise<PointsHistoryDetails>} - Success response
233
+ * @returns {Promise<PointsHistoryResponse>} - Success response
190
234
  * @name getUserPointsHistory
191
235
  * @summary: Points history
192
236
  * @description: Gets the historical data of points earned or spent by the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPointsHistory/).
@@ -195,6 +239,14 @@ class Rewards {
195
239
  { pageId, pageSize, requestHeaders } = { requestHeaders: {} },
196
240
  { responseHeaders } = { responseHeaders: false }
197
241
  ) {
242
+ let invalidInput = [];
243
+ if (invalidInput.length) {
244
+ const error = new Error();
245
+ error.message = "Missing required field";
246
+ error.details = invalidInput;
247
+ return Promise.reject(new FDKClientValidationError(error));
248
+ }
249
+
198
250
  const query_params = {};
199
251
  query_params["page_id"] = pageId;
200
252
  query_params["page_size"] = pageSize;
@@ -225,7 +277,7 @@ class Rewards {
225
277
  /**
226
278
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
227
279
  * @param {import("../ApplicationAPIClient").Options} - Options
228
- * @returns {Promise<ReferralDetails>} - Success response
280
+ * @returns {Promise<ReferralDetailsResponse>} - Success response
229
281
  * @name getUserReferralDetails
230
282
  * @summary: Referral details
231
283
  * @description: Gets the details of the user’s referral status and codes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserReferralDetails/).
@@ -234,6 +286,14 @@ class Rewards {
234
286
  { requestHeaders } = { requestHeaders: {} },
235
287
  { responseHeaders } = { responseHeaders: false }
236
288
  ) {
289
+ let invalidInput = [];
290
+ if (invalidInput.length) {
291
+ const error = new Error();
292
+ error.message = "Missing required field";
293
+ error.details = invalidInput;
294
+ return Promise.reject(new FDKClientValidationError(error));
295
+ }
296
+
237
297
  const query_params = {};
238
298
 
239
299
  const xHeaders = {};
@@ -262,7 +322,7 @@ class Rewards {
262
322
  /**
263
323
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
264
324
  * @param {import("../ApplicationAPIClient").Options} - Options
265
- * @returns {Promise<RedeemReferralCodeDetails>} - Success response
325
+ * @returns {Promise<RedeemReferralCodeResponse>} - Success response
266
326
  * @name redeemReferralCode
267
327
  * @summary: Redeem code
268
328
  * @description: Applies a referral code to earn or redeem rewards. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/redeemReferralCode/).
@@ -271,6 +331,14 @@ class Rewards {
271
331
  { body, requestHeaders } = { requestHeaders: {} },
272
332
  { responseHeaders } = { responseHeaders: false }
273
333
  ) {
334
+ let invalidInput = [];
335
+ if (invalidInput.length) {
336
+ const error = new Error();
337
+ error.message = "Missing required field";
338
+ error.details = invalidInput;
339
+ return Promise.reject(new FDKClientValidationError(error));
340
+ }
341
+
274
342
  const query_params = {};
275
343
 
276
344
  const xHeaders = {};
@@ -1,3 +1,8 @@
1
+ const {
2
+ FDKClientValidationError,
3
+ FDKResponseValidationError,
4
+ } = require("../../common/FDKError");
5
+
1
6
  const ApplicationAPIClient = require("../ApplicationAPIClient");
2
7
  const constructUrl = require("../constructUrl");
3
8
  const Paginator = require("../../common/Paginator");
@@ -46,6 +51,14 @@ class Share {
46
51
  { body, requestHeaders } = { requestHeaders: {} },
47
52
  { responseHeaders } = { responseHeaders: false }
48
53
  ) {
54
+ let invalidInput = [];
55
+ if (invalidInput.length) {
56
+ const error = new Error();
57
+ error.message = "Missing required field";
58
+ error.details = invalidInput;
59
+ return Promise.reject(new FDKClientValidationError(error));
60
+ }
61
+
49
62
  const query_params = {};
50
63
 
51
64
  const xHeaders = {};
@@ -83,6 +96,14 @@ class Share {
83
96
  { requestHeaders } = { requestHeaders: {} },
84
97
  { responseHeaders } = { responseHeaders: false }
85
98
  ) {
99
+ let invalidInput = [];
100
+ if (invalidInput.length) {
101
+ const error = new Error();
102
+ error.message = "Missing required field";
103
+ error.details = invalidInput;
104
+ return Promise.reject(new FDKClientValidationError(error));
105
+ }
106
+
86
107
  const query_params = {};
87
108
 
88
109
  const xHeaders = {};
@@ -120,6 +141,21 @@ class Share {
120
141
  { slug, requestHeaders } = { requestHeaders: {} },
121
142
  { responseHeaders } = { responseHeaders: false }
122
143
  ) {
144
+ let invalidInput = [];
145
+
146
+ if (!slug) {
147
+ invalidInput.push({
148
+ message: `The 'slug' field is required.`,
149
+ path: ["slug"],
150
+ });
151
+ }
152
+ if (invalidInput.length) {
153
+ const error = new Error();
154
+ error.message = "Missing required field";
155
+ error.details = invalidInput;
156
+ return Promise.reject(new FDKClientValidationError(error));
157
+ }
158
+
123
159
  const query_params = {};
124
160
 
125
161
  const xHeaders = {};
@@ -157,6 +193,21 @@ class Share {
157
193
  { hash, requestHeaders } = { requestHeaders: {} },
158
194
  { responseHeaders } = { responseHeaders: false }
159
195
  ) {
196
+ let invalidInput = [];
197
+
198
+ if (!hash) {
199
+ invalidInput.push({
200
+ message: `The 'hash' field is required.`,
201
+ path: ["hash"],
202
+ });
203
+ }
204
+ if (invalidInput.length) {
205
+ const error = new Error();
206
+ error.message = "Missing required field";
207
+ error.details = invalidInput;
208
+ return Promise.reject(new FDKClientValidationError(error));
209
+ }
210
+
160
211
  const query_params = {};
161
212
 
162
213
  const xHeaders = {};
@@ -194,6 +245,21 @@ class Share {
194
245
  { slug, requestHeaders } = { requestHeaders: {} },
195
246
  { responseHeaders } = { responseHeaders: false }
196
247
  ) {
248
+ let invalidInput = [];
249
+
250
+ if (!slug) {
251
+ invalidInput.push({
252
+ message: `The 'slug' field is required.`,
253
+ path: ["slug"],
254
+ });
255
+ }
256
+ if (invalidInput.length) {
257
+ const error = new Error();
258
+ error.message = "Missing required field";
259
+ error.details = invalidInput;
260
+ return Promise.reject(new FDKClientValidationError(error));
261
+ }
262
+
197
263
  const query_params = {};
198
264
 
199
265
  const xHeaders = {};
@@ -231,6 +297,21 @@ class Share {
231
297
  { hash, requestHeaders } = { requestHeaders: {} },
232
298
  { responseHeaders } = { responseHeaders: false }
233
299
  ) {
300
+ let invalidInput = [];
301
+
302
+ if (!hash) {
303
+ invalidInput.push({
304
+ message: `The 'hash' field is required.`,
305
+ path: ["hash"],
306
+ });
307
+ }
308
+ if (invalidInput.length) {
309
+ const error = new Error();
310
+ error.message = "Missing required field";
311
+ error.details = invalidInput;
312
+ return Promise.reject(new FDKClientValidationError(error));
313
+ }
314
+
234
315
  const query_params = {};
235
316
 
236
317
  const xHeaders = {};
@@ -268,6 +349,21 @@ class Share {
268
349
  { url, requestHeaders } = { requestHeaders: {} },
269
350
  { responseHeaders } = { responseHeaders: false }
270
351
  ) {
352
+ let invalidInput = [];
353
+
354
+ if (!url) {
355
+ invalidInput.push({
356
+ message: `The 'url' field is required.`,
357
+ path: ["url"],
358
+ });
359
+ }
360
+ if (invalidInput.length) {
361
+ const error = new Error();
362
+ error.message = "Missing required field";
363
+ error.details = invalidInput;
364
+ return Promise.reject(new FDKClientValidationError(error));
365
+ }
366
+
271
367
  const query_params = {};
272
368
  query_params["url"] = url;
273
369
 
@@ -27,7 +27,7 @@ declare class Theme {
27
27
  * @summary: Get applied theme
28
28
  * @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/).
29
29
  */
30
- getAppliedTheme({ filters, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ThemesSchema>;
30
+ getAppliedTheme({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ThemesSchema>;
31
31
  /**
32
32
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
33
33
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -45,5 +45,5 @@ declare class Theme {
45
45
  * @summary: Get theme for preview
46
46
  * @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/).
47
47
  */
48
- getThemeForPreview({ themeId, filters, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ThemesSchema>;
48
+ getThemeForPreview({ themeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ThemesSchema>;
49
49
  }
@@ -1,3 +1,8 @@
1
+ const {
2
+ FDKClientValidationError,
3
+ FDKResponseValidationError,
4
+ } = require("../../common/FDKError");
5
+
1
6
  const ApplicationAPIClient = require("../ApplicationAPIClient");
2
7
  const constructUrl = require("../constructUrl");
3
8
  const Paginator = require("../../common/Paginator");
@@ -39,6 +44,21 @@ class Theme {
39
44
  { themeId, requestHeaders } = { requestHeaders: {} },
40
45
  { responseHeaders } = { responseHeaders: false }
41
46
  ) {
47
+ let invalidInput = [];
48
+
49
+ if (!themeId) {
50
+ invalidInput.push({
51
+ message: `The 'themeId' field is required.`,
52
+ path: ["themeId"],
53
+ });
54
+ }
55
+ if (invalidInput.length) {
56
+ const error = new Error();
57
+ error.message = "Missing required field";
58
+ error.details = invalidInput;
59
+ return Promise.reject(new FDKClientValidationError(error));
60
+ }
61
+
42
62
  const query_params = {};
43
63
 
44
64
  const xHeaders = {};
@@ -73,11 +93,18 @@ class Theme {
73
93
  * @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/).
74
94
  */
75
95
  async getAppliedTheme(
76
- { filters, requestHeaders } = { requestHeaders: {} },
96
+ { requestHeaders } = { requestHeaders: {} },
77
97
  { responseHeaders } = { responseHeaders: false }
78
98
  ) {
99
+ let invalidInput = [];
100
+ if (invalidInput.length) {
101
+ const error = new Error();
102
+ error.message = "Missing required field";
103
+ error.details = invalidInput;
104
+ return Promise.reject(new FDKClientValidationError(error));
105
+ }
106
+
79
107
  const query_params = {};
80
- query_params["filters"] = filters;
81
108
 
82
109
  const xHeaders = {};
83
110
 
@@ -121,6 +148,27 @@ class Theme {
121
148
  } = { requestHeaders: {} },
122
149
  { responseHeaders } = { responseHeaders: false }
123
150
  ) {
151
+ let invalidInput = [];
152
+
153
+ if (!themeId) {
154
+ invalidInput.push({
155
+ message: `The 'themeId' field is required.`,
156
+ path: ["themeId"],
157
+ });
158
+ }
159
+ if (!pageValue) {
160
+ invalidInput.push({
161
+ message: `The 'pageValue' field is required.`,
162
+ path: ["pageValue"],
163
+ });
164
+ }
165
+ if (invalidInput.length) {
166
+ const error = new Error();
167
+ error.message = "Missing required field";
168
+ error.details = invalidInput;
169
+ return Promise.reject(new FDKClientValidationError(error));
170
+ }
171
+
124
172
  const query_params = {};
125
173
  query_params["filters"] = filters;
126
174
  query_params["section_preview_hash"] = sectionPreviewHash;
@@ -158,11 +206,25 @@ class Theme {
158
206
  * @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/).
159
207
  */
160
208
  async getThemeForPreview(
161
- { themeId, filters, requestHeaders } = { requestHeaders: {} },
209
+ { themeId, requestHeaders } = { requestHeaders: {} },
162
210
  { responseHeaders } = { responseHeaders: false }
163
211
  ) {
212
+ let invalidInput = [];
213
+
214
+ if (!themeId) {
215
+ invalidInput.push({
216
+ message: `The 'themeId' field is required.`,
217
+ path: ["themeId"],
218
+ });
219
+ }
220
+ if (invalidInput.length) {
221
+ const error = new Error();
222
+ error.message = "Missing required field";
223
+ error.details = invalidInput;
224
+ return Promise.reject(new FDKClientValidationError(error));
225
+ }
226
+
164
227
  const query_params = {};
165
- query_params["filters"] = filters;
166
228
 
167
229
  const xHeaders = {};
168
230
 
@@ -205,12 +205,12 @@ declare class User {
205
205
  /**
206
206
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
207
207
  * @param {import("../ApplicationAPIClient").Options} - Options
208
- * @returns {Promise<SendOtp>} - Success response
208
+ * @returns {Promise<SendOtpResponse>} - Success response
209
209
  * @name loginWithOTP
210
210
  * @summary: Login with Mobile OTP
211
211
  * @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/).
212
212
  */
213
- loginWithOTP({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SendOtp>;
213
+ loginWithOTP({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SendOtpResponse>;
214
214
  /**
215
215
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
216
216
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -259,12 +259,12 @@ declare class User {
259
259
  /**
260
260
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
261
261
  * @param {import("../ApplicationAPIClient").Options} - Options
262
- * @returns {Promise<SendOtpSuccess>} - Success response
262
+ * @returns {Promise<OtpSuccess>} - Success response
263
263
  * @name sendForgotOTPOnMobile
264
264
  * @summary: Send mobile OTP for forgot-password
265
265
  * @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/).
266
266
  */
267
- sendForgotOTPOnMobile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SendOtpSuccess>;
267
+ sendForgotOTPOnMobile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OtpSuccess>;
268
268
  /**
269
269
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
270
270
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -277,12 +277,12 @@ declare class User {
277
277
  /**
278
278
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
279
279
  * @param {import("../ApplicationAPIClient").Options} - Options
280
- * @returns {Promise<SendOtpSuccess>} - Success response
280
+ * @returns {Promise<OtpSuccess>} - Success response
281
281
  * @name sendOTPOnMobile
282
282
  * @summary: Send OTP on Mobile
283
283
  * @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/).
284
284
  */
285
- sendOTPOnMobile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SendOtpSuccess>;
285
+ sendOTPOnMobile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OtpSuccess>;
286
286
  /**
287
287
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
288
288
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -351,7 +351,7 @@ declare class User {
351
351
  * @param {import("../ApplicationAPIClient").Options} - Options
352
352
  * @returns {Promise<VerifyEmailSuccess>} - Success response
353
353
  * @name updatePassword
354
- * @summary: Update password
354
+ * @summary: Update Password
355
355
  * @description: Allow user to change their password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/updatePassword/).
356
356
  */
357
357
  updatePassword({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<VerifyEmailSuccess>;
@@ -376,12 +376,12 @@ declare class User {
376
376
  /**
377
377
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
378
378
  * @param {import("../ApplicationAPIClient").Options} - Options
379
- * @returns {Promise<UserExistsDetails>} - Success response
379
+ * @returns {Promise<UserExistsResponse>} - Success response
380
380
  * @name userExists
381
381
  * @summary: Chcek User Existence
382
382
  * @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/).
383
383
  */
384
- userExists({ q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UserExistsDetails>;
384
+ userExists({ q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UserExistsResponse>;
385
385
  /**
386
386
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
387
387
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -432,7 +432,7 @@ declare class User {
432
432
  * @param {import("../ApplicationAPIClient").Options} - Options
433
433
  * @returns {Promise<VerifyOtpSuccess>} - Success response
434
434
  * @name verifyMobileOTP
435
- * @summary: Verify mobile OTP
435
+ * @summary: Verify Mobile OTP
436
436
  * @description: Verify one-time password sent to user's mobile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyMobileOTP/).
437
437
  */
438
438
  verifyMobileOTP({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<VerifyOtpSuccess>;