@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.1
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/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +53 -60
- package/sdk/application/Cart/CartApplicationClient.js +53 -130
- package/sdk/application/Cart/CartApplicationModel.d.ts +143 -489
- package/sdk/application/Cart/CartApplicationModel.js +159 -380
- package/sdk/application/Cart/CartApplicationValidator.d.ts +19 -38
- package/sdk/application/Cart/CartApplicationValidator.js +18 -34
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +68 -88
- package/sdk/application/Catalog/CatalogApplicationClient.js +94 -114
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +142 -194
- package/sdk/application/Catalog/CatalogApplicationModel.js +133 -171
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -3
- package/sdk/application/Common/CommonApplicationClient.js +5 -6
- package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
- package/sdk/application/Common/CommonApplicationModel.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +27 -34
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +27 -34
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +57 -45
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +47 -35
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +33 -23
- package/sdk/application/Content/ContentApplicationClient.js +75 -54
- package/sdk/application/Content/ContentApplicationModel.d.ts +37 -93
- package/sdk/application/Content/ContentApplicationModel.js +32 -83
- package/sdk/application/Content/ContentApplicationValidator.d.ts +17 -23
- package/sdk/application/Content/ContentApplicationValidator.js +10 -15
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -9
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +13 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +25 -23
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +18 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -2
- package/sdk/application/Lead/LeadApplicationClient.js +3 -2
- package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationModel.js +19 -19
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +16 -39
- package/sdk/application/Logistic/LogisticApplicationClient.js +21 -189
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +173 -532
- package/sdk/application/Logistic/LogisticApplicationModel.js +139 -409
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +9 -54
- package/sdk/application/Logistic/LogisticApplicationValidator.js +8 -42
- package/sdk/application/Order/OrderApplicationClient.d.ts +10 -24
- package/sdk/application/Order/OrderApplicationClient.js +13 -96
- package/sdk/application/Order/OrderApplicationModel.d.ts +120 -436
- package/sdk/application/Order/OrderApplicationModel.js +81 -279
- package/sdk/application/Order/OrderApplicationValidator.d.ts +3 -17
- package/sdk/application/Order/OrderApplicationValidator.js +2 -15
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +99 -96
- package/sdk/application/Payment/PaymentApplicationClient.js +114 -111
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +289 -293
- package/sdk/application/Payment/PaymentApplicationModel.js +241 -243
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +22 -19
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
- package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
- package/sdk/application/Share/ShareApplicationModel.js +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +6 -8
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +17 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +22 -42
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +3 -16
- package/sdk/application/Theme/ThemeApplicationValidator.js +2 -9
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +10 -10
- package/sdk/application/User/UserApplicationModel.d.ts +17 -17
- package/sdk/application/User/UserApplicationModel.js +16 -16
- package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
- package/sdk/application/User/UserApplicationValidator.js +2 -2
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +9 -11
- package/sdk/application/Webhook/WebhookApplicationModel.js +6 -8
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
- package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
- package/sdk/application/index.d.ts +0 -1
- package/sdk/application/index.js +0 -2
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +85 -767
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
- package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +112 -407
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1304 -4979
- package/sdk/platform/Cart/CartPlatformModel.js +1217 -1922
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
- package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1751 -1501
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1224 -1393
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +124 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +94 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
- package/sdk/platform/Content/ContentPlatformModel.js +390 -521
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -15
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -83
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -25
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -16
- package/sdk/platform/Order/OrderPlatformClient.d.ts +97 -178
- package/sdk/platform/Order/OrderPlatformClient.js +245 -597
- package/sdk/platform/Order/OrderPlatformModel.d.ts +3071 -5449
- package/sdk/platform/Order/OrderPlatformModel.js +1656 -3501
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +190 -237
- package/sdk/platform/Order/OrderPlatformValidator.js +105 -153
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +106 -94
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +507 -386
- package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +35 -45
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +341 -602
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +284 -483
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
- package/sdk/platform/Share/SharePlatformModel.js +4 -27
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
- package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +5 -791
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -36
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
- package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
- package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
|
@@ -32,12 +32,7 @@ export = OrderApplicationModel;
|
|
|
32
32
|
* @property {string} [name] - The official name of the entity.
|
|
33
33
|
* @property {string} [display] - The name of the entity as it should be displayed.
|
|
34
34
|
* @property {string} [currency_code] - The international currency code
|
|
35
|
-
* representing the currency used for the value.
|
|
36
|
-
* code for all amounts. The currency_code field will hold a string value
|
|
37
|
-
* representing the code for the currency in which all monetary amounts are
|
|
38
|
-
* denominated. This code typically follows the ISO 4217 standard, which uses
|
|
39
|
-
* three-letter alphabetic codes to define different currencies around the
|
|
40
|
-
* world. For example, 'USD' for United States Dollar, 'INR' for Indian Rupees.
|
|
35
|
+
* representing the currency used for the value.
|
|
41
36
|
*/
|
|
42
37
|
/**
|
|
43
38
|
* @typedef ShipmentPayment
|
|
@@ -77,42 +72,8 @@ export = OrderApplicationModel;
|
|
|
77
72
|
* @property {string} [code] - A code associated with the store.
|
|
78
73
|
* @property {string} [name] - The name of the store.
|
|
79
74
|
* @property {string} [company_name] - The name of the company associated with the store.
|
|
80
|
-
* @property {number} [company_id] -
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @typedef ChargeDistributionSchema
|
|
84
|
-
* @property {string} type - This field defines the distribution type, e.g
|
|
85
|
-
* values('multi', 'single') multi: distribute the changes across all entity
|
|
86
|
-
* single: distribute the changes across to any one single entity
|
|
87
|
-
* @property {string} logic - This field defines the distribution logic e.g
|
|
88
|
-
* values('apportion', 'equally') apportion: distribute charge amount based of
|
|
89
|
-
* weighted average amount of all the entity (like article with [10, 20] will
|
|
90
|
-
* get charge of 9 as [3, 6]) equally: distribute charge amount 'equally' to
|
|
91
|
-
* all the entity
|
|
92
|
-
*/
|
|
93
|
-
/**
|
|
94
|
-
* @typedef ChargeDistributionLogic
|
|
95
|
-
* @property {ChargeDistributionSchema} distribution
|
|
96
|
-
* @property {string} distribution_level - This field defines the distribution
|
|
97
|
-
* level, e.g distribution level is (order, shipment, article)
|
|
98
|
-
*/
|
|
99
|
-
/**
|
|
100
|
-
* @typedef ChargeAmountCurrency
|
|
101
|
-
* @property {number} value - Charge currency value or amount
|
|
102
|
-
* @property {string} currency - Charge currency code
|
|
103
|
-
*/
|
|
104
|
-
/**
|
|
105
|
-
* @typedef ChargeAmount
|
|
106
|
-
* @property {ChargeAmountCurrency} base_currency
|
|
107
|
-
* @property {ChargeAmountCurrency} ordering_currency
|
|
108
|
-
*/
|
|
109
|
-
/**
|
|
110
|
-
* @typedef PriceAdjustmentCharge
|
|
111
|
-
* @property {string} [code] - Code defined for charge
|
|
112
|
-
* @property {string} name - Display name for charge (charge is unique by the name)
|
|
113
|
-
* @property {string} [type] - Type defined for charge
|
|
114
|
-
* @property {ChargeAmount} amount
|
|
115
|
-
* @property {ChargeDistributionLogic} distribution_logic
|
|
75
|
+
* @property {number} [company_id] - The identifier of the company associated
|
|
76
|
+
* with the store.
|
|
116
77
|
*/
|
|
117
78
|
/**
|
|
118
79
|
* @typedef ShipmentStatus
|
|
@@ -121,10 +82,7 @@ export = OrderApplicationModel;
|
|
|
121
82
|
* @property {string} [title] - The title or display name representing the
|
|
122
83
|
* shipment status.
|
|
123
84
|
* @property {string} [hex_code] - The hexadecimal color code associated with
|
|
124
|
-
* the shipment status.
|
|
125
|
-
* "cancelled", "delivered", etc.) is associated with a unique color,
|
|
126
|
-
* represented by a hex code. This color coding makes it visually intuitive
|
|
127
|
-
* for users to understand the status of their shipment at a glance.
|
|
85
|
+
* the shipment status.
|
|
128
86
|
*/
|
|
129
87
|
/**
|
|
130
88
|
* @typedef Invoice
|
|
@@ -197,12 +155,7 @@ export = OrderApplicationModel;
|
|
|
197
155
|
* @property {number} [promotion_effective_discount] - The effective discount
|
|
198
156
|
* from promotions.
|
|
199
157
|
* @property {number} [refund_amount] - The amount refunded to the customer.
|
|
200
|
-
* @property {string} [currency_code] -
|
|
201
|
-
* amounts. The currency_code field will hold a string value representing the
|
|
202
|
-
* code for the currency in which all monetary amounts are denominated. This
|
|
203
|
-
* code typically follows the ISO 4217 standard, which uses three-letter
|
|
204
|
-
* alphabetic codes to define different currencies around the world. For
|
|
205
|
-
* example, 'USD' for United States Dollar, 'INR' for Indian Rupees.
|
|
158
|
+
* @property {string} [currency_code] - The code of the currency used.
|
|
206
159
|
* @property {number} [fynd_credits] - The amount of Fynd credits used.
|
|
207
160
|
* @property {number} [amount_to_be_collected] - The total amount that needs to
|
|
208
161
|
* be collected from the customer.
|
|
@@ -215,15 +168,18 @@ export = OrderApplicationModel;
|
|
|
215
168
|
/**
|
|
216
169
|
* @typedef Item
|
|
217
170
|
* @property {string[]} [image] - An array of URLs pointing to images of the item.
|
|
218
|
-
* @property {string[]} [l1_categories] - An array of level 1 categories
|
|
171
|
+
* @property {string[]} [l1_categories] - An array of level 1 categories to
|
|
172
|
+
* which the item belongs.
|
|
173
|
+
* @property {string[]} [l2_category] - An array of level 2 categories to which
|
|
174
|
+
* the item belongs.
|
|
175
|
+
* @property {number} [l2_category_id] - ID representing the level 2 category
|
|
176
|
+
* classification of the item
|
|
219
177
|
* @property {ItemBrand} [brand]
|
|
220
178
|
* @property {string} [seller_identifier] - The identifier for the seller .
|
|
221
179
|
* @property {string} [code] - The code or SKU of the item.
|
|
222
180
|
* @property {number} [id] - The unique identifier of the item.
|
|
223
181
|
* @property {string} [name] - The name of the item.
|
|
224
|
-
* @property {string} [l3_category_name] -
|
|
225
|
-
* third-level category under which the product is listed, offering a more
|
|
226
|
-
* detailed classification within the e-commerce platform's hierarchy.
|
|
182
|
+
* @property {string} [l3_category_name] - The level 3 category name.
|
|
227
183
|
* @property {string} [slug_key] - A unique key or identifier for the item slug.
|
|
228
184
|
* @property {string[]} [l2_categories] - An array of level 2 categories the
|
|
229
185
|
* item belongs to.
|
|
@@ -247,34 +203,14 @@ export = OrderApplicationModel;
|
|
|
247
203
|
* qualify for the promotion.
|
|
248
204
|
* @property {string} [promo_id] - The unique identifier for the promotion.
|
|
249
205
|
* @property {number} [amount] - The discount amount provided by the promotion.
|
|
250
|
-
* @property {string} [promotion_type] -
|
|
251
|
-
* applied to the current promotion, defining how the promotion modifies the
|
|
252
|
-
* price or adds value to the purchase. Each type represents a different
|
|
253
|
-
* promotional strategy - percentage- Discount by a percentage of the original
|
|
254
|
-
* price. - amount- Discount by a specific amount off the original price. -
|
|
255
|
-
* fixed_price- Sets the price to a specific fixed amount. - bogo- Buy One Get
|
|
256
|
-
* One or at a discount. - contract_price- Special pricing based on a contract
|
|
257
|
-
* or agreement. - shipping_price- Discount or deal related to the shipping
|
|
258
|
-
* cost. - ladder_price- Price changes based on quantity purchased. -
|
|
259
|
-
* bundle_price_percentage- Discount on a bundle purchase by a percentage. -
|
|
260
|
-
* bundle_price_amount- Discount on a bundle purchase by a specific amount. -
|
|
261
|
-
* bundle_amount_percentage- A percentage of the purchase amount is applied as
|
|
262
|
-
* a discount when buying in a bundle. - custom- A custom promotion not
|
|
263
|
-
* covered by other types. - free_gift_items- Free gift items are included
|
|
264
|
-
* with the purchase. - free_non_sellable_items- Free items that are not for
|
|
265
|
-
* sale are included with the purchase.
|
|
206
|
+
* @property {string} [promotion_type] - The type of promotion.
|
|
266
207
|
* @property {AppliedFreeArticles[]} [applied_free_articles] - An array
|
|
267
208
|
* containing details of free articles applied under the promotion.
|
|
268
209
|
*/
|
|
269
210
|
/**
|
|
270
211
|
* @typedef Identifiers
|
|
271
212
|
* @property {string} [ean] - The European Article Number (EAN) of the item.
|
|
272
|
-
* @property {string} [sku_code] - The Stock Keeping Unit (SKU) code of the item
|
|
273
|
-
* - uniquely identifies each distinct product. SKUs are used to track
|
|
274
|
-
* inventory levels, facilitate accurate stocktaking, and streamline order
|
|
275
|
-
* fulfillment processes. This code is essential for inventory management,
|
|
276
|
-
* allowing for the differentiation between products based on attributes such
|
|
277
|
-
* as price, color, and size.
|
|
213
|
+
* @property {string} [sku_code] - The Stock Keeping Unit (SKU) code of the item.
|
|
278
214
|
*/
|
|
279
215
|
/**
|
|
280
216
|
* @typedef FinancialBreakup
|
|
@@ -285,12 +221,8 @@ export = OrderApplicationModel;
|
|
|
285
221
|
* other charges.
|
|
286
222
|
* @property {number} [price_marked] - The original marked price of the item.
|
|
287
223
|
* @property {number} [coupon_effective_discount] - The effective discount from coupons.
|
|
288
|
-
* @property {string} [hsn_code] - The HSN
|
|
289
|
-
*
|
|
290
|
-
* classifying goods. It is used in trade and commerce to identify products
|
|
291
|
-
* and services uniformly across different countries and industries. The
|
|
292
|
-
* system was developed by the World Customs Organization (WCO) and is widely
|
|
293
|
-
* used in customs processes and tax systems.
|
|
224
|
+
* @property {string} [hsn_code] - The HSN (Harmonized System of Nomenclature)
|
|
225
|
+
* code of the item.
|
|
294
226
|
* @property {number} [discount] - The discount applied to the item.
|
|
295
227
|
* @property {number} [gst_tax_percentage] - The GST tax percentage applied .
|
|
296
228
|
* @property {number} [cod_charges] - The cash on delivery charges, if applicable.
|
|
@@ -322,13 +254,8 @@ export = OrderApplicationModel;
|
|
|
322
254
|
* @property {string} [updated_at] - The date and time when the status was last updated.
|
|
323
255
|
* @property {string} [name] - The name or label indicating the current state or status.
|
|
324
256
|
* @property {string} [status] - The current status of the bag.
|
|
325
|
-
* @property {string} [journey_type] -
|
|
326
|
-
*
|
|
327
|
-
* Journey: The forward journey encompasses all the stages of shipping,
|
|
328
|
-
* including order placement, packing, dispatch, in-transit updates, and
|
|
329
|
-
* delivery. Return Journey: Contrary to the forward journey, the return
|
|
330
|
-
* journey involves the process of sending items back from the customer to the
|
|
331
|
-
* original sender or a designated return facility.
|
|
257
|
+
* @property {string} [journey_type] - The type of journey for the shipment,
|
|
258
|
+
* indicating the direction of the shipment.
|
|
332
259
|
*/
|
|
333
260
|
/**
|
|
334
261
|
* @typedef Bags
|
|
@@ -350,19 +277,11 @@ export = OrderApplicationModel;
|
|
|
350
277
|
* financial details of the item.
|
|
351
278
|
* @property {Object} [parent_promo_bags] - An object containing details of
|
|
352
279
|
* parent promotional bags.
|
|
353
|
-
* @property {Object} [meta] -
|
|
354
|
-
*
|
|
355
|
-
* Additionally it is dynamic.
|
|
356
|
-
* @property {string} [currency_code] - This specifies the currency code for all
|
|
357
|
-
* amounts. The currency_code field will hold a string value representing the
|
|
358
|
-
* code for the currency in which all monetary amounts are denominated. This
|
|
359
|
-
* code typically follows the ISO 4217 standard, which uses three-letter
|
|
360
|
-
* alphabetic codes to define different currencies around the world. For
|
|
361
|
-
* example, 'USD' for United States Dollar, 'INR' for Indian Rupees.
|
|
280
|
+
* @property {Object} [meta] - An object containing metadata for the item.
|
|
281
|
+
* @property {string} [currency_code] - The code of the currency used.
|
|
362
282
|
* @property {string} [seller_identifier] - The identifier for the seller.
|
|
363
283
|
* @property {CurrentStatus} [current_status]
|
|
364
284
|
* @property {Article} [article]
|
|
365
|
-
* @property {PriceAdjustmentCharge[]} [charges]
|
|
366
285
|
*/
|
|
367
286
|
/**
|
|
368
287
|
* @typedef FulfillingCompany
|
|
@@ -384,7 +303,7 @@ export = OrderApplicationModel;
|
|
|
384
303
|
* @property {string} [area] - The area or locality.
|
|
385
304
|
* @property {string} [city] - The city of the address.
|
|
386
305
|
* @property {string} [address] - The full address.
|
|
387
|
-
* @property {string} [address_type] - The type of
|
|
306
|
+
* @property {string} [address_type] - The type of address.
|
|
388
307
|
* @property {number} [longitude] - The longitude coordinate.
|
|
389
308
|
* @property {string} [country_iso_code] - The ISO code for the country.
|
|
390
309
|
* @property {string} [state] - The state of the address.
|
|
@@ -394,20 +313,7 @@ export = OrderApplicationModel;
|
|
|
394
313
|
* typically used for printing or displaying in user interfaces.
|
|
395
314
|
* @property {string} [name] - The name of the person associated with the address.
|
|
396
315
|
* @property {string} [contact_person] - The name of the contact person.
|
|
397
|
-
* @property {string} [address_category] -
|
|
398
|
-
* address. The address_category field that includes "store", "delivery", and
|
|
399
|
-
* "billing" serves to classify addresses based on various business processes
|
|
400
|
-
*
|
|
401
|
-
* - 'store': Identifies addresses associated with physical retail locations or
|
|
402
|
-
* warehouses which is essential for inventory management, order
|
|
403
|
-
* fulfillment, and facilitating in-store pickups or returns.
|
|
404
|
-
* - 'delivery': Identifies addresses where orders are shipped to customers which
|
|
405
|
-
* ensures successful delivery, enhancing customer satisfaction, and
|
|
406
|
-
* optimizing logistics operations.
|
|
407
|
-
* - 'billing': Identifies addresses used for billing and financial transactions
|
|
408
|
-
* which are essential for payment processing, invoice generation, and
|
|
409
|
-
* maintaining financial accuracy.
|
|
410
|
-
*
|
|
316
|
+
* @property {string} [address_category] - The category of the address.
|
|
411
317
|
* @property {string} [email] - The email address.
|
|
412
318
|
* @property {string} [country_phone_code] - The country phone code.
|
|
413
319
|
* @property {string} [version] - The version of the address format.
|
|
@@ -420,25 +326,8 @@ export = OrderApplicationModel;
|
|
|
420
326
|
* @property {ShipmentPaymentInfo[]} [payment_info] - Array of objects
|
|
421
327
|
* containing payment methods used for placing an order. Each object will
|
|
422
328
|
* provide information about corresponding payment method with relevant details.
|
|
423
|
-
* @property {string} [order_type] -
|
|
424
|
-
*
|
|
425
|
-
* preferences. This field categorizes orders into distinct types, each
|
|
426
|
-
* associated with a unique processing flow. For example:
|
|
427
|
-
*
|
|
428
|
-
* - "HomeDelivery": The order undergoes all state transitions typical for a
|
|
429
|
-
* delivery, from processing the shipment to final delivery at the
|
|
430
|
-
* customer's address.
|
|
431
|
-
* - "PickAtStore": The order is prepared for pickup and moved to a state where it
|
|
432
|
-
* is ready to be handed over directly to the customer at the store. This
|
|
433
|
-
* type streamlines the process by bypassing traditional shipping stages
|
|
434
|
-
* and facilitating a quicker transition to the final handover stage.
|
|
435
|
-
*
|
|
436
|
-
* @property {string} [gstin_code] - A GST Number (Goods and Services Tax
|
|
437
|
-
* Identification Number, often abbreviated as GSTIN) is a unique identifier
|
|
438
|
-
* assigned to a business or individual registered under the Goods and
|
|
439
|
-
* Services Tax (GST) system in countries like India. The GST number is
|
|
440
|
-
* essential for businesses to comply with tax regulations and for the
|
|
441
|
-
* government to track tax payments and returns.
|
|
329
|
+
* @property {string} [order_type] - The type of order.
|
|
330
|
+
* @property {string} [gstin_code] - The GSTIN code for the shipment.
|
|
442
331
|
* @property {boolean} [show_download_invoice] - Indicates if the download
|
|
443
332
|
* invoice option should be shown.
|
|
444
333
|
* @property {boolean} [can_cancel] - Indicates if the shipment can be canceled.
|
|
@@ -485,8 +374,7 @@ export = OrderApplicationModel;
|
|
|
485
374
|
* @property {Object} [return_meta] - An object containing metadata about the
|
|
486
375
|
* return process.
|
|
487
376
|
* @property {string} [delivery_date] - The expected delivery date.
|
|
488
|
-
* @property {
|
|
489
|
-
* @property {PriceAdjustmentCharge[]} [charges]
|
|
377
|
+
* @property {OrderRequest} [order]
|
|
490
378
|
*/
|
|
491
379
|
/**
|
|
492
380
|
* @typedef BagsForReorderArticleAssignment
|
|
@@ -506,12 +394,7 @@ export = OrderApplicationModel;
|
|
|
506
394
|
* @typedef OrderSchema
|
|
507
395
|
* @property {number} [total_shipments_in_order] - The total number of shipments
|
|
508
396
|
* in the order.
|
|
509
|
-
* @property {string} [gstin_code] -
|
|
510
|
-
* Identification Number, often abbreviated as GSTIN) is a unique identifier
|
|
511
|
-
* assigned to a business or individual registered under the Goods and
|
|
512
|
-
* Services Tax (GST) system in countries like India. The GST number is
|
|
513
|
-
* essential for businesses to comply with tax regulations and for the
|
|
514
|
-
* government to track tax payments and returns.
|
|
397
|
+
* @property {string} [gstin_code] - The GSTIN code for the shipment.
|
|
515
398
|
* @property {UserInfo} [user_info]
|
|
516
399
|
* @property {BreakupValues[]} [breakup_values] - An array containing the
|
|
517
400
|
* breakup of various charges and discounts.
|
|
@@ -520,8 +403,7 @@ export = OrderApplicationModel;
|
|
|
520
403
|
* @property {string} [order_id] - The unique identifier for the order.
|
|
521
404
|
* @property {Shipments[]} [shipments] - An array containing details of
|
|
522
405
|
* individual shipments within the order.
|
|
523
|
-
* @property {BagsForReorder[]} [bags_for_reorder] -
|
|
524
|
-
* @property {PriceAdjustmentCharge[]} [charges] - An array containing details
|
|
406
|
+
* @property {BagsForReorder[]} [bags_for_reorder] - An array containing details
|
|
525
407
|
* of bags available for reorder.
|
|
526
408
|
* @property {Object} [meta] - An object containing additional metadata for the order.
|
|
527
409
|
*/
|
|
@@ -581,7 +463,7 @@ export = OrderApplicationModel;
|
|
|
581
463
|
* @property {Track[]} [results] - A array containing tracking details.
|
|
582
464
|
*/
|
|
583
465
|
/**
|
|
584
|
-
* @typedef
|
|
466
|
+
* @typedef CustomerDetailsResponse
|
|
585
467
|
* @property {string} [phone] - Customer's phone number.
|
|
586
468
|
* @property {string} [shipment_id] - Unique identifier of the shipment.
|
|
587
469
|
* @property {string} [name] - Customer's name.
|
|
@@ -589,7 +471,7 @@ export = OrderApplicationModel;
|
|
|
589
471
|
* @property {string} [country] - Country of the customer.
|
|
590
472
|
*/
|
|
591
473
|
/**
|
|
592
|
-
* @typedef
|
|
474
|
+
* @typedef SendOtpToCustomerResponse
|
|
593
475
|
* @property {string} [request_id] - Unique identifier for the request.
|
|
594
476
|
* @property {string} [message] - Message indicating the result of the request.
|
|
595
477
|
* @property {boolean} [success] - Indicates whether the request was successful.
|
|
@@ -601,7 +483,7 @@ export = OrderApplicationModel;
|
|
|
601
483
|
* @property {string} [request_id] - Unique identifier for the request.
|
|
602
484
|
*/
|
|
603
485
|
/**
|
|
604
|
-
* @typedef
|
|
486
|
+
* @typedef VerifyOtpResponse
|
|
605
487
|
* @property {boolean} [success] - Indicates whether the request was successful.
|
|
606
488
|
*/
|
|
607
489
|
/**
|
|
@@ -616,20 +498,7 @@ export = OrderApplicationModel;
|
|
|
616
498
|
*/
|
|
617
499
|
/**
|
|
618
500
|
* @typedef BagReasons
|
|
619
|
-
* @property {string[]} [qc_type] -
|
|
620
|
-
* return reason types indicating the stage at which QC is performed. -
|
|
621
|
-
* "Doorstep QC" refers to the quality control checks that occur at the
|
|
622
|
-
* customer's doorstep. This could be part of a delivery process where the
|
|
623
|
-
* product is inspected for any damages, defects, or discrepancies in the
|
|
624
|
-
* presence of the customer before the final handover. - "Pre QC" represents a
|
|
625
|
-
* proactive quality control approach where the customer plays an active role
|
|
626
|
-
* in the QC process before the product is collected for return or exchange.
|
|
627
|
-
* In this procedure, customers are required to upload photos of the product
|
|
628
|
-
* for a preliminary quality check by the operations team. Approval from this
|
|
629
|
-
* team is necessary before a delivery partner is dispatched to pick up the
|
|
630
|
-
* product. This innovative method ensures that the product meets return or
|
|
631
|
-
* exchange criteria, streamlining the process for both the customer and the
|
|
632
|
-
* operations team, and minimizing unnecessary logistics movements.
|
|
501
|
+
* @property {string[]} [qc_type] - A list of quality check types.
|
|
633
502
|
* @property {number} [id] - The unique identifier.
|
|
634
503
|
* @property {string} [display_name] - The text displayed.
|
|
635
504
|
* @property {BagReasonMeta} [meta]
|
|
@@ -640,9 +509,6 @@ export = OrderApplicationModel;
|
|
|
640
509
|
* @typedef ShipmentBagReasons
|
|
641
510
|
* @property {BagReasons[]} [reasons] - A list of shipment's bag reasons.
|
|
642
511
|
* @property {boolean} [success] - Indicates if the operation was successful.
|
|
643
|
-
* @property {number} [rule_id] - The unique identifier for the rule that is
|
|
644
|
-
* associated with the given reasons. This ID serves as a reference to the
|
|
645
|
-
* specific rule within the RMA system that governs or influences the reasons listed.
|
|
646
512
|
*/
|
|
647
513
|
/**
|
|
648
514
|
* @typedef ShipmentReason
|
|
@@ -698,16 +564,8 @@ export = OrderApplicationModel;
|
|
|
698
564
|
*/
|
|
699
565
|
/**
|
|
700
566
|
* @typedef ProductsDataUpdatesFilters
|
|
701
|
-
* @property {number} [line_number] -
|
|
702
|
-
*
|
|
703
|
-
* helps in pinpointing the exact item being updated or processed.
|
|
704
|
-
* @property {string} [identifier] - A unique string that serves as the
|
|
705
|
-
* product’s identifier, such as a SKU, barcode, or another distinct code.
|
|
706
|
-
* This ensures the product is correctly identified and distinguished from
|
|
707
|
-
* other items in the system.
|
|
708
|
-
* @property {number} [quantity] - The quantity of the product or item,
|
|
709
|
-
* specified as an integer. This indicates how many units of the product are
|
|
710
|
-
* being referenced or processed, such as the number of items in a bag or shipment.
|
|
567
|
+
* @property {number} [line_number] - The specific line item of bag.
|
|
568
|
+
* @property {string} [identifier] - The quantity of the product.
|
|
711
569
|
*/
|
|
712
570
|
/**
|
|
713
571
|
* @typedef ProductsDataUpdates
|
|
@@ -726,7 +584,7 @@ export = OrderApplicationModel;
|
|
|
726
584
|
* @property {EntitiesDataUpdates[]} [entities] - Data updates for shipments.
|
|
727
585
|
*/
|
|
728
586
|
/**
|
|
729
|
-
* @typedef
|
|
587
|
+
* @typedef ShipmentsRequest
|
|
730
588
|
* @property {ReasonsData} [reasons]
|
|
731
589
|
* @property {Products[]} [products] - Specific bag to be updated.
|
|
732
590
|
* @property {DataUpdates} [data_updates]
|
|
@@ -734,21 +592,20 @@ export = OrderApplicationModel;
|
|
|
734
592
|
* the shipment_id.
|
|
735
593
|
*/
|
|
736
594
|
/**
|
|
737
|
-
* @typedef
|
|
738
|
-
* @property {
|
|
739
|
-
*
|
|
595
|
+
* @typedef StatuesRequest
|
|
596
|
+
* @property {ShipmentsRequest[]} [shipments] - A list containing information
|
|
597
|
+
* about shipments.
|
|
740
598
|
* @property {string} [exclude_bags_next_state] - State to be change for
|
|
741
599
|
* Remaining Bag/Products.
|
|
742
600
|
* @property {string} [status] - The status to which the entity is to be transitioned.
|
|
743
601
|
*/
|
|
744
602
|
/**
|
|
745
|
-
* @typedef
|
|
603
|
+
* @typedef OrderRequest
|
|
746
604
|
* @property {Object} [meta] - Metadata for the order.
|
|
747
605
|
*/
|
|
748
606
|
/**
|
|
749
|
-
* @typedef
|
|
750
|
-
* @property {
|
|
751
|
-
* status details.
|
|
607
|
+
* @typedef UpdateShipmentStatusRequest
|
|
608
|
+
* @property {StatuesRequest[]} [statuses] - An array containing different status details.
|
|
752
609
|
* @property {boolean} [task] - Indicates whether the task is active or required.
|
|
753
610
|
* @property {boolean} [lock_after_transition] - Indicates whether the status
|
|
754
611
|
* should be locked after the transition.
|
|
@@ -758,16 +615,16 @@ export = OrderApplicationModel;
|
|
|
758
615
|
* should be unlocked before the transition.
|
|
759
616
|
*/
|
|
760
617
|
/**
|
|
761
|
-
* @typedef
|
|
618
|
+
* @typedef StatusesBodyResponse
|
|
762
619
|
* @property {Object[]} [shipments] - List of shipments.
|
|
763
620
|
*/
|
|
764
621
|
/**
|
|
765
|
-
* @typedef
|
|
766
|
-
* @property {
|
|
767
|
-
*
|
|
622
|
+
* @typedef ShipmentApplicationStatusResponse
|
|
623
|
+
* @property {StatusesBodyResponse[]} [statuses] - An array containing different
|
|
624
|
+
* status options of shipments.
|
|
768
625
|
*/
|
|
769
626
|
/**
|
|
770
|
-
* @typedef
|
|
627
|
+
* @typedef ErrorResponse
|
|
771
628
|
* @property {string} [code] - The HTTP status code of the response.
|
|
772
629
|
* @property {string} [message] - A message providing details about the response.
|
|
773
630
|
* @property {number} [status] - An additional code providing more context about
|
|
@@ -778,7 +635,7 @@ export = OrderApplicationModel;
|
|
|
778
635
|
declare class OrderApplicationModel {
|
|
779
636
|
}
|
|
780
637
|
declare namespace OrderApplicationModel {
|
|
781
|
-
export { OrderPage, UserInfo, BreakupValues, ShipmentPayment, ShipmentPaymentInfo, ShipmentUserInfo, FulfillingStore,
|
|
638
|
+
export { OrderPage, UserInfo, BreakupValues, ShipmentPayment, ShipmentPaymentInfo, ShipmentUserInfo, FulfillingStore, ShipmentStatus, Invoice, NestedTrackingDetails, TrackingDetails, TimeStampData, Promise, ShipmentTotalDetails, Prices, ItemBrand, Item, AppliedFreeArticles, AppliedPromos, Identifiers, FinancialBreakup, CurrentStatus, Bags, FulfillingCompany, Article, Address, Shipments, BagsForReorderArticleAssignment, BagsForReorder, OrderSchema, OrderStatuses, OrderFilters, OrderList, ApefaceApiError, OrderById, ShipmentById, ResponseGetInvoiceShipment, Track, ShipmentTrack, CustomerDetailsResponse, SendOtpToCustomerResponse, VerifyOtp, VerifyOtpResponse, BagReasonMeta, QuestionSet, BagReasons, ShipmentBagReasons, ShipmentReason, ShipmentReasons, ProductsReasonsData, ProductsReasonsFilters, ProductsReasons, EntityReasonData, EntitiesReasons, ReasonsData, Products, ProductsDataUpdatesFilters, ProductsDataUpdates, EntitiesDataUpdates, DataUpdates, ShipmentsRequest, StatuesRequest, OrderRequest, UpdateShipmentStatusRequest, StatusesBodyResponse, ShipmentApplicationStatusResponse, ErrorResponse };
|
|
782
639
|
}
|
|
783
640
|
/** @returns {OrderPage} */
|
|
784
641
|
declare function OrderPage(): OrderPage;
|
|
@@ -862,12 +719,7 @@ type BreakupValues = {
|
|
|
862
719
|
display?: string;
|
|
863
720
|
/**
|
|
864
721
|
* - The international currency code
|
|
865
|
-
* representing the currency used for the value.
|
|
866
|
-
* code for all amounts. The currency_code field will hold a string value
|
|
867
|
-
* representing the code for the currency in which all monetary amounts are
|
|
868
|
-
* denominated. This code typically follows the ISO 4217 standard, which uses
|
|
869
|
-
* three-letter alphabetic codes to define different currencies around the
|
|
870
|
-
* world. For example, 'USD' for United States Dollar, 'INR' for Indian Rupees.
|
|
722
|
+
* representing the currency used for the value.
|
|
871
723
|
*/
|
|
872
724
|
currency_code?: string;
|
|
873
725
|
};
|
|
@@ -983,74 +835,11 @@ type FulfillingStore = {
|
|
|
983
835
|
*/
|
|
984
836
|
company_name?: string;
|
|
985
837
|
/**
|
|
986
|
-
* -
|
|
838
|
+
* - The identifier of the company associated
|
|
839
|
+
* with the store.
|
|
987
840
|
*/
|
|
988
841
|
company_id?: number;
|
|
989
842
|
};
|
|
990
|
-
/** @returns {ChargeDistributionSchema} */
|
|
991
|
-
declare function ChargeDistributionSchema(): ChargeDistributionSchema;
|
|
992
|
-
type ChargeDistributionSchema = {
|
|
993
|
-
/**
|
|
994
|
-
* - This field defines the distribution type, e.g
|
|
995
|
-
* values('multi', 'single') multi: distribute the changes across all entity
|
|
996
|
-
* single: distribute the changes across to any one single entity
|
|
997
|
-
*/
|
|
998
|
-
type: string;
|
|
999
|
-
/**
|
|
1000
|
-
* - This field defines the distribution logic e.g
|
|
1001
|
-
* values('apportion', 'equally') apportion: distribute charge amount based of
|
|
1002
|
-
* weighted average amount of all the entity (like article with [10, 20] will
|
|
1003
|
-
* get charge of 9 as [3, 6]) equally: distribute charge amount 'equally' to
|
|
1004
|
-
* all the entity
|
|
1005
|
-
*/
|
|
1006
|
-
logic: string;
|
|
1007
|
-
};
|
|
1008
|
-
/** @returns {ChargeDistributionLogic} */
|
|
1009
|
-
declare function ChargeDistributionLogic(): ChargeDistributionLogic;
|
|
1010
|
-
type ChargeDistributionLogic = {
|
|
1011
|
-
distribution: ChargeDistributionSchema;
|
|
1012
|
-
/**
|
|
1013
|
-
* - This field defines the distribution
|
|
1014
|
-
* level, e.g distribution level is (order, shipment, article)
|
|
1015
|
-
*/
|
|
1016
|
-
distribution_level: string;
|
|
1017
|
-
};
|
|
1018
|
-
/** @returns {ChargeAmountCurrency} */
|
|
1019
|
-
declare function ChargeAmountCurrency(): ChargeAmountCurrency;
|
|
1020
|
-
type ChargeAmountCurrency = {
|
|
1021
|
-
/**
|
|
1022
|
-
* - Charge currency value or amount
|
|
1023
|
-
*/
|
|
1024
|
-
value: number;
|
|
1025
|
-
/**
|
|
1026
|
-
* - Charge currency code
|
|
1027
|
-
*/
|
|
1028
|
-
currency: string;
|
|
1029
|
-
};
|
|
1030
|
-
/** @returns {ChargeAmount} */
|
|
1031
|
-
declare function ChargeAmount(): ChargeAmount;
|
|
1032
|
-
type ChargeAmount = {
|
|
1033
|
-
base_currency: ChargeAmountCurrency;
|
|
1034
|
-
ordering_currency: ChargeAmountCurrency;
|
|
1035
|
-
};
|
|
1036
|
-
/** @returns {PriceAdjustmentCharge} */
|
|
1037
|
-
declare function PriceAdjustmentCharge(): PriceAdjustmentCharge;
|
|
1038
|
-
type PriceAdjustmentCharge = {
|
|
1039
|
-
/**
|
|
1040
|
-
* - Code defined for charge
|
|
1041
|
-
*/
|
|
1042
|
-
code?: string;
|
|
1043
|
-
/**
|
|
1044
|
-
* - Display name for charge (charge is unique by the name)
|
|
1045
|
-
*/
|
|
1046
|
-
name: string;
|
|
1047
|
-
/**
|
|
1048
|
-
* - Type defined for charge
|
|
1049
|
-
*/
|
|
1050
|
-
type?: string;
|
|
1051
|
-
amount: ChargeAmount;
|
|
1052
|
-
distribution_logic: ChargeDistributionLogic;
|
|
1053
|
-
};
|
|
1054
843
|
/** @returns {ShipmentStatus} */
|
|
1055
844
|
declare function ShipmentStatus(): ShipmentStatus;
|
|
1056
845
|
type ShipmentStatus = {
|
|
@@ -1066,10 +855,7 @@ type ShipmentStatus = {
|
|
|
1066
855
|
title?: string;
|
|
1067
856
|
/**
|
|
1068
857
|
* - The hexadecimal color code associated with
|
|
1069
|
-
* the shipment status.
|
|
1070
|
-
* "cancelled", "delivered", etc.) is associated with a unique color,
|
|
1071
|
-
* represented by a hex code. This color coding makes it visually intuitive
|
|
1072
|
-
* for users to understand the status of their shipment at a glance.
|
|
858
|
+
* the shipment status.
|
|
1073
859
|
*/
|
|
1074
860
|
hex_code?: string;
|
|
1075
861
|
};
|
|
@@ -1272,12 +1058,7 @@ type Prices = {
|
|
|
1272
1058
|
*/
|
|
1273
1059
|
refund_amount?: number;
|
|
1274
1060
|
/**
|
|
1275
|
-
* -
|
|
1276
|
-
* amounts. The currency_code field will hold a string value representing the
|
|
1277
|
-
* code for the currency in which all monetary amounts are denominated. This
|
|
1278
|
-
* code typically follows the ISO 4217 standard, which uses three-letter
|
|
1279
|
-
* alphabetic codes to define different currencies around the world. For
|
|
1280
|
-
* example, 'USD' for United States Dollar, 'INR' for Indian Rupees.
|
|
1061
|
+
* - The code of the currency used.
|
|
1281
1062
|
*/
|
|
1282
1063
|
currency_code?: string;
|
|
1283
1064
|
/**
|
|
@@ -1310,9 +1091,20 @@ type Item = {
|
|
|
1310
1091
|
*/
|
|
1311
1092
|
image?: string[];
|
|
1312
1093
|
/**
|
|
1313
|
-
* - An array of level 1 categories
|
|
1094
|
+
* - An array of level 1 categories to
|
|
1095
|
+
* which the item belongs.
|
|
1314
1096
|
*/
|
|
1315
1097
|
l1_categories?: string[];
|
|
1098
|
+
/**
|
|
1099
|
+
* - An array of level 2 categories to which
|
|
1100
|
+
* the item belongs.
|
|
1101
|
+
*/
|
|
1102
|
+
l2_category?: string[];
|
|
1103
|
+
/**
|
|
1104
|
+
* - ID representing the level 2 category
|
|
1105
|
+
* classification of the item
|
|
1106
|
+
*/
|
|
1107
|
+
l2_category_id?: number;
|
|
1316
1108
|
brand?: ItemBrand;
|
|
1317
1109
|
/**
|
|
1318
1110
|
* - The identifier for the seller .
|
|
@@ -1331,9 +1123,7 @@ type Item = {
|
|
|
1331
1123
|
*/
|
|
1332
1124
|
name?: string;
|
|
1333
1125
|
/**
|
|
1334
|
-
* -
|
|
1335
|
-
* third-level category under which the product is listed, offering a more
|
|
1336
|
-
* detailed classification within the e-commerce platform's hierarchy.
|
|
1126
|
+
* - The level 3 category name.
|
|
1337
1127
|
*/
|
|
1338
1128
|
l3_category_name?: string;
|
|
1339
1129
|
/**
|
|
@@ -1401,22 +1191,7 @@ type AppliedPromos = {
|
|
|
1401
1191
|
*/
|
|
1402
1192
|
amount?: number;
|
|
1403
1193
|
/**
|
|
1404
|
-
* -
|
|
1405
|
-
* applied to the current promotion, defining how the promotion modifies the
|
|
1406
|
-
* price or adds value to the purchase. Each type represents a different
|
|
1407
|
-
* promotional strategy - percentage- Discount by a percentage of the original
|
|
1408
|
-
* price. - amount- Discount by a specific amount off the original price. -
|
|
1409
|
-
* fixed_price- Sets the price to a specific fixed amount. - bogo- Buy One Get
|
|
1410
|
-
* One or at a discount. - contract_price- Special pricing based on a contract
|
|
1411
|
-
* or agreement. - shipping_price- Discount or deal related to the shipping
|
|
1412
|
-
* cost. - ladder_price- Price changes based on quantity purchased. -
|
|
1413
|
-
* bundle_price_percentage- Discount on a bundle purchase by a percentage. -
|
|
1414
|
-
* bundle_price_amount- Discount on a bundle purchase by a specific amount. -
|
|
1415
|
-
* bundle_amount_percentage- A percentage of the purchase amount is applied as
|
|
1416
|
-
* a discount when buying in a bundle. - custom- A custom promotion not
|
|
1417
|
-
* covered by other types. - free_gift_items- Free gift items are included
|
|
1418
|
-
* with the purchase. - free_non_sellable_items- Free items that are not for
|
|
1419
|
-
* sale are included with the purchase.
|
|
1194
|
+
* - The type of promotion.
|
|
1420
1195
|
*/
|
|
1421
1196
|
promotion_type?: string;
|
|
1422
1197
|
/**
|
|
@@ -1433,12 +1208,7 @@ type Identifiers = {
|
|
|
1433
1208
|
*/
|
|
1434
1209
|
ean?: string;
|
|
1435
1210
|
/**
|
|
1436
|
-
* - The Stock Keeping Unit (SKU) code of the item
|
|
1437
|
-
* - uniquely identifies each distinct product. SKUs are used to track
|
|
1438
|
-
* inventory levels, facilitate accurate stocktaking, and streamline order
|
|
1439
|
-
* fulfillment processes. This code is essential for inventory management,
|
|
1440
|
-
* allowing for the differentiation between products based on attributes such
|
|
1441
|
-
* as price, color, and size.
|
|
1211
|
+
* - The Stock Keeping Unit (SKU) code of the item.
|
|
1442
1212
|
*/
|
|
1443
1213
|
sku_code?: string;
|
|
1444
1214
|
};
|
|
@@ -1471,12 +1241,8 @@ type FinancialBreakup = {
|
|
|
1471
1241
|
*/
|
|
1472
1242
|
coupon_effective_discount?: number;
|
|
1473
1243
|
/**
|
|
1474
|
-
* - The HSN
|
|
1475
|
-
*
|
|
1476
|
-
* classifying goods. It is used in trade and commerce to identify products
|
|
1477
|
-
* and services uniformly across different countries and industries. The
|
|
1478
|
-
* system was developed by the World Customs Organization (WCO) and is widely
|
|
1479
|
-
* used in customs processes and tax systems.
|
|
1244
|
+
* - The HSN (Harmonized System of Nomenclature)
|
|
1245
|
+
* code of the item.
|
|
1480
1246
|
*/
|
|
1481
1247
|
hsn_code?: string;
|
|
1482
1248
|
/**
|
|
@@ -1581,13 +1347,8 @@ type CurrentStatus = {
|
|
|
1581
1347
|
*/
|
|
1582
1348
|
status?: string;
|
|
1583
1349
|
/**
|
|
1584
|
-
* -
|
|
1585
|
-
*
|
|
1586
|
-
* Journey: The forward journey encompasses all the stages of shipping,
|
|
1587
|
-
* including order placement, packing, dispatch, in-transit updates, and
|
|
1588
|
-
* delivery. Return Journey: Contrary to the forward journey, the return
|
|
1589
|
-
* journey involves the process of sending items back from the customer to the
|
|
1590
|
-
* original sender or a designated return facility.
|
|
1350
|
+
* - The type of journey for the shipment,
|
|
1351
|
+
* indicating the direction of the shipment.
|
|
1591
1352
|
*/
|
|
1592
1353
|
journey_type?: string;
|
|
1593
1354
|
};
|
|
@@ -1646,18 +1407,11 @@ type Bags = {
|
|
|
1646
1407
|
*/
|
|
1647
1408
|
parent_promo_bags?: any;
|
|
1648
1409
|
/**
|
|
1649
|
-
* -
|
|
1650
|
-
* shipment status transition like Kafka_emission_status, user_name, etc.
|
|
1651
|
-
* Additionally it is dynamic.
|
|
1410
|
+
* - An object containing metadata for the item.
|
|
1652
1411
|
*/
|
|
1653
1412
|
meta?: any;
|
|
1654
1413
|
/**
|
|
1655
|
-
* -
|
|
1656
|
-
* amounts. The currency_code field will hold a string value representing the
|
|
1657
|
-
* code for the currency in which all monetary amounts are denominated. This
|
|
1658
|
-
* code typically follows the ISO 4217 standard, which uses three-letter
|
|
1659
|
-
* alphabetic codes to define different currencies around the world. For
|
|
1660
|
-
* example, 'USD' for United States Dollar, 'INR' for Indian Rupees.
|
|
1414
|
+
* - The code of the currency used.
|
|
1661
1415
|
*/
|
|
1662
1416
|
currency_code?: string;
|
|
1663
1417
|
/**
|
|
@@ -1666,7 +1420,6 @@ type Bags = {
|
|
|
1666
1420
|
seller_identifier?: string;
|
|
1667
1421
|
current_status?: CurrentStatus;
|
|
1668
1422
|
article?: Article;
|
|
1669
|
-
charges?: PriceAdjustmentCharge[];
|
|
1670
1423
|
};
|
|
1671
1424
|
/** @returns {FulfillingCompany} */
|
|
1672
1425
|
declare function FulfillingCompany(): FulfillingCompany;
|
|
@@ -1725,7 +1478,7 @@ type Address = {
|
|
|
1725
1478
|
*/
|
|
1726
1479
|
address?: string;
|
|
1727
1480
|
/**
|
|
1728
|
-
* - The type of
|
|
1481
|
+
* - The type of address.
|
|
1729
1482
|
*/
|
|
1730
1483
|
address_type?: string;
|
|
1731
1484
|
/**
|
|
@@ -1762,19 +1515,7 @@ type Address = {
|
|
|
1762
1515
|
*/
|
|
1763
1516
|
contact_person?: string;
|
|
1764
1517
|
/**
|
|
1765
|
-
* -
|
|
1766
|
-
* address. The address_category field that includes "store", "delivery", and
|
|
1767
|
-
* "billing" serves to classify addresses based on various business processes
|
|
1768
|
-
*
|
|
1769
|
-
* - 'store': Identifies addresses associated with physical retail locations or
|
|
1770
|
-
* warehouses which is essential for inventory management, order
|
|
1771
|
-
* fulfillment, and facilitating in-store pickups or returns.
|
|
1772
|
-
* - 'delivery': Identifies addresses where orders are shipped to customers which
|
|
1773
|
-
* ensures successful delivery, enhancing customer satisfaction, and
|
|
1774
|
-
* optimizing logistics operations.
|
|
1775
|
-
* - 'billing': Identifies addresses used for billing and financial transactions
|
|
1776
|
-
* which are essential for payment processing, invoice generation, and
|
|
1777
|
-
* maintaining financial accuracy.
|
|
1518
|
+
* - The category of the address.
|
|
1778
1519
|
*/
|
|
1779
1520
|
address_category?: string;
|
|
1780
1521
|
/**
|
|
@@ -1809,27 +1550,11 @@ type Shipments = {
|
|
|
1809
1550
|
*/
|
|
1810
1551
|
payment_info?: ShipmentPaymentInfo[];
|
|
1811
1552
|
/**
|
|
1812
|
-
* -
|
|
1813
|
-
* will follow based on the application's operational needs and customer
|
|
1814
|
-
* preferences. This field categorizes orders into distinct types, each
|
|
1815
|
-
* associated with a unique processing flow. For example:
|
|
1816
|
-
*
|
|
1817
|
-
* - "HomeDelivery": The order undergoes all state transitions typical for a
|
|
1818
|
-
* delivery, from processing the shipment to final delivery at the
|
|
1819
|
-
* customer's address.
|
|
1820
|
-
* - "PickAtStore": The order is prepared for pickup and moved to a state where it
|
|
1821
|
-
* is ready to be handed over directly to the customer at the store. This
|
|
1822
|
-
* type streamlines the process by bypassing traditional shipping stages
|
|
1823
|
-
* and facilitating a quicker transition to the final handover stage.
|
|
1553
|
+
* - The type of order.
|
|
1824
1554
|
*/
|
|
1825
1555
|
order_type?: string;
|
|
1826
1556
|
/**
|
|
1827
|
-
* -
|
|
1828
|
-
* Identification Number, often abbreviated as GSTIN) is a unique identifier
|
|
1829
|
-
* assigned to a business or individual registered under the Goods and
|
|
1830
|
-
* Services Tax (GST) system in countries like India. The GST number is
|
|
1831
|
-
* essential for businesses to comply with tax regulations and for the
|
|
1832
|
-
* government to track tax payments and returns.
|
|
1557
|
+
* - The GSTIN code for the shipment.
|
|
1833
1558
|
*/
|
|
1834
1559
|
gstin_code?: string;
|
|
1835
1560
|
/**
|
|
@@ -1956,8 +1681,7 @@ type Shipments = {
|
|
|
1956
1681
|
* - The expected delivery date.
|
|
1957
1682
|
*/
|
|
1958
1683
|
delivery_date?: string;
|
|
1959
|
-
order?:
|
|
1960
|
-
charges?: PriceAdjustmentCharge[];
|
|
1684
|
+
order?: OrderRequest;
|
|
1961
1685
|
};
|
|
1962
1686
|
/** @returns {BagsForReorderArticleAssignment} */
|
|
1963
1687
|
declare function BagsForReorderArticleAssignment(): BagsForReorderArticleAssignment;
|
|
@@ -2005,12 +1729,7 @@ type OrderSchema = {
|
|
|
2005
1729
|
*/
|
|
2006
1730
|
total_shipments_in_order?: number;
|
|
2007
1731
|
/**
|
|
2008
|
-
* -
|
|
2009
|
-
* Identification Number, often abbreviated as GSTIN) is a unique identifier
|
|
2010
|
-
* assigned to a business or individual registered under the Goods and
|
|
2011
|
-
* Services Tax (GST) system in countries like India. The GST number is
|
|
2012
|
-
* essential for businesses to comply with tax regulations and for the
|
|
2013
|
-
* government to track tax payments and returns.
|
|
1732
|
+
* - The GSTIN code for the shipment.
|
|
2014
1733
|
*/
|
|
2015
1734
|
gstin_code?: string;
|
|
2016
1735
|
user_info?: UserInfo;
|
|
@@ -2036,15 +1755,11 @@ type OrderSchema = {
|
|
|
2036
1755
|
* individual shipments within the order.
|
|
2037
1756
|
*/
|
|
2038
1757
|
shipments?: Shipments[];
|
|
2039
|
-
/**
|
|
2040
|
-
* - Order details.
|
|
2041
|
-
*/
|
|
2042
|
-
bags_for_reorder?: BagsForReorder[];
|
|
2043
1758
|
/**
|
|
2044
1759
|
* - An array containing details
|
|
2045
1760
|
* of bags available for reorder.
|
|
2046
1761
|
*/
|
|
2047
|
-
|
|
1762
|
+
bags_for_reorder?: BagsForReorder[];
|
|
2048
1763
|
/**
|
|
2049
1764
|
* - An object containing additional metadata for the order.
|
|
2050
1765
|
*/
|
|
@@ -2174,9 +1889,9 @@ type ShipmentTrack = {
|
|
|
2174
1889
|
*/
|
|
2175
1890
|
results?: Track[];
|
|
2176
1891
|
};
|
|
2177
|
-
/** @returns {
|
|
2178
|
-
declare function
|
|
2179
|
-
type
|
|
1892
|
+
/** @returns {CustomerDetailsResponse} */
|
|
1893
|
+
declare function CustomerDetailsResponse(): CustomerDetailsResponse;
|
|
1894
|
+
type CustomerDetailsResponse = {
|
|
2180
1895
|
/**
|
|
2181
1896
|
* - Customer's phone number.
|
|
2182
1897
|
*/
|
|
@@ -2198,9 +1913,9 @@ type CustomerDetailsResponseSchema = {
|
|
|
2198
1913
|
*/
|
|
2199
1914
|
country?: string;
|
|
2200
1915
|
};
|
|
2201
|
-
/** @returns {
|
|
2202
|
-
declare function
|
|
2203
|
-
type
|
|
1916
|
+
/** @returns {SendOtpToCustomerResponse} */
|
|
1917
|
+
declare function SendOtpToCustomerResponse(): SendOtpToCustomerResponse;
|
|
1918
|
+
type SendOtpToCustomerResponse = {
|
|
2204
1919
|
/**
|
|
2205
1920
|
* - Unique identifier for the request.
|
|
2206
1921
|
*/
|
|
@@ -2230,9 +1945,9 @@ type VerifyOtp = {
|
|
|
2230
1945
|
*/
|
|
2231
1946
|
request_id?: string;
|
|
2232
1947
|
};
|
|
2233
|
-
/** @returns {
|
|
2234
|
-
declare function
|
|
2235
|
-
type
|
|
1948
|
+
/** @returns {VerifyOtpResponse} */
|
|
1949
|
+
declare function VerifyOtpResponse(): VerifyOtpResponse;
|
|
1950
|
+
type VerifyOtpResponse = {
|
|
2236
1951
|
/**
|
|
2237
1952
|
* - Indicates whether the request was successful.
|
|
2238
1953
|
*/
|
|
@@ -2263,20 +1978,7 @@ type QuestionSet = {
|
|
|
2263
1978
|
declare function BagReasons(): BagReasons;
|
|
2264
1979
|
type BagReasons = {
|
|
2265
1980
|
/**
|
|
2266
|
-
* -
|
|
2267
|
-
* return reason types indicating the stage at which QC is performed. -
|
|
2268
|
-
* "Doorstep QC" refers to the quality control checks that occur at the
|
|
2269
|
-
* customer's doorstep. This could be part of a delivery process where the
|
|
2270
|
-
* product is inspected for any damages, defects, or discrepancies in the
|
|
2271
|
-
* presence of the customer before the final handover. - "Pre QC" represents a
|
|
2272
|
-
* proactive quality control approach where the customer plays an active role
|
|
2273
|
-
* in the QC process before the product is collected for return or exchange.
|
|
2274
|
-
* In this procedure, customers are required to upload photos of the product
|
|
2275
|
-
* for a preliminary quality check by the operations team. Approval from this
|
|
2276
|
-
* team is necessary before a delivery partner is dispatched to pick up the
|
|
2277
|
-
* product. This innovative method ensures that the product meets return or
|
|
2278
|
-
* exchange criteria, streamlining the process for both the customer and the
|
|
2279
|
-
* operations team, and minimizing unnecessary logistics movements.
|
|
1981
|
+
* - A list of quality check types.
|
|
2280
1982
|
*/
|
|
2281
1983
|
qc_type?: string[];
|
|
2282
1984
|
/**
|
|
@@ -2308,12 +2010,6 @@ type ShipmentBagReasons = {
|
|
|
2308
2010
|
* - Indicates if the operation was successful.
|
|
2309
2011
|
*/
|
|
2310
2012
|
success?: boolean;
|
|
2311
|
-
/**
|
|
2312
|
-
* - The unique identifier for the rule that is
|
|
2313
|
-
* associated with the given reasons. This ID serves as a reference to the
|
|
2314
|
-
* specific rule within the RMA system that governs or influences the reasons listed.
|
|
2315
|
-
*/
|
|
2316
|
-
rule_id?: number;
|
|
2317
2013
|
};
|
|
2318
2014
|
/** @returns {ShipmentReason} */
|
|
2319
2015
|
declare function ShipmentReason(): ShipmentReason;
|
|
@@ -2443,24 +2139,13 @@ type Products = {
|
|
|
2443
2139
|
declare function ProductsDataUpdatesFilters(): ProductsDataUpdatesFilters;
|
|
2444
2140
|
type ProductsDataUpdatesFilters = {
|
|
2445
2141
|
/**
|
|
2446
|
-
* -
|
|
2447
|
-
* bag, used to identify and reference a particular product in a list. This
|
|
2448
|
-
* helps in pinpointing the exact item being updated or processed.
|
|
2142
|
+
* - The specific line item of bag.
|
|
2449
2143
|
*/
|
|
2450
2144
|
line_number?: number;
|
|
2451
2145
|
/**
|
|
2452
|
-
* -
|
|
2453
|
-
* product’s identifier, such as a SKU, barcode, or another distinct code.
|
|
2454
|
-
* This ensures the product is correctly identified and distinguished from
|
|
2455
|
-
* other items in the system.
|
|
2146
|
+
* - The quantity of the product.
|
|
2456
2147
|
*/
|
|
2457
2148
|
identifier?: string;
|
|
2458
|
-
/**
|
|
2459
|
-
* - The quantity of the product or item,
|
|
2460
|
-
* specified as an integer. This indicates how many units of the product are
|
|
2461
|
-
* being referenced or processed, such as the number of items in a bag or shipment.
|
|
2462
|
-
*/
|
|
2463
|
-
quantity?: number;
|
|
2464
2149
|
};
|
|
2465
2150
|
/** @returns {ProductsDataUpdates} */
|
|
2466
2151
|
declare function ProductsDataUpdates(): ProductsDataUpdates;
|
|
@@ -2499,9 +2184,9 @@ type DataUpdates = {
|
|
|
2499
2184
|
*/
|
|
2500
2185
|
entities?: EntitiesDataUpdates[];
|
|
2501
2186
|
};
|
|
2502
|
-
/** @returns {
|
|
2503
|
-
declare function
|
|
2504
|
-
type
|
|
2187
|
+
/** @returns {ShipmentsRequest} */
|
|
2188
|
+
declare function ShipmentsRequest(): ShipmentsRequest;
|
|
2189
|
+
type ShipmentsRequest = {
|
|
2505
2190
|
reasons?: ReasonsData;
|
|
2506
2191
|
/**
|
|
2507
2192
|
* - Specific bag to be updated.
|
|
@@ -2514,14 +2199,14 @@ type ShipmentsRequestSchema = {
|
|
|
2514
2199
|
*/
|
|
2515
2200
|
identifier: string;
|
|
2516
2201
|
};
|
|
2517
|
-
/** @returns {
|
|
2518
|
-
declare function
|
|
2519
|
-
type
|
|
2202
|
+
/** @returns {StatuesRequest} */
|
|
2203
|
+
declare function StatuesRequest(): StatuesRequest;
|
|
2204
|
+
type StatuesRequest = {
|
|
2520
2205
|
/**
|
|
2521
|
-
* - A list containing
|
|
2522
|
-
*
|
|
2206
|
+
* - A list containing information
|
|
2207
|
+
* about shipments.
|
|
2523
2208
|
*/
|
|
2524
|
-
shipments?:
|
|
2209
|
+
shipments?: ShipmentsRequest[];
|
|
2525
2210
|
/**
|
|
2526
2211
|
* - State to be change for
|
|
2527
2212
|
* Remaining Bag/Products.
|
|
@@ -2532,22 +2217,21 @@ type StatuesRequestSchema = {
|
|
|
2532
2217
|
*/
|
|
2533
2218
|
status?: string;
|
|
2534
2219
|
};
|
|
2535
|
-
/** @returns {
|
|
2536
|
-
declare function
|
|
2537
|
-
type
|
|
2220
|
+
/** @returns {OrderRequest} */
|
|
2221
|
+
declare function OrderRequest(): OrderRequest;
|
|
2222
|
+
type OrderRequest = {
|
|
2538
2223
|
/**
|
|
2539
2224
|
* - Metadata for the order.
|
|
2540
2225
|
*/
|
|
2541
2226
|
meta?: any;
|
|
2542
2227
|
};
|
|
2543
|
-
/** @returns {
|
|
2544
|
-
declare function
|
|
2545
|
-
type
|
|
2228
|
+
/** @returns {UpdateShipmentStatusRequest} */
|
|
2229
|
+
declare function UpdateShipmentStatusRequest(): UpdateShipmentStatusRequest;
|
|
2230
|
+
type UpdateShipmentStatusRequest = {
|
|
2546
2231
|
/**
|
|
2547
|
-
* - An array containing different
|
|
2548
|
-
* status details.
|
|
2232
|
+
* - An array containing different status details.
|
|
2549
2233
|
*/
|
|
2550
|
-
statuses?:
|
|
2234
|
+
statuses?: StatuesRequest[];
|
|
2551
2235
|
/**
|
|
2552
2236
|
* - Indicates whether the task is active or required.
|
|
2553
2237
|
*/
|
|
@@ -2568,26 +2252,26 @@ type UpdateShipmentStatusRequestSchema = {
|
|
|
2568
2252
|
*/
|
|
2569
2253
|
unlock_before_transition?: boolean;
|
|
2570
2254
|
};
|
|
2571
|
-
/** @returns {
|
|
2572
|
-
declare function
|
|
2573
|
-
type
|
|
2255
|
+
/** @returns {StatusesBodyResponse} */
|
|
2256
|
+
declare function StatusesBodyResponse(): StatusesBodyResponse;
|
|
2257
|
+
type StatusesBodyResponse = {
|
|
2574
2258
|
/**
|
|
2575
2259
|
* - List of shipments.
|
|
2576
2260
|
*/
|
|
2577
2261
|
shipments?: any[];
|
|
2578
2262
|
};
|
|
2579
|
-
/** @returns {
|
|
2580
|
-
declare function
|
|
2581
|
-
type
|
|
2263
|
+
/** @returns {ShipmentApplicationStatusResponse} */
|
|
2264
|
+
declare function ShipmentApplicationStatusResponse(): ShipmentApplicationStatusResponse;
|
|
2265
|
+
type ShipmentApplicationStatusResponse = {
|
|
2582
2266
|
/**
|
|
2583
|
-
* - An array containing
|
|
2584
|
-
*
|
|
2267
|
+
* - An array containing different
|
|
2268
|
+
* status options of shipments.
|
|
2585
2269
|
*/
|
|
2586
|
-
statuses?:
|
|
2270
|
+
statuses?: StatusesBodyResponse[];
|
|
2587
2271
|
};
|
|
2588
|
-
/** @returns {
|
|
2589
|
-
declare function
|
|
2590
|
-
type
|
|
2272
|
+
/** @returns {ErrorResponse} */
|
|
2273
|
+
declare function ErrorResponse(): ErrorResponse;
|
|
2274
|
+
type ErrorResponse = {
|
|
2591
2275
|
/**
|
|
2592
2276
|
* - The HTTP status code of the response.
|
|
2593
2277
|
*/
|