@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
@@ -19,7 +19,7 @@ declare class Share {
19
19
  * @param {import("../ApplicationAPIClient").Options} - Options
20
20
  * @returns {Promise<ShareApplicationModel.ShortLinkRes>} - Success response
21
21
  * @name createShortLink
22
- * @summary: Shorten URL.
22
+ * @summary: Shorten URL
23
23
  * @description: Creates a shortened version of a given URL for easier sharing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/createShortLink/).
24
24
  */
25
25
  createShortLink({ body, requestHeaders }?: ShareApplicationValidator.CreateShortLinkParam, { responseHeaders }?: object): Promise<ShareApplicationModel.ShortLinkRes>;
@@ -29,7 +29,7 @@ declare class Share {
29
29
  * @param {import("../ApplicationAPIClient").Options} - Options
30
30
  * @returns {Promise<ShareApplicationModel.QRCodeResp>} - Success response
31
31
  * @name getApplicationQRCode
32
- * @summary: App QR code.
32
+ * @summary: App QR code
33
33
  * @description: Generates a QR code for the application for easy sharing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getApplicationQRCode/).
34
34
  */
35
35
  getApplicationQRCode({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ShareApplicationModel.QRCodeResp>;
@@ -39,7 +39,7 @@ declare class Share {
39
39
  * @param {import("../ApplicationAPIClient").Options} - Options
40
40
  * @returns {Promise<ShareApplicationModel.QRCodeResp>} - Success response
41
41
  * @name getCollectionQRCodeBySlug
42
- * @summary: Collection QR code.
42
+ * @summary: Collection QR code
43
43
  * @description: Generates a QR code for a specific product collection using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getCollectionQRCodeBySlug/).
44
44
  */
45
45
  getCollectionQRCodeBySlug({ slug, requestHeaders }?: ShareApplicationValidator.GetCollectionQRCodeBySlugParam, { responseHeaders }?: object): Promise<ShareApplicationModel.QRCodeResp>;
@@ -50,7 +50,7 @@ declare class Share {
50
50
  * @param {import("../ApplicationAPIClient").Options} - Options
51
51
  * @returns {Promise<ShareApplicationModel.ShortLinkRes>} - Success response
52
52
  * @name getOriginalShortLinkByHash
53
- * @summary: Original URL.
53
+ * @summary: Original URL
54
54
  * @description: Retrieve the original link from a short-link by using a hash value. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getOriginalShortLinkByHash/).
55
55
  */
56
56
  getOriginalShortLinkByHash({ hash, requestHeaders }?: ShareApplicationValidator.GetOriginalShortLinkByHashParam, { responseHeaders }?: object): Promise<ShareApplicationModel.ShortLinkRes>;
@@ -60,7 +60,7 @@ declare class Share {
60
60
  * @param {import("../ApplicationAPIClient").Options} - Options
61
61
  * @returns {Promise<ShareApplicationModel.QRCodeResp>} - Success response
62
62
  * @name getProductQRCodeBySlug
63
- * @summary: Product QR code.
63
+ * @summary: Product QR code
64
64
  * @description: Creates a QR code for a specific product identified by its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getProductQRCodeBySlug/).
65
65
  */
66
66
  getProductQRCodeBySlug({ slug, requestHeaders }?: ShareApplicationValidator.GetProductQRCodeBySlugParam, { responseHeaders }?: object): Promise<ShareApplicationModel.QRCodeResp>;
@@ -70,7 +70,7 @@ declare class Share {
70
70
  * @param {import("../ApplicationAPIClient").Options} - Options
71
71
  * @returns {Promise<ShareApplicationModel.ShortLinkRes>} - Success response
72
72
  * @name getShortLinkByHash
73
- * @summary: Fetch short link.
73
+ * @summary: Get short link
74
74
  * @description: Retrieves a previously created short link using its hash identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getShortLinkByHash/).
75
75
  */
76
76
  getShortLinkByHash({ hash, requestHeaders }?: ShareApplicationValidator.GetShortLinkByHashParam, { responseHeaders }?: object): Promise<ShareApplicationModel.ShortLinkRes>;
@@ -80,10 +80,10 @@ declare class Share {
80
80
  * @param {import("../ApplicationAPIClient").Options} - Options
81
81
  * @returns {Promise<ShareApplicationModel.QRCodeResp>} - Success response
82
82
  * @name getUrlQRCode
83
- * @summary: URL to QR code.
83
+ * @summary: URL to QR code
84
84
  * @description: Converts a given URL into a scannable QR code. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getUrlQRCode/).
85
85
  */
86
86
  getUrlQRCode({ url, requestHeaders }?: ShareApplicationValidator.GetUrlQRCodeParam, { responseHeaders }?: object): Promise<ShareApplicationModel.QRCodeResp>;
87
87
  }
88
- import ShareApplicationValidator = require("./ShareApplicationValidator");
89
- import ShareApplicationModel = require("./ShareApplicationModel");
88
+ import ShareApplicationValidator = require("sdk/output/javascript/code/sdk/application/Share/ShareApplicationValidator");
89
+ import ShareApplicationModel = require("sdk/output/javascript/code/sdk/application/Share/ShareApplicationModel");
@@ -48,7 +48,7 @@ class Share {
48
48
  * @param {import("../ApplicationAPIClient").Options} - Options
49
49
  * @returns {Promise<ShareApplicationModel.ShortLinkRes>} - Success response
50
50
  * @name createShortLink
51
- * @summary: Shorten URL.
51
+ * @summary: Shorten URL
52
52
  * @description: Creates a shortened version of a given URL for easier sharing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/createShortLink/).
53
53
  */
54
54
  async createShortLink(
@@ -126,7 +126,7 @@ class Share {
126
126
  * @param {import("../ApplicationAPIClient").Options} - Options
127
127
  * @returns {Promise<ShareApplicationModel.QRCodeResp>} - Success response
128
128
  * @name getApplicationQRCode
129
- * @summary: App QR code.
129
+ * @summary: App QR code
130
130
  * @description: Generates a QR code for the application for easy sharing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getApplicationQRCode/).
131
131
  */
132
132
  async getApplicationQRCode(
@@ -204,7 +204,7 @@ class Share {
204
204
  * @param {import("../ApplicationAPIClient").Options} - Options
205
205
  * @returns {Promise<ShareApplicationModel.QRCodeResp>} - Success response
206
206
  * @name getCollectionQRCodeBySlug
207
- * @summary: Collection QR code.
207
+ * @summary: Collection QR code
208
208
  * @description: Generates a QR code for a specific product collection using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getCollectionQRCodeBySlug/).
209
209
  */
210
210
  async getCollectionQRCodeBySlug(
@@ -285,7 +285,7 @@ class Share {
285
285
  * @param {import("../ApplicationAPIClient").Options} - Options
286
286
  * @returns {Promise<ShareApplicationModel.ShortLinkRes>} - Success response
287
287
  * @name getOriginalShortLinkByHash
288
- * @summary: Original URL.
288
+ * @summary: Original URL
289
289
  * @description: Retrieve the original link from a short-link by using a hash value. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getOriginalShortLinkByHash/).
290
290
  */
291
291
  async getOriginalShortLinkByHash(
@@ -365,7 +365,7 @@ class Share {
365
365
  * @param {import("../ApplicationAPIClient").Options} - Options
366
366
  * @returns {Promise<ShareApplicationModel.QRCodeResp>} - Success response
367
367
  * @name getProductQRCodeBySlug
368
- * @summary: Product QR code.
368
+ * @summary: Product QR code
369
369
  * @description: Creates a QR code for a specific product identified by its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getProductQRCodeBySlug/).
370
370
  */
371
371
  async getProductQRCodeBySlug(
@@ -445,7 +445,7 @@ class Share {
445
445
  * @param {import("../ApplicationAPIClient").Options} - Options
446
446
  * @returns {Promise<ShareApplicationModel.ShortLinkRes>} - Success response
447
447
  * @name getShortLinkByHash
448
- * @summary: Fetch short link.
448
+ * @summary: Get short link
449
449
  * @description: Retrieves a previously created short link using its hash identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getShortLinkByHash/).
450
450
  */
451
451
  async getShortLinkByHash(
@@ -523,7 +523,7 @@ class Share {
523
523
  * @param {import("../ApplicationAPIClient").Options} - Options
524
524
  * @returns {Promise<ShareApplicationModel.QRCodeResp>} - Success response
525
525
  * @name getUrlQRCode
526
- * @summary: URL to QR code.
526
+ * @summary: URL to QR code
527
527
  * @description: Converts a given URL into a scannable QR code. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getUrlQRCode/).
528
528
  */
529
529
  async getUrlQRCode(
@@ -53,6 +53,7 @@ export = ShareApplicationModel;
53
53
  */
54
54
  /**
55
55
  * @typedef UrlInfo
56
+ * @property {string} [original]
56
57
  * @property {string} [hash]
57
58
  */
58
59
  /**
@@ -159,6 +160,7 @@ type ShortLinkReq = {
159
160
  /** @returns {UrlInfo} */
160
161
  declare function UrlInfo(): UrlInfo;
161
162
  type UrlInfo = {
163
+ original?: string;
162
164
  hash?: string;
163
165
  };
164
166
  /** @returns {ShortLinkRes} */
@@ -62,6 +62,7 @@ const Joi = require("joi");
62
62
 
63
63
  /**
64
64
  * @typedef UrlInfo
65
+ * @property {string} [original]
65
66
  * @property {string} [hash]
66
67
  */
67
68
 
@@ -174,6 +175,7 @@ class ShareApplicationModel {
174
175
  /** @returns {UrlInfo} */
175
176
  static UrlInfo() {
176
177
  return Joi.object({
178
+ original: Joi.string().allow(""),
177
179
  hash: Joi.string().allow(""),
178
180
  });
179
181
  }
@@ -85,4 +85,4 @@ type GetUrlQRCodeParam = {
85
85
  url: string;
86
86
  };
87
87
  type GetApplicationQRCodeParam = any;
88
- import ShareApplicationModel = require("./ShareApplicationModel");
88
+ import ShareApplicationModel = require("sdk/output/javascript/code/sdk/application/Share/ShareApplicationModel");
@@ -16,8 +16,8 @@ declare class Theme {
16
16
  * @param {import("../ApplicationAPIClient").Options} - Options
17
17
  * @returns {Promise<ThemeApplicationModel.AllAvailablePageSchema>} - Success response
18
18
  * @name getAllPages
19
- * @summary: Fetch all pages.
20
- * @description: Retrieves a list of all the pages available within the applied theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getAllPages/).
19
+ * @summary: List pages
20
+ * @description: Get all page level configs, sections and SEO data of a theme - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getAllPages/).
21
21
  */
22
22
  getAllPages({ themeId, requestHeaders }?: ThemeApplicationValidator.GetAllPagesParam, { responseHeaders }?: object): Promise<ThemeApplicationModel.AllAvailablePageSchema>;
23
23
  /**
@@ -26,8 +26,8 @@ declare class Theme {
26
26
  * @param {import("../ApplicationAPIClient").Options} - Options
27
27
  * @returns {Promise<ThemeApplicationModel.ThemesSchema>} - Success response
28
28
  * @name getAppliedTheme
29
- * @summary: Current theme.
30
- * @description: Gets the theme currently applied to the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getAppliedTheme/).
29
+ * @summary: Get applied theme
30
+ * @description: Gets the theme configuration and template details of a theme applied to the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getAppliedTheme/).
31
31
  */
32
32
  getAppliedTheme({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ThemeApplicationModel.ThemesSchema>;
33
33
  /**
@@ -36,8 +36,8 @@ declare class Theme {
36
36
  * @param {import("../ApplicationAPIClient").Options} - Options
37
37
  * @returns {Promise<ThemeApplicationModel.AvailablePageSchema>} - Success response
38
38
  * @name getPage
39
- * @summary: Single page details.
40
- * @description: Retrieve detailed information for a specific page within the theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getPage/).
39
+ * @summary: Get theme page
40
+ * @description: Get page level configurations, applied sections and SEO data of a page by `page_value` received from list pages API - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getPage/).
41
41
  */
42
42
  getPage({ themeId, pageValue, filters, company, requestHeaders }?: ThemeApplicationValidator.GetPageParam, { responseHeaders }?: object): Promise<ThemeApplicationModel.AvailablePageSchema>;
43
43
  /**
@@ -46,10 +46,10 @@ declare class Theme {
46
46
  * @param {import("../ApplicationAPIClient").Options} - Options
47
47
  * @returns {Promise<ThemeApplicationModel.ThemesSchema>} - Success response
48
48
  * @name getThemeForPreview
49
- * @summary: Preview theme.
50
- * @description: Retrieves a theme for previewing before applying it to the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getThemeForPreview/).
49
+ * @summary: Get theme for preview
50
+ * @description: Gets the theme configuration and template details of a theme by theme Id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getThemeForPreview/).
51
51
  */
52
52
  getThemeForPreview({ themeId, requestHeaders }?: ThemeApplicationValidator.GetThemeForPreviewParam, { responseHeaders }?: object): Promise<ThemeApplicationModel.ThemesSchema>;
53
53
  }
54
- import ThemeApplicationValidator = require("./ThemeApplicationValidator");
55
- import ThemeApplicationModel = require("./ThemeApplicationModel");
54
+ import ThemeApplicationValidator = require("sdk/output/javascript/code/sdk/application/Theme/ThemeApplicationValidator");
55
+ import ThemeApplicationModel = require("sdk/output/javascript/code/sdk/application/Theme/ThemeApplicationModel");
@@ -41,8 +41,8 @@ class Theme {
41
41
  * @param {import("../ApplicationAPIClient").Options} - Options
42
42
  * @returns {Promise<ThemeApplicationModel.AllAvailablePageSchema>} - Success response
43
43
  * @name getAllPages
44
- * @summary: Fetch all pages.
45
- * @description: Retrieves a list of all the pages available within the applied theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getAllPages/).
44
+ * @summary: List pages
45
+ * @description: Get all page level configs, sections and SEO data of a theme - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getAllPages/).
46
46
  */
47
47
  async getAllPages(
48
48
  { themeId, requestHeaders } = { requestHeaders: {} },
@@ -119,8 +119,8 @@ class Theme {
119
119
  * @param {import("../ApplicationAPIClient").Options} - Options
120
120
  * @returns {Promise<ThemeApplicationModel.ThemesSchema>} - Success response
121
121
  * @name getAppliedTheme
122
- * @summary: Current theme.
123
- * @description: Gets the theme currently applied to the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getAppliedTheme/).
122
+ * @summary: Get applied theme
123
+ * @description: Gets the theme configuration and template details of a theme applied to the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getAppliedTheme/).
124
124
  */
125
125
  async getAppliedTheme(
126
126
  { requestHeaders } = { requestHeaders: {} },
@@ -197,8 +197,8 @@ class Theme {
197
197
  * @param {import("../ApplicationAPIClient").Options} - Options
198
198
  * @returns {Promise<ThemeApplicationModel.AvailablePageSchema>} - Success response
199
199
  * @name getPage
200
- * @summary: Single page details.
201
- * @description: Retrieve detailed information for a specific page within the theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getPage/).
200
+ * @summary: Get theme page
201
+ * @description: Get page level configurations, applied sections and SEO data of a page by `page_value` received from list pages API - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getPage/).
202
202
  */
203
203
  async getPage(
204
204
  { themeId, pageValue, filters, company, requestHeaders } = {
@@ -277,8 +277,8 @@ class Theme {
277
277
  * @param {import("../ApplicationAPIClient").Options} - Options
278
278
  * @returns {Promise<ThemeApplicationModel.ThemesSchema>} - Success response
279
279
  * @name getThemeForPreview
280
- * @summary: Preview theme.
281
- * @description: Retrieves a theme for previewing before applying it to the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getThemeForPreview/).
280
+ * @summary: Get theme for preview
281
+ * @description: Gets the theme configuration and template details of a theme by theme Id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getThemeForPreview/).
282
282
  */
283
283
  async getThemeForPreview(
284
284
  { themeId, requestHeaders } = { requestHeaders: {} },
@@ -42,16 +42,9 @@ export = ThemeApplicationModel;
42
42
  */
43
43
  /**
44
44
  * @typedef Action
45
+ * @property {string} [type]
45
46
  * @property {ActionPage} [page]
46
47
  * @property {ActionPage} [popup]
47
- * @property {string} [type]
48
- */
49
- /**
50
- * @typedef ActionPage
51
- * @property {Object} [params]
52
- * @property {Object} [query]
53
- * @property {string} [url]
54
- * @property {PageType} type
55
48
  */
56
49
  /**
57
50
  * @typedef AvailablePageSeo
@@ -374,13 +367,8 @@ export = ThemeApplicationModel;
374
367
  */
375
368
  /**
376
369
  * @typedef Page
377
- * @property {number} [item_total]
378
- * @property {string} [next_id]
379
- * @property {boolean} [has_previous]
380
- * @property {boolean} [has_next]
381
- * @property {number} [current]
382
- * @property {string} type
383
- * @property {number} [size]
370
+ * @property {Section[]} [sections]
371
+ * @property {string} [value] - The value of the page.
384
372
  */
385
373
  /**
386
374
  * @typedef SectionProps
@@ -473,6 +461,13 @@ export = ThemeApplicationModel;
473
461
  * @typedef BlitzkriegApiErrorSchema
474
462
  * @property {string} [message]
475
463
  */
464
+ /**
465
+ * @typedef ActionPage
466
+ * @property {Object} [params]
467
+ * @property {Object} [query]
468
+ * @property {string} [url]
469
+ * @property {PageType} type
470
+ */
476
471
  /**
477
472
  * @typedef {| "about-us"
478
473
  * | "addresses"
@@ -524,7 +519,7 @@ export = ThemeApplicationModel;
524
519
  declare class ThemeApplicationModel {
525
520
  }
526
521
  declare namespace ThemeApplicationModel {
527
- export { AllAvailablePageSchema, AvailablePageSchema, AvailablePageSectionMetaAttributes, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, ActionPage, AvailablePageSeo, AvailablePageSchemaSections, AvailablePagePredicate, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePageSchedulePredicate, ThemesSchema, Font, FontVariants, FontVariant, Config, ThemeConfiguration, CustomConfig, CustomProps, GlobalConfig, GeneralSetting, AdvanceSetting, UserAlertsSetting, ThemeSetting, TextSetting, ButtonSetting, SaleDiscountSetting, HeaderSetting, FooterSetting, OverlayPopupSetting, DividerStrokeHighlightSetting, StaticConfig, StaticProps, Colors, AuthConfig, PaletteConfig, ThemeMeta, ThemePayment, Release, Images, Assets, UMDJs, CommonJS, CSS, SectionItem, GlobalSchema, Prop, Preset, Page, SectionProps, SectionPreset, ImagePickerProp, UrlProp, BlockProps, TextProp, CheckboxProp, RangeProp, Section, Block, Predicate, Screen, ThemeUserSchema, Route, AvailablePagePlatformPredicate, BlitzkriegInternalServerErrorSchema, BlitzkriegApiErrorSchema, PageType };
522
+ export { AllAvailablePageSchema, AvailablePageSchema, AvailablePageSectionMetaAttributes, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, AvailablePageSeo, AvailablePageSchemaSections, AvailablePagePredicate, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePageSchedulePredicate, ThemesSchema, Font, FontVariants, FontVariant, Config, ThemeConfiguration, CustomConfig, CustomProps, GlobalConfig, GeneralSetting, AdvanceSetting, UserAlertsSetting, ThemeSetting, TextSetting, ButtonSetting, SaleDiscountSetting, HeaderSetting, FooterSetting, OverlayPopupSetting, DividerStrokeHighlightSetting, StaticConfig, StaticProps, Colors, AuthConfig, PaletteConfig, ThemeMeta, ThemePayment, Release, Images, Assets, UMDJs, CommonJS, CSS, SectionItem, GlobalSchema, Prop, Preset, Page, SectionProps, SectionPreset, ImagePickerProp, UrlProp, BlockProps, TextProp, CheckboxProp, RangeProp, Section, Block, Predicate, Screen, ThemeUserSchema, Route, AvailablePagePlatformPredicate, BlitzkriegInternalServerErrorSchema, BlitzkriegApiErrorSchema, ActionPage, PageType };
528
523
  }
529
524
  /** @returns {AllAvailablePageSchema} */
530
525
  declare function AllAvailablePageSchema(): AllAvailablePageSchema;
@@ -577,17 +572,9 @@ type SEObreadcrumb = {
577
572
  /** @returns {Action} */
578
573
  declare function Action(): Action;
579
574
  type Action = {
575
+ type?: string;
580
576
  page?: ActionPage;
581
577
  popup?: ActionPage;
582
- type?: string;
583
- };
584
- /** @returns {ActionPage} */
585
- declare function ActionPage(): ActionPage;
586
- type ActionPage = {
587
- params?: any;
588
- query?: any;
589
- url?: string;
590
- type: PageType;
591
578
  };
592
579
  /** @returns {AvailablePageSeo} */
593
580
  declare function AvailablePageSeo(): AvailablePageSeo;
@@ -1282,13 +1269,11 @@ type Preset = {
1282
1269
  /** @returns {Page} */
1283
1270
  declare function Page(): Page;
1284
1271
  type Page = {
1285
- item_total?: number;
1286
- next_id?: string;
1287
- has_previous?: boolean;
1288
- has_next?: boolean;
1289
- current?: number;
1290
- type: string;
1291
- size?: number;
1272
+ sections?: Section[];
1273
+ /**
1274
+ * - The value of the page.
1275
+ */
1276
+ value?: string;
1292
1277
  };
1293
1278
  /** @returns {SectionProps} */
1294
1279
  declare function SectionProps(): SectionProps;
@@ -1467,6 +1452,14 @@ declare function BlitzkriegApiErrorSchema(): BlitzkriegApiErrorSchema;
1467
1452
  type BlitzkriegApiErrorSchema = {
1468
1453
  message?: string;
1469
1454
  };
1455
+ /** @returns {ActionPage} */
1456
+ declare function ActionPage(): ActionPage;
1457
+ type ActionPage = {
1458
+ params?: any;
1459
+ query?: any;
1460
+ url?: string;
1461
+ type: PageType;
1462
+ };
1470
1463
  /**
1471
1464
  * Enum: PageType Used By: Theme
1472
1465
  *
@@ -50,17 +50,9 @@ const Joi = require("joi");
50
50
 
51
51
  /**
52
52
  * @typedef Action
53
+ * @property {string} [type]
53
54
  * @property {ActionPage} [page]
54
55
  * @property {ActionPage} [popup]
55
- * @property {string} [type]
56
- */
57
-
58
- /**
59
- * @typedef ActionPage
60
- * @property {Object} [params]
61
- * @property {Object} [query]
62
- * @property {string} [url]
63
- * @property {PageType} type
64
56
  */
65
57
 
66
58
  /**
@@ -428,13 +420,8 @@ const Joi = require("joi");
428
420
 
429
421
  /**
430
422
  * @typedef Page
431
- * @property {number} [item_total]
432
- * @property {string} [next_id]
433
- * @property {boolean} [has_previous]
434
- * @property {boolean} [has_next]
435
- * @property {number} [current]
436
- * @property {string} type
437
- * @property {number} [size]
423
+ * @property {Section[]} [sections]
424
+ * @property {string} [value] - The value of the page.
438
425
  */
439
426
 
440
427
  /**
@@ -545,6 +532,14 @@ const Joi = require("joi");
545
532
  * @property {string} [message]
546
533
  */
547
534
 
535
+ /**
536
+ * @typedef ActionPage
537
+ * @property {Object} [params]
538
+ * @property {Object} [query]
539
+ * @property {string} [url]
540
+ * @property {PageType} type
541
+ */
542
+
548
543
  /**
549
544
  * @typedef {| "about-us"
550
545
  * | "addresses"
@@ -664,25 +659,9 @@ class ThemeApplicationModel {
664
659
  /** @returns {Action} */
665
660
  static Action() {
666
661
  return Joi.object({
662
+ type: Joi.string().allow(""),
667
663
  page: ThemeApplicationModel.ActionPage(),
668
664
  popup: ThemeApplicationModel.ActionPage(),
669
- type: Joi.string().allow(""),
670
- });
671
- }
672
-
673
- /** @returns {ActionPage} */
674
- static ActionPage() {
675
- return Joi.object({
676
- params: Joi.object().pattern(
677
- /\S/,
678
- Joi.array().items(Joi.string().allow(""))
679
- ),
680
- query: Joi.object().pattern(
681
- /\S/,
682
- Joi.array().items(Joi.string().allow(""))
683
- ),
684
- url: Joi.string().allow(""),
685
- type: ThemeApplicationModel.PageType().required(),
686
665
  });
687
666
  }
688
667
 
@@ -1139,13 +1118,8 @@ class ThemeApplicationModel {
1139
1118
  /** @returns {Page} */
1140
1119
  static Page() {
1141
1120
  return Joi.object({
1142
- item_total: Joi.number(),
1143
- next_id: Joi.string().allow(""),
1144
- has_previous: Joi.boolean(),
1145
- has_next: Joi.boolean(),
1146
- current: Joi.number(),
1147
- type: Joi.string().allow("").required(),
1148
- size: Joi.number(),
1121
+ sections: Joi.array().items(ThemeApplicationModel.Section()),
1122
+ value: Joi.string().allow(""),
1149
1123
  });
1150
1124
  }
1151
1125
 
@@ -1291,6 +1265,22 @@ class ThemeApplicationModel {
1291
1265
  });
1292
1266
  }
1293
1267
 
1268
+ /** @returns {ActionPage} */
1269
+ static ActionPage() {
1270
+ return Joi.object({
1271
+ params: Joi.object().pattern(
1272
+ /\S/,
1273
+ Joi.array().items(Joi.string().allow(""))
1274
+ ),
1275
+ query: Joi.object().pattern(
1276
+ /\S/,
1277
+ Joi.array().items(Joi.string().allow(""))
1278
+ ),
1279
+ url: Joi.string().allow(""),
1280
+ type: ThemeApplicationModel.PageType().required(),
1281
+ });
1282
+ }
1283
+
1294
1284
  /**
1295
1285
  * Enum: PageType Used By: Theme
1296
1286
  *