@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
@@ -27,9 +27,32 @@ export = OrderPlatformValidator;
27
27
  * @typedef CheckOrderStatusParam
28
28
  * @property {OrderPlatformModel.OrderStatus} body
29
29
  */
30
+ /**
31
+ * @typedef CreateAccountParam
32
+ * @property {OrderPlatformModel.CreateAccount} body
33
+ */
34
+ /**
35
+ * @typedef CreateChannelConfigParam
36
+ * @property {OrderPlatformModel.CreateChannelConfigData} body
37
+ */
30
38
  /**
31
39
  * @typedef CreateOrderParam
32
- * @property {OrderPlatformModel.CreateOrderAPI} body
40
+ * @property {string} xOrderingSource - To uniquely identify the source through
41
+ * which order has been placed.
42
+ * @property {string} [xApplicationId] - The Application ID is a unique
43
+ * identifier assigned to a storefront that typically follows a 24-character
44
+ * hexadecimal string. Either `x-application-id` or `x-extension-id` header is
45
+ * mandatory. At least one of them must be provided.
46
+ * @property {string} [xExtensionId] - The Extension ID is a unique identifier
47
+ * assigned to an extension that typically follows a 24-character hexadecimal
48
+ * string. Either `x-application-id` or `x-extension-id` header is mandatory.
49
+ * At least one of them must be provided.
50
+ * @property {OrderPlatformModel.CreateOrderRequestSchema} body
51
+ */
52
+ /**
53
+ * @typedef CreateShipmentPackagesParam
54
+ * @property {string} shipmentId - Unique identifier of the shipment.
55
+ * @property {OrderPlatformModel.PackagesSchema} body
33
56
  */
34
57
  /**
35
58
  * @typedef DispatchManifestsParam
@@ -41,7 +64,7 @@ export = OrderPlatformValidator;
41
64
  */
42
65
  /**
43
66
  * @typedef DownloadLanesReportParam
44
- * @property {OrderPlatformModel.BulkReportsDownloadRequest} body
67
+ * @property {OrderPlatformModel.BulkReportsDownloadRequestSchema} body
45
68
  */
46
69
  /**
47
70
  * @typedef EInvoiceRetryParam
@@ -76,11 +99,20 @@ export = OrderPlatformValidator;
76
99
  */
77
100
  /**
78
101
  * @typedef GenerateProcessManifestParam
79
- * @property {OrderPlatformModel.ProcessManifestRequest} body
102
+ * @property {OrderPlatformModel.ProcessManifestRequestSchema} body
103
+ */
104
+ /**
105
+ * @typedef GetAccountByIdParam
106
+ * @property {string} channelAccountId - Unique identifier of the channel
107
+ * account to retrieve.
80
108
  */
81
109
  /**
82
110
  * @typedef GetAllowedStateTransitionParam
83
- * @property {string} orderingChannel - The channel through which orders are placed.
111
+ * @property {string} [orderingChannel] - The specific channel through which
112
+ * your order was placed. This field will be phased out after version 2.4.0.
113
+ * Please use ordering_source instead to ensure accurate order tracking and processing.
114
+ * @property {string} [orderingSource] - To uniquely identify the source through
115
+ * which order has been placed.
84
116
  * @property {string} status - The status key indicates the current status for
85
117
  * which the API will provide a list of possible next state transitions.
86
118
  */
@@ -91,7 +123,7 @@ export = OrderPlatformValidator;
91
123
  */
92
124
  /**
93
125
  * @typedef GetBagByIdParam
94
- * @property {string} [bagId] - Id of bag
126
+ * @property {string} [bagId] - Unique identifier of a bag
95
127
  * @property {string} [channelBagId] - Id of application bag
96
128
  * @property {string} [channelId] - Id of application
97
129
  */
@@ -112,8 +144,8 @@ export = OrderPlatformValidator;
112
144
  * @typedef GetBulkShipmentExcelFileParam
113
145
  * @property {string} [salesChannels] - Comma separated values of sales channel ids
114
146
  * @property {string} [dpIds] - Comma separated values of delivery partner ids
115
- * @property {string} [startDate] - UTC start date in ISO format
116
- * @property {string} [endDate] - UTC end date in ISO format
147
+ * @property {string} [startDate] - Date time in UTC timezone as per ISO format.
148
+ * @property {string} [endDate] - Date time in UTC timezone as per ISO format.
117
149
  * @property {string} [stores] - Comma separated values of store ids
118
150
  * @property {string} [tags] - Comma separated values of tags
119
151
  * @property {string} [bagStatus] - Comma separated values of bag statuses
@@ -123,11 +155,12 @@ export = OrderPlatformValidator;
123
155
  * @property {number} [pageNo]
124
156
  * @property {number} [pageSize]
125
157
  */
158
+ /** @typedef GetChannelConfigParam */
126
159
  /**
127
160
  * @typedef GetFileByStatusParam
128
161
  * @property {string} batchId - Batch Id to identify the bulk operation request.
129
162
  * @property {string} status - The status of the jobs to filter the results.
130
- * @property {string} fileType - The type of file to be downloaded.
163
+ * @property {string} fileType
131
164
  * @property {string} [reportType] - The type of report to be downloaded.
132
165
  */
133
166
  /**
@@ -143,15 +176,27 @@ export = OrderPlatformValidator;
143
176
  * @property {string} [salesChannels]
144
177
  * @property {string} [paymentMode] - Comma separated values of payment modes
145
178
  * @property {string} [bagStatus] - Comma separated values of bag statuses
146
- * @property {string} [searchType]
179
+ * @property {string} [searchType] - Search_type refers to the field that will
180
+ * be used as the target for the search operation
147
181
  * @property {string} [searchValue]
148
182
  * @property {string} [tags]
149
- * @property {number} [timeToDispatch]
183
+ * @property {number} [timeToDispatch] - Time_to_dispatch refers to estimated SLA time.
150
184
  * @property {string} [paymentMethods]
151
185
  * @property {boolean} [myOrders]
152
186
  * @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
153
187
  * company order
154
- * @property {string} [orderType]
188
+ * @property {string} [orderType] - Defines the specific journey a shipment will
189
+ * follow based on the application's operational needs and customer
190
+ * preferences. This field categorizes orders into distinct types, each
191
+ * associated with a unique processing flow. For example:
192
+ *
193
+ * - "HomeDelivery": The order goes through all the steps needed for delivery,
194
+ * from being packed to arriving at the customer’s address.
195
+ * - "PickAtStore": The order is prepared for pickup at the store, skipping
196
+ * shipping steps to make it ready faster for the customer to collect in person.
197
+ * - "Digital": This order type likely refers to orders that involve digital goods
198
+ * or services, such as software, digital subscriptions, e-books, online
199
+ * courses, or any other item that can be delivered electronically.
155
200
  */
