@gofynd/fdk-client-javascript 1.4.16-beta.4 → 1.4.16-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +68 -48
  6. package/sdk/application/Cart/CartApplicationClient.js +118 -27
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +59 -58
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +30 -29
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  10. package/sdk/application/Common/CommonApplicationClient.js +1 -1
  11. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
  12. package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
  13. package/sdk/application/Content/ContentApplicationClient.d.ts +51 -30
  14. package/sdk/application/Content/ContentApplicationClient.js +161 -56
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -11
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -10
  17. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  18. package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
  20. package/sdk/application/Lead/LeadApplicationClient.js +1 -1
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +35 -15
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +101 -8
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +22 -12
  24. package/sdk/application/Order/OrderApplicationClient.js +56 -8
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
  26. package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  29. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  30. package/sdk/application/Theme/ThemeApplicationClient.js +4 -2
  31. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  32. package/sdk/application/User/UserApplicationClient.js +6 -6
  33. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  34. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
  35. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  36. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  37. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -21
  38. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -16
  39. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  40. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  41. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  42. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  43. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  44. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  45. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  46. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  47. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
  48. package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
  49. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  50. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
  51. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  52. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  53. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  54. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  55. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  56. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  57. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  58. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  59. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  60. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  61. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  62. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  63. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  64. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  65. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  66. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  67. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  68. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  69. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  70. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  71. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  72. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  73. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  74. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  75. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  76. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  77. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  78. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  79. package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
  80. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +121 -65
  81. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
  82. package/sdk/platform/Cart/CartPlatformModel.d.ts +5070 -1296
  83. package/sdk/platform/Cart/CartPlatformModel.js +1992 -1217
  84. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
  85. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
  86. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
  87. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
  88. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
  89. package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
  90. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6512 -1770
  91. package/sdk/platform/Catalog/CatalogPlatformModel.js +3228 -1687
  92. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
  93. package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
  94. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  95. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  96. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  97. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  98. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  99. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  100. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  101. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  102. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  103. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  104. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  105. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  106. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  107. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  108. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  109. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  110. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  111. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  112. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  113. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  114. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  115. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  116. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  117. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  118. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  119. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  120. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +204 -141
  121. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1076 -478
  122. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +253 -141
  123. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +256 -130
  124. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  125. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  126. package/sdk/platform/Content/ContentPlatformModel.d.ts +1372 -400
  127. package/sdk/platform/Content/ContentPlatformModel.js +631 -394
  128. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  129. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  130. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  131. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  132. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  133. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  134. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  136. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +95 -39
  137. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -63
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  140. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -22
  141. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -24
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -116
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -104
  144. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  145. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  146. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  147. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  148. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  149. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  150. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
  151. package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
  152. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
  153. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
  154. package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
  155. package/sdk/platform/Order/OrderPlatformClient.js +416 -198
  156. package/sdk/platform/Order/OrderPlatformModel.d.ts +7607 -1267
  157. package/sdk/platform/Order/OrderPlatformModel.js +3929 -1269
  158. package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
  159. package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
  160. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  161. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  162. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  163. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  164. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  165. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  166. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  167. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  168. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  169. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  170. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
  171. package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
  172. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  173. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  174. package/sdk/platform/PlatformClient.d.ts +0 -2
  175. package/sdk/platform/PlatformClient.js +0 -4
  176. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  177. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  178. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  179. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  180. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  181. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  182. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +46 -36
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1842 -609
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +886 -554
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
  192. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
  193. package/sdk/platform/Share/SharePlatformApplicationClient.js +9 -9
  194. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +3 -6
  195. package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
  196. package/sdk/platform/Share/SharePlatformModel.d.ts +46 -7
  197. package/sdk/platform/Share/SharePlatformModel.js +31 -6
  198. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  199. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  200. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  201. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  202. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  203. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  204. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  205. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  206. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  207. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  208. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  209. package/sdk/platform/User/UserPlatformModel.js +23 -23
  210. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  211. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  212. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  213. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  214. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  215. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  216. package/sdk/platform/index.d.ts +0 -1
  217. package/sdk/platform/index.js +0 -2
  218. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  219. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  220. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  221. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  222. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  223. package/sdk/public/Content/ContentPublicClient.js +810 -6
  224. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  225. package/sdk/public/Content/ContentPublicModel.js +649 -3
  226. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  227. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  228. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  229. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  230. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  231. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  232. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  233. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  234. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  235. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  236. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  237. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  238. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  239. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -27,6 +27,10 @@ export = OrderPlatformValidator;
27
27
  * @typedef CheckOrderStatusParam
28
28
  * @property {OrderPlatformModel.OrderStatus} body
29
29
  */
