@gofynd/fdk-client-javascript 1.4.15-beta.13 → 1.4.15-beta.15

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 (278) hide show
  1. package/README.md +23 -26
  2. package/package.json +5 -1
  3. package/sdk/application/ApplicationClient.d.ts +5 -6
  4. package/sdk/application/ApplicationClient.js +24 -20
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +133 -83
  6. package/sdk/application/Cart/CartApplicationClient.js +444 -76
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +132 -114
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +209 -126
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  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 +58 -36
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +73 -29
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +95 -66
  16. package/sdk/application/Content/ContentApplicationClient.js +274 -111
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -11
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -10
  19. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  20. package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
  21. package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
  22. package/sdk/application/Lead/LeadApplicationClient.js +6 -6
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +37 -57
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +117 -180
  25. package/sdk/application/Order/OrderApplicationClient.d.ts +63 -21
  26. package/sdk/application/Order/OrderApplicationClient.js +217 -17
  27. package/sdk/application/Payment/PaymentApplicationClient.d.ts +179 -149
  28. package/sdk/application/Payment/PaymentApplicationClient.js +301 -167
  29. package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
  30. package/sdk/application/Share/ShareApplicationClient.js +7 -7
  31. package/sdk/application/Theme/ThemeApplicationClient.d.ts +7 -7
  32. package/sdk/application/Theme/ThemeApplicationClient.js +10 -6
  33. package/sdk/application/User/UserApplicationClient.d.ts +103 -53
  34. package/sdk/application/User/UserApplicationClient.js +308 -49
  35. package/sdk/common/AxiosHelper.js +11 -4
  36. package/sdk/common/Constant.d.ts +27 -4
  37. package/sdk/common/Constant.js +33 -6
  38. package/sdk/common/utils.d.ts +10 -0
  39. package/sdk/common/utils.js +24 -3
  40. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +46 -16
  41. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +266 -40
  42. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +163 -19
  43. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +158 -14
  44. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +5 -2
  45. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +23 -7
  46. package/sdk/partner/Lead/LeadPartnerClient.d.ts +9 -9
  47. package/sdk/partner/Lead/LeadPartnerClient.js +9 -9
  48. package/sdk/partner/Lead/LeadPartnerModel.d.ts +14 -9
  49. package/sdk/partner/Lead/LeadPartnerModel.js +19 -17
  50. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +264 -49
  51. package/sdk/partner/Logistics/LogisticsPartnerClient.js +2116 -252
  52. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2256 -258
  53. package/sdk/partner/Logistics/LogisticsPartnerModel.js +1187 -230
  54. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +21 -1
  55. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +218 -13
  56. package/sdk/partner/PartnerClient.d.ts +5 -2
  57. package/sdk/partner/PartnerClient.js +21 -7
  58. package/sdk/partner/Theme/ThemePartnerClient.d.ts +32 -34
  59. package/sdk/partner/Theme/ThemePartnerClient.js +42 -44
  60. package/sdk/partner/Theme/ThemePartnerModel.d.ts +142 -43
  61. package/sdk/partner/Theme/ThemePartnerModel.js +129 -44
  62. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  63. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +83 -27
  64. package/sdk/partner/Webhook/WebhookPartnerClient.js +446 -27
  65. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +920 -185
  66. package/sdk/partner/Webhook/WebhookPartnerModel.js +462 -154
  67. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +5 -0
  68. package/sdk/partner/Webhook/WebhookPartnerValidator.js +41 -3
  69. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +8 -7
  70. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +17 -11
  71. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
  72. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  73. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +68 -13
  74. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +44 -6
  75. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +3 -33
  76. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -244
  77. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
  78. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
  79. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  80. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  81. package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -15
  82. package/sdk/platform/Billing/BillingPlatformClient.js +18 -18
  83. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  84. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  85. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  86. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  87. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +266 -203
  88. package/sdk/platform/Cart/CartPlatformApplicationClient.js +1446 -500
  89. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +729 -100
  90. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +446 -82
  91. package/sdk/platform/Cart/CartPlatformModel.d.ts +6927 -1396
  92. package/sdk/platform/Cart/CartPlatformModel.js +3065 -1316
  93. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +433 -248
  94. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1662 -559
  95. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +464 -159
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +304 -87
  97. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +383 -234
  98. package/sdk/platform/Catalog/CatalogPlatformClient.js +2475 -1557
  99. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9571 -2674
  100. package/sdk/platform/Catalog/CatalogPlatformModel.js +5081 -2019
  101. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +364 -117
  102. package/sdk/platform/Catalog/CatalogPlatformValidator.js +281 -104
  103. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -4
  104. package/sdk/platform/Common/CommonPlatformClient.js +6 -5
  105. package/sdk/platform/Common/CommonPlatformModel.d.ts +36 -25
  106. package/sdk/platform/Common/CommonPlatformModel.js +25 -14
  107. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -153
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +102 -541
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +36 -49
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +20 -60
  111. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
  112. package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
  113. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +189 -43
  114. package/sdk/platform/Communication/CommunicationPlatformModel.js +165 -42
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +58 -81
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +68 -116
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +291 -249
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +243 -234
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  120. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  121. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +78 -65
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +101 -88
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +20 -20
  124. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +19 -19
  125. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +68 -34
  126. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +174 -41
  127. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +667 -244
  128. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +474 -155
  129. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  130. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  131. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +366 -280
  132. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1435 -753
  133. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +323 -223
  134. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +335 -205
  135. package/sdk/platform/Content/ContentPlatformClient.d.ts +304 -106
  136. package/sdk/platform/Content/ContentPlatformClient.js +1842 -450
  137. package/sdk/platform/Content/ContentPlatformModel.d.ts +2582 -566
  138. package/sdk/platform/Content/ContentPlatformModel.js +1426 -558
  139. package/sdk/platform/Content/ContentPlatformValidator.d.ts +293 -114
  140. package/sdk/platform/Content/ContentPlatformValidator.js +328 -101
  141. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +59 -23
  142. package/sdk/platform/Discount/DiscountPlatformClient.js +84 -23
  143. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +403 -110
  144. package/sdk/platform/Discount/DiscountPlatformModel.js +121 -107
  145. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
  146. package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +12 -110
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +14 -684
  149. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -94
  150. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -115
  151. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -20
  152. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +22 -22
  153. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +90 -920
  154. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +53 -949
  155. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  156. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  157. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
  158. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
  159. package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
  160. package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
  161. package/sdk/platform/Lead/LeadPlatformModel.d.ts +14 -9
  162. package/sdk/platform/Lead/LeadPlatformModel.js +20 -18
  163. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +56 -9
  164. package/sdk/platform/Order/OrderPlatformApplicationClient.js +340 -10
  165. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +128 -24
  166. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +81 -19
  167. package/sdk/platform/Order/OrderPlatformClient.d.ts +517 -160
  168. package/sdk/platform/Order/OrderPlatformClient.js +1623 -384
  169. package/sdk/platform/Order/OrderPlatformModel.d.ts +10372 -1587
  170. package/sdk/platform/Order/OrderPlatformModel.js +5726 -1512
  171. package/sdk/platform/Order/OrderPlatformValidator.d.ts +539 -123
  172. package/sdk/platform/Order/OrderPlatformValidator.js +323 -92
  173. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +8 -6
  174. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +11 -9
  175. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +6 -4
  176. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +3 -2
  177. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +77 -25
  178. package/sdk/platform/Partner/PartnerPlatformModel.js +32 -21
  179. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +144 -219
  180. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +307 -796
  181. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +86 -121
  182. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +80 -138
  183. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +30 -30
  184. package/sdk/platform/Payment/PaymentPlatformClient.js +30 -30
  185. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +901 -761
  186. package/sdk/platform/Payment/PaymentPlatformModel.js +663 -583
  187. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  188. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  189. package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
  190. package/sdk/platform/PlatformApplicationClient.js +0 -4
  191. package/sdk/platform/PlatformClient.d.ts +5 -4
  192. package/sdk/platform/PlatformClient.js +32 -22
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +526 -69
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +3337 -337
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +603 -38
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +529 -32
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +184 -133
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +780 -491
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +9408 -1666
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5720 -1765
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +257 -180
  202. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +185 -127
  203. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
  204. package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
  205. package/sdk/platform/Share/SharePlatformModel.d.ts +45 -9
  206. package/sdk/platform/Share/SharePlatformModel.js +31 -6
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -26
  208. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +38 -29
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -3
  210. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +10 -2
  211. package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
  212. package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
  213. package/sdk/platform/Theme/ThemePlatformModel.d.ts +103 -17
  214. package/sdk/platform/Theme/ThemePlatformModel.js +92 -23
  215. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +167 -45
  216. package/sdk/platform/User/UserPlatformApplicationClient.js +950 -67
  217. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +189 -3
  218. package/sdk/platform/User/UserPlatformApplicationValidator.js +157 -3
  219. package/sdk/platform/User/UserPlatformModel.d.ts +880 -47
  220. package/sdk/platform/User/UserPlatformModel.js +607 -46
  221. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +33 -86
  222. package/sdk/platform/Webhook/WebhookPlatformClient.js +79 -474
  223. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +861 -422
  224. package/sdk/platform/Webhook/WebhookPlatformModel.js +469 -391
  225. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  226. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  227. package/sdk/platform/index.d.ts +0 -2
  228. package/sdk/platform/index.js +0 -4
  229. package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
  230. package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
  231. package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
  232. package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
  233. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
  234. package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
  235. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -4
  236. package/sdk/public/Configuration/ConfigurationPublicClient.js +9 -8
  237. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +41 -21
  238. package/sdk/public/Configuration/ConfigurationPublicModel.js +28 -12
  239. package/sdk/public/Content/ContentPublicClient.d.ts +145 -2
  240. package/sdk/public/Content/ContentPublicClient.js +1067 -17
  241. package/sdk/public/Content/ContentPublicModel.d.ts +704 -3
  242. package/sdk/public/Content/ContentPublicModel.js +751 -3
  243. package/sdk/public/Content/ContentPublicValidator.d.ts +94 -3
  244. package/sdk/public/Content/ContentPublicValidator.js +119 -2
  245. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  246. package/sdk/public/Partner/PartnerPublicClient.js +1 -1
  247. package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
  248. package/sdk/public/Partner/PartnerPublicModel.js +81 -71
  249. package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
  250. package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
  251. package/sdk/public/PublicClient.d.ts +5 -2
  252. package/sdk/public/PublicClient.js +16 -6
  253. package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -13
  254. package/sdk/public/Webhook/WebhookPublicClient.js +13 -13
  255. package/sdk/public/Webhook/WebhookPublicModel.d.ts +249 -67
  256. package/sdk/public/Webhook/WebhookPublicModel.js +81 -61
  257. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  258. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  259. package/sdk/public/index.d.ts +1 -0
  260. package/sdk/public/index.js +2 -0
  261. package/utility.d.ts +3 -0
  262. package/utility.js +7 -0
  263. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
  264. package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
  265. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +0 -19
  266. package/sdk/application/Webhook/WebhookApplicationClient.js +0 -72
  267. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  268. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  269. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  270. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  271. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  272. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
  273. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
  274. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
  275. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
  276. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
  277. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -382
  278. package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -408
