@gofynd/fdk-client-javascript 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/README.md +1 -2
  2. package/index.d.ts +4 -7
  3. package/index.js +5 -12
  4. package/package.json +1 -1
  5. package/sdk/application/ApplicationClient.d.ts +20 -20
  6. package/sdk/application/ApplicationClient.js +26 -26
  7. package/sdk/application/Cart/CartApplicationClient.d.ts +36 -6
  8. package/sdk/application/Cart/CartApplicationClient.js +105 -10
  9. package/sdk/application/Cart/CartApplicationModel.d.ts +9 -0
  10. package/sdk/application/Cart/CartApplicationModel.js +105 -1
  11. package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -0
  12. package/sdk/application/Cart/CartApplicationValidator.js +15 -1
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1 -0
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +13 -0
  15. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +14 -10
  16. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -10
  17. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1 -0
  18. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +1 -0
  19. package/sdk/application/Content/ContentApplicationModel.js +3 -1
  20. package/sdk/application/Logistic/LogisticApplicationModel.js +3 -2
  21. package/sdk/application/Order/OrderApplicationClient.d.ts +2 -2
  22. package/sdk/application/Order/OrderApplicationClient.js +2 -2
  23. package/sdk/application/Order/OrderApplicationModel.js +18 -8
  24. package/sdk/application/Payment/PaymentApplicationClient.d.ts +35 -0
  25. package/sdk/application/Payment/PaymentApplicationClient.js +200 -0
  26. package/sdk/application/Payment/PaymentApplicationModel.d.ts +4 -0
  27. package/sdk/application/Payment/PaymentApplicationModel.js +58 -7
  28. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +3 -0
  29. package/sdk/application/Payment/PaymentApplicationValidator.js +19 -0
  30. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +16 -3
  31. package/sdk/application/PosCart/PosCartApplicationClient.js +39 -6
  32. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +6 -0
  33. package/sdk/application/PosCart/PosCartApplicationModel.js +63 -1
  34. package/sdk/application/PosCart/PosCartApplicationValidator.js +6 -0
  35. package/sdk/application/index.d.ts +10 -10
  36. package/sdk/application/index.js +13 -13
  37. package/sdk/common/Constant.d.ts +5 -0
  38. package/sdk/common/Constant.js +5 -0
  39. package/sdk/platform/Billing/BillingPlatformModel.js +6 -1
  40. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +459 -2
  41. package/sdk/platform/Cart/CartPlatformApplicationClient.js +2480 -340
  42. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +29 -0
  43. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +250 -0
  44. package/sdk/platform/Cart/CartPlatformModel.d.ts +52 -0
  45. package/sdk/platform/Cart/CartPlatformModel.js +580 -2
  46. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +8 -2
  47. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +10 -0
  48. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +1 -0
  49. package/sdk/platform/Catalog/CatalogPlatformClient.js +2 -2
  50. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1 -0
  51. package/sdk/platform/Catalog/CatalogPlatformModel.js +41 -29
  52. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1 -0
  53. package/sdk/platform/Communication/CommunicationPlatformModel.js +9 -0
  54. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -2
  55. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +2 -2
  56. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +5 -4
  57. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +99 -78
  58. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +99 -78
  59. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +87 -71
  60. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +87 -71
  61. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2 -0
  62. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +26 -0
  63. package/sdk/platform/Content/ContentPlatformModel.js +3 -1
  64. package/sdk/platform/Finance/FinancePlatformClient.d.ts +135 -0
  65. package/sdk/platform/Finance/FinancePlatformClient.js +853 -0
  66. package/sdk/platform/Finance/FinancePlatformModel.d.ts +51 -0
  67. package/sdk/platform/Finance/FinancePlatformModel.js +342 -0
  68. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +16 -0
  69. package/sdk/platform/Finance/FinancePlatformValidator.js +84 -0
  70. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +11 -1
  71. package/sdk/platform/Order/OrderPlatformApplicationClient.js +66 -2
  72. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -0
  73. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -0
  74. package/sdk/platform/Order/OrderPlatformClient.d.ts +159 -79
  75. package/sdk/platform/Order/OrderPlatformClient.js +541 -114
  76. package/sdk/platform/Order/OrderPlatformModel.d.ts +42 -6
  77. package/sdk/platform/Order/OrderPlatformModel.js +569 -159
  78. package/sdk/platform/Order/OrderPlatformValidator.d.ts +6 -0
  79. package/sdk/platform/Order/OrderPlatformValidator.js +51 -9
  80. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +22 -0
  81. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +127 -0
  82. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +2 -0
  83. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +13 -0
  84. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +145 -0
  85. package/sdk/platform/Partner/PartnerPlatformClient.js +799 -0
  86. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +39 -0
  87. package/sdk/platform/Partner/PartnerPlatformModel.js +367 -0
  88. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +14 -0
  89. package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -0
  90. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +221 -0
  91. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +1476 -190
  92. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +20 -0
  93. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +126 -0
  94. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +44 -0
  95. package/sdk/platform/Payment/PaymentPlatformModel.js +410 -0
  96. package/sdk/platform/PlatformApplicationClient.d.ts +1149 -938
  97. package/sdk/platform/PlatformApplicationClient.js +1259 -1035
  98. package/sdk/platform/PlatformClient.d.ts +9888 -8286
  99. package/sdk/platform/PlatformClient.js +10960 -9038
  100. package/sdk/platform/index.d.ts +15 -14
  101. package/sdk/platform/index.js +20 -18
  102. package/sdk/public/PublicClient.d.ts +2 -2
  103. package/sdk/public/PublicClient.js +4 -4
  104. package/sdk/public/index.d.ts +1 -1
  105. package/sdk/public/index.js +2 -2
  106. package/partner.d.ts +0 -4
  107. package/partner.js +0 -7
  108. package/sdk/partner/OAuthClient.d.ts +0 -14
  109. package/sdk/partner/OAuthClient.js +0 -112
  110. package/sdk/partner/PartnerAPIClient.d.ts +0 -12
  111. package/sdk/partner/PartnerAPIClient.js +0 -42
  112. package/sdk/partner/PartnerClient.d.ts +0 -6
  113. package/sdk/partner/PartnerClient.js +0 -17
  114. package/sdk/partner/PartnerConfig.d.ts +0 -30
  115. package/sdk/partner/PartnerConfig.js +0 -39
  116. package/sdk/partner/index.d.ts +0 -3
  117. package/sdk/partner/index.js +0 -5