30
+ /**
31
+ * @typedef CreateChannelConfigParam
32
+ * @property {OrderPlatformModel.CreateChannelConfigData} body
33
+ */
30
34
  /**
31
35
  * @typedef CreateOrderParam
32
36
  * @property {OrderPlatformModel.CreateOrderAPI} body
@@ -41,7 +45,7 @@ export = OrderPlatformValidator;
41
45
  */
42
46
  /**
43
47
  * @typedef DownloadLanesReportParam
44
- * @property {OrderPlatformModel.BulkReportsDownloadRequest} body
48
+ * @property {OrderPlatformModel.BulkReportsDownloadRequestSchema} body
45
49
  */
46
50
  /**
47
51
  * @typedef EInvoiceRetryParam
@@ -76,7 +80,7 @@ export = OrderPlatformValidator;
76
80
  */
77
81
  /**
78
82
  * @typedef GenerateProcessManifestParam
79
- * @property {OrderPlatformModel.ProcessManifestRequest} body
83
+ * @property {OrderPlatformModel.ProcessManifestRequestSchema} body
80
84
  */
81
85
  /**
82
86
  * @typedef GetAllowedStateTransitionParam
@@ -91,7 +95,7 @@ export = OrderPlatformValidator;
91
95
  */
92
96
  /**
93
97
  * @typedef GetBagByIdParam
94
- * @property {string} [bagId] - Id of bag
98
+ * @property {string} [bagId] - Unique identifier of a bag
95
99
  * @property {string} [channelBagId] - Id of application bag
96
100
  * @property {string} [channelId] - Id of application
97
101
  */
@@ -112,8 +116,8 @@ export = OrderPlatformValidator;
112
116
  * @typedef GetBulkShipmentExcelFileParam
113
117
  * @property {string} [salesChannels] - Comma separated values of sales channel ids
114
118
  * @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
119
+ * @property {string} [startDate] - Date time in UTC timezone as per ISO format.
120
+ * @property {string} [endDate] - Date time in UTC timezone as per ISO format.
117
121
  * @property {string} [stores] - Comma separated values of store ids
118
122
  * @property {string} [tags] - Comma separated values of tags
119
123
  * @property {string} [bagStatus] - Comma separated values of bag statuses
@@ -123,11 +127,12 @@ export = OrderPlatformValidator;
123
127
  * @property {number} [pageNo]
124
128
  * @property {number} [pageSize]
125
129
  */
130
+ /** @typedef GetChannelConfigParam */
126
131
  /**
127
132
  * @typedef GetFileByStatusParam
128
133
  * @property {string} batchId - Batch Id to identify the bulk operation request.
129
134
  * @property {string} status - The status of the jobs to filter the results.
130
- * @property {string} fileType - The type of file to be downloaded.
135
+ * @property {string} fileType
131
136
  * @property {string} [reportType] - The type of report to be downloaded.
132
137
  */
133
138
  /**
@@ -143,15 +148,27 @@ export = OrderPlatformValidator;
143
148
  * @property {string} [salesChannels]
144
149
  * @property {string} [paymentMode] - Comma separated values of payment modes
145
150
  * @property {string} [bagStatus] - Comma separated values of bag statuses
146
- * @property {string} [searchType]
151
+ * @property {string} [searchType] - Search_type refers to the field that will
152
+ * be used as the target for the search operation
147
153
  * @property {string} [searchValue]
148
154
  * @property {string} [tags]
149
- * @property {number} [timeToDispatch]
155
+ * @property {number} [timeToDispatch] - Time_to_dispatch refers to estimated SLA time.
150
156
  * @property {string} [paymentMethods]
151
157
  * @property {boolean} [myOrders]
152
158
  * @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
153
159
  * company order
154
- * @property {string} [orderType]
160
+ * @property {string} [orderType] - Defines the specific journey a shipment will
161
+ * follow based on the application's operational needs and customer
162
+ * preferences. This field categorizes orders into distinct types, each
163
+ * associated with a unique processing flow. For example:
164
+ *
165
+ * - "HomeDelivery": The order goes through all the steps needed for delivery,
166
+ * from being packed to arriving at the customer’s address.
167
+ * - "PickAtStore": The order is prepared for pickup at the store, skipping
168
+ * shipping steps to make it ready faster for the customer to collect in person.
169
+ * - "Digital": This order type likely refers to orders that involve digital goods
170
+ * or services, such as software, digital subscriptions, e-books, online
171
+ * courses, or any other item that can be delivered electronically.
155
172
  */