156
201
  /**
157
202
  * @typedef GetManifestDetailsParam
@@ -208,44 +253,62 @@ export = OrderPlatformValidator;
208
253
  /**
209
254
  * @typedef GetOrdersParam
210
255
  * @property {string} [lane] - Lane refers to a section where orders are
211
- * assigned, indicating its grouping
256
+ * assigned, indicating its grouping.
212
257
  * @property {string} [searchType] - Search_type refers to the field that will
213
- * be used as the target for the search operation
258
+ * be used as the target for the search operation.
214
259
  * @property {string} [bagStatus] - Bag_status refers to status of the entity.
215
260
  * Filters orders based on the status.
216
261
  * @property {number} [timeToDispatch] - Time_to_dispatch refers to estimated SLA time.
217
- * @property {string} [paymentMethods]
262
+ * @property {string} [paymentMethods] - Comma separated values of payment
263
+ * methods that were used to place order.
218
264
  * @property {string} [tags] - Tags refers to additional descriptive labels
219
265
  * associated with the order
220
266
  * @property {string} [searchValue] - Search_value is matched against the field
221
267
  * specified by the search_type
222
- * @property {string} [fromDate]
223
- * @property {string} [toDate]
224
- * @property {string} [startDate]
225
- * @property {string} [endDate]
268
+ * @property {string} [fromDate] - Date time in UTC timezone as per ISO format.
269
+ * @property {string} [toDate] - Date time in UTC timezone as per ISO format.
270
+ * @property {string} [startDate] - Date time in UTC timezone as per ISO format.
271
+ * @property {string} [endDate] - Date time in UTC timezone as per ISO format.
226
272
  * @property {string} [dpIds] - Delivery Partner IDs to which shipments are assigned.
227
- * @property {string} [stores]
228
- * @property {string} [salesChannels]
229
- * @property {number} [pageNo]
230
- * @property {number} [pageSize]
273
+ * @property {string} [stores] - A comma-separated list of store IDs used to
274
+ * filter results to only those related to specific stores.
275
+ * @property {string} [salesChannels] - A comma-separated list of sales channel
276
+ * IDs to filter results based on the sales channels involved.
277
+ * @property {number} [pageNo] - Specifies the page number for paginated results.
278
+ * @property {number} [pageSize] - Determines the number of results returned per page.
231
279
  * @property {boolean} [isPrioritySort]
232
280
  * @property {string} [customMeta]
233
281
  * @property {boolean} [myOrders]
234
282
  * @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
235
283
  * company order
236
- * @property {string} [customerId]
284
+ * @property {string} [customerId] - The unique identifier for the customer
285
+ * associated with the query, useful for filtering results to a specific customer.
237
286
  * @property {string} [orderType]
238
287
  * @property {boolean} [allowInactive] - Flag indicating whether inactive
239
288
  * shipments are allowed
289
+ * @property {string} [groupEntity] - Defines the grouping criterion for
290
+ * retrieving shipments or orders. It specifies whether the results should be
291
+ * organized based on shipment groups or order groups. For example, using
292
+ * 'shipments' groups results by shipment, while an invalid value like 'abcd'
293
+ * may not be recognized, leading to errors or default behavior.
240
294
  * @property {boolean} [enforceDateFilter] - Applies a date filter for listing
241
295
  * orders. This is useful when fetching data for a specific date range while
242
296
  * performing searches.
297
+ * @property {string} [fulfillmentType] - Define the Fulfillment Type for
298
+ * Listing Orders, This is use when we want to get list of shipments or orders
299
+ * by cross store or cross company or fulfilling Store (by default), this is
300
+ * also depends on the login user accessType and store access
301
+ * @property {string} [orderingSource] - Filter orders by ordering source.
302
+ * Accepts comma-separated values for multiple sources.
303
+ * @property {string} [channelAccountId] - Comma-separated channel account IDs
304
+ * to filter orders by specific channel accounts.
243
305
  */
244
306
  /** @typedef GetRoleBasedActionsParam */
245
307
  /**
246
308
  * @typedef GetShipmentByIdParam
247
- * @property {string} [channelShipmentId] - App Shipment Id
248
- * @property {string} [shipmentId] - Shipment Id
309
+ * @property {string} [channelShipmentId] - The shipment ID used in the
310
+ * application, which can be used to reference specific shipments.
311
+ * @property {string} [shipmentId] - The unique identifier for a shipment.
249
312
  * @property {boolean} [fetchActiveShipment] - Flag to fetch active or
250
313
  * deactivated shipments
251
314
  * @property {boolean} [allowInactive] - Flag indicating whether inactive
@@ -256,6 +319,11 @@ export = OrderPlatformValidator;
256
319
  * @property {string} [shipmentId] - Identifier for the shipment
257
320
  * @property {number} [bagId] - Identifier for a bag or product.
258
321
  */
