@gofynd/fdk-client-javascript 1.4.2-beta.7 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/README.md +1 -1
  2. package/package.json +5 -3
  3. package/sdk/application/ApplicationAPIClient.d.ts +1 -1
  4. package/sdk/application/ApplicationAPIClient.js +0 -1
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +25 -25
  6. package/sdk/application/Cart/CartApplicationClient.js +25 -25
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +40 -40
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +40 -40
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  10. package/sdk/application/Common/CommonApplicationClient.js +2 -2
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +16 -16
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -16
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +10 -10
  16. package/sdk/application/Content/ContentApplicationClient.js +10 -10
  17. package/sdk/application/Content/ContentApplicationModel.d.ts +18 -18
  18. package/sdk/application/Content/ContentApplicationModel.js +26 -26
  19. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
  20. package/sdk/application/FileStorage/FileStorageApplicationClient.js +12 -6
  21. package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
  22. package/sdk/application/Lead/LeadApplicationClient.js +7 -7
  23. package/sdk/application/Lead/LeadApplicationModel.d.ts +64 -77
  24. package/sdk/application/Lead/LeadApplicationModel.js +42 -52
  25. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +9 -9
  26. package/sdk/application/Logistic/LogisticApplicationClient.js +9 -9
  27. package/sdk/application/Order/OrderApplicationClient.d.ts +12 -12
  28. package/sdk/application/Order/OrderApplicationClient.js +12 -12
  29. package/sdk/application/Payment/PaymentApplicationClient.d.ts +47 -47
  30. package/sdk/application/Payment/PaymentApplicationClient.js +52 -52
  31. package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -2
  32. package/sdk/application/Payment/PaymentApplicationModel.js +4 -2
  33. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
  34. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  35. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +27 -27
  36. package/sdk/application/PosCart/PosCartApplicationClient.js +27 -27
  37. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +6 -6
  38. package/sdk/application/Rewards/RewardsApplicationClient.js +6 -6
  39. package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
  40. package/sdk/application/Share/ShareApplicationClient.js +7 -7
  41. package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
  42. package/sdk/application/Share/ShareApplicationModel.js +2 -0
  43. package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
  44. package/sdk/application/Theme/ThemeApplicationClient.js +4 -4
  45. package/sdk/application/Theme/ThemeApplicationModel.d.ts +25 -32
  46. package/sdk/application/Theme/ThemeApplicationModel.js +30 -40
  47. package/sdk/application/User/UserApplicationClient.d.ts +28 -28
  48. package/sdk/application/User/UserApplicationClient.js +28 -28
  49. package/sdk/application/User/UserApplicationModel.d.ts +44 -13
  50. package/sdk/application/User/UserApplicationModel.js +17 -13
  51. package/sdk/common/AxiosHelper.d.ts +1 -1
  52. package/sdk/common/AxiosHelper.js +38 -17
  53. package/sdk/common/Clickstream.js +22 -16
  54. package/sdk/common/curlHelper.js +1 -3
  55. package/sdk/common/utils.d.ts +15 -0
  56. package/sdk/common/utils.js +30 -0
  57. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +2 -2
  58. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +2 -2
  59. package/sdk/partner/Lead/LeadPartnerClient.d.ts +1 -1
  60. package/sdk/partner/Lead/LeadPartnerClient.js +1 -1
  61. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +4 -4
  62. package/sdk/partner/Logistics/LogisticsPartnerClient.js +4 -4
  63. package/sdk/partner/OAuthClient.d.ts +3 -3
  64. package/sdk/partner/PartnerAPIClient.d.ts +1 -1
  65. package/sdk/partner/PartnerAPIClient.js +0 -1
  66. package/sdk/partner/Theme/ThemePartnerClient.d.ts +19 -19
  67. package/sdk/partner/Theme/ThemePartnerClient.js +19 -19
  68. package/sdk/partner/Theme/ThemePartnerModel.d.ts +25 -32
  69. package/sdk/partner/Theme/ThemePartnerModel.js +30 -40
  70. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +2 -2
  71. package/sdk/partner/Webhook/WebhookPartnerClient.js +2 -2
  72. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +4 -4
  73. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -4
  74. package/sdk/platform/Billing/BillingPlatformClient.d.ts +17 -17
  75. package/sdk/platform/Billing/BillingPlatformClient.js +17 -17
  76. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +49 -49
  77. package/sdk/platform/Cart/CartPlatformApplicationClient.js +49 -49
  78. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +60 -60
  79. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +62 -62
  80. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +87 -87
  81. package/sdk/platform/Catalog/CatalogPlatformClient.js +87 -87
  82. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +65 -28
  83. package/sdk/platform/Catalog/CatalogPlatformModel.js +68 -36
  84. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
  85. package/sdk/platform/Common/CommonPlatformClient.js +2 -2
  86. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +58 -58
  87. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +58 -58
  88. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
  89. package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
  90. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +12 -0
  91. package/sdk/platform/Communication/CommunicationPlatformModel.js +12 -0
  92. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +16 -16
  93. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +16 -16
  94. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -0
  95. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +2 -0
  96. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +32 -32
  97. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +32 -32
  98. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +18 -18
  99. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +18 -18
  100. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +57 -57
  101. package/sdk/platform/Content/ContentPlatformApplicationClient.js +63 -63
  102. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
  103. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
  104. package/sdk/platform/Content/ContentPlatformClient.d.ts +3 -3
  105. package/sdk/platform/Content/ContentPlatformClient.js +9 -9
  106. package/sdk/platform/Content/ContentPlatformModel.d.ts +18 -18
  107. package/sdk/platform/Content/ContentPlatformModel.js +26 -26
  108. package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
  109. package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
  110. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +11 -11
  111. package/sdk/platform/Discount/DiscountPlatformClient.js +11 -11
  112. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +9 -9
  113. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +19 -13
  114. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
  115. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +23 -14
  116. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +12 -1
  117. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +14 -0
  118. package/sdk/platform/Finance/FinancePlatformClient.d.ts +27 -27
  119. package/sdk/platform/Finance/FinancePlatformClient.js +27 -27
  120. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +6 -6
  121. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +6 -6
  122. package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
  123. package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
  124. package/sdk/platform/Lead/LeadPlatformModel.d.ts +62 -77
  125. package/sdk/platform/Lead/LeadPlatformModel.js +40 -52
  126. package/sdk/platform/OAuthClient.d.ts +3 -3
  127. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +2 -2
  128. package/sdk/platform/Order/OrderPlatformApplicationClient.js +2 -2
  129. package/sdk/platform/Order/OrderPlatformClient.d.ts +41 -41
  130. package/sdk/platform/Order/OrderPlatformClient.js +41 -41
  131. package/sdk/platform/Order/OrderPlatformModel.d.ts +8 -2
  132. package/sdk/platform/Order/OrderPlatformModel.js +8 -2
  133. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
  134. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +2 -2
  135. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +38 -38
  136. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +38 -38
  137. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +10 -10
  138. package/sdk/platform/Payment/PaymentPlatformClient.js +10 -10
  139. package/sdk/platform/PlatformAPIClient.d.ts +1 -1
  140. package/sdk/platform/PlatformAPIClient.js +0 -1
  141. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +12 -12
  142. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
  143. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +9 -9
  144. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +9 -9
  145. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +15 -15
  146. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +15 -15
  147. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2 -2
  148. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -2
  149. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
  150. package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
  151. package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
  152. package/sdk/platform/Share/SharePlatformModel.js +2 -0
  153. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +28 -28
  154. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +28 -28
  155. package/sdk/platform/Theme/ThemePlatformClient.d.ts +3 -3
  156. package/sdk/platform/Theme/ThemePlatformClient.js +3 -3
  157. package/sdk/platform/Theme/ThemePlatformModel.d.ts +25 -32
  158. package/sdk/platform/Theme/ThemePlatformModel.js +30 -40
  159. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +16 -16
  160. package/sdk/platform/User/UserPlatformApplicationClient.js +16 -16
  161. package/sdk/platform/User/UserPlatformModel.d.ts +48 -13
  162. package/sdk/platform/User/UserPlatformModel.js +21 -13
  163. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +16 -16
  164. package/sdk/platform/Webhook/WebhookPlatformClient.js +16 -16
  165. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
  166. package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
  167. package/sdk/public/Billing/BillingPublicClient.d.ts +1 -1
  168. package/sdk/public/Billing/BillingPublicClient.js +4 -4
  169. package/sdk/public/Billing/BillingPublicValidator.d.ts +2 -2
  170. package/sdk/public/Billing/BillingPublicValidator.js +2 -2
  171. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +1 -1
  172. package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
  173. package/sdk/public/Content/ContentPublicValidator.d.ts +2 -2
  174. package/sdk/public/Content/ContentPublicValidator.js +3 -3
  175. package/sdk/public/Inventory/InventoryPublicModel.d.ts +8 -8
  176. package/sdk/public/Inventory/InventoryPublicModel.js +8 -8
  177. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  178. package/sdk/public/Partner/PartnerPublicClient.js +1 -1
  179. package/sdk/public/PublicAPIClient.d.ts +1 -1
  180. package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
  181. package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
