@gofynd/fdk-client-javascript 1.4.2-beta.2 → 1.4.2-beta.4

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