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