@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,1181 +1,810 @@
|
|
|
1
1
|
const Joi = require("joi");
|
|
2
2
|
|
|
3
3
|
class ConfigurationModel {
|
|
4
|
-
static
|
|
4
|
+
static Android() {
|
|
5
5
|
return Joi.object({
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
company_info: ConfigurationModel.CompanyInfo(),
|
|
9
|
-
|
|
10
|
-
owner_info: ConfigurationModel.OwnerInfo(),
|
|
6
|
+
api_key: Joi.string().allow(""),
|
|
7
|
+
application_id: Joi.string().allow(""),
|
|
11
8
|
});
|
|
12
9
|
}
|
|
13
|
-
|
|
14
|
-
static ApplicationInfo() {
|
|
10
|
+
static AppCurrencyResponse() {
|
|
15
11
|
return Joi.object({
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
website: ConfigurationModel.ApplicationWebsite(),
|
|
21
|
-
|
|
22
|
-
cors: ConfigurationModel.ApplicationCors(),
|
|
23
|
-
|
|
24
|
-
description: Joi.string().allow(""),
|
|
25
|
-
|
|
26
|
-
name: Joi.string().allow(""),
|
|
27
|
-
|
|
28
|
-
meta: ConfigurationModel.ApplicationMeta(),
|
|
29
|
-
|
|
30
|
-
token: Joi.string().allow(""),
|
|
31
|
-
|
|
32
|
-
secret: Joi.string().allow(""),
|
|
33
|
-
|
|
34
|
-
created_at: Joi.string().allow(""),
|
|
35
|
-
|
|
36
|
-
banner: ConfigurationModel.SecureUrl(),
|
|
37
|
-
|
|
38
|
-
logo: ConfigurationModel.SecureUrl(),
|
|
39
|
-
|
|
40
|
-
is_active: Joi.boolean(),
|
|
12
|
+
application: Joi.string().allow(""),
|
|
13
|
+
default_currency: ConfigurationModel.DefaultCurrency(),
|
|
14
|
+
supported_currency: Joi.array().items(ConfigurationModel.Currency()),
|
|
41
15
|
});
|
|
42
16
|
}
|
|
43
|
-
|
|
44
|
-
static CompanyInfo() {
|
|
17
|
+
static AppFeature() {
|
|
45
18
|
return Joi.object({
|
|
19
|
+
__v: Joi.number(),
|
|
46
20
|
_id: Joi.string().allow(""),
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
21
|
+
app: Joi.string().allow(""),
|
|
22
|
+
cart: ConfigurationModel.CartFeature(),
|
|
23
|
+
common: ConfigurationModel.CommonFeature(),
|
|
24
|
+
created_at: Joi.string().allow(""),
|
|
25
|
+
home_page: ConfigurationModel.HomePageFeature(),
|
|
26
|
+
landing_page: ConfigurationModel.LandingPageFeature(),
|
|
27
|
+
order: ConfigurationModel.OrderFeature(),
|
|
28
|
+
pcr: ConfigurationModel.PcrFeature(),
|
|
29
|
+
product_detail: ConfigurationModel.ProductDetailFeature(),
|
|
30
|
+
qr: ConfigurationModel.QrFeature(),
|
|
31
|
+
registration_page: ConfigurationModel.RegistrationPageFeature(),
|
|
32
|
+
updated_at: Joi.string().allow(""),
|
|
59
33
|
});
|
|
60
34
|
}
|
|
61
|
-
|
|
62
|
-
static OwnerInfo() {
|
|
35
|
+
static AppFeatureRequest() {
|
|
63
36
|
return Joi.object({
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
emails: Joi.array().items(ConfigurationModel.UserEmail()),
|
|
67
|
-
|
|
68
|
-
phone_numbers: Joi.array().items(ConfigurationModel.UserPhoneNumber()),
|
|
69
|
-
|
|
70
|
-
first_name: Joi.string().allow(""),
|
|
71
|
-
|
|
72
|
-
last_name: Joi.string().allow(""),
|
|
73
|
-
|
|
74
|
-
profile_pic: Joi.string().allow(""),
|
|
37
|
+
feature: ConfigurationModel.AppFeature(),
|
|
75
38
|
});
|
|
76
39
|
}
|
|
77
|
-
|
|
78
|
-
static AppVersionRequest() {
|
|
40
|
+
static AppFeatureResponse() {
|
|
79
41
|
return Joi.object({
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
device: ConfigurationModel.Device().required(),
|
|
83
|
-
|
|
84
|
-
locale: Joi.string().allow(""),
|
|
85
|
-
|
|
86
|
-
timezone: Joi.string().allow(""),
|
|
42
|
+
feature: ConfigurationModel.AppFeature(),
|
|
87
43
|
});
|
|
88
44
|
}
|
|
89
|
-
|
|
90
|
-
static ApplicationVersionRequest() {
|
|
45
|
+
static Application() {
|
|
91
46
|
return Joi.object({
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
47
|
+
__v: Joi.number(),
|
|
48
|
+
_id: Joi.string().allow(""),
|
|
49
|
+
app_type: Joi.string().allow(""),
|
|
50
|
+
auth: ConfigurationModel.ApplicationAuth(),
|
|
51
|
+
banner: ConfigurationModel.SecureUrl(),
|
|
52
|
+
cache_ttl: Joi.number(),
|
|
53
|
+
channel_type: Joi.string().allow(""),
|
|
54
|
+
company_id: Joi.number(),
|
|
55
|
+
cors: ConfigurationModel.ApplicationCors(),
|
|
56
|
+
created_at: Joi.string().allow(""),
|
|
57
|
+
description: Joi.string().allow(""),
|
|
58
|
+
domain: ConfigurationModel.Domain(),
|
|
59
|
+
domains: Joi.array().items(ConfigurationModel.Domain()),
|
|
60
|
+
favicon: ConfigurationModel.SecureUrl(),
|
|
61
|
+
is_active: Joi.boolean(),
|
|
62
|
+
is_internal: Joi.boolean(),
|
|
63
|
+
logo: ConfigurationModel.SecureUrl(),
|
|
64
|
+
meta: Joi.array().items(ConfigurationModel.ApplicationMeta()),
|
|
65
|
+
mobile_logo: ConfigurationModel.SecureUrl(),
|
|
66
|
+
name: Joi.string().allow(""),
|
|
67
|
+
owner: Joi.string().allow(""),
|
|
68
|
+
redirections: Joi.array().items(
|
|
69
|
+
ConfigurationModel.ApplicationRedirections()
|
|
70
|
+
),
|
|
98
71
|
token: Joi.string().allow(""),
|
|
99
|
-
|
|
100
|
-
|
|
72
|
+
updated_at: Joi.string().allow(""),
|
|
73
|
+
website: ConfigurationModel.ApplicationWebsite(),
|
|
101
74
|
});
|
|
102
75
|
}
|
|
103
|
-
|
|
104
|
-
static Device() {
|
|
76
|
+
static ApplicationAboutResponse() {
|
|
105
77
|
return Joi.object({
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
os: ConfigurationModel.OS().required(),
|
|
78
|
+
application_info: ConfigurationModel.ApplicationInfo(),
|
|
79
|
+
company_info: ConfigurationModel.CompanyInfo(),
|
|
80
|
+
owner_info: ConfigurationModel.OwnerInfo(),
|
|
111
81
|
});
|
|
112
82
|
}
|
|
113
|
-
|
|
114
|
-
static OS() {
|
|
83
|
+
static ApplicationAuth() {
|
|
115
84
|
return Joi.object({
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
version: Joi.string().allow(""),
|
|
85
|
+
enabled: Joi.boolean(),
|
|
119
86
|
});
|
|
120
87
|
}
|
|
121
|
-
|
|
122
|
-
static SupportedLanguage() {
|
|
88
|
+
static ApplicationCors() {
|
|
123
89
|
return Joi.object({
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
code: Joi.string().allow(""),
|
|
90
|
+
domains: Joi.array().items(Joi.string().allow("")),
|
|
127
91
|
});
|
|
128
92
|
}
|
|
129
|
-
|
|
130
|
-
static LanguageResponse() {
|
|
93
|
+
static ApplicationDetail() {
|
|
131
94
|
return Joi.object({
|
|
132
|
-
|
|
95
|
+
_id: Joi.string().allow(""),
|
|
96
|
+
banner: ConfigurationModel.SecureUrl().required(),
|
|
97
|
+
description: Joi.string().allow("").required(),
|
|
98
|
+
domain: ConfigurationModel.Domain(),
|
|
99
|
+
domains: Joi.array().items(ConfigurationModel.Domain()),
|
|
100
|
+
favicon: ConfigurationModel.SecureUrl().required(),
|
|
101
|
+
logo: ConfigurationModel.SecureUrl().required(),
|
|
102
|
+
mobile_logo: ConfigurationModel.SecureUrl().required(),
|
|
103
|
+
name: Joi.string().allow("").required(),
|
|
133
104
|
});
|
|
134
105
|
}
|
|
135
|
-
|
|
136
|
-
static AppStaffResponse() {
|
|
106
|
+
static ApplicationInfo() {
|
|
137
107
|
return Joi.object({
|
|
138
|
-
|
|
108
|
+
_id: Joi.string().allow(""),
|
|
109
|
+
banner: ConfigurationModel.SecureUrl(),
|
|
110
|
+
cors: ConfigurationModel.ApplicationCors(),
|
|
111
|
+
created_at: Joi.string().allow(""),
|
|
112
|
+
description: Joi.string().allow(""),
|
|
113
|
+
domain: ConfigurationModel.Domain(),
|
|
114
|
+
is_active: Joi.boolean(),
|
|
115
|
+
logo: ConfigurationModel.SecureUrl(),
|
|
116
|
+
meta: ConfigurationModel.ApplicationMeta(),
|
|
117
|
+
name: Joi.string().allow(""),
|
|
118
|
+
secret: Joi.string().allow(""),
|
|
119
|
+
token: Joi.string().allow(""),
|
|
120
|
+
website: ConfigurationModel.ApplicationWebsite(),
|
|
139
121
|
});
|
|
140
122
|
}
|
|
141
|
-
|
|
142
|
-
static AppStaffListResponse() {
|
|
123
|
+
static ApplicationInformation() {
|
|
143
124
|
return Joi.object({
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
125
|
+
__v: Joi.number(),
|
|
126
|
+
_id: Joi.string().allow(""),
|
|
127
|
+
address: ConfigurationModel.InformationAddress(),
|
|
128
|
+
application: Joi.string().allow(""),
|
|
129
|
+
business_highlights: ConfigurationModel.BusinessHighlights(),
|
|
130
|
+
copyright_text: Joi.string().allow(""),
|
|
131
|
+
created_at: Joi.string().allow(""),
|
|
132
|
+
links: ConfigurationModel.Links(),
|
|
133
|
+
social_links: ConfigurationModel.SocialLinks(),
|
|
134
|
+
support: ConfigurationModel.InformationSupport(),
|
|
135
|
+
updated_at: Joi.string().allow(""),
|
|
147
136
|
});
|
|
148
137
|
}
|
|
149
|
-
|
|
150
|
-
|
|
138
|
+
static ApplicationMeta() {
|
|
139
|
+
return Joi.object({
|
|
140
|
+
name: Joi.string().allow(""),
|
|
141
|
+
value: Joi.string().allow(""),
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
static ApplicationRedirections() {
|
|
151
145
|
return Joi.object({
|
|
146
|
+
redirect_from: Joi.string().allow(""),
|
|
147
|
+
redirect_to: Joi.string().allow(""),
|
|
152
148
|
type: Joi.string().allow(""),
|
|
153
|
-
|
|
154
|
-
interval: Joi.number(),
|
|
155
149
|
});
|
|
156
150
|
}
|
|
157
|
-
|
|
158
|
-
static OrderingStoreSelectRequest() {
|
|
151
|
+
static ApplicationVersionRequest() {
|
|
159
152
|
return Joi.object({
|
|
160
|
-
|
|
153
|
+
id: Joi.string().allow(""),
|
|
154
|
+
name: Joi.string().allow("").required(),
|
|
155
|
+
namespace: Joi.string().allow(""),
|
|
156
|
+
token: Joi.string().allow(""),
|
|
157
|
+
version: Joi.string().allow("").required(),
|
|
161
158
|
});
|
|
162
159
|
}
|
|
163
|
-
|
|
164
|
-
static OrderingStoreSelect() {
|
|
160
|
+
static ApplicationWebsite() {
|
|
165
161
|
return Joi.object({
|
|
166
|
-
|
|
162
|
+
basepath: Joi.string().allow(""),
|
|
163
|
+
enabled: Joi.boolean(),
|
|
167
164
|
});
|
|
168
165
|
}
|
|
169
|
-
|
|
170
166
|
static AppStaff() {
|
|
171
167
|
return Joi.object({
|
|
172
168
|
_id: Joi.string().allow(""),
|
|
173
|
-
|
|
174
|
-
order_incent: Joi.boolean(),
|
|
175
|
-
|
|
176
|
-
stores: Joi.array().items(Joi.number()),
|
|
177
|
-
|
|
178
169
|
application: Joi.string().allow(""),
|
|
179
|
-
|
|
180
|
-
title: Joi.string().allow(""),
|
|
181
|
-
|
|
182
|
-
user: Joi.string().allow(""),
|
|
183
|
-
|
|
184
170
|
employee_code: Joi.string().allow(""),
|
|
185
|
-
|
|
186
171
|
first_name: Joi.string().allow(""),
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
static AppTokenResponse() {
|
|
195
|
-
return Joi.object({
|
|
196
|
-
tokens: ConfigurationModel.Tokens(),
|
|
197
|
-
|
|
198
|
-
_id: Joi.string().allow(""),
|
|
199
|
-
|
|
200
|
-
application: Joi.string().allow(""),
|
|
201
|
-
|
|
202
|
-
created_at: Joi.string().allow(""),
|
|
203
|
-
|
|
204
|
-
updated_at: Joi.string().allow(""),
|
|
205
|
-
|
|
206
|
-
__v: Joi.number(),
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
static Tokens() {
|
|
211
|
-
return Joi.object({
|
|
212
|
-
firebase: ConfigurationModel.Firebase(),
|
|
213
|
-
|
|
214
|
-
moengage: ConfigurationModel.Moengage(),
|
|
215
|
-
|
|
216
|
-
segment: ConfigurationModel.Segment(),
|
|
217
|
-
|
|
218
|
-
gtm: ConfigurationModel.Gtm(),
|
|
219
|
-
|
|
220
|
-
freshchat: ConfigurationModel.Freshchat(),
|
|
221
|
-
|
|
222
|
-
safetynet: ConfigurationModel.Safetynet(),
|
|
223
|
-
|
|
224
|
-
fynd_rewards: ConfigurationModel.FyndRewards(),
|
|
225
|
-
|
|
226
|
-
google_map: ConfigurationModel.GoogleMap(),
|
|
227
|
-
});
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
static Firebase() {
|
|
231
|
-
return Joi.object({
|
|
232
|
-
credentials: ConfigurationModel.Credentials(),
|
|
233
|
-
|
|
234
|
-
enabled: Joi.boolean(),
|
|
235
|
-
});
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
static Credentials() {
|
|
239
|
-
return Joi.object({
|
|
240
|
-
ios: ConfigurationModel.Ios(),
|
|
241
|
-
|
|
242
|
-
android: ConfigurationModel.Android(),
|
|
243
|
-
|
|
244
|
-
project_id: Joi.string().allow(""),
|
|
245
|
-
|
|
246
|
-
gcm_sender_id: Joi.string().allow(""),
|
|
247
|
-
|
|
248
|
-
application_id: Joi.string().allow(""),
|
|
249
|
-
|
|
250
|
-
api_key: Joi.string().allow(""),
|
|
172
|
+
last_name: Joi.string().allow(""),
|
|
173
|
+
order_incent: Joi.boolean(),
|
|
174
|
+
profile_pic_url: Joi.string().allow(""),
|
|
175
|
+
stores: Joi.array().items(Joi.number()),
|
|
176
|
+
title: Joi.string().allow(""),
|
|
177
|
+
user: Joi.string().allow(""),
|
|
251
178
|
});
|
|
252
179
|
}
|
|
253
|
-
|
|
254
|
-
static Ios() {
|
|
180
|
+
static AppStaffListResponse() {
|
|
255
181
|
return Joi.object({
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
api_key: Joi.string().allow(""),
|
|
182
|
+
items: Joi.array().items(ConfigurationModel.AppStaff()),
|
|
183
|
+
page: ConfigurationModel.Page(),
|
|
259
184
|
});
|
|
260
185
|
}
|
|
261
|
-
|
|
262
|
-
static Android() {
|
|
186
|
+
static AppStaffResponse() {
|
|
263
187
|
return Joi.object({
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
api_key: Joi.string().allow(""),
|
|
188
|
+
staff_users: Joi.array().items(ConfigurationModel.AppStaff()),
|
|
267
189
|
});
|
|
268
190
|
}
|
|
269
|
-
|
|
270
|
-
static Moengage() {
|
|
191
|
+
static AppTokenResponse() {
|
|
271
192
|
return Joi.object({
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
193
|
+
__v: Joi.number(),
|
|
194
|
+
_id: Joi.string().allow(""),
|
|
195
|
+
application: Joi.string().allow(""),
|
|
196
|
+
created_at: Joi.string().allow(""),
|
|
197
|
+
tokens: ConfigurationModel.Tokens(),
|
|
198
|
+
updated_at: Joi.string().allow(""),
|
|
275
199
|
});
|
|
276
200
|
}
|
|
277
|
-
|
|
278
|
-
static MoengageCredentials() {
|
|
201
|
+
static AppVersionRequest() {
|
|
279
202
|
return Joi.object({
|
|
280
|
-
|
|
203
|
+
application: ConfigurationModel.ApplicationVersionRequest().required(),
|
|
204
|
+
device: ConfigurationModel.Device().required(),
|
|
205
|
+
locale: Joi.string().allow(""),
|
|
206
|
+
timezone: Joi.string().allow(""),
|
|
281
207
|
});
|
|
282
208
|
}
|
|
283
|
-
|
|
284
|
-
static Segment() {
|
|
209
|
+
static ArticleAssignmentRule() {
|
|
285
210
|
return Joi.object({
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
enabled: Joi.boolean(),
|
|
211
|
+
store_priority: ConfigurationModel.StorePriorityRule(),
|
|
289
212
|
});
|
|
290
213
|
}
|
|
291
|
-
|
|
292
|
-
static SegmentCredentials() {
|
|
214
|
+
static BlogLink() {
|
|
293
215
|
return Joi.object({
|
|
294
|
-
|
|
216
|
+
icon: Joi.string().allow(""),
|
|
217
|
+
link: Joi.string().allow(""),
|
|
218
|
+
title: Joi.string().allow(""),
|
|
295
219
|
});
|
|
296
220
|
}
|
|
297
|
-
|
|
298
|
-
static Gtm() {
|
|
221
|
+
static BusinessHighlights() {
|
|
299
222
|
return Joi.object({
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
223
|
+
_id: Joi.string().allow(""),
|
|
224
|
+
icon: Joi.string().allow(""),
|
|
225
|
+
sub_title: Joi.string().allow(""),
|
|
226
|
+
title: Joi.string().allow(""),
|
|
303
227
|
});
|
|
304
228
|
}
|
|
305
|
-
|
|
306
|
-
static GtmCredentials() {
|
|
229
|
+
static CartFeature() {
|
|
307
230
|
return Joi.object({
|
|
308
|
-
|
|
231
|
+
google_map: Joi.boolean(),
|
|
232
|
+
gst_input: Joi.boolean(),
|
|
233
|
+
placing_for_customer: Joi.boolean(),
|
|
234
|
+
revenue_engine_coupon: Joi.boolean(),
|
|
235
|
+
staff_selection: Joi.boolean(),
|
|
309
236
|
});
|
|
310
237
|
}
|
|
311
|
-
|
|
312
|
-
static Freshchat() {
|
|
238
|
+
static CommonFeature() {
|
|
313
239
|
return Joi.object({
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
240
|
+
communication_optin_dialog: ConfigurationModel.CommunicationOptinDialogFeature(),
|
|
241
|
+
compare_products: ConfigurationModel.CompareProductsFeature(),
|
|
242
|
+
currency: ConfigurationModel.CurrencyFeature(),
|
|
243
|
+
deployment_store_selection: ConfigurationModel.DeploymentStoreSelectionFeature(),
|
|
244
|
+
feedback: ConfigurationModel.FeedbackFeature(),
|
|
245
|
+
listing_price: ConfigurationModel.ListingPriceFeature(),
|
|
246
|
+
revenue_engine: ConfigurationModel.RevenueEngineFeature(),
|
|
247
|
+
reward_points: ConfigurationModel.RewardPointsConfig(),
|
|
317
248
|
});
|
|
318
249
|
}
|
|
319
|
-
|
|
320
|
-
static FreshchatCredentials() {
|
|
250
|
+
static CommunicationOptinDialogFeature() {
|
|
321
251
|
return Joi.object({
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
app_key: Joi.string().allow(""),
|
|
325
|
-
|
|
326
|
-
web_token: Joi.string().allow(""),
|
|
252
|
+
visibility: Joi.boolean(),
|
|
327
253
|
});
|
|
328
254
|
}
|
|
329
|
-
|
|
330
|
-
static Safetynet() {
|
|
255
|
+
static CompanyAboutAddress() {
|
|
331
256
|
return Joi.object({
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
257
|
+
address1: Joi.string().allow(""),
|
|
258
|
+
address2: Joi.string().allow(""),
|
|
259
|
+
address_type: Joi.string().allow(""),
|
|
260
|
+
city: Joi.string().allow(""),
|
|
261
|
+
country: Joi.string().allow(""),
|
|
262
|
+
pincode: Joi.number(),
|
|
263
|
+
state: Joi.string().allow(""),
|
|
335
264
|
});
|
|
336
265
|
}
|
|
337
|
-
|
|
338
|
-
static SafetynetCredentials() {
|
|
266
|
+
static CompanyInfo() {
|
|
339
267
|
return Joi.object({
|
|
340
|
-
|
|
268
|
+
_id: Joi.string().allow(""),
|
|
269
|
+
addresses: Joi.array().items(ConfigurationModel.CompanyAboutAddress()),
|
|
270
|
+
created_on: Joi.string().allow(""),
|
|
271
|
+
is_active: Joi.boolean(),
|
|
272
|
+
name: Joi.string().allow(""),
|
|
273
|
+
notification_emails: Joi.array().items(Joi.string().allow("")),
|
|
274
|
+
uid: Joi.number(),
|
|
341
275
|
});
|
|
342
276
|
}
|
|
343
|
-
|
|
344
|
-
static FyndRewards() {
|
|
277
|
+
static CompareProductsFeature() {
|
|
345
278
|
return Joi.object({
|
|
346
|
-
|
|
279
|
+
enabled: Joi.boolean(),
|
|
347
280
|
});
|
|
348
281
|
}
|
|
349
|
-
|
|
350
|
-
static FyndRewardsCredentials() {
|
|
282
|
+
static Credentials() {
|
|
351
283
|
return Joi.object({
|
|
352
|
-
|
|
284
|
+
android: ConfigurationModel.Android(),
|
|
285
|
+
api_key: Joi.string().allow(""),
|
|
286
|
+
application_id: Joi.string().allow(""),
|
|
287
|
+
gcm_sender_id: Joi.string().allow(""),
|
|
288
|
+
ios: ConfigurationModel.Ios(),
|
|
289
|
+
project_id: Joi.string().allow(""),
|
|
353
290
|
});
|
|
354
291
|
}
|
|
355
|
-
|
|
356
|
-
static GoogleMap() {
|
|
292
|
+
static Credit() {
|
|
357
293
|
return Joi.object({
|
|
358
|
-
|
|
294
|
+
enabled: Joi.boolean(),
|
|
359
295
|
});
|
|
360
296
|
}
|
|
361
|
-
|
|
362
|
-
static GoogleMapCredentials() {
|
|
297
|
+
static CurrenciesResponse() {
|
|
363
298
|
return Joi.object({
|
|
364
|
-
|
|
299
|
+
items: Joi.array().items(ConfigurationModel.Currency()),
|
|
365
300
|
});
|
|
366
301
|
}
|
|
367
|
-
|
|
368
|
-
static RewardPointsConfig() {
|
|
302
|
+
static Currency() {
|
|
369
303
|
return Joi.object({
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
304
|
+
_id: Joi.string().allow(""),
|
|
305
|
+
code: Joi.string().allow(""),
|
|
306
|
+
created_at: Joi.string().allow(""),
|
|
307
|
+
decimal_digits: Joi.number(),
|
|
308
|
+
is_active: Joi.boolean(),
|
|
309
|
+
name: Joi.string().allow(""),
|
|
310
|
+
symbol: Joi.string().allow(""),
|
|
311
|
+
updated_at: Joi.string().allow(""),
|
|
373
312
|
});
|
|
374
313
|
}
|
|
375
|
-
|
|
376
|
-
static Credit() {
|
|
314
|
+
static CurrencyFeature() {
|
|
377
315
|
return Joi.object({
|
|
378
|
-
|
|
316
|
+
default_currency: Joi.string().allow(""),
|
|
317
|
+
type: Joi.string().allow(""),
|
|
318
|
+
value: Joi.array().items(Joi.string().allow("")),
|
|
379
319
|
});
|
|
380
320
|
}
|
|
381
|
-
|
|
382
321
|
static Debit() {
|
|
383
322
|
return Joi.object({
|
|
384
|
-
enabled: Joi.boolean(),
|
|
385
|
-
|
|
386
323
|
auto_apply: Joi.boolean(),
|
|
387
|
-
|
|
324
|
+
enabled: Joi.boolean(),
|
|
388
325
|
strategy_channel: Joi.string().allow(""),
|
|
389
326
|
});
|
|
390
327
|
}
|
|
391
|
-
|
|
392
|
-
static ProductDetailFeature() {
|
|
393
|
-
return Joi.object({
|
|
394
|
-
similar: Joi.array().items(Joi.string().allow("")),
|
|
395
|
-
|
|
396
|
-
seller_selection: Joi.boolean(),
|
|
397
|
-
|
|
398
|
-
update_product_meta: Joi.boolean(),
|
|
399
|
-
|
|
400
|
-
request_product: Joi.boolean(),
|
|
401
|
-
});
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
static LaunchPage() {
|
|
328
|
+
static DefaultCurrency() {
|
|
405
329
|
return Joi.object({
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
params: Joi.any(),
|
|
409
|
-
|
|
410
|
-
query: Joi.any(),
|
|
330
|
+
code: Joi.string().allow(""),
|
|
331
|
+
ref: Joi.string().allow(""),
|
|
411
332
|
});
|
|
412
333
|
}
|
|
413
|
-
|
|
414
|
-
static LandingPageFeature() {
|
|
334
|
+
static DeploymentStoreSelectionFeature() {
|
|
415
335
|
return Joi.object({
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
continue_as_guest: Joi.boolean(),
|
|
419
|
-
|
|
420
|
-
login_btn_text: Joi.string().allow(""),
|
|
421
|
-
|
|
422
|
-
show_domain_textbox: Joi.boolean(),
|
|
423
|
-
|
|
424
|
-
show_register_btn: Joi.boolean(),
|
|
336
|
+
enabled: Joi.boolean(),
|
|
337
|
+
type: Joi.string().allow(""),
|
|
425
338
|
});
|
|
426
339
|
}
|
|
427
|
-
|
|
428
|
-
static RegistrationPageFeature() {
|
|
340
|
+
static Device() {
|
|
429
341
|
return Joi.object({
|
|
430
|
-
|
|
342
|
+
build: Joi.number(),
|
|
343
|
+
model: Joi.string().allow(""),
|
|
344
|
+
os: ConfigurationModel.OS().required(),
|
|
431
345
|
});
|
|
432
346
|
}
|
|
433
|
-
|
|
434
|
-
static AppFeature() {
|
|
347
|
+
static Domain() {
|
|
435
348
|
return Joi.object({
|
|
436
|
-
product_detail: ConfigurationModel.ProductDetailFeature(),
|
|
437
|
-
|
|
438
|
-
landing_page: ConfigurationModel.LandingPageFeature(),
|
|
439
|
-
|
|
440
|
-
registration_page: ConfigurationModel.RegistrationPageFeature(),
|
|
441
|
-
|
|
442
|
-
home_page: ConfigurationModel.HomePageFeature(),
|
|
443
|
-
|
|
444
|
-
common: ConfigurationModel.CommonFeature(),
|
|
445
|
-
|
|
446
|
-
cart: ConfigurationModel.CartFeature(),
|
|
447
|
-
|
|
448
|
-
qr: ConfigurationModel.QrFeature(),
|
|
449
|
-
|
|
450
|
-
pcr: ConfigurationModel.PcrFeature(),
|
|
451
|
-
|
|
452
|
-
order: ConfigurationModel.OrderFeature(),
|
|
453
|
-
|
|
454
349
|
_id: Joi.string().allow(""),
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
updated_at: Joi.string().allow(""),
|
|
461
|
-
|
|
462
|
-
__v: Joi.number(),
|
|
350
|
+
is_predefined: Joi.boolean(),
|
|
351
|
+
is_primary: Joi.boolean(),
|
|
352
|
+
is_shortlink: Joi.boolean(),
|
|
353
|
+
name: Joi.string().allow(""),
|
|
354
|
+
verified: Joi.boolean(),
|
|
463
355
|
});
|
|
464
356
|
}
|
|
465
|
-
|
|
466
|
-
static HomePageFeature() {
|
|
357
|
+
static FacebookLink() {
|
|
467
358
|
return Joi.object({
|
|
468
|
-
|
|
359
|
+
icon: Joi.string().allow(""),
|
|
360
|
+
link: Joi.string().allow(""),
|
|
361
|
+
title: Joi.string().allow(""),
|
|
469
362
|
});
|
|
470
363
|
}
|
|
471
|
-
|
|
472
|
-
static CommonFeature() {
|
|
364
|
+
static FeedbackFeature() {
|
|
473
365
|
return Joi.object({
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
deployment_store_selection: ConfigurationModel.DeploymentStoreSelectionFeature(),
|
|
477
|
-
|
|
478
|
-
listing_price: ConfigurationModel.ListingPriceFeature(),
|
|
479
|
-
|
|
480
|
-
currency: ConfigurationModel.CurrencyFeature(),
|
|
481
|
-
|
|
482
|
-
revenue_engine: ConfigurationModel.RevenueEngineFeature(),
|
|
483
|
-
|
|
484
|
-
feedback: ConfigurationModel.FeedbackFeature(),
|
|
485
|
-
|
|
486
|
-
compare_products: ConfigurationModel.CompareProductsFeature(),
|
|
487
|
-
|
|
488
|
-
reward_points: ConfigurationModel.RewardPointsConfig(),
|
|
366
|
+
enabled: Joi.boolean(),
|
|
489
367
|
});
|
|
490
368
|
}
|
|
491
|
-
|
|
492
|
-
static CommunicationOptinDialogFeature() {
|
|
369
|
+
static Firebase() {
|
|
493
370
|
return Joi.object({
|
|
494
|
-
|
|
371
|
+
credentials: ConfigurationModel.Credentials(),
|
|
372
|
+
enabled: Joi.boolean(),
|
|
495
373
|
});
|
|
496
374
|
}
|
|
497
|
-
|
|
498
|
-
static DeploymentStoreSelectionFeature() {
|
|
375
|
+
static Freshchat() {
|
|
499
376
|
return Joi.object({
|
|
377
|
+
credentials: ConfigurationModel.FreshchatCredentials(),
|
|
500
378
|
enabled: Joi.boolean(),
|
|
501
|
-
|
|
502
|
-
type: Joi.string().allow(""),
|
|
503
379
|
});
|
|
504
380
|
}
|
|
505
|
-
|
|
506
|
-
static ListingPriceFeature() {
|
|
381
|
+
static FreshchatCredentials() {
|
|
507
382
|
return Joi.object({
|
|
508
|
-
|
|
383
|
+
app_id: Joi.string().allow(""),
|
|
384
|
+
app_key: Joi.string().allow(""),
|
|
385
|
+
web_token: Joi.string().allow(""),
|
|
509
386
|
});
|
|
510
387
|
}
|
|
511
|
-
|
|
512
|
-
static CurrencyFeature() {
|
|
388
|
+
static FyndRewards() {
|
|
513
389
|
return Joi.object({
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
type: Joi.string().allow(""),
|
|
517
|
-
|
|
518
|
-
default_currency: Joi.string().allow(""),
|
|
390
|
+
credentials: ConfigurationModel.FyndRewardsCredentials(),
|
|
519
391
|
});
|
|
520
392
|
}
|
|
521
|
-
|
|
522
|
-
static RevenueEngineFeature() {
|
|
393
|
+
static FyndRewardsCredentials() {
|
|
523
394
|
return Joi.object({
|
|
524
|
-
|
|
395
|
+
public_key: Joi.string().allow(""),
|
|
525
396
|
});
|
|
526
397
|
}
|
|
527
|
-
|
|
528
|
-
static FeedbackFeature() {
|
|
398
|
+
static GoogleMap() {
|
|
529
399
|
return Joi.object({
|
|
530
|
-
|
|
400
|
+
credentials: ConfigurationModel.GoogleMapCredentials(),
|
|
531
401
|
});
|
|
532
402
|
}
|
|
533
|
-
|
|
534
|
-
static CompareProductsFeature() {
|
|
403
|
+
static GoogleMapCredentials() {
|
|
535
404
|
return Joi.object({
|
|
536
|
-
|
|
405
|
+
api_key: Joi.string().allow(""),
|
|
537
406
|
});
|
|
538
407
|
}
|
|
539
|
-
|
|
540
|
-
static CartFeature() {
|
|
408
|
+
static GooglePlusLink() {
|
|
541
409
|
return Joi.object({
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
placing_for_customer: Joi.boolean(),
|
|
547
|
-
|
|
548
|
-
google_map: Joi.boolean(),
|
|
549
|
-
|
|
550
|
-
revenue_engine_coupon: Joi.boolean(),
|
|
410
|
+
icon: Joi.string().allow(""),
|
|
411
|
+
link: Joi.string().allow(""),
|
|
412
|
+
title: Joi.string().allow(""),
|
|
551
413
|
});
|
|
552
414
|
}
|
|
553
|
-
|
|
554
|
-
static QrFeature() {
|
|
415
|
+
static Gtm() {
|
|
555
416
|
return Joi.object({
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
products: Joi.boolean(),
|
|
559
|
-
|
|
560
|
-
collections: Joi.boolean(),
|
|
417
|
+
credentials: ConfigurationModel.GtmCredentials(),
|
|
418
|
+
enabled: Joi.boolean(),
|
|
561
419
|
});
|
|
562
420
|
}
|
|
563
|
-
|
|
564
|
-
static PcrFeature() {
|
|
421
|
+
static GtmCredentials() {
|
|
565
422
|
return Joi.object({
|
|
566
|
-
|
|
423
|
+
api_key: Joi.string().allow(""),
|
|
567
424
|
});
|
|
568
425
|
}
|
|
569
|
-
|
|
570
|
-
static OrderFeature() {
|
|
426
|
+
static HomePageFeature() {
|
|
571
427
|
return Joi.object({
|
|
572
|
-
|
|
428
|
+
order_processing: Joi.boolean(),
|
|
573
429
|
});
|
|
574
430
|
}
|
|
575
|
-
|
|
576
|
-
static AppFeatureRequest() {
|
|
431
|
+
static InformationAddress() {
|
|
577
432
|
return Joi.object({
|
|
578
|
-
|
|
433
|
+
address_line: Joi.array().items(Joi.string().allow("")),
|
|
434
|
+
city: Joi.string().allow(""),
|
|
435
|
+
country: Joi.string().allow(""),
|
|
436
|
+
loc: Joi.string().allow(""),
|
|
437
|
+
phone: ConfigurationModel.InformationPhone(),
|
|
438
|
+
pincode: Joi.number(),
|
|
579
439
|
});
|
|
580
440
|
}
|
|
581
|
-
|
|
582
|
-
static AppFeatureResponse() {
|
|
441
|
+
static InformationPhone() {
|
|
583
442
|
return Joi.object({
|
|
584
|
-
|
|
443
|
+
code: Joi.string().allow(""),
|
|
444
|
+
number: Joi.string().allow(""),
|
|
585
445
|
});
|
|
586
446
|
}
|
|
587
|
-
|
|
588
|
-
static Currency() {
|
|
447
|
+
static InformationSupport() {
|
|
589
448
|
return Joi.object({
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
name: Joi.string().allow(""),
|
|
595
|
-
|
|
596
|
-
code: Joi.string().allow(""),
|
|
597
|
-
|
|
598
|
-
created_at: Joi.string().allow(""),
|
|
599
|
-
|
|
600
|
-
updated_at: Joi.string().allow(""),
|
|
601
|
-
|
|
602
|
-
decimal_digits: Joi.number(),
|
|
603
|
-
|
|
604
|
-
symbol: Joi.string().allow(""),
|
|
449
|
+
email: Joi.array().items(Joi.string().allow("")),
|
|
450
|
+
phone: Joi.array().items(Joi.string().allow("")),
|
|
451
|
+
timing: Joi.string().allow(""),
|
|
605
452
|
});
|
|
606
453
|
}
|
|
607
|
-
|
|
608
|
-
static Domain() {
|
|
454
|
+
static InstagramLink() {
|
|
609
455
|
return Joi.object({
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
is_shortlink: Joi.boolean(),
|
|
615
|
-
|
|
616
|
-
_id: Joi.string().allow(""),
|
|
617
|
-
|
|
618
|
-
name: Joi.string().allow(""),
|
|
619
|
-
|
|
620
|
-
is_predefined: Joi.boolean(),
|
|
456
|
+
icon: Joi.string().allow(""),
|
|
457
|
+
link: Joi.string().allow(""),
|
|
458
|
+
title: Joi.string().allow(""),
|
|
621
459
|
});
|
|
622
460
|
}
|
|
623
|
-
|
|
624
|
-
static ApplicationWebsite() {
|
|
461
|
+
static InvalidPayloadRequest() {
|
|
625
462
|
return Joi.object({
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
basepath: Joi.string().allow(""),
|
|
463
|
+
message: Joi.string().allow(""),
|
|
629
464
|
});
|
|
630
465
|
}
|
|
631
|
-
|
|
632
|
-
static ApplicationCors() {
|
|
466
|
+
static InventoryArticleAssignment() {
|
|
633
467
|
return Joi.object({
|
|
634
|
-
|
|
468
|
+
post_order_reassignment: Joi.boolean(),
|
|
469
|
+
rules: ConfigurationModel.ArticleAssignmentRule(),
|
|
635
470
|
});
|
|
636
471
|
}
|
|
637
|
-
|
|
638
|
-
static ApplicationAuth() {
|
|
472
|
+
static InventoryBrandRule() {
|
|
639
473
|
return Joi.object({
|
|
640
|
-
|
|
474
|
+
brands: Joi.array().items(Joi.number()),
|
|
475
|
+
criteria: Joi.string().allow(""),
|
|
641
476
|
});
|
|
642
477
|
}
|
|
643
|
-
|
|
644
|
-
static ApplicationRedirections() {
|
|
478
|
+
static InventoryPaymentConfig() {
|
|
645
479
|
return Joi.object({
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
redirect_to: Joi.string().allow(""),
|
|
649
|
-
|
|
650
|
-
type: Joi.string().allow(""),
|
|
480
|
+
mode_of_payment: Joi.string().allow(""),
|
|
481
|
+
source: Joi.string().allow(""),
|
|
651
482
|
});
|
|
652
483
|
}
|
|
653
|
-
|
|
654
|
-
static ApplicationMeta() {
|
|
484
|
+
static InventoryStoreRule() {
|
|
655
485
|
return Joi.object({
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
486
|
+
criteria: Joi.string().allow(""),
|
|
487
|
+
rules: Joi.array().items(ConfigurationModel.StoreCriteriaRule()),
|
|
488
|
+
stores: Joi.array().items(Joi.number()),
|
|
659
489
|
});
|
|
660
490
|
}
|
|
661
|
-
|
|
662
|
-
static SecureUrl() {
|
|
491
|
+
static Ios() {
|
|
663
492
|
return Joi.object({
|
|
664
|
-
|
|
493
|
+
api_key: Joi.string().allow(""),
|
|
494
|
+
application_id: Joi.string().allow(""),
|
|
665
495
|
});
|
|
666
496
|
}
|
|
667
|
-
|
|
668
|
-
static Application() {
|
|
497
|
+
static LandingPageFeature() {
|
|
669
498
|
return Joi.object({
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
cache_ttl: Joi.number(),
|
|
681
|
-
|
|
682
|
-
is_internal: Joi.boolean(),
|
|
683
|
-
|
|
684
|
-
is_active: Joi.boolean(),
|
|
685
|
-
|
|
686
|
-
_id: Joi.string().allow(""),
|
|
687
|
-
|
|
688
|
-
name: Joi.string().allow(""),
|
|
689
|
-
|
|
690
|
-
owner: Joi.string().allow(""),
|
|
691
|
-
|
|
692
|
-
company_id: Joi.number(),
|
|
693
|
-
|
|
694
|
-
token: Joi.string().allow(""),
|
|
695
|
-
|
|
696
|
-
redirections: Joi.array().items(
|
|
697
|
-
ConfigurationModel.ApplicationRedirections()
|
|
698
|
-
),
|
|
699
|
-
|
|
700
|
-
meta: Joi.array().items(ConfigurationModel.ApplicationMeta()),
|
|
701
|
-
|
|
702
|
-
created_at: Joi.string().allow(""),
|
|
703
|
-
|
|
704
|
-
updated_at: Joi.string().allow(""),
|
|
705
|
-
|
|
706
|
-
__v: Joi.number(),
|
|
707
|
-
|
|
708
|
-
banner: ConfigurationModel.SecureUrl(),
|
|
709
|
-
|
|
710
|
-
logo: ConfigurationModel.SecureUrl(),
|
|
711
|
-
|
|
712
|
-
favicon: ConfigurationModel.SecureUrl(),
|
|
713
|
-
|
|
714
|
-
domains: Joi.array().items(ConfigurationModel.Domain()),
|
|
715
|
-
|
|
716
|
-
app_type: Joi.string().allow(""),
|
|
717
|
-
|
|
718
|
-
mobile_logo: ConfigurationModel.SecureUrl(),
|
|
719
|
-
|
|
720
|
-
domain: ConfigurationModel.Domain(),
|
|
499
|
+
continue_as_guest: Joi.boolean(),
|
|
500
|
+
launch_page: ConfigurationModel.LaunchPage(),
|
|
501
|
+
login_btn_text: Joi.string().allow(""),
|
|
502
|
+
show_domain_textbox: Joi.boolean(),
|
|
503
|
+
show_register_btn: Joi.boolean(),
|
|
504
|
+
});
|
|
505
|
+
}
|
|
506
|
+
static LanguageResponse() {
|
|
507
|
+
return Joi.object({
|
|
508
|
+
items: Joi.array().items(ConfigurationModel.SupportedLanguage()),
|
|
721
509
|
});
|
|
722
510
|
}
|
|
723
|
-
|
|
724
|
-
static NotFound() {
|
|
511
|
+
static LaunchPage() {
|
|
725
512
|
return Joi.object({
|
|
726
|
-
|
|
513
|
+
page_type: Joi.string().allow(""),
|
|
514
|
+
params: Joi.any(),
|
|
515
|
+
query: Joi.any(),
|
|
727
516
|
});
|
|
728
517
|
}
|
|
729
|
-
|
|
730
|
-
static UnhandledError() {
|
|
518
|
+
static LinkedInLink() {
|
|
731
519
|
return Joi.object({
|
|
732
|
-
|
|
520
|
+
icon: Joi.string().allow(""),
|
|
521
|
+
link: Joi.string().allow(""),
|
|
522
|
+
title: Joi.string().allow(""),
|
|
733
523
|
});
|
|
734
524
|
}
|
|
735
|
-
|
|
736
|
-
static InvalidPayloadRequest() {
|
|
525
|
+
static Links() {
|
|
737
526
|
return Joi.object({
|
|
738
|
-
|
|
527
|
+
link: Joi.string().allow(""),
|
|
528
|
+
title: Joi.string().allow(""),
|
|
739
529
|
});
|
|
740
530
|
}
|
|
741
|
-
|
|
742
|
-
static SuccessMessageResponse() {
|
|
531
|
+
static ListingPriceFeature() {
|
|
743
532
|
return Joi.object({
|
|
744
|
-
|
|
533
|
+
value: Joi.string().allow(""),
|
|
745
534
|
});
|
|
746
535
|
}
|
|
747
|
-
|
|
748
|
-
static InventoryBrandRule() {
|
|
536
|
+
static Moengage() {
|
|
749
537
|
return Joi.object({
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
brands: Joi.array().items(Joi.number()),
|
|
538
|
+
credentials: ConfigurationModel.MoengageCredentials(),
|
|
539
|
+
enabled: Joi.boolean(),
|
|
753
540
|
});
|
|
754
541
|
}
|
|
755
|
-
|
|
756
|
-
static StoreCriteriaRule() {
|
|
542
|
+
static MoengageCredentials() {
|
|
757
543
|
return Joi.object({
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
brands: Joi.array().items(Joi.number()),
|
|
544
|
+
app_id: Joi.string().allow(""),
|
|
761
545
|
});
|
|
762
546
|
}
|
|
763
|
-
|
|
764
|
-
static InventoryStoreRule() {
|
|
547
|
+
static NotFound() {
|
|
765
548
|
return Joi.object({
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
rules: Joi.array().items(ConfigurationModel.StoreCriteriaRule()),
|
|
769
|
-
|
|
770
|
-
stores: Joi.array().items(Joi.number()),
|
|
549
|
+
message: Joi.string().allow(""),
|
|
771
550
|
});
|
|
772
551
|
}
|
|
773
|
-
|
|
774
|
-
static InventoryPaymentConfig() {
|
|
552
|
+
static OptedStoreAddress() {
|
|
775
553
|
return Joi.object({
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
554
|
+
address1: Joi.string().allow(""),
|
|
555
|
+
address2: Joi.string().allow(""),
|
|
556
|
+
city: Joi.string().allow(""),
|
|
557
|
+
country: Joi.string().allow(""),
|
|
558
|
+
lat_long: ConfigurationModel.StoreLatLong(),
|
|
559
|
+
pincode: Joi.number(),
|
|
560
|
+
state: Joi.string().allow(""),
|
|
779
561
|
});
|
|
780
562
|
}
|
|
781
|
-
|
|
782
|
-
|
|
563
|
+
static OrderFeature() {
|
|
564
|
+
return Joi.object({
|
|
565
|
+
buy_again: Joi.boolean(),
|
|
566
|
+
});
|
|
567
|
+
}
|
|
568
|
+
static OrderingStore() {
|
|
569
|
+
return Joi.object({
|
|
570
|
+
_id: Joi.string().allow(""),
|
|
571
|
+
address: ConfigurationModel.OptedStoreAddress(),
|
|
572
|
+
code: Joi.string().allow(""),
|
|
573
|
+
display_name: Joi.string().allow(""),
|
|
574
|
+
name: Joi.string().allow(""),
|
|
575
|
+
pincode: Joi.number(),
|
|
576
|
+
store_code: Joi.string().allow(""),
|
|
577
|
+
store_type: Joi.string().allow(""),
|
|
578
|
+
uid: Joi.number(),
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
static OrderingStores() {
|
|
783
582
|
return Joi.object({
|
|
583
|
+
__v: Joi.number(),
|
|
584
|
+
_id: Joi.string().allow(""),
|
|
585
|
+
all_stores: Joi.boolean(),
|
|
586
|
+
app: Joi.string().allow(""),
|
|
587
|
+
deployed_stores: Joi.array().items(Joi.number()),
|
|
784
588
|
enabled: Joi.boolean(),
|
|
785
|
-
|
|
786
|
-
|
|
589
|
+
items: Joi.array().items(ConfigurationModel.OrderingStore()),
|
|
590
|
+
page: ConfigurationModel.Page(),
|
|
591
|
+
type: Joi.string().allow(""),
|
|
787
592
|
});
|
|
788
593
|
}
|
|
789
|
-
|
|
790
|
-
static ArticleAssignmentRule() {
|
|
594
|
+
static OrderingStoreSelect() {
|
|
791
595
|
return Joi.object({
|
|
792
|
-
|
|
596
|
+
uid: Joi.number().required(),
|
|
793
597
|
});
|
|
794
598
|
}
|
|
795
|
-
|
|
796
|
-
static InventoryArticleAssignment() {
|
|
599
|
+
static OrderingStoreSelectRequest() {
|
|
797
600
|
return Joi.object({
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
rules: ConfigurationModel.ArticleAssignmentRule(),
|
|
601
|
+
ordering_store: ConfigurationModel.OrderingStoreSelect().required(),
|
|
801
602
|
});
|
|
802
603
|
}
|
|
803
|
-
|
|
804
|
-
static CompanyAboutAddress() {
|
|
604
|
+
static OrderingStoresResponse() {
|
|
805
605
|
return Joi.object({
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
address1: Joi.string().allow(""),
|
|
809
|
-
|
|
810
|
-
address2: Joi.string().allow(""),
|
|
811
|
-
|
|
812
|
-
city: Joi.string().allow(""),
|
|
813
|
-
|
|
814
|
-
state: Joi.string().allow(""),
|
|
815
|
-
|
|
816
|
-
country: Joi.string().allow(""),
|
|
817
|
-
|
|
818
|
-
address_type: Joi.string().allow(""),
|
|
606
|
+
items: Joi.array().items(ConfigurationModel.OrderingStore()),
|
|
607
|
+
page: ConfigurationModel.Page(),
|
|
819
608
|
});
|
|
820
609
|
}
|
|
821
|
-
|
|
822
|
-
static UserEmail() {
|
|
610
|
+
static OS() {
|
|
823
611
|
return Joi.object({
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
primary: Joi.boolean(),
|
|
827
|
-
|
|
828
|
-
verified: Joi.boolean(),
|
|
829
|
-
|
|
830
|
-
email: Joi.string().allow(""),
|
|
612
|
+
name: Joi.string().allow("").required(),
|
|
613
|
+
version: Joi.string().allow(""),
|
|
831
614
|
});
|
|
832
615
|
}
|
|
833
|
-
|
|
834
|
-
static UserPhoneNumber() {
|
|
616
|
+
static OwnerInfo() {
|
|
835
617
|
return Joi.object({
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
country_code: Joi.number(),
|
|
843
|
-
|
|
844
|
-
phone: Joi.string().allow(""),
|
|
618
|
+
_id: Joi.string().allow(""),
|
|
619
|
+
emails: Joi.array().items(ConfigurationModel.UserEmail()),
|
|
620
|
+
first_name: Joi.string().allow(""),
|
|
621
|
+
last_name: Joi.string().allow(""),
|
|
622
|
+
phone_numbers: Joi.array().items(ConfigurationModel.UserPhoneNumber()),
|
|
623
|
+
profile_pic: Joi.string().allow(""),
|
|
845
624
|
});
|
|
846
625
|
}
|
|
847
|
-
|
|
848
626
|
static Page() {
|
|
849
627
|
return Joi.object({
|
|
628
|
+
current: Joi.number(),
|
|
629
|
+
has_next: Joi.boolean(),
|
|
630
|
+
has_previous: Joi.boolean(),
|
|
850
631
|
item_total: Joi.number(),
|
|
851
|
-
|
|
852
632
|
next_id: Joi.string().allow(""),
|
|
853
|
-
|
|
854
|
-
has_previous: Joi.boolean(),
|
|
855
|
-
|
|
856
|
-
has_next: Joi.boolean(),
|
|
857
|
-
|
|
858
|
-
current: Joi.number(),
|
|
859
|
-
|
|
860
|
-
type: Joi.string().allow("").required(),
|
|
861
|
-
|
|
862
633
|
size: Joi.number(),
|
|
634
|
+
type: Joi.string().allow("").required(),
|
|
863
635
|
});
|
|
864
636
|
}
|
|
865
|
-
|
|
866
|
-
static ApplicationInformation() {
|
|
867
|
-
return Joi.object({
|
|
868
|
-
address: ConfigurationModel.InformationAddress(),
|
|
869
|
-
|
|
870
|
-
support: ConfigurationModel.InformationSupport(),
|
|
871
|
-
|
|
872
|
-
social_links: ConfigurationModel.SocialLinks(),
|
|
873
|
-
|
|
874
|
-
links: ConfigurationModel.Links(),
|
|
875
|
-
|
|
876
|
-
copyright_text: Joi.string().allow(""),
|
|
877
|
-
|
|
878
|
-
_id: Joi.string().allow(""),
|
|
879
|
-
|
|
880
|
-
business_highlights: ConfigurationModel.BusinessHighlights(),
|
|
881
|
-
|
|
882
|
-
application: Joi.string().allow(""),
|
|
883
|
-
|
|
884
|
-
created_at: Joi.string().allow(""),
|
|
885
|
-
|
|
886
|
-
updated_at: Joi.string().allow(""),
|
|
887
|
-
|
|
888
|
-
__v: Joi.number(),
|
|
889
|
-
});
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
static InformationAddress() {
|
|
637
|
+
static PcrFeature() {
|
|
893
638
|
return Joi.object({
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
address_line: Joi.array().items(Joi.string().allow("")),
|
|
897
|
-
|
|
898
|
-
phone: ConfigurationModel.InformationPhone(),
|
|
899
|
-
|
|
900
|
-
city: Joi.string().allow(""),
|
|
901
|
-
|
|
902
|
-
country: Joi.string().allow(""),
|
|
903
|
-
|
|
904
|
-
pincode: Joi.number(),
|
|
639
|
+
staff_selection: Joi.boolean(),
|
|
905
640
|
});
|
|
906
641
|
}
|
|
907
|
-
|
|
908
|
-
static InformationPhone() {
|
|
642
|
+
static PinterestLink() {
|
|
909
643
|
return Joi.object({
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
644
|
+
icon: Joi.string().allow(""),
|
|
645
|
+
link: Joi.string().allow(""),
|
|
646
|
+
title: Joi.string().allow(""),
|
|
913
647
|
});
|
|
914
648
|
}
|
|
915
|
-
|
|
916
|
-
static InformationSupport() {
|
|
649
|
+
static ProductDetailFeature() {
|
|
917
650
|
return Joi.object({
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
timing: Joi.string().allow(""),
|
|
651
|
+
request_product: Joi.boolean(),
|
|
652
|
+
seller_selection: Joi.boolean(),
|
|
653
|
+
similar: Joi.array().items(Joi.string().allow("")),
|
|
654
|
+
update_product_meta: Joi.boolean(),
|
|
923
655
|
});
|
|
924
656
|
}
|
|
925
|
-
|
|
926
|
-
static SocialLinks() {
|
|
657
|
+
static QrFeature() {
|
|
927
658
|
return Joi.object({
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
twitter: ConfigurationModel.TwitterLink(),
|
|
933
|
-
|
|
934
|
-
pinterest: ConfigurationModel.PinterestLink(),
|
|
935
|
-
|
|
936
|
-
google_plus: ConfigurationModel.GooglePlusLink(),
|
|
937
|
-
|
|
938
|
-
youtube: ConfigurationModel.YoutubeLink(),
|
|
939
|
-
|
|
940
|
-
linked_in: ConfigurationModel.LinkedInLink(),
|
|
941
|
-
|
|
942
|
-
vimeo: ConfigurationModel.VimeoLink(),
|
|
943
|
-
|
|
944
|
-
blog_link: ConfigurationModel.BlogLink(),
|
|
659
|
+
application: Joi.boolean(),
|
|
660
|
+
collections: Joi.boolean(),
|
|
661
|
+
products: Joi.boolean(),
|
|
945
662
|
});
|
|
946
663
|
}
|
|
947
|
-
|
|
948
|
-
static FacebookLink() {
|
|
664
|
+
static RegistrationPageFeature() {
|
|
949
665
|
return Joi.object({
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
icon: Joi.string().allow(""),
|
|
953
|
-
|
|
954
|
-
link: Joi.string().allow(""),
|
|
666
|
+
ask_store_address: Joi.boolean(),
|
|
955
667
|
});
|
|
956
668
|
}
|
|
957
|
-
|
|
958
|
-
static InstagramLink() {
|
|
669
|
+
static RevenueEngineFeature() {
|
|
959
670
|
return Joi.object({
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
icon: Joi.string().allow(""),
|
|
963
|
-
|
|
964
|
-
link: Joi.string().allow(""),
|
|
671
|
+
enabled: Joi.boolean(),
|
|
965
672
|
});
|
|
966
673
|
}
|
|
967
|
-
|
|
968
|
-
static TwitterLink() {
|
|
674
|
+
static RewardPointsConfig() {
|
|
969
675
|
return Joi.object({
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
icon: Joi.string().allow(""),
|
|
973
|
-
|
|
974
|
-
link: Joi.string().allow(""),
|
|
676
|
+
credit: ConfigurationModel.Credit(),
|
|
677
|
+
debit: ConfigurationModel.Debit(),
|
|
975
678
|
});
|
|
976
679
|
}
|
|
977
|
-
|
|
978
|
-
static PinterestLink() {
|
|
680
|
+
static Safetynet() {
|
|
979
681
|
return Joi.object({
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
icon: Joi.string().allow(""),
|
|
983
|
-
|
|
984
|
-
link: Joi.string().allow(""),
|
|
682
|
+
credentials: ConfigurationModel.SafetynetCredentials(),
|
|
683
|
+
enabled: Joi.boolean(),
|
|
985
684
|
});
|
|
986
685
|
}
|
|
987
|
-
|
|
988
|
-
static GooglePlusLink() {
|
|
686
|
+
static SafetynetCredentials() {
|
|
989
687
|
return Joi.object({
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
icon: Joi.string().allow(""),
|
|
993
|
-
|
|
994
|
-
link: Joi.string().allow(""),
|
|
688
|
+
api_key: Joi.string().allow(""),
|
|
995
689
|
});
|
|
996
690
|
}
|
|
997
|
-
|
|
998
|
-
static YoutubeLink() {
|
|
691
|
+
static SecureUrl() {
|
|
999
692
|
return Joi.object({
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
icon: Joi.string().allow(""),
|
|
1003
|
-
|
|
1004
|
-
link: Joi.string().allow(""),
|
|
693
|
+
secure_url: Joi.string().allow(""),
|
|
1005
694
|
});
|
|
1006
695
|
}
|
|
1007
|
-
|
|
1008
|
-
static LinkedInLink() {
|
|
696
|
+
static Segment() {
|
|
1009
697
|
return Joi.object({
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
icon: Joi.string().allow(""),
|
|
1013
|
-
|
|
1014
|
-
link: Joi.string().allow(""),
|
|
698
|
+
credentials: ConfigurationModel.SegmentCredentials(),
|
|
699
|
+
enabled: Joi.boolean(),
|
|
1015
700
|
});
|
|
1016
701
|
}
|
|
1017
|
-
|
|
1018
|
-
static VimeoLink() {
|
|
702
|
+
static SegmentCredentials() {
|
|
1019
703
|
return Joi.object({
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
icon: Joi.string().allow(""),
|
|
1023
|
-
|
|
1024
|
-
link: Joi.string().allow(""),
|
|
704
|
+
write_key: Joi.string().allow(""),
|
|
1025
705
|
});
|
|
1026
706
|
}
|
|
1027
|
-
|
|
1028
|
-
static BlogLink() {
|
|
707
|
+
static SocialLinks() {
|
|
1029
708
|
return Joi.object({
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
709
|
+
blog_link: ConfigurationModel.BlogLink(),
|
|
710
|
+
facebook: ConfigurationModel.FacebookLink(),
|
|
711
|
+
google_plus: ConfigurationModel.GooglePlusLink(),
|
|
712
|
+
instagram: ConfigurationModel.InstagramLink(),
|
|
713
|
+
linked_in: ConfigurationModel.LinkedInLink(),
|
|
714
|
+
pinterest: ConfigurationModel.PinterestLink(),
|
|
715
|
+
twitter: ConfigurationModel.TwitterLink(),
|
|
716
|
+
vimeo: ConfigurationModel.VimeoLink(),
|
|
717
|
+
youtube: ConfigurationModel.YoutubeLink(),
|
|
1035
718
|
});
|
|
1036
719
|
}
|
|
1037
|
-
|
|
1038
|
-
static Links() {
|
|
720
|
+
static StoreCriteriaRule() {
|
|
1039
721
|
return Joi.object({
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
link: Joi.string().allow(""),
|
|
722
|
+
brands: Joi.array().items(Joi.number()),
|
|
723
|
+
companies: Joi.array().items(Joi.number()),
|
|
1043
724
|
});
|
|
1044
725
|
}
|
|
1045
|
-
|
|
1046
|
-
static BusinessHighlights() {
|
|
726
|
+
static StoreLatLong() {
|
|
1047
727
|
return Joi.object({
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
title: Joi.string().allow(""),
|
|
1051
|
-
|
|
1052
|
-
icon: Joi.string().allow(""),
|
|
1053
|
-
|
|
1054
|
-
sub_title: Joi.string().allow(""),
|
|
728
|
+
coordinates: Joi.array().items(Joi.number()),
|
|
729
|
+
type: Joi.string().allow(""),
|
|
1055
730
|
});
|
|
1056
731
|
}
|
|
1057
|
-
|
|
1058
|
-
static ApplicationDetail() {
|
|
732
|
+
static StorePriorityRule() {
|
|
1059
733
|
return Joi.object({
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
description: Joi.string().allow("").required(),
|
|
1063
|
-
|
|
1064
|
-
logo: ConfigurationModel.SecureUrl().required(),
|
|
1065
|
-
|
|
1066
|
-
mobile_logo: ConfigurationModel.SecureUrl().required(),
|
|
1067
|
-
|
|
1068
|
-
favicon: ConfigurationModel.SecureUrl().required(),
|
|
1069
|
-
|
|
1070
|
-
banner: ConfigurationModel.SecureUrl().required(),
|
|
1071
|
-
|
|
1072
|
-
domain: ConfigurationModel.Domain(),
|
|
1073
|
-
|
|
1074
|
-
domains: Joi.array().items(ConfigurationModel.Domain()),
|
|
1075
|
-
|
|
1076
|
-
_id: Joi.string().allow(""),
|
|
734
|
+
enabled: Joi.boolean(),
|
|
735
|
+
storetype_order: Joi.array().items(Joi.string().allow("")),
|
|
1077
736
|
});
|
|
1078
737
|
}
|
|
1079
|
-
|
|
1080
|
-
static CurrenciesResponse() {
|
|
738
|
+
static SuccessMessageResponse() {
|
|
1081
739
|
return Joi.object({
|
|
1082
|
-
|
|
740
|
+
message: Joi.string().allow(""),
|
|
1083
741
|
});
|
|
1084
742
|
}
|
|
1085
|
-
|
|
1086
|
-
static DefaultCurrency() {
|
|
743
|
+
static SupportedLanguage() {
|
|
1087
744
|
return Joi.object({
|
|
1088
|
-
ref: Joi.string().allow(""),
|
|
1089
|
-
|
|
1090
745
|
code: Joi.string().allow(""),
|
|
746
|
+
name: Joi.string().allow(""),
|
|
1091
747
|
});
|
|
1092
748
|
}
|
|
1093
|
-
|
|
1094
|
-
static AppCurrencyResponse() {
|
|
749
|
+
static Tokens() {
|
|
1095
750
|
return Joi.object({
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
751
|
+
firebase: ConfigurationModel.Firebase(),
|
|
752
|
+
freshchat: ConfigurationModel.Freshchat(),
|
|
753
|
+
fynd_rewards: ConfigurationModel.FyndRewards(),
|
|
754
|
+
google_map: ConfigurationModel.GoogleMap(),
|
|
755
|
+
gtm: ConfigurationModel.Gtm(),
|
|
756
|
+
moengage: ConfigurationModel.Moengage(),
|
|
757
|
+
safetynet: ConfigurationModel.Safetynet(),
|
|
758
|
+
segment: ConfigurationModel.Segment(),
|
|
1101
759
|
});
|
|
1102
760
|
}
|
|
1103
|
-
|
|
1104
|
-
|
|
761
|
+
static TwitterLink() {
|
|
762
|
+
return Joi.object({
|
|
763
|
+
icon: Joi.string().allow(""),
|
|
764
|
+
link: Joi.string().allow(""),
|
|
765
|
+
title: Joi.string().allow(""),
|
|
766
|
+
});
|
|
767
|
+
}
|
|
768
|
+
static UnhandledError() {
|
|
769
|
+
return Joi.object({
|
|
770
|
+
message: Joi.string().allow(""),
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
static UpdateDialog() {
|
|
1105
774
|
return Joi.object({
|
|
775
|
+
interval: Joi.number(),
|
|
1106
776
|
type: Joi.string().allow(""),
|
|
1107
|
-
|
|
1108
|
-
coordinates: Joi.array().items(Joi.number()),
|
|
1109
777
|
});
|
|
1110
778
|
}
|
|
1111
|
-
|
|
1112
|
-
static OptedStoreAddress() {
|
|
779
|
+
static UserEmail() {
|
|
1113
780
|
return Joi.object({
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
lat_long: ConfigurationModel.StoreLatLong(),
|
|
1119
|
-
|
|
1120
|
-
address2: Joi.string().allow(""),
|
|
1121
|
-
|
|
1122
|
-
pincode: Joi.number(),
|
|
1123
|
-
|
|
1124
|
-
country: Joi.string().allow(""),
|
|
1125
|
-
|
|
1126
|
-
city: Joi.string().allow(""),
|
|
781
|
+
active: Joi.boolean(),
|
|
782
|
+
email: Joi.string().allow(""),
|
|
783
|
+
primary: Joi.boolean(),
|
|
784
|
+
verified: Joi.boolean(),
|
|
1127
785
|
});
|
|
1128
786
|
}
|
|
1129
|
-
|
|
1130
|
-
static OrderingStore() {
|
|
787
|
+
static UserPhoneNumber() {
|
|
1131
788
|
return Joi.object({
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
name: Joi.string().allow(""),
|
|
1139
|
-
|
|
1140
|
-
display_name: Joi.string().allow(""),
|
|
1141
|
-
|
|
1142
|
-
store_type: Joi.string().allow(""),
|
|
1143
|
-
|
|
1144
|
-
store_code: Joi.string().allow(""),
|
|
1145
|
-
|
|
1146
|
-
pincode: Joi.number(),
|
|
1147
|
-
|
|
1148
|
-
code: Joi.string().allow(""),
|
|
789
|
+
active: Joi.boolean(),
|
|
790
|
+
country_code: Joi.number(),
|
|
791
|
+
phone: Joi.string().allow(""),
|
|
792
|
+
primary: Joi.boolean(),
|
|
793
|
+
verified: Joi.boolean(),
|
|
1149
794
|
});
|
|
1150
795
|
}
|
|
1151
|
-
|
|
1152
|
-
static OrderingStores() {
|
|
796
|
+
static VimeoLink() {
|
|
1153
797
|
return Joi.object({
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
deployed_stores: Joi.array().items(Joi.number()),
|
|
1159
|
-
|
|
1160
|
-
all_stores: Joi.boolean(),
|
|
1161
|
-
|
|
1162
|
-
enabled: Joi.boolean(),
|
|
1163
|
-
|
|
1164
|
-
type: Joi.string().allow(""),
|
|
1165
|
-
|
|
1166
|
-
_id: Joi.string().allow(""),
|
|
1167
|
-
|
|
1168
|
-
app: Joi.string().allow(""),
|
|
1169
|
-
|
|
1170
|
-
__v: Joi.number(),
|
|
798
|
+
icon: Joi.string().allow(""),
|
|
799
|
+
link: Joi.string().allow(""),
|
|
800
|
+
title: Joi.string().allow(""),
|
|
1171
801
|
});
|
|
1172
802
|
}
|
|
1173
|
-
|
|
1174
|
-
static OrderingStoresResponse() {
|
|
803
|
+
static YoutubeLink() {
|
|
1175
804
|
return Joi.object({
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
805
|
+
icon: Joi.string().allow(""),
|
|
806
|
+
link: Joi.string().allow(""),
|
|
807
|
+
title: Joi.string().allow(""),
|
|
1179
808
|
});
|
|
1180
809
|
}
|
|
1181
810
|
}
|