156
173
  /**
157
174
  * @typedef GetManifestDetailsParam
@@ -208,35 +225,44 @@ export = OrderPlatformValidator;
208
225
  /**
209
226
  * @typedef GetOrdersParam
210
227
  * @property {string} [lane] - Lane refers to a section where orders are
211
- * assigned, indicating its grouping
228
+ * assigned, indicating its grouping.
212
229
  * @property {string} [searchType] - Search_type refers to the field that will
213
- * be used as the target for the search operation
230
+ * be used as the target for the search operation.
214
231
  * @property {string} [bagStatus] - Bag_status refers to status of the entity.
215
232
  * Filters orders based on the status.
216
233
  * @property {number} [timeToDispatch] - Time_to_dispatch refers to estimated SLA time.
217
- * @property {string} [paymentMethods]
234
+ * @property {string} [paymentMethods] - Comma separated values of payment
235
+ * methods that were used to place order.
218
236
  * @property {string} [tags] - Tags refers to additional descriptive labels
219
237
  * associated with the order
220
238
  * @property {string} [searchValue] - Search_value is matched against the field
221
239
  * specified by the search_type
222
- * @property {string} [fromDate]
223
- * @property {string} [toDate]
224
- * @property {string} [startDate]
225
- * @property {string} [endDate]
240
+ * @property {string} [fromDate] - Date time in UTC timezone as per ISO format.
241
+ * @property {string} [toDate] - Date time in UTC timezone as per ISO format.
242
+ * @property {string} [startDate] - Date time in UTC timezone as per ISO format.
243
+ * @property {string} [endDate] - Date time in UTC timezone as per ISO format.
226
244
  * @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]
245
+ * @property {string} [stores] - A comma-separated list of store IDs used to
246
+ * filter results to only those related to specific stores.
247
+ * @property {string} [salesChannels] - A comma-separated list of sales channel
248
+ * IDs to filter results based on the sales channels involved.
249
+ * @property {number} [pageNo] - Specifies the page number for paginated results.
250
+ * @property {number} [pageSize] - Determines the number of results returned per page.
231
251
  * @property {boolean} [isPrioritySort]
232
252
  * @property {string} [customMeta]
233
253
  * @property {boolean} [myOrders]
234
254
  * @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
235
255
  * company order
236
- * @property {string} [customerId]
256
+ * @property {string} [customerId] - The unique identifier for the customer
257
+ * associated with the query, useful for filtering results to a specific customer.
237
258
  * @property {string} [orderType]
238
259
  * @property {boolean} [allowInactive] - Flag indicating whether inactive
239
260
  * shipments are allowed
261
+ * @property {string} [groupEntity] - Defines the grouping criterion for
262
+ * retrieving shipments or orders. It specifies whether the results should be
263
+ * organized based on shipment groups or order groups. For example, using
264
+ * 'shipments' groups results by shipment, while an invalid value like 'abcd'
265
+ * may not be recognized, leading to errors or default behavior.
240
266
  * @property {boolean} [enforceDateFilter] - Applies a date filter for listing
241
267
  * orders. This is useful when fetching data for a specific date range while
242
268
  * performing searches.
@@ -244,8 +270,9 @@ export = OrderPlatformValidator;
244
270
  /** @typedef GetRoleBasedActionsParam */
