@gofynd/fdk-client-javascript 1.0.1 → 1.0.2

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 (134) hide show
  1. package/documentation/application/CART.md +251 -251
  2. package/documentation/application/CATALOG.md +414 -414
  3. package/documentation/application/CONTENT.md +15 -1
  4. package/documentation/application/ORDER.md +290 -290
  5. package/documentation/application/PAYMENT.md +255 -255
  6. package/documentation/application/POSCART.md +297 -297
  7. package/documentation/platform/CART.md +499 -499
  8. package/documentation/platform/CATALOG.md +3088 -2702
  9. package/documentation/platform/COMPANYPROFILE.md +201 -201
  10. package/documentation/platform/CONTENT.md +123 -1
  11. package/documentation/platform/ORDER.md +1233 -1158
  12. package/documentation/platform/PARTNER.md +7 -7
  13. package/documentation/platform/PAYMENT.md +83 -83
  14. package/package.json +1 -1
  15. package/sdk/application/ApplicationConfig.js +1 -1
  16. package/sdk/application/Cart/CartApplicationClient.js +619 -108
  17. package/sdk/application/Cart/CartApplicationModel.d.ts +7 -7
  18. package/sdk/application/Cart/CartApplicationModel.js +335 -335
  19. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +1 -1
  20. package/sdk/application/Catalog/CatalogApplicationClient.js +730 -134
  21. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +21 -21
  22. package/sdk/application/Catalog/CatalogApplicationModel.js +547 -547
  23. package/sdk/application/Common/CommonApplicationClient.js +48 -8
  24. package/sdk/application/Communication/CommunicationApplicationClient.js +75 -14
  25. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +1 -1
  26. package/sdk/application/Configuration/ConfigurationApplicationClient.js +392 -66
  27. package/sdk/application/Content/ContentApplicationClient.js +444 -76
  28. package/sdk/application/Content/ContentApplicationModel.d.ts +1 -0
  29. package/sdk/application/Content/ContentApplicationModel.js +11 -1
  30. package/sdk/application/FileStorage/FileStorageApplicationClient.js +74 -12
  31. package/sdk/application/Lead/LeadApplicationClient.js +164 -30
  32. package/sdk/application/Logistic/LogisticApplicationClient.js +98 -16
  33. package/sdk/application/Order/OrderApplicationClient.d.ts +1 -1
  34. package/sdk/application/Order/OrderApplicationClient.js +287 -54
  35. package/sdk/application/Order/OrderApplicationModel.d.ts +19 -19
  36. package/sdk/application/Order/OrderApplicationModel.js +357 -357
  37. package/sdk/application/Payment/PaymentApplicationClient.js +961 -186
  38. package/sdk/application/Payment/PaymentApplicationModel.d.ts +3 -3
  39. package/sdk/application/Payment/PaymentApplicationModel.js +352 -352
  40. package/sdk/application/PosCart/PosCartApplicationClient.js +645 -114
  41. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +15 -15
  42. package/sdk/application/PosCart/PosCartApplicationModel.js +389 -389
  43. package/sdk/application/Rewards/RewardsApplicationClient.js +168 -28
  44. package/sdk/application/Share/ShareApplicationClient.js +157 -32
  45. package/sdk/application/Theme/ThemeApplicationClient.js +94 -16
  46. package/sdk/application/User/UserApplicationClient.js +806 -148
  47. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +16 -8
  48. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +191 -34
  49. package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +8 -4
  50. package/sdk/platform/Analytics/AnalyticsPlatformClient.js +103 -16
  51. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
  52. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +103 -16
  53. package/sdk/platform/Billing/BillingPlatformClient.d.ts +24 -12
  54. package/sdk/platform/Billing/BillingPlatformClient.js +299 -54
  55. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +34 -17
  56. package/sdk/platform/Cart/CartPlatformApplicationClient.js +409 -72
  57. package/sdk/platform/Cart/CartPlatformModel.d.ts +35 -35
  58. package/sdk/platform/Cart/CartPlatformModel.js +617 -617
  59. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +167 -114
  60. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1562 -453
  61. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +8 -8
  62. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +39 -39
  63. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +314 -196
  64. package/sdk/platform/Catalog/CatalogPlatformClient.js +2459 -718
  65. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +103 -94
  66. package/sdk/platform/Catalog/CatalogPlatformModel.js +2063 -1797
  67. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +17 -15
  68. package/sdk/platform/Catalog/CatalogPlatformValidator.js +95 -76
  69. package/sdk/platform/Common/CommonPlatformClient.d.ts +4 -2
  70. package/sdk/platform/Common/CommonPlatformClient.js +51 -8
  71. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -40
  72. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1000 -168
  73. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
  74. package/sdk/platform/Communication/CommunicationPlatformClient.js +28 -4
  75. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +27 -14
  76. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +335 -54
  77. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +10 -10
  78. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +278 -278
  79. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +56 -28
  80. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +702 -118
  81. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
  82. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +457 -82
  83. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +148 -67
  84. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1724 -284
  85. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -0
  86. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +7 -0
  87. package/sdk/platform/Content/ContentPlatformModel.d.ts +4 -0
  88. package/sdk/platform/Content/ContentPlatformModel.js +43 -1
  89. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +21 -10
  90. package/sdk/platform/Discount/DiscountPlatformClient.js +270 -44
  91. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +8 -4
  92. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +102 -16
  93. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +12 -6
  94. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +150 -24
  95. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +27 -14
  96. package/sdk/platform/Inventory/InventoryPlatformClient.js +316 -52
  97. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +26 -13
  98. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +311 -52
  99. package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -11
  100. package/sdk/platform/Lead/LeadPlatformClient.js +266 -44
  101. package/sdk/platform/OAuthClient.js +8 -8
  102. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -3
  103. package/sdk/platform/Order/OrderPlatformApplicationClient.js +78 -14
  104. package/sdk/platform/Order/OrderPlatformClient.d.ts +95 -43
  105. package/sdk/platform/Order/OrderPlatformClient.js +1062 -180
  106. package/sdk/platform/Order/OrderPlatformModel.d.ts +64 -60
  107. package/sdk/platform/Order/OrderPlatformModel.js +1481 -1425
  108. package/sdk/platform/Order/OrderPlatformValidator.js +5 -0
  109. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -2
  110. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +52 -8
  111. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
  112. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  113. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +22 -11
  114. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +287 -56
  115. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +21 -11
  116. package/sdk/platform/Payment/PaymentPlatformClient.js +263 -48
  117. package/sdk/platform/Payment/PaymentPlatformModel.js +122 -122
  118. package/sdk/platform/PlatformApplicationClient.d.ts +2959 -2787
  119. package/sdk/platform/PlatformApplicationClient.js +3420 -3212
  120. package/sdk/platform/PlatformClient.d.ts +2959 -2787
  121. package/sdk/platform/PlatformClient.js +3420 -3212
  122. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +26 -13
  123. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +308 -54
  124. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +8 -4
  125. package/sdk/platform/Share/SharePlatformApplicationClient.js +94 -16
  126. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +47 -23
  127. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +571 -96
  128. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +24 -12
  129. package/sdk/platform/User/UserPlatformApplicationClient.js +296 -48
  130. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +12 -6
  131. package/sdk/platform/Webhook/WebhookPlatformClient.js +157 -30
  132. package/sdk/public/Configuration/ConfigurationPublicClient.js +51 -8
  133. package/sdk/public/Inventory/InventoryPublicClient.js +149 -26
  134. package/sdk/public/Webhook/WebhookPublicClient.js +51 -10
