@gofynd/fdk-client-javascript 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/index.d.ts +7 -7
- package/index.js +12 -12
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +20 -20
- package/sdk/application/ApplicationClient.js +26 -26
- package/sdk/application/Cart/CartApplicationClient.d.ts +36 -6
- package/sdk/application/Cart/CartApplicationClient.js +105 -10
- package/sdk/application/Cart/CartApplicationModel.d.ts +9 -0
- package/sdk/application/Cart/CartApplicationModel.js +105 -1
- package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -0
- package/sdk/application/Cart/CartApplicationValidator.js +15 -1
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1 -0
- package/sdk/application/Catalog/CatalogApplicationModel.js +13 -0
- package/sdk/application/Common/CommonApplicationModel.js +4 -0
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +14 -10
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -10
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +6 -5
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +1 -0
- package/sdk/application/Content/ContentApplicationModel.js +3 -1
- package/sdk/application/Lead/LeadApplicationModel.js +4 -1
- package/sdk/application/Logistic/LogisticApplicationModel.js +3 -2
- package/sdk/application/Order/OrderApplicationClient.d.ts +2 -2
- package/sdk/application/Order/OrderApplicationClient.js +2 -2
- package/sdk/application/Order/OrderApplicationModel.js +18 -8
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +35 -0
- package/sdk/application/Payment/PaymentApplicationClient.js +200 -0
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +4 -0
- package/sdk/application/Payment/PaymentApplicationModel.js +58 -7
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +3 -0
- package/sdk/application/Payment/PaymentApplicationValidator.js +19 -0
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +16 -3
- package/sdk/application/PosCart/PosCartApplicationClient.js +39 -6
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +6 -0
- package/sdk/application/PosCart/PosCartApplicationModel.js +63 -1
- package/sdk/application/PosCart/PosCartApplicationValidator.js +6 -0
- package/sdk/application/index.d.ts +10 -10
- package/sdk/application/index.js +13 -13
- package/sdk/common/Constant.d.ts +5 -0
- package/sdk/common/Constant.js +5 -0
- package/sdk/partner/OAuthClient.js +1 -1
- package/sdk/platform/Billing/BillingPlatformModel.js +6 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +491 -2
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +2661 -337
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +32 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +269 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +58 -0
- package/sdk/platform/Cart/CartPlatformModel.js +652 -3
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +8 -2
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +10 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +1 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.js +2 -2
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.js +43 -31
- package/sdk/platform/Common/CommonPlatformModel.js +4 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.js +9 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +2 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +5 -4
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +99 -78
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +99 -78
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +87 -71
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +87 -71
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +34 -7
- package/sdk/platform/Content/ContentPlatformModel.js +3 -1
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +135 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +853 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +51 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +342 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +16 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +84 -0
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +11 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +66 -2
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -0
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +161 -79
- package/sdk/platform/Order/OrderPlatformClient.js +546 -114
- package/sdk/platform/Order/OrderPlatformModel.d.ts +42 -6
- package/sdk/platform/Order/OrderPlatformModel.js +569 -159
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +6 -0
- package/sdk/platform/Order/OrderPlatformValidator.js +52 -9
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +22 -0
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +127 -0
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +2 -0
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +13 -0
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +145 -0
- package/sdk/platform/Partner/PartnerPlatformClient.js +799 -0
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +39 -0
- package/sdk/platform/Partner/PartnerPlatformModel.js +367 -0
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +14 -0
- package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -0
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +221 -0
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +1476 -190
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +20 -0
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +126 -0
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +48 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +452 -7
- package/sdk/platform/PlatformApplicationClient.d.ts +1249 -937
- package/sdk/platform/PlatformApplicationClient.js +1366 -1033
- package/sdk/platform/PlatformClient.d.ts +10979 -8771
- package/sdk/platform/PlatformClient.js +11874 -9197
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +134 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +852 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +16 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +81 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +223 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1296 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +97 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +778 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +21 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +130 -0
- package/sdk/platform/index.d.ts +16 -14
- package/sdk/platform/index.js +22 -18
- package/sdk/public/Configuration/ConfigurationPublicModel.js +5 -0
- package/sdk/public/PublicClient.d.ts +2 -2
- package/sdk/public/PublicClient.js +4 -4
- package/sdk/public/index.d.ts +1 -1
- package/sdk/public/index.js +2 -2
|
@@ -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
|
-
*
|
|
106
|
-
* @param {string} [arg.
|
|
107
|
-
* @param {
|
|
108
|
-
* @param {number} [arg.
|
|
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
|
|
134
|
-
* @param {string} [arg.dpIds] - Comma
|
|
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
|
|
138
|
-
* @param {string} [arg.tags] - Comma
|
|
139
|
-
* @param {string} [arg.bagStatus] - Comma
|
|
140
|
-
* @param {string} [arg.paymentMethods] - Comma
|
|
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.
|
|
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,
|
|
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
|
-
|
|
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<
|
|
256
|
+
* @returns {Promise<OrderDetailsResponse>} - Success response
|
|
200
257
|
* @summary:
|
|
201
258
|
* @description:
|
|
202
259
|
*/
|
|
203
260
|
getOrderById({ orderId }?: {
|
|
204
261
|
orderId: string;
|
|
205
|
-
}): Promise<
|
|
262
|
+
}): Promise<OrderDetailsResponse>;
|
|
206
263
|
/**
|
|
207
264
|
* @param {Object} arg - Arg object.
|
|
208
|
-
* @param {string} [arg.lane] -
|
|
209
|
-
*
|
|
210
|
-
* @param {string} [arg.
|
|
211
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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,49 @@ 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
|
-
*
|
|
304
|
-
* @param {string} [arg.
|
|
305
|
-
* @param {string} [arg.
|
|
306
|
-
* @param {string} [arg.
|
|
307
|
-
* @param {string} [arg.
|
|
308
|
-
* @param {string} [arg.
|
|
309
|
-
* @param {string} [arg.
|
|
310
|
-
* @param {string} [arg.stores] -
|
|
311
|
-
* @param {string} [arg.
|
|
312
|
-
* @param {
|
|
313
|
-
* @param {number} [arg.
|
|
314
|
-
* @param {
|
|
315
|
-
* @param {boolean} [arg.
|
|
316
|
-
* @param {
|
|
317
|
-
* @param {
|
|
318
|
-
* @param {string} [arg.
|
|
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] -
|
|
385
|
+
* @param {string} [arg.tags] - Comma separated values of tags
|
|
324
386
|
* @returns {Promise<ShipmentInternalPlatformViewResponse>} - Success response
|
|
325
387
|
* @summary:
|
|
326
388
|
* @description:
|
|
327
389
|
*/
|
|
328
|
-
getShipments({ lane, bagStatus, statusOverrideLane, searchType, searchValue,
|
|
390
|
+
getShipments({ lane, bagStatus, statusOverrideLane, timeToDispatch, searchType, searchValue, fromDate, toDate, dpIds, stores, salesChannels, pageNo, pageSize, fetchActiveShipment, excludeLockedShipments, paymentMethods, channelShipmentId, channelOrderId, customMeta, orderingChannel, companyAffiliateTag, myOrders, platformUserId, tags, }?: {
|
|
329
391
|
lane?: string;
|
|
330
392
|
bagStatus?: string;
|
|
331
393
|
statusOverrideLane?: boolean;
|
|
394
|
+
timeToDispatch?: string;
|
|
332
395
|
searchType?: string;
|
|
333
396
|
searchValue?: string;
|
|
334
|
-
searchId?: string;
|
|
335
397
|
fromDate?: string;
|
|
336
398
|
toDate?: string;
|
|
337
399
|
dpIds?: string;
|
|
338
|
-
orderingCompanyId?: string;
|
|
339
400
|
stores?: string;
|
|
340
|
-
|
|
341
|
-
requestByExt?: string;
|
|
401
|
+
salesChannels?: string;
|
|
342
402
|
pageNo?: number;
|
|
343
403
|
pageSize?: number;
|
|
344
|
-
isPrioritySort?: boolean;
|
|
345
404
|
fetchActiveShipment?: boolean;
|
|
346
405
|
excludeLockedShipments?: boolean;
|
|
347
406
|
paymentMethods?: string;
|
|
@@ -350,6 +409,9 @@ declare class Order {
|
|
|
350
409
|
customMeta?: string;
|
|
351
410
|
orderingChannel?: string;
|
|
352
411
|
companyAffiliateTag?: string;
|
|
412
|
+
myOrders?: boolean;
|
|
413
|
+
platformUserId?: string;
|
|
414
|
+
tags?: string;
|
|
353
415
|
}): Promise<ShipmentInternalPlatformViewResponse>;
|
|
354
416
|
/**
|
|
355
417
|
* @param {Object} arg - Arg object.
|
|
@@ -360,8 +422,8 @@ declare class Order {
|
|
|
360
422
|
getStateTransitionMap({}?: any): Promise<BagStateTransitionMap>;
|
|
361
423
|
/**
|
|
362
424
|
* @param {Object} arg - Arg object.
|
|
363
|
-
* @param {string} arg.view -
|
|
364
|
-
* @param {string} [arg.groupEntity] -
|
|
425
|
+
* @param {string} arg.view - Name of view
|
|
426
|
+
* @param {string} [arg.groupEntity] - Name of group entity
|
|
365
427
|
* @returns {Promise<FiltersResponse>} - Success response
|
|
366
428
|
* @summary:
|
|
367
429
|
* @description:
|
|
@@ -430,6 +492,16 @@ declare class Order {
|
|
|
430
492
|
sendSmsNinja({ body }?: {
|
|
431
493
|
body: SendSmsPayload;
|
|
432
494
|
}): Promise<OrderStatusResult>;
|
|
495
|
+
/**
|
|
496
|
+
* @param {Object} arg - Arg object.
|
|
497
|
+
* @param {SendUserMobileOTP} arg.body
|
|
498
|
+
* @returns {Promise<SendUserMobileOtpResponse>} - Success response
|
|
499
|
+
* @summary:
|
|
500
|
+
* @description:
|
|
501
|
+
*/
|
|
502
|
+
sendUserMobileOTP({ body }?: {
|
|
503
|
+
body: SendUserMobileOTP;
|
|
504
|
+
}): Promise<SendUserMobileOtpResponse>;
|
|
433
505
|
/**
|
|
434
506
|
* @param {Object} arg - Arg object.
|
|
435
507
|
* @param {string} arg.shipmentId -
|
|
@@ -464,14 +536,14 @@ declare class Order {
|
|
|
464
536
|
}): Promise<BaseResponse>;
|
|
465
537
|
/**
|
|
466
538
|
* @param {Object} arg - Arg object.
|
|
467
|
-
* @param {
|
|
468
|
-
* @returns {Promise<
|
|
539
|
+
* @param {UpdatePackagingDimensionsPayload} arg.body
|
|
540
|
+
* @returns {Promise<UpdatePackagingDimensionsResponse>} - Success response
|
|
469
541
|
* @summary:
|
|
470
542
|
* @description:
|
|
471
543
|
*/
|
|
472
544
|
updatePackagingDimensions({ body }?: {
|
|
473
|
-
body:
|
|
474
|
-
}): Promise<
|
|
545
|
+
body: UpdatePackagingDimensionsPayload;
|
|
546
|
+
}): Promise<UpdatePackagingDimensionsResponse>;
|
|
475
547
|
/**
|
|
476
548
|
* @param {Object} arg - Arg object.
|
|
477
549
|
* @param {UpdateShipmentLockPayload} arg.body
|
|
@@ -502,4 +574,14 @@ declare class Order {
|
|
|
502
574
|
uploadConsent({ body }?: {
|
|
503
575
|
body: UploadConsent;
|
|
504
576
|
}): Promise<SuccessResponse>;
|
|
577
|
+
/**
|
|
578
|
+
* @param {Object} arg - Arg object.
|
|
579
|
+
* @param {VerifyMobileOTP} arg.body
|
|
580
|
+
* @returns {Promise<VerifyOtpResponse>} - Success response
|
|
581
|
+
* @summary:
|
|
582
|
+
* @description:
|
|
583
|
+
*/
|
|
584
|
+
verifyMobileOTP({ body }?: {
|
|
585
|
+
body: VerifyMobileOTP;
|
|
586
|
+
}): Promise<VerifyOtpResponse>;
|
|
505
587
|
}
|