@gofynd/fdk-client-javascript 1.0.0 → 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 (156) hide show
  1. package/documentation/application/CART.md +251 -251
  2. package/documentation/application/CATALOG.md +393 -393
  3. package/documentation/application/CONTENT.md +15 -1
  4. package/documentation/application/ORDER.md +268 -268
  5. package/documentation/application/PAYMENT.md +249 -249
  6. package/documentation/application/POSCART.md +297 -297
  7. package/documentation/platform/CART.md +499 -499
  8. package/documentation/platform/CATALOG.md +3497 -3097
  9. package/documentation/platform/COMPANYPROFILE.md +207 -207
  10. package/documentation/platform/CONTENT.md +123 -1
  11. package/documentation/platform/ORDER.md +1518 -1324
  12. package/documentation/platform/PARTNER.md +7 -7
  13. package/documentation/platform/PAYMENT.md +96 -96
  14. package/index.js +7 -1
  15. package/package.json +1 -1
  16. package/sdk/application/ApplicationConfig.js +1 -1
  17. package/sdk/application/Cart/CartApplicationClient.js +865 -52
  18. package/sdk/application/Cart/CartApplicationModel.d.ts +7 -7
  19. package/sdk/application/Cart/CartApplicationModel.js +335 -335
  20. package/sdk/application/Cart/CartApplicationValidator.js +1 -0
  21. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +1 -1
  22. package/sdk/application/Catalog/CatalogApplicationClient.js +1034 -60
  23. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +19 -19
  24. package/sdk/application/Catalog/CatalogApplicationModel.js +532 -532
  25. package/sdk/application/Catalog/CatalogApplicationValidator.js +1 -0
  26. package/sdk/application/Common/CommonApplicationClient.js +66 -4
  27. package/sdk/application/Common/CommonApplicationValidator.js +1 -0
  28. package/sdk/application/Communication/CommunicationApplicationClient.js +108 -6
  29. package/sdk/application/Communication/CommunicationApplicationValidator.js +1 -0
  30. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +1 -1
  31. package/sdk/application/Configuration/ConfigurationApplicationClient.js +558 -32
  32. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +1 -0
  33. package/sdk/application/Content/ContentApplicationClient.js +621 -38
  34. package/sdk/application/Content/ContentApplicationModel.d.ts +1 -0
  35. package/sdk/application/Content/ContentApplicationModel.js +11 -1
  36. package/sdk/application/Content/ContentApplicationValidator.js +1 -0
  37. package/sdk/application/FileStorage/FileStorageApplicationClient.js +101 -6
  38. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +1 -0
  39. package/sdk/application/Lead/LeadApplicationClient.js +229 -14
  40. package/sdk/application/Lead/LeadApplicationValidator.js +1 -0
  41. package/sdk/application/Logistic/LogisticApplicationClient.js +134 -8
  42. package/sdk/application/Logistic/LogisticApplicationValidator.js +1 -0
  43. package/sdk/application/Order/OrderApplicationClient.d.ts +1 -1
  44. package/sdk/application/Order/OrderApplicationClient.js +403 -24
  45. package/sdk/application/Order/OrderApplicationModel.d.ts +20 -20
  46. package/sdk/application/Order/OrderApplicationModel.js +334 -334
  47. package/sdk/application/Order/OrderApplicationValidator.js +1 -0
  48. package/sdk/application/Payment/PaymentApplicationClient.js +1381 -78
  49. package/sdk/application/Payment/PaymentApplicationModel.d.ts +2 -2
  50. package/sdk/application/Payment/PaymentApplicationModel.js +350 -350
  51. package/sdk/application/Payment/PaymentApplicationValidator.js +1 -0
  52. package/sdk/application/PosCart/PosCartApplicationClient.js +914 -54
  53. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +15 -15
  54. package/sdk/application/PosCart/PosCartApplicationModel.js +389 -389
  55. package/sdk/application/PosCart/PosCartApplicationValidator.js +1 -0
  56. package/sdk/application/Rewards/RewardsApplicationClient.js +235 -14
  57. package/sdk/application/Rewards/RewardsApplicationValidator.js +1 -0
  58. package/sdk/application/Share/ShareApplicationClient.js +226 -14
  59. package/sdk/application/Share/ShareApplicationValidator.js +1 -0
  60. package/sdk/application/Theme/ThemeApplicationClient.js +130 -8
  61. package/sdk/application/Theme/ThemeApplicationValidator.js +1 -0
  62. package/sdk/application/User/UserApplicationClient.js +1133 -70
  63. package/sdk/application/User/UserApplicationValidator.js +1 -0
  64. package/sdk/common/AxiosHelper.js +1 -1
  65. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +16 -8
  66. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +287 -16
  67. package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +8 -4
  68. package/sdk/platform/Analytics/AnalyticsPlatformClient.js +153 -8
  69. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
  70. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +141 -8
  71. package/sdk/platform/Billing/BillingPlatformClient.d.ts +24 -12
  72. package/sdk/platform/Billing/BillingPlatformClient.js +429 -24
  73. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +34 -17
  74. package/sdk/platform/Cart/CartPlatformApplicationClient.js +617 -34
  75. package/sdk/platform/Cart/CartPlatformModel.d.ts +35 -35
  76. package/sdk/platform/Cart/CartPlatformModel.js +617 -617
  77. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +191 -138
  78. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2202 -302
  79. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +11 -11
  80. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +45 -45
  81. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +344 -226
  82. package/sdk/platform/Catalog/CatalogPlatformClient.js +3282 -488
  83. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +110 -100
  84. package/sdk/platform/Catalog/CatalogPlatformModel.js +2073 -1795
  85. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +23 -21
  86. package/sdk/platform/Catalog/CatalogPlatformValidator.js +103 -84
  87. package/sdk/platform/Common/CommonPlatformClient.d.ts +4 -2
  88. package/sdk/platform/Common/CommonPlatformClient.js +73 -4
  89. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -40
  90. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1499 -80
  91. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
  92. package/sdk/platform/Communication/CommunicationPlatformClient.js +41 -2
  93. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +27 -14
  94. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +486 -26
  95. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +9 -9
  96. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +274 -274
  97. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +56 -28
  98. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1022 -56
  99. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
  100. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +693 -36
  101. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +148 -67
  102. package/sdk/platform/Content/ContentPlatformApplicationClient.js +2446 -140
  103. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -0
  104. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +7 -0
  105. package/sdk/platform/Content/ContentPlatformModel.d.ts +4 -0
  106. package/sdk/platform/Content/ContentPlatformModel.js +43 -1
  107. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +21 -10
  108. package/sdk/platform/Discount/DiscountPlatformClient.js +400 -22
  109. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +8 -4
  110. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +148 -8
  111. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +12 -6
  112. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +214 -12
  113. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +27 -14
  114. package/sdk/platform/Inventory/InventoryPlatformClient.js +449 -24
  115. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +26 -13
  116. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +447 -26
  117. package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -11
  118. package/sdk/platform/Lead/LeadPlatformClient.js +384 -22
  119. package/sdk/platform/OAuthClient.js +8 -8
  120. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -3
  121. package/sdk/platform/Order/OrderPlatformApplicationClient.js +125 -6
  122. package/sdk/platform/Order/OrderPlatformClient.d.ts +108 -47
  123. package/sdk/platform/Order/OrderPlatformClient.js +1641 -100
  124. package/sdk/platform/Order/OrderPlatformModel.d.ts +69 -58
  125. package/sdk/platform/Order/OrderPlatformModel.js +1485 -1493
  126. package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -1
  127. package/sdk/platform/Order/OrderPlatformValidator.js +15 -4
  128. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -2
  129. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +74 -4
  130. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
  131. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  132. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +22 -11
  133. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +418 -22
  134. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +21 -11
  135. package/sdk/platform/Payment/PaymentPlatformClient.js +374 -20
  136. package/sdk/platform/Payment/PaymentPlatformModel.js +139 -139
  137. package/sdk/platform/PlatformApplicationClient.d.ts +2973 -2827
  138. package/sdk/platform/PlatformApplicationClient.js +3461 -3263
  139. package/sdk/platform/PlatformClient.d.ts +2973 -2827
  140. package/sdk/platform/PlatformClient.js +3461 -3263
  141. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +26 -13
  142. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +449 -26
  143. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +8 -4
  144. package/sdk/platform/Share/SharePlatformApplicationClient.js +139 -8
  145. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +47 -23
  146. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +816 -48
  147. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +24 -12
  148. package/sdk/platform/User/UserPlatformApplicationClient.js +417 -24
  149. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +12 -6
  150. package/sdk/platform/Webhook/WebhookPlatformClient.js +229 -12
  151. package/sdk/public/Configuration/ConfigurationPublicClient.js +72 -4
  152. package/sdk/public/Configuration/ConfigurationPublicValidator.js +3 -1
  153. package/sdk/public/Inventory/InventoryPublicClient.js +210 -12
  154. package/sdk/public/Inventory/InventoryPublicValidator.js +3 -1
  155. package/sdk/public/Webhook/WebhookPublicClient.js +74 -4
  156. package/sdk/public/Webhook/WebhookPublicValidator.js +3 -1