@@ -5,6 +5,8 @@ declare class Order {
5
5
  /**
6
6
  * @param {Object} arg - Arg object.
7
7
  * @param {string} [arg.lane] -
8
+ * @param {string} [arg.bagStatus] -
9
+ * @param {boolean} [arg.statusOverrideLane] -
8
10
  * @param {string} [arg.searchType] -
9
11
  * @param {string} [arg.searchValue] -
10
12
  * @param {string} [arg.searchId] -
@@ -18,16 +20,22 @@ declare class Order {
18
20
  * @param {number} [arg.pageNo] -
19
21
  * @param {number} [arg.pageSize] -
20
22
  * @param {boolean} [arg.isPrioritySort] -
23
+ * @param {boolean} [arg.fetchActiveShipment] -
21
24
  * @param {boolean} [arg.excludeLockedShipments] -
22
25
  * @param {string} [arg.paymentMethods] -
23
26
  * @param {string} [arg.channelShipmentId] -
24
27
  * @param {string} [arg.channelOrderId] -
25
28
  * @param {string} [arg.customMeta] -
29
+ * @param {string} [arg.orderingChannel] -
30
+ * @param {string} [arg.companyAffiliateTag] -
31
+ * @returns {Promise<ShipmentInternalPlatformViewResponse>} - Success response
26
32
  * @summary:
27
33
  * @description:
28
34
  */
29
- getShipments({ lane, searchType, searchValue, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, isPrioritySort, excludeLockedShipments, paymentMethods, channelShipmentId, channelOrderId, customMeta, }?: {
35
+ 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, }?: {
30
36
  lane?: string;
37
+ bagStatus?: string;
38
+ statusOverrideLane?: boolean;
31
39
  searchType?: string;
32
40
  searchValue?: string;
33
41
  searchId?: string;
@@ -41,18 +49,22 @@ declare class Order {
41
49
  pageNo?: number;
42
50
  pageSize?: number;
43
51
  isPrioritySort?: boolean;
52
+ fetchActiveShipment?: boolean;
44
53
  excludeLockedShipments?: boolean;
45
54
  paymentMethods?: string;
46
55
  channelShipmentId?: string;
47
56
  channelOrderId?: string;
48
57
  customMeta?: string;
49
- }): Promise<any>;
58
+ orderingChannel?: string;
59
+ companyAffiliateTag?: string;
60
+ }): Promise<ShipmentInternalPlatformViewResponse>;
50
61
  /**
51
62
  * @param {Object} arg - Arg object.
52
63
  * @param {string} [arg.channelShipmentId] -
53
64
  * @param {string} [arg.shipmentId] -
54
65
  * @param {string} [arg.orderingCompanyId] -
55
66
  * @param {string} [arg.requestByExt] -
67
+ * @returns {Promise<ShipmentInfoResponse>} - Success response
56
68
  * @summary:
57
69
  * @description:
58
70
  */
