@gofynd/fdk-client-javascript 1.4.8-beta.2 → 1.4.8
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 +26 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationClient.d.ts +8 -0
- package/sdk/application/ApplicationClient.js +14 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +20 -20
- package/sdk/application/Cart/CartApplicationClient.js +20 -20
- package/sdk/application/Cart/CartApplicationModel.d.ts +2446 -664
- package/sdk/application/Cart/CartApplicationModel.js +783 -552
- package/sdk/application/Cart/CartApplicationValidator.d.ts +268 -194
- package/sdk/application/Cart/CartApplicationValidator.js +100 -114
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +53 -53
- package/sdk/application/Catalog/CatalogApplicationClient.js +53 -53
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2012 -503
- package/sdk/application/Catalog/CatalogApplicationModel.js +603 -453
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +64 -64
- package/sdk/application/Catalog/CatalogApplicationValidator.js +32 -32
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Common/CommonApplicationModel.d.ts +170 -90
- package/sdk/application/Common/CommonApplicationModel.js +59 -58
- package/sdk/application/Common/CommonApplicationValidator.d.ts +8 -5
- package/sdk/application/Common/CommonApplicationValidator.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +170 -35
- package/sdk/application/Communication/CommunicationApplicationModel.js +54 -33
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +624 -443
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +259 -248
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +32 -24
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +14 -13
- package/sdk/application/Content/ContentApplicationClient.d.ts +16 -16
- package/sdk/application/Content/ContentApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationModel.d.ts +1206 -281
- package/sdk/application/Content/ContentApplicationModel.js +342 -276
- package/sdk/application/Content/ContentApplicationValidator.d.ts +28 -17
- package/sdk/application/Content/ContentApplicationValidator.js +11 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +146 -37
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +38 -36
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +195 -134
- package/sdk/application/Lead/LeadApplicationModel.js +110 -67
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +8 -8
- package/sdk/application/Lead/LeadApplicationValidator.js +4 -4
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -10
- package/sdk/application/Logistic/LogisticApplicationClient.js +10 -10
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +1039 -221
- package/sdk/application/Logistic/LogisticApplicationModel.js +342 -199
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +76 -82
- package/sdk/application/Logistic/LogisticApplicationValidator.js +38 -41
- package/sdk/application/Order/OrderApplicationClient.d.ts +10 -10
- package/sdk/application/Order/OrderApplicationClient.js +10 -10
- package/sdk/application/Order/OrderApplicationModel.d.ts +1401 -324
- package/sdk/application/Order/OrderApplicationModel.js +392 -316
- package/sdk/application/Order/OrderApplicationValidator.d.ts +32 -30
- package/sdk/application/Order/OrderApplicationValidator.js +15 -14
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +43 -43
- package/sdk/application/Payment/PaymentApplicationClient.js +43 -43
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1111 -1022
- package/sdk/application/Payment/PaymentApplicationModel.js +537 -521
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +82 -49
- package/sdk/application/Payment/PaymentApplicationValidator.js +30 -30
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +28 -7
- package/sdk/application/Rewards/RewardsApplicationModel.js +7 -7
- package/sdk/application/Share/ShareApplicationModel.d.ts +178 -38
- package/sdk/application/Share/ShareApplicationModel.js +53 -37
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -2
- package/sdk/application/Share/ShareApplicationValidator.js +2 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +14 -8
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +528 -287
- package/sdk/application/Theme/ThemeApplicationModel.js +208 -172
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +17 -12
- package/sdk/application/Theme/ThemeApplicationValidator.js +8 -6
- package/sdk/application/User/UserApplicationClient.d.ts +36 -36
- package/sdk/application/User/UserApplicationClient.js +36 -36
- package/sdk/application/User/UserApplicationModel.d.ts +1062 -255
- package/sdk/application/User/UserApplicationModel.js +298 -244
- package/sdk/application/User/UserApplicationValidator.d.ts +80 -80
- package/sdk/application/User/UserApplicationValidator.js +40 -40
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +20 -5
- package/sdk/application/Webhook/WebhookApplicationModel.js +5 -5
- package/sdk/common/Clickstream.js +95 -15
- package/sdk/common/Constant.d.ts +9 -0
- package/sdk/common/Constant.js +11 -0
- package/sdk/common/Utility.js +19 -0
- package/sdk/common/utils.js +8 -1
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +28 -7
- package/sdk/partner/Lead/LeadPartnerModel.js +7 -7
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +75 -8
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +59 -7
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +2 -2
- package/sdk/partner/PartnerClient.d.ts +8 -0
- package/sdk/partner/PartnerClient.js +14 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +158 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +45 -6
- package/sdk/partner/Theme/ThemePartnerModel.js +33 -4
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +28 -7
- package/sdk/partner/Webhook/WebhookPartnerModel.js +7 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +28 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +7 -7
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +21 -10
- package/sdk/platform/Billing/BillingPlatformClient.js +167 -83
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +2849 -565
- package/sdk/platform/Billing/BillingPlatformModel.js +935 -556
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +30 -14
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -16
- package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -7
- package/sdk/platform/Cart/CartPlatformModel.js +8 -8
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +20 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +37 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +16 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +12 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.js +41 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +46 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +14 -11
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +17 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +28 -7
- package/sdk/platform/Communication/CommunicationPlatformModel.js +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +7 -7
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -97
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +77 -782
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +24 -701
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +7 -539
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -183
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +0 -134
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -79
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -15
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -13
- package/sdk/platform/Content/ContentPlatformModel.d.ts +60 -17
- package/sdk/platform/Content/ContentPlatformModel.js +30 -15
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +28 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +7 -7
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +127 -25
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +37 -25
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +30 -30
- package/sdk/platform/Finance/FinancePlatformClient.js +30 -30
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +1601 -348
- package/sdk/platform/Finance/FinancePlatformModel.js +488 -352
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +28 -7
- package/sdk/platform/Lead/LeadPlatformModel.js +7 -7
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -0
- package/sdk/platform/Order/OrderPlatformClient.js +165 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +631 -39
- package/sdk/platform/Order/OrderPlatformModel.js +367 -41
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +28 -0
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +30 -9
- package/sdk/platform/Payment/PaymentPlatformModel.js +9 -9
- package/sdk/platform/PlatformClient.d.ts +8 -0
- package/sdk/platform/PlatformClient.js +14 -0
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +28 -7
- package/sdk/platform/Rewards/RewardsPlatformModel.js +7 -7
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +4 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +139 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +98 -21
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +4 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +4 -4
- package/sdk/platform/Share/SharePlatformModel.d.ts +28 -7
- package/sdk/platform/Share/SharePlatformModel.js +7 -7
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +18 -5
- package/sdk/platform/Theme/ThemePlatformModel.js +7 -4
- package/sdk/platform/User/UserPlatformModel.d.ts +18 -20
- package/sdk/platform/User/UserPlatformModel.js +9 -11
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +54 -33
- package/sdk/platform/Webhook/WebhookPlatformModel.js +33 -33
- package/sdk/public/Billing/BillingPublicClient.d.ts +11 -0
- package/sdk/public/Billing/BillingPublicClient.js +80 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +584 -99
- package/sdk/public/Billing/BillingPublicModel.js +252 -87
- package/sdk/public/Billing/BillingPublicValidator.d.ts +10 -1
- package/sdk/public/Billing/BillingPublicValidator.js +12 -0
- package/sdk/public/PublicClient.d.ts +0 -2
- package/sdk/public/PublicClient.js +0 -4
- package/sdk/public/index.d.ts +0 -1
- package/sdk/public/index.js +0 -2
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +0 -87
- package/sdk/public/Inventory/InventoryPublicClient.js +0 -529
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +0 -393
- package/sdk/public/Inventory/InventoryPublicModel.js +0 -448
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +0 -91
- package/sdk/public/Inventory/InventoryPublicValidator.js +0 -85
|
@@ -19,10 +19,11 @@ export = OrderPlatformModel;
|
|
|
19
19
|
*/
|
|
20
20
|
/**
|
|
21
21
|
* @typedef ErrorResponse
|
|
22
|
-
* @property {number} [status]
|
|
23
|
-
* @property {boolean} [success]
|
|
24
|
-
*
|
|
25
|
-
* @property {string}
|
|
22
|
+
* @property {number} [status] - The HTTP status code corresponding to the error.
|
|
23
|
+
* @property {boolean} [success] - Indicates whether the operation was
|
|
24
|
+
* successful. Always false in the case of an error.
|
|
25
|
+
* @property {string} message - A message describing the error that occurred.
|
|
26
|
+
* @property {string} [error_trace] - Error trace of the error that occurred.
|
|
26
27
|
* @property {string} [error]
|
|
27
28
|
*/
|
|
28
29
|
/**
|
|
@@ -1492,15 +1493,219 @@ export = OrderPlatformModel;
|
|
|
1492
1493
|
* @property {boolean} [success] - Success State.
|
|
1493
1494
|
* @property {string} [error] - Error String.
|
|
1494
1495
|
*/
|
|
1496
|
+
/**
|
|
1497
|
+
* @typedef ConfigData
|
|
1498
|
+
* @property {boolean} [acknowledged] - Indicates whether the update operation
|
|
1499
|
+
* was acknowledged by the database.
|
|
1500
|
+
* @property {boolean} [is_upserted] - Indicates whether the update operation
|
|
1501
|
+
* resulted in an upsert (an update or insert).
|
|
1502
|
+
* @property {boolean} [is_inserted] - Indicates whether the update operation
|
|
1503
|
+
* resulted in a new document being inserted.
|
|
1504
|
+
*/
|
|
1505
|
+
/**
|
|
1506
|
+
* @typedef ConfigUpdatedResponse
|
|
1507
|
+
* @property {ConfigData[]} data - The result of the config update operation,
|
|
1508
|
+
* including whether it was acknowledged, upserted, or inserted.
|
|
1509
|
+
* @property {boolean} success - Indicates whether the config update operation
|
|
1510
|
+
* was successful.
|
|
1511
|
+
*/
|
|
1512
|
+
/**
|
|
1513
|
+
* @typedef FlagData
|
|
1514
|
+
* @property {Object} [value]
|
|
1515
|
+
* @property {Object} [filter]
|
|
1516
|
+
*/
|
|
1517
|
+
/**
|
|
1518
|
+
* @typedef Flags
|
|
1519
|
+
* @property {FlagData[]} [allow_partial_transition] - Indicates whether a
|
|
1520
|
+
* partial transition of bags to the next state is permissible, allowing some
|
|
1521
|
+
* bags to progress while others remain in the current state.
|
|
1522
|
+
* @property {FlagData[]} [can_break_entity] - Specifies whether bags within a
|
|
1523
|
+
* shipment, set,cdf or entity can be broken individually or as a group. If
|
|
1524
|
+
* set to false, all bags within the entity must remain together and
|
|
1525
|
+
* transition together to the same state.
|
|
1526
|
+
* @property {FlagData[]} [allowed_bag_updates] - Specifies which fields are
|
|
1527
|
+
* permitted to be updated at the bag level. Allowed fields are:
|
|
1528
|
+
*
|
|
1529
|
+
* - Meta
|
|
1530
|
+
* - Pdf_links
|
|
1531
|
+
* - Affiliate_meta
|
|
1532
|
+
* - Delivery_awb_number
|
|
1533
|
+
* - Store_invoice_id
|
|
1534
|
+
* - Store_id
|
|
1535
|
+
* - Return_store_id
|
|
1536
|
+
* - Eway_bill_id
|
|
1537
|
+
*
|
|
1538
|
+
* @property {FlagData[]} [allowed_bag_status_updates] - Specifies which fields
|
|
1539
|
+
* are permitted to be updated at the bag status level. Allowed fields are:
|
|
1540
|
+
*
|
|
1541
|
+
* - Json
|
|
1542
|
+
*
|
|
1543
|
+
* @property {FlagData[]} [allowed_entity_updates] - Specifies which fields are
|
|
1544
|
+
* permitted to be updated at shipment level. Allowed fields are:
|
|
1545
|
+
*
|
|
1546
|
+
* - Meta
|
|
1547
|
+
* - Pdf_links
|
|
1548
|
+
* - Affiliate_meta
|
|
1549
|
+
* - Delivery_awb_number
|
|
1550
|
+
* - Store_invoice_id
|
|
1551
|
+
* - Store_id
|
|
1552
|
+
* - Return_store_id
|
|
1553
|
+
* - Eway_bill_id
|
|
1554
|
+
* - Logistics_meta
|
|
1555
|
+
*
|
|
1556
|
+
* @property {FlagData[]} [allowed_entity_status_updates] - Specifies which
|
|
1557
|
+
* fields are permitted to be updated at the Entity status level. Allowed fields are:
|
|
1558
|
+
*
|
|
1559
|
+
* - Json
|
|
1560
|
+
*
|
|
1561
|
+
* @property {FlagData[]} [status_update_type] - Describes the type of journey
|
|
1562
|
+
* associated with the particular status of the shipment. Possible values are:
|
|
1563
|
+
*
|
|
1564
|
+
* - Positive
|
|
1565
|
+
* - Negative
|
|
1566
|
+
*
|
|
1567
|
+
* @property {FlagData[]} [is_bag_status_reason_allowed] - Indicates whether a
|
|
1568
|
+
* reason at the product level should be allowed for a particular status.
|
|
1569
|
+
* @property {FlagData[]} [is_entity_status_reason_allowed] - Indicates whether
|
|
1570
|
+
* a reason at the shipment level should be allowed for a particular status.
|
|
1571
|
+
* @property {FlagData[]} [transition_strategy] - This flag is used to define
|
|
1572
|
+
* the shipment breaking strategy. Possible values are:
|
|
1573
|
+
*
|
|
1574
|
+
* - Break_shipment_based_on_location_reassignment
|
|
1575
|
+
* - Break_shipment_based_on_groups
|
|
1576
|
+
* - Break_shipment_based_on_stormbreaker
|
|
1577
|
+
*/
|
|
1578
|
+
/**
|
|
1579
|
+
* @typedef Filter
|
|
1580
|
+
* @property {string} [order_type] - Indicates the type or category of the order.
|
|
1581
|
+
*
|
|
1582
|
+
* - PickAtStore: Pick from store
|
|
1583
|
+
* - HomeDelivery: Home delivery
|
|
1584
|
+
* - Digital: Digital
|
|
1585
|
+
*
|
|
1586
|
+
* @property {boolean} [is_partial_transition] - Specifies whether a partial
|
|
1587
|
+
* transition of the order is allowed, allowing some components to progress
|
|
1588
|
+
* while others remain in the current state.
|
|
1589
|
+
* @property {boolean} [auto_trigger_dp_assignment_acf] - Indicates whether the
|
|
1590
|
+
* assignment of a designated person is automatically triggered in the context of ACF.
|
|
1591
|
+
* @property {string} [lock_status] - Indicates the current locking status of
|
|
1592
|
+
* the shipment.
|
|
1593
|
+
*
|
|
1594
|
+
* - `complete`: Complete shipment lock
|
|
1595
|
+
* - `operational`: Operational shipment lock
|
|
1596
|
+
* - `None`: No lock on shipment
|
|
1597
|
+
*
|
|
1598
|
+
* @property {boolean} [lock_after_transition] - Specifies whether locking is
|
|
1599
|
+
* required after transitioning to the next status. lock_after_transition :
|
|
1600
|
+
* true - Lock Transition enabled lock_after_transition : false - Lock
|
|
1601
|
+
* Transition set false
|
|
1602
|
+
* @property {boolean} [resume_tasks_after_unlock] - Indicates whether tasks
|
|
1603
|
+
* should resume automatically after unlocking, such as DP assignment task and
|
|
1604
|
+
* invoicing task.
|
|
1605
|
+
* @property {boolean} [is_invoice_id_present] - Indicates whether an invoice ID
|
|
1606
|
+
* is present for the order.
|
|
1607
|
+
* @property {boolean} [is_credit_note_generated] - Indicates whether a credit
|
|
1608
|
+
* note has been generated for the order.
|
|
1609
|
+
* @property {boolean} [fulfill_virtual_invoice] - Specifies whether an
|
|
1610
|
+
* automated virtual invoice ID is associated with the order.
|
|
1611
|
+
* @property {string} [next_status] - Indicates the next status to which the
|
|
1612
|
+
* order will transition.
|
|
1613
|
+
* @property {boolean} [is_hook_enabled] - Indicates whether a task is enabled
|
|
1614
|
+
* for the order.
|
|
1615
|
+
* @property {boolean} [pos_credit_note_check] - Specifies whether a credit note
|
|
1616
|
+
* check is performed in a point of sale (POS) scenario.
|
|
1617
|
+
* @property {string} [order_platform] - Specifies the platform on which the
|
|
1618
|
+
* order was placed.
|
|
1619
|
+
*
|
|
1620
|
+
* - `platform-pos`: POS
|
|
1621
|
+
* - `platform-site`: WEB
|
|
1622
|
+
* - `openapi`: OPENAPI
|
|
1623
|
+
* - `marketplace`: MARKETPLACE
|
|
1624
|
+
*
|
|
1625
|
+
* @property {string} [refund_type] - Indicates the type of refund associated
|
|
1626
|
+
* with the order.
|
|
1627
|
+
*
|
|
1628
|
+
* - `credit_note`: CREDIT_NOTE
|
|
1629
|
+
* - `source`: SOURCE
|
|
1630
|
+
* - `bank_transfer`: BANK
|
|
1631
|
+
* - `manual_refund`: MANUAL_REFUND
|
|
1632
|
+
*
|
|
1633
|
+
* @property {boolean} [is_non_pos_platform] - Specifies whether the platform is
|
|
1634
|
+
* non-point of sale (POS) in nature.
|
|
1635
|
+
* @property {boolean} [is_self_ship] - Indicates whether the order is
|
|
1636
|
+
* self-shipped by the seller.
|
|
1637
|
+
* @property {string} [seller_country_code] - Specifies the country code of the seller.
|
|
1638
|
+
*
|
|
1639
|
+
* - `seller_country_code`: US
|
|
1640
|
+
* - `seller_country_code`: UK
|
|
1641
|
+
* - `seller_country_code`: IN
|
|
1642
|
+
*
|
|
1643
|
+
* @property {string} [customer_country_code] - Specifies the country code of the seller.
|
|
1644
|
+
*
|
|
1645
|
+
* - `customer_country_code`: US
|
|
1646
|
+
* - `customer_country_code`: UK
|
|
1647
|
+
* - `customer_country_code`: IN
|
|
1648
|
+
*
|
|
1649
|
+
* @property {boolean} [is_test_order] - Indicates whether the order is a test
|
|
1650
|
+
* order used for testing purposes - `is_test_order` : True - indicates test order
|
|
1651
|
+
* @property {string[]} [task_trigger_condition] - Specifies trigger conditions:
|
|
1652
|
+
*
|
|
1653
|
+
* - `status_update`: Status Update
|
|
1654
|
+
* - `data_update`: Data Update
|
|
1655
|
+
*/
|
|
1656
|
+
/**
|
|
1657
|
+
* @typedef PostHook
|
|
1658
|
+
* @property {string} task - Name of the hook that has to be added
|
|
1659
|
+
* @property {Object} [kwargs] - Additional parameters for the hook
|
|
1660
|
+
* @property {Filter} [filters] - Filters for scope selection.
|
|
1661
|
+
*/
|
|
1662
|
+
/**
|
|
1663
|
+
* @typedef PreHook
|
|
1664
|
+
* @property {string} task - Name of the hook that has to be added
|
|
1665
|
+
* @property {Object} [kwargs] - Additional parameters for the hook
|
|
1666
|
+
* @property {Filter} [filters] - Filter
|
|
1667
|
+
*/
|
|
1668
|
+
/**
|
|
1669
|
+
* @typedef Config
|
|
1670
|
+
* @property {string} [from_state] - Source state from which state transition
|
|
1671
|
+
* will take place
|
|
1672
|
+
* @property {string} [to_state] - Target state to which state transition will take place
|
|
1673
|
+
* @property {PreHook[]} [pre_hooks] - Tasks to be run before state transition
|
|
1674
|
+
* @property {PostHook[]} [post_hooks] - Tasks to be run after state transition
|
|
1675
|
+
* @property {Flags} [flags] - Various flags related to the transition. These
|
|
1676
|
+
* include options and settings that influence the behavior of the state
|
|
1677
|
+
* transition, such as whether partial transitions are allowed or whether the
|
|
1678
|
+
* transition can break the entity.
|
|
1679
|
+
*/
|
|
1680
|
+
/**
|
|
1681
|
+
* @typedef TransitionConfigCondition
|
|
1682
|
+
* @property {string} app_id - The unique identifier of the application to which
|
|
1683
|
+
* the configuration applies.
|
|
1684
|
+
* @property {string} ordering_channel - The channel through which the order was
|
|
1685
|
+
* placed, such as ECOMM or another specified channel.
|
|
1686
|
+
* @property {string} entity - The type of entity that the configuration pertains to.
|
|
1687
|
+
*/
|
|
1688
|
+
/**
|
|
1689
|
+
* @typedef TransitionConfigData
|
|
1690
|
+
* @property {TransitionConfigCondition} [conditions] - Conditions that must be
|
|
1691
|
+
* met for the ESM config to be applied.
|
|
1692
|
+
* @property {Config[]} [configs] - The configuration settings for the entity
|
|
1693
|
+
* transition. This includes pre_hooks, post_hooks, and flags for each
|
|
1694
|
+
* transition state.
|
|
1695
|
+
*/
|
|
1696
|
+
/**
|
|
1697
|
+
* @typedef TransitionConfigPayload
|
|
1698
|
+
* @property {TransitionConfigData} [data]
|
|
1699
|
+
*/
|
|
1495
1700
|
/**
|
|
1496
1701
|
* @typedef Page
|
|
1497
|
-
* @property {number} [item_total]
|
|
1498
|
-
* @property {string} [next_id]
|
|
1499
|
-
* @property {boolean} [has_previous]
|
|
1500
|
-
* @property {boolean} [has_next]
|
|
1501
|
-
* @property {number} [current]
|
|
1502
|
-
* @property {string} type
|
|
1503
|
-
* @property {number} [size]
|
|
1702
|
+
* @property {number} [item_total] - The total number of items on the page.
|
|
1703
|
+
* @property {string} [next_id] - The identifier for the next page.
|
|
1704
|
+
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
1705
|
+
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
1706
|
+
* @property {number} [current] - The current page number.
|
|
1707
|
+
* @property {string} type - The type of the page, such as 'PageType'.
|
|
1708
|
+
* @property {number} [size] - The number of items per page.
|
|
1504
1709
|
*/
|
|
1505
1710
|
/**
|
|
1506
1711
|
* @typedef BagReasonMeta
|
|
@@ -1920,6 +2125,9 @@ export = OrderPlatformModel;
|
|
|
1920
2125
|
* @property {string} [shipment_created_ts]
|
|
1921
2126
|
* @property {Currency} [currency]
|
|
1922
2127
|
* @property {CurrencyInfo} [currency_info]
|
|
2128
|
+
* @property {boolean} [is_lapa_enabled] - Flag to show NDR actions based on
|
|
2129
|
+
* LAPA (Logistic As Per Actual) plan subscription. If LAPA plan taken, true,
|
|
2130
|
+
* else false.
|
|
1923
2131
|
*/
|
|
1924
2132
|
/**
|
|
1925
2133
|
* @typedef ShipmentInternalPlatformViewResponse
|
|
@@ -2364,6 +2572,9 @@ export = OrderPlatformModel;
|
|
|
2364
2572
|
* @property {string} [credit_note_id]
|
|
2365
2573
|
* @property {boolean} [is_self_ship]
|
|
2366
2574
|
* @property {string} [mode_of_payment]
|
|
2575
|
+
* @property {boolean} [is_lapa_enabled] - Flag to show NDR actions based on
|
|
2576
|
+
* LAPA (Logistic As Per Actual) plan subscription. If LAPA plan taken, true,
|
|
2577
|
+
* else false.
|
|
2367
2578
|
*/
|
|
2368
2579
|
/**
|
|
2369
2580
|
* @typedef ShipmentInfoResponse
|
|
@@ -2660,21 +2871,9 @@ export = OrderPlatformModel;
|
|
|
2660
2871
|
* @property {string} [modified_on]
|
|
2661
2872
|
* @property {number} [id]
|
|
2662
2873
|
*/
|
|
2663
|
-
/**
|
|
2664
|
-
* @typedef Attributes
|
|
2665
|
-
* @property {string} [primary_material]
|
|
2666
|
-
* @property {string} [essential]
|
|
2667
|
-
* @property {string} [marketer_name]
|
|
2668
|
-
* @property {string} [primary_color]
|
|
2669
|
-
* @property {string} [marketer_address]
|
|
2670
|
-
* @property {string} [primary_color_hex]
|
|
2671
|
-
* @property {string} [brand_name]
|
|
2672
|
-
* @property {string} [name]
|
|
2673
|
-
* @property {string[]} [gender]
|
|
2674
|
-
*/
|
|
2675
2874
|
/**
|
|
2676
2875
|
* @typedef Item
|
|
2677
|
-
* @property {
|
|
2876
|
+
* @property {Object} attributes - A dictionary of product attributes
|
|
2678
2877
|
* @property {number} brand_id
|
|
2679
2878
|
* @property {string} slug_key
|
|
2680
2879
|
* @property {string} [webstore_product_url]
|
|
@@ -2887,7 +3086,7 @@ export = OrderPlatformModel;
|
|
|
2887
3086
|
declare class OrderPlatformModel {
|
|
2888
3087
|
}
|
|
2889
3088
|
declare namespace OrderPlatformModel {
|
|
2890
|
-
export { InvalidateShipmentCachePayload, InvalidateShipmentCacheNestedResponse, InvalidateShipmentCacheResponse, ErrorResponse, StoreReassign, StoreReassignResponse, Entities, UpdateShipmentLockPayload, OriginalFilter, Bags, CheckResponse, UpdateShipmentLockResponse, AnnouncementResponse, AnnouncementsResponse, BaseResponse, Click2CallResponse, ErrorDetail, ProductsReasonsFilters, ProductsReasonsData, ProductsReasons, EntityReasonData, EntitiesReasons, ReasonsData, Products, OrderItemDataUpdates, ProductsDataUpdatesFilters, ProductsDataUpdates, EntitiesDataUpdates, DataUpdates, ShipmentsRequest, StatuesRequest, UpdateShipmentStatusRequest, ShipmentsResponse, StatuesResponse, UpdateShipmentStatusResponseBody, OrderUser, OrderPriority, ArticleDetails, LocationDetails, ShipmentDetails, ShipmentConfig, ShipmentData, MarketPlacePdf, AffiliateBag, UserData, OrderInfo, AffiliateAppConfigMeta, AffiliateAppConfig, AffiliateInventoryArticleAssignmentConfig, AffiliateInventoryPaymentConfig, AffiliateInventoryStoreConfig, AffiliateInventoryOrderConfig, AffiliateInventoryLogisticsConfig, AffiliateInventoryConfig, AffiliateConfig, Affiliate, AffiliateStoreIdMapping, OrderConfig, CreateOrderPayload, CreateOrderResponse, DispatchManifest, SuccessResponse, ActionInfo, GetActionsResponse, HistoryReason, HistoryMeta, HistoryDict, ShipmentHistoryResponse, PostHistoryFilters, PostHistoryData, PostHistoryDict, PostShipmentHistory, SmsDataPayload, SendSmsPayload, OrderDetails, Meta, ShipmentDetail, OrderStatusData, OrderStatusResult, Dimension, UpdatePackagingDimensionsPayload, UpdatePackagingDimensionsResponse, Tax, Charge, LineItem, ProcessingDates, Shipment, ShipmentRequestData, ShippingInfo, BillingInfo, UserInfo, TaxInfo, PaymentMethod, PaymentInfo, CreateOrderAPI, CreateOrderErrorReponse, DpConfiguration, PaymentMethods, CreateChannelPaymentInfo, CreateChannelConfig, CreateChannelConfigData, CreateChannelConifgErrorResponse, CreateChannelConfigResponse, UploadConsent, PlatformOrderUpdate, ResponseDetail, FyndOrderIdList, OrderStatus, BagStateTransitionMap, RoleBaseStateTransitionMapping, FetchCreditBalanceRequestPayload, CreditBalanceInfo, FetchCreditBalanceResponsePayload, RefundModeConfigRequestPayload, RefundOption, RefundModeInfo, RefundModeConfigResponsePayload, AttachUserOtpData, AttachUserInfo, AttachOrderUser, AttachOrderUserResponse, SendUserMobileOTP, PointBlankOtpData, SendUserMobileOtpResponse, VerifyOtpData, VerifyMobileOTP, VerifyOtpResponseData, VerifyOtpResponse, BulkReportsDownloadRequest, BulkReportsDownloadResponse, BulkFailedResponse, BulkStateTransistionRequest, BulkStateTransistionResponse, ShipmentActionInfo, BulkActionListingData, BulkListinPage, BulkListingResponse, JobDetailsData, JobDetailsResponse, JobFailedResponse, ManifestPageInfo, ManifestItemDetails, ManifestShipmentListing, DateRange, Filters, ManifestFile, ManifestMediaUpdate, PDFMeta, TotalShipmentPricesCount, ManifestMeta, Manifest, ManifestList, ManifestDetails, FiltersRequest, ProcessManifest, ProcessManifestResponse, ProcessManifestItemResponse, FilterInfoOption, FiltersInfo, ManifestFiltersResponse, PageDetails, EInvoiceIrnDetails, EInvoiceErrorDetails, EInvoiceDetails, EInvoiceResponseData, EInvoiceRetry, EInvoiceRetryResponse, EInvoiceErrorInfo, EInvoiceErrorResponseData, EInvoiceErrorResponse, EInvoiceErrorResponseDetails, EInvoiceRetryShipmentData, CourierPartnerTrackingDetails, CourierPartnerTrackingResponse, LogsChannelDetails, LogPaymentDetails, FailedOrdersItem, FailedOrderLogs, FailedOrderLogDetails, GenerateInvoiceIDResponseData, GenerateInvoiceIDErrorResponseData, GenerateInvoiceIDRequest, GenerateInvoiceIDResponse, GenerateInvoiceIDErrorResponse, ManifestResponse, ProcessManifestRequest, ManifestItems, ManifestErrorResponse, Page, BagReasonMeta, QuestionSet, BagReasons, ShipmentBagReasons, ShipmentStatus, UserDataInfo, PlatformDeliveryAddress, ShipmentListingChannel, Prices, Identifier, FinancialBreakup, GSTDetailsData, BagStateMapper, BagStatusHistory, Dimensions, ReturnConfig, Weight, Article, ShipmentListingBrand, ReplacementDetails, AffiliateMeta, AffiliateBagDetails, PlatformArticleAttributes, PlatformItem, Dates, BagReturnableCancelableStatus, BagUnit, ShipmentItemFulFillingStore, Currency, OrderingCurrency, ConversionRate, CurrencyInfo, ShipmentItem, ShipmentInternalPlatformViewResponse, TrackingList, InvoiceInfo, OrderDetailsData, UserDetailsData, PhoneDetails, ContactDetails, CompanyDetails, OrderingStoreDetails, DPDetailsData, BuyerDetails, DebugInfo, EinvoiceInfo, Formatted, ShipmentTags, LockData, ShipmentTimeStamp, ShipmentMeta, PDFLinks, AffiliateDetails, BagConfigs, OrderBagArticle, OrderBrandName, AffiliateBagsDetails, BagPaymentMethods, DiscountRules, ItemCriterias, BuyRules, AppliedPromos, CurrentStatus, OrderBags, FulfillingStore, ShipmentPayments, ShipmentStatusData, ShipmentLockDetails, PlatformShipment, ShipmentInfoResponse, TaxDetails, PaymentInfoData, OrderData, OrderDetailsResponse, SubLane, SuperLane, LaneConfigResponse, PlatformBreakupValues, PlatformChannel, PlatformOrderItems, OrderListingResponse, PlatformTrack, PlatformShipmentTrack, AdvanceFilterInfo, FiltersResponse, URL, FileResponse, BulkActionTemplate, BulkActionTemplateResponse, Reason, PlatformShipmentReasonsResponse, ShipmentResponseReasons, ShipmentReasonsResponse, StoreAddress, EInvoicePortalDetails, StoreEinvoice, StoreEwaybill, StoreGstCredentials, Document, StoreDocuments, StoreMeta, Store, Brand,
|
|
3089
|
+
export { InvalidateShipmentCachePayload, InvalidateShipmentCacheNestedResponse, InvalidateShipmentCacheResponse, ErrorResponse, StoreReassign, StoreReassignResponse, Entities, UpdateShipmentLockPayload, OriginalFilter, Bags, CheckResponse, UpdateShipmentLockResponse, AnnouncementResponse, AnnouncementsResponse, BaseResponse, Click2CallResponse, ErrorDetail, ProductsReasonsFilters, ProductsReasonsData, ProductsReasons, EntityReasonData, EntitiesReasons, ReasonsData, Products, OrderItemDataUpdates, ProductsDataUpdatesFilters, ProductsDataUpdates, EntitiesDataUpdates, DataUpdates, ShipmentsRequest, StatuesRequest, UpdateShipmentStatusRequest, ShipmentsResponse, StatuesResponse, UpdateShipmentStatusResponseBody, OrderUser, OrderPriority, ArticleDetails, LocationDetails, ShipmentDetails, ShipmentConfig, ShipmentData, MarketPlacePdf, AffiliateBag, UserData, OrderInfo, AffiliateAppConfigMeta, AffiliateAppConfig, AffiliateInventoryArticleAssignmentConfig, AffiliateInventoryPaymentConfig, AffiliateInventoryStoreConfig, AffiliateInventoryOrderConfig, AffiliateInventoryLogisticsConfig, AffiliateInventoryConfig, AffiliateConfig, Affiliate, AffiliateStoreIdMapping, OrderConfig, CreateOrderPayload, CreateOrderResponse, DispatchManifest, SuccessResponse, ActionInfo, GetActionsResponse, HistoryReason, HistoryMeta, HistoryDict, ShipmentHistoryResponse, PostHistoryFilters, PostHistoryData, PostHistoryDict, PostShipmentHistory, SmsDataPayload, SendSmsPayload, OrderDetails, Meta, ShipmentDetail, OrderStatusData, OrderStatusResult, Dimension, UpdatePackagingDimensionsPayload, UpdatePackagingDimensionsResponse, Tax, Charge, LineItem, ProcessingDates, Shipment, ShipmentRequestData, ShippingInfo, BillingInfo, UserInfo, TaxInfo, PaymentMethod, PaymentInfo, CreateOrderAPI, CreateOrderErrorReponse, DpConfiguration, PaymentMethods, CreateChannelPaymentInfo, CreateChannelConfig, CreateChannelConfigData, CreateChannelConifgErrorResponse, CreateChannelConfigResponse, UploadConsent, PlatformOrderUpdate, ResponseDetail, FyndOrderIdList, OrderStatus, BagStateTransitionMap, RoleBaseStateTransitionMapping, FetchCreditBalanceRequestPayload, CreditBalanceInfo, FetchCreditBalanceResponsePayload, RefundModeConfigRequestPayload, RefundOption, RefundModeInfo, RefundModeConfigResponsePayload, AttachUserOtpData, AttachUserInfo, AttachOrderUser, AttachOrderUserResponse, SendUserMobileOTP, PointBlankOtpData, SendUserMobileOtpResponse, VerifyOtpData, VerifyMobileOTP, VerifyOtpResponseData, VerifyOtpResponse, BulkReportsDownloadRequest, BulkReportsDownloadResponse, BulkFailedResponse, BulkStateTransistionRequest, BulkStateTransistionResponse, ShipmentActionInfo, BulkActionListingData, BulkListinPage, BulkListingResponse, JobDetailsData, JobDetailsResponse, JobFailedResponse, ManifestPageInfo, ManifestItemDetails, ManifestShipmentListing, DateRange, Filters, ManifestFile, ManifestMediaUpdate, PDFMeta, TotalShipmentPricesCount, ManifestMeta, Manifest, ManifestList, ManifestDetails, FiltersRequest, ProcessManifest, ProcessManifestResponse, ProcessManifestItemResponse, FilterInfoOption, FiltersInfo, ManifestFiltersResponse, PageDetails, EInvoiceIrnDetails, EInvoiceErrorDetails, EInvoiceDetails, EInvoiceResponseData, EInvoiceRetry, EInvoiceRetryResponse, EInvoiceErrorInfo, EInvoiceErrorResponseData, EInvoiceErrorResponse, EInvoiceErrorResponseDetails, EInvoiceRetryShipmentData, CourierPartnerTrackingDetails, CourierPartnerTrackingResponse, LogsChannelDetails, LogPaymentDetails, FailedOrdersItem, FailedOrderLogs, FailedOrderLogDetails, GenerateInvoiceIDResponseData, GenerateInvoiceIDErrorResponseData, GenerateInvoiceIDRequest, GenerateInvoiceIDResponse, GenerateInvoiceIDErrorResponse, ManifestResponse, ProcessManifestRequest, ManifestItems, ManifestErrorResponse, ConfigData, ConfigUpdatedResponse, FlagData, Flags, Filter, PostHook, PreHook, Config, TransitionConfigCondition, TransitionConfigData, TransitionConfigPayload, Page, BagReasonMeta, QuestionSet, BagReasons, ShipmentBagReasons, ShipmentStatus, UserDataInfo, PlatformDeliveryAddress, ShipmentListingChannel, Prices, Identifier, FinancialBreakup, GSTDetailsData, BagStateMapper, BagStatusHistory, Dimensions, ReturnConfig, Weight, Article, ShipmentListingBrand, ReplacementDetails, AffiliateMeta, AffiliateBagDetails, PlatformArticleAttributes, PlatformItem, Dates, BagReturnableCancelableStatus, BagUnit, ShipmentItemFulFillingStore, Currency, OrderingCurrency, ConversionRate, CurrencyInfo, ShipmentItem, ShipmentInternalPlatformViewResponse, TrackingList, InvoiceInfo, OrderDetailsData, UserDetailsData, PhoneDetails, ContactDetails, CompanyDetails, OrderingStoreDetails, DPDetailsData, BuyerDetails, DebugInfo, EinvoiceInfo, Formatted, ShipmentTags, LockData, ShipmentTimeStamp, ShipmentMeta, PDFLinks, AffiliateDetails, BagConfigs, OrderBagArticle, OrderBrandName, AffiliateBagsDetails, BagPaymentMethods, DiscountRules, ItemCriterias, BuyRules, AppliedPromos, CurrentStatus, OrderBags, FulfillingStore, ShipmentPayments, ShipmentStatusData, ShipmentLockDetails, PlatformShipment, ShipmentInfoResponse, TaxDetails, PaymentInfoData, OrderData, OrderDetailsResponse, SubLane, SuperLane, LaneConfigResponse, PlatformBreakupValues, PlatformChannel, PlatformOrderItems, OrderListingResponse, PlatformTrack, PlatformShipmentTrack, AdvanceFilterInfo, FiltersResponse, URL, FileResponse, BulkActionTemplate, BulkActionTemplateResponse, Reason, PlatformShipmentReasonsResponse, ShipmentResponseReasons, ShipmentReasonsResponse, StoreAddress, EInvoicePortalDetails, StoreEinvoice, StoreEwaybill, StoreGstCredentials, Document, StoreDocuments, StoreMeta, Store, Brand, Item, ArticleStatusDetails, Company, ShipmentGstDetails, DeliverySlotDetails, InvoiceDetails, UserDetails, WeightData, BagDetails, BagDetailsPlatformResponse, BagsPage, BagData, GetBagsPlatformResponse, GeneratePosOrderReceiptResponse, Templates, AllowedTemplatesResponse, TemplateDownloadResponse, Error };
|
|
2891
3090
|
}
|
|
2892
3091
|
/** @returns {InvalidateShipmentCachePayload} */
|
|
2893
3092
|
declare function InvalidateShipmentCachePayload(): InvalidateShipmentCachePayload;
|
|
@@ -2922,9 +3121,22 @@ type InvalidateShipmentCacheResponse = {
|
|
|
2922
3121
|
/** @returns {ErrorResponse} */
|
|
2923
3122
|
declare function ErrorResponse(): ErrorResponse;
|
|
2924
3123
|
type ErrorResponse = {
|
|
3124
|
+
/**
|
|
3125
|
+
* - The HTTP status code corresponding to the error.
|
|
3126
|
+
*/
|
|
2925
3127
|
status?: number;
|
|
3128
|
+
/**
|
|
3129
|
+
* - Indicates whether the operation was
|
|
3130
|
+
* successful. Always false in the case of an error.
|
|
3131
|
+
*/
|
|
2926
3132
|
success?: boolean;
|
|
3133
|
+
/**
|
|
3134
|
+
* - A message describing the error that occurred.
|
|
3135
|
+
*/
|
|
2927
3136
|
message: string;
|
|
3137
|
+
/**
|
|
3138
|
+
* - Error trace of the error that occurred.
|
|
3139
|
+
*/
|
|
2928
3140
|
error_trace?: string;
|
|
2929
3141
|
error?: string;
|
|
2930
3142
|
};
|
|
@@ -5002,15 +5214,393 @@ type ManifestErrorResponse = {
|
|
|
5002
5214
|
*/
|
|
5003
5215
|
error?: string;
|
|
5004
5216
|
};
|
|
5217
|
+
/** @returns {ConfigData} */
|
|
5218
|
+
declare function ConfigData(): ConfigData;
|
|
5219
|
+
type ConfigData = {
|
|
5220
|
+
/**
|
|
5221
|
+
* - Indicates whether the update operation
|
|
5222
|
+
* was acknowledged by the database.
|
|
5223
|
+
*/
|
|
5224
|
+
acknowledged?: boolean;
|
|
5225
|
+
/**
|
|
5226
|
+
* - Indicates whether the update operation
|
|
5227
|
+
* resulted in an upsert (an update or insert).
|
|
5228
|
+
*/
|
|
5229
|
+
is_upserted?: boolean;
|
|
5230
|
+
/**
|
|
5231
|
+
* - Indicates whether the update operation
|
|
5232
|
+
* resulted in a new document being inserted.
|
|
5233
|
+
*/
|
|
5234
|
+
is_inserted?: boolean;
|
|
5235
|
+
};
|
|
5236
|
+
/** @returns {ConfigUpdatedResponse} */
|
|
5237
|
+
declare function ConfigUpdatedResponse(): ConfigUpdatedResponse;
|
|
5238
|
+
type ConfigUpdatedResponse = {
|
|
5239
|
+
/**
|
|
5240
|
+
* - The result of the config update operation,
|
|
5241
|
+
* including whether it was acknowledged, upserted, or inserted.
|
|
5242
|
+
*/
|
|
5243
|
+
data: ConfigData[];
|
|
5244
|
+
/**
|
|
5245
|
+
* - Indicates whether the config update operation
|
|
5246
|
+
* was successful.
|
|
5247
|
+
*/
|
|
5248
|
+
success: boolean;
|
|
5249
|
+
};
|
|
5250
|
+
/** @returns {FlagData} */
|
|
5251
|
+
declare function FlagData(): FlagData;
|
|
5252
|
+
type FlagData = {
|
|
5253
|
+
value?: any;
|
|
5254
|
+
filter?: any;
|
|
5255
|
+
};
|
|
5256
|
+
/** @returns {Flags} */
|
|
5257
|
+
declare function Flags(): Flags;
|
|
5258
|
+
type Flags = {
|
|
5259
|
+
/**
|
|
5260
|
+
* - Indicates whether a
|
|
5261
|
+
* partial transition of bags to the next state is permissible, allowing some
|
|
5262
|
+
* bags to progress while others remain in the current state.
|
|
5263
|
+
*/
|
|
5264
|
+
allow_partial_transition?: FlagData[];
|
|
5265
|
+
/**
|
|
5266
|
+
* - Specifies whether bags within a
|
|
5267
|
+
* shipment, set,cdf or entity can be broken individually or as a group. If
|
|
5268
|
+
* set to false, all bags within the entity must remain together and
|
|
5269
|
+
* transition together to the same state.
|
|
5270
|
+
*/
|
|
5271
|
+
can_break_entity?: FlagData[];
|
|
5272
|
+
/**
|
|
5273
|
+
* - Specifies which fields are
|
|
5274
|
+
* permitted to be updated at the bag level. Allowed fields are:
|
|
5275
|
+
*
|
|
5276
|
+
* - Meta
|
|
5277
|
+
* - Pdf_links
|
|
5278
|
+
* - Affiliate_meta
|
|
5279
|
+
* - Delivery_awb_number
|
|
5280
|
+
* - Store_invoice_id
|
|
5281
|
+
* - Store_id
|
|
5282
|
+
* - Return_store_id
|
|
5283
|
+
* - Eway_bill_id
|
|
5284
|
+
*/
|
|
5285
|
+
allowed_bag_updates?: FlagData[];
|
|
5286
|
+
/**
|
|
5287
|
+
* - Specifies which fields
|
|
5288
|
+
* are permitted to be updated at the bag status level. Allowed fields are:
|
|
5289
|
+
*
|
|
5290
|
+
* - Json
|
|
5291
|
+
*/
|
|
5292
|
+
allowed_bag_status_updates?: FlagData[];
|
|
5293
|
+
/**
|
|
5294
|
+
* - Specifies which fields are
|
|
5295
|
+
* permitted to be updated at shipment level. Allowed fields are:
|
|
5296
|
+
*
|
|
5297
|
+
* - Meta
|
|
5298
|
+
* - Pdf_links
|
|
5299
|
+
* - Affiliate_meta
|
|
5300
|
+
* - Delivery_awb_number
|
|
5301
|
+
* - Store_invoice_id
|
|
5302
|
+
* - Store_id
|
|
5303
|
+
* - Return_store_id
|
|
5304
|
+
* - Eway_bill_id
|
|
5305
|
+
* - Logistics_meta
|
|
5306
|
+
*/
|
|
5307
|
+
allowed_entity_updates?: FlagData[];
|
|
5308
|
+
/**
|
|
5309
|
+
* - Specifies which
|
|
5310
|
+
* fields are permitted to be updated at the Entity status level. Allowed fields are:
|
|
5311
|
+
*
|
|
5312
|
+
* - Json
|
|
5313
|
+
*/
|
|
5314
|
+
allowed_entity_status_updates?: FlagData[];
|
|
5315
|
+
/**
|
|
5316
|
+
* - Describes the type of journey
|
|
5317
|
+
* associated with the particular status of the shipment. Possible values are:
|
|
5318
|
+
*
|
|
5319
|
+
* - Positive
|
|
5320
|
+
* - Negative
|
|
5321
|
+
*/
|
|
5322
|
+
status_update_type?: FlagData[];
|
|
5323
|
+
/**
|
|
5324
|
+
* - Indicates whether a
|
|
5325
|
+
* reason at the product level should be allowed for a particular status.
|
|
5326
|
+
*/
|
|
5327
|
+
is_bag_status_reason_allowed?: FlagData[];
|
|
5328
|
+
/**
|
|
5329
|
+
* - Indicates whether
|
|
5330
|
+
* a reason at the shipment level should be allowed for a particular status.
|
|
5331
|
+
*/
|
|
5332
|
+
is_entity_status_reason_allowed?: FlagData[];
|
|
5333
|
+
/**
|
|
5334
|
+
* - This flag is used to define
|
|
5335
|
+
* the shipment breaking strategy. Possible values are:
|
|
5336
|
+
*
|
|
5337
|
+
* - Break_shipment_based_on_location_reassignment
|
|
5338
|
+
* - Break_shipment_based_on_groups
|
|
5339
|
+
* - Break_shipment_based_on_stormbreaker
|
|
5340
|
+
*/
|
|
5341
|
+
transition_strategy?: FlagData[];
|
|
5342
|
+
};
|
|
5343
|
+
/** @returns {Filter} */
|
|
5344
|
+
declare function Filter(): Filter;
|
|
5345
|
+
type Filter = {
|
|
5346
|
+
/**
|
|
5347
|
+
* - Indicates the type or category of the order.
|
|
5348
|
+
*
|
|
5349
|
+
* - PickAtStore: Pick from store
|
|
5350
|
+
* - HomeDelivery: Home delivery
|
|
5351
|
+
* - Digital: Digital
|
|
5352
|
+
*/
|
|
5353
|
+
order_type?: string;
|
|
5354
|
+
/**
|
|
5355
|
+
* - Specifies whether a partial
|
|
5356
|
+
* transition of the order is allowed, allowing some components to progress
|
|
5357
|
+
* while others remain in the current state.
|
|
5358
|
+
*/
|
|
5359
|
+
is_partial_transition?: boolean;
|
|
5360
|
+
/**
|
|
5361
|
+
* - Indicates whether the
|
|
5362
|
+
* assignment of a designated person is automatically triggered in the context of ACF.
|
|
5363
|
+
*/
|
|
5364
|
+
auto_trigger_dp_assignment_acf?: boolean;
|
|
5365
|
+
/**
|
|
5366
|
+
* - Indicates the current locking status of
|
|
5367
|
+
* the shipment.
|
|
5368
|
+
*
|
|
5369
|
+
* - `complete`: Complete shipment lock
|
|
5370
|
+
* - `operational`: Operational shipment lock
|
|
5371
|
+
* - `None`: No lock on shipment
|
|
5372
|
+
*/
|
|
5373
|
+
lock_status?: string;
|
|
5374
|
+
/**
|
|
5375
|
+
* - Specifies whether locking is
|
|
5376
|
+
* required after transitioning to the next status. lock_after_transition :
|
|
5377
|
+
* true - Lock Transition enabled lock_after_transition : false - Lock
|
|
5378
|
+
* Transition set false
|
|
5379
|
+
*/
|
|
5380
|
+
lock_after_transition?: boolean;
|
|
5381
|
+
/**
|
|
5382
|
+
* - Indicates whether tasks
|
|
5383
|
+
* should resume automatically after unlocking, such as DP assignment task and
|
|
5384
|
+
* invoicing task.
|
|
5385
|
+
*/
|
|
5386
|
+
resume_tasks_after_unlock?: boolean;
|
|
5387
|
+
/**
|
|
5388
|
+
* - Indicates whether an invoice ID
|
|
5389
|
+
* is present for the order.
|
|
5390
|
+
*/
|
|
5391
|
+
is_invoice_id_present?: boolean;
|
|
5392
|
+
/**
|
|
5393
|
+
* - Indicates whether a credit
|
|
5394
|
+
* note has been generated for the order.
|
|
5395
|
+
*/
|
|
5396
|
+
is_credit_note_generated?: boolean;
|
|
5397
|
+
/**
|
|
5398
|
+
* - Specifies whether an
|
|
5399
|
+
* automated virtual invoice ID is associated with the order.
|
|
5400
|
+
*/
|
|
5401
|
+
fulfill_virtual_invoice?: boolean;
|
|
5402
|
+
/**
|
|
5403
|
+
* - Indicates the next status to which the
|
|
5404
|
+
* order will transition.
|
|
5405
|
+
*/
|
|
5406
|
+
next_status?: string;
|
|
5407
|
+
/**
|
|
5408
|
+
* - Indicates whether a task is enabled
|
|
5409
|
+
* for the order.
|
|
5410
|
+
*/
|
|
5411
|
+
is_hook_enabled?: boolean;
|
|
5412
|
+
/**
|
|
5413
|
+
* - Specifies whether a credit note
|
|
5414
|
+
* check is performed in a point of sale (POS) scenario.
|
|
5415
|
+
*/
|
|
5416
|
+
pos_credit_note_check?: boolean;
|
|
5417
|
+
/**
|
|
5418
|
+
* - Specifies the platform on which the
|
|
5419
|
+
* order was placed.
|
|
5420
|
+
*
|
|
5421
|
+
* - `platform-pos`: POS
|
|
5422
|
+
* - `platform-site`: WEB
|
|
5423
|
+
* - `openapi`: OPENAPI
|
|
5424
|
+
* - `marketplace`: MARKETPLACE
|
|
5425
|
+
*/
|
|
5426
|
+
order_platform?: string;
|
|
5427
|
+
/**
|
|
5428
|
+
* - Indicates the type of refund associated
|
|
5429
|
+
* with the order.
|
|
5430
|
+
*
|
|
5431
|
+
* - `credit_note`: CREDIT_NOTE
|
|
5432
|
+
* - `source`: SOURCE
|
|
5433
|
+
* - `bank_transfer`: BANK
|
|
5434
|
+
* - `manual_refund`: MANUAL_REFUND
|
|
5435
|
+
*/
|
|
5436
|
+
refund_type?: string;
|
|
5437
|
+
/**
|
|
5438
|
+
* - Specifies whether the platform is
|
|
5439
|
+
* non-point of sale (POS) in nature.
|
|
5440
|
+
*/
|
|
5441
|
+
is_non_pos_platform?: boolean;
|
|
5442
|
+
/**
|
|
5443
|
+
* - Indicates whether the order is
|
|
5444
|
+
* self-shipped by the seller.
|
|
5445
|
+
*/
|
|
5446
|
+
is_self_ship?: boolean;
|
|
5447
|
+
/**
|
|
5448
|
+
* - Specifies the country code of the seller.
|
|
5449
|
+
*
|
|
5450
|
+
* - `seller_country_code`: US
|
|
5451
|
+
* - `seller_country_code`: UK
|
|
5452
|
+
* - `seller_country_code`: IN
|
|
5453
|
+
*/
|
|
5454
|
+
seller_country_code?: string;
|
|
5455
|
+
/**
|
|
5456
|
+
* - Specifies the country code of the seller.
|
|
5457
|
+
*
|
|
5458
|
+
* - `customer_country_code`: US
|
|
5459
|
+
* - `customer_country_code`: UK
|
|
5460
|
+
* - `customer_country_code`: IN
|
|
5461
|
+
*/
|
|
5462
|
+
customer_country_code?: string;
|
|
5463
|
+
/**
|
|
5464
|
+
* - Indicates whether the order is a test
|
|
5465
|
+
* order used for testing purposes - `is_test_order` : True - indicates test order
|
|
5466
|
+
*/
|
|
5467
|
+
is_test_order?: boolean;
|
|
5468
|
+
/**
|
|
5469
|
+
* - Specifies trigger conditions:
|
|
5470
|
+
*
|
|
5471
|
+
* - `status_update`: Status Update
|
|
5472
|
+
* - `data_update`: Data Update
|
|
5473
|
+
*/
|
|
5474
|
+
task_trigger_condition?: string[];
|
|
5475
|
+
};
|
|
5476
|
+
/** @returns {PostHook} */
|
|
5477
|
+
declare function PostHook(): PostHook;
|
|
5478
|
+
type PostHook = {
|
|
5479
|
+
/**
|
|
5480
|
+
* - Name of the hook that has to be added
|
|
5481
|
+
*/
|
|
5482
|
+
task: string;
|
|
5483
|
+
/**
|
|
5484
|
+
* - Additional parameters for the hook
|
|
5485
|
+
*/
|
|
5486
|
+
kwargs?: any;
|
|
5487
|
+
/**
|
|
5488
|
+
* - Filters for scope selection.
|
|
5489
|
+
*/
|
|
5490
|
+
filters?: Filter;
|
|
5491
|
+
};
|
|
5492
|
+
/** @returns {PreHook} */
|
|
5493
|
+
declare function PreHook(): PreHook;
|
|
5494
|
+
type PreHook = {
|
|
5495
|
+
/**
|
|
5496
|
+
* - Name of the hook that has to be added
|
|
5497
|
+
*/
|
|
5498
|
+
task: string;
|
|
5499
|
+
/**
|
|
5500
|
+
* - Additional parameters for the hook
|
|
5501
|
+
*/
|
|
5502
|
+
kwargs?: any;
|
|
5503
|
+
/**
|
|
5504
|
+
* - Filter
|
|
5505
|
+
*/
|
|
5506
|
+
filters?: Filter;
|
|
5507
|
+
};
|
|
5508
|
+
/** @returns {Config} */
|
|
5509
|
+
declare function Config(): Config;
|
|
5510
|
+
type Config = {
|
|
5511
|
+
/**
|
|
5512
|
+
* - Source state from which state transition
|
|
5513
|
+
* will take place
|
|
5514
|
+
*/
|
|
5515
|
+
from_state?: string;
|
|
5516
|
+
/**
|
|
5517
|
+
* - Target state to which state transition will take place
|
|
5518
|
+
*/
|
|
5519
|
+
to_state?: string;
|
|
5520
|
+
/**
|
|
5521
|
+
* - Tasks to be run before state transition
|
|
5522
|
+
*/
|
|
5523
|
+
pre_hooks?: PreHook[];
|
|
5524
|
+
/**
|
|
5525
|
+
* - Tasks to be run after state transition
|
|
5526
|
+
*/
|
|
5527
|
+
post_hooks?: PostHook[];
|
|
5528
|
+
/**
|
|
5529
|
+
* - Various flags related to the transition. These
|
|
5530
|
+
* include options and settings that influence the behavior of the state
|
|
5531
|
+
* transition, such as whether partial transitions are allowed or whether the
|
|
5532
|
+
* transition can break the entity.
|
|
5533
|
+
*/
|
|
5534
|
+
flags?: Flags;
|
|
5535
|
+
};
|
|
5536
|
+
/** @returns {TransitionConfigCondition} */
|
|
5537
|
+
declare function TransitionConfigCondition(): TransitionConfigCondition;
|
|
5538
|
+
type TransitionConfigCondition = {
|
|
5539
|
+
/**
|
|
5540
|
+
* - The unique identifier of the application to which
|
|
5541
|
+
* the configuration applies.
|
|
5542
|
+
*/
|
|
5543
|
+
app_id: string;
|
|
5544
|
+
/**
|
|
5545
|
+
* - The channel through which the order was
|
|
5546
|
+
* placed, such as ECOMM or another specified channel.
|
|
5547
|
+
*/
|
|
5548
|
+
ordering_channel: string;
|
|
5549
|
+
/**
|
|
5550
|
+
* - The type of entity that the configuration pertains to.
|
|
5551
|
+
*/
|
|
5552
|
+
entity: string;
|
|
5553
|
+
};
|
|
5554
|
+
/** @returns {TransitionConfigData} */
|
|
5555
|
+
declare function TransitionConfigData(): TransitionConfigData;
|
|
5556
|
+
type TransitionConfigData = {
|
|
5557
|
+
/**
|
|
5558
|
+
* - Conditions that must be
|
|
5559
|
+
* met for the ESM config to be applied.
|
|
5560
|
+
*/
|
|
5561
|
+
conditions?: TransitionConfigCondition;
|
|
5562
|
+
/**
|
|
5563
|
+
* - The configuration settings for the entity
|
|
5564
|
+
* transition. This includes pre_hooks, post_hooks, and flags for each
|
|
5565
|
+
* transition state.
|
|
5566
|
+
*/
|
|
5567
|
+
configs?: Config[];
|
|
5568
|
+
};
|
|
5569
|
+
/** @returns {TransitionConfigPayload} */
|
|
5570
|
+
declare function TransitionConfigPayload(): TransitionConfigPayload;
|
|
5571
|
+
type TransitionConfigPayload = {
|
|
5572
|
+
data?: TransitionConfigData;
|
|
5573
|
+
};
|
|
5005
5574
|
/** @returns {Page} */
|
|
5006
5575
|
declare function Page(): Page;
|
|
5007
5576
|
type Page = {
|
|
5577
|
+
/**
|
|
5578
|
+
* - The total number of items on the page.
|
|
5579
|
+
*/
|
|
5008
5580
|
item_total?: number;
|
|
5581
|
+
/**
|
|
5582
|
+
* - The identifier for the next page.
|
|
5583
|
+
*/
|
|
5009
5584
|
next_id?: string;
|
|
5585
|
+
/**
|
|
5586
|
+
* - Indicates whether there is a previous page.
|
|
5587
|
+
*/
|
|
5010
5588
|
has_previous?: boolean;
|
|
5589
|
+
/**
|
|
5590
|
+
* - Indicates whether there is a next page.
|
|
5591
|
+
*/
|
|
5011
5592
|
has_next?: boolean;
|
|
5593
|
+
/**
|
|
5594
|
+
* - The current page number.
|
|
5595
|
+
*/
|
|
5012
5596
|
current?: number;
|
|
5597
|
+
/**
|
|
5598
|
+
* - The type of the page, such as 'PageType'.
|
|
5599
|
+
*/
|
|
5013
5600
|
type: string;
|
|
5601
|
+
/**
|
|
5602
|
+
* - The number of items per page.
|
|
5603
|
+
*/
|
|
5014
5604
|
size?: number;
|
|
5015
5605
|
};
|
|
5016
5606
|
/** @returns {BagReasonMeta} */
|
|
@@ -5464,6 +6054,12 @@ type ShipmentItem = {
|
|
|
5464
6054
|
shipment_created_ts?: string;
|
|
5465
6055
|
currency?: Currency;
|
|
5466
6056
|
currency_info?: CurrencyInfo;
|
|
6057
|
+
/**
|
|
6058
|
+
* - Flag to show NDR actions based on
|
|
6059
|
+
* LAPA (Logistic As Per Actual) plan subscription. If LAPA plan taken, true,
|
|
6060
|
+
* else false.
|
|
6061
|
+
*/
|
|
6062
|
+
is_lapa_enabled?: boolean;
|
|
5467
6063
|
};
|
|
5468
6064
|
/** @returns {ShipmentInternalPlatformViewResponse} */
|
|
5469
6065
|
declare function ShipmentInternalPlatformViewResponse(): ShipmentInternalPlatformViewResponse;
|
|
@@ -5944,6 +6540,12 @@ type PlatformShipment = {
|
|
|
5944
6540
|
credit_note_id?: string;
|
|
5945
6541
|
is_self_ship?: boolean;
|
|
5946
6542
|
mode_of_payment?: string;
|
|
6543
|
+
/**
|
|
6544
|
+
* - Flag to show NDR actions based on
|
|
6545
|
+
* LAPA (Logistic As Per Actual) plan subscription. If LAPA plan taken, true,
|
|
6546
|
+
* else false.
|
|
6547
|
+
*/
|
|
6548
|
+
is_lapa_enabled?: boolean;
|
|
5947
6549
|
};
|
|
5948
6550
|
/** @returns {ShipmentInfoResponse} */
|
|
5949
6551
|
declare function ShipmentInfoResponse(): ShipmentInfoResponse;
|
|
@@ -6280,23 +6882,13 @@ type Brand = {
|
|
|
6280
6882
|
modified_on?: string;
|
|
6281
6883
|
id?: number;
|
|
6282
6884
|
};
|
|
6283
|
-
/** @returns {Attributes} */
|
|
6284
|
-
declare function Attributes(): Attributes;
|
|
6285
|
-
type Attributes = {
|
|
6286
|
-
primary_material?: string;
|
|
6287
|
-
essential?: string;
|
|
6288
|
-
marketer_name?: string;
|
|
6289
|
-
primary_color?: string;
|
|
6290
|
-
marketer_address?: string;
|
|
6291
|
-
primary_color_hex?: string;
|
|
6292
|
-
brand_name?: string;
|
|
6293
|
-
name?: string;
|
|
6294
|
-
gender?: string[];
|
|
6295
|
-
};
|
|
6296
6885
|
/** @returns {Item} */
|
|
6297
6886
|
declare function Item(): Item;
|
|
6298
6887
|
type Item = {
|
|
6299
|
-
|
|
6888
|
+
/**
|
|
6889
|
+
* - A dictionary of product attributes
|
|
6890
|
+
*/
|
|
6891
|
+
attributes: any;
|
|
6300
6892
|
brand_id: number;
|
|
6301
6893
|
slug_key: string;
|
|
6302
6894
|
webstore_product_url?: string;
|