@gofynd/fdk-client-javascript 1.0.4 → 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.
Files changed (121) hide show
  1. package/README.md +19 -0
  2. package/index.d.ts +4 -1
  3. package/index.js +19 -3
  4. package/package.json +13 -4
  5. package/partner.d.ts +4 -0
  6. package/partner.js +7 -0
  7. package/sdk/application/ApplicationAPIClient.js +2 -4
  8. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -1
  9. package/sdk/application/Catalog/CatalogApplicationClient.js +11 -2
  10. package/sdk/application/Catalog/CatalogApplicationModel.js +4 -2
  11. package/sdk/application/Catalog/CatalogApplicationValidator.js +2 -0
  12. package/sdk/application/Content/ContentApplicationModel.js +0 -5
  13. package/sdk/application/Lead/LeadApplicationModel.js +1 -0
  14. package/sdk/application/Order/OrderApplicationClient.d.ts +0 -15
  15. package/sdk/application/Order/OrderApplicationClient.js +0 -68
  16. package/sdk/application/Order/OrderApplicationModel.d.ts +0 -17
  17. package/sdk/application/Order/OrderApplicationModel.js +0 -111
  18. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -1
  19. package/sdk/application/Order/OrderApplicationValidator.js +0 -7
  20. package/sdk/common/AxiosHelper.js +1 -1
  21. package/sdk/common/BaseOAuthClient.d.ts +17 -0
  22. package/sdk/common/BaseOAuthClient.js +67 -0
  23. package/sdk/common/Constant.d.ts +0 -18
  24. package/sdk/common/Constant.js +0 -22
  25. package/sdk/common/RequestSigner.js +0 -5
  26. package/sdk/partner/OAuthClient.d.ts +14 -0
  27. package/sdk/partner/OAuthClient.js +112 -0
  28. package/sdk/{APIClient.d.ts → partner/PartnerAPIClient.d.ts} +2 -1
  29. package/sdk/{APIClient.js → partner/PartnerAPIClient.js} +13 -6
  30. package/sdk/{Client.d.ts → partner/PartnerClient.d.ts} +2 -2
  31. package/sdk/{Client.js → partner/PartnerClient.js} +2 -2
  32. package/sdk/partner/PartnerConfig.d.ts +30 -0
  33. package/sdk/partner/PartnerConfig.js +39 -0
  34. package/sdk/partner/index.d.ts +3 -0
  35. package/sdk/partner/index.js +5 -0
  36. package/sdk/platform/Billing/BillingPlatformClient.d.ts +24 -0
  37. package/sdk/platform/Billing/BillingPlatformClient.js +134 -0
  38. package/sdk/platform/Billing/BillingPlatformModel.d.ts +4 -0
  39. package/sdk/platform/Billing/BillingPlatformModel.js +44 -0
  40. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +2 -0
  41. package/sdk/platform/Billing/BillingPlatformValidator.js +14 -0
  42. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +29 -0
  43. package/sdk/platform/Cart/CartPlatformApplicationClient.js +181 -0
  44. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +3 -0
  45. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +17 -0
  46. package/sdk/platform/Cart/CartPlatformModel.d.ts +4 -0
  47. package/sdk/platform/Cart/CartPlatformModel.js +37 -0
  48. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +3 -1
  49. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +5 -0
  50. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +1 -0
  51. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +1 -1
  52. package/sdk/platform/Catalog/CatalogPlatformClient.js +1 -1
  53. package/sdk/platform/Catalog/CatalogPlatformModel.js +1 -5
  54. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +0 -183
  55. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +0 -417
  56. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +0 -10
  57. package/sdk/platform/Communication/CommunicationPlatformClient.js +0 -26
  58. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +4 -0
  59. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -22
  60. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +0 -56
  61. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +22 -1
  62. package/sdk/platform/Content/ContentPlatformApplicationClient.js +123 -2
  63. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +2 -0
  64. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +12 -0
  65. package/sdk/platform/Content/ContentPlatformModel.js +0 -5
  66. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  67. package/sdk/platform/Discount/DiscountPlatformClient.js +1 -1
  68. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +1 -0
  69. package/sdk/platform/Discount/DiscountPlatformModel.js +15 -0
  70. package/sdk/platform/Discount/DiscountPlatformValidator.js +1 -1
  71. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +1 -1
  72. package/sdk/platform/Lead/LeadPlatformModel.js +1 -0
  73. package/sdk/platform/OAuthClient.js +3 -9
  74. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -47
  75. package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -201
  76. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -3
  77. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +1 -26
  78. package/sdk/platform/Order/OrderPlatformClient.d.ts +51 -183
  79. package/sdk/platform/Order/OrderPlatformClient.js +243 -931
  80. package/sdk/platform/Order/OrderPlatformModel.d.ts +4 -20
  81. package/sdk/platform/Order/OrderPlatformModel.js +38 -182
  82. package/sdk/platform/Order/OrderPlatformValidator.d.ts +3 -12
  83. package/sdk/platform/Order/OrderPlatformValidator.js +19 -95
  84. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +24 -10
  85. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +111 -44
  86. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +2 -1
  87. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +13 -5
  88. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2 -0
  89. package/sdk/platform/Payment/PaymentPlatformModel.js +12 -0
  90. package/sdk/platform/PlatformApplicationClient.d.ts +16 -41
  91. package/sdk/platform/PlatformApplicationClient.js +17 -45
  92. package/sdk/platform/PlatformClient.d.ts +124 -263
  93. package/sdk/platform/PlatformClient.js +148 -315
  94. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +14 -16
  95. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +63 -77
  96. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
  97. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +7 -8
  98. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +11 -0
  99. package/sdk/platform/Share/SharePlatformApplicationClient.js +61 -0
  100. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -0
  101. package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -0
  102. package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
  103. package/sdk/platform/Share/SharePlatformModel.js +11 -0
  104. package/sdk/platform/index.d.ts +0 -1
  105. package/sdk/platform/index.js +0 -2
  106. package/sdk/Config.d.ts +0 -9
  107. package/sdk/Config.js +0 -17
  108. package/sdk/constructUrl.d.ts +0 -5
  109. package/sdk/constructUrl.js +0 -13
  110. package/sdk/index.d.ts +0 -3
  111. package/sdk/index.js +0 -5
  112. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +0 -109
  113. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +0 -558
  114. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +0 -11
  115. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +0 -56
  116. package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +0 -88
  117. package/sdk/platform/Analytics/AnalyticsPlatformClient.js +0 -361
  118. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +0 -23
  119. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +0 -169
  120. package/sdk/platform/Analytics/AnalyticsPlatformValidator.d.ts +0 -7
  121. package/sdk/platform/Analytics/AnalyticsPlatformValidator.js +0 -38