@@ -61,16 +73,17 @@ declare class Order {
61
73
  shipmentId?: string;
62
74
  orderingCompanyId?: string;
63
75
  requestByExt?: string;
64
- }): Promise<any>;
76
+ }): Promise<ShipmentInfoResponse>;
65
77
  /**
66
78
  * @param {Object} arg - Arg object.
67
79
  * @param {string} arg.orderId -
80
+ * @returns {Promise<ShipmentDetailsResponse>} - Success response
68
81
  * @summary:
69
82
  * @description:
70
83
  */
71
84
  getOrderById({ orderId }?: {
72
85
  orderId: string;
73
- }): Promise<any>;
86
+ }): Promise<ShipmentDetailsResponse>;
74
87
  /**
75
88
  * @param {Object} arg - Arg object.
76
89
  * @param {string} [arg.superLane] -
@@ -82,6 +95,7 @@ declare class Order {
82
95
  * @param {string} [arg.salesChannel] -
83
96
  * @param {string} [arg.paymentMode] -
84
97
  * @param {string} [arg.bagStatus] -
98
+ * @returns {Promise<LaneConfigResponse>} - Success response
85
99
  * @summary:
86
100
  * @description:
87
101
  */
@@ -95,7 +109,7 @@ declare class Order {
95
109
  salesChannel?: string;
96
110
  paymentMode?: string;
97
111
  bagStatus?: string;
98
- }): Promise<any>;
112
+ }): Promise<LaneConfigResponse>;
99
113
  /**
100
114
  * @param {Object} arg - Arg object.
101
115
  * @param {string} [arg.lane] -
@@ -114,6 +128,7 @@ declare class Order {
114
128
  * @param {number} [arg.pageSize] -
115
129
  * @param {boolean} [arg.isPrioritySort] -
116
130
  * @param {string} [arg.customMeta] -
131
+ * @returns {Promise<OrderListingResponse>} - Success response
117
132
  * @summary:
118
133
  * @description:
119
134
  */
