@gofynd/fdk-client-javascript 1.4.2-beta.1 → 1.4.2-beta.10

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