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

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 (254) hide show
  1. package/README.md +1 -10
  2. package/application.d.ts +3 -3
  3. package/common.d.ts +3 -3
  4. package/index.d.ts +15 -15
  5. package/package.json +5 -3
  6. package/partner.d.ts +3 -3
  7. package/platform.d.ts +3 -3
  8. package/public.d.ts +2 -2
  9. package/sdk/application/ApplicationAPIClient.d.ts +1 -1
  10. package/sdk/application/ApplicationAPIClient.js +0 -1
  11. package/sdk/application/ApplicationClient.d.ts +17 -17
  12. package/sdk/application/ApplicationConfig.d.ts +3 -3
  13. package/sdk/application/Cart/CartApplicationClient.d.ts +58 -58
  14. package/sdk/application/Cart/CartApplicationClient.js +56 -56
  15. package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -1
  16. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +72 -72
  17. package/sdk/application/Catalog/CatalogApplicationClient.js +69 -69
  18. package/sdk/application/Common/CommonApplicationClient.d.ts +6 -6
  19. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  20. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +8 -8
  21. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
  22. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
  23. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -34
  24. package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -32
  25. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +1 -1
  26. package/sdk/application/Content/ContentApplicationClient.d.ts +48 -48
  27. package/sdk/application/Content/ContentApplicationClient.js +45 -45
  28. package/sdk/application/Content/ContentApplicationModel.d.ts +18 -18
  29. package/sdk/application/Content/ContentApplicationModel.js +26 -26
  30. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +7 -7
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.js +15 -9
  32. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
  33. package/sdk/application/Lead/LeadApplicationClient.d.ts +12 -12
  34. package/sdk/application/Lead/LeadApplicationClient.js +10 -10
  35. package/sdk/application/Lead/LeadApplicationModel.d.ts +64 -77
  36. package/sdk/application/Lead/LeadApplicationModel.js +42 -52
  37. package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -1
  38. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +24 -24
  39. package/sdk/application/Logistic/LogisticApplicationClient.js +22 -22
  40. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
  41. package/sdk/application/Order/OrderApplicationClient.d.ts +19 -30
  42. package/sdk/application/Order/OrderApplicationClient.js +17 -97
  43. package/sdk/application/Order/OrderApplicationValidator.d.ts +2 -16
  44. package/sdk/application/Order/OrderApplicationValidator.js +0 -13
  45. package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -91
  46. package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
  47. package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -2
  48. package/sdk/application/Payment/PaymentApplicationModel.js +4 -2
  49. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +6 -6
  50. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  51. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +29 -29
  52. package/sdk/application/PosCart/PosCartApplicationClient.js +27 -27
  53. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +1 -1
  54. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +9 -9
  55. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  56. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +1 -1
  57. package/sdk/application/Share/ShareApplicationClient.d.ts +9 -9
  58. package/sdk/application/Share/ShareApplicationClient.js +7 -7
  59. package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
  60. package/sdk/application/Share/ShareApplicationModel.js +2 -0
  61. package/sdk/application/Share/ShareApplicationValidator.d.ts +1 -1
  62. package/sdk/application/Theme/ThemeApplicationClient.d.ts +10 -10
  63. package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
  64. package/sdk/application/Theme/ThemeApplicationModel.d.ts +25 -32
  65. package/sdk/application/Theme/ThemeApplicationModel.js +30 -40
  66. package/sdk/application/User/UserApplicationClient.d.ts +76 -76
  67. package/sdk/application/User/UserApplicationClient.js +74 -74
  68. package/sdk/application/User/UserApplicationModel.d.ts +44 -13
  69. package/sdk/application/User/UserApplicationModel.js +17 -13
  70. package/sdk/application/User/UserApplicationValidator.d.ts +1 -1
  71. package/sdk/application/index.d.ts +18 -18
  72. package/sdk/common/AxiosHelper.d.ts +1 -1
  73. package/sdk/common/AxiosHelper.js +38 -17
  74. package/sdk/common/Clickstream.js +22 -16
  75. package/sdk/common/curlHelper.js +1 -3
  76. package/sdk/common/utils.d.ts +15 -0
  77. package/sdk/common/utils.js +30 -0
  78. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +3 -3
  79. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +2 -2
  80. package/sdk/partner/Lead/LeadPartnerClient.d.ts +3 -3
  81. package/sdk/partner/Lead/LeadPartnerClient.js +1 -1
  82. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +5 -5
  83. package/sdk/partner/Logistics/LogisticsPartnerClient.js +4 -4
  84. package/sdk/partner/OAuthClient.d.ts +4 -4
  85. package/sdk/partner/PartnerAPIClient.d.ts +1 -1
  86. package/sdk/partner/PartnerAPIClient.js +0 -1
  87. package/sdk/partner/PartnerClient.d.ts +6 -6
  88. package/sdk/partner/PartnerConfig.d.ts +4 -4
  89. package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -20
  90. package/sdk/partner/Theme/ThemePartnerClient.js +19 -19
  91. package/sdk/partner/Theme/ThemePartnerModel.d.ts +25 -32
  92. package/sdk/partner/Theme/ThemePartnerModel.js +30 -40
  93. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +3 -3
  94. package/sdk/partner/Webhook/WebhookPartnerClient.js +2 -2
  95. package/sdk/partner/index.d.ts +7 -7
  96. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
  97. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +6 -6
  98. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
  99. package/sdk/platform/Billing/BillingPlatformClient.d.ts +25 -25
  100. package/sdk/platform/Billing/BillingPlatformClient.js +23 -23
  101. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +1 -1
  102. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +115 -115
  103. package/sdk/platform/Cart/CartPlatformApplicationClient.js +113 -113
  104. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -1
  105. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +147 -146
  106. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +146 -145
  107. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1 -1
  108. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +156 -156
  109. package/sdk/platform/Catalog/CatalogPlatformClient.js +153 -153
  110. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +65 -28
  111. package/sdk/platform/Catalog/CatalogPlatformModel.js +68 -36
  112. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -1
  113. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -5
  114. package/sdk/platform/Common/CommonPlatformClient.js +3 -3
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +133 -133
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +131 -131
  117. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +1 -1
  118. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +4 -4
  119. package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -2
  120. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +12 -0
  121. package/sdk/platform/Communication/CommunicationPlatformModel.js +12 -0
  122. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +28 -28
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +25 -25
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -0
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +2 -0
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +1 -1
  127. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -52
  128. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +50 -50
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +1 -1
  130. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +31 -31
  131. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +29 -29
  132. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -1
  133. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +128 -128
  134. package/sdk/platform/Content/ContentPlatformApplicationClient.js +131 -131
  135. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +5 -5
  136. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
  137. package/sdk/platform/Content/ContentPlatformClient.d.ts +33 -33
  138. package/sdk/platform/Content/ContentPlatformClient.js +37 -37
  139. package/sdk/platform/Content/ContentPlatformModel.d.ts +18 -18
  140. package/sdk/platform/Content/ContentPlatformModel.js +26 -26
  141. package/sdk/platform/Content/ContentPlatformValidator.d.ts +5 -5
  142. package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
  143. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +24 -24
  144. package/sdk/platform/Discount/DiscountPlatformClient.js +22 -22
  145. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +1 -1
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +24 -23
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +32 -25
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
  149. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +15 -15
  150. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +28 -19
  151. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +12 -1
  152. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +16 -2
  153. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +1 -1
  154. package/sdk/platform/Finance/FinancePlatformClient.d.ts +30 -30
  155. package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
  156. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -1
  157. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +19 -19
  158. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +17 -17
  159. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -1
  160. package/sdk/platform/Lead/LeadPlatformClient.d.ts +20 -20
  161. package/sdk/platform/Lead/LeadPlatformClient.js +18 -18
  162. package/sdk/platform/Lead/LeadPlatformModel.d.ts +62 -77
  163. package/sdk/platform/Lead/LeadPlatformModel.js +40 -52
  164. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -1
  165. package/sdk/platform/OAuthClient.d.ts +3 -3
  166. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +12 -12
  167. package/sdk/platform/Order/OrderPlatformApplicationClient.js +10 -10
  168. package/sdk/platform/Order/OrderPlatformClient.d.ts +111 -122
  169. package/sdk/platform/Order/OrderPlatformClient.js +109 -204
  170. package/sdk/platform/Order/OrderPlatformModel.d.ts +18 -2
  171. package/sdk/platform/Order/OrderPlatformModel.js +12 -2
  172. package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -34
  173. package/sdk/platform/Order/OrderPlatformValidator.js +0 -20
  174. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -6
  175. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
  176. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -1
  177. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +97 -97
  178. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +95 -95
  179. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -1
  180. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +13 -13
  181. package/sdk/platform/Payment/PaymentPlatformClient.js +11 -11
  182. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +7 -0
  183. package/sdk/platform/Payment/PaymentPlatformModel.js +3 -0
  184. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +1 -1
  185. package/sdk/platform/PlatformAPIClient.d.ts +1 -1
  186. package/sdk/platform/PlatformAPIClient.js +0 -1
  187. package/sdk/platform/PlatformApplicationClient.d.ts +16 -16
  188. package/sdk/platform/PlatformClient.d.ts +19 -21
  189. package/sdk/platform/PlatformClient.js +0 -4
  190. package/sdk/platform/PlatformConfig.d.ts +4 -4
  191. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +14 -14
  192. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
  193. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +42 -42
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +40 -40
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -1
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +55 -54
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +53 -52
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2 -2
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -2
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -1
  202. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
  203. package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
  204. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
  205. package/sdk/platform/Share/SharePlatformModel.d.ts +4 -0
  206. package/sdk/platform/Share/SharePlatformModel.js +4 -0
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +42 -112
  208. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +40 -597
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +2 -101
  210. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -92
  211. package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -8
  212. package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
  213. package/sdk/platform/Theme/ThemePlatformModel.d.ts +25 -32
  214. package/sdk/platform/Theme/ThemePlatformModel.js +30 -40
  215. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +1 -1
  216. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +37 -37
  217. package/sdk/platform/User/UserPlatformApplicationClient.js +35 -35
  218. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +1 -1
  219. package/sdk/platform/User/UserPlatformModel.d.ts +48 -13
  220. package/sdk/platform/User/UserPlatformModel.js +21 -13
  221. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +20 -19
  222. package/sdk/platform/Webhook/WebhookPlatformClient.js +18 -17
  223. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
  224. package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
  225. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +1 -1
  226. package/sdk/platform/index.d.ts +24 -25
  227. package/sdk/platform/index.js +0 -2
  228. package/sdk/public/Billing/BillingPublicClient.d.ts +3 -3
  229. package/sdk/public/Billing/BillingPublicClient.js +4 -4
  230. package/sdk/public/Billing/BillingPublicValidator.d.ts +2 -2
  231. package/sdk/public/Billing/BillingPublicValidator.js +2 -2
  232. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -3
  233. package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
  234. package/sdk/public/Content/ContentPublicClient.d.ts +2 -2
  235. package/sdk/public/Content/ContentPublicValidator.d.ts +2 -2
  236. package/sdk/public/Content/ContentPublicValidator.js +3 -3
  237. package/sdk/public/Inventory/InventoryPublicClient.d.ts +2 -2
  238. package/sdk/public/Inventory/InventoryPublicModel.d.ts +8 -8
  239. package/sdk/public/Inventory/InventoryPublicModel.js +8 -8
  240. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +1 -1
  241. package/sdk/public/Partner/PartnerPublicClient.d.ts +3 -3
  242. package/sdk/public/Partner/PartnerPublicClient.js +1 -1
  243. package/sdk/public/PublicAPIClient.d.ts +1 -1
  244. package/sdk/public/PublicClient.d.ts +7 -7
  245. package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
  246. package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
  247. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -1
  248. package/sdk/public/index.d.ts +8 -8
  249. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +0 -152
  250. package/sdk/platform/Inventory/InventoryPlatformClient.js +0 -1017
  251. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +0 -1355
  252. package/sdk/platform/Inventory/InventoryPlatformModel.js +0 -1544
  253. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +0 -171
  254. package/sdk/platform/Inventory/InventoryPlatformValidator.js +0 -159
