@gofynd/fdk-client-javascript 1.0.1 → 1.0.3
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/documentation/application/CART.md +5934 -4502
- package/documentation/application/CATALOG.md +6338 -7245
- package/documentation/application/COMMON.md +95 -222
- package/documentation/application/COMMUNICATION.md +106 -186
- package/documentation/application/CONFIGURATION.md +903 -1597
- package/documentation/application/CONTENT.md +562 -1270
- package/documentation/application/FILESTORAGE.md +84 -220
- package/documentation/application/LEAD.md +314 -660
- package/documentation/application/LOGISTIC.md +229 -305
- package/documentation/application/ORDER.md +642 -1137
- package/documentation/application/PAYMENT.md +2285 -3031
- package/documentation/application/POSCART.md +6079 -4642
- package/documentation/application/REWARDS.md +94 -248
- package/documentation/application/SHARE.md +152 -250
- package/documentation/application/THEME.md +952 -1235
- package/documentation/application/USER.md +1228 -1765
- package/documentation/platform/ANALYTICS.md +207 -349
- package/documentation/platform/AUDITTRAIL.md +121 -204
- package/documentation/platform/BILLING.md +865 -1376
- package/documentation/platform/CART.md +2814 -3662
- package/documentation/platform/CATALOG.md +15266 -17619
- package/documentation/platform/COMMON.md +95 -222
- package/documentation/platform/COMMUNICATION.md +1632 -2380
- package/documentation/platform/COMPANYPROFILE.md +572 -957
- package/documentation/platform/CONFIGURATION.md +3050 -4073
- package/documentation/platform/CONTENT.md +3509 -4121
- package/documentation/platform/DISCOUNT.md +140 -236
- package/documentation/platform/FILESTORAGE.md +187 -323
- package/documentation/platform/INVENTORY.md +268 -911
- package/documentation/platform/LEAD.md +2195 -2541
- package/documentation/platform/ORDER.md +3750 -5636
- package/documentation/platform/PARTNER.md +9 -36
- package/documentation/platform/PAYMENT.md +903 -1213
- package/documentation/platform/REWARDS.md +183 -347
- package/documentation/platform/SHARE.md +120 -213
- package/documentation/platform/THEME.md +12956 -13239
- package/documentation/platform/USER.md +975 -1120
- package/documentation/platform/WEBHOOK.md +78 -184
- package/documentation/public/CONFIGURATION.md +95 -222
- package/documentation/public/INVENTORY.md +100 -282
- package/documentation/public/WEBHOOK.md +27 -133
- package/package.json +1 -1
- package/sdk/application/ApplicationConfig.js +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
- package/sdk/application/Cart/CartApplicationClient.js +1058 -547
- package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
- package/sdk/application/Cart/CartApplicationModel.js +489 -886
- package/sdk/application/Cart/CartApplicationValidator.d.ts +17 -17
- package/sdk/application/Cart/CartApplicationValidator.js +98 -98
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +358 -358
- package/sdk/application/Catalog/CatalogApplicationClient.js +1545 -949
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
- package/sdk/application/Catalog/CatalogApplicationModel.js +692 -1258
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +19 -19
- package/sdk/application/Catalog/CatalogApplicationValidator.js +110 -110
- package/sdk/application/Common/CommonApplicationClient.d.ts +13 -13
- package/sdk/application/Common/CommonApplicationClient.js +76 -36
- package/sdk/application/Common/CommonApplicationModel.d.ts +12 -12
- package/sdk/application/Common/CommonApplicationModel.js +83 -160
- package/sdk/application/Common/CommonApplicationValidator.d.ts +1 -1
- package/sdk/application/Common/CommonApplicationValidator.js +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +11 -11
- package/sdk/application/Communication/CommunicationApplicationClient.js +92 -31
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationModel.js +38 -83
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Communication/CommunicationApplicationValidator.js +4 -4
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +116 -116
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +638 -312
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +85 -85
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +480 -851
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +8 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +33 -33
- package/sdk/application/Content/ContentApplicationClient.d.ts +67 -67
- package/sdk/application/Content/ContentApplicationClient.js +581 -213
- package/sdk/application/Content/ContentApplicationModel.d.ts +76 -75
- package/sdk/application/Content/ContentApplicationModel.js +468 -875
- package/sdk/application/Content/ContentApplicationValidator.d.ts +5 -5
- package/sdk/application/Content/ContentApplicationValidator.js +24 -24
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +25 -25
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +121 -59
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +13 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +86 -169
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +7 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +24 -24
- package/sdk/application/Lead/LeadApplicationClient.js +230 -96
- package/sdk/application/Lead/LeadApplicationModel.d.ts +35 -35
- package/sdk/application/Lead/LeadApplicationModel.js +267 -474
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationValidator.js +11 -11
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +30 -19
- package/sdk/application/Logistic/LogisticApplicationClient.js +196 -47
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +17 -14
- package/sdk/application/Logistic/LogisticApplicationModel.js +133 -201
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +3 -2
- package/sdk/application/Logistic/LogisticApplicationValidator.js +14 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +86 -86
- package/sdk/application/Order/OrderApplicationClient.js +448 -215
- package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
- package/sdk/application/Order/OrderApplicationModel.js +357 -661
- package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -7
- package/sdk/application/Order/OrderApplicationValidator.js +28 -28
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +318 -318
- package/sdk/application/Payment/PaymentApplicationClient.js +1525 -750
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
- package/sdk/application/Payment/PaymentApplicationModel.js +565 -1033
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +28 -28
- package/sdk/application/Payment/PaymentApplicationValidator.js +107 -107
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +254 -254
- package/sdk/application/PosCart/PosCartApplicationClient.js +1137 -606
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +61 -60
- package/sdk/application/PosCart/PosCartApplicationModel.js +477 -873
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +18 -18
- package/sdk/application/PosCart/PosCartApplicationValidator.js +103 -103
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +27 -27
- package/sdk/application/Rewards/RewardsApplicationClient.js +253 -113
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationModel.js +96 -191
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +3 -3
- package/sdk/application/Rewards/RewardsApplicationValidator.js +12 -12
- package/sdk/application/Share/ShareApplicationClient.d.ts +37 -37
- package/sdk/application/Share/ShareApplicationClient.js +221 -96
- package/sdk/application/Share/ShareApplicationModel.d.ts +8 -8
- package/sdk/application/Share/ShareApplicationModel.js +63 -123
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -4
- package/sdk/application/Share/ShareApplicationValidator.js +12 -12
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +115 -37
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +34 -34
- package/sdk/application/Theme/ThemeApplicationModel.js +190 -336
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -4
- package/sdk/application/User/UserApplicationClient.d.ts +280 -280
- package/sdk/application/User/UserApplicationClient.js +1201 -543
- package/sdk/application/User/UserApplicationModel.d.ts +79 -72
- package/sdk/application/User/UserApplicationModel.js +440 -689
- package/sdk/application/User/UserApplicationValidator.d.ts +24 -24
- package/sdk/application/User/UserApplicationValidator.js +89 -89
- package/sdk/common/AxiosHelper.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +55 -47
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +308 -151
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +20 -20
- package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +8 -4
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +103 -16
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +16 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +131 -44
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +10 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +50 -89
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +6 -6
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +68 -56
- package/sdk/platform/Billing/BillingPlatformClient.js +416 -171
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +40 -40
- package/sdk/platform/Billing/BillingPlatformModel.js +342 -668
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +8 -8
- package/sdk/platform/Billing/BillingPlatformValidator.js +25 -25
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +176 -159
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +837 -500
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -11
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +63 -63
- package/sdk/platform/Cart/CartPlatformModel.d.ts +86 -85
- package/sdk/platform/Cart/CartPlatformModel.js +677 -1211
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +582 -529
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2642 -1533
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +175 -175
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +708 -590
- package/sdk/platform/Catalog/CatalogPlatformClient.js +3103 -1362
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +293 -284
- package/sdk/platform/Catalog/CatalogPlatformModel.js +2149 -3660
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -64
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +235 -216
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -12
- package/sdk/platform/Common/CommonPlatformClient.js +80 -37
- package/sdk/platform/Common/CommonPlatformModel.d.ts +12 -12
- package/sdk/platform/Common/CommonPlatformModel.js +83 -160
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +1 -1
- package/sdk/platform/Common/CommonPlatformValidator.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +333 -293
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1687 -855
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +87 -87
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +28 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
- package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +70 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +463 -182
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -28
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +294 -557
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +24 -24
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +175 -137
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1168 -521
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +69 -63
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +137 -119
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +691 -316
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +148 -146
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +854 -1508
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +38 -38
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +542 -461
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +2600 -1160
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +50 -49
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +159 -152
- package/sdk/platform/Content/ContentPlatformModel.d.ts +79 -75
- package/sdk/platform/Content/ContentPlatformModel.js +486 -867
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +72 -61
- package/sdk/platform/Discount/DiscountPlatformClient.js +424 -198
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +7 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +60 -121
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +6 -6
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -29
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +26 -22
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +145 -59
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +58 -52
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +240 -114
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -13
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +86 -169
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +3 -3
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -11
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +76 -63
- package/sdk/platform/Inventory/InventoryPlatformClient.js +461 -197
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +30 -30
- package/sdk/platform/Inventory/InventoryPlatformModel.js +497 -964
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +7 -7
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +28 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +84 -71
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +441 -182
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +28 -28
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +86 -75
- package/sdk/platform/Lead/LeadPlatformClient.js +434 -212
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +35 -35
- package/sdk/platform/Lead/LeadPlatformModel.js +267 -474
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +6 -6
- package/sdk/platform/Lead/LeadPlatformValidator.js +24 -24
- package/sdk/platform/OAuthClient.js +8 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +14 -11
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +113 -49
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -6
- package/sdk/platform/Order/OrderPlatformClient.d.ts +367 -315
- package/sdk/platform/Order/OrderPlatformClient.js +1775 -893
- package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -192
- package/sdk/platform/Order/OrderPlatformModel.js +1591 -2822
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
- package/sdk/platform/Order/OrderPlatformValidator.js +160 -155
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +52 -8
- package/sdk/platform/Partner/PartnerPlatformModel.js +6 -22
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +65 -54
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +395 -164
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +23 -23
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +55 -45
- package/sdk/platform/Payment/PaymentPlatformClient.js +362 -147
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
- package/sdk/platform/Payment/PaymentPlatformModel.js +220 -408
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Payment/PaymentPlatformValidator.js +21 -21
- package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10153
- package/sdk/platform/PlatformApplicationClient.js +1584 -13691
- package/sdk/platform/PlatformClient.d.ts +7918 -7666
- package/sdk/platform/PlatformClient.js +8701 -9926
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +91 -78
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +507 -253
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +34 -34
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
- package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -12
- package/sdk/platform/Share/SharePlatformApplicationClient.js +130 -52
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -6
- package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
- package/sdk/platform/Share/SharePlatformModel.js +60 -118
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +148 -124
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +770 -295
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +44 -44
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
- package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +146 -67
- package/sdk/platform/User/UserPlatformApplicationClient.js +742 -155
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +61 -23
- package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
- package/sdk/platform/User/UserPlatformModel.js +440 -689
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +35 -29
- package/sdk/platform/Webhook/WebhookPlatformClient.js +218 -91
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +7 -7
- package/sdk/platform/Webhook/WebhookPlatformModel.js +68 -136
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +3 -3
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +14 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
- package/sdk/public/Configuration/ConfigurationPublicClient.js +81 -38
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +12 -12
- package/sdk/public/Configuration/ConfigurationPublicModel.js +85 -162
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +6 -6
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +34 -34
- package/sdk/public/Inventory/InventoryPublicClient.js +228 -105
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +10 -10
- package/sdk/public/Inventory/InventoryPublicModel.js +119 -245
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +3 -3
- package/sdk/public/Inventory/InventoryPublicValidator.js +15 -15
- package/sdk/public/Webhook/WebhookPublicClient.js +51 -10
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
- package/tests/application/catalog.spec.js +7 -0
|
@@ -1,1135 +1,738 @@
|
|
|
1
1
|
const Joi = require("joi");
|
|
2
2
|
|
|
3
3
|
class CartModel {
|
|
4
|
-
static
|
|
4
|
+
static ActionQuery() {
|
|
5
5
|
return Joi.object({
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
payment_identifier: Joi.string().allow(""),
|
|
9
|
-
|
|
10
|
-
default_options: Joi.string().allow(""),
|
|
6
|
+
product_slug: Joi.array().items(Joi.string().allow("")),
|
|
11
7
|
});
|
|
12
8
|
}
|
|
13
|
-
|
|
14
|
-
static CartCurrency() {
|
|
9
|
+
static AddCartDetailResponse() {
|
|
15
10
|
return Joi.object({
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
cart: CartModel.CartDetailResponse(),
|
|
12
|
+
message: Joi.string().allow(""),
|
|
13
|
+
partial: Joi.boolean(),
|
|
14
|
+
success: Joi.boolean(),
|
|
19
15
|
});
|
|
20
16
|
}
|
|
21
|
-
|
|
22
|
-
static ProductImage() {
|
|
17
|
+
static AddCartRequest() {
|
|
23
18
|
return Joi.object({
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
secure_url: Joi.string().allow(""),
|
|
27
|
-
|
|
28
|
-
url: Joi.string().allow(""),
|
|
19
|
+
items: Joi.array().items(CartModel.AddProductCart()),
|
|
29
20
|
});
|
|
30
21
|
}
|
|
31
|
-
|
|
32
|
-
static ActionQuery() {
|
|
22
|
+
static AddProductCart() {
|
|
33
23
|
return Joi.object({
|
|
34
|
-
|
|
24
|
+
_custom_json: Joi.any(),
|
|
25
|
+
article_assignment: Joi.any(),
|
|
26
|
+
article_id: Joi.string().allow(""),
|
|
27
|
+
display: Joi.string().allow(""),
|
|
28
|
+
extra_meta: Joi.any(),
|
|
29
|
+
item_id: Joi.number(),
|
|
30
|
+
item_size: Joi.string().allow(""),
|
|
31
|
+
parent_item_identifiers: Joi.any(),
|
|
32
|
+
pos: Joi.boolean(),
|
|
33
|
+
product_group_tags: Joi.array().items(Joi.string().allow("").allow(null)),
|
|
34
|
+
quantity: Joi.number(),
|
|
35
|
+
seller_id: Joi.number(),
|
|
36
|
+
store_id: Joi.number(),
|
|
35
37
|
});
|
|
36
38
|
}
|
|
37
|
-
|
|
38
|
-
static ProductAction() {
|
|
39
|
+
static Address() {
|
|
39
40
|
return Joi.object({
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
address: Joi.string().allow(""),
|
|
42
|
+
address_type: Joi.string().allow(""),
|
|
43
|
+
area: Joi.string().allow(""),
|
|
44
|
+
area_code: Joi.string().allow(""),
|
|
45
|
+
area_code_slug: Joi.string().allow(""),
|
|
46
|
+
checkout_mode: Joi.string().allow(""),
|
|
47
|
+
city: Joi.string().allow(""),
|
|
48
|
+
country: Joi.string().allow(""),
|
|
49
|
+
country_code: Joi.string().allow(""),
|
|
50
|
+
country_iso_code: Joi.string().allow(""),
|
|
51
|
+
country_phone_code: Joi.string().allow(""),
|
|
52
|
+
email: Joi.string().allow(""),
|
|
53
|
+
geo_location: CartModel.GeoLocation(),
|
|
54
|
+
google_map_point: Joi.any(),
|
|
55
|
+
id: Joi.string().allow(""),
|
|
56
|
+
is_active: Joi.boolean(),
|
|
57
|
+
is_default_address: Joi.boolean(),
|
|
58
|
+
landmark: Joi.string().allow(""),
|
|
59
|
+
meta: Joi.any(),
|
|
60
|
+
name: Joi.string().allow(""),
|
|
61
|
+
phone: Joi.string().allow(""),
|
|
62
|
+
state: Joi.string().allow(""),
|
|
63
|
+
tags: Joi.array().items(Joi.string().allow("")),
|
|
64
|
+
user_id: Joi.string().allow(""),
|
|
45
65
|
});
|
|
46
66
|
}
|
|
47
|
-
|
|
48
|
-
static BaseInfo() {
|
|
67
|
+
static AppliedPromotion() {
|
|
49
68
|
return Joi.object({
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
69
|
+
amount: Joi.number(),
|
|
70
|
+
article_quantity: Joi.number(),
|
|
71
|
+
mrp_promotion: Joi.boolean(),
|
|
72
|
+
offer_text: Joi.string().allow(""),
|
|
73
|
+
ownership: CartModel.Ownership(),
|
|
74
|
+
promo_id: Joi.string().allow(""),
|
|
75
|
+
promotion_type: Joi.string().allow(""),
|
|
53
76
|
});
|
|
54
77
|
}
|
|
55
|
-
|
|
56
|
-
static CategoryInfo() {
|
|
78
|
+
static ApplyCouponRequest() {
|
|
57
79
|
return Joi.object({
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
name: Joi.string().allow(""),
|
|
80
|
+
coupon_code: Joi.string().allow("").required(),
|
|
61
81
|
});
|
|
62
82
|
}
|
|
63
|
-
|
|
64
|
-
|
|
83
|
+
static ArticlePriceInfo() {
|
|
84
|
+
return Joi.object({
|
|
85
|
+
base: CartModel.BasePrice(),
|
|
86
|
+
converted: CartModel.BasePrice(),
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
static BaseInfo() {
|
|
65
90
|
return Joi.object({
|
|
66
|
-
images: Joi.array().items(CartModel.ProductImage()),
|
|
67
|
-
|
|
68
|
-
uid: Joi.number(),
|
|
69
|
-
|
|
70
|
-
action: CartModel.ProductAction(),
|
|
71
|
-
|
|
72
|
-
type: Joi.string().allow(""),
|
|
73
|
-
|
|
74
91
|
name: Joi.string().allow(""),
|
|
75
|
-
|
|
76
|
-
brand: CartModel.BaseInfo(),
|
|
77
|
-
|
|
78
|
-
slug: Joi.string().allow(""),
|
|
79
|
-
|
|
80
|
-
categories: Joi.array().items(CartModel.CategoryInfo()),
|
|
92
|
+
uid: Joi.number(),
|
|
81
93
|
});
|
|
82
94
|
}
|
|
83
|
-
|
|
84
|
-
static ProductPrice() {
|
|
95
|
+
static BasePrice() {
|
|
85
96
|
return Joi.object({
|
|
86
97
|
currency_code: Joi.string().allow(""),
|
|
87
|
-
|
|
88
|
-
marked: Joi.number(),
|
|
89
|
-
|
|
90
98
|
currency_symbol: Joi.string().allow(""),
|
|
91
|
-
|
|
92
|
-
selling: Joi.number(),
|
|
93
|
-
|
|
94
99
|
effective: Joi.number(),
|
|
95
|
-
|
|
96
|
-
add_on: Joi.number(),
|
|
100
|
+
marked: Joi.number(),
|
|
97
101
|
});
|
|
98
102
|
}
|
|
99
|
-
|
|
100
|
-
static ProductPriceInfo() {
|
|
103
|
+
static BulkPriceOffer() {
|
|
101
104
|
return Joi.object({
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
base: CartModel.ProductPrice(),
|
|
105
|
+
offers: Joi.array().items(CartModel.OfferItem()),
|
|
106
|
+
seller: CartModel.OfferSeller(),
|
|
105
107
|
});
|
|
106
108
|
}
|
|
107
|
-
|
|
108
|
-
static ProductAvailability() {
|
|
109
|
+
static BulkPriceResponse() {
|
|
109
110
|
return Joi.object({
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
sizes: Joi.array().items(Joi.string().allow("")),
|
|
113
|
-
|
|
114
|
-
deliverable: Joi.boolean(),
|
|
115
|
-
|
|
116
|
-
other_store_quantity: Joi.number(),
|
|
117
|
-
|
|
118
|
-
out_of_stock: Joi.boolean(),
|
|
111
|
+
data: Joi.array().items(CartModel.BulkPriceOffer()),
|
|
119
112
|
});
|
|
120
113
|
}
|
|
121
|
-
|
|
122
|
-
static BasePrice() {
|
|
114
|
+
static CartBreakup() {
|
|
123
115
|
return Joi.object({
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
currency_symbol: Joi.string().allow(""),
|
|
129
|
-
|
|
130
|
-
currency_code: Joi.string().allow(""),
|
|
116
|
+
coupon: CartModel.CouponBreakup(),
|
|
117
|
+
display: Joi.array().items(CartModel.DisplayBreakup()),
|
|
118
|
+
loyalty_points: CartModel.LoyaltyPoints(),
|
|
119
|
+
raw: CartModel.RawBreakup(),
|
|
131
120
|
});
|
|
132
121
|
}
|
|
133
|
-
|
|
134
|
-
static ArticlePriceInfo() {
|
|
122
|
+
static CartCheckoutCustomMeta() {
|
|
135
123
|
return Joi.object({
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
base: CartModel.BasePrice(),
|
|
124
|
+
key: Joi.string().allow("").required(),
|
|
125
|
+
value: Joi.string().allow("").required(),
|
|
139
126
|
});
|
|
140
127
|
}
|
|
141
|
-
|
|
142
|
-
static ProductArticle() {
|
|
128
|
+
static CartCheckoutDetailRequest() {
|
|
143
129
|
return Joi.object({
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
130
|
+
address_id: Joi.string().allow(""),
|
|
131
|
+
aggregator: Joi.string().allow(""),
|
|
132
|
+
billing_address: Joi.any(),
|
|
133
|
+
billing_address_id: Joi.string().allow(""),
|
|
134
|
+
callback_url: Joi.string().allow("").allow(null),
|
|
135
|
+
custom_meta: Joi.array().items(CartModel.CartCheckoutCustomMeta()),
|
|
136
|
+
delivery_address: Joi.any(),
|
|
148
137
|
extra_meta: Joi.any(),
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
product_group_tags: Joi.array().items(Joi.string().allow("")),
|
|
159
|
-
|
|
160
|
-
quantity: Joi.number(),
|
|
161
|
-
|
|
162
|
-
seller: CartModel.BaseInfo(),
|
|
163
|
-
|
|
164
|
-
store: CartModel.BaseInfo(),
|
|
138
|
+
merchant_code: Joi.string().allow(""),
|
|
139
|
+
meta: Joi.any(),
|
|
140
|
+
ordering_store: Joi.number().allow(null),
|
|
141
|
+
payment_auto_confirm: Joi.boolean(),
|
|
142
|
+
payment_identifier: Joi.string().allow("").allow(null),
|
|
143
|
+
payment_mode: Joi.string().allow("").required(),
|
|
144
|
+
payment_params: Joi.any().allow(null),
|
|
145
|
+
staff: CartModel.StaffCheckout(),
|
|
165
146
|
});
|
|
166
147
|
}
|
|
167
|
-
|
|
168
|
-
static CartProductIdentifer() {
|
|
148
|
+
static CartCheckoutResponse() {
|
|
169
149
|
return Joi.object({
|
|
170
|
-
|
|
150
|
+
app_intercept_url: Joi.string().allow(""),
|
|
151
|
+
callback_url: Joi.string().allow(""),
|
|
152
|
+
cart: CartModel.CheckCart(),
|
|
153
|
+
data: Joi.any(),
|
|
154
|
+
message: Joi.string().allow(""),
|
|
155
|
+
order_id: Joi.string().allow(""),
|
|
156
|
+
payment_confirm_url: Joi.string().allow(""),
|
|
157
|
+
success: Joi.boolean(),
|
|
171
158
|
});
|
|
172
159
|
}
|
|
173
|
-
|
|
174
|
-
static PromoMeta() {
|
|
160
|
+
static CartCurrency() {
|
|
175
161
|
return Joi.object({
|
|
176
|
-
|
|
162
|
+
code: Joi.string().allow(""),
|
|
163
|
+
symbol: Joi.string().allow(""),
|
|
177
164
|
});
|
|
178
165
|
}
|
|
179
|
-
|
|
180
|
-
static Ownership() {
|
|
166
|
+
static CartDetailResponse() {
|
|
181
167
|
return Joi.object({
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
168
|
+
applied_promo_details: Joi.array().items(CartModel.AppliedPromotion()),
|
|
169
|
+
breakup_values: CartModel.CartBreakup(),
|
|
170
|
+
buy_now: Joi.boolean(),
|
|
171
|
+
checkout_mode: Joi.string().allow(""),
|
|
172
|
+
comment: Joi.string().allow(""),
|
|
173
|
+
coupon_text: Joi.string().allow(""),
|
|
174
|
+
currency: CartModel.CartCurrency(),
|
|
175
|
+
delivery_charge_info: Joi.string().allow(""),
|
|
176
|
+
delivery_promise: CartModel.ShipmentPromise(),
|
|
177
|
+
gstin: Joi.string().allow(""),
|
|
178
|
+
id: Joi.string().allow(""),
|
|
179
|
+
is_valid: Joi.boolean(),
|
|
180
|
+
items: Joi.array().items(CartModel.CartProductInfo()),
|
|
181
|
+
last_modified: Joi.string().allow(""),
|
|
182
|
+
message: Joi.string().allow(""),
|
|
183
|
+
payment_selection_lock: CartModel.PaymentSelectionLock(),
|
|
184
|
+
restrict_checkout: Joi.boolean(),
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
|
|
188
|
-
static AppliedPromotion() {
|
|
187
|
+
static CartItemCountResponse() {
|
|
189
188
|
return Joi.object({
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
189
|
+
user_cart_items_count: Joi.number(),
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
static CartMetaMissingResponse() {
|
|
193
|
+
return Joi.object({
|
|
194
|
+
errors: Joi.array().items(Joi.string().allow("")),
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
static CartMetaRequest() {
|
|
198
|
+
return Joi.object({
|
|
199
|
+
checkout_mode: Joi.string().allow(""),
|
|
200
|
+
comment: Joi.string().allow(""),
|
|
201
|
+
gstin: Joi.string().allow(""),
|
|
202
|
+
pick_up_customer_details: Joi.any(),
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
static CartMetaResponse() {
|
|
206
|
+
return Joi.object({
|
|
207
|
+
message: Joi.string().allow(""),
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
static CartProduct() {
|
|
211
|
+
return Joi.object({
|
|
212
|
+
action: CartModel.ProductAction(),
|
|
213
|
+
brand: CartModel.BaseInfo(),
|
|
214
|
+
categories: Joi.array().items(CartModel.CategoryInfo()),
|
|
215
|
+
images: Joi.array().items(CartModel.ProductImage()),
|
|
216
|
+
name: Joi.string().allow(""),
|
|
217
|
+
slug: Joi.string().allow(""),
|
|
218
|
+
type: Joi.string().allow(""),
|
|
219
|
+
uid: Joi.number(),
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
static CartProductIdentifer() {
|
|
223
|
+
return Joi.object({
|
|
224
|
+
identifier: Joi.string().allow(""),
|
|
203
225
|
});
|
|
204
226
|
}
|
|
205
|
-
|
|
206
227
|
static CartProductInfo() {
|
|
207
228
|
return Joi.object({
|
|
229
|
+
article: CartModel.ProductArticle(),
|
|
230
|
+
availability: CartModel.ProductAvailability(),
|
|
231
|
+
bulk_offer: Joi.any(),
|
|
232
|
+
coupon_message: Joi.string().allow(""),
|
|
233
|
+
delivery_promise: CartModel.ShipmentPromise(),
|
|
234
|
+
discount: Joi.string().allow(""),
|
|
235
|
+
identifiers: CartModel.CartProductIdentifer().required(),
|
|
208
236
|
is_set: Joi.boolean(),
|
|
209
|
-
|
|
210
|
-
product: CartModel.CartProduct(),
|
|
211
|
-
|
|
212
|
-
parent_item_identifiers: Joi.any(),
|
|
213
|
-
|
|
214
|
-
price: CartModel.ProductPriceInfo(),
|
|
215
|
-
|
|
216
237
|
key: Joi.string().allow(""),
|
|
217
|
-
|
|
218
238
|
message: Joi.string().allow(""),
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
availability: CartModel.ProductAvailability(),
|
|
223
|
-
|
|
224
|
-
discount: Joi.string().allow(""),
|
|
225
|
-
|
|
239
|
+
moq: Joi.any(),
|
|
240
|
+
parent_item_identifiers: Joi.any(),
|
|
241
|
+
price: CartModel.ProductPriceInfo(),
|
|
226
242
|
price_per_unit: CartModel.ProductPriceInfo(),
|
|
227
|
-
|
|
228
|
-
article: CartModel.ProductArticle(),
|
|
229
|
-
|
|
230
|
-
identifiers: CartModel.CartProductIdentifer().required(),
|
|
231
|
-
|
|
243
|
+
product: CartModel.CartProduct(),
|
|
232
244
|
promo_meta: CartModel.PromoMeta(),
|
|
233
|
-
|
|
234
|
-
bulk_offer: Joi.any(),
|
|
235
|
-
|
|
236
|
-
quantity: Joi.number(),
|
|
237
|
-
|
|
238
245
|
promotions_applied: Joi.array().items(CartModel.AppliedPromotion()),
|
|
246
|
+
quantity: Joi.number(),
|
|
239
247
|
});
|
|
240
248
|
}
|
|
241
|
-
|
|
242
|
-
static PromiseTimestamp() {
|
|
249
|
+
static CartShipmentsResponse() {
|
|
243
250
|
return Joi.object({
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
251
|
+
breakup_values: CartModel.CartBreakup(),
|
|
252
|
+
buy_now: Joi.boolean(),
|
|
253
|
+
cart_id: Joi.number(),
|
|
254
|
+
checkout_mode: Joi.string().allow(""),
|
|
255
|
+
comment: Joi.string().allow(""),
|
|
256
|
+
coupon_text: Joi.string().allow(""),
|
|
257
|
+
currency: CartModel.CartCurrency(),
|
|
258
|
+
delivery_charge_info: Joi.string().allow(""),
|
|
259
|
+
delivery_promise: CartModel.ShipmentPromise(),
|
|
260
|
+
error: Joi.boolean(),
|
|
261
|
+
gstin: Joi.string().allow(""),
|
|
262
|
+
id: Joi.string().allow(""),
|
|
263
|
+
is_valid: Joi.boolean(),
|
|
264
|
+
last_modified: Joi.string().allow(""),
|
|
265
|
+
message: Joi.string().allow(""),
|
|
266
|
+
payment_selection_lock: CartModel.PaymentSelectionLock(),
|
|
267
|
+
restrict_checkout: Joi.boolean(),
|
|
268
|
+
shipments: Joi.array().items(CartModel.ShipmentResponse()),
|
|
269
|
+
uid: Joi.string().allow(""),
|
|
247
270
|
});
|
|
248
271
|
}
|
|
249
|
-
|
|
250
|
-
static PromiseFormatted() {
|
|
272
|
+
static CategoryInfo() {
|
|
251
273
|
return Joi.object({
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
min: Joi.string().allow(""),
|
|
274
|
+
name: Joi.string().allow(""),
|
|
275
|
+
uid: Joi.number(),
|
|
255
276
|
});
|
|
256
277
|
}
|
|
257
|
-
|
|
258
|
-
static ShipmentPromise() {
|
|
278
|
+
static CheckCart() {
|
|
259
279
|
return Joi.object({
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
280
|
+
breakup_values: CartModel.CartBreakup(),
|
|
281
|
+
buy_now: Joi.boolean(),
|
|
282
|
+
cart_id: Joi.number(),
|
|
283
|
+
checkout_mode: Joi.string().allow(""),
|
|
284
|
+
cod_available: Joi.boolean(),
|
|
285
|
+
cod_charges: Joi.number(),
|
|
286
|
+
cod_message: Joi.string().allow(""),
|
|
287
|
+
comment: Joi.string().allow(""),
|
|
288
|
+
coupon_text: Joi.string().allow(""),
|
|
289
|
+
currency: CartModel.CartCurrency(),
|
|
290
|
+
delivery_charge_info: Joi.string().allow(""),
|
|
291
|
+
delivery_charge_order_value: Joi.number(),
|
|
292
|
+
delivery_charges: Joi.number(),
|
|
293
|
+
delivery_promise: CartModel.ShipmentPromise(),
|
|
294
|
+
error_message: Joi.string().allow(""),
|
|
295
|
+
gstin: Joi.string().allow(""),
|
|
296
|
+
id: Joi.string().allow(""),
|
|
297
|
+
is_valid: Joi.boolean(),
|
|
298
|
+
items: Joi.array().items(CartModel.CartProductInfo()),
|
|
299
|
+
last_modified: Joi.string().allow(""),
|
|
300
|
+
message: Joi.string().allow(""),
|
|
301
|
+
order_id: Joi.string().allow(""),
|
|
302
|
+
payment_selection_lock: CartModel.PaymentSelectionLock(),
|
|
303
|
+
restrict_checkout: Joi.boolean(),
|
|
304
|
+
store_code: Joi.string().allow(""),
|
|
305
|
+
store_emps: Joi.array().items(Joi.any()),
|
|
306
|
+
success: Joi.boolean(),
|
|
307
|
+
uid: Joi.string().allow(""),
|
|
308
|
+
user_type: Joi.string().allow(""),
|
|
263
309
|
});
|
|
264
310
|
}
|
|
265
|
-
|
|
266
|
-
static RawBreakup() {
|
|
311
|
+
static Coupon() {
|
|
267
312
|
return Joi.object({
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
vog: Joi.number(),
|
|
279
|
-
|
|
280
|
-
cod_charge: Joi.number(),
|
|
281
|
-
|
|
282
|
-
you_saved: Joi.number(),
|
|
283
|
-
|
|
284
|
-
discount: Joi.number(),
|
|
285
|
-
|
|
286
|
-
delivery_charge: Joi.number(),
|
|
287
|
-
|
|
288
|
-
total: Joi.number(),
|
|
289
|
-
|
|
290
|
-
mrp_total: Joi.number(),
|
|
313
|
+
coupon_code: Joi.string().allow(""),
|
|
314
|
+
coupon_value: Joi.number(),
|
|
315
|
+
expires_on: Joi.string().allow(""),
|
|
316
|
+
is_applicable: Joi.boolean(),
|
|
317
|
+
is_applied: Joi.boolean(),
|
|
318
|
+
max_discount_value: Joi.number(),
|
|
319
|
+
message: Joi.string().allow(""),
|
|
320
|
+
minimum_cart_value: Joi.number(),
|
|
321
|
+
sub_title: Joi.string().allow(""),
|
|
322
|
+
title: Joi.string().allow(""),
|
|
291
323
|
});
|
|
292
324
|
}
|
|
293
|
-
|
|
294
|
-
static LoyaltyPoints() {
|
|
325
|
+
static CouponBreakup() {
|
|
295
326
|
return Joi.object({
|
|
327
|
+
code: Joi.string().allow(""),
|
|
296
328
|
is_applied: Joi.boolean(),
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
total: Joi.number(),
|
|
329
|
+
message: Joi.string().allow(""),
|
|
330
|
+
type: Joi.string().allow(""),
|
|
331
|
+
uid: Joi.string().allow(""),
|
|
332
|
+
value: Joi.number(),
|
|
303
333
|
});
|
|
304
334
|
}
|
|
305
|
-
|
|
306
|
-
static DisplayBreakup() {
|
|
335
|
+
static CouponValidity() {
|
|
307
336
|
return Joi.object({
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
currency_symbol: Joi.string().allow(""),
|
|
315
|
-
|
|
316
|
-
value: Joi.number(),
|
|
317
|
-
|
|
318
|
-
display: Joi.string().allow(""),
|
|
337
|
+
code: Joi.string().allow("").allow(null),
|
|
338
|
+
discount: Joi.number(),
|
|
339
|
+
display_message_en: Joi.string().allow("").allow(null),
|
|
340
|
+
title: Joi.string().allow(""),
|
|
341
|
+
valid: Joi.boolean(),
|
|
319
342
|
});
|
|
320
343
|
}
|
|
321
|
-
|
|
322
|
-
static CouponBreakup() {
|
|
344
|
+
static CurrencyInfo() {
|
|
323
345
|
return Joi.object({
|
|
324
|
-
is_applied: Joi.boolean(),
|
|
325
|
-
|
|
326
|
-
message: Joi.string().allow(""),
|
|
327
|
-
|
|
328
|
-
uid: Joi.string().allow(""),
|
|
329
|
-
|
|
330
|
-
value: Joi.number(),
|
|
331
|
-
|
|
332
346
|
code: Joi.string().allow(""),
|
|
333
|
-
|
|
334
|
-
type: Joi.string().allow(""),
|
|
347
|
+
symbol: Joi.string().allow(""),
|
|
335
348
|
});
|
|
336
349
|
}
|
|
337
|
-
|
|
338
|
-
static CartBreakup() {
|
|
350
|
+
static DeleteAddressResponse() {
|
|
339
351
|
return Joi.object({
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
loyalty_points: CartModel.LoyaltyPoints(),
|
|
343
|
-
|
|
344
|
-
display: Joi.array().items(CartModel.DisplayBreakup()),
|
|
345
|
-
|
|
346
|
-
coupon: CartModel.CouponBreakup(),
|
|
352
|
+
id: Joi.string().allow(""),
|
|
353
|
+
is_deleted: Joi.boolean(),
|
|
347
354
|
});
|
|
348
355
|
}
|
|
349
|
-
|
|
350
|
-
static CartDetailResponse() {
|
|
356
|
+
static DisplayBreakup() {
|
|
351
357
|
return Joi.object({
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
message: Joi.string().allow(""),
|
|
355
|
-
|
|
356
|
-
id: Joi.string().allow(""),
|
|
357
|
-
|
|
358
|
-
payment_selection_lock: CartModel.PaymentSelectionLock(),
|
|
359
|
-
|
|
360
|
-
restrict_checkout: Joi.boolean(),
|
|
361
|
-
|
|
362
|
-
last_modified: Joi.string().allow(""),
|
|
363
|
-
|
|
364
|
-
currency: CartModel.CartCurrency(),
|
|
365
|
-
|
|
366
|
-
items: Joi.array().items(CartModel.CartProductInfo()),
|
|
367
|
-
|
|
368
|
-
comment: Joi.string().allow(""),
|
|
369
|
-
|
|
370
|
-
delivery_promise: CartModel.ShipmentPromise(),
|
|
371
|
-
|
|
372
|
-
delivery_charge_info: Joi.string().allow(""),
|
|
373
|
-
|
|
374
|
-
checkout_mode: Joi.string().allow(""),
|
|
375
|
-
|
|
376
|
-
buy_now: Joi.boolean(),
|
|
377
|
-
|
|
378
|
-
breakup_values: CartModel.CartBreakup(),
|
|
379
|
-
|
|
380
|
-
gstin: Joi.string().allow(""),
|
|
381
|
-
|
|
382
|
-
coupon_text: Joi.string().allow(""),
|
|
383
|
-
});
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
static AddProductCart() {
|
|
387
|
-
return Joi.object({
|
|
388
|
-
parent_item_identifiers: Joi.any(),
|
|
389
|
-
|
|
390
|
-
store_id: Joi.number(),
|
|
391
|
-
|
|
392
|
-
item_size: Joi.string().allow(""),
|
|
393
|
-
|
|
394
|
-
extra_meta: Joi.any(),
|
|
395
|
-
|
|
396
|
-
article_assignment: Joi.any(),
|
|
397
|
-
|
|
398
|
-
item_id: Joi.number(),
|
|
399
|
-
|
|
400
|
-
seller_id: Joi.number(),
|
|
401
|
-
|
|
358
|
+
currency_code: Joi.string().allow(""),
|
|
359
|
+
currency_symbol: Joi.string().allow(""),
|
|
402
360
|
display: Joi.string().allow(""),
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
product_group_tags: Joi.array().items(Joi.string().allow("").allow(null)),
|
|
407
|
-
|
|
408
|
-
article_id: Joi.string().allow(""),
|
|
409
|
-
|
|
410
|
-
quantity: Joi.number(),
|
|
411
|
-
|
|
412
|
-
pos: Joi.boolean(),
|
|
361
|
+
key: Joi.string().allow(""),
|
|
362
|
+
message: Joi.array().items(Joi.string().allow("")),
|
|
363
|
+
value: Joi.number(),
|
|
413
364
|
});
|
|
414
365
|
}
|
|
415
|
-
|
|
416
|
-
static AddCartRequest() {
|
|
366
|
+
static GeoLocation() {
|
|
417
367
|
return Joi.object({
|
|
418
|
-
|
|
368
|
+
latitude: Joi.number(),
|
|
369
|
+
longitude: Joi.number(),
|
|
419
370
|
});
|
|
420
371
|
}
|
|
421
|
-
|
|
422
|
-
static AddCartDetailResponse() {
|
|
372
|
+
static GetAddressesResponse() {
|
|
423
373
|
return Joi.object({
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
partial: Joi.boolean(),
|
|
427
|
-
|
|
428
|
-
message: Joi.string().allow(""),
|
|
429
|
-
|
|
430
|
-
cart: CartModel.CartDetailResponse(),
|
|
374
|
+
address: Joi.array().items(CartModel.Address()),
|
|
375
|
+
pii_masking: Joi.boolean(),
|
|
431
376
|
});
|
|
432
377
|
}
|
|
433
|
-
|
|
434
|
-
static UpdateProductCart() {
|
|
378
|
+
static GetCouponResponse() {
|
|
435
379
|
return Joi.object({
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
item_size: Joi.string().allow(""),
|
|
439
|
-
|
|
440
|
-
extra_meta: Joi.any(),
|
|
441
|
-
|
|
442
|
-
item_id: Joi.number(),
|
|
443
|
-
|
|
444
|
-
identifiers: CartModel.CartProductIdentifer().required(),
|
|
445
|
-
|
|
446
|
-
_custom_json: Joi.any(),
|
|
447
|
-
|
|
448
|
-
item_index: Joi.number(),
|
|
449
|
-
|
|
450
|
-
article_id: Joi.string().allow(""),
|
|
451
|
-
|
|
452
|
-
quantity: Joi.number(),
|
|
380
|
+
available_coupon_list: Joi.array().items(CartModel.Coupon()),
|
|
381
|
+
page: CartModel.PageCoupon(),
|
|
453
382
|
});
|
|
454
383
|
}
|
|
455
|
-
|
|
456
|
-
static UpdateCartRequest() {
|
|
384
|
+
static GetShareCartLinkRequest() {
|
|
457
385
|
return Joi.object({
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
items: Joi.array().items(CartModel.UpdateProductCart()),
|
|
386
|
+
id: Joi.string().allow(""),
|
|
387
|
+
meta: Joi.any(),
|
|
461
388
|
});
|
|
462
389
|
}
|
|
463
|
-
|
|
464
|
-
static UpdateCartDetailResponse() {
|
|
390
|
+
static GetShareCartLinkResponse() {
|
|
465
391
|
return Joi.object({
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
message: Joi.string().allow(""),
|
|
469
|
-
|
|
470
|
-
cart: CartModel.CartDetailResponse(),
|
|
392
|
+
share_url: Joi.string().allow(""),
|
|
393
|
+
token: Joi.string().allow(""),
|
|
471
394
|
});
|
|
472
395
|
}
|
|
473
|
-
|
|
474
|
-
static CartItemCountResponse() {
|
|
396
|
+
static LadderOfferItem() {
|
|
475
397
|
return Joi.object({
|
|
476
|
-
|
|
398
|
+
margin: Joi.number(),
|
|
399
|
+
max_quantity: Joi.number(),
|
|
400
|
+
min_quantity: Joi.number(),
|
|
401
|
+
price: CartModel.LadderPrice(),
|
|
402
|
+
type: Joi.string().allow(""),
|
|
477
403
|
});
|
|
478
404
|
}
|
|
479
|
-
|
|
480
|
-
static PageCoupon() {
|
|
405
|
+
static LadderPrice() {
|
|
481
406
|
return Joi.object({
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
total_item_count: Joi.number(),
|
|
489
|
-
|
|
490
|
-
has_next: Joi.boolean(),
|
|
407
|
+
currency_code: Joi.string().allow(""),
|
|
408
|
+
currency_symbol: Joi.string().allow(""),
|
|
409
|
+
effective: Joi.number(),
|
|
410
|
+
marked: Joi.number(),
|
|
411
|
+
offer_price: Joi.number(),
|
|
491
412
|
});
|
|
492
413
|
}
|
|
493
|
-
|
|
494
|
-
static Coupon() {
|
|
414
|
+
static LadderPriceOffer() {
|
|
495
415
|
return Joi.object({
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
sub_title: Joi.string().allow(""),
|
|
503
|
-
|
|
504
|
-
is_applicable: Joi.boolean(),
|
|
505
|
-
|
|
506
|
-
coupon_code: Joi.string().allow(""),
|
|
507
|
-
|
|
508
|
-
minimum_cart_value: Joi.number(),
|
|
509
|
-
|
|
510
|
-
coupon_value: Joi.number(),
|
|
511
|
-
|
|
512
|
-
expires_on: Joi.string().allow(""),
|
|
513
|
-
|
|
514
|
-
title: Joi.string().allow(""),
|
|
416
|
+
description: Joi.string().allow(""),
|
|
417
|
+
id: Joi.string().allow(""),
|
|
418
|
+
offer_prices: Joi.array().items(CartModel.LadderOfferItem()),
|
|
419
|
+
offer_text: Joi.string().allow(""),
|
|
420
|
+
promotion_group: Joi.string().allow(""),
|
|
421
|
+
valid_till: Joi.string().allow(""),
|
|
515
422
|
});
|
|
516
423
|
}
|
|
517
|
-
|
|
518
|
-
static GetCouponResponse() {
|
|
424
|
+
static LadderPriceOffers() {
|
|
519
425
|
return Joi.object({
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
available_coupon_list: Joi.array().items(CartModel.Coupon()),
|
|
426
|
+
available_offers: Joi.array().items(CartModel.LadderPriceOffer()),
|
|
427
|
+
currency: CartModel.CurrencyInfo(),
|
|
523
428
|
});
|
|
524
429
|
}
|
|
525
|
-
|
|
526
|
-
static ApplyCouponRequest() {
|
|
430
|
+
static LoyaltyPoints() {
|
|
527
431
|
return Joi.object({
|
|
528
|
-
|
|
432
|
+
applicable: Joi.number(),
|
|
433
|
+
description: Joi.string().allow(""),
|
|
434
|
+
is_applied: Joi.boolean(),
|
|
435
|
+
total: Joi.number(),
|
|
529
436
|
});
|
|
530
437
|
}
|
|
531
|
-
|
|
532
|
-
static OfferSeller() {
|
|
438
|
+
static OfferItem() {
|
|
533
439
|
return Joi.object({
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
440
|
+
auto_applied: Joi.boolean(),
|
|
441
|
+
best: Joi.boolean(),
|
|
442
|
+
margin: Joi.number(),
|
|
443
|
+
price: CartModel.OfferPrice(),
|
|
444
|
+
quantity: Joi.number(),
|
|
445
|
+
total: Joi.number(),
|
|
446
|
+
type: Joi.string().allow(""),
|
|
537
447
|
});
|
|
538
448
|
}
|
|
539
|
-
|
|
540
449
|
static OfferPrice() {
|
|
541
450
|
return Joi.object({
|
|
451
|
+
bulk_effective: Joi.number(),
|
|
542
452
|
currency_code: Joi.string().allow(""),
|
|
543
|
-
|
|
544
|
-
marked: Joi.number(),
|
|
545
|
-
|
|
546
453
|
currency_symbol: Joi.string().allow(""),
|
|
547
|
-
|
|
548
454
|
effective: Joi.number(),
|
|
549
|
-
|
|
550
|
-
bulk_effective: Joi.number(),
|
|
455
|
+
marked: Joi.number(),
|
|
551
456
|
});
|
|
552
457
|
}
|
|
553
|
-
|
|
554
|
-
static OfferItem() {
|
|
458
|
+
static OfferSeller() {
|
|
555
459
|
return Joi.object({
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
type: Joi.string().allow(""),
|
|
559
|
-
|
|
560
|
-
margin: Joi.number(),
|
|
561
|
-
|
|
562
|
-
best: Joi.boolean(),
|
|
563
|
-
|
|
564
|
-
total: Joi.number(),
|
|
565
|
-
|
|
566
|
-
quantity: Joi.number(),
|
|
567
|
-
|
|
568
|
-
auto_applied: Joi.boolean(),
|
|
460
|
+
name: Joi.string().allow(""),
|
|
461
|
+
uid: Joi.number(),
|
|
569
462
|
});
|
|
570
463
|
}
|
|
571
|
-
|
|
572
|
-
static BulkPriceOffer() {
|
|
464
|
+
static OperationErrorResponse() {
|
|
573
465
|
return Joi.object({
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
offers: Joi.array().items(CartModel.OfferItem()),
|
|
466
|
+
message: Joi.string().allow(""),
|
|
467
|
+
success: Joi.boolean(),
|
|
577
468
|
});
|
|
578
469
|
}
|
|
579
|
-
|
|
580
|
-
static BulkPriceResponse() {
|
|
470
|
+
static Ownership() {
|
|
581
471
|
return Joi.object({
|
|
582
|
-
|
|
472
|
+
payable_by: Joi.string().allow(""),
|
|
473
|
+
payable_category: Joi.string().allow(""),
|
|
583
474
|
});
|
|
584
475
|
}
|
|
585
|
-
|
|
586
|
-
static RewardPointRequest() {
|
|
476
|
+
static PageCoupon() {
|
|
587
477
|
return Joi.object({
|
|
588
|
-
|
|
478
|
+
current: Joi.number(),
|
|
479
|
+
has_next: Joi.boolean(),
|
|
480
|
+
has_previous: Joi.boolean(),
|
|
481
|
+
total: Joi.number(),
|
|
482
|
+
total_item_count: Joi.number(),
|
|
589
483
|
});
|
|
590
484
|
}
|
|
591
|
-
|
|
592
|
-
static GeoLocation() {
|
|
485
|
+
static PaymentCouponValidate() {
|
|
593
486
|
return Joi.object({
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
});
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
static Address() {
|
|
601
|
-
return Joi.object({
|
|
602
|
-
country_phone_code: Joi.string().allow(""),
|
|
603
|
-
|
|
604
|
-
google_map_point: Joi.any(),
|
|
605
|
-
|
|
606
|
-
area: Joi.string().allow(""),
|
|
607
|
-
|
|
608
|
-
area_code_slug: Joi.string().allow(""),
|
|
609
|
-
|
|
610
|
-
address: Joi.string().allow(""),
|
|
611
|
-
|
|
612
|
-
city: Joi.string().allow(""),
|
|
613
|
-
|
|
614
|
-
id: Joi.string().allow(""),
|
|
615
|
-
|
|
616
|
-
is_active: Joi.boolean(),
|
|
617
|
-
|
|
618
|
-
country_iso_code: Joi.string().allow(""),
|
|
619
|
-
|
|
620
|
-
area_code: Joi.string().allow(""),
|
|
621
|
-
|
|
622
|
-
user_id: Joi.string().allow(""),
|
|
623
|
-
|
|
624
|
-
name: Joi.string().allow(""),
|
|
625
|
-
|
|
626
|
-
landmark: Joi.string().allow(""),
|
|
627
|
-
|
|
628
|
-
geo_location: CartModel.GeoLocation(),
|
|
629
|
-
|
|
630
|
-
country: Joi.string().allow(""),
|
|
631
|
-
|
|
632
|
-
country_code: Joi.string().allow(""),
|
|
633
|
-
|
|
634
|
-
email: Joi.string().allow(""),
|
|
635
|
-
|
|
636
|
-
state: Joi.string().allow(""),
|
|
637
|
-
|
|
638
|
-
meta: Joi.any(),
|
|
639
|
-
|
|
640
|
-
is_default_address: Joi.boolean(),
|
|
641
|
-
|
|
642
|
-
phone: Joi.string().allow(""),
|
|
643
|
-
|
|
644
|
-
checkout_mode: Joi.string().allow(""),
|
|
645
|
-
|
|
646
|
-
tags: Joi.array().items(Joi.string().allow("")),
|
|
647
|
-
|
|
648
|
-
address_type: Joi.string().allow(""),
|
|
649
|
-
});
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
static GetAddressesResponse() {
|
|
653
|
-
return Joi.object({
|
|
654
|
-
address: Joi.array().items(CartModel.Address()),
|
|
655
|
-
});
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
static SaveAddressResponse() {
|
|
659
|
-
return Joi.object({
|
|
660
|
-
id: Joi.string().allow(""),
|
|
661
|
-
|
|
662
|
-
is_default_address: Joi.boolean(),
|
|
663
|
-
|
|
664
|
-
success: Joi.boolean(),
|
|
665
|
-
});
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
static UpdateAddressResponse() {
|
|
669
|
-
return Joi.object({
|
|
670
|
-
id: Joi.string().allow(""),
|
|
671
|
-
|
|
672
|
-
is_updated: Joi.boolean(),
|
|
673
|
-
|
|
674
|
-
is_default_address: Joi.boolean(),
|
|
675
|
-
|
|
676
|
-
success: Joi.boolean(),
|
|
677
|
-
});
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
static DeleteAddressResponse() {
|
|
681
|
-
return Joi.object({
|
|
682
|
-
is_deleted: Joi.boolean(),
|
|
683
|
-
|
|
684
|
-
id: Joi.string().allow(""),
|
|
487
|
+
coupon_validity: CartModel.CouponValidity(),
|
|
488
|
+
message: Joi.string().allow(""),
|
|
489
|
+
success: Joi.boolean().required(),
|
|
685
490
|
});
|
|
686
491
|
}
|
|
687
|
-
|
|
688
|
-
static SelectCartAddressRequest() {
|
|
492
|
+
static PaymentSelectionLock() {
|
|
689
493
|
return Joi.object({
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
cart_id: Joi.string().allow(""),
|
|
494
|
+
default_options: Joi.string().allow(""),
|
|
495
|
+
enabled: Joi.boolean(),
|
|
496
|
+
payment_identifier: Joi.string().allow(""),
|
|
695
497
|
});
|
|
696
498
|
}
|
|
697
|
-
|
|
698
|
-
static UpdateCartPaymentRequest() {
|
|
499
|
+
static ProductAction() {
|
|
699
500
|
return Joi.object({
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
merchant_code: Joi.string().allow(""),
|
|
705
|
-
|
|
706
|
-
payment_identifier: Joi.string().allow("").allow(null),
|
|
707
|
-
|
|
708
|
-
payment_mode: Joi.string().allow(""),
|
|
709
|
-
|
|
710
|
-
address_id: Joi.string().allow(""),
|
|
501
|
+
query: CartModel.ActionQuery(),
|
|
502
|
+
type: Joi.string().allow(""),
|
|
503
|
+
url: Joi.string().allow(""),
|
|
711
504
|
});
|
|
712
505
|
}
|
|
713
|
-
|
|
714
|
-
static CouponValidity() {
|
|
506
|
+
static ProductArticle() {
|
|
715
507
|
return Joi.object({
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
508
|
+
_custom_json: Joi.any(),
|
|
509
|
+
extra_meta: Joi.any(),
|
|
510
|
+
parent_item_identifiers: Joi.any(),
|
|
511
|
+
price: CartModel.ArticlePriceInfo(),
|
|
512
|
+
product_group_tags: Joi.array().items(Joi.string().allow("")),
|
|
513
|
+
quantity: Joi.number(),
|
|
514
|
+
seller: CartModel.BaseInfo(),
|
|
515
|
+
size: Joi.string().allow(""),
|
|
516
|
+
store: CartModel.BaseInfo(),
|
|
517
|
+
type: Joi.string().allow(""),
|
|
518
|
+
uid: Joi.string().allow(""),
|
|
725
519
|
});
|
|
726
520
|
}
|
|
727
|
-
|
|
728
|
-
static PaymentCouponValidate() {
|
|
521
|
+
static ProductAvailability() {
|
|
729
522
|
return Joi.object({
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
523
|
+
available_sizes: Joi.array().items(CartModel.ProductAvailabilitySize()),
|
|
524
|
+
deliverable: Joi.boolean(),
|
|
525
|
+
is_valid: Joi.boolean(),
|
|
526
|
+
other_store_quantity: Joi.number(),
|
|
527
|
+
out_of_stock: Joi.boolean(),
|
|
528
|
+
sizes: Joi.array().items(Joi.string().allow("")),
|
|
735
529
|
});
|
|
736
530
|
}
|
|
737
|
-
|
|
738
|
-
static ShipmentResponse() {
|
|
531
|
+
static ProductAvailabilitySize() {
|
|
739
532
|
return Joi.object({
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
dp_options: Joi.any().allow(null),
|
|
745
|
-
|
|
746
|
-
dp_id: Joi.string().allow("").allow(null),
|
|
747
|
-
|
|
748
|
-
items: Joi.array().items(CartModel.CartProductInfo()),
|
|
749
|
-
|
|
750
|
-
shipment_type: Joi.string().allow(""),
|
|
751
|
-
|
|
752
|
-
fulfillment_type: Joi.string().allow(""),
|
|
753
|
-
|
|
754
|
-
fulfillment_id: Joi.number(),
|
|
755
|
-
|
|
756
|
-
order_type: Joi.string().allow(""),
|
|
757
|
-
|
|
758
|
-
shipments: Joi.number(),
|
|
533
|
+
display: Joi.string().allow(""),
|
|
534
|
+
is_available: Joi.boolean(),
|
|
535
|
+
value: Joi.string().allow(""),
|
|
759
536
|
});
|
|
760
537
|
}
|
|
761
|
-
|
|
762
|
-
static CartShipmentsResponse() {
|
|
538
|
+
static ProductImage() {
|
|
763
539
|
return Joi.object({
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
payment_selection_lock: CartModel.PaymentSelectionLock(),
|
|
769
|
-
|
|
770
|
-
uid: Joi.string().allow(""),
|
|
771
|
-
|
|
772
|
-
restrict_checkout: Joi.boolean(),
|
|
773
|
-
|
|
774
|
-
last_modified: Joi.string().allow(""),
|
|
775
|
-
|
|
776
|
-
comment: Joi.string().allow(""),
|
|
777
|
-
|
|
778
|
-
delivery_charge_info: Joi.string().allow(""),
|
|
779
|
-
|
|
780
|
-
buy_now: Joi.boolean(),
|
|
781
|
-
|
|
782
|
-
breakup_values: CartModel.CartBreakup(),
|
|
783
|
-
|
|
784
|
-
gstin: Joi.string().allow(""),
|
|
785
|
-
|
|
786
|
-
id: Joi.string().allow(""),
|
|
787
|
-
|
|
788
|
-
cart_id: Joi.number(),
|
|
789
|
-
|
|
790
|
-
currency: CartModel.CartCurrency(),
|
|
791
|
-
|
|
792
|
-
error: Joi.boolean(),
|
|
793
|
-
|
|
794
|
-
delivery_promise: CartModel.ShipmentPromise(),
|
|
795
|
-
|
|
796
|
-
checkout_mode: Joi.string().allow(""),
|
|
797
|
-
|
|
798
|
-
shipments: Joi.array().items(CartModel.ShipmentResponse()),
|
|
799
|
-
|
|
800
|
-
coupon_text: Joi.string().allow(""),
|
|
540
|
+
aspect_ratio: Joi.string().allow(""),
|
|
541
|
+
secure_url: Joi.string().allow(""),
|
|
542
|
+
url: Joi.string().allow(""),
|
|
801
543
|
});
|
|
802
544
|
}
|
|
803
|
-
|
|
804
|
-
static CartCheckoutCustomMeta() {
|
|
545
|
+
static ProductPrice() {
|
|
805
546
|
return Joi.object({
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
547
|
+
add_on: Joi.number(),
|
|
548
|
+
currency_code: Joi.string().allow(""),
|
|
549
|
+
currency_symbol: Joi.string().allow(""),
|
|
550
|
+
effective: Joi.number(),
|
|
551
|
+
marked: Joi.number(),
|
|
552
|
+
selling: Joi.number(),
|
|
809
553
|
});
|
|
810
554
|
}
|
|
811
|
-
|
|
812
|
-
static StaffCheckout() {
|
|
555
|
+
static ProductPriceInfo() {
|
|
813
556
|
return Joi.object({
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
first_name: Joi.string().allow("").required(),
|
|
817
|
-
|
|
818
|
-
employee_code: Joi.string().allow(""),
|
|
819
|
-
|
|
820
|
-
last_name: Joi.string().allow("").required(),
|
|
821
|
-
|
|
822
|
-
user: Joi.string().allow("").required(),
|
|
557
|
+
base: CartModel.ProductPrice(),
|
|
558
|
+
converted: CartModel.ProductPrice(),
|
|
823
559
|
});
|
|
824
560
|
}
|
|
825
|
-
|
|
826
|
-
static CartCheckoutDetailRequest() {
|
|
561
|
+
static PromiseFormatted() {
|
|
827
562
|
return Joi.object({
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
custom_meta: Joi.array().items(CartModel.CartCheckoutCustomMeta()),
|
|
831
|
-
|
|
832
|
-
aggregator: Joi.string().allow(""),
|
|
833
|
-
|
|
834
|
-
extra_meta: Joi.any(),
|
|
835
|
-
|
|
836
|
-
meta: Joi.any(),
|
|
837
|
-
|
|
838
|
-
billing_address_id: Joi.string().allow(""),
|
|
839
|
-
|
|
840
|
-
payment_params: Joi.any().allow(null),
|
|
841
|
-
|
|
842
|
-
delivery_address: Joi.any(),
|
|
843
|
-
|
|
844
|
-
callback_url: Joi.string().allow("").allow(null),
|
|
845
|
-
|
|
846
|
-
merchant_code: Joi.string().allow(""),
|
|
847
|
-
|
|
848
|
-
payment_identifier: Joi.string().allow("").allow(null),
|
|
849
|
-
|
|
850
|
-
billing_address: Joi.any(),
|
|
851
|
-
|
|
852
|
-
payment_mode: Joi.string().allow("").required(),
|
|
853
|
-
|
|
854
|
-
staff: CartModel.StaffCheckout(),
|
|
855
|
-
|
|
856
|
-
payment_auto_confirm: Joi.boolean(),
|
|
857
|
-
|
|
858
|
-
address_id: Joi.string().allow(""),
|
|
563
|
+
max: Joi.string().allow(""),
|
|
564
|
+
min: Joi.string().allow(""),
|
|
859
565
|
});
|
|
860
566
|
}
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
uid: Joi.string().allow(""),
|
|
867
|
-
|
|
868
|
-
items: Joi.array().items(CartModel.CartProductInfo()),
|
|
869
|
-
|
|
870
|
-
delivery_charge_info: Joi.string().allow(""),
|
|
871
|
-
|
|
872
|
-
delivery_charge_order_value: Joi.number(),
|
|
873
|
-
|
|
874
|
-
breakup_values: CartModel.CartBreakup(),
|
|
875
|
-
|
|
876
|
-
cod_charges: Joi.number(),
|
|
877
|
-
|
|
878
|
-
id: Joi.string().allow(""),
|
|
879
|
-
|
|
880
|
-
cart_id: Joi.number(),
|
|
881
|
-
|
|
882
|
-
cod_message: Joi.string().allow(""),
|
|
883
|
-
|
|
884
|
-
error_message: Joi.string().allow(""),
|
|
885
|
-
|
|
886
|
-
currency: CartModel.CartCurrency(),
|
|
887
|
-
|
|
888
|
-
store_emps: Joi.array().items(Joi.any()),
|
|
889
|
-
|
|
890
|
-
delivery_charges: Joi.number(),
|
|
891
|
-
|
|
892
|
-
is_valid: Joi.boolean(),
|
|
893
|
-
|
|
894
|
-
message: Joi.string().allow(""),
|
|
895
|
-
|
|
896
|
-
coupon_text: Joi.string().allow(""),
|
|
897
|
-
|
|
898
|
-
restrict_checkout: Joi.boolean(),
|
|
899
|
-
|
|
900
|
-
last_modified: Joi.string().allow(""),
|
|
901
|
-
|
|
902
|
-
comment: Joi.string().allow(""),
|
|
903
|
-
|
|
904
|
-
success: Joi.boolean(),
|
|
905
|
-
|
|
906
|
-
buy_now: Joi.boolean(),
|
|
907
|
-
|
|
908
|
-
gstin: Joi.string().allow(""),
|
|
909
|
-
|
|
910
|
-
order_id: Joi.string().allow(""),
|
|
911
|
-
|
|
912
|
-
cod_available: Joi.boolean(),
|
|
913
|
-
|
|
914
|
-
checkout_mode: Joi.string().allow(""),
|
|
915
|
-
|
|
916
|
-
user_type: Joi.string().allow(""),
|
|
917
|
-
|
|
918
|
-
store_code: Joi.string().allow(""),
|
|
919
|
-
|
|
920
|
-
delivery_promise: CartModel.ShipmentPromise(),
|
|
567
|
+
static PromiseTimestamp() {
|
|
568
|
+
return Joi.object({
|
|
569
|
+
max: Joi.number(),
|
|
570
|
+
min: Joi.number(),
|
|
921
571
|
});
|
|
922
572
|
}
|
|
923
|
-
|
|
924
|
-
static CartCheckoutResponse() {
|
|
573
|
+
static PromoMeta() {
|
|
925
574
|
return Joi.object({
|
|
926
575
|
message: Joi.string().allow(""),
|
|
927
|
-
|
|
928
|
-
order_id: Joi.string().allow(""),
|
|
929
|
-
|
|
930
|
-
data: Joi.any(),
|
|
931
|
-
|
|
932
|
-
callback_url: Joi.string().allow(""),
|
|
933
|
-
|
|
934
|
-
app_intercept_url: Joi.string().allow(""),
|
|
935
|
-
|
|
936
|
-
payment_confirm_url: Joi.string().allow(""),
|
|
937
|
-
|
|
938
|
-
success: Joi.boolean(),
|
|
939
|
-
|
|
940
|
-
cart: CartModel.CheckCart(),
|
|
941
576
|
});
|
|
942
577
|
}
|
|
943
|
-
|
|
944
|
-
static CartMetaRequest() {
|
|
578
|
+
static PromotionOffer() {
|
|
945
579
|
return Joi.object({
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
gstin: Joi.string().allow(""),
|
|
580
|
+
description: Joi.string().allow(""),
|
|
581
|
+
id: Joi.string().allow(""),
|
|
582
|
+
offer_text: Joi.string().allow(""),
|
|
583
|
+
promotion_group: Joi.string().allow(""),
|
|
584
|
+
valid_till: Joi.string().allow(""),
|
|
953
585
|
});
|
|
954
586
|
}
|
|
955
|
-
|
|
956
|
-
static CartMetaResponse() {
|
|
587
|
+
static PromotionOffersResponse() {
|
|
957
588
|
return Joi.object({
|
|
958
|
-
|
|
589
|
+
available_promotions: Joi.array().items(CartModel.PromotionOffer()),
|
|
959
590
|
});
|
|
960
591
|
}
|
|
961
|
-
|
|
962
|
-
static CartMetaMissingResponse() {
|
|
592
|
+
static RawBreakup() {
|
|
963
593
|
return Joi.object({
|
|
964
|
-
|
|
594
|
+
cod_charge: Joi.number(),
|
|
595
|
+
convenience_fee: Joi.number(),
|
|
596
|
+
coupon: Joi.number(),
|
|
597
|
+
delivery_charge: Joi.number(),
|
|
598
|
+
discount: Joi.number(),
|
|
599
|
+
fynd_cash: Joi.number(),
|
|
600
|
+
gst_charges: Joi.number(),
|
|
601
|
+
mrp_total: Joi.number(),
|
|
602
|
+
subtotal: Joi.number(),
|
|
603
|
+
total: Joi.number(),
|
|
604
|
+
vog: Joi.number(),
|
|
605
|
+
you_saved: Joi.number(),
|
|
965
606
|
});
|
|
966
607
|
}
|
|
967
|
-
|
|
968
|
-
static GetShareCartLinkRequest() {
|
|
608
|
+
static RewardPointRequest() {
|
|
969
609
|
return Joi.object({
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
id: Joi.string().allow(""),
|
|
610
|
+
points: Joi.boolean().required(),
|
|
973
611
|
});
|
|
974
612
|
}
|
|
975
|
-
|
|
976
|
-
static GetShareCartLinkResponse() {
|
|
613
|
+
static SaveAddressResponse() {
|
|
977
614
|
return Joi.object({
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
615
|
+
id: Joi.string().allow(""),
|
|
616
|
+
is_default_address: Joi.boolean(),
|
|
617
|
+
success: Joi.boolean(),
|
|
981
618
|
});
|
|
982
619
|
}
|
|
983
|
-
|
|
984
|
-
static SharedCartDetails() {
|
|
620
|
+
static SelectCartAddressRequest() {
|
|
985
621
|
return Joi.object({
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
source: Joi.any(),
|
|
991
|
-
|
|
992
|
-
created_on: Joi.string().allow(""),
|
|
993
|
-
|
|
994
|
-
user: Joi.any(),
|
|
622
|
+
billing_address_id: Joi.string().allow(""),
|
|
623
|
+
cart_id: Joi.string().allow(""),
|
|
624
|
+
id: Joi.string().allow(""),
|
|
995
625
|
});
|
|
996
626
|
}
|
|
997
|
-
|
|
998
627
|
static SharedCart() {
|
|
999
628
|
return Joi.object({
|
|
1000
|
-
payment_selection_lock: CartModel.PaymentSelectionLock(),
|
|
1001
|
-
|
|
1002
|
-
uid: Joi.string().allow(""),
|
|
1003
|
-
|
|
1004
|
-
items: Joi.array().items(CartModel.CartProductInfo()),
|
|
1005
|
-
|
|
1006
|
-
delivery_charge_info: Joi.string().allow(""),
|
|
1007
|
-
|
|
1008
629
|
breakup_values: CartModel.CartBreakup(),
|
|
1009
|
-
|
|
1010
|
-
id: Joi.string().allow(""),
|
|
1011
|
-
|
|
630
|
+
buy_now: Joi.boolean(),
|
|
1012
631
|
cart_id: Joi.number(),
|
|
1013
|
-
|
|
632
|
+
checkout_mode: Joi.string().allow(""),
|
|
633
|
+
comment: Joi.string().allow(""),
|
|
634
|
+
coupon_text: Joi.string().allow(""),
|
|
1014
635
|
currency: CartModel.CartCurrency(),
|
|
1015
|
-
|
|
636
|
+
delivery_charge_info: Joi.string().allow(""),
|
|
637
|
+
delivery_promise: CartModel.ShipmentPromise(),
|
|
638
|
+
gstin: Joi.string().allow(""),
|
|
639
|
+
id: Joi.string().allow(""),
|
|
1016
640
|
is_valid: Joi.boolean(),
|
|
1017
|
-
|
|
641
|
+
items: Joi.array().items(CartModel.CartProductInfo()),
|
|
642
|
+
last_modified: Joi.string().allow(""),
|
|
1018
643
|
message: Joi.string().allow(""),
|
|
1019
|
-
|
|
1020
|
-
coupon_text: Joi.string().allow(""),
|
|
1021
|
-
|
|
644
|
+
payment_selection_lock: CartModel.PaymentSelectionLock(),
|
|
1022
645
|
restrict_checkout: Joi.boolean(),
|
|
1023
|
-
|
|
1024
|
-
last_modified: Joi.string().allow(""),
|
|
1025
|
-
|
|
1026
|
-
comment: Joi.string().allow(""),
|
|
1027
|
-
|
|
1028
646
|
shared_cart_details: CartModel.SharedCartDetails(),
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
647
|
+
uid: Joi.string().allow(""),
|
|
648
|
+
});
|
|
649
|
+
}
|
|
650
|
+
static SharedCartDetails() {
|
|
651
|
+
return Joi.object({
|
|
652
|
+
created_on: Joi.string().allow(""),
|
|
653
|
+
meta: Joi.any(),
|
|
654
|
+
source: Joi.any(),
|
|
655
|
+
token: Joi.string().allow(""),
|
|
656
|
+
user: Joi.any(),
|
|
1037
657
|
});
|
|
1038
658
|
}
|
|
1039
|
-
|
|
1040
659
|
static SharedCartResponse() {
|
|
1041
660
|
return Joi.object({
|
|
1042
|
-
error: Joi.string().allow(""),
|
|
1043
|
-
|
|
1044
661
|
cart: CartModel.SharedCart(),
|
|
662
|
+
error: Joi.string().allow(""),
|
|
1045
663
|
});
|
|
1046
664
|
}
|
|
1047
|
-
|
|
1048
|
-
static PromotionOffer() {
|
|
665
|
+
static ShipmentPromise() {
|
|
1049
666
|
return Joi.object({
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
promotion_group: Joi.string().allow(""),
|
|
1053
|
-
|
|
1054
|
-
id: Joi.string().allow(""),
|
|
1055
|
-
|
|
1056
|
-
description: Joi.string().allow(""),
|
|
1057
|
-
|
|
1058
|
-
valid_till: Joi.string().allow(""),
|
|
667
|
+
formatted: CartModel.PromiseFormatted(),
|
|
668
|
+
timestamp: CartModel.PromiseTimestamp(),
|
|
1059
669
|
});
|
|
1060
670
|
}
|
|
1061
|
-
|
|
1062
|
-
static PromotionOffersResponse() {
|
|
671
|
+
static ShipmentResponse() {
|
|
1063
672
|
return Joi.object({
|
|
1064
|
-
|
|
673
|
+
box_type: Joi.string().allow("").allow(null),
|
|
674
|
+
dp_id: Joi.string().allow("").allow(null),
|
|
675
|
+
dp_options: Joi.any().allow(null),
|
|
676
|
+
fulfillment_id: Joi.number(),
|
|
677
|
+
fulfillment_type: Joi.string().allow(""),
|
|
678
|
+
items: Joi.array().items(CartModel.CartProductInfo()),
|
|
679
|
+
order_type: Joi.string().allow(""),
|
|
680
|
+
promise: CartModel.ShipmentPromise(),
|
|
681
|
+
shipment_type: Joi.string().allow(""),
|
|
682
|
+
shipments: Joi.number(),
|
|
1065
683
|
});
|
|
1066
684
|
}
|
|
1067
|
-
|
|
1068
|
-
static OperationErrorResponse() {
|
|
685
|
+
static StaffCheckout() {
|
|
1069
686
|
return Joi.object({
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
687
|
+
_id: Joi.string().allow("").required(),
|
|
688
|
+
employee_code: Joi.string().allow(""),
|
|
689
|
+
first_name: Joi.string().allow("").required(),
|
|
690
|
+
last_name: Joi.string().allow("").required(),
|
|
691
|
+
user: Joi.string().allow("").required(),
|
|
1073
692
|
});
|
|
1074
693
|
}
|
|
1075
|
-
|
|
1076
|
-
static CurrencyInfo() {
|
|
694
|
+
static UpdateAddressResponse() {
|
|
1077
695
|
return Joi.object({
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
696
|
+
id: Joi.string().allow(""),
|
|
697
|
+
is_default_address: Joi.boolean(),
|
|
698
|
+
is_updated: Joi.boolean(),
|
|
699
|
+
success: Joi.boolean(),
|
|
1081
700
|
});
|
|
1082
701
|
}
|
|
1083
|
-
|
|
1084
|
-
static LadderPrice() {
|
|
702
|
+
static UpdateCartDetailResponse() {
|
|
1085
703
|
return Joi.object({
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
marked: Joi.number(),
|
|
1091
|
-
|
|
1092
|
-
currency_symbol: Joi.string().allow(""),
|
|
1093
|
-
|
|
1094
|
-
effective: Joi.number(),
|
|
704
|
+
cart: CartModel.CartDetailResponse(),
|
|
705
|
+
message: Joi.string().allow(""),
|
|
706
|
+
success: Joi.boolean(),
|
|
1095
707
|
});
|
|
1096
708
|
}
|
|
1097
|
-
|
|
1098
|
-
static LadderOfferItem() {
|
|
709
|
+
static UpdateCartPaymentRequest() {
|
|
1099
710
|
return Joi.object({
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
type: Joi.string().allow(""),
|
|
1107
|
-
|
|
1108
|
-
margin: Joi.number(),
|
|
711
|
+
address_id: Joi.string().allow(""),
|
|
712
|
+
aggregator_name: Joi.string().allow(""),
|
|
713
|
+
id: Joi.string().allow(""),
|
|
714
|
+
merchant_code: Joi.string().allow(""),
|
|
715
|
+
payment_identifier: Joi.string().allow("").allow(null),
|
|
716
|
+
payment_mode: Joi.string().allow(""),
|
|
1109
717
|
});
|
|
1110
718
|
}
|
|
1111
|
-
|
|
1112
|
-
static LadderPriceOffer() {
|
|
719
|
+
static UpdateCartRequest() {
|
|
1113
720
|
return Joi.object({
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
promotion_group: Joi.string().allow(""),
|
|
1117
|
-
|
|
1118
|
-
id: Joi.string().allow(""),
|
|
1119
|
-
|
|
1120
|
-
offer_prices: Joi.array().items(CartModel.LadderOfferItem()),
|
|
1121
|
-
|
|
1122
|
-
description: Joi.string().allow(""),
|
|
1123
|
-
|
|
1124
|
-
valid_till: Joi.string().allow(""),
|
|
721
|
+
items: Joi.array().items(CartModel.UpdateProductCart()),
|
|
722
|
+
operation: Joi.string().allow("").required(),
|
|
1125
723
|
});
|
|
1126
724
|
}
|
|
1127
|
-
|
|
1128
|
-
static LadderPriceOffers() {
|
|
725
|
+
static UpdateProductCart() {
|
|
1129
726
|
return Joi.object({
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
727
|
+
_custom_json: Joi.any(),
|
|
728
|
+
article_id: Joi.string().allow(""),
|
|
729
|
+
extra_meta: Joi.any(),
|
|
730
|
+
identifiers: CartModel.CartProductIdentifer().required(),
|
|
731
|
+
item_id: Joi.number(),
|
|
732
|
+
item_index: Joi.number(),
|
|
733
|
+
item_size: Joi.string().allow(""),
|
|
734
|
+
parent_item_identifiers: Joi.any(),
|
|
735
|
+
quantity: Joi.number(),
|
|
1133
736
|
});
|
|
1134
737
|
}
|
|
1135
738
|
}
|