@gofynd/fdk-client-javascript 1.4.2-beta.7 → 1.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/README.md +1 -10
  2. package/application.d.ts +3 -3
  3. package/common.d.ts +3 -3
  4. package/index.d.ts +15 -15
  5. package/package.json +5 -3
  6. package/partner.d.ts +3 -3
  7. package/platform.d.ts +3 -3
  8. package/public.d.ts +2 -2
  9. package/sdk/application/ApplicationAPIClient.d.ts +1 -1
  10. package/sdk/application/ApplicationAPIClient.js +0 -1
  11. package/sdk/application/ApplicationClient.d.ts +17 -17
  12. package/sdk/application/ApplicationConfig.d.ts +3 -3
  13. package/sdk/application/Cart/CartApplicationClient.d.ts +58 -58
  14. package/sdk/application/Cart/CartApplicationClient.js +56 -56
  15. package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -1
  16. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +72 -72
  17. package/sdk/application/Catalog/CatalogApplicationClient.js +69 -69
  18. package/sdk/application/Common/CommonApplicationClient.d.ts +6 -6
  19. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  20. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +8 -8
  21. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
  22. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
  23. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -34
  24. package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -32
  25. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +1 -1
  26. package/sdk/application/Content/ContentApplicationClient.d.ts +48 -48
  27. package/sdk/application/Content/ContentApplicationClient.js +45 -45
  28. package/sdk/application/Content/ContentApplicationModel.d.ts +18 -18
  29. package/sdk/application/Content/ContentApplicationModel.js +26 -26
  30. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +7 -7
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.js +15 -9
  32. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
  33. package/sdk/application/Lead/LeadApplicationClient.d.ts +12 -12
  34. package/sdk/application/Lead/LeadApplicationClient.js +10 -10
  35. package/sdk/application/Lead/LeadApplicationModel.d.ts +64 -77
  36. package/sdk/application/Lead/LeadApplicationModel.js +42 -52
  37. package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -1
  38. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +24 -24
  39. package/sdk/application/Logistic/LogisticApplicationClient.js +22 -22
  40. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
  41. package/sdk/application/Order/OrderApplicationClient.d.ts +19 -30
  42. package/sdk/application/Order/OrderApplicationClient.js +17 -97
  43. package/sdk/application/Order/OrderApplicationValidator.d.ts +2 -16
  44. package/sdk/application/Order/OrderApplicationValidator.js +0 -13
  45. package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -91
  46. package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
  47. package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -2
  48. package/sdk/application/Payment/PaymentApplicationModel.js +4 -2
  49. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +6 -6
  50. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  51. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +29 -29
  52. package/sdk/application/PosCart/PosCartApplicationClient.js +27 -27
  53. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +1 -1
  54. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +9 -9
  55. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  56. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +1 -1
  57. package/sdk/application/Share/ShareApplicationClient.d.ts +9 -9
  58. package/sdk/application/Share/ShareApplicationClient.js +7 -7
  59. package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
  60. package/sdk/application/Share/ShareApplicationModel.js +2 -0
  61. package/sdk/application/Share/ShareApplicationValidator.d.ts +1 -1
  62. package/sdk/application/Theme/ThemeApplicationClient.d.ts +10 -10
  63. package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
  64. package/sdk/application/Theme/ThemeApplicationModel.d.ts +25 -32
  65. package/sdk/application/Theme/ThemeApplicationModel.js +30 -40
  66. package/sdk/application/User/UserApplicationClient.d.ts +76 -76
  67. package/sdk/application/User/UserApplicationClient.js +74 -74
  68. package/sdk/application/User/UserApplicationModel.d.ts +44 -13
  69. package/sdk/application/User/UserApplicationModel.js +17 -13
  70. package/sdk/application/User/UserApplicationValidator.d.ts +1 -1
  71. package/sdk/application/index.d.ts +18 -18
  72. package/sdk/common/AxiosHelper.d.ts +1 -1
  73. package/sdk/common/AxiosHelper.js +38 -17
  74. package/sdk/common/Clickstream.js +22 -16
  75. package/sdk/common/curlHelper.js +1 -3
  76. package/sdk/common/utils.d.ts +15 -0
  77. package/sdk/common/utils.js +30 -0
  78. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +3 -3
  79. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +2 -2
  80. package/sdk/partner/Lead/LeadPartnerClient.d.ts +3 -3
  81. package/sdk/partner/Lead/LeadPartnerClient.js +1 -1
  82. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +5 -5
  83. package/sdk/partner/Logistics/LogisticsPartnerClient.js +4 -4
  84. package/sdk/partner/OAuthClient.d.ts +4 -4
  85. package/sdk/partner/PartnerAPIClient.d.ts +1 -1
  86. package/sdk/partner/PartnerAPIClient.js +0 -1
  87. package/sdk/partner/PartnerClient.d.ts +6 -6
  88. package/sdk/partner/PartnerConfig.d.ts +4 -4
  89. package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -20
  90. package/sdk/partner/Theme/ThemePartnerClient.js +19 -19
  91. package/sdk/partner/Theme/ThemePartnerModel.d.ts +25 -32
  92. package/sdk/partner/Theme/ThemePartnerModel.js +30 -40
  93. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +3 -3
  94. package/sdk/partner/Webhook/WebhookPartnerClient.js +2 -2
  95. package/sdk/partner/index.d.ts +7 -7
  96. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
  97. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +6 -6
  98. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
  99. package/sdk/platform/Billing/BillingPlatformClient.d.ts +25 -25
  100. package/sdk/platform/Billing/BillingPlatformClient.js +23 -23
  101. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +1 -1
  102. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +115 -115
  103. package/sdk/platform/Cart/CartPlatformApplicationClient.js +113 -113
  104. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -1
  105. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +147 -146
  106. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +146 -145
  107. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1 -1
  108. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +156 -156
  109. package/sdk/platform/Catalog/CatalogPlatformClient.js +153 -153
  110. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +65 -28
  111. package/sdk/platform/Catalog/CatalogPlatformModel.js +68 -36
  112. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -1
  113. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -5
  114. package/sdk/platform/Common/CommonPlatformClient.js +3 -3
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +133 -133
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +131 -131
  117. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +1 -1
  118. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +4 -4
  119. package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -2
  120. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +12 -0
  121. package/sdk/platform/Communication/CommunicationPlatformModel.js +12 -0
  122. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +28 -28
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +25 -25
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -0
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +2 -0
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +1 -1
  127. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -52
  128. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +50 -50
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +1 -1
  130. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +31 -31
  131. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +29 -29
  132. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -1
  133. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +128 -128
  134. package/sdk/platform/Content/ContentPlatformApplicationClient.js +131 -131
  135. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +5 -5
  136. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
  137. package/sdk/platform/Content/ContentPlatformClient.d.ts +33 -33
  138. package/sdk/platform/Content/ContentPlatformClient.js +37 -37
  139. package/sdk/platform/Content/ContentPlatformModel.d.ts +18 -18
  140. package/sdk/platform/Content/ContentPlatformModel.js +26 -26
  141. package/sdk/platform/Content/ContentPlatformValidator.d.ts +5 -5
  142. package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
  143. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +24 -24
  144. package/sdk/platform/Discount/DiscountPlatformClient.js +22 -22
  145. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +1 -1
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +24 -23
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +32 -25
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
  149. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +15 -15
  150. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +28 -19
  151. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +12 -1
  152. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +16 -2
  153. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +1 -1
  154. package/sdk/platform/Finance/FinancePlatformClient.d.ts +30 -30
  155. package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
  156. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -1
  157. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +19 -19
  158. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +17 -17
  159. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -1
  160. package/sdk/platform/Lead/LeadPlatformClient.d.ts +20 -20
  161. package/sdk/platform/Lead/LeadPlatformClient.js +18 -18
  162. package/sdk/platform/Lead/LeadPlatformModel.d.ts +62 -77
  163. package/sdk/platform/Lead/LeadPlatformModel.js +40 -52
  164. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -1
  165. package/sdk/platform/OAuthClient.d.ts +3 -3
  166. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +12 -12
  167. package/sdk/platform/Order/OrderPlatformApplicationClient.js +10 -10
  168. package/sdk/platform/Order/OrderPlatformClient.d.ts +111 -122
  169. package/sdk/platform/Order/OrderPlatformClient.js +109 -204
  170. package/sdk/platform/Order/OrderPlatformModel.d.ts +18 -2
  171. package/sdk/platform/Order/OrderPlatformModel.js +12 -2
  172. package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -34
  173. package/sdk/platform/Order/OrderPlatformValidator.js +0 -20
  174. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -6
  175. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
  176. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -1
  177. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +97 -97
  178. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +95 -95
  179. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -1
  180. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +13 -13
  181. package/sdk/platform/Payment/PaymentPlatformClient.js +11 -11
  182. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +7 -0
  183. package/sdk/platform/Payment/PaymentPlatformModel.js +3 -0
  184. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +1 -1
  185. package/sdk/platform/PlatformAPIClient.d.ts +1 -1
  186. package/sdk/platform/PlatformAPIClient.js +0 -1
  187. package/sdk/platform/PlatformApplicationClient.d.ts +16 -16
  188. package/sdk/platform/PlatformClient.d.ts +19 -21
  189. package/sdk/platform/PlatformClient.js +0 -4
  190. package/sdk/platform/PlatformConfig.d.ts +4 -4
  191. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +14 -14
  192. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
  193. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +42 -42
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +40 -40
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -1
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +55 -54
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +53 -52
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2 -2
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -2
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -1
  202. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
  203. package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
  204. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
  205. package/sdk/platform/Share/SharePlatformModel.d.ts +4 -0
  206. package/sdk/platform/Share/SharePlatformModel.js +4 -0
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +42 -112
  208. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +40 -597
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +2 -101
  210. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -92
  211. package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -8
  212. package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
  213. package/sdk/platform/Theme/ThemePlatformModel.d.ts +25 -32
  214. package/sdk/platform/Theme/ThemePlatformModel.js +30 -40
  215. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +1 -1
  216. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +37 -37
  217. package/sdk/platform/User/UserPlatformApplicationClient.js +35 -35
  218. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +1 -1
  219. package/sdk/platform/User/UserPlatformModel.d.ts +48 -13
  220. package/sdk/platform/User/UserPlatformModel.js +21 -13
  221. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +20 -19
  222. package/sdk/platform/Webhook/WebhookPlatformClient.js +18 -17
  223. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
  224. package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
  225. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +1 -1
  226. package/sdk/platform/index.d.ts +24 -25
  227. package/sdk/platform/index.js +0 -2
  228. package/sdk/public/Billing/BillingPublicClient.d.ts +3 -3
  229. package/sdk/public/Billing/BillingPublicClient.js +4 -4
  230. package/sdk/public/Billing/BillingPublicValidator.d.ts +2 -2
  231. package/sdk/public/Billing/BillingPublicValidator.js +2 -2
  232. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -3
  233. package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
  234. package/sdk/public/Content/ContentPublicClient.d.ts +2 -2
  235. package/sdk/public/Content/ContentPublicValidator.d.ts +2 -2
  236. package/sdk/public/Content/ContentPublicValidator.js +3 -3
  237. package/sdk/public/Inventory/InventoryPublicClient.d.ts +2 -2
  238. package/sdk/public/Inventory/InventoryPublicModel.d.ts +8 -8
  239. package/sdk/public/Inventory/InventoryPublicModel.js +8 -8
  240. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +1 -1
  241. package/sdk/public/Partner/PartnerPublicClient.d.ts +3 -3
  242. package/sdk/public/Partner/PartnerPublicClient.js +1 -1
  243. package/sdk/public/PublicAPIClient.d.ts +1 -1
  244. package/sdk/public/PublicClient.d.ts +7 -7
  245. package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
  246. package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
  247. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -1
  248. package/sdk/public/index.d.ts +8 -8
  249. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +0 -152
  250. package/sdk/platform/Inventory/InventoryPlatformClient.js +0 -1017
  251. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +0 -1355
  252. package/sdk/platform/Inventory/InventoryPlatformModel.js +0 -1544
  253. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +0 -171
  254. package/sdk/platform/Inventory/InventoryPlatformValidator.js +0 -159
