@gofynd/fdk-client-javascript 1.4.13 → 1.4.14
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 +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
- package/sdk/application/Cart/CartApplicationClient.js +130 -53
- package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
- package/sdk/application/Cart/CartApplicationModel.js +380 -159
- package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
- package/sdk/application/Cart/CartApplicationValidator.js +34 -18
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
- package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
- package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
- package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
- package/sdk/application/Common/CommonApplicationClient.js +6 -5
- package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
- package/sdk/application/Common/CommonApplicationModel.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +23 -33
- package/sdk/application/Content/ContentApplicationClient.js +54 -75
- package/sdk/application/Content/ContentApplicationModel.d.ts +93 -37
- package/sdk/application/Content/ContentApplicationModel.js +83 -32
- package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
- package/sdk/application/Content/ContentApplicationValidator.js +15 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
- package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
- package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
- package/sdk/application/Lead/LeadApplicationClient.js +2 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationModel.js +19 -19
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
- package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
- package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
- package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
- package/sdk/application/Order/OrderApplicationClient.js +96 -13
- package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
- package/sdk/application/Order/OrderApplicationModel.js +278 -73
- package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
- package/sdk/application/Order/OrderApplicationValidator.js +15 -2
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
- package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
- package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
- package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
- 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 +8 -6
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +48 -17
- package/sdk/application/Theme/ThemeApplicationModel.js +42 -22
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
- package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
- 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 +11 -9
- package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
- package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
- package/sdk/application/index.d.ts +1 -0
- package/sdk/application/index.js +2 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
- 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 +126 -20
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
- package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
- package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
- package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +208 -183
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +383 -358
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +122 -126
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +66 -68
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +141 -118
- package/sdk/platform/Catalog/CatalogPlatformClient.js +193 -170
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1516 -1766
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1393 -1224
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
- package/sdk/platform/Common/CommonPlatformClient.js +3 -2
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
- package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
- package/sdk/platform/Content/ContentPlatformModel.js +521 -390
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
- package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
- package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
- 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 +94 -36
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- 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 +15 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +178 -97
- package/sdk/platform/Order/OrderPlatformClient.js +589 -229
- package/sdk/platform/Order/OrderPlatformModel.d.ts +5447 -3071
- package/sdk/platform/Order/OrderPlatformModel.js +3496 -1653
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +241 -176
- package/sdk/platform/Order/OrderPlatformValidator.js +153 -97
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +327 -313
- package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- 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 +45 -35
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
- 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 +36 -5
- package/sdk/platform/Share/SharePlatformModel.js +27 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
- package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
- 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 +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
- package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
- package/sdk/public/Content/ContentPublicClient.js +791 -5
- package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
- package/sdk/public/Content/ContentPublicModel.js +649 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
- package/sdk/public/Content/ContentPublicValidator.js +88 -2
- 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/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -32,7 +32,12 @@ 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.
|
|
35
|
+
* representing the currency used for the value. This specifies the currency
|
|
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.
|
|
36
41
|
*/
|
|
37
42
|
/**
|
|
38
43
|
* @typedef ShipmentPayment
|
|
@@ -72,8 +77,42 @@ export = OrderApplicationModel;
|
|
|
72
77
|
* @property {string} [code] - A code associated with the store.
|
|
73
78
|
* @property {string} [name] - The name of the store.
|
|
74
79
|
* @property {string} [company_name] - The name of the company associated with the store.
|
|
75
|
-
* @property {number} [company_id] -
|
|
76
|
-
|
|
80
|
+
* @property {number} [company_id] - Schema for fulfilling store.
|
|
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
|
|
77
116
|
*/
|
|
78
117
|
/**
|
|
79
118
|
* @typedef ShipmentStatus
|
|
@@ -82,7 +121,10 @@ export = OrderApplicationModel;
|
|
|
82
121
|
* @property {string} [title] - The title or display name representing the
|
|
83
122
|
* shipment status.
|
|
84
123
|
* @property {string} [hex_code] - The hexadecimal color code associated with
|
|
85
|
-
* the shipment status.
|
|
124
|
+
* the shipment status. Each state of a shipment (like "processing",
|
|
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.
|
|
86
128
|
*/
|
|
87
129
|
/**
|
|
88
130
|
* @typedef Invoice
|
|
@@ -155,7 +197,12 @@ export = OrderApplicationModel;
|
|
|
155
197
|
* @property {number} [promotion_effective_discount] - The effective discount
|
|
156
198
|
* from promotions.
|
|
157
199
|
* @property {number} [refund_amount] - The amount refunded to the customer.
|
|
158
|
-
* @property {string} [currency_code] -
|
|
200
|
+
* @property {string} [currency_code] - This specifies the currency code for all
|
|
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.
|
|
159
206
|
* @property {number} [fynd_credits] - The amount of Fynd credits used.
|
|
160
207
|
* @property {number} [amount_to_be_collected] - The total amount that needs to
|
|
161
208
|
* be collected from the customer.
|
|
@@ -174,7 +221,9 @@ export = OrderApplicationModel;
|
|
|
174
221
|
* @property {string} [code] - The code or SKU of the item.
|
|
175
222
|
* @property {number} [id] - The unique identifier of the item.
|
|
176
223
|
* @property {string} [name] - The name of the item.
|
|
177
|
-
* @property {string} [l3_category_name] -
|
|
224
|
+
* @property {string} [l3_category_name] - This key specifies the name of the
|
|
225
|
+
* third-level category under which the product is listed, offering a more
|
|
226
|
+
* detailed classification within the e-commerce platform's hierarchy.
|
|
178
227
|
* @property {string} [slug_key] - A unique key or identifier for the item slug.
|
|
179
228
|
* @property {string[]} [l2_categories] - An array of level 2 categories the
|
|
180
229
|
* item belongs to.
|
|
@@ -198,14 +247,34 @@ export = OrderApplicationModel;
|
|
|
198
247
|
* qualify for the promotion.
|
|
199
248
|
* @property {string} [promo_id] - The unique identifier for the promotion.
|
|
200
249
|
* @property {number} [amount] - The discount amount provided by the promotion.
|
|
201
|
-
* @property {string} [promotion_type] -
|
|
250
|
+
* @property {string} [promotion_type] - Specifies the type of discount or deal
|
|
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.
|
|
202
266
|
* @property {AppliedFreeArticles[]} [applied_free_articles] - An array
|
|
203
267
|
* containing details of free articles applied under the promotion.
|
|
204
268
|
*/
|
|
205
269
|
/**
|
|
206
270
|
* @typedef Identifiers
|
|
207
271
|
* @property {string} [ean] - The European Article Number (EAN) of the item.
|
|
208
|
-
* @property {string} [sku_code] - The Stock Keeping Unit (SKU) code 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.
|
|
209
278
|
*/
|
|
210
279
|
/**
|
|
211
280
|
* @typedef FinancialBreakup
|
|
@@ -216,8 +285,12 @@ export = OrderApplicationModel;
|
|
|
216
285
|
* other charges.
|
|
217
286
|
* @property {number} [price_marked] - The original marked price of the item.
|
|
218
287
|
* @property {number} [coupon_effective_discount] - The effective discount from coupons.
|
|
219
|
-
* @property {string} [hsn_code] - The HSN (Harmonized System of
|
|
220
|
-
*
|
|
288
|
+
* @property {string} [hsn_code] - The HSN Code (Harmonized System of
|
|
289
|
+
* Nomenclature Code) is an internationally standardized system for
|
|
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.
|
|
221
294
|
* @property {number} [discount] - The discount applied to the item.
|
|
222
295
|
* @property {number} [gst_tax_percentage] - The GST tax percentage applied .
|
|
223
296
|
* @property {number} [cod_charges] - The cash on delivery charges, if applicable.
|
|
@@ -249,8 +322,13 @@ export = OrderApplicationModel;
|
|
|
249
322
|
* @property {string} [updated_at] - The date and time when the status was last updated.
|
|
250
323
|
* @property {string} [name] - The name or label indicating the current state or status.
|
|
251
324
|
* @property {string} [status] - The current status of the bag.
|
|
252
|
-
* @property {string} [journey_type] -
|
|
253
|
-
*
|
|
325
|
+
* @property {string} [journey_type] - It is a type being used to represent the
|
|
326
|
+
* journey of shipment through the performed status transition. Forward
|
|
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.
|
|
254
332
|
*/
|
|
255
333
|
/**
|
|
256
334
|
* @typedef Bags
|
|
@@ -272,11 +350,19 @@ export = OrderApplicationModel;
|
|
|
272
350
|
* financial details of the item.
|
|
273
351
|
* @property {Object} [parent_promo_bags] - An object containing details of
|
|
274
352
|
* parent promotional bags.
|
|
275
|
-
* @property {Object} [meta] -
|
|
276
|
-
*
|
|
353
|
+
* @property {Object} [meta] - It contains the additional properties related to
|
|
354
|
+
* shipment status transition like Kafka_emission_status, user_name, etc.
|
|
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.
|
|
277
362
|
* @property {string} [seller_identifier] - The identifier for the seller.
|
|
278
363
|
* @property {CurrentStatus} [current_status]
|
|
279
364
|
* @property {Article} [article]
|
|
365
|
+
* @property {PriceAdjustmentCharge[]} [charges]
|
|
280
366
|
*/
|
|
281
367
|
/**
|
|
282
368
|
* @typedef FulfillingCompany
|
|
@@ -298,7 +384,7 @@ export = OrderApplicationModel;
|
|
|
298
384
|
* @property {string} [area] - The area or locality.
|
|
299
385
|
* @property {string} [city] - The city of the address.
|
|
300
386
|
* @property {string} [address] - The full address.
|
|
301
|
-
* @property {string} [address_type] - The type of address.
|
|
387
|
+
* @property {string} [address_type] - The type of the address (e.g., home, office).
|
|
302
388
|
* @property {number} [longitude] - The longitude coordinate.
|
|
303
389
|
* @property {string} [country_iso_code] - The ISO code for the country.
|
|
304
390
|
* @property {string} [state] - The state of the address.
|
|
@@ -308,7 +394,20 @@ export = OrderApplicationModel;
|
|
|
308
394
|
* typically used for printing or displaying in user interfaces.
|
|
309
395
|
* @property {string} [name] - The name of the person associated with the address.
|
|
310
396
|
* @property {string} [contact_person] - The name of the contact person.
|
|
311
|
-
* @property {string} [address_category] -
|
|
397
|
+
* @property {string} [address_category] - Category or classification of the
|
|
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
|
+
*
|
|
312
411
|
* @property {string} [email] - The email address.
|
|
313
412
|
* @property {string} [country_phone_code] - The country phone code.
|
|
314
413
|
* @property {string} [version] - The version of the address format.
|
|
@@ -321,8 +420,25 @@ export = OrderApplicationModel;
|
|
|
321
420
|
* @property {ShipmentPaymentInfo[]} [payment_info] - Array of objects
|
|
322
421
|
* containing payment methods used for placing an order. Each object will
|
|
323
422
|
* provide information about corresponding payment method with relevant details.
|
|
324
|
-
* @property {string} [order_type] -
|
|
325
|
-
*
|
|
423
|
+
* @property {string} [order_type] - Defines the specific journey a shipment
|
|
424
|
+
* will follow based on the application's operational needs and customer
|
|
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.
|
|
326
442
|
* @property {boolean} [show_download_invoice] - Indicates if the download
|
|
327
443
|
* invoice option should be shown.
|
|
328
444
|
* @property {boolean} [can_cancel] - Indicates if the shipment can be canceled.
|
|
@@ -369,7 +485,8 @@ export = OrderApplicationModel;
|
|
|
369
485
|
* @property {Object} [return_meta] - An object containing metadata about the
|
|
370
486
|
* return process.
|
|
371
487
|
* @property {string} [delivery_date] - The expected delivery date.
|
|
372
|
-
* @property {
|
|
488
|
+
* @property {OrderRequestSchema} [order]
|
|
489
|
+
* @property {PriceAdjustmentCharge[]} [charges]
|
|
373
490
|
*/
|
|
374
491
|
/**
|
|
375
492
|
* @typedef BagsForReorderArticleAssignment
|
|
@@ -389,7 +506,12 @@ export = OrderApplicationModel;
|
|
|
389
506
|
* @typedef OrderSchema
|
|
390
507
|
* @property {number} [total_shipments_in_order] - The total number of shipments
|
|
391
508
|
* in the order.
|
|
392
|
-
* @property {string} [gstin_code] -
|
|
509
|
+
* @property {string} [gstin_code] - A GST Number (Goods and Services Tax
|
|
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.
|
|
393
515
|
* @property {UserInfo} [user_info]
|
|
394
516
|
* @property {BreakupValues[]} [breakup_values] - An array containing the
|
|
395
517
|
* breakup of various charges and discounts.
|
|
@@ -398,7 +520,8 @@ export = OrderApplicationModel;
|
|
|
398
520
|
* @property {string} [order_id] - The unique identifier for the order.
|
|
399
521
|
* @property {Shipments[]} [shipments] - An array containing details of
|
|
400
522
|
* individual shipments within the order.
|
|
401
|
-
* @property {BagsForReorder[]} [bags_for_reorder] -
|
|
523
|
+
* @property {BagsForReorder[]} [bags_for_reorder] - Order details.
|
|
524
|
+
* @property {PriceAdjustmentCharge[]} [charges] - An array containing details
|
|
402
525
|
* of bags available for reorder.
|
|
403
526
|
* @property {Object} [meta] - An object containing additional metadata for the order.
|
|
404
527
|
*/
|
|
@@ -458,7 +581,7 @@ export = OrderApplicationModel;
|
|
|
458
581
|
* @property {Track[]} [results] - A array containing tracking details.
|
|
459
582
|
*/
|
|
460
583
|
/**
|
|
461
|
-
* @typedef
|
|
584
|
+
* @typedef CustomerDetailsResponseSchema
|
|
462
585
|
* @property {string} [phone] - Customer's phone number.
|
|
463
586
|
* @property {string} [shipment_id] - Unique identifier of the shipment.
|
|
464
587
|
* @property {string} [name] - Customer's name.
|
|
@@ -466,7 +589,7 @@ export = OrderApplicationModel;
|
|
|
466
589
|
* @property {string} [country] - Country of the customer.
|
|
467
590
|
*/
|
|
468
591
|
/**
|
|
469
|
-
* @typedef
|
|
592
|
+
* @typedef SendOtpToCustomerResponseSchema
|
|
470
593
|
* @property {string} [request_id] - Unique identifier for the request.
|
|
471
594
|
* @property {string} [message] - Message indicating the result of the request.
|
|
472
595
|
* @property {boolean} [success] - Indicates whether the request was successful.
|
|
@@ -478,7 +601,7 @@ export = OrderApplicationModel;
|
|
|
478
601
|
* @property {string} [request_id] - Unique identifier for the request.
|
|
479
602
|
*/
|
|
480
603
|
/**
|
|
481
|
-
* @typedef
|
|
604
|
+
* @typedef VerifyOtpResponseSchema
|
|
482
605
|
* @property {boolean} [success] - Indicates whether the request was successful.
|
|
483
606
|
*/
|
|
484
607
|
/**
|
|
@@ -493,7 +616,20 @@ export = OrderApplicationModel;
|
|
|
493
616
|
*/
|
|
494
617
|
/**
|
|
495
618
|
* @typedef BagReasons
|
|
496
|
-
* @property {string[]} [qc_type] -
|
|
619
|
+
* @property {string[]} [qc_type] - List of QC (Quality Control) types -- having
|
|
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.
|
|
497
633
|
* @property {number} [id] - The unique identifier.
|
|
498
634
|
* @property {string} [display_name] - The text displayed.
|
|
499
635
|
* @property {BagReasonMeta} [meta]
|
|
@@ -504,6 +640,9 @@ export = OrderApplicationModel;
|
|
|
504
640
|
* @typedef ShipmentBagReasons
|
|
505
641
|
* @property {BagReasons[]} [reasons] - A list of shipment's bag reasons.
|
|
506
642
|
* @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.
|
|
507
646
|
*/
|
|
508
647
|
/**
|
|
509
648
|
* @typedef ShipmentReason
|
|
@@ -559,8 +698,16 @@ export = OrderApplicationModel;
|
|
|
559
698
|
*/
|
|
560
699
|
/**
|
|
561
700
|
* @typedef ProductsDataUpdatesFilters
|
|
562
|
-
* @property {number} [line_number] -
|
|
563
|
-
*
|
|
701
|
+
* @property {number} [line_number] - Represents the specific line item within a
|
|
702
|
+
* bag, used to identify and reference a particular product in a list. This
|
|
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.
|
|
564
711
|
*/
|
|
565
712
|
/**
|
|
566
713
|
* @typedef ProductsDataUpdates
|
|
@@ -579,7 +726,7 @@ export = OrderApplicationModel;
|
|
|
579
726
|
* @property {EntitiesDataUpdates[]} [entities] - Data updates for shipments.
|
|
580
727
|
*/
|
|
581
728
|
/**
|
|
582
|
-
* @typedef
|
|
729
|
+
* @typedef ShipmentsRequestSchema
|
|
583
730
|
* @property {ReasonsData} [reasons]
|
|
584
731
|
* @property {Products[]} [products] - Specific bag to be updated.
|
|
585
732
|
* @property {DataUpdates} [data_updates]
|
|
@@ -587,20 +734,21 @@ export = OrderApplicationModel;
|
|
|
587
734
|
* the shipment_id.
|
|
588
735
|
*/
|
|
589
736
|
/**
|
|
590
|
-
* @typedef
|
|
591
|
-
* @property {
|
|
592
|
-
* about shipments.
|
|
737
|
+
* @typedef StatuesRequestSchema
|
|
738
|
+
* @property {ShipmentsRequestSchema[]} [shipments] - A list containing
|
|
739
|
+
* information about shipments.
|
|
593
740
|
* @property {string} [exclude_bags_next_state] - State to be change for
|
|
594
741
|
* Remaining Bag/Products.
|
|
595
742
|
* @property {string} [status] - The status to which the entity is to be transitioned.
|
|
596
743
|
*/
|
|
597
744
|
/**
|
|
598
|
-
* @typedef
|
|
745
|
+
* @typedef OrderRequestSchema
|
|
599
746
|
* @property {Object} [meta] - Metadata for the order.
|
|
600
747
|
*/
|
|
601
748
|
/**
|
|
602
|
-
* @typedef
|
|
603
|
-
* @property {
|
|
749
|
+
* @typedef UpdateShipmentStatusRequestSchema
|
|
750
|
+
* @property {StatuesRequestSchema[]} [statuses] - An array containing different
|
|
751
|
+
* status details.
|
|
604
752
|
* @property {boolean} [task] - Indicates whether the task is active or required.
|
|
605
753
|
* @property {boolean} [lock_after_transition] - Indicates whether the status
|
|
606
754
|
* should be locked after the transition.
|
|
@@ -610,16 +758,16 @@ export = OrderApplicationModel;
|
|
|
610
758
|
* should be unlocked before the transition.
|
|
611
759
|
*/
|
|
612
760
|
/**
|
|
613
|
-
* @typedef
|
|
761
|
+
* @typedef StatusesBodyResponseSchema
|
|
614
762
|
* @property {Object[]} [shipments] - List of shipments.
|
|
615
763
|
*/
|
|
616
764
|
/**
|
|
617
|
-
* @typedef
|
|
618
|
-
* @property {
|
|
619
|
-
* status options of shipments.
|
|
765
|
+
* @typedef ShipmentApplicationStatusResponseSchema
|
|
766
|
+
* @property {StatusesBodyResponseSchema[]} [statuses] - An array containing
|
|
767
|
+
* different status options of shipments.
|
|
620
768
|
*/
|
|
621
769
|
/**
|
|
622
|
-
* @typedef
|
|
770
|
+
* @typedef ErrorResponseSchema
|
|
623
771
|
* @property {string} [code] - The HTTP status code of the response.
|
|
624
772
|
* @property {string} [message] - A message providing details about the response.
|
|
625
773
|
* @property {number} [status] - An additional code providing more context about
|
|
@@ -630,7 +778,7 @@ export = OrderApplicationModel;
|
|
|
630
778
|
declare class OrderApplicationModel {
|
|
631
779
|
}
|
|
632
780
|
declare namespace OrderApplicationModel {
|
|
633
|
-
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,
|
|
781
|
+
export { OrderPage, UserInfo, BreakupValues, ShipmentPayment, ShipmentPaymentInfo, ShipmentUserInfo, FulfillingStore, ChargeDistributionSchema, ChargeDistributionLogic, ChargeAmountCurrency, ChargeAmount, PriceAdjustmentCharge, 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, CustomerDetailsResponseSchema, SendOtpToCustomerResponseSchema, VerifyOtp, VerifyOtpResponseSchema, BagReasonMeta, QuestionSet, BagReasons, ShipmentBagReasons, ShipmentReason, ShipmentReasons, ProductsReasonsData, ProductsReasonsFilters, ProductsReasons, EntityReasonData, EntitiesReasons, ReasonsData, Products, ProductsDataUpdatesFilters, ProductsDataUpdates, EntitiesDataUpdates, DataUpdates, ShipmentsRequestSchema, StatuesRequestSchema, OrderRequestSchema, UpdateShipmentStatusRequestSchema, StatusesBodyResponseSchema, ShipmentApplicationStatusResponseSchema, ErrorResponseSchema };
|
|
634
782
|
}
|
|
635
783
|
/** @returns {OrderPage} */
|
|
636
784
|
declare function OrderPage(): OrderPage;
|
|
@@ -714,7 +862,12 @@ type BreakupValues = {
|
|
|
714
862
|
display?: string;
|
|
715
863
|
/**
|
|
716
864
|
* - The international currency code
|
|
717
|
-
* representing the currency used for the value.
|
|
865
|
+
* representing the currency used for the value. This specifies the currency
|
|
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.
|
|
718
871
|
*/
|
|
719
872
|
currency_code?: string;
|
|
720
873
|
};
|
|
@@ -830,11 +983,74 @@ type FulfillingStore = {
|
|
|
830
983
|
*/
|
|
831
984
|
company_name?: string;
|
|
832
985
|
/**
|
|
833
|
-
* -
|
|
834
|
-
* with the store.
|
|
986
|
+
* - Schema for fulfilling store.
|
|
835
987
|
*/
|
|
836
988
|
company_id?: number;
|
|
837
989
|
};
|
|
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
|
+
};
|
|
838
1054
|
/** @returns {ShipmentStatus} */
|
|
839
1055
|
declare function ShipmentStatus(): ShipmentStatus;
|
|
840
1056
|
type ShipmentStatus = {
|
|
@@ -850,7 +1066,10 @@ type ShipmentStatus = {
|
|
|
850
1066
|
title?: string;
|
|
851
1067
|
/**
|
|
852
1068
|
* - The hexadecimal color code associated with
|
|
853
|
-
* the shipment status.
|
|
1069
|
+
* the shipment status. Each state of a shipment (like "processing",
|
|
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.
|
|
854
1073
|
*/
|
|
855
1074
|
hex_code?: string;
|
|
856
1075
|
};
|
|
@@ -1053,7 +1272,12 @@ type Prices = {
|
|
|
1053
1272
|
*/
|
|
1054
1273
|
refund_amount?: number;
|
|
1055
1274
|
/**
|
|
1056
|
-
* -
|
|
1275
|
+
* - This specifies the currency code for all
|
|
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.
|
|
1057
1281
|
*/
|
|
1058
1282
|
currency_code?: string;
|
|
1059
1283
|
/**
|
|
@@ -1107,7 +1331,9 @@ type Item = {
|
|
|
1107
1331
|
*/
|
|
1108
1332
|
name?: string;
|
|
1109
1333
|
/**
|
|
1110
|
-
* -
|
|
1334
|
+
* - This key specifies the name of the
|
|
1335
|
+
* third-level category under which the product is listed, offering a more
|
|
1336
|
+
* detailed classification within the e-commerce platform's hierarchy.
|
|
1111
1337
|
*/
|
|
1112
1338
|
l3_category_name?: string;
|
|
1113
1339
|
/**
|
|
@@ -1175,7 +1401,22 @@ type AppliedPromos = {
|
|
|
1175
1401
|
*/
|
|
1176
1402
|
amount?: number;
|
|
1177
1403
|
/**
|
|
1178
|
-
* -
|
|
1404
|
+
* - Specifies the type of discount or deal
|
|
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.
|
|
1179
1420
|
*/
|
|
1180
1421
|
promotion_type?: string;
|
|
1181
1422
|
/**
|
|
@@ -1192,7 +1433,12 @@ type Identifiers = {
|
|
|
1192
1433
|
*/
|
|
1193
1434
|
ean?: string;
|
|
1194
1435
|
/**
|
|
1195
|
-
* - The Stock Keeping Unit (SKU) code of the item
|
|
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.
|
|
1196
1442
|
*/
|
|
1197
1443
|
sku_code?: string;
|
|
1198
1444
|
};
|
|
@@ -1225,8 +1471,12 @@ type FinancialBreakup = {
|
|
|
1225
1471
|
*/
|
|
1226
1472
|
coupon_effective_discount?: number;
|
|
1227
1473
|
/**
|
|
1228
|
-
* - The HSN (Harmonized System of
|
|
1229
|
-
*
|
|
1474
|
+
* - The HSN Code (Harmonized System of
|
|
1475
|
+
* Nomenclature Code) is an internationally standardized system for
|
|
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.
|
|
1230
1480
|
*/
|
|
1231
1481
|
hsn_code?: string;
|
|
1232
1482
|
/**
|
|
@@ -1331,8 +1581,13 @@ type CurrentStatus = {
|
|
|
1331
1581
|
*/
|
|
1332
1582
|
status?: string;
|
|
1333
1583
|
/**
|
|
1334
|
-
* -
|
|
1335
|
-
*
|
|
1584
|
+
* - It is a type being used to represent the
|
|
1585
|
+
* journey of shipment through the performed status transition. Forward
|
|
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.
|
|
1336
1591
|
*/
|
|
1337
1592
|
journey_type?: string;
|
|
1338
1593
|
};
|
|
@@ -1391,11 +1646,18 @@ type Bags = {
|
|
|
1391
1646
|
*/
|
|
1392
1647
|
parent_promo_bags?: any;
|
|
1393
1648
|
/**
|
|
1394
|
-
* -
|
|
1649
|
+
* - It contains the additional properties related to
|
|
1650
|
+
* shipment status transition like Kafka_emission_status, user_name, etc.
|
|
1651
|
+
* Additionally it is dynamic.
|
|
1395
1652
|
*/
|
|
1396
1653
|
meta?: any;
|
|
1397
1654
|
/**
|
|
1398
|
-
* -
|
|
1655
|
+
* - This specifies the currency code for all
|
|
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.
|
|
1399
1661
|
*/
|
|
1400
1662
|
currency_code?: string;
|
|
1401
1663
|
/**
|
|
@@ -1404,6 +1666,7 @@ type Bags = {
|
|
|
1404
1666
|
seller_identifier?: string;
|
|
1405
1667
|
current_status?: CurrentStatus;
|
|
1406
1668
|
article?: Article;
|
|
1669
|
+
charges?: PriceAdjustmentCharge[];
|
|
1407
1670
|
};
|
|
1408
1671
|
/** @returns {FulfillingCompany} */
|
|
1409
1672
|
declare function FulfillingCompany(): FulfillingCompany;
|
|
@@ -1462,7 +1725,7 @@ type Address = {
|
|
|
1462
1725
|
*/
|
|
1463
1726
|
address?: string;
|
|
1464
1727
|
/**
|
|
1465
|
-
* - The type of address.
|
|
1728
|
+
* - The type of the address (e.g., home, office).
|
|
1466
1729
|
*/
|
|
1467
1730
|
address_type?: string;
|
|
1468
1731
|
/**
|
|
@@ -1499,7 +1762,19 @@ type Address = {
|
|
|
1499
1762
|
*/
|
|
1500
1763
|
contact_person?: string;
|
|
1501
1764
|
/**
|
|
1502
|
-
* -
|
|
1765
|
+
* - Category or classification of the
|
|
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.
|
|
1503
1778
|
*/
|
|
1504
1779
|
address_category?: string;
|
|
1505
1780
|
/**
|
|
@@ -1534,11 +1809,27 @@ type Shipments = {
|
|
|
1534
1809
|
*/
|
|
1535
1810
|
payment_info?: ShipmentPaymentInfo[];
|
|
1536
1811
|
/**
|
|
1537
|
-
* -
|
|
1812
|
+
* - Defines the specific journey a shipment
|
|
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.
|
|
1538
1824
|
*/
|
|
1539
1825
|
order_type?: string;
|
|
1540
1826
|
/**
|
|
1541
|
-
* -
|
|
1827
|
+
* - A GST Number (Goods and Services Tax
|
|
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.
|
|
1542
1833
|
*/
|
|
1543
1834
|
gstin_code?: string;
|
|
1544
1835
|
/**
|
|
@@ -1665,7 +1956,8 @@ type Shipments = {
|
|
|
1665
1956
|
* - The expected delivery date.
|
|
1666
1957
|
*/
|
|
1667
1958
|
delivery_date?: string;
|
|
1668
|
-
order?:
|
|
1959
|
+
order?: OrderRequestSchema;
|
|
1960
|
+
charges?: PriceAdjustmentCharge[];
|
|
1669
1961
|
};
|
|
1670
1962
|
/** @returns {BagsForReorderArticleAssignment} */
|
|
1671
1963
|
declare function BagsForReorderArticleAssignment(): BagsForReorderArticleAssignment;
|
|
@@ -1713,7 +2005,12 @@ type OrderSchema = {
|
|
|
1713
2005
|
*/
|
|
1714
2006
|
total_shipments_in_order?: number;
|
|
1715
2007
|
/**
|
|
1716
|
-
* -
|
|
2008
|
+
* - A GST Number (Goods and Services Tax
|
|
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.
|
|
1717
2014
|
*/
|
|
1718
2015
|
gstin_code?: string;
|
|
1719
2016
|
user_info?: UserInfo;
|
|
@@ -1739,11 +2036,15 @@ type OrderSchema = {
|
|
|
1739
2036
|
* individual shipments within the order.
|
|
1740
2037
|
*/
|
|
1741
2038
|
shipments?: Shipments[];
|
|
2039
|
+
/**
|
|
2040
|
+
* - Order details.
|
|
2041
|
+
*/
|
|
2042
|
+
bags_for_reorder?: BagsForReorder[];
|
|
1742
2043
|
/**
|
|
1743
2044
|
* - An array containing details
|
|
1744
2045
|
* of bags available for reorder.
|
|
1745
2046
|
*/
|
|
1746
|
-
|
|
2047
|
+
charges?: PriceAdjustmentCharge[];
|
|
1747
2048
|
/**
|
|
1748
2049
|
* - An object containing additional metadata for the order.
|
|
1749
2050
|
*/
|
|
@@ -1873,9 +2174,9 @@ type ShipmentTrack = {
|
|
|
1873
2174
|
*/
|
|
1874
2175
|
results?: Track[];
|
|
1875
2176
|
};
|
|
1876
|
-
/** @returns {
|
|
1877
|
-
declare function
|
|
1878
|
-
type
|
|
2177
|
+
/** @returns {CustomerDetailsResponseSchema} */
|
|
2178
|
+
declare function CustomerDetailsResponseSchema(): CustomerDetailsResponseSchema;
|
|
2179
|
+
type CustomerDetailsResponseSchema = {
|
|
1879
2180
|
/**
|
|
1880
2181
|
* - Customer's phone number.
|
|
1881
2182
|
*/
|
|
@@ -1897,9 +2198,9 @@ type CustomerDetailsResponse = {
|
|
|
1897
2198
|
*/
|
|
1898
2199
|
country?: string;
|
|
1899
2200
|
};
|
|
1900
|
-
/** @returns {
|
|
1901
|
-
declare function
|
|
1902
|
-
type
|
|
2201
|
+
/** @returns {SendOtpToCustomerResponseSchema} */
|
|
2202
|
+
declare function SendOtpToCustomerResponseSchema(): SendOtpToCustomerResponseSchema;
|
|
2203
|
+
type SendOtpToCustomerResponseSchema = {
|
|
1903
2204
|
/**
|
|
1904
2205
|
* - Unique identifier for the request.
|
|
1905
2206
|
*/
|
|
@@ -1929,9 +2230,9 @@ type VerifyOtp = {
|
|
|
1929
2230
|
*/
|
|
1930
2231
|
request_id?: string;
|
|
1931
2232
|
};
|
|
1932
|
-
/** @returns {
|
|
1933
|
-
declare function
|
|
1934
|
-
type
|
|
2233
|
+
/** @returns {VerifyOtpResponseSchema} */
|
|
2234
|
+
declare function VerifyOtpResponseSchema(): VerifyOtpResponseSchema;
|
|
2235
|
+
type VerifyOtpResponseSchema = {
|
|
1935
2236
|
/**
|
|
1936
2237
|
* - Indicates whether the request was successful.
|
|
1937
2238
|
*/
|
|
@@ -1962,7 +2263,20 @@ type QuestionSet = {
|
|
|
1962
2263
|
declare function BagReasons(): BagReasons;
|
|
1963
2264
|
type BagReasons = {
|
|
1964
2265
|
/**
|
|
1965
|
-
* -
|
|
2266
|
+
* - List of QC (Quality Control) types -- having
|
|
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.
|
|
1966
2280
|
*/
|
|
1967
2281
|
qc_type?: string[];
|
|
1968
2282
|
/**
|
|
@@ -1994,6 +2308,12 @@ type ShipmentBagReasons = {
|
|
|
1994
2308
|
* - Indicates if the operation was successful.
|
|
1995
2309
|
*/
|
|
1996
2310
|
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;
|
|
1997
2317
|
};
|
|
1998
2318
|
/** @returns {ShipmentReason} */
|
|
1999
2319
|
declare function ShipmentReason(): ShipmentReason;
|
|
@@ -2123,13 +2443,24 @@ type Products = {
|
|
|
2123
2443
|
declare function ProductsDataUpdatesFilters(): ProductsDataUpdatesFilters;
|
|
2124
2444
|
type ProductsDataUpdatesFilters = {
|
|
2125
2445
|
/**
|
|
2126
|
-
* -
|
|
2446
|
+
* - Represents the specific line item within a
|
|
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.
|
|
2127
2449
|
*/
|
|
2128
2450
|
line_number?: number;
|
|
2129
2451
|
/**
|
|
2130
|
-
* -
|
|
2452
|
+
* - A unique string that serves as the
|
|
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.
|
|
2131
2456
|
*/
|
|
2132
2457
|
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;
|
|
2133
2464
|
};
|
|
2134
2465
|
/** @returns {ProductsDataUpdates} */
|
|
2135
2466
|
declare function ProductsDataUpdates(): ProductsDataUpdates;
|
|
@@ -2168,9 +2499,9 @@ type DataUpdates = {
|
|
|
2168
2499
|
*/
|
|
2169
2500
|
entities?: EntitiesDataUpdates[];
|
|
2170
2501
|
};
|
|
2171
|
-
/** @returns {
|
|
2172
|
-
declare function
|
|
2173
|
-
type
|
|
2502
|
+
/** @returns {ShipmentsRequestSchema} */
|
|
2503
|
+
declare function ShipmentsRequestSchema(): ShipmentsRequestSchema;
|
|
2504
|
+
type ShipmentsRequestSchema = {
|
|
2174
2505
|
reasons?: ReasonsData;
|
|
2175
2506
|
/**
|
|
2176
2507
|
* - Specific bag to be updated.
|
|
@@ -2183,14 +2514,14 @@ type ShipmentsRequest = {
|
|
|
2183
2514
|
*/
|
|
2184
2515
|
identifier: string;
|
|
2185
2516
|
};
|
|
2186
|
-
/** @returns {
|
|
2187
|
-
declare function
|
|
2188
|
-
type
|
|
2517
|
+
/** @returns {StatuesRequestSchema} */
|
|
2518
|
+
declare function StatuesRequestSchema(): StatuesRequestSchema;
|
|
2519
|
+
type StatuesRequestSchema = {
|
|
2189
2520
|
/**
|
|
2190
|
-
* - A list containing
|
|
2191
|
-
* about shipments.
|
|
2521
|
+
* - A list containing
|
|
2522
|
+
* information about shipments.
|
|
2192
2523
|
*/
|
|
2193
|
-
shipments?:
|
|
2524
|
+
shipments?: ShipmentsRequestSchema[];
|
|
2194
2525
|
/**
|
|
2195
2526
|
* - State to be change for
|
|
2196
2527
|
* Remaining Bag/Products.
|
|
@@ -2201,21 +2532,22 @@ type StatuesRequest = {
|
|
|
2201
2532
|
*/
|
|
2202
2533
|
status?: string;
|
|
2203
2534
|
};
|
|
2204
|
-
/** @returns {
|
|
2205
|
-
declare function
|
|
2206
|
-
type
|
|
2535
|
+
/** @returns {OrderRequestSchema} */
|
|
2536
|
+
declare function OrderRequestSchema(): OrderRequestSchema;
|
|
2537
|
+
type OrderRequestSchema = {
|
|
2207
2538
|
/**
|
|
2208
2539
|
* - Metadata for the order.
|
|
2209
2540
|
*/
|
|
2210
2541
|
meta?: any;
|
|
2211
2542
|
};
|
|
2212
|
-
/** @returns {
|
|
2213
|
-
declare function
|
|
2214
|
-
type
|
|
2543
|
+
/** @returns {UpdateShipmentStatusRequestSchema} */
|
|
2544
|
+
declare function UpdateShipmentStatusRequestSchema(): UpdateShipmentStatusRequestSchema;
|
|
2545
|
+
type UpdateShipmentStatusRequestSchema = {
|
|
2215
2546
|
/**
|
|
2216
|
-
* - An array containing different
|
|
2547
|
+
* - An array containing different
|
|
2548
|
+
* status details.
|
|
2217
2549
|
*/
|
|
2218
|
-
statuses?:
|
|
2550
|
+
statuses?: StatuesRequestSchema[];
|
|
2219
2551
|
/**
|
|
2220
2552
|
* - Indicates whether the task is active or required.
|
|
2221
2553
|
*/
|
|
@@ -2236,26 +2568,26 @@ type UpdateShipmentStatusRequest = {
|
|
|
2236
2568
|
*/
|
|
2237
2569
|
unlock_before_transition?: boolean;
|
|
2238
2570
|
};
|
|
2239
|
-
/** @returns {
|
|
2240
|
-
declare function
|
|
2241
|
-
type
|
|
2571
|
+
/** @returns {StatusesBodyResponseSchema} */
|
|
2572
|
+
declare function StatusesBodyResponseSchema(): StatusesBodyResponseSchema;
|
|
2573
|
+
type StatusesBodyResponseSchema = {
|
|
2242
2574
|
/**
|
|
2243
2575
|
* - List of shipments.
|
|
2244
2576
|
*/
|
|
2245
2577
|
shipments?: any[];
|
|
2246
2578
|
};
|
|
2247
|
-
/** @returns {
|
|
2248
|
-
declare function
|
|
2249
|
-
type
|
|
2579
|
+
/** @returns {ShipmentApplicationStatusResponseSchema} */
|
|
2580
|
+
declare function ShipmentApplicationStatusResponseSchema(): ShipmentApplicationStatusResponseSchema;
|
|
2581
|
+
type ShipmentApplicationStatusResponseSchema = {
|
|
2250
2582
|
/**
|
|
2251
|
-
* - An array containing
|
|
2252
|
-
* status options of shipments.
|
|
2583
|
+
* - An array containing
|
|
2584
|
+
* different status options of shipments.
|
|
2253
2585
|
*/
|
|
2254
|
-
statuses?:
|
|
2586
|
+
statuses?: StatusesBodyResponseSchema[];
|
|
2255
2587
|
};
|
|
2256
|
-
/** @returns {
|
|
2257
|
-
declare function
|
|
2258
|
-
type
|
|
2588
|
+
/** @returns {ErrorResponseSchema} */
|
|
2589
|
+
declare function ErrorResponseSchema(): ErrorResponseSchema;
|
|
2590
|
+
type ErrorResponseSchema = {
|
|
2259
2591
|
/**
|
|
2260
2592
|
* - The HTTP status code of the response.
|
|
2261
2593
|
*/
|