245
271
  /**
246
272
  * @typedef GetShipmentByIdParam
247
- * @property {string} [channelShipmentId] - App Shipment Id
248
- * @property {string} [shipmentId] - Shipment Id
273
+ * @property {string} [channelShipmentId] - The shipment ID used in the
274
+ * application, which can be used to reference specific shipments.
275
+ * @property {string} [shipmentId] - The unique identifier for a shipment.
249
276
  * @property {boolean} [fetchActiveShipment] - Flag to fetch active or
250
277
  * deactivated shipments
251
278
  * @property {boolean} [allowInactive] - Flag indicating whether inactive
@@ -268,38 +295,61 @@ export = OrderPlatformValidator;
268
295
  /**
269
296
  * @typedef GetShipmentsParam
270
297
  * @property {string} [lane] - Name of lane for which data is to be fetched
271
- * @property {string} [bagStatus] - Comma separated values of bag statuses
298
+ * @property {string} [bagStatus] - Comma separated values of bag statuses.
272
299
  * @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
300
+ * bag_status and override lane.
301
+ * @property {number} [timeToDispatch] - Indicates the time to dispatch.
302
+ * @property {string} [searchType] - Specifies the key used to determine the
303
+ * type of search being performed.
304
+ * @property {string} [searchValue] - The value corresponding to the search
305
+ * type, such as a specific shipment ID or order ID.
277
306
  * @property {string} [fromDate] - Start Date in DD-MM-YYYY format
278
307
  * @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]
308
+ * @property {string} [startDate] - The UTC start date in ISO format
309
+ * (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
310
+ * @property {string} [endDate] - The UTC end date in ISO format
311
+ * (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
312
+ * @property {string} [dpIds] - A comma-separated list of delivery partner IDs
313
+ * to filter results by specific delivery partners.
314
+ * @property {string} [stores] - A comma-separated list of store IDs used to
315
+ * filter results to only those related to specific stores.
316
+ * @property {string} [salesChannels] - A comma-separated list of sales channel
317
+ * IDs to filter results based on the sales channels involved.
318
+ * @property {number} [pageNo] - Specifies the page number for paginated results.
319
+ * @property {number} [pageSize] - Determines the number of results returned per page.
320
+ * @property {boolean} [fetchActiveShipment] - A boolean flag that indicates
321
+ * whether to include only active shipments in the results.
322
+ * @property {boolean} [allowInactive] - A flag indicating whether to allow the
323
+ * inclusion of inactive shipments in the results.
324
+ * @property {boolean} [excludeLockedShipments] - A flag to specify whether to
325
+ * exclude shipments that are locked from the results.
326
+ * @property {string} [paymentMethods] - A comma-separated list of payment methods.
327
+ * @property {string} [channelShipmentId] - The shipment ID used in the
328
+ * application, which can be used to reference specific shipments.
329
+ * @property {string} [channelOrderId] - The order ID used in the application.
330
+ * @property {string} [customMeta] - Custom metadata associated with the query,
331
+ * allowing for additional filtering or information to be passed.
332
+ * @property {string} [orderingChannel] - The channel through which the order was placed.
333
+ * @property {string} [companyAffiliateTag] - A tag used to identify the
334
+ * company's affiliation for filtering or reporting purposes.
335
+ * @property {boolean} [myOrders] - A boolean flag indicating whether the query
336
+ * should return only the user's orders.
337
+ * @property {string} [platformUserId] - The unique identifier of the user on
338
+ * the platform, useful for filtering orders related to a specific user.
339
+ * @property {string} [sortType] - Determines the sorting order of the results
340
+ * based on specific criteria.
341
+ * @property {boolean} [showCrossCompanyData] - A flag indicating whether to
342
+ * include data from both cross-company and non-cross-company orders in the results.
343
+ * @property {string} [tags] - A comma-separated list of tags associated with
344
+ * the orders to filter results based on specific characteristics.
345
+ * @property {string} [customerId] - The unique identifier for the customer
346
+ * associated with the query, useful for filtering results to a specific customer.
347
+ * @property {string} [orderType] - The type of order being queried.
348
+ * @property {string} [groupEntity] - Defines the grouping criterion for
349
+ * retrieving shipments or orders. It specifies whether the results should be
350
+ * organized based on shipment groups or order groups. For example, using
351
+ * 'shipments' groups results by shipment, while an invalid value like 'abcd'
352
+ * may not be recognized, leading to errors or default behavior.
303
353
  * @property {boolean} [enforceDateFilter] - Applies a date filter for listing
304
354
  * shipments. This is useful when fetching data for a specific date range
305
355
  * while performing searches.
@@ -358,23 +408,17 @@ export = OrderPlatformValidator;
358
408
  */
359
409
  /**
360
410
  * @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]
411
+ * @property {string} shipmentId - Unique shipment no. that is auto-generated
412
+ * @property {OrderPlatformModel.UpdateAddressRequestBody} body
373
413
  */
374
414
  /**
375
415
  * @typedef UpdatePackagingDimensionsParam
376
416
  * @property {OrderPlatformModel.UpdatePackagingDimensionsPayload} body
377
417
  */
418
+ /**
419
+ * @typedef UpdatePaymentInfoParam
420
+ * @property {OrderPlatformModel.UpdateShipmentPaymentMode} body
421
+ */
378
422
  /**
379
423
  * @typedef UpdateShipmentLockParam
380
424
  * @property {OrderPlatformModel.UpdateShipmentLockPayload} body
@@ -406,6 +450,8 @@ declare class OrderPlatformValidator {
406
450
  static bulkStateTransistion(): BulkStateTransistionParam;
407
451
  /** @returns {CheckOrderStatusParam} */
408
452
  static checkOrderStatus(): CheckOrderStatusParam;
453
+ /** @returns {CreateChannelConfigParam} */
454
+ static createChannelConfig(): CreateChannelConfigParam;
409
455
  /** @returns {CreateOrderParam} */
410
456
  static createOrder(): CreateOrderParam;
411
457
  /** @returns {DispatchManifestsParam} */