@@ -3,18 +3,10 @@ export = ThemePlatformApplicationValidator;
3
3
  * @typedef AddThemeToApplicationParam
4
4
  * @property {ThemePlatformModel.ThemeReq} body
5
5
  */
6
- /**
7
- * @typedef AddToThemeLibraryParam
8
- * @property {ThemePlatformModel.AddThemeRequestSchema} body
9
- */
10
6
  /**
11
7
  * @typedef ApplyThemeParam
12
8
  * @property {string} themeId - The ID of the apply
13
9
  */
14
- /**
15
- * @typedef ArchiveThemeParam
16
- * @property {string} themeId - ID allotted to the theme.
17
- */
18
10
  /**
19
11
  * @typedef CreatePageParam
20
12
  * @property {string} themeId - ID of the theme
@@ -46,13 +38,6 @@ export = ThemePlatformApplicationValidator;
46
38
  * @property {string} themeId - ID of the theme to be retrieved
47
39
  * @property {string} pageValue - Value of the page to be retrieved
48
40
  */
49
- /**
50
- * @typedef GetPublicThemesParam
51
- * @property {number} [pageSize] - The number of items to retrieve in each page.
52
- * Default value is 10.
53
- * @property {number} [pageNo] - The page number to navigate through the given
54
- * set of results. Default value is 1.
55
- */
56
41
  /**
57
42
  * @typedef GetThemeByIdParam
58
43
  * @property {string} themeId - The ID of the theme
@@ -65,29 +50,10 @@ export = ThemePlatformApplicationValidator;
65
50
  * @typedef GetThemeLastModifiedParam
66
51
  * @property {string} themeId - ID allotted to the theme.
67
52
  */
