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