@@ -16,16 +16,16 @@ class Logistic {
16
16
  getCountries: "/service/application/logistics/v2.0/countries",
17
17
  getCountry:
18
18
  "/service/application/logistics/v1.0/countries/{country_iso_code}",
19
+ getDeliveryPromise:
20
+ "/service/application/logistics/v1.0/delivery-promise",
21
+ getFulfillmentOptionStores:
22
+ "/service/application/logistics/v1.0/fulfillment-options/{slug}/stores",
23
+ getFulfillmentOptions:
24
+ "/service/application/logistics/v1.0/fulfillment-options",
19
25
  getLocalities:
20
26
  "/service/application/logistics/v1.0/localities/{locality_type}",
21
27
  getLocality:
22
28
  "/service/application/logistics/v1.0/localities/{locality_type}/{locality_value}",
23
- getLocations: "/service/application/logistics/v1.0/locations",
24
- getOptimalLocations:
25
- "/service/application/logistics/v1.0/reassign_stores",
26
- getPincodeCity: "/service/application/logistics/v1.0/pincode/{pincode}",
27
- getPincodeZones: "/service/application/logistics/v1.0/pincode/zones",
28
- getTatProduct: "/service/application/logistics/v1.0/",
29
29
  validateAddress:
30
30
  "/service/application/logistics/v1.0/country/{country_iso_code}/address/templates/{template_name}/validate",
31
31
  };