@@ -134,80 +149,87 @@ declare class Order {
134
149
  pageSize?: number;
135
150
  isPrioritySort?: boolean;
136
151
  customMeta?: string;
137
- }): Promise<any>;
152
+ }): Promise<OrderListingResponse>;
138
153
  /**
139
154
  * @param {Object} arg - Arg object.
140
155
  * @param {string} [arg.fromDate] -
141
156
  * @param {string} [arg.toDate] -
157
+ * @returns {Promise<MetricCountResponse>} - Success response
142
158
  * @summary:
143
159
  * @description:
144
160
  */
145
161
  getMetricCount({ fromDate, toDate }?: {
146
162
  fromDate?: string;
147
163
  toDate?: string;
148
- }): Promise<any>;
164
+ }): Promise<MetricCountResponse>;
149
165
  /**
150
166
  * @param {Object} arg - Arg object.
151
167
  * @param {string} arg.view -
152
168
  * @param {string} [arg.groupEntity] -
169
+ * @returns {Promise<FiltersResponse>} - Success response
153
170
  * @summary:
154
171
  * @description:
155
172
  */
156
173
  getfilters({ view, groupEntity }?: {
157
174
  view: string;
158
175
  groupEntity?: string;
159
- }): Promise<any>;
176
+ }): Promise<FiltersResponse>;
160
177
  /**
161
178
  * @param {Object} arg - Arg object.
162
179
  * @param {string} [arg.fromDate] -
163
180
  * @param {string} [arg.toDate] -
181
+ * @returns {Promise<Success>} - Success response
164
182
  * @summary:
165
183
  * @description:
166
184
  */
167
185
  createShipmentReport({ fromDate, toDate }?: {
168
186
  fromDate?: string;
169
187
  toDate?: string;
170
- }): Promise<any>;
188
+ }): Promise<Success>;
171
189
  /**
172
190
  * @param {Object} arg - Arg object.
173
191
  * @param {number} [arg.pageNo] -
174
192
  * @param {number} [arg.pageSize] -
193
+ * @returns {Promise<OmsReports>} - Success response
175
194
  * @summary:
176
195
  * @description:
177
196
  */
178
197
  getReportsShipmentListing({ pageNo, pageSize }?: {
179
198
  pageNo?: number;
180
199
  pageSize?: number;
181
- }): Promise<any>;
200
+ }): Promise<OmsReports>;
182
201
  /**
183
202
  * @param {Object} arg - Arg object.
184
203
  * @param {JioCodeUpsertPayload} arg.body
204
+ * @returns {Promise<JioCodeUpsertResponse>} - Success response
185
205
  * @summary:
186
206
  * @description:
187
207
  */
188
208
  upsertJioCode({ body }?: {
189
209
  body: JioCodeUpsertPayload;
190
- }): Promise<any>;
210
+ }): Promise<JioCodeUpsertResponse>;
191
211
  /**
192
212
  * @param {Object} arg - Arg object.
193
213
  * @param {string} arg.batchId -
194
214
  * @param {string} arg.docType -
215
+ * @returns {Promise<BulkInvoicingResponse>} - Success response
195
216
  * @summary:
196
217
  * @description:
197
218
  */
198
219
  getBulkInvoice({ batchId, docType }?: {
199
220
  batchId: string;
200
221
  docType: string;
201
- }): Promise<any>;
222
+ }): Promise<BulkInvoicingResponse>;
202
223
  /**
203
224
  * @param {Object} arg - Arg object.
204
225
  * @param {string} arg.batchId -
226
+ * @returns {Promise<BulkInvoiceLabelResponse>} - Success response
205
227
  * @summary:
206
228
  * @description:
207
229
  */
