@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
|
@@ -3,15 +3,26 @@ export = ThemePlatformModel;
|
|
|
3
3
|
* @typedef AddThemeRequestSchema
|
|
4
4
|
* @property {string} [theme_id]
|
|
5
5
|
*/
|
|
6
|
+
/**
|
|
7
|
+
* @typedef AdvanceSetting
|
|
8
|
+
* @property {DividerStrokeHighlightSetting} [divider_stroke_highlight]
|
|
9
|
+
* @property {OverlayPopupSetting} [overlay_popup]
|
|
10
|
+
* @property {UserAlertsSetting} [user_alerts]
|
|
11
|
+
*/
|
|
6
12
|
/**
|
|
7
13
|
* @typedef AllAvailablePageSchema
|
|
8
14
|
* @property {AvailablePageSchema[]} [pages]
|
|
9
15
|
*/
|
|
10
16
|
/**
|
|
11
|
-
* @typedef
|
|
12
|
-
* @property {
|
|
13
|
-
* @property {
|
|
14
|
-
* @property {
|
|
17
|
+
* @typedef Assets
|
|
18
|
+
* @property {CommonJS} [common_js]
|
|
19
|
+
* @property {CSS} [css]
|
|
20
|
+
* @property {UMDJs} [umd_js]
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* @typedef AuthConfig
|
|
24
|
+
* @property {boolean} [show_footer_auth] - Whether to show footer authentication or not
|
|
25
|
+
* @property {boolean} [show_header_auth] - Whether to show header authentication or not
|
|
15
26
|
*/
|
|
16
27
|
/**
|
|
17
28
|
* @typedef AvailablePagePredicate
|
|
@@ -68,13 +79,6 @@ export = ThemePlatformModel;
|
|
|
68
79
|
* @property {boolean} [anonymous]
|
|
69
80
|
* @property {boolean} [authenticated]
|
|
70
81
|
*/
|
|
71
|
-
/**
|
|
72
|
-
* @typedef availableSectionSchema
|
|
73
|
-
* @property {Blocks[]} [blocks]
|
|
74
|
-
* @property {string} [label]
|
|
75
|
-
* @property {string} [name]
|
|
76
|
-
* @property {BlocksProps[]} [props]
|
|
77
|
-
*/
|
|
78
82
|
/**
|
|
79
83
|
* @typedef BlitzkriegApiErrorSchema
|
|
80
84
|
* @property {string} [message]
|
|
@@ -84,64 +88,116 @@ export = ThemePlatformModel;
|
|
|
84
88
|
* @property {string} [message]
|
|
85
89
|
*/
|
|
86
90
|
/**
|
|
87
|
-
* @typedef
|
|
88
|
-
* @property {string} [
|
|
91
|
+
* @typedef Block
|
|
92
|
+
* @property {string} [name] - The name of the block.
|
|
93
|
+
* @property {BlockProps} [props]
|
|
94
|
+
* @property {string} [type] - The type of the block.
|
|
89
95
|
*/
|
|
90
96
|
/**
|
|
91
|
-
* @typedef
|
|
92
|
-
* @property {
|
|
93
|
-
* @property {
|
|
94
|
-
* @property {string} [type]
|
|
97
|
+
* @typedef BlockProps
|
|
98
|
+
* @property {ImagePickerProp} [image]
|
|
99
|
+
* @property {UrlProp} [slide_link]
|
|
95
100
|
*/
|
|
96
101
|
/**
|
|
97
|
-
* @typedef
|
|
98
|
-
* @property {string} [
|
|
99
|
-
* @property {string} [
|
|
100
|
-
* @property {string} [
|
|
102
|
+
* @typedef ButtonSetting
|
|
103
|
+
* @property {string} [button_link] - The button link color
|
|
104
|
+
* @property {string} [button_primary] - The primary button color
|
|
105
|
+
* @property {string} [button_secondary] - The secondary button color
|
|
101
106
|
*/
|
|
102
107
|
/**
|
|
103
|
-
* @typedef
|
|
104
|
-
* @property {string} [
|
|
105
|
-
* @property {
|
|
108
|
+
* @typedef CheckboxProp
|
|
109
|
+
* @property {string} [type] - The type of the property.
|
|
110
|
+
* @property {boolean} [value] - The value of the checkbox property.
|
|
106
111
|
*/
|
|
107
112
|
/**
|
|
108
113
|
* @typedef Colors
|
|
109
|
-
* @property {string} [accent_color]
|
|
110
|
-
* @property {string} [bg_color]
|
|
111
|
-
* @property {string} [button_secondary_color]
|
|
112
|
-
* @property {string} [link_color]
|
|
113
|
-
* @property {string} [primary_color]
|
|
114
|
-
* @property {string} [secondary_color]
|
|
114
|
+
* @property {string} [accent_color] - The accent color
|
|
115
|
+
* @property {string} [bg_color] - The background color
|
|
116
|
+
* @property {string} [button_secondary_color] - The secondary button color
|
|
117
|
+
* @property {string} [link_color] - The link color
|
|
118
|
+
* @property {string} [primary_color] - The primary color
|
|
119
|
+
* @property {string} [secondary_color] - The secondary color
|
|
115
120
|
*/
|
|
116
121
|
/**
|
|
117
|
-
* @typedef
|
|
122
|
+
* @typedef CommonJS
|
|
118
123
|
* @property {string} [link]
|
|
119
124
|
*/
|
|
125
|
+
/**
|
|
126
|
+
* @typedef CompanyThemeSchema
|
|
127
|
+
* @property {string} [_id] - The unique identifier for the theme.
|
|
128
|
+
* @property {number} [company_id] - The ID of the company that the theme belongs to.
|
|
129
|
+
* @property {string} [created_at] - The timestamp when the theme was created.
|
|
130
|
+
* @property {MarketplaceThemeId} [marketplace_theme_id]
|
|
131
|
+
* @property {ThemeMeta} [meta]
|
|
132
|
+
* @property {string} [name] - The name of the theme.
|
|
133
|
+
* @property {string} [updated_at] - The timestamp when the theme was last updated.
|
|
134
|
+
*/
|
|
120
135
|
/**
|
|
121
136
|
* @typedef Config
|
|
122
|
-
* @property {string}
|
|
137
|
+
* @property {string} current - The current configuration
|
|
123
138
|
* @property {GlobalSchema} [global_schema]
|
|
124
|
-
* @property {
|
|
139
|
+
* @property {ThemeConfiguration[]} list - A list of configurations
|
|
125
140
|
* @property {Preset} [preset]
|
|
126
141
|
*/
|
|
127
142
|
/**
|
|
128
|
-
* @typedef
|
|
129
|
-
* @property {string} [
|
|
130
|
-
* @property {Object} [settings]
|
|
143
|
+
* @typedef CSS
|
|
144
|
+
* @property {string[]} [links]
|
|
131
145
|
*/
|
|
132
146
|
/**
|
|
133
|
-
* @typedef
|
|
134
|
-
* @property {
|
|
135
|
-
* @property {string[]} [links]
|
|
147
|
+
* @typedef CustomConfig
|
|
148
|
+
* @property {CustomProps} [props]
|
|
136
149
|
*/
|
|
137
150
|
/**
|
|
138
|
-
* @typedef
|
|
139
|
-
* @property {
|
|
151
|
+
* @typedef CustomProps
|
|
152
|
+
* @property {string} [button_add_to_cart_color] - The add to cart button color
|
|
153
|
+
* @property {string} [button_add_to_cart_label_color] - The add to cart button
|
|
154
|
+
* label color
|
|
155
|
+
* @property {string} [button_primary_color] - The primary button color
|
|
156
|
+
* @property {string} [button_primary_label_color] - The primary button label color
|
|
157
|
+
* @property {string} [button_secondary_color] - The secondary button color
|
|
158
|
+
* @property {string} [button_secondary_label_color] - The secondary button label color
|
|
159
|
+
* @property {string} [button_tertiary_color] - The tertiary button color
|
|
160
|
+
* @property {string} [button_tertiary_hover_color] - The tertiary button hover color
|
|
161
|
+
* @property {string} [button_tertiary_hover_text_color] - The tertiary button
|
|
162
|
+
* hover text color
|
|
163
|
+
* @property {string} [button_tertiary_label_color] - The tertiary button label color
|
|
164
|
+
* @property {boolean} [disable_cart] - Whether to disable the cart or not
|
|
165
|
+
* @property {string} [footer_bg_color] - The footer background color
|
|
166
|
+
* @property {string} [footer_border_color] - The footer border color
|
|
167
|
+
* @property {string} [footer_nav_hover_color] - The footer navigation hover color
|
|
168
|
+
* @property {string} [footer_text_color] - The footer text color
|
|
169
|
+
* @property {string} [header_bg_color] - The header background color
|
|
170
|
+
* @property {string} [header_border_color] - The header border color
|
|
171
|
+
* @property {string} [header_cart_notification_bg_color] - The header cart
|
|
172
|
+
* notification background color
|
|
173
|
+
* @property {string} [header_cart_notification_text_color] - The header cart
|
|
174
|
+
* notification text color
|
|
175
|
+
* @property {string} [header_icon_color] - The header icon color
|
|
176
|
+
* @property {string} [header_nav_hover_color] - The header navigation hover color
|
|
177
|
+
* @property {string} [header_text_color] - The header text color
|
|
178
|
+
* @property {boolean} [is_menu_below_logo] - Whether the menu is below the logo or not
|
|
179
|
+
* @property {string} [menu_position] - The position of the menu
|
|
180
|
+
* @property {string} [text_body_color] - The text body color
|
|
181
|
+
* @property {string} [text_discount_color] - The text discount color
|
|
182
|
+
* @property {string} [text_heading_link_color] - The text heading link color
|
|
183
|
+
* @property {string} [text_price_color] - The text price color
|
|
184
|
+
* @property {string} [text_sale_price_color] - The text sale price color
|
|
185
|
+
* @property {string} [text_strikethrough_price_color] - The text strikethrough
|
|
186
|
+
* price color
|
|
187
|
+
*/
|
|
188
|
+
/**
|
|
189
|
+
* @typedef DividerStrokeHighlightSetting
|
|
190
|
+
* @property {string} [divider_strokes] - The divider strokes color
|
|
191
|
+
* @property {string} [highlight] - The highlight color
|
|
192
|
+
*/
|
|
193
|
+
/**
|
|
194
|
+
* @typedef DummyResponse
|
|
195
|
+
* @property {string} [message]
|
|
140
196
|
*/
|
|
141
197
|
/**
|
|
142
198
|
* @typedef Font
|
|
143
|
-
* @property {string}
|
|
144
|
-
* @property {
|
|
199
|
+
* @property {string} family - The font family
|
|
200
|
+
* @property {FontVariants} variants
|
|
145
201
|
*/
|
|
146
202
|
/**
|
|
147
203
|
* @typedef FontsSchema
|
|
@@ -165,146 +221,329 @@ export = ThemePlatformModel;
|
|
|
165
221
|
* @property {string} [italic]
|
|
166
222
|
* @property {string} [regular]
|
|
167
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 {CustomConfig} [custom]
|
|
257
|
+
* @property {StaticConfig} [statics]
|
|
258
|
+
*/
|
|
168
259
|
/**
|
|
169
260
|
* @typedef GlobalSchema
|
|
170
|
-
* @property {
|
|
261
|
+
* @property {Prop[]} [props]
|
|
171
262
|
*/
|
|
172
263
|
/**
|
|
173
|
-
* @typedef
|
|
174
|
-
* @property {string} [
|
|
175
|
-
* @property {string} [
|
|
176
|
-
* @property {string} [
|
|
177
|
-
* @property {string} [type]
|
|
264
|
+
* @typedef HeaderSetting
|
|
265
|
+
* @property {string} [header_background] - The header background color
|
|
266
|
+
* @property {string} [header_icon] - The header icon color
|
|
267
|
+
* @property {string} [header_nav] - The header navigation color
|
|
178
268
|
*/
|
|
179
269
|
/**
|
|
180
|
-
* @typedef
|
|
181
|
-
* @property {string
|
|
182
|
-
* @property {string
|
|
183
|
-
* @property {string[]} [ios]
|
|
184
|
-
* @property {string[]} [thumbnail]
|
|
270
|
+
* @typedef ImagePickerProp
|
|
271
|
+
* @property {string} [type] - The type of the property.
|
|
272
|
+
* @property {string} [value] - The value of the image picker property.
|
|
185
273
|
*/
|
|
186
274
|
/**
|
|
187
|
-
* @typedef
|
|
188
|
-
* @property {string} [
|
|
189
|
-
* @property {string
|
|
190
|
-
* @property {Images} [images]
|
|
191
|
-
* @property {string} [name]
|
|
275
|
+
* @typedef Images
|
|
276
|
+
* @property {string} [desktop] - The URL of the desktop image
|
|
277
|
+
* @property {string} [mobile] - The URL of the mobile image
|
|
192
278
|
*/
|
|
193
279
|
/**
|
|
194
|
-
* @typedef
|
|
195
|
-
* @property {string} [
|
|
196
|
-
* @property {
|
|
280
|
+
* @typedef MarketplaceThemeId
|
|
281
|
+
* @property {string} [_id] - The unique identifier for the marketplace theme.
|
|
282
|
+
* @property {boolean} [is_default] - Whether the theme is the default theme.
|
|
197
283
|
*/
|
|
198
284
|
/**
|
|
199
|
-
* @typedef
|
|
200
|
-
* @property {
|
|
201
|
-
* @property {
|
|
202
|
-
* @property {
|
|
285
|
+
* @typedef Meta
|
|
286
|
+
* @property {string} [description] - The description of the theme
|
|
287
|
+
* @property {Images} [images]
|
|
288
|
+
* @property {string[]} [industry] - An array of industries associated with the theme
|
|
289
|
+
* @property {string} [name] - The name of the theme
|
|
290
|
+
* @property {ThemePayment} [payment]
|
|
291
|
+
* @property {Release} [release]
|
|
292
|
+
* @property {string} [slug] - The slug of the theme
|
|
203
293
|
*/
|
|
204
294
|
/**
|
|
205
|
-
* @typedef
|
|
206
|
-
* @property {string} [
|
|
207
|
-
* @property {string} [
|
|
295
|
+
* @typedef OverlayPopupSetting
|
|
296
|
+
* @property {string} [dialog_backgroung] - The dialog background color
|
|
297
|
+
* @property {string} [overlay] - The overlay color
|
|
208
298
|
*/
|
|
209
299
|
/**
|
|
210
|
-
* @typedef
|
|
300
|
+
* @typedef Page
|
|
211
301
|
* @property {number} [current]
|
|
212
302
|
* @property {boolean} [has_next]
|
|
303
|
+
* @property {boolean} [has_previous]
|
|
213
304
|
* @property {number} [item_total]
|
|
305
|
+
* @property {string} [next_id]
|
|
214
306
|
* @property {number} [size]
|
|
215
|
-
* @property {string}
|
|
307
|
+
* @property {string} type
|
|
308
|
+
*/
|
|
309
|
+
/**
|
|
310
|
+
* @typedef PaletteConfig
|
|
311
|
+
* @property {AdvanceSetting} [advance_setting]
|
|
312
|
+
* @property {GeneralSetting} [general_setting]
|
|
313
|
+
*/
|
|
314
|
+
/**
|
|
315
|
+
* @typedef Predicate
|
|
316
|
+
* @property {Route} [route]
|
|
317
|
+
* @property {Screen} [screen]
|
|
318
|
+
* @property {ThemeUserSchema} [user]
|
|
216
319
|
*/
|
|
217
320
|
/**
|
|
218
321
|
* @typedef Preset
|
|
219
|
-
* @property {
|
|
322
|
+
* @property {Page[]} [pages]
|
|
220
323
|
*/
|
|
221
324
|
/**
|
|
222
|
-
* @typedef
|
|
223
|
-
* @property {string} [
|
|
224
|
-
* @property {string} [
|
|
325
|
+
* @typedef Prop
|
|
326
|
+
* @property {string} [category] - The category of the property
|
|
327
|
+
* @property {string} [id] - The ID of the property
|
|
328
|
+
* @property {string} [info] - Additional information about the property
|
|
329
|
+
* @property {string} [label] - The label of the property
|
|
330
|
+
* @property {string} [type] - The type of the property
|
|
225
331
|
*/
|
|
226
332
|
/**
|
|
227
|
-
* @typedef
|
|
228
|
-
* @property {string} [
|
|
333
|
+
* @typedef RangeProp
|
|
334
|
+
* @property {string} [type] - The type of the property.
|
|
335
|
+
* @property {number} [value] - The value of the range property.
|
|
229
336
|
*/
|
|
230
337
|
/**
|
|
231
|
-
* @typedef
|
|
232
|
-
* @property {string} [
|
|
233
|
-
* @property {string} [
|
|
338
|
+
* @typedef Release
|
|
339
|
+
* @property {string} [notes] - The release notes of the theme
|
|
340
|
+
* @property {string} [version] - The version of the theme
|
|
234
341
|
*/
|
|
235
342
|
/**
|
|
236
|
-
* @typedef
|
|
237
|
-
* @property {string} [
|
|
343
|
+
* @typedef Route
|
|
344
|
+
* @property {string} [exact_url] - The exact URL of the route.
|
|
345
|
+
* @property {string} [selected] - The selected route.
|
|
238
346
|
*/
|
|
239
347
|
/**
|
|
240
|
-
* @typedef
|
|
241
|
-
* @property {
|
|
242
|
-
* @property {
|
|
348
|
+
* @typedef SaleDiscountSetting
|
|
349
|
+
* @property {string} [sale_badge_background] - The sale badge background color
|
|
350
|
+
* @property {string} [sale_badge_text] - The sale badge text color
|
|
351
|
+
* @property {string} [sale_discount_text] - The sale discount text color
|
|
352
|
+
* @property {string} [sale_timer] - The sale timer color
|
|
243
353
|
*/
|
|
244
354
|
/**
|
|
245
|
-
* @typedef
|
|
246
|
-
* @property {
|
|
247
|
-
* @property {
|
|
248
|
-
* @property {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
* @
|
|
252
|
-
* @property {
|
|
355
|
+
* @typedef Screen
|
|
356
|
+
* @property {boolean} [desktop] - True if the screen is a desktop device.
|
|
357
|
+
* @property {boolean} [mobile] - True if the screen is a mobile device.
|
|
358
|
+
* @property {boolean} [tablet] - True if the screen is a tablet device.
|
|
359
|
+
*/
|
|
360
|
+
/**
|
|
361
|
+
* @typedef Section
|
|
362
|
+
* @property {Block[]} [blocks]
|
|
363
|
+
* @property {string} [name] - The name of the section.
|
|
364
|
+
* @property {Predicate} [predicate]
|
|
365
|
+
* @property {SectionPreset} [preset]
|
|
366
|
+
* @property {SectionProps} [props]
|
|
367
|
+
*/
|
|
368
|
+
/**
|
|
369
|
+
* @typedef SectionItem
|
|
370
|
+
* @property {Object[]} [blocks] - Blocks
|
|
371
|
+
* @property {string} [label] - Label for the section
|
|
372
|
+
* @property {string} [name] - Name of the section
|
|
373
|
+
* @property {Object[]} [props]
|
|
374
|
+
*/
|
|
375
|
+
/**
|
|
376
|
+
* @typedef SectionPreset
|
|
377
|
+
* @property {Block[]} [blocks]
|
|
378
|
+
*/
|
|
379
|
+
/**
|
|
380
|
+
* @typedef SectionProps
|
|
381
|
+
* @property {CheckboxProp} [autoplay]
|
|
382
|
+
* @property {TextProp} [item_margin]
|
|
383
|
+
* @property {RangeProp} [slide_interval]
|
|
384
|
+
* @property {TextProp} [title]
|
|
385
|
+
*/
|
|
386
|
+
/**
|
|
387
|
+
* @typedef StaticConfig
|
|
388
|
+
* @property {StaticProps} [props]
|
|
389
|
+
*/
|
|
390
|
+
/**
|
|
391
|
+
* @typedef StaticProps
|
|
392
|
+
* @property {AuthConfig} [auth]
|
|
253
393
|
* @property {Colors} [colors]
|
|
394
|
+
* @property {PaletteConfig} [palette]
|
|
395
|
+
*/
|
|
396
|
+
/**
|
|
397
|
+
* @typedef TextProp
|
|
398
|
+
* @property {string} [type] - The type of the property.
|
|
399
|
+
* @property {string} [value] - The value of the text property.
|
|
400
|
+
*/
|
|
401
|
+
/**
|
|
402
|
+
* @typedef TextSetting
|
|
403
|
+
* @property {string} [text_body] - The text body color
|
|
404
|
+
* @property {string} [text_heading] - The text heading color
|
|
405
|
+
* @property {string} [text_label] - The text label color
|
|
406
|
+
* @property {string} [text_secondary] - The secondary text color
|
|
407
|
+
*/
|
|
408
|
+
/**
|
|
409
|
+
* @typedef ThemeConfiguration
|
|
410
|
+
* @property {CustomConfig} [custom]
|
|
411
|
+
* @property {Object} [global_config]
|
|
412
|
+
* @property {string} [name] - The name of the configuration
|
|
413
|
+
* @property {string[]} [page] - An array of pages
|
|
414
|
+
*/
|
|
415
|
+
/**
|
|
416
|
+
* @typedef ThemeImages
|
|
417
|
+
* @property {string} [desktop] - The URL of the desktop image for the theme.
|
|
418
|
+
* @property {string} [mobile] - The URL of the mobile image for the theme.
|
|
419
|
+
*/
|
|
420
|
+
/**
|
|
421
|
+
* @typedef ThemeMeta
|
|
422
|
+
* @property {string} [description] - A description of the theme.
|
|
423
|
+
* @property {ThemeImages} [images]
|
|
424
|
+
* @property {string[]} [industry] - A list of industry categories the theme is
|
|
425
|
+
* suitable for.
|
|
426
|
+
* @property {ThemePayment} [payment]
|
|
427
|
+
* @property {string} [slug] - The slug for the theme.
|
|
428
|
+
*/
|
|
429
|
+
/**
|
|
430
|
+
* @typedef ThemePayment
|
|
431
|
+
* @property {number} [amount] - The amount to be paid for the theme.
|
|
432
|
+
* @property {boolean} [is_paid] - Whether the theme is a paid theme.
|
|
433
|
+
*/
|
|
434
|
+
/**
|
|
435
|
+
* @typedef ThemeReq
|
|
436
|
+
* @property {string} [marketplace_theme_id] - The ID of the marketplace theme
|
|
437
|
+
* to apply to the company.
|
|
438
|
+
*/
|
|
439
|
+
/**
|
|
440
|
+
* @typedef ThemeSetting
|
|
441
|
+
* @property {string} [page_background] - The page background color
|
|
442
|
+
* @property {string} [theme_accent] - The theme accent color
|
|
443
|
+
*/
|
|
444
|
+
/**
|
|
445
|
+
* @typedef ThemesSchema
|
|
446
|
+
* @property {string} [_id] - The unique identifier of the theme
|
|
447
|
+
* @property {string} [application_id] - The ID of the application
|
|
448
|
+
* @property {boolean} [applied] - Whether the theme has been applied or not
|
|
449
|
+
* @property {Assets} [assets]
|
|
450
|
+
* @property {SectionItem[]} [available_sections] - Available sections information
|
|
254
451
|
* @property {Config} [config]
|
|
255
|
-
* @property {string} [created_at]
|
|
256
|
-
* @property {boolean} [customized]
|
|
452
|
+
* @property {string} [created_at] - The creation timestamp of the theme
|
|
257
453
|
* @property {Font} [font]
|
|
258
|
-
* @property {
|
|
259
|
-
* @property {string} [
|
|
260
|
-
* @property {
|
|
261
|
-
* @property {
|
|
262
|
-
* @property {
|
|
263
|
-
* @property {
|
|
264
|
-
* @property {string
|
|
265
|
-
* @property {string} [updated_at]
|
|
266
|
-
* @property {string} [version]
|
|
454
|
+
* @property {boolean} [is_private] - Whether the theme is private or not
|
|
455
|
+
* @property {string} [marketplace_theme_id] - The ID of the theme in the marketplace
|
|
456
|
+
* @property {Meta} [meta]
|
|
457
|
+
* @property {string} [name] - The name of the theme
|
|
458
|
+
* @property {Object} [styles] - The styles associated with the theme
|
|
459
|
+
* @property {string[]} [tags] - An array of tags associated with the theme
|
|
460
|
+
* @property {string} [template_theme_id] - The ID of the template theme
|
|
461
|
+
* @property {string} [updated_at] - The last update timestamp of the theme
|
|
462
|
+
* @property {string} [version] - The version of the theme
|
|
267
463
|
*/
|
|
268
464
|
/**
|
|
269
|
-
* @typedef
|
|
270
|
-
* @property {string} [
|
|
465
|
+
* @typedef ThemeUpgradableResponse
|
|
466
|
+
* @property {string} [message] - A message describing the theme upgrade status
|
|
467
|
+
* @property {boolean} [upgrade] - Indicates if the theme is upgradable or not
|
|
468
|
+
* @property {ThemeVersions} [versions]
|
|
469
|
+
*/
|
|
470
|
+
/**
|
|
471
|
+
* @typedef ThemeUserSchema
|
|
472
|
+
* @property {boolean} [anonymous] - True if the user is anonymous.
|
|
473
|
+
* @property {boolean} [authenticated] - True if the user is authenticated.
|
|
474
|
+
*/
|
|
475
|
+
/**
|
|
476
|
+
* @typedef ThemeVersions
|
|
477
|
+
* @property {string} [applied_theme] - The version of the applied theme
|
|
478
|
+
* @property {string} [parent_theme] - The version of the parent theme
|
|
479
|
+
*/
|
|
480
|
+
/**
|
|
481
|
+
* @typedef UMDJs
|
|
271
482
|
* @property {string[]} [links]
|
|
272
483
|
*/
|
|
273
484
|
/**
|
|
274
|
-
* @typedef
|
|
275
|
-
* @property {string} [
|
|
276
|
-
|
|
277
|
-
|
|
485
|
+
* @typedef UpdateThemeNameRequestBody
|
|
486
|
+
* @property {string} [name] - The new name of the theme.
|
|
487
|
+
*/
|
|
488
|
+
/**
|
|
489
|
+
* @typedef UpdateThemeRequestBody
|
|
490
|
+
* @property {Config} [config]
|
|
491
|
+
* @property {Font} [font]
|
|
492
|
+
*/
|
|
493
|
+
/**
|
|
494
|
+
* @typedef UrlProp
|
|
495
|
+
* @property {string} [type] - The type of the property.
|
|
496
|
+
* @property {string} [value] - The value of the URL property.
|
|
278
497
|
*/
|
|
279
498
|
/**
|
|
280
|
-
* @typedef
|
|
281
|
-
* @property {
|
|
282
|
-
* @property {
|
|
283
|
-
* @property {
|
|
284
|
-
* @property {
|
|
285
|
-
* @property {
|
|
499
|
+
* @typedef UserAlertsSetting
|
|
500
|
+
* @property {string} [error_background] - The error background color
|
|
501
|
+
* @property {string} [error_text] - The error text color
|
|
502
|
+
* @property {string} [info_background] - The info background color
|
|
503
|
+
* @property {string} [info_text] - The info text color
|
|
504
|
+
* @property {string} [success_background] - The success background color
|
|
505
|
+
* @property {string} [success_text] - The success text color
|
|
286
506
|
*/
|
|
287
507
|
declare class ThemePlatformModel {
|
|
288
508
|
}
|
|
289
509
|
declare namespace ThemePlatformModel {
|
|
290
|
-
export { AddThemeRequestSchema, AllAvailablePageSchema,
|
|
510
|
+
export { AddThemeRequestSchema, AdvanceSetting, AllAvailablePageSchema, Assets, AuthConfig, AvailablePagePredicate, AvailablePageRoutePredicate, AvailablePageSchema, AvailablePageSchemaSections, AvailablePageScreenPredicate, AvailablePageSectionMetaAttributes, AvailablePageSeo, AvailablePageUserPredicate, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, Block, BlockProps, ButtonSetting, CheckboxProp, Colors, CommonJS, CompanyThemeSchema, Config, CSS, CustomConfig, CustomProps, DividerStrokeHighlightSetting, DummyResponse, Font, FontsSchema, FontsSchemaItems, FontsSchemaItemsFiles, FontVariant, FontVariants, FooterSetting, GeneralSetting, GlobalConfig, GlobalSchema, HeaderSetting, ImagePickerProp, Images, MarketplaceThemeId, Meta, OverlayPopupSetting, Page, PaletteConfig, Predicate, Preset, Prop, RangeProp, Release, Route, SaleDiscountSetting, Screen, Section, SectionItem, SectionPreset, SectionProps, StaticConfig, StaticProps, TextProp, TextSetting, ThemeConfiguration, ThemeImages, ThemeMeta, ThemePayment, ThemeReq, ThemeSetting, ThemesSchema, ThemeUpgradableResponse, ThemeUserSchema, ThemeVersions, UMDJs, UpdateThemeNameRequestBody, UpdateThemeRequestBody, UrlProp, UserAlertsSetting };
|
|
291
511
|
}
|
|
292
512
|
/** @returns {AddThemeRequestSchema} */
|
|
293
513
|
declare function AddThemeRequestSchema(): AddThemeRequestSchema;
|
|
294
514
|
type AddThemeRequestSchema = {
|
|
295
515
|
theme_id?: string;
|
|
296
516
|
};
|
|
517
|
+
/** @returns {AdvanceSetting} */
|
|
518
|
+
declare function AdvanceSetting(): AdvanceSetting;
|
|
519
|
+
type AdvanceSetting = {
|
|
520
|
+
divider_stroke_highlight?: DividerStrokeHighlightSetting;
|
|
521
|
+
overlay_popup?: OverlayPopupSetting;
|
|
522
|
+
user_alerts?: UserAlertsSetting;
|
|
523
|
+
};
|
|
297
524
|
/** @returns {AllAvailablePageSchema} */
|
|
298
525
|
declare function AllAvailablePageSchema(): AllAvailablePageSchema;
|
|
299
526
|
type AllAvailablePageSchema = {
|
|
300
527
|
pages?: AvailablePageSchema[];
|
|
301
528
|
};
|
|
302
|
-
/** @returns {
|
|
303
|
-
declare function
|
|
304
|
-
type
|
|
305
|
-
common_js?:
|
|
306
|
-
css?:
|
|
307
|
-
umd_js?:
|
|
529
|
+
/** @returns {Assets} */
|
|
530
|
+
declare function Assets(): Assets;
|
|
531
|
+
type Assets = {
|
|
532
|
+
common_js?: CommonJS;
|
|
533
|
+
css?: CSS;
|
|
534
|
+
umd_js?: UMDJs;
|
|
535
|
+
};
|
|
536
|
+
/** @returns {AuthConfig} */
|
|
537
|
+
declare function AuthConfig(): AuthConfig;
|
|
538
|
+
type AuthConfig = {
|
|
539
|
+
/**
|
|
540
|
+
* - Whether to show footer authentication or not
|
|
541
|
+
*/
|
|
542
|
+
show_footer_auth?: boolean;
|
|
543
|
+
/**
|
|
544
|
+
* - Whether to show header authentication or not
|
|
545
|
+
*/
|
|
546
|
+
show_header_auth?: boolean;
|
|
308
547
|
};
|
|
309
548
|
/** @returns {AvailablePagePredicate} */
|
|
310
549
|
declare function AvailablePagePredicate(): AvailablePagePredicate;
|
|
@@ -369,14 +608,6 @@ type AvailablePageUserPredicate = {
|
|
|
369
608
|
anonymous?: boolean;
|
|
370
609
|
authenticated?: boolean;
|
|
371
610
|
};
|
|
372
|
-
/** @returns {availableSectionSchema} */
|
|
373
|
-
declare function availableSectionSchema(): availableSectionSchema;
|
|
374
|
-
type availableSectionSchema = {
|
|
375
|
-
blocks?: Blocks[];
|
|
376
|
-
label?: string;
|
|
377
|
-
name?: string;
|
|
378
|
-
props?: BlocksProps[];
|
|
379
|
-
};
|
|
380
611
|
/** @returns {BlitzkriegApiErrorSchema} */
|
|
381
612
|
declare function BlitzkriegApiErrorSchema(): BlitzkriegApiErrorSchema;
|
|
382
613
|
type BlitzkriegApiErrorSchema = {
|
|
@@ -387,76 +618,290 @@ declare function BlitzkriegInternalServerErrorSchema(): BlitzkriegInternalServer
|
|
|
387
618
|
type BlitzkriegInternalServerErrorSchema = {
|
|
388
619
|
message?: string;
|
|
389
620
|
};
|
|
390
|
-
/** @returns {
|
|
391
|
-
declare function
|
|
392
|
-
type
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
declare function Blocks(): Blocks;
|
|
397
|
-
type Blocks = {
|
|
621
|
+
/** @returns {Block} */
|
|
622
|
+
declare function Block(): Block;
|
|
623
|
+
type Block = {
|
|
624
|
+
/**
|
|
625
|
+
* - The name of the block.
|
|
626
|
+
*/
|
|
398
627
|
name?: string;
|
|
399
|
-
props?:
|
|
628
|
+
props?: BlockProps;
|
|
629
|
+
/**
|
|
630
|
+
* - The type of the block.
|
|
631
|
+
*/
|
|
400
632
|
type?: string;
|
|
401
633
|
};
|
|
402
|
-
/** @returns {
|
|
403
|
-
declare function
|
|
404
|
-
type
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
type?: string;
|
|
634
|
+
/** @returns {BlockProps} */
|
|
635
|
+
declare function BlockProps(): BlockProps;
|
|
636
|
+
type BlockProps = {
|
|
637
|
+
image?: ImagePickerProp;
|
|
638
|
+
slide_link?: UrlProp;
|
|
408
639
|
};
|
|
409
|
-
/** @returns {
|
|
410
|
-
declare function
|
|
411
|
-
type
|
|
412
|
-
|
|
413
|
-
|
|
640
|
+
/** @returns {ButtonSetting} */
|
|
641
|
+
declare function ButtonSetting(): ButtonSetting;
|
|
642
|
+
type ButtonSetting = {
|
|
643
|
+
/**
|
|
644
|
+
* - The button link color
|
|
645
|
+
*/
|
|
646
|
+
button_link?: string;
|
|
647
|
+
/**
|
|
648
|
+
* - The primary button color
|
|
649
|
+
*/
|
|
650
|
+
button_primary?: string;
|
|
651
|
+
/**
|
|
652
|
+
* - The secondary button color
|
|
653
|
+
*/
|
|
654
|
+
button_secondary?: string;
|
|
655
|
+
};
|
|
656
|
+
/** @returns {CheckboxProp} */
|
|
657
|
+
declare function CheckboxProp(): CheckboxProp;
|
|
658
|
+
type CheckboxProp = {
|
|
659
|
+
/**
|
|
660
|
+
* - The type of the property.
|
|
661
|
+
*/
|
|
662
|
+
type?: string;
|
|
663
|
+
/**
|
|
664
|
+
* - The value of the checkbox property.
|
|
665
|
+
*/
|
|
666
|
+
value?: boolean;
|
|
414
667
|
};
|
|
415
668
|
/** @returns {Colors} */
|
|
416
669
|
declare function Colors(): Colors;
|
|
417
670
|
type Colors = {
|
|
671
|
+
/**
|
|
672
|
+
* - The accent color
|
|
673
|
+
*/
|
|
418
674
|
accent_color?: string;
|
|
675
|
+
/**
|
|
676
|
+
* - The background color
|
|
677
|
+
*/
|
|
419
678
|
bg_color?: string;
|
|
679
|
+
/**
|
|
680
|
+
* - The secondary button color
|
|
681
|
+
*/
|
|
420
682
|
button_secondary_color?: string;
|
|
683
|
+
/**
|
|
684
|
+
* - The link color
|
|
685
|
+
*/
|
|
421
686
|
link_color?: string;
|
|
687
|
+
/**
|
|
688
|
+
* - The primary color
|
|
689
|
+
*/
|
|
422
690
|
primary_color?: string;
|
|
691
|
+
/**
|
|
692
|
+
* - The secondary color
|
|
693
|
+
*/
|
|
423
694
|
secondary_color?: string;
|
|
424
695
|
};
|
|
425
|
-
/** @returns {
|
|
426
|
-
declare function
|
|
427
|
-
type
|
|
696
|
+
/** @returns {CommonJS} */
|
|
697
|
+
declare function CommonJS(): CommonJS;
|
|
698
|
+
type CommonJS = {
|
|
428
699
|
link?: string;
|
|
429
700
|
};
|
|
701
|
+
/** @returns {CompanyThemeSchema} */
|
|
702
|
+
declare function CompanyThemeSchema(): CompanyThemeSchema;
|
|
703
|
+
type CompanyThemeSchema = {
|
|
704
|
+
/**
|
|
705
|
+
* - The unique identifier for the theme.
|
|
706
|
+
*/
|
|
707
|
+
_id?: string;
|
|
708
|
+
/**
|
|
709
|
+
* - The ID of the company that the theme belongs to.
|
|
710
|
+
*/
|
|
711
|
+
company_id?: number;
|
|
712
|
+
/**
|
|
713
|
+
* - The timestamp when the theme was created.
|
|
714
|
+
*/
|
|
715
|
+
created_at?: string;
|
|
716
|
+
marketplace_theme_id?: MarketplaceThemeId;
|
|
717
|
+
meta?: ThemeMeta;
|
|
718
|
+
/**
|
|
719
|
+
* - The name of the theme.
|
|
720
|
+
*/
|
|
721
|
+
name?: string;
|
|
722
|
+
/**
|
|
723
|
+
* - The timestamp when the theme was last updated.
|
|
724
|
+
*/
|
|
725
|
+
updated_at?: string;
|
|
726
|
+
};
|
|
430
727
|
/** @returns {Config} */
|
|
431
728
|
declare function Config(): Config;
|
|
432
729
|
type Config = {
|
|
433
|
-
|
|
730
|
+
/**
|
|
731
|
+
* - The current configuration
|
|
732
|
+
*/
|
|
733
|
+
current: string;
|
|
434
734
|
global_schema?: GlobalSchema;
|
|
435
|
-
|
|
735
|
+
/**
|
|
736
|
+
* - A list of configurations
|
|
737
|
+
*/
|
|
738
|
+
list: ThemeConfiguration[];
|
|
436
739
|
preset?: Preset;
|
|
437
740
|
};
|
|
438
|
-
/** @returns {
|
|
439
|
-
declare function
|
|
440
|
-
type
|
|
441
|
-
page?: string;
|
|
442
|
-
settings?: any;
|
|
443
|
-
};
|
|
444
|
-
/** @returns {Css} */
|
|
445
|
-
declare function Css(): Css;
|
|
446
|
-
type Css = {
|
|
447
|
-
link?: string;
|
|
741
|
+
/** @returns {CSS} */
|
|
742
|
+
declare function CSS(): CSS;
|
|
743
|
+
type CSS = {
|
|
448
744
|
links?: string[];
|
|
449
745
|
};
|
|
450
|
-
/** @returns {
|
|
451
|
-
declare function
|
|
452
|
-
type
|
|
453
|
-
props?:
|
|
746
|
+
/** @returns {CustomConfig} */
|
|
747
|
+
declare function CustomConfig(): CustomConfig;
|
|
748
|
+
type CustomConfig = {
|
|
749
|
+
props?: CustomProps;
|
|
750
|
+
};
|
|
751
|
+
/** @returns {CustomProps} */
|
|
752
|
+
declare function CustomProps(): CustomProps;
|
|
753
|
+
type CustomProps = {
|
|
754
|
+
/**
|
|
755
|
+
* - The add to cart button color
|
|
756
|
+
*/
|
|
757
|
+
button_add_to_cart_color?: string;
|
|
758
|
+
/**
|
|
759
|
+
* - The add to cart button
|
|
760
|
+
* label color
|
|
761
|
+
*/
|
|
762
|
+
button_add_to_cart_label_color?: string;
|
|
763
|
+
/**
|
|
764
|
+
* - The primary button color
|
|
765
|
+
*/
|
|
766
|
+
button_primary_color?: string;
|
|
767
|
+
/**
|
|
768
|
+
* - The primary button label color
|
|
769
|
+
*/
|
|
770
|
+
button_primary_label_color?: string;
|
|
771
|
+
/**
|
|
772
|
+
* - The secondary button color
|
|
773
|
+
*/
|
|
774
|
+
button_secondary_color?: string;
|
|
775
|
+
/**
|
|
776
|
+
* - The secondary button label color
|
|
777
|
+
*/
|
|
778
|
+
button_secondary_label_color?: string;
|
|
779
|
+
/**
|
|
780
|
+
* - The tertiary button color
|
|
781
|
+
*/
|
|
782
|
+
button_tertiary_color?: string;
|
|
783
|
+
/**
|
|
784
|
+
* - The tertiary button hover color
|
|
785
|
+
*/
|
|
786
|
+
button_tertiary_hover_color?: string;
|
|
787
|
+
/**
|
|
788
|
+
* - The tertiary button
|
|
789
|
+
* hover text color
|
|
790
|
+
*/
|
|
791
|
+
button_tertiary_hover_text_color?: string;
|
|
792
|
+
/**
|
|
793
|
+
* - The tertiary button label color
|
|
794
|
+
*/
|
|
795
|
+
button_tertiary_label_color?: string;
|
|
796
|
+
/**
|
|
797
|
+
* - Whether to disable the cart or not
|
|
798
|
+
*/
|
|
799
|
+
disable_cart?: boolean;
|
|
800
|
+
/**
|
|
801
|
+
* - The footer background color
|
|
802
|
+
*/
|
|
803
|
+
footer_bg_color?: string;
|
|
804
|
+
/**
|
|
805
|
+
* - The footer border color
|
|
806
|
+
*/
|
|
807
|
+
footer_border_color?: string;
|
|
808
|
+
/**
|
|
809
|
+
* - The footer navigation hover color
|
|
810
|
+
*/
|
|
811
|
+
footer_nav_hover_color?: string;
|
|
812
|
+
/**
|
|
813
|
+
* - The footer text color
|
|
814
|
+
*/
|
|
815
|
+
footer_text_color?: string;
|
|
816
|
+
/**
|
|
817
|
+
* - The header background color
|
|
818
|
+
*/
|
|
819
|
+
header_bg_color?: string;
|
|
820
|
+
/**
|
|
821
|
+
* - The header border color
|
|
822
|
+
*/
|
|
823
|
+
header_border_color?: string;
|
|
824
|
+
/**
|
|
825
|
+
* - The header cart
|
|
826
|
+
* notification background color
|
|
827
|
+
*/
|
|
828
|
+
header_cart_notification_bg_color?: string;
|
|
829
|
+
/**
|
|
830
|
+
* - The header cart
|
|
831
|
+
* notification text color
|
|
832
|
+
*/
|
|
833
|
+
header_cart_notification_text_color?: string;
|
|
834
|
+
/**
|
|
835
|
+
* - The header icon color
|
|
836
|
+
*/
|
|
837
|
+
header_icon_color?: string;
|
|
838
|
+
/**
|
|
839
|
+
* - The header navigation hover color
|
|
840
|
+
*/
|
|
841
|
+
header_nav_hover_color?: string;
|
|
842
|
+
/**
|
|
843
|
+
* - The header text color
|
|
844
|
+
*/
|
|
845
|
+
header_text_color?: string;
|
|
846
|
+
/**
|
|
847
|
+
* - Whether the menu is below the logo or not
|
|
848
|
+
*/
|
|
849
|
+
is_menu_below_logo?: boolean;
|
|
850
|
+
/**
|
|
851
|
+
* - The position of the menu
|
|
852
|
+
*/
|
|
853
|
+
menu_position?: string;
|
|
854
|
+
/**
|
|
855
|
+
* - The text body color
|
|
856
|
+
*/
|
|
857
|
+
text_body_color?: string;
|
|
858
|
+
/**
|
|
859
|
+
* - The text discount color
|
|
860
|
+
*/
|
|
861
|
+
text_discount_color?: string;
|
|
862
|
+
/**
|
|
863
|
+
* - The text heading link color
|
|
864
|
+
*/
|
|
865
|
+
text_heading_link_color?: string;
|
|
866
|
+
/**
|
|
867
|
+
* - The text price color
|
|
868
|
+
*/
|
|
869
|
+
text_price_color?: string;
|
|
870
|
+
/**
|
|
871
|
+
* - The text sale price color
|
|
872
|
+
*/
|
|
873
|
+
text_sale_price_color?: string;
|
|
874
|
+
/**
|
|
875
|
+
* - The text strikethrough
|
|
876
|
+
* price color
|
|
877
|
+
*/
|
|
878
|
+
text_strikethrough_price_color?: string;
|
|
879
|
+
};
|
|
880
|
+
/** @returns {DividerStrokeHighlightSetting} */
|
|
881
|
+
declare function DividerStrokeHighlightSetting(): DividerStrokeHighlightSetting;
|
|
882
|
+
type DividerStrokeHighlightSetting = {
|
|
883
|
+
/**
|
|
884
|
+
* - The divider strokes color
|
|
885
|
+
*/
|
|
886
|
+
divider_strokes?: string;
|
|
887
|
+
/**
|
|
888
|
+
* - The highlight color
|
|
889
|
+
*/
|
|
890
|
+
highlight?: string;
|
|
891
|
+
};
|
|
892
|
+
/** @returns {DummyResponse} */
|
|
893
|
+
declare function DummyResponse(): DummyResponse;
|
|
894
|
+
type DummyResponse = {
|
|
895
|
+
message?: string;
|
|
454
896
|
};
|
|
455
897
|
/** @returns {Font} */
|
|
456
898
|
declare function Font(): Font;
|
|
457
899
|
type Font = {
|
|
458
|
-
|
|
459
|
-
|
|
900
|
+
/**
|
|
901
|
+
* - The font family
|
|
902
|
+
*/
|
|
903
|
+
family: string;
|
|
904
|
+
variants: FontVariants;
|
|
460
905
|
};
|
|
461
906
|
/** @returns {FontsSchema} */
|
|
462
907
|
declare function FontsSchema(): FontsSchema;
|
|
@@ -483,140 +928,601 @@ type FontsSchemaItemsFiles = {
|
|
|
483
928
|
italic?: string;
|
|
484
929
|
regular?: string;
|
|
485
930
|
};
|
|
931
|
+
/** @returns {FontVariant} */
|
|
932
|
+
declare function FontVariant(): FontVariant;
|
|
933
|
+
type FontVariant = {
|
|
934
|
+
/**
|
|
935
|
+
* - The URL of the font file
|
|
936
|
+
*/
|
|
937
|
+
file: string;
|
|
938
|
+
/**
|
|
939
|
+
* - The name of the font variant
|
|
940
|
+
*/
|
|
941
|
+
name: string;
|
|
942
|
+
};
|
|
943
|
+
/** @returns {FontVariants} */
|
|
944
|
+
declare function FontVariants(): FontVariants;
|
|
945
|
+
type FontVariants = {
|
|
946
|
+
bold?: FontVariant;
|
|
947
|
+
light?: FontVariant;
|
|
948
|
+
medium?: FontVariant;
|
|
949
|
+
regular?: FontVariant;
|
|
950
|
+
semi_bold?: FontVariant;
|
|
951
|
+
};
|
|
952
|
+
/** @returns {FooterSetting} */
|
|
953
|
+
declare function FooterSetting(): FooterSetting;
|
|
954
|
+
type FooterSetting = {
|
|
955
|
+
/**
|
|
956
|
+
* - The footer background color
|
|
957
|
+
*/
|
|
958
|
+
footer_background?: string;
|
|
959
|
+
/**
|
|
960
|
+
* - The footer body text color
|
|
961
|
+
*/
|
|
962
|
+
footer_body_text?: string;
|
|
963
|
+
/**
|
|
964
|
+
* - The footer bottom background color
|
|
965
|
+
*/
|
|
966
|
+
footer_bottom_background?: string;
|
|
967
|
+
/**
|
|
968
|
+
* - The footer heading text color
|
|
969
|
+
*/
|
|
970
|
+
footer_heading_text?: string;
|
|
971
|
+
/**
|
|
972
|
+
* - The footer icon color
|
|
973
|
+
*/
|
|
974
|
+
footer_icon?: string;
|
|
975
|
+
};
|
|
976
|
+
/** @returns {GeneralSetting} */
|
|
977
|
+
declare function GeneralSetting(): GeneralSetting;
|
|
978
|
+
type GeneralSetting = {
|
|
979
|
+
button?: ButtonSetting;
|
|
980
|
+
footer?: FooterSetting;
|
|
981
|
+
header?: HeaderSetting;
|
|
982
|
+
sale_discount?: SaleDiscountSetting;
|
|
983
|
+
text?: TextSetting;
|
|
984
|
+
theme?: ThemeSetting;
|
|
985
|
+
};
|
|
986
|
+
/** @returns {GlobalConfig} */
|
|
987
|
+
declare function GlobalConfig(): GlobalConfig;
|
|
988
|
+
type GlobalConfig = {
|
|
989
|
+
custom?: CustomConfig;
|
|
990
|
+
statics?: StaticConfig;
|
|
991
|
+
};
|
|
486
992
|
/** @returns {GlobalSchema} */
|
|
487
993
|
declare function GlobalSchema(): GlobalSchema;
|
|
488
994
|
type GlobalSchema = {
|
|
489
|
-
props?:
|
|
995
|
+
props?: Prop[];
|
|
490
996
|
};
|
|
491
|
-
/** @returns {
|
|
492
|
-
declare function
|
|
493
|
-
type
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
997
|
+
/** @returns {HeaderSetting} */
|
|
998
|
+
declare function HeaderSetting(): HeaderSetting;
|
|
999
|
+
type HeaderSetting = {
|
|
1000
|
+
/**
|
|
1001
|
+
* - The header background color
|
|
1002
|
+
*/
|
|
1003
|
+
header_background?: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* - The header icon color
|
|
1006
|
+
*/
|
|
1007
|
+
header_icon?: string;
|
|
1008
|
+
/**
|
|
1009
|
+
* - The header navigation color
|
|
1010
|
+
*/
|
|
1011
|
+
header_nav?: string;
|
|
1012
|
+
};
|
|
1013
|
+
/** @returns {ImagePickerProp} */
|
|
1014
|
+
declare function ImagePickerProp(): ImagePickerProp;
|
|
1015
|
+
type ImagePickerProp = {
|
|
1016
|
+
/**
|
|
1017
|
+
* - The type of the property.
|
|
1018
|
+
*/
|
|
497
1019
|
type?: string;
|
|
1020
|
+
/**
|
|
1021
|
+
* - The value of the image picker property.
|
|
1022
|
+
*/
|
|
1023
|
+
value?: string;
|
|
498
1024
|
};
|
|
499
1025
|
/** @returns {Images} */
|
|
500
1026
|
declare function Images(): Images;
|
|
501
1027
|
type Images = {
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
description?: string;
|
|
511
|
-
features?: string[];
|
|
512
|
-
images?: Images;
|
|
513
|
-
name?: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* - The URL of the desktop image
|
|
1030
|
+
*/
|
|
1031
|
+
desktop?: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* - The URL of the mobile image
|
|
1034
|
+
*/
|
|
1035
|
+
mobile?: string;
|
|
514
1036
|
};
|
|
515
|
-
/** @returns {
|
|
516
|
-
declare function
|
|
517
|
-
type
|
|
518
|
-
|
|
519
|
-
|
|
1037
|
+
/** @returns {MarketplaceThemeId} */
|
|
1038
|
+
declare function MarketplaceThemeId(): MarketplaceThemeId;
|
|
1039
|
+
type MarketplaceThemeId = {
|
|
1040
|
+
/**
|
|
1041
|
+
* - The unique identifier for the marketplace theme.
|
|
1042
|
+
*/
|
|
1043
|
+
_id?: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* - Whether the theme is the default theme.
|
|
1046
|
+
*/
|
|
1047
|
+
is_default?: boolean;
|
|
520
1048
|
};
|
|
521
|
-
/** @returns {
|
|
522
|
-
declare function
|
|
523
|
-
type
|
|
524
|
-
|
|
1049
|
+
/** @returns {Meta} */
|
|
1050
|
+
declare function Meta(): Meta;
|
|
1051
|
+
type Meta = {
|
|
1052
|
+
/**
|
|
1053
|
+
* - The description of the theme
|
|
1054
|
+
*/
|
|
1055
|
+
description?: string;
|
|
1056
|
+
images?: Images;
|
|
1057
|
+
/**
|
|
1058
|
+
* - An array of industries associated with the theme
|
|
1059
|
+
*/
|
|
1060
|
+
industry?: string[];
|
|
1061
|
+
/**
|
|
1062
|
+
* - The name of the theme
|
|
1063
|
+
*/
|
|
525
1064
|
name?: string;
|
|
526
|
-
|
|
1065
|
+
payment?: ThemePayment;
|
|
1066
|
+
release?: Release;
|
|
1067
|
+
/**
|
|
1068
|
+
* - The slug of the theme
|
|
1069
|
+
*/
|
|
1070
|
+
slug?: string;
|
|
527
1071
|
};
|
|
528
|
-
/** @returns {
|
|
529
|
-
declare function
|
|
530
|
-
type
|
|
531
|
-
|
|
532
|
-
|
|
1072
|
+
/** @returns {OverlayPopupSetting} */
|
|
1073
|
+
declare function OverlayPopupSetting(): OverlayPopupSetting;
|
|
1074
|
+
type OverlayPopupSetting = {
|
|
1075
|
+
/**
|
|
1076
|
+
* - The dialog background color
|
|
1077
|
+
*/
|
|
1078
|
+
dialog_backgroung?: string;
|
|
1079
|
+
/**
|
|
1080
|
+
* - The overlay color
|
|
1081
|
+
*/
|
|
1082
|
+
overlay?: string;
|
|
533
1083
|
};
|
|
534
|
-
/** @returns {
|
|
535
|
-
declare function
|
|
536
|
-
type
|
|
1084
|
+
/** @returns {Page} */
|
|
1085
|
+
declare function Page(): Page;
|
|
1086
|
+
type Page = {
|
|
537
1087
|
current?: number;
|
|
538
1088
|
has_next?: boolean;
|
|
1089
|
+
has_previous?: boolean;
|
|
539
1090
|
item_total?: number;
|
|
1091
|
+
next_id?: string;
|
|
540
1092
|
size?: number;
|
|
541
|
-
type
|
|
1093
|
+
type: string;
|
|
1094
|
+
};
|
|
1095
|
+
/** @returns {PaletteConfig} */
|
|
1096
|
+
declare function PaletteConfig(): PaletteConfig;
|
|
1097
|
+
type PaletteConfig = {
|
|
1098
|
+
advance_setting?: AdvanceSetting;
|
|
1099
|
+
general_setting?: GeneralSetting;
|
|
1100
|
+
};
|
|
1101
|
+
/** @returns {Predicate} */
|
|
1102
|
+
declare function Predicate(): Predicate;
|
|
1103
|
+
type Predicate = {
|
|
1104
|
+
route?: Route;
|
|
1105
|
+
screen?: Screen;
|
|
1106
|
+
user?: ThemeUserSchema;
|
|
542
1107
|
};
|
|
543
1108
|
/** @returns {Preset} */
|
|
544
1109
|
declare function Preset(): Preset;
|
|
545
1110
|
type Preset = {
|
|
546
|
-
pages?:
|
|
1111
|
+
pages?: Page[];
|
|
547
1112
|
};
|
|
548
|
-
/** @returns {
|
|
549
|
-
declare function
|
|
550
|
-
type
|
|
551
|
-
|
|
1113
|
+
/** @returns {Prop} */
|
|
1114
|
+
declare function Prop(): Prop;
|
|
1115
|
+
type Prop = {
|
|
1116
|
+
/**
|
|
1117
|
+
* - The category of the property
|
|
1118
|
+
*/
|
|
1119
|
+
category?: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* - The ID of the property
|
|
1122
|
+
*/
|
|
1123
|
+
id?: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* - Additional information about the property
|
|
1126
|
+
*/
|
|
1127
|
+
info?: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* - The label of the property
|
|
1130
|
+
*/
|
|
1131
|
+
label?: string;
|
|
1132
|
+
/**
|
|
1133
|
+
* - The type of the property
|
|
1134
|
+
*/
|
|
1135
|
+
type?: string;
|
|
1136
|
+
};
|
|
1137
|
+
/** @returns {RangeProp} */
|
|
1138
|
+
declare function RangeProp(): RangeProp;
|
|
1139
|
+
type RangeProp = {
|
|
1140
|
+
/**
|
|
1141
|
+
* - The type of the property.
|
|
1142
|
+
*/
|
|
1143
|
+
type?: string;
|
|
1144
|
+
/**
|
|
1145
|
+
* - The value of the range property.
|
|
1146
|
+
*/
|
|
1147
|
+
value?: number;
|
|
1148
|
+
};
|
|
1149
|
+
/** @returns {Release} */
|
|
1150
|
+
declare function Release(): Release;
|
|
1151
|
+
type Release = {
|
|
1152
|
+
/**
|
|
1153
|
+
* - The release notes of the theme
|
|
1154
|
+
*/
|
|
1155
|
+
notes?: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* - The version of the theme
|
|
1158
|
+
*/
|
|
1159
|
+
version?: string;
|
|
1160
|
+
};
|
|
1161
|
+
/** @returns {Route} */
|
|
1162
|
+
declare function Route(): Route;
|
|
1163
|
+
type Route = {
|
|
1164
|
+
/**
|
|
1165
|
+
* - The exact URL of the route.
|
|
1166
|
+
*/
|
|
1167
|
+
exact_url?: string;
|
|
1168
|
+
/**
|
|
1169
|
+
* - The selected route.
|
|
1170
|
+
*/
|
|
1171
|
+
selected?: string;
|
|
1172
|
+
};
|
|
1173
|
+
/** @returns {SaleDiscountSetting} */
|
|
1174
|
+
declare function SaleDiscountSetting(): SaleDiscountSetting;
|
|
1175
|
+
type SaleDiscountSetting = {
|
|
1176
|
+
/**
|
|
1177
|
+
* - The sale badge background color
|
|
1178
|
+
*/
|
|
1179
|
+
sale_badge_background?: string;
|
|
1180
|
+
/**
|
|
1181
|
+
* - The sale badge text color
|
|
1182
|
+
*/
|
|
1183
|
+
sale_badge_text?: string;
|
|
1184
|
+
/**
|
|
1185
|
+
* - The sale discount text color
|
|
1186
|
+
*/
|
|
1187
|
+
sale_discount_text?: string;
|
|
1188
|
+
/**
|
|
1189
|
+
* - The sale timer color
|
|
1190
|
+
*/
|
|
1191
|
+
sale_timer?: string;
|
|
1192
|
+
};
|
|
1193
|
+
/** @returns {Screen} */
|
|
1194
|
+
declare function Screen(): Screen;
|
|
1195
|
+
type Screen = {
|
|
1196
|
+
/**
|
|
1197
|
+
* - True if the screen is a desktop device.
|
|
1198
|
+
*/
|
|
1199
|
+
desktop?: boolean;
|
|
1200
|
+
/**
|
|
1201
|
+
* - True if the screen is a mobile device.
|
|
1202
|
+
*/
|
|
1203
|
+
mobile?: boolean;
|
|
1204
|
+
/**
|
|
1205
|
+
* - True if the screen is a tablet device.
|
|
1206
|
+
*/
|
|
1207
|
+
tablet?: boolean;
|
|
1208
|
+
};
|
|
1209
|
+
/** @returns {Section} */
|
|
1210
|
+
declare function Section(): Section;
|
|
1211
|
+
type Section = {
|
|
1212
|
+
blocks?: Block[];
|
|
1213
|
+
/**
|
|
1214
|
+
* - The name of the section.
|
|
1215
|
+
*/
|
|
552
1216
|
name?: string;
|
|
1217
|
+
predicate?: Predicate;
|
|
1218
|
+
preset?: SectionPreset;
|
|
1219
|
+
props?: SectionProps;
|
|
553
1220
|
};
|
|
554
|
-
/** @returns {
|
|
555
|
-
declare function
|
|
556
|
-
type
|
|
557
|
-
|
|
1221
|
+
/** @returns {SectionItem} */
|
|
1222
|
+
declare function SectionItem(): SectionItem;
|
|
1223
|
+
type SectionItem = {
|
|
1224
|
+
/**
|
|
1225
|
+
* - Blocks
|
|
1226
|
+
*/
|
|
1227
|
+
blocks?: any[];
|
|
1228
|
+
/**
|
|
1229
|
+
* - Label for the section
|
|
1230
|
+
*/
|
|
1231
|
+
label?: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* - Name of the section
|
|
1234
|
+
*/
|
|
1235
|
+
name?: string;
|
|
1236
|
+
props?: any[];
|
|
1237
|
+
};
|
|
1238
|
+
/** @returns {SectionPreset} */
|
|
1239
|
+
declare function SectionPreset(): SectionPreset;
|
|
1240
|
+
type SectionPreset = {
|
|
1241
|
+
blocks?: Block[];
|
|
558
1242
|
};
|
|
559
|
-
/** @returns {
|
|
560
|
-
declare function
|
|
561
|
-
type
|
|
562
|
-
|
|
1243
|
+
/** @returns {SectionProps} */
|
|
1244
|
+
declare function SectionProps(): SectionProps;
|
|
1245
|
+
type SectionProps = {
|
|
1246
|
+
autoplay?: CheckboxProp;
|
|
1247
|
+
item_margin?: TextProp;
|
|
1248
|
+
slide_interval?: RangeProp;
|
|
1249
|
+
title?: TextProp;
|
|
1250
|
+
};
|
|
1251
|
+
/** @returns {StaticConfig} */
|
|
1252
|
+
declare function StaticConfig(): StaticConfig;
|
|
1253
|
+
type StaticConfig = {
|
|
1254
|
+
props?: StaticProps;
|
|
1255
|
+
};
|
|
1256
|
+
/** @returns {StaticProps} */
|
|
1257
|
+
declare function StaticProps(): StaticProps;
|
|
1258
|
+
type StaticProps = {
|
|
1259
|
+
auth?: AuthConfig;
|
|
1260
|
+
colors?: Colors;
|
|
1261
|
+
palette?: PaletteConfig;
|
|
1262
|
+
};
|
|
1263
|
+
/** @returns {TextProp} */
|
|
1264
|
+
declare function TextProp(): TextProp;
|
|
1265
|
+
type TextProp = {
|
|
1266
|
+
/**
|
|
1267
|
+
* - The type of the property.
|
|
1268
|
+
*/
|
|
1269
|
+
type?: string;
|
|
1270
|
+
/**
|
|
1271
|
+
* - The value of the text property.
|
|
1272
|
+
*/
|
|
1273
|
+
value?: string;
|
|
1274
|
+
};
|
|
1275
|
+
/** @returns {TextSetting} */
|
|
1276
|
+
declare function TextSetting(): TextSetting;
|
|
1277
|
+
type TextSetting = {
|
|
1278
|
+
/**
|
|
1279
|
+
* - The text body color
|
|
1280
|
+
*/
|
|
1281
|
+
text_body?: string;
|
|
1282
|
+
/**
|
|
1283
|
+
* - The text heading color
|
|
1284
|
+
*/
|
|
1285
|
+
text_heading?: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* - The text label color
|
|
1288
|
+
*/
|
|
1289
|
+
text_label?: string;
|
|
1290
|
+
/**
|
|
1291
|
+
* - The secondary text color
|
|
1292
|
+
*/
|
|
1293
|
+
text_secondary?: string;
|
|
1294
|
+
};
|
|
1295
|
+
/** @returns {ThemeConfiguration} */
|
|
1296
|
+
declare function ThemeConfiguration(): ThemeConfiguration;
|
|
1297
|
+
type ThemeConfiguration = {
|
|
1298
|
+
custom?: CustomConfig;
|
|
1299
|
+
global_config?: any;
|
|
1300
|
+
/**
|
|
1301
|
+
* - The name of the configuration
|
|
1302
|
+
*/
|
|
563
1303
|
name?: string;
|
|
1304
|
+
/**
|
|
1305
|
+
* - An array of pages
|
|
1306
|
+
*/
|
|
1307
|
+
page?: string[];
|
|
564
1308
|
};
|
|
565
|
-
/** @returns {
|
|
566
|
-
declare function
|
|
567
|
-
type
|
|
568
|
-
|
|
1309
|
+
/** @returns {ThemeImages} */
|
|
1310
|
+
declare function ThemeImages(): ThemeImages;
|
|
1311
|
+
type ThemeImages = {
|
|
1312
|
+
/**
|
|
1313
|
+
* - The URL of the desktop image for the theme.
|
|
1314
|
+
*/
|
|
1315
|
+
desktop?: string;
|
|
1316
|
+
/**
|
|
1317
|
+
* - The URL of the mobile image for the theme.
|
|
1318
|
+
*/
|
|
1319
|
+
mobile?: string;
|
|
1320
|
+
};
|
|
1321
|
+
/** @returns {ThemeMeta} */
|
|
1322
|
+
declare function ThemeMeta(): ThemeMeta;
|
|
1323
|
+
type ThemeMeta = {
|
|
1324
|
+
/**
|
|
1325
|
+
* - A description of the theme.
|
|
1326
|
+
*/
|
|
1327
|
+
description?: string;
|
|
1328
|
+
images?: ThemeImages;
|
|
1329
|
+
/**
|
|
1330
|
+
* - A list of industry categories the theme is
|
|
1331
|
+
* suitable for.
|
|
1332
|
+
*/
|
|
1333
|
+
industry?: string[];
|
|
1334
|
+
payment?: ThemePayment;
|
|
1335
|
+
/**
|
|
1336
|
+
* - The slug for the theme.
|
|
1337
|
+
*/
|
|
1338
|
+
slug?: string;
|
|
1339
|
+
};
|
|
1340
|
+
/** @returns {ThemePayment} */
|
|
1341
|
+
declare function ThemePayment(): ThemePayment;
|
|
1342
|
+
type ThemePayment = {
|
|
1343
|
+
/**
|
|
1344
|
+
* - The amount to be paid for the theme.
|
|
1345
|
+
*/
|
|
1346
|
+
amount?: number;
|
|
1347
|
+
/**
|
|
1348
|
+
* - Whether the theme is a paid theme.
|
|
1349
|
+
*/
|
|
1350
|
+
is_paid?: boolean;
|
|
569
1351
|
};
|
|
570
|
-
/** @returns {
|
|
571
|
-
declare function
|
|
572
|
-
type
|
|
573
|
-
|
|
574
|
-
|
|
1352
|
+
/** @returns {ThemeReq} */
|
|
1353
|
+
declare function ThemeReq(): ThemeReq;
|
|
1354
|
+
type ThemeReq = {
|
|
1355
|
+
/**
|
|
1356
|
+
* - The ID of the marketplace theme
|
|
1357
|
+
* to apply to the company.
|
|
1358
|
+
*/
|
|
1359
|
+
marketplace_theme_id?: string;
|
|
1360
|
+
};
|
|
1361
|
+
/** @returns {ThemeSetting} */
|
|
1362
|
+
declare function ThemeSetting(): ThemeSetting;
|
|
1363
|
+
type ThemeSetting = {
|
|
1364
|
+
/**
|
|
1365
|
+
* - The page background color
|
|
1366
|
+
*/
|
|
1367
|
+
page_background?: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* - The theme accent color
|
|
1370
|
+
*/
|
|
1371
|
+
theme_accent?: string;
|
|
575
1372
|
};
|
|
576
1373
|
/** @returns {ThemesSchema} */
|
|
577
1374
|
declare function ThemesSchema(): ThemesSchema;
|
|
578
1375
|
type ThemesSchema = {
|
|
579
|
-
|
|
1376
|
+
/**
|
|
1377
|
+
* - The unique identifier of the theme
|
|
1378
|
+
*/
|
|
580
1379
|
_id?: string;
|
|
581
|
-
|
|
1380
|
+
/**
|
|
1381
|
+
* - The ID of the application
|
|
1382
|
+
*/
|
|
1383
|
+
application_id?: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* - Whether the theme has been applied or not
|
|
1386
|
+
*/
|
|
582
1387
|
applied?: boolean;
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
1388
|
+
assets?: Assets;
|
|
1389
|
+
/**
|
|
1390
|
+
* - Available sections information
|
|
1391
|
+
*/
|
|
1392
|
+
available_sections?: SectionItem[];
|
|
587
1393
|
config?: Config;
|
|
1394
|
+
/**
|
|
1395
|
+
* - The creation timestamp of the theme
|
|
1396
|
+
*/
|
|
588
1397
|
created_at?: string;
|
|
589
|
-
customized?: boolean;
|
|
590
1398
|
font?: Font;
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
1399
|
+
/**
|
|
1400
|
+
* - Whether the theme is private or not
|
|
1401
|
+
*/
|
|
1402
|
+
is_private?: boolean;
|
|
1403
|
+
/**
|
|
1404
|
+
* - The ID of the theme in the marketplace
|
|
1405
|
+
*/
|
|
1406
|
+
marketplace_theme_id?: string;
|
|
1407
|
+
meta?: Meta;
|
|
1408
|
+
/**
|
|
1409
|
+
* - The name of the theme
|
|
1410
|
+
*/
|
|
1411
|
+
name?: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* - The styles associated with the theme
|
|
1414
|
+
*/
|
|
596
1415
|
styles?: any;
|
|
1416
|
+
/**
|
|
1417
|
+
* - An array of tags associated with the theme
|
|
1418
|
+
*/
|
|
597
1419
|
tags?: string[];
|
|
1420
|
+
/**
|
|
1421
|
+
* - The ID of the template theme
|
|
1422
|
+
*/
|
|
1423
|
+
template_theme_id?: string;
|
|
1424
|
+
/**
|
|
1425
|
+
* - The last update timestamp of the theme
|
|
1426
|
+
*/
|
|
598
1427
|
updated_at?: string;
|
|
1428
|
+
/**
|
|
1429
|
+
* - The version of the theme
|
|
1430
|
+
*/
|
|
599
1431
|
version?: string;
|
|
600
1432
|
};
|
|
601
|
-
/** @returns {
|
|
602
|
-
declare function
|
|
603
|
-
type
|
|
604
|
-
|
|
605
|
-
|
|
1433
|
+
/** @returns {ThemeUpgradableResponse} */
|
|
1434
|
+
declare function ThemeUpgradableResponse(): ThemeUpgradableResponse;
|
|
1435
|
+
type ThemeUpgradableResponse = {
|
|
1436
|
+
/**
|
|
1437
|
+
* - A message describing the theme upgrade status
|
|
1438
|
+
*/
|
|
1439
|
+
message?: string;
|
|
1440
|
+
/**
|
|
1441
|
+
* - Indicates if the theme is upgradable or not
|
|
1442
|
+
*/
|
|
1443
|
+
upgrade?: boolean;
|
|
1444
|
+
versions?: ThemeVersions;
|
|
1445
|
+
};
|
|
1446
|
+
/** @returns {ThemeUserSchema} */
|
|
1447
|
+
declare function ThemeUserSchema(): ThemeUserSchema;
|
|
1448
|
+
type ThemeUserSchema = {
|
|
1449
|
+
/**
|
|
1450
|
+
* - True if the user is anonymous.
|
|
1451
|
+
*/
|
|
1452
|
+
anonymous?: boolean;
|
|
1453
|
+
/**
|
|
1454
|
+
* - True if the user is authenticated.
|
|
1455
|
+
*/
|
|
1456
|
+
authenticated?: boolean;
|
|
606
1457
|
};
|
|
607
|
-
/** @returns {
|
|
608
|
-
declare function
|
|
609
|
-
type
|
|
1458
|
+
/** @returns {ThemeVersions} */
|
|
1459
|
+
declare function ThemeVersions(): ThemeVersions;
|
|
1460
|
+
type ThemeVersions = {
|
|
1461
|
+
/**
|
|
1462
|
+
* - The version of the applied theme
|
|
1463
|
+
*/
|
|
610
1464
|
applied_theme?: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* - The version of the parent theme
|
|
1467
|
+
*/
|
|
611
1468
|
parent_theme?: string;
|
|
612
|
-
upgrade?: boolean;
|
|
613
1469
|
};
|
|
614
|
-
/** @returns {
|
|
615
|
-
declare function
|
|
616
|
-
type
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
1470
|
+
/** @returns {UMDJs} */
|
|
1471
|
+
declare function UMDJs(): UMDJs;
|
|
1472
|
+
type UMDJs = {
|
|
1473
|
+
links?: string[];
|
|
1474
|
+
};
|
|
1475
|
+
/** @returns {UpdateThemeNameRequestBody} */
|
|
1476
|
+
declare function UpdateThemeNameRequestBody(): UpdateThemeNameRequestBody;
|
|
1477
|
+
type UpdateThemeNameRequestBody = {
|
|
1478
|
+
/**
|
|
1479
|
+
* - The new name of the theme.
|
|
1480
|
+
*/
|
|
1481
|
+
name?: string;
|
|
1482
|
+
};
|
|
1483
|
+
/** @returns {UpdateThemeRequestBody} */
|
|
1484
|
+
declare function UpdateThemeRequestBody(): UpdateThemeRequestBody;
|
|
1485
|
+
type UpdateThemeRequestBody = {
|
|
1486
|
+
config?: Config;
|
|
1487
|
+
font?: Font;
|
|
1488
|
+
};
|
|
1489
|
+
/** @returns {UrlProp} */
|
|
1490
|
+
declare function UrlProp(): UrlProp;
|
|
1491
|
+
type UrlProp = {
|
|
1492
|
+
/**
|
|
1493
|
+
* - The type of the property.
|
|
1494
|
+
*/
|
|
1495
|
+
type?: string;
|
|
1496
|
+
/**
|
|
1497
|
+
* - The value of the URL property.
|
|
1498
|
+
*/
|
|
1499
|
+
value?: string;
|
|
1500
|
+
};
|
|
1501
|
+
/** @returns {UserAlertsSetting} */
|
|
1502
|
+
declare function UserAlertsSetting(): UserAlertsSetting;
|
|
1503
|
+
type UserAlertsSetting = {
|
|
1504
|
+
/**
|
|
1505
|
+
* - The error background color
|
|
1506
|
+
*/
|
|
1507
|
+
error_background?: string;
|
|
1508
|
+
/**
|
|
1509
|
+
* - The error text color
|
|
1510
|
+
*/
|
|
1511
|
+
error_text?: string;
|
|
1512
|
+
/**
|
|
1513
|
+
* - The info background color
|
|
1514
|
+
*/
|
|
1515
|
+
info_background?: string;
|
|
1516
|
+
/**
|
|
1517
|
+
* - The info text color
|
|
1518
|
+
*/
|
|
1519
|
+
info_text?: string;
|
|
1520
|
+
/**
|
|
1521
|
+
* - The success background color
|
|
1522
|
+
*/
|
|
1523
|
+
success_background?: string;
|
|
1524
|
+
/**
|
|
1525
|
+
* - The success text color
|
|
1526
|
+
*/
|
|
1527
|
+
success_text?: string;
|
|
622
1528
|
};
|