@gofynd/fdk-client-javascript 1.4.3 → 1.4.5
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 +1 -10
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +48 -48
- package/sdk/application/Cart/CartApplicationClient.js +48 -48
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +69 -69
- package/sdk/application/Catalog/CatalogApplicationClient.js +69 -69
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -32
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -32
- package/sdk/application/Content/ContentApplicationClient.d.ts +45 -45
- package/sdk/application/Content/ContentApplicationClient.js +45 -45
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +5 -5
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +5 -5
- package/sdk/application/Lead/LeadApplicationClient.d.ts +9 -9
- package/sdk/application/Lead/LeadApplicationClient.js +9 -9
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -22
- package/sdk/application/Logistic/LogisticApplicationClient.js +22 -22
- package/sdk/application/Order/OrderApplicationClient.d.ts +14 -25
- package/sdk/application/Order/OrderApplicationClient.js +14 -94
- package/sdk/application/Order/OrderApplicationValidator.d.ts +1 -15
- package/sdk/application/Order/OrderApplicationValidator.js +0 -13
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +71 -71
- package/sdk/application/Payment/PaymentApplicationClient.js +71 -71
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +1 -1
- package/sdk/application/Rewards/RewardsApplicationClient.js +1 -1
- package/sdk/application/Share/ShareApplicationClient.d.ts +1 -1
- package/sdk/application/Share/ShareApplicationClient.js +1 -1
- package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
- package/sdk/application/Share/ShareApplicationModel.js +2 -0
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
- package/sdk/application/User/UserApplicationClient.d.ts +74 -74
- package/sdk/application/User/UserApplicationClient.js +74 -74
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +5 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +5 -5
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +13 -13
- package/sdk/platform/Billing/BillingPlatformClient.js +13 -13
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +102 -102
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +102 -102
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +132 -131
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +132 -131
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +130 -130
- package/sdk/platform/Catalog/CatalogPlatformClient.js +130 -130
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
- package/sdk/platform/Common/CommonPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +118 -118
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +118 -118
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +22 -22
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +22 -22
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +34 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +35 -5
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +4 -4
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +41 -41
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +41 -41
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +26 -26
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +26 -26
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +93 -93
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +93 -93
- package/sdk/platform/Content/ContentPlatformClient.d.ts +29 -29
- package/sdk/platform/Content/ContentPlatformClient.js +29 -29
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +18 -18
- package/sdk/platform/Discount/DiscountPlatformClient.js +18 -18
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -17
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +18 -17
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +2 -2
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +4 -4
- package/sdk/platform/Finance/FinancePlatformClient.js +4 -4
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +15 -15
- package/sdk/platform/Lead/LeadPlatformClient.js +15 -15
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +10 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +95 -106
- package/sdk/platform/Order/OrderPlatformClient.js +95 -190
- package/sdk/platform/Order/OrderPlatformModel.d.ts +10 -0
- package/sdk/platform/Order/OrderPlatformModel.js +4 -0
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +1 -33
- package/sdk/platform/Order/OrderPlatformValidator.js +0 -20
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +77 -77
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +77 -77
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +2 -2
- package/sdk/platform/Payment/PaymentPlatformClient.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +7 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +3 -0
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +7 -7
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +7 -7
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +40 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +40 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +51 -50
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +51 -50
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationClient.js +1 -1
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +34 -104
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +34 -591
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +1 -100
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -92
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
- package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -35
- package/sdk/platform/User/UserPlatformApplicationClient.js +35 -35
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +7 -6
- package/sdk/platform/Webhook/WebhookPlatformClient.js +7 -6
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +0 -152
- package/sdk/platform/Inventory/InventoryPlatformClient.js +0 -1017
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +0 -1355
- package/sdk/platform/Inventory/InventoryPlatformModel.js +0 -1544
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +0 -171
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +0 -159
|
@@ -20,8 +20,8 @@ class Order {
|
|
|
20
20
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
21
21
|
* @returns {Promise<OrderPlatformModel.AttachOrderUserResponse>} - Success response
|
|
22
22
|
* @name attachOrderUser
|
|
23
|
-
* @summary: Attach order user
|
|
24
|
-
* @description: Attach order
|
|
23
|
+
* @summary: Attach order to a user
|
|
24
|
+
* @description: Attach an anonymous order to a customer based on OTP verification - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/attachOrderUser/).
|
|
25
25
|
*/
|
|
26
26
|
async attachOrderUser(
|
|
27
27
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -99,9 +99,8 @@ class Order {
|
|
|
99
99
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
100
100
|
* @returns {Promise<OrderPlatformModel.BulkListingResponse>} - Success response
|
|
101
101
|
* @name bulkListing
|
|
102
|
-
* @summary:
|
|
103
|
-
* @description:
|
|
104
|
-
* - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/bulkListing/).
|
|
102
|
+
* @summary: Lists bulk operations
|
|
103
|
+
* @description: Get list of bulk operation that is initiated and completed as per the filters provided - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/bulkListing/).
|
|
105
104
|
*/
|
|
106
105
|
async bulkListing(
|
|
107
106
|
{
|
|
@@ -206,8 +205,8 @@ class Order {
|
|
|
206
205
|
* @returns {Promise<OrderPlatformModel.BulkStateTransistionResponse>} -
|
|
207
206
|
* Success response
|
|
208
207
|
* @name bulkStateTransistion
|
|
209
|
-
* @summary:
|
|
210
|
-
* @description: Performs
|
|
208
|
+
* @summary: Upload bulk state transitions file
|
|
209
|
+
* @description: Performs state transisiton in bulk using the CSV or excel file for the given shipments. The bulk transition CSV or excel template can be downloaded using the seller template download method. Current supported format is excel and CSV. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/bulkStateTransistion/).
|
|
211
210
|
*/
|
|
212
211
|
async bulkStateTransistion(
|
|
213
212
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -285,8 +284,8 @@ class Order {
|
|
|
285
284
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
286
285
|
* @returns {Promise<OrderPlatformModel.OrderStatusResult>} - Success response
|
|
287
286
|
* @name checkOrderStatus
|
|
288
|
-
* @summary:
|
|
289
|
-
* @description:
|
|
287
|
+
* @summary: Debug order
|
|
288
|
+
* @description: Used to verify the status of order. It queries error logs, resyncs the shipments if there was an issue with sync etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/checkOrderStatus/).
|
|
290
289
|
*/
|
|
291
290
|
async checkOrderStatus(
|
|
292
291
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -358,100 +357,6 @@ class Order {
|
|
|
358
357
|
return response;
|
|
359
358
|
}
|
|
360
359
|
|
|
361
|
-
/**
|
|
362
|
-
* @param {OrderPlatformValidator.Click2CallParam} arg - Arg object
|
|
363
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
364
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
365
|
-
* @returns {Promise<OrderPlatformModel.Click2CallResponse>} - Success response
|
|
366
|
-
* @name click2Call
|
|
367
|
-
* @summary: Click to call
|
|
368
|
-
* @description: Click to call. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/click2Call/).
|
|
369
|
-
*/
|
|
370
|
-
async click2Call(
|
|
371
|
-
{ caller, receiver, bagId, callerId, method, requestHeaders } = {
|
|
372
|
-
requestHeaders: {},
|
|
373
|
-
},
|
|
374
|
-
{ responseHeaders } = { responseHeaders: false }
|
|
375
|
-
) {
|
|
376
|
-
const { error } = OrderPlatformValidator.click2Call().validate(
|
|
377
|
-
{
|
|
378
|
-
caller,
|
|
379
|
-
receiver,
|
|
380
|
-
bagId,
|
|
381
|
-
|
|
382
|
-
callerId,
|
|
383
|
-
method,
|
|
384
|
-
},
|
|
385
|
-
{ abortEarly: false, allowUnknown: true }
|
|
386
|
-
);
|
|
387
|
-
if (error) {
|
|
388
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
// Showing warrnings if extra unknown parameters are found
|
|
392
|
-
const { error: warrning } = OrderPlatformValidator.click2Call().validate(
|
|
393
|
-
{
|
|
394
|
-
caller,
|
|
395
|
-
receiver,
|
|
396
|
-
bagId,
|
|
397
|
-
|
|
398
|
-
callerId,
|
|
399
|
-
method,
|
|
400
|
-
},
|
|
401
|
-
{ abortEarly: false, allowUnknown: false }
|
|
402
|
-
);
|
|
403
|
-
if (warrning) {
|
|
404
|
-
Logger({
|
|
405
|
-
level: "WARN",
|
|
406
|
-
message: `Parameter Validation warrnings for platform > Order > click2Call \n ${warrning}`,
|
|
407
|
-
});
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
const query_params = {};
|
|
411
|
-
query_params["caller"] = caller;
|
|
412
|
-
query_params["receiver"] = receiver;
|
|
413
|
-
query_params["bag_id"] = bagId;
|
|
414
|
-
query_params["caller_id"] = callerId;
|
|
415
|
-
query_params["method"] = method;
|
|
416
|
-
|
|
417
|
-
const xHeaders = {};
|
|
418
|
-
|
|
419
|
-
const response = await PlatformAPIClient.execute(
|
|
420
|
-
this.config,
|
|
421
|
-
"get",
|
|
422
|
-
`/service/platform/order-manage/v1.0/company/${this.config.companyId}/ninja/click2call`,
|
|
423
|
-
query_params,
|
|
424
|
-
undefined,
|
|
425
|
-
{ ...xHeaders, ...requestHeaders },
|
|
426
|
-
{ responseHeaders }
|
|
427
|
-
);
|
|
428
|
-
|
|
429
|
-
let responseData = response;
|
|
430
|
-
if (responseHeaders) {
|
|
431
|
-
responseData = response[0];
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
const {
|
|
435
|
-
error: res_error,
|
|
436
|
-
} = OrderPlatformModel.Click2CallResponse().validate(responseData, {
|
|
437
|
-
abortEarly: false,
|
|
438
|
-
allowUnknown: true,
|
|
439
|
-
});
|
|
440
|
-
|
|
441
|
-
if (res_error) {
|
|
442
|
-
if (this.config.options.strictResponseCheck === true) {
|
|
443
|
-
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
444
|
-
} else {
|
|
445
|
-
Logger({
|
|
446
|
-
level: "WARN",
|
|
447
|
-
message: `Response Validation Warnings for platform > Order > click2Call \n ${res_error}`,
|
|
448
|
-
});
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
return response;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
360
|
/**
|
|
456
361
|
* @param {OrderPlatformValidator.CreateChannelConfigParam} arg - Arg object
|
|
457
362
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -460,7 +365,7 @@ class Order {
|
|
|
460
365
|
* Success response
|
|
461
366
|
* @name createChannelConfig
|
|
462
367
|
* @summary: Create channel configuration
|
|
463
|
-
* @description: Set up configuration for a channel
|
|
368
|
+
* @description: Set up configuration for a channel specific to orders which has implications over how the order fulfilment happens in a channel - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/createChannelConfig/).
|
|
464
369
|
*/
|
|
465
370
|
async createChannelConfig(
|
|
466
371
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -539,7 +444,7 @@ class Order {
|
|
|
539
444
|
* @returns {Promise<OrderPlatformModel.CreateOrderResponse>} - Success response
|
|
540
445
|
* @name createOrder
|
|
541
446
|
* @summary: Create order
|
|
542
|
-
* @description:
|
|
447
|
+
* @description: Creates an order - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/createOrder/).
|
|
543
448
|
*/
|
|
544
449
|
async createOrder(
|
|
545
450
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -615,8 +520,8 @@ class Order {
|
|
|
615
520
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
616
521
|
* @returns {Promise<OrderPlatformModel.SuccessResponse>} - Success response
|
|
617
522
|
* @name dispatchManifests
|
|
618
|
-
* @summary:
|
|
619
|
-
* @description:
|
|
523
|
+
* @summary: Dispatch manifest
|
|
524
|
+
* @description: Updates the status of the manifest to processed and change the status of the shipments in the manifest to dispatch status - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/dispatchManifests/).
|
|
620
525
|
*/
|
|
621
526
|
async dispatchManifests(
|
|
622
527
|
{ manifestId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -696,8 +601,8 @@ class Order {
|
|
|
696
601
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
697
602
|
* @returns {Promise<OrderPlatformModel.FileResponse>} - Success response
|
|
698
603
|
* @name downloadBulkActionTemplate
|
|
699
|
-
* @summary: Download bulk
|
|
700
|
-
* @description: Download bulk
|
|
604
|
+
* @summary: Download bulk template
|
|
605
|
+
* @description: Download bulk seller templates which can be used to perform operations in bulk - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/downloadBulkActionTemplate/).
|
|
701
606
|
*/
|
|
702
607
|
async downloadBulkActionTemplate(
|
|
703
608
|
{ templateSlug, requestHeaders } = { requestHeaders: {} },
|
|
@@ -779,8 +684,8 @@ class Order {
|
|
|
779
684
|
* @returns {Promise<OrderPlatformModel.BulkReportsDownloadResponse>} -
|
|
780
685
|
* Success response
|
|
781
686
|
* @name downloadLanesReport
|
|
782
|
-
* @summary: Download
|
|
783
|
-
* @description: Downloads
|
|
687
|
+
* @summary: Download Lane report
|
|
688
|
+
* @description: Downloads shipments/orders present in the provided lane - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/downloadLanesReport/).
|
|
784
689
|
*/
|
|
785
690
|
async downloadLanesReport(
|
|
786
691
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -858,8 +763,8 @@ class Order {
|
|
|
858
763
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
859
764
|
* @returns {Promise<OrderPlatformModel.EInvoiceRetryResponse>} - Success response
|
|
860
765
|
* @name eInvoiceRetry
|
|
861
|
-
* @summary: E-invoice
|
|
862
|
-
* @description:
|
|
766
|
+
* @summary: Retry E-invoice
|
|
767
|
+
* @description: Reattempt the generation of an E-invoice - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/eInvoiceRetry/).
|
|
863
768
|
*/
|
|
864
769
|
async eInvoiceRetry(
|
|
865
770
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -935,8 +840,8 @@ class Order {
|
|
|
935
840
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
936
841
|
* @returns {Promise<OrderPlatformModel.FailedOrderLogDetails>} - Success response
|
|
937
842
|
* @name failedOrderLogDetails
|
|
938
|
-
* @summary: Get failed order
|
|
939
|
-
* @description:
|
|
843
|
+
* @summary: Get failed order log
|
|
844
|
+
* @description: Get the exact error trace from the log Id provided in the failed order list API response - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/failedOrderLogDetails/).
|
|
940
845
|
*/
|
|
941
846
|
async failedOrderLogDetails(
|
|
942
847
|
{ logId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1016,8 +921,8 @@ class Order {
|
|
|
1016
921
|
* - Success response
|
|
1017
922
|
*
|
|
1018
923
|
* @name fetchCreditBalanceDetail
|
|
1019
|
-
* @summary:
|
|
1020
|
-
* @description: Retrieve details about credit balance
|
|
924
|
+
* @summary: Get credit balance detail
|
|
925
|
+
* @description: Retrieve details about credit balance on the basis of customer mobile number - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/fetchCreditBalanceDetail/).
|
|
1021
926
|
*/
|
|
1022
927
|
async fetchCreditBalanceDetail(
|
|
1023
928
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1098,8 +1003,8 @@ class Order {
|
|
|
1098
1003
|
* @returns {Promise<OrderPlatformModel.RefundModeConfigResponsePayload>} -
|
|
1099
1004
|
* Success response
|
|
1100
1005
|
* @name fetchRefundModeConfig
|
|
1101
|
-
* @summary:
|
|
1102
|
-
* @description:
|
|
1006
|
+
* @summary: List refund modes
|
|
1007
|
+
* @description: Get list of refund modes to trigger refunds - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/fetchRefundModeConfig/).
|
|
1103
1008
|
*/
|
|
1104
1009
|
async fetchRefundModeConfig(
|
|
1105
1010
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1177,8 +1082,8 @@ class Order {
|
|
|
1177
1082
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1178
1083
|
* @returns {Promise<OrderPlatformModel.GenerateInvoiceIDResponse>} - Success response
|
|
1179
1084
|
* @name generateInvoiceID
|
|
1180
|
-
* @summary:
|
|
1181
|
-
* @description:
|
|
1085
|
+
* @summary: Generate and attach invoice Id
|
|
1086
|
+
* @description: Generate and attach Invoice Ids against shipments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/generateInvoiceID/).
|
|
1182
1087
|
*/
|
|
1183
1088
|
async generateInvoiceID(
|
|
1184
1089
|
{ invoiceType, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1259,8 +1164,8 @@ class Order {
|
|
|
1259
1164
|
* @returns {Promise<OrderPlatformModel.GeneratePosOrderReceiptResponse>} -
|
|
1260
1165
|
* Success response
|
|
1261
1166
|
* @name generatePOSReceiptByOrderId
|
|
1262
|
-
* @summary: Generate POS receipt by order
|
|
1263
|
-
* @description: Create a point-of-sale (POS) receipt for a specific order by order
|
|
1167
|
+
* @summary: Generate POS receipt by order Id
|
|
1168
|
+
* @description: Create a point-of-sale (POS) receipt for a specific order by order Id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/generatePOSReceiptByOrderId/).
|
|
1264
1169
|
*/
|
|
1265
1170
|
async generatePOSReceiptByOrderId(
|
|
1266
1171
|
{ orderId, shipmentId, documentType, requestHeaders } = {
|
|
@@ -1350,7 +1255,7 @@ class Order {
|
|
|
1350
1255
|
* Success response
|
|
1351
1256
|
* @name getAllowedStateTransition
|
|
1352
1257
|
* @summary: Get allowed state transition
|
|
1353
|
-
* @description: Retrieve next possible states based on logged in user
|
|
1258
|
+
* @description: Retrieve next possible states based on logged in user's role - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getAllowedStateTransition/).
|
|
1354
1259
|
*/
|
|
1355
1260
|
async getAllowedStateTransition(
|
|
1356
1261
|
{ orderingChannel, status, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1434,8 +1339,8 @@ class Order {
|
|
|
1434
1339
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1435
1340
|
* @returns {Promise<OrderPlatformModel.AllowedTemplatesResponse>} - Success response
|
|
1436
1341
|
* @name getAllowedTemplatesForBulk
|
|
1437
|
-
* @summary:
|
|
1438
|
-
* @description: Gets
|
|
1342
|
+
* @summary: List bulk operation templates
|
|
1343
|
+
* @description: Gets all the allowed templates to perform bulk operations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getAllowedTemplatesForBulk/).
|
|
1439
1344
|
*/
|
|
1440
1345
|
async getAllowedTemplatesForBulk(
|
|
1441
1346
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1511,8 +1416,8 @@ class Order {
|
|
|
1511
1416
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1512
1417
|
* @returns {Promise<OrderPlatformModel.AnnouncementsResponse>} - Success response
|
|
1513
1418
|
* @name getAnnouncements
|
|
1514
|
-
* @summary:
|
|
1515
|
-
* @description: Retrieve announcements related to orders or
|
|
1419
|
+
* @summary: List announcements
|
|
1420
|
+
* @description: Retrieve announcements related to orders fulfilment configured by platform or company admin - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getAnnouncements/).
|
|
1516
1421
|
*/
|
|
1517
1422
|
async getAnnouncements(
|
|
1518
1423
|
{ date, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1592,8 +1497,8 @@ class Order {
|
|
|
1592
1497
|
* @returns {Promise<OrderPlatformModel.BagDetailsPlatformResponse>} -
|
|
1593
1498
|
* Success response
|
|
1594
1499
|
* @name getBagById
|
|
1595
|
-
* @summary: Get bag
|
|
1596
|
-
* @description: Retrieve detailed information about a specific bag
|
|
1500
|
+
* @summary: Get bag
|
|
1501
|
+
* @description: Retrieve detailed information about a specific bag - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getBagById/).
|
|
1597
1502
|
*/
|
|
1598
1503
|
async getBagById(
|
|
1599
1504
|
{ bagId, channelBagId, channelId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1676,8 +1581,8 @@ class Order {
|
|
|
1676
1581
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1677
1582
|
* @returns {Promise<OrderPlatformModel.GetBagsPlatformResponse>} - Success response
|
|
1678
1583
|
* @name getBags
|
|
1679
|
-
* @summary:
|
|
1680
|
-
* @description:
|
|
1584
|
+
* @summary: List bags
|
|
1585
|
+
* @description: Get paginated list of bags based on provided filters - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getBags/).
|
|
1681
1586
|
*/
|
|
1682
1587
|
async getBags(
|
|
1683
1588
|
{
|
|
@@ -1790,8 +1695,8 @@ class Order {
|
|
|
1790
1695
|
* @returns {Promise<OrderPlatformModel.BulkActionTemplateResponse>} -
|
|
1791
1696
|
* Success response
|
|
1792
1697
|
* @name getBulkActionTemplate
|
|
1793
|
-
* @summary:
|
|
1794
|
-
* @description:
|
|
1698
|
+
* @summary: List supported templates
|
|
1699
|
+
* @description: Get list of templates so that users can download the required template - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getBulkActionTemplate/).
|
|
1795
1700
|
*/
|
|
1796
1701
|
async getBulkActionTemplate(
|
|
1797
1702
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1865,8 +1770,8 @@ class Order {
|
|
|
1865
1770
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1866
1771
|
* @returns {Promise<OrderPlatformModel.FileResponse>} - Success response
|
|
1867
1772
|
* @name getBulkShipmentExcelFile
|
|
1868
|
-
* @summary:
|
|
1869
|
-
* @description:
|
|
1773
|
+
* @summary: Generate the report
|
|
1774
|
+
* @description: Generates the report which can be filled and uploaded to perform the bulk operation based on the filters provided - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getBulkShipmentExcelFile/).
|
|
1870
1775
|
*/
|
|
1871
1776
|
async getBulkShipmentExcelFile(
|
|
1872
1777
|
{
|
|
@@ -1995,7 +1900,7 @@ class Order {
|
|
|
1995
1900
|
* @returns {Promise<OrderPlatformModel.CreateChannelConfigData>} - Success response
|
|
1996
1901
|
* @name getChannelConfig
|
|
1997
1902
|
* @summary: Get channel configuration
|
|
1998
|
-
* @description: Retrieve configuration settings for a channel
|
|
1903
|
+
* @description: Retrieve configuration settings specific to orders for a channel - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getChannelConfig/).
|
|
1999
1904
|
*/
|
|
2000
1905
|
async getChannelConfig(
|
|
2001
1906
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -2069,8 +1974,8 @@ class Order {
|
|
|
2069
1974
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2070
1975
|
* @returns {Promise<OrderPlatformModel.JobFailedResponse>} - Success response
|
|
2071
1976
|
* @name getFileByStatus
|
|
2072
|
-
* @summary:
|
|
2073
|
-
* @description: Get the file URL
|
|
1977
|
+
* @summary: Download file used for Bulk operation
|
|
1978
|
+
* @description: Get the file download URL used for performing bulk operation - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getFileByStatus/).
|
|
2074
1979
|
*/
|
|
2075
1980
|
async getFileByStatus(
|
|
2076
1981
|
{ batchId, status, fileType, reportType, requestHeaders } = {
|
|
@@ -2160,7 +2065,7 @@ class Order {
|
|
|
2160
2065
|
* @returns {Promise<OrderPlatformModel.LaneConfigResponse>} - Success response
|
|
2161
2066
|
* @name getLaneConfig
|
|
2162
2067
|
* @summary: Get lane configuration
|
|
2163
|
-
* @description:
|
|
2068
|
+
* @description: Get configuration settings for lanes - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getLaneConfig/).
|
|
2164
2069
|
*/
|
|
2165
2070
|
async getLaneConfig(
|
|
2166
2071
|
{
|
|
@@ -2312,8 +2217,8 @@ class Order {
|
|
|
2312
2217
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2313
2218
|
* @returns {Promise<OrderPlatformModel.ManifestDetails>} - Success response
|
|
2314
2219
|
* @name getManifestDetails
|
|
2315
|
-
* @summary:
|
|
2316
|
-
* @description:
|
|
2220
|
+
* @summary: Get a manifest
|
|
2221
|
+
* @description: Get details regarding a manifest which can be used to perform further actions on it - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getManifestDetails/).
|
|
2317
2222
|
*/
|
|
2318
2223
|
async getManifestDetails(
|
|
2319
2224
|
{ manifestId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2391,8 +2296,8 @@ class Order {
|
|
|
2391
2296
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2392
2297
|
* @returns {Promise<OrderPlatformModel.ManifestShipmentListing>} - Success response
|
|
2393
2298
|
* @name getManifestShipments
|
|
2394
|
-
* @summary:
|
|
2395
|
-
* @description:
|
|
2299
|
+
* @summary: List manifest shipments
|
|
2300
|
+
* @description: Get list of shipments tagged to that manifest, the user can also search the shipments on the basis of shipment Id, order Id and AWB number - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getManifestShipments/).
|
|
2396
2301
|
*/
|
|
2397
2302
|
async getManifestShipments(
|
|
2398
2303
|
{
|
|
@@ -2510,8 +2415,8 @@ class Order {
|
|
|
2510
2415
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2511
2416
|
* @returns {Promise<OrderPlatformModel.ManifestFiltersResponse>} - Success response
|
|
2512
2417
|
* @name getManifestfilters
|
|
2513
|
-
* @summary:
|
|
2514
|
-
* @description:
|
|
2418
|
+
* @summary: List filters
|
|
2419
|
+
* @description: Get supported filter for listing manifests - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getManifestfilters/).
|
|
2515
2420
|
*/
|
|
2516
2421
|
async getManifestfilters(
|
|
2517
2422
|
{ view, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2590,8 +2495,8 @@ class Order {
|
|
|
2590
2495
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2591
2496
|
* @returns {Promise<OrderPlatformModel.ManifestList>} - Success response
|
|
2592
2497
|
* @name getManifests
|
|
2593
|
-
* @summary:
|
|
2594
|
-
* @description:
|
|
2498
|
+
* @summary: List manifests
|
|
2499
|
+
* @description: Get a list of manifest as per the filter provided - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getManifests/).
|
|
2595
2500
|
*/
|
|
2596
2501
|
async getManifests(
|
|
2597
2502
|
{
|
|
@@ -2703,8 +2608,8 @@ class Order {
|
|
|
2703
2608
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2704
2609
|
* @returns {Promise<OrderPlatformModel.OrderDetailsResponse>} - Success response
|
|
2705
2610
|
* @name getOrderById
|
|
2706
|
-
* @summary: Get order
|
|
2707
|
-
* @description:
|
|
2611
|
+
* @summary: Get order
|
|
2612
|
+
* @description: Get detailed information about a specific order - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getOrderById/).
|
|
2708
2613
|
*/
|
|
2709
2614
|
async getOrderById(
|
|
2710
2615
|
{ orderId, myOrders, allowInactive, requestHeaders } = {
|
|
@@ -2789,8 +2694,8 @@ class Order {
|
|
|
2789
2694
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2790
2695
|
* @returns {Promise<OrderPlatformModel.OrderListingResponse>} - Success response
|
|
2791
2696
|
* @name getOrders
|
|
2792
|
-
* @summary:
|
|
2793
|
-
* @description:
|
|
2697
|
+
* @summary: List orders
|
|
2698
|
+
* @description: Get a list of orders based on the filters provided - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getOrders/).
|
|
2794
2699
|
*/
|
|
2795
2700
|
async getOrders(
|
|
2796
2701
|
{
|
|
@@ -2959,7 +2864,7 @@ class Order {
|
|
|
2959
2864
|
* @returns {Promise<OrderPlatformModel.GetActionsResponse>} - Success response
|
|
2960
2865
|
* @name getRoleBasedActions
|
|
2961
2866
|
* @summary: Get role-based actions
|
|
2962
|
-
* @description: Retrieve
|
|
2867
|
+
* @description: Retrieve permissible actions based on user roles such as company_admin, company_operation, customer_care, and read_only. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getRoleBasedActions/).
|
|
2963
2868
|
*/
|
|
2964
2869
|
async getRoleBasedActions(
|
|
2965
2870
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -3033,8 +2938,8 @@ class Order {
|
|
|
3033
2938
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3034
2939
|
* @returns {Promise<OrderPlatformModel.ShipmentInfoResponse>} - Success response
|
|
3035
2940
|
* @name getShipmentById
|
|
3036
|
-
* @summary: Get shipment
|
|
3037
|
-
* @description:
|
|
2941
|
+
* @summary: Get shipment
|
|
2942
|
+
* @description: Get detailed information about a specific shipment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getShipmentById/).
|
|
3038
2943
|
*/
|
|
3039
2944
|
async getShipmentById(
|
|
3040
2945
|
{
|
|
@@ -3128,8 +3033,8 @@ class Order {
|
|
|
3128
3033
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3129
3034
|
* @returns {Promise<OrderPlatformModel.ShipmentHistoryResponse>} - Success response
|
|
3130
3035
|
* @name getShipmentHistory
|
|
3131
|
-
* @summary: Get shipment history
|
|
3132
|
-
* @description:
|
|
3036
|
+
* @summary: Get a shipment's history
|
|
3037
|
+
* @description: Get the history of the shipment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getShipmentHistory/).
|
|
3133
3038
|
*/
|
|
3134
3039
|
async getShipmentHistory(
|
|
3135
3040
|
{ shipmentId, bagId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3212,8 +3117,8 @@ class Order {
|
|
|
3212
3117
|
* @returns {Promise<OrderPlatformModel.PlatformShipmentReasonsResponse>} -
|
|
3213
3118
|
* Success response
|
|
3214
3119
|
* @name getShipmentReasons
|
|
3215
|
-
* @summary:
|
|
3216
|
-
* @description:
|
|
3120
|
+
* @summary: List bag cancellation reasons
|
|
3121
|
+
* @description: Get reasons to perform full or partial cancellation of a bag - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getShipmentReasons/).
|
|
3217
3122
|
*/
|
|
3218
3123
|
async getShipmentReasons(
|
|
3219
3124
|
{ shipmentId, bagId, state, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3297,8 +3202,8 @@ class Order {
|
|
|
3297
3202
|
* - Success response
|
|
3298
3203
|
*
|
|
3299
3204
|
* @name getShipments
|
|
3300
|
-
* @summary:
|
|
3301
|
-
* @description:
|
|
3205
|
+
* @summary: List shipments
|
|
3206
|
+
* @description: Get a list of shipments based on the filters provided - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getShipments/).
|
|
3302
3207
|
*/
|
|
3303
3208
|
async getShipments(
|
|
3304
3209
|
{
|
|
@@ -3499,7 +3404,7 @@ class Order {
|
|
|
3499
3404
|
* @returns {Promise<OrderPlatformModel.BagStateTransitionMap>} - Success response
|
|
3500
3405
|
* @name getStateTransitionMap
|
|
3501
3406
|
* @summary: Get state transition map
|
|
3502
|
-
* @description: Retrieve a map of state transitions for orders
|
|
3407
|
+
* @description: Retrieve a map of state transitions for orders - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getStateTransitionMap/).
|
|
3503
3408
|
*/
|
|
3504
3409
|
async getStateTransitionMap(
|
|
3505
3410
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -3573,8 +3478,8 @@ class Order {
|
|
|
3573
3478
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3574
3479
|
* @returns {Promise<OrderPlatformModel.TemplateDownloadResponse>} - Success response
|
|
3575
3480
|
* @name getTemplate
|
|
3576
|
-
* @summary:
|
|
3577
|
-
* @description: Get the
|
|
3481
|
+
* @summary: Download bulk operation templates
|
|
3482
|
+
* @description: Get the excel or CSV file URL for the template. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getTemplate/).
|
|
3578
3483
|
*/
|
|
3579
3484
|
async getTemplate(
|
|
3580
3485
|
{ templateName, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3650,8 +3555,8 @@ class Order {
|
|
|
3650
3555
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3651
3556
|
* @returns {Promise<OrderPlatformModel.FiltersResponse>} - Success response
|
|
3652
3557
|
* @name getfilters
|
|
3653
|
-
* @summary:
|
|
3654
|
-
* @description:
|
|
3558
|
+
* @summary: List filters
|
|
3559
|
+
* @description: Get supported filters for various listing operations - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getfilters/).
|
|
3655
3560
|
*/
|
|
3656
3561
|
async getfilters(
|
|
3657
3562
|
{ view, groupEntity, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3733,7 +3638,7 @@ class Order {
|
|
|
3733
3638
|
* Success response
|
|
3734
3639
|
* @name invalidateShipmentCache
|
|
3735
3640
|
* @summary: Invalidate shipment cache
|
|
3736
|
-
* @description:
|
|
3641
|
+
* @description: Clear the existing shipment cache data stored in Redis and serialize the updated data for subsequent use. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/invalidateShipmentCache/).
|
|
3737
3642
|
*/
|
|
3738
3643
|
async invalidateShipmentCache(
|
|
3739
3644
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3811,8 +3716,8 @@ class Order {
|
|
|
3811
3716
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3812
3717
|
* @returns {Promise<OrderPlatformModel.JobDetailsResponse>} - Success response
|
|
3813
3718
|
* @name jobDetails
|
|
3814
|
-
* @summary:
|
|
3815
|
-
* @description: Fetches details
|
|
3719
|
+
* @summary: Get bulk operation details
|
|
3720
|
+
* @description: Fetches details of the job for the provided batch Id - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/jobDetails/).
|
|
3816
3721
|
*/
|
|
3817
3722
|
async jobDetails(
|
|
3818
3723
|
{ batchId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3888,8 +3793,8 @@ class Order {
|
|
|
3888
3793
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3889
3794
|
* @returns {Promise<OrderPlatformModel.ResponseDetail>} - Success response
|
|
3890
3795
|
* @name orderUpdate
|
|
3891
|
-
* @summary:
|
|
3892
|
-
* @description:
|
|
3796
|
+
* @summary: Update an order
|
|
3797
|
+
* @description: Used to update an order's meta information. These meta information can be accessed via order or shipment details API. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/orderUpdate/).
|
|
3893
3798
|
*/
|
|
3894
3799
|
async orderUpdate(
|
|
3895
3800
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3965,8 +3870,8 @@ class Order {
|
|
|
3965
3870
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3966
3871
|
* @returns {Promise<OrderPlatformModel.ShipmentHistoryResponse>} - Success response
|
|
3967
3872
|
* @name postShipmentHistory
|
|
3968
|
-
* @summary:
|
|
3969
|
-
* @description:
|
|
3873
|
+
* @summary: Create shipment history
|
|
3874
|
+
* @description: Used to add logs in history for a bag for the provided Shipment ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/postShipmentHistory/).
|
|
3970
3875
|
*/
|
|
3971
3876
|
async postShipmentHistory(
|
|
3972
3877
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4045,8 +3950,8 @@ class Order {
|
|
|
4045
3950
|
* @returns {Promise<OrderPlatformModel.ProcessManifestItemResponse>} -
|
|
4046
3951
|
* Success response
|
|
4047
3952
|
* @name processManifests
|
|
4048
|
-
* @summary:
|
|
4049
|
-
* @description:
|
|
3953
|
+
* @summary: Generate manifest
|
|
3954
|
+
* @description: Generate manifest Id and PDF and tags the shipments with that manifest Id - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/processManifests/).
|
|
4050
3955
|
*/
|
|
4051
3956
|
async processManifests(
|
|
4052
3957
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4125,7 +4030,7 @@ class Order {
|
|
|
4125
4030
|
* @returns {Promise<OrderPlatformModel.StoreReassignResponse>} - Success response
|
|
4126
4031
|
* @name reassignLocation
|
|
4127
4032
|
* @summary: Reassign location
|
|
4128
|
-
* @description:
|
|
4033
|
+
* @description: Reassign the shipment to a another location and update its status to 'Store Reassigned.' - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/reassignLocation/).
|
|
4129
4034
|
*/
|
|
4130
4035
|
async reassignLocation(
|
|
4131
4036
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4203,8 +4108,8 @@ class Order {
|
|
|
4203
4108
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4204
4109
|
* @returns {Promise<OrderPlatformModel.OrderStatusResult>} - Success response
|
|
4205
4110
|
* @name sendSmsNinja
|
|
4206
|
-
* @summary: Send SMS
|
|
4207
|
-
* @description: Send SMS
|
|
4111
|
+
* @summary: Send SMS
|
|
4112
|
+
* @description: Send SMS to customer based on the template that is selected - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/sendSmsNinja/).
|
|
4208
4113
|
*/
|
|
4209
4114
|
async sendSmsNinja(
|
|
4210
4115
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4281,7 +4186,7 @@ class Order {
|
|
|
4281
4186
|
* @returns {Promise<OrderPlatformModel.SendUserMobileOtpResponse>} - Success response
|
|
4282
4187
|
* @name sendUserMobileOTP
|
|
4283
4188
|
* @summary: Send user mobile OTP
|
|
4284
|
-
* @description: Send a one-time OTP to a
|
|
4189
|
+
* @description: Send a one-time OTP to a customer mobile number - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/sendUserMobileOTP/).
|
|
4285
4190
|
*/
|
|
4286
4191
|
async sendUserMobileOTP(
|
|
4287
4192
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4361,7 +4266,7 @@ class Order {
|
|
|
4361
4266
|
* Success response
|
|
4362
4267
|
* @name trackShipment
|
|
4363
4268
|
* @summary: Track shipment
|
|
4364
|
-
* @description: Retrieve courier partner tracking details for a given shipment
|
|
4269
|
+
* @description: Retrieve courier partner tracking details for a given shipment Id or AWB number - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/trackShipment/).
|
|
4365
4270
|
*/
|
|
4366
4271
|
async trackShipment(
|
|
4367
4272
|
{ shipmentId, awb, pageNo, pageSize, requestHeaders } = {
|
|
@@ -4449,8 +4354,8 @@ class Order {
|
|
|
4449
4354
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4450
4355
|
* @returns {Promise<OrderPlatformModel.BaseResponse>} - Success response
|
|
4451
4356
|
* @name updateAddress
|
|
4452
|
-
* @summary: Update address
|
|
4453
|
-
* @description: Modify the
|
|
4357
|
+
* @summary: Update shipment address
|
|
4358
|
+
* @description: Modify the address details of an existing shipment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updateAddress/).
|
|
4454
4359
|
*/
|
|
4455
4360
|
async updateAddress(
|
|
4456
4361
|
{
|
|
@@ -4579,7 +4484,7 @@ class Order {
|
|
|
4579
4484
|
*
|
|
4580
4485
|
* @name updatePackagingDimensions
|
|
4581
4486
|
* @summary: Update packaging dimensions
|
|
4582
|
-
* @description:
|
|
4487
|
+
* @description: Used to modify the packaging dimension of a shipment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updatePackagingDimensions/).
|
|
4583
4488
|
*/
|
|
4584
4489
|
async updatePackagingDimensions(
|
|
4585
4490
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4660,7 +4565,7 @@ class Order {
|
|
|
4660
4565
|
* @returns {Promise<OrderPlatformModel.UpdateShipmentLockResponse>} -
|
|
4661
4566
|
* Success response
|
|
4662
4567
|
* @name updateShipmentLock
|
|
4663
|
-
* @summary: Update shipment lock
|
|
4568
|
+
* @summary: Update a shipment lock
|
|
4664
4569
|
* @description: Modify shipment/bag lock and check status. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updateShipmentLock/).
|
|
4665
4570
|
*/
|
|
4666
4571
|
async updateShipmentLock(
|
|
@@ -4741,8 +4646,8 @@ class Order {
|
|
|
4741
4646
|
* - Success response
|
|
4742
4647
|
*
|
|
4743
4648
|
* @name updateShipmentStatus
|
|
4744
|
-
* @summary: Update shipment status
|
|
4745
|
-
* @description:
|
|
4649
|
+
* @summary: Update a shipment's status
|
|
4650
|
+
* @description: Used for updating a shipment and its status. Can also be used for updating bags present in that shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updateShipmentStatus/).
|
|
4746
4651
|
*/
|
|
4747
4652
|
async updateShipmentStatus(
|
|
4748
4653
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4822,7 +4727,7 @@ class Order {
|
|
|
4822
4727
|
* Success response
|
|
4823
4728
|
* @name updateShipmentTracking
|
|
4824
4729
|
* @summary: Update shipment tracking
|
|
4825
|
-
* @description: Modify courier partner tracking details for a given shipment
|
|
4730
|
+
* @description: Modify courier partner tracking details for a given shipment Id or AWB number - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updateShipmentTracking/).
|
|
4826
4731
|
*/
|
|
4827
4732
|
async updateShipmentTracking(
|
|
4828
4733
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4900,8 +4805,8 @@ class Order {
|
|
|
4900
4805
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4901
4806
|
* @returns {Promise<OrderPlatformModel.SuccessResponse>} - Success response
|
|
4902
4807
|
* @name uploadConsents
|
|
4903
|
-
* @summary:
|
|
4904
|
-
* @description:
|
|
4808
|
+
* @summary: Upload consent
|
|
4809
|
+
* @description: Uploads the consent signed by courier partner and seller to keep records - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/uploadConsents/).
|
|
4905
4810
|
*/
|
|
4906
4811
|
async uploadConsents(
|
|
4907
4812
|
{ manifestId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4982,7 +4887,7 @@ class Order {
|
|
|
4982
4887
|
* @returns {Promise<OrderPlatformModel.VerifyOtpResponse>} - Success response
|
|
4983
4888
|
* @name verifyMobileOTP
|
|
4984
4889
|
* @summary: Verify mobile OTP
|
|
4985
|
-
* @description:
|
|
4890
|
+
* @description: Perform OTP verification to link a user to an anonymous order - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/verifyMobileOTP/).
|
|
4986
4891
|
*/
|
|
4987
4892
|
async verifyMobileOTP(
|
|
4988
4893
|
{ body, requestHeaders } = { requestHeaders: {} },
|