@gofynd/fdk-client-javascript 1.3.11-beta.7 → 1.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +5 -3
- package/sdk/application/Cart/CartApplicationModel.d.ts +107 -1
- package/sdk/application/Cart/CartApplicationModel.js +74 -0
- package/sdk/application/Cart/CartApplicationValidator.d.ts +4 -0
- package/sdk/application/Cart/CartApplicationValidator.js +4 -0
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -6
- package/sdk/application/Catalog/CatalogApplicationClient.js +7 -20
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2 -2
- package/sdk/application/Catalog/CatalogApplicationModel.js +2 -2
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -14
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -6
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +183 -49
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +173 -31
- package/sdk/application/Content/ContentApplicationClient.d.ts +36 -0
- package/sdk/application/Content/ContentApplicationClient.js +246 -0
- package/sdk/application/Content/ContentApplicationModel.d.ts +208 -1
- package/sdk/application/Content/ContentApplicationModel.js +252 -0
- package/sdk/application/Content/ContentApplicationValidator.d.ts +40 -1
- package/sdk/application/Content/ContentApplicationValidator.js +41 -0
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +67 -0
- package/sdk/application/Logistic/LogisticApplicationClient.js +547 -0
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +456 -1
- package/sdk/application/Logistic/LogisticApplicationModel.js +488 -0
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +211 -1
- package/sdk/application/Logistic/LogisticApplicationValidator.js +131 -0
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +32 -8
- package/sdk/application/Order/OrderApplicationModel.d.ts +6 -0
- package/sdk/application/Order/OrderApplicationModel.js +6 -0
- package/sdk/application/Order/OrderApplicationValidator.d.ts +20 -0
- package/sdk/application/Order/OrderApplicationValidator.js +8 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -2
- package/sdk/application/Payment/PaymentApplicationClient.js +341 -10
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +493 -186
- package/sdk/application/Payment/PaymentApplicationModel.js +341 -70
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +59 -14
- package/sdk/application/Payment/PaymentApplicationValidator.js +64 -10
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +34 -1
- package/sdk/application/PosCart/PosCartApplicationModel.js +24 -0
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +7 -3
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +222 -36
- package/sdk/application/Theme/ThemeApplicationModel.js +322 -26
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +10 -0
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -0
- package/sdk/application/User/UserApplicationClient.d.ts +33 -0
- package/sdk/application/User/UserApplicationClient.js +239 -0
- package/sdk/application/User/UserApplicationModel.d.ts +28 -13
- package/sdk/application/User/UserApplicationModel.js +36 -12
- package/sdk/application/User/UserApplicationValidator.d.ts +34 -1
- package/sdk/application/User/UserApplicationValidator.js +36 -0
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +3 -15
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +2 -14
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +125 -0
- package/sdk/partner/Lead/LeadPartnerClient.js +785 -0
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +1127 -0
- package/sdk/partner/Lead/LeadPartnerModel.js +896 -0
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +12 -0
- package/sdk/partner/Lead/LeadPartnerValidator.js +67 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +155 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1195 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +372 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +442 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +16 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +123 -0
- package/sdk/partner/PartnerClient.d.ts +6 -0
- package/sdk/partner/PartnerClient.js +9 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +80 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +100 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +74 -30
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +9 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +99 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.js +753 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +566 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.js +583 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +12 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +74 -0
- package/sdk/partner/index.d.ts +3 -0
- package/sdk/partner/index.js +6 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +11 -1
- package/sdk/platform/Billing/BillingPlatformClient.js +110 -3
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +67 -1
- package/sdk/platform/Billing/BillingPlatformModel.js +78 -0
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +43 -4
- package/sdk/platform/Billing/BillingPlatformValidator.js +29 -2
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +7 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +4 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +100 -5
- package/sdk/platform/Cart/CartPlatformModel.js +71 -4
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +15 -11
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +52 -21
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +11 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +26 -4
- package/sdk/platform/Catalog/CatalogPlatformClient.js +173 -7
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +304 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.js +335 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -3
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +27 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +138 -36
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +739 -57
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +128 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +111 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +150 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.js +172 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +8 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -4
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +38 -9
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +42 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +14 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +6 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +371 -132
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +288 -77
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +391 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +3641 -1059
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +351 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +410 -0
- package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
- package/sdk/platform/Content/ContentPlatformClient.js +2011 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1100 -1
- package/sdk/platform/Content/ContentPlatformModel.js +1362 -46
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +247 -0
- package/sdk/platform/Content/ContentPlatformValidator.js +319 -0
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +96 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +104 -12
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +16 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +117 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +55 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +39 -2
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +18 -19
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +20 -18
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +33 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +240 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +151 -5
- package/sdk/platform/Finance/FinancePlatformModel.js +190 -4
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +38 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +38 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +38 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +137 -56
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +41 -29
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +33 -21
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +12 -3
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +23 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +178 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +39 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +202 -31
- package/sdk/platform/Order/OrderPlatformClient.js +2010 -586
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1032 -470
- package/sdk/platform/Order/OrderPlatformModel.js +1187 -534
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +318 -35
- package/sdk/platform/Order/OrderPlatformValidator.js +292 -29
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +119 -13
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +749 -39
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +143 -7
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +133 -6
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +996 -134
- package/sdk/platform/Payment/PaymentPlatformModel.js +721 -58
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +4 -2
- package/sdk/platform/PlatformClient.js +8 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +142 -66
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +645 -147
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +131 -63
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +126 -47
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +217 -105
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1136 -347
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +912 -313
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1071 -355
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +382 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +266 -102
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +11 -1
- package/sdk/platform/Theme/ThemePlatformClient.js +87 -3
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +333 -47
- package/sdk/platform/Theme/ThemePlatformModel.js +395 -35
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +28 -4
- package/sdk/platform/Theme/ThemePlatformValidator.js +21 -2
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +116 -1
- package/sdk/platform/User/UserPlatformApplicationClient.js +931 -85
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +224 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +173 -5
- package/sdk/platform/User/UserPlatformModel.d.ts +344 -7
- package/sdk/platform/User/UserPlatformModel.js +256 -5
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +47 -39
- package/sdk/platform/Webhook/WebhookPlatformClient.js +63 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +264 -156
- package/sdk/platform/Webhook/WebhookPlatformModel.js +276 -153
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +7 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
- package/sdk/platform/index.d.ts +1 -1
- package/sdk/platform/index.js +2 -2
- package/sdk/public/Billing/BillingPublicClient.d.ts +23 -0
- package/sdk/public/Billing/BillingPublicClient.js +116 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +92 -0
- package/sdk/public/Billing/BillingPublicModel.js +96 -0
- package/sdk/public/Billing/BillingPublicValidator.d.ts +18 -0
- package/sdk/public/Billing/BillingPublicValidator.js +19 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
- package/sdk/public/Content/ContentPublicClient.js +114 -0
- package/sdk/public/Content/ContentPublicModel.d.ts +53 -0
- package/sdk/public/Content/ContentPublicModel.js +60 -0
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -0
- package/sdk/public/Content/ContentPublicValidator.js +19 -0
- package/sdk/public/PublicClient.d.ts +4 -0
- package/sdk/public/PublicClient.js +8 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +33 -0
- package/sdk/public/Webhook/WebhookPublicClient.js +242 -0
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +147 -1
- package/sdk/public/Webhook/WebhookPublicModel.js +177 -1
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +23 -1
- package/sdk/public/Webhook/WebhookPublicValidator.js +31 -0
- package/sdk/public/index.d.ts +2 -0
- package/sdk/public/index.js +4 -0
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
export = ThemePlatformModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef Action
|
|
4
|
+
* @property {ActionPage} [page]
|
|
5
|
+
* @property {ActionPage} [popup]
|
|
6
|
+
* @property {string} [type]
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @typedef ActionPage
|
|
10
|
+
* @property {Object} [params]
|
|
11
|
+
* @property {Object} [query]
|
|
12
|
+
* @property {PageType} type
|
|
13
|
+
* @property {string} [url]
|
|
14
|
+
*/
|
|
2
15
|
/**
|
|
3
16
|
* @typedef AddThemeRequestSchema
|
|
4
17
|
* @property {string} [theme_id]
|
|
@@ -7,17 +20,31 @@ export = ThemePlatformModel;
|
|
|
7
20
|
* @typedef AllAvailablePageSchema
|
|
8
21
|
* @property {AvailablePageSchema[]} [pages]
|
|
9
22
|
*/
|
|
23
|
+
/**
|
|
24
|
+
* @typedef AppliedThemes
|
|
25
|
+
* @property {string} [_id] - ID of the application theme
|
|
26
|
+
* @property {string} [application_id] - ID of the application
|
|
27
|
+
*/
|
|
10
28
|
/**
|
|
11
29
|
* @typedef Assets
|
|
12
30
|
* @property {CommonJS} [common_js]
|
|
13
31
|
* @property {CSS} [css]
|
|
14
32
|
* @property {UMDJs} [umd_js]
|
|
15
33
|
*/
|
|
34
|
+
/**
|
|
35
|
+
* @typedef AvailablePagePlatformPredicate
|
|
36
|
+
* @property {boolean} [android] - Section visibility on android platform
|
|
37
|
+
* @property {boolean} [ios] - Section visibility on ios platform
|
|
38
|
+
* @property {boolean} [web] - Section visibility on web platform
|
|
39
|
+
*/
|
|
16
40
|
/**
|
|
17
41
|
* @typedef AvailablePagePredicate
|
|
42
|
+
* @property {AvailablePagePlatformPredicate} [platform]
|
|
18
43
|
* @property {AvailablePageRoutePredicate} [route]
|
|
44
|
+
* @property {AvailablePageSchedulePredicate} [schedule]
|
|
19
45
|
* @property {AvailablePageScreenPredicate} [screen]
|
|
20
46
|
* @property {AvailablePageUserPredicate} [user]
|
|
47
|
+
* @property {string[]} [zones] - An array of zone ids associated with the section
|
|
21
48
|
*/
|
|
22
49
|
/**
|
|
23
50
|
* @typedef AvailablePageRoutePredicate
|
|
@@ -25,6 +52,12 @@ export = ThemePlatformModel;
|
|
|
25
52
|
* @property {Object} [query]
|
|
26
53
|
* @property {string} [selected]
|
|
27
54
|
*/
|
|
55
|
+
/**
|
|
56
|
+
* @typedef AvailablePageSchedulePredicate
|
|
57
|
+
* @property {string} [cron]
|
|
58
|
+
* @property {string} [end]
|
|
59
|
+
* @property {string} [start]
|
|
60
|
+
*/
|
|
28
61
|
/**
|
|
29
62
|
* @typedef AvailablePageSchema
|
|
30
63
|
* @property {string} [_id]
|
|
@@ -60,7 +93,11 @@ export = ThemePlatformModel;
|
|
|
60
93
|
/**
|
|
61
94
|
* @typedef AvailablePageSeo
|
|
62
95
|
* @property {string} [_id]
|
|
96
|
+
* @property {SEObreadcrumb[]} [breadcrumb]
|
|
97
|
+
* @property {string} [canonical_url]
|
|
63
98
|
* @property {string} [description]
|
|
99
|
+
* @property {SEOMetaItem[]} [meta_tags]
|
|
100
|
+
* @property {SEOSitemap} [sitemap]
|
|
64
101
|
* @property {string} [title]
|
|
65
102
|
*/
|
|
66
103
|
/**
|
|
@@ -96,13 +133,36 @@ export = ThemePlatformModel;
|
|
|
96
133
|
* @typedef CommonJS
|
|
97
134
|
* @property {string} [link]
|
|
98
135
|
*/
|
|
136
|
+
/**
|
|
137
|
+
* @typedef CompanyPrivateTheme
|
|
138
|
+
* @property {string} [_id] - Unique identifier for the theme
|
|
139
|
+
* @property {string} [application_id] - Identifier for the application
|
|
140
|
+
* @property {boolean} [applied] - Whether the theme is applied or not
|
|
141
|
+
* @property {string} [created_at] - Date and time when the theme was created
|
|
142
|
+
* @property {boolean} [is_private] - Whether the theme is private or not
|
|
143
|
+
* @property {CompanyThemeMeta} [meta]
|
|
144
|
+
* @property {string} [name] - Name of the theme
|
|
145
|
+
* @property {string} [theme_type] - Type of the theme
|
|
146
|
+
* @property {string} [updated_at] - Date and time when the theme was last updated
|
|
147
|
+
* @property {string} [version] - Version of the theme
|
|
148
|
+
*/
|
|
149
|
+
/**
|
|
150
|
+
* @typedef CompanyThemeMeta
|
|
151
|
+
* @property {string} [description] - A description of the theme.
|
|
152
|
+
* @property {ThemeImages} [images]
|
|
153
|
+
* @property {string[]} [industry] - A list of industry categories the theme is
|
|
154
|
+
* suitable for.
|
|
155
|
+
* @property {ThemePayment} [payment]
|
|
156
|
+
* @property {string} [slug] - The slug for the theme.
|
|
157
|
+
*/
|
|
99
158
|
/**
|
|
100
159
|
* @typedef CompanyThemeSchema
|
|
101
160
|
* @property {string} [_id] - The unique identifier for the theme.
|
|
161
|
+
* @property {AppliedThemes[]} [applied_themes]
|
|
102
162
|
* @property {number} [company_id] - The ID of the company that the theme belongs to.
|
|
103
163
|
* @property {string} [created_at] - The timestamp when the theme was created.
|
|
104
164
|
* @property {MarketplaceThemeId} [marketplace_theme_id]
|
|
105
|
-
* @property {
|
|
165
|
+
* @property {CompanyThemeMeta} [meta]
|
|
106
166
|
* @property {string} [name] - The name of the theme.
|
|
107
167
|
* @property {string} [updated_at] - The timestamp when the theme was last updated.
|
|
108
168
|
*/
|
|
@@ -220,17 +280,10 @@ export = ThemePlatformModel;
|
|
|
220
280
|
/**
|
|
221
281
|
* @typedef MarketplaceThemeId
|
|
222
282
|
* @property {string} [_id] - The unique identifier for the marketplace theme.
|
|
283
|
+
* @property {string} [created_at] - Creation date of the theme
|
|
223
284
|
* @property {boolean} [is_default] - Whether the theme is the default theme.
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
* @typedef Meta
|
|
227
|
-
* @property {string} [description] - The description of the theme
|
|
228
|
-
* @property {Images} [images]
|
|
229
|
-
* @property {string[]} [industry] - An array of industries associated with the theme
|
|
230
|
-
* @property {string} [name] - The name of the theme
|
|
231
|
-
* @property {ThemePayment} [payment]
|
|
232
|
-
* @property {Release} [release]
|
|
233
|
-
* @property {string} [slug] - The slug of the theme
|
|
285
|
+
* @property {ReleaseVersionOnly} [release]
|
|
286
|
+
* @property {string} [updated_at] - Update date of the theme
|
|
234
287
|
*/
|
|
235
288
|
/**
|
|
236
289
|
* @typedef Page
|
|
@@ -270,6 +323,10 @@ export = ThemePlatformModel;
|
|
|
270
323
|
* @property {string} [notes] - The release notes of the theme
|
|
271
324
|
* @property {string} [version] - The version of the theme
|
|
272
325
|
*/
|
|
326
|
+
/**
|
|
327
|
+
* @typedef ReleaseVersionOnly
|
|
328
|
+
* @property {string} [version] - The version of the theme
|
|
329
|
+
*/
|
|
273
330
|
/**
|
|
274
331
|
* @typedef Route
|
|
275
332
|
* @property {string} [exact_url] - The exact URL of the route.
|
|
@@ -307,6 +364,26 @@ export = ThemePlatformModel;
|
|
|
307
364
|
* @property {RangeProp} [slide_interval]
|
|
308
365
|
* @property {TextProp} [title]
|
|
309
366
|
*/
|
|
367
|
+
/**
|
|
368
|
+
* @typedef SEObreadcrumb
|
|
369
|
+
* @property {Action} [action]
|
|
370
|
+
* @property {string} [url]
|
|
371
|
+
*/
|
|
372
|
+
/**
|
|
373
|
+
* @typedef SEOMetaItem
|
|
374
|
+
* @property {SEOMetaItems[]} [items]
|
|
375
|
+
* @property {string} [title]
|
|
376
|
+
*/
|
|
377
|
+
/**
|
|
378
|
+
* @typedef SEOMetaItems
|
|
379
|
+
* @property {string} [key]
|
|
380
|
+
* @property {string} [value]
|
|
381
|
+
*/
|
|
382
|
+
/**
|
|
383
|
+
* @typedef SEOSitemap
|
|
384
|
+
* @property {string} [frequency]
|
|
385
|
+
* @property {number} [priority]
|
|
386
|
+
*/
|
|
310
387
|
/**
|
|
311
388
|
* @typedef TextProp
|
|
312
389
|
* @property {string} [type] - The type of the property.
|
|
@@ -326,12 +403,13 @@ export = ThemePlatformModel;
|
|
|
326
403
|
*/
|
|
327
404
|
/**
|
|
328
405
|
* @typedef ThemeMeta
|
|
329
|
-
* @property {string} [description] -
|
|
330
|
-
* @property {
|
|
331
|
-
* @property {string[]} [industry] -
|
|
332
|
-
*
|
|
406
|
+
* @property {string} [description] - The description of the theme
|
|
407
|
+
* @property {Images} [images]
|
|
408
|
+
* @property {string[]} [industry] - An array of industries associated with the theme
|
|
409
|
+
* @property {string} [name] - The name of the theme
|
|
333
410
|
* @property {ThemePayment} [payment]
|
|
334
|
-
* @property {
|
|
411
|
+
* @property {Release} [release]
|
|
412
|
+
* @property {string} [slug] - The slug of the theme
|
|
335
413
|
*/
|
|
336
414
|
/**
|
|
337
415
|
* @typedef ThemePayment
|
|
@@ -350,16 +428,18 @@ export = ThemePlatformModel;
|
|
|
350
428
|
* @property {boolean} [applied] - Whether the theme has been applied or not
|
|
351
429
|
* @property {Assets} [assets]
|
|
352
430
|
* @property {SectionItem[]} [available_sections] - Available sections information
|
|
431
|
+
* @property {number} [company_id] - The company id in which sales channel exists
|
|
353
432
|
* @property {Config} [config]
|
|
354
433
|
* @property {string} [created_at] - The creation timestamp of the theme
|
|
355
434
|
* @property {Font} [font]
|
|
356
435
|
* @property {boolean} [is_private] - Whether the theme is private or not
|
|
357
436
|
* @property {string} [marketplace_theme_id] - The ID of the theme in the marketplace
|
|
358
|
-
* @property {
|
|
437
|
+
* @property {ThemeMeta} [meta]
|
|
359
438
|
* @property {string} [name] - The name of the theme
|
|
360
439
|
* @property {Object} [styles] - The styles associated with the theme
|
|
361
440
|
* @property {string[]} [tags] - An array of tags associated with the theme
|
|
362
441
|
* @property {string} [template_theme_id] - The ID of the template theme
|
|
442
|
+
* @property {string} [theme_type]
|
|
363
443
|
* @property {string} [updated_at] - The last update timestamp of the theme
|
|
364
444
|
* @property {string} [version] - The version of the theme
|
|
365
445
|
*/
|
|
@@ -381,7 +461,7 @@ export = ThemePlatformModel;
|
|
|
381
461
|
*/
|
|
382
462
|
/**
|
|
383
463
|
* @typedef UMDJs
|
|
384
|
-
* @property {string[]} [links]
|
|
464
|
+
* @property {string[]} [links] - An array of pages
|
|
385
465
|
*/
|
|
386
466
|
/**
|
|
387
467
|
* @typedef UpdateThemeNameRequestBody
|
|
@@ -397,11 +477,74 @@ export = ThemePlatformModel;
|
|
|
397
477
|
* @property {string} [type] - The type of the property.
|
|
398
478
|
* @property {string} [value] - The value of the URL property.
|
|
399
479
|
*/
|
|
480
|
+
/**
|
|
481
|
+
* @typedef {| "about-us"
|
|
482
|
+
* | "addresses"
|
|
483
|
+
* | "blog"
|
|
484
|
+
* | "brands"
|
|
485
|
+
* | "cards"
|
|
486
|
+
* | "cart"
|
|
487
|
+
* | "categories"
|
|
488
|
+
* | "brand"
|
|
489
|
+
* | "category"
|
|
490
|
+
* | "collection"
|
|
491
|
+
* | "collections"
|
|
492
|
+
* | "contact-us"
|
|
493
|
+
* | "external"
|
|
494
|
+
* | "faq"
|
|
495
|
+
* | "freshchat"
|
|
496
|
+
* | "home"
|
|
497
|
+
* | "notification-settings"
|
|
498
|
+
* | "orders"
|
|
499
|
+
* | "page"
|
|
500
|
+
* | "policy"
|
|
501
|
+
* | "product"
|
|
502
|
+
* | "product-request"
|
|
503
|
+
* | "products"
|
|
504
|
+
* | "profile"
|
|
505
|
+
* | "profile-order-shipment"
|
|
506
|
+
* | "profile-basic"
|
|
507
|
+
* | "profile-company"
|
|
508
|
+
* | "profile-emails"
|
|
509
|
+
* | "profile-phones"
|
|
510
|
+
* | "rate-us"
|
|
511
|
+
* | "refer-earn"
|
|
512
|
+
* | "settings"
|
|
513
|
+
* | "shared-cart"
|
|
514
|
+
* | "tnc"
|
|
515
|
+
* | "track-order"
|
|
516
|
+
* | "wishlist"
|
|
517
|
+
* | "sections"
|
|
518
|
+
* | "form"
|
|
519
|
+
* | "cart-delivery"
|
|
520
|
+
* | "cart-payment"
|
|
521
|
+
* | "cart-review"
|
|
522
|
+
* | "login"
|
|
523
|
+
* | "register"
|
|
524
|
+
* | "shipping-policy"
|
|
525
|
+
* | "return-policy"
|
|
526
|
+
* | "order-status"} PageType
|
|
527
|
+
*/
|
|
400
528
|
declare class ThemePlatformModel {
|
|
401
529
|
}
|
|
402
530
|
declare namespace ThemePlatformModel {
|
|
403
|
-
export { AddThemeRequestSchema, AllAvailablePageSchema, Assets, AvailablePagePredicate, AvailablePageRoutePredicate, AvailablePageSchema, AvailablePageSchemaSections, AvailablePageScreenPredicate, AvailablePageSectionMetaAttributes, AvailablePageSeo, AvailablePageUserPredicate, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, Block, BlockProps, CheckboxProp, CommonJS, CompanyThemeSchema, Config, CSS, CustomConfig, CustomProps, DummyResponse, Font, FontsSchema, FontsSchemaItems, FontsSchemaItemsFiles, FontVariant, FontVariants, GlobalSchema, ImagePickerProp, Images, MarketplaceThemeId,
|
|
531
|
+
export { Action, ActionPage, AddThemeRequestSchema, AllAvailablePageSchema, AppliedThemes, Assets, AvailablePagePlatformPredicate, AvailablePagePredicate, AvailablePageRoutePredicate, AvailablePageSchedulePredicate, AvailablePageSchema, AvailablePageSchemaSections, AvailablePageScreenPredicate, AvailablePageSectionMetaAttributes, AvailablePageSeo, AvailablePageUserPredicate, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, Block, BlockProps, CheckboxProp, CommonJS, CompanyPrivateTheme, CompanyThemeMeta, CompanyThemeSchema, Config, CSS, CustomConfig, CustomProps, DummyResponse, Font, FontsSchema, FontsSchemaItems, FontsSchemaItemsFiles, FontVariant, FontVariants, GlobalSchema, ImagePickerProp, Images, MarketplaceThemeId, Page, Predicate, Preset, Prop, RangeProp, Release, ReleaseVersionOnly, Route, Screen, Section, SectionItem, SectionPreset, SectionProps, SEObreadcrumb, SEOMetaItem, SEOMetaItems, SEOSitemap, TextProp, ThemeConfiguration, ThemeImages, ThemeMeta, ThemePayment, ThemeReq, ThemesSchema, ThemeUpgradableResponse, ThemeUserSchema, ThemeVersions, UMDJs, UpdateThemeNameRequestBody, UpdateThemeRequestBody, UrlProp, PageType };
|
|
404
532
|
}
|
|
533
|
+
/** @returns {Action} */
|
|
534
|
+
declare function Action(): Action;
|
|
535
|
+
type Action = {
|
|
536
|
+
page?: ActionPage;
|
|
537
|
+
popup?: ActionPage;
|
|
538
|
+
type?: string;
|
|
539
|
+
};
|
|
540
|
+
/** @returns {ActionPage} */
|
|
541
|
+
declare function ActionPage(): ActionPage;
|
|
542
|
+
type ActionPage = {
|
|
543
|
+
params?: any;
|
|
544
|
+
query?: any;
|
|
545
|
+
type: PageType;
|
|
546
|
+
url?: string;
|
|
547
|
+
};
|
|
405
548
|
/** @returns {AddThemeRequestSchema} */
|
|
406
549
|
declare function AddThemeRequestSchema(): AddThemeRequestSchema;
|
|
407
550
|
type AddThemeRequestSchema = {
|
|
@@ -412,6 +555,18 @@ declare function AllAvailablePageSchema(): AllAvailablePageSchema;
|
|
|
412
555
|
type AllAvailablePageSchema = {
|
|
413
556
|
pages?: AvailablePageSchema[];
|
|
414
557
|
};
|
|
558
|
+
/** @returns {AppliedThemes} */
|
|
559
|
+
declare function AppliedThemes(): AppliedThemes;
|
|
560
|
+
type AppliedThemes = {
|
|
561
|
+
/**
|
|
562
|
+
* - ID of the application theme
|
|
563
|
+
*/
|
|
564
|
+
_id?: string;
|
|
565
|
+
/**
|
|
566
|
+
* - ID of the application
|
|
567
|
+
*/
|
|
568
|
+
application_id?: string;
|
|
569
|
+
};
|
|
415
570
|
/** @returns {Assets} */
|
|
416
571
|
declare function Assets(): Assets;
|
|
417
572
|
type Assets = {
|
|
@@ -419,12 +574,34 @@ type Assets = {
|
|
|
419
574
|
css?: CSS;
|
|
420
575
|
umd_js?: UMDJs;
|
|
421
576
|
};
|
|
577
|
+
/** @returns {AvailablePagePlatformPredicate} */
|
|
578
|
+
declare function AvailablePagePlatformPredicate(): AvailablePagePlatformPredicate;
|
|
579
|
+
type AvailablePagePlatformPredicate = {
|
|
580
|
+
/**
|
|
581
|
+
* - Section visibility on android platform
|
|
582
|
+
*/
|
|
583
|
+
android?: boolean;
|
|
584
|
+
/**
|
|
585
|
+
* - Section visibility on ios platform
|
|
586
|
+
*/
|
|
587
|
+
ios?: boolean;
|
|
588
|
+
/**
|
|
589
|
+
* - Section visibility on web platform
|
|
590
|
+
*/
|
|
591
|
+
web?: boolean;
|
|
592
|
+
};
|
|
422
593
|
/** @returns {AvailablePagePredicate} */
|
|
423
594
|
declare function AvailablePagePredicate(): AvailablePagePredicate;
|
|
424
595
|
type AvailablePagePredicate = {
|
|
596
|
+
platform?: AvailablePagePlatformPredicate;
|
|
425
597
|
route?: AvailablePageRoutePredicate;
|
|
598
|
+
schedule?: AvailablePageSchedulePredicate;
|
|
426
599
|
screen?: AvailablePageScreenPredicate;
|
|
427
600
|
user?: AvailablePageUserPredicate;
|
|
601
|
+
/**
|
|
602
|
+
* - An array of zone ids associated with the section
|
|
603
|
+
*/
|
|
604
|
+
zones?: string[];
|
|
428
605
|
};
|
|
429
606
|
/** @returns {AvailablePageRoutePredicate} */
|
|
430
607
|
declare function AvailablePageRoutePredicate(): AvailablePageRoutePredicate;
|
|
@@ -433,6 +610,13 @@ type AvailablePageRoutePredicate = {
|
|
|
433
610
|
query?: any;
|
|
434
611
|
selected?: string;
|
|
435
612
|
};
|
|
613
|
+
/** @returns {AvailablePageSchedulePredicate} */
|
|
614
|
+
declare function AvailablePageSchedulePredicate(): AvailablePageSchedulePredicate;
|
|
615
|
+
type AvailablePageSchedulePredicate = {
|
|
616
|
+
cron?: string;
|
|
617
|
+
end?: string;
|
|
618
|
+
start?: string;
|
|
619
|
+
};
|
|
436
620
|
/** @returns {AvailablePageSchema} */
|
|
437
621
|
declare function AvailablePageSchema(): AvailablePageSchema;
|
|
438
622
|
type AvailablePageSchema = {
|
|
@@ -473,7 +657,11 @@ type AvailablePageSectionMetaAttributes = {
|
|
|
473
657
|
declare function AvailablePageSeo(): AvailablePageSeo;
|
|
474
658
|
type AvailablePageSeo = {
|
|
475
659
|
_id?: string;
|
|
660
|
+
breadcrumb?: SEObreadcrumb[];
|
|
661
|
+
canonical_url?: string;
|
|
476
662
|
description?: string;
|
|
663
|
+
meta_tags?: SEOMetaItem[];
|
|
664
|
+
sitemap?: SEOSitemap;
|
|
477
665
|
title?: string;
|
|
478
666
|
};
|
|
479
667
|
/** @returns {AvailablePageUserPredicate} */
|
|
@@ -528,6 +716,66 @@ declare function CommonJS(): CommonJS;
|
|
|
528
716
|
type CommonJS = {
|
|
529
717
|
link?: string;
|
|
530
718
|
};
|
|
719
|
+
/** @returns {CompanyPrivateTheme} */
|
|
720
|
+
declare function CompanyPrivateTheme(): CompanyPrivateTheme;
|
|
721
|
+
type CompanyPrivateTheme = {
|
|
722
|
+
/**
|
|
723
|
+
* - Unique identifier for the theme
|
|
724
|
+
*/
|
|
725
|
+
_id?: string;
|
|
726
|
+
/**
|
|
727
|
+
* - Identifier for the application
|
|
728
|
+
*/
|
|
729
|
+
application_id?: string;
|
|
730
|
+
/**
|
|
731
|
+
* - Whether the theme is applied or not
|
|
732
|
+
*/
|
|
733
|
+
applied?: boolean;
|
|
734
|
+
/**
|
|
735
|
+
* - Date and time when the theme was created
|
|
736
|
+
*/
|
|
737
|
+
created_at?: string;
|
|
738
|
+
/**
|
|
739
|
+
* - Whether the theme is private or not
|
|
740
|
+
*/
|
|
741
|
+
is_private?: boolean;
|
|
742
|
+
meta?: CompanyThemeMeta;
|
|
743
|
+
/**
|
|
744
|
+
* - Name of the theme
|
|
745
|
+
*/
|
|
746
|
+
name?: string;
|
|
747
|
+
/**
|
|
748
|
+
* - Type of the theme
|
|
749
|
+
*/
|
|
750
|
+
theme_type?: string;
|
|
751
|
+
/**
|
|
752
|
+
* - Date and time when the theme was last updated
|
|
753
|
+
*/
|
|
754
|
+
updated_at?: string;
|
|
755
|
+
/**
|
|
756
|
+
* - Version of the theme
|
|
757
|
+
*/
|
|
758
|
+
version?: string;
|
|
759
|
+
};
|
|
760
|
+
/** @returns {CompanyThemeMeta} */
|
|
761
|
+
declare function CompanyThemeMeta(): CompanyThemeMeta;
|
|
762
|
+
type CompanyThemeMeta = {
|
|
763
|
+
/**
|
|
764
|
+
* - A description of the theme.
|
|
765
|
+
*/
|
|
766
|
+
description?: string;
|
|
767
|
+
images?: ThemeImages;
|
|
768
|
+
/**
|
|
769
|
+
* - A list of industry categories the theme is
|
|
770
|
+
* suitable for.
|
|
771
|
+
*/
|
|
772
|
+
industry?: string[];
|
|
773
|
+
payment?: ThemePayment;
|
|
774
|
+
/**
|
|
775
|
+
* - The slug for the theme.
|
|
776
|
+
*/
|
|
777
|
+
slug?: string;
|
|
778
|
+
};
|
|
531
779
|
/** @returns {CompanyThemeSchema} */
|
|
532
780
|
declare function CompanyThemeSchema(): CompanyThemeSchema;
|
|
533
781
|
type CompanyThemeSchema = {
|
|
@@ -535,6 +783,7 @@ type CompanyThemeSchema = {
|
|
|
535
783
|
* - The unique identifier for the theme.
|
|
536
784
|
*/
|
|
537
785
|
_id?: string;
|
|
786
|
+
applied_themes?: AppliedThemes[];
|
|
538
787
|
/**
|
|
539
788
|
* - The ID of the company that the theme belongs to.
|
|
540
789
|
*/
|
|
@@ -544,7 +793,7 @@ type CompanyThemeSchema = {
|
|
|
544
793
|
*/
|
|
545
794
|
created_at?: string;
|
|
546
795
|
marketplace_theme_id?: MarketplaceThemeId;
|
|
547
|
-
meta?:
|
|
796
|
+
meta?: CompanyThemeMeta;
|
|
548
797
|
/**
|
|
549
798
|
* - The name of the theme.
|
|
550
799
|
*/
|
|
@@ -804,32 +1053,18 @@ type MarketplaceThemeId = {
|
|
|
804
1053
|
*/
|
|
805
1054
|
_id?: string;
|
|
806
1055
|
/**
|
|
807
|
-
* -
|
|
808
|
-
*/
|
|
809
|
-
is_default?: boolean;
|
|
810
|
-
};
|
|
811
|
-
/** @returns {Meta} */
|
|
812
|
-
declare function Meta(): Meta;
|
|
813
|
-
type Meta = {
|
|
814
|
-
/**
|
|
815
|
-
* - The description of the theme
|
|
816
|
-
*/
|
|
817
|
-
description?: string;
|
|
818
|
-
images?: Images;
|
|
819
|
-
/**
|
|
820
|
-
* - An array of industries associated with the theme
|
|
1056
|
+
* - Creation date of the theme
|
|
821
1057
|
*/
|
|
822
|
-
|
|
1058
|
+
created_at?: string;
|
|
823
1059
|
/**
|
|
824
|
-
* -
|
|
1060
|
+
* - Whether the theme is the default theme.
|
|
825
1061
|
*/
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
release?: Release;
|
|
1062
|
+
is_default?: boolean;
|
|
1063
|
+
release?: ReleaseVersionOnly;
|
|
829
1064
|
/**
|
|
830
|
-
* -
|
|
1065
|
+
* - Update date of the theme
|
|
831
1066
|
*/
|
|
832
|
-
|
|
1067
|
+
updated_at?: string;
|
|
833
1068
|
};
|
|
834
1069
|
/** @returns {Page} */
|
|
835
1070
|
declare function Page(): Page;
|
|
@@ -902,6 +1137,14 @@ type Release = {
|
|
|
902
1137
|
*/
|
|
903
1138
|
version?: string;
|
|
904
1139
|
};
|
|
1140
|
+
/** @returns {ReleaseVersionOnly} */
|
|
1141
|
+
declare function ReleaseVersionOnly(): ReleaseVersionOnly;
|
|
1142
|
+
type ReleaseVersionOnly = {
|
|
1143
|
+
/**
|
|
1144
|
+
* - The version of the theme
|
|
1145
|
+
*/
|
|
1146
|
+
version?: string;
|
|
1147
|
+
};
|
|
905
1148
|
/** @returns {Route} */
|
|
906
1149
|
declare function Route(): Route;
|
|
907
1150
|
type Route = {
|
|
@@ -972,6 +1215,30 @@ type SectionProps = {
|
|
|
972
1215
|
slide_interval?: RangeProp;
|
|
973
1216
|
title?: TextProp;
|
|
974
1217
|
};
|
|
1218
|
+
/** @returns {SEObreadcrumb} */
|
|
1219
|
+
declare function SEObreadcrumb(): SEObreadcrumb;
|
|
1220
|
+
type SEObreadcrumb = {
|
|
1221
|
+
action?: Action;
|
|
1222
|
+
url?: string;
|
|
1223
|
+
};
|
|
1224
|
+
/** @returns {SEOMetaItem} */
|
|
1225
|
+
declare function SEOMetaItem(): SEOMetaItem;
|
|
1226
|
+
type SEOMetaItem = {
|
|
1227
|
+
items?: SEOMetaItems[];
|
|
1228
|
+
title?: string;
|
|
1229
|
+
};
|
|
1230
|
+
/** @returns {SEOMetaItems} */
|
|
1231
|
+
declare function SEOMetaItems(): SEOMetaItems;
|
|
1232
|
+
type SEOMetaItems = {
|
|
1233
|
+
key?: string;
|
|
1234
|
+
value?: string;
|
|
1235
|
+
};
|
|
1236
|
+
/** @returns {SEOSitemap} */
|
|
1237
|
+
declare function SEOSitemap(): SEOSitemap;
|
|
1238
|
+
type SEOSitemap = {
|
|
1239
|
+
frequency?: string;
|
|
1240
|
+
priority?: number;
|
|
1241
|
+
};
|
|
975
1242
|
/** @returns {TextProp} */
|
|
976
1243
|
declare function TextProp(): TextProp;
|
|
977
1244
|
type TextProp = {
|
|
@@ -1014,18 +1281,22 @@ type ThemeImages = {
|
|
|
1014
1281
|
declare function ThemeMeta(): ThemeMeta;
|
|
1015
1282
|
type ThemeMeta = {
|
|
1016
1283
|
/**
|
|
1017
|
-
* -
|
|
1284
|
+
* - The description of the theme
|
|
1018
1285
|
*/
|
|
1019
1286
|
description?: string;
|
|
1020
|
-
images?:
|
|
1287
|
+
images?: Images;
|
|
1021
1288
|
/**
|
|
1022
|
-
* -
|
|
1023
|
-
* suitable for.
|
|
1289
|
+
* - An array of industries associated with the theme
|
|
1024
1290
|
*/
|
|
1025
1291
|
industry?: string[];
|
|
1292
|
+
/**
|
|
1293
|
+
* - The name of the theme
|
|
1294
|
+
*/
|
|
1295
|
+
name?: string;
|
|
1026
1296
|
payment?: ThemePayment;
|
|
1297
|
+
release?: Release;
|
|
1027
1298
|
/**
|
|
1028
|
-
* - The slug
|
|
1299
|
+
* - The slug of the theme
|
|
1029
1300
|
*/
|
|
1030
1301
|
slug?: string;
|
|
1031
1302
|
};
|
|
@@ -1070,6 +1341,10 @@ type ThemesSchema = {
|
|
|
1070
1341
|
* - Available sections information
|
|
1071
1342
|
*/
|
|
1072
1343
|
available_sections?: SectionItem[];
|
|
1344
|
+
/**
|
|
1345
|
+
* - The company id in which sales channel exists
|
|
1346
|
+
*/
|
|
1347
|
+
company_id?: number;
|
|
1073
1348
|
config?: Config;
|
|
1074
1349
|
/**
|
|
1075
1350
|
* - The creation timestamp of the theme
|
|
@@ -1084,7 +1359,7 @@ type ThemesSchema = {
|
|
|
1084
1359
|
* - The ID of the theme in the marketplace
|
|
1085
1360
|
*/
|
|
1086
1361
|
marketplace_theme_id?: string;
|
|
1087
|
-
meta?:
|
|
1362
|
+
meta?: ThemeMeta;
|
|
1088
1363
|
/**
|
|
1089
1364
|
* - The name of the theme
|
|
1090
1365
|
*/
|
|
@@ -1101,6 +1376,7 @@ type ThemesSchema = {
|
|
|
1101
1376
|
* - The ID of the template theme
|
|
1102
1377
|
*/
|
|
1103
1378
|
template_theme_id?: string;
|
|
1379
|
+
theme_type?: string;
|
|
1104
1380
|
/**
|
|
1105
1381
|
* - The last update timestamp of the theme
|
|
1106
1382
|
*/
|
|
@@ -1150,6 +1426,9 @@ type ThemeVersions = {
|
|
|
1150
1426
|
/** @returns {UMDJs} */
|
|
1151
1427
|
declare function UMDJs(): UMDJs;
|
|
1152
1428
|
type UMDJs = {
|
|
1429
|
+
/**
|
|
1430
|
+
* - An array of pages
|
|
1431
|
+
*/
|
|
1153
1432
|
links?: string[];
|
|
1154
1433
|
};
|
|
1155
1434
|
/** @returns {UpdateThemeNameRequestBody} */
|
|
@@ -1178,3 +1457,10 @@ type UrlProp = {
|
|
|
1178
1457
|
*/
|
|
1179
1458
|
value?: string;
|
|
1180
1459
|
};
|
|
1460
|
+
/**
|
|
1461
|
+
* Enum: PageType Used By: Theme
|
|
1462
|
+
*
|
|
1463
|
+
* @returns {PageType}
|
|
1464
|
+
*/
|
|
1465
|
+
declare function PageType(): PageType;
|
|
1466
|
+
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-emails" | "profile-phones" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status";
|