322
+ /**
323
+ * @typedef GetShipmentPackagesParam
324
+ * @property {string} shipmentId - Unique identifier for the shipment whose
325
+ * packages are being retrieved.
326
+ */
259
327
  /**
260
328
  * @typedef GetShipmentReasonsParam
261
329
  * @property {string} shipmentId - ID of the shipment. An order may contain
@@ -268,46 +336,91 @@ export = OrderPlatformValidator;
268
336
  /**
269
337
  * @typedef GetShipmentsParam
270
338
  * @property {string} [lane] - Name of lane for which data is to be fetched
271
- * @property {string} [bagStatus] - Comma separated values of bag statuses
339
+ * @property {string} [bagStatus] - Comma separated values of bag statuses.
340
+ * @property {string} [statusAssigned] - Used to filter shipments based on
341
+ * status present in shipment_status_history. For more information on these
342
+ * statuses, refer to the Fynd Partners documentation.
272
343
  * @property {boolean} [statusOverrideLane] - Use this flag to fetch by
273
- * bag_status and override lane
274
- * @property {number} [timeToDispatch]
275
- * @property {string} [searchType] - Search type key
276
- * @property {string} [searchValue] - Search type value
344
+ * bag_status and override lane.
345
+ * @property {number} [timeToDispatch] - Indicates the time to dispatch.
346
+ * @property {string} [searchType] - Specifies the key used to determine the
347
+ * type of search being performed.
348
+ * @property {string} [searchValue] - The value corresponding to the search
349
+ * type, such as a specific shipment ID or order ID.
277
350
  * @property {string} [fromDate] - Start Date in DD-MM-YYYY format
278
351
  * @property {string} [toDate] - End Date in DD-MM-YYYY format
279
- * @property {string} [startDate] - UTC Start Date in ISO format
280
- * @property {string} [endDate] - UTC End Date in ISO format
281
- * @property {string} [dpIds] - Comma separated values of delivery partner ids
282
- * @property {string} [stores] - Comma separated values of store ids
283
- * @property {string} [salesChannels] - Comma separated values of sales channel ids
284
- * @property {number} [pageNo] - Page number for paginated data
285
- * @property {number} [pageSize] - Page size of data received per page
286
- * @property {boolean} [fetchActiveShipment] - Flag to fetch active shipments
287
- * @property {boolean} [allowInactive] - Flag to allow inactive shipments
288
- * @property {boolean} [excludeLockedShipments] - Flag to fetch locked shipments
289
- * @property {string} [paymentMethods] - Comma separated values of payment methods
290
- * @property {string} [channelShipmentId] - App Shipment Id
291
- * @property {string} [channelOrderId] - App Order Id
292
- * @property {string} [customMeta]
293
- * @property {string} [orderingChannel]
294
- * @property {string} [companyAffiliateTag]
295
- * @property {boolean} [myOrders]
296
- * @property {string} [platformUserId]
297
- * @property {string} [sortType] - Sort the result data on basis of input
298
- * @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
299
- * company order
300
- * @property {string} [tags] - Comma separated values of tags
301
- * @property {string} [customerId]
302
- * @property {string} [orderType]
352
+ * @property {string} [startDate] - The UTC start date in ISO format
353
+ * (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
354
+ * @property {string} [endDate] - The UTC end date in ISO format
355
+ * (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
356
+ * @property {string} [statusAssignedStartDate] - Specifies the starting UTC
357
+ * date and time (in ISO format, YYYY-MM-DDTHH:MM:SSZ) to define the lower
358
+ * boundary for filtering shipments based on the `created_at` timestamp of
359
+ * statuses in the shipment's status history. It allows filtering statuses
360
+ * that were created within a specific time range.
361
+ * @property {string} [statusAssignedEndDate] - Specifies the ending UTC date
362
+ * and time (in ISO format, YYYY-MM-DDTHH:MM:SSZ) to define the upper boundary
363
+ * for filtering shipments based on the `created_at` timestamp of statuses in
364
+ * the shipment's status history.
365
+ * @property {string} [dpIds] - A comma-separated list of delivery partner IDs
366
+ * to filter results by specific delivery partners.
367
+ * @property {string} [stores] - A comma-separated list of store IDs used to
368
+ * filter results to only those related to specific stores.
369
+ * @property {string} [salesChannels] - A comma-separated list of sales channel
370
+ * IDs to filter results based on the sales channels involved.
371
+ * @property {number} [pageNo] - Specifies the page number for paginated results.
372
+ * @property {number} [pageSize] - Determines the number of results returned per page.
373
+ * @property {boolean} [fetchActiveShipment] - A boolean flag that indicates
374
+ * whether to include only active shipments in the results.
375
+ * @property {boolean} [allowInactive] - A flag indicating whether to allow the
376
+ * inclusion of inactive shipments in the results.
377
+ * @property {boolean} [excludeLockedShipments] - A flag to specify whether to
378
+ * exclude shipments that are locked from the results.
379
+ * @property {string} [paymentMethods] - A comma-separated list of payment methods.
380
+ * @property {string} [channelShipmentId] - The shipment ID used in the
381
+ * application, which can be used to reference specific shipments.
382
+ * @property {string} [channelOrderId] - The order ID used in the application.
383
+ * @property {string} [customMeta] - Custom metadata associated with the query,
384
+ * allowing for additional filtering or information to be passed.
385
+ * @property {string} [orderingChannel] - The channel through which the order was placed.
386
+ * @property {string} [companyAffiliateTag] - A tag used to identify the
387
+ * company's affiliation for filtering or reporting purposes.
388
+ * @property {boolean} [myOrders] - A boolean flag indicating whether the query
389
+ * should return only the user's orders.
390
+ * @property {string} [platformUserId] - The unique identifier of the user on
391
+ * the platform, useful for filtering orders related to a specific user.
392
+ * @property {string} [sortType] - Determines the sorting order of the results
393
+ * based on specific criteria.
394
+ * @property {boolean} [showCrossCompanyData] - A flag indicating whether to
395
+ * include data from both cross-company and non-cross-company orders in the results.
396
+ * @property {string} [tags] - A comma-separated list of tags associated with
397
+ * the orders to filter results based on specific characteristics.
398
+ * @property {string} [customerId] - The unique identifier for the customer
399
+ * associated with the query, useful for filtering results to a specific customer.
400
+ * @property {string} [orderType] - The type of order being queried.
401
+ * @property {string} [groupEntity] - Defines the grouping criterion for
402
+ * retrieving shipments or orders. It specifies whether the results should be
403
+ * organized based on shipment groups or order groups. For example, using
404
+ * 'shipments' groups results by shipment, while an invalid value like 'abcd'
405
+ * may not be recognized, leading to errors or default behavior.
303
406
  * @property {boolean} [enforceDateFilter] - Applies a date filter for listing
304
407
  * shipments. This is useful when fetching data for a specific date range
305
408
  * while performing searches.
409
+ * @property {string} [fulfillmentType] - Define the Fulfillment Type for
410
+ * Listing Orders, This is use when we want to get list of shipments or orders
411
+ * by cross store or cross company or fulfilling Store (by default), this is
412
+ * also depends on the login user accessType and store access
413
+ * @property {string} [orderingSource] - Filter orders by ordering source.
414
+ * Accepts comma-separated values for multiple sources.
415
+ * @property {string} [channelAccountId] - Comma-separated channel account IDs
416
+ * to filter orders by specific channel accounts.
306
417
  */
307
418
  /**
308
419
  * @typedef GetStateManagerConfigParam
309
420
  * @property {string} [appId] - The unique identifier of the application.
310
421
  * @property {string} [orderingChannel] - The channel through which orders are placed.
422
+ * @property {string} [orderingSource] - To uniquely identify the source through
423
+ * which order has been placed.
311
424
  * @property {string} [entity] - The entity for which the configuration is applied.
312
425
  */
313
426
  /** @typedef GetStateTransitionMapParam */
@@ -320,15 +433,18 @@ export = OrderPlatformValidator;
320
433
  * @property {string} view - Name of view
321
434
  * @property {string} [groupEntity] - Name of group entity
322
435
  */
323
- /**
324
- * @typedef InvalidateShipmentCacheParam
325
- * @property {OrderPlatformModel.InvalidateShipmentCachePayload} body
326
- */
327
436
  /**
328
437
  * @typedef JobDetailsParam
329
438
  * @property {string} batchId - A unique identifier for the batch associated
330
439
  * with this bulk action.
331
440
  */
441
+ /**
442
+ * @typedef ListAccountsParam
443
+ * @property {number} [page] - The page number to retrieve in the paginated
444
+ * results. Default is page 1.
445
+ * @property {number} [size] - Number of channel accounts to return per page.
446
+ * Default is 20 items per page.
447
+ */
332
448
  /**
333
449
  * @typedef OrderUpdateParam
334
450
  * @property {OrderPlatformModel.PlatformOrderUpdate} body
@@ -341,6 +457,18 @@ export = OrderPlatformValidator;
341
457
  * @typedef ReassignLocationParam
342
458
  * @property {OrderPlatformModel.StoreReassign} body
343
459
  */
460
+ /**
461
+ * @typedef RequestCourierPartnerForShipmentParam
462
+ * @property {string} shipmentId - The unique identifier for the shipment. This
463
+ * ID is used to track and reference the shipment throughout its journey.
464
+ * @property {OrderPlatformModel.ShipmentCourierPartnerRequestSchema} body
465
+ */
466
+ /**
467
+ * @typedef SaveCourierPartnerPreferenceForShipmentParam
468
+ * @property {string} shipmentId - The unique identifier for the shipment. This
469
+ * ID is used to track and reference the shipment throughout its journey.
470
+ * @property {OrderPlatformModel.ShipmentCourierPartnerPreference} body
471
+ */
344
472
  /**
345
473
  * @typedef SendSmsNinjaParam
346
474
  * @property {OrderPlatformModel.SendSmsPayload} body
@@ -356,29 +484,34 @@ export = OrderPlatformValidator;
356
484
  * @property {number} [pageNo] - Page number for pagination.
357
485
  * @property {number} [pageSize] - Number of records per page for pagination.
358
486
  */
