@gofynd/fdk-client-javascript 1.4.2-beta.1 → 1.4.2-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +3 -2
- package/sdk/application/ApplicationClient.js +20 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +3 -5
- package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
- package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
- package/sdk/application/Cart/CartApplicationValidator.js +0 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
- package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
- package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
- package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
- package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
- package/sdk/application/Common/CommonApplicationModel.js +172 -172
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
- package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
- package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
- package/sdk/application/Content/ContentApplicationClient.js +0 -246
- package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
- package/sdk/application/Content/ContentApplicationModel.js +565 -817
- package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
- package/sdk/application/Content/ContentApplicationValidator.js +0 -41
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
- package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
- package/sdk/application/Lead/LeadApplicationModel.js +301 -301
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
- package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
- package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +8 -32
- package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
- package/sdk/application/Order/OrderApplicationModel.js +816 -824
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
- package/sdk/application/Order/OrderApplicationValidator.js +0 -8
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
- package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
- package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
- package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
- package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
- package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
- package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
- package/sdk/application/Share/ShareApplicationModel.js +121 -121
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
- package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
- package/sdk/application/User/UserApplicationClient.d.ts +0 -33
- package/sdk/application/User/UserApplicationClient.js +0 -239
- package/sdk/application/User/UserApplicationModel.d.ts +753 -768
- package/sdk/application/User/UserApplicationModel.js +731 -755
- package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
- package/sdk/application/User/UserApplicationValidator.js +0 -36
- package/sdk/common/Clickstream.d.ts +1 -0
- package/sdk/common/Clickstream.js +254 -0
- package/sdk/common/Utility.js +1 -4
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
- package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
- package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
- package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
- package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
- package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
- package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
- package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
- package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
- package/sdk/platform/Common/CommonPlatformModel.js +187 -187
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
- package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
- package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +174 -259
- package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
- package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
- package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
- package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
- package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
- package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
- package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
- package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
- package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +2 -4
- package/sdk/platform/PlatformClient.js +4 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
- package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +989 -1588
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +977 -1695
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
- package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
- package/sdk/platform/Share/SharePlatformModel.js +139 -139
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
- package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
- package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
- package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
- package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
- package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
- package/sdk/platform/User/UserPlatformModel.js +428 -679
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
- package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
- package/sdk/platform/index.d.ts +1 -1
- package/sdk/platform/index.js +2 -2
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
- package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
- package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
- package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
- package/sdk/public/Partner/PartnerPublicModel.js +113 -113
- package/sdk/public/PublicClient.d.ts +0 -4
- package/sdk/public/PublicClient.js +0 -8
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
- package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
- package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
- package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
- package/sdk/public/index.d.ts +0 -2
- package/sdk/public/index.js +0 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
- package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
- package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
- package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
- package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
- package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
- package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
- package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
- package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
- package/sdk/public/Billing/BillingPublicClient.js +0 -116
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
- package/sdk/public/Billing/BillingPublicModel.js +0 -96
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
- package/sdk/public/Billing/BillingPublicValidator.js +0 -19
- package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
- package/sdk/public/Content/ContentPublicClient.js +0 -114
- package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
- package/sdk/public/Content/ContentPublicModel.js +0 -60
- package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
- package/sdk/public/Content/ContentPublicValidator.js +0 -19
|
@@ -1,136 +1,152 @@
|
|
|
1
1
|
export = ThemePartnerModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
4
|
-
* @property {
|
|
5
|
-
* @property {
|
|
3
|
+
* @typedef AvailablePageSchema
|
|
4
|
+
* @property {string} [value]
|
|
5
|
+
* @property {string} [text]
|
|
6
|
+
* @property {string} [path]
|
|
6
7
|
* @property {string} [type]
|
|
8
|
+
* @property {AvailablePageSchemaSections[]} [sections]
|
|
9
|
+
* @property {AvailablePageSectionMetaAttributes[]} [sections_meta]
|
|
10
|
+
* @property {string} [theme]
|
|
11
|
+
* @property {AvailablePageSeo} [seo]
|
|
12
|
+
* @property {Object[]} [props]
|
|
13
|
+
* @property {string} [_id]
|
|
7
14
|
*/
|
|
8
15
|
/**
|
|
9
|
-
* @typedef
|
|
10
|
-
* @property {Object} [
|
|
11
|
-
* @property {Object} [query]
|
|
12
|
-
* @property {PageType} type
|
|
13
|
-
* @property {string} [url]
|
|
16
|
+
* @typedef AvailablePageSectionMetaAttributes
|
|
17
|
+
* @property {Object} [attributes]
|
|
14
18
|
*/
|
|
15
19
|
/**
|
|
16
|
-
* @typedef
|
|
17
|
-
* @property {
|
|
20
|
+
* @typedef AvailablePageSeo
|
|
21
|
+
* @property {string} [title]
|
|
22
|
+
* @property {string} [description]
|
|
23
|
+
* @property {string} [_id]
|
|
18
24
|
*/
|
|
19
25
|
/**
|
|
20
|
-
* @typedef
|
|
21
|
-
* @property {
|
|
22
|
-
* @property {
|
|
23
|
-
* @property {
|
|
26
|
+
* @typedef AvailablePageSchemaSections
|
|
27
|
+
* @property {string} [name]
|
|
28
|
+
* @property {string} [label]
|
|
29
|
+
* @property {Object} [props]
|
|
30
|
+
* @property {Object[]} [blocks]
|
|
31
|
+
* @property {Object} [preset]
|
|
32
|
+
* @property {AvailablePagePredicate} [predicate]
|
|
24
33
|
*/
|
|
25
34
|
/**
|
|
26
|
-
* @typedef
|
|
27
|
-
* @property {boolean} [
|
|
28
|
-
* @property {boolean} [
|
|
29
|
-
* @property {boolean} [
|
|
35
|
+
* @typedef AvailablePageScreenPredicate
|
|
36
|
+
* @property {boolean} [mobile]
|
|
37
|
+
* @property {boolean} [desktop]
|
|
38
|
+
* @property {boolean} [tablet]
|
|
30
39
|
*/
|
|
31
40
|
/**
|
|
32
|
-
* @typedef
|
|
33
|
-
* @property {
|
|
34
|
-
* @property {
|
|
35
|
-
* @property {AvailablePageSchedulePredicate} [schedule]
|
|
36
|
-
* @property {AvailablePageScreenPredicate} [screen]
|
|
37
|
-
* @property {AvailablePageUserPredicate} [user]
|
|
38
|
-
* @property {string[]} [zones] - An array of zone ids associated with the section
|
|
41
|
+
* @typedef AvailablePageUserPredicate
|
|
42
|
+
* @property {boolean} [authenticated]
|
|
43
|
+
* @property {boolean} [anonymous]
|
|
39
44
|
*/
|
|
40
45
|
/**
|
|
41
46
|
* @typedef AvailablePageRoutePredicate
|
|
47
|
+
* @property {string} [selected]
|
|
42
48
|
* @property {string} [exact_url]
|
|
43
49
|
* @property {Object} [query]
|
|
44
|
-
* @property {string} [selected]
|
|
45
50
|
*/
|
|
46
51
|
/**
|
|
47
|
-
* @typedef
|
|
48
|
-
* @property {
|
|
49
|
-
* @property {
|
|
50
|
-
* @property {
|
|
52
|
+
* @typedef AvailablePagePredicate
|
|
53
|
+
* @property {AvailablePageScreenPredicate} [screen]
|
|
54
|
+
* @property {AvailablePageUserPredicate} [user]
|
|
55
|
+
* @property {AvailablePageRoutePredicate} [route]
|
|
51
56
|
*/
|
|
52
57
|
/**
|
|
53
|
-
* @typedef
|
|
54
|
-
* @property {
|
|
55
|
-
* @property {
|
|
56
|
-
* @property {string} [path]
|
|
57
|
-
* @property {Object[]} [props]
|
|
58
|
-
* @property {AvailablePageSchemaSections[]} [sections]
|
|
59
|
-
* @property {AvailablePageSectionMetaAttributes[]} [sections_meta]
|
|
60
|
-
* @property {AvailablePageSeo} [seo]
|
|
61
|
-
* @property {string} [text]
|
|
62
|
-
* @property {string} [theme]
|
|
63
|
-
* @property {string} [type]
|
|
64
|
-
* @property {string} [updated_at] - The last update timestamp of the page
|
|
65
|
-
* @property {string} [value]
|
|
58
|
+
* @typedef MarketplaceThemeSchema
|
|
59
|
+
* @property {MarketplaceTheme[]} [themes]
|
|
60
|
+
* @property {PaginationSchema} [page]
|
|
66
61
|
*/
|
|
67
62
|
/**
|
|
68
|
-
* @typedef
|
|
69
|
-
* @property {
|
|
70
|
-
* @property {
|
|
71
|
-
* @property {
|
|
72
|
-
* @property {
|
|
73
|
-
* @property {
|
|
74
|
-
* @property {
|
|
75
|
-
* @property {string} [
|
|
63
|
+
* @typedef MarketplaceTheme
|
|
64
|
+
* @property {string} [_id] - Theme ID
|
|
65
|
+
* @property {PaymentInfo} [payment]
|
|
66
|
+
* @property {ContactInfo} [contact]
|
|
67
|
+
* @property {string[]} [industry] - Industries the theme is suitable for
|
|
68
|
+
* @property {boolean} [is_update] - Indicates if the theme is an update
|
|
69
|
+
* @property {boolean} [is_default] - Indicates if the theme is a default theme
|
|
70
|
+
* @property {string} [name] - Theme name
|
|
71
|
+
* @property {string} [tagline] - Theme tagline
|
|
72
|
+
* @property {string} [description] - Theme description
|
|
73
|
+
* @property {CatalogSize} [catalog_size]
|
|
74
|
+
* @property {MarketplaceThemeImages} [images]
|
|
75
|
+
* @property {CarouselItem[]} [carousel]
|
|
76
|
+
* @property {string} [src] - Theme source URL
|
|
77
|
+
* @property {ExploreInfo} [explore]
|
|
78
|
+
* @property {Feature[]} [features]
|
|
79
|
+
* @property {Highlight[]} [highlights]
|
|
80
|
+
* @property {Variation[]} [variations]
|
|
81
|
+
* @property {Documentation} [documentation]
|
|
82
|
+
* @property {string} [status] - Theme status
|
|
83
|
+
* @property {number} [step] - Theme step
|
|
84
|
+
* @property {Comments} [comments]
|
|
85
|
+
* @property {Release} [release]
|
|
86
|
+
* @property {string} [slug] - Theme slug
|
|
87
|
+
* @property {string} [organization_id] - Organization ID
|
|
88
|
+
* @property {string} [user_id] - User ID
|
|
89
|
+
* @property {string} [created_at] - Theme creation timestamp
|
|
90
|
+
* @property {string} [updated_at] - Theme update timestamp
|
|
91
|
+
* @property {string} [template_theme_id] - Template theme ID
|
|
76
92
|
*/
|
|
77
93
|
/**
|
|
78
|
-
* @typedef
|
|
79
|
-
* @property {boolean} [
|
|
80
|
-
* @property {
|
|
81
|
-
* @property {boolean} [tablet]
|
|
94
|
+
* @typedef PaymentInfo
|
|
95
|
+
* @property {boolean} [is_paid] - Indicates if the theme is paid
|
|
96
|
+
* @property {number} [amount] - Amount of payment
|
|
82
97
|
*/
|
|
83
98
|
/**
|
|
84
|
-
* @typedef
|
|
85
|
-
* @property {
|
|
99
|
+
* @typedef ContactInfo
|
|
100
|
+
* @property {string[]} [developer_contact] - Developer contact information
|
|
101
|
+
* @property {string} [seller_contact] - Seller contact information
|
|
86
102
|
*/
|
|
87
103
|
/**
|
|
88
|
-
* @typedef
|
|
89
|
-
* @property {
|
|
90
|
-
* @property {
|
|
91
|
-
* @property {string} [description]
|
|
92
|
-
* @property {SEOMetaItem[]} [meta_tags]
|
|
93
|
-
* @property {SEOSitemap} [sitemap]
|
|
94
|
-
* @property {string} [title]
|
|
104
|
+
* @typedef CatalogSize
|
|
105
|
+
* @property {number} [min] - Minimum catalog size
|
|
106
|
+
* @property {number} [max] - Maximum catalog size
|
|
95
107
|
*/
|
|
96
108
|
/**
|
|
97
|
-
* @typedef
|
|
98
|
-
* @property {
|
|
99
|
-
* @property {
|
|
109
|
+
* @typedef MarketplaceThemeImages
|
|
110
|
+
* @property {string} [desktop] - Desktop theme image URL
|
|
111
|
+
* @property {string} [mobile] - Mobile theme image URL
|
|
100
112
|
*/
|
|
101
113
|
/**
|
|
102
|
-
* @typedef
|
|
103
|
-
* @property {string} [
|
|
114
|
+
* @typedef CarouselItem
|
|
115
|
+
* @property {string} [desktop] - Desktop carousel image URL
|
|
116
|
+
* @property {string} [mobile] - Mobile carousel image URL
|
|
104
117
|
*/
|
|
105
118
|
/**
|
|
106
|
-
* @typedef
|
|
107
|
-
* @property {string} [
|
|
119
|
+
* @typedef ExploreInfo
|
|
120
|
+
* @property {string} [title] - Explore feature title
|
|
121
|
+
* @property {string} [description] - Explore feature description
|
|
108
122
|
*/
|
|
109
123
|
/**
|
|
110
|
-
* @typedef
|
|
111
|
-
* @property {string} [
|
|
112
|
-
* @property {
|
|
113
|
-
* @property {string} [type] - The type of the block.
|
|
124
|
+
* @typedef Feature
|
|
125
|
+
* @property {string} [category] - Feature category
|
|
126
|
+
* @property {FeatureItem[]} [list]
|
|
114
127
|
*/
|
|
115
128
|
/**
|
|
116
|
-
* @typedef
|
|
117
|
-
* @property {
|
|
118
|
-
* @property {
|
|
129
|
+
* @typedef FeatureItem
|
|
130
|
+
* @property {string} [label] - Feature label
|
|
131
|
+
* @property {string} [description] - Feature description
|
|
119
132
|
*/
|
|
120
133
|
/**
|
|
121
|
-
* @typedef
|
|
122
|
-
* @property {string} [
|
|
123
|
-
* @property {string} [
|
|
134
|
+
* @typedef Highlight
|
|
135
|
+
* @property {string} [title] - Highlight title
|
|
136
|
+
* @property {string} [description] - Highlight description
|
|
137
|
+
* @property {string} [image] - Highlight image URL
|
|
124
138
|
*/
|
|
125
139
|
/**
|
|
126
|
-
* @typedef
|
|
127
|
-
* @property {
|
|
128
|
-
* @property {
|
|
140
|
+
* @typedef Variation
|
|
141
|
+
* @property {string} [name] - Variation name
|
|
142
|
+
* @property {string} [color] - Variation color
|
|
143
|
+
* @property {string} [demo_url] - Variation demo URL
|
|
144
|
+
* @property {MarketplaceThemeImages} [images]
|
|
129
145
|
*/
|
|
130
146
|
/**
|
|
131
|
-
* @typedef
|
|
132
|
-
* @property {string} [
|
|
133
|
-
* @property {
|
|
147
|
+
* @typedef Documentation
|
|
148
|
+
* @property {string} [notes] - Documentation notes
|
|
149
|
+
* @property {string} [url] - Documentation URL
|
|
134
150
|
*/
|
|
135
151
|
/**
|
|
136
152
|
* @typedef Comments
|
|
@@ -138,37 +154,91 @@ export = ThemePartnerModel;
|
|
|
138
154
|
* @property {string} [reviewer_feedback] - Reviewer feedback
|
|
139
155
|
*/
|
|
140
156
|
/**
|
|
141
|
-
* @typedef
|
|
142
|
-
* @property {string}
|
|
157
|
+
* @typedef ThemeRejectionReasons
|
|
158
|
+
* @property {string} _id - The ID of the theme rejection reasons object
|
|
159
|
+
* @property {string} [message] - A general message about the rejection reasons
|
|
160
|
+
* @property {string} theme_id - The ID of the rejected theme
|
|
161
|
+
* @property {string} organization_id - The ID of the organization
|
|
162
|
+
* @property {string} admin_id - The ID of the admin who rejected the theme
|
|
163
|
+
* @property {string} user_id - The ID of the user who submitted the theme
|
|
164
|
+
* @property {string} status - The status of the theme (e.g., rejected)
|
|
165
|
+
* @property {Object} rejection_reasons
|
|
166
|
+
* @property {string} [created_at] - The date and time when the theme rejection
|
|
167
|
+
* reasons object was created
|
|
168
|
+
* @property {string} [updated_at] - The date and time when the theme rejection
|
|
169
|
+
* reasons object was last updated
|
|
143
170
|
*/
|
|
144
171
|
/**
|
|
145
|
-
* @typedef
|
|
146
|
-
* @property {
|
|
147
|
-
* @property {GlobalSchema} [global_schema]
|
|
148
|
-
* @property {ThemeConfiguration[]} list - A list of configurations
|
|
149
|
-
* @property {Preset} [preset]
|
|
172
|
+
* @typedef AllAvailablePageSchema
|
|
173
|
+
* @property {AvailablePageSchema[]} [pages]
|
|
150
174
|
*/
|
|
151
175
|
/**
|
|
152
|
-
* @typedef
|
|
153
|
-
* @property {
|
|
154
|
-
* @property {
|
|
176
|
+
* @typedef PaginationSchema
|
|
177
|
+
* @property {number} [size]
|
|
178
|
+
* @property {number} [item_total]
|
|
179
|
+
* @property {boolean} [has_next]
|
|
180
|
+
* @property {string} [type]
|
|
181
|
+
* @property {number} [current]
|
|
182
|
+
*/
|
|
183
|
+
/**
|
|
184
|
+
* @typedef BlitzkriegApiErrorSchema
|
|
185
|
+
* @property {string} [message]
|
|
186
|
+
*/
|
|
187
|
+
/**
|
|
188
|
+
* @typedef BlitzkriegInternalServerErrorSchema
|
|
189
|
+
* @property {string} [message]
|
|
190
|
+
*/
|
|
191
|
+
/**
|
|
192
|
+
* @typedef ThemesSchema
|
|
193
|
+
* @property {Font} [font]
|
|
194
|
+
* @property {Config} [config]
|
|
195
|
+
* @property {boolean} [applied] - Whether the theme has been applied or not
|
|
196
|
+
* @property {boolean} [is_private] - Whether the theme is private or not
|
|
197
|
+
* @property {string[]} [tags] - An array of tags associated with the theme
|
|
198
|
+
* @property {string} [_id] - The unique identifier of the theme
|
|
199
|
+
* @property {string} [application_id] - The ID of the application
|
|
200
|
+
* @property {string} [marketplace_theme_id] - The ID of the theme in the marketplace
|
|
201
|
+
* @property {Meta} [meta]
|
|
202
|
+
* @property {string} [name] - The name of the theme
|
|
203
|
+
* @property {string} [template_theme_id] - The ID of the template theme
|
|
204
|
+
* @property {string} [version] - The version of the theme
|
|
205
|
+
* @property {Object} [styles] - The styles associated with the theme
|
|
206
|
+
* @property {string} [created_at] - The creation timestamp of the theme
|
|
207
|
+
* @property {string} [updated_at] - The last update timestamp of the theme
|
|
208
|
+
* @property {Assets} [assets]
|
|
209
|
+
* @property {SectionItem[]} [available_sections] - Available sections information
|
|
155
210
|
*/
|
|
156
211
|
/**
|
|
157
|
-
* @typedef
|
|
158
|
-
* @property {
|
|
159
|
-
* @property {string}
|
|
212
|
+
* @typedef Font
|
|
213
|
+
* @property {FontVariants} variants
|
|
214
|
+
* @property {string} family - The font family
|
|
215
|
+
*/
|
|
216
|
+
/**
|
|
217
|
+
* @typedef FontVariants
|
|
218
|
+
* @property {FontVariant} [light]
|
|
219
|
+
* @property {FontVariant} [regular]
|
|
220
|
+
* @property {FontVariant} [medium]
|
|
221
|
+
* @property {FontVariant} [semi_bold]
|
|
222
|
+
* @property {FontVariant} [bold]
|
|
223
|
+
*/
|
|
224
|
+
/**
|
|
225
|
+
* @typedef FontVariant
|
|
226
|
+
* @property {string} name - The name of the font variant
|
|
227
|
+
* @property {string} file - The URL of the font file
|
|
228
|
+
*/
|
|
229
|
+
/**
|
|
230
|
+
* @typedef Config
|
|
231
|
+
* @property {string} current - The current configuration
|
|
232
|
+
* @property {ThemeConfiguration[]} list - A list of configurations
|
|
160
233
|
* @property {GlobalSchema} [global_schema]
|
|
161
|
-
* @property {ThemeConfiguration[]} [list] - A list of configurations
|
|
162
|
-
* @property {string} name - The name of the theme
|
|
163
|
-
* @property {Page[]} [pages]
|
|
164
234
|
* @property {Preset} [preset]
|
|
165
|
-
* @property {string} theme_type - Type of the Theme
|
|
166
|
-
* @property {string} version - The version of the theme
|
|
167
235
|
*/
|
|
168
236
|
/**
|
|
169
|
-
* @typedef
|
|
170
|
-
* @property {string} [
|
|
171
|
-
* @property {
|
|
237
|
+
* @typedef ThemeConfiguration
|
|
238
|
+
* @property {string} [name] - The name of the configuration
|
|
239
|
+
* @property {GlobalConfig} [global_config]
|
|
240
|
+
* @property {CustomConfig} [custom]
|
|
241
|
+
* @property {string[]} [page] - An array of pages
|
|
172
242
|
*/
|
|
173
243
|
/**
|
|
174
244
|
* @typedef CustomConfig
|
|
@@ -176,622 +246,598 @@ export = ThemePartnerModel;
|
|
|
176
246
|
*/
|
|
177
247
|
/**
|
|
178
248
|
* @typedef CustomProps
|
|
179
|
-
* @property {string} [button_add_to_cart_color] - The add to cart button color
|
|
180
|
-
* @property {string} [button_add_to_cart_label_color] - The add to cart button
|
|
181
|
-
* label color
|
|
182
|
-
* @property {string} [button_primary_color] - The primary button color
|
|
183
|
-
* @property {string} [button_primary_label_color] - The primary button label color
|
|
184
|
-
* @property {string} [button_secondary_color] - The secondary button color
|
|
185
|
-
* @property {string} [button_secondary_label_color] - The secondary button label color
|
|
186
|
-
* @property {string} [button_tertiary_color] - The tertiary button color
|
|
187
|
-
* @property {string} [button_tertiary_hover_color] - The tertiary button hover color
|
|
188
|
-
* @property {string} [button_tertiary_hover_text_color] - The tertiary button
|
|
189
|
-
* hover text color
|
|
190
|
-
* @property {string} [button_tertiary_label_color] - The tertiary button label color
|
|
191
|
-
* @property {boolean} [disable_cart] - Whether to disable the cart or not
|
|
192
|
-
* @property {string} [footer_bg_color] - The footer background color
|
|
193
|
-
* @property {string} [footer_border_color] - The footer border color
|
|
194
|
-
* @property {string} [footer_nav_hover_color] - The footer navigation hover color
|
|
195
|
-
* @property {string} [footer_text_color] - The footer text color
|
|
196
249
|
* @property {string} [header_bg_color] - The header background color
|
|
250
|
+
* @property {string} [header_text_color] - The header text color
|
|
197
251
|
* @property {string} [header_border_color] - The header border color
|
|
252
|
+
* @property {string} [header_icon_color] - The header icon color
|
|
198
253
|
* @property {string} [header_cart_notification_bg_color] - The header cart
|
|
199
254
|
* notification background color
|
|
200
255
|
* @property {string} [header_cart_notification_text_color] - The header cart
|
|
201
256
|
* notification text color
|
|
202
|
-
* @property {string} [header_icon_color] - The header icon color
|
|
203
257
|
* @property {string} [header_nav_hover_color] - The header navigation hover color
|
|
204
|
-
* @property {string} [
|
|
205
|
-
* @property {
|
|
206
|
-
* @property {string} [
|
|
207
|
-
* @property {string} [
|
|
208
|
-
*
|
|
258
|
+
* @property {string} [button_primary_color] - The primary button color
|
|
259
|
+
* @property {string} [button_primary_label_color] - The primary button label color
|
|
260
|
+
* @property {string} [button_add_to_cart_color] - The add to cart button color
|
|
261
|
+
* @property {string} [button_add_to_cart_label_color] - The add to cart button
|
|
262
|
+
* label color
|
|
263
|
+
* @property {string} [button_secondary_color] - The secondary button color
|
|
264
|
+
* @property {string} [button_secondary_label_color] - The secondary button label color
|
|
265
|
+
* @property {string} [button_tertiary_color] - The tertiary button color
|
|
266
|
+
* @property {string} [button_tertiary_label_color] - The tertiary button label color
|
|
267
|
+
* @property {string} [button_tertiary_hover_color] - The tertiary button hover color
|
|
268
|
+
* @property {string} [button_tertiary_hover_text_color] - The tertiary button
|
|
269
|
+
* hover text color
|
|
209
270
|
* @property {string} [text_heading_link_color] - The text heading link color
|
|
271
|
+
* @property {string} [text_body_color] - The text body color
|
|
210
272
|
* @property {string} [text_price_color] - The text price color
|
|
211
273
|
* @property {string} [text_sale_price_color] - The text sale price color
|
|
212
274
|
* @property {string} [text_strikethrough_price_color] - The text strikethrough
|
|
213
275
|
* price color
|
|
276
|
+
* @property {string} [text_discount_color] - The text discount color
|
|
277
|
+
* @property {string} [footer_bg_color] - The footer background color
|
|
278
|
+
* @property {string} [footer_text_color] - The footer text color
|
|
279
|
+
* @property {string} [footer_border_color] - The footer border color
|
|
280
|
+
* @property {string} [footer_nav_hover_color] - The footer navigation hover color
|
|
281
|
+
* @property {boolean} [disable_cart] - Whether to disable the cart or not
|
|
282
|
+
* @property {boolean} [is_menu_below_logo] - Whether the menu is below the logo or not
|
|
283
|
+
* @property {string} [menu_position] - The position of the menu
|
|
214
284
|
*/
|
|
215
285
|
/**
|
|
216
|
-
* @typedef
|
|
217
|
-
* @property {
|
|
218
|
-
* @property {
|
|
286
|
+
* @typedef GlobalConfig
|
|
287
|
+
* @property {StaticConfig} [statics]
|
|
288
|
+
* @property {AuthConfig} [auth]
|
|
289
|
+
* @property {PaletteConfig} [palette]
|
|
219
290
|
*/
|
|
220
291
|
/**
|
|
221
|
-
* @typedef
|
|
222
|
-
* @property {
|
|
223
|
-
* @property {
|
|
292
|
+
* @typedef PaletteConfig
|
|
293
|
+
* @property {GeneralSetting} [general_setting]
|
|
294
|
+
* @property {AdvanceSetting} [advance_setting]
|
|
224
295
|
*/
|
|
225
296
|
/**
|
|
226
|
-
* @typedef
|
|
227
|
-
* @property {
|
|
228
|
-
* @property {
|
|
297
|
+
* @typedef GeneralSetting
|
|
298
|
+
* @property {ThemeSetting} [theme]
|
|
299
|
+
* @property {TextSetting} [text]
|
|
300
|
+
* @property {ButtonSetting} [button]
|
|
301
|
+
* @property {SaleDiscountSetting} [sale_discount]
|
|
302
|
+
* @property {HeaderSetting} [header]
|
|
303
|
+
* @property {FooterSetting} [footer]
|
|
229
304
|
*/
|
|
230
305
|
/**
|
|
231
|
-
* @typedef
|
|
232
|
-
* @property {
|
|
233
|
-
* @property {
|
|
306
|
+
* @typedef AdvanceSetting
|
|
307
|
+
* @property {OverlayPopupSetting} [overlay_popup]
|
|
308
|
+
* @property {DividerStrokeHighlightSetting} [divider_stroke_highlight]
|
|
309
|
+
* @property {UserAlertsSetting} [user_alerts]
|
|
234
310
|
*/
|
|
235
311
|
/**
|
|
236
|
-
* @typedef
|
|
237
|
-
* @property {string} [
|
|
238
|
-
* @property {string} [
|
|
312
|
+
* @typedef UserAlertsSetting
|
|
313
|
+
* @property {string} [success_background] - The success background color
|
|
314
|
+
* @property {string} [success_text] - The success text color
|
|
315
|
+
* @property {string} [error_background] - The error background color
|
|
316
|
+
* @property {string} [error_text] - The error text color
|
|
317
|
+
* @property {string} [info_background] - The info background color
|
|
318
|
+
* @property {string} [info_text] - The info text color
|
|
239
319
|
*/
|
|
240
320
|
/**
|
|
241
|
-
* @typedef
|
|
242
|
-
* @property {string}
|
|
243
|
-
* @property {
|
|
321
|
+
* @typedef ThemeSetting
|
|
322
|
+
* @property {string} [page_background] - The page background color
|
|
323
|
+
* @property {string} [theme_accent] - The theme accent color
|
|
244
324
|
*/
|
|
245
325
|
/**
|
|
246
|
-
* @typedef
|
|
247
|
-
* @property {string}
|
|
248
|
-
* @property {string}
|
|
326
|
+
* @typedef TextSetting
|
|
327
|
+
* @property {string} [text_heading] - The text heading color
|
|
328
|
+
* @property {string} [text_body] - The text body color
|
|
329
|
+
* @property {string} [text_label] - The text label color
|
|
330
|
+
* @property {string} [text_secondary] - The secondary text color
|
|
249
331
|
*/
|
|
250
332
|
/**
|
|
251
|
-
* @typedef
|
|
252
|
-
* @property {
|
|
253
|
-
* @property {
|
|
254
|
-
* @property {
|
|
255
|
-
* @property {FontVariant} [regular]
|
|
256
|
-
* @property {FontVariant} [semi_bold]
|
|
333
|
+
* @typedef ButtonSetting
|
|
334
|
+
* @property {string} [button_primary] - The primary button color
|
|
335
|
+
* @property {string} [button_secondary] - The secondary button color
|
|
336
|
+
* @property {string} [button_link] - The button link color
|
|
257
337
|
*/
|
|
258
338
|
/**
|
|
259
|
-
* @typedef
|
|
260
|
-
* @property {
|
|
339
|
+
* @typedef SaleDiscountSetting
|
|
340
|
+
* @property {string} [sale_badge_background] - The sale badge background color
|
|
341
|
+
* @property {string} [sale_badge_text] - The sale badge text color
|
|
342
|
+
* @property {string} [sale_discount_text] - The sale discount text color
|
|
343
|
+
* @property {string} [sale_timer] - The sale timer color
|
|
261
344
|
*/
|
|
262
345
|
/**
|
|
263
|
-
* @typedef
|
|
264
|
-
* @property {string} [
|
|
265
|
-
* @property {string} [
|
|
266
|
-
* @property {string} [
|
|
346
|
+
* @typedef HeaderSetting
|
|
347
|
+
* @property {string} [header_background] - The header background color
|
|
348
|
+
* @property {string} [header_nav] - The header navigation color
|
|
349
|
+
* @property {string} [header_icon] - The header icon color
|
|
267
350
|
*/
|
|
268
351
|
/**
|
|
269
|
-
* @typedef
|
|
270
|
-
* @property {string} [
|
|
271
|
-
* @property {string} [
|
|
352
|
+
* @typedef FooterSetting
|
|
353
|
+
* @property {string} [footer_background] - The footer background color
|
|
354
|
+
* @property {string} [footer_bottom_background] - The footer bottom background color
|
|
355
|
+
* @property {string} [footer_heading_text] - The footer heading text color
|
|
356
|
+
* @property {string} [footer_body_text] - The footer body text color
|
|
357
|
+
* @property {string} [footer_icon] - The footer icon color
|
|
272
358
|
*/
|
|
273
359
|
/**
|
|
274
|
-
* @typedef
|
|
275
|
-
* @property {string} [
|
|
276
|
-
* @property {string} [
|
|
360
|
+
* @typedef OverlayPopupSetting
|
|
361
|
+
* @property {string} [dialog_backgroung] - The dialog background color
|
|
362
|
+
* @property {string} [overlay] - The overlay color
|
|
277
363
|
*/
|
|
278
364
|
/**
|
|
279
|
-
* @typedef
|
|
280
|
-
* @property {string} [
|
|
281
|
-
* @property {
|
|
282
|
-
* @property {CatalogSize} [catalog_size]
|
|
283
|
-
* @property {Comments} [comments]
|
|
284
|
-
* @property {ContactInfo} [contact]
|
|
285
|
-
* @property {string} [created_at] - Theme creation timestamp
|
|
286
|
-
* @property {string} [description] - Theme description
|
|
287
|
-
* @property {Documentation} [documentation]
|
|
288
|
-
* @property {ExploreInfo} [explore]
|
|
289
|
-
* @property {Feature[]} [features]
|
|
290
|
-
* @property {Highlight[]} [highlights]
|
|
291
|
-
* @property {MarketplaceThemeImages} [images]
|
|
292
|
-
* @property {string[]} [industry] - Industries the theme is suitable for
|
|
293
|
-
* @property {boolean} [is_default] - Indicates if the theme is a default theme
|
|
294
|
-
* @property {boolean} [is_update] - Indicates if the theme is an update
|
|
295
|
-
* @property {string} [name] - Theme name
|
|
296
|
-
* @property {string} [organization_id] - Organization ID
|
|
297
|
-
* @property {PaymentInfo} [payment]
|
|
298
|
-
* @property {Release} [release]
|
|
299
|
-
* @property {string} [slug] - Theme slug
|
|
300
|
-
* @property {string} [src] - Theme source URL
|
|
301
|
-
* @property {string} [status] - Theme status
|
|
302
|
-
* @property {number} [step] - Theme step
|
|
303
|
-
* @property {string} [tagline] - Theme tagline
|
|
304
|
-
* @property {string} [template_theme_id] - Template theme ID
|
|
305
|
-
* @property {string} [updated_at] - Theme update timestamp
|
|
306
|
-
* @property {string} [user_id] - User ID
|
|
307
|
-
* @property {Variation[]} [variations]
|
|
365
|
+
* @typedef DividerStrokeHighlightSetting
|
|
366
|
+
* @property {string} [divider_strokes] - The divider strokes color
|
|
367
|
+
* @property {string} [highlight] - The highlight color
|
|
308
368
|
*/
|
|
309
369
|
/**
|
|
310
|
-
* @typedef
|
|
311
|
-
* @property {
|
|
312
|
-
* @property {string} [mobile] - Mobile theme image URL
|
|
370
|
+
* @typedef StaticConfig
|
|
371
|
+
* @property {StaticProps} [props]
|
|
313
372
|
*/
|
|
314
373
|
/**
|
|
315
|
-
* @typedef
|
|
316
|
-
* @property {
|
|
317
|
-
* @property {
|
|
374
|
+
* @typedef StaticProps
|
|
375
|
+
* @property {Colors} [colors]
|
|
376
|
+
* @property {AuthConfig} [auth]
|
|
318
377
|
*/
|
|
319
378
|
/**
|
|
320
|
-
* @typedef
|
|
321
|
-
* @property {boolean} [
|
|
322
|
-
* @property {boolean} [
|
|
379
|
+
* @typedef AuthConfig
|
|
380
|
+
* @property {boolean} [show_header_auth] - Whether to show header authentication or not
|
|
381
|
+
* @property {boolean} [show_footer_auth] - Whether to show footer authentication or not
|
|
323
382
|
*/
|
|
324
383
|
/**
|
|
325
|
-
* @typedef
|
|
326
|
-
* @property {string} [
|
|
327
|
-
* @property {string} [
|
|
384
|
+
* @typedef Colors
|
|
385
|
+
* @property {string} [primary_color] - The primary color
|
|
386
|
+
* @property {string} [secondary_color] - The secondary color
|
|
387
|
+
* @property {string} [accent_color] - The accent color
|
|
388
|
+
* @property {string} [link_color] - The link color
|
|
389
|
+
* @property {string} [button_secondary_color] - The secondary button color
|
|
390
|
+
* @property {string} [bg_color] - The background color
|
|
328
391
|
*/
|
|
329
392
|
/**
|
|
330
|
-
* @typedef
|
|
331
|
-
* @property {
|
|
332
|
-
* @property {
|
|
333
|
-
* @property {
|
|
334
|
-
* @property {
|
|
335
|
-
* @property {
|
|
336
|
-
* @property {
|
|
337
|
-
* @property {string}
|
|
393
|
+
* @typedef Meta
|
|
394
|
+
* @property {ThemePayment} [payment]
|
|
395
|
+
* @property {string} [description] - The description of the theme
|
|
396
|
+
* @property {string[]} [industry] - An array of industries associated with the theme
|
|
397
|
+
* @property {Release} [release]
|
|
398
|
+
* @property {Images} [images]
|
|
399
|
+
* @property {string} [slug] - The slug of the theme
|
|
400
|
+
* @property {string} [name] - The name of the theme
|
|
338
401
|
*/
|
|
339
402
|
/**
|
|
340
|
-
* @typedef
|
|
341
|
-
* @property {
|
|
342
|
-
* @property {
|
|
343
|
-
* @property {number} [item_total]
|
|
344
|
-
* @property {number} [size]
|
|
345
|
-
* @property {string} [type]
|
|
403
|
+
* @typedef ThemePayment
|
|
404
|
+
* @property {boolean} [is_paid] - Whether the theme is paid or not
|
|
405
|
+
* @property {number} [amount] - The amount of the theme
|
|
346
406
|
*/
|
|
347
407
|
/**
|
|
348
|
-
* @typedef
|
|
349
|
-
* @property {
|
|
350
|
-
* @property {
|
|
408
|
+
* @typedef Release
|
|
409
|
+
* @property {string} [notes] - The release notes of the theme
|
|
410
|
+
* @property {string} [version] - The version of the theme
|
|
351
411
|
*/
|
|
352
412
|
/**
|
|
353
|
-
* @typedef
|
|
354
|
-
* @property {
|
|
355
|
-
* @property {
|
|
356
|
-
* @property {ThemeUserSchema} [user]
|
|
413
|
+
* @typedef Images
|
|
414
|
+
* @property {string} [desktop] - The URL of the desktop image
|
|
415
|
+
* @property {string} [mobile] - The URL of the mobile image
|
|
357
416
|
*/
|
|
358
417
|
/**
|
|
359
|
-
* @typedef
|
|
360
|
-
* @property {
|
|
418
|
+
* @typedef Assets
|
|
419
|
+
* @property {UMDJs} [umd_js]
|
|
420
|
+
* @property {CommonJS} [common_js]
|
|
421
|
+
* @property {CSS} [css]
|
|
361
422
|
*/
|
|
362
423
|
/**
|
|
363
|
-
* @typedef
|
|
364
|
-
* @property {string} [
|
|
365
|
-
* @property {string} [id] - The ID of the property
|
|
366
|
-
* @property {string} [info] - Additional information about the property
|
|
367
|
-
* @property {string} [label] - The label of the property
|
|
368
|
-
* @property {string} [type] - The type of the property
|
|
369
|
-
* @property {string} [value] - The value of the property
|
|
424
|
+
* @typedef UMDJs
|
|
425
|
+
* @property {string[]} [links]
|
|
370
426
|
*/
|
|
371
427
|
/**
|
|
372
|
-
* @typedef
|
|
373
|
-
* @property {string} [
|
|
374
|
-
* @property {number} [value] - The value of the range property.
|
|
428
|
+
* @typedef CommonJS
|
|
429
|
+
* @property {string} [link]
|
|
375
430
|
*/
|
|
376
431
|
/**
|
|
377
|
-
* @typedef
|
|
378
|
-
* @property {string} [
|
|
379
|
-
* @property {string} [version] - The version of the theme
|
|
432
|
+
* @typedef CSS
|
|
433
|
+
* @property {string[]} [links]
|
|
380
434
|
*/
|
|
381
435
|
/**
|
|
382
|
-
* @typedef
|
|
383
|
-
* @property {
|
|
384
|
-
* @property {
|
|
436
|
+
* @typedef SectionItem
|
|
437
|
+
* @property {Object[]} [props]
|
|
438
|
+
* @property {Object[]} [blocks] - Blocks
|
|
439
|
+
* @property {string} [name] - Name of the section
|
|
440
|
+
* @property {string} [label] - Label for the section
|
|
385
441
|
*/
|
|
386
442
|
/**
|
|
387
|
-
* @typedef
|
|
388
|
-
* @property {
|
|
389
|
-
* @property {boolean} [mobile] - True if the screen is a mobile device.
|
|
390
|
-
* @property {boolean} [tablet] - True if the screen is a tablet device.
|
|
443
|
+
* @typedef GlobalSchema
|
|
444
|
+
* @property {Prop[]} [props]
|
|
391
445
|
*/
|
|
392
446
|
/**
|
|
393
|
-
* @typedef
|
|
394
|
-
* @property {
|
|
395
|
-
* @property {string} [
|
|
396
|
-
* @property {
|
|
397
|
-
* @property {
|
|
398
|
-
* @property {
|
|
447
|
+
* @typedef Prop
|
|
448
|
+
* @property {string} [type] - The type of the property
|
|
449
|
+
* @property {string} [category] - The category of the property
|
|
450
|
+
* @property {string} [id] - The ID of the property
|
|
451
|
+
* @property {string} [label] - The label of the property
|
|
452
|
+
* @property {string} [info] - Additional information about the property
|
|
399
453
|
*/
|
|
400
454
|
/**
|
|
401
|
-
* @typedef
|
|
402
|
-
* @property {
|
|
403
|
-
* @property {string} [label] - Label for the section
|
|
404
|
-
* @property {string} [name] - Name of the section
|
|
405
|
-
* @property {Object[]} [props]
|
|
455
|
+
* @typedef Preset
|
|
456
|
+
* @property {Page[]} [pages]
|
|
406
457
|
*/
|
|
407
458
|
/**
|
|
408
|
-
* @typedef
|
|
409
|
-
* @property {
|
|
459
|
+
* @typedef Page
|
|
460
|
+
* @property {number} [item_total]
|
|
461
|
+
* @property {string} [next_id]
|
|
462
|
+
* @property {boolean} [has_previous]
|
|
463
|
+
* @property {boolean} [has_next]
|
|
464
|
+
* @property {number} [current]
|
|
465
|
+
* @property {string} type
|
|
466
|
+
* @property {number} [size]
|
|
410
467
|
*/
|
|
411
468
|
/**
|
|
412
469
|
* @typedef SectionProps
|
|
413
|
-
* @property {
|
|
470
|
+
* @property {TextProp} [title]
|
|
414
471
|
* @property {TextProp} [item_margin]
|
|
472
|
+
* @property {CheckboxProp} [autoplay]
|
|
415
473
|
* @property {RangeProp} [slide_interval]
|
|
416
|
-
* @property {TextProp} [title]
|
|
417
474
|
*/
|
|
418
475
|
/**
|
|
419
|
-
* @typedef
|
|
420
|
-
* @property {
|
|
421
|
-
* @property {string} [url]
|
|
476
|
+
* @typedef SectionPreset
|
|
477
|
+
* @property {Block[]} [blocks]
|
|
422
478
|
*/
|
|
423
479
|
/**
|
|
424
|
-
* @typedef
|
|
425
|
-
* @property {
|
|
426
|
-
* @property {string} [
|
|
480
|
+
* @typedef ImagePickerProp
|
|
481
|
+
* @property {string} [type] - The type of the property.
|
|
482
|
+
* @property {string} [value] - The value of the image picker property.
|
|
427
483
|
*/
|
|
428
484
|
/**
|
|
429
|
-
* @typedef
|
|
430
|
-
* @property {string} [
|
|
431
|
-
* @property {string} [value]
|
|
485
|
+
* @typedef UrlProp
|
|
486
|
+
* @property {string} [type] - The type of the property.
|
|
487
|
+
* @property {string} [value] - The value of the URL property.
|
|
432
488
|
*/
|
|
433
489
|
/**
|
|
434
|
-
* @typedef
|
|
435
|
-
* @property {
|
|
436
|
-
* @property {
|
|
490
|
+
* @typedef BlockProps
|
|
491
|
+
* @property {ImagePickerProp} [image]
|
|
492
|
+
* @property {UrlProp} [slide_link]
|
|
437
493
|
*/
|
|
438
494
|
/**
|
|
439
495
|
* @typedef TextProp
|
|
440
|
-
* @property {string} [type] - The type of the property.
|
|
441
496
|
* @property {string} [value] - The value of the text property.
|
|
497
|
+
* @property {string} [type] - The type of the property.
|
|
442
498
|
*/
|
|
443
499
|
/**
|
|
444
|
-
* @typedef
|
|
445
|
-
* @property {
|
|
446
|
-
* @property {
|
|
500
|
+
* @typedef CheckboxProp
|
|
501
|
+
* @property {boolean} [value] - The value of the checkbox property.
|
|
502
|
+
* @property {string} [type] - The type of the property.
|
|
447
503
|
*/
|
|
448
504
|
/**
|
|
449
|
-
* @typedef
|
|
450
|
-
* @property {
|
|
505
|
+
* @typedef RangeProp
|
|
506
|
+
* @property {number} [value] - The value of the range property.
|
|
507
|
+
* @property {string} [type] - The type of the property.
|
|
451
508
|
*/
|
|
452
509
|
/**
|
|
453
|
-
* @typedef
|
|
454
|
-
* @property {
|
|
455
|
-
* @property {
|
|
456
|
-
* @property {
|
|
510
|
+
* @typedef Section
|
|
511
|
+
* @property {Block[]} [blocks]
|
|
512
|
+
* @property {Predicate} [predicate]
|
|
513
|
+
* @property {string} [name] - The name of the section.
|
|
514
|
+
* @property {SectionProps} [props]
|
|
515
|
+
* @property {SectionPreset} [preset]
|
|
457
516
|
*/
|
|
458
517
|
/**
|
|
459
|
-
* @typedef
|
|
460
|
-
* @property {string} [
|
|
461
|
-
* @property {
|
|
462
|
-
* @property {
|
|
463
|
-
* @property {string} [name] - The name of the theme
|
|
464
|
-
* @property {ThemePayment} [payment]
|
|
465
|
-
* @property {Release} [release]
|
|
466
|
-
* @property {string} [slug] - The slug of the theme
|
|
467
|
-
*/
|
|
468
|
-
/**
|
|
469
|
-
* @typedef ThemePayment
|
|
470
|
-
* @property {number} [amount] - The amount of the theme
|
|
471
|
-
* @property {boolean} [is_paid] - Whether the theme is paid or not
|
|
518
|
+
* @typedef Block
|
|
519
|
+
* @property {string} [type] - The type of the block.
|
|
520
|
+
* @property {string} [name] - The name of the block.
|
|
521
|
+
* @property {BlockProps} [props]
|
|
472
522
|
*/
|
|
473
523
|
/**
|
|
474
|
-
* @typedef
|
|
475
|
-
* @property {
|
|
476
|
-
* @property {
|
|
477
|
-
* @property {
|
|
478
|
-
* reasons object was created
|
|
479
|
-
* @property {string} [message] - A general message about the rejection reasons
|
|
480
|
-
* @property {string} organization_id - The ID of the organization
|
|
481
|
-
* @property {Object} rejection_reasons
|
|
482
|
-
* @property {string} status - The status of the theme (e.g., rejected)
|
|
483
|
-
* @property {string} theme_id - The ID of the rejected theme
|
|
484
|
-
* @property {string} [updated_at] - The date and time when the theme rejection
|
|
485
|
-
* reasons object was last updated
|
|
486
|
-
* @property {string} user_id - The ID of the user who submitted the theme
|
|
524
|
+
* @typedef Predicate
|
|
525
|
+
* @property {Screen} [screen]
|
|
526
|
+
* @property {ThemeUserSchema} [user]
|
|
527
|
+
* @property {Route} [route]
|
|
487
528
|
*/
|
|
488
529
|
/**
|
|
489
|
-
* @typedef
|
|
490
|
-
* @property {
|
|
491
|
-
* @property {
|
|
492
|
-
* @property {boolean} [
|
|
493
|
-
* @property {Assets} [assets]
|
|
494
|
-
* @property {SectionItem[]} [available_sections] - Available sections information
|
|
495
|
-
* @property {number} [company_id] - The company id in which sales channel exists
|
|
496
|
-
* @property {Config} [config]
|
|
497
|
-
* @property {string} [created_at] - The creation timestamp of the theme
|
|
498
|
-
* @property {Font} [font]
|
|
499
|
-
* @property {boolean} [is_private] - Whether the theme is private or not
|
|
500
|
-
* @property {string} [marketplace_theme_id] - The ID of the theme in the marketplace
|
|
501
|
-
* @property {ThemeMeta} [meta]
|
|
502
|
-
* @property {string} [name] - The name of the theme
|
|
503
|
-
* @property {string} [src]
|
|
504
|
-
* @property {Object} [styles] - The styles associated with the theme
|
|
505
|
-
* @property {string[]} [tags] - An array of tags associated with the theme
|
|
506
|
-
* @property {string} [template_theme_id] - The ID of the template theme
|
|
507
|
-
* @property {string} [theme_type]
|
|
508
|
-
* @property {string} [updated_at] - The last update timestamp of the theme
|
|
509
|
-
* @property {string} [version] - The version of the theme
|
|
530
|
+
* @typedef Screen
|
|
531
|
+
* @property {boolean} [mobile] - True if the screen is a mobile device.
|
|
532
|
+
* @property {boolean} [desktop] - True if the screen is a desktop device.
|
|
533
|
+
* @property {boolean} [tablet] - True if the screen is a tablet device.
|
|
510
534
|
*/
|
|
511
535
|
/**
|
|
512
536
|
* @typedef ThemeUserSchema
|
|
513
|
-
* @property {boolean} [anonymous] - True if the user is anonymous.
|
|
514
537
|
* @property {boolean} [authenticated] - True if the user is authenticated.
|
|
538
|
+
* @property {boolean} [anonymous] - True if the user is anonymous.
|
|
515
539
|
*/
|
|
516
540
|
/**
|
|
517
|
-
* @typedef
|
|
518
|
-
* @property {string} [
|
|
519
|
-
* @property {string
|
|
541
|
+
* @typedef Route
|
|
542
|
+
* @property {string} [selected] - The selected route.
|
|
543
|
+
* @property {string} [exact_url] - The exact URL of the route.
|
|
520
544
|
*/
|
|
521
545
|
/**
|
|
522
546
|
* @typedef UpdateThemeRequestBody
|
|
523
547
|
* @property {Config} [config]
|
|
524
548
|
* @property {Font} [font]
|
|
525
549
|
*/
|
|
526
|
-
/**
|
|
527
|
-
* @typedef UrlProp
|
|
528
|
-
* @property {string} [type] - The type of the property.
|
|
529
|
-
* @property {string} [value] - The value of the URL property.
|
|
530
|
-
*/
|
|
531
|
-
/**
|
|
532
|
-
* @typedef UserAlerts
|
|
533
|
-
* @property {string} [error_background]
|
|
534
|
-
* @property {string} [error_text]
|
|
535
|
-
* @property {string} [info_background]
|
|
536
|
-
* @property {string} [info_text]
|
|
537
|
-
* @property {string} [success_background]
|
|
538
|
-
* @property {string} [success_text]
|
|
539
|
-
*/
|
|
540
|
-
/**
|
|
541
|
-
* @typedef Variation
|
|
542
|
-
* @property {string} [color] - Variation color
|
|
543
|
-
* @property {string} [demo_url] - Variation demo URL
|
|
544
|
-
* @property {MarketplaceThemeImages} [images]
|
|
545
|
-
* @property {string} [name] - Variation name
|
|
546
|
-
*/
|
|
547
|
-
/**
|
|
548
|
-
* @typedef {| "about-us"
|
|
549
|
-
* | "addresses"
|
|
550
|
-
* | "blog"
|
|
551
|
-
* | "brands"
|
|
552
|
-
* | "cards"
|
|
553
|
-
* | "cart"
|
|
554
|
-
* | "categories"
|
|
555
|
-
* | "brand"
|
|
556
|
-
* | "category"
|
|
557
|
-
* | "collection"
|
|
558
|
-
* | "collections"
|
|
559
|
-
* | "contact-us"
|
|
560
|
-
* | "external"
|
|
561
|
-
* | "faq"
|
|
562
|
-
* | "freshchat"
|
|
563
|
-
* | "home"
|
|
564
|
-
* | "notification-settings"
|
|
565
|
-
* | "orders"
|
|
566
|
-
* | "page"
|
|
567
|
-
* | "policy"
|
|
568
|
-
* | "product"
|
|
569
|
-
* | "product-request"
|
|
570
|
-
* | "products"
|
|
571
|
-
* | "profile"
|
|
572
|
-
* | "profile-order-shipment"
|
|
573
|
-
* | "profile-basic"
|
|
574
|
-
* | "profile-company"
|
|
575
|
-
* | "profile-emails"
|
|
576
|
-
* | "profile-phones"
|
|
577
|
-
* | "rate-us"
|
|
578
|
-
* | "refer-earn"
|
|
579
|
-
* | "settings"
|
|
580
|
-
* | "shared-cart"
|
|
581
|
-
* | "tnc"
|
|
582
|
-
* | "track-order"
|
|
583
|
-
* | "wishlist"
|
|
584
|
-
* | "sections"
|
|
585
|
-
* | "form"
|
|
586
|
-
* | "cart-delivery"
|
|
587
|
-
* | "cart-payment"
|
|
588
|
-
* | "cart-review"
|
|
589
|
-
* | "login"
|
|
590
|
-
* | "register"
|
|
591
|
-
* | "shipping-policy"
|
|
592
|
-
* | "return-policy"
|
|
593
|
-
* | "order-status"} PageType
|
|
594
|
-
*/
|
|
595
550
|
declare class ThemePartnerModel {
|
|
596
551
|
}
|
|
597
552
|
declare namespace ThemePartnerModel {
|
|
598
|
-
export {
|
|
553
|
+
export { AvailablePageSchema, AvailablePageSectionMetaAttributes, AvailablePageSeo, AvailablePageSchemaSections, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePagePredicate, MarketplaceThemeSchema, MarketplaceTheme, PaymentInfo, ContactInfo, CatalogSize, MarketplaceThemeImages, CarouselItem, ExploreInfo, Feature, FeatureItem, Highlight, Variation, Documentation, Comments, ThemeRejectionReasons, AllAvailablePageSchema, PaginationSchema, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, ThemesSchema, Font, FontVariants, FontVariant, Config, ThemeConfiguration, CustomConfig, CustomProps, GlobalConfig, PaletteConfig, GeneralSetting, AdvanceSetting, UserAlertsSetting, ThemeSetting, TextSetting, ButtonSetting, SaleDiscountSetting, HeaderSetting, FooterSetting, OverlayPopupSetting, DividerStrokeHighlightSetting, StaticConfig, StaticProps, AuthConfig, Colors, Meta, ThemePayment, Release, Images, Assets, UMDJs, CommonJS, CSS, SectionItem, GlobalSchema, Prop, Preset, Page, SectionProps, SectionPreset, ImagePickerProp, UrlProp, BlockProps, TextProp, CheckboxProp, RangeProp, Section, Block, Predicate, Screen, ThemeUserSchema, Route, UpdateThemeRequestBody };
|
|
599
554
|
}
|
|
600
|
-
/** @returns {Action} */
|
|
601
|
-
declare function Action(): Action;
|
|
602
|
-
type Action = {
|
|
603
|
-
page?: ActionPage;
|
|
604
|
-
popup?: ActionPage;
|
|
605
|
-
type?: string;
|
|
606
|
-
};
|
|
607
|
-
/** @returns {ActionPage} */
|
|
608
|
-
declare function ActionPage(): ActionPage;
|
|
609
|
-
type ActionPage = {
|
|
610
|
-
params?: any;
|
|
611
|
-
query?: any;
|
|
612
|
-
type: PageType;
|
|
613
|
-
url?: string;
|
|
614
|
-
};
|
|
615
|
-
/** @returns {AllAvailablePageSchema} */
|
|
616
|
-
declare function AllAvailablePageSchema(): AllAvailablePageSchema;
|
|
617
|
-
type AllAvailablePageSchema = {
|
|
618
|
-
pages?: AvailablePageSchema[];
|
|
619
|
-
};
|
|
620
|
-
/** @returns {Assets} */
|
|
621
|
-
declare function Assets(): Assets;
|
|
622
|
-
type Assets = {
|
|
623
|
-
common_js?: CommonJS;
|
|
624
|
-
css?: CSS;
|
|
625
|
-
umd_js?: UMDJs;
|
|
626
|
-
};
|
|
627
|
-
/** @returns {AvailablePagePlatformPredicate} */
|
|
628
|
-
declare function AvailablePagePlatformPredicate(): AvailablePagePlatformPredicate;
|
|
629
|
-
type AvailablePagePlatformPredicate = {
|
|
630
|
-
/**
|
|
631
|
-
* - Section visibility on android platform
|
|
632
|
-
*/
|
|
633
|
-
android?: boolean;
|
|
634
|
-
/**
|
|
635
|
-
* - Section visibility on ios platform
|
|
636
|
-
*/
|
|
637
|
-
ios?: boolean;
|
|
638
|
-
/**
|
|
639
|
-
* - Section visibility on web platform
|
|
640
|
-
*/
|
|
641
|
-
web?: boolean;
|
|
642
|
-
};
|
|
643
|
-
/** @returns {AvailablePagePredicate} */
|
|
644
|
-
declare function AvailablePagePredicate(): AvailablePagePredicate;
|
|
645
|
-
type AvailablePagePredicate = {
|
|
646
|
-
platform?: AvailablePagePlatformPredicate;
|
|
647
|
-
route?: AvailablePageRoutePredicate;
|
|
648
|
-
schedule?: AvailablePageSchedulePredicate;
|
|
649
|
-
screen?: AvailablePageScreenPredicate;
|
|
650
|
-
user?: AvailablePageUserPredicate;
|
|
651
|
-
/**
|
|
652
|
-
* - An array of zone ids associated with the section
|
|
653
|
-
*/
|
|
654
|
-
zones?: string[];
|
|
655
|
-
};
|
|
656
|
-
/** @returns {AvailablePageRoutePredicate} */
|
|
657
|
-
declare function AvailablePageRoutePredicate(): AvailablePageRoutePredicate;
|
|
658
|
-
type AvailablePageRoutePredicate = {
|
|
659
|
-
exact_url?: string;
|
|
660
|
-
query?: any;
|
|
661
|
-
selected?: string;
|
|
662
|
-
};
|
|
663
|
-
/** @returns {AvailablePageSchedulePredicate} */
|
|
664
|
-
declare function AvailablePageSchedulePredicate(): AvailablePageSchedulePredicate;
|
|
665
|
-
type AvailablePageSchedulePredicate = {
|
|
666
|
-
cron?: string;
|
|
667
|
-
end?: string;
|
|
668
|
-
start?: string;
|
|
669
|
-
};
|
|
670
555
|
/** @returns {AvailablePageSchema} */
|
|
671
556
|
declare function AvailablePageSchema(): AvailablePageSchema;
|
|
672
557
|
type AvailablePageSchema = {
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
* - The creation timestamp of the page
|
|
676
|
-
*/
|
|
677
|
-
created_at?: string;
|
|
558
|
+
value?: string;
|
|
559
|
+
text?: string;
|
|
678
560
|
path?: string;
|
|
679
|
-
|
|
561
|
+
type?: string;
|
|
680
562
|
sections?: AvailablePageSchemaSections[];
|
|
681
563
|
sections_meta?: AvailablePageSectionMetaAttributes[];
|
|
682
|
-
seo?: AvailablePageSeo;
|
|
683
|
-
text?: string;
|
|
684
564
|
theme?: string;
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
565
|
+
seo?: AvailablePageSeo;
|
|
566
|
+
props?: any[];
|
|
567
|
+
_id?: string;
|
|
568
|
+
};
|
|
569
|
+
/** @returns {AvailablePageSectionMetaAttributes} */
|
|
570
|
+
declare function AvailablePageSectionMetaAttributes(): AvailablePageSectionMetaAttributes;
|
|
571
|
+
type AvailablePageSectionMetaAttributes = {
|
|
572
|
+
attributes?: any;
|
|
573
|
+
};
|
|
574
|
+
/** @returns {AvailablePageSeo} */
|
|
575
|
+
declare function AvailablePageSeo(): AvailablePageSeo;
|
|
576
|
+
type AvailablePageSeo = {
|
|
577
|
+
title?: string;
|
|
578
|
+
description?: string;
|
|
579
|
+
_id?: string;
|
|
691
580
|
};
|
|
692
581
|
/** @returns {AvailablePageSchemaSections} */
|
|
693
582
|
declare function AvailablePageSchemaSections(): AvailablePageSchemaSections;
|
|
694
583
|
type AvailablePageSchemaSections = {
|
|
695
|
-
blocks?: any[];
|
|
696
|
-
label?: string;
|
|
697
584
|
name?: string;
|
|
698
|
-
|
|
699
|
-
preset?: any;
|
|
585
|
+
label?: string;
|
|
700
586
|
props?: any;
|
|
701
|
-
|
|
587
|
+
blocks?: any[];
|
|
588
|
+
preset?: any;
|
|
589
|
+
predicate?: AvailablePagePredicate;
|
|
702
590
|
};
|
|
703
591
|
/** @returns {AvailablePageScreenPredicate} */
|
|
704
592
|
declare function AvailablePageScreenPredicate(): AvailablePageScreenPredicate;
|
|
705
593
|
type AvailablePageScreenPredicate = {
|
|
706
|
-
desktop?: boolean;
|
|
707
594
|
mobile?: boolean;
|
|
595
|
+
desktop?: boolean;
|
|
708
596
|
tablet?: boolean;
|
|
709
597
|
};
|
|
710
|
-
/** @returns {AvailablePageSectionMetaAttributes} */
|
|
711
|
-
declare function AvailablePageSectionMetaAttributes(): AvailablePageSectionMetaAttributes;
|
|
712
|
-
type AvailablePageSectionMetaAttributes = {
|
|
713
|
-
attributes?: any;
|
|
714
|
-
};
|
|
715
|
-
/** @returns {AvailablePageSeo} */
|
|
716
|
-
declare function AvailablePageSeo(): AvailablePageSeo;
|
|
717
|
-
type AvailablePageSeo = {
|
|
718
|
-
_id?: string;
|
|
719
|
-
breadcrumb?: SEObreadcrumb[];
|
|
720
|
-
description?: string;
|
|
721
|
-
meta_tags?: SEOMetaItem[];
|
|
722
|
-
sitemap?: SEOSitemap;
|
|
723
|
-
title?: string;
|
|
724
|
-
};
|
|
725
598
|
/** @returns {AvailablePageUserPredicate} */
|
|
726
599
|
declare function AvailablePageUserPredicate(): AvailablePageUserPredicate;
|
|
727
600
|
type AvailablePageUserPredicate = {
|
|
728
|
-
anonymous?: boolean;
|
|
729
601
|
authenticated?: boolean;
|
|
602
|
+
anonymous?: boolean;
|
|
730
603
|
};
|
|
731
|
-
/** @returns {
|
|
732
|
-
declare function
|
|
733
|
-
type
|
|
734
|
-
|
|
604
|
+
/** @returns {AvailablePageRoutePredicate} */
|
|
605
|
+
declare function AvailablePageRoutePredicate(): AvailablePageRoutePredicate;
|
|
606
|
+
type AvailablePageRoutePredicate = {
|
|
607
|
+
selected?: string;
|
|
608
|
+
exact_url?: string;
|
|
609
|
+
query?: any;
|
|
735
610
|
};
|
|
736
|
-
/** @returns {
|
|
737
|
-
declare function
|
|
738
|
-
type
|
|
739
|
-
|
|
611
|
+
/** @returns {AvailablePagePredicate} */
|
|
612
|
+
declare function AvailablePagePredicate(): AvailablePagePredicate;
|
|
613
|
+
type AvailablePagePredicate = {
|
|
614
|
+
screen?: AvailablePageScreenPredicate;
|
|
615
|
+
user?: AvailablePageUserPredicate;
|
|
616
|
+
route?: AvailablePageRoutePredicate;
|
|
740
617
|
};
|
|
741
|
-
/** @returns {
|
|
742
|
-
declare function
|
|
743
|
-
type
|
|
618
|
+
/** @returns {MarketplaceThemeSchema} */
|
|
619
|
+
declare function MarketplaceThemeSchema(): MarketplaceThemeSchema;
|
|
620
|
+
type MarketplaceThemeSchema = {
|
|
621
|
+
themes?: MarketplaceTheme[];
|
|
622
|
+
page?: PaginationSchema;
|
|
623
|
+
};
|
|
624
|
+
/** @returns {MarketplaceTheme} */
|
|
625
|
+
declare function MarketplaceTheme(): MarketplaceTheme;
|
|
626
|
+
type MarketplaceTheme = {
|
|
744
627
|
/**
|
|
745
|
-
* -
|
|
628
|
+
* - Theme ID
|
|
629
|
+
*/
|
|
630
|
+
_id?: string;
|
|
631
|
+
payment?: PaymentInfo;
|
|
632
|
+
contact?: ContactInfo;
|
|
633
|
+
/**
|
|
634
|
+
* - Industries the theme is suitable for
|
|
635
|
+
*/
|
|
636
|
+
industry?: string[];
|
|
637
|
+
/**
|
|
638
|
+
* - Indicates if the theme is an update
|
|
639
|
+
*/
|
|
640
|
+
is_update?: boolean;
|
|
641
|
+
/**
|
|
642
|
+
* - Indicates if the theme is a default theme
|
|
643
|
+
*/
|
|
644
|
+
is_default?: boolean;
|
|
645
|
+
/**
|
|
646
|
+
* - Theme name
|
|
746
647
|
*/
|
|
747
648
|
name?: string;
|
|
748
|
-
props?: BlockProps;
|
|
749
649
|
/**
|
|
750
|
-
* -
|
|
650
|
+
* - Theme tagline
|
|
651
|
+
*/
|
|
652
|
+
tagline?: string;
|
|
653
|
+
/**
|
|
654
|
+
* - Theme description
|
|
655
|
+
*/
|
|
656
|
+
description?: string;
|
|
657
|
+
catalog_size?: CatalogSize;
|
|
658
|
+
images?: MarketplaceThemeImages;
|
|
659
|
+
carousel?: CarouselItem[];
|
|
660
|
+
/**
|
|
661
|
+
* - Theme source URL
|
|
662
|
+
*/
|
|
663
|
+
src?: string;
|
|
664
|
+
explore?: ExploreInfo;
|
|
665
|
+
features?: Feature[];
|
|
666
|
+
highlights?: Highlight[];
|
|
667
|
+
variations?: Variation[];
|
|
668
|
+
documentation?: Documentation;
|
|
669
|
+
/**
|
|
670
|
+
* - Theme status
|
|
671
|
+
*/
|
|
672
|
+
status?: string;
|
|
673
|
+
/**
|
|
674
|
+
* - Theme step
|
|
675
|
+
*/
|
|
676
|
+
step?: number;
|
|
677
|
+
comments?: Comments;
|
|
678
|
+
release?: Release;
|
|
679
|
+
/**
|
|
680
|
+
* - Theme slug
|
|
681
|
+
*/
|
|
682
|
+
slug?: string;
|
|
683
|
+
/**
|
|
684
|
+
* - Organization ID
|
|
685
|
+
*/
|
|
686
|
+
organization_id?: string;
|
|
687
|
+
/**
|
|
688
|
+
* - User ID
|
|
689
|
+
*/
|
|
690
|
+
user_id?: string;
|
|
691
|
+
/**
|
|
692
|
+
* - Theme creation timestamp
|
|
693
|
+
*/
|
|
694
|
+
created_at?: string;
|
|
695
|
+
/**
|
|
696
|
+
* - Theme update timestamp
|
|
697
|
+
*/
|
|
698
|
+
updated_at?: string;
|
|
699
|
+
/**
|
|
700
|
+
* - Template theme ID
|
|
701
|
+
*/
|
|
702
|
+
template_theme_id?: string;
|
|
703
|
+
};
|
|
704
|
+
/** @returns {PaymentInfo} */
|
|
705
|
+
declare function PaymentInfo(): PaymentInfo;
|
|
706
|
+
type PaymentInfo = {
|
|
707
|
+
/**
|
|
708
|
+
* - Indicates if the theme is paid
|
|
709
|
+
*/
|
|
710
|
+
is_paid?: boolean;
|
|
711
|
+
/**
|
|
712
|
+
* - Amount of payment
|
|
713
|
+
*/
|
|
714
|
+
amount?: number;
|
|
715
|
+
};
|
|
716
|
+
/** @returns {ContactInfo} */
|
|
717
|
+
declare function ContactInfo(): ContactInfo;
|
|
718
|
+
type ContactInfo = {
|
|
719
|
+
/**
|
|
720
|
+
* - Developer contact information
|
|
721
|
+
*/
|
|
722
|
+
developer_contact?: string[];
|
|
723
|
+
/**
|
|
724
|
+
* - Seller contact information
|
|
725
|
+
*/
|
|
726
|
+
seller_contact?: string;
|
|
727
|
+
};
|
|
728
|
+
/** @returns {CatalogSize} */
|
|
729
|
+
declare function CatalogSize(): CatalogSize;
|
|
730
|
+
type CatalogSize = {
|
|
731
|
+
/**
|
|
732
|
+
* - Minimum catalog size
|
|
733
|
+
*/
|
|
734
|
+
min?: number;
|
|
735
|
+
/**
|
|
736
|
+
* - Maximum catalog size
|
|
737
|
+
*/
|
|
738
|
+
max?: number;
|
|
739
|
+
};
|
|
740
|
+
/** @returns {MarketplaceThemeImages} */
|
|
741
|
+
declare function MarketplaceThemeImages(): MarketplaceThemeImages;
|
|
742
|
+
type MarketplaceThemeImages = {
|
|
743
|
+
/**
|
|
744
|
+
* - Desktop theme image URL
|
|
745
|
+
*/
|
|
746
|
+
desktop?: string;
|
|
747
|
+
/**
|
|
748
|
+
* - Mobile theme image URL
|
|
749
|
+
*/
|
|
750
|
+
mobile?: string;
|
|
751
|
+
};
|
|
752
|
+
/** @returns {CarouselItem} */
|
|
753
|
+
declare function CarouselItem(): CarouselItem;
|
|
754
|
+
type CarouselItem = {
|
|
755
|
+
/**
|
|
756
|
+
* - Desktop carousel image URL
|
|
757
|
+
*/
|
|
758
|
+
desktop?: string;
|
|
759
|
+
/**
|
|
760
|
+
* - Mobile carousel image URL
|
|
761
|
+
*/
|
|
762
|
+
mobile?: string;
|
|
763
|
+
};
|
|
764
|
+
/** @returns {ExploreInfo} */
|
|
765
|
+
declare function ExploreInfo(): ExploreInfo;
|
|
766
|
+
type ExploreInfo = {
|
|
767
|
+
/**
|
|
768
|
+
* - Explore feature title
|
|
769
|
+
*/
|
|
770
|
+
title?: string;
|
|
771
|
+
/**
|
|
772
|
+
* - Explore feature description
|
|
773
|
+
*/
|
|
774
|
+
description?: string;
|
|
775
|
+
};
|
|
776
|
+
/** @returns {Feature} */
|
|
777
|
+
declare function Feature(): Feature;
|
|
778
|
+
type Feature = {
|
|
779
|
+
/**
|
|
780
|
+
* - Feature category
|
|
781
|
+
*/
|
|
782
|
+
category?: string;
|
|
783
|
+
list?: FeatureItem[];
|
|
784
|
+
};
|
|
785
|
+
/** @returns {FeatureItem} */
|
|
786
|
+
declare function FeatureItem(): FeatureItem;
|
|
787
|
+
type FeatureItem = {
|
|
788
|
+
/**
|
|
789
|
+
* - Feature label
|
|
790
|
+
*/
|
|
791
|
+
label?: string;
|
|
792
|
+
/**
|
|
793
|
+
* - Feature description
|
|
751
794
|
*/
|
|
752
|
-
|
|
753
|
-
};
|
|
754
|
-
/** @returns {BlockProps} */
|
|
755
|
-
declare function BlockProps(): BlockProps;
|
|
756
|
-
type BlockProps = {
|
|
757
|
-
image?: ImagePickerProp;
|
|
758
|
-
slide_link?: UrlProp;
|
|
795
|
+
description?: string;
|
|
759
796
|
};
|
|
760
|
-
/** @returns {
|
|
761
|
-
declare function
|
|
762
|
-
type
|
|
797
|
+
/** @returns {Highlight} */
|
|
798
|
+
declare function Highlight(): Highlight;
|
|
799
|
+
type Highlight = {
|
|
763
800
|
/**
|
|
764
|
-
* -
|
|
801
|
+
* - Highlight title
|
|
765
802
|
*/
|
|
766
|
-
|
|
803
|
+
title?: string;
|
|
767
804
|
/**
|
|
768
|
-
* -
|
|
805
|
+
* - Highlight description
|
|
769
806
|
*/
|
|
770
|
-
|
|
807
|
+
description?: string;
|
|
808
|
+
/**
|
|
809
|
+
* - Highlight image URL
|
|
810
|
+
*/
|
|
811
|
+
image?: string;
|
|
771
812
|
};
|
|
772
|
-
/** @returns {
|
|
773
|
-
declare function
|
|
774
|
-
type
|
|
813
|
+
/** @returns {Variation} */
|
|
814
|
+
declare function Variation(): Variation;
|
|
815
|
+
type Variation = {
|
|
775
816
|
/**
|
|
776
|
-
* -
|
|
817
|
+
* - Variation name
|
|
777
818
|
*/
|
|
778
|
-
|
|
819
|
+
name?: string;
|
|
779
820
|
/**
|
|
780
|
-
* -
|
|
821
|
+
* - Variation color
|
|
781
822
|
*/
|
|
782
|
-
|
|
823
|
+
color?: string;
|
|
824
|
+
/**
|
|
825
|
+
* - Variation demo URL
|
|
826
|
+
*/
|
|
827
|
+
demo_url?: string;
|
|
828
|
+
images?: MarketplaceThemeImages;
|
|
783
829
|
};
|
|
784
|
-
/** @returns {
|
|
785
|
-
declare function
|
|
786
|
-
type
|
|
830
|
+
/** @returns {Documentation} */
|
|
831
|
+
declare function Documentation(): Documentation;
|
|
832
|
+
type Documentation = {
|
|
787
833
|
/**
|
|
788
|
-
* -
|
|
834
|
+
* - Documentation notes
|
|
789
835
|
*/
|
|
790
|
-
|
|
836
|
+
notes?: string;
|
|
791
837
|
/**
|
|
792
|
-
* -
|
|
838
|
+
* - Documentation URL
|
|
793
839
|
*/
|
|
794
|
-
|
|
840
|
+
url?: string;
|
|
795
841
|
};
|
|
796
842
|
/** @returns {Comments} */
|
|
797
843
|
declare function Comments(): Comments;
|
|
@@ -805,152 +851,215 @@ type Comments = {
|
|
|
805
851
|
*/
|
|
806
852
|
reviewer_feedback?: string;
|
|
807
853
|
};
|
|
808
|
-
/** @returns {
|
|
809
|
-
declare function
|
|
810
|
-
type
|
|
811
|
-
link?: string;
|
|
812
|
-
};
|
|
813
|
-
/** @returns {Config} */
|
|
814
|
-
declare function Config(): Config;
|
|
815
|
-
type Config = {
|
|
816
|
-
/**
|
|
817
|
-
* - The current configuration
|
|
818
|
-
*/
|
|
819
|
-
current: string;
|
|
820
|
-
global_schema?: GlobalSchema;
|
|
854
|
+
/** @returns {ThemeRejectionReasons} */
|
|
855
|
+
declare function ThemeRejectionReasons(): ThemeRejectionReasons;
|
|
856
|
+
type ThemeRejectionReasons = {
|
|
821
857
|
/**
|
|
822
|
-
* -
|
|
858
|
+
* - The ID of the theme rejection reasons object
|
|
823
859
|
*/
|
|
824
|
-
|
|
825
|
-
preset?: Preset;
|
|
826
|
-
};
|
|
827
|
-
/** @returns {ContactInfo} */
|
|
828
|
-
declare function ContactInfo(): ContactInfo;
|
|
829
|
-
type ContactInfo = {
|
|
860
|
+
_id: string;
|
|
830
861
|
/**
|
|
831
|
-
* -
|
|
862
|
+
* - A general message about the rejection reasons
|
|
832
863
|
*/
|
|
833
|
-
|
|
864
|
+
message?: string;
|
|
834
865
|
/**
|
|
835
|
-
* -
|
|
866
|
+
* - The ID of the rejected theme
|
|
836
867
|
*/
|
|
837
|
-
|
|
838
|
-
};
|
|
839
|
-
/** @returns {CreateNewTheme} */
|
|
840
|
-
declare function CreateNewTheme(): CreateNewTheme;
|
|
841
|
-
type CreateNewTheme = {
|
|
868
|
+
theme_id: string;
|
|
842
869
|
/**
|
|
843
|
-
* -
|
|
870
|
+
* - The ID of the organization
|
|
844
871
|
*/
|
|
845
|
-
|
|
872
|
+
organization_id: string;
|
|
846
873
|
/**
|
|
847
|
-
* - The
|
|
874
|
+
* - The ID of the admin who rejected the theme
|
|
848
875
|
*/
|
|
849
|
-
|
|
850
|
-
global_schema?: GlobalSchema;
|
|
876
|
+
admin_id: string;
|
|
851
877
|
/**
|
|
852
|
-
* -
|
|
878
|
+
* - The ID of the user who submitted the theme
|
|
853
879
|
*/
|
|
854
|
-
|
|
880
|
+
user_id: string;
|
|
855
881
|
/**
|
|
856
|
-
* - The
|
|
882
|
+
* - The status of the theme (e.g., rejected)
|
|
857
883
|
*/
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
preset?: Preset;
|
|
884
|
+
status: string;
|
|
885
|
+
rejection_reasons: any;
|
|
861
886
|
/**
|
|
862
|
-
* -
|
|
887
|
+
* - The date and time when the theme rejection
|
|
888
|
+
* reasons object was created
|
|
863
889
|
*/
|
|
864
|
-
|
|
890
|
+
created_at?: string;
|
|
865
891
|
/**
|
|
866
|
-
* - The
|
|
892
|
+
* - The date and time when the theme rejection
|
|
893
|
+
* reasons object was last updated
|
|
867
894
|
*/
|
|
868
|
-
|
|
895
|
+
updated_at?: string;
|
|
869
896
|
};
|
|
870
|
-
/** @returns {
|
|
871
|
-
declare function
|
|
872
|
-
type
|
|
873
|
-
|
|
874
|
-
links?: string[];
|
|
897
|
+
/** @returns {AllAvailablePageSchema} */
|
|
898
|
+
declare function AllAvailablePageSchema(): AllAvailablePageSchema;
|
|
899
|
+
type AllAvailablePageSchema = {
|
|
900
|
+
pages?: AvailablePageSchema[];
|
|
875
901
|
};
|
|
876
|
-
/** @returns {
|
|
877
|
-
declare function
|
|
878
|
-
type
|
|
879
|
-
|
|
902
|
+
/** @returns {PaginationSchema} */
|
|
903
|
+
declare function PaginationSchema(): PaginationSchema;
|
|
904
|
+
type PaginationSchema = {
|
|
905
|
+
size?: number;
|
|
906
|
+
item_total?: number;
|
|
907
|
+
has_next?: boolean;
|
|
908
|
+
type?: string;
|
|
909
|
+
current?: number;
|
|
880
910
|
};
|
|
881
|
-
/** @returns {
|
|
882
|
-
declare function
|
|
883
|
-
type
|
|
911
|
+
/** @returns {BlitzkriegApiErrorSchema} */
|
|
912
|
+
declare function BlitzkriegApiErrorSchema(): BlitzkriegApiErrorSchema;
|
|
913
|
+
type BlitzkriegApiErrorSchema = {
|
|
914
|
+
message?: string;
|
|
915
|
+
};
|
|
916
|
+
/** @returns {BlitzkriegInternalServerErrorSchema} */
|
|
917
|
+
declare function BlitzkriegInternalServerErrorSchema(): BlitzkriegInternalServerErrorSchema;
|
|
918
|
+
type BlitzkriegInternalServerErrorSchema = {
|
|
919
|
+
message?: string;
|
|
920
|
+
};
|
|
921
|
+
/** @returns {ThemesSchema} */
|
|
922
|
+
declare function ThemesSchema(): ThemesSchema;
|
|
923
|
+
type ThemesSchema = {
|
|
924
|
+
font?: Font;
|
|
925
|
+
config?: Config;
|
|
884
926
|
/**
|
|
885
|
-
* -
|
|
927
|
+
* - Whether the theme has been applied or not
|
|
886
928
|
*/
|
|
887
|
-
|
|
929
|
+
applied?: boolean;
|
|
888
930
|
/**
|
|
889
|
-
* -
|
|
890
|
-
* label color
|
|
931
|
+
* - Whether the theme is private or not
|
|
891
932
|
*/
|
|
892
|
-
|
|
933
|
+
is_private?: boolean;
|
|
893
934
|
/**
|
|
894
|
-
* -
|
|
935
|
+
* - An array of tags associated with the theme
|
|
895
936
|
*/
|
|
896
|
-
|
|
937
|
+
tags?: string[];
|
|
897
938
|
/**
|
|
898
|
-
* - The
|
|
939
|
+
* - The unique identifier of the theme
|
|
899
940
|
*/
|
|
900
|
-
|
|
941
|
+
_id?: string;
|
|
901
942
|
/**
|
|
902
|
-
* - The
|
|
943
|
+
* - The ID of the application
|
|
903
944
|
*/
|
|
904
|
-
|
|
945
|
+
application_id?: string;
|
|
905
946
|
/**
|
|
906
|
-
* - The
|
|
947
|
+
* - The ID of the theme in the marketplace
|
|
907
948
|
*/
|
|
908
|
-
|
|
949
|
+
marketplace_theme_id?: string;
|
|
950
|
+
meta?: Meta;
|
|
909
951
|
/**
|
|
910
|
-
* - The
|
|
952
|
+
* - The name of the theme
|
|
911
953
|
*/
|
|
912
|
-
|
|
954
|
+
name?: string;
|
|
913
955
|
/**
|
|
914
|
-
* - The
|
|
956
|
+
* - The ID of the template theme
|
|
915
957
|
*/
|
|
916
|
-
|
|
958
|
+
template_theme_id?: string;
|
|
917
959
|
/**
|
|
918
|
-
* - The
|
|
919
|
-
* hover text color
|
|
960
|
+
* - The version of the theme
|
|
920
961
|
*/
|
|
921
|
-
|
|
962
|
+
version?: string;
|
|
922
963
|
/**
|
|
923
|
-
* - The
|
|
964
|
+
* - The styles associated with the theme
|
|
924
965
|
*/
|
|
925
|
-
|
|
966
|
+
styles?: any;
|
|
926
967
|
/**
|
|
927
|
-
* -
|
|
968
|
+
* - The creation timestamp of the theme
|
|
928
969
|
*/
|
|
929
|
-
|
|
970
|
+
created_at?: string;
|
|
930
971
|
/**
|
|
931
|
-
* - The
|
|
972
|
+
* - The last update timestamp of the theme
|
|
932
973
|
*/
|
|
933
|
-
|
|
974
|
+
updated_at?: string;
|
|
975
|
+
assets?: Assets;
|
|
934
976
|
/**
|
|
935
|
-
* -
|
|
977
|
+
* - Available sections information
|
|
936
978
|
*/
|
|
937
|
-
|
|
979
|
+
available_sections?: SectionItem[];
|
|
980
|
+
};
|
|
981
|
+
/** @returns {Font} */
|
|
982
|
+
declare function Font(): Font;
|
|
983
|
+
type Font = {
|
|
984
|
+
variants: FontVariants;
|
|
985
|
+
/**
|
|
986
|
+
* - The font family
|
|
987
|
+
*/
|
|
988
|
+
family: string;
|
|
989
|
+
};
|
|
990
|
+
/** @returns {FontVariants} */
|
|
991
|
+
declare function FontVariants(): FontVariants;
|
|
992
|
+
type FontVariants = {
|
|
993
|
+
light?: FontVariant;
|
|
994
|
+
regular?: FontVariant;
|
|
995
|
+
medium?: FontVariant;
|
|
996
|
+
semi_bold?: FontVariant;
|
|
997
|
+
bold?: FontVariant;
|
|
998
|
+
};
|
|
999
|
+
/** @returns {FontVariant} */
|
|
1000
|
+
declare function FontVariant(): FontVariant;
|
|
1001
|
+
type FontVariant = {
|
|
1002
|
+
/**
|
|
1003
|
+
* - The name of the font variant
|
|
1004
|
+
*/
|
|
1005
|
+
name: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* - The URL of the font file
|
|
1008
|
+
*/
|
|
1009
|
+
file: string;
|
|
1010
|
+
};
|
|
1011
|
+
/** @returns {Config} */
|
|
1012
|
+
declare function Config(): Config;
|
|
1013
|
+
type Config = {
|
|
1014
|
+
/**
|
|
1015
|
+
* - The current configuration
|
|
1016
|
+
*/
|
|
1017
|
+
current: string;
|
|
1018
|
+
/**
|
|
1019
|
+
* - A list of configurations
|
|
1020
|
+
*/
|
|
1021
|
+
list: ThemeConfiguration[];
|
|
1022
|
+
global_schema?: GlobalSchema;
|
|
1023
|
+
preset?: Preset;
|
|
1024
|
+
};
|
|
1025
|
+
/** @returns {ThemeConfiguration} */
|
|
1026
|
+
declare function ThemeConfiguration(): ThemeConfiguration;
|
|
1027
|
+
type ThemeConfiguration = {
|
|
938
1028
|
/**
|
|
939
|
-
* - The
|
|
1029
|
+
* - The name of the configuration
|
|
940
1030
|
*/
|
|
941
|
-
|
|
1031
|
+
name?: string;
|
|
1032
|
+
global_config?: GlobalConfig;
|
|
1033
|
+
custom?: CustomConfig;
|
|
942
1034
|
/**
|
|
943
|
-
* -
|
|
1035
|
+
* - An array of pages
|
|
944
1036
|
*/
|
|
945
|
-
|
|
1037
|
+
page?: string[];
|
|
1038
|
+
};
|
|
1039
|
+
/** @returns {CustomConfig} */
|
|
1040
|
+
declare function CustomConfig(): CustomConfig;
|
|
1041
|
+
type CustomConfig = {
|
|
1042
|
+
props?: CustomProps;
|
|
1043
|
+
};
|
|
1044
|
+
/** @returns {CustomProps} */
|
|
1045
|
+
declare function CustomProps(): CustomProps;
|
|
1046
|
+
type CustomProps = {
|
|
946
1047
|
/**
|
|
947
1048
|
* - The header background color
|
|
948
1049
|
*/
|
|
949
1050
|
header_bg_color?: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* - The header text color
|
|
1053
|
+
*/
|
|
1054
|
+
header_text_color?: string;
|
|
950
1055
|
/**
|
|
951
1056
|
* - The header border color
|
|
952
1057
|
*/
|
|
953
1058
|
header_border_color?: string;
|
|
1059
|
+
/**
|
|
1060
|
+
* - The header icon color
|
|
1061
|
+
*/
|
|
1062
|
+
header_icon_color?: string;
|
|
954
1063
|
/**
|
|
955
1064
|
* - The header cart
|
|
956
1065
|
* notification background color
|
|
@@ -961,678 +1070,640 @@ type CustomProps = {
|
|
|
961
1070
|
* notification text color
|
|
962
1071
|
*/
|
|
963
1072
|
header_cart_notification_text_color?: string;
|
|
964
|
-
/**
|
|
965
|
-
* - The header icon color
|
|
966
|
-
*/
|
|
967
|
-
header_icon_color?: string;
|
|
968
1073
|
/**
|
|
969
1074
|
* - The header navigation hover color
|
|
970
1075
|
*/
|
|
971
1076
|
header_nav_hover_color?: string;
|
|
972
1077
|
/**
|
|
973
|
-
* - The
|
|
974
|
-
*/
|
|
975
|
-
header_text_color?: string;
|
|
976
|
-
/**
|
|
977
|
-
* - Whether the menu is below the logo or not
|
|
978
|
-
*/
|
|
979
|
-
is_menu_below_logo?: boolean;
|
|
980
|
-
/**
|
|
981
|
-
* - The position of the menu
|
|
982
|
-
*/
|
|
983
|
-
menu_position?: string;
|
|
984
|
-
/**
|
|
985
|
-
* - The text body color
|
|
1078
|
+
* - The primary button color
|
|
986
1079
|
*/
|
|
987
|
-
|
|
1080
|
+
button_primary_color?: string;
|
|
988
1081
|
/**
|
|
989
|
-
* - The
|
|
1082
|
+
* - The primary button label color
|
|
990
1083
|
*/
|
|
991
|
-
|
|
1084
|
+
button_primary_label_color?: string;
|
|
992
1085
|
/**
|
|
993
|
-
* - The
|
|
1086
|
+
* - The add to cart button color
|
|
994
1087
|
*/
|
|
995
|
-
|
|
1088
|
+
button_add_to_cart_color?: string;
|
|
996
1089
|
/**
|
|
997
|
-
* - The
|
|
1090
|
+
* - The add to cart button
|
|
1091
|
+
* label color
|
|
998
1092
|
*/
|
|
999
|
-
|
|
1093
|
+
button_add_to_cart_label_color?: string;
|
|
1000
1094
|
/**
|
|
1001
|
-
* - The
|
|
1095
|
+
* - The secondary button color
|
|
1002
1096
|
*/
|
|
1003
|
-
|
|
1097
|
+
button_secondary_color?: string;
|
|
1004
1098
|
/**
|
|
1005
|
-
* - The
|
|
1006
|
-
* price color
|
|
1099
|
+
* - The secondary button label color
|
|
1007
1100
|
*/
|
|
1008
|
-
|
|
1009
|
-
};
|
|
1010
|
-
/** @returns {DividerStrokeHighlight} */
|
|
1011
|
-
declare function DividerStrokeHighlight(): DividerStrokeHighlight;
|
|
1012
|
-
type DividerStrokeHighlight = {
|
|
1013
|
-
divider_strokes?: string;
|
|
1014
|
-
highlight?: string;
|
|
1015
|
-
};
|
|
1016
|
-
/** @returns {Documentation} */
|
|
1017
|
-
declare function Documentation(): Documentation;
|
|
1018
|
-
type Documentation = {
|
|
1101
|
+
button_secondary_label_color?: string;
|
|
1019
1102
|
/**
|
|
1020
|
-
* -
|
|
1103
|
+
* - The tertiary button color
|
|
1021
1104
|
*/
|
|
1022
|
-
|
|
1105
|
+
button_tertiary_color?: string;
|
|
1023
1106
|
/**
|
|
1024
|
-
* -
|
|
1107
|
+
* - The tertiary button label color
|
|
1025
1108
|
*/
|
|
1026
|
-
|
|
1027
|
-
};
|
|
1028
|
-
/** @returns {ExploreInfo} */
|
|
1029
|
-
declare function ExploreInfo(): ExploreInfo;
|
|
1030
|
-
type ExploreInfo = {
|
|
1109
|
+
button_tertiary_label_color?: string;
|
|
1031
1110
|
/**
|
|
1032
|
-
* -
|
|
1111
|
+
* - The tertiary button hover color
|
|
1033
1112
|
*/
|
|
1034
|
-
|
|
1113
|
+
button_tertiary_hover_color?: string;
|
|
1035
1114
|
/**
|
|
1036
|
-
* -
|
|
1115
|
+
* - The tertiary button
|
|
1116
|
+
* hover text color
|
|
1037
1117
|
*/
|
|
1038
|
-
|
|
1039
|
-
};
|
|
1040
|
-
/** @returns {Feature} */
|
|
1041
|
-
declare function Feature(): Feature;
|
|
1042
|
-
type Feature = {
|
|
1118
|
+
button_tertiary_hover_text_color?: string;
|
|
1043
1119
|
/**
|
|
1044
|
-
* -
|
|
1120
|
+
* - The text heading link color
|
|
1045
1121
|
*/
|
|
1046
|
-
|
|
1047
|
-
list?: FeatureItem[];
|
|
1048
|
-
};
|
|
1049
|
-
/** @returns {FeatureItem} */
|
|
1050
|
-
declare function FeatureItem(): FeatureItem;
|
|
1051
|
-
type FeatureItem = {
|
|
1122
|
+
text_heading_link_color?: string;
|
|
1052
1123
|
/**
|
|
1053
|
-
* -
|
|
1124
|
+
* - The text body color
|
|
1054
1125
|
*/
|
|
1055
|
-
|
|
1126
|
+
text_body_color?: string;
|
|
1056
1127
|
/**
|
|
1057
|
-
* -
|
|
1128
|
+
* - The text price color
|
|
1058
1129
|
*/
|
|
1059
|
-
|
|
1060
|
-
};
|
|
1061
|
-
/** @returns {Font} */
|
|
1062
|
-
declare function Font(): Font;
|
|
1063
|
-
type Font = {
|
|
1130
|
+
text_price_color?: string;
|
|
1064
1131
|
/**
|
|
1065
|
-
* - The
|
|
1132
|
+
* - The text sale price color
|
|
1066
1133
|
*/
|
|
1067
|
-
|
|
1068
|
-
variants: FontVariants;
|
|
1069
|
-
};
|
|
1070
|
-
/** @returns {FontVariant} */
|
|
1071
|
-
declare function FontVariant(): FontVariant;
|
|
1072
|
-
type FontVariant = {
|
|
1134
|
+
text_sale_price_color?: string;
|
|
1073
1135
|
/**
|
|
1074
|
-
* - The
|
|
1136
|
+
* - The text strikethrough
|
|
1137
|
+
* price color
|
|
1075
1138
|
*/
|
|
1076
|
-
|
|
1139
|
+
text_strikethrough_price_color?: string;
|
|
1077
1140
|
/**
|
|
1078
|
-
* - The
|
|
1141
|
+
* - The text discount color
|
|
1079
1142
|
*/
|
|
1080
|
-
|
|
1081
|
-
};
|
|
1082
|
-
/** @returns {FontVariants} */
|
|
1083
|
-
declare function FontVariants(): FontVariants;
|
|
1084
|
-
type FontVariants = {
|
|
1085
|
-
bold?: FontVariant;
|
|
1086
|
-
light?: FontVariant;
|
|
1087
|
-
medium?: FontVariant;
|
|
1088
|
-
regular?: FontVariant;
|
|
1089
|
-
semi_bold?: FontVariant;
|
|
1090
|
-
};
|
|
1091
|
-
/** @returns {GlobalSchema} */
|
|
1092
|
-
declare function GlobalSchema(): GlobalSchema;
|
|
1093
|
-
type GlobalSchema = {
|
|
1094
|
-
props?: Prop[];
|
|
1095
|
-
};
|
|
1096
|
-
/** @returns {Highlight} */
|
|
1097
|
-
declare function Highlight(): Highlight;
|
|
1098
|
-
type Highlight = {
|
|
1143
|
+
text_discount_color?: string;
|
|
1099
1144
|
/**
|
|
1100
|
-
* -
|
|
1145
|
+
* - The footer background color
|
|
1101
1146
|
*/
|
|
1102
|
-
|
|
1147
|
+
footer_bg_color?: string;
|
|
1103
1148
|
/**
|
|
1104
|
-
* -
|
|
1149
|
+
* - The footer text color
|
|
1105
1150
|
*/
|
|
1106
|
-
|
|
1151
|
+
footer_text_color?: string;
|
|
1107
1152
|
/**
|
|
1108
|
-
* -
|
|
1153
|
+
* - The footer border color
|
|
1109
1154
|
*/
|
|
1110
|
-
|
|
1111
|
-
};
|
|
1112
|
-
/** @returns {ImagePickerProp} */
|
|
1113
|
-
declare function ImagePickerProp(): ImagePickerProp;
|
|
1114
|
-
type ImagePickerProp = {
|
|
1155
|
+
footer_border_color?: string;
|
|
1115
1156
|
/**
|
|
1116
|
-
* - The
|
|
1157
|
+
* - The footer navigation hover color
|
|
1117
1158
|
*/
|
|
1118
|
-
|
|
1159
|
+
footer_nav_hover_color?: string;
|
|
1119
1160
|
/**
|
|
1120
|
-
* -
|
|
1161
|
+
* - Whether to disable the cart or not
|
|
1121
1162
|
*/
|
|
1122
|
-
|
|
1123
|
-
};
|
|
1124
|
-
/** @returns {Images} */
|
|
1125
|
-
declare function Images(): Images;
|
|
1126
|
-
type Images = {
|
|
1163
|
+
disable_cart?: boolean;
|
|
1127
1164
|
/**
|
|
1128
|
-
* -
|
|
1165
|
+
* - Whether the menu is below the logo or not
|
|
1129
1166
|
*/
|
|
1130
|
-
|
|
1167
|
+
is_menu_below_logo?: boolean;
|
|
1131
1168
|
/**
|
|
1132
|
-
* - The
|
|
1169
|
+
* - The position of the menu
|
|
1133
1170
|
*/
|
|
1134
|
-
|
|
1171
|
+
menu_position?: string;
|
|
1135
1172
|
};
|
|
1136
|
-
/** @returns {
|
|
1137
|
-
declare function
|
|
1138
|
-
type
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1173
|
+
/** @returns {GlobalConfig} */
|
|
1174
|
+
declare function GlobalConfig(): GlobalConfig;
|
|
1175
|
+
type GlobalConfig = {
|
|
1176
|
+
statics?: StaticConfig;
|
|
1177
|
+
auth?: AuthConfig;
|
|
1178
|
+
palette?: PaletteConfig;
|
|
1179
|
+
};
|
|
1180
|
+
/** @returns {PaletteConfig} */
|
|
1181
|
+
declare function PaletteConfig(): PaletteConfig;
|
|
1182
|
+
type PaletteConfig = {
|
|
1183
|
+
general_setting?: GeneralSetting;
|
|
1184
|
+
advance_setting?: AdvanceSetting;
|
|
1185
|
+
};
|
|
1186
|
+
/** @returns {GeneralSetting} */
|
|
1187
|
+
declare function GeneralSetting(): GeneralSetting;
|
|
1188
|
+
type GeneralSetting = {
|
|
1189
|
+
theme?: ThemeSetting;
|
|
1190
|
+
text?: TextSetting;
|
|
1191
|
+
button?: ButtonSetting;
|
|
1192
|
+
sale_discount?: SaleDiscountSetting;
|
|
1193
|
+
header?: HeaderSetting;
|
|
1194
|
+
footer?: FooterSetting;
|
|
1195
|
+
};
|
|
1196
|
+
/** @returns {AdvanceSetting} */
|
|
1197
|
+
declare function AdvanceSetting(): AdvanceSetting;
|
|
1198
|
+
type AdvanceSetting = {
|
|
1199
|
+
overlay_popup?: OverlayPopupSetting;
|
|
1200
|
+
divider_stroke_highlight?: DividerStrokeHighlightSetting;
|
|
1201
|
+
user_alerts?: UserAlertsSetting;
|
|
1202
|
+
};
|
|
1203
|
+
/** @returns {UserAlertsSetting} */
|
|
1204
|
+
declare function UserAlertsSetting(): UserAlertsSetting;
|
|
1205
|
+
type UserAlertsSetting = {
|
|
1206
|
+
/**
|
|
1207
|
+
* - The success background color
|
|
1162
1208
|
*/
|
|
1163
|
-
|
|
1164
|
-
/**
|
|
1165
|
-
* - Indicates if the theme is a default theme
|
|
1166
|
-
*/
|
|
1167
|
-
is_default?: boolean;
|
|
1168
|
-
/**
|
|
1169
|
-
* - Indicates if the theme is an update
|
|
1170
|
-
*/
|
|
1171
|
-
is_update?: boolean;
|
|
1172
|
-
/**
|
|
1173
|
-
* - Theme name
|
|
1174
|
-
*/
|
|
1175
|
-
name?: string;
|
|
1176
|
-
/**
|
|
1177
|
-
* - Organization ID
|
|
1178
|
-
*/
|
|
1179
|
-
organization_id?: string;
|
|
1180
|
-
payment?: PaymentInfo;
|
|
1181
|
-
release?: Release;
|
|
1182
|
-
/**
|
|
1183
|
-
* - Theme slug
|
|
1184
|
-
*/
|
|
1185
|
-
slug?: string;
|
|
1209
|
+
success_background?: string;
|
|
1186
1210
|
/**
|
|
1187
|
-
* -
|
|
1211
|
+
* - The success text color
|
|
1188
1212
|
*/
|
|
1189
|
-
|
|
1213
|
+
success_text?: string;
|
|
1190
1214
|
/**
|
|
1191
|
-
* -
|
|
1215
|
+
* - The error background color
|
|
1192
1216
|
*/
|
|
1193
|
-
|
|
1217
|
+
error_background?: string;
|
|
1194
1218
|
/**
|
|
1195
|
-
* -
|
|
1219
|
+
* - The error text color
|
|
1196
1220
|
*/
|
|
1197
|
-
|
|
1221
|
+
error_text?: string;
|
|
1198
1222
|
/**
|
|
1199
|
-
* -
|
|
1223
|
+
* - The info background color
|
|
1200
1224
|
*/
|
|
1201
|
-
|
|
1225
|
+
info_background?: string;
|
|
1202
1226
|
/**
|
|
1203
|
-
* -
|
|
1227
|
+
* - The info text color
|
|
1204
1228
|
*/
|
|
1205
|
-
|
|
1229
|
+
info_text?: string;
|
|
1230
|
+
};
|
|
1231
|
+
/** @returns {ThemeSetting} */
|
|
1232
|
+
declare function ThemeSetting(): ThemeSetting;
|
|
1233
|
+
type ThemeSetting = {
|
|
1206
1234
|
/**
|
|
1207
|
-
* -
|
|
1235
|
+
* - The page background color
|
|
1208
1236
|
*/
|
|
1209
|
-
|
|
1237
|
+
page_background?: string;
|
|
1210
1238
|
/**
|
|
1211
|
-
* -
|
|
1239
|
+
* - The theme accent color
|
|
1212
1240
|
*/
|
|
1213
|
-
|
|
1214
|
-
variations?: Variation[];
|
|
1241
|
+
theme_accent?: string;
|
|
1215
1242
|
};
|
|
1216
|
-
/** @returns {
|
|
1217
|
-
declare function
|
|
1218
|
-
type
|
|
1243
|
+
/** @returns {TextSetting} */
|
|
1244
|
+
declare function TextSetting(): TextSetting;
|
|
1245
|
+
type TextSetting = {
|
|
1219
1246
|
/**
|
|
1220
|
-
* -
|
|
1247
|
+
* - The text heading color
|
|
1221
1248
|
*/
|
|
1222
|
-
|
|
1249
|
+
text_heading?: string;
|
|
1223
1250
|
/**
|
|
1224
|
-
* -
|
|
1251
|
+
* - The text body color
|
|
1225
1252
|
*/
|
|
1226
|
-
|
|
1227
|
-
};
|
|
1228
|
-
/** @returns {MarketplaceThemeSchema} */
|
|
1229
|
-
declare function MarketplaceThemeSchema(): MarketplaceThemeSchema;
|
|
1230
|
-
type MarketplaceThemeSchema = {
|
|
1231
|
-
page?: PaginationSchema;
|
|
1232
|
-
themes?: MarketplaceTheme[];
|
|
1233
|
-
};
|
|
1234
|
-
/** @returns {OrderTracking} */
|
|
1235
|
-
declare function OrderTracking(): OrderTracking;
|
|
1236
|
-
type OrderTracking = {
|
|
1237
|
-
show_footer?: boolean;
|
|
1238
|
-
show_header?: boolean;
|
|
1239
|
-
};
|
|
1240
|
-
/** @returns {OverlayPopup} */
|
|
1241
|
-
declare function OverlayPopup(): OverlayPopup;
|
|
1242
|
-
type OverlayPopup = {
|
|
1243
|
-
dialog_backgroung?: string;
|
|
1244
|
-
overlay?: string;
|
|
1245
|
-
};
|
|
1246
|
-
/** @returns {Page} */
|
|
1247
|
-
declare function Page(): Page;
|
|
1248
|
-
type Page = {
|
|
1249
|
-
current?: number;
|
|
1250
|
-
has_next?: boolean;
|
|
1251
|
-
has_previous?: boolean;
|
|
1252
|
-
item_total?: number;
|
|
1253
|
-
next_id?: string;
|
|
1254
|
-
size?: number;
|
|
1255
|
-
type: string;
|
|
1256
|
-
};
|
|
1257
|
-
/** @returns {PaginationSchema} */
|
|
1258
|
-
declare function PaginationSchema(): PaginationSchema;
|
|
1259
|
-
type PaginationSchema = {
|
|
1260
|
-
current?: number;
|
|
1261
|
-
has_next?: boolean;
|
|
1262
|
-
item_total?: number;
|
|
1263
|
-
size?: number;
|
|
1264
|
-
type?: string;
|
|
1265
|
-
};
|
|
1266
|
-
/** @returns {PaymentInfo} */
|
|
1267
|
-
declare function PaymentInfo(): PaymentInfo;
|
|
1268
|
-
type PaymentInfo = {
|
|
1253
|
+
text_body?: string;
|
|
1269
1254
|
/**
|
|
1270
|
-
* -
|
|
1255
|
+
* - The text label color
|
|
1271
1256
|
*/
|
|
1272
|
-
|
|
1257
|
+
text_label?: string;
|
|
1273
1258
|
/**
|
|
1274
|
-
* -
|
|
1259
|
+
* - The secondary text color
|
|
1275
1260
|
*/
|
|
1276
|
-
|
|
1277
|
-
};
|
|
1278
|
-
/** @returns {Predicate} */
|
|
1279
|
-
declare function Predicate(): Predicate;
|
|
1280
|
-
type Predicate = {
|
|
1281
|
-
route?: Route;
|
|
1282
|
-
screen?: Screen;
|
|
1283
|
-
user?: ThemeUserSchema;
|
|
1284
|
-
};
|
|
1285
|
-
/** @returns {Preset} */
|
|
1286
|
-
declare function Preset(): Preset;
|
|
1287
|
-
type Preset = {
|
|
1288
|
-
pages?: Page[];
|
|
1261
|
+
text_secondary?: string;
|
|
1289
1262
|
};
|
|
1290
|
-
/** @returns {
|
|
1291
|
-
declare function
|
|
1292
|
-
type
|
|
1263
|
+
/** @returns {ButtonSetting} */
|
|
1264
|
+
declare function ButtonSetting(): ButtonSetting;
|
|
1265
|
+
type ButtonSetting = {
|
|
1293
1266
|
/**
|
|
1294
|
-
* - The
|
|
1267
|
+
* - The primary button color
|
|
1295
1268
|
*/
|
|
1296
|
-
|
|
1269
|
+
button_primary?: string;
|
|
1297
1270
|
/**
|
|
1298
|
-
* - The
|
|
1271
|
+
* - The secondary button color
|
|
1299
1272
|
*/
|
|
1300
|
-
|
|
1273
|
+
button_secondary?: string;
|
|
1301
1274
|
/**
|
|
1302
|
-
* -
|
|
1275
|
+
* - The button link color
|
|
1303
1276
|
*/
|
|
1304
|
-
|
|
1277
|
+
button_link?: string;
|
|
1278
|
+
};
|
|
1279
|
+
/** @returns {SaleDiscountSetting} */
|
|
1280
|
+
declare function SaleDiscountSetting(): SaleDiscountSetting;
|
|
1281
|
+
type SaleDiscountSetting = {
|
|
1305
1282
|
/**
|
|
1306
|
-
* - The
|
|
1283
|
+
* - The sale badge background color
|
|
1307
1284
|
*/
|
|
1308
|
-
|
|
1285
|
+
sale_badge_background?: string;
|
|
1309
1286
|
/**
|
|
1310
|
-
* - The
|
|
1287
|
+
* - The sale badge text color
|
|
1311
1288
|
*/
|
|
1312
|
-
|
|
1289
|
+
sale_badge_text?: string;
|
|
1313
1290
|
/**
|
|
1314
|
-
* - The
|
|
1291
|
+
* - The sale discount text color
|
|
1315
1292
|
*/
|
|
1316
|
-
|
|
1317
|
-
};
|
|
1318
|
-
/** @returns {RangeProp} */
|
|
1319
|
-
declare function RangeProp(): RangeProp;
|
|
1320
|
-
type RangeProp = {
|
|
1293
|
+
sale_discount_text?: string;
|
|
1321
1294
|
/**
|
|
1322
|
-
* - The
|
|
1295
|
+
* - The sale timer color
|
|
1323
1296
|
*/
|
|
1324
|
-
|
|
1297
|
+
sale_timer?: string;
|
|
1298
|
+
};
|
|
1299
|
+
/** @returns {HeaderSetting} */
|
|
1300
|
+
declare function HeaderSetting(): HeaderSetting;
|
|
1301
|
+
type HeaderSetting = {
|
|
1325
1302
|
/**
|
|
1326
|
-
* - The
|
|
1303
|
+
* - The header background color
|
|
1327
1304
|
*/
|
|
1328
|
-
|
|
1329
|
-
};
|
|
1330
|
-
/** @returns {Release} */
|
|
1331
|
-
declare function Release(): Release;
|
|
1332
|
-
type Release = {
|
|
1305
|
+
header_background?: string;
|
|
1333
1306
|
/**
|
|
1334
|
-
* - The
|
|
1307
|
+
* - The header navigation color
|
|
1335
1308
|
*/
|
|
1336
|
-
|
|
1309
|
+
header_nav?: string;
|
|
1337
1310
|
/**
|
|
1338
|
-
* - The
|
|
1311
|
+
* - The header icon color
|
|
1339
1312
|
*/
|
|
1340
|
-
|
|
1313
|
+
header_icon?: string;
|
|
1341
1314
|
};
|
|
1342
|
-
/** @returns {
|
|
1343
|
-
declare function
|
|
1344
|
-
type
|
|
1315
|
+
/** @returns {FooterSetting} */
|
|
1316
|
+
declare function FooterSetting(): FooterSetting;
|
|
1317
|
+
type FooterSetting = {
|
|
1345
1318
|
/**
|
|
1346
|
-
* - The
|
|
1319
|
+
* - The footer background color
|
|
1347
1320
|
*/
|
|
1348
|
-
|
|
1321
|
+
footer_background?: string;
|
|
1349
1322
|
/**
|
|
1350
|
-
* - The
|
|
1323
|
+
* - The footer bottom background color
|
|
1351
1324
|
*/
|
|
1352
|
-
|
|
1353
|
-
};
|
|
1354
|
-
/** @returns {Screen} */
|
|
1355
|
-
declare function Screen(): Screen;
|
|
1356
|
-
type Screen = {
|
|
1325
|
+
footer_bottom_background?: string;
|
|
1357
1326
|
/**
|
|
1358
|
-
* -
|
|
1327
|
+
* - The footer heading text color
|
|
1359
1328
|
*/
|
|
1360
|
-
|
|
1329
|
+
footer_heading_text?: string;
|
|
1361
1330
|
/**
|
|
1362
|
-
* -
|
|
1331
|
+
* - The footer body text color
|
|
1363
1332
|
*/
|
|
1364
|
-
|
|
1333
|
+
footer_body_text?: string;
|
|
1365
1334
|
/**
|
|
1366
|
-
* -
|
|
1335
|
+
* - The footer icon color
|
|
1367
1336
|
*/
|
|
1368
|
-
|
|
1337
|
+
footer_icon?: string;
|
|
1369
1338
|
};
|
|
1370
|
-
/** @returns {
|
|
1371
|
-
declare function
|
|
1372
|
-
type
|
|
1373
|
-
blocks?: Block[];
|
|
1339
|
+
/** @returns {OverlayPopupSetting} */
|
|
1340
|
+
declare function OverlayPopupSetting(): OverlayPopupSetting;
|
|
1341
|
+
type OverlayPopupSetting = {
|
|
1374
1342
|
/**
|
|
1375
|
-
* - The
|
|
1343
|
+
* - The dialog background color
|
|
1376
1344
|
*/
|
|
1377
|
-
|
|
1378
|
-
predicate?: Predicate;
|
|
1379
|
-
preset?: SectionPreset;
|
|
1380
|
-
props?: SectionProps;
|
|
1381
|
-
};
|
|
1382
|
-
/** @returns {SectionItem} */
|
|
1383
|
-
declare function SectionItem(): SectionItem;
|
|
1384
|
-
type SectionItem = {
|
|
1345
|
+
dialog_backgroung?: string;
|
|
1385
1346
|
/**
|
|
1386
|
-
* -
|
|
1347
|
+
* - The overlay color
|
|
1387
1348
|
*/
|
|
1388
|
-
|
|
1349
|
+
overlay?: string;
|
|
1350
|
+
};
|
|
1351
|
+
/** @returns {DividerStrokeHighlightSetting} */
|
|
1352
|
+
declare function DividerStrokeHighlightSetting(): DividerStrokeHighlightSetting;
|
|
1353
|
+
type DividerStrokeHighlightSetting = {
|
|
1389
1354
|
/**
|
|
1390
|
-
* -
|
|
1355
|
+
* - The divider strokes color
|
|
1391
1356
|
*/
|
|
1392
|
-
|
|
1357
|
+
divider_strokes?: string;
|
|
1393
1358
|
/**
|
|
1394
|
-
* -
|
|
1359
|
+
* - The highlight color
|
|
1395
1360
|
*/
|
|
1396
|
-
|
|
1397
|
-
props?: any[];
|
|
1398
|
-
};
|
|
1399
|
-
/** @returns {SectionPreset} */
|
|
1400
|
-
declare function SectionPreset(): SectionPreset;
|
|
1401
|
-
type SectionPreset = {
|
|
1402
|
-
blocks?: Block[];
|
|
1403
|
-
};
|
|
1404
|
-
/** @returns {SectionProps} */
|
|
1405
|
-
declare function SectionProps(): SectionProps;
|
|
1406
|
-
type SectionProps = {
|
|
1407
|
-
autoplay?: CheckboxProp;
|
|
1408
|
-
item_margin?: TextProp;
|
|
1409
|
-
slide_interval?: RangeProp;
|
|
1410
|
-
title?: TextProp;
|
|
1411
|
-
};
|
|
1412
|
-
/** @returns {SEObreadcrumb} */
|
|
1413
|
-
declare function SEObreadcrumb(): SEObreadcrumb;
|
|
1414
|
-
type SEObreadcrumb = {
|
|
1415
|
-
action?: Action;
|
|
1416
|
-
url?: string;
|
|
1417
|
-
};
|
|
1418
|
-
/** @returns {SEOMetaItem} */
|
|
1419
|
-
declare function SEOMetaItem(): SEOMetaItem;
|
|
1420
|
-
type SEOMetaItem = {
|
|
1421
|
-
items?: SEOMetaItems[];
|
|
1422
|
-
title?: string;
|
|
1361
|
+
highlight?: string;
|
|
1423
1362
|
};
|
|
1424
|
-
/** @returns {
|
|
1425
|
-
declare function
|
|
1426
|
-
type
|
|
1427
|
-
|
|
1428
|
-
value?: string;
|
|
1363
|
+
/** @returns {StaticConfig} */
|
|
1364
|
+
declare function StaticConfig(): StaticConfig;
|
|
1365
|
+
type StaticConfig = {
|
|
1366
|
+
props?: StaticProps;
|
|
1429
1367
|
};
|
|
1430
|
-
/** @returns {
|
|
1431
|
-
declare function
|
|
1432
|
-
type
|
|
1433
|
-
|
|
1434
|
-
|
|
1368
|
+
/** @returns {StaticProps} */
|
|
1369
|
+
declare function StaticProps(): StaticProps;
|
|
1370
|
+
type StaticProps = {
|
|
1371
|
+
colors?: Colors;
|
|
1372
|
+
auth?: AuthConfig;
|
|
1435
1373
|
};
|
|
1436
|
-
/** @returns {
|
|
1437
|
-
declare function
|
|
1438
|
-
type
|
|
1374
|
+
/** @returns {AuthConfig} */
|
|
1375
|
+
declare function AuthConfig(): AuthConfig;
|
|
1376
|
+
type AuthConfig = {
|
|
1439
1377
|
/**
|
|
1440
|
-
* -
|
|
1378
|
+
* - Whether to show header authentication or not
|
|
1441
1379
|
*/
|
|
1442
|
-
|
|
1380
|
+
show_header_auth?: boolean;
|
|
1443
1381
|
/**
|
|
1444
|
-
* -
|
|
1382
|
+
* - Whether to show footer authentication or not
|
|
1445
1383
|
*/
|
|
1446
|
-
|
|
1384
|
+
show_footer_auth?: boolean;
|
|
1447
1385
|
};
|
|
1448
|
-
/** @returns {
|
|
1449
|
-
declare function
|
|
1450
|
-
type
|
|
1386
|
+
/** @returns {Colors} */
|
|
1387
|
+
declare function Colors(): Colors;
|
|
1388
|
+
type Colors = {
|
|
1451
1389
|
/**
|
|
1452
|
-
* -
|
|
1390
|
+
* - The primary color
|
|
1453
1391
|
*/
|
|
1454
|
-
|
|
1455
|
-
settings?: ThemeConfigListPageSettingsProps;
|
|
1456
|
-
};
|
|
1457
|
-
/** @returns {ThemeConfigListPageSettingsProps} */
|
|
1458
|
-
declare function ThemeConfigListPageSettingsProps(): ThemeConfigListPageSettingsProps;
|
|
1459
|
-
type ThemeConfigListPageSettingsProps = {
|
|
1460
|
-
props?: any;
|
|
1461
|
-
};
|
|
1462
|
-
/** @returns {ThemeConfiguration} */
|
|
1463
|
-
declare function ThemeConfiguration(): ThemeConfiguration;
|
|
1464
|
-
type ThemeConfiguration = {
|
|
1465
|
-
global_config?: any;
|
|
1392
|
+
primary_color?: string;
|
|
1466
1393
|
/**
|
|
1467
|
-
* - The
|
|
1394
|
+
* - The secondary color
|
|
1468
1395
|
*/
|
|
1469
|
-
|
|
1396
|
+
secondary_color?: string;
|
|
1470
1397
|
/**
|
|
1471
|
-
* -
|
|
1398
|
+
* - The accent color
|
|
1399
|
+
*/
|
|
1400
|
+
accent_color?: string;
|
|
1401
|
+
/**
|
|
1402
|
+
* - The link color
|
|
1403
|
+
*/
|
|
1404
|
+
link_color?: string;
|
|
1405
|
+
/**
|
|
1406
|
+
* - The secondary button color
|
|
1407
|
+
*/
|
|
1408
|
+
button_secondary_color?: string;
|
|
1409
|
+
/**
|
|
1410
|
+
* - The background color
|
|
1472
1411
|
*/
|
|
1473
|
-
|
|
1412
|
+
bg_color?: string;
|
|
1474
1413
|
};
|
|
1475
|
-
/** @returns {
|
|
1476
|
-
declare function
|
|
1477
|
-
type
|
|
1414
|
+
/** @returns {Meta} */
|
|
1415
|
+
declare function Meta(): Meta;
|
|
1416
|
+
type Meta = {
|
|
1417
|
+
payment?: ThemePayment;
|
|
1478
1418
|
/**
|
|
1479
1419
|
* - The description of the theme
|
|
1480
1420
|
*/
|
|
1481
1421
|
description?: string;
|
|
1482
|
-
images?: Images;
|
|
1483
1422
|
/**
|
|
1484
1423
|
* - An array of industries associated with the theme
|
|
1485
1424
|
*/
|
|
1486
1425
|
industry?: string[];
|
|
1487
|
-
/**
|
|
1488
|
-
* - The name of the theme
|
|
1489
|
-
*/
|
|
1490
|
-
name?: string;
|
|
1491
|
-
payment?: ThemePayment;
|
|
1492
1426
|
release?: Release;
|
|
1427
|
+
images?: Images;
|
|
1493
1428
|
/**
|
|
1494
1429
|
* - The slug of the theme
|
|
1495
1430
|
*/
|
|
1496
1431
|
slug?: string;
|
|
1432
|
+
/**
|
|
1433
|
+
* - The name of the theme
|
|
1434
|
+
*/
|
|
1435
|
+
name?: string;
|
|
1497
1436
|
};
|
|
1498
1437
|
/** @returns {ThemePayment} */
|
|
1499
1438
|
declare function ThemePayment(): ThemePayment;
|
|
1500
1439
|
type ThemePayment = {
|
|
1440
|
+
/**
|
|
1441
|
+
* - Whether the theme is paid or not
|
|
1442
|
+
*/
|
|
1443
|
+
is_paid?: boolean;
|
|
1501
1444
|
/**
|
|
1502
1445
|
* - The amount of the theme
|
|
1503
1446
|
*/
|
|
1504
1447
|
amount?: number;
|
|
1448
|
+
};
|
|
1449
|
+
/** @returns {Release} */
|
|
1450
|
+
declare function Release(): Release;
|
|
1451
|
+
type Release = {
|
|
1452
|
+
/**
|
|
1453
|
+
* - The release notes of the theme
|
|
1454
|
+
*/
|
|
1455
|
+
notes?: string;
|
|
1456
|
+
/**
|
|
1457
|
+
* - The version of the theme
|
|
1458
|
+
*/
|
|
1459
|
+
version?: string;
|
|
1460
|
+
};
|
|
1461
|
+
/** @returns {Images} */
|
|
1462
|
+
declare function Images(): Images;
|
|
1463
|
+
type Images = {
|
|
1464
|
+
/**
|
|
1465
|
+
* - The URL of the desktop image
|
|
1466
|
+
*/
|
|
1467
|
+
desktop?: string;
|
|
1468
|
+
/**
|
|
1469
|
+
* - The URL of the mobile image
|
|
1470
|
+
*/
|
|
1471
|
+
mobile?: string;
|
|
1472
|
+
};
|
|
1473
|
+
/** @returns {Assets} */
|
|
1474
|
+
declare function Assets(): Assets;
|
|
1475
|
+
type Assets = {
|
|
1476
|
+
umd_js?: UMDJs;
|
|
1477
|
+
common_js?: CommonJS;
|
|
1478
|
+
css?: CSS;
|
|
1479
|
+
};
|
|
1480
|
+
/** @returns {UMDJs} */
|
|
1481
|
+
declare function UMDJs(): UMDJs;
|
|
1482
|
+
type UMDJs = {
|
|
1483
|
+
links?: string[];
|
|
1484
|
+
};
|
|
1485
|
+
/** @returns {CommonJS} */
|
|
1486
|
+
declare function CommonJS(): CommonJS;
|
|
1487
|
+
type CommonJS = {
|
|
1488
|
+
link?: string;
|
|
1489
|
+
};
|
|
1490
|
+
/** @returns {CSS} */
|
|
1491
|
+
declare function CSS(): CSS;
|
|
1492
|
+
type CSS = {
|
|
1493
|
+
links?: string[];
|
|
1494
|
+
};
|
|
1495
|
+
/** @returns {SectionItem} */
|
|
1496
|
+
declare function SectionItem(): SectionItem;
|
|
1497
|
+
type SectionItem = {
|
|
1498
|
+
props?: any[];
|
|
1505
1499
|
/**
|
|
1506
|
-
* -
|
|
1500
|
+
* - Blocks
|
|
1507
1501
|
*/
|
|
1508
|
-
|
|
1509
|
-
};
|
|
1510
|
-
/** @returns {ThemeRejectionReasons} */
|
|
1511
|
-
declare function ThemeRejectionReasons(): ThemeRejectionReasons;
|
|
1512
|
-
type ThemeRejectionReasons = {
|
|
1502
|
+
blocks?: any[];
|
|
1513
1503
|
/**
|
|
1514
|
-
* -
|
|
1504
|
+
* - Name of the section
|
|
1515
1505
|
*/
|
|
1516
|
-
|
|
1506
|
+
name?: string;
|
|
1517
1507
|
/**
|
|
1518
|
-
* -
|
|
1508
|
+
* - Label for the section
|
|
1519
1509
|
*/
|
|
1520
|
-
|
|
1510
|
+
label?: string;
|
|
1511
|
+
};
|
|
1512
|
+
/** @returns {GlobalSchema} */
|
|
1513
|
+
declare function GlobalSchema(): GlobalSchema;
|
|
1514
|
+
type GlobalSchema = {
|
|
1515
|
+
props?: Prop[];
|
|
1516
|
+
};
|
|
1517
|
+
/** @returns {Prop} */
|
|
1518
|
+
declare function Prop(): Prop;
|
|
1519
|
+
type Prop = {
|
|
1521
1520
|
/**
|
|
1522
|
-
* - The
|
|
1523
|
-
* reasons object was created
|
|
1521
|
+
* - The type of the property
|
|
1524
1522
|
*/
|
|
1525
|
-
|
|
1523
|
+
type?: string;
|
|
1526
1524
|
/**
|
|
1527
|
-
* -
|
|
1525
|
+
* - The category of the property
|
|
1528
1526
|
*/
|
|
1529
|
-
|
|
1527
|
+
category?: string;
|
|
1530
1528
|
/**
|
|
1531
|
-
* - The ID of the
|
|
1529
|
+
* - The ID of the property
|
|
1532
1530
|
*/
|
|
1533
|
-
|
|
1534
|
-
rejection_reasons: any;
|
|
1531
|
+
id?: string;
|
|
1535
1532
|
/**
|
|
1536
|
-
* - The
|
|
1533
|
+
* - The label of the property
|
|
1537
1534
|
*/
|
|
1538
|
-
|
|
1535
|
+
label?: string;
|
|
1539
1536
|
/**
|
|
1540
|
-
* -
|
|
1537
|
+
* - Additional information about the property
|
|
1541
1538
|
*/
|
|
1542
|
-
|
|
1539
|
+
info?: string;
|
|
1540
|
+
};
|
|
1541
|
+
/** @returns {Preset} */
|
|
1542
|
+
declare function Preset(): Preset;
|
|
1543
|
+
type Preset = {
|
|
1544
|
+
pages?: Page[];
|
|
1545
|
+
};
|
|
1546
|
+
/** @returns {Page} */
|
|
1547
|
+
declare function Page(): Page;
|
|
1548
|
+
type Page = {
|
|
1549
|
+
item_total?: number;
|
|
1550
|
+
next_id?: string;
|
|
1551
|
+
has_previous?: boolean;
|
|
1552
|
+
has_next?: boolean;
|
|
1553
|
+
current?: number;
|
|
1554
|
+
type: string;
|
|
1555
|
+
size?: number;
|
|
1556
|
+
};
|
|
1557
|
+
/** @returns {SectionProps} */
|
|
1558
|
+
declare function SectionProps(): SectionProps;
|
|
1559
|
+
type SectionProps = {
|
|
1560
|
+
title?: TextProp;
|
|
1561
|
+
item_margin?: TextProp;
|
|
1562
|
+
autoplay?: CheckboxProp;
|
|
1563
|
+
slide_interval?: RangeProp;
|
|
1564
|
+
};
|
|
1565
|
+
/** @returns {SectionPreset} */
|
|
1566
|
+
declare function SectionPreset(): SectionPreset;
|
|
1567
|
+
type SectionPreset = {
|
|
1568
|
+
blocks?: Block[];
|
|
1569
|
+
};
|
|
1570
|
+
/** @returns {ImagePickerProp} */
|
|
1571
|
+
declare function ImagePickerProp(): ImagePickerProp;
|
|
1572
|
+
type ImagePickerProp = {
|
|
1543
1573
|
/**
|
|
1544
|
-
* - The
|
|
1545
|
-
* reasons object was last updated
|
|
1574
|
+
* - The type of the property.
|
|
1546
1575
|
*/
|
|
1547
|
-
|
|
1576
|
+
type?: string;
|
|
1548
1577
|
/**
|
|
1549
|
-
* - The
|
|
1578
|
+
* - The value of the image picker property.
|
|
1550
1579
|
*/
|
|
1551
|
-
|
|
1580
|
+
value?: string;
|
|
1552
1581
|
};
|
|
1553
|
-
/** @returns {
|
|
1554
|
-
declare function
|
|
1555
|
-
type
|
|
1582
|
+
/** @returns {UrlProp} */
|
|
1583
|
+
declare function UrlProp(): UrlProp;
|
|
1584
|
+
type UrlProp = {
|
|
1556
1585
|
/**
|
|
1557
|
-
* - The
|
|
1586
|
+
* - The type of the property.
|
|
1558
1587
|
*/
|
|
1559
|
-
|
|
1588
|
+
type?: string;
|
|
1560
1589
|
/**
|
|
1561
|
-
* - The
|
|
1590
|
+
* - The value of the URL property.
|
|
1562
1591
|
*/
|
|
1563
|
-
|
|
1592
|
+
value?: string;
|
|
1593
|
+
};
|
|
1594
|
+
/** @returns {BlockProps} */
|
|
1595
|
+
declare function BlockProps(): BlockProps;
|
|
1596
|
+
type BlockProps = {
|
|
1597
|
+
image?: ImagePickerProp;
|
|
1598
|
+
slide_link?: UrlProp;
|
|
1599
|
+
};
|
|
1600
|
+
/** @returns {TextProp} */
|
|
1601
|
+
declare function TextProp(): TextProp;
|
|
1602
|
+
type TextProp = {
|
|
1564
1603
|
/**
|
|
1565
|
-
* -
|
|
1604
|
+
* - The value of the text property.
|
|
1566
1605
|
*/
|
|
1567
|
-
|
|
1568
|
-
assets?: Assets;
|
|
1606
|
+
value?: string;
|
|
1569
1607
|
/**
|
|
1570
|
-
* -
|
|
1608
|
+
* - The type of the property.
|
|
1571
1609
|
*/
|
|
1572
|
-
|
|
1610
|
+
type?: string;
|
|
1611
|
+
};
|
|
1612
|
+
/** @returns {CheckboxProp} */
|
|
1613
|
+
declare function CheckboxProp(): CheckboxProp;
|
|
1614
|
+
type CheckboxProp = {
|
|
1573
1615
|
/**
|
|
1574
|
-
* - The
|
|
1616
|
+
* - The value of the checkbox property.
|
|
1575
1617
|
*/
|
|
1576
|
-
|
|
1577
|
-
config?: Config;
|
|
1618
|
+
value?: boolean;
|
|
1578
1619
|
/**
|
|
1579
|
-
* - The
|
|
1620
|
+
* - The type of the property.
|
|
1580
1621
|
*/
|
|
1581
|
-
|
|
1582
|
-
|
|
1622
|
+
type?: string;
|
|
1623
|
+
};
|
|
1624
|
+
/** @returns {RangeProp} */
|
|
1625
|
+
declare function RangeProp(): RangeProp;
|
|
1626
|
+
type RangeProp = {
|
|
1583
1627
|
/**
|
|
1584
|
-
* -
|
|
1628
|
+
* - The value of the range property.
|
|
1585
1629
|
*/
|
|
1586
|
-
|
|
1630
|
+
value?: number;
|
|
1587
1631
|
/**
|
|
1588
|
-
* - The
|
|
1632
|
+
* - The type of the property.
|
|
1589
1633
|
*/
|
|
1590
|
-
|
|
1591
|
-
|
|
1634
|
+
type?: string;
|
|
1635
|
+
};
|
|
1636
|
+
/** @returns {Section} */
|
|
1637
|
+
declare function Section(): Section;
|
|
1638
|
+
type Section = {
|
|
1639
|
+
blocks?: Block[];
|
|
1640
|
+
predicate?: Predicate;
|
|
1592
1641
|
/**
|
|
1593
|
-
* - The name of the
|
|
1642
|
+
* - The name of the section.
|
|
1594
1643
|
*/
|
|
1595
1644
|
name?: string;
|
|
1596
|
-
|
|
1645
|
+
props?: SectionProps;
|
|
1646
|
+
preset?: SectionPreset;
|
|
1647
|
+
};
|
|
1648
|
+
/** @returns {Block} */
|
|
1649
|
+
declare function Block(): Block;
|
|
1650
|
+
type Block = {
|
|
1597
1651
|
/**
|
|
1598
|
-
* - The
|
|
1652
|
+
* - The type of the block.
|
|
1599
1653
|
*/
|
|
1600
|
-
|
|
1654
|
+
type?: string;
|
|
1601
1655
|
/**
|
|
1602
|
-
* -
|
|
1656
|
+
* - The name of the block.
|
|
1603
1657
|
*/
|
|
1604
|
-
|
|
1658
|
+
name?: string;
|
|
1659
|
+
props?: BlockProps;
|
|
1660
|
+
};
|
|
1661
|
+
/** @returns {Predicate} */
|
|
1662
|
+
declare function Predicate(): Predicate;
|
|
1663
|
+
type Predicate = {
|
|
1664
|
+
screen?: Screen;
|
|
1665
|
+
user?: ThemeUserSchema;
|
|
1666
|
+
route?: Route;
|
|
1667
|
+
};
|
|
1668
|
+
/** @returns {Screen} */
|
|
1669
|
+
declare function Screen(): Screen;
|
|
1670
|
+
type Screen = {
|
|
1605
1671
|
/**
|
|
1606
|
-
* -
|
|
1672
|
+
* - True if the screen is a mobile device.
|
|
1607
1673
|
*/
|
|
1608
|
-
|
|
1609
|
-
theme_type?: string;
|
|
1674
|
+
mobile?: boolean;
|
|
1610
1675
|
/**
|
|
1611
|
-
* -
|
|
1676
|
+
* - True if the screen is a desktop device.
|
|
1612
1677
|
*/
|
|
1613
|
-
|
|
1678
|
+
desktop?: boolean;
|
|
1614
1679
|
/**
|
|
1615
|
-
* -
|
|
1680
|
+
* - True if the screen is a tablet device.
|
|
1616
1681
|
*/
|
|
1617
|
-
|
|
1682
|
+
tablet?: boolean;
|
|
1618
1683
|
};
|
|
1619
1684
|
/** @returns {ThemeUserSchema} */
|
|
1620
1685
|
declare function ThemeUserSchema(): ThemeUserSchema;
|
|
1621
1686
|
type ThemeUserSchema = {
|
|
1687
|
+
/**
|
|
1688
|
+
* - True if the user is authenticated.
|
|
1689
|
+
*/
|
|
1690
|
+
authenticated?: boolean;
|
|
1622
1691
|
/**
|
|
1623
1692
|
* - True if the user is anonymous.
|
|
1624
1693
|
*/
|
|
1625
1694
|
anonymous?: boolean;
|
|
1695
|
+
};
|
|
1696
|
+
/** @returns {Route} */
|
|
1697
|
+
declare function Route(): Route;
|
|
1698
|
+
type Route = {
|
|
1626
1699
|
/**
|
|
1627
|
-
* -
|
|
1700
|
+
* - The selected route.
|
|
1628
1701
|
*/
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
link?: string;
|
|
1635
|
-
links?: string[];
|
|
1702
|
+
selected?: string;
|
|
1703
|
+
/**
|
|
1704
|
+
* - The exact URL of the route.
|
|
1705
|
+
*/
|
|
1706
|
+
exact_url?: string;
|
|
1636
1707
|
};
|
|
1637
1708
|
/** @returns {UpdateThemeRequestBody} */
|
|
1638
1709
|
declare function UpdateThemeRequestBody(): UpdateThemeRequestBody;
|
|
@@ -1640,49 +1711,3 @@ type UpdateThemeRequestBody = {
|
|
|
1640
1711
|
config?: Config;
|
|
1641
1712
|
font?: Font;
|
|
1642
1713
|
};
|
|
1643
|
-
/** @returns {UrlProp} */
|
|
1644
|
-
declare function UrlProp(): UrlProp;
|
|
1645
|
-
type UrlProp = {
|
|
1646
|
-
/**
|
|
1647
|
-
* - The type of the property.
|
|
1648
|
-
*/
|
|
1649
|
-
type?: string;
|
|
1650
|
-
/**
|
|
1651
|
-
* - The value of the URL property.
|
|
1652
|
-
*/
|
|
1653
|
-
value?: string;
|
|
1654
|
-
};
|
|
1655
|
-
/** @returns {UserAlerts} */
|
|
1656
|
-
declare function UserAlerts(): UserAlerts;
|
|
1657
|
-
type UserAlerts = {
|
|
1658
|
-
error_background?: string;
|
|
1659
|
-
error_text?: string;
|
|
1660
|
-
info_background?: string;
|
|
1661
|
-
info_text?: string;
|
|
1662
|
-
success_background?: string;
|
|
1663
|
-
success_text?: string;
|
|
1664
|
-
};
|
|
1665
|
-
/** @returns {Variation} */
|
|
1666
|
-
declare function Variation(): Variation;
|
|
1667
|
-
type Variation = {
|
|
1668
|
-
/**
|
|
1669
|
-
* - Variation color
|
|
1670
|
-
*/
|
|
1671
|
-
color?: string;
|
|
1672
|
-
/**
|
|
1673
|
-
* - Variation demo URL
|
|
1674
|
-
*/
|
|
1675
|
-
demo_url?: string;
|
|
1676
|
-
images?: MarketplaceThemeImages;
|
|
1677
|
-
/**
|
|
1678
|
-
* - Variation name
|
|
1679
|
-
*/
|
|
1680
|
-
name?: string;
|
|
1681
|
-
};
|
|
1682
|
-
/**
|
|
1683
|
-
* Enum: PageType Used By: Theme
|
|
1684
|
-
*
|
|
1685
|
-
* @returns {PageType}
|
|
1686
|
-
*/
|
|
1687
|
-
declare function PageType(): PageType;
|
|
1688
|
-
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-emails" | "profile-phones" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status";
|