208
230
  getBulkInvoiceLabel({ batchId }?: {
209
231
  batchId: string;
210
- }): Promise<any>;
232
+ }): Promise<BulkInvoiceLabelResponse>;
211
233
  /**
212
234
  * @param {Object} arg - Arg object.
213
235
  * @param {string} [arg.lane] -
@@ -224,6 +246,7 @@ declare class Order {
224
246
  * @param {number} [arg.pageSize] -
225
247
  * @param {string} [arg.customerId] -
226
248
  * @param {boolean} [arg.isPrioritySort] -
249
+ * @returns {Promise<FileResponse>} - Success response
227
250
  * @summary:
228
251
  * @description:
229
252
  */
@@ -242,7 +265,7 @@ declare class Order {
242
265
  pageSize?: number;
243
266
  customerId?: string;
244
267
  isPrioritySort?: boolean;
245
- }): Promise<any>;
268
+ }): Promise<FileResponse>;
246
269
  /**
247
270
  * @param {Object} arg - Arg object.
248
271
  * @param {string} [arg.lane] -
@@ -259,6 +282,7 @@ declare class Order {
259
282
  * @param {number} [arg.pageSize] -
260
283
  * @param {string} [arg.customerId] -
261
284
  * @param {boolean} [arg.isPrioritySort] -
285
+ * @returns {Promise<BulkListingResponse>} - Success response
262
286
  * @summary:
263
287
  * @description:
264
288
  */
@@ -277,18 +301,19 @@ declare class Order {
277
301
  pageSize?: number;
278
302
  customerId?: string;
279
303
  isPrioritySort?: boolean;
280
- }): Promise<any>;
304
+ }): Promise<BulkListingResponse>;
281
305
  /**
282
306
  * @param {Object} arg - Arg object.
283
307
  * @param {string} arg.batchId -
284
308
  * @param {string} [arg.reportType] -
309
+ * @returns {Promise<FileResponse>} - Success response
285
310
  * @summary:
286
311
  * @description:
287
312
  */
288
313
  getBulkActionFailedReport({ batchId, reportType }?: {
289
314
  batchId: string;
290
315
  reportType?: string;
291
- }): Promise<any>;
316
+ }): Promise<FileResponse>;
292
317
  /**
293
318
  * @param {Object} arg - Arg object.
294
319
  * @param {string} arg.shipmentId - ID of the shipment. An order may contain
@@ -297,6 +322,7 @@ declare class Order {
297
322
  * @param {string} arg.bagId - ID of the bag. An order may contain multiple
298
323
  * items and may get divided into one or more shipment, each having its own ID.
299
324
  * @param {string} arg.state - State for which reasons are required.
325
+ * @returns {Promise<PlatformShipmentReasonsResponse>} - Success response
300
326
  * @summary: Get reasons behind full or partial cancellation of a shipment
301
327
  * @description: Use this API to retrieve the issues that led to the cancellation of bags within a shipment.
302
328
  */
@@ -304,30 +330,33 @@ declare class Order {
304
330
  shipmentId: string;
305
331
  bagId: string;
306
332
  state: string;
307
- }): Promise<any>;
333
+ }): Promise<PlatformShipmentReasonsResponse>;
308
334
  /**
309
335
  * @param {Object} arg - Arg object.
310
336
  * @param {BulkActionPayload} arg.body
337
+ * @returns {Promise<BulkActionResponse>} - Success response
311
338
  * @summary: emits uuid to kafka topic.
312
339
  * @description: Use this API to start processing Xlsx file.
313
340
  */
314
341
  bulkActionProcessXlsxFile({ body }?: {
315
342
  body: BulkActionPayload;
316
- }): Promise<any>;
343
+ }): Promise<BulkActionResponse>;
317
344
  /**
318
345
  * @param {Object} arg - Arg object.
319
346
  * @param {string} arg.batchId -
347
+ * @returns {Promise<BulkActionDetailsResponse>} - Success response
320
348
  * @summary: Returns failed, processing and successfully processed shipments.
321
349
  * @description: Returns failed, processing and successfully processed shipments along with their counts and failed reasons.
322
350
  */