487
+ /**
488
+ * @typedef UpdateAccountParam
489
+ * @property {string} channelAccountId - Unique identifier of the account.
490
+ * @property {OrderPlatformModel.CreateAccount} body
491
+ */
359
492
  /**
360
493
  * @typedef UpdateAddressParam
361
- * @property {string} shipmentId
362
- * @property {string} [name]
363
- * @property {string} [address]
364
- * @property {string} [addressType]
365
- * @property {string} [pincode]
366
- * @property {string} [phone]
367
- * @property {string} [email]
368
- * @property {string} [landmark]
369
- * @property {string} addressCategory
370
- * @property {string} [city]
371
- * @property {string} [state]
372
- * @property {string} [country]
494
+ * @property {string} shipmentId - Unique shipment no. that is auto-generated
495
+ * @property {OrderPlatformModel.UpdateAddressRequestBody} body
373
496
  */
374
497
  /**
375
498
  * @typedef UpdatePackagingDimensionsParam
376
499
  * @property {OrderPlatformModel.UpdatePackagingDimensionsPayload} body
377
500
  */
501
+ /**
502
+ * @typedef UpdatePaymentInfoParam
503
+ * @property {OrderPlatformModel.UpdateShipmentPaymentMode} body
504
+ */
378
505
  /**
379
506
  * @typedef UpdateShipmentLockParam
380
507
  * @property {OrderPlatformModel.UpdateShipmentLockPayload} body
381
508
  */
509
+ /**
510
+ * @typedef UpdateShipmentPackagesParam
511
+ * @property {string} shipmentId - Unique identifier for the shipment whose
512
+ * packages will be updated.
513
+ * @property {OrderPlatformModel.PackagesSchema} body
514
+ */
382
515
  /**
383
516
  * @typedef UpdateShipmentStatusParam
384
517
  * @property {OrderPlatformModel.UpdateShipmentStatusRequestSchema} body
@@ -406,8 +539,14 @@ declare class OrderPlatformValidator {
406
539
  static bulkStateTransistion(): BulkStateTransistionParam;
407
540
  /** @returns {CheckOrderStatusParam} */
408
541
  static checkOrderStatus(): CheckOrderStatusParam;
542
+ /** @returns {CreateAccountParam} */
543
+ static createAccount(): CreateAccountParam;
544
+ /** @returns {CreateChannelConfigParam} */
545
+ static createChannelConfig(): CreateChannelConfigParam;
409
546
  /** @returns {CreateOrderParam} */
410
547
  static createOrder(): CreateOrderParam;
548
+ /** @returns {CreateShipmentPackagesParam} */
549
+ static createShipmentPackages(): CreateShipmentPackagesParam;
411
550
  /** @returns {DispatchManifestsParam} */
412
551
  static dispatchManifests(): DispatchManifestsParam;
413
552
  /** @returns {DownloadBulkActionTemplateParam} */
