@gofynd/fdk-client-javascript 1.0.1 → 1.0.3

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 (318) hide show
  1. package/documentation/application/CART.md +5934 -4502
  2. package/documentation/application/CATALOG.md +6338 -7245
  3. package/documentation/application/COMMON.md +95 -222
  4. package/documentation/application/COMMUNICATION.md +106 -186
  5. package/documentation/application/CONFIGURATION.md +903 -1597
  6. package/documentation/application/CONTENT.md +562 -1270
  7. package/documentation/application/FILESTORAGE.md +84 -220
  8. package/documentation/application/LEAD.md +314 -660
  9. package/documentation/application/LOGISTIC.md +229 -305
  10. package/documentation/application/ORDER.md +642 -1137
  11. package/documentation/application/PAYMENT.md +2285 -3031
  12. package/documentation/application/POSCART.md +6079 -4642
  13. package/documentation/application/REWARDS.md +94 -248
  14. package/documentation/application/SHARE.md +152 -250
  15. package/documentation/application/THEME.md +952 -1235
  16. package/documentation/application/USER.md +1228 -1765
  17. package/documentation/platform/ANALYTICS.md +207 -349
  18. package/documentation/platform/AUDITTRAIL.md +121 -204
  19. package/documentation/platform/BILLING.md +865 -1376
  20. package/documentation/platform/CART.md +2814 -3662
  21. package/documentation/platform/CATALOG.md +15266 -17619
  22. package/documentation/platform/COMMON.md +95 -222
  23. package/documentation/platform/COMMUNICATION.md +1632 -2380
  24. package/documentation/platform/COMPANYPROFILE.md +572 -957
  25. package/documentation/platform/CONFIGURATION.md +3050 -4073
  26. package/documentation/platform/CONTENT.md +3509 -4121
  27. package/documentation/platform/DISCOUNT.md +140 -236
  28. package/documentation/platform/FILESTORAGE.md +187 -323
  29. package/documentation/platform/INVENTORY.md +268 -911
  30. package/documentation/platform/LEAD.md +2195 -2541
  31. package/documentation/platform/ORDER.md +3750 -5636
  32. package/documentation/platform/PARTNER.md +9 -36
  33. package/documentation/platform/PAYMENT.md +903 -1213
  34. package/documentation/platform/REWARDS.md +183 -347
  35. package/documentation/platform/SHARE.md +120 -213
  36. package/documentation/platform/THEME.md +12956 -13239
  37. package/documentation/platform/USER.md +975 -1120
  38. package/documentation/platform/WEBHOOK.md +78 -184
  39. package/documentation/public/CONFIGURATION.md +95 -222
  40. package/documentation/public/INVENTORY.md +100 -282
  41. package/documentation/public/WEBHOOK.md +27 -133
  42. package/package.json +1 -1
  43. package/sdk/application/ApplicationConfig.js +1 -1
  44. package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
  45. package/sdk/application/Cart/CartApplicationClient.js +1058 -547
  46. package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
  47. package/sdk/application/Cart/CartApplicationModel.js +489 -886
  48. package/sdk/application/Cart/CartApplicationValidator.d.ts +17 -17
  49. package/sdk/application/Cart/CartApplicationValidator.js +98 -98
  50. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +358 -358
  51. package/sdk/application/Catalog/CatalogApplicationClient.js +1545 -949
  52. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
  53. package/sdk/application/Catalog/CatalogApplicationModel.js +692 -1258
  54. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +19 -19
  55. package/sdk/application/Catalog/CatalogApplicationValidator.js +110 -110
  56. package/sdk/application/Common/CommonApplicationClient.d.ts +13 -13
  57. package/sdk/application/Common/CommonApplicationClient.js +76 -36
  58. package/sdk/application/Common/CommonApplicationModel.d.ts +12 -12
  59. package/sdk/application/Common/CommonApplicationModel.js +83 -160
  60. package/sdk/application/Common/CommonApplicationValidator.d.ts +1 -1
  61. package/sdk/application/Common/CommonApplicationValidator.js +6 -6
  62. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +11 -11
  63. package/sdk/application/Communication/CommunicationApplicationClient.js +92 -31
  64. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +6 -6
  65. package/sdk/application/Communication/CommunicationApplicationModel.js +38 -83
  66. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
  67. package/sdk/application/Communication/CommunicationApplicationValidator.js +4 -4
  68. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +116 -116
  69. package/sdk/application/Configuration/ConfigurationApplicationClient.js +638 -312
  70. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +85 -85
  71. package/sdk/application/Configuration/ConfigurationApplicationModel.js +480 -851
  72. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +8 -8
  73. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +33 -33
  74. package/sdk/application/Content/ContentApplicationClient.d.ts +67 -67
  75. package/sdk/application/Content/ContentApplicationClient.js +581 -213
  76. package/sdk/application/Content/ContentApplicationModel.d.ts +76 -75
  77. package/sdk/application/Content/ContentApplicationModel.js +468 -875
  78. package/sdk/application/Content/ContentApplicationValidator.d.ts +5 -5
  79. package/sdk/application/Content/ContentApplicationValidator.js +24 -24
  80. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +25 -25
  81. package/sdk/application/FileStorage/FileStorageApplicationClient.js +121 -59
  82. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +13 -13
  83. package/sdk/application/FileStorage/FileStorageApplicationModel.js +86 -169
  84. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
  85. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +7 -7
  86. package/sdk/application/Lead/LeadApplicationClient.d.ts +24 -24
  87. package/sdk/application/Lead/LeadApplicationClient.js +230 -96
  88. package/sdk/application/Lead/LeadApplicationModel.d.ts +35 -35
  89. package/sdk/application/Lead/LeadApplicationModel.js +267 -474
  90. package/sdk/application/Lead/LeadApplicationValidator.d.ts +2 -2
  91. package/sdk/application/Lead/LeadApplicationValidator.js +11 -11
  92. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +30 -19
  93. package/sdk/application/Logistic/LogisticApplicationClient.js +196 -47
  94. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +17 -14
  95. package/sdk/application/Logistic/LogisticApplicationModel.js +133 -201
  96. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +3 -2
  97. package/sdk/application/Logistic/LogisticApplicationValidator.js +14 -8
  98. package/sdk/application/Order/OrderApplicationClient.d.ts +86 -86
  99. package/sdk/application/Order/OrderApplicationClient.js +448 -215
  100. package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
  101. package/sdk/application/Order/OrderApplicationModel.js +357 -661
  102. package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -7
  103. package/sdk/application/Order/OrderApplicationValidator.js +28 -28
  104. package/sdk/application/Payment/PaymentApplicationClient.d.ts +318 -318
  105. package/sdk/application/Payment/PaymentApplicationClient.js +1525 -750
  106. package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
  107. package/sdk/application/Payment/PaymentApplicationModel.js +565 -1033
  108. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +28 -28
  109. package/sdk/application/Payment/PaymentApplicationValidator.js +107 -107
  110. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +254 -254
  111. package/sdk/application/PosCart/PosCartApplicationClient.js +1137 -606
  112. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +61 -60
  113. package/sdk/application/PosCart/PosCartApplicationModel.js +477 -873
  114. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +18 -18
  115. package/sdk/application/PosCart/PosCartApplicationValidator.js +103 -103
  116. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +27 -27
  117. package/sdk/application/Rewards/RewardsApplicationClient.js +253 -113
  118. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +14 -14
  119. package/sdk/application/Rewards/RewardsApplicationModel.js +96 -191
  120. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +3 -3
  121. package/sdk/application/Rewards/RewardsApplicationValidator.js +12 -12
  122. package/sdk/application/Share/ShareApplicationClient.d.ts +37 -37
  123. package/sdk/application/Share/ShareApplicationClient.js +221 -96
  124. package/sdk/application/Share/ShareApplicationModel.d.ts +8 -8
  125. package/sdk/application/Share/ShareApplicationModel.js +63 -123
  126. package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -4
  127. package/sdk/application/Share/ShareApplicationValidator.js +12 -12
  128. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
  129. package/sdk/application/Theme/ThemeApplicationClient.js +115 -37
  130. package/sdk/application/Theme/ThemeApplicationModel.d.ts +34 -34
  131. package/sdk/application/Theme/ThemeApplicationModel.js +190 -336
  132. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +1 -1
  133. package/sdk/application/Theme/ThemeApplicationValidator.js +4 -4
  134. package/sdk/application/User/UserApplicationClient.d.ts +280 -280
  135. package/sdk/application/User/UserApplicationClient.js +1201 -543
  136. package/sdk/application/User/UserApplicationModel.d.ts +79 -72
  137. package/sdk/application/User/UserApplicationModel.js +440 -689
  138. package/sdk/application/User/UserApplicationValidator.d.ts +24 -24
  139. package/sdk/application/User/UserApplicationValidator.js +89 -89
  140. package/sdk/common/AxiosHelper.js +1 -1
  141. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +55 -47
  142. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +308 -151
  143. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
  144. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +20 -20
  145. package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +8 -4
  146. package/sdk/platform/Analytics/AnalyticsPlatformClient.js +103 -16
  147. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
  148. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
  149. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +16 -12
  150. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +131 -44
  151. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +10 -10
  152. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +50 -89
  153. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
  154. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +6 -6
  155. package/sdk/platform/Billing/BillingPlatformClient.d.ts +68 -56
  156. package/sdk/platform/Billing/BillingPlatformClient.js +416 -171
  157. package/sdk/platform/Billing/BillingPlatformModel.d.ts +40 -40
  158. package/sdk/platform/Billing/BillingPlatformModel.js +342 -668
  159. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +8 -8
  160. package/sdk/platform/Billing/BillingPlatformValidator.js +25 -25
  161. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +176 -159
  162. package/sdk/platform/Cart/CartPlatformApplicationClient.js +837 -500
  163. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -11
  164. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +63 -63
  165. package/sdk/platform/Cart/CartPlatformModel.d.ts +86 -85
  166. package/sdk/platform/Cart/CartPlatformModel.js +677 -1211
  167. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +582 -529
  168. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2642 -1533
  169. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
  170. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +175 -175
  171. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +708 -590
  172. package/sdk/platform/Catalog/CatalogPlatformClient.js +3103 -1362
  173. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +293 -284
  174. package/sdk/platform/Catalog/CatalogPlatformModel.js +2149 -3660
  175. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -64
  176. package/sdk/platform/Catalog/CatalogPlatformValidator.js +235 -216
  177. package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -12
  178. package/sdk/platform/Common/CommonPlatformClient.js +80 -37
  179. package/sdk/platform/Common/CommonPlatformModel.d.ts +12 -12
  180. package/sdk/platform/Common/CommonPlatformModel.js +83 -160
  181. package/sdk/platform/Common/CommonPlatformValidator.d.ts +1 -1
  182. package/sdk/platform/Common/CommonPlatformValidator.js +6 -6
  183. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +333 -293
  184. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1687 -855
  185. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
  186. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +87 -87
  187. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
  188. package/sdk/platform/Communication/CommunicationPlatformClient.js +28 -4
  189. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
  190. package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
  191. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +70 -57
  192. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +463 -182
  193. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -28
  194. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +294 -557
  195. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
  196. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +24 -24
  197. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +175 -137
  198. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1168 -521
  199. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
  200. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +69 -63
  201. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +137 -119
  202. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +691 -316
  203. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +148 -146
  204. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +854 -1508
  205. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -9
  206. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +38 -38
  207. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +542 -461
  208. package/sdk/platform/Content/ContentPlatformApplicationClient.js +2600 -1160
  209. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +50 -49
  210. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +159 -152
  211. package/sdk/platform/Content/ContentPlatformModel.d.ts +79 -75
  212. package/sdk/platform/Content/ContentPlatformModel.js +486 -867
  213. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +72 -61
  214. package/sdk/platform/Discount/DiscountPlatformClient.js +424 -198
  215. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +7 -7
  216. package/sdk/platform/Discount/DiscountPlatformModel.js +60 -121
  217. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +6 -6
  218. package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -29
  219. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +26 -22
  220. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +145 -59
  221. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
  222. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +8 -8
  223. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +58 -52
  224. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +240 -114
  225. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -13
  226. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +86 -169
  227. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +3 -3
  228. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -11
  229. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +76 -63
  230. package/sdk/platform/Inventory/InventoryPlatformClient.js +461 -197
  231. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +30 -30
  232. package/sdk/platform/Inventory/InventoryPlatformModel.js +497 -964
  233. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +7 -7
  234. package/sdk/platform/Inventory/InventoryPlatformValidator.js +28 -28
  235. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +84 -71
  236. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +441 -182
  237. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
  238. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +28 -28
  239. package/sdk/platform/Lead/LeadPlatformClient.d.ts +86 -75
  240. package/sdk/platform/Lead/LeadPlatformClient.js +434 -212
  241. package/sdk/platform/Lead/LeadPlatformModel.d.ts +35 -35
  242. package/sdk/platform/Lead/LeadPlatformModel.js +267 -474
  243. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +6 -6
  244. package/sdk/platform/Lead/LeadPlatformValidator.js +24 -24
  245. package/sdk/platform/OAuthClient.js +8 -8
  246. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +14 -11
  247. package/sdk/platform/Order/OrderPlatformApplicationClient.js +113 -49
  248. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
  249. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -6
  250. package/sdk/platform/Order/OrderPlatformClient.d.ts +367 -315
  251. package/sdk/platform/Order/OrderPlatformClient.js +1775 -893
  252. package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -192
  253. package/sdk/platform/Order/OrderPlatformModel.js +1591 -2822
  254. package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
  255. package/sdk/platform/Order/OrderPlatformValidator.js +160 -155
  256. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -2
  257. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +52 -8
  258. package/sdk/platform/Partner/PartnerPlatformModel.js +6 -22
  259. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +65 -54
  260. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +395 -164
  261. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
  262. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +23 -23
  263. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +55 -45
  264. package/sdk/platform/Payment/PaymentPlatformClient.js +362 -147
  265. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
  266. package/sdk/platform/Payment/PaymentPlatformModel.js +220 -408
  267. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
  268. package/sdk/platform/Payment/PaymentPlatformValidator.js +21 -21
  269. package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10153
  270. package/sdk/platform/PlatformApplicationClient.js +1584 -13691
  271. package/sdk/platform/PlatformClient.d.ts +7918 -7666
  272. package/sdk/platform/PlatformClient.js +8701 -9926
  273. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +91 -78
  274. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +507 -253
  275. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
  276. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +34 -34
  277. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
  278. package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
  279. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -12
  280. package/sdk/platform/Share/SharePlatformApplicationClient.js +130 -52
  281. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
  282. package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -6
  283. package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
  284. package/sdk/platform/Share/SharePlatformModel.js +60 -118
  285. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +148 -124
  286. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +770 -295
  287. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
  288. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +44 -44
  289. package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
  290. package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
  291. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +146 -67
  292. package/sdk/platform/User/UserPlatformApplicationClient.js +742 -155
  293. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
  294. package/sdk/platform/User/UserPlatformApplicationValidator.js +61 -23
  295. package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
  296. package/sdk/platform/User/UserPlatformModel.js +440 -689
  297. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +35 -29
  298. package/sdk/platform/Webhook/WebhookPlatformClient.js +218 -91
  299. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +7 -7
  300. package/sdk/platform/Webhook/WebhookPlatformModel.js +68 -136
  301. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +3 -3
  302. package/sdk/platform/Webhook/WebhookPlatformValidator.js +14 -14
  303. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
  304. package/sdk/public/Configuration/ConfigurationPublicClient.js +81 -38
  305. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +12 -12
  306. package/sdk/public/Configuration/ConfigurationPublicModel.js +85 -162
  307. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -1
  308. package/sdk/public/Configuration/ConfigurationPublicValidator.js +6 -6
  309. package/sdk/public/Inventory/InventoryPublicClient.d.ts +34 -34
  310. package/sdk/public/Inventory/InventoryPublicClient.js +228 -105
  311. package/sdk/public/Inventory/InventoryPublicModel.d.ts +10 -10
  312. package/sdk/public/Inventory/InventoryPublicModel.js +119 -245
  313. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +3 -3
  314. package/sdk/public/Inventory/InventoryPublicValidator.js +15 -15
  315. package/sdk/public/Webhook/WebhookPublicClient.js +51 -10
  316. package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
  317. package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
  318. package/tests/application/catalog.spec.js +7 -0