323
351
  bulkActionDetails({ batchId }?: {
324
352
  batchId: string;
325
- }): Promise<any>;
353
+ }): Promise<BulkActionDetailsResponse>;
326
354
  /**
327
355
  * @param {Object} arg - Arg object.
328
356
  * @param {string} [arg.bagId] -
329
357
  * @param {string} [arg.channelBagId] -
330
358
  * @param {string} [arg.channelId] -
359
+ * @returns {Promise<BagDetailsPlatformResponse>} - Success response
331
360
  * @summary:
332
361
  * @description:
333
362
  */
@@ -335,7 +364,7 @@ declare class Order {
335
364
  bagId?: string;
336
365
  channelBagId?: string;
337
366
  channelId?: string;
338
- }): Promise<any>;
367
+ }): Promise<BagDetailsPlatformResponse>;
339
368
  /**
340
369
  * @param {Object} arg - Arg object.
341
370
  * @param {string} [arg.bagIds] -
@@ -347,6 +376,7 @@ declare class Order {
347
376
  * @param {string} [arg.channelId] -
348
377
  * @param {number} [arg.pageNo] -
349
378
  * @param {number} [arg.pageSize] -
379
+ * @returns {Promise<GetBagsPlatformResponse>} - Success response
350
380
  * @summary:
351
381
  * @description:
352
382
  */
@@ -360,43 +390,47 @@ declare class Order {
360
390
  channelId?: string;
361
391
  pageNo?: number;
362
392
  pageSize?: number;
363
- }): Promise<any>;
393
+ }): Promise<GetBagsPlatformResponse>;
364
394
  /**
365
395
  * @param {Object} arg - Arg object.
366
396
  * @param {InvalidateShipmentCachePayload} arg.body
397
+ * @returns {Promise<InvalidateShipmentCacheResponse>} - Success response
367
398
  * @summary:
368
399
  * @description: Invalidate shipment Cache
369
400
  */
370
401
  invalidateShipmentCache({ body }?: {
371
402
  body: InvalidateShipmentCachePayload;
372
- }): Promise<any>;
403
+ }): Promise<InvalidateShipmentCacheResponse>;
373
404
  /**
374
405
  * @param {Object} arg - Arg object.
375
406
  * @param {StoreReassign} arg.body
407
+ * @returns {Promise<StoreReassignResponse>} - Success response
376
408
  * @summary:
377
409
  * @description: Reassign Location
378
410
  */
379
411
  reassignLocation({ body }?: {
380
412
  body: StoreReassign;
381
- }): Promise<any>;
413
+ }): Promise<StoreReassignResponse>;
382
414
  /**
383
415
  * @param {Object} arg - Arg object.
384
416
  * @param {UpdateShipmentLockPayload} arg.body
417
+ * @returns {Promise<UpdateShipmentLockResponse>} - Success response
385
418
  * @summary:
386
419
  * @description: update shipment lock
387
420
  */
388
421
  updateShipmentLock({ body }?: {
389
422
  body: UpdateShipmentLockPayload;
390
- }): Promise<any>;
423
+ }): Promise<UpdateShipmentLockResponse>;
391
424
  /**
392
425
  * @param {Object} arg - Arg object.
393
426
  * @param {string} [arg.date] -
427
+ * @returns {Promise<AnnouncementsResponse>} - Success response
394
428
  * @summary:
395
429
  * @description:
396
430
  */
397
431
  getAnnouncements({ date }?: {
398
432
  date?: string;
399
- }): Promise<any>;
433
+ }): Promise<AnnouncementsResponse>;
400
434
  /**
401
435
  * @param {Object} arg - Arg object.
402
436
  * @param {string} arg.shipmentId -
@@ -411,6 +445,7 @@ declare class Order {
411
445
  * @param {string} [arg.city] -
412
446
  * @param {string} [arg.state] -
413
447
  * @param {string} [arg.country] -
448
+ * @returns {Promise<BaseResponse>} - Success response
414
449
  * @summary:
415
450
  * @description:
416
451
  */