@@ -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,133 +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>;
533
+ /**
534
+ * @param {Object} arg - Arg object.
535
+ * @param {PostShipmentHistory} arg.body
536
+ * @returns {Promise<ShipmentHistoryResponse>} - Success response
537
+ * @summary:
538
+ * @description:
539
+ */
540
+ postShipmentHistory({ body }?: {
541
+ body: PostShipmentHistory;
542
+ }): Promise<ShipmentHistoryResponse>;
492
543
  /**
493
544
  * @param {Object} arg - Arg object.
494
545
  * @param {SendSmsPayload} arg.body
546
+ * @returns {Promise<OrderStatusResult>} - Success response
495
547
  * @summary:
496
548
  * @description:
497
549
  */
498
550
  sendSmsNinja({ body }?: {
499
551
  body: SendSmsPayload;
500
- }): Promise<any>;
552
+ }): Promise<OrderStatusResult>;
501
553
  /**
502
554
  * @param {Object} arg - Arg object.
503
555
  * @param {ManualAssignDPToShipment} arg.body
556
+ * @returns {Promise<ManualAssignDPToShipmentResponse>} - Success response
504
557
  * @summary:
505
558
  * @description:
506
559
  */
507
560
  platformManualAssignDPToShipment({ body }?: {
508
561
  body: ManualAssignDPToShipment;
509
- }): Promise<any>;
562
+ }): Promise<ManualAssignDPToShipmentResponse>;
510
563
  /**
511
564
  * @param {Object} arg - Arg object.
512
565
  * @param {CreateOrderPayload} arg.body
566
+ * @returns {Promise<CreateOrderResponse>} - Success response
513
567
  * @summary:
514
568
  * @description:
515
569
  */