@@ -442,6 +488,8 @@ declare class OrderPlatformValidator {
442
488
  static getBulkActionTemplate(): any;
443
489
  /** @returns {GetBulkShipmentExcelFileParam} */
444
490
  static getBulkShipmentExcelFile(): GetBulkShipmentExcelFileParam;
491
+ /** @returns {GetChannelConfigParam} */
492
+ static getChannelConfig(): any;
445
493
  /** @returns {GetFileByStatusParam} */
446
494
  static getFileByStatus(): GetFileByStatusParam;
447
495
  /** @returns {GetLaneConfigParam} */
@@ -496,6 +544,8 @@ declare class OrderPlatformValidator {
496
544
  static updateAddress(): UpdateAddressParam;
497
545
  /** @returns {UpdatePackagingDimensionsParam} */
498
546
  static updatePackagingDimensions(): UpdatePackagingDimensionsParam;
547
+ /** @returns {UpdatePaymentInfoParam} */
548
+ static updatePaymentInfo(): UpdatePaymentInfoParam;
499
549
  /** @returns {UpdateShipmentLockParam} */
500
550
  static updateShipmentLock(): UpdateShipmentLockParam;
501
551
  /** @returns {UpdateShipmentStatusParam} */
@@ -508,7 +558,7 @@ declare class OrderPlatformValidator {
508
558
  static verifyMobileOTP(): VerifyMobileOTPParam;
509
559
  }
510
560
  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 };
561
+ export { AddStateManagerConfigParam, AttachOrderUserParam, BulkListingParam, BulkStateTransistionParam, CheckOrderStatusParam, CreateChannelConfigParam, CreateOrderParam, DispatchManifestsParam, DownloadBulkActionTemplateParam, DownloadLanesReportParam, EInvoiceRetryParam, FailedOrderLogDetailsParam, FailedOrderLogsParam, FetchRefundModeConfigParam, GenerateInvoiceIDParam, GeneratePOSReceiptByOrderIdParam, GenerateProcessManifestParam, GetAllowedStateTransitionParam, GetAllowedTemplatesForBulkParam, GetAnnouncementsParam, GetBagByIdParam, GetBagsParam, GetBulkActionTemplateParam, GetBulkShipmentExcelFileParam, GetChannelConfigParam, 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, UpdatePaymentInfoParam, UpdateShipmentLockParam, UpdateShipmentStatusParam, UpdateShipmentTrackingParam, UploadConsentsParam, VerifyMobileOTPParam };
512
562
  }