68
- /**
69
- * @typedef GetThemeLibraryParam
70
- * @property {number} [pageSize] - The number of items to retrieve in each page.
71
- * Default value is 10.
72
- * @property {number} [pageNo] - The page number to navigate through the given
73
- * set of results. Default value is 1.
74
- */
75
53
  /**
76
54
  * @typedef IsUpgradableParam
77
55
  * @property {string} themeId - The ID of the theme
78
56
  */
79
- /**
80
- * @typedef PublishThemeParam
81
- * @property {string} themeId - ID allotted to the theme.
82
- */
83
- /**
84
- * @typedef UnarchiveThemeParam
85
- * @property {string} themeId - ID allotted to the theme.
86
- */
87
- /**
88
- * @typedef UnpublishThemeParam
89
- * @property {string} themeId - ID allotted to the theme.
90
- */
91
57
  /**
92
58
  * @typedef UpdateMultiplePagesParam
93
59
  * @property {string} themeId - ID of the theme to be retrieved
@@ -116,12 +82,8 @@ export = ThemePlatformApplicationValidator;
116
82
  declare class ThemePlatformApplicationValidator {
117
83
  /** @returns {AddThemeToApplicationParam} */
118
84
  static addThemeToApplication(): AddThemeToApplicationParam;
119
- /** @returns {AddToThemeLibraryParam} */
120
- static addToThemeLibrary(): AddToThemeLibraryParam;
121
85
  /** @returns {ApplyThemeParam} */
122
86
  static applyTheme(): ApplyThemeParam;
123
- /** @returns {ArchiveThemeParam} */
124
- static archiveTheme(): ArchiveThemeParam;
125
87
  /** @returns {CreatePageParam} */
126
88
  static createPage(): CreatePageParam;
127
89
  /** @returns {DeletePageParam} */