@@ -2,6 +2,16 @@ export = Order;
2
2
  declare class Order {
3
3
  constructor(config: any);
4
4
  config: any;
5
+ /**
6
+ * @param {Object} arg - Arg object.
7
+ * @param {AttachOrderUser} arg.body
8
+ * @returns {Promise<AttachOrderUserResponse>} - Success response
9
+ * @summary:
10
+ * @description:
11
+ */
12
+ attachOrderUser({ body }?: {
13
+ body: AttachOrderUser;
14
+ }): Promise<AttachOrderUserResponse>;
5
15
  /**
6
16
  * @param {Object} arg - Arg object.
7
17
  * @param {OrderStatus} arg.body
@@ -70,6 +80,40 @@ declare class Order {
70
80
  downloadBulkActionTemplate({ templateSlug }?: {
71
81
  templateSlug?: string;
72
82
  }): Promise<FileResponse>;
83
+ /**
84
+ * @param {Object} arg - Arg object.
85
+ * @param {FetchCreditBalanceRequestPayload} arg.body
86
+ * @returns {Promise<FetchCreditBalanceResponsePayload>} - Success response
87
+ * @summary:
88
+ * @description:
89
+ */
90
+ fetchCreditBalanceDetail({ body }?: {
91
+ body: FetchCreditBalanceRequestPayload;
92
+ }): Promise<FetchCreditBalanceResponsePayload>;
93
+ /**
94
+ * @param {Object} arg - Arg object.
95
+ * @param {RefundModeConfigRequestPayload} arg.body
96
+ * @returns {Promise<RefundModeConfigResponsePayload>} - Success response
97
+ * @summary:
98
+ * @description:
99
+ */
100
+ fetchRefundModeConfig({ body }?: {
101
+ body: RefundModeConfigRequestPayload;
102
+ }): Promise<RefundModeConfigResponsePayload>;
103
+ /**
104
+ * @param {Object} arg - Arg object.
105
+ * @param {string} arg.orderId -
106
+ * @param {string} [arg.shipmentId] -
107
+ * @param {string} [arg.documentType] -
108
+ * @returns {Promise<GeneratePosOrderReceiptResponse>} - Success response
109
+ * @summary:
110
+ * @description:
111
+ */
112
+ generatePOSReceiptByOrderId({ orderId, shipmentId, documentType, }?: {
113
+ orderId: string;
114
+ shipmentId?: string;
115
+ documentType?: string;
116
+ }): Promise<GeneratePosOrderReceiptResponse>;
73
117
  /**
74
118
  * @param {Object} arg - Arg object.
75
119
  * @param {string} [arg.date] - Date On which the announcement is Active
@@ -83,9 +127,9 @@ declare class Order {
83
127
  }): Promise<AnnouncementsResponse>;
84
128
  /**
85
129
  * @param {Object} arg - Arg object.
86
- * @param {string} [arg.bagId] -
87
- * @param {string} [arg.channelBagId] -
88
- * @param {string} [arg.channelId] -
130
+ * @param {string} [arg.bagId] - Id of bag
131
+ * @param {string} [arg.channelBagId] - Id of application bag
132
+ * @param {string} [arg.channelId] - Id of application
89
133
  * @returns {Promise<BagDetailsPlatformResponse>} - Success response
90
134
  * @summary:
91
135
  * @description:
@@ -97,15 +141,16 @@ declare class Order {
97
141
  }): Promise<BagDetailsPlatformResponse>;
98
142
  /**
99
143
  * @param {Object} arg - Arg object.
100
- * @param {string} [arg.bagIds] -
101
- * @param {string} [arg.shipmentIds] -
102
- * @param {string} [arg.orderIds] -
103
- * @param {string} [arg.channelBagIds] -
104
- * @param {string} [arg.channelShipmentIds] -
105
- * @param {string} [arg.channelOrderIds] -
106
- * @param {string} [arg.channelId] -
107
- * @param {number} [arg.pageNo] -
108
- * @param {number} [arg.pageSize] -
144
+ * @param {string} [arg.bagIds] - Comma separated values of bag ids
145
+ * @param {string} [arg.shipmentIds] - Comma separated values of shipment ids
146
+ * @param {string} [arg.orderIds] - Comma separated values of order ids
147
+ * @param {string} [arg.channelBagIds] - Comma separated values of app bag ids
148
+ * @param {string} [arg.channelShipmentIds] - Comma separated values of app
149
+ * shipment ids
150
+ * @param {string} [arg.channelOrderIds] - Comma separated values of app order ids
151
+ * @param {string} [arg.channelId] - Comma separated values of app ids
152
+ * @param {number} [arg.pageNo] - Page number for paginated data
153
+ * @param {number} [arg.pageSize] - Page size of data received per page
109
154
  * @returns {Promise<GetBagsPlatformResponse>} - Success response
110
155
  * @summary:
111
156
  * @description:
@@ -130,14 +175,14 @@ declare class Order {
130
175
  getBulkActionTemplate({}?: any): Promise<BulkActionTemplateResponse>;
131
176
  /**
132
177
  * @param {Object} arg - Arg object.
133
- * @param {string} [arg.salesChannels] - Comma seperated values of sales channel ids
134
- * @param {string} [arg.dpIds] - Comma seperated values of delivery partner ids
178
+ * @param {string} [arg.salesChannels] - Comma separated values of sales channel ids
179
+ * @param {string} [arg.dpIds] - Comma separated values of delivery partner ids
135
180
  * @param {string} [arg.fromDate] - Start Date in DD-MM-YYYY format
136
181
  * @param {string} [arg.toDate] - End Date in DD-MM-YYYY format
137
- * @param {string} [arg.stores] - Comma seperated values of store ids
138
- * @param {string} [arg.tags] - Comma seperated values of tags
139
- * @param {string} [arg.bagStatus] - Comma seperated values of bag statuses
140
- * @param {string} [arg.paymentMethods] - Comma seperated values of payment methods
182
+ * @param {string} [arg.stores] - Comma separated values of store ids
183
+ * @param {string} [arg.tags] - Comma separated values of tags
184
+ * @param {string} [arg.bagStatus] - Comma separated values of bag statuses
185
+ * @param {string} [arg.paymentMethods] - Comma separated values of payment methods
141
186
  * @param {string} [arg.fileType] - File type to be downloaded
142
187
  * @param {number} [arg.timeToDispatch] - Sla breached or not breached
143
188
  * @param {number} [arg.pageNo] -
@@ -169,63 +214,82 @@ declare class Order {
169
214
  getChannelConfig({}?: any): Promise<CreateChannelConfigData>;
170
215
  /**
171
216
  * @param {Object} arg - Arg object.
172
- * @param {string} [arg.superLane] -
173
- * @param {string} [arg.groupEntity] -
174
- * @param {string} [arg.fromDate] -
175
- * @param {string} [arg.toDate] -
176
- * @param {string} [arg.dpIds] -
177
- * @param {string} [arg.stores] -
178
- * @param {string} [arg.salesChannel] -
179
- * @param {string} [arg.paymentMode] -
180
- * @param {string} [arg.bagStatus] -
217
+ * @param {string} [arg.superLane] - Name of lane for which data is to be fetched
218
+ * @param {string} [arg.groupEntity] - Name of group entity
219
+ * @param {string} [arg.fromDate] - Start Date in DD-MM-YYYY format
220
+ * @param {string} [arg.toDate] - End Date in DD-MM-YYYY format
221
+ * @param {string} [arg.dpIds] - Comma separated values of delivery partner ids
222
+ * @param {string} [arg.stores] - Comma separated values of store ids
223
+ * @param {string} [arg.salesChannels] -
224
+ * @param {string} [arg.paymentMode] - Comma separated values of payment modes
225
+ * @param {string} [arg.bagStatus] - Comma separated values of bag statuses
226
+ * @param {string} [arg.searchType] -
227
+ * @param {string} [arg.searchValue] -
228
+ * @param {string} [arg.tags] -
229
+ * @param {string} [arg.timeToDispatch] -
230
+ * @param {string} [arg.paymentMethods] -
231
+ * @param {boolean} [arg.myOrders] -
181
232
  * @returns {Promise<LaneConfigResponse>} - Success response
182
233
  * @summary:
183
234
  * @description:
184
235
  */
185
- getLaneConfig({ superLane, groupEntity, fromDate, toDate, dpIds, stores, salesChannel, paymentMode, bagStatus, }?: {
236
+ getLaneConfig({ superLane, groupEntity, fromDate, toDate, dpIds, stores, salesChannels, paymentMode, bagStatus, searchType, searchValue, tags, timeToDispatch, paymentMethods, myOrders, }?: {
186
237
  superLane?: string;
187
238
  groupEntity?: string;
188
239
  fromDate?: string;
189
240
  toDate?: string;
190
241
  dpIds?: string;
191
242
  stores?: string;
192
- salesChannel?: string;
243
+ salesChannels?: string;
193
244
  paymentMode?: string;
194
245
  bagStatus?: string;
246
+ searchType?: string;
247
+ searchValue?: string;
248
+ tags?: string;
249
+ timeToDispatch?: string;
250
+ paymentMethods?: string;
251
+ myOrders?: boolean;
195
252
  }): Promise<LaneConfigResponse>;
196
253
  /**
197
254
  * @param {Object} arg - Arg object.
198
255
  * @param {string} arg.orderId -
199
- * @returns {Promise<ShipmentDetailsResponse>} - Success response
256
+ * @returns {Promise<OrderDetailsResponse>} - Success response
200
257
  * @summary:
201
258
  * @description:
202
259
  */
203
260
  getOrderById({ orderId }?: {
204
261
  orderId: string;
205
- }): Promise<ShipmentDetailsResponse>;
262
+ }): Promise<OrderDetailsResponse>;
206
263
  /**
207
264
  * @param {Object} arg - Arg object.
208
- * @param {string} [arg.lane] -
209
- * @param {string} [arg.searchType] -
210
- * @param {string} [arg.bagStatus] -
211
- * @param {string} [arg.timeToDispatch] -
265
+ * @param {string} [arg.lane] - Lane refers to a section where orders are
266
+ * assigned, indicating its grouping
267
+ * @param {string} [arg.searchType] - Search_type refers to the field that
268
+ * will be used as the target for the search operation
269
+ * @param {string} [arg.bagStatus] - Bag_status refers to status of the
270
+ * entity. Filters orders based on the status.
271
+ * @param {string} [arg.timeToDispatch] - Time_to_dispatch refers to
272
+ * estimated SLA time.
212
273
  * @param {string} [arg.paymentMethods] -
213
- * @param {string} [arg.tags] -
214
- * @param {string} [arg.searchValue] -
274
+ * @param {string} [arg.tags] - Tags refers to additional descriptive labels
275
+ * associated with the order
276
+ * @param {string} [arg.searchValue] - Search_value is matched against the
277
+ * field specified by the search_type
215
278
  * @param {string} [arg.fromDate] -
216
279
  * @param {string} [arg.toDate] -
217
- * @param {string} [arg.dpIds] -
280
+ * @param {string} [arg.dpIds] - Delivery Partner IDs to which shipments are assigned.
218
281
  * @param {string} [arg.stores] -
219
282
  * @param {string} [arg.salesChannels] -
220
283
  * @param {number} [arg.pageNo] -
221
284
  * @param {number} [arg.pageSize] -
222
285
  * @param {boolean} [arg.isPrioritySort] -
223
286
  * @param {string} [arg.customMeta] -
287
+ * @param {boolean} [arg.myOrders] -
224
288
  * @returns {Promise<OrderListingResponse>} - Success response
225
289
  * @summary:
226
290
  * @description:
227
291
  */
228
- getOrders({ lane, searchType, bagStatus, timeToDispatch, paymentMethods, tags, searchValue, fromDate, toDate, dpIds, stores, salesChannels, pageNo, pageSize, isPrioritySort, customMeta, }?: {
292
+ getOrders({ lane, searchType, bagStatus, timeToDispatch, paymentMethods, tags, searchValue, fromDate, toDate, dpIds, stores, salesChannels, pageNo, pageSize, isPrioritySort, customMeta, myOrders, }?: {
229
293
  lane?: string;
230
294
  searchType?: string;
231
295
  bagStatus?: string;
@@ -242,6 +306,7 @@ declare class Order {
242
306
  pageSize?: number;
243
307
  isPrioritySort?: boolean;
244
308
  customMeta?: string;
309
+ myOrders?: boolean;
245
310
  }): Promise<OrderListingResponse>;
246
311
  /**
247
312
  * @param {Object} arg - Arg object.
@@ -252,19 +317,15 @@ declare class Order {
252
317
  getRoleBasedActions({}?: any): Promise<GetActionsResponse>;
253
318
  /**
254
319
  * @param {Object} arg - Arg object.
255
- * @param {string} [arg.channelShipmentId] -
256
- * @param {string} [arg.shipmentId] -
257
- * @param {string} [arg.orderingCompanyId] -
258
- * @param {string} [arg.requestByExt] -
320
+ * @param {string} [arg.channelShipmentId] - App Shipment Id
321
+ * @param {string} [arg.shipmentId] - Shipment Id
259
322
  * @returns {Promise<ShipmentInfoResponse>} - Success response
260
323
  * @summary:
261
324
  * @description:
262
325
  */
263
- getShipmentById({ channelShipmentId, shipmentId, orderingCompanyId, requestByExt, }?: {
326
+ getShipmentById({ channelShipmentId, shipmentId }?: {
264
327
  channelShipmentId?: string;
265
328
  shipmentId?: string;
266
- orderingCompanyId?: string;
267
- requestByExt?: string;
268
329
  }): Promise<ShipmentInfoResponse>;
269
330
  /**
270
331
  * @param {Object} arg - Arg object.
@@ -297,51 +358,48 @@ declare class Order {
297
358
  }): Promise<PlatformShipmentReasonsResponse>;
298
359
  /**
299
360
  * @param {Object} arg - Arg object.
300
- * @param {string} [arg.lane] -
301
- * @param {string} [arg.bagStatus] -
302
- * @param {boolean} [arg.statusOverrideLane] -
303
- * @param {string} [arg.searchType] -
304
- * @param {string} [arg.searchValue] -
305
- * @param {string} [arg.searchId] -
306
- * @param {string} [arg.fromDate] -
307
- * @param {string} [arg.toDate] -
308
- * @param {string} [arg.dpIds] -
309
- * @param {string} [arg.orderingCompanyId] -
310
- * @param {string} [arg.stores] -
311
- * @param {string} [arg.salesChannel] -
312
- * @param {string} [arg.requestByExt] -
313
- * @param {number} [arg.pageNo] -
314
- * @param {number} [arg.pageSize] -
315
- * @param {boolean} [arg.isPrioritySort] -
316
- * @param {boolean} [arg.fetchActiveShipment] -
317
- * @param {boolean} [arg.excludeLockedShipments] -
318
- * @param {string} [arg.paymentMethods] -
319
- * @param {string} [arg.channelShipmentId] -
320
- * @param {string} [arg.channelOrderId] -
361
+ * @param {string} [arg.lane] - Name of lane for which data is to be fetched
362
+ * @param {string} [arg.bagStatus] - Comma separated values of bag statuses
363
+ * @param {boolean} [arg.statusOverrideLane] - Use this flag to fetch by
364
+ * bag_status and override lane
365
+ * @param {string} [arg.timeToDispatch] -
366
+ * @param {string} [arg.searchType] - Search type key
367
+ * @param {string} [arg.searchValue] - Search type value
368
+ * @param {string} [arg.fromDate] - Start Date in DD-MM-YYYY format
369
+ * @param {string} [arg.toDate] - End Date in DD-MM-YYYY format
370
+ * @param {string} [arg.dpIds] - Comma separated values of delivery partner ids
371
+ * @param {string} [arg.stores] - Comma separated values of store ids
372
+ * @param {string} [arg.salesChannels] - Comma separated values of sales channel ids
373
+ * @param {number} [arg.pageNo] - Page number for paginated data
374
+ * @param {number} [arg.pageSize] - Page size of data received per page
375
+ * @param {boolean} [arg.fetchActiveShipment] - Flag to fetch active shipments
376
+ * @param {boolean} [arg.excludeLockedShipments] - Flag to fetch locked shipments
377
+ * @param {string} [arg.paymentMethods] - Comma separated values of payment methods
378
+ * @param {string} [arg.channelShipmentId] - App Shipment Id
379
+ * @param {string} [arg.channelOrderId] - App Order Id
321
380
  * @param {string} [arg.customMeta] -
322
381
  * @param {string} [arg.orderingChannel] -
323
382
  * @param {string} [arg.companyAffiliateTag] -
383
+ * @param {boolean} [arg.myOrders] -
384
+ * @param {string} [arg.platformUserId] -
324
385
  * @returns {Promise<ShipmentInternalPlatformViewResponse>} - Success response
325
386
  * @summary:
326
387
  * @description:
327
388
  */
328
- getShipments({ lane, bagStatus, statusOverrideLane, searchType, searchValue, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, isPrioritySort, fetchActiveShipment, excludeLockedShipments, paymentMethods, channelShipmentId, channelOrderId, customMeta, orderingChannel, companyAffiliateTag, }?: {
389
+ getShipments({ lane, bagStatus, statusOverrideLane, timeToDispatch, searchType, searchValue, fromDate, toDate, dpIds, stores, salesChannels, pageNo, pageSize, fetchActiveShipment, excludeLockedShipments, paymentMethods, channelShipmentId, channelOrderId, customMeta, orderingChannel, companyAffiliateTag, myOrders, platformUserId, }?: {
329
390
  lane?: string;
330
391
  bagStatus?: string;
331
392
  statusOverrideLane?: boolean;
393
+ timeToDispatch?: string;
332
394
  searchType?: string;
333
395
  searchValue?: string;
334
- searchId?: string;
335
396
  fromDate?: string;
336
397
  toDate?: string;
337
398
  dpIds?: string;
338
- orderingCompanyId?: string;
339
399
  stores?: string;
340
- salesChannel?: string;
341
- requestByExt?: string;
400
+ salesChannels?: string;
342
401
  pageNo?: number;
343
402
  pageSize?: number;
344
- isPrioritySort?: boolean;
345
403
  fetchActiveShipment?: boolean;
346
404
  excludeLockedShipments?: boolean;
347
405
  paymentMethods?: string;
@@ -350,6 +408,8 @@ declare class Order {
350
408
  customMeta?: string;
351
409
  orderingChannel?: string;
352
410
  companyAffiliateTag?: string;
411
+ myOrders?: boolean;
412
+ platformUserId?: string;
353
413
  }): Promise<ShipmentInternalPlatformViewResponse>;
354
414
  /**
355
415
  * @param {Object} arg - Arg object.
@@ -360,8 +420,8 @@ declare class Order {
360
420
  getStateTransitionMap({}?: any): Promise<BagStateTransitionMap>;
361
421
  /**
362
422
  * @param {Object} arg - Arg object.
363
- * @param {string} arg.view -
364
- * @param {string} [arg.groupEntity] -
423
+ * @param {string} arg.view - Name of view
424
+ * @param {string} [arg.groupEntity] - Name of group entity
365
425
  * @returns {Promise<FiltersResponse>} - Success response
366
426
  * @summary:
367
427
  * @description:
@@ -430,6 +490,16 @@ declare class Order {
430
490
  sendSmsNinja({ body }?: {
431
491
  body: SendSmsPayload;
432
492
  }): Promise<OrderStatusResult>;
493
+ /**
494
+ * @param {Object} arg - Arg object.
495
+ * @param {SendUserMobileOTP} arg.body
496
+ * @returns {Promise<SendUserMobileOtpResponse>} - Success response
497
+ * @summary:
498
+ * @description:
499
+ */
500
+ sendUserMobileOTP({ body }?: {
501
+ body: SendUserMobileOTP;
502
+ }): Promise<SendUserMobileOtpResponse>;
433
503
  /**
434
504
  * @param {Object} arg - Arg object.
435
505
  * @param {string} arg.shipmentId -
@@ -464,14 +534,14 @@ declare class Order {
464
534
  }): Promise<BaseResponse>;
465
535
  /**
466
536
  * @param {Object} arg - Arg object.
467
- * @param {CreateOrderPayload} arg.body
468
- * @returns {Promise<CreateOrderResponse>} - Success response
537
+ * @param {UpdatePackagingDimensionsPayload} arg.body
538
+ * @returns {Promise<UpdatePackagingDimensionsResponse>} - Success response
469
539
  * @summary:
470
540
  * @description:
471
541
  */
472
542
  updatePackagingDimensions({ body }?: {
473
- body: CreateOrderPayload;
474
- }): Promise<CreateOrderResponse>;
543
+ body: UpdatePackagingDimensionsPayload;
544
+ }): Promise<UpdatePackagingDimensionsResponse>;
475
545
  /**
476
546
  * @param {Object} arg - Arg object.
477
547
  * @param {UpdateShipmentLockPayload} arg.body
@@ -502,4 +572,14 @@ declare class Order {
502
572
  uploadConsent({ body }?: {
503
573
  body: UploadConsent;
504
574
  }): Promise<SuccessResponse>;
575
+ /**
576
+ * @param {Object} arg - Arg object.
577
+ * @param {VerifyMobileOTP} arg.body
578
+ * @returns {Promise<VerifyOtpResponse>} - Success response
579
+ * @summary:
580
+ * @description:
581
+ */
582
+ verifyMobileOTP({ body }?: {
583
+ body: VerifyMobileOTP;
584
+ }): Promise<VerifyOtpResponse>;
505
585
  }