@@ -428,6 +567,8 @@ declare class OrderPlatformValidator {
428
567
  static generatePOSReceiptByOrderId(): GeneratePOSReceiptByOrderIdParam;
429
568
  /** @returns {GenerateProcessManifestParam} */
430
569
  static generateProcessManifest(): GenerateProcessManifestParam;
570
+ /** @returns {GetAccountByIdParam} */
571
+ static getAccountById(): GetAccountByIdParam;
431
572
  /** @returns {GetAllowedStateTransitionParam} */
432
573
  static getAllowedStateTransition(): GetAllowedStateTransitionParam;
433
574
  /** @returns {GetAllowedTemplatesForBulkParam} */
@@ -442,6 +583,8 @@ declare class OrderPlatformValidator {
442
583
  static getBulkActionTemplate(): any;
443
584
  /** @returns {GetBulkShipmentExcelFileParam} */
444
585
  static getBulkShipmentExcelFile(): GetBulkShipmentExcelFileParam;
586
+ /** @returns {GetChannelConfigParam} */
587
+ static getChannelConfig(): any;
445
588
  /** @returns {GetFileByStatusParam} */
446
589
  static getFileByStatus(): GetFileByStatusParam;
447
590
  /** @returns {GetLaneConfigParam} */
@@ -464,6 +607,8 @@ declare class OrderPlatformValidator {
464
607
  static getShipmentById(): GetShipmentByIdParam;
465
608
  /** @returns {GetShipmentHistoryParam} */
466
609
  static getShipmentHistory(): GetShipmentHistoryParam;
610
+ /** @returns {GetShipmentPackagesParam} */
611
+ static getShipmentPackages(): GetShipmentPackagesParam;
467
612
  /** @returns {GetShipmentReasonsParam} */
468
613
  static getShipmentReasons(): GetShipmentReasonsParam;
469
614
  /** @returns {GetShipmentsParam} */
@@ -476,28 +621,38 @@ declare class OrderPlatformValidator {
476
621
  static getTemplate(): GetTemplateParam;
477
622
  /** @returns {GetfiltersParam} */
478
623
  static getfilters(): GetfiltersParam;
479
- /** @returns {InvalidateShipmentCacheParam} */
480
- static invalidateShipmentCache(): InvalidateShipmentCacheParam;
481
624
  /** @returns {JobDetailsParam} */
482
625
  static jobDetails(): JobDetailsParam;
626
+ /** @returns {ListAccountsParam} */
627
+ static listAccounts(): ListAccountsParam;
483
628
  /** @returns {OrderUpdateParam} */
484
629
  static orderUpdate(): OrderUpdateParam;
485
630
  /** @returns {PostShipmentHistoryParam} */
486
631
  static postShipmentHistory(): PostShipmentHistoryParam;
487
632
  /** @returns {ReassignLocationParam} */
488
633
  static reassignLocation(): ReassignLocationParam;
634
+ /** @returns {RequestCourierPartnerForShipmentParam} */
635
+ static requestCourierPartnerForShipment(): RequestCourierPartnerForShipmentParam;
636
+ /** @returns {SaveCourierPartnerPreferenceForShipmentParam} */
637
+ static saveCourierPartnerPreferenceForShipment(): SaveCourierPartnerPreferenceForShipmentParam;
489
638
  /** @returns {SendSmsNinjaParam} */
490
639
  static sendSmsNinja(): SendSmsNinjaParam;
491
640
  /** @returns {SendUserMobileOTPParam} */
492
641
  static sendUserMobileOTP(): SendUserMobileOTPParam;
493
642
  /** @returns {TrackShipmentParam} */
494
643
  static trackShipment(): TrackShipmentParam;
644
+ /** @returns {UpdateAccountParam} */
645
+ static updateAccount(): UpdateAccountParam;
495
646
  /** @returns {UpdateAddressParam} */
496
647
  static updateAddress(): UpdateAddressParam;
497
648
  /** @returns {UpdatePackagingDimensionsParam} */
498
649
  static updatePackagingDimensions(): UpdatePackagingDimensionsParam;
650
+ /** @returns {UpdatePaymentInfoParam} */
651
+ static updatePaymentInfo(): UpdatePaymentInfoParam;
499
652
  /** @returns {UpdateShipmentLockParam} */
500
653
  static updateShipmentLock(): UpdateShipmentLockParam;
654
+ /** @returns {UpdateShipmentPackagesParam} */
655
+ static updateShipmentPackages(): UpdateShipmentPackagesParam;
501
656
  /** @returns {UpdateShipmentStatusParam} */
502
657
  static updateShipmentStatus(): UpdateShipmentStatusParam;
503
658
  /** @returns {UpdateShipmentTrackingParam} */
@@ -508,7 +663,7 @@ declare class OrderPlatformValidator {
508
663
  static verifyMobileOTP(): VerifyMobileOTPParam;
509
664
  }
510
665
  declare namespace OrderPlatformValidator {
511
- export { AddStateManagerConfigParam, AttachOrderUserParam, BulkListingParam, BulkStateTransistionParam, CheckOrderStatusParam, CreateOrderParam, DispatchManifestsParam, DownloadBulkActionTemplateParam, DownloadLanesReportParam, EInvoiceRetryParam, FailedOrderLogDetailsParam, FailedOrderLogsParam, FetchRefundModeConfigParam, GenerateInvoiceIDParam, GeneratePOSReceiptByOrderIdParam, GenerateProcessManifestParam, GetAllowedStateTransitionParam, GetAllowedTemplatesForBulkParam, GetAnnouncementsParam, GetBagByIdParam, GetBagsParam, GetBulkActionTemplateParam, GetBulkShipmentExcelFileParam, GetFileByStatusParam, GetLaneConfigParam, GetManifestDetailsParam, GetManifestShipmentsParam, GetManifestfiltersParam, GetManifestsParam, GetOrderByIdParam, GetOrdersParam, GetRoleBasedActionsParam, GetShipmentByIdParam, GetShipmentHistoryParam, GetShipmentReasonsParam, GetShipmentsParam, GetStateManagerConfigParam, GetStateTransitionMapParam, GetTemplateParam, GetfiltersParam, InvalidateShipmentCacheParam, JobDetailsParam, OrderUpdateParam, PostShipmentHistoryParam, ReassignLocationParam, SendSmsNinjaParam, SendUserMobileOTPParam, TrackShipmentParam, UpdateAddressParam, UpdatePackagingDimensionsParam, UpdateShipmentLockParam, UpdateShipmentStatusParam, UpdateShipmentTrackingParam, UploadConsentsParam, VerifyMobileOTPParam };
666
+ export { AddStateManagerConfigParam, AttachOrderUserParam, BulkListingParam, BulkStateTransistionParam, CheckOrderStatusParam, CreateAccountParam, CreateChannelConfigParam, CreateOrderParam, CreateShipmentPackagesParam, DispatchManifestsParam, DownloadBulkActionTemplateParam, DownloadLanesReportParam, EInvoiceRetryParam, FailedOrderLogDetailsParam, FailedOrderLogsParam, FetchRefundModeConfigParam, GenerateInvoiceIDParam, GeneratePOSReceiptByOrderIdParam, GenerateProcessManifestParam, GetAccountByIdParam, GetAllowedStateTransitionParam, GetAllowedTemplatesForBulkParam, GetAnnouncementsParam, GetBagByIdParam, GetBagsParam, GetBulkActionTemplateParam, GetBulkShipmentExcelFileParam, GetChannelConfigParam, GetFileByStatusParam, GetLaneConfigParam, GetManifestDetailsParam, GetManifestShipmentsParam, GetManifestfiltersParam, GetManifestsParam, GetOrderByIdParam, GetOrdersParam, GetRoleBasedActionsParam, GetShipmentByIdParam, GetShipmentHistoryParam, GetShipmentPackagesParam, GetShipmentReasonsParam, GetShipmentsParam, GetStateManagerConfigParam, GetStateTransitionMapParam, GetTemplateParam, GetfiltersParam, JobDetailsParam, ListAccountsParam, OrderUpdateParam, PostShipmentHistoryParam, ReassignLocationParam, RequestCourierPartnerForShipmentParam, SaveCourierPartnerPreferenceForShipmentParam, SendSmsNinjaParam, SendUserMobileOTPParam, TrackShipmentParam, UpdateAccountParam, UpdateAddressParam, UpdatePackagingDimensionsParam, UpdatePaymentInfoParam, UpdateShipmentLockParam, UpdateShipmentPackagesParam, UpdateShipmentStatusParam, UpdateShipmentTrackingParam, UploadConsentsParam, VerifyMobileOTPParam };
512
667
  }
513
668
  type AddStateManagerConfigParam = {
514
669
  body: OrderPlatformModel.TransitionConfigPayload;
@@ -554,8 +709,40 @@ type BulkStateTransistionParam = {
554
709
  type CheckOrderStatusParam = {
555
710
  body: OrderPlatformModel.OrderStatus;
556
711
  };
712
+ type CreateAccountParam = {
713
+ body: OrderPlatformModel.CreateAccount;
714
+ };
715
+ type CreateChannelConfigParam = {
716
+ body: OrderPlatformModel.CreateChannelConfigData;
717
+ };
557
718
  type CreateOrderParam = {
558
- body: OrderPlatformModel.CreateOrderAPI;
719
+ /**
720
+ * - To uniquely identify the source through
721
+ * which order has been placed.
722
+ */
723
+ xOrderingSource: string;
724
+ /**
725
+ * - The Application ID is a unique
726
+ * identifier assigned to a storefront that typically follows a 24-character
727
+ * hexadecimal string. Either `x-application-id` or `x-extension-id` header is
728
+ * mandatory. At least one of them must be provided.
729
+ */
730
+ xApplicationId?: string;
731
+ /**
732
+ * - The Extension ID is a unique identifier
733
+ * assigned to an extension that typically follows a 24-character hexadecimal
734
+ * string. Either `x-application-id` or `x-extension-id` header is mandatory.
735
+ * At least one of them must be provided.
736
+ */
737
+ xExtensionId?: string;
738
+ body: OrderPlatformModel.CreateOrderRequestSchema;
739
+ };
740
+ type CreateShipmentPackagesParam = {
741
+ /**
742
+ * - Unique identifier of the shipment.
743
+ */
744
+ shipmentId: string;
745
+ body: OrderPlatformModel.PackagesSchema;
559
746
  };
560
747
  type DispatchManifestsParam = {
561
748
  body: OrderPlatformModel.DispatchManifest;
@@ -567,7 +754,7 @@ type DownloadBulkActionTemplateParam = {
567
754
  templateSlug?: string;
568
755
  };
569
756
  type DownloadLanesReportParam = {
570
- body: OrderPlatformModel.BulkReportsDownloadRequest;
757
+ body: OrderPlatformModel.BulkReportsDownloadRequestSchema;
571
758
  };
572
759
  type EInvoiceRetryParam = {
573
760
  body: OrderPlatformModel.EInvoiceRetry;
@@ -616,13 +803,27 @@ type GeneratePOSReceiptByOrderIdParam = {
616
803
  documentType?: string;
617
804
  };
618
805
  type GenerateProcessManifestParam = {
619
- body: OrderPlatformModel.ProcessManifestRequest;
806
+ body: OrderPlatformModel.ProcessManifestRequestSchema;
807
+ };
808
+ type GetAccountByIdParam = {
809
+ /**
810
+ * - Unique identifier of the channel
811
+ * account to retrieve.
812
+ */
813
+ channelAccountId: string;
620
814
  };
621
815
  type GetAllowedStateTransitionParam = {
622
816
  /**
623
- * - The channel through which orders are placed.
817
+ * - The specific channel through which
818
+ * your order was placed. This field will be phased out after version 2.4.0.
819
+ * Please use ordering_source instead to ensure accurate order tracking and processing.
624
820
  */
625
- orderingChannel: string;
821
+ orderingChannel?: string;
822
+ /**
823
+ * - To uniquely identify the source through
824
+ * which order has been placed.
825
+ */
826
+ orderingSource?: string;
626
827
  /**
627
828
  * - The status key indicates the current status for
628
829
  * which the API will provide a list of possible next state transitions.
@@ -637,7 +838,7 @@ type GetAnnouncementsParam = {
637
838
  };
638
839
  type GetBagByIdParam = {
639
840
  /**
640
- * - Id of bag
841
+ * - Unique identifier of a bag
641
842
  */
642
843
  bagId?: string;
643
844
  /**
@@ -697,11 +898,11 @@ type GetBulkShipmentExcelFileParam = {
697
898
  */
698
899
  dpIds?: string;
699
900
  /**
700
- * - UTC start date in ISO format
901
+ * - Date time in UTC timezone as per ISO format.
701
902
  */
702
903
  startDate?: string;
703
904
  /**
704
- * - UTC end date in ISO format
905
+ * - Date time in UTC timezone as per ISO format.
705
906
  */
706
907
  endDate?: string;
707
908
  /**
@@ -740,9 +941,6 @@ type GetFileByStatusParam = {
740
941
  * - The status of the jobs to filter the results.
741
942
  */
742
943
  status: string;
743
- /**
744
- * - The type of file to be downloaded.
745
- */
746
944
  fileType: string;
747
945
  /**
748
946
  * - The type of report to be downloaded.
@@ -791,9 +989,16 @@ type GetLaneConfigParam = {
791
989
  * - Comma separated values of bag statuses
792
990
  */
793
991
  bagStatus?: string;
992
+ /**
993
+ * - Search_type refers to the field that will
994
+ * be used as the target for the search operation
995
+ */
794
996
  searchType?: string;
795
997
  searchValue?: string;
796
998
  tags?: string;
999
+ /**
1000
+ * - Time_to_dispatch refers to estimated SLA time.
1001
+ */
797
1002
  timeToDispatch?: number;
798
1003
  paymentMethods?: string;
799
1004
  myOrders?: boolean;
@@ -802,6 +1007,20 @@ type GetLaneConfigParam = {
802
1007
  * company order
803
1008
  */
804
1009
  showCrossCompanyData?: boolean;
1010
+ /**
1011
+ * - Defines the specific journey a shipment will
1012
+ * follow based on the application's operational needs and customer
1013
+ * preferences. This field categorizes orders into distinct types, each
1014
+ * associated with a unique processing flow. For example:
1015
+ *
1016
+ * - "HomeDelivery": The order goes through all the steps needed for delivery,
1017
+ * from being packed to arriving at the customer’s address.
1018
+ * - "PickAtStore": The order is prepared for pickup at the store, skipping
1019
+ * shipping steps to make it ready faster for the customer to collect in person.
1020
+ * - "Digital": This order type likely refers to orders that involve digital goods
1021
+ * or services, such as software, digital subscriptions, e-books, online
1022
+ * courses, or any other item that can be delivered electronically.
1023
+ */
805
1024
  orderType?: string;
806
1025
  };
807
1026
  type GetManifestDetailsParam = {
@@ -935,12 +1154,12 @@ type GetOrderByIdParam = {
935
1154
  type GetOrdersParam = {
936
1155
  /**
937
1156
  * - Lane refers to a section where orders are
938
- * assigned, indicating its grouping
1157
+ * assigned, indicating its grouping.
939
1158
  */
940
1159
  lane?: string;
941
1160
  /**
942
1161
  * - Search_type refers to the field that will
943
- * be used as the target for the search operation
1162
+ * be used as the target for the search operation.
944
1163
  */
945
1164
  searchType?: string;
946
1165
  /**
@@ -952,6 +1171,10 @@ type GetOrdersParam = {
952
1171
  * - Time_to_dispatch refers to estimated SLA time.
953
1172
  */
954
1173
  timeToDispatch?: number;
1174
+ /**
1175
+ * - Comma separated values of payment
1176
+ * methods that were used to place order.
1177
+ */
955
1178
  paymentMethods?: string;
956
1179
  /**
957
1180
  * - Tags refers to additional descriptive labels
@@ -963,17 +1186,43 @@ type GetOrdersParam = {
963
1186
  * specified by the search_type
964
1187
  */
965
1188
  searchValue?: string;
1189
+ /**
1190
+ * - Date time in UTC timezone as per ISO format.
1191
+ */
966
1192
  fromDate?: string;
1193
+ /**
1194
+ * - Date time in UTC timezone as per ISO format.
1195
+ */
967
1196
  toDate?: string;
1197
+ /**
1198
+ * - Date time in UTC timezone as per ISO format.
1199
+ */
968
1200
  startDate?: string;
1201
+ /**
1202
+ * - Date time in UTC timezone as per ISO format.
1203
+ */
969
1204
  endDate?: string;
970
1205
  /**
971
1206
  * - Delivery Partner IDs to which shipments are assigned.
972
1207
  */
973
1208
  dpIds?: string;
1209
+ /**
1210
+ * - A comma-separated list of store IDs used to
1211
+ * filter results to only those related to specific stores.
1212
+ */
974
1213
  stores?: string;
1214
+ /**
1215
+ * - A comma-separated list of sales channel
1216
+ * IDs to filter results based on the sales channels involved.
1217
+ */
975
1218
  salesChannels?: string;
1219
+ /**
1220
+ * - Specifies the page number for paginated results.
1221
+ */
976
1222
  pageNo?: number;
1223
+ /**
1224
+ * - Determines the number of results returned per page.
1225
+ */
977
1226
  pageSize?: number;
978
1227
  isPrioritySort?: boolean;
979
1228
  customMeta?: string;
@@ -983,6 +1232,10 @@ type GetOrdersParam = {
983
1232
  * company order
984
1233
  */
985
1234
  showCrossCompanyData?: boolean;
1235
+ /**
1236
+ * - The unique identifier for the customer
1237
+ * associated with the query, useful for filtering results to a specific customer.
1238
+ */
986
1239
  customerId?: string;
987
1240
  orderType?: string;
988
1241
  /**
@@ -990,20 +1243,46 @@ type GetOrdersParam = {
990
1243
  * shipments are allowed
991
1244
  */
992
1245
  allowInactive?: boolean;
1246
+ /**
1247
+ * - Defines the grouping criterion for
1248
+ * retrieving shipments or orders. It specifies whether the results should be
1249
+ * organized based on shipment groups or order groups. For example, using
1250
+ * 'shipments' groups results by shipment, while an invalid value like 'abcd'
1251
+ * may not be recognized, leading to errors or default behavior.
1252
+ */
1253
+ groupEntity?: string;
993
1254
  /**
994
1255
  * - Applies a date filter for listing
995
1256
  * orders. This is useful when fetching data for a specific date range while
996
1257
  * performing searches.
997
1258
  */
998
1259
  enforceDateFilter?: boolean;
1260
+ /**
1261
+ * - Define the Fulfillment Type for
1262
+ * Listing Orders, This is use when we want to get list of shipments or orders
1263
+ * by cross store or cross company or fulfilling Store (by default), this is
1264
+ * also depends on the login user accessType and store access
1265
+ */
1266
+ fulfillmentType?: string;
1267
+ /**
1268
+ * - Filter orders by ordering source.
1269
+ * Accepts comma-separated values for multiple sources.
1270
+ */
1271
+ orderingSource?: string;
1272
+ /**
1273
+ * - Comma-separated channel account IDs
1274
+ * to filter orders by specific channel accounts.
1275
+ */
1276
+ channelAccountId?: string;
999
1277
  };
1000
1278
  type GetShipmentByIdParam = {
1001
1279
  /**
1002
- * - App Shipment Id
1280
+ * - The shipment ID used in the
1281
+ * application, which can be used to reference specific shipments.
1003
1282
  */
1004
1283
  channelShipmentId?: string;
1005
1284
  /**
1006
- * - Shipment Id
1285
+ * - The unique identifier for a shipment.
1007
1286
  */
1008
1287
  shipmentId?: string;
1009
1288
  /**
@@ -1027,6 +1306,13 @@ type GetShipmentHistoryParam = {
1027
1306
  */
1028
1307
  bagId?: number;
1029
1308
  };
1309
+ type GetShipmentPackagesParam = {
1310
+ /**
1311
+ * - Unique identifier for the shipment whose
1312
+ * packages are being retrieved.
1313
+ */
1314
+ shipmentId: string;
1315
+ };
1030
1316
  type GetShipmentReasonsParam = {
1031
1317
  /**
1032
1318
  * - ID of the shipment. An order may contain
@@ -1050,21 +1336,32 @@ type GetShipmentsParam = {
1050
1336
  */
1051
1337
  lane?: string;
1052
1338
  /**
1053
- * - Comma separated values of bag statuses
1339
+ * - Comma separated values of bag statuses.
1054
1340
  */
1055
1341
  bagStatus?: string;
1342
+ /**
1343
+ * - Used to filter shipments based on
1344
+ * status present in shipment_status_history. For more information on these
1345
+ * statuses, refer to the Fynd Partners documentation.
1346
+ */
1347
+ statusAssigned?: string;
1056
1348
  /**
1057
1349
  * - Use this flag to fetch by
1058
- * bag_status and override lane
1350
+ * bag_status and override lane.
1059
1351
  */
1060
1352
  statusOverrideLane?: boolean;
1353
+ /**
1354
+ * - Indicates the time to dispatch.
1355
+ */
1061
1356
  timeToDispatch?: number;
1062
1357
  /**
1063
- * - Search type key
1358
+ * - Specifies the key used to determine the
1359
+ * type of search being performed.
1064
1360
  */
1065
1361
  searchType?: string;
1066
1362
  /**
1067
- * - Search type value
1363
+ * - The value corresponding to the search
1364
+ * type, such as a specific shipment ID or order ID.
1068
1365
  */
1069
1366
  searchValue?: string;
1070
1367
  /**
@@ -1076,83 +1373,160 @@ type GetShipmentsParam = {
1076
1373
  */
1077
1374
  toDate?: string;
1078
1375
  /**
1079
- * - UTC Start Date in ISO format
1376
+ * - The UTC start date in ISO format
1377
+ * (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
1080
1378
  */
1081
1379
  startDate?: string;
1082
1380
  /**
1083
- * - UTC End Date in ISO format
1381
+ * - The UTC end date in ISO format
1382
+ * (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
1084
1383
  */
1085
1384
  endDate?: string;
1086
1385
  /**
1087
- * - Comma separated values of delivery partner ids
1386
+ * - Specifies the starting UTC
1387
+ * date and time (in ISO format, YYYY-MM-DDTHH:MM:SSZ) to define the lower
1388
+ * boundary for filtering shipments based on the `created_at` timestamp of
1389
+ * statuses in the shipment's status history. It allows filtering statuses
1390
+ * that were created within a specific time range.
1391
+ */
1392
+ statusAssignedStartDate?: string;
1393
+ /**
1394
+ * - Specifies the ending UTC date
1395
+ * and time (in ISO format, YYYY-MM-DDTHH:MM:SSZ) to define the upper boundary
1396
+ * for filtering shipments based on the `created_at` timestamp of statuses in
1397
+ * the shipment's status history.
1398
+ */
1399
+ statusAssignedEndDate?: string;
1400
+ /**
1401
+ * - A comma-separated list of delivery partner IDs
1402
+ * to filter results by specific delivery partners.
1088
1403
  */
1089
1404
  dpIds?: string;
1090
1405
  /**
1091
- * - Comma separated values of store ids
1406
+ * - A comma-separated list of store IDs used to
1407
+ * filter results to only those related to specific stores.
1092
1408
  */
1093
1409
  stores?: string;
1094
1410
  /**
1095
- * - Comma separated values of sales channel ids
1411
+ * - A comma-separated list of sales channel
1412
+ * IDs to filter results based on the sales channels involved.
1096
1413
  */
1097
1414
  salesChannels?: string;
1098
1415
  /**
1099
- * - Page number for paginated data
1416
+ * - Specifies the page number for paginated results.
1100
1417
  */
1101
1418
  pageNo?: number;
1102
1419
  /**
1103
- * - Page size of data received per page
1420
+ * - Determines the number of results returned per page.
1104
1421
  */
1105
1422
  pageSize?: number;
1106
1423
  /**
1107
- * - Flag to fetch active shipments
1424
+ * - A boolean flag that indicates
1425
+ * whether to include only active shipments in the results.
1108
1426
  */
1109
1427
  fetchActiveShipment?: boolean;
1110
1428
  /**
1111
- * - Flag to allow inactive shipments
1429
+ * - A flag indicating whether to allow the
1430
+ * inclusion of inactive shipments in the results.
1112
1431
  */
1113
1432
  allowInactive?: boolean;
1114
1433
  /**
1115
- * - Flag to fetch locked shipments
1434
+ * - A flag to specify whether to
1435
+ * exclude shipments that are locked from the results.
1116
1436
  */
1117
1437
  excludeLockedShipments?: boolean;
1118
1438
  /**
1119
- * - Comma separated values of payment methods
1439
+ * - A comma-separated list of payment methods.
1120
1440
  */
1121
1441
  paymentMethods?: string;
1122
1442
  /**
1123
- * - App Shipment Id
1443
+ * - The shipment ID used in the
1444
+ * application, which can be used to reference specific shipments.
1124
1445
  */
1125
1446
  channelShipmentId?: string;
1126
1447
  /**
1127
- * - App Order Id
1448
+ * - The order ID used in the application.
1128
1449
  */
1129
1450
  channelOrderId?: string;
1451
+ /**
1452
+ * - Custom metadata associated with the query,
1453
+ * allowing for additional filtering or information to be passed.
1454
+ */
1130
1455
  customMeta?: string;
1456
+ /**
1457
+ * - The channel through which the order was placed.
1458
+ */
1131
1459
  orderingChannel?: string;
1460
+ /**
1461
+ * - A tag used to identify the
1462
+ * company's affiliation for filtering or reporting purposes.
1463
+ */
1132
1464
  companyAffiliateTag?: string;
1465
+ /**
1466
+ * - A boolean flag indicating whether the query
1467
+ * should return only the user's orders.
1468
+ */
1133
1469
  myOrders?: boolean;
1470
+ /**
1471
+ * - The unique identifier of the user on
1472
+ * the platform, useful for filtering orders related to a specific user.
1473
+ */
1134
1474
  platformUserId?: string;
1135
1475
  /**
1136
- * - Sort the result data on basis of input
1476
+ * - Determines the sorting order of the results
1477
+ * based on specific criteria.
1137
1478
  */
1138
1479
  sortType?: string;
1139
1480
  /**
1140
- * - Flag to view cross & non-cross
1141
- * company order
1481
+ * - A flag indicating whether to
1482
+ * include data from both cross-company and non-cross-company orders in the results.
1142
1483
  */
1143
1484
  showCrossCompanyData?: boolean;
1144
1485
  /**
1145
- * - Comma separated values of tags
1486
+ * - A comma-separated list of tags associated with
1487
+ * the orders to filter results based on specific characteristics.
1146
1488
  */
1147
1489
  tags?: string;
1490
+ /**
1491
+ * - The unique identifier for the customer
1492
+ * associated with the query, useful for filtering results to a specific customer.
1493
+ */
1148
1494
  customerId?: string;
1495
+ /**
1496
+ * - The type of order being queried.
1497
+ */
1149
1498
  orderType?: string;
1499
+ /**
1500
+ * - Defines the grouping criterion for
1501
+ * retrieving shipments or orders. It specifies whether the results should be
1502
+ * organized based on shipment groups or order groups. For example, using
1503
+ * 'shipments' groups results by shipment, while an invalid value like 'abcd'
1504
+ * may not be recognized, leading to errors or default behavior.
1505
+ */
1506
+ groupEntity?: string;
1150
1507
  /**
1151
1508
  * - Applies a date filter for listing
1152
1509
  * shipments. This is useful when fetching data for a specific date range
1153
1510
  * while performing searches.
1154
1511
  */
1155
1512
  enforceDateFilter?: boolean;
1513
+ /**
1514
+ * - Define the Fulfillment Type for
1515
+ * Listing Orders, This is use when we want to get list of shipments or orders
1516
+ * by cross store or cross company or fulfilling Store (by default), this is
1517
+ * also depends on the login user accessType and store access
1518
+ */
1519
+ fulfillmentType?: string;
1520
+ /**
1521
+ * - Filter orders by ordering source.
1522
+ * Accepts comma-separated values for multiple sources.
1523
+ */
1524
+ orderingSource?: string;
1525
+ /**
1526
+ * - Comma-separated channel account IDs
1527
+ * to filter orders by specific channel accounts.
1528
+ */
1529
+ channelAccountId?: string;
1156
1530
  };
1157
1531
  type GetStateManagerConfigParam = {
1158
1532
  /**
@@ -1163,6 +1537,11 @@ type GetStateManagerConfigParam = {
1163
1537
  * - The channel through which orders are placed.
1164
1538
  */
1165
1539
  orderingChannel?: string;
1540
+ /**
1541
+ * - To uniquely identify the source through
1542
+ * which order has been placed.
1543
+ */
1544
+ orderingSource?: string;
1166
1545
  /**
1167
1546
  * - The entity for which the configuration is applied.
1168
1547
  */
@@ -1181,9 +1560,6 @@ type GetfiltersParam = {
1181
1560
  */
1182
1561
  groupEntity?: string;
1183
1562
  };
1184
- type InvalidateShipmentCacheParam = {
1185
- body: OrderPlatformModel.InvalidateShipmentCachePayload;
1186
- };
1187
1563
  type JobDetailsParam = {
1188
1564
  /**
1189
1565
  * - A unique identifier for the batch associated
@@ -1191,6 +1567,18 @@ type JobDetailsParam = {
1191
1567
  */
1192
1568
  batchId: string;
1193
1569
  };
1570
+ type ListAccountsParam = {
1571
+ /**
1572
+ * - The page number to retrieve in the paginated
1573
+ * results. Default is page 1.
1574
+ */
1575
+ page?: number;
1576
+ /**
1577
+ * - Number of channel accounts to return per page.
1578
+ * Default is 20 items per page.
1579
+ */
1580
+ size?: number;
1581
+ };
1194
1582
  type OrderUpdateParam = {
1195
1583
  body: OrderPlatformModel.PlatformOrderUpdate;
1196
1584
  };
@@ -1200,6 +1588,22 @@ type PostShipmentHistoryParam = {
1200
1588
  type ReassignLocationParam = {
1201
1589
  body: OrderPlatformModel.StoreReassign;
1202
1590
  };
1591
+ type RequestCourierPartnerForShipmentParam = {
1592
+ /**
1593
+ * - The unique identifier for the shipment. This
1594
+ * ID is used to track and reference the shipment throughout its journey.
1595
+ */
1596
+ shipmentId: string;
1597
+ body: OrderPlatformModel.ShipmentCourierPartnerRequestSchema;
1598
+ };
1599
+ type SaveCourierPartnerPreferenceForShipmentParam = {
1600
+ /**
1601
+ * - The unique identifier for the shipment. This
1602
+ * ID is used to track and reference the shipment throughout its journey.
1603
+ */
1604
+ shipmentId: string;
1605
+ body: OrderPlatformModel.ShipmentCourierPartnerPreference;
1606
+ };
1203
1607
  type SendSmsNinjaParam = {
1204
1608
  body: OrderPlatformModel.SendSmsPayload;
1205
1609
  };
@@ -1224,26 +1628,37 @@ type TrackShipmentParam = {
1224
1628
  */
1225
1629
  pageSize?: number;
1226
1630
  };
1631
+ type UpdateAccountParam = {
1632
+ /**
1633
+ * - Unique identifier of the account.
1634
+ */
1635
+ channelAccountId: string;
1636
+ body: OrderPlatformModel.CreateAccount;
1637
+ };
1227
1638
  type UpdateAddressParam = {
1639
+ /**
1640
+ * - Unique shipment no. that is auto-generated
1641
+ */
1228
1642
  shipmentId: string;
1229
- name?: string;
1230
- address?: string;
1231
- addressType?: string;
1232
- pincode?: string;
1233
- phone?: string;
1234
- email?: string;
1235
- landmark?: string;
1236
- addressCategory: string;
1237
- city?: string;
1238
- state?: string;
1239
- country?: string;
1643
+ body: OrderPlatformModel.UpdateAddressRequestBody;
1240
1644
  };
1241
1645
  type UpdatePackagingDimensionsParam = {
1242
1646
  body: OrderPlatformModel.UpdatePackagingDimensionsPayload;
1243
1647
  };
1648
+ type UpdatePaymentInfoParam = {
1649
+ body: OrderPlatformModel.UpdateShipmentPaymentMode;
1650
+ };
1244
1651
  type UpdateShipmentLockParam = {
1245
1652
  body: OrderPlatformModel.UpdateShipmentLockPayload;
1246
1653
  };
1654
+ type UpdateShipmentPackagesParam = {
1655
+ /**
1656
+ * - Unique identifier for the shipment whose
1657
+ * packages will be updated.
1658
+ */
1659
+ shipmentId: string;
1660
+ body: OrderPlatformModel.PackagesSchema;
1661
+ };
1247
1662
  type UpdateShipmentStatusParam = {
1248
1663
  body: OrderPlatformModel.UpdateShipmentStatusRequestSchema;
1249
1664
  };
@@ -1258,6 +1673,7 @@ type VerifyMobileOTPParam = {
1258
1673
  };
1259
1674
  type GetAllowedTemplatesForBulkParam = any;
1260
1675
  type GetBulkActionTemplateParam = any;
1676
+ type GetChannelConfigParam = any;
1261
1677
  type GetRoleBasedActionsParam = any;
1262
1678
  type GetStateTransitionMapParam = any;
1263
1679
  import OrderPlatformModel = require("./OrderPlatformModel");