@@ -9,8 +9,8 @@
9
9
  Responsible for themes
10
10
 
11
11
  * [getAllPages](#getallpages)
12
- * [getPage](#getpage)
13
12
  * [getAppliedTheme](#getappliedtheme)
13
+ * [getPage](#getpage)
14
14
  * [getThemeForPreview](#getthemeforpreview)
15
15
 
16
16
 
@@ -372,42 +372,34 @@ Success. Returns an array all the pages of the theme. Refer `AllAvailablePageSch
372
372
  ---
373
373
 
374
374
 
375
- ### getPage
376
- Get page of a theme
375
+ ### getAppliedTheme
376
+ Get the theme currently applied to an application
377
377
 
378
378
 
379
379
 
380
380
  ```javascript
381
381
  // Promise
382
- const promise = theme.getPage({ themeId : value,
383
- pageValue : value });
382
+ const promise = theme.getAppliedTheme();
384
383
 
385
384
  // Async/Await
386
- const data = await theme.getPage({ themeId : value,
387
- pageValue : value });
385
+ const data = await theme.getAppliedTheme();
388
386
  ```
389
387
 
390
388
 
391
389
 
392
390
 
393
391
 
394
- | Argument | Type | Required | Description |
395
- | --------- | ----- | -------- | ----------- |
396
- | themeId | string | yes | ID of the theme to be retrieved |
397
- | pageValue | string | yes | Value of the page to be retrieved |
398
-
399
-
400
392
 
401
- Use this API to retrieve a page of a theme.
393
+ An application has multiple themes, but only one theme can be applied at a time. Use this API to retrieve the theme currently applied to the application.
402
394
 
403
395
  *Returned Response:*
404
396
 
405
397
 
406
398
 
407
399
 
408
- [AvailablePageSchema](#AvailablePageSchema)
400
+ [ThemesSchema](#ThemesSchema)
409
401
 
410
- Success. Returns an object of the pages. Refer `AvailablePageSchema` for more details.
402
+ Success. Returns a JSON object of the theme. Check the example shown below or refer `ThemesSchema` for more details.
411
403
 
412
404
 
413
405
 
@@ -417,467 +409,48 @@ Success. Returns an object of the pages. Refer `AvailablePageSchema` for more d
417
409
 
418
410
 
419
411
  <details>
420
- <summary><i>&nbsp; Home page</i></summary>
412
+ <summary><i>&nbsp; Applied Theme</i></summary>
421
413
 
422
414
  ```json
423
415
  {
424
416
  "value": {
425
- "path": "",
426
- "type": "system",
427
- "seo": {
428
- "title": "",
429
- "description": "",
430
- "_id": "60210832d7e98115b013f6ac"
417
+ "information": {
418
+ "images": {
419
+ "desktop": [
420
+ "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/pictures/free/original/artisan-desktop.png"
421
+ ],
422
+ "android": [
423
+ "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/pictures/free/original/artisan-mobile.png"
424
+ ],
425
+ "ios": [
426
+ "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/pictures/free/original/artisan-mobile.png"
427
+ ],
428
+ "thumbnail": [
429
+ "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/pictures/free/original/artisan-desktop.png"
430
+ ]
431
+ },
432
+ "features": [
433
+ "Responsive"
434
+ ],
435
+ "name": "Akash-Artisan"
431
436
  },
432
- "props": [],
433
- "_id": "60ab5ca6d572fed64294eafc",
434
- "sections": [
435
- {
436
- "blocks": [],
437
- "predicate": {
438
- "screen": {
439
- "mobile": false,
440
- "desktop": false,
441
- "tablet": false
442
- },
443
- "user": {
444
- "authenticated": true,
445
- "anonymous": true
446
- },
447
- "route": {
448
- "selected": "none",
449
- "exactURL": "",
450
- "query": {
451
- "utm": "facebook"
452
- }
453
- }
454
- },
455
- "name": "customHtml",
456
- "props": {
457
- "code": {
458
- "type": "code",
459
- "value": "<p style=\"text-align:right;\"><a href=\"tel:+919820204442\"><img src=\"https://dabuttonfactory.com/button.png?t=For+any+queries%2C+call%3A+%2B91+98202+04442&f=Open+Sans-Bold&ts=21&tc=fff&hp=20&vp=15&c=round&bgt=unicolored&bgc=7043f7\"/> </a></p>"
460
- }
461
- }
437
+ "src": {
438
+ "link": "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/sources/J-1s-N-pl-archive.zip"
439
+ },
440
+ "assets": {
441
+ "css": {
442
+ "link": "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/assets/Ia4m885Mw2-themeBundle.css"
462
443
  },
463
- {
464
- "blocks": [],
465
- "predicate": {
466
- "screen": {
467
- "mobile": true,
468
- "desktop": true,
469
- "tablet": true
470
- },
471
- "user": {
472
- "authenticated": true,
473
- "anonymous": true
474
- },
475
- "route": {
476
- "selected": "none",
477
- "exactURL": "",
478
- "query": {
479
- "udm": "vivek"
480
- }
481
- }
482
- },
483
- "name": "brands-listing",
484
- "props": {
485
- "title": {
486
- "type": "text",
487
- "value": "Popular rrrrr"
488
- },
489
- "header": {
490
- "type": "header"
491
- },
492
- "brand_type": {
493
- "value": "all",
494
- "type": "radio"
495
- },
496
- "department": {
497
- "type": "department"
498
- },
499
- "item_count": {
500
- "value": 5,
501
- "type": "range"
502
- },
503
- "layout": {
504
- "value": "horizontal",
505
- "type": "select"
506
- },
507
- "view_all": {
508
- "value": false,
509
- "type": "checkbox"
510
- }
511
- }
444
+ "umd_js": {
445
+ "link": "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/assets/nEPGyc15g-themeBundle.umd.min.js"
512
446
  },
513
- {
514
- "blocks": [
515
- {
516
- "type": "product",
517
- "name": "Product",
518
- "props": {
519
- "product": {
520
- "type": "product"
521
- }
522
- }
523
- },
524
- {
525
- "type": "product",
526
- "name": "Product",
527
- "props": {
528
- "product": {
529
- "type": "product"
530
- }
531
- }
532
- },
533
- {
534
- "type": "product",
535
- "name": "Product",
536
- "props": {
537
- "product": {
538
- "type": "product"
539
- }
540
- }
541
- },
542
- {
543
- "type": "product",
544
- "name": "Product",
545
- "props": {
546
- "product": {
547
- "type": "product"
548
- }
549
- }
550
- }
551
- ],
552
- "predicate": {
553
- "screen": {
554
- "mobile": true,
555
- "desktop": true,
556
- "tablet": true
557
- },
558
- "user": {
559
- "authenticated": false,
560
- "anonymous": true
561
- },
562
- "route": {
563
- "selected": "none",
564
- "exactURL": ""
565
- }
566
- },
567
- "name": "featuredProducts",
568
- "props": {
569
- "heading": {
570
- "value": "Featured Products",
571
- "type": "text"
572
- },
573
- "item_count": {
574
- "type": "range",
575
- "value": 4
576
- },
577
- "full_width": {
578
- "value": false,
579
- "type": "checkbox"
580
- }
581
- },
582
- "preset": {
583
- "blocks": [
584
- {
585
- "name": "Product"
586
- },
587
- {
588
- "name": "Product"
589
- },
590
- {
591
- "name": "Product"
592
- },
593
- {
594
- "name": "Product"
595
- }
596
- ]
597
- }
598
- },
599
- {
600
- "blocks": [],
601
- "predicate": {
602
- "screen": {
603
- "mobile": true,
604
- "desktop": true,
605
- "tablet": true
606
- },
607
- "user": {
608
- "authenticated": true,
609
- "anonymous": true
610
- },
611
- "route": {
612
- "selected": "none",
613
- "exactURL": "",
614
- "query": {
615
- "": ""
616
- }
617
- }
618
- },
619
- "name": "categoryListPage",
620
- "props": {
621
- "heading": {
622
- "type": "text",
623
- "value": "Explore Categories"
624
- },
625
- "layout": {
626
- "type": "select",
627
- "value": "grid"
628
- },
629
- "item_count": {
630
- "value": 5,
631
- "type": "range"
632
- },
633
- "view_all": {
634
- "value": false,
635
- "type": "checkbox"
636
- }
637
- }
638
- },
639
- {
640
- "blocks": [],
641
- "predicate": {
642
- "screen": {
643
- "mobile": true,
644
- "desktop": true,
645
- "tablet": true
646
- },
647
- "user": {
648
- "authenticated": true,
649
- "anonymous": true
650
- },
651
- "route": {
652
- "selected": "none",
653
- "exactURL": "",
654
- "query": {
655
- "": ""
656
- }
657
- }
658
- },
659
- "name": "heroBanner",
660
- "props": {
661
- "ctaLink": {
662
- "type": "url",
663
- "value": "https://uniket.hostx0.de/about-us"
664
- }
665
- }
666
- },
667
- {
668
- "blocks": [],
669
- "predicate": {
670
- "screen": {
671
- "mobile": true,
672
- "desktop": true,
673
- "tablet": true
674
- },
675
- "user": {
676
- "authenticated": true,
677
- "anonymous": true
678
- },
679
- "route": {
680
- "selected": "none",
681
- "exactURL": "",
682
- "query": {
683
- "": ""
684
- }
685
- }
686
- },
687
- "name": "imageBanner",
688
- "props": {
689
- "image": {
690
- "value": "",
691
- "type": "image_picker"
692
- },
693
- "full_width": {
694
- "value": false,
695
- "type": "checkbox"
696
- },
697
- "overlayLayout": {
698
- "value": "left",
699
- "type": "select"
700
- },
701
- "overlayImage": {
702
- "value": "",
703
- "type": "image_picker"
704
- },
705
- "text": {
706
- "value": "",
707
- "type": "text"
708
- },
709
- "text_color": {
710
- "value": "#000",
711
- "type": "color"
712
- },
713
- "ctaLink": {
714
- "value": "",
715
- "type": "url"
716
- },
717
- "ctaText": {
718
- "value": "",
719
- "type": "text"
720
- },
721
- "layout": {
722
- "type": "select",
723
- "value": "full"
724
- },
725
- "height": {
726
- "type": "select",
727
- "value": "h-auto"
728
- }
729
- }
730
- },
731
- {
732
- "blocks": [],
733
- "predicate": {
734
- "screen": {
735
- "mobile": true,
736
- "desktop": true,
737
- "tablet": true
738
- },
739
- "user": {
740
- "authenticated": true,
741
- "anonymous": true
742
- },
743
- "route": {
744
- "selected": "none",
745
- "exactURL": ""
746
- }
747
- },
748
- "name": "brands-listing",
749
- "props": {
750
- "title": {
751
- "type": "text",
752
- "value": "asdfasdf"
753
- },
754
- "header": {
755
- "type": "header"
756
- },
757
- "brand_type": {
758
- "value": "all",
759
- "type": "radio"
760
- },
761
- "department": {
762
- "type": "department"
763
- },
764
- "item_count": {
765
- "value": 5,
766
- "type": "range"
767
- },
768
- "layout": {
769
- "value": "horizontal",
770
- "type": "select"
771
- },
772
- "view_all": {
773
- "value": false,
774
- "type": "checkbox"
775
- }
776
- }
777
- }
778
- ],
779
- "value": "home",
780
- "text": "Home",
781
- "theme": "5fb3ee4194a5181feeeba8e5",
782
- "sections_meta": [],
783
- "__v": 9
784
- }
785
- }
786
- ```
787
- </details>
788
-
789
- </details>
790
-
791
-
792
-
793
-
794
-
795
-
796
-
797
-
798
-
799
- ---
800
-
801
-
802
- ### getAppliedTheme
803
- Get the theme currently applied to an application
804
-
805
-
806
-
807
- ```javascript
808
- // Promise
809
- const promise = theme.getAppliedTheme();
810
-
811
- // Async/Await
812
- const data = await theme.getAppliedTheme();
813
- ```
814
-
815
-
816
-
817
-
818
-
819
-
820
- An application has multiple themes, but only one theme can be applied at a time. Use this API to retrieve the theme currently applied to the application.
821
-
822
- *Returned Response:*
823
-
824
-
825
-
826
-
827
- [ThemesSchema](#ThemesSchema)
828
-
829
- Success. Returns a JSON object of the theme. Check the example shown below or refer `ThemesSchema` for more details.
830
-
831
-
832
-
833
-
834
- <details>
835
- <summary><i>&nbsp; Examples:</i></summary>
836
-
837
-
838
- <details>
839
- <summary><i>&nbsp; Applied Theme</i></summary>
840
-
841
- ```json
842
- {
843
- "value": {
844
- "information": {
845
- "images": {
846
- "desktop": [
847
- "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/pictures/free/original/artisan-desktop.png"
848
- ],
849
- "android": [
850
- "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/pictures/free/original/artisan-mobile.png"
851
- ],
852
- "ios": [
853
- "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/pictures/free/original/artisan-mobile.png"
854
- ],
855
- "thumbnail": [
856
- "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/pictures/free/original/artisan-desktop.png"
857
- ]
858
- },
859
- "features": [
860
- "Responsive"
861
- ],
862
- "name": "Akash-Artisan"
863
- },
864
- "src": {
865
- "link": "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/sources/J-1s-N-pl-archive.zip"
866
- },
867
- "assets": {
868
- "css": {
869
- "link": "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/assets/Ia4m885Mw2-themeBundle.css"
870
- },
871
- "umd_js": {
872
- "link": "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/assets/nEPGyc15g-themeBundle.umd.min.js"
873
- },
874
- "common_js": {
875
- "link": "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/assets/5f7tOB5rpq-themeBundle.common.js"
876
- }
877
- },
878
- "config": {
879
- "preset": {
880
- "sections": [
447
+ "common_js": {
448
+ "link": "https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/assets/5f7tOB5rpq-themeBundle.common.js"
449
+ }
450
+ },
451
+ "config": {
452
+ "preset": {
453
+ "sections": [
881
454
  {
882
455
  "page_sections": [
883
456
  {
@@ -2491,98 +2064,285 @@ Success. Returns a JSON object of the theme. Check the example shown below or
2491
2064
  "info": "Text for testimonial",
2492
2065
  "placeholder": "Text"
2493
2066
  },
2494
- {
2495
- "type": "text",
2496
- "id": "author",
2497
- "label": "Customers name"
2067
+ {
2068
+ "type": "text",
2069
+ "id": "author",
2070
+ "label": "Customers name"
2071
+ }
2072
+ ]
2073
+ }
2074
+ ],
2075
+ "_id": "5feacca5bec23299e8892847",
2076
+ "name": "testimonials",
2077
+ "label": "Testimonial"
2078
+ },
2079
+ {
2080
+ "props": [
2081
+ {
2082
+ "type": "select",
2083
+ "id": "slide_height",
2084
+ "options": [
2085
+ {
2086
+ "value": "adapt",
2087
+ "text": "Adapt to first video"
2088
+ },
2089
+ {
2090
+ "value": "small",
2091
+ "text": "Small"
2092
+ },
2093
+ {
2094
+ "value": "medium",
2095
+ "text": "Medium"
2096
+ },
2097
+ {
2098
+ "value": "large",
2099
+ "text": "Large"
2100
+ }
2101
+ ],
2102
+ "default": "adapt",
2103
+ "label": "Slide height",
2104
+ "info": "Size of the slide"
2105
+ },
2106
+ {
2107
+ "type": "checkbox",
2108
+ "id": "full_width",
2109
+ "default": false,
2110
+ "label": "Full width",
2111
+ "info": "Check to allow items to take entire width of the viewport"
2112
+ },
2113
+ {
2114
+ "type": "checkbox",
2115
+ "id": "autoplay",
2116
+ "default": false,
2117
+ "label": "AutoPlay Slides",
2118
+ "info": "Check to autoplay slides"
2119
+ },
2120
+ {
2121
+ "type": "range",
2122
+ "id": "slide_interval",
2123
+ "min": 1,
2124
+ "max": 10,
2125
+ "step": 1,
2126
+ "unit": "sec",
2127
+ "label": "Change slides every",
2128
+ "default": 2,
2129
+ "info": "Autoplay slide duration"
2130
+ }
2131
+ ],
2132
+ "blocks": [
2133
+ {
2134
+ "type": "video_item",
2135
+ "name": "Video Slide",
2136
+ "props": [
2137
+ {
2138
+ "id": "videoUrl",
2139
+ "type": "url",
2140
+ "label": "Video URL",
2141
+ "default": ""
2142
+ },
2143
+ {
2144
+ "type": "checkbox",
2145
+ "id": "showcontrols",
2146
+ "default": false,
2147
+ "label": "Show Controls on Video",
2148
+ "info": "Check to show controls on video"
2149
+ }
2150
+ ]
2151
+ }
2152
+ ],
2153
+ "_id": "5feacca5bec232d89b892848",
2154
+ "name": "videoCarousel",
2155
+ "label": "Video Carousel"
2156
+ }
2157
+ ],
2158
+ "sections": [
2159
+ {
2160
+ "page_sections": [
2161
+ {
2162
+ "blocks": [],
2163
+ "predicate": {
2164
+ "screen": {
2165
+ "mobile": true,
2166
+ "desktop": true,
2167
+ "tablet": true
2168
+ },
2169
+ "user": {
2170
+ "authenticated": true,
2171
+ "anonymous": true
2172
+ },
2173
+ "route": {
2174
+ "selected": "none",
2175
+ "query": {},
2176
+ "exact_u_r_l": ""
2177
+ }
2178
+ },
2179
+ "name": "brandTemplate",
2180
+ "props": {
2181
+ "title": {
2182
+ "type": "text",
2183
+ "value": "Brands"
2184
+ },
2185
+ "item_count": {
2186
+ "type": "range",
2187
+ "value": 4
2188
+ },
2189
+ "full_width": {
2190
+ "type": "checkbox",
2191
+ "value": false
2192
+ },
2193
+ "heading": {
2194
+ "type": "text",
2195
+ "value": "Brands"
2196
+ },
2197
+ "brand_type": {
2198
+ "type": "radio",
2199
+ "value": "all"
2200
+ },
2201
+ "department": {
2202
+ "type": "department",
2203
+ "value": null
2204
+ },
2205
+ "layout": {
2206
+ "type": "select",
2207
+ "value": "grid"
2208
+ },
2209
+ "view_all": {
2210
+ "type": "checkbox",
2211
+ "value": null
2212
+ }
2213
+ }
2214
+ }
2215
+ ],
2216
+ "page_key": "product-description"
2217
+ },
2218
+ {
2219
+ "page_sections": [],
2220
+ "page_key": "collection-listing"
2221
+ },
2222
+ {
2223
+ "page_sections": [
2224
+ {
2225
+ "blocks": [
2226
+ {
2227
+ "type": "brand-item",
2228
+ "name": "Brand Item",
2229
+ "props": {
2230
+ "brand": {
2231
+ "type": "brand",
2232
+ "value": {
2233
+ "display": "Apple",
2234
+ "id": "apple"
2235
+ }
2236
+ }
2237
+ }
2238
+ },
2239
+ {
2240
+ "type": "brand-item",
2241
+ "name": "Brand Item",
2242
+ "props": {
2243
+ "brand": {
2244
+ "type": "brand",
2245
+ "value": {
2246
+ "display": "Gionee",
2247
+ "id": "gionee"
2248
+ }
2249
+ }
2250
+ }
2251
+ }
2252
+ ],
2253
+ "predicate": {
2254
+ "screen": {
2255
+ "mobile": true,
2256
+ "desktop": true,
2257
+ "tablet": true
2258
+ },
2259
+ "user": {
2260
+ "authenticated": true,
2261
+ "anonymous": true
2262
+ },
2263
+ "route": {
2264
+ "selected": "none",
2265
+ "query": {},
2266
+ "exact_u_r_l": ""
2267
+ }
2268
+ },
2269
+ "name": "brandTemplate",
2270
+ "props": {
2271
+ "heading": {
2272
+ "type": "text",
2273
+ "value": "Brandss"
2274
+ },
2275
+ "brand_type": {
2276
+ "type": "radio",
2277
+ "value": "handpicked"
2278
+ },
2279
+ "department": {
2280
+ "type": "department"
2281
+ },
2282
+ "item_count": {
2283
+ "value": 4,
2284
+ "type": "range"
2285
+ },
2286
+ "full_width": {
2287
+ "value": false,
2288
+ "type": "checkbox"
2289
+ },
2290
+ "layout": {
2291
+ "type": "select",
2292
+ "value": "grid"
2293
+ },
2294
+ "view_all": {
2295
+ "value": false,
2296
+ "type": "checkbox"
2498
2297
  }
2499
- ]
2298
+ }
2500
2299
  }
2501
2300
  ],
2502
- "_id": "5feacca5bec23299e8892847",
2503
- "name": "testimonials",
2504
- "label": "Testimonial"
2301
+ "page_key": "home"
2505
2302
  },
2506
2303
  {
2507
- "props": [
2304
+ "page_sections": [
2508
2305
  {
2509
- "type": "select",
2510
- "id": "slide_height",
2511
- "options": [
2512
- {
2513
- "value": "adapt",
2514
- "text": "Adapt to first video"
2515
- },
2516
- {
2517
- "value": "small",
2518
- "text": "Small"
2306
+ "blocks": [],
2307
+ "predicate": {
2308
+ "screen": {
2309
+ "mobile": true,
2310
+ "desktop": true,
2311
+ "tablet": true
2519
2312
  },
2520
- {
2521
- "value": "medium",
2522
- "text": "Medium"
2313
+ "user": {
2314
+ "authenticated": true,
2315
+ "anonymous": true
2523
2316
  },
2524
- {
2525
- "value": "large",
2526
- "text": "Large"
2317
+ "route": {
2318
+ "selected": "none",
2319
+ "query": {},
2320
+ "exact_u_r_l": ""
2527
2321
  }
2528
- ],
2529
- "default": "adapt",
2530
- "label": "Slide height",
2531
- "info": "Size of the slide"
2532
- },
2533
- {
2534
- "type": "checkbox",
2535
- "id": "full_width",
2536
- "default": false,
2537
- "label": "Full width",
2538
- "info": "Check to allow items to take entire width of the viewport"
2539
- },
2540
- {
2541
- "type": "checkbox",
2542
- "id": "autoplay",
2543
- "default": false,
2544
- "label": "AutoPlay Slides",
2545
- "info": "Check to autoplay slides"
2546
- },
2547
- {
2548
- "type": "range",
2549
- "id": "slide_interval",
2550
- "min": 1,
2551
- "max": 10,
2552
- "step": 1,
2553
- "unit": "sec",
2554
- "label": "Change slides every",
2555
- "default": 2,
2556
- "info": "Autoplay slide duration"
2557
- }
2558
- ],
2559
- "blocks": [
2560
- {
2561
- "type": "video_item",
2562
- "name": "Video Slide",
2563
- "props": [
2564
- {
2565
- "id": "videoUrl",
2566
- "type": "url",
2567
- "label": "Video URL",
2568
- "default": ""
2322
+ },
2323
+ "name": "brandTemplate",
2324
+ "props": {
2325
+ "title": {
2326
+ "type": "text",
2327
+ "value": "Brands"
2569
2328
  },
2570
- {
2329
+ "item_count": {
2330
+ "type": "range",
2331
+ "value": 4
2332
+ },
2333
+ "full_width": {
2571
2334
  "type": "checkbox",
2572
- "id": "showcontrols",
2573
- "default": false,
2574
- "label": "Show Controls on Video",
2575
- "info": "Check to show controls on video"
2335
+ "value": false
2576
2336
  }
2577
- ]
2337
+ }
2578
2338
  }
2579
2339
  ],
2580
- "_id": "5feacca5bec232d89b892848",
2581
- "name": "videoCarousel",
2582
- "label": "Video Carousel"
2583
- }
2584
- ],
2585
- "sections": [
2340
+ "page_key": "brands"
2341
+ },
2342
+ {
2343
+ "page_sections": [],
2344
+ "page_key": "cart-landing"
2345
+ },
2586
2346
  {
2587
2347
  "page_sections": [
2588
2348
  {
@@ -2603,12 +2363,8 @@ Success. Returns a JSON object of the theme. Check the example shown below or
2603
2363
  "exact_u_r_l": ""
2604
2364
  }
2605
2365
  },
2606
- "name": "brandTemplate",
2366
+ "name": "categoriesTemplate",
2607
2367
  "props": {
2608
- "title": {
2609
- "type": "text",
2610
- "value": "Brands"
2611
- },
2612
2368
  "item_count": {
2613
2369
  "type": "range",
2614
2370
  "value": 4
@@ -2616,362 +2372,606 @@ Success. Returns a JSON object of the theme. Check the example shown below or
2616
2372
  "full_width": {
2617
2373
  "type": "checkbox",
2618
2374
  "value": false
2375
+ }
2376
+ }
2377
+ }
2378
+ ],
2379
+ "page_key": "categories"
2380
+ },
2381
+ {
2382
+ "page_sections": [
2383
+ {
2384
+ "blocks": [],
2385
+ "predicate": {
2386
+ "screen": {
2387
+ "mobile": true,
2388
+ "desktop": true,
2389
+ "tablet": true
2390
+ },
2391
+ "user": {
2392
+ "authenticated": true,
2393
+ "anonymous": true
2619
2394
  },
2395
+ "route": {
2396
+ "selected": "none",
2397
+ "query": {},
2398
+ "exact_u_r_l": ""
2399
+ }
2400
+ },
2401
+ "name": "collectionTemplate",
2402
+ "props": {
2620
2403
  "heading": {
2621
2404
  "type": "text",
2622
- "value": "Brands"
2623
- },
2624
- "brand_type": {
2625
- "type": "radio",
2626
- "value": "all"
2627
- },
2628
- "department": {
2629
- "type": "department",
2630
- "value": null
2405
+ "value": "Featured Collections"
2631
2406
  },
2632
- "layout": {
2633
- "type": "select",
2634
- "value": "grid"
2407
+ "item_count": {
2408
+ "type": "range",
2409
+ "value": 4
2635
2410
  },
2636
- "view_all": {
2411
+ "full_width": {
2637
2412
  "type": "checkbox",
2638
- "value": null
2413
+ "value": false
2639
2414
  }
2640
2415
  }
2641
2416
  }
2642
2417
  ],
2643
- "page_key": "product-description"
2418
+ "page_key": "collections"
2419
+ },
2420
+ {
2421
+ "page_sections": [],
2422
+ "page_key": "compare-products"
2423
+ },
2424
+ {
2425
+ "page_sections": [],
2426
+ "page_key": "product-listing"
2427
+ },
2428
+ {
2429
+ "page_sections": [],
2430
+ "page_key": "wishlist"
2431
+ },
2432
+ {
2433
+ "page_sections": [],
2434
+ "page_key": "tesr"
2435
+ }
2436
+ ],
2437
+ "application": "5e737afb97e0f586bf9d04db",
2438
+ "available_pages": [
2439
+ {
2440
+ "path": "product",
2441
+ "type": "system",
2442
+ "sections": [],
2443
+ "text": "Product Description",
2444
+ "value": "product-description"
2445
+ },
2446
+ {
2447
+ "path": "collection",
2448
+ "type": "system",
2449
+ "sections": [],
2450
+ "text": "Collection Listing",
2451
+ "value": "collection-listing"
2452
+ },
2453
+ {
2454
+ "path": "",
2455
+ "type": "system",
2456
+ "sections": [
2457
+ {
2458
+ "_id": "5feacca5bec2327927892853",
2459
+ "attributes": {
2460
+ "page": "home"
2461
+ }
2462
+ }
2463
+ ],
2464
+ "value": "home",
2465
+ "text": "Home"
2466
+ },
2467
+ {
2468
+ "path": "brands",
2469
+ "type": "system",
2470
+ "sections": [
2471
+ {
2472
+ "_id": "5feacca5bec2326422892854",
2473
+ "attributes": {
2474
+ "page": "brands"
2475
+ }
2476
+ }
2477
+ ],
2478
+ "value": "brands",
2479
+ "text": "Brands"
2480
+ },
2481
+ {
2482
+ "path": "cart/bag",
2483
+ "type": "system",
2484
+ "sections": [],
2485
+ "value": "cart-landing",
2486
+ "text": "Cart Landing"
2487
+ },
2488
+ {
2489
+ "path": "categories",
2490
+ "type": "system",
2491
+ "sections": [
2492
+ {
2493
+ "_id": "5feacca5bec232424c892855",
2494
+ "attributes": {
2495
+ "page": "categories"
2496
+ }
2497
+ }
2498
+ ],
2499
+ "value": "categories",
2500
+ "text": "Categories"
2501
+ },
2502
+ {
2503
+ "path": "collections",
2504
+ "type": "system",
2505
+ "sections": [
2506
+ {
2507
+ "_id": "5feacca5bec23281de892856",
2508
+ "attributes": {
2509
+ "page": "collections"
2510
+ }
2511
+ }
2512
+ ],
2513
+ "value": "collections",
2514
+ "text": "Collections"
2644
2515
  },
2645
2516
  {
2646
- "page_sections": [],
2647
- "page_key": "collection-listing"
2517
+ "path": "compare",
2518
+ "type": "system",
2519
+ "sections": [],
2520
+ "value": "compare-products",
2521
+ "text": "Compare Products"
2648
2522
  },
2649
2523
  {
2650
- "page_sections": [
2651
- {
2652
- "blocks": [
2653
- {
2654
- "type": "brand-item",
2655
- "name": "Brand Item",
2656
- "props": {
2657
- "brand": {
2658
- "type": "brand",
2659
- "value": {
2660
- "display": "Apple",
2661
- "id": "apple"
2662
- }
2663
- }
2664
- }
2665
- },
2666
- {
2667
- "type": "brand-item",
2668
- "name": "Brand Item",
2669
- "props": {
2670
- "brand": {
2671
- "type": "brand",
2672
- "value": {
2673
- "display": "Gionee",
2674
- "id": "gionee"
2675
- }
2676
- }
2677
- }
2678
- }
2679
- ],
2680
- "predicate": {
2681
- "screen": {
2682
- "mobile": true,
2683
- "desktop": true,
2684
- "tablet": true
2685
- },
2686
- "user": {
2687
- "authenticated": true,
2688
- "anonymous": true
2689
- },
2690
- "route": {
2691
- "selected": "none",
2692
- "query": {},
2693
- "exact_u_r_l": ""
2694
- }
2695
- },
2696
- "name": "brandTemplate",
2697
- "props": {
2698
- "heading": {
2699
- "type": "text",
2700
- "value": "Brandss"
2701
- },
2702
- "brand_type": {
2703
- "type": "radio",
2704
- "value": "handpicked"
2705
- },
2706
- "department": {
2707
- "type": "department"
2708
- },
2709
- "item_count": {
2710
- "value": 4,
2711
- "type": "range"
2712
- },
2713
- "full_width": {
2714
- "value": false,
2715
- "type": "checkbox"
2716
- },
2717
- "layout": {
2718
- "type": "select",
2719
- "value": "grid"
2720
- },
2721
- "view_all": {
2722
- "value": false,
2723
- "type": "checkbox"
2724
- }
2524
+ "path": "products",
2525
+ "type": "system",
2526
+ "sections": [],
2527
+ "value": "product-listing",
2528
+ "text": "Product Listing"
2529
+ },
2530
+ {
2531
+ "path": "wishlist",
2532
+ "type": "system",
2533
+ "sections": [],
2534
+ "value": "wishlist",
2535
+ "text": "Wishlist"
2536
+ },
2537
+ {
2538
+ "path": "sections/test",
2539
+ "type": "sections",
2540
+ "sections": [],
2541
+ "text": "test",
2542
+ "value": "test"
2543
+ }
2544
+ ],
2545
+ "styles": {},
2546
+ "created_at": "2020-12-22T05:09:04.720Z",
2547
+ "updated_at": "2021-01-24T11:22:41.376Z"
2548
+ }
2549
+ }
2550
+ ```
2551
+ </details>
2552
+
2553
+ </details>
2554
+
2555
+
2556
+
2557
+
2558
+
2559
+
2560
+
2561
+
2562
+
2563
+ ---
2564
+
2565
+
2566
+ ### getPage
2567
+ Get page of a theme
2568
+
2569
+
2570
+
2571
+ ```javascript
2572
+ // Promise
2573
+ const promise = theme.getPage({ themeId : value,
2574
+ pageValue : value });
2575
+
2576
+ // Async/Await
2577
+ const data = await theme.getPage({ themeId : value,
2578
+ pageValue : value });
2579
+ ```
2580
+
2581
+
2582
+
2583
+
2584
+
2585
+ | Argument | Type | Required | Description |
2586
+ | --------- | ----- | -------- | ----------- |
2587
+ | themeId | string | yes | ID of the theme to be retrieved |
2588
+ | pageValue | string | yes | Value of the page to be retrieved |
2589
+
2590
+
2591
+
2592
+ Use this API to retrieve a page of a theme.
2593
+
2594
+ *Returned Response:*
2595
+
2596
+
2597
+
2598
+
2599
+ [AvailablePageSchema](#AvailablePageSchema)
2600
+
2601
+ Success. Returns an object of the pages. Refer `AvailablePageSchema` for more details.
2602
+
2603
+
2604
+
2605
+
2606
+ <details>
2607
+ <summary><i>&nbsp; Examples:</i></summary>
2608
+
2609
+
2610
+ <details>
2611
+ <summary><i>&nbsp; Home page</i></summary>
2612
+
2613
+ ```json
2614
+ {
2615
+ "value": {
2616
+ "path": "",
2617
+ "type": "system",
2618
+ "seo": {
2619
+ "title": "",
2620
+ "description": "",
2621
+ "_id": "60210832d7e98115b013f6ac"
2622
+ },
2623
+ "props": [],
2624
+ "_id": "60ab5ca6d572fed64294eafc",
2625
+ "sections": [
2626
+ {
2627
+ "blocks": [],
2628
+ "predicate": {
2629
+ "screen": {
2630
+ "mobile": false,
2631
+ "desktop": false,
2632
+ "tablet": false
2633
+ },
2634
+ "user": {
2635
+ "authenticated": true,
2636
+ "anonymous": true
2637
+ },
2638
+ "route": {
2639
+ "selected": "none",
2640
+ "exactURL": "",
2641
+ "query": {
2642
+ "utm": "facebook"
2643
+ }
2644
+ }
2645
+ },
2646
+ "name": "customHtml",
2647
+ "props": {
2648
+ "code": {
2649
+ "type": "code",
2650
+ "value": "<p style=\"text-align:right;\"><a href=\"tel:+919820204442\"><img src=\"https://dabuttonfactory.com/button.png?t=For+any+queries%2C+call%3A+%2B91+98202+04442&f=Open+Sans-Bold&ts=21&tc=fff&hp=20&vp=15&c=round&bgt=unicolored&bgc=7043f7\"/> </a></p>"
2651
+ }
2652
+ }
2653
+ },
2654
+ {
2655
+ "blocks": [],
2656
+ "predicate": {
2657
+ "screen": {
2658
+ "mobile": true,
2659
+ "desktop": true,
2660
+ "tablet": true
2661
+ },
2662
+ "user": {
2663
+ "authenticated": true,
2664
+ "anonymous": true
2665
+ },
2666
+ "route": {
2667
+ "selected": "none",
2668
+ "exactURL": "",
2669
+ "query": {
2670
+ "udm": "vivek"
2725
2671
  }
2726
2672
  }
2727
- ],
2728
- "page_key": "home"
2673
+ },
2674
+ "name": "brands-listing",
2675
+ "props": {
2676
+ "title": {
2677
+ "type": "text",
2678
+ "value": "Popular rrrrr"
2679
+ },
2680
+ "header": {
2681
+ "type": "header"
2682
+ },
2683
+ "brand_type": {
2684
+ "value": "all",
2685
+ "type": "radio"
2686
+ },
2687
+ "department": {
2688
+ "type": "department"
2689
+ },
2690
+ "item_count": {
2691
+ "value": 5,
2692
+ "type": "range"
2693
+ },
2694
+ "layout": {
2695
+ "value": "horizontal",
2696
+ "type": "select"
2697
+ },
2698
+ "view_all": {
2699
+ "value": false,
2700
+ "type": "checkbox"
2701
+ }
2702
+ }
2729
2703
  },
2730
2704
  {
2731
- "page_sections": [
2705
+ "blocks": [
2732
2706
  {
2733
- "blocks": [],
2734
- "predicate": {
2735
- "screen": {
2736
- "mobile": true,
2737
- "desktop": true,
2738
- "tablet": true
2739
- },
2740
- "user": {
2741
- "authenticated": true,
2742
- "anonymous": true
2743
- },
2744
- "route": {
2745
- "selected": "none",
2746
- "query": {},
2747
- "exact_u_r_l": ""
2748
- }
2749
- },
2750
- "name": "brandTemplate",
2707
+ "type": "product",
2708
+ "name": "Product",
2751
2709
  "props": {
2752
- "title": {
2753
- "type": "text",
2754
- "value": "Brands"
2755
- },
2756
- "item_count": {
2757
- "type": "range",
2758
- "value": 4
2759
- },
2760
- "full_width": {
2761
- "type": "checkbox",
2762
- "value": false
2710
+ "product": {
2711
+ "type": "product"
2763
2712
  }
2764
2713
  }
2765
- }
2766
- ],
2767
- "page_key": "brands"
2768
- },
2769
- {
2770
- "page_sections": [],
2771
- "page_key": "cart-landing"
2772
- },
2773
- {
2774
- "page_sections": [
2714
+ },
2775
2715
  {
2776
- "blocks": [],
2777
- "predicate": {
2778
- "screen": {
2779
- "mobile": true,
2780
- "desktop": true,
2781
- "tablet": true
2782
- },
2783
- "user": {
2784
- "authenticated": true,
2785
- "anonymous": true
2786
- },
2787
- "route": {
2788
- "selected": "none",
2789
- "query": {},
2790
- "exact_u_r_l": ""
2791
- }
2792
- },
2793
- "name": "categoriesTemplate",
2716
+ "type": "product",
2717
+ "name": "Product",
2794
2718
  "props": {
2795
- "item_count": {
2796
- "type": "range",
2797
- "value": 4
2798
- },
2799
- "full_width": {
2800
- "type": "checkbox",
2801
- "value": false
2719
+ "product": {
2720
+ "type": "product"
2802
2721
  }
2803
2722
  }
2804
- }
2805
- ],
2806
- "page_key": "categories"
2807
- },
2808
- {
2809
- "page_sections": [
2723
+ },
2810
2724
  {
2811
- "blocks": [],
2812
- "predicate": {
2813
- "screen": {
2814
- "mobile": true,
2815
- "desktop": true,
2816
- "tablet": true
2817
- },
2818
- "user": {
2819
- "authenticated": true,
2820
- "anonymous": true
2821
- },
2822
- "route": {
2823
- "selected": "none",
2824
- "query": {},
2825
- "exact_u_r_l": ""
2725
+ "type": "product",
2726
+ "name": "Product",
2727
+ "props": {
2728
+ "product": {
2729
+ "type": "product"
2826
2730
  }
2827
- },
2828
- "name": "collectionTemplate",
2731
+ }
2732
+ },
2733
+ {
2734
+ "type": "product",
2735
+ "name": "Product",
2829
2736
  "props": {
2830
- "heading": {
2831
- "type": "text",
2832
- "value": "Featured Collections"
2833
- },
2834
- "item_count": {
2835
- "type": "range",
2836
- "value": 4
2837
- },
2838
- "full_width": {
2839
- "type": "checkbox",
2840
- "value": false
2737
+ "product": {
2738
+ "type": "product"
2841
2739
  }
2842
2740
  }
2843
2741
  }
2844
2742
  ],
2845
- "page_key": "collections"
2846
- },
2847
- {
2848
- "page_sections": [],
2849
- "page_key": "compare-products"
2850
- },
2851
- {
2852
- "page_sections": [],
2853
- "page_key": "product-listing"
2854
- },
2855
- {
2856
- "page_sections": [],
2857
- "page_key": "wishlist"
2858
- },
2859
- {
2860
- "page_sections": [],
2861
- "page_key": "tesr"
2862
- }
2863
- ],
2864
- "application": "5e737afb97e0f586bf9d04db",
2865
- "available_pages": [
2866
- {
2867
- "path": "product",
2868
- "type": "system",
2869
- "sections": [],
2870
- "text": "Product Description",
2871
- "value": "product-description"
2872
- },
2873
- {
2874
- "path": "collection",
2875
- "type": "system",
2876
- "sections": [],
2877
- "text": "Collection Listing",
2878
- "value": "collection-listing"
2743
+ "predicate": {
2744
+ "screen": {
2745
+ "mobile": true,
2746
+ "desktop": true,
2747
+ "tablet": true
2748
+ },
2749
+ "user": {
2750
+ "authenticated": false,
2751
+ "anonymous": true
2752
+ },
2753
+ "route": {
2754
+ "selected": "none",
2755
+ "exactURL": ""
2756
+ }
2757
+ },
2758
+ "name": "featuredProducts",
2759
+ "props": {
2760
+ "heading": {
2761
+ "value": "Featured Products",
2762
+ "type": "text"
2763
+ },
2764
+ "item_count": {
2765
+ "type": "range",
2766
+ "value": 4
2767
+ },
2768
+ "full_width": {
2769
+ "value": false,
2770
+ "type": "checkbox"
2771
+ }
2772
+ },
2773
+ "preset": {
2774
+ "blocks": [
2775
+ {
2776
+ "name": "Product"
2777
+ },
2778
+ {
2779
+ "name": "Product"
2780
+ },
2781
+ {
2782
+ "name": "Product"
2783
+ },
2784
+ {
2785
+ "name": "Product"
2786
+ }
2787
+ ]
2788
+ }
2879
2789
  },
2880
2790
  {
2881
- "path": "",
2882
- "type": "system",
2883
- "sections": [
2884
- {
2885
- "_id": "5feacca5bec2327927892853",
2886
- "attributes": {
2887
- "page": "home"
2791
+ "blocks": [],
2792
+ "predicate": {
2793
+ "screen": {
2794
+ "mobile": true,
2795
+ "desktop": true,
2796
+ "tablet": true
2797
+ },
2798
+ "user": {
2799
+ "authenticated": true,
2800
+ "anonymous": true
2801
+ },
2802
+ "route": {
2803
+ "selected": "none",
2804
+ "exactURL": "",
2805
+ "query": {
2806
+ "": ""
2888
2807
  }
2889
2808
  }
2890
- ],
2891
- "value": "home",
2892
- "text": "Home"
2809
+ },
2810
+ "name": "categoryListPage",
2811
+ "props": {
2812
+ "heading": {
2813
+ "type": "text",
2814
+ "value": "Explore Categories"
2815
+ },
2816
+ "layout": {
2817
+ "type": "select",
2818
+ "value": "grid"
2819
+ },
2820
+ "item_count": {
2821
+ "value": 5,
2822
+ "type": "range"
2823
+ },
2824
+ "view_all": {
2825
+ "value": false,
2826
+ "type": "checkbox"
2827
+ }
2828
+ }
2893
2829
  },
2894
2830
  {
2895
- "path": "brands",
2896
- "type": "system",
2897
- "sections": [
2898
- {
2899
- "_id": "5feacca5bec2326422892854",
2900
- "attributes": {
2901
- "page": "brands"
2831
+ "blocks": [],
2832
+ "predicate": {
2833
+ "screen": {
2834
+ "mobile": true,
2835
+ "desktop": true,
2836
+ "tablet": true
2837
+ },
2838
+ "user": {
2839
+ "authenticated": true,
2840
+ "anonymous": true
2841
+ },
2842
+ "route": {
2843
+ "selected": "none",
2844
+ "exactURL": "",
2845
+ "query": {
2846
+ "": ""
2902
2847
  }
2903
2848
  }
2904
- ],
2905
- "value": "brands",
2906
- "text": "Brands"
2907
- },
2908
- {
2909
- "path": "cart/bag",
2910
- "type": "system",
2911
- "sections": [],
2912
- "value": "cart-landing",
2913
- "text": "Cart Landing"
2914
- },
2915
- {
2916
- "path": "categories",
2917
- "type": "system",
2918
- "sections": [
2919
- {
2920
- "_id": "5feacca5bec232424c892855",
2921
- "attributes": {
2922
- "page": "categories"
2923
- }
2849
+ },
2850
+ "name": "heroBanner",
2851
+ "props": {
2852
+ "ctaLink": {
2853
+ "type": "url",
2854
+ "value": "https://uniket.hostx0.de/about-us"
2924
2855
  }
2925
- ],
2926
- "value": "categories",
2927
- "text": "Categories"
2856
+ }
2928
2857
  },
2929
2858
  {
2930
- "path": "collections",
2931
- "type": "system",
2932
- "sections": [
2933
- {
2934
- "_id": "5feacca5bec23281de892856",
2935
- "attributes": {
2936
- "page": "collections"
2859
+ "blocks": [],
2860
+ "predicate": {
2861
+ "screen": {
2862
+ "mobile": true,
2863
+ "desktop": true,
2864
+ "tablet": true
2865
+ },
2866
+ "user": {
2867
+ "authenticated": true,
2868
+ "anonymous": true
2869
+ },
2870
+ "route": {
2871
+ "selected": "none",
2872
+ "exactURL": "",
2873
+ "query": {
2874
+ "": ""
2937
2875
  }
2938
2876
  }
2939
- ],
2940
- "value": "collections",
2941
- "text": "Collections"
2942
- },
2943
- {
2944
- "path": "compare",
2945
- "type": "system",
2946
- "sections": [],
2947
- "value": "compare-products",
2948
- "text": "Compare Products"
2949
- },
2950
- {
2951
- "path": "products",
2952
- "type": "system",
2953
- "sections": [],
2954
- "value": "product-listing",
2955
- "text": "Product Listing"
2956
- },
2957
- {
2958
- "path": "wishlist",
2959
- "type": "system",
2960
- "sections": [],
2961
- "value": "wishlist",
2962
- "text": "Wishlist"
2877
+ },
2878
+ "name": "imageBanner",
2879
+ "props": {
2880
+ "image": {
2881
+ "value": "",
2882
+ "type": "image_picker"
2883
+ },
2884
+ "full_width": {
2885
+ "value": false,
2886
+ "type": "checkbox"
2887
+ },
2888
+ "overlayLayout": {
2889
+ "value": "left",
2890
+ "type": "select"
2891
+ },
2892
+ "overlayImage": {
2893
+ "value": "",
2894
+ "type": "image_picker"
2895
+ },
2896
+ "text": {
2897
+ "value": "",
2898
+ "type": "text"
2899
+ },
2900
+ "text_color": {
2901
+ "value": "#000",
2902
+ "type": "color"
2903
+ },
2904
+ "ctaLink": {
2905
+ "value": "",
2906
+ "type": "url"
2907
+ },
2908
+ "ctaText": {
2909
+ "value": "",
2910
+ "type": "text"
2911
+ },
2912
+ "layout": {
2913
+ "type": "select",
2914
+ "value": "full"
2915
+ },
2916
+ "height": {
2917
+ "type": "select",
2918
+ "value": "h-auto"
2919
+ }
2920
+ }
2963
2921
  },
2964
2922
  {
2965
- "path": "sections/test",
2966
- "type": "sections",
2967
- "sections": [],
2968
- "text": "test",
2969
- "value": "test"
2923
+ "blocks": [],
2924
+ "predicate": {
2925
+ "screen": {
2926
+ "mobile": true,
2927
+ "desktop": true,
2928
+ "tablet": true
2929
+ },
2930
+ "user": {
2931
+ "authenticated": true,
2932
+ "anonymous": true
2933
+ },
2934
+ "route": {
2935
+ "selected": "none",
2936
+ "exactURL": ""
2937
+ }
2938
+ },
2939
+ "name": "brands-listing",
2940
+ "props": {
2941
+ "title": {
2942
+ "type": "text",
2943
+ "value": "asdfasdf"
2944
+ },
2945
+ "header": {
2946
+ "type": "header"
2947
+ },
2948
+ "brand_type": {
2949
+ "value": "all",
2950
+ "type": "radio"
2951
+ },
2952
+ "department": {
2953
+ "type": "department"
2954
+ },
2955
+ "item_count": {
2956
+ "value": 5,
2957
+ "type": "range"
2958
+ },
2959
+ "layout": {
2960
+ "value": "horizontal",
2961
+ "type": "select"
2962
+ },
2963
+ "view_all": {
2964
+ "value": false,
2965
+ "type": "checkbox"
2966
+ }
2967
+ }
2970
2968
  }
2971
2969
  ],
2972
- "styles": {},
2973
- "created_at": "2020-12-22T05:09:04.720Z",
2974
- "updated_at": "2021-01-24T11:22:41.376Z"
2970
+ "value": "home",
2971
+ "text": "Home",
2972
+ "theme": "5fb3ee4194a5181feeeba8e5",
2973
+ "sections_meta": [],
2974
+ "__v": 9
2975
2975
  }
2976
2976
  }
2977
2977
  ```
@@ -5189,609 +5189,326 @@ Success. Returns a JSON object of the theme. Check the example shown below or re
5189
5189
 
5190
5190
  ### Schemas
5191
5191
 
5192
-
5193
-
5194
- #### [AvailablePageSchema](#AvailablePageSchema)
5192
+
5193
+ #### [AddThemeRequestSchema](#AddThemeRequestSchema)
5195
5194
 
5196
5195
  | Properties | Type | Nullable | Description |
5197
- | ---------- | ---- | -------- | ----------- |
5198
- | value | string | no | |
5199
- | text | string | no | |
5200
- | path | string | no | |
5201
- | type | string | no | |
5202
- | sections | [[AvailablePageSchemaSections](#AvailablePageSchemaSections)] | no | |
5203
- | sections_meta | [[AvailablePageSectionMetaAttributes](#AvailablePageSectionMetaAttributes)] | no | |
5204
- | theme | string | no | |
5205
- | seo | [AvailablePageSeo](#AvailablePageSeo) | no | |
5206
- | props | [string] | no | |
5207
- | _id | string | no | |
5196
+ | ---------- | ---- | -------- | ----------- || theme_id | string | no | |
5208
5197
 
5209
5198
  ---
5210
5199
 
5211
-
5212
-
5213
-
5214
- #### [AvailablePageSectionMetaAttributes](#AvailablePageSectionMetaAttributes)
5200
+ #### [AllAvailablePageSchema](#AllAvailablePageSchema)
5215
5201
 
5216
5202
  | Properties | Type | Nullable | Description |
5217
- | ---------- | ---- | -------- | ----------- |
5218
- | attributes | string | no | |
5203
+ | ---------- | ---- | -------- | ----------- || pages | [[AvailablePageSchema](#AvailablePageSchema)] | no | |
5219
5204
 
5220
5205
  ---
5221
5206
 
5222
-
5223
-
5224
-
5225
- #### [AvailablePageSeo](#AvailablePageSeo)
5207
+ #### [AssetsSchema](#AssetsSchema)
5226
5208
 
5227
5209
  | Properties | Type | Nullable | Description |
5228
- | ---------- | ---- | -------- | ----------- |
5229
- | title | string | no | |
5230
- | description | string | no | |
5231
- | _id | string | no | |
5210
+ | ---------- | ---- | -------- | ----------- || common_js | [CommonJs](#CommonJs) | no | || css | [Css](#Css) | no | || umd_js | [UmdJs](#UmdJs) | no | |
5232
5211
 
5233
5212
  ---
5234
5213
 
5235
-
5236
-
5237
-
5238
- #### [AvailablePageSchemaSections](#AvailablePageSchemaSections)
5214
+ #### [AvailablePagePredicate](#AvailablePagePredicate)
5239
5215
 
5240
5216
  | Properties | Type | Nullable | Description |
5241
- | ---------- | ---- | -------- | ----------- |
5242
- | name | string | no | |
5243
- | label | string | no | |
5244
- | props | string | no | |
5245
- | blocks | [string] | no | |
5246
- | preset | string | no | |
5247
- | predicate | [AvailablePagePredicate](#AvailablePagePredicate) | no | |
5217
+ | ---------- | ---- | -------- | ----------- || route | [AvailablePageRoutePredicate](#AvailablePageRoutePredicate) | no | || screen | [AvailablePageScreenPredicate](#AvailablePageScreenPredicate) | no | || user | [AvailablePageUserPredicate](#AvailablePageUserPredicate) | no | |
5248
5218
 
5249
5219
  ---
5250
5220
 
5251
-
5252
-
5253
-
5254
- #### [AvailablePageScreenPredicate](#AvailablePageScreenPredicate)
5221
+ #### [AvailablePageRoutePredicate](#AvailablePageRoutePredicate)
5255
5222
 
5256
5223
  | Properties | Type | Nullable | Description |
5257
- | ---------- | ---- | -------- | ----------- |
5258
- | mobile | boolean | no | |
5259
- | desktop | boolean | no | |
5260
- | tablet | boolean | no | |
5224
+ | ---------- | ---- | -------- | ----------- || exact_url | string | no | || query | string | no | || selected | string | no | |
5261
5225
 
5262
5226
  ---
5263
5227
 
5264
-
5265
-
5266
-
5267
- #### [AvailablePageUserPredicate](#AvailablePageUserPredicate)
5228
+ #### [AvailablePageSchema](#AvailablePageSchema)
5268
5229
 
5269
5230
  | Properties | Type | Nullable | Description |
5270
- | ---------- | ---- | -------- | ----------- |
5271
- | authenticated | boolean | no | |
5272
- | anonymous | boolean | no | |
5231
+ | ---------- | ---- | -------- | ----------- || _id | string | no | || path | string | no | || props | [string] | no | || sections | [[AvailablePageSchemaSections](#AvailablePageSchemaSections)] | no | || sections_meta | [[AvailablePageSectionMetaAttributes](#AvailablePageSectionMetaAttributes)] | no | || seo | [AvailablePageSeo](#AvailablePageSeo) | no | || text | string | no | || theme | string | no | || type | string | no | || value | string | no | |
5273
5232
 
5274
5233
  ---
5275
5234
 
5276
-
5277
-
5278
-
5279
- #### [AvailablePageRoutePredicate](#AvailablePageRoutePredicate)
5235
+ #### [AvailablePageSchemaSections](#AvailablePageSchemaSections)
5280
5236
 
5281
5237
  | Properties | Type | Nullable | Description |
5282
- | ---------- | ---- | -------- | ----------- |
5283
- | selected | string | no | |
5284
- | exact_url | string | no | |
5285
- | query | string | no | |
5238
+ | ---------- | ---- | -------- | ----------- || blocks | [string] | no | || label | string | no | || name | string | no | || predicate | [AvailablePagePredicate](#AvailablePagePredicate) | no | || preset | string | no | || props | string | no | |
5286
5239
 
5287
5240
  ---
5288
5241
 
5289
-
5290
-
5291
-
5292
- #### [AvailablePagePredicate](#AvailablePagePredicate)
5242
+ #### [AvailablePageScreenPredicate](#AvailablePageScreenPredicate)
5293
5243
 
5294
5244
  | Properties | Type | Nullable | Description |
5295
- | ---------- | ---- | -------- | ----------- |
5296
- | screen | [AvailablePageScreenPredicate](#AvailablePageScreenPredicate) | no | |
5297
- | user | [AvailablePageUserPredicate](#AvailablePageUserPredicate) | no | |
5298
- | route | [AvailablePageRoutePredicate](#AvailablePageRoutePredicate) | no | |
5245
+ | ---------- | ---- | -------- | ----------- || desktop | boolean | no | || mobile | boolean | no | || tablet | boolean | no | |
5299
5246
 
5300
5247
  ---
5301
5248
 
5302
-
5303
-
5304
-
5305
- #### [AllAvailablePageSchema](#AllAvailablePageSchema)
5249
+ #### [AvailablePageSectionMetaAttributes](#AvailablePageSectionMetaAttributes)
5306
5250
 
5307
5251
  | Properties | Type | Nullable | Description |
5308
- | ---------- | ---- | -------- | ----------- |
5309
- | pages | [[AvailablePageSchema](#AvailablePageSchema)] | no | |
5252
+ | ---------- | ---- | -------- | ----------- || attributes | string | no | |
5310
5253
 
5311
5254
  ---
5312
5255
 
5313
-
5314
-
5315
-
5316
- #### [PaginationSchema](#PaginationSchema)
5256
+ #### [AvailablePageSeo](#AvailablePageSeo)
5317
5257
 
5318
5258
  | Properties | Type | Nullable | Description |
5319
- | ---------- | ---- | -------- | ----------- |
5320
- | size | number | no | |
5321
- | item_total | number | no | |
5322
- | has_next | boolean | no | |
5323
- | type | string | no | |
5324
- | current | number | no | |
5259
+ | ---------- | ---- | -------- | ----------- || _id | string | no | || description | string | no | || title | string | no | |
5325
5260
 
5326
5261
  ---
5327
5262
 
5328
-
5329
-
5330
-
5331
- #### [ThemesListingResponseSchema](#ThemesListingResponseSchema)
5263
+ #### [AvailablePageUserPredicate](#AvailablePageUserPredicate)
5332
5264
 
5333
5265
  | Properties | Type | Nullable | Description |
5334
- | ---------- | ---- | -------- | ----------- |
5335
- | items | [[ThemesSchema](#ThemesSchema)] | no | |
5336
- | page | [PaginationSchema](#PaginationSchema) | no | |
5266
+ | ---------- | ---- | -------- | ----------- || anonymous | boolean | no | || authenticated | boolean | no | |
5337
5267
 
5338
5268
  ---
5339
5269
 
5340
-
5341
-
5342
-
5343
- #### [AddThemeRequestSchema](#AddThemeRequestSchema)
5270
+ #### [availableSectionSchema](#availableSectionSchema)
5344
5271
 
5345
5272
  | Properties | Type | Nullable | Description |
5346
- | ---------- | ---- | -------- | ----------- |
5347
- | theme_id | string | no | |
5273
+ | ---------- | ---- | -------- | ----------- || blocks | [[Blocks](#Blocks)] | no | || label | string | no | || name | string | no | || props | [[BlocksProps](#BlocksProps)] | no | |
5348
5274
 
5349
5275
  ---
5350
5276
 
5351
-
5352
-
5353
-
5354
- #### [UpgradableThemeSchema](#UpgradableThemeSchema)
5277
+ #### [BlitzkriegApiErrorSchema](#BlitzkriegApiErrorSchema)
5355
5278
 
5356
5279
  | Properties | Type | Nullable | Description |
5357
- | ---------- | ---- | -------- | ----------- |
5358
- | parent_theme | string | no | |
5359
- | applied_theme | string | no | |
5360
- | upgrade | boolean | no | |
5280
+ | ---------- | ---- | -------- | ----------- || message | string | no | |
5361
5281
 
5362
5282
  ---
5363
5283
 
5364
-
5365
-
5366
-
5367
- #### [FontsSchema](#FontsSchema)
5284
+ #### [BlitzkriegInternalServerErrorSchema](#BlitzkriegInternalServerErrorSchema)
5368
5285
 
5369
5286
  | Properties | Type | Nullable | Description |
5370
- | ---------- | ---- | -------- | ----------- |
5371
- | items | [FontsSchemaItems](#FontsSchemaItems) | no | |
5372
- | kind | string | no | |
5287
+ | ---------- | ---- | -------- | ----------- || message | string | no | |
5373
5288
 
5374
5289
  ---
5375
5290
 
5376
-
5377
-
5378
-
5379
- #### [BlitzkriegApiErrorSchema](#BlitzkriegApiErrorSchema)
5291
+ #### [BlitzkriegNotFoundSchema](#BlitzkriegNotFoundSchema)
5380
5292
 
5381
5293
  | Properties | Type | Nullable | Description |
5382
- | ---------- | ---- | -------- | ----------- |
5383
- | message | string | no | |
5294
+ | ---------- | ---- | -------- | ----------- || message | string | no | |
5384
5295
 
5385
5296
  ---
5386
5297
 
5387
-
5388
-
5389
-
5390
- #### [BlitzkriegNotFoundSchema](#BlitzkriegNotFoundSchema)
5298
+ #### [Blocks](#Blocks)
5391
5299
 
5392
5300
  | Properties | Type | Nullable | Description |
5393
- | ---------- | ---- | -------- | ----------- |
5394
- | message | string | no | |
5301
+ | ---------- | ---- | -------- | ----------- || name | string | no | || props | [[BlocksProps](#BlocksProps)] | no | || type | string | no | |
5395
5302
 
5396
5303
  ---
5397
5304
 
5398
-
5399
-
5400
-
5401
- #### [BlitzkriegInternalServerErrorSchema](#BlitzkriegInternalServerErrorSchema)
5305
+ #### [BlocksProps](#BlocksProps)
5402
5306
 
5403
5307
  | Properties | Type | Nullable | Description |
5404
- | ---------- | ---- | -------- | ----------- |
5405
- | message | string | no | |
5308
+ | ---------- | ---- | -------- | ----------- || id | string | no | || label | string | no | || type | string | no | |
5406
5309
 
5407
5310
  ---
5408
5311
 
5409
-
5410
-
5411
-
5412
- #### [FontsSchemaItems](#FontsSchemaItems)
5312
+ #### [Bold](#Bold)
5413
5313
 
5414
5314
  | Properties | Type | Nullable | Description |
5415
- | ---------- | ---- | -------- | ----------- |
5416
- | family | string | no | |
5417
- | variants | [string] | no | |
5418
- | subsets | [string] | no | |
5419
- | version | string | no | |
5420
- | last_modified | string | no | |
5421
- | files | [FontsSchemaItemsFiles](#FontsSchemaItemsFiles) | no | |
5422
- | category | string | no | |
5423
- | kind | string | no | |
5315
+ | ---------- | ---- | -------- | ----------- || file | string | no | || name | string | no | |
5424
5316
 
5425
5317
  ---
5426
5318
 
5427
-
5428
-
5429
-
5430
- #### [FontsSchemaItemsFiles](#FontsSchemaItemsFiles)
5319
+ #### [Colors](#Colors)
5431
5320
 
5432
5321
  | Properties | Type | Nullable | Description |
5433
- | ---------- | ---- | -------- | ----------- |
5434
- | regular | string | no | |
5435
- | italic | string | no | |
5436
- | bold | string | no | |
5322
+ | ---------- | ---- | -------- | ----------- || accent_color | string | no | || bg_color | string | no | || button_secondary_color | string | no | || link_color | string | no | || primary_color | string | no | || secondary_color | string | no | |
5437
5323
 
5438
5324
  ---
5439
5325
 
5440
-
5441
-
5442
-
5443
- #### [ThemesSchema](#ThemesSchema)
5326
+ #### [CommonJs](#CommonJs)
5444
5327
 
5445
5328
  | Properties | Type | Nullable | Description |
5446
- | ---------- | ---- | -------- | ----------- |
5447
- | application | string | no | |
5448
- | applied | boolean | no | |
5449
- | customized | boolean | no | |
5450
- | published | boolean | no | |
5451
- | archived | boolean | no | |
5452
- | created_at | string | no | |
5453
- | updated_at | string | no | |
5454
- | version | string | no | |
5455
- | parent_theme_version | string | no | |
5456
- | parent_theme | string | no | |
5457
- | information | [Information](#Information) | no | |
5458
- | tags | [string] | no | |
5459
- | src | [Src](#Src) | no | |
5460
- | assets | [AssetsSchema](#AssetsSchema) | no | |
5461
- | available_sections | [[availableSectionSchema](#availableSectionSchema)] | no | |
5462
- | styles | string | no | |
5463
- | config | [Config](#Config) | no | |
5464
- | font | [Font](#Font) | no | |
5465
- | _id | string | no | |
5466
- | __v | number | no | |
5467
- | colors | [Colors](#Colors) | no | |
5329
+ | ---------- | ---- | -------- | ----------- || link | string | no | |
5468
5330
 
5469
5331
  ---
5470
5332
 
5471
-
5472
-
5473
-
5474
- #### [availableSectionSchema](#availableSectionSchema)
5333
+ #### [Config](#Config)
5475
5334
 
5476
5335
  | Properties | Type | Nullable | Description |
5477
- | ---------- | ---- | -------- | ----------- |
5478
- | blocks | [[Blocks](#Blocks)] | no | |
5479
- | name | string | no | |
5480
- | label | string | no | |
5481
- | props | [[BlocksProps](#BlocksProps)] | no | |
5336
+ | ---------- | ---- | -------- | ----------- || current | string | no | || global_schema | [GlobalSchema](#GlobalSchema) | no | || list | [[ListSchemaItem](#ListSchemaItem)] | no | || preset | [Preset](#Preset) | no | |
5482
5337
 
5483
5338
  ---
5484
5339
 
5485
-
5486
-
5487
-
5488
- #### [Information](#Information)
5340
+ #### [ConfigPage](#ConfigPage)
5489
5341
 
5490
5342
  | Properties | Type | Nullable | Description |
5491
- | ---------- | ---- | -------- | ----------- |
5492
- | images | [Images](#Images) | no | |
5493
- | features | [string] | no | |
5494
- | name | string | no | |
5495
- | description | string | no | |
5343
+ | ---------- | ---- | -------- | ----------- || page | string | no | || settings | string | no | |
5496
5344
 
5497
5345
  ---
5498
5346
 
5499
-
5500
-
5501
-
5502
- #### [Images](#Images)
5347
+ #### [Css](#Css)
5503
5348
 
5504
5349
  | Properties | Type | Nullable | Description |
5505
- | ---------- | ---- | -------- | ----------- |
5506
- | desktop | [string] | no | |
5507
- | android | [string] | no | |
5508
- | ios | [string] | no | |
5509
- | thumbnail | [string] | no | |
5350
+ | ---------- | ---- | -------- | ----------- || link | string | no | || links | [string] | no | |
5510
5351
 
5511
5352
  ---
5512
5353
 
5513
-
5514
-
5515
-
5516
- #### [Src](#Src)
5354
+ #### [Custom](#Custom)
5517
5355
 
5518
5356
  | Properties | Type | Nullable | Description |
5519
- | ---------- | ---- | -------- | ----------- |
5520
- | link | string | no | |
5357
+ | ---------- | ---- | -------- | ----------- || props | string | no | |
5521
5358
 
5522
5359
  ---
5523
5360
 
5524
-
5525
-
5526
-
5527
- #### [AssetsSchema](#AssetsSchema)
5361
+ #### [Font](#Font)
5528
5362
 
5529
5363
  | Properties | Type | Nullable | Description |
5530
- | ---------- | ---- | -------- | ----------- |
5531
- | umd_js | [UmdJs](#UmdJs) | no | |
5532
- | common_js | [CommonJs](#CommonJs) | no | |
5533
- | css | [Css](#Css) | no | |
5364
+ | ---------- | ---- | -------- | ----------- || family | string | no | || variants | [Variants](#Variants) | no | |
5534
5365
 
5535
5366
  ---
5536
5367
 
5537
-
5538
-
5539
-
5540
- #### [UmdJs](#UmdJs)
5368
+ #### [FontsSchema](#FontsSchema)
5541
5369
 
5542
5370
  | Properties | Type | Nullable | Description |
5543
- | ---------- | ---- | -------- | ----------- |
5544
- | link | string | no | |
5545
- | links | [string] | no | |
5371
+ | ---------- | ---- | -------- | ----------- || items | [FontsSchemaItems](#FontsSchemaItems) | no | || kind | string | no | |
5546
5372
 
5547
5373
  ---
5548
5374
 
5549
-
5550
-
5551
-
5552
- #### [CommonJs](#CommonJs)
5375
+ #### [FontsSchemaItems](#FontsSchemaItems)
5553
5376
 
5554
5377
  | Properties | Type | Nullable | Description |
5555
- | ---------- | ---- | -------- | ----------- |
5556
- | link | string | no | |
5378
+ | ---------- | ---- | -------- | ----------- || category | string | no | || family | string | no | || files | [FontsSchemaItemsFiles](#FontsSchemaItemsFiles) | no | || kind | string | no | || last_modified | string | no | || subsets | [string] | no | || variants | [string] | no | || version | string | no | |
5557
5379
 
5558
5380
  ---
5559
5381
 
5560
-
5561
-
5562
-
5563
- #### [Css](#Css)
5382
+ #### [FontsSchemaItemsFiles](#FontsSchemaItemsFiles)
5564
5383
 
5565
5384
  | Properties | Type | Nullable | Description |
5566
- | ---------- | ---- | -------- | ----------- |
5567
- | link | string | no | |
5568
- | links | [string] | no | |
5385
+ | ---------- | ---- | -------- | ----------- || bold | string | no | || italic | string | no | || regular | string | no | |
5569
5386
 
5570
5387
  ---
5571
5388
 
5572
-
5573
-
5574
-
5575
- #### [Sections](#Sections)
5389
+ #### [GlobalSchema](#GlobalSchema)
5576
5390
 
5577
5391
  | Properties | Type | Nullable | Description |
5578
- | ---------- | ---- | -------- | ----------- |
5579
- | attributes | string | no | |
5392
+ | ---------- | ---- | -------- | ----------- || props | [[GlobalSchemaProps](#GlobalSchemaProps)] | no | |
5580
5393
 
5581
5394
  ---
5582
5395
 
5583
-
5584
-
5585
-
5586
- #### [Config](#Config)
5396
+ #### [GlobalSchemaProps](#GlobalSchemaProps)
5587
5397
 
5588
5398
  | Properties | Type | Nullable | Description |
5589
- | ---------- | ---- | -------- | ----------- |
5590
- | preset | [Preset](#Preset) | no | |
5591
- | global_schema | [GlobalSchema](#GlobalSchema) | no | |
5592
- | current | string | no | |
5593
- | list | [[ListSchemaItem](#ListSchemaItem)] | no | |
5399
+ | ---------- | ---- | -------- | ----------- || category | string | no | || id | string | no | || label | string | no | || type | string | no | |
5594
5400
 
5595
5401
  ---
5596
5402
 
5597
-
5598
-
5599
-
5600
- #### [Preset](#Preset)
5403
+ #### [Images](#Images)
5601
5404
 
5602
5405
  | Properties | Type | Nullable | Description |
5603
- | ---------- | ---- | -------- | ----------- |
5604
- | pages | [[AvailablePageSchema](#AvailablePageSchema)] | no | |
5406
+ | ---------- | ---- | -------- | ----------- || android | [string] | no | || desktop | [string] | no | || ios | [string] | no | || thumbnail | [string] | no | |
5605
5407
 
5606
5408
  ---
5607
5409
 
5608
-
5609
-
5610
-
5611
- #### [GlobalSchema](#GlobalSchema)
5410
+ #### [Information](#Information)
5612
5411
 
5613
5412
  | Properties | Type | Nullable | Description |
5614
- | ---------- | ---- | -------- | ----------- |
5615
- | props | [[GlobalSchemaProps](#GlobalSchemaProps)] | no | |
5413
+ | ---------- | ---- | -------- | ----------- || description | string | no | || features | [string] | no | || images | [Images](#Images) | no | || name | string | no | |
5616
5414
 
5617
5415
  ---
5618
5416
 
5619
-
5620
-
5621
-
5622
- #### [ListSchemaItem](#ListSchemaItem)
5417
+ #### [Light](#Light)
5623
5418
 
5624
5419
  | Properties | Type | Nullable | Description |
5625
- | ---------- | ---- | -------- | ----------- |
5626
- | global_config | string | no | |
5627
- | page | [[ConfigPage](#ConfigPage)] | no | |
5628
- | name | string | no | |
5420
+ | ---------- | ---- | -------- | ----------- || file | string | no | || name | string | no | |
5629
5421
 
5630
5422
  ---
5631
5423
 
5632
-
5633
-
5634
-
5635
- #### [Colors](#Colors)
5424
+ #### [ListSchemaItem](#ListSchemaItem)
5636
5425
 
5637
5426
  | Properties | Type | Nullable | Description |
5638
- | ---------- | ---- | -------- | ----------- |
5639
- | bg_color | string | no | |
5640
- | primary_color | string | no | |
5641
- | secondary_color | string | no | |
5642
- | accent_color | string | no | |
5643
- | link_color | string | no | |
5644
- | button_secondary_color | string | no | |
5427
+ | ---------- | ---- | -------- | ----------- || global_config | string | no | || name | string | no | || page | [[ConfigPage](#ConfigPage)] | no | |
5645
5428
 
5646
5429
  ---
5647
5430
 
5648
-
5649
-
5650
-
5651
- #### [Custom](#Custom)
5431
+ #### [Medium](#Medium)
5652
5432
 
5653
5433
  | Properties | Type | Nullable | Description |
5654
- | ---------- | ---- | -------- | ----------- |
5655
- | props | string | no | |
5434
+ | ---------- | ---- | -------- | ----------- || file | string | no | || name | string | no | |
5656
5435
 
5657
5436
  ---
5658
5437
 
5659
-
5660
-
5661
-
5662
- #### [ConfigPage](#ConfigPage)
5438
+ #### [PaginationSchema](#PaginationSchema)
5663
5439
 
5664
5440
  | Properties | Type | Nullable | Description |
5665
- | ---------- | ---- | -------- | ----------- |
5666
- | settings | string | no | |
5667
- | page | string | no | |
5441
+ | ---------- | ---- | -------- | ----------- || current | number | no | || has_next | boolean | no | || item_total | number | no | || size | number | no | || type | string | no | |
5668
5442
 
5669
5443
  ---
5670
5444
 
5671
-
5672
-
5673
-
5674
- #### [Font](#Font)
5445
+ #### [Preset](#Preset)
5675
5446
 
5676
5447
  | Properties | Type | Nullable | Description |
5677
- | ---------- | ---- | -------- | ----------- |
5678
- | family | string | no | |
5679
- | variants | [Variants](#Variants) | no | |
5448
+ | ---------- | ---- | -------- | ----------- || pages | [[AvailablePageSchema](#AvailablePageSchema)] | no | |
5680
5449
 
5681
5450
  ---
5682
5451
 
5683
-
5684
-
5685
-
5686
- #### [Variants](#Variants)
5452
+ #### [Regular](#Regular)
5687
5453
 
5688
5454
  | Properties | Type | Nullable | Description |
5689
- | ---------- | ---- | -------- | ----------- |
5690
- | medium | [Medium](#Medium) | no | |
5691
- | semi_bold | [SemiBold](#SemiBold) | no | |
5692
- | bold | [Bold](#Bold) | no | |
5693
- | light | [Light](#Light) | no | |
5694
- | regular | [Regular](#Regular) | no | |
5455
+ | ---------- | ---- | -------- | ----------- || file | string | no | || name | string | no | |
5695
5456
 
5696
5457
  ---
5697
5458
 
5698
-
5699
-
5700
-
5701
- #### [Medium](#Medium)
5459
+ #### [Sections](#Sections)
5702
5460
 
5703
5461
  | Properties | Type | Nullable | Description |
5704
- | ---------- | ---- | -------- | ----------- |
5705
- | name | string | no | |
5706
- | file | string | no | |
5462
+ | ---------- | ---- | -------- | ----------- || attributes | string | no | |
5707
5463
 
5708
5464
  ---
5709
5465
 
5710
-
5711
-
5712
-
5713
- #### [SemiBold](#SemiBold)
5466
+ #### [SemiBold](#SemiBold)
5714
5467
 
5715
5468
  | Properties | Type | Nullable | Description |
5716
- | ---------- | ---- | -------- | ----------- |
5717
- | name | string | no | |
5718
- | file | string | no | |
5469
+ | ---------- | ---- | -------- | ----------- || file | string | no | || name | string | no | |
5719
5470
 
5720
5471
  ---
5721
5472
 
5722
-
5723
-
5724
-
5725
- #### [Bold](#Bold)
5473
+ #### [Src](#Src)
5726
5474
 
5727
5475
  | Properties | Type | Nullable | Description |
5728
- | ---------- | ---- | -------- | ----------- |
5729
- | name | string | no | |
5730
- | file | string | no | |
5476
+ | ---------- | ---- | -------- | ----------- || link | string | no | |
5731
5477
 
5732
5478
  ---
5733
5479
 
5734
-
5735
-
5736
-
5737
- #### [Light](#Light)
5480
+ #### [ThemesListingResponseSchema](#ThemesListingResponseSchema)
5738
5481
 
5739
5482
  | Properties | Type | Nullable | Description |
5740
- | ---------- | ---- | -------- | ----------- |
5741
- | name | string | no | |
5742
- | file | string | no | |
5483
+ | ---------- | ---- | -------- | ----------- || items | [[ThemesSchema](#ThemesSchema)] | no | || page | [PaginationSchema](#PaginationSchema) | no | |
5743
5484
 
5744
5485
  ---
5745
5486
 
5746
-
5747
-
5748
-
5749
- #### [Regular](#Regular)
5487
+ #### [ThemesSchema](#ThemesSchema)
5750
5488
 
5751
5489
  | Properties | Type | Nullable | Description |
5752
- | ---------- | ---- | -------- | ----------- |
5753
- | name | string | no | |
5754
- | file | string | no | |
5490
+ | ---------- | ---- | -------- | ----------- || __v | number | no | || _id | string | no | || application | string | no | || applied | boolean | no | || archived | boolean | no | || assets | [AssetsSchema](#AssetsSchema) | no | || available_sections | [[availableSectionSchema](#availableSectionSchema)] | no | || colors | [Colors](#Colors) | no | || config | [Config](#Config) | no | || created_at | string | no | || customized | boolean | no | || font | [Font](#Font) | no | || information | [Information](#Information) | no | || parent_theme | string | no | || parent_theme_version | string | no | || published | boolean | no | || src | [Src](#Src) | no | || styles | string | no | || tags | [string] | no | || updated_at | string | no | || version | string | no | |
5755
5491
 
5756
5492
  ---
5757
5493
 
5758
-
5759
-
5760
-
5761
- #### [Blocks](#Blocks)
5494
+ #### [UmdJs](#UmdJs)
5762
5495
 
5763
5496
  | Properties | Type | Nullable | Description |
5764
- | ---------- | ---- | -------- | ----------- |
5765
- | type | string | no | |
5766
- | name | string | no | |
5767
- | props | [[BlocksProps](#BlocksProps)] | no | |
5497
+ | ---------- | ---- | -------- | ----------- || link | string | no | || links | [string] | no | |
5768
5498
 
5769
5499
  ---
5770
5500
 
5771
-
5772
-
5773
-
5774
- #### [GlobalSchemaProps](#GlobalSchemaProps)
5501
+ #### [UpgradableThemeSchema](#UpgradableThemeSchema)
5775
5502
 
5776
5503
  | Properties | Type | Nullable | Description |
5777
- | ---------- | ---- | -------- | ----------- |
5778
- | id | string | no | |
5779
- | label | string | no | |
5780
- | type | string | no | |
5781
- | category | string | no | |
5504
+ | ---------- | ---- | -------- | ----------- || applied_theme | string | no | || parent_theme | string | no | || upgrade | boolean | no | |
5782
5505
 
5783
5506
  ---
5784
5507
 
5785
-
5786
-
5787
-
5788
- #### [BlocksProps](#BlocksProps)
5508
+ #### [Variants](#Variants)
5789
5509
 
5790
5510
  | Properties | Type | Nullable | Description |
5791
- | ---------- | ---- | -------- | ----------- |
5792
- | id | string | no | |
5793
- | label | string | no | |
5794
- | type | string | no | |
5511
+ | ---------- | ---- | -------- | ----------- || bold | [Bold](#Bold) | no | || light | [Light](#Light) | no | || medium | [Medium](#Medium) | no | || regular | [Regular](#Regular) | no | || semi_bold | [SemiBold](#SemiBold) | no | |
5795
5512
 
5796
5513
  ---
5797
5514