@@ -142,24 +104,14 @@ declare class ThemePlatformApplicationValidator {
142
104
  static getFonts(): any;
143
105
  /** @returns {GetPageParam} */
144
106
  static getPage(): GetPageParam;
145
- /** @returns {GetPublicThemesParam} */
146
- static getPublicThemes(): GetPublicThemesParam;
147
107
  /** @returns {GetThemeByIdParam} */
148
108
  static getThemeById(): GetThemeByIdParam;
149
109
  /** @returns {GetThemeForPreviewParam} */
150
110
  static getThemeForPreview(): GetThemeForPreviewParam;
151
111
  /** @returns {GetThemeLastModifiedParam} */
152
112
  static getThemeLastModified(): GetThemeLastModifiedParam;
153
- /** @returns {GetThemeLibraryParam} */
154
- static getThemeLibrary(): GetThemeLibraryParam;
155
113
  /** @returns {IsUpgradableParam} */
156
114
  static isUpgradable(): IsUpgradableParam;
157
- /** @returns {PublishThemeParam} */
158
- static publishTheme(): PublishThemeParam;
159
- /** @returns {UnarchiveThemeParam} */
160
- static unarchiveTheme(): UnarchiveThemeParam;
161
- /** @returns {UnpublishThemeParam} */
162
- static unpublishTheme(): UnpublishThemeParam;
163
115
  /** @returns {UpdateMultiplePagesParam} */
164
116
  static updateMultiplePages(): UpdateMultiplePagesParam;
165
117
  /** @returns {UpdatePageParam} */
@@ -172,26 +124,17 @@ declare class ThemePlatformApplicationValidator {
172
124
  static upgradeTheme(): UpgradeThemeParam;
173
125
  }
174
126
  declare namespace ThemePlatformApplicationValidator {
175
- export { AddThemeToApplicationParam, AddToThemeLibraryParam, ApplyThemeParam, ArchiveThemeParam, CreatePageParam, DeletePageParam, DeleteThemeParam, DuplicateThemeParam, GetAllPagesParam, GetApplicationThemesParam, GetApplicationThemesCountParam, GetAppliedThemeParam, GetFontsParam, GetPageParam, GetPublicThemesParam, GetThemeByIdParam, GetThemeForPreviewParam, GetThemeLastModifiedParam, GetThemeLibraryParam, IsUpgradableParam, PublishThemeParam, UnarchiveThemeParam, UnpublishThemeParam, UpdateMultiplePagesParam, UpdatePageParam, UpdateThemeParam, UpdateThemeNameParam, UpgradeThemeParam };
127
+ export { AddThemeToApplicationParam, ApplyThemeParam, CreatePageParam, DeletePageParam, DeleteThemeParam, DuplicateThemeParam, GetAllPagesParam, GetApplicationThemesParam, GetApplicationThemesCountParam, GetAppliedThemeParam, GetFontsParam, GetPageParam, GetThemeByIdParam, GetThemeForPreviewParam, GetThemeLastModifiedParam, IsUpgradableParam, UpdateMultiplePagesParam, UpdatePageParam, UpdateThemeParam, UpdateThemeNameParam, UpgradeThemeParam };
176
128
  }
177
129
  type AddThemeToApplicationParam = {
178
130
  body: ThemePlatformModel.ThemeReq;
179
131
  };
180
- type AddToThemeLibraryParam = {
181
- body: ThemePlatformModel.AddThemeRequestSchema;
182
- };
183
132
  type ApplyThemeParam = {
184
133
  /**
185
134
  * - The ID of the apply
186
135
  */
187
136
  themeId: string;
188
137
  };
189
- type ArchiveThemeParam = {
190
- /**
191
- * - ID allotted to the theme.
192
- */
193
- themeId: string;
194
- };
195
138
  type CreatePageParam = {
196
139
  /**
197
140
  * - ID of the theme
@@ -237,18 +180,6 @@ type GetPageParam = {
237
180
  */
238
181
  pageValue: string;
239
182
  };
240
- type GetPublicThemesParam = {
241
- /**
242
- * - The number of items to retrieve in each page.
243
- * Default value is 10.
244
- */
245
- pageSize?: number;
246
- /**
247
- * - The page number to navigate through the given
248
- * set of results. Default value is 1.
249
- */
250
- pageNo?: number;
251
- };
252
183
  type GetThemeByIdParam = {
253
184
  /**
254
185
  * - The ID of the theme
@@ -267,42 +198,12 @@ type GetThemeLastModifiedParam = {
267
198
  */
268
199
  themeId: string;
269
200
  };
270
- type GetThemeLibraryParam = {
271
- /**
272
- * - The number of items to retrieve in each page.
273
- * Default value is 10.
274
- */
275
- pageSize?: number;
276
- /**
277
- * - The page number to navigate through the given
278
- * set of results. Default value is 1.
279
- */
280
- pageNo?: number;
281
- };
282
201
  type IsUpgradableParam = {
283
202
  /**
284
203
  * - The ID of the theme
285
204
  */
286
205
  themeId: string;
287
206
  };
288
- type PublishThemeParam = {
289
- /**
290
- * - ID allotted to the theme.
291
- */
292
- themeId: string;
293
- };
294
- type UnarchiveThemeParam = {
295
- /**
296
- * - ID allotted to the theme.
297
- */
298
- themeId: string;
299
- };
300
- type UnpublishThemeParam = {
301
- /**
302
- * - ID allotted to the theme.
303
- */
304
- themeId: string;
305
- };
306
207
  type UpdateMultiplePagesParam = {
307
208
  /**
308
209
  * - ID of the theme to be retrieved
@@ -345,4 +246,4 @@ type GetApplicationThemesParam = any;
345
246
  type GetApplicationThemesCountParam = any;
346
247
  type GetAppliedThemeParam = any;
347
248
  type GetFontsParam = any;
348
- import ThemePlatformModel = require("./ThemePlatformModel");
249
+ import ThemePlatformModel = require("sdk/output/javascript/code/sdk/platform/Theme/ThemePlatformModel");
@@ -7,21 +7,11 @@ const ThemePlatformModel = require("./ThemePlatformModel");
7
7
  * @property {ThemePlatformModel.ThemeReq} body
8
8
  */
9
9
 
10
- /**
11
- * @typedef AddToThemeLibraryParam
12
- * @property {ThemePlatformModel.AddThemeRequestSchema} body
13
- */
14
-
15
10
  /**
16
11
  * @typedef ApplyThemeParam
17
12
  * @property {string} themeId - The ID of the apply
18
13
  */
19
14
 
20
- /**
21
- * @typedef ArchiveThemeParam
22
- * @property {string} themeId - ID allotted to the theme.
23
- */
24
-
25
15
  /**
26
16
  * @typedef CreatePageParam
27
17
  * @property {string} themeId - ID of the theme
@@ -63,14 +53,6 @@ const ThemePlatformModel = require("./ThemePlatformModel");
63
53
  * @property {string} pageValue - Value of the page to be retrieved
64
54
  */
65
55
 
66
- /**
67
- * @typedef GetPublicThemesParam
68
- * @property {number} [pageSize] - The number of items to retrieve in each page.
69
- * Default value is 10.
70
- * @property {number} [pageNo] - The page number to navigate through the given
71
- * set of results. Default value is 1.
72
- */
73
-
74
56
  /**
75
57
  * @typedef GetThemeByIdParam
76
58
  * @property {string} themeId - The ID of the theme
@@ -86,34 +68,11 @@ const ThemePlatformModel = require("./ThemePlatformModel");
86
68
  * @property {string} themeId - ID allotted to the theme.
87
69
  */
88
70
 
89
- /**
90
- * @typedef GetThemeLibraryParam
91
- * @property {number} [pageSize] - The number of items to retrieve in each page.
92
- * Default value is 10.
93
- * @property {number} [pageNo] - The page number to navigate through the given
94
- * set of results. Default value is 1.
95
- */
96
-
97
71
  /**
98
72
  * @typedef IsUpgradableParam
99
73
  * @property {string} themeId - The ID of the theme
100
74
  */
101
75
 
102
- /**
103
- * @typedef PublishThemeParam
104
- * @property {string} themeId - ID allotted to the theme.
105
- */
106
-
107
- /**
108
- * @typedef UnarchiveThemeParam
109
- * @property {string} themeId - ID allotted to the theme.
110
- */
111
-
112
- /**
113
- * @typedef UnpublishThemeParam
114
- * @property {string} themeId - ID allotted to the theme.
115
- */
116
-
117
76
  /**
118
77
  * @typedef UpdateMultiplePagesParam
119
78
  * @property {string} themeId - ID of the theme to be retrieved
@@ -152,13 +111,6 @@ class ThemePlatformApplicationValidator {
152
111
  }).required();
153
112
  }
154
113
 
155
- /** @returns {AddToThemeLibraryParam} */
156
- static addToThemeLibrary() {
157
- return Joi.object({
158
- body: ThemePlatformModel.AddThemeRequestSchema().required(),
159
- }).required();
160
- }
161
-
162
114
  /** @returns {ApplyThemeParam} */
163
115
  static applyTheme() {
164
116
  return Joi.object({
@@ -166,13 +118,6 @@ class ThemePlatformApplicationValidator {
166
118
  }).required();
167
119
  }
168
120
 
169
- /** @returns {ArchiveThemeParam} */
170
- static archiveTheme() {
171
- return Joi.object({
172
- themeId: Joi.string().allow("").required(),
173
- }).required();
174
- }
175
-
176
121
  /** @returns {CreatePageParam} */
177
122
  static createPage() {
178
123
  return Joi.object({
@@ -238,14 +183,6 @@ class ThemePlatformApplicationValidator {
238
183
  }).required();
239
184
  }
240
185
 
241
- /** @returns {GetPublicThemesParam} */
242
- static getPublicThemes() {
243
- return Joi.object({
244
- pageSize: Joi.number(),
245
- pageNo: Joi.number(),
246
- }).required();
247
- }
248
-
249
186
  /** @returns {GetThemeByIdParam} */
250
187
  static getThemeById() {
251
188
  return Joi.object({
@@ -267,14 +204,6 @@ class ThemePlatformApplicationValidator {
267
204
  }).required();
268
205
  }
269
206
 
270
- /** @returns {GetThemeLibraryParam} */
271
- static getThemeLibrary() {
272
- return Joi.object({
273
- pageSize: Joi.number(),
274
- pageNo: Joi.number(),
275
- }).required();
276
- }
277
-
278
207
  /** @returns {IsUpgradableParam} */
279
208
  static isUpgradable() {
280
209
  return Joi.object({
@@ -282,27 +211,6 @@ class ThemePlatformApplicationValidator {
282
211
  }).required();
283
212
  }
284
213
 
285
- /** @returns {PublishThemeParam} */
286
- static publishTheme() {
287
- return Joi.object({
288
- themeId: Joi.string().allow("").required(),
289
- }).required();
290
- }
291
-
292
- /** @returns {UnarchiveThemeParam} */
293
- static unarchiveTheme() {
294
- return Joi.object({
295
- themeId: Joi.string().allow("").required(),
296
- }).required();
297
- }
298
-
299
- /** @returns {UnpublishThemeParam} */
300
- static unpublishTheme() {
301
- return Joi.object({
302
- themeId: Joi.string().allow("").required(),
303
- }).required();
304
- }
305
-
306
214
  /** @returns {UpdateMultiplePagesParam} */
307
215
  static updateMultiplePages() {
308
216
  return Joi.object({
@@ -8,7 +8,7 @@ declare class Theme {
8
8
  * @param {import("../PlatformAPIClient").Options} - Options
9
9
  * @returns {Promise<ThemePlatformModel.CompanyThemeSchema>} - Success response
10
10
  * @name addMarketplaceThemeToCompany
11
- * @summary: Add marketplace theme to company.
11
+ * @summary: Create a company theme
12
12
  * @description: Incorporate a marketplace theme into a company's profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/addMarketplaceThemeToCompany/).
13
13
  */
14
14
  addMarketplaceThemeToCompany({ body, requestHeaders }?: ThemePlatformValidator.AddMarketplaceThemeToCompanyParam, { responseHeaders }?: object): Promise<ThemePlatformModel.CompanyThemeSchema>;
@@ -18,7 +18,7 @@ declare class Theme {
18
18
  * @param {import("../PlatformAPIClient").Options} - Options
19
19
  * @returns {Promise<ThemePlatformModel.CompanyThemeSchema>} - Success response
20
20
  * @name deleteCompanyTheme
21
- * @summary: Delete company theme.
21
+ * @summary: Delete a company theme
22
22
  * @description: Remove a theme associated with a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/deleteCompanyTheme/).
23
23
  */
24
24
  deleteCompanyTheme({ themeId, requestHeaders }?: ThemePlatformValidator.DeleteCompanyThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.CompanyThemeSchema>;
@@ -28,8 +28,8 @@ declare class Theme {
28
28
  * @param {import("../PlatformAPIClient").Options} - Options
29
29
  * @returns {Promise<ThemePlatformModel.CompanyPrivateTheme[]>} - Success response
30
30
  * @name getCompanyLevelPrivateThemes
31
- * @summary: Get private themes for a company
32
- * @description: Retrieve a list of private themes available for a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getCompanyLevelPrivateThemes/).
31
+ * @summary: List private company themes
32
+ * @description: Retrieve a list of private themes added to a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getCompanyLevelPrivateThemes/).
33
33
  */
34
34
  getCompanyLevelPrivateThemes({ searchText, requestHeaders }?: ThemePlatformValidator.GetCompanyLevelPrivateThemesParam, { responseHeaders }?: object): Promise<ThemePlatformModel.CompanyPrivateTheme[]>;
35
35
  /**
@@ -38,10 +38,10 @@ declare class Theme {
38
38
  * @param {import("../PlatformAPIClient").Options} - Options
39
39
  * @returns {Promise<ThemePlatformModel.CompanyThemeSchema[]>} - Success response
40
40
  * @name getCompanyLevelThemes
41
- * @summary: Get company-level themes.
42
- * @description: Retrieve themes specific to a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getCompanyLevelThemes/).
41
+ * @summary: List company themes
42
+ * @description: Retrieve themes added to a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getCompanyLevelThemes/).
43
43
  */
44
44
  getCompanyLevelThemes({ searchText, requestHeaders }?: ThemePlatformValidator.GetCompanyLevelThemesParam, { responseHeaders }?: object): Promise<ThemePlatformModel.CompanyThemeSchema[]>;
45
45
  }
46
- import ThemePlatformValidator = require("./ThemePlatformValidator");
47
- import ThemePlatformModel = require("./ThemePlatformModel");
46
+ import ThemePlatformValidator = require("sdk/output/javascript/code/sdk/platform/Theme/ThemePlatformValidator");
47
+ import ThemePlatformModel = require("sdk/output/javascript/code/sdk/platform/Theme/ThemePlatformModel");
@@ -20,7 +20,7 @@ class Theme {
20
20
  * @param {import("../PlatformAPIClient").Options} - Options
21
21
  * @returns {Promise<ThemePlatformModel.CompanyThemeSchema>} - Success response
22
22
  * @name addMarketplaceThemeToCompany
23
- * @summary: Add marketplace theme to company.
23
+ * @summary: Create a company theme
24
24
  * @description: Incorporate a marketplace theme into a company's profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/addMarketplaceThemeToCompany/).
25
25
  */
26
26
  async addMarketplaceThemeToCompany(
@@ -101,7 +101,7 @@ class Theme {
101
101
  * @param {import("../PlatformAPIClient").Options} - Options
102
102
  * @returns {Promise<ThemePlatformModel.CompanyThemeSchema>} - Success response
103
103
  * @name deleteCompanyTheme
104
- * @summary: Delete company theme.
104
+ * @summary: Delete a company theme
105
105
  * @description: Remove a theme associated with a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/deleteCompanyTheme/).
106
106
  */
107
107
  async deleteCompanyTheme(
@@ -180,8 +180,8 @@ class Theme {
180
180
  * @param {import("../PlatformAPIClient").Options} - Options
181
181
  * @returns {Promise<ThemePlatformModel.CompanyPrivateTheme[]>} - Success response
182
182
  * @name getCompanyLevelPrivateThemes
183
- * @summary: Get private themes for a company
184
- * @description: Retrieve a list of private themes available for a specific company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getCompanyLevelPrivateThemes/).
183
+ * @summary: List private company themes
184
+ * @description: Retrieve a list of private themes added to a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getCompanyLevelPrivateThemes/).
185
185
  */
186
186
  async getCompanyLevelPrivateThemes(
187
187
  { searchText, requestHeaders } = { requestHeaders: {} },
@@ -259,8 +259,8 @@ class Theme {
259
259
  * @param {import("../PlatformAPIClient").Options} - Options
260
260
  * @returns {Promise<ThemePlatformModel.CompanyThemeSchema[]>} - Success response
261
261
  * @name getCompanyLevelThemes
262
- * @summary: Get company-level themes.
263
- * @description: Retrieve themes specific to a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getCompanyLevelThemes/).
262
+ * @summary: List company themes
263
+ * @description: Retrieve themes added to a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getCompanyLevelThemes/).
264
264
  */
265
265
  async getCompanyLevelThemes(
266
266
  { searchText, requestHeaders } = { requestHeaders: {} },
@@ -83,16 +83,9 @@ export = ThemePlatformModel;
83
83
  */
84
84
  /**
85
85
  * @typedef Action
86
+ * @property {string} [type]
86
87
  * @property {ActionPage} [page]
87
88
  * @property {ActionPage} [popup]
88
- * @property {string} [type]
89
- */
90
- /**
91
- * @typedef ActionPage
92
- * @property {Object} [params]
93
- * @property {Object} [query]
94
- * @property {string} [url]
95
- * @property {PageType} type
96
89
  */
97
90
  /**
98
91
  * @typedef AvailablePageSeo
@@ -399,13 +392,8 @@ export = ThemePlatformModel;
399
392
  */
400
393
  /**
401
394
  * @typedef Page
402
- * @property {number} [item_total]
403
- * @property {string} [next_id]
404
- * @property {boolean} [has_previous]
405
- * @property {boolean} [has_next]
406
- * @property {number} [current]
407
- * @property {string} type
408
- * @property {number} [size]
395
+ * @property {Section[]} [sections]
396
+ * @property {string} [value] - The value of the page.
409
397
  */
410
398
  /**
411
399
  * @typedef Section
@@ -511,6 +499,13 @@ export = ThemePlatformModel;
511
499
  * @property {boolean} [is_private] - Whether the theme is private or not
512
500
  * @property {CompanyThemeMeta} [meta]
513
501
  */
502
+ /**
503
+ * @typedef ActionPage
504
+ * @property {Object} [params]
505
+ * @property {Object} [query]
506
+ * @property {string} [url]
507
+ * @property {PageType} type
508
+ */
514
509
  /**
515
510
  * @typedef {| "about-us"
516
511
  * | "addresses"
@@ -562,7 +557,7 @@ export = ThemePlatformModel;
562
557
  declare class ThemePlatformModel {
563
558
  }
564
559
  declare namespace ThemePlatformModel {
565
- export { ThemeReq, CompanyThemeSchema, MarketplaceThemeId, CompanyThemeMeta, ThemePayment, ThemeImages, AvailablePageSchema, AvailablePageSectionMetaAttributes, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, ActionPage, AvailablePageSeo, AvailablePageSchemaSections, AvailablePagePredicate, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePagePlatformPredicate, AvailablePageSchedulePredicate, AllAvailablePageSchema, AddThemeRequestSchema, FontsSchema, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, FontsSchemaItems, FontsSchemaItemsFiles, ThemesSchema, ThemeUpgradableResponse, UpdateThemeNameRequestBody, UpdateThemeRequestBody, Font, FontVariants, FontVariant, Config, ThemeConfiguration, OverlayPopup, DividerStrokeHighlight, UserAlerts, OrderTracking, ThemeConfigListPage, ThemeConfigListPageSettingsProps, CustomConfig, ThemeMeta, Release, Images, CustomProps, GlobalSchema, Prop, Assets, UMDJs, CommonJS, CSS, SectionItem, Preset, Page, Section, Block, Predicate, Screen, ThemeUserSchema, Route, SectionProps, SectionPreset, BlockProps, TextProp, CheckboxProp, RangeProp, ImagePickerProp, UrlProp, ThemeVersions, DummyResponse, AppliedThemes, CompanyPrivateTheme, PageType };
560
+ export { ThemeReq, CompanyThemeSchema, MarketplaceThemeId, CompanyThemeMeta, ThemePayment, ThemeImages, AvailablePageSchema, AvailablePageSectionMetaAttributes, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, AvailablePageSeo, AvailablePageSchemaSections, AvailablePagePredicate, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePagePlatformPredicate, AvailablePageSchedulePredicate, AllAvailablePageSchema, AddThemeRequestSchema, FontsSchema, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, FontsSchemaItems, FontsSchemaItemsFiles, ThemesSchema, ThemeUpgradableResponse, UpdateThemeNameRequestBody, UpdateThemeRequestBody, Font, FontVariants, FontVariant, Config, ThemeConfiguration, OverlayPopup, DividerStrokeHighlight, UserAlerts, OrderTracking, ThemeConfigListPage, ThemeConfigListPageSettingsProps, CustomConfig, ThemeMeta, Release, Images, CustomProps, GlobalSchema, Prop, Assets, UMDJs, CommonJS, CSS, SectionItem, Preset, Page, Section, Block, Predicate, Screen, ThemeUserSchema, Route, SectionProps, SectionPreset, BlockProps, TextProp, CheckboxProp, RangeProp, ImagePickerProp, UrlProp, ThemeVersions, DummyResponse, AppliedThemes, CompanyPrivateTheme, ActionPage, PageType };
566
561
  }
567
562
  /** @returns {ThemeReq} */
568
563
  declare function ThemeReq(): ThemeReq;
@@ -718,17 +713,9 @@ type SEObreadcrumb = {
718
713
  /** @returns {Action} */
719
714
  declare function Action(): Action;
720
715
  type Action = {
716
+ type?: string;
721
717
  page?: ActionPage;
722
718
  popup?: ActionPage;
723
- type?: string;
724
- };
725
- /** @returns {ActionPage} */
726
- declare function ActionPage(): ActionPage;
727
- type ActionPage = {
728
- params?: any;
729
- query?: any;
730
- url?: string;
731
- type: PageType;
732
719
  };
733
720
  /** @returns {AvailablePageSeo} */
734
721
  declare function AvailablePageSeo(): AvailablePageSeo;
@@ -1310,13 +1297,11 @@ type Preset = {
1310
1297
  /** @returns {Page} */
1311
1298
  declare function Page(): Page;
1312
1299
  type Page = {
1313
- item_total?: number;
1314
- next_id?: string;
1315
- has_previous?: boolean;
1316
- has_next?: boolean;
1317
- current?: number;
1318
- type: string;
1319
- size?: number;
1300
+ sections?: Section[];
1301
+ /**
1302
+ * - The value of the page.
1303
+ */
1304
+ value?: string;
1320
1305
  };
1321
1306
  /** @returns {Section} */
1322
1307
  declare function Section(): Section;
@@ -1539,6 +1524,14 @@ type CompanyPrivateTheme = {
1539
1524
  is_private?: boolean;
1540
1525
  meta?: CompanyThemeMeta;
1541
1526
  };
1527
+ /** @returns {ActionPage} */
1528
+ declare function ActionPage(): ActionPage;
1529
+ type ActionPage = {
1530
+ params?: any;
1531
+ query?: any;
1532
+ url?: string;
1533
+ type: PageType;
1534
+ };
1542
1535
  /**
1543
1536
  * Enum: PageType Used By: Theme
1544
1537
  *
@@ -96,17 +96,9 @@ const Joi = require("joi");
96
96
 
97
97
  /**
98
98
  * @typedef Action
99
+ * @property {string} [type]
99
100
  * @property {ActionPage} [page]
100
101
  * @property {ActionPage} [popup]
101
- * @property {string} [type]
102
- */
103
-
104
- /**
105
- * @typedef ActionPage
106
- * @property {Object} [params]
107
- * @property {Object} [query]
108
- * @property {string} [url]
109
- * @property {PageType} type
110
102
  */
111
103
 
112
104
  /**
@@ -457,13 +449,8 @@ const Joi = require("joi");
457
449
 
458
450
  /**
459
451
  * @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]
452
+ * @property {Section[]} [sections]
453
+ * @property {string} [value] - The value of the page.
467
454
  */
468
455
 
469
456
  /**
@@ -588,6 +575,14 @@ const Joi = require("joi");
588
575
  * @property {CompanyThemeMeta} [meta]
589
576
  */
590
577
 
578
+ /**
579
+ * @typedef ActionPage
580
+ * @property {Object} [params]
581
+ * @property {Object} [query]
582
+ * @property {string} [url]
583
+ * @property {PageType} type
584
+ */
585
+
591
586
  /**
592
587
  * @typedef {| "about-us"
593
588
  * | "addresses"
@@ -761,25 +756,9 @@ class ThemePlatformModel {
761
756
  /** @returns {Action} */
762
757
  static Action() {
763
758
  return Joi.object({
759
+ type: Joi.string().allow(""),
764
760
  page: ThemePlatformModel.ActionPage(),
765
761
  popup: ThemePlatformModel.ActionPage(),
766
- type: Joi.string().allow(""),
767
- });
768
- }
769
-
770
- /** @returns {ActionPage} */
771
- static ActionPage() {
772
- return Joi.object({
773
- params: Joi.object().pattern(
774
- /\S/,
775
- Joi.array().items(Joi.string().allow(""))
776
- ),
777
- query: Joi.object().pattern(
778
- /\S/,
779
- Joi.array().items(Joi.string().allow(""))
780
- ),
781
- url: Joi.string().allow(""),
782
- type: ThemePlatformModel.PageType().required(),
783
762
  });
784
763
  }
785
764
 
@@ -1215,13 +1194,8 @@ class ThemePlatformModel {
1215
1194
  /** @returns {Page} */
1216
1195
  static Page() {
1217
1196
  return Joi.object({
1218
- item_total: Joi.number(),
1219
- next_id: Joi.string().allow(""),
1220
- has_previous: Joi.boolean(),
1221
- has_next: Joi.boolean(),
1222
- current: Joi.number(),
1223
- type: Joi.string().allow("").required(),
1224
- size: Joi.number(),
1197
+ sections: Joi.array().items(ThemePlatformModel.Section()),
1198
+ value: Joi.string().allow(""),
1225
1199
  });
1226
1200
  }
1227
1201
 
@@ -1383,6 +1357,22 @@ class ThemePlatformModel {
1383
1357
  });
1384
1358
  }
1385
1359
 
1360
+ /** @returns {ActionPage} */
1361
+ static ActionPage() {
1362
+ return Joi.object({
1363
+ params: Joi.object().pattern(
1364
+ /\S/,
1365
+ Joi.array().items(Joi.string().allow(""))
1366
+ ),
1367
+ query: Joi.object().pattern(
1368
+ /\S/,
1369
+ Joi.array().items(Joi.string().allow(""))
1370
+ ),
1371
+ url: Joi.string().allow(""),
1372
+ type: ThemePlatformModel.PageType().required(),
1373
+ });
1374
+ }
1375
+
1386
1376
  /**
1387
1377
  * Enum: PageType Used By: Theme
1388
1378
  *
@@ -53,4 +53,4 @@ type GetCompanyLevelThemesParam = {
53
53
  */
54
54
  searchText?: string;
55
55
  };
56
- import ThemePlatformModel = require("./ThemePlatformModel");
56
+ import ThemePlatformModel = require("sdk/output/javascript/code/sdk/platform/Theme/ThemePlatformModel");