@@ -2,32 +2,7 @@ const Joi = require("joi");
2
2
 
3
3
  const OrderModel = require("./OrderPlatformModel");
4
4
  class OrderValidator {
5
- static getAppOrderShipmentDetails() {
6
- return Joi.object({
7
- orderId: Joi.string().allow("").required(),
8
- }).required();
9
- }
10
-
11
- static getApplicationShipments() {
12
- return Joi.object({
13
- lane: Joi.string().allow(""),
14
- searchType: Joi.string().allow(""),
15
- searchId: Joi.string().allow(""),
16
- fromDate: Joi.string().allow(""),
17
- toDate: Joi.string().allow(""),
18
- dpIds: Joi.string().allow(""),
19
- orderingCompanyId: Joi.string().allow(""),
20
- stores: Joi.string().allow(""),
21
- salesChannel: Joi.string().allow(""),
22
- requestByExt: Joi.string().allow(""),
23
- pageNo: Joi.number(),
24
- pageSize: Joi.number(),
25
- customerId: Joi.string().allow(""),
26
- isPrioritySort: Joi.boolean(),
27
- }).required();
28
- }
29
-
30
- static trackPlatformShipment() {
5
+ static trackShipmentPlatform() {
31
6
  return Joi.object({
32
7
  shipmentId: Joi.string().allow("").required(),
33
8
  }).required();
@@ -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.callingTo] -
41
- * @param {string} [arg.callerId] -
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, callingTo, callerId, }?: {
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.date] -
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
- * @param {string} arg.batchId -
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
- getBulkList({ lane, searchType, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, customerId, isPrioritySort, }?: {
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.lane] -
218
- * @param {string} [arg.searchType] -
219
- * @param {string} [arg.searchId] -
220
- * @param {string} [arg.fromDate] -
221
- * @param {string} [arg.toDate] -
222
- * @param {string} [arg.dpIds] -
223
- * @param {string} [arg.orderingCompanyId] -
224
- * @param {string} [arg.stores] -
225
- * @param {string} [arg.salesChannel] -
226
- * @param {string} [arg.requestByExt] -
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({ lane, searchType, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, customerId, isPrioritySort, }?: {
236
- lane?: string;
237
- searchType?: string;
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
- salesChannel?: string;
245
- requestByExt?: string;
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 {number} [arg.shipmentId] -
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?: number;
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: Update shipment status
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
  }