@@ -427,7 +462,7 @@ declare class Order {
427
462
  city?: string;
428
463
  state?: string;
429
464
  country?: string;
430
- }): Promise<any>;
465
+ }): Promise<BaseResponse>;
431
466
  /**
432
467
  * @param {Object} arg - Arg object.
433
468
  * @param {string} arg.caller -
@@ -435,6 +470,7 @@ declare class Order {
435
470
  * @param {string} arg.bagId -
436
471
  * @param {string} [arg.callingTo] -
437
472
  * @param {string} [arg.callerId] -
473
+ * @returns {Promise<Click2CallResponse>} - Success response
438
474
  * @summary:
439
475
  * @description:
440
476
  */
@@ -444,142 +480,158 @@ declare class Order {
444
480
  bagId: string;
445
481
  callingTo?: string;
446
482
  callerId?: string;
447
- }): Promise<any>;
483
+ }): Promise<Click2CallResponse>;
448
484
  /**
449
485
  * @param {Object} arg - Arg object.
450
486
  * @param {UpdateShipmentStatusRequest} arg.body
487
+ * @returns {Promise<UpdateShipmentStatusResponseBody>} - Success response
451
488
  * @summary:
452
489
  * @description: Update shipment status
453
490
  */
454
491
  updateShipmentStatus({ body }?: {
455
492
  body: UpdateShipmentStatusRequest;
456
- }): Promise<any>;
493
+ }): Promise<UpdateShipmentStatusResponseBody>;
457
494
  /**
458
495
  * @param {Object} arg - Arg object.
459
496
  * @param {CreateOrderPayload} arg.body
497
+ * @returns {Promise<CreateOrderResponse>} - Success response
460
498
  * @summary:
461
499
  * @description:
462
500
  */
463
501
  processManifest({ body }?: {
464
502
  body: CreateOrderPayload;
465
- }): Promise<any>;
503
+ }): Promise<CreateOrderResponse>;
466
504
  /**
467
505
  * @param {Object} arg - Arg object.
468
506
  * @param {DispatchManifest} arg.body
507
+ * @returns {Promise<SuccessResponse>} - Success response
469
508
  * @summary:
470
509
  * @description:
471
510
  */
472
511
  dispatchManifest({ body }?: {
473
512
  body: DispatchManifest;
474
- }): Promise<any>;
513
+ }): Promise<SuccessResponse>;
475
514
  /**
476
515
  * @param {Object} arg - Arg object.
516
+ * @returns {Promise<GetActionsResponse>} - Success response
477
517
  * @summary:
478
518
  * @description:
479
519
  */
480
- getRoleBasedActions({}?: any): Promise<any>;
520
+ getRoleBasedActions({}?: any): Promise<GetActionsResponse>;
481
521
  /**
482
522
  * @param {Object} arg - Arg object.
483
523
  * @param {number} [arg.shipmentId] -
484
524
  * @param {number} [arg.bagId] -
525
+ * @returns {Promise<ShipmentHistoryResponse>} - Success response
485
526
  * @summary:
486
527
  * @description:
487
528
  */
488
529
  getShipmentHistory({ shipmentId, bagId }?: {
489
530
  shipmentId?: number;
490
531
  bagId?: number;
491
- }): Promise<any>;
532
+ }): Promise<ShipmentHistoryResponse>;
492
533
  /**
493
534
  * @param {Object} arg - Arg object.
494
535
  * @param {PostShipmentHistory} arg.body
536
+ * @returns {Promise<ShipmentHistoryResponse>} - Success response
495
537
  * @summary:
496
538
  * @description:
497
539
  */
498
540
  postShipmentHistory({ body }?: {
499
541
  body: PostShipmentHistory;
500
- }): Promise<any>;
542
+ }): Promise<ShipmentHistoryResponse>;
501
543
  /**
502
544
  * @param {Object} arg - Arg object.
503
545
  * @param {SendSmsPayload} arg.body
546
+ * @returns {Promise<OrderStatusResult>} - Success response
504
547
  * @summary:
505
548
  * @description:
506
549
  */
