@gofynd/fdk-client-javascript 1.4.2-beta.4 → 1.4.2-beta.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 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +62 -62
- package/sdk/application/Cart/CartApplicationClient.js +82 -71
- package/sdk/application/Cart/CartApplicationValidator.d.ts +189 -34
- package/sdk/application/Cart/CartApplicationValidator.js +59 -34
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +78 -78
- package/sdk/application/Catalog/CatalogApplicationClient.js +78 -78
- 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 -67
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -106
- package/sdk/application/Content/ContentApplicationClient.d.ts +34 -64
- package/sdk/application/Content/ContentApplicationClient.js +34 -115
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -42
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -42
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -14
- package/sdk/application/Lead/LeadApplicationClient.js +14 -14
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +12 -12
- package/sdk/application/Logistic/LogisticApplicationClient.js +12 -12
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -24
- package/sdk/application/Order/OrderApplicationClient.js +24 -24
- package/sdk/application/Order/OrderApplicationModel.d.ts +23 -1
- package/sdk/application/Order/OrderApplicationModel.js +28 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +89 -89
- package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +498 -3
- package/sdk/application/Payment/PaymentApplicationModel.js +316 -2
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +54 -54
- package/sdk/application/PosCart/PosCartApplicationClient.js +54 -54
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -25
- package/sdk/application/Rewards/RewardsApplicationClient.js +14 -41
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -14
- package/sdk/application/Share/ShareApplicationClient.js +14 -14
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
- package/sdk/application/User/UserApplicationClient.d.ts +64 -64
- package/sdk/application/User/UserApplicationClient.js +64 -64
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +38 -38
- package/sdk/partner/Theme/ThemePartnerClient.js +38 -38
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +8 -8
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +34 -36
- package/sdk/platform/Billing/BillingPlatformClient.js +34 -36
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +98 -175
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +98 -254
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +92 -18
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +28 -18
- package/sdk/platform/Cart/CartPlatformModel.d.ts +12 -0
- package/sdk/platform/Cart/CartPlatformModel.js +12 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +195 -108
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +278 -113
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +335 -136
- package/sdk/platform/Catalog/CatalogPlatformClient.js +551 -136
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +5 -5
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3 -3
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -3
- package/sdk/platform/Common/CommonPlatformClient.js +3 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +115 -290
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +115 -510
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -13
- package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -29
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +32 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -127
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +52 -204
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +35 -111
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +35 -212
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +142 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +96 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +130 -218
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +136 -314
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
- package/sdk/platform/Content/ContentPlatformClient.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformClient.js +7 -7
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +22 -48
- package/sdk/platform/Discount/DiscountPlatformClient.js +22 -73
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +19 -55
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +19 -55
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +14 -50
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +16 -55
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -12
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +12 -14
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +44 -44
- package/sdk/platform/Finance/FinancePlatformClient.js +44 -44
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -48
- package/sdk/platform/Lead/LeadPlatformClient.js +22 -72
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +4 -4
- package/sdk/platform/Order/OrderPlatformClient.d.ts +79 -208
- package/sdk/platform/Order/OrderPlatformClient.js +79 -294
- package/sdk/platform/Order/OrderPlatformModel.d.ts +32 -3
- package/sdk/platform/Order/OrderPlatformModel.js +34 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +81 -81
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +81 -81
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +23 -40
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +23 -61
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +5 -5
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.js +10 -10
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +56 -56
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +56 -56
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
- package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +33 -33
- package/sdk/platform/User/UserPlatformApplicationClient.js +33 -33
- package/sdk/platform/User/UserPlatformModel.d.ts +2 -2
- package/sdk/platform/User/UserPlatformModel.js +2 -2
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +32 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +32 -45
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +58 -1
- package/sdk/platform/Webhook/WebhookPlatformModel.js +66 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicClient.js +4 -4
|
@@ -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:
|
|
24
|
-
* @description: Attach
|
|
23
|
+
* @summary: Attach order user.
|
|
24
|
+
* @description: Attach order User - 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: {} },
|
|
@@ -285,8 +285,8 @@ class Order {
|
|
|
285
285
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
286
286
|
* @returns {Promise<OrderPlatformModel.OrderStatusResult>} - Success response
|
|
287
287
|
* @name checkOrderStatus
|
|
288
|
-
* @summary:
|
|
289
|
-
* @description:
|
|
288
|
+
* @summary: Check order status.
|
|
289
|
+
* @description: Verify the current status of an order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/checkOrderStatus/).
|
|
290
290
|
*/
|
|
291
291
|
async checkOrderStatus(
|
|
292
292
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -364,8 +364,8 @@ class Order {
|
|
|
364
364
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
365
365
|
* @returns {Promise<OrderPlatformModel.Click2CallResponse>} - Success response
|
|
366
366
|
* @name click2Call
|
|
367
|
-
* @summary:
|
|
368
|
-
* @description: Click to
|
|
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
369
|
*/
|
|
370
370
|
async click2Call(
|
|
371
371
|
{ caller, receiver, bagId, callerId, method, requestHeaders } = {
|
|
@@ -459,8 +459,8 @@ class Order {
|
|
|
459
459
|
* @returns {Promise<OrderPlatformModel.CreateChannelConfigResponse>} -
|
|
460
460
|
* Success response
|
|
461
461
|
* @name createChannelConfig
|
|
462
|
-
* @summary:
|
|
463
|
-
* @description:
|
|
462
|
+
* @summary: Create channel configuration.
|
|
463
|
+
* @description: Set up configuration for a channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/createChannelConfig/).
|
|
464
464
|
*/
|
|
465
465
|
async createChannelConfig(
|
|
466
466
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -538,8 +538,8 @@ class Order {
|
|
|
538
538
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
539
539
|
* @returns {Promise<OrderPlatformModel.CreateOrderResponse>} - Success response
|
|
540
540
|
* @name createOrder
|
|
541
|
-
* @summary:
|
|
542
|
-
* @description: Create
|
|
541
|
+
* @summary: Create order.
|
|
542
|
+
* @description: Create order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/createOrder/).
|
|
543
543
|
*/
|
|
544
544
|
async createOrder(
|
|
545
545
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -696,7 +696,7 @@ class Order {
|
|
|
696
696
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
697
697
|
* @returns {Promise<OrderPlatformModel.FileResponse>} - Success response
|
|
698
698
|
* @name downloadBulkActionTemplate
|
|
699
|
-
* @summary:
|
|
699
|
+
* @summary: Download bulk action template.
|
|
700
700
|
* @description: Download bulk actions seller templates. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/downloadBulkActionTemplate/).
|
|
701
701
|
*/
|
|
702
702
|
async downloadBulkActionTemplate(
|
|
@@ -779,8 +779,8 @@ class Order {
|
|
|
779
779
|
* @returns {Promise<OrderPlatformModel.BulkReportsDownloadResponse>} -
|
|
780
780
|
* Success response
|
|
781
781
|
* @name downloadLanesReport
|
|
782
|
-
* @summary:
|
|
783
|
-
* @description:
|
|
782
|
+
* @summary: Download lanes report.
|
|
783
|
+
* @description: Downloads lanes shipment/orders. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/downloadLanesReport/).
|
|
784
784
|
*/
|
|
785
785
|
async downloadLanesReport(
|
|
786
786
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -858,7 +858,7 @@ class Order {
|
|
|
858
858
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
859
859
|
* @returns {Promise<OrderPlatformModel.EInvoiceRetryResponse>} - Success response
|
|
860
860
|
* @name eInvoiceRetry
|
|
861
|
-
* @summary:
|
|
861
|
+
* @summary: E-invoice retry.
|
|
862
862
|
* @description: Retry e-invoice after failure - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/eInvoiceRetry/).
|
|
863
863
|
*/
|
|
864
864
|
async eInvoiceRetry(
|
|
@@ -1016,8 +1016,8 @@ class Order {
|
|
|
1016
1016
|
* - Success response
|
|
1017
1017
|
*
|
|
1018
1018
|
* @name fetchCreditBalanceDetail
|
|
1019
|
-
* @summary:
|
|
1020
|
-
* @description:
|
|
1019
|
+
* @summary: Fetch credit balance detail.
|
|
1020
|
+
* @description: Retrieve details about credit balance. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/fetchCreditBalanceDetail/).
|
|
1021
1021
|
*/
|
|
1022
1022
|
async fetchCreditBalanceDetail(
|
|
1023
1023
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1098,8 +1098,8 @@ class Order {
|
|
|
1098
1098
|
* @returns {Promise<OrderPlatformModel.RefundModeConfigResponsePayload>} -
|
|
1099
1099
|
* Success response
|
|
1100
1100
|
* @name fetchRefundModeConfig
|
|
1101
|
-
* @summary:
|
|
1102
|
-
* @description:
|
|
1101
|
+
* @summary: Fetch refund mode config.
|
|
1102
|
+
* @description: Retrieve configuration for refund modes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/fetchRefundModeConfig/).
|
|
1103
1103
|
*/
|
|
1104
1104
|
async fetchRefundModeConfig(
|
|
1105
1105
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1259,8 +1259,8 @@ class Order {
|
|
|
1259
1259
|
* @returns {Promise<OrderPlatformModel.GeneratePosOrderReceiptResponse>} -
|
|
1260
1260
|
* Success response
|
|
1261
1261
|
* @name generatePOSReceiptByOrderId
|
|
1262
|
-
* @summary:
|
|
1263
|
-
* @description:
|
|
1262
|
+
* @summary: Generate POS receipt by order ID.
|
|
1263
|
+
* @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
1264
|
*/
|
|
1265
1265
|
async generatePOSReceiptByOrderId(
|
|
1266
1266
|
{ orderId, shipmentId, documentType, requestHeaders } = {
|
|
@@ -1349,9 +1349,8 @@ class Order {
|
|
|
1349
1349
|
* @returns {Promise<OrderPlatformModel.RoleBaseStateTransitionMapping>} -
|
|
1350
1350
|
* Success response
|
|
1351
1351
|
* @name getAllowedStateTransition
|
|
1352
|
-
* @summary:
|
|
1353
|
-
* @description:
|
|
1354
|
-
* - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getAllowedStateTransition/).
|
|
1352
|
+
* @summary: Get allowed state transition.
|
|
1353
|
+
* @description: Retrieve next possible states based on logged in user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getAllowedStateTransition/).
|
|
1355
1354
|
*/
|
|
1356
1355
|
async getAllowedStateTransition(
|
|
1357
1356
|
{ orderingChannel, status, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1512,8 +1511,8 @@ class Order {
|
|
|
1512
1511
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1513
1512
|
* @returns {Promise<OrderPlatformModel.AnnouncementsResponse>} - Success response
|
|
1514
1513
|
* @name getAnnouncements
|
|
1515
|
-
* @summary:
|
|
1516
|
-
* @description:
|
|
1514
|
+
* @summary: Get announcements.
|
|
1515
|
+
* @description: Retrieve announcements related to orders or shipments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getAnnouncements/).
|
|
1517
1516
|
*/
|
|
1518
1517
|
async getAnnouncements(
|
|
1519
1518
|
{ date, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1593,8 +1592,8 @@ class Order {
|
|
|
1593
1592
|
* @returns {Promise<OrderPlatformModel.BagDetailsPlatformResponse>} -
|
|
1594
1593
|
* Success response
|
|
1595
1594
|
* @name getBagById
|
|
1596
|
-
* @summary:
|
|
1597
|
-
* @description:
|
|
1595
|
+
* @summary: Get bag by ID.
|
|
1596
|
+
* @description: Retrieve detailed information about a specific bag. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getBagById/).
|
|
1598
1597
|
*/
|
|
1599
1598
|
async getBagById(
|
|
1600
1599
|
{ bagId, channelBagId, channelId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1677,8 +1676,8 @@ class Order {
|
|
|
1677
1676
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1678
1677
|
* @returns {Promise<OrderPlatformModel.GetBagsPlatformResponse>} - Success response
|
|
1679
1678
|
* @name getBags
|
|
1680
|
-
* @summary:
|
|
1681
|
-
* @description:
|
|
1679
|
+
* @summary: Get bags.
|
|
1680
|
+
* @description: Retrieve Bags for the order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getBags/).
|
|
1682
1681
|
*/
|
|
1683
1682
|
async getBags(
|
|
1684
1683
|
{
|
|
@@ -1791,8 +1790,8 @@ class Order {
|
|
|
1791
1790
|
* @returns {Promise<OrderPlatformModel.BulkActionTemplateResponse>} -
|
|
1792
1791
|
* Success response
|
|
1793
1792
|
* @name getBulkActionTemplate
|
|
1794
|
-
* @summary:
|
|
1795
|
-
* @description:
|
|
1793
|
+
* @summary: Get bulk action template.
|
|
1794
|
+
* @description: Retrieve bulk action seller templates. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getBulkActionTemplate/).
|
|
1796
1795
|
*/
|
|
1797
1796
|
async getBulkActionTemplate(
|
|
1798
1797
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1866,8 +1865,8 @@ class Order {
|
|
|
1866
1865
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1867
1866
|
* @returns {Promise<OrderPlatformModel.FileResponse>} - Success response
|
|
1868
1867
|
* @name getBulkShipmentExcelFile
|
|
1869
|
-
* @summary:
|
|
1870
|
-
* @description:
|
|
1868
|
+
* @summary: Get bulk shipment Excel file.
|
|
1869
|
+
* @description: Retrieve a bulk shipment Excel report. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getBulkShipmentExcelFile/).
|
|
1871
1870
|
*/
|
|
1872
1871
|
async getBulkShipmentExcelFile(
|
|
1873
1872
|
{
|
|
@@ -1995,8 +1994,8 @@ class Order {
|
|
|
1995
1994
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1996
1995
|
* @returns {Promise<OrderPlatformModel.CreateChannelConfigData>} - Success response
|
|
1997
1996
|
* @name getChannelConfig
|
|
1998
|
-
* @summary:
|
|
1999
|
-
* @description:
|
|
1997
|
+
* @summary: Get channel configuration.
|
|
1998
|
+
* @description: Retrieve configuration settings for a channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getChannelConfig/).
|
|
2000
1999
|
*/
|
|
2001
2000
|
async getChannelConfig(
|
|
2002
2001
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -2160,8 +2159,8 @@ class Order {
|
|
|
2160
2159
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2161
2160
|
* @returns {Promise<OrderPlatformModel.LaneConfigResponse>} - Success response
|
|
2162
2161
|
* @name getLaneConfig
|
|
2163
|
-
* @summary:
|
|
2164
|
-
* @description:
|
|
2162
|
+
* @summary: Get lane configuration.
|
|
2163
|
+
* @description: Retrieve configuration settings for lanes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getLaneConfig/).
|
|
2165
2164
|
*/
|
|
2166
2165
|
async getLaneConfig(
|
|
2167
2166
|
{
|
|
@@ -2704,8 +2703,8 @@ class Order {
|
|
|
2704
2703
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2705
2704
|
* @returns {Promise<OrderPlatformModel.OrderDetailsResponse>} - Success response
|
|
2706
2705
|
* @name getOrderById
|
|
2707
|
-
* @summary:
|
|
2708
|
-
* @description:
|
|
2706
|
+
* @summary: Get order by ID.
|
|
2707
|
+
* @description: Retrieve detailed information about a specific order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getOrderById/).
|
|
2709
2708
|
*/
|
|
2710
2709
|
async getOrderById(
|
|
2711
2710
|
{ orderId, myOrders, allowInactive, requestHeaders } = {
|
|
@@ -2790,8 +2789,8 @@ class Order {
|
|
|
2790
2789
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2791
2790
|
* @returns {Promise<OrderPlatformModel.OrderListingResponse>} - Success response
|
|
2792
2791
|
* @name getOrders
|
|
2793
|
-
* @summary:
|
|
2794
|
-
* @description:
|
|
2792
|
+
* @summary: Get orders.
|
|
2793
|
+
* @description: Retrieve a list of available orders. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getOrders/).
|
|
2795
2794
|
*/
|
|
2796
2795
|
async getOrders(
|
|
2797
2796
|
{
|
|
@@ -2949,110 +2948,14 @@ class Order {
|
|
|
2949
2948
|
return response;
|
|
2950
2949
|
}
|
|
2951
2950
|
|
|
2952
|
-
/**
|
|
2953
|
-
* @param {Object} arg - Arg object.
|
|
2954
|
-
* @param {string} [arg.lane] - Lane refers to a section where orders are
|
|
2955
|
-
* assigned, indicating its grouping
|
|
2956
|
-
* @param {string} [arg.searchType] - Search_type refers to the field that
|
|
2957
|
-
* will be used as the target for the search operation
|
|
2958
|
-
* @param {string} [arg.bagStatus] - Bag_status refers to status of the
|
|
2959
|
-
* entity. Filters orders based on the status.
|
|
2960
|
-
* @param {number} [arg.timeToDispatch] - Time_to_dispatch refers to
|
|
2961
|
-
* estimated SLA time.
|
|
2962
|
-
* @param {string} [arg.paymentMethods] -
|
|
2963
|
-
* @param {string} [arg.tags] - Tags refers to additional descriptive labels
|
|
2964
|
-
* associated with the order
|
|
2965
|
-
* @param {string} [arg.searchValue] - Search_value is matched against the
|
|
2966
|
-
* field specified by the search_type
|
|
2967
|
-
* @param {string} [arg.fromDate] -
|
|
2968
|
-
* @param {string} [arg.toDate] -
|
|
2969
|
-
* @param {string} [arg.startDate] -
|
|
2970
|
-
* @param {string} [arg.endDate] -
|
|
2971
|
-
* @param {string} [arg.dpIds] - Delivery Partner IDs to which shipments are assigned.
|
|
2972
|
-
* @param {string} [arg.stores] -
|
|
2973
|
-
* @param {string} [arg.salesChannels] -
|
|
2974
|
-
* @param {number} [arg.pageSize] -
|
|
2975
|
-
* @param {boolean} [arg.isPrioritySort] -
|
|
2976
|
-
* @param {string} [arg.customMeta] -
|
|
2977
|
-
* @param {boolean} [arg.myOrders] -
|
|
2978
|
-
* @param {boolean} [arg.showCrossCompanyData] - Flag to view cross &
|
|
2979
|
-
* non-cross company order
|
|
2980
|
-
* @param {string} [arg.customerId] -
|
|
2981
|
-
* @param {string} [arg.orderType] -
|
|
2982
|
-
* @returns {Paginator<OrderPlatformModel.OrderListingResponse>}
|
|
2983
|
-
* @summary:
|
|
2984
|
-
* @description: Get Orders Listing
|
|
2985
|
-
*/
|
|
2986
|
-
getOrdersPaginator({
|
|
2987
|
-
lane,
|
|
2988
|
-
searchType,
|
|
2989
|
-
bagStatus,
|
|
2990
|
-
timeToDispatch,
|
|
2991
|
-
paymentMethods,
|
|
2992
|
-
tags,
|
|
2993
|
-
searchValue,
|
|
2994
|
-
fromDate,
|
|
2995
|
-
toDate,
|
|
2996
|
-
startDate,
|
|
2997
|
-
endDate,
|
|
2998
|
-
dpIds,
|
|
2999
|
-
stores,
|
|
3000
|
-
salesChannels,
|
|
3001
|
-
pageSize,
|
|
3002
|
-
isPrioritySort,
|
|
3003
|
-
customMeta,
|
|
3004
|
-
myOrders,
|
|
3005
|
-
showCrossCompanyData,
|
|
3006
|
-
customerId,
|
|
3007
|
-
orderType,
|
|
3008
|
-
} = {}) {
|
|
3009
|
-
const paginator = new Paginator();
|
|
3010
|
-
const callback = async () => {
|
|
3011
|
-
const pageId = paginator.nextId;
|
|
3012
|
-
const pageNo = paginator.pageNo;
|
|
3013
|
-
const pageType = "number";
|
|
3014
|
-
const data = await this.getOrders({
|
|
3015
|
-
lane: lane,
|
|
3016
|
-
searchType: searchType,
|
|
3017
|
-
bagStatus: bagStatus,
|
|
3018
|
-
timeToDispatch: timeToDispatch,
|
|
3019
|
-
paymentMethods: paymentMethods,
|
|
3020
|
-
tags: tags,
|
|
3021
|
-
searchValue: searchValue,
|
|
3022
|
-
fromDate: fromDate,
|
|
3023
|
-
toDate: toDate,
|
|
3024
|
-
startDate: startDate,
|
|
3025
|
-
endDate: endDate,
|
|
3026
|
-
dpIds: dpIds,
|
|
3027
|
-
stores: stores,
|
|
3028
|
-
salesChannels: salesChannels,
|
|
3029
|
-
pageNo: pageNo,
|
|
3030
|
-
pageSize: pageSize,
|
|
3031
|
-
isPrioritySort: isPrioritySort,
|
|
3032
|
-
customMeta: customMeta,
|
|
3033
|
-
myOrders: myOrders,
|
|
3034
|
-
showCrossCompanyData: showCrossCompanyData,
|
|
3035
|
-
customerId: customerId,
|
|
3036
|
-
orderType: orderType,
|
|
3037
|
-
});
|
|
3038
|
-
paginator.setPaginator({
|
|
3039
|
-
hasNext: data.page.has_next ? true : false,
|
|
3040
|
-
nextId: data.page.next_id,
|
|
3041
|
-
});
|
|
3042
|
-
return data;
|
|
3043
|
-
};
|
|
3044
|
-
paginator.setCallback(callback.bind(this));
|
|
3045
|
-
return paginator;
|
|
3046
|
-
}
|
|
3047
|
-
|
|
3048
2951
|
/**
|
|
3049
2952
|
* @param {OrderPlatformValidator.GetRoleBasedActionsParam} arg - Arg object
|
|
3050
2953
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3051
2954
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3052
2955
|
* @returns {Promise<OrderPlatformModel.GetActionsResponse>} - Success response
|
|
3053
2956
|
* @name getRoleBasedActions
|
|
3054
|
-
* @summary:
|
|
3055
|
-
* @description:
|
|
2957
|
+
* @summary: Get role-based actions.
|
|
2958
|
+
* @description: Retrieve role based actions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getRoleBasedActions/).
|
|
3056
2959
|
*/
|
|
3057
2960
|
async getRoleBasedActions(
|
|
3058
2961
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -3126,8 +3029,8 @@ class Order {
|
|
|
3126
3029
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3127
3030
|
* @returns {Promise<OrderPlatformModel.ShipmentInfoResponse>} - Success response
|
|
3128
3031
|
* @name getShipmentById
|
|
3129
|
-
* @summary:
|
|
3130
|
-
* @description:
|
|
3032
|
+
* @summary: Get shipment by ID.
|
|
3033
|
+
* @description: Retrieve detailed information about a specific shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getShipmentById/).
|
|
3131
3034
|
*/
|
|
3132
3035
|
async getShipmentById(
|
|
3133
3036
|
{ channelShipmentId, shipmentId, fetchActiveShipment, requestHeaders } = {
|
|
@@ -3214,8 +3117,8 @@ class Order {
|
|
|
3214
3117
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3215
3118
|
* @returns {Promise<OrderPlatformModel.ShipmentHistoryResponse>} - Success response
|
|
3216
3119
|
* @name getShipmentHistory
|
|
3217
|
-
* @summary:
|
|
3218
|
-
* @description:
|
|
3120
|
+
* @summary: Get shipment history.
|
|
3121
|
+
* @description: Retrieve the shipment history. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getShipmentHistory/).
|
|
3219
3122
|
*/
|
|
3220
3123
|
async getShipmentHistory(
|
|
3221
3124
|
{ shipmentId, bagId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3298,8 +3201,8 @@ class Order {
|
|
|
3298
3201
|
* @returns {Promise<OrderPlatformModel.PlatformShipmentReasonsResponse>} -
|
|
3299
3202
|
* Success response
|
|
3300
3203
|
* @name getShipmentReasons
|
|
3301
|
-
* @summary: Get reasons
|
|
3302
|
-
* @description:
|
|
3204
|
+
* @summary: Get shipment reasons.
|
|
3205
|
+
* @description: Retrieve the issues that led to the cancellation of bags within a shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getShipmentReasons/).
|
|
3303
3206
|
*/
|
|
3304
3207
|
async getShipmentReasons(
|
|
3305
3208
|
{ shipmentId, bagId, state, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3383,8 +3286,8 @@ class Order {
|
|
|
3383
3286
|
* - Success response
|
|
3384
3287
|
*
|
|
3385
3288
|
* @name getShipments
|
|
3386
|
-
* @summary:
|
|
3387
|
-
* @description:
|
|
3289
|
+
* @summary: Get shipments.
|
|
3290
|
+
* @description: Retrieve a list of available shipments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getShipments/).
|
|
3388
3291
|
*/
|
|
3389
3292
|
async getShipments(
|
|
3390
3293
|
{
|
|
@@ -3578,132 +3481,14 @@ class Order {
|
|
|
3578
3481
|
return response;
|
|
3579
3482
|
}
|
|
3580
3483
|
|
|
3581
|
-
/**
|
|
3582
|
-
* @param {Object} arg - Arg object.
|
|
3583
|
-
* @param {string} [arg.lane] - Name of lane for which data is to be fetched
|
|
3584
|
-
* @param {string} [arg.bagStatus] - Comma separated values of bag statuses
|
|
3585
|
-
* @param {boolean} [arg.statusOverrideLane] - Use this flag to fetch by
|
|
3586
|
-
* bag_status and override lane
|
|
3587
|
-
* @param {number} [arg.timeToDispatch] -
|
|
3588
|
-
* @param {string} [arg.searchType] - Search type key
|
|
3589
|
-
* @param {string} [arg.searchValue] - Search type value
|
|
3590
|
-
* @param {string} [arg.fromDate] - Start Date in DD-MM-YYYY format
|
|
3591
|
-
* @param {string} [arg.toDate] - End Date in DD-MM-YYYY format
|
|
3592
|
-
* @param {string} [arg.startDate] - UTC Start Date in ISO format
|
|
3593
|
-
* @param {string} [arg.endDate] - UTC End Date in ISO format
|
|
3594
|
-
* @param {string} [arg.dpIds] - Comma separated values of delivery partner ids
|
|
3595
|
-
* @param {string} [arg.stores] - Comma separated values of store ids
|
|
3596
|
-
* @param {string} [arg.salesChannels] - Comma separated values of sales channel ids
|
|
3597
|
-
* @param {number} [arg.pageSize] - Page size of data received per page
|
|
3598
|
-
* @param {boolean} [arg.fetchActiveShipment] - Flag to fetch active shipments
|
|
3599
|
-
* @param {boolean} [arg.allowInactive] - Flag to allow inactive shipments
|
|
3600
|
-
* @param {boolean} [arg.excludeLockedShipments] - Flag to fetch locked shipments
|
|
3601
|
-
* @param {string} [arg.paymentMethods] - Comma separated values of payment methods
|
|
3602
|
-
* @param {string} [arg.channelShipmentId] - App Shipment Id
|
|
3603
|
-
* @param {string} [arg.channelOrderId] - App Order Id
|
|
3604
|
-
* @param {string} [arg.customMeta] -
|
|
3605
|
-
* @param {string} [arg.orderingChannel] -
|
|
3606
|
-
* @param {string} [arg.companyAffiliateTag] -
|
|
3607
|
-
* @param {boolean} [arg.myOrders] -
|
|
3608
|
-
* @param {string} [arg.platformUserId] -
|
|
3609
|
-
* @param {string} [arg.sortType] - Sort the result data on basis of input
|
|
3610
|
-
* @param {boolean} [arg.showCrossCompanyData] - Flag to view cross &
|
|
3611
|
-
* non-cross company order
|
|
3612
|
-
* @param {string} [arg.tags] - Comma separated values of tags
|
|
3613
|
-
* @param {string} [arg.customerId] -
|
|
3614
|
-
* @param {string} [arg.orderType] -
|
|
3615
|
-
* @returns {Paginator<OrderPlatformModel.ShipmentInternalPlatformViewResponse>}
|
|
3616
|
-
* @summary:
|
|
3617
|
-
* @description: Get Shipments Listing for the company id
|
|
3618
|
-
*/
|
|
3619
|
-
getShipmentsPaginator({
|
|
3620
|
-
lane,
|
|
3621
|
-
bagStatus,
|
|
3622
|
-
statusOverrideLane,
|
|
3623
|
-
timeToDispatch,
|
|
3624
|
-
searchType,
|
|
3625
|
-
searchValue,
|
|
3626
|
-
fromDate,
|
|
3627
|
-
toDate,
|
|
3628
|
-
startDate,
|
|
3629
|
-
endDate,
|
|
3630
|
-
dpIds,
|
|
3631
|
-
stores,
|
|
3632
|
-
salesChannels,
|
|
3633
|
-
pageSize,
|
|
3634
|
-
fetchActiveShipment,
|
|
3635
|
-
allowInactive,
|
|
3636
|
-
excludeLockedShipments,
|
|
3637
|
-
paymentMethods,
|
|
3638
|
-
channelShipmentId,
|
|
3639
|
-
channelOrderId,
|
|
3640
|
-
customMeta,
|
|
3641
|
-
orderingChannel,
|
|
3642
|
-
companyAffiliateTag,
|
|
3643
|
-
myOrders,
|
|
3644
|
-
platformUserId,
|
|
3645
|
-
sortType,
|
|
3646
|
-
showCrossCompanyData,
|
|
3647
|
-
tags,
|
|
3648
|
-
customerId,
|
|
3649
|
-
orderType,
|
|
3650
|
-
} = {}) {
|
|
3651
|
-
const paginator = new Paginator();
|
|
3652
|
-
const callback = async () => {
|
|
3653
|
-
const pageId = paginator.nextId;
|
|
3654
|
-
const pageNo = paginator.pageNo;
|
|
3655
|
-
const pageType = "number";
|
|
3656
|
-
const data = await this.getShipments({
|
|
3657
|
-
lane: lane,
|
|
3658
|
-
bagStatus: bagStatus,
|
|
3659
|
-
statusOverrideLane: statusOverrideLane,
|
|
3660
|
-
timeToDispatch: timeToDispatch,
|
|
3661
|
-
searchType: searchType,
|
|
3662
|
-
searchValue: searchValue,
|
|
3663
|
-
fromDate: fromDate,
|
|
3664
|
-
toDate: toDate,
|
|
3665
|
-
startDate: startDate,
|
|
3666
|
-
endDate: endDate,
|
|
3667
|
-
dpIds: dpIds,
|
|
3668
|
-
stores: stores,
|
|
3669
|
-
salesChannels: salesChannels,
|
|
3670
|
-
pageNo: pageNo,
|
|
3671
|
-
pageSize: pageSize,
|
|
3672
|
-
fetchActiveShipment: fetchActiveShipment,
|
|
3673
|
-
allowInactive: allowInactive,
|
|
3674
|
-
excludeLockedShipments: excludeLockedShipments,
|
|
3675
|
-
paymentMethods: paymentMethods,
|
|
3676
|
-
channelShipmentId: channelShipmentId,
|
|
3677
|
-
channelOrderId: channelOrderId,
|
|
3678
|
-
customMeta: customMeta,
|
|
3679
|
-
orderingChannel: orderingChannel,
|
|
3680
|
-
companyAffiliateTag: companyAffiliateTag,
|
|
3681
|
-
myOrders: myOrders,
|
|
3682
|
-
platformUserId: platformUserId,
|
|
3683
|
-
sortType: sortType,
|
|
3684
|
-
showCrossCompanyData: showCrossCompanyData,
|
|
3685
|
-
tags: tags,
|
|
3686
|
-
customerId: customerId,
|
|
3687
|
-
orderType: orderType,
|
|
3688
|
-
});
|
|
3689
|
-
paginator.setPaginator({
|
|
3690
|
-
hasNext: data.page.has_next ? true : false,
|
|
3691
|
-
nextId: data.page.next_id,
|
|
3692
|
-
});
|
|
3693
|
-
return data;
|
|
3694
|
-
};
|
|
3695
|
-
paginator.setCallback(callback.bind(this));
|
|
3696
|
-
return paginator;
|
|
3697
|
-
}
|
|
3698
|
-
|
|
3699
3484
|
/**
|
|
3700
3485
|
* @param {OrderPlatformValidator.GetStateTransitionMapParam} arg - Arg object
|
|
3701
3486
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3702
3487
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3703
3488
|
* @returns {Promise<OrderPlatformModel.BagStateTransitionMap>} - Success response
|
|
3704
3489
|
* @name getStateTransitionMap
|
|
3705
|
-
* @summary:
|
|
3706
|
-
* @description:
|
|
3490
|
+
* @summary: Get state transition map.
|
|
3491
|
+
* @description: Retrieve a map of state transitions for orders. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getStateTransitionMap/).
|
|
3707
3492
|
*/
|
|
3708
3493
|
async getStateTransitionMap(
|
|
3709
3494
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -3854,8 +3639,8 @@ class Order {
|
|
|
3854
3639
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3855
3640
|
* @returns {Promise<OrderPlatformModel.FiltersResponse>} - Success response
|
|
3856
3641
|
* @name getfilters
|
|
3857
|
-
* @summary:
|
|
3858
|
-
* @description:
|
|
3642
|
+
* @summary: Get filters.
|
|
3643
|
+
* @description: Retrieve listing filters. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getfilters/).
|
|
3859
3644
|
*/
|
|
3860
3645
|
async getfilters(
|
|
3861
3646
|
{ view, groupEntity, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3936,8 +3721,8 @@ class Order {
|
|
|
3936
3721
|
* @returns {Promise<OrderPlatformModel.InvalidateShipmentCacheResponse>} -
|
|
3937
3722
|
* Success response
|
|
3938
3723
|
* @name invalidateShipmentCache
|
|
3939
|
-
* @summary:
|
|
3940
|
-
* @description: Invalidate shipment Cache - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/invalidateShipmentCache/).
|
|
3724
|
+
* @summary: Invalidate shipment cache.
|
|
3725
|
+
* @description: Invalidate shipment Cache. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/invalidateShipmentCache/).
|
|
3941
3726
|
*/
|
|
3942
3727
|
async invalidateShipmentCache(
|
|
3943
3728
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4092,8 +3877,8 @@ class Order {
|
|
|
4092
3877
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4093
3878
|
* @returns {Promise<OrderPlatformModel.ResponseDetail>} - Success response
|
|
4094
3879
|
* @name orderUpdate
|
|
4095
|
-
* @summary:
|
|
4096
|
-
* @description:
|
|
3880
|
+
* @summary: Order update.
|
|
3881
|
+
* @description: Modify the details and status of an order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/orderUpdate/).
|
|
4097
3882
|
*/
|
|
4098
3883
|
async orderUpdate(
|
|
4099
3884
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4169,8 +3954,8 @@ class Order {
|
|
|
4169
3954
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4170
3955
|
* @returns {Promise<OrderPlatformModel.ShipmentHistoryResponse>} - Success response
|
|
4171
3956
|
* @name postShipmentHistory
|
|
4172
|
-
* @summary:
|
|
4173
|
-
* @description:
|
|
3957
|
+
* @summary: Post shipment history.
|
|
3958
|
+
* @description: Add history records for a shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/postShipmentHistory/).
|
|
4174
3959
|
*/
|
|
4175
3960
|
async postShipmentHistory(
|
|
4176
3961
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4328,8 +4113,8 @@ class Order {
|
|
|
4328
4113
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4329
4114
|
* @returns {Promise<OrderPlatformModel.StoreReassignResponse>} - Success response
|
|
4330
4115
|
* @name reassignLocation
|
|
4331
|
-
* @summary:
|
|
4332
|
-
* @description:
|
|
4116
|
+
* @summary: Reassign location.
|
|
4117
|
+
* @description: Change the assigned location for an order or shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/reassignLocation/).
|
|
4333
4118
|
*/
|
|
4334
4119
|
async reassignLocation(
|
|
4335
4120
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4407,8 +4192,8 @@ class Order {
|
|
|
4407
4192
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4408
4193
|
* @returns {Promise<OrderPlatformModel.OrderStatusResult>} - Success response
|
|
4409
4194
|
* @name sendSmsNinja
|
|
4410
|
-
* @summary:
|
|
4411
|
-
* @description: Send SMS Ninja Panel - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/sendSmsNinja/).
|
|
4195
|
+
* @summary: Send SMS via Ninja.
|
|
4196
|
+
* @description: Send SMS Ninja Panel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/sendSmsNinja/).
|
|
4412
4197
|
*/
|
|
4413
4198
|
async sendSmsNinja(
|
|
4414
4199
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4484,8 +4269,8 @@ class Order {
|
|
|
4484
4269
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4485
4270
|
* @returns {Promise<OrderPlatformModel.SendUserMobileOtpResponse>} - Success response
|
|
4486
4271
|
* @name sendUserMobileOTP
|
|
4487
|
-
* @summary:
|
|
4488
|
-
* @description: Send
|
|
4272
|
+
* @summary: Send user mobile OTP.
|
|
4273
|
+
* @description: Send a one-time OTP to a users mobile device. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/sendUserMobileOTP/).
|
|
4489
4274
|
*/
|
|
4490
4275
|
async sendUserMobileOTP(
|
|
4491
4276
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4564,8 +4349,8 @@ class Order {
|
|
|
4564
4349
|
* @returns {Promise<OrderPlatformModel.CourierPartnerTrackingResponse>} -
|
|
4565
4350
|
* Success response
|
|
4566
4351
|
* @name trackShipment
|
|
4567
|
-
* @summary:
|
|
4568
|
-
* @description:
|
|
4352
|
+
* @summary: Track shipment.
|
|
4353
|
+
* @description: Retrieve courier partner tracking details for a given shipment id or awb no. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/trackShipment/).
|
|
4569
4354
|
*/
|
|
4570
4355
|
async trackShipment(
|
|
4571
4356
|
{ shipmentId, awb, pageNo, pageSize, requestHeaders } = {
|
|
@@ -4653,8 +4438,8 @@ class Order {
|
|
|
4653
4438
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4654
4439
|
* @returns {Promise<OrderPlatformModel.BaseResponse>} - Success response
|
|
4655
4440
|
* @name updateAddress
|
|
4656
|
-
* @summary:
|
|
4657
|
-
* @description:
|
|
4441
|
+
* @summary: Update address.
|
|
4442
|
+
* @description: Modify the shipping address for an order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updateAddress/).
|
|
4658
4443
|
*/
|
|
4659
4444
|
async updateAddress(
|
|
4660
4445
|
{
|
|
@@ -4782,8 +4567,8 @@ class Order {
|
|
|
4782
4567
|
* - Success response
|
|
4783
4568
|
*
|
|
4784
4569
|
* @name updatePackagingDimensions
|
|
4785
|
-
* @summary:
|
|
4786
|
-
* @description:
|
|
4570
|
+
* @summary: Update packaging dimensions.
|
|
4571
|
+
* @description: Modify the dimensions of packaging. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updatePackagingDimensions/).
|
|
4787
4572
|
*/
|
|
4788
4573
|
async updatePackagingDimensions(
|
|
4789
4574
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4864,8 +4649,8 @@ class Order {
|
|
|
4864
4649
|
* @returns {Promise<OrderPlatformModel.UpdateShipmentLockResponse>} -
|
|
4865
4650
|
* Success response
|
|
4866
4651
|
* @name updateShipmentLock
|
|
4867
|
-
* @summary:
|
|
4868
|
-
* @description:
|
|
4652
|
+
* @summary: Update shipment lock.
|
|
4653
|
+
* @description: Modify shipment/bag lock and check status. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updateShipmentLock/).
|
|
4869
4654
|
*/
|
|
4870
4655
|
async updateShipmentLock(
|
|
4871
4656
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4945,8 +4730,8 @@ class Order {
|
|
|
4945
4730
|
* - Success response
|
|
4946
4731
|
*
|
|
4947
4732
|
* @name updateShipmentStatus
|
|
4948
|
-
* @summary:
|
|
4949
|
-
* @description:
|
|
4733
|
+
* @summary: Update shipment status.
|
|
4734
|
+
* @description: Shipment state transition or Shipment data update or both. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updateShipmentStatus/).
|
|
4950
4735
|
*/
|
|
4951
4736
|
async updateShipmentStatus(
|
|
4952
4737
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5025,8 +4810,8 @@ class Order {
|
|
|
5025
4810
|
* @returns {Promise<OrderPlatformModel.CourierPartnerTrackingDetails>} -
|
|
5026
4811
|
* Success response
|
|
5027
4812
|
* @name updateShipmentTracking
|
|
5028
|
-
* @summary:
|
|
5029
|
-
* @description:
|
|
4813
|
+
* @summary: Update shipment tracking.
|
|
4814
|
+
* @description: Modify courier partner tracking details for a given shipment id or awb no. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updateShipmentTracking/).
|
|
5030
4815
|
*/
|
|
5031
4816
|
async updateShipmentTracking(
|
|
5032
4817
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5185,7 +4970,7 @@ class Order {
|
|
|
5185
4970
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5186
4971
|
* @returns {Promise<OrderPlatformModel.VerifyOtpResponse>} - Success response
|
|
5187
4972
|
* @name verifyMobileOTP
|
|
5188
|
-
* @summary:
|
|
4973
|
+
* @summary: Verify mobile OTP.
|
|
5189
4974
|
* @description: Verify Mobile OTP - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/verifyMobileOTP/).
|
|
5190
4975
|
*/
|
|
5191
4976
|
async verifyMobileOTP(
|