516
570
  updatePackagingDimensions({ body }?: {
517
571
  body: CreateOrderPayload;
518
- }): Promise<any>;
572
+ }): Promise<CreateOrderResponse>;
519
573
  /**
520
574
  * @param {Object} arg - Arg object.
521
575
  * @param {CreateOrderAPI} arg.body
576
+ * @returns {Promise<CreateOrderResponse>} - Success response
522
577
  * @summary:
523
578
  * @description:
524
579
  */
525
580
  createOrder({ body }?: {
526
581
  body: CreateOrderAPI;
527
- }): Promise<any>;
582
+ }): Promise<CreateOrderResponse>;
528
583
  /**
529
584
  * @param {Object} arg - Arg object.
530
- * @param {CreateChannelConfigData} arg.body
585
+ * @returns {Promise<CreateChannelConfigData>} - Success response
531
586
  * @summary:
532
- * @description: createChannelConfig
587
+ * @description: getChannelConfig
533
588
  */
534
- createChannelConfig({ body }?: {
535
- body: CreateChannelConfigData;
536
- }): Promise<any>;
589
+ getChannelConfig({}?: any): Promise<CreateChannelConfigData>;
537
590
  /**
538
591
  * @param {Object} arg - Arg object.
592
+ * @param {CreateChannelConfigData} arg.body
593
+ * @returns {Promise<CreateChannelConfigResponse>} - Success response
539
594
  * @summary:
540
- * @description: getChannelConfig
595
+ * @description: createChannelConfig
541
596
  */
542
- getChannelConfig({}?: any): Promise<any>;
597
+ createChannelConfig({ body }?: {
598
+ body: CreateChannelConfigData;
599
+ }): Promise<CreateChannelConfigResponse>;
543
600
  /**
544
601
  * @param {Object} arg - Arg object.
545
602
  * @param {UploadConsent} arg.body
603
+ * @returns {Promise<SuccessResponse>} - Success response
546
604
  * @summary:
547
605
  * @description:
548
606
  */
549
607
  uploadConsent({ body }?: {
550
608
  body: UploadConsent;
551
- }): Promise<any>;
609
+ }): Promise<SuccessResponse>;
552
610
  /**
553
611
  * @param {Object} arg - Arg object.
554
612
  * @param {PlatformOrderUpdate} arg.body
613
+ * @returns {Promise<ResponseDetail>} - Success response
555
614
  * @summary:
556
615
  * @description:
557
616
  */
558
617
  orderUpdate({ body }?: {
559
618
  body: PlatformOrderUpdate;
560
- }): Promise<any>;
619
+ }): Promise<ResponseDetail>;
561
620
  /**
562
621
  * @param {Object} arg - Arg object.
563
622
  * @param {OrderStatus} arg.body
623
+ * @returns {Promise<OrderStatusResult>} - Success response
564
624
  * @summary:
565
625
  * @description:
566
626
  */
567
627
  checkOrderStatus({ body }?: {
568
628
  body: OrderStatus;
569
- }): Promise<any>;
629
+ }): Promise<OrderStatusResult>;
570
630
  /**
571
631
  * @param {Object} arg - Arg object.
632
+ * @returns {Promise<OrderStatusResult>} - Success response
572
633
  * @summary:
573
634
  * @description:
574
635
  */
575
- sendSmsNinjaPlatform({}?: any): Promise<any>;
636
+ sendSmsNinjaPlatform({}?: any): Promise<OrderStatusResult>;
576
637
  }