@@ -23,8 +23,8 @@ declare class Logistic {
23
23
  * @param {import("../ApplicationAPIClient").Options} - Options
24
24
  * @returns {Promise<LogisticApplicationModel.CountryListResponse>} - Success response
25
25
  * @name getAllCountries
26
- * @summary: Lists all countries.
27
- * @description: Retrieve a list of all countries supported by the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getAllCountries/).
26
+ * @summary: Get deliverable countries
27
+ * @description: Retrieves a list of countries within the specified delivery zones for that application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getAllCountries/).
28
28
  */
29
29
  getAllCountries({ requestHeaders }?: any, { responseHeaders }?: object): Promise<LogisticApplicationModel.CountryListResponse>;
30
30
  /**
@@ -33,8 +33,8 @@ declare class Logistic {
33
33
  * @param {import("../ApplicationAPIClient").Options} - Options
34
34
  * @returns {Promise<LogisticApplicationModel.GetCountries>} - Success response
35
35
  * @name getCountries
36
- * @summary: Get all countries and associated data.
37
- * @description: Retrieve of all countries. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountries/).
36
+ * @summary: Get countries
37
+ * @description: Fetch the list of supported countries. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountries/).
38
38
  */
39
39
  getCountries({ onboarding, pageNo, pageSize, q, requestHeaders }?: LogisticApplicationValidator.GetCountriesParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetCountries>;
40
40
  /**
@@ -43,8 +43,8 @@ declare class Logistic {
43
43
  * @param {import("../ApplicationAPIClient").Options} - Options
44
44
  * @returns {Promise<LogisticApplicationModel.GetCountry>} - Success response
45
45
  * @name getCountry
46
- * @summary: Get single country and associated data.
47
- * @description: Retrieve data for a single country and address format. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountry/).
46
+ * @summary: Get country details
47
+ * @description: Fetch details about a particular country and its address format customized for different business scenarios. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountry/).
48
48
  */
49
49
  getCountry({ countryIsoCode, requestHeaders }?: LogisticApplicationValidator.GetCountryParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetCountry>;
50
50
  /**
@@ -53,8 +53,8 @@ declare class Logistic {
53
53
  * @param {import("../ApplicationAPIClient").Options} - Options
54
54
  * @returns {Promise<LogisticApplicationModel.GetLocalities>} - Success response
55
55
  * @name getLocalities
56
- * @summary: Get Localities.
57
- * @description: Get Localities data. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocalities/).
56
+ * @summary: Get localities
57
+ * @description: Retrieve geographical data for a specific type of locality based on the provided filters. For instance, obtain a list of cities for a given country and state. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocalities/).
58
58
  */
59
59
  getLocalities({ localityType, country, state, city, pageNo, pageSize, q, requestHeaders, }?: LogisticApplicationValidator.GetLocalitiesParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetLocalities>;
60
60
  /**
@@ -63,8 +63,8 @@ declare class Logistic {
63
63
  * @param {import("../ApplicationAPIClient").Options} - Options
64
64
  * @returns {Promise<LogisticApplicationModel.GetLocality>} - Success response
65
65
  * @name getLocality
66
- * @summary: Get Locality API
67
- * @description: Get Locality data - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocality/).
66
+ * @summary: Get locality detail
67
+ * @description: Retrieve detailed geographical data for a specific locality, such as a pincode. For example, for a pincode value of 400603, the service returns its parent locations, including city, state, and country details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocality/).
68
68
  */
69
69
  getLocality({ localityType, localityValue, country, state, city, requestHeaders }?: LogisticApplicationValidator.GetLocalityParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetLocality>;
70
70
  /**
@@ -73,8 +73,8 @@ declare class Logistic {
73
73
  * @param {import("../ApplicationAPIClient").Options} - Options
74
74
  * @returns {Promise<LogisticApplicationModel.GetStoreResponse>} - Success response
75
75
  * @name getLocations
76
- * @summary: Fetches available locations.
77
- * @description: Retrieves a list of all locations of countries, states, cities. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocations/).
76
+ * @summary: Get available selling locations
77
+ * @description: Retrieves stores available for the application based on Delivery Zones and Order Orchestration rules. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocations/).
78
78
  */
79
79
  getLocations({ xApplicationId, xApplicationData, country, state, city, pincode, sector, pageNo, pageSize, requestHeaders, }?: LogisticApplicationValidator.GetLocationsParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetStoreResponse>;
80
80
  /**
@@ -84,8 +84,8 @@ declare class Logistic {
84
84
  * @returns {Promise<LogisticApplicationModel.ReAssignStoreResponse>} -
85
85
  * Success response
86
86
  * @name getOptimalLocations
87
- * @summary: Finds optimal locations.
88
- * @description: Retrieve the most efficient locations for logistics purposes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getOptimalLocations/).
87
+ * @summary: Get selling locations
88
+ * @description: Determines and returns the best fulfillment center for customers by analyzing their location, product availability, and inventory levels. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getOptimalLocations/).
89
89
  */
90
90
  getOptimalLocations({ body, requestHeaders }?: LogisticApplicationValidator.GetOptimalLocationsParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.ReAssignStoreResponse>;
91
91
  /**
@@ -94,8 +94,8 @@ declare class Logistic {
94
94
  * @param {import("../ApplicationAPIClient").Options} - Options
95
95
  * @returns {Promise<LogisticApplicationModel.PincodeApiResponse>} - Success response
96
96
  * @name getPincodeCity
97
- * @summary: Fetches city by pincode.
98
- * @description: Retrieve the name of the city associated with a given pincode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeCity/).
97
+ * @summary: Get pincode details
98
+ * @description: Retrieve details of a specific pincode, such as obtaining its city and state information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeCity/).
99
99
  */
100
100
  getPincodeCity({ pincode, requestHeaders }?: LogisticApplicationValidator.GetPincodeCityParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.PincodeApiResponse>;
101
101
  /**
@@ -106,8 +106,8 @@ declare class Logistic {
106
106
  * - Success response
107
107
  *
108
108
  * @name getPincodeZones
109
- * @summary: Fetches zones by pincode.
110
- * @description: Retreive the logistical zones corresponding to a given pincode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeZones/).
109
+ * @summary: Get zones
110
+ * @description: Retrieve the delivery zone associated with a given pincode - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeZones/).
111
111
  */
112
112
  getPincodeZones({ body, requestHeaders }?: LogisticApplicationValidator.GetPincodeZonesParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetZoneFromPincodeViewResponse>;
113
113
  /**
@@ -116,8 +116,8 @@ declare class Logistic {
116
116
  * @param {import("../ApplicationAPIClient").Options} - Options
117
117
  * @returns {Promise<LogisticApplicationModel.TATViewResponse>} - Success response
118
118
  * @name getTatProduct
119
- * @summary: Retrieves product turnaround time.
120
- * @description: Retrieve the estimated delivery time for a specific product. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getTatProduct/).
119
+ * @summary: Get product's turnaround time
120
+ * @description: Retrieve the estimated delivery timeframe for a specific product from a designated store. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getTatProduct/).
121
121
  */
122
122
  getTatProduct({ body, requestHeaders }?: LogisticApplicationValidator.GetTatProductParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.TATViewResponse>;
123
123
  /**
@@ -127,10 +127,10 @@ declare class Logistic {
127
127
  * @returns {Promise<LogisticApplicationModel.ValidateAddressRequest>} -
128
128
  * Success response
129
129
  * @name validateAddress
130
- * @summary: Validate given address wrt template
131
- * @description: Validate given address wrt template - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/validateAddress/).
130
+ * @summary: Validate address
131
+ * @description: Validate addresses using specific templates customized for each country and tailored to various business scenarios. This validation ensures that the data conforms to the information currently stored in the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/validateAddress/).
132
132
  */
133
133
  validateAddress({ countryIsoCode, templateName, body, requestHeaders }?: LogisticApplicationValidator.ValidateAddressParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.ValidateAddressRequest>;
134
134
  }
135
- import LogisticApplicationModel = require("./LogisticApplicationModel");
136
- import LogisticApplicationValidator = require("./LogisticApplicationValidator");
135
+ import LogisticApplicationModel = require("sdk/output/javascript/code/sdk/application/Logistic/LogisticApplicationModel");
136
+ import LogisticApplicationValidator = require("sdk/output/javascript/code/sdk/application/Logistic/LogisticApplicationValidator");
@@ -53,8 +53,8 @@ class Logistic {
53
53
  * @param {import("../ApplicationAPIClient").Options} - Options
54
54
  * @returns {Promise<LogisticApplicationModel.CountryListResponse>} - Success response
55
55
  * @name getAllCountries
56
- * @summary: Lists all countries.
57
- * @description: Retrieve a list of all countries supported by the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getAllCountries/).
56
+ * @summary: Get deliverable countries
57
+ * @description: Retrieves a list of countries within the specified delivery zones for that application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getAllCountries/).
58
58
  */
59
59
  async getAllCountries(
60
60
  { requestHeaders } = { requestHeaders: {} },
@@ -131,8 +131,8 @@ class Logistic {
131
131
  * @param {import("../ApplicationAPIClient").Options} - Options
132
132
  * @returns {Promise<LogisticApplicationModel.GetCountries>} - Success response
133
133
  * @name getCountries
134
- * @summary: Get all countries and associated data.
135
- * @description: Retrieve of all countries. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountries/).
134
+ * @summary: Get countries
135
+ * @description: Fetch the list of supported countries. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountries/).
136
136
  */
137
137
  async getCountries(
138
138
  { onboarding, pageNo, pageSize, q, requestHeaders } = {
@@ -215,8 +215,8 @@ class Logistic {
215
215
  * @param {import("../ApplicationAPIClient").Options} - Options
216
216
  * @returns {Promise<LogisticApplicationModel.GetCountry>} - Success response
217
217
  * @name getCountry
218
- * @summary: Get single country and associated data.
219
- * @description: Retrieve data for a single country and address format. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountry/).
218
+ * @summary: Get country details
219
+ * @description: Fetch details about a particular country and its address format customized for different business scenarios. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountry/).
220
220
  */
221
221
  async getCountry(
222
222
  { countryIsoCode, requestHeaders } = { requestHeaders: {} },
@@ -293,8 +293,8 @@ class Logistic {
293
293
  * @param {import("../ApplicationAPIClient").Options} - Options
294
294
  * @returns {Promise<LogisticApplicationModel.GetLocalities>} - Success response
295
295
  * @name getLocalities
296
- * @summary: Get Localities.
297
- * @description: Get Localities data. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocalities/).
296
+ * @summary: Get localities
297
+ * @description: Retrieve geographical data for a specific type of locality based on the provided filters. For instance, obtain a list of cities for a given country and state. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocalities/).
298
298
  */
299
299
  async getLocalities(
300
300
  {
@@ -386,8 +386,8 @@ class Logistic {
386
386
  * @param {import("../ApplicationAPIClient").Options} - Options
387
387
  * @returns {Promise<LogisticApplicationModel.GetLocality>} - Success response
388
388
  * @name getLocality
389
- * @summary: Get Locality API
390
- * @description: Get Locality data - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocality/).
389
+ * @summary: Get locality detail
390
+ * @description: Retrieve detailed geographical data for a specific locality, such as a pincode. For example, for a pincode value of 400603, the service returns its parent locations, including city, state, and country details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocality/).
391
391
  */
392
392
  async getLocality(
393
393
  { localityType, localityValue, country, state, city, requestHeaders } = {
@@ -469,8 +469,8 @@ class Logistic {
469
469
  * @param {import("../ApplicationAPIClient").Options} - Options
470
470
  * @returns {Promise<LogisticApplicationModel.GetStoreResponse>} - Success response
471
471
  * @name getLocations
472
- * @summary: Fetches available locations.
473
- * @description: Retrieves a list of all locations of countries, states, cities. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocations/).
472
+ * @summary: Get available selling locations
473
+ * @description: Retrieves stores available for the application based on Delivery Zones and Order Orchestration rules. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocations/).
474
474
  */
475
475
  async getLocations(
476
476
  {
@@ -588,8 +588,8 @@ class Logistic {
588
588
  * @returns {Promise<LogisticApplicationModel.ReAssignStoreResponse>} -
589
589
  * Success response
590
590
  * @name getOptimalLocations
591
- * @summary: Finds optimal locations.
592
- * @description: Retrieve the most efficient locations for logistics purposes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getOptimalLocations/).
591
+ * @summary: Get selling locations
592
+ * @description: Determines and returns the best fulfillment center for customers by analyzing their location, product availability, and inventory levels. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getOptimalLocations/).
593
593
  */
594
594
  async getOptimalLocations(
595
595
  { body, requestHeaders } = { requestHeaders: {} },
@@ -668,8 +668,8 @@ class Logistic {
668
668
  * @param {import("../ApplicationAPIClient").Options} - Options
669
669
  * @returns {Promise<LogisticApplicationModel.PincodeApiResponse>} - Success response
670
670
  * @name getPincodeCity
671
- * @summary: Fetches city by pincode.
672
- * @description: Retrieve the name of the city associated with a given pincode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeCity/).
671
+ * @summary: Get pincode details
672
+ * @description: Retrieve details of a specific pincode, such as obtaining its city and state information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeCity/).
673
673
  */
674
674
  async getPincodeCity(
675
675
  { pincode, requestHeaders } = { requestHeaders: {} },
@@ -748,8 +748,8 @@ class Logistic {
748
748
  * - Success response
749
749
  *
750
750
  * @name getPincodeZones
751
- * @summary: Fetches zones by pincode.
752
- * @description: Retreive the logistical zones corresponding to a given pincode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeZones/).
751
+ * @summary: Get zones
752
+ * @description: Retrieve the delivery zone associated with a given pincode - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeZones/).
753
753
  */
754
754
  async getPincodeZones(
755
755
  { body, requestHeaders } = { requestHeaders: {} },
@@ -826,8 +826,8 @@ class Logistic {
826
826
  * @param {import("../ApplicationAPIClient").Options} - Options
827
827
  * @returns {Promise<LogisticApplicationModel.TATViewResponse>} - Success response
828
828
  * @name getTatProduct
829
- * @summary: Retrieves product turnaround time.
830
- * @description: Retrieve the estimated delivery time for a specific product. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getTatProduct/).
829
+ * @summary: Get product's turnaround time
830
+ * @description: Retrieve the estimated delivery timeframe for a specific product from a designated store. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getTatProduct/).
831
831
  */
832
832
  async getTatProduct(
833
833
  { body, requestHeaders } = { requestHeaders: {} },
@@ -905,8 +905,8 @@ class Logistic {
905
905
  * @returns {Promise<LogisticApplicationModel.ValidateAddressRequest>} -
906
906
  * Success response
907
907
  * @name validateAddress
908
- * @summary: Validate given address wrt template
909
- * @description: Validate given address wrt template - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/validateAddress/).
908
+ * @summary: Validate address
909
+ * @description: Validate addresses using specific templates customized for each country and tailored to various business scenarios. This validation ensures that the data conforms to the information currently stored in the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/validateAddress/).
910
910
  */
911
911
  async validateAddress(
912
912
  { countryIsoCode, templateName, body, requestHeaders } = {
@@ -257,4 +257,4 @@ type ValidateAddressParam = {
257
257
  body: LogisticApplicationModel.ValidateAddressRequest;
258
258
  };
259
259
  type GetAllCountriesParam = any;
260
- import LogisticApplicationModel = require("./LogisticApplicationModel");
260
+ import LogisticApplicationModel = require("sdk/output/javascript/code/sdk/application/Logistic/LogisticApplicationModel");
@@ -7,7 +7,6 @@ declare class Order {
7
7
  getInvoiceByShipmentId: string;
8
8
  getOrderById: string;
9
9
  getOrders: string;
10
- getPosOrderById: string;
11
10
  getShipmentBagReasons: string;
12
11
  getShipmentById: string;
13
12
  getShipmentReasons: string;
@@ -27,7 +26,7 @@ declare class Order {
27
26
  * @returns {Promise<OrderApplicationModel.CustomerDetailsResponse>} -
28
27
  * Success response
29
28
  * @name getCustomerDetailsByShipmentId
30
- * @summary: Retrieves shipment customer.
29
+ * @summary: Get shipment's customer
31
30
  * @description: Retrieve customer details such as mobile number using Shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getCustomerDetailsByShipmentId/).
32
31
  */
33
32
  getCustomerDetailsByShipmentId({ orderId, shipmentId, requestHeaders }?: OrderApplicationValidator.GetCustomerDetailsByShipmentIdParam, { responseHeaders }?: object): Promise<OrderApplicationModel.CustomerDetailsResponse>;
@@ -38,7 +37,7 @@ declare class Order {
38
37
  * @returns {Promise<OrderApplicationModel.ResponseGetInvoiceShipment>} -
39
38
  * Success response
40
39
  * @name getInvoiceByShipmentId
41
- * @summary: Retrieves invoice for shipment.
40
+ * @summary: Retrieves invoice for shipment
42
41
  * @description: Retrieve the invoice corresponding to a specific shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getInvoiceByShipmentId/).
43
42
  */
44
43
  getInvoiceByShipmentId({ shipmentId, requestHeaders }?: OrderApplicationValidator.GetInvoiceByShipmentIdParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ResponseGetInvoiceShipment>;
@@ -48,8 +47,8 @@ declare class Order {
48
47
  * @param {import("../ApplicationAPIClient").Options} - Options
49
48
  * @returns {Promise<OrderApplicationModel.OrderById>} - Success response
50
49
  * @name getOrderById
51
- * @summary: Fetches order by ID.
52
- * @description: Retrieve order details such as tracking details, shipment, store information using Fynd Order ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getOrderById/).
50
+ * @summary: Get a order
51
+ * @description: Retrieve order details such as tracking details, shipment, store information using Fynd Order ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getOrderById/).
53
52
  */
54
53
  getOrderById({ orderId, allowInactive, requestHeaders }?: OrderApplicationValidator.GetOrderByIdParam, { responseHeaders }?: object): Promise<OrderApplicationModel.OrderById>;
55
54
  /**
@@ -58,28 +57,18 @@ declare class Order {
58
57
  * @param {import("../ApplicationAPIClient").Options} - Options
59
58
  * @returns {Promise<OrderApplicationModel.OrderList>} - Success response
60
59
  * @name getOrders
61
- * @summary: Lists customer orders.
62
- * @description: Retrieves all orders associated with a customer account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getOrders/).
60
+ * @summary: List customer orders
61
+ * @description: Retrieves all orders associated with a customer account - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getOrders/).
63
62
  */
64
63
  getOrders({ status, pageNo, pageSize, fromDate, toDate, startDate, endDate, customMeta, allowInactive, requestHeaders, }?: OrderApplicationValidator.GetOrdersParam, { responseHeaders }?: object): Promise<OrderApplicationModel.OrderList>;
65
- /**
66
- * @param {OrderApplicationValidator.GetPosOrderByIdParam} arg - Arg object.
67
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
68
- * @param {import("../ApplicationAPIClient").Options} - Options
69
- * @returns {Promise<OrderApplicationModel.OrderById>} - Success response
70
- * @name getPosOrderById
71
- * @summary: Retrieves POS order details.
72
- * @description: Retrieve a POS order and all its details such as tracking details, shipment, store information using Fynd Order ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getPosOrderById/).
73
- */
74
- getPosOrderById({ orderId, requestHeaders }?: OrderApplicationValidator.GetPosOrderByIdParam, { responseHeaders }?: object): Promise<OrderApplicationModel.OrderById>;
75
64
  /**
76
65
  * @param {OrderApplicationValidator.GetShipmentBagReasonsParam} arg - Arg object.
77
66
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
78
67
  * @param {import("../ApplicationAPIClient").Options} - Options
79
68
  * @returns {Promise<OrderApplicationModel.ShipmentBagReasons>} - Success response
80
69
  * @name getShipmentBagReasons
81
- * @summary: Lists bag reasons.
82
- * @description: Retrieves reasons that led to the cancellation for the status of shipment bags. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentBagReasons/).
70
+ * @summary: List bag cancellation reasons
71
+ * @description: Get reasons to perform full or partial cancellation of a bag - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentBagReasons/).
83
72
  */
84
73
  getShipmentBagReasons({ shipmentId, bagId, requestHeaders }?: OrderApplicationValidator.GetShipmentBagReasonsParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ShipmentBagReasons>;
85
74
  /**
@@ -88,7 +77,7 @@ declare class Order {
88
77
  * @param {import("../ApplicationAPIClient").Options} - Options
89
78
  * @returns {Promise<OrderApplicationModel.ShipmentById>} - Success response
90
79
  * @name getShipmentById
91
- * @summary: Fetches shipment by ID.
80
+ * @summary: Get a Shipment
92
81
  * @description: Retrieve shipment details such as price breakup, tracking details, store information, etc. using Shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentById/).
93
82
  */
94
83
  getShipmentById({ shipmentId, allowInactive, requestHeaders }?: OrderApplicationValidator.GetShipmentByIdParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ShipmentById>;
@@ -98,8 +87,8 @@ declare class Order {
98
87
  * @param {import("../ApplicationAPIClient").Options} - Options
99
88
  * @returns {Promise<OrderApplicationModel.ShipmentReasons>} - Success response
100
89
  * @name getShipmentReasons
101
- * @summary: Lists shipment reasons.
102
- * @description: Retrieve reasons explaining various shipment statuses. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentReasons/).
90
+ * @summary: List shipment cancellation reasons
91
+ * @description: Get reasons to perform full or partial cancellation of a shipment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentReasons/).
103
92
  */
104
93
  getShipmentReasons({ shipmentId, requestHeaders }?: OrderApplicationValidator.GetShipmentReasonsParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ShipmentReasons>;
105
94
  /**
@@ -109,8 +98,8 @@ declare class Order {
109
98
  * @returns {Promise<OrderApplicationModel.SendOtpToCustomerResponse>} -
110
99
  * Success response
111
100
  * @name sendOtpToShipmentCustomer
112
- * @summary: Sends OTP to customer.
113
- * @description: Sends a one-time password (OTP) to the customer for shipment verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/sendOtpToShipmentCustomer/).
101
+ * @summary: Send OTP to customer
102
+ * @description: Sends a one-time password (OTP) to the customer for shipment verification - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/sendOtpToShipmentCustomer/).
114
103
  */
115
104
  sendOtpToShipmentCustomer({ orderId, shipmentId, requestHeaders }?: OrderApplicationValidator.SendOtpToShipmentCustomerParam, { responseHeaders }?: object): Promise<OrderApplicationModel.SendOtpToCustomerResponse>;
116
105
  /**
@@ -119,7 +108,7 @@ declare class Order {
119
108
  * @param {import("../ApplicationAPIClient").Options} - Options
120
109
  * @returns {Promise<OrderApplicationModel.ShipmentTrack>} - Success response
121
110
  * @name trackShipment
122
- * @summary: Tracks shipment status.
111
+ * @summary: Track shipment status
123
112
  * @description: Track Shipment by shipment id, for application based on application Id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/trackShipment/).
124
113
  */
125
114
  trackShipment({ shipmentId, requestHeaders }?: OrderApplicationValidator.TrackShipmentParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ShipmentTrack>;
@@ -131,8 +120,8 @@ declare class Order {
131
120
  * - Success response
132
121
  *
133
122
  * @name updateShipmentStatus
134
- * @summary: Updates shipment status.
135
- * @description: Modifies the current status of a specific shipment using its shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/updateShipmentStatus/).
123
+ * @summary: Updates shipment status
124
+ * @description: Modifies the current status of a specific shipment using its shipment ID. Supports both partial and full transition as per the configured settings. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/updateShipmentStatus/).
136
125
  */
137
126
  updateShipmentStatus({ shipmentId, body, requestHeaders }?: OrderApplicationValidator.UpdateShipmentStatusParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ShipmentApplicationStatusResponse>;
138
127
  /**
@@ -141,10 +130,10 @@ declare class Order {
141
130
  * @param {import("../ApplicationAPIClient").Options} - Options
142
131
  * @returns {Promise<OrderApplicationModel.VerifyOtpResponse>} - Success response
143
132
  * @name verifyOtpShipmentCustomer
144
- * @summary: Verifies OTP.
133
+ * @summary: Verifies OTP
145
134
  * @description: Confirms the OTP sent to the shipment customer for verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/verifyOtpShipmentCustomer/).
146
135
  */
147
136
  verifyOtpShipmentCustomer({ orderId, shipmentId, body, requestHeaders }?: OrderApplicationValidator.VerifyOtpShipmentCustomerParam, { responseHeaders }?: object): Promise<OrderApplicationModel.VerifyOtpResponse>;
148
137
  }
149
- import OrderApplicationValidator = require("./OrderApplicationValidator");
150
- import OrderApplicationModel = require("./OrderApplicationModel");
138
+ import OrderApplicationValidator = require("sdk/output/javascript/code/sdk/application/Order/OrderApplicationValidator");
139
+ import OrderApplicationModel = require("sdk/output/javascript/code/sdk/application/Order/OrderApplicationModel");
@@ -20,8 +20,6 @@ class Order {
20
20
  "/service/application/order/v1.0/orders/shipments/{shipment_id}/invoice",
21
21
  getOrderById: "/service/application/order/v1.0/orders/{order_id}",
22
22
  getOrders: "/service/application/order/v1.0/orders",
23
- getPosOrderById:
24
- "/service/application/order/v1.0/orders/pos-order/{order_id}",
25
23
  getShipmentBagReasons:
26
24
  "/service/application/order/v1.0/orders/shipments/{shipment_id}/bags/{bag_id}/reasons",
27
25
  getShipmentById:
@@ -62,7 +60,7 @@ class Order {
62
60
  * @returns {Promise<OrderApplicationModel.CustomerDetailsResponse>} -
63
61
  * Success response
64
62
  * @name getCustomerDetailsByShipmentId
65
- * @summary: Retrieves shipment customer.
63
+ * @summary: Get shipment's customer
66
64
  * @description: Retrieve customer details such as mobile number using Shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getCustomerDetailsByShipmentId/).
67
65
  */
68
66
  async getCustomerDetailsByShipmentId(
@@ -143,7 +141,7 @@ class Order {
143
141
  * @returns {Promise<OrderApplicationModel.ResponseGetInvoiceShipment>} -
144
142
  * Success response
145
143
  * @name getInvoiceByShipmentId
146
- * @summary: Retrieves invoice for shipment.
144
+ * @summary: Retrieves invoice for shipment
147
145
  * @description: Retrieve the invoice corresponding to a specific shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getInvoiceByShipmentId/).
148
146
  */
149
147
  async getInvoiceByShipmentId(
@@ -223,8 +221,8 @@ class Order {
223
221
  * @param {import("../ApplicationAPIClient").Options} - Options
224
222
  * @returns {Promise<OrderApplicationModel.OrderById>} - Success response
225
223
  * @name getOrderById
226
- * @summary: Fetches order by ID.
227
- * @description: Retrieve order details such as tracking details, shipment, store information using Fynd Order ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getOrderById/).
224
+ * @summary: Get a order
225
+ * @description: Retrieve order details such as tracking details, shipment, store information using Fynd Order ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getOrderById/).
228
226
  */
229
227
  async getOrderById(
230
228
  { orderId, allowInactive, requestHeaders } = { requestHeaders: {} },
@@ -302,8 +300,8 @@ class Order {
302
300
  * @param {import("../ApplicationAPIClient").Options} - Options
303
301
  * @returns {Promise<OrderApplicationModel.OrderList>} - Success response
304
302
  * @name getOrders
305
- * @summary: Lists customer orders.
306
- * @description: Retrieves all orders associated with a customer account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getOrders/).
303
+ * @summary: List customer orders
304
+ * @description: Retrieves all orders associated with a customer account - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getOrders/).
307
305
  */
308
306
  async getOrders(
309
307
  {
@@ -412,92 +410,14 @@ class Order {
412
410
  return response;
413
411
  }
414
412
 
415
- /**
416
- * @param {OrderApplicationValidator.GetPosOrderByIdParam} arg - Arg object.
417
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
418
- * @param {import("../ApplicationAPIClient").Options} - Options
419
- * @returns {Promise<OrderApplicationModel.OrderById>} - Success response
420
- * @name getPosOrderById
421
- * @summary: Retrieves POS order details.
422
- * @description: Retrieve a POS order and all its details such as tracking details, shipment, store information using Fynd Order ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getPosOrderById/).
423
- */
424
- async getPosOrderById(
425
- { orderId, requestHeaders } = { requestHeaders: {} },
426
- { responseHeaders } = { responseHeaders: false }
427
- ) {
428
- const { error } = OrderApplicationValidator.getPosOrderById().validate(
429
- { orderId },
430
- { abortEarly: false, allowUnknown: true }
431
- );
432
- if (error) {
433
- return Promise.reject(new FDKClientValidationError(error));
434
- }
435
-
436
- // Showing warrnings if extra unknown parameters are found
437
- const {
438
- error: warrning,
439
- } = OrderApplicationValidator.getPosOrderById().validate(
440
- { orderId },
441
- { abortEarly: false, allowUnknown: false }
442
- );
443
- if (warrning) {
444
- Logger({
445
- level: "WARN",
446
- message: `Parameter Validation warrnings for application > Order > getPosOrderById \n ${warrning}`,
447
- });
448
- }
449
-
450
- const query_params = {};
451
-
452
- const xHeaders = {};
453
-
454
- const response = await ApplicationAPIClient.execute(
455
- this._conf,
456
- "get",
457
- constructUrl({
458
- url: this._urls["getPosOrderById"],
459
- params: { orderId },
460
- }),
461
- query_params,
462
- undefined,
463
- { ...xHeaders, ...requestHeaders },
464
- { responseHeaders }
465
- );
466
-
467
- let responseData = response;
468
- if (responseHeaders) {
469
- responseData = response[0];
470
- }
471
-
472
- const {
473
- error: res_error,
474
- } = OrderApplicationModel.OrderById().validate(responseData, {
475
- abortEarly: false,
476
- allowUnknown: true,
477
- });
478
-
479
- if (res_error) {
480
- if (this._conf.options.strictResponseCheck === true) {
481
- return Promise.reject(new FDKResponseValidationError(res_error));
482
- } else {
483
- Logger({
484
- level: "WARN",
485
- message: `Response Validation Warnings for application > Order > getPosOrderById \n ${res_error}`,
486
- });
487
- }
488
- }
489
-
490
- return response;
491
- }
492
-
493
413
  /**
494
414
  * @param {OrderApplicationValidator.GetShipmentBagReasonsParam} arg - Arg object.
495
415
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
496
416
  * @param {import("../ApplicationAPIClient").Options} - Options
497
417
  * @returns {Promise<OrderApplicationModel.ShipmentBagReasons>} - Success response
498
418
  * @name getShipmentBagReasons
499
- * @summary: Lists bag reasons.
500
- * @description: Retrieves reasons that led to the cancellation for the status of shipment bags. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentBagReasons/).
419
+ * @summary: List bag cancellation reasons
420
+ * @description: Get reasons to perform full or partial cancellation of a bag - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentBagReasons/).
501
421
  */
502
422
  async getShipmentBagReasons(
503
423
  { shipmentId, bagId, requestHeaders } = { requestHeaders: {} },
@@ -576,7 +496,7 @@ class Order {
576
496
  * @param {import("../ApplicationAPIClient").Options} - Options
577
497
  * @returns {Promise<OrderApplicationModel.ShipmentById>} - Success response
578
498
  * @name getShipmentById
579
- * @summary: Fetches shipment by ID.
499
+ * @summary: Get a Shipment
580
500
  * @description: Retrieve shipment details such as price breakup, tracking details, store information, etc. using Shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentById/).
581
501
  */
582
502
  async getShipmentById(
@@ -655,8 +575,8 @@ class Order {
655
575
  * @param {import("../ApplicationAPIClient").Options} - Options
656
576
  * @returns {Promise<OrderApplicationModel.ShipmentReasons>} - Success response
657
577
  * @name getShipmentReasons
658
- * @summary: Lists shipment reasons.
659
- * @description: Retrieve reasons explaining various shipment statuses. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentReasons/).
578
+ * @summary: List shipment cancellation reasons
579
+ * @description: Get reasons to perform full or partial cancellation of a shipment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentReasons/).
660
580
  */
661
581
  async getShipmentReasons(
662
582
  { shipmentId, requestHeaders } = { requestHeaders: {} },
@@ -734,8 +654,8 @@ class Order {
734
654
  * @returns {Promise<OrderApplicationModel.SendOtpToCustomerResponse>} -
735
655
  * Success response
736
656
  * @name sendOtpToShipmentCustomer
737
- * @summary: Sends OTP to customer.
738
- * @description: Sends a one-time password (OTP) to the customer for shipment verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/sendOtpToShipmentCustomer/).
657
+ * @summary: Send OTP to customer
658
+ * @description: Sends a one-time password (OTP) to the customer for shipment verification - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/sendOtpToShipmentCustomer/).
739
659
  */
740
660
  async sendOtpToShipmentCustomer(
741
661
  { orderId, shipmentId, requestHeaders } = { requestHeaders: {} },
@@ -814,7 +734,7 @@ class Order {
814
734
  * @param {import("../ApplicationAPIClient").Options} - Options
815
735
  * @returns {Promise<OrderApplicationModel.ShipmentTrack>} - Success response
816
736
  * @name trackShipment
817
- * @summary: Tracks shipment status.
737
+ * @summary: Track shipment status
818
738
  * @description: Track Shipment by shipment id, for application based on application Id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/trackShipment/).
819
739
  */
820
740
  async trackShipment(
@@ -894,8 +814,8 @@ class Order {
894
814
  * - Success response
895
815
  *
896
816
  * @name updateShipmentStatus
897
- * @summary: Updates shipment status.
898
- * @description: Modifies the current status of a specific shipment using its shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/updateShipmentStatus/).
817
+ * @summary: Updates shipment status
818
+ * @description: Modifies the current status of a specific shipment using its shipment ID. Supports both partial and full transition as per the configured settings. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/updateShipmentStatus/).
899
819
  */
900
820
  async updateShipmentStatus(
901
821
  { shipmentId, body, requestHeaders } = { requestHeaders: {} },
@@ -972,7 +892,7 @@ class Order {
972
892
  * @param {import("../ApplicationAPIClient").Options} - Options
973
893
  * @returns {Promise<OrderApplicationModel.VerifyOtpResponse>} - Success response
974
894
  * @name verifyOtpShipmentCustomer
975
- * @summary: Verifies OTP.
895
+ * @summary: Verifies OTP
976
896
  * @description: Confirms the OTP sent to the shipment customer for verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/verifyOtpShipmentCustomer/).
977
897
  */
978
898
  async verifyOtpShipmentCustomer(