513
563
  type AddStateManagerConfigParam = {
514
564
  body: OrderPlatformModel.TransitionConfigPayload;
@@ -554,6 +604,9 @@ type BulkStateTransistionParam = {
554
604
  type CheckOrderStatusParam = {
555
605
  body: OrderPlatformModel.OrderStatus;
556
606
  };
607
+ type CreateChannelConfigParam = {
608
+ body: OrderPlatformModel.CreateChannelConfigData;
609
+ };
557
610
  type CreateOrderParam = {
558
611
  body: OrderPlatformModel.CreateOrderAPI;
559
612
  };
@@ -567,7 +620,7 @@ type DownloadBulkActionTemplateParam = {
567
620
  templateSlug?: string;
568
621
  };
569
622
  type DownloadLanesReportParam = {
570
- body: OrderPlatformModel.BulkReportsDownloadRequest;
623
+ body: OrderPlatformModel.BulkReportsDownloadRequestSchema;
571
624
  };
572
625
  type EInvoiceRetryParam = {
573
626
  body: OrderPlatformModel.EInvoiceRetry;
@@ -616,7 +669,7 @@ type GeneratePOSReceiptByOrderIdParam = {
616
669
  documentType?: string;
617
670
  };
618
671
  type GenerateProcessManifestParam = {
619
- body: OrderPlatformModel.ProcessManifestRequest;
672
+ body: OrderPlatformModel.ProcessManifestRequestSchema;
620
673
  };
621
674
  type GetAllowedStateTransitionParam = {
622
675
  /**
@@ -637,7 +690,7 @@ type GetAnnouncementsParam = {
637
690
  };
638
691
  type GetBagByIdParam = {
639
692
  /**
640
- * - Id of bag
693
+ * - Unique identifier of a bag
641
694
  */
642
695
  bagId?: string;
643
696
  /**
@@ -697,11 +750,11 @@ type GetBulkShipmentExcelFileParam = {
697
750
  */
698
751
  dpIds?: string;
699
752
  /**
700
- * - UTC start date in ISO format
753
+ * - Date time in UTC timezone as per ISO format.
701
754
  */
702
755
  startDate?: string;
703
756
  /**
704
- * - UTC end date in ISO format
757
+ * - Date time in UTC timezone as per ISO format.
705
758
  */
706
759
  endDate?: string;
707
760
  /**
@@ -740,9 +793,6 @@ type GetFileByStatusParam = {
740
793
  * - The status of the jobs to filter the results.
741
794
  */
742
795
  status: string;
743
- /**
744
- * - The type of file to be downloaded.
745
- */
746
796
  fileType: string;
747
797
  /**
748
798
  * - The type of report to be downloaded.
@@ -791,9 +841,16 @@ type GetLaneConfigParam = {
791
841
  * - Comma separated values of bag statuses
792
842
  */
793
843
  bagStatus?: string;
844
+ /**
845
+ * - Search_type refers to the field that will
846
+ * be used as the target for the search operation
847
+ */
794
848
  searchType?: string;
795
849
  searchValue?: string;
796
850
  tags?: string;
851
+ /**
852
+ * - Time_to_dispatch refers to estimated SLA time.
853
+ */
797
854
  timeToDispatch?: number;
798
855
  paymentMethods?: string;
799
856
  myOrders?: boolean;
@@ -802,6 +859,20 @@ type GetLaneConfigParam = {
802
859
  * company order
803
860
  */
804
861
  showCrossCompanyData?: boolean;
862
+ /**
863
+ * - Defines the specific journey a shipment will
864
+ * follow based on the application's operational needs and customer
865
+ * preferences. This field categorizes orders into distinct types, each
866
+ * associated with a unique processing flow. For example:
867
+ *
868
+ * - "HomeDelivery": The order goes through all the steps needed for delivery,
869
+ * from being packed to arriving at the customer’s address.
870
+ * - "PickAtStore": The order is prepared for pickup at the store, skipping
871
+ * shipping steps to make it ready faster for the customer to collect in person.
872
+ * - "Digital": This order type likely refers to orders that involve digital goods
873
+ * or services, such as software, digital subscriptions, e-books, online
874
+ * courses, or any other item that can be delivered electronically.
875
+ */
805
876
  orderType?: string;
806
877
  };
807
878
  type GetManifestDetailsParam = {
@@ -935,12 +1006,12 @@ type GetOrderByIdParam = {
935
1006
  type GetOrdersParam = {
936
1007
  /**
937
1008
  * - Lane refers to a section where orders are
938
- * assigned, indicating its grouping
1009
+ * assigned, indicating its grouping.
939
1010
  */
940
1011
  lane?: string;
941
1012
  /**
942
1013
  * - Search_type refers to the field that will
943
- * be used as the target for the search operation
1014
+ * be used as the target for the search operation.
944
1015
  */
945
1016
  searchType?: string;
946
1017
  /**
@@ -952,6 +1023,10 @@ type GetOrdersParam = {
952
1023
  * - Time_to_dispatch refers to estimated SLA time.
953
1024
  */
954
1025
  timeToDispatch?: number;
1026
+ /**
1027
+ * - Comma separated values of payment
1028
+ * methods that were used to place order.
1029
+ */
955
1030
  paymentMethods?: string;
956
1031
  /**
957
1032
  * - Tags refers to additional descriptive labels
@@ -963,17 +1038,43 @@ type GetOrdersParam = {
963
1038
  * specified by the search_type
964
1039
  */
965
1040
  searchValue?: string;
1041
+ /**
1042
+ * - Date time in UTC timezone as per ISO format.
1043
+ */
966
1044
  fromDate?: string;
1045
+ /**
1046
+ * - Date time in UTC timezone as per ISO format.
1047
+ */
967
1048
  toDate?: string;
1049
+ /**
1050
+ * - Date time in UTC timezone as per ISO format.
1051
+ */
968
1052
  startDate?: string;
1053
+ /**
1054
+ * - Date time in UTC timezone as per ISO format.
1055
+ */
969
1056
  endDate?: string;
970
1057
  /**
971
1058
  * - Delivery Partner IDs to which shipments are assigned.
972
1059
  */
973
1060
  dpIds?: string;
1061
+ /**
1062
+ * - A comma-separated list of store IDs used to
1063
+ * filter results to only those related to specific stores.
1064
+ */
974
1065
  stores?: string;
1066
+ /**
1067
+ * - A comma-separated list of sales channel
1068
+ * IDs to filter results based on the sales channels involved.
1069
+ */
975
1070
  salesChannels?: string;
1071
+ /**
1072
+ * - Specifies the page number for paginated results.
1073
+ */
976
1074
  pageNo?: number;
1075
+ /**
1076
+ * - Determines the number of results returned per page.
1077
+ */
977
1078
  pageSize?: number;
978
1079
  isPrioritySort?: boolean;
979
1080
  customMeta?: string;
@@ -983,6 +1084,10 @@ type GetOrdersParam = {
983
1084
  * company order
984
1085
  */
985
1086
  showCrossCompanyData?: boolean;
1087
+ /**
1088
+ * - The unique identifier for the customer
1089
+ * associated with the query, useful for filtering results to a specific customer.
1090
+ */
986
1091
  customerId?: string;
987
1092
  orderType?: string;
988
1093
  /**
@@ -990,6 +1095,14 @@ type GetOrdersParam = {
990
1095
  * shipments are allowed
991
1096
  */
992
1097
  allowInactive?: boolean;
1098
+ /**
1099
+ * - Defines the grouping criterion for
1100
+ * retrieving shipments or orders. It specifies whether the results should be
1101
+ * organized based on shipment groups or order groups. For example, using
1102
+ * 'shipments' groups results by shipment, while an invalid value like 'abcd'
1103
+ * may not be recognized, leading to errors or default behavior.
1104
+ */
1105
+ groupEntity?: string;
993
1106
  /**
994
1107
  * - Applies a date filter for listing
995
1108
  * orders. This is useful when fetching data for a specific date range while
@@ -999,11 +1112,12 @@ type GetOrdersParam = {
999
1112
  };
1000
1113
  type GetShipmentByIdParam = {
1001
1114
  /**
1002
- * - App Shipment Id
1115
+ * - The shipment ID used in the
1116
+ * application, which can be used to reference specific shipments.
1003
1117
  */
1004
1118
  channelShipmentId?: string;
1005
1119
  /**
1006
- * - Shipment Id
1120
+ * - The unique identifier for a shipment.
1007
1121
  */
1008
1122
  shipmentId?: string;
1009
1123
  /**
@@ -1050,21 +1164,26 @@ type GetShipmentsParam = {
1050
1164
  */
1051
1165
  lane?: string;
1052
1166
  /**
1053
- * - Comma separated values of bag statuses
1167
+ * - Comma separated values of bag statuses.
1054
1168
  */
1055
1169
  bagStatus?: string;
1056
1170
  /**
1057
1171
  * - Use this flag to fetch by
1058
- * bag_status and override lane
1172
+ * bag_status and override lane.
1059
1173
  */
1060
1174
  statusOverrideLane?: boolean;
1175
+ /**
1176
+ * - Indicates the time to dispatch.
1177
+ */
1061
1178
  timeToDispatch?: number;
1062
1179
  /**
1063
- * - Search type key
1180
+ * - Specifies the key used to determine the
1181
+ * type of search being performed.
1064
1182
  */
1065
1183
  searchType?: string;
1066
1184
  /**
1067
- * - Search type value
1185
+ * - The value corresponding to the search
1186
+ * type, such as a specific shipment ID or order ID.
1068
1187
  */
1069
1188
  searchValue?: string;
1070
1189
  /**
@@ -1076,77 +1195,122 @@ type GetShipmentsParam = {
1076
1195
  */
1077
1196
  toDate?: string;
1078
1197
  /**
1079
- * - UTC Start Date in ISO format
1198
+ * - The UTC start date in ISO format
1199
+ * (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
1080
1200
  */
1081
1201
  startDate?: string;
1082
1202
  /**
1083
- * - UTC End Date in ISO format
1203
+ * - The UTC end date in ISO format
1204
+ * (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
1084
1205
  */
1085
1206
  endDate?: string;
1086
1207
  /**
1087
- * - Comma separated values of delivery partner ids
1208
+ * - A comma-separated list of delivery partner IDs
1209
+ * to filter results by specific delivery partners.
1088
1210
  */
1089
1211
  dpIds?: string;
1090
1212
  /**
1091
- * - Comma separated values of store ids
1213
+ * - A comma-separated list of store IDs used to
1214
+ * filter results to only those related to specific stores.
1092
1215
  */
1093
1216
  stores?: string;
1094
1217
  /**
1095
- * - Comma separated values of sales channel ids
1218
+ * - A comma-separated list of sales channel
1219
+ * IDs to filter results based on the sales channels involved.
1096
1220
  */
1097
1221
  salesChannels?: string;
1098
1222
  /**
1099
- * - Page number for paginated data
1223
+ * - Specifies the page number for paginated results.
1100
1224
  */
1101
1225
  pageNo?: number;
1102
1226
  /**
1103
- * - Page size of data received per page
1227
+ * - Determines the number of results returned per page.
1104
1228
  */
1105
1229
  pageSize?: number;
1106
1230
  /**
1107
- * - Flag to fetch active shipments
1231
+ * - A boolean flag that indicates
1232
+ * whether to include only active shipments in the results.
1108
1233
  */
1109
1234
  fetchActiveShipment?: boolean;
1110
1235
  /**
1111
- * - Flag to allow inactive shipments
1236
+ * - A flag indicating whether to allow the
1237
+ * inclusion of inactive shipments in the results.
1112
1238
  */
1113
1239
  allowInactive?: boolean;
1114
1240
  /**
1115
- * - Flag to fetch locked shipments
1241
+ * - A flag to specify whether to
1242
+ * exclude shipments that are locked from the results.
1116
1243
  */
1117
1244
  excludeLockedShipments?: boolean;
1118
1245
  /**
1119
- * - Comma separated values of payment methods
1246
+ * - A comma-separated list of payment methods.
1120
1247
  */
1121
1248
  paymentMethods?: string;
1122
1249
  /**
1123
- * - App Shipment Id
1250
+ * - The shipment ID used in the
1251
+ * application, which can be used to reference specific shipments.
1124
1252
  */
1125
1253
  channelShipmentId?: string;
1126
1254
  /**
1127
- * - App Order Id
1255
+ * - The order ID used in the application.
1128
1256
  */
1129
1257
  channelOrderId?: string;
1258
+ /**
1259
+ * - Custom metadata associated with the query,
1260
+ * allowing for additional filtering or information to be passed.
1261
+ */
1130
1262
  customMeta?: string;
1263
+ /**
1264
+ * - The channel through which the order was placed.
1265
+ */
1131
1266
  orderingChannel?: string;
1267
+ /**
1268
+ * - A tag used to identify the
1269
+ * company's affiliation for filtering or reporting purposes.
1270
+ */
1132
1271
  companyAffiliateTag?: string;
1272
+ /**
1273
+ * - A boolean flag indicating whether the query
1274
+ * should return only the user's orders.
1275
+ */
1133
1276
  myOrders?: boolean;
1277
+ /**
1278
+ * - The unique identifier of the user on
1279
+ * the platform, useful for filtering orders related to a specific user.
1280
+ */
1134
1281
  platformUserId?: string;
1135
1282
  /**
1136
- * - Sort the result data on basis of input
1283
+ * - Determines the sorting order of the results
1284
+ * based on specific criteria.
1137
1285
  */
1138
1286
  sortType?: string;
1139
1287
  /**
1140
- * - Flag to view cross & non-cross
1141
- * company order
1288
+ * - A flag indicating whether to
1289
+ * include data from both cross-company and non-cross-company orders in the results.
1142
1290
  */
1143
1291
  showCrossCompanyData?: boolean;
1144
1292
  /**
1145
- * - Comma separated values of tags
1293
+ * - A comma-separated list of tags associated with
1294
+ * the orders to filter results based on specific characteristics.
1146
1295
  */
1147
1296
  tags?: string;
1297
+ /**
1298
+ * - The unique identifier for the customer
1299
+ * associated with the query, useful for filtering results to a specific customer.
1300
+ */
1148
1301
  customerId?: string;
1302
+ /**
1303
+ * - The type of order being queried.
1304
+ */
1149
1305
  orderType?: string;
1306
+ /**
1307
+ * - Defines the grouping criterion for
1308
+ * retrieving shipments or orders. It specifies whether the results should be
1309
+ * organized based on shipment groups or order groups. For example, using
1310
+ * 'shipments' groups results by shipment, while an invalid value like 'abcd'
1311
+ * may not be recognized, leading to errors or default behavior.
1312
+ */
1313
+ groupEntity?: string;
1150
1314
  /**
1151
1315
  * - Applies a date filter for listing
1152
1316
  * shipments. This is useful when fetching data for a specific date range
@@ -1225,22 +1389,18 @@ type TrackShipmentParam = {
1225
1389
  pageSize?: number;
1226
1390
  };
1227
1391
  type UpdateAddressParam = {
1392
+ /**
1393
+ * - Unique shipment no. that is auto-generated
1394
+ */
1228
1395
  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;
1396
+ body: OrderPlatformModel.UpdateAddressRequestBody;
1240
1397
  };
1241
1398
  type UpdatePackagingDimensionsParam = {
1242
1399
  body: OrderPlatformModel.UpdatePackagingDimensionsPayload;
1243
1400
  };
1401
+ type UpdatePaymentInfoParam = {
1402
+ body: OrderPlatformModel.UpdateShipmentPaymentMode;
1403
+ };
1244
1404
  type UpdateShipmentLockParam = {
1245
1405
  body: OrderPlatformModel.UpdateShipmentLockPayload;
1246
1406
  };
@@ -1258,6 +1418,7 @@ type VerifyMobileOTPParam = {
1258
1418
  };
1259
1419
  type GetAllowedTemplatesForBulkParam = any;
1260
1420
  type GetBulkActionTemplateParam = any;
1421
+ type GetChannelConfigParam = any;
1261
1422
  type GetRoleBasedActionsParam = any;
1262
1423
  type GetStateTransitionMapParam = any;
1263
1424
  import OrderPlatformModel = require("./OrderPlatformModel");