@@ -48,10 +48,10 @@ class Logistic {
48
48
  /**
49
49
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
50
50
  * @param {import("../ApplicationAPIClient").Options} - Options
51
- * @returns {Promise<CountryListResponse>} - Success response
51
+ * @returns {Promise<CountryResult>} - Success response
52
52
  * @name getAllCountries
53
53
  * @summary: Get deliverable countries
54
- * @description: Get 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/).
54
+ * @description: Get a list of countries within the specified delivery zones for that application. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getAllCountries/).
55
55
  */
56
56
  async getAllCountries(
57
57
  { requestHeaders } = { requestHeaders: {} },
@@ -88,12 +88,18 @@ class Logistic {
88
88
  * @returns {Promise<GetCountries>} - Success response
89
89
  * @name getCountries
90
90
  * @summary: Get countries
91
- * @description: List of supported countries. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountries/).
91
+ * @description: List of supported countries. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getCountries/).
92
92
  */
93
93
  async getCountries(
94
- { onboarding, pageNo, pageSize, q, requestHeaders } = {
95
- requestHeaders: {},
96
- },
94
+ {
95
+ onboarding,
96
+ pageNo,
97
+ pageSize,
98
+ q,
99
+ hierarchy,
100
+ phoneCode,
101
+ requestHeaders,
102
+ } = { requestHeaders: {} },
97
103
  { responseHeaders } = { responseHeaders: false }
98
104
  ) {
99
105
  const query_params = {};
@@ -101,6 +107,8 @@ class Logistic {
101
107
  query_params["page_no"] = pageNo;
102
108
  query_params["page_size"] = pageSize;
103
109
  query_params["q"] = q;
110
+ query_params["hierarchy"] = hierarchy;
111
+ query_params["phone_code"] = phoneCode;
104
112
 
105
113
  const xHeaders = {};
106
114
 
@@ -131,7 +139,7 @@ class Logistic {
131
139
  * @returns {Promise<GetCountry>} - Success response
132
140
  * @name getCountry
133
141
  * @summary: Get country details
134
- * @description: Get 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/).
142
+ * @description: Get details about a particular country and its address format customized for different business scenarios. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getCountry/).
135
143
  */
136
144
  async getCountry(
137
145
  { countryIsoCode, requestHeaders } = { requestHeaders: {} },
@@ -174,49 +182,31 @@ class Logistic {
174
182
  /**
175
183
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
176
184
  * @param {import("../ApplicationAPIClient").Options} - Options
177
- * @returns {Promise<GetLocalities>} - Success response
178
- * @name getLocalities
179
- * @summary: Get localities
180
- * @description: Get 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/).
185
+ * @returns {Promise<GetPromiseDetails>} - Success response
186
+ * @name getDeliveryPromise
187
+ * @summary: Get delivery promise
188
+ * @description: Delivery Promise Configurations involve estimating and communicating the anticipated delivery date or time to customers, taking into account parameters like store processing time, delivery partner time to delivery, and buffer time. This helps establish precise delivery expectations based on both the delivery partner's capabilities and the store's operations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getDeliveryPromise/).
181
189
  */
182
- async getLocalities(
183
- {
184
- localityType,
185
- country,
186
- state,
187
- city,
188
- pageNo,
189
- pageSize,
190
- q,
191
- requestHeaders,
192
- } = { requestHeaders: {} },
190
+ async getDeliveryPromise(
191
+ { xLocationDetail, pageNo, pageSize, requestHeaders } = {
192
+ requestHeaders: {},
193
+ },
193
194
  { responseHeaders } = { responseHeaders: false }
194
195
  ) {
195
- const errors = validateRequiredParams(arguments[0], ["localityType"]);
196
- if (errors.length > 0) {
197
- const error = new FDKClientValidationError({
198
- message: "Missing required field",
199
- details: errors,
200
- });
201
- return Promise.reject(new FDKClientValidationError(error));
202
- }
203
-
204
196
  const query_params = {};
205
- query_params["country"] = country;
206
- query_params["state"] = state;
207
- query_params["city"] = city;
208
197
  query_params["page_no"] = pageNo;
209
198
  query_params["page_size"] = pageSize;
210
- query_params["q"] = q;
211
199
 
212
200
  const xHeaders = {};
201
+ if (xLocationDetail !== undefined)
202
+ xHeaders["x-location-detail"] = xLocationDetail;
213
203
 
214
204
  const response = await ApplicationAPIClient.execute(
215
205
  this._conf,
216
206
  "get",
217
207
  constructUrl({
218
- url: this._urls["getLocalities"],
219
- params: { localityType },
208
+ url: this._urls["getDeliveryPromise"],
209
+ params: {},
220
210
  }),
221
211
  query_params,
222
212
  undefined,
@@ -235,21 +225,16 @@ class Logistic {
235
225
  /**
236
226
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
237
227
  * @param {import("../ApplicationAPIClient").Options} - Options
238
- * @returns {Promise<GetLocality>} - Success response
239
- * @name getLocality
240
- * @summary: Get locality detail
241
- * @description: Get 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/).
228
+ * @returns {Promise<FulfillmentOptionStores>} - Success response
229
+ * @name getFulfillmentOptionStores
230
+ * @summary: Get Fulfillment Option Stores
231
+ * @description: Fetches a paginated list of stores associated with a given fulfillment option slug. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getFulfillmentOptionStores/).
242
232
  */
243
- async getLocality(
244
- { localityType, localityValue, country, state, city, requestHeaders } = {
245
- requestHeaders: {},
246
- },
233
+ async getFulfillmentOptionStores(
234
+ { slug, pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
247
235
  { responseHeaders } = { responseHeaders: false }
248
236
  ) {
249
- const errors = validateRequiredParams(arguments[0], [
250
- "localityType",
251
- "localityValue",
252
- ]);
237
+ const errors = validateRequiredParams(arguments[0], ["slug"]);
253
238
  if (errors.length > 0) {
254
239
  const error = new FDKClientValidationError({
255
240
  message: "Missing required field",
@@ -259,64 +244,6 @@ class Logistic {
259
244
  }
260
245
 
261
246
  const query_params = {};
262
- query_params["country"] = country;
263
- query_params["state"] = state;
264
- query_params["city"] = city;
265
-
266
- const xHeaders = {};
267
-
268
- const response = await ApplicationAPIClient.execute(
269
- this._conf,
270
- "get",
271
- constructUrl({
272
- url: this._urls["getLocality"],
273
- params: { localityType, localityValue },
274
- }),
275
- query_params,
276
- undefined,
277
- { ...xHeaders, ...requestHeaders },
278
- { responseHeaders }
279
- );
280
-
281
- let responseData = response;
282
- if (responseHeaders) {
283
- responseData = response[0];
284
- }
285
-
286
- return response;
287
- }
288
-
289
- /**
290
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
291
- * @param {import("../ApplicationAPIClient").Options} - Options
292
- * @returns {Promise<GetStoreResponse>} - Success response
293
- * @name getLocations
294
- * @summary: Get available selling locations
295
- * @description: Get 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/).
296
- */
297
- async getLocations(
298
- {
299
- xApplicationId,
300
- xApplicationData,
301
- country,
302
- state,
303
- city,
304
- pincode,
305
- sector,
306
- pageNo,
307
- pageSize,
308
- requestHeaders,
309
- } = { requestHeaders: {} },
310
- { responseHeaders } = { responseHeaders: false }
311
- ) {
312
- const query_params = {};
313
- query_params["x-application-id"] = xApplicationId;
314
- query_params["x-application-data"] = xApplicationData;
315
- query_params["country"] = country;
316
- query_params["state"] = state;
317
- query_params["city"] = city;
318
- query_params["pincode"] = pincode;
319
- query_params["sector"] = sector;
320
247
  query_params["page_no"] = pageNo;
321
248
  query_params["page_size"] = pageSize;
322
249
 
@@ -326,8 +253,8 @@ class Logistic {
326
253
  this._conf,
327
254
  "get",
328
255
  constructUrl({
329
- url: this._urls["getLocations"],
330
- params: {},
256
+ url: this._urls["getFulfillmentOptionStores"],
257
+ params: { slug },
331
258
  }),
332
259
  query_params,
333
260
  undefined,
@@ -346,28 +273,34 @@ class Logistic {
346
273
  /**
347
274
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
348
275
  * @param {import("../ApplicationAPIClient").Options} - Options
349
- * @returns {Promise<ReAssignStoreResponse>} - Success response
350
- * @name getOptimalLocations
351
- * @summary: Get selling locations
352
- * @description: Get optimal fulfillment centre 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/).
276
+ * @returns {Promise<FulfillmentOptionsList>} - Success response
277
+ * @name getFulfillmentOptions
278
+ * @summary: Get fulfillment options
279
+ * @description: Fetches available fulfillment options. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getFulfillmentOptions/).
353
280
  */
354
- async getOptimalLocations(
355
- { body, requestHeaders } = { requestHeaders: {} },
281
+ async getFulfillmentOptions(
282
+ { xApplicationData, productSlug, storeId, requestHeaders } = {
283
+ requestHeaders: {},
284
+ },
356
285
  { responseHeaders } = { responseHeaders: false }
357
286
  ) {
358
287
  const query_params = {};
288
+ query_params["product_slug"] = productSlug;
289
+ query_params["store_id"] = storeId;
359
290
 
360
291
  const xHeaders = {};
292
+ if (xApplicationData !== undefined)
293
+ xHeaders["x-application-data"] = xApplicationData;
361
294
 
362
295
  const response = await ApplicationAPIClient.execute(
363
296
  this._conf,
364
- "post",
297
+ "get",
365
298
  constructUrl({
366
- url: this._urls["getOptimalLocations"],
299
+ url: this._urls["getFulfillmentOptions"],
367
300
  params: {},
368
301
  }),
369
302
  query_params,
370
- body,
303
+ undefined,
371
304
  { ...xHeaders, ...requestHeaders },
372
305
  { responseHeaders }
373
306
  );
@@ -383,16 +316,26 @@ class Logistic {
383
316
  /**
384
317
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
385
318
  * @param {import("../ApplicationAPIClient").Options} - Options
386
- * @returns {Promise<PincodeApiResponse>} - Success response
387
- * @name getPincodeCity
388
- * @summary: Get pincode details
389
- * @description: Get 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/).
319
+ * @returns {Promise<GetLocalitiesApp>} - Success response
320
+ * @name getLocalities
321
+ * @summary: Get Localities
322
+ * @description: Get Localities data. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getLocalities/).
390
323
  */
391
- async getPincodeCity(
392
- { pincode, requestHeaders } = { requestHeaders: {} },
324
+ async getLocalities(
325
+ {
326
+ localityType,
327
+ country,
328
+ state,
329
+ city,
330
+ pageNo,
331
+ pageSize,
332
+ q,
333
+ sector,
334
+ requestHeaders,
335
+ } = { requestHeaders: {} },
393
336
  { responseHeaders } = { responseHeaders: false }
394
337
  ) {
395
- const errors = validateRequiredParams(arguments[0], ["pincode"]);
338
+ const errors = validateRequiredParams(arguments[0], ["localityType"]);
396
339
  if (errors.length > 0) {
397
340
  const error = new FDKClientValidationError({
398
341
  message: "Missing required field",
@@ -402,6 +345,13 @@ class Logistic {
402
345
  }
403
346
 
404
347
  const query_params = {};
348
+ query_params["country"] = country;
349
+ query_params["state"] = state;
350
+ query_params["city"] = city;
351
+ query_params["page_no"] = pageNo;
352
+ query_params["page_size"] = pageSize;
353
+ query_params["q"] = q;
354
+ query_params["sector"] = sector;
405
355
 
406
356
  const xHeaders = {};
407
357
 
@@ -409,8 +359,8 @@ class Logistic {
409
359
  this._conf,
410
360
  "get",
411
361
  constructUrl({
412
- url: this._urls["getPincodeCity"],
413
- params: { pincode },
362
+ url: this._urls["getLocalities"],
363
+ params: { localityType },
414
364
  }),
415
365
  query_params,
416
366
  undefined,
@@ -429,65 +379,52 @@ class Logistic {
429
379
  /**
430
380
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
431
381
  * @param {import("../ApplicationAPIClient").Options} - Options
432
- * @returns {Promise<GetZoneFromPincodeViewResponse>} - Success response
433
- * @name getPincodeZones
434
- * @summary: Get zones
435
- * @description: Get the delivery zone associated with a given pincode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeZones/).
382
+ * @returns {Promise<GetLocalityApp>} - Success response
383
+ * @name getLocality
384
+ * @summary: Get Locality API
385
+ * @description: Get 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://docs.fynd.com/partners/commerce/sdk/application/logistic/getLocality/).
436
386
  */
437
- async getPincodeZones(
438
- { body, requestHeaders } = { requestHeaders: {} },
387
+ async getLocality(
388
+ {
389
+ localityType,
390
+ localityValue,
391
+ country,
392
+ state,
393
+ city,
394
+ sector,
395
+ requestHeaders,
396
+ } = { requestHeaders: {} },
439
397
  { responseHeaders } = { responseHeaders: false }
440
398
  ) {
441
- const query_params = {};
442
-
443
- const xHeaders = {};
444
-
445
- const response = await ApplicationAPIClient.execute(
446
- this._conf,
447
- "post",
448
- constructUrl({
449
- url: this._urls["getPincodeZones"],
450
- params: {},
451
- }),
452
- query_params,
453
- body,
454
- { ...xHeaders, ...requestHeaders },
455
- { responseHeaders }
456
- );
457
-
458
- let responseData = response;
459
- if (responseHeaders) {
460
- responseData = response[0];
399
+ const errors = validateRequiredParams(arguments[0], [
400
+ "localityType",
401
+ "localityValue",
402
+ ]);
403
+ if (errors.length > 0) {
404
+ const error = new FDKClientValidationError({
405
+ message: "Missing required field",
406
+ details: errors,
407
+ });
408
+ return Promise.reject(new FDKClientValidationError(error));
461
409
  }
462
410
 
463
- return response;
464
- }
465
-
466
- /**
467
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
468
- * @param {import("../ApplicationAPIClient").Options} - Options
469
- * @returns {Promise<TATViewResponse>} - Success response
470
- * @name getTatProduct
471
- * @summary: Get product's turnaround time
472
- * @description: Get the estimated delivery time frame for a specific product from a designated store. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getTatProduct/).
473
- */
474
- async getTatProduct(
475
- { body, requestHeaders } = { requestHeaders: {} },
476
- { responseHeaders } = { responseHeaders: false }
477
- ) {
478
411
  const query_params = {};
412
+ query_params["country"] = country;
413
+ query_params["state"] = state;
414
+ query_params["city"] = city;
415
+ query_params["sector"] = sector;
479
416
 
480
417
  const xHeaders = {};
481
418
 
482
419
  const response = await ApplicationAPIClient.execute(
483
420
  this._conf,
484
- "post",
421
+ "get",
485
422
  constructUrl({
486
- url: this._urls["getTatProduct"],
487
- params: {},
423
+ url: this._urls["getLocality"],
424
+ params: { localityType, localityValue },
488
425
  }),
489
426
  query_params,
490
- body,
427
+ undefined,
491
428
  { ...xHeaders, ...requestHeaders },
492
429
  { responseHeaders }
493
430
  );
@@ -503,10 +440,10 @@ class Logistic {
503
440
  /**
504
441
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
505
442
  * @param {import("../ApplicationAPIClient").Options} - Options
506
- * @returns {Promise<ValidateAddressRequest>} - Success response
443
+ * @returns {Promise<ValidateAddressDetails>} - Success response
507
444
  * @name validateAddress
508
445
  * @summary: Validate address
509
- * @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/).
446
+ * @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://docs.fynd.com/partners/commerce/sdk/application/logistic/validateAddress/).
510
447
  */
511
448
  async validateAddress(
512
449
  { countryIsoCode, templateName, body, requestHeaders } = {
@@ -7,10 +7,14 @@ declare class Order {
7
7
  getInvoiceByShipmentId: string;
8
8
  getOrderById: string;
9
9
  getOrders: string;
10
+ getPosOrderById: string;
11
+ getRefundModes: string;
12
+ getRefundModesWithPriceBreakup: string;
10
13
  getShipmentBagReasons: string;
11
14
  getShipmentById: string;
12
15
  getShipmentReasons: string;
13
16
  sendOtpToShipmentCustomer: string;
17
+ submitDeliveryReattemptRequest: string;
14
18
  trackShipment: string;
15
19
  updateShipmentStatus: string;
16
20
  verifyOtpShipmentCustomer: string;
@@ -20,19 +24,19 @@ declare class Order {
20
24
  /**
21
25
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
22
26
  * @param {import("../ApplicationAPIClient").Options} - Options
23
- * @returns {Promise<CustomerDetailsResponse>} - Success response
27
+ * @returns {Promise<CustomerDetailsResponseSchema>} - Success response
24
28
  * @name getCustomerDetailsByShipmentId
25
29
  * @summary: Get shipment's customer
26
- * @description: Get customer details such as mobile number using Shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getCustomerDetailsByShipmentId/).
30
+ * @description: Get customer details such as mobile number using Shipment ID. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/getCustomerDetailsByShipmentId/).
27
31
  */
28
- getCustomerDetailsByShipmentId({ orderId, shipmentId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CustomerDetailsResponse>;
32
+ getCustomerDetailsByShipmentId({ orderId, shipmentId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CustomerDetailsResponseSchema>;
29
33
  /**
30
34
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
31
35
  * @param {import("../ApplicationAPIClient").Options} - Options
32
36
  * @returns {Promise<ResponseGetInvoiceShipment>} - Success response
33
37
  * @name getInvoiceByShipmentId
34
38
  * @summary: Retrieves invoice for shipment
35
- * @description: Get invoice corresponding to a specific shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getInvoiceByShipmentId/).
39
+ * @description: Get invoice corresponding to a specific shipment ID. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/getInvoiceByShipmentId/).
36
40
  */
37
41
  getInvoiceByShipmentId({ shipmentId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ResponseGetInvoiceShipment>;
38
42
  /**
@@ -41,7 +45,7 @@ declare class Order {
41
45
  * @returns {Promise<OrderById>} - Success response
42
46
  * @name getOrderById
43
47
  * @summary: Get an order
44
- * @description: Get 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/).
48
+ * @description: Get order details such as tracking details, shipment, store information using Fynd Order ID. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/getOrderById/).
45
49
  */
46
50
  getOrderById({ orderId, allowInactive, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<OrderById>;
47
51
  /**
@@ -50,16 +54,45 @@ declare class Order {
50
54
  * @returns {Promise<OrderList>} - Success response
51
55
  * @name getOrders
52
56
  * @summary: List customer orders
53
- * @description: Get all orders associated with a customer account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getOrders/).
57
+ * @description: Get all orders associated with a customer account. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/getOrders/).
54
58
  */
55
- getOrders({ status, pageNo, pageSize, fromDate, toDate, startDate, endDate, customMeta, allowInactive, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderList>;
59
+ getOrders({ status, pageNo, pageSize, fromDate, toDate, startDate, endDate, startDatetime, endDatetime, customMeta, allowInactive, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderList>;
60
+ /**
61
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
62
+ * @param {import("../ApplicationAPIClient").Options} - Options
63
+ * @returns {Promise<OrderById>} - Success response
64
+ * @name getPosOrderById
65
+ * @summary: Retrieves POS order details
66
+ * @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://docs.fynd.com/partners/commerce/sdk/application/order/getPosOrderById/).
67
+ */
68
+ getPosOrderById({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<OrderById>;
69
+ /**
70
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
71
+ * @param {import("../ApplicationAPIClient").Options} - Options
72
+ * @returns {Promise<RefundOptions>} - Success response
73
+ * @name getRefundModes
74
+ * @summary: Get refund modes for a shipment
75
+ * @description: Returns a list of available refund options for the given company and shipment.
76
+ * - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/getRefundModes/).
77
+ */
78
+ getRefundModes({ shipmentId, lineNumbers, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<RefundOptions>;
79
+ /**
80
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
81
+ * @param {import("../ApplicationAPIClient").Options} - Options
82
+ * @returns {Promise<RefundOptions>} - Success response
83
+ * @name getRefundModesWithPriceBreakup
84
+ * @summary: Get refund modes and Refund Price Break for a shipment
85
+ * @description: Returns a list of available refund options for the given company and shipment.
86
+ * - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/getRefundModesWithPriceBreakup/).
87
+ */
88
+ getRefundModesWithPriceBreakup({ shipmentId, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<RefundOptions>;
56
89
  /**
57
90
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
58
91
  * @param {import("../ApplicationAPIClient").Options} - Options
59
92
  * @returns {Promise<ShipmentBagReasons>} - Success response
60
93
  * @name getShipmentBagReasons
61
- * @summary: List bag cancellation reasons
62
- * @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/).
94
+ * @summary: Retrieve Reasons for Cancellation and Return journey
95
+ * @description: Allows users to retrieve a comprehensive list of reasons for cancellation or returning a shipment. It provides both cancellation and return reasons, with an emphasis on Quality Control (QC) evaluations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/getShipmentBagReasons/).
63
96
  */
64
97
  getShipmentBagReasons({ shipmentId, bagId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ShipmentBagReasons>;
65
98
  /**
@@ -68,7 +101,7 @@ declare class Order {
68
101
  * @returns {Promise<ShipmentById>} - Success response
69
102
  * @name getShipmentById
70
103
  * @summary: Get a Shipment
71
- * @description: Get 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/).
104
+ * @description: Get shipment details such as price breakup, tracking details, store information, etc. using Shipment ID. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/getShipmentById/).
72
105
  */
73
106
  getShipmentById({ shipmentId, allowInactive, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ShipmentById>;
74
107
  /**
@@ -77,43 +110,52 @@ declare class Order {
77
110
  * @returns {Promise<ShipmentReasons>} - Success response
78
111
  * @name getShipmentReasons
79
112
  * @summary: List shipment cancellation reasons
80
- * @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/).
113
+ * @description: Get reasons to perform full or partial cancellation of a shipment. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/getShipmentReasons/).
81
114
  */
82
115
  getShipmentReasons({ shipmentId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ShipmentReasons>;
83
116
  /**
84
117
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
85
118
  * @param {import("../ApplicationAPIClient").Options} - Options
86
- * @returns {Promise<SendOtpToCustomerResponse>} - Success response
119
+ * @returns {Promise<SendOtpToCustomerResponseSchema>} - Success response
87
120
  * @name sendOtpToShipmentCustomer
88
121
  * @summary: Send OTP to customer
89
- * @description: Send OTP to the customer for shipment verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/sendOtpToShipmentCustomer/).
122
+ * @description: Send OTP to the customer for shipment verification. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/sendOtpToShipmentCustomer/).
123
+ */
124
+ sendOtpToShipmentCustomer({ orderId, shipmentId, eventType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<SendOtpToCustomerResponseSchema>;
125
+ /**
126
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
127
+ * @param {import("../ApplicationAPIClient").Options} - Options
128
+ * @returns {Promise<DeliveryReattemptSuccessResponseSchema>} - Success response
129
+ * @name submitDeliveryReattemptRequest
130
+ * @summary: Initiates a delivery reattempt request for a given shipment
131
+ * @description: This operation allows customers to submit a request for reattempting the delivery of a specific shipment with optional address updates and a new delivery date. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/submitDeliveryReattemptRequest/).
90
132
  */
91
- sendOtpToShipmentCustomer({ orderId, shipmentId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<SendOtpToCustomerResponse>;
133
+ submitDeliveryReattemptRequest({ shipmentId, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<DeliveryReattemptSuccessResponseSchema>;
92
134
  /**
93
135
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
94
136
  * @param {import("../ApplicationAPIClient").Options} - Options
95
137
  * @returns {Promise<ShipmentTrack>} - Success response
96
138
  * @name trackShipment
97
139
  * @summary: Track shipment status
98
- * @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/).
140
+ * @description: Track Shipment by shipment id, for application based on application Id. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/trackShipment/).
99
141
  */
100
142
  trackShipment({ shipmentId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ShipmentTrack>;
101
143
  /**
102
144
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
103
145
  * @param {import("../ApplicationAPIClient").Options} - Options
104
- * @returns {Promise<ShipmentApplicationStatusResponse>} - Success response
146
+ * @returns {Promise<ShipmentApplicationStatusResponseSchema>} - Success response
105
147
  * @name updateShipmentStatus
106
148
  * @summary: Updates shipment status
107
- * @description: Update 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/).
149
+ * @description: This operation allows for updating the status and properties of a shipment. For example, it allows users to initiate a return by providing reasons and uploading quality check images. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/updateShipmentStatus/).
108
150
  */
109
- updateShipmentStatus({ shipmentId, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ShipmentApplicationStatusResponse>;
151
+ updateShipmentStatus({ shipmentId, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ShipmentApplicationStatusResponseSchema>;
110
152
  /**
111
153
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
112
154
  * @param {import("../ApplicationAPIClient").Options} - Options
113
- * @returns {Promise<VerifyOtpResponse>} - Success response
155
+ * @returns {Promise<VerifyOtpResponseSchema>} - Success response
114
156
  * @name verifyOtpShipmentCustomer
115
157
  * @summary: Verifies OTP
116
- * @description: Verify OTP sent by customer. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/verifyOtpShipmentCustomer/).
158
+ * @description: Verify OTP for getting shipment details - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/order/verifyOtpShipmentCustomer/).
117
159
  */
118
- verifyOtpShipmentCustomer({ orderId, shipmentId, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<VerifyOtpResponse>;
160
+ verifyOtpShipmentCustomer({ orderId, shipmentId, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<VerifyOtpResponseSchema>;
119
161
  }