@gofynd/fdk-client-javascript 3.3.3 → 3.3.6
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 +30 -30
- package/sdk/application/Cart/CartApplicationClient.js +30 -30
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +30 -30
- package/sdk/application/Catalog/CatalogApplicationClient.js +30 -30
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +16 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationClient.d.ts +24 -24
- package/sdk/application/Content/ContentApplicationClient.js +24 -24
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +2 -2
- package/sdk/application/Finance/FinanceApplicationClient.js +2 -2
- package/sdk/application/Lead/LeadApplicationClient.d.ts +5 -5
- package/sdk/application/Lead/LeadApplicationClient.js +5 -5
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +9 -9
- package/sdk/application/Logistic/LogisticApplicationClient.js +9 -9
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -12
- package/sdk/application/Order/OrderApplicationClient.js +12 -12
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +7 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +4 -4
- package/sdk/application/User/UserApplicationClient.d.ts +47 -47
- package/sdk/application/User/UserApplicationClient.js +47 -47
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +6 -6
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +6 -6
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +7 -7
- package/sdk/partner/Lead/LeadPartnerClient.js +7 -7
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +25 -25
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +25 -25
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +57 -3
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +40 -1
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +24 -24
- package/sdk/partner/Theme/ThemePartnerClient.js +24 -24
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +10 -10
- package/sdk/partner/Webhook/WebhookPartnerClient.js +10 -10
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +2 -2
- package/sdk/partner/Webhook/WebhookPartnerModel.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +3 -3
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +2 -2
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +1 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +1 -1
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +5 -5
- package/sdk/platform/Billing/BillingPlatformClient.js +5 -5
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +62 -62
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +62 -62
- package/sdk/platform/Cart/CartPlatformModel.d.ts +62 -3
- package/sdk/platform/Cart/CartPlatformModel.js +33 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +66 -66
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +66 -66
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +89 -82
- package/sdk/platform/Catalog/CatalogPlatformClient.js +121 -85
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +61 -3
- package/sdk/platform/Catalog/CatalogPlatformModel.js +42 -1
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +46 -5
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +21 -4
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
- package/sdk/platform/Common/CommonPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +67 -67
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +67 -67
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +14 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +14 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +11 -11
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +11 -11
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +107 -107
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +107 -107
- package/sdk/platform/Content/ContentPlatformClient.d.ts +40 -40
- package/sdk/platform/Content/ContentPlatformClient.js +40 -40
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2 -2
- package/sdk/platform/Content/ContentPlatformModel.js +1 -1
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +11 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +11 -11
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.js +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +9 -9
- package/sdk/platform/Lead/LeadPlatformClient.js +9 -9
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.js +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -5
- package/sdk/platform/Order/OrderPlatformClient.d.ts +58 -58
- package/sdk/platform/Order/OrderPlatformClient.js +58 -58
- package/sdk/platform/Order/OrderPlatformModel.d.ts +9 -9
- package/sdk/platform/Order/OrderPlatformModel.js +6 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +51 -51
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +51 -51
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +10 -10
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +85 -3
- package/sdk/platform/Payment/PaymentPlatformModel.js +49 -1
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.js +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +38 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +28 -28
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +28 -28
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +59 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +42 -1
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformModel.js +1 -1
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +22 -22
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +22 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
- package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +34 -34
- package/sdk/platform/User/UserPlatformApplicationClient.js +34 -34
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +9 -9
- package/sdk/platform/Webhook/WebhookPlatformClient.js +9 -9
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
- package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +1 -1
- package/sdk/public/Catalog/CatalogPublicClient.js +1 -1
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
- package/sdk/public/Content/ContentPublicClient.d.ts +14 -14
- package/sdk/public/Content/ContentPublicClient.js +14 -14
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -5
- package/sdk/public/Webhook/WebhookPublicClient.js +5 -5
|
@@ -22,7 +22,7 @@ class Order {
|
|
|
22
22
|
* Success response
|
|
23
23
|
* @name addStateManagerConfig
|
|
24
24
|
* @summary: Allows esm config updation
|
|
25
|
-
* @description: Update ESM config - Check out [method documentation](https://
|
|
25
|
+
* @description: Update ESM config - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/addStateManagerConfig/).
|
|
26
26
|
*/
|
|
27
27
|
async addStateManagerConfig(
|
|
28
28
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -102,7 +102,7 @@ class Order {
|
|
|
102
102
|
* Success response
|
|
103
103
|
* @name attachOrderUser
|
|
104
104
|
* @summary: Attach order to a user
|
|
105
|
-
* @description: Attach an anonymous order to a customer based on OTP verification - Check out [method documentation](https://
|
|
105
|
+
* @description: Attach an anonymous order to a customer based on OTP verification - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/attachOrderUser/).
|
|
106
106
|
*/
|
|
107
107
|
async attachOrderUser(
|
|
108
108
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -181,7 +181,7 @@ class Order {
|
|
|
181
181
|
* @returns {Promise<OrderPlatformModel.BulkListingResponseSchema>} - Success response
|
|
182
182
|
* @name bulkListing
|
|
183
183
|
* @summary: Lists bulk operations
|
|
184
|
-
* @description: Get list of bulk operation that is initiated and completed as per the filters provided - Check out [method documentation](https://
|
|
184
|
+
* @description: Get list of bulk operation that is initiated and completed as per the filters provided - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/bulkListing/).
|
|
185
185
|
*/
|
|
186
186
|
async bulkListing(
|
|
187
187
|
{
|
|
@@ -288,7 +288,7 @@ class Order {
|
|
|
288
288
|
*
|
|
289
289
|
* @name bulkStateTransistion
|
|
290
290
|
* @summary: Upload bulk state transitions file
|
|
291
|
-
* @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://
|
|
291
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/order/bulkStateTransistion/).
|
|
292
292
|
*/
|
|
293
293
|
async bulkStateTransistion(
|
|
294
294
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -367,7 +367,7 @@ class Order {
|
|
|
367
367
|
* @returns {Promise<OrderPlatformModel.OrderStatusResult>} - Success response
|
|
368
368
|
* @name checkOrderStatus
|
|
369
369
|
* @summary: Debug order
|
|
370
|
-
* @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://
|
|
370
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/order/checkOrderStatus/).
|
|
371
371
|
*/
|
|
372
372
|
async checkOrderStatus(
|
|
373
373
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -448,7 +448,7 @@ class Order {
|
|
|
448
448
|
*
|
|
449
449
|
* @name createChannelConfig
|
|
450
450
|
* @summary: Create channel configuration
|
|
451
|
-
* @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://
|
|
451
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/order/createChannelConfig/).
|
|
452
452
|
*/
|
|
453
453
|
async createChannelConfig(
|
|
454
454
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -527,7 +527,7 @@ class Order {
|
|
|
527
527
|
* @returns {Promise<OrderPlatformModel.CreateOrderResponseSchema>} - Success response
|
|
528
528
|
* @name createOrder
|
|
529
529
|
* @summary: Create order
|
|
530
|
-
* @description: Creates an order - Check out [method documentation](https://
|
|
530
|
+
* @description: Creates an order - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/createOrder/).
|
|
531
531
|
*/
|
|
532
532
|
async createOrder(
|
|
533
533
|
{ body, xOrderingSource, requestHeaders } = { requestHeaders: {} },
|
|
@@ -607,7 +607,7 @@ class Order {
|
|
|
607
607
|
* @returns {Promise<OrderPlatformModel.SuccessResponseSchema>} - Success response
|
|
608
608
|
* @name dispatchManifests
|
|
609
609
|
* @summary: Dispatch manifest
|
|
610
|
-
* @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://
|
|
610
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/order/dispatchManifests/).
|
|
611
611
|
*/
|
|
612
612
|
async dispatchManifests(
|
|
613
613
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -686,7 +686,7 @@ class Order {
|
|
|
686
686
|
* @returns {Promise<OrderPlatformModel.FileResponseSchema>} - Success response
|
|
687
687
|
* @name downloadBulkActionTemplate
|
|
688
688
|
* @summary: Download bulk template
|
|
689
|
-
* @description: Download bulk seller templates which can be used to perform operations in bulk - Check out [method documentation](https://
|
|
689
|
+
* @description: Download bulk seller templates which can be used to perform operations in bulk - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/downloadBulkActionTemplate/).
|
|
690
690
|
*/
|
|
691
691
|
async downloadBulkActionTemplate(
|
|
692
692
|
{ templateSlug, requestHeaders } = { requestHeaders: {} },
|
|
@@ -770,7 +770,7 @@ class Order {
|
|
|
770
770
|
*
|
|
771
771
|
* @name downloadLanesReport
|
|
772
772
|
* @summary: Download Lane report
|
|
773
|
-
* @description: Downloads shipments/orders present in the provided lane - Check out [method documentation](https://
|
|
773
|
+
* @description: Downloads shipments/orders present in the provided lane - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/downloadLanesReport/).
|
|
774
774
|
*/
|
|
775
775
|
async downloadLanesReport(
|
|
776
776
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -850,7 +850,7 @@ class Order {
|
|
|
850
850
|
* Success response
|
|
851
851
|
* @name eInvoiceRetry
|
|
852
852
|
* @summary: Retry E-invoice
|
|
853
|
-
* @description: Reattempt the generation of an E-invoice - Check out [method documentation](https://
|
|
853
|
+
* @description: Reattempt the generation of an E-invoice - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/eInvoiceRetry/).
|
|
854
854
|
*/
|
|
855
855
|
async eInvoiceRetry(
|
|
856
856
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -927,7 +927,7 @@ class Order {
|
|
|
927
927
|
* @returns {Promise<OrderPlatformModel.FailedOrderLogDetails>} - Success response
|
|
928
928
|
* @name failedOrderLogDetails
|
|
929
929
|
* @summary: Get failed order log
|
|
930
|
-
* @description: Get the exact error trace from the log Id provided in the failed order list API response - Check out [method documentation](https://
|
|
930
|
+
* @description: Get the exact error trace from the log Id provided in the failed order list API response - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/failedOrderLogDetails/).
|
|
931
931
|
*/
|
|
932
932
|
async failedOrderLogDetails(
|
|
933
933
|
{ logId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1006,7 +1006,7 @@ class Order {
|
|
|
1006
1006
|
* @returns {Promise<OrderPlatformModel.FailedOrderLogs>} - Success response
|
|
1007
1007
|
* @name failedOrderLogs
|
|
1008
1008
|
* @summary: List failed order logs
|
|
1009
|
-
* @description: Get failed order logs listing for filters based on order Id, user contact number, user email Id and sales channel Id. - Check out [method documentation](https://
|
|
1009
|
+
* @description: Get failed order logs listing for filters based on order Id, user contact number, user email Id and sales channel Id. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/failedOrderLogs/).
|
|
1010
1010
|
*/
|
|
1011
1011
|
async failedOrderLogs(
|
|
1012
1012
|
{
|
|
@@ -1106,7 +1106,7 @@ class Order {
|
|
|
1106
1106
|
* Success response
|
|
1107
1107
|
* @name fetchRefundModeConfig
|
|
1108
1108
|
* @summary: List refund modes
|
|
1109
|
-
* @description: Get list of refund modes to trigger refunds - Check out [method documentation](https://
|
|
1109
|
+
* @description: Get list of refund modes to trigger refunds - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/fetchRefundModeConfig/).
|
|
1110
1110
|
*/
|
|
1111
1111
|
async fetchRefundModeConfig(
|
|
1112
1112
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1186,7 +1186,7 @@ class Order {
|
|
|
1186
1186
|
* Success response
|
|
1187
1187
|
* @name generateInvoiceID
|
|
1188
1188
|
* @summary: Generate and attach invoice Id
|
|
1189
|
-
* @description: Generate and attach Invoice Ids against shipments. - Check out [method documentation](https://
|
|
1189
|
+
* @description: Generate and attach Invoice Ids against shipments. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/generateInvoiceID/).
|
|
1190
1190
|
*/
|
|
1191
1191
|
async generateInvoiceID(
|
|
1192
1192
|
{ invoiceType, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1269,7 +1269,7 @@ class Order {
|
|
|
1269
1269
|
*
|
|
1270
1270
|
* @name generatePOSReceiptByOrderId
|
|
1271
1271
|
* @summary: Generate POS receipt by order Id
|
|
1272
|
-
* @description: Create a point-of-sale (POS) receipt for a specific order by order Id. - Check out [method documentation](https://
|
|
1272
|
+
* @description: Create a point-of-sale (POS) receipt for a specific order by order Id. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/generatePOSReceiptByOrderId/).
|
|
1273
1273
|
*/
|
|
1274
1274
|
async generatePOSReceiptByOrderId(
|
|
1275
1275
|
{ orderId, shipmentId, documentType, requestHeaders } = {
|
|
@@ -1358,7 +1358,7 @@ class Order {
|
|
|
1358
1358
|
* @returns {Promise<OrderPlatformModel.ManifestResponseSchema>} - Success response
|
|
1359
1359
|
* @name generateProcessManifest
|
|
1360
1360
|
* @summary: Process Order Manifest
|
|
1361
|
-
* @description: Endpoint to save and process order manifests. - Check out [method documentation](https://
|
|
1361
|
+
* @description: Endpoint to save and process order manifests. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/generateProcessManifest/).
|
|
1362
1362
|
*/
|
|
1363
1363
|
async generateProcessManifest(
|
|
1364
1364
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1438,7 +1438,7 @@ class Order {
|
|
|
1438
1438
|
* Success response
|
|
1439
1439
|
* @name getAllowedStateTransition
|
|
1440
1440
|
* @summary: Get allowed state transition
|
|
1441
|
-
* @description: Retrieve next possible states based on logged in user's role - Check out [method documentation](https://
|
|
1441
|
+
* @description: Retrieve next possible states based on logged in user's role - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getAllowedStateTransition/).
|
|
1442
1442
|
*/
|
|
1443
1443
|
async getAllowedStateTransition(
|
|
1444
1444
|
{ status, orderingChannel, orderingSource, requestHeaders } = {
|
|
@@ -1529,7 +1529,7 @@ class Order {
|
|
|
1529
1529
|
* Success response
|
|
1530
1530
|
* @name getAllowedTemplatesForBulk
|
|
1531
1531
|
* @summary: List bulk operation templates
|
|
1532
|
-
* @description: Gets all the allowed templates to perform bulk operations. - Check out [method documentation](https://
|
|
1532
|
+
* @description: Gets all the allowed templates to perform bulk operations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getAllowedTemplatesForBulk/).
|
|
1533
1533
|
*/
|
|
1534
1534
|
async getAllowedTemplatesForBulk(
|
|
1535
1535
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1607,7 +1607,7 @@ class Order {
|
|
|
1607
1607
|
* Success response
|
|
1608
1608
|
* @name getAnnouncements
|
|
1609
1609
|
* @summary: List announcements
|
|
1610
|
-
* @description: Retrieve announcements related to orders fulfilment configured by platform or company admin - Check out [method documentation](https://
|
|
1610
|
+
* @description: Retrieve announcements related to orders fulfilment configured by platform or company admin - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getAnnouncements/).
|
|
1611
1611
|
*/
|
|
1612
1612
|
async getAnnouncements(
|
|
1613
1613
|
{ date, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1689,7 +1689,7 @@ class Order {
|
|
|
1689
1689
|
*
|
|
1690
1690
|
* @name getBagById
|
|
1691
1691
|
* @summary: Get bag
|
|
1692
|
-
* @description: Retrieve detailed information about a specific bag - Check out [method documentation](https://
|
|
1692
|
+
* @description: Retrieve detailed information about a specific bag - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getBagById/).
|
|
1693
1693
|
*/
|
|
1694
1694
|
async getBagById(
|
|
1695
1695
|
{ bagId, channelBagId, channelId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1774,7 +1774,7 @@ class Order {
|
|
|
1774
1774
|
* Success response
|
|
1775
1775
|
* @name getBags
|
|
1776
1776
|
* @summary: List bags
|
|
1777
|
-
* @description: Get paginated list of bags based on provided filters - Check out [method documentation](https://
|
|
1777
|
+
* @description: Get paginated list of bags based on provided filters - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getBags/).
|
|
1778
1778
|
*/
|
|
1779
1779
|
async getBags(
|
|
1780
1780
|
{
|
|
@@ -1889,7 +1889,7 @@ class Order {
|
|
|
1889
1889
|
*
|
|
1890
1890
|
* @name getBulkActionTemplate
|
|
1891
1891
|
* @summary: List supported templates
|
|
1892
|
-
* @description: Get list of templates so that users can download the required template - Check out [method documentation](https://
|
|
1892
|
+
* @description: Get list of templates so that users can download the required template - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getBulkActionTemplate/).
|
|
1893
1893
|
*/
|
|
1894
1894
|
async getBulkActionTemplate(
|
|
1895
1895
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1964,7 +1964,7 @@ class Order {
|
|
|
1964
1964
|
* @returns {Promise<OrderPlatformModel.FileResponseSchema>} - Success response
|
|
1965
1965
|
* @name getBulkShipmentExcelFile
|
|
1966
1966
|
* @summary: Generate the report
|
|
1967
|
-
* @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://
|
|
1967
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/order/getBulkShipmentExcelFile/).
|
|
1968
1968
|
*/
|
|
1969
1969
|
async getBulkShipmentExcelFile(
|
|
1970
1970
|
{
|
|
@@ -2093,7 +2093,7 @@ class Order {
|
|
|
2093
2093
|
* @returns {Promise<OrderPlatformModel.CreateChannelConfigData>} - Success response
|
|
2094
2094
|
* @name getChannelConfig
|
|
2095
2095
|
* @summary: Get channel configuration
|
|
2096
|
-
* @description: Retrieve configuration settings specific to orders for a channel - Check out [method documentation](https://
|
|
2096
|
+
* @description: Retrieve configuration settings specific to orders for a channel - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getChannelConfig/).
|
|
2097
2097
|
*/
|
|
2098
2098
|
async getChannelConfig(
|
|
2099
2099
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -2168,7 +2168,7 @@ class Order {
|
|
|
2168
2168
|
* @returns {Promise<OrderPlatformModel.JobFailedResponseSchema>} - Success response
|
|
2169
2169
|
* @name getFileByStatus
|
|
2170
2170
|
* @summary: Download file used for Bulk operation
|
|
2171
|
-
* @description: Get the file download URL used for performing bulk operation - Check out [method documentation](https://
|
|
2171
|
+
* @description: Get the file download URL used for performing bulk operation - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getFileByStatus/).
|
|
2172
2172
|
*/
|
|
2173
2173
|
async getFileByStatus(
|
|
2174
2174
|
{ batchId, status, fileType, reportType, requestHeaders } = {
|
|
@@ -2258,7 +2258,7 @@ class Order {
|
|
|
2258
2258
|
* @returns {Promise<OrderPlatformModel.LaneConfigResponseSchema>} - Success response
|
|
2259
2259
|
* @name getLaneConfig
|
|
2260
2260
|
* @summary: Get lane configuration
|
|
2261
|
-
* @description: Get configuration settings for lanes - Check out [method documentation](https://
|
|
2261
|
+
* @description: Get configuration settings for lanes - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getLaneConfig/).
|
|
2262
2262
|
*/
|
|
2263
2263
|
async getLaneConfig(
|
|
2264
2264
|
{
|
|
@@ -2411,7 +2411,7 @@ class Order {
|
|
|
2411
2411
|
* @returns {Promise<OrderPlatformModel.ManifestDetails>} - Success response
|
|
2412
2412
|
* @name getManifestDetails
|
|
2413
2413
|
* @summary: Get a manifest
|
|
2414
|
-
* @description: Get details regarding a manifest which can be used to perform further actions on it - Check out [method documentation](https://
|
|
2414
|
+
* @description: Get details regarding a manifest which can be used to perform further actions on it - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getManifestDetails/).
|
|
2415
2415
|
*/
|
|
2416
2416
|
async getManifestDetails(
|
|
2417
2417
|
{
|
|
@@ -2514,7 +2514,7 @@ class Order {
|
|
|
2514
2514
|
* @returns {Promise<OrderPlatformModel.ManifestShipmentListing>} - Success response
|
|
2515
2515
|
* @name getManifestShipments
|
|
2516
2516
|
* @summary: List manifest shipments
|
|
2517
|
-
* @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://
|
|
2517
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/order/getManifestShipments/).
|
|
2518
2518
|
*/
|
|
2519
2519
|
async getManifestShipments(
|
|
2520
2520
|
{
|
|
@@ -2634,7 +2634,7 @@ class Order {
|
|
|
2634
2634
|
* Success response
|
|
2635
2635
|
* @name getManifestfilters
|
|
2636
2636
|
* @summary: List filters
|
|
2637
|
-
* @description: Get supported filter for listing manifests - Check out [method documentation](https://
|
|
2637
|
+
* @description: Get supported filter for listing manifests - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getManifestfilters/).
|
|
2638
2638
|
*/
|
|
2639
2639
|
async getManifestfilters(
|
|
2640
2640
|
{ view, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2714,7 +2714,7 @@ class Order {
|
|
|
2714
2714
|
* @returns {Promise<OrderPlatformModel.ManifestList>} - Success response
|
|
2715
2715
|
* @name getManifests
|
|
2716
2716
|
* @summary: List manifests
|
|
2717
|
-
* @description: Get a list of manifest as per the filter provided - Check out [method documentation](https://
|
|
2717
|
+
* @description: Get a list of manifest as per the filter provided - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getManifests/).
|
|
2718
2718
|
*/
|
|
2719
2719
|
async getManifests(
|
|
2720
2720
|
{
|
|
@@ -2828,7 +2828,7 @@ class Order {
|
|
|
2828
2828
|
* Success response
|
|
2829
2829
|
* @name getOrderById
|
|
2830
2830
|
* @summary: Get order
|
|
2831
|
-
* @description: Get detailed information about a specific order - Check out [method documentation](https://
|
|
2831
|
+
* @description: Get detailed information about a specific order - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getOrderById/).
|
|
2832
2832
|
*/
|
|
2833
2833
|
async getOrderById(
|
|
2834
2834
|
{ orderId, myOrders, allowInactive, requestHeaders } = {
|
|
@@ -2915,7 +2915,7 @@ class Order {
|
|
|
2915
2915
|
* Success response
|
|
2916
2916
|
* @name getOrders
|
|
2917
2917
|
* @summary: List orders
|
|
2918
|
-
* @description: Get a list of orders based on the filters provided. - Check out [method documentation](https://
|
|
2918
|
+
* @description: Get a list of orders based on the filters provided. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getOrders/).
|
|
2919
2919
|
*/
|
|
2920
2920
|
async getOrders(
|
|
2921
2921
|
{
|
|
@@ -3219,7 +3219,7 @@ class Order {
|
|
|
3219
3219
|
* @returns {Promise<OrderPlatformModel.GetActionsResponseSchema>} - Success response
|
|
3220
3220
|
* @name getRoleBasedActions
|
|
3221
3221
|
* @summary: Get role-based actions
|
|
3222
|
-
* @description: Retrieve permissible actions based on user roles such as company_admin, company_operation, customer_care, and read_only. - Check out [method documentation](https://
|
|
3222
|
+
* @description: Retrieve permissible actions based on user roles such as company_admin, company_operation, customer_care, and read_only. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getRoleBasedActions/).
|
|
3223
3223
|
*/
|
|
3224
3224
|
async getRoleBasedActions(
|
|
3225
3225
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -3295,7 +3295,7 @@ class Order {
|
|
|
3295
3295
|
* Success response
|
|
3296
3296
|
* @name getShipmentById
|
|
3297
3297
|
* @summary: Get shipment details
|
|
3298
|
-
* @description: Get detailed information about a specific shipment - Check out [method documentation](https://
|
|
3298
|
+
* @description: Get detailed information about a specific shipment - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getShipmentById/).
|
|
3299
3299
|
*/
|
|
3300
3300
|
async getShipmentById(
|
|
3301
3301
|
{
|
|
@@ -3391,7 +3391,7 @@ class Order {
|
|
|
3391
3391
|
* Success response
|
|
3392
3392
|
* @name getShipmentHistory
|
|
3393
3393
|
* @summary: Get a shipment's history
|
|
3394
|
-
* @description: Get the history of the shipment - Check out [method documentation](https://
|
|
3394
|
+
* @description: Get the history of the shipment - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getShipmentHistory/).
|
|
3395
3395
|
*/
|
|
3396
3396
|
async getShipmentHistory(
|
|
3397
3397
|
{ shipmentId, bagId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3476,7 +3476,7 @@ class Order {
|
|
|
3476
3476
|
*
|
|
3477
3477
|
* @name getShipmentReasons
|
|
3478
3478
|
* @summary: List bag cancellation reasons
|
|
3479
|
-
* @description: Get reasons to perform full or partial cancellation of a bag - Check out [method documentation](https://
|
|
3479
|
+
* @description: Get reasons to perform full or partial cancellation of a bag - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getShipmentReasons/).
|
|
3480
3480
|
*/
|
|
3481
3481
|
async getShipmentReasons(
|
|
3482
3482
|
{ shipmentId, bagId, state, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3561,7 +3561,7 @@ class Order {
|
|
|
3561
3561
|
*
|
|
3562
3562
|
* @name getShipments
|
|
3563
3563
|
* @summary: List shipments
|
|
3564
|
-
* @description: Get a list of shipments based on the filters provided - Check out [method documentation](https://
|
|
3564
|
+
* @description: Get a list of shipments based on the filters provided - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getShipments/).
|
|
3565
3565
|
*/
|
|
3566
3566
|
async getShipments(
|
|
3567
3567
|
{
|
|
@@ -3963,7 +3963,7 @@ class Order {
|
|
|
3963
3963
|
* @summary: Retrieves Entity State Manager configuration which includes flags, hooks, and filters, for a specific application within a company's setup.
|
|
3964
3964
|
* @description: This endpoint retrieves the ESM (Entity State Manager) configuration for a specific application within a company. The retrieval is based on parameters such as application ID, ordering channel, and entity type.
|
|
3965
3965
|
* The ESM config stores order processing configuration. Each document in the ESM config collection of Order Management System - OMS's database is a JSON object representing the configuration of a specific application ID. This includes filters, hooks, flags set on different state-transitions. This configuration is picked and accordingly features are enabled.
|
|
3966
|
-
* - Check out [method documentation](https://
|
|
3966
|
+
* - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getStateManagerConfig/).
|
|
3967
3967
|
*/
|
|
3968
3968
|
async getStateManagerConfig(
|
|
3969
3969
|
{ appId, orderingChannel, orderingSource, entity, requestHeaders } = {
|
|
@@ -4052,7 +4052,7 @@ class Order {
|
|
|
4052
4052
|
* @returns {Promise<OrderPlatformModel.BagStateTransitionMap>} - Success response
|
|
4053
4053
|
* @name getStateTransitionMap
|
|
4054
4054
|
* @summary: Get state transition map
|
|
4055
|
-
* @description: Retrieve a map of state transitions for orders - Check out [method documentation](https://
|
|
4055
|
+
* @description: Retrieve a map of state transitions for orders - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getStateTransitionMap/).
|
|
4056
4056
|
*/
|
|
4057
4057
|
async getStateTransitionMap(
|
|
4058
4058
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -4128,7 +4128,7 @@ class Order {
|
|
|
4128
4128
|
* Success response
|
|
4129
4129
|
* @name getTemplate
|
|
4130
4130
|
* @summary: Download bulk operation templates
|
|
4131
|
-
* @description: Get the excel or CSV file URL for the template. - Check out [method documentation](https://
|
|
4131
|
+
* @description: Get the excel or CSV file URL for the template. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getTemplate/).
|
|
4132
4132
|
*/
|
|
4133
4133
|
async getTemplate(
|
|
4134
4134
|
{ templateName, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4205,7 +4205,7 @@ class Order {
|
|
|
4205
4205
|
* @returns {Promise<OrderPlatformModel.FiltersResponseSchema>} - Success response
|
|
4206
4206
|
* @name getfilters
|
|
4207
4207
|
* @summary: List filters
|
|
4208
|
-
* @description: Get supported filters for various listing operations - Check out [method documentation](https://
|
|
4208
|
+
* @description: Get supported filters for various listing operations - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/getfilters/).
|
|
4209
4209
|
*/
|
|
4210
4210
|
async getfilters(
|
|
4211
4211
|
{ view, groupEntity, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4288,7 +4288,7 @@ class Order {
|
|
|
4288
4288
|
*
|
|
4289
4289
|
* @name invalidateShipmentCache
|
|
4290
4290
|
* @summary: Invalidate shipment cache
|
|
4291
|
-
* @description: Clear the existing shipment cache data stored in Redis and serialize the updated data for subsequent use. - Check out [method documentation](https://
|
|
4291
|
+
* @description: Clear the existing shipment cache data stored in Redis and serialize the updated data for subsequent use. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/invalidateShipmentCache/).
|
|
4292
4292
|
*/
|
|
4293
4293
|
async invalidateShipmentCache(
|
|
4294
4294
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4367,7 +4367,7 @@ class Order {
|
|
|
4367
4367
|
* @returns {Promise<OrderPlatformModel.JobDetailsResponseSchema>} - Success response
|
|
4368
4368
|
* @name jobDetails
|
|
4369
4369
|
* @summary: Get bulk operation details
|
|
4370
|
-
* @description: Fetches details of the job for the provided batch Id - Check out [method documentation](https://
|
|
4370
|
+
* @description: Fetches details of the job for the provided batch Id - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/jobDetails/).
|
|
4371
4371
|
*/
|
|
4372
4372
|
async jobDetails(
|
|
4373
4373
|
{ batchId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4444,7 +4444,7 @@ class Order {
|
|
|
4444
4444
|
* @returns {Promise<OrderPlatformModel.ResponseDetail>} - Success response
|
|
4445
4445
|
* @name orderUpdate
|
|
4446
4446
|
* @summary: Update an order
|
|
4447
|
-
* @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://
|
|
4447
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/order/orderUpdate/).
|
|
4448
4448
|
*/
|
|
4449
4449
|
async orderUpdate(
|
|
4450
4450
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4522,7 +4522,7 @@ class Order {
|
|
|
4522
4522
|
* Success response
|
|
4523
4523
|
* @name postShipmentHistory
|
|
4524
4524
|
* @summary: Create shipment history
|
|
4525
|
-
* @description: Used to add logs in history for a bag for the provided Shipment ID - Check out [method documentation](https://
|
|
4525
|
+
* @description: Used to add logs in history for a bag for the provided Shipment ID - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/postShipmentHistory/).
|
|
4526
4526
|
*/
|
|
4527
4527
|
async postShipmentHistory(
|
|
4528
4528
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4602,7 +4602,7 @@ class Order {
|
|
|
4602
4602
|
* Success response
|
|
4603
4603
|
* @name reassignLocation
|
|
4604
4604
|
* @summary: Reassign location
|
|
4605
|
-
* @description: Reassign the shipment to a another location and update its status to 'Store Reassigned.' - Check out [method documentation](https://
|
|
4605
|
+
* @description: Reassign the shipment to a another location and update its status to 'Store Reassigned.' - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/reassignLocation/).
|
|
4606
4606
|
*/
|
|
4607
4607
|
async reassignLocation(
|
|
4608
4608
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4681,7 +4681,7 @@ class Order {
|
|
|
4681
4681
|
* @returns {Promise<OrderPlatformModel.BaseResponseSchema>} - Success response
|
|
4682
4682
|
* @name sendSmsNinja
|
|
4683
4683
|
* @summary: Send SMS
|
|
4684
|
-
* @description: Send SMS to customer based on the template that is selected - Check out [method documentation](https://
|
|
4684
|
+
* @description: Send SMS to customer based on the template that is selected - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/sendSmsNinja/).
|
|
4685
4685
|
*/
|
|
4686
4686
|
async sendSmsNinja(
|
|
4687
4687
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4759,7 +4759,7 @@ class Order {
|
|
|
4759
4759
|
* Success response
|
|
4760
4760
|
* @name sendUserMobileOTP
|
|
4761
4761
|
* @summary: Send user mobile OTP
|
|
4762
|
-
* @description: Send a one-time OTP to a customer mobile number - Check out [method documentation](https://
|
|
4762
|
+
* @description: Send a one-time OTP to a customer mobile number - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/sendUserMobileOTP/).
|
|
4763
4763
|
*/
|
|
4764
4764
|
async sendUserMobileOTP(
|
|
4765
4765
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4840,7 +4840,7 @@ class Order {
|
|
|
4840
4840
|
*
|
|
4841
4841
|
* @name trackShipment
|
|
4842
4842
|
* @summary: Track shipment
|
|
4843
|
-
* @description: Retrieve courier partner tracking details for a given shipment Id or AWB number - Check out [method documentation](https://
|
|
4843
|
+
* @description: Retrieve courier partner tracking details for a given shipment Id or AWB number - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/trackShipment/).
|
|
4844
4844
|
*/
|
|
4845
4845
|
async trackShipment(
|
|
4846
4846
|
{ shipmentId, awb, pageNo, pageSize, requestHeaders } = {
|
|
@@ -4929,7 +4929,7 @@ class Order {
|
|
|
4929
4929
|
* @returns {Promise<OrderPlatformModel.BaseResponseSchema>} - Success response
|
|
4930
4930
|
* @name updateAddress
|
|
4931
4931
|
* @summary: Update shipment address
|
|
4932
|
-
* @description: Update the address details of an existing shipment based on the provided address_category. This operation allows the modification of critical shipment details, potentially affecting delivery/billing accuracy and customer communication. - Check out [method documentation](https://
|
|
4932
|
+
* @description: Update the address details of an existing shipment based on the provided address_category. This operation allows the modification of critical shipment details, potentially affecting delivery/billing accuracy and customer communication. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/updateAddress/).
|
|
4933
4933
|
*/
|
|
4934
4934
|
async updateAddress(
|
|
4935
4935
|
{ shipmentId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5010,7 +5010,7 @@ class Order {
|
|
|
5010
5010
|
*
|
|
5011
5011
|
* @name updatePackagingDimensions
|
|
5012
5012
|
* @summary: Update packaging dimensions
|
|
5013
|
-
* @description: Used to modify the packaging dimension of a shipment - Check out [method documentation](https://
|
|
5013
|
+
* @description: Used to modify the packaging dimension of a shipment - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/updatePackagingDimensions/).
|
|
5014
5014
|
*/
|
|
5015
5015
|
async updatePackagingDimensions(
|
|
5016
5016
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5091,7 +5091,7 @@ class Order {
|
|
|
5091
5091
|
* @returns {Promise<Object>} - Success response
|
|
5092
5092
|
* @name updatePaymentInfo
|
|
5093
5093
|
* @summary: Update payment details for an order, its shipments and its bags.
|
|
5094
|
-
* @description: Updates the payment mode for an order, its shipments and its bags. This endpoint allows for modifying payment methods, and associated details but not amount. - Check out [method documentation](https://
|
|
5094
|
+
* @description: Updates the payment mode for an order, its shipments and its bags. This endpoint allows for modifying payment methods, and associated details but not amount. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/updatePaymentInfo/).
|
|
5095
5095
|
*/
|
|
5096
5096
|
async updatePaymentInfo(
|
|
5097
5097
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5170,7 +5170,7 @@ class Order {
|
|
|
5170
5170
|
*
|
|
5171
5171
|
* @name updateShipmentLock
|
|
5172
5172
|
* @summary: Update a shipment lock
|
|
5173
|
-
* @description: Modify shipment/bag lock status and update lock/unlock messages. - Check out [method documentation](https://
|
|
5173
|
+
* @description: Modify shipment/bag lock status and update lock/unlock messages. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/updateShipmentLock/).
|
|
5174
5174
|
*/
|
|
5175
5175
|
async updateShipmentLock(
|
|
5176
5176
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5251,7 +5251,7 @@ class Order {
|
|
|
5251
5251
|
*
|
|
5252
5252
|
* @name updateShipmentStatus
|
|
5253
5253
|
* @summary: Update a shipment's status
|
|
5254
|
-
* @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://
|
|
5254
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/order/updateShipmentStatus/).
|
|
5255
5255
|
*/
|
|
5256
5256
|
async updateShipmentStatus(
|
|
5257
5257
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5331,7 +5331,7 @@ class Order {
|
|
|
5331
5331
|
* Success response
|
|
5332
5332
|
* @name updateShipmentTracking
|
|
5333
5333
|
* @summary: Update shipment tracking
|
|
5334
|
-
* @description: Modify courier partner tracking details for a given shipment Id or AWB number - Check out [method documentation](https://
|
|
5334
|
+
* @description: Modify courier partner tracking details for a given shipment Id or AWB number - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/updateShipmentTracking/).
|
|
5335
5335
|
*/
|
|
5336
5336
|
async updateShipmentTracking(
|
|
5337
5337
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5410,7 +5410,7 @@ class Order {
|
|
|
5410
5410
|
* @returns {Promise<OrderPlatformModel.SuccessResponseSchema>} - Success response
|
|
5411
5411
|
* @name uploadConsents
|
|
5412
5412
|
* @summary: Upload consent
|
|
5413
|
-
* @description: Uploads the consent signed by courier partner and seller to keep records - Check out [method documentation](https://
|
|
5413
|
+
* @description: Uploads the consent signed by courier partner and seller to keep records - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/uploadConsents/).
|
|
5414
5414
|
*/
|
|
5415
5415
|
async uploadConsents(
|
|
5416
5416
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5489,7 +5489,7 @@ class Order {
|
|
|
5489
5489
|
* @returns {Promise<OrderPlatformModel.VerifyOtpResponseSchema>} - Success response
|
|
5490
5490
|
* @name verifyMobileOTP
|
|
5491
5491
|
* @summary: Verify mobile OTP
|
|
5492
|
-
* @description: Perform OTP verification to link a user to an anonymous order - Check out [method documentation](https://
|
|
5492
|
+
* @description: Perform OTP verification to link a user to an anonymous order - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/verifyMobileOTP/).
|
|
5493
5493
|
*/
|
|
5494
5494
|
async verifyMobileOTP(
|
|
5495
5495
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2023,8 +2023,8 @@ export = OrderPlatformModel;
|
|
|
2023
2023
|
* courier partner.
|
|
2024
2024
|
* @property {string} dp_name - The name of the courier partner responsible for
|
|
2025
2025
|
* the shipment.
|
|
2026
|
-
* @property {string} dp_status - The current status of the shipment as
|
|
2027
|
-
* by the courier partner.
|
|
2026
|
+
* @property {string} [dp_status] - The current status of the shipment as
|
|
2027
|
+
* updated by the courier partner.
|
|
2028
2028
|
* @property {string} dp_status_updated_at - The timestamp when the status was
|
|
2029
2029
|
* last updated by the courier partner.
|
|
2030
2030
|
* @property {string} [estimated_delivery_date] - The estimated date and time
|
|
@@ -2033,7 +2033,7 @@ export = OrderPlatformModel;
|
|
|
2033
2033
|
* @property {string} journey - Indicates the type of journey the shipment.
|
|
2034
2034
|
* @property {Object} [meta] - A field to store additional metadata related to
|
|
2035
2035
|
* the courier partner's operations or the shipment.
|
|
2036
|
-
* @property {string} operational_status - The operational status of the shipment.
|
|
2036
|
+
* @property {string} [operational_status] - The operational status of the shipment.
|
|
2037
2037
|
* @property {string} [promised_delivery_date] - PThe promised date and time for
|
|
2038
2038
|
* delivery as provided by the courier partner.
|
|
2039
2039
|
* @property {string} [remark] - Any additional remarks or comments from the
|
|
@@ -2558,7 +2558,7 @@ export = OrderPlatformModel;
|
|
|
2558
2558
|
*/
|
|
2559
2559
|
/**
|
|
2560
2560
|
* @typedef Page
|
|
2561
|
-
* @property {number} [item_total] - The total number of items
|
|
2561
|
+
* @property {number} [item_total] - The total number of all items across all pages.
|
|
2562
2562
|
* @property {string} [next_id] - The identifier for the next page.
|
|
2563
2563
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
2564
2564
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
@@ -9023,10 +9023,10 @@ type CourierPartnerTrackingDetails = {
|
|
|
9023
9023
|
*/
|
|
9024
9024
|
dp_name: string;
|
|
9025
9025
|
/**
|
|
9026
|
-
* - The current status of the shipment as
|
|
9027
|
-
* by the courier partner.
|
|
9026
|
+
* - The current status of the shipment as
|
|
9027
|
+
* updated by the courier partner.
|
|
9028
9028
|
*/
|
|
9029
|
-
dp_status
|
|
9029
|
+
dp_status?: string;
|
|
9030
9030
|
/**
|
|
9031
9031
|
* - The timestamp when the status was
|
|
9032
9032
|
* last updated by the courier partner.
|
|
@@ -9053,7 +9053,7 @@ type CourierPartnerTrackingDetails = {
|
|
|
9053
9053
|
/**
|
|
9054
9054
|
* - The operational status of the shipment.
|
|
9055
9055
|
*/
|
|
9056
|
-
operational_status
|
|
9056
|
+
operational_status?: string;
|
|
9057
9057
|
/**
|
|
9058
9058
|
* - PThe promised date and time for
|
|
9059
9059
|
* delivery as provided by the courier partner.
|
|
@@ -10061,7 +10061,7 @@ type ValidationError = {
|
|
|
10061
10061
|
declare function Page(): Page;
|
|
10062
10062
|
type Page = {
|
|
10063
10063
|
/**
|
|
10064
|
-
* - The total number of items
|
|
10064
|
+
* - The total number of all items across all pages.
|
|
10065
10065
|
*/
|
|
10066
10066
|
item_total?: number;
|
|
10067
10067
|
/**
|
|
@@ -2210,8 +2210,8 @@ const Joi = require("joi");
|
|
|
2210
2210
|
* courier partner.
|
|
2211
2211
|
* @property {string} dp_name - The name of the courier partner responsible for
|
|
2212
2212
|
* the shipment.
|
|
2213
|
-
* @property {string} dp_status - The current status of the shipment as
|
|
2214
|
-
* by the courier partner.
|
|
2213
|
+
* @property {string} [dp_status] - The current status of the shipment as
|
|
2214
|
+
* updated by the courier partner.
|
|
2215
2215
|
* @property {string} dp_status_updated_at - The timestamp when the status was
|
|
2216
2216
|
* last updated by the courier partner.
|
|
2217
2217
|
* @property {string} [estimated_delivery_date] - The estimated date and time
|
|
@@ -2220,7 +2220,7 @@ const Joi = require("joi");
|
|
|
2220
2220
|
* @property {string} journey - Indicates the type of journey the shipment.
|
|
2221
2221
|
* @property {Object} [meta] - A field to store additional metadata related to
|
|
2222
2222
|
* the courier partner's operations or the shipment.
|
|
2223
|
-
* @property {string} operational_status - The operational status of the shipment.
|
|
2223
|
+
* @property {string} [operational_status] - The operational status of the shipment.
|
|
2224
2224
|
* @property {string} [promised_delivery_date] - PThe promised date and time for
|
|
2225
2225
|
* delivery as provided by the courier partner.
|
|
2226
2226
|
* @property {string} [remark] - Any additional remarks or comments from the
|
|
@@ -2791,7 +2791,7 @@ const Joi = require("joi");
|
|
|
2791
2791
|
|
|
2792
2792
|
/**
|
|
2793
2793
|
* @typedef Page
|
|
2794
|
-
* @property {number} [item_total] - The total number of items
|
|
2794
|
+
* @property {number} [item_total] - The total number of all items across all pages.
|
|
2795
2795
|
* @property {string} [next_id] - The identifier for the next page.
|
|
2796
2796
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
2797
2797
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
@@ -7412,13 +7412,13 @@ class OrderPlatformModel {
|
|
|
7412
7412
|
awb: Joi.string().allow("").required(),
|
|
7413
7413
|
dp_location: Joi.string().allow("").allow(null),
|
|
7414
7414
|
dp_name: Joi.string().allow("").required(),
|
|
7415
|
-
dp_status: Joi.string().allow("")
|
|
7415
|
+
dp_status: Joi.string().allow(""),
|
|
7416
7416
|
dp_status_updated_at: Joi.string().allow("").required(),
|
|
7417
7417
|
estimated_delivery_date: Joi.string().allow("").allow(null),
|
|
7418
7418
|
id: Joi.number(),
|
|
7419
7419
|
journey: Joi.string().allow("").required(),
|
|
7420
7420
|
meta: Joi.object().pattern(/\S/, Joi.any()),
|
|
7421
|
-
operational_status: Joi.string().allow("")
|
|
7421
|
+
operational_status: Joi.string().allow(""),
|
|
7422
7422
|
promised_delivery_date: Joi.string().allow("").allow(null),
|
|
7423
7423
|
remark: Joi.string().allow("").allow(null),
|
|
7424
7424
|
shipment_id: Joi.string().allow("").required(),
|