@@ -58,7 +58,7 @@ class Configuration {
58
58
  * @returns {Promise<ConfigurationApplicationModel.AppCurrencyResponse>} -
59
59
  * Success response
60
60
  * @name getAppCurrencies
61
- * @summary: Retrieves app-specific currencies.
61
+ * @summary: Retrieves app-specific currencies
62
62
  * @description: Retrieve a list of currencies allowed in the current application. Moreover, get the name, code, symbol, and the decimal digits of the currencies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppCurrencies/).
63
63
  */
64
64
  async getAppCurrencies(
@@ -139,7 +139,7 @@ class Configuration {
139
139
  * @returns {Promise<ConfigurationApplicationModel.AppStaffListResponse>} -
140
140
  * Success response
141
141
  * @name getAppStaffList
142
- * @summary: Lists app staff members.
142
+ * @summary: Lists app staff members
143
143
  * @description: Retrieve a list of staff including the names, employee code, incentive status, assigned ordering stores, and title of each staff added to the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppStaffList/).
144
144
  */
145
145
  async getAppStaffList(
@@ -234,7 +234,7 @@ class Configuration {
234
234
  * @returns {Promise<ConfigurationApplicationModel.AppStaffResponse>} -
235
235
  * Success response
236
236
  * @name getAppStaffs
237
- * @summary: Fetches detailed staff info.
237
+ * @summary: Fetches detailed staff info
238
238
  * @description: Retrieve a list of staff including the names, employee code, incentive status, assigned ordering stores, and title of each staff added to the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppStaffs/).
239
239
  */
240
240
  async getAppStaffs(
@@ -317,7 +317,7 @@ class Configuration {
317
317
  * @param {import("../ApplicationAPIClient").Options} - Options
318
318
  * @returns {Promise<ConfigurationApplicationModel.Application>} - Success response
319
319
  * @name getApplication
320
- * @summary: Fetches application details.
320
+ * @summary: Fetches application details
321
321
  * @description: Retrieve the current sales channel details which includes configurations that indicate the status of the website, domain, ID, tokens, images, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getApplication/).
322
322
  */
323
323
  async getApplication(
@@ -398,7 +398,7 @@ class Configuration {
398
398
  * @returns {Promise<ConfigurationApplicationModel.ApplicationDetail>} -
399
399
  * Success response
400
400
  * @name getBasicDetails
401
- * @summary: Retrieves basic app info.
401
+ * @summary: Retrieves basic app info
402
402
  * @description: Retrieve only the basic details of the application which includes channel name, description, banner, logo, favicon, domain details, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getBasicDetails/).
403
403
  */
404
404
  async getBasicDetails(
@@ -480,7 +480,7 @@ class Configuration {
480
480
  * - Success response
481
481
  *
482
482
  * @name getContactInfo
483
- * @summary: Retrieves contact details.
483
+ * @summary: Retrieves contact details
484
484
  * @description: Retrieve information about the social links, address and contact information of the company/seller/brand operating the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getContactInfo/).
485
485
  */
486
486
  async getContactInfo(
@@ -561,7 +561,7 @@ class Configuration {
561
561
  * @returns {Promise<ConfigurationApplicationModel.CurrenciesResponse>} -
562
562
  * Success response
563
563
  * @name getCurrencies
564
- * @summary: Lists supported currencies.
564
+ * @summary: Lists supported currencies
565
565
  * @description: Retrieve a list of currencies available. Also get the name, code, symbol, and the decimal digits of the currencies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getCurrencies/).
566
566
  */
567
567
  async getCurrencies(
@@ -641,7 +641,7 @@ class Configuration {
641
641
  * @param {import("../ApplicationAPIClient").Options} - Options
642
642
  * @returns {Promise<ConfigurationApplicationModel.Currency>} - Success response
643
643
  * @name getCurrencyById
644
- * @summary: Fetches currency by ID.
644
+ * @summary: Fetches currency by ID
645
645
  * @description: Retrieve details of a specific currency using its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getCurrencyById/).
646
646
  */
647
647
  async getCurrencyById(
@@ -722,7 +722,7 @@ class Configuration {
722
722
  * @returns {Promise<ConfigurationApplicationModel.AppFeatureResponse>} -
723
723
  * Success response
724
724
  * @name getFeatures
725
- * @summary: Fetches app features.
725
+ * @summary: Fetches app features
726
726
  * @description: Retrieve the configuration of features such as product detail, landing page, options in the login/registration screen, communication opt-in, cart options and many more. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getFeatures/).
727
727
  */
728
728
  async getFeatures(
@@ -803,7 +803,7 @@ class Configuration {
803
803
  * @returns {Promise<ConfigurationApplicationModel.AppTokenResponse>} -
804
804
  * Success response
805
805
  * @name getIntegrationTokens
806
- * @summary: Fetches API tokens.
806
+ * @summary: Fetches API tokens
807
807
  * @description: Retrieve the tokens used while integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map and Facebook. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getIntegrationTokens/).
808
808
  */
809
809
  async getIntegrationTokens(
@@ -884,7 +884,7 @@ class Configuration {
884
884
  * @returns {Promise<ConfigurationApplicationModel.LanguageResponse>} -
885
885
  * Success response
886
886
  * @name getLanguages
887
- * @summary: Lists available languages.
887
+ * @summary: Lists available languages
888
888
  * @description: Retrieves all languages supported by the app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getLanguages/).
889
889
  */
890
890
  async getLanguages(
@@ -966,7 +966,7 @@ class Configuration {
966
966
  * - Success response
967
967
  *
968
968
  * @name getOrderingStoreCookie
969
- * @summary: Retrieves store selection cookie.
969
+ * @summary: Retrieves store selection cookie
970
970
  * @description: Retrieve an Ordering Store signed cookie upon selecting an ordering store. This will be used by the cart service to verify a coupon against the selected ordering store in cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getOrderingStoreCookie/).
971
971
  */
972
972
  async getOrderingStoreCookie(
@@ -1046,7 +1046,7 @@ class Configuration {
1046
1046
  * @param {import("../ApplicationAPIClient").Options} - Options
1047
1047
  * @returns {Promise<ConfigurationApplicationModel.OrderingStores>} - Success response
1048
1048
  * @name getOrderingStores
1049
- * @summary: Lists order-enabled stores.
1049
+ * @summary: Lists order-enabled stores
1050
1050
  * @description: Retrieve the details of all the deployment stores (the selling locations where the application will be utilized for placing orders). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getOrderingStores/).
1051
1051
  */
1052
1052
  async getOrderingStores(
@@ -1131,7 +1131,7 @@ class Configuration {
1131
1131
  * - Success response
1132
1132
  *
1133
1133
  * @name getOwnerInfo
1134
- * @summary: Retrieves application owner details.
1134
+ * @summary: Retrieves application owner details
1135
1135
  * @description: Retrieve the current sales channel details which includes channel name, description, banner, logo, favicon, domain details, etc. Also retrieves the seller and owner information such as address, email address, and phone number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getOwnerInfo/).
1136
1136
  */
1137
1137
  async getOwnerInfo(
@@ -1210,7 +1210,7 @@ class Configuration {
1210
1210
  * @param {import("../ApplicationAPIClient").Options} - Options
1211
1211
  * @returns {Promise<ConfigurationApplicationModel.OrderingStore>} - Success response
1212
1212
  * @name getStoreDetailById
1213
- * @summary: Retrieves store details by ID.
1213
+ * @summary: Retrieves store details by ID
1214
1214
  * @description: Retrieve the details of given stores uid (the selling locations where the application will be utilized for placing orders). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getStoreDetailById/).
1215
1215
  */
1216
1216
  async getStoreDetailById(
@@ -1294,7 +1294,7 @@ class Configuration {
1294
1294
  * - Success response
1295
1295
  *
1296
1296
  * @name removeOrderingStoreCookie
1297
- * @summary: Deletes store cookie.
1297
+ * @summary: Deletes store cookie
1298
1298
  * @description: Unset the Ordering Store cookie upon changing the sales channel, by its domain URL, in the Universal Fynd Store app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/removeOrderingStoreCookie/).
1299
1299
  */
1300
1300
  async removeOrderingStoreCookie(
@@ -46,7 +46,7 @@ declare class Content {
46
46
  * @param {import("../ApplicationAPIClient").Options} - Options
47
47
  * @returns {Promise<ContentApplicationModel.BlogSchema>} - Success response
48
48
  * @name getBlog
49
- * @summary: Retrieves a single blog post.
49
+ * @summary: Retrieves a single blog post
50
50
  * @description: Retrieves all information relate to a specific blog such as it's contents, author, publish date, SEO related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlog/).
51
51
  */
52
52
  getBlog({ slug, rootId, requestHeaders }?: ContentApplicationValidator.GetBlogParam, { responseHeaders }?: object): Promise<ContentApplicationModel.BlogSchema>;
@@ -68,7 +68,7 @@ declare class Content {
68
68
  * - Success response
69
69
  *
70
70
  * @name getCustomFields
71
- * @summary: Get list of custom fields of given resource and resource_id.
71
+ * @summary: Get list of custom fields of given resource and resource_id
72
72
  * @description: Use this API to retrieve the custom fields for given resource and resource_id in param. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFields/).
73
73
  */
74
74
  getCustomFields({ resource, resourceId, requestHeaders }?: ContentApplicationValidator.GetCustomFieldsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.CustomFieldsResponseByResourceIdSchema>;
@@ -99,7 +99,7 @@ declare class Content {
99
99
  * @param {import("../ApplicationAPIClient").Options} - Options
100
100
  * @returns {Promise<ContentApplicationModel.FaqSchema>} - Success response
101
101
  * @name getFaqBySlug
102
- * @summary: Retrieves FAQ by slug.
102
+ * @summary: Retrieves FAQ by slug
103
103
  * @description: Retrieves a specific FAQ using its slug identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqBySlug/).
104
104
  */
105
105
  getFaqBySlug({ slug, requestHeaders }?: ContentApplicationValidator.GetFaqBySlugParam, { responseHeaders }?: object): Promise<ContentApplicationModel.FaqSchema>;
@@ -110,7 +110,7 @@ declare class Content {
110
110
  * @returns {Promise<ContentApplicationModel.GetFaqCategoriesSchema>} -
111
111
  * Success response
112
112
  * @name getFaqCategories
113
- * @summary: Lists FAQ categories.
113
+ * @summary: Lists FAQ categories
114
114
  * @description: Retrieve categories for organizing FAQs. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqCategories/).
115
115
  */
116
116
  getFaqCategories({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentApplicationModel.GetFaqCategoriesSchema>;
@@ -121,7 +121,7 @@ declare class Content {
121
121
  * @returns {Promise<ContentApplicationModel.GetFaqCategoryBySlugSchema>} -
122
122
  * Success response
123
123
  * @name getFaqCategoryBySlug
124
- * @summary: Retrieves FAQ category by slug.
124
+ * @summary: Retrieves FAQ category by slug
125
125
  * @description: Retrieve a specific FAQ category using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqCategoryBySlug/).
126
126
  */
127
127
  getFaqCategoryBySlug({ slug, requestHeaders }?: ContentApplicationValidator.GetFaqCategoryBySlugParam, { responseHeaders }?: object): Promise<ContentApplicationModel.GetFaqCategoryBySlugSchema>;
@@ -141,7 +141,7 @@ declare class Content {
141
141
  * @param {import("../ApplicationAPIClient").Options} - Options
142
142
  * @returns {Promise<ContentApplicationModel.GetFaqSchema>} - Success response
143
143
  * @name getFaqsByCategorySlug
144
- * @summary: Retrieves FAQs by category.
144
+ * @summary: Retrieves FAQs by category
145
145
  * @description: Retrieves FAQs belonging to a specific category slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqsByCategorySlug/).
146
146
  */
147
147
  getFaqsByCategorySlug({ slug, requestHeaders }?: ContentApplicationValidator.GetFaqsByCategorySlugParam, { responseHeaders }?: object): Promise<ContentApplicationModel.GetFaqSchema>;
@@ -151,7 +151,7 @@ declare class Content {
151
151
  * @param {import("../ApplicationAPIClient").Options} - Options
152
152
  * @returns {Promise<ContentApplicationModel.LandingPageSchema>} - Success response
153
153
  * @name getLandingPage
154
- * @summary: Fetches landing page.
154
+ * @summary: Fetches landing page
155
155
  * @description: Gets the content of the application's landing page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getLandingPage/).
156
156
  */
157
157
  getLandingPage({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentApplicationModel.LandingPageSchema>;
@@ -161,7 +161,7 @@ declare class Content {
161
161
  * @param {import("../ApplicationAPIClient").Options} - Options
162
162
  * @returns {Promise<ContentApplicationModel.ApplicationLegal>} - Success response
163
163
  * @name getLegalInformation
164
- * @summary: Retrieves legal information.
164
+ * @summary: Retrieves legal information
165
165
  * @description: Retrieve legal policies for an application which includes Terms and conditions, return policy, shipping policy and privacy policy. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getLegalInformation/).
166
166
  */
167
167
  getLegalInformation({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentApplicationModel.ApplicationLegal>;
@@ -182,7 +182,7 @@ declare class Content {
182
182
  * @param {import("../ApplicationAPIClient").Options} - Options
183
183
  * @returns {Promise<ContentApplicationModel.PageSchema>} - Success response
184
184
  * @name getPage
185
- * @summary: Single page details.
185
+ * @summary: Single page details
186
186
  * @description: Retrieve detailed information for a specific page within the theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPage/).
187
187
  */
188
188
  getPage({ slug, rootId, requestHeaders }?: ContentApplicationValidator.GetPageParam, { responseHeaders }?: object): Promise<ContentApplicationModel.PageSchema>;
@@ -192,7 +192,7 @@ declare class Content {
192
192
  * @param {import("../ApplicationAPIClient").Options} - Options
193
193
  * @returns {Promise<ContentApplicationModel.PageGetResponse>} - Success response
194
194
  * @name getPages
195
- * @summary: Lists all pages.
195
+ * @summary: Lists all pages
196
196
  * @description: Retrieve all available content pages in the app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPages/).
197
197
  */
198
198
  getPages({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetPagesParam, { responseHeaders }?: object): Promise<ContentApplicationModel.PageGetResponse>;
@@ -143,7 +143,7 @@ class Content {
143
143
  * @param {import("../ApplicationAPIClient").Options} - Options
144
144
  * @returns {Promise<ContentApplicationModel.BlogSchema>} - Success response
145
145
  * @name getBlog
146
- * @summary: Retrieves a single blog post.
146
+ * @summary: Retrieves a single blog post
147
147
  * @description: Retrieves all information relate to a specific blog such as it's contents, author, publish date, SEO related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlog/).
148
148
  */
149
149
  async getBlog(
@@ -300,7 +300,7 @@ class Content {
300
300
  * - Success response
301
301
  *
302
302
  * @name getCustomFields
303
- * @summary: Get list of custom fields of given resource and resource_id.
303
+ * @summary: Get list of custom fields of given resource and resource_id
304
304
  * @description: Use this API to retrieve the custom fields for given resource and resource_id in param. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFields/).
305
305
  */
306
306
  async getCustomFields(
@@ -535,7 +535,7 @@ class Content {
535
535
  * @param {import("../ApplicationAPIClient").Options} - Options
536
536
  * @returns {Promise<ContentApplicationModel.FaqSchema>} - Success response
537
537
  * @name getFaqBySlug
538
- * @summary: Retrieves FAQ by slug.
538
+ * @summary: Retrieves FAQ by slug
539
539
  * @description: Retrieves a specific FAQ using its slug identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqBySlug/).
540
540
  */
541
541
  async getFaqBySlug(
@@ -614,7 +614,7 @@ class Content {
614
614
  * @returns {Promise<ContentApplicationModel.GetFaqCategoriesSchema>} -
615
615
  * Success response
616
616
  * @name getFaqCategories
617
- * @summary: Lists FAQ categories.
617
+ * @summary: Lists FAQ categories
618
618
  * @description: Retrieve categories for organizing FAQs. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqCategories/).
619
619
  */
620
620
  async getFaqCategories(
@@ -693,7 +693,7 @@ class Content {
693
693
  * @returns {Promise<ContentApplicationModel.GetFaqCategoryBySlugSchema>} -
694
694
  * Success response
695
695
  * @name getFaqCategoryBySlug
696
- * @summary: Retrieves FAQ category by slug.
696
+ * @summary: Retrieves FAQ category by slug
697
697
  * @description: Retrieve a specific FAQ category using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqCategoryBySlug/).
698
698
  */
699
699
  async getFaqCategoryBySlug(
@@ -849,7 +849,7 @@ class Content {
849
849
  * @param {import("../ApplicationAPIClient").Options} - Options
850
850
  * @returns {Promise<ContentApplicationModel.GetFaqSchema>} - Success response
851
851
  * @name getFaqsByCategorySlug
852
- * @summary: Retrieves FAQs by category.
852
+ * @summary: Retrieves FAQs by category
853
853
  * @description: Retrieves FAQs belonging to a specific category slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqsByCategorySlug/).
854
854
  */
855
855
  async getFaqsByCategorySlug(
@@ -929,7 +929,7 @@ class Content {
929
929
  * @param {import("../ApplicationAPIClient").Options} - Options
930
930
  * @returns {Promise<ContentApplicationModel.LandingPageSchema>} - Success response
931
931
  * @name getLandingPage
932
- * @summary: Fetches landing page.
932
+ * @summary: Fetches landing page
933
933
  * @description: Gets the content of the application's landing page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getLandingPage/).
934
934
  */
935
935
  async getLandingPage(
@@ -1007,7 +1007,7 @@ class Content {
1007
1007
  * @param {import("../ApplicationAPIClient").Options} - Options
1008
1008
  * @returns {Promise<ContentApplicationModel.ApplicationLegal>} - Success response
1009
1009
  * @name getLegalInformation
1010
- * @summary: Retrieves legal information.
1010
+ * @summary: Retrieves legal information
1011
1011
  * @description: Retrieve legal policies for an application which includes Terms and conditions, return policy, shipping policy and privacy policy. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getLegalInformation/).
1012
1012
  */
1013
1013
  async getLegalInformation(
@@ -1168,7 +1168,7 @@ class Content {
1168
1168
  * @param {import("../ApplicationAPIClient").Options} - Options
1169
1169
  * @returns {Promise<ContentApplicationModel.PageSchema>} - Success response
1170
1170
  * @name getPage
1171
- * @summary: Single page details.
1171
+ * @summary: Single page details
1172
1172
  * @description: Retrieve detailed information for a specific page within the theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPage/).
1173
1173
  */
1174
1174
  async getPage(
@@ -1245,7 +1245,7 @@ class Content {
1245
1245
  * @param {import("../ApplicationAPIClient").Options} - Options
1246
1246
  * @returns {Promise<ContentApplicationModel.PageGetResponse>} - Success response
1247
1247
  * @name getPages
1248
- * @summary: Lists all pages.
1248
+ * @summary: Lists all pages
1249
1249
  * @description: Retrieve all available content pages in the app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPages/).
1250
1250
  */
1251
1251
  async getPages(
@@ -175,16 +175,9 @@ export = ContentApplicationModel;
175
175
  */
176
176
  /**
177
177
  * @typedef Action
178
+ * @property {string} [type]
178
179
  * @property {ActionPage} [page]
179
180
  * @property {ActionPage} [popup]
180
- * @property {string} [type]
181
- */
182
- /**
183
- * @typedef ActionPage
184
- * @property {Object} [params]
185
- * @property {Object} [query]
186
- * @property {string} [url]
187
- * @property {PageType} type
188
181
  */
189
182
  /**
190
183
  * @typedef NavigationReference
@@ -537,6 +530,13 @@ export = ContentApplicationModel;
537
530
  * @typedef CustomFieldsResponseByResourceIdSchema
538
531
  * @property {CustomFieldSchema[]} [items]
539
532
  */
533
+ /**
534
+ * @typedef ActionPage
535
+ * @property {Object} [params]
536
+ * @property {Object} [query]
537
+ * @property {string} [url]
538
+ * @property {PageType} type
539
+ */
540
540
  /**
541
541
  * @typedef {| "about-us"
542
542
  * | "addresses"
@@ -588,7 +588,7 @@ export = ContentApplicationModel;
588
588
  declare class ContentApplicationModel {
589
589
  }
590
590
  declare namespace ContentApplicationModel {
591
- export { ApplicationLegal, ApplicationLegalFAQ, SeoComponent, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, AnnouncementSchema, ScheduleStartSchema, BlogGetResponse, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, LocaleLanguage, Language, Action, ActionPage, NavigationReference, ConfigurationSchema, SlideshowMedia, AnnouncementsResponseSchema, FaqResponseSchema, DataLoaderSchema, DataLoaderSourceSchema, DataLoadersSchema, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, FAQCategorySchema, FaqSchema, GetFaqSchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageSchema, NavigationGetResponse, Orientation, NavigationSchema, PageGetResponse, PageSchema, CreatedBySchema, CronSchedule, SlideshowGetResponse, SlideshowSchema, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, CustomObjectFieldValue, CustomObjectListItemDefinationSchema, CustomObjectFieldSchema, CustomObjectByIdSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseByResourceIdSchema, PageType };
591
+ export { ApplicationLegal, ApplicationLegalFAQ, SeoComponent, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, AnnouncementSchema, ScheduleStartSchema, BlogGetResponse, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, LocaleLanguage, Language, Action, NavigationReference, ConfigurationSchema, SlideshowMedia, AnnouncementsResponseSchema, FaqResponseSchema, DataLoaderSchema, DataLoaderSourceSchema, DataLoadersSchema, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, FAQCategorySchema, FaqSchema, GetFaqSchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageSchema, NavigationGetResponse, Orientation, NavigationSchema, PageGetResponse, PageSchema, CreatedBySchema, CronSchedule, SlideshowGetResponse, SlideshowSchema, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, CustomObjectFieldValue, CustomObjectListItemDefinationSchema, CustomObjectFieldSchema, CustomObjectByIdSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseByResourceIdSchema, ActionPage, PageType };
592
592
  }
593
593
  /** @returns {ApplicationLegal} */
594
594
  declare function ApplicationLegal(): ApplicationLegal;
@@ -793,17 +793,9 @@ type Language = {
793
793
  /** @returns {Action} */
794
794
  declare function Action(): Action;
795
795
  type Action = {
796
+ type?: string;
796
797
  page?: ActionPage;
797
798
  popup?: ActionPage;
798
- type?: string;
799
- };
800
- /** @returns {ActionPage} */
801
- declare function ActionPage(): ActionPage;
802
- type ActionPage = {
803
- params?: any;
804
- query?: any;
805
- url?: string;
806
- type: PageType;
807
799
  };
808
800
  /** @returns {NavigationReference} */
809
801
  declare function NavigationReference(): NavigationReference;
@@ -1209,6 +1201,14 @@ declare function CustomFieldsResponseByResourceIdSchema(): CustomFieldsResponseB
1209
1201
  type CustomFieldsResponseByResourceIdSchema = {
1210
1202
  items?: CustomFieldSchema[];
1211
1203
  };
1204
+ /** @returns {ActionPage} */
1205
+ declare function ActionPage(): ActionPage;
1206
+ type ActionPage = {
1207
+ params?: any;
1208
+ query?: any;
1209
+ url?: string;
1210
+ type: PageType;
1211
+ };
1212
1212
  /**
1213
1213
  * Enum: PageType Used By: Content
1214
1214
  *
@@ -202,17 +202,9 @@ const Joi = require("joi");
202
202
 
203
203
  /**
204
204
  * @typedef Action
205
+ * @property {string} [type]
205
206
  * @property {ActionPage} [page]
206
207
  * @property {ActionPage} [popup]
207
- * @property {string} [type]
208
- */
209
-
210
- /**
211
- * @typedef ActionPage
212
- * @property {Object} [params]
213
- * @property {Object} [query]
214
- * @property {string} [url]
215
- * @property {PageType} type
216
208
  */
217
209
 
218
210
  /**
@@ -610,6 +602,14 @@ const Joi = require("joi");
610
602
  * @property {CustomFieldSchema[]} [items]
611
603
  */
612
604
 
605
+ /**
606
+ * @typedef ActionPage
607
+ * @property {Object} [params]
608
+ * @property {Object} [query]
609
+ * @property {string} [url]
610
+ * @property {PageType} type
611
+ */
612
+
613
613
  /**
614
614
  * @typedef {| "about-us"
615
615
  * | "addresses"
@@ -919,25 +919,9 @@ class ContentApplicationModel {
919
919
  /** @returns {Action} */
920
920
  static Action() {
921
921
  return Joi.object({
922
+ type: Joi.string().allow(""),
922
923
  page: ContentApplicationModel.ActionPage(),
923
924
  popup: ContentApplicationModel.ActionPage(),
924
- type: Joi.string().allow(""),
925
- });
926
- }
927
-
928
- /** @returns {ActionPage} */
929
- static ActionPage() {
930
- return Joi.object({
931
- params: Joi.object().pattern(
932
- /\S/,
933
- Joi.array().items(Joi.string().allow(""))
934
- ),
935
- query: Joi.object().pattern(
936
- /\S/,
937
- Joi.array().items(Joi.string().allow(""))
938
- ),
939
- url: Joi.string().allow(""),
940
- type: ContentApplicationModel.PageType().required(),
941
925
  });
942
926
  }
943
927
 
@@ -1430,6 +1414,22 @@ class ContentApplicationModel {
1430
1414
  });
1431
1415
  }
1432
1416
 
1417
+ /** @returns {ActionPage} */
1418
+ static ActionPage() {
1419
+ return Joi.object({
1420
+ params: Joi.object().pattern(
1421
+ /\S/,
1422
+ Joi.array().items(Joi.string().allow(""))
1423
+ ),
1424
+ query: Joi.object().pattern(
1425
+ /\S/,
1426
+ Joi.array().items(Joi.string().allow(""))
1427
+ ),
1428
+ url: Joi.string().allow(""),
1429
+ type: ContentApplicationModel.PageType().required(),
1430
+ });
1431
+ }
1432
+
1433
1433
  /**
1434
1434
  * Enum: PageType Used By: Content
1435
1435
  *
@@ -15,7 +15,7 @@ declare class FileStorage {
15
15
  * @param {import("../ApplicationAPIClient").Options} - Options
16
16
  * @returns {Promise<FileStorageApplicationModel.CompleteResponse>} - Success response
17
17
  * @name completeUpload
18
- * @summary: Finalizes upload process.
18
+ * @summary: Finalizes upload process
19
19
  * @description: Complete the process of uploading the file, and will return the URL of the uploaded file - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/filestorage/completeUpload/).
20
20
  */
21
21
  completeUpload({ namespace, body, requestHeaders }?: FileStorageApplicationValidator.CompleteUploadParam, { responseHeaders }?: object): Promise<FileStorageApplicationModel.CompleteResponse>;
@@ -25,7 +25,7 @@ declare class FileStorage {
25
25
  * @param {import("../ApplicationAPIClient").Options} - Options
26
26
  * @returns {Promise<FileStorageApplicationModel.SignUrlResponse>} - Success response
27
27
  * @name signUrls
28
- * @summary: Signs file URLs.
28
+ * @summary: Signs file URLs
29
29
  * @description: Generates secure, signed URLs that is valid for certain expiry time for accessing stored files. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/filestorage/signUrls/).
30
30
  */
31
31
  signUrls({ body, requestHeaders }?: FileStorageApplicationValidator.SignUrlsParam, { responseHeaders }?: object): Promise<FileStorageApplicationModel.SignUrlResponse>;
@@ -9,7 +9,7 @@ const FileStorageApplicationValidator = require("./FileStorageApplicationValidat
9
9
  const FileStorageApplicationModel = require("./FileStorageApplicationModel");
10
10
  const { Logger } = require("./../../common/Logger");
11
11
  const Joi = require("joi");
12
- const axios = require("axios");
12
+ const { fdkAxios } = require("../../common/AxiosHelper.js");
13
13
 
14
14
  class FileStorage {
15
15
  constructor(_conf) {
@@ -43,7 +43,7 @@ class FileStorage {
43
43
  * @param {import("../ApplicationAPIClient").Options} - Options
44
44
  * @returns {Promise<FileStorageApplicationModel.CompleteResponse>} - Success response
45
45
  * @name completeUpload
46
- * @summary: Finalizes upload process.
46
+ * @summary: Finalizes upload process
47
47
  * @description: Complete the process of uploading the file, and will return the URL of the uploaded file - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/filestorage/completeUpload/).
48
48
  */
49
49
  async completeUpload(
@@ -121,7 +121,7 @@ class FileStorage {
121
121
  * @param {import("../ApplicationAPIClient").Options} - Options
122
122
  * @returns {Promise<FileStorageApplicationModel.SignUrlResponse>} - Success response
123
123
  * @name signUrls
124
- * @summary: Signs file URLs.
124
+ * @summary: Signs file URLs
125
125
  * @description: Generates secure, signed URLs that is valid for certain expiry time for accessing stored files. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/filestorage/signUrls/).
126
126
  */
127
127
  async signUrls(
@@ -300,10 +300,16 @@ FileStorage.prototype.upload = function ({
300
300
  },
301
301
  });
302
302
  if (dataObj.upload && dataObj.upload.url) {
303
- await axios.put(dataObj.upload.url, data, {
303
+ let rawRequest = {
304
+ method: "PUT",
305
+ url: dataObj.upload.url,
306
+ data: data,
307
+ headers: {
308
+ "Content-Type": content_type,
309
+ },
304
310
  withCredentials: false,
305
- headers: { "Content-Type": content_type },
306
- });
311
+ };
312
+ await fdkAxios.request(rawRequest);
307
313
  } else {
308
314
  reject({ message: "Failed to upload file" });
309
315
  }
@@ -19,7 +19,7 @@ declare class Lead {
19
19
  * @param {import("../ApplicationAPIClient").Options} - Options
20
20
  * @returns {Promise<LeadApplicationModel.TicketHistory>} - Success response
21
21
  * @name createHistory
22
- * @summary: Logs ticket history.
22
+ * @summary: Logs ticket history
23
23
  * @description: Adds a history entry for a specific support ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/createHistory/).
24
24
  */
25
25
  createHistory({ id, body, requestHeaders }?: LeadApplicationValidator.CreateHistoryParam, { responseHeaders }?: object): Promise<LeadApplicationModel.TicketHistory>;
@@ -29,7 +29,7 @@ declare class Lead {
29
29
  * @param {import("../ApplicationAPIClient").Options} - Options
30
30
  * @returns {Promise<LeadApplicationModel.Ticket>} - Success response
31
31
  * @name createTicket
32
- * @summary: Creates a new ticket.
32
+ * @summary: Creates a new ticket
33
33
  * @description: Generates a new customer support ticket for a user query. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/createTicket/).
34
34
  */
35
35
  createTicket({ body, requestHeaders }?: LeadApplicationValidator.CreateTicketParam, { responseHeaders }?: object): Promise<LeadApplicationModel.Ticket>;
@@ -39,7 +39,7 @@ declare class Lead {
39
39
  * @param {import("../ApplicationAPIClient").Options} - Options
40
40
  * @returns {Promise<LeadApplicationModel.CustomForm>} - Success response
41
41
  * @name getCustomForm
42
- * @summary: Fetches custom form.
42
+ * @summary: Fetches custom form
43
43
  * @description: Retrieves a customizable form template for data collection. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/getCustomForm/).
44
44
  */
45
45
  getCustomForm({ slug, requestHeaders }?: LeadApplicationValidator.GetCustomFormParam, { responseHeaders }?: object): Promise<LeadApplicationModel.CustomForm>;
@@ -53,7 +53,7 @@ declare class Lead {
53
53
  * - Success response
54
54
  *
55
55
  * @name getParticipantsInsideVideoRoom
56
- * @summary: Lists video room participants.
56
+ * @summary: Lists video room participants
57
57
  * @description: Gets the current participants inside a specific video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/getParticipantsInsideVideoRoom/).
58
58
  */
59
59
  getParticipantsInsideVideoRoom({ uniqueName, requestHeaders }?: LeadApplicationValidator.GetParticipantsInsideVideoRoomParam, { responseHeaders }?: object): Promise<LeadApplicationModel.GetParticipantsInsideVideoRoomResponse>;
@@ -63,7 +63,7 @@ declare class Lead {
63
63
  * @param {import("../ApplicationAPIClient").Options} - Options
64
64
  * @returns {Promise<LeadApplicationModel.Ticket>} - Success response
65
65
  * @name getTicket
66
- * @summary: Retrieves a support ticket.
66
+ * @summary: Retrieves a support ticket
67
67
  * @description: Retrieve details of a specific customer support ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/getTicket/).
68
68
  */
69
69
  getTicket({ id, requestHeaders }?: LeadApplicationValidator.GetTicketParam, { responseHeaders }?: object): Promise<LeadApplicationModel.Ticket>;
@@ -74,7 +74,7 @@ declare class Lead {
74
74
  * @returns {Promise<LeadApplicationModel.GetTokenForVideoRoomResponse>} -
75
75
  * Success response
76
76
  * @name getTokenForVideoRoom
77
- * @summary: Retrieves video room token.
77
+ * @summary: Retrieves video room token
78
78
  * @description: Retrieves a secure token for accessing a video chat room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/getTokenForVideoRoom/).
79
79
  */
80
80
  getTokenForVideoRoom({ uniqueName, requestHeaders }?: LeadApplicationValidator.GetTokenForVideoRoomParam, { responseHeaders }?: object): Promise<LeadApplicationModel.GetTokenForVideoRoomResponse>;
@@ -85,7 +85,7 @@ declare class Lead {
85
85
  * @returns {Promise<LeadApplicationModel.SubmitCustomFormResponse>} -
86
86
  * Success response
87
87
  * @name submitCustomForm
88
- * @summary: Submits form data.
88
+ * @summary: Submits form data
89
89
  * @description: Sends user-entered data from a custom form for processing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/submitCustomForm/).
90
90
  */
91
91
  submitCustomForm({ slug, body, requestHeaders }?: LeadApplicationValidator.SubmitCustomFormParam, { responseHeaders }?: object): Promise<LeadApplicationModel.SubmitCustomFormResponse>;