507
550
  sendSmsNinja({ body }?: {
508
551
  body: SendSmsPayload;
509
- }): Promise<any>;
552
+ }): Promise<OrderStatusResult>;
510
553
  /**
511
554
  * @param {Object} arg - Arg object.
512
555
  * @param {ManualAssignDPToShipment} arg.body
556
+ * @returns {Promise<ManualAssignDPToShipmentResponse>} - Success response
513
557
  * @summary:
514
558
  * @description:
515
559
  */
516
560
  platformManualAssignDPToShipment({ body }?: {
517
561
  body: ManualAssignDPToShipment;
518
- }): Promise<any>;
562
+ }): Promise<ManualAssignDPToShipmentResponse>;
519
563
  /**
520
564
  * @param {Object} arg - Arg object.
521
565
  * @param {CreateOrderPayload} arg.body
566
+ * @returns {Promise<CreateOrderResponse>} - Success response
522
567
  * @summary:
523
568
  * @description:
524
569
  */
525
570
  updatePackagingDimensions({ body }?: {
526
571
  body: CreateOrderPayload;
527
- }): Promise<any>;
572
+ }): Promise<CreateOrderResponse>;
528
573
  /**
529
574
  * @param {Object} arg - Arg object.
530
575
  * @param {CreateOrderAPI} arg.body
576
+ * @returns {Promise<CreateOrderResponse>} - Success response
531
577
  * @summary:
532
578
  * @description:
533
579
  */
534
580
  createOrder({ body }?: {
535
581
  body: CreateOrderAPI;
536
- }): Promise<any>;
582
+ }): Promise<CreateOrderResponse>;
537
583
  /**
538
584
  * @param {Object} arg - Arg object.
585
+ * @returns {Promise<CreateChannelConfigData>} - Success response
539
586
  * @summary:
540
587
  * @description: getChannelConfig
541
588
  */
542
- getChannelConfig({}?: any): Promise<any>;
589
+ getChannelConfig({}?: any): Promise<CreateChannelConfigData>;
543
590
  /**
544
591
  * @param {Object} arg - Arg object.
545
592
  * @param {CreateChannelConfigData} arg.body
593
+ * @returns {Promise<CreateChannelConfigResponse>} - Success response
546
594
  * @summary:
547
595
  * @description: createChannelConfig
548
596
  */
549
597
  createChannelConfig({ body }?: {
550
598
  body: CreateChannelConfigData;
551
- }): Promise<any>;
599
+ }): Promise<CreateChannelConfigResponse>;
552
600
  /**
553
601
  * @param {Object} arg - Arg object.
554
602
  * @param {UploadConsent} arg.body
603
+ * @returns {Promise<SuccessResponse>} - Success response
555
604
  * @summary:
556
605
  * @description:
557
606
  */
558
607
  uploadConsent({ body }?: {
559
608
  body: UploadConsent;
560
- }): Promise<any>;
609
+ }): Promise<SuccessResponse>;
561
610
  /**
562
611
  * @param {Object} arg - Arg object.
563
612
  * @param {PlatformOrderUpdate} arg.body
613
+ * @returns {Promise<ResponseDetail>} - Success response
564
614
  * @summary:
565
615
  * @description:
566
616
  */
567
617
  orderUpdate({ body }?: {
568
618
  body: PlatformOrderUpdate;
569
- }): Promise<any>;
619
+ }): Promise<ResponseDetail>;
570
620
  /**
571
621
  * @param {Object} arg - Arg object.
572
622
  * @param {OrderStatus} arg.body
623
+ * @returns {Promise<OrderStatusResult>} - Success response
573
624
  * @summary:
574
625
  * @description:
575
626
  */
576
627
  checkOrderStatus({ body }?: {
577
628
  body: OrderStatus;
578
- }): Promise<any>;
629
+ }): Promise<OrderStatusResult>;
579
630
  /**
580
631
  * @param {Object} arg - Arg object.
632
+ * @returns {Promise<OrderStatusResult>} - Success response
581
633
  * @summary:
582
634
  * @description:
583
635
  */
584
- sendSmsNinjaPlatform({}?: any): Promise<any>;
636
+ sendSmsNinjaPlatform({}?: any): Promise<OrderStatusResult>;
585
637
  }