@gofynd/fdk-client-javascript 1.1.0 → 1.1.1
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 +0 -1
- package/package.json +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -1
- package/sdk/application/Catalog/CatalogApplicationClient.js +11 -2
- package/sdk/application/Catalog/CatalogApplicationValidator.js +2 -0
- package/sdk/application/Content/ContentApplicationModel.js +0 -4
- package/sdk/application/Lead/LeadApplicationModel.js +1 -0
- package/sdk/application/Order/OrderApplicationClient.d.ts +0 -15
- package/sdk/application/Order/OrderApplicationClient.js +0 -68
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -17
- package/sdk/application/Order/OrderApplicationModel.js +0 -111
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -1
- package/sdk/application/Order/OrderApplicationValidator.js +0 -7
- package/sdk/common/AxiosHelper.js +1 -1
- package/sdk/common/Constant.d.ts +0 -18
- package/sdk/common/Constant.js +0 -22
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +29 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +181 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +3 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +17 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4 -0
- package/sdk/platform/Cart/CartPlatformModel.js +37 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +3 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +5 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +1 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3 -7
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +0 -183
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +0 -417
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +0 -10
- package/sdk/platform/Communication/CommunicationPlatformClient.js +0 -26
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +4 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -22
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +0 -56
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +12 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +62 -2
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +6 -0
- package/sdk/platform/Content/ContentPlatformModel.js +0 -4
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +1 -1
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +1 -0
- package/sdk/platform/Discount/DiscountPlatformModel.js +15 -0
- package/sdk/platform/Discount/DiscountPlatformValidator.js +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +1 -1
- package/sdk/platform/Lead/LeadPlatformModel.js +1 -0
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -47
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -201
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -3
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +1 -26
- package/sdk/platform/Order/OrderPlatformClient.d.ts +51 -183
- package/sdk/platform/Order/OrderPlatformClient.js +243 -931
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4 -20
- package/sdk/platform/Order/OrderPlatformModel.js +38 -182
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +3 -12
- package/sdk/platform/Order/OrderPlatformValidator.js +19 -95
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +24 -10
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +111 -44
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +2 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +13 -5
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +12 -0
- package/sdk/platform/PlatformApplicationClient.d.ts +12 -41
- package/sdk/platform/PlatformApplicationClient.js +13 -45
- package/sdk/platform/PlatformClient.d.ts +90 -264
- package/sdk/platform/PlatformClient.js +110 -316
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +11 -0
- package/sdk/platform/Share/SharePlatformApplicationClient.js +61 -0
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -0
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -0
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
- package/sdk/platform/Share/SharePlatformModel.js +11 -0
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +0 -109
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +0 -558
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +0 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +0 -56
- package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +0 -88
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +0 -361
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +0 -23
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +0 -169
- package/sdk/platform/Analytics/AnalyticsPlatformValidator.d.ts +0 -7
- package/sdk/platform/Analytics/AnalyticsPlatformValidator.js +0 -38
|
@@ -2,26 +2,6 @@ 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 {string} arg.batchId -
|
|
8
|
-
* @returns {Promise<BulkActionDetailsResponse>} - Success response
|
|
9
|
-
* @summary: Returns failed, processing and successfully processed shipments.
|
|
10
|
-
* @description: Returns failed, processing and successfully processed shipments along with their counts and failed reasons.
|
|
11
|
-
*/
|
|
12
|
-
bulkActionDetails({ batchId }?: {
|
|
13
|
-
batchId: string;
|
|
14
|
-
}): Promise<BulkActionDetailsResponse>;
|
|
15
|
-
/**
|
|
16
|
-
* @param {Object} arg - Arg object.
|
|
17
|
-
* @param {BulkActionPayload} arg.body
|
|
18
|
-
* @returns {Promise<BulkActionResponse>} - Success response
|
|
19
|
-
* @summary: emits uuid to kafka topic.
|
|
20
|
-
* @description: Use this API to start processing Xlsx file.
|
|
21
|
-
*/
|
|
22
|
-
bulkActionProcessXlsxFile({ body }?: {
|
|
23
|
-
body: BulkActionPayload;
|
|
24
|
-
}): Promise<BulkActionResponse>;
|
|
25
5
|
/**
|
|
26
6
|
* @param {Object} arg - Arg object.
|
|
27
7
|
* @param {OrderStatus} arg.body
|
|
@@ -34,21 +14,21 @@ declare class Order {
|
|
|
34
14
|
}): Promise<OrderStatusResult>;
|
|
35
15
|
/**
|
|
36
16
|
* @param {Object} arg - Arg object.
|
|
37
|
-
* @param {string} arg.caller -
|
|
38
|
-
* @param {string} arg.receiver -
|
|
39
|
-
* @param {string} arg.bagId -
|
|
40
|
-
* @param {string} [arg.
|
|
41
|
-
* @param {string} [arg.
|
|
17
|
+
* @param {string} arg.caller - Call Number
|
|
18
|
+
* @param {string} arg.receiver - Receiver Number
|
|
19
|
+
* @param {string} arg.bagId - Bag Id for the query
|
|
20
|
+
* @param {string} [arg.callerId] - Caller Id
|
|
21
|
+
* @param {string} [arg.method] - Provider Method to Call
|
|
42
22
|
* @returns {Promise<Click2CallResponse>} - Success response
|
|
43
23
|
* @summary:
|
|
44
24
|
* @description:
|
|
45
25
|
*/
|
|
46
|
-
click2Call({ caller, receiver, bagId,
|
|
26
|
+
click2Call({ caller, receiver, bagId, callerId, method, }?: {
|
|
47
27
|
caller: string;
|
|
48
28
|
receiver: string;
|
|
49
29
|
bagId: string;
|
|
50
|
-
callingTo?: string;
|
|
51
30
|
callerId?: string;
|
|
31
|
+
method?: string;
|
|
52
32
|
}): Promise<Click2CallResponse>;
|
|
53
33
|
/**
|
|
54
34
|
* @param {Object} arg - Arg object.
|
|
@@ -70,18 +50,6 @@ declare class Order {
|
|
|
70
50
|
createOrder({ body }?: {
|
|
71
51
|
body: CreateOrderAPI;
|
|
72
52
|
}): Promise<CreateOrderResponse>;
|
|
73
|
-
/**
|
|
74
|
-
* @param {Object} arg - Arg object.
|
|
75
|
-
* @param {string} [arg.fromDate] -
|
|
76
|
-
* @param {string} [arg.toDate] -
|
|
77
|
-
* @returns {Promise<Success>} - Success response
|
|
78
|
-
* @summary:
|
|
79
|
-
* @description:
|
|
80
|
-
*/
|
|
81
|
-
createShipmentReport({ fromDate, toDate }?: {
|
|
82
|
-
fromDate?: string;
|
|
83
|
-
toDate?: string;
|
|
84
|
-
}): Promise<Success>;
|
|
85
53
|
/**
|
|
86
54
|
* @param {Object} arg - Arg object.
|
|
87
55
|
* @param {DispatchManifest} arg.body
|
|
@@ -94,7 +62,18 @@ declare class Order {
|
|
|
94
62
|
}): Promise<SuccessResponse>;
|
|
95
63
|
/**
|
|
96
64
|
* @param {Object} arg - Arg object.
|
|
97
|
-
* @param {string} [arg.
|
|
65
|
+
* @param {string} [arg.templateSlug] - Slug name of template to be downloaded
|
|
66
|
+
* @returns {Promise<FileResponse>} - Success response
|
|
67
|
+
* @summary:
|
|
68
|
+
* @description:
|
|
69
|
+
*/
|
|
70
|
+
downloadBulkActionTemplate({ templateSlug }?: {
|
|
71
|
+
templateSlug?: string;
|
|
72
|
+
}): Promise<FileResponse>;
|
|
73
|
+
/**
|
|
74
|
+
* @param {Object} arg - Arg object.
|
|
75
|
+
* @param {string} [arg.date] - Date On which the announcement is Active
|
|
76
|
+
* (Date should in ISO Datetime format IST Time)
|
|
98
77
|
* @returns {Promise<AnnouncementsResponse>} - Success response
|
|
99
78
|
* @summary:
|
|
100
79
|
* @description:
|
|
@@ -144,109 +123,42 @@ declare class Order {
|
|
|
144
123
|
}): Promise<GetBagsPlatformResponse>;
|
|
145
124
|
/**
|
|
146
125
|
* @param {Object} arg - Arg object.
|
|
147
|
-
* @
|
|
148
|
-
* @param {string} [arg.reportType] -
|
|
149
|
-
* @returns {Promise<FileResponse>} - Success response
|
|
150
|
-
* @summary:
|
|
151
|
-
* @description:
|
|
152
|
-
*/
|
|
153
|
-
getBulkActionFailedReport({ batchId, reportType }?: {
|
|
154
|
-
batchId: string;
|
|
155
|
-
reportType?: string;
|
|
156
|
-
}): Promise<FileResponse>;
|
|
157
|
-
/**
|
|
158
|
-
* @param {Object} arg - Arg object.
|
|
159
|
-
* @param {string} arg.batchId -
|
|
160
|
-
* @param {string} arg.docType -
|
|
161
|
-
* @returns {Promise<BulkInvoicingResponse>} - Success response
|
|
162
|
-
* @summary:
|
|
163
|
-
* @description:
|
|
164
|
-
*/
|
|
165
|
-
getBulkInvoice({ batchId, docType }?: {
|
|
166
|
-
batchId: string;
|
|
167
|
-
docType: string;
|
|
168
|
-
}): Promise<BulkInvoicingResponse>;
|
|
169
|
-
/**
|
|
170
|
-
* @param {Object} arg - Arg object.
|
|
171
|
-
* @param {string} arg.batchId -
|
|
172
|
-
* @returns {Promise<BulkInvoiceLabelResponse>} - Success response
|
|
173
|
-
* @summary:
|
|
174
|
-
* @description:
|
|
175
|
-
*/
|
|
176
|
-
getBulkInvoiceLabel({ batchId }?: {
|
|
177
|
-
batchId: string;
|
|
178
|
-
}): Promise<BulkInvoiceLabelResponse>;
|
|
179
|
-
/**
|
|
180
|
-
* @param {Object} arg - Arg object.
|
|
181
|
-
* @param {string} [arg.lane] -
|
|
182
|
-
* @param {string} [arg.searchType] -
|
|
183
|
-
* @param {string} [arg.searchId] -
|
|
184
|
-
* @param {string} [arg.fromDate] -
|
|
185
|
-
* @param {string} [arg.toDate] -
|
|
186
|
-
* @param {string} [arg.dpIds] -
|
|
187
|
-
* @param {string} [arg.orderingCompanyId] -
|
|
188
|
-
* @param {string} [arg.stores] -
|
|
189
|
-
* @param {string} [arg.salesChannel] -
|
|
190
|
-
* @param {string} [arg.requestByExt] -
|
|
191
|
-
* @param {number} [arg.pageNo] -
|
|
192
|
-
* @param {number} [arg.pageSize] -
|
|
193
|
-
* @param {string} [arg.customerId] -
|
|
194
|
-
* @param {boolean} [arg.isPrioritySort] -
|
|
195
|
-
* @returns {Promise<BulkListingResponse>} - Success response
|
|
126
|
+
* @returns {Promise<BulkActionTemplateResponse>} - Success response
|
|
196
127
|
* @summary:
|
|
197
128
|
* @description:
|
|
198
129
|
*/
|
|
199
|
-
|
|
200
|
-
lane?: string;
|
|
201
|
-
searchType?: string;
|
|
202
|
-
searchId?: string;
|
|
203
|
-
fromDate?: string;
|
|
204
|
-
toDate?: string;
|
|
205
|
-
dpIds?: string;
|
|
206
|
-
orderingCompanyId?: string;
|
|
207
|
-
stores?: string;
|
|
208
|
-
salesChannel?: string;
|
|
209
|
-
requestByExt?: string;
|
|
210
|
-
pageNo?: number;
|
|
211
|
-
pageSize?: number;
|
|
212
|
-
customerId?: string;
|
|
213
|
-
isPrioritySort?: boolean;
|
|
214
|
-
}): Promise<BulkListingResponse>;
|
|
130
|
+
getBulkActionTemplate({}?: any): Promise<BulkActionTemplateResponse>;
|
|
215
131
|
/**
|
|
216
132
|
* @param {Object} arg - Arg object.
|
|
217
|
-
* @param {string} [arg.
|
|
218
|
-
* @param {string} [arg.
|
|
219
|
-
* @param {string} [arg.
|
|
220
|
-
* @param {string} [arg.
|
|
221
|
-
* @param {string} [arg.
|
|
222
|
-
* @param {string} [arg.
|
|
223
|
-
* @param {string} [arg.
|
|
224
|
-
* @param {string} [arg.
|
|
225
|
-
* @param {string} [arg.
|
|
226
|
-
* @param {
|
|
133
|
+
* @param {string} [arg.salesChannels] - Comma seperated values of sales channel ids
|
|
134
|
+
* @param {string} [arg.dpIds] - Comma seperated values of delivery partner ids
|
|
135
|
+
* @param {string} [arg.fromDate] - Start Date in DD-MM-YYYY format
|
|
136
|
+
* @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
|
|
141
|
+
* @param {string} [arg.fileType] - File type to be downloaded
|
|
142
|
+
* @param {number} [arg.timeToDispatch] - Sla breached or not breached
|
|
227
143
|
* @param {number} [arg.pageNo] -
|
|
228
144
|
* @param {number} [arg.pageSize] -
|
|
229
|
-
* @param {string} [arg.customerId] -
|
|
230
|
-
* @param {boolean} [arg.isPrioritySort] -
|
|
231
145
|
* @returns {Promise<FileResponse>} - Success response
|
|
232
146
|
* @summary:
|
|
233
147
|
* @description:
|
|
234
148
|
*/
|
|
235
|
-
getBulkShipmentExcelFile({
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
searchId?: string;
|
|
149
|
+
getBulkShipmentExcelFile({ salesChannels, dpIds, fromDate, toDate, stores, tags, bagStatus, paymentMethods, fileType, timeToDispatch, pageNo, pageSize, }?: {
|
|
150
|
+
salesChannels?: string;
|
|
151
|
+
dpIds?: string;
|
|
239
152
|
fromDate?: string;
|
|
240
153
|
toDate?: string;
|
|
241
|
-
dpIds?: string;
|
|
242
|
-
orderingCompanyId?: string;
|
|
243
154
|
stores?: string;
|
|
244
|
-
|
|
245
|
-
|
|
155
|
+
tags?: string;
|
|
156
|
+
bagStatus?: string;
|
|
157
|
+
paymentMethods?: string;
|
|
158
|
+
fileType?: string;
|
|
159
|
+
timeToDispatch?: number;
|
|
246
160
|
pageNo?: number;
|
|
247
161
|
pageSize?: number;
|
|
248
|
-
customerId?: string;
|
|
249
|
-
isPrioritySort?: boolean;
|
|
250
162
|
}): Promise<FileResponse>;
|
|
251
163
|
/**
|
|
252
164
|
* @param {Object} arg - Arg object.
|
|
@@ -281,18 +193,6 @@ declare class Order {
|
|
|
281
193
|
paymentMode?: string;
|
|
282
194
|
bagStatus?: string;
|
|
283
195
|
}): Promise<LaneConfigResponse>;
|
|
284
|
-
/**
|
|
285
|
-
* @param {Object} arg - Arg object.
|
|
286
|
-
* @param {string} [arg.fromDate] -
|
|
287
|
-
* @param {string} [arg.toDate] -
|
|
288
|
-
* @returns {Promise<MetricCountResponse>} - Success response
|
|
289
|
-
* @summary:
|
|
290
|
-
* @description:
|
|
291
|
-
*/
|
|
292
|
-
getMetricCount({ fromDate, toDate }?: {
|
|
293
|
-
fromDate?: string;
|
|
294
|
-
toDate?: string;
|
|
295
|
-
}): Promise<MetricCountResponse>;
|
|
296
196
|
/**
|
|
297
197
|
* @param {Object} arg - Arg object.
|
|
298
198
|
* @param {string} arg.orderId -
|
|
@@ -343,18 +243,6 @@ declare class Order {
|
|
|
343
243
|
isPrioritySort?: boolean;
|
|
344
244
|
customMeta?: string;
|
|
345
245
|
}): Promise<OrderListingResponse>;
|
|
346
|
-
/**
|
|
347
|
-
* @param {Object} arg - Arg object.
|
|
348
|
-
* @param {number} [arg.pageNo] -
|
|
349
|
-
* @param {number} [arg.pageSize] -
|
|
350
|
-
* @returns {Promise<OmsReports>} - Success response
|
|
351
|
-
* @summary:
|
|
352
|
-
* @description:
|
|
353
|
-
*/
|
|
354
|
-
getReportsShipmentListing({ pageNo, pageSize }?: {
|
|
355
|
-
pageNo?: number;
|
|
356
|
-
pageSize?: number;
|
|
357
|
-
}): Promise<OmsReports>;
|
|
358
246
|
/**
|
|
359
247
|
* @param {Object} arg - Arg object.
|
|
360
248
|
* @returns {Promise<GetActionsResponse>} - Success response
|
|
@@ -380,14 +268,14 @@ declare class Order {
|
|
|
380
268
|
}): Promise<ShipmentInfoResponse>;
|
|
381
269
|
/**
|
|
382
270
|
* @param {Object} arg - Arg object.
|
|
383
|
-
* @param {
|
|
384
|
-
* @param {number} [arg.bagId] -
|
|
271
|
+
* @param {string} [arg.shipmentId] - Shipment Id
|
|
272
|
+
* @param {number} [arg.bagId] - Bag/Product Id
|
|
385
273
|
* @returns {Promise<ShipmentHistoryResponse>} - Success response
|
|
386
274
|
* @summary:
|
|
387
275
|
* @description:
|
|
388
276
|
*/
|
|
389
277
|
getShipmentHistory({ shipmentId, bagId }?: {
|
|
390
|
-
shipmentId?:
|
|
278
|
+
shipmentId?: string;
|
|
391
279
|
bagId?: number;
|
|
392
280
|
}): Promise<ShipmentHistoryResponse>;
|
|
393
281
|
/**
|
|
@@ -463,6 +351,13 @@ declare class Order {
|
|
|
463
351
|
orderingChannel?: string;
|
|
464
352
|
companyAffiliateTag?: string;
|
|
465
353
|
}): Promise<ShipmentInternalPlatformViewResponse>;
|
|
354
|
+
/**
|
|
355
|
+
* @param {Object} arg - Arg object.
|
|
356
|
+
* @returns {Promise<BagStateTransitionMap>} - Success response
|
|
357
|
+
* @summary:
|
|
358
|
+
* @description:
|
|
359
|
+
*/
|
|
360
|
+
getStateTransitionMap({}?: any): Promise<BagStateTransitionMap>;
|
|
466
361
|
/**
|
|
467
362
|
* @param {Object} arg - Arg object.
|
|
468
363
|
* @param {string} arg.view -
|
|
@@ -495,16 +390,6 @@ declare class Order {
|
|
|
495
390
|
orderUpdate({ body }?: {
|
|
496
391
|
body: PlatformOrderUpdate;
|
|
497
392
|
}): Promise<ResponseDetail>;
|
|
498
|
-
/**
|
|
499
|
-
* @param {Object} arg - Arg object.
|
|
500
|
-
* @param {ManualAssignDPToShipment} arg.body
|
|
501
|
-
* @returns {Promise<ManualAssignDPToShipmentResponse>} - Success response
|
|
502
|
-
* @summary:
|
|
503
|
-
* @description:
|
|
504
|
-
*/
|
|
505
|
-
platformManualAssignDPToShipment({ body }?: {
|
|
506
|
-
body: ManualAssignDPToShipment;
|
|
507
|
-
}): Promise<ManualAssignDPToShipmentResponse>;
|
|
508
393
|
/**
|
|
509
394
|
* @param {Object} arg - Arg object.
|
|
510
395
|
* @param {PostShipmentHistory} arg.body
|
|
@@ -545,13 +430,6 @@ declare class Order {
|
|
|
545
430
|
sendSmsNinja({ body }?: {
|
|
546
431
|
body: SendSmsPayload;
|
|
547
432
|
}): Promise<OrderStatusResult>;
|
|
548
|
-
/**
|
|
549
|
-
* @param {Object} arg - Arg object.
|
|
550
|
-
* @returns {Promise<OrderStatusResult>} - Success response
|
|
551
|
-
* @summary:
|
|
552
|
-
* @description:
|
|
553
|
-
*/
|
|
554
|
-
sendSmsNinjaPlatform({}?: any): Promise<OrderStatusResult>;
|
|
555
433
|
/**
|
|
556
434
|
* @param {Object} arg - Arg object.
|
|
557
435
|
* @param {string} arg.shipmentId -
|
|
@@ -599,7 +477,7 @@ declare class Order {
|
|
|
599
477
|
* @param {UpdateShipmentLockPayload} arg.body
|
|
600
478
|
* @returns {Promise<UpdateShipmentLockResponse>} - Success response
|
|
601
479
|
* @summary:
|
|
602
|
-
* @description: update shipment lock
|
|
480
|
+
* @description: update shipment/bag lock and check status
|
|
603
481
|
*/
|
|
604
482
|
updateShipmentLock({ body }?: {
|
|
605
483
|
body: UpdateShipmentLockPayload;
|
|
@@ -609,7 +487,7 @@ declare class Order {
|
|
|
609
487
|
* @param {UpdateShipmentStatusRequest} arg.body
|
|
610
488
|
* @returns {Promise<UpdateShipmentStatusResponseBody>} - Success response
|
|
611
489
|
* @summary:
|
|
612
|
-
* @description:
|
|
490
|
+
* @description: This API is for Shipment State transition or Shipment data update or both below example is for partial state transition with data update
|
|
613
491
|
*/
|
|
614
492
|
updateShipmentStatus({ body }?: {
|
|
615
493
|
body: UpdateShipmentStatusRequest;
|
|
@@ -624,14 +502,4 @@ declare class Order {
|
|
|
624
502
|
uploadConsent({ body }?: {
|
|
625
503
|
body: UploadConsent;
|
|
626
504
|
}): Promise<SuccessResponse>;
|
|
627
|
-
/**
|
|
628
|
-
* @param {Object} arg - Arg object.
|
|
629
|
-
* @param {JioCodeUpsertPayload} arg.body
|
|
630
|
-
* @returns {Promise<JioCodeUpsertResponse>} - Success response
|
|
631
|
-
* @summary:
|
|
632
|
-
* @description:
|
|
633
|
-
*/
|
|
634
|
-
upsertJioCode({ body }?: {
|
|
635
|
-
body: JioCodeUpsertPayload;
|
|
636
|
-
}): Promise<JioCodeUpsertResponse>;
|
|
637
505
|
}
|