@gofynd/fdk-client-javascript 1.1.6 → 1.2.0

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 (321) hide show
  1. package/README.md +12 -0
  2. package/index.js +0 -3
  3. package/package.json +1 -1
  4. package/sdk/application/ApplicationAPIClient.d.ts +15 -1
  5. package/sdk/application/ApplicationAPIClient.js +8 -1
  6. package/sdk/application/ApplicationClient.d.ts +37 -6
  7. package/sdk/application/ApplicationClient.js +31 -0
  8. package/sdk/application/ApplicationConfig.d.ts +52 -12
  9. package/sdk/application/ApplicationConfig.js +37 -2
  10. package/sdk/application/ApplicationModels.d.ts +46 -1
  11. package/sdk/application/ApplicationModels.js +18 -0
  12. package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
  13. package/sdk/application/Cart/CartApplicationClient.js +620 -483
  14. package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
  15. package/sdk/application/Cart/CartApplicationModel.js +1224 -93
  16. package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
  17. package/sdk/application/Cart/CartApplicationValidator.js +270 -15
  18. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
  19. package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
  20. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
  21. package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
  22. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
  23. package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
  24. package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
  25. package/sdk/application/Common/CommonApplicationClient.js +50 -33
  26. package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
  27. package/sdk/application/Common/CommonApplicationModel.js +224 -16
  28. package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
  29. package/sdk/application/Common/CommonApplicationValidator.js +21 -3
  30. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
  31. package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
  32. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
  33. package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
  34. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
  35. package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
  36. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
  37. package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
  38. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
  39. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
  40. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
  41. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
  42. package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
  43. package/sdk/application/Content/ContentApplicationClient.js +409 -277
  44. package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
  45. package/sdk/application/Content/ContentApplicationModel.js +1202 -109
  46. package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
  47. package/sdk/application/Content/ContentApplicationValidator.js +113 -3
  48. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
  49. package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
  50. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
  51. package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
  52. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
  53. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
  54. package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
  55. package/sdk/application/Lead/LeadApplicationClient.js +169 -103
  56. package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
  57. package/sdk/application/Lead/LeadApplicationModel.js +619 -73
  58. package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
  59. package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
  60. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
  61. package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
  62. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
  63. package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
  64. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
  65. package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
  66. package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
  67. package/sdk/application/Order/OrderApplicationClient.js +297 -217
  68. package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
  69. package/sdk/application/Order/OrderApplicationModel.js +776 -57
  70. package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
  71. package/sdk/application/Order/OrderApplicationValidator.js +114 -5
  72. package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
  73. package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
  74. package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
  75. package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
  76. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
  77. package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
  78. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
  79. package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
  80. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
  81. package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
  82. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
  83. package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
  84. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
  85. package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
  86. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
  87. package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
  88. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
  89. package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
  90. package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
  91. package/sdk/application/Share/ShareApplicationClient.js +165 -97
  92. package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
  93. package/sdk/application/Share/ShareApplicationModel.js +154 -16
  94. package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
  95. package/sdk/application/Share/ShareApplicationValidator.js +48 -4
  96. package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
  97. package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
  98. package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
  99. package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
  100. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
  101. package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
  102. package/sdk/application/User/UserApplicationClient.d.ts +219 -303
  103. package/sdk/application/User/UserApplicationClient.js +819 -522
  104. package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
  105. package/sdk/application/User/UserApplicationModel.js +983 -44
  106. package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
  107. package/sdk/application/User/UserApplicationValidator.js +265 -31
  108. package/sdk/common/AxiosHelper.js +8 -2
  109. package/sdk/common/Paginator.d.ts +27 -12
  110. package/sdk/common/Paginator.js +15 -0
  111. package/sdk/common/RequestSigner.js +0 -1
  112. package/sdk/partner/PartnerAPIClient.d.ts +15 -1
  113. package/sdk/partner/PartnerAPIClient.js +8 -1
  114. package/sdk/partner/PartnerClient.d.ts +20 -3
  115. package/sdk/partner/PartnerClient.js +17 -0
  116. package/sdk/partner/PartnerConfig.d.ts +40 -14
  117. package/sdk/partner/PartnerConfig.js +31 -6
  118. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
  119. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
  120. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
  121. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
  122. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
  124. package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
  125. package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
  126. package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
  127. package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
  128. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
  129. package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
  130. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
  131. package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
  132. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
  133. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
  134. package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
  135. package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
  136. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
  137. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
  138. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
  139. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
  140. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
  141. package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
  142. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
  143. package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
  144. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
  145. package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
  146. package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
  147. package/sdk/platform/Common/CommonPlatformClient.js +48 -33
  148. package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
  149. package/sdk/platform/Common/CommonPlatformModel.js +224 -16
  150. package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
  151. package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
  152. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
  153. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
  154. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
  156. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
  157. package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
  158. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
  159. package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
  160. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
  161. package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
  167. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
  171. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
  173. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
  175. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
  177. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
  179. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
  181. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
  182. package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
  183. package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
  184. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
  185. package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
  186. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
  187. package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
  188. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
  189. package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
  190. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
  191. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
  192. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
  194. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
  195. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
  196. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
  197. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
  198. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
  199. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
  200. package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
  201. package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
  202. package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
  203. package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
  204. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
  205. package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
  206. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
  207. package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
  208. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
  209. package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
  210. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
  211. package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
  212. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
  213. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
  214. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
  215. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
  216. package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
  217. package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
  218. package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
  219. package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
  220. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
  221. package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
  222. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
  223. package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
  224. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
  225. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  226. package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
  227. package/sdk/platform/Order/OrderPlatformClient.js +969 -762
  228. package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
  229. package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
  230. package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
  231. package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
  232. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
  233. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
  234. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
  235. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
  236. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
  237. package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
  238. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
  239. package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
  240. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
  241. package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
  242. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
  243. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
  244. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
  245. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
  246. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
  247. package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
  248. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
  249. package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
  250. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
  251. package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
  252. package/sdk/platform/PlatformAPIClient.d.ts +16 -1
  253. package/sdk/platform/PlatformAPIClient.js +9 -1
  254. package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
  255. package/sdk/platform/PlatformApplicationClient.js +17 -1899
  256. package/sdk/platform/PlatformClient.d.ts +29 -12579
  257. package/sdk/platform/PlatformClient.js +26 -15085
  258. package/sdk/platform/PlatformConfig.d.ts +37 -11
  259. package/sdk/platform/PlatformConfig.js +32 -6
  260. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
  261. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
  262. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
  263. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
  264. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
  265. package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
  266. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
  267. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
  268. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
  269. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
  270. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
  271. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
  272. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
  273. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
  274. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
  275. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
  276. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
  277. package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
  278. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
  279. package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
  280. package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
  281. package/sdk/platform/Share/SharePlatformModel.js +165 -17
  282. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
  283. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
  284. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
  285. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
  286. package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
  287. package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
  288. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
  289. package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
  290. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
  291. package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
  292. package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
  293. package/sdk/platform/User/UserPlatformModel.js +983 -44
  294. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
  295. package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
  296. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
  297. package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
  298. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
  299. package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
  300. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
  301. package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
  302. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
  303. package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
  304. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
  305. package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
  306. package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
  307. package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
  308. package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
  309. package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
  310. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
  311. package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
  312. package/sdk/public/PublicClient.d.ts +19 -3
  313. package/sdk/public/PublicClient.js +16 -0
  314. package/sdk/public/PublicConfig.d.ts +27 -6
  315. package/sdk/public/PublicConfig.js +17 -1
  316. package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
  317. package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
  318. package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
  319. package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
  320. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
  321. package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
@@ -1,106 +1,1628 @@
1
- export = ContentModel;
2
- declare class ContentModel {
3
- static Action(): any;
4
- static ActionPage(): any;
5
- static AdminAnnouncementSchema(): any;
6
- static AnnouncementAuthorSchema(): any;
7
- static AnnouncementPageSchema(): any;
8
- static AnnouncementSchema(): any;
9
- static AnnouncementsResponseSchema(): any;
10
- static ApplicationLegal(): any;
11
- static ApplicationLegalFAQ(): any;
12
- static Asset(): any;
13
- static Author(): any;
14
- static BlogGetResponse(): any;
15
- static BlogRequest(): any;
16
- static BlogSchema(): any;
17
- static CategoryRequestSchema(): any;
18
- static CategorySchema(): any;
19
- static ChildrenSchema(): any;
20
- static CommonError(): any;
21
- static ConfigurationSchema(): any;
22
- static ContactSchema(): any;
23
- static ContentAPIError(): any;
24
- static ContentSchema(): any;
25
- static CreateAnnouncementSchema(): any;
26
- static CreatedBySchema(): any;
27
- static CreateFaqCategoryRequestSchema(): any;
28
- static CreateFaqCategorySchema(): any;
29
- static CreateFaqResponseSchema(): any;
30
- static CreateFaqSchema(): any;
31
- static CreateTagRequestSchema(): any;
32
- static CreateTagSchema(): any;
33
- static CronSchedule(): any;
34
- static CustomMetaTag(): any;
35
- static CustomPage(): any;
36
- static CustomPageSchema(): any;
37
- static DataLoaderResetResponseSchema(): any;
38
- static DataLoaderResponseSchema(): any;
39
- static DataLoaderSchema(): any;
40
- static DataLoaderSourceSchema(): any;
41
- static DataLoadersSchema(): any;
42
- static DateMeta(): any;
43
- static DefaultNavigationResponse(): any;
44
- static Detail(): any;
45
- static EditorMeta(): any;
46
- static EmailProperties(): any;
47
- static EmailSchema(): any;
48
- static FAQ(): any;
49
- static FAQCategorySchema(): any;
50
- static FaqResponseSchema(): any;
51
- static FaqSchema(): any;
52
- static FeatureImage(): any;
53
- static GetAnnouncementListSchema(): any;
54
- static GetFaqCategoriesSchema(): any;
55
- static GetFaqCategoryBySlugSchema(): any;
56
- static GetFaqSchema(): any;
57
- static HandpickedTagSchema(): any;
58
- static LandingPage(): any;
59
- static LandingPageGetResponse(): any;
60
- static LandingPageSchema(): any;
61
- static Language(): any;
62
- static LocaleLanguage(): any;
63
- static Navigation(): any;
64
- static NavigationGetResponse(): any;
65
- static NavigationReference(): any;
66
- static NavigationRequest(): any;
67
- static NavigationSchema(): any;
68
- static NextSchedule(): any;
69
- static Orientation(): any;
70
- static Page(): any;
71
- static PageContent(): any;
72
- static PageGetResponse(): any;
73
- static PageMeta(): any;
74
- static PageMetaSchema(): any;
75
- static PagePublishRequest(): any;
76
- static PageRequest(): any;
77
- static PageSchema(): any;
78
- static PageSpec(): any;
79
- static PageSpecItem(): any;
80
- static PageSpecParam(): any;
81
- static PathMappingSchema(): any;
82
- static PathSourceSchema(): any;
83
- static PhoneProperties(): any;
84
- static PhoneSchema(): any;
85
- static RemoveHandpickedSchema(): any;
86
- static ResourceContent(): any;
87
- static ScheduleSchema(): any;
88
- static ScheduleStartSchema(): any;
89
- static SEO(): any;
90
- static SeoComponent(): any;
91
- static SEOImage(): any;
92
- static SeoSchema(): any;
93
- static Slideshow(): any;
94
- static SlideshowGetResponse(): any;
95
- static SlideshowMedia(): any;
96
- static SlideshowRequest(): any;
97
- static SlideshowSchema(): any;
98
- static Support(): any;
99
- static TagDeleteSuccessResponse(): any;
100
- static TagSchema(): any;
101
- static TagSourceSchema(): any;
102
- static TagsSchema(): any;
103
- static UpdateFaqCategoryRequestSchema(): any;
104
- static UpdateHandpickedSchema(): any;
105
- static PageType(): any;
1
+ export = ContentApplicationModel;
2
+ /**
3
+ * @typedef Action
4
+ * @property {ActionPage} [page]
5
+ * @property {ActionPage} [popup]
6
+ * @property {string} [type]
7
+ */
8
+ /**
9
+ * @typedef ActionPage
10
+ * @property {Object} [params]
11
+ * @property {Object} [query]
12
+ * @property {PageType} type
13
+ * @property {string} [url]
14
+ */
15
+ /**
16
+ * @typedef AdminAnnouncementSchema
17
+ * @property {string} [_id]
18
+ * @property {ScheduleSchema} [_schedule]
19
+ * @property {string} [announcement]
20
+ * @property {string} [app]
21
+ * @property {AnnouncementAuthorSchema} [author]
22
+ * @property {string} [created_at]
23
+ * @property {EditorMeta} [editor_meta]
24
+ * @property {string} [modified_at]
25
+ * @property {AnnouncementPageSchema[]} [pages]
26
+ * @property {string[]} [platforms]
27
+ * @property {string} [title]
28
+ */
29
+ /**
30
+ * @typedef AnnouncementAuthorSchema
31
+ * @property {string} [created_by]
32
+ * @property {string} [modified_by]
33
+ */
34
+ /**
35
+ * @typedef AnnouncementPageSchema
36
+ * @property {string} [page_slug]
37
+ * @property {string} [type]
38
+ */
39
+ /**
40
+ * @typedef AnnouncementSchema
41
+ * @property {string} [announcement]
42
+ * @property {ScheduleStartSchema} [schedule]
43
+ */
44
+ /**
45
+ * @typedef AnnouncementsResponseSchema
46
+ * @property {Object} [announcements]
47
+ * @property {string[]} [refresh_pages] - List of page slugs on which
48
+ * announcement should be fetched as soon as they are loaded
49
+ * @property {number} [refresh_rate] - Number of seconds after which api should
50
+ * hit again to fetch new announcements
51
+ */
52
+ /**
53
+ * @typedef ApplicationLegal
54
+ * @property {string} [_id]
55
+ * @property {string} [application]
56
+ * @property {string} [created_at]
57
+ * @property {ApplicationLegalFAQ[]} [faq]
58
+ * @property {string} [policy]
59
+ * @property {string} [returns]
60
+ * @property {string} [shipping]
61
+ * @property {string} [tnc]
62
+ * @property {string} [updated_at]
63
+ */
64
+ /**
65
+ * @typedef ApplicationLegalFAQ
66
+ * @property {string} [answer]
67
+ * @property {string} [question]
68
+ */
69
+ /**
70
+ * @typedef Asset
71
+ * @property {string} [aspect_ratio]
72
+ * @property {string} [id]
73
+ * @property {string} [secure_url]
74
+ */
75
+ /**
76
+ * @typedef Author
77
+ * @property {string} [designation]
78
+ * @property {string} [id]
79
+ * @property {string} [name]
80
+ */
81
+ /**
82
+ * @typedef BlogGetResponse
83
+ * @property {BlogSchema[]} [items]
84
+ * @property {Page} [page]
85
+ */
86
+ /**
87
+ * @typedef BlogRequest
88
+ * @property {Object} [_custom_json]
89
+ * @property {CronSchedule} [_schedule]
90
+ * @property {string} [application]
91
+ * @property {Author} [author]
92
+ * @property {ResourceContent[]} [content]
93
+ * @property {Asset} [feature_image]
94
+ * @property {boolean} [published]
95
+ * @property {string} [reading_time]
96
+ * @property {SEO} [seo]
97
+ * @property {string} [slug]
98
+ * @property {string[]} [tags]
99
+ * @property {string} [title]
100
+ */
101
+ /**
102
+ * @typedef BlogSchema
103
+ * @property {Object} [_custom_json]
104
+ * @property {string} [_id]
105
+ * @property {CronSchedule} [_schedule]
106
+ * @property {string} [application]
107
+ * @property {boolean} [archived]
108
+ * @property {Author} [author]
109
+ * @property {ResourceContent[]} [content]
110
+ * @property {DateMeta} [date_meta]
111
+ * @property {Asset} [feature_image]
112
+ * @property {boolean} [published]
113
+ * @property {string} [reading_time]
114
+ * @property {SEO} [seo]
115
+ * @property {string} [slug]
116
+ * @property {string[]} [tags]
117
+ * @property {string} [title]
118
+ */
119
+ /**
120
+ * @typedef CategoryRequestSchema
121
+ * @property {string} [slug]
122
+ * @property {string} [title]
123
+ */
124
+ /**
125
+ * @typedef CategorySchema
126
+ * @property {Object} [_custom_json]
127
+ * @property {string} [_id]
128
+ * @property {string} [application]
129
+ * @property {string[]} [children]
130
+ * @property {string} [description]
131
+ * @property {string} [icon_url]
132
+ * @property {number} [index]
133
+ * @property {string} [slug]
134
+ * @property {string} [title]
135
+ */
136
+ /**
137
+ * @typedef ChildrenSchema
138
+ * @property {string} [_id]
139
+ * @property {string} [answer]
140
+ * @property {string} [application]
141
+ * @property {string} [question]
142
+ * @property {string} [slug]
143
+ */
144
+ /**
145
+ * @typedef CommonError
146
+ * @property {string} [message]
147
+ */
148
+ /**
149
+ * @typedef ConfigurationSchema
150
+ * @property {number} [duration]
151
+ * @property {number} [sleep_time]
152
+ * @property {string} [slide_direction]
153
+ * @property {boolean} [start_on_launch]
154
+ */
155
+ /**
156
+ * @typedef ContactSchema
157
+ * @property {EmailSchema} [email]
158
+ * @property {PhoneSchema} [phone]
159
+ */
160
+ /**
161
+ * @typedef ContentAPIError
162
+ * @property {string} [code]
163
+ * @property {string} [exception]
164
+ * @property {string} [info]
165
+ * @property {string} [message]
166
+ * @property {Object} [meta]
167
+ * @property {string} [request_id]
168
+ * @property {string} [stack_trace]
169
+ * @property {number} [status]
170
+ */
171
+ /**
172
+ * @typedef ContentSchema
173
+ * @property {string} [type]
174
+ * @property {Object} [value]
175
+ */
176
+ /**
177
+ * @typedef CreateAnnouncementSchema
178
+ * @property {AdminAnnouncementSchema} [data]
179
+ * @property {string} [message]
180
+ */
181
+ /**
182
+ * @typedef CreatedBySchema
183
+ * @property {string} [id]
184
+ */
185
+ /**
186
+ * @typedef CreateFaqCategoryRequestSchema
187
+ * @property {CategoryRequestSchema} [category]
188
+ */
189
+ /**
190
+ * @typedef CreateFaqCategorySchema
191
+ * @property {CategorySchema} [category]
192
+ */
193
+ /**
194
+ * @typedef CreateFaqResponseSchema
195
+ * @property {FaqSchema} [faq]
196
+ */
197
+ /**
198
+ * @typedef CreateFaqSchema
199
+ * @property {FAQ} [faq]
200
+ */
201
+ /**
202
+ * @typedef CreateTagRequestSchema
203
+ * @property {CreateTagSchema[]} [tags]
204
+ */
205
+ /**
206
+ * @typedef CreateTagSchema
207
+ * @property {string} [_id]
208
+ * @property {Object} [attributes]
209
+ * @property {string} [content]
210
+ * @property {string} [name]
211
+ * @property {Object[]} [pages]
212
+ * @property {string} [position]
213
+ * @property {string} [sub_type]
214
+ * @property {string} [type]
215
+ * @property {string} [url]
216
+ */
217
+ /**
218
+ * @typedef CronSchedule
219
+ * @property {string} [cron]
220
+ * @property {number} [duration]
221
+ * @property {string} [end]
222
+ * @property {string} [start]
223
+ */
224
+ /**
225
+ * @typedef CustomMetaTag
226
+ * @property {string} [_id]
227
+ * @property {string} [content]
228
+ * @property {string} [name]
229
+ */
230
+ /**
231
+ * @typedef CustomPage
232
+ * @property {CustomPageSchema} [data]
233
+ */
234
+ /**
235
+ * @typedef CustomPageSchema
236
+ * @property {string} [_id]
237
+ * @property {ScheduleSchema} [_schedule]
238
+ * @property {string} [application]
239
+ * @property {Object[]} [content]
240
+ * @property {CreatedBySchema} [created_by]
241
+ * @property {DateMeta} [date_meta]
242
+ * @property {string} [description]
243
+ * @property {string} [orientation]
244
+ * @property {string} [platform]
245
+ * @property {boolean} [published]
246
+ * @property {string} [slug]
247
+ * @property {string[]} [tags]
248
+ * @property {string} [title]
249
+ * @property {string} [type]
250
+ */
251
+ /**
252
+ * @typedef DataLoaderResetResponseSchema
253
+ * @property {string} [reset]
254
+ */
255
+ /**
256
+ * @typedef DataLoaderResponseSchema
257
+ * @property {DataLoaderSourceSchema} [__source]
258
+ * @property {string} [_id]
259
+ * @property {string} [application]
260
+ * @property {string} [company]
261
+ * @property {string} [content]
262
+ * @property {string} [name]
263
+ * @property {string} [operation_id]
264
+ * @property {string} [service]
265
+ * @property {string} [type]
266
+ * @property {string} [url]
267
+ */
268
+ /**
269
+ * @typedef DataLoaderSchema
270
+ * @property {DataLoaderSourceSchema} [__source]
271
+ * @property {string} [_id]
272
+ * @property {string} [content]
273
+ * @property {string} [name]
274
+ * @property {string} [operation_id]
275
+ * @property {string} [service]
276
+ * @property {string} [type]
277
+ * @property {string} [url]
278
+ */
279
+ /**
280
+ * @typedef DataLoaderSourceSchema
281
+ * @property {string} [id]
282
+ * @property {string} [type]
283
+ */
284
+ /**
285
+ * @typedef DataLoadersSchema
286
+ * @property {DataLoaderSchema[]} [items]
287
+ */
288
+ /**
289
+ * @typedef DateMeta
290
+ * @property {string} [created_on]
291
+ * @property {string} [modified_on]
292
+ */
293
+ /**
294
+ * @typedef DefaultNavigationResponse
295
+ * @property {NavigationSchema[]} [items]
296
+ */
297
+ /**
298
+ * @typedef Detail
299
+ * @property {string} [description]
300
+ * @property {string} [image_url]
301
+ * @property {string} [title]
302
+ */
303
+ /**
304
+ * @typedef EditorMeta
305
+ * @property {string} [background_color]
306
+ * @property {string} [content]
307
+ * @property {string} [content_type]
308
+ * @property {string} [foreground_color]
309
+ */
310
+ /**
311
+ * @typedef EmailProperties
312
+ * @property {string} [key]
313
+ * @property {string} [value]
314
+ */
315
+ /**
316
+ * @typedef EmailSchema
317
+ * @property {boolean} [active]
318
+ * @property {EmailProperties[]} [email]
319
+ */
320
+ /**
321
+ * @typedef FAQ
322
+ * @property {string} [answer]
323
+ * @property {string} [question]
324
+ * @property {string} [slug]
325
+ */
326
+ /**
327
+ * @typedef FAQCategorySchema
328
+ * @property {Object} [_custom_json]
329
+ * @property {string} [_id]
330
+ * @property {string} [application]
331
+ * @property {ChildrenSchema[]} [children]
332
+ * @property {string} [description]
333
+ * @property {string} [icon_url]
334
+ * @property {number} [index]
335
+ * @property {string} [slug]
336
+ * @property {string} [title]
337
+ */
338
+ /**
339
+ * @typedef FaqResponseSchema
340
+ * @property {FaqSchema[]} [faqs]
341
+ */
342
+ /**
343
+ * @typedef FaqSchema
344
+ * @property {string} [_id]
345
+ * @property {string} [answer]
346
+ * @property {string} [application]
347
+ * @property {string} [question]
348
+ * @property {string} [slug]
349
+ * @property {string[]} [tags]
350
+ */
351
+ /**
352
+ * @typedef FeatureImage
353
+ * @property {string} [secure_url]
354
+ */
355
+ /**
356
+ * @typedef GetAnnouncementListSchema
357
+ * @property {AdminAnnouncementSchema[]} [items]
358
+ * @property {Page} [page]
359
+ */
360
+ /**
361
+ * @typedef GetFaqCategoriesSchema
362
+ * @property {CategorySchema[]} [categories]
363
+ */
364
+ /**
365
+ * @typedef GetFaqCategoryBySlugSchema
366
+ * @property {FAQCategorySchema} [category]
367
+ */
368
+ /**
369
+ * @typedef GetFaqSchema
370
+ * @property {FaqSchema[]} [faqs]
371
+ */
372
+ /**
373
+ * @typedef HandpickedTagSchema
374
+ * @property {Object} [attributes]
375
+ * @property {string} [content]
376
+ * @property {string} [name]
377
+ * @property {string} [position]
378
+ * @property {string} [sub_type]
379
+ * @property {string} [type]
380
+ * @property {string} [url]
381
+ */
382
+ /**
383
+ * @typedef LandingPage
384
+ * @property {LandingPageSchema} [data]
385
+ * @property {boolean} [success]
386
+ */
387
+ /**
388
+ * @typedef LandingPageGetResponse
389
+ * @property {LandingPageSchema[]} [items]
390
+ * @property {Page} [page]
391
+ */
392
+ /**
393
+ * @typedef LandingPageSchema
394
+ * @property {Object} [_custom_json]
395
+ * @property {string} [_id]
396
+ * @property {Action} [action]
397
+ * @property {string} [application]
398
+ * @property {boolean} [archived]
399
+ * @property {CreatedBySchema} [created_by]
400
+ * @property {DateMeta} [date_meta]
401
+ * @property {string[]} [platform]
402
+ * @property {string} [slug]
403
+ */
404
+ /**
405
+ * @typedef Language
406
+ * @property {string} [display]
407
+ */
408
+ /**
409
+ * @typedef LocaleLanguage
410
+ * @property {Language} [ar]
411
+ * @property {Language} [en_us]
412
+ * @property {Language} [hi]
413
+ */
414
+ /**
415
+ * @typedef Navigation
416
+ * @property {string} [_id]
417
+ * @property {string} [application]
418
+ * @property {CreatedBySchema} [created_by]
419
+ * @property {DateMeta} [date_meta]
420
+ * @property {string} [name]
421
+ * @property {NavigationReference} [navigation]
422
+ * @property {string} [orientation]
423
+ * @property {string} [platform]
424
+ * @property {string} [position]
425
+ * @property {string} [slug]
426
+ */
427
+ /**
428
+ * @typedef NavigationGetResponse
429
+ * @property {NavigationSchema[]} [items]
430
+ * @property {Page} [page]
431
+ */
432
+ /**
433
+ * @typedef NavigationReference
434
+ * @property {LocaleLanguage} [_locale_language]
435
+ * @property {string[]} [acl]
436
+ * @property {Action} [action]
437
+ * @property {boolean} [active]
438
+ * @property {string} [display]
439
+ * @property {string} [image]
440
+ * @property {number} [sort_order]
441
+ * @property {NavigationReference[]} [sub_navigation]
442
+ * @property {string[]} [tags]
443
+ * @property {string} [type]
444
+ */
445
+ /**
446
+ * @typedef NavigationRequest
447
+ * @property {string} [name]
448
+ * @property {NavigationReference[]} [navigation]
449
+ * @property {Orientation} [orientation]
450
+ * @property {string[]} [platform]
451
+ * @property {string} [slug]
452
+ */
453
+ /**
454
+ * @typedef NavigationSchema
455
+ * @property {string} [_id]
456
+ * @property {string} [application]
457
+ * @property {boolean} [archived]
458
+ * @property {CreatedBySchema} [created_by]
459
+ * @property {DateMeta} [date_meta]
460
+ * @property {string} [name]
461
+ * @property {NavigationReference[]} [navigation]
462
+ * @property {Orientation} [orientation]
463
+ * @property {string[]} [platform]
464
+ * @property {string} [slug]
465
+ * @property {number} [version]
466
+ */
467
+ /**
468
+ * @typedef NextSchedule
469
+ * @property {string} [end]
470
+ * @property {string} [start]
471
+ */
472
+ /**
473
+ * @typedef Orientation
474
+ * @property {string[]} [landscape]
475
+ * @property {string[]} [portrait]
476
+ */
477
+ /**
478
+ * @typedef Page
479
+ * @property {number} [current]
480
+ * @property {boolean} [has_next]
481
+ * @property {boolean} [has_previous]
482
+ * @property {number} [item_total]
483
+ * @property {string} [next_id]
484
+ * @property {number} [size]
485
+ * @property {string} type
486
+ */
487
+ /**
488
+ * @typedef PageContent
489
+ * @property {string} [type]
490
+ * @property {Object} [value]
491
+ */
492
+ /**
493
+ * @typedef PageGetResponse
494
+ * @property {PageSchema[]} [items]
495
+ * @property {Page} [page]
496
+ */
497
+ /**
498
+ * @typedef PageMeta
499
+ * @property {string} [key]
500
+ * @property {Object} [value]
501
+ */
502
+ /**
503
+ * @typedef PageMetaSchema
504
+ * @property {string} [application_id]
505
+ * @property {PageSchema[]} [custom_pages]
506
+ * @property {NavigationSchema[]} [system_pages]
507
+ */
508
+ /**
509
+ * @typedef PagePublishRequest
510
+ * @property {boolean} [publish]
511
+ */
512
+ /**
513
+ * @typedef PageRequest
514
+ * @property {Object} [_custom_json]
515
+ * @property {CronSchedule} [_schedule]
516
+ * @property {string} [application]
517
+ * @property {Author} [author]
518
+ * @property {Object[]} [content]
519
+ * @property {Asset} [feature_image]
520
+ * @property {string} [orientation]
521
+ * @property {boolean} [published]
522
+ * @property {string} [reading_time]
523
+ * @property {SEO} [seo]
524
+ * @property {string} [slug]
525
+ * @property {string[]} [tags]
526
+ * @property {string} [title]
527
+ */
528
+ /**
529
+ * @typedef PageSchema
530
+ * @property {Object} [_custom_json]
531
+ * @property {string} [_id]
532
+ * @property {ScheduleSchema} [_schedule]
533
+ * @property {string} [application]
534
+ * @property {boolean} [archived]
535
+ * @property {string[]} [component_ids] - Components can be used to store
536
+ * multiple components
537
+ * @property {Object[]} [content]
538
+ * @property {string} [content_path]
539
+ * @property {CreatedBySchema} [created_by]
540
+ * @property {DateMeta} [date_meta]
541
+ * @property {string} [description]
542
+ * @property {Asset} [feature_image]
543
+ * @property {string} [orientation]
544
+ * @property {Object[]} [page_meta]
545
+ * @property {string} [platform]
546
+ * @property {boolean} [published]
547
+ * @property {SEO} [seo]
548
+ * @property {string} [slug]
549
+ * @property {string[]} [tags]
550
+ * @property {string} [title]
551
+ * @property {string} [type]
552
+ * @property {Object} [visibility]
553
+ */
554
+ /**
555
+ * @typedef PageSpec
556
+ * @property {Object[]} [specifications]
557
+ */
558
+ /**
559
+ * @typedef PageSpecItem
560
+ * @property {string} [display_name]
561
+ * @property {string} [page_type]
562
+ * @property {PageSpecParam[]} [params]
563
+ * @property {PageSpecParam[]} [query]
564
+ */
565
+ /**
566
+ * @typedef PageSpecParam
567
+ * @property {string} [key]
568
+ * @property {boolean} [required]
569
+ */
570
+ /**
571
+ * @typedef PathMappingSchema
572
+ * @property {PathSourceSchema} [__source]
573
+ * @property {string} [_id]
574
+ * @property {string} [application]
575
+ * @property {string} [created_at]
576
+ * @property {string} [redirect_from]
577
+ * @property {string} [redirect_to]
578
+ * @property {string} [updated_at]
579
+ */
580
+ /**
581
+ * @typedef PathSourceSchema
582
+ * @property {string} [id]
583
+ * @property {string} [type]
584
+ */
585
+ /**
586
+ * @typedef PhoneProperties
587
+ * @property {string} [code]
588
+ * @property {string} [key]
589
+ * @property {string} [number]
590
+ */
591
+ /**
592
+ * @typedef PhoneSchema
593
+ * @property {boolean} [active]
594
+ * @property {PhoneProperties[]} [phone]
595
+ */
596
+ /**
597
+ * @typedef RemoveHandpickedSchema
598
+ * @property {string[]} [tags]
599
+ */
600
+ /**
601
+ * @typedef ResourceContent
602
+ * @property {string} [type]
603
+ * @property {string} [value]
604
+ */
605
+ /**
606
+ * @typedef ScheduleSchema
607
+ * @property {string} [cron]
608
+ * @property {number} [duration]
609
+ * @property {string} [end]
610
+ * @property {Object[]} [next_schedule]
611
+ * @property {string} [start]
612
+ */
613
+ /**
614
+ * @typedef ScheduleStartSchema
615
+ * @property {string} [end]
616
+ * @property {string} [start]
617
+ */
618
+ /**
619
+ * @typedef SEO
620
+ * @property {string} [description]
621
+ * @property {SEOImage} [image]
622
+ * @property {string} [title]
623
+ */
624
+ /**
625
+ * @typedef SeoComponent
626
+ * @property {SeoSchema} [seo]
627
+ */
628
+ /**
629
+ * @typedef SEOImage
630
+ * @property {string} [url]
631
+ */
632
+ /**
633
+ * @typedef SeoSchema
634
+ * @property {string} [_id]
635
+ * @property {string} [app]
636
+ * @property {boolean} [cannonical_enabled]
637
+ * @property {string} [created_at]
638
+ * @property {Object[]} [custom_meta_tags]
639
+ * @property {Detail} [details]
640
+ * @property {string} [robots_txt]
641
+ * @property {boolean} [sitemap_enabled]
642
+ * @property {string} [updated_at]
643
+ */
644
+ /**
645
+ * @typedef Slideshow
646
+ * @property {SlideshowSchema} [data]
647
+ * @property {boolean} [success]
648
+ */
649
+ /**
650
+ * @typedef SlideshowGetResponse
651
+ * @property {SlideshowSchema[]} [items]
652
+ * @property {Page} [page]
653
+ */
654
+ /**
655
+ * @typedef SlideshowMedia
656
+ * @property {Action} [action]
657
+ * @property {boolean} [auto_decide_duration]
658
+ * @property {string} [bg_color]
659
+ * @property {number} [duration]
660
+ * @property {string} [type]
661
+ * @property {string} [url]
662
+ */
663
+ /**
664
+ * @typedef SlideshowRequest
665
+ * @property {boolean} [active]
666
+ * @property {ConfigurationSchema} [configuration]
667
+ * @property {SlideshowMedia} [media]
668
+ * @property {string} [platform]
669
+ * @property {string} [slug]
670
+ */
671
+ /**
672
+ * @typedef SlideshowSchema
673
+ * @property {Object} [_custom_json]
674
+ * @property {string} [_id]
675
+ * @property {boolean} [active]
676
+ * @property {string} [application]
677
+ * @property {boolean} [archived]
678
+ * @property {ConfigurationSchema} [configuration]
679
+ * @property {DateMeta} [date_meta]
680
+ * @property {SlideshowMedia[]} [media]
681
+ * @property {string} [platform]
682
+ * @property {string} [slug]
683
+ */
684
+ /**
685
+ * @typedef Support
686
+ * @property {string} [_id]
687
+ * @property {string} [application]
688
+ * @property {string} [config_type]
689
+ * @property {ContactSchema} [contact]
690
+ * @property {boolean} [created]
691
+ * @property {string} [created_at]
692
+ * @property {string} [updated_at]
693
+ */
694
+ /**
695
+ * @typedef TagDeleteSuccessResponse
696
+ * @property {boolean} [success]
697
+ */
698
+ /**
699
+ * @typedef TagSchema
700
+ * @property {TagSourceSchema} [__source]
701
+ * @property {string} [_id]
702
+ * @property {Object} [attributes]
703
+ * @property {string} [content]
704
+ * @property {string} [name]
705
+ * @property {Object[]} [pages]
706
+ * @property {string} [position]
707
+ * @property {string} [sub_type]
708
+ * @property {string} [type]
709
+ * @property {string} [url]
710
+ */
711
+ /**
712
+ * @typedef TagSourceSchema
713
+ * @property {string} [id]
714
+ * @property {string} [type]
715
+ */
716
+ /**
717
+ * @typedef TagsSchema
718
+ * @property {string} [_id]
719
+ * @property {string} [application]
720
+ * @property {TagSchema[]} [tags]
721
+ */
722
+ /**
723
+ * @typedef UpdateFaqCategoryRequestSchema
724
+ * @property {CategorySchema} [category]
725
+ */
726
+ /**
727
+ * @typedef UpdateHandpickedSchema
728
+ * @property {HandpickedTagSchema} [tag]
729
+ */
730
+ /**
731
+ * @typedef {| "about-us"
732
+ * | "addresses"
733
+ * | "blog"
734
+ * | "brands"
735
+ * | "cards"
736
+ * | "cart"
737
+ * | "categories"
738
+ * | "brand"
739
+ * | "category"
740
+ * | "collection"
741
+ * | "collections"
742
+ * | "contact-us"
743
+ * | "external"
744
+ * | "faq"
745
+ * | "freshchat"
746
+ * | "home"
747
+ * | "notification-settings"
748
+ * | "orders"
749
+ * | "page"
750
+ * | "policy"
751
+ * | "product"
752
+ * | "product-request"
753
+ * | "products"
754
+ * | "profile"
755
+ * | "profile-order-shipment"
756
+ * | "profile-basic"
757
+ * | "profile-company"
758
+ * | "profile-emails"
759
+ * | "profile-phones"
760
+ * | "rate-us"
761
+ * | "refer-earn"
762
+ * | "settings"
763
+ * | "shared-cart"
764
+ * | "tnc"
765
+ * | "track-order"
766
+ * | "wishlist"
767
+ * | "sections"
768
+ * | "form"
769
+ * | "cart-delivery"
770
+ * | "cart-payment"
771
+ * | "cart-review"
772
+ * | "login"
773
+ * | "register"
774
+ * | "shipping-policy"
775
+ * | "return-policy"
776
+ * | "order-status"} PageType
777
+ */
778
+ declare class ContentApplicationModel {
106
779
  }
780
+ declare namespace ContentApplicationModel {
781
+ export { Action, ActionPage, AdminAnnouncementSchema, AnnouncementAuthorSchema, AnnouncementPageSchema, AnnouncementSchema, AnnouncementsResponseSchema, ApplicationLegal, ApplicationLegalFAQ, Asset, Author, BlogGetResponse, BlogRequest, BlogSchema, CategoryRequestSchema, CategorySchema, ChildrenSchema, CommonError, ConfigurationSchema, ContactSchema, ContentAPIError, ContentSchema, CreateAnnouncementSchema, CreatedBySchema, CreateFaqCategoryRequestSchema, CreateFaqCategorySchema, CreateFaqResponseSchema, CreateFaqSchema, CreateTagRequestSchema, CreateTagSchema, CronSchedule, CustomMetaTag, CustomPage, CustomPageSchema, DataLoaderResetResponseSchema, DataLoaderResponseSchema, DataLoaderSchema, DataLoaderSourceSchema, DataLoadersSchema, DateMeta, DefaultNavigationResponse, Detail, EditorMeta, EmailProperties, EmailSchema, FAQ, FAQCategorySchema, FaqResponseSchema, FaqSchema, FeatureImage, GetAnnouncementListSchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, GetFaqSchema, HandpickedTagSchema, LandingPage, LandingPageGetResponse, LandingPageSchema, Language, LocaleLanguage, Navigation, NavigationGetResponse, NavigationReference, NavigationRequest, NavigationSchema, NextSchedule, Orientation, Page, PageContent, PageGetResponse, PageMeta, PageMetaSchema, PagePublishRequest, PageRequest, PageSchema, PageSpec, PageSpecItem, PageSpecParam, PathMappingSchema, PathSourceSchema, PhoneProperties, PhoneSchema, RemoveHandpickedSchema, ResourceContent, ScheduleSchema, ScheduleStartSchema, SEO, SeoComponent, SEOImage, SeoSchema, Slideshow, SlideshowGetResponse, SlideshowMedia, SlideshowRequest, SlideshowSchema, Support, TagDeleteSuccessResponse, TagSchema, TagSourceSchema, TagsSchema, UpdateFaqCategoryRequestSchema, UpdateHandpickedSchema, PageType };
782
+ }
783
+ /** @returns {Action} */
784
+ declare function Action(): Action;
785
+ type Action = {
786
+ page?: ActionPage;
787
+ popup?: ActionPage;
788
+ type?: string;
789
+ };
790
+ /** @returns {ActionPage} */
791
+ declare function ActionPage(): ActionPage;
792
+ type ActionPage = {
793
+ params?: any;
794
+ query?: any;
795
+ type: PageType;
796
+ url?: string;
797
+ };
798
+ /** @returns {AdminAnnouncementSchema} */
799
+ declare function AdminAnnouncementSchema(): AdminAnnouncementSchema;
800
+ type AdminAnnouncementSchema = {
801
+ _id?: string;
802
+ _schedule?: ScheduleSchema;
803
+ announcement?: string;
804
+ app?: string;
805
+ author?: AnnouncementAuthorSchema;
806
+ created_at?: string;
807
+ editor_meta?: EditorMeta;
808
+ modified_at?: string;
809
+ pages?: AnnouncementPageSchema[];
810
+ platforms?: string[];
811
+ title?: string;
812
+ };
813
+ /** @returns {AnnouncementAuthorSchema} */
814
+ declare function AnnouncementAuthorSchema(): AnnouncementAuthorSchema;
815
+ type AnnouncementAuthorSchema = {
816
+ created_by?: string;
817
+ modified_by?: string;
818
+ };
819
+ /** @returns {AnnouncementPageSchema} */
820
+ declare function AnnouncementPageSchema(): AnnouncementPageSchema;
821
+ type AnnouncementPageSchema = {
822
+ page_slug?: string;
823
+ type?: string;
824
+ };
825
+ /** @returns {AnnouncementSchema} */
826
+ declare function AnnouncementSchema(): AnnouncementSchema;
827
+ type AnnouncementSchema = {
828
+ announcement?: string;
829
+ schedule?: ScheduleStartSchema;
830
+ };
831
+ /** @returns {AnnouncementsResponseSchema} */
832
+ declare function AnnouncementsResponseSchema(): AnnouncementsResponseSchema;
833
+ type AnnouncementsResponseSchema = {
834
+ announcements?: any;
835
+ /**
836
+ * - List of page slugs on which
837
+ * announcement should be fetched as soon as they are loaded
838
+ */
839
+ refresh_pages?: string[];
840
+ /**
841
+ * - Number of seconds after which api should
842
+ * hit again to fetch new announcements
843
+ */
844
+ refresh_rate?: number;
845
+ };
846
+ /** @returns {ApplicationLegal} */
847
+ declare function ApplicationLegal(): ApplicationLegal;
848
+ type ApplicationLegal = {
849
+ _id?: string;
850
+ application?: string;
851
+ created_at?: string;
852
+ faq?: ApplicationLegalFAQ[];
853
+ policy?: string;
854
+ returns?: string;
855
+ shipping?: string;
856
+ tnc?: string;
857
+ updated_at?: string;
858
+ };
859
+ /** @returns {ApplicationLegalFAQ} */
860
+ declare function ApplicationLegalFAQ(): ApplicationLegalFAQ;
861
+ type ApplicationLegalFAQ = {
862
+ answer?: string;
863
+ question?: string;
864
+ };
865
+ /** @returns {Asset} */
866
+ declare function Asset(): Asset;
867
+ type Asset = {
868
+ aspect_ratio?: string;
869
+ id?: string;
870
+ secure_url?: string;
871
+ };
872
+ /** @returns {Author} */
873
+ declare function Author(): Author;
874
+ type Author = {
875
+ designation?: string;
876
+ id?: string;
877
+ name?: string;
878
+ };
879
+ /** @returns {BlogGetResponse} */
880
+ declare function BlogGetResponse(): BlogGetResponse;
881
+ type BlogGetResponse = {
882
+ items?: BlogSchema[];
883
+ page?: Page;
884
+ };
885
+ /** @returns {BlogRequest} */
886
+ declare function BlogRequest(): BlogRequest;
887
+ type BlogRequest = {
888
+ _custom_json?: any;
889
+ _schedule?: CronSchedule;
890
+ application?: string;
891
+ author?: Author;
892
+ content?: ResourceContent[];
893
+ feature_image?: Asset;
894
+ published?: boolean;
895
+ reading_time?: string;
896
+ seo?: SEO;
897
+ slug?: string;
898
+ tags?: string[];
899
+ title?: string;
900
+ };
901
+ /** @returns {BlogSchema} */
902
+ declare function BlogSchema(): BlogSchema;
903
+ type BlogSchema = {
904
+ _custom_json?: any;
905
+ _id?: string;
906
+ _schedule?: CronSchedule;
907
+ application?: string;
908
+ archived?: boolean;
909
+ author?: Author;
910
+ content?: ResourceContent[];
911
+ date_meta?: DateMeta;
912
+ feature_image?: Asset;
913
+ published?: boolean;
914
+ reading_time?: string;
915
+ seo?: SEO;
916
+ slug?: string;
917
+ tags?: string[];
918
+ title?: string;
919
+ };
920
+ /** @returns {CategoryRequestSchema} */
921
+ declare function CategoryRequestSchema(): CategoryRequestSchema;
922
+ type CategoryRequestSchema = {
923
+ slug?: string;
924
+ title?: string;
925
+ };
926
+ /** @returns {CategorySchema} */
927
+ declare function CategorySchema(): CategorySchema;
928
+ type CategorySchema = {
929
+ _custom_json?: any;
930
+ _id?: string;
931
+ application?: string;
932
+ children?: string[];
933
+ description?: string;
934
+ icon_url?: string;
935
+ index?: number;
936
+ slug?: string;
937
+ title?: string;
938
+ };
939
+ /** @returns {ChildrenSchema} */
940
+ declare function ChildrenSchema(): ChildrenSchema;
941
+ type ChildrenSchema = {
942
+ _id?: string;
943
+ answer?: string;
944
+ application?: string;
945
+ question?: string;
946
+ slug?: string;
947
+ };
948
+ /** @returns {CommonError} */
949
+ declare function CommonError(): CommonError;
950
+ type CommonError = {
951
+ message?: string;
952
+ };
953
+ /** @returns {ConfigurationSchema} */
954
+ declare function ConfigurationSchema(): ConfigurationSchema;
955
+ type ConfigurationSchema = {
956
+ duration?: number;
957
+ sleep_time?: number;
958
+ slide_direction?: string;
959
+ start_on_launch?: boolean;
960
+ };
961
+ /** @returns {ContactSchema} */
962
+ declare function ContactSchema(): ContactSchema;
963
+ type ContactSchema = {
964
+ email?: EmailSchema;
965
+ phone?: PhoneSchema;
966
+ };
967
+ /** @returns {ContentAPIError} */
968
+ declare function ContentAPIError(): ContentAPIError;
969
+ type ContentAPIError = {
970
+ code?: string;
971
+ exception?: string;
972
+ info?: string;
973
+ message?: string;
974
+ meta?: any;
975
+ request_id?: string;
976
+ stack_trace?: string;
977
+ status?: number;
978
+ };
979
+ /** @returns {ContentSchema} */
980
+ declare function ContentSchema(): ContentSchema;
981
+ type ContentSchema = {
982
+ type?: string;
983
+ value?: any;
984
+ };
985
+ /** @returns {CreateAnnouncementSchema} */
986
+ declare function CreateAnnouncementSchema(): CreateAnnouncementSchema;
987
+ type CreateAnnouncementSchema = {
988
+ data?: AdminAnnouncementSchema;
989
+ message?: string;
990
+ };
991
+ /** @returns {CreatedBySchema} */
992
+ declare function CreatedBySchema(): CreatedBySchema;
993
+ type CreatedBySchema = {
994
+ id?: string;
995
+ };
996
+ /** @returns {CreateFaqCategoryRequestSchema} */
997
+ declare function CreateFaqCategoryRequestSchema(): CreateFaqCategoryRequestSchema;
998
+ type CreateFaqCategoryRequestSchema = {
999
+ category?: CategoryRequestSchema;
1000
+ };
1001
+ /** @returns {CreateFaqCategorySchema} */
1002
+ declare function CreateFaqCategorySchema(): CreateFaqCategorySchema;
1003
+ type CreateFaqCategorySchema = {
1004
+ category?: CategorySchema;
1005
+ };
1006
+ /** @returns {CreateFaqResponseSchema} */
1007
+ declare function CreateFaqResponseSchema(): CreateFaqResponseSchema;
1008
+ type CreateFaqResponseSchema = {
1009
+ faq?: FaqSchema;
1010
+ };
1011
+ /** @returns {CreateFaqSchema} */
1012
+ declare function CreateFaqSchema(): CreateFaqSchema;
1013
+ type CreateFaqSchema = {
1014
+ faq?: FAQ;
1015
+ };
1016
+ /** @returns {CreateTagRequestSchema} */
1017
+ declare function CreateTagRequestSchema(): CreateTagRequestSchema;
1018
+ type CreateTagRequestSchema = {
1019
+ tags?: CreateTagSchema[];
1020
+ };
1021
+ /** @returns {CreateTagSchema} */
1022
+ declare function CreateTagSchema(): CreateTagSchema;
1023
+ type CreateTagSchema = {
1024
+ _id?: string;
1025
+ attributes?: any;
1026
+ content?: string;
1027
+ name?: string;
1028
+ pages?: any[];
1029
+ position?: string;
1030
+ sub_type?: string;
1031
+ type?: string;
1032
+ url?: string;
1033
+ };
1034
+ /** @returns {CronSchedule} */
1035
+ declare function CronSchedule(): CronSchedule;
1036
+ type CronSchedule = {
1037
+ cron?: string;
1038
+ duration?: number;
1039
+ end?: string;
1040
+ start?: string;
1041
+ };
1042
+ /** @returns {CustomMetaTag} */
1043
+ declare function CustomMetaTag(): CustomMetaTag;
1044
+ type CustomMetaTag = {
1045
+ _id?: string;
1046
+ content?: string;
1047
+ name?: string;
1048
+ };
1049
+ /** @returns {CustomPage} */
1050
+ declare function CustomPage(): CustomPage;
1051
+ type CustomPage = {
1052
+ data?: CustomPageSchema;
1053
+ };
1054
+ /** @returns {CustomPageSchema} */
1055
+ declare function CustomPageSchema(): CustomPageSchema;
1056
+ type CustomPageSchema = {
1057
+ _id?: string;
1058
+ _schedule?: ScheduleSchema;
1059
+ application?: string;
1060
+ content?: any[];
1061
+ created_by?: CreatedBySchema;
1062
+ date_meta?: DateMeta;
1063
+ description?: string;
1064
+ orientation?: string;
1065
+ platform?: string;
1066
+ published?: boolean;
1067
+ slug?: string;
1068
+ tags?: string[];
1069
+ title?: string;
1070
+ type?: string;
1071
+ };
1072
+ /** @returns {DataLoaderResetResponseSchema} */
1073
+ declare function DataLoaderResetResponseSchema(): DataLoaderResetResponseSchema;
1074
+ type DataLoaderResetResponseSchema = {
1075
+ reset?: string;
1076
+ };
1077
+ /** @returns {DataLoaderResponseSchema} */
1078
+ declare function DataLoaderResponseSchema(): DataLoaderResponseSchema;
1079
+ type DataLoaderResponseSchema = {
1080
+ __source?: DataLoaderSourceSchema;
1081
+ _id?: string;
1082
+ application?: string;
1083
+ company?: string;
1084
+ content?: string;
1085
+ name?: string;
1086
+ operation_id?: string;
1087
+ service?: string;
1088
+ type?: string;
1089
+ url?: string;
1090
+ };
1091
+ /** @returns {DataLoaderSchema} */
1092
+ declare function DataLoaderSchema(): DataLoaderSchema;
1093
+ type DataLoaderSchema = {
1094
+ __source?: DataLoaderSourceSchema;
1095
+ _id?: string;
1096
+ content?: string;
1097
+ name?: string;
1098
+ operation_id?: string;
1099
+ service?: string;
1100
+ type?: string;
1101
+ url?: string;
1102
+ };
1103
+ /** @returns {DataLoaderSourceSchema} */
1104
+ declare function DataLoaderSourceSchema(): DataLoaderSourceSchema;
1105
+ type DataLoaderSourceSchema = {
1106
+ id?: string;
1107
+ type?: string;
1108
+ };
1109
+ /** @returns {DataLoadersSchema} */
1110
+ declare function DataLoadersSchema(): DataLoadersSchema;
1111
+ type DataLoadersSchema = {
1112
+ items?: DataLoaderSchema[];
1113
+ };
1114
+ /** @returns {DateMeta} */
1115
+ declare function DateMeta(): DateMeta;
1116
+ type DateMeta = {
1117
+ created_on?: string;
1118
+ modified_on?: string;
1119
+ };
1120
+ /** @returns {DefaultNavigationResponse} */
1121
+ declare function DefaultNavigationResponse(): DefaultNavigationResponse;
1122
+ type DefaultNavigationResponse = {
1123
+ items?: NavigationSchema[];
1124
+ };
1125
+ /** @returns {Detail} */
1126
+ declare function Detail(): Detail;
1127
+ type Detail = {
1128
+ description?: string;
1129
+ image_url?: string;
1130
+ title?: string;
1131
+ };
1132
+ /** @returns {EditorMeta} */
1133
+ declare function EditorMeta(): EditorMeta;
1134
+ type EditorMeta = {
1135
+ background_color?: string;
1136
+ content?: string;
1137
+ content_type?: string;
1138
+ foreground_color?: string;
1139
+ };
1140
+ /** @returns {EmailProperties} */
1141
+ declare function EmailProperties(): EmailProperties;
1142
+ type EmailProperties = {
1143
+ key?: string;
1144
+ value?: string;
1145
+ };
1146
+ /** @returns {EmailSchema} */
1147
+ declare function EmailSchema(): EmailSchema;
1148
+ type EmailSchema = {
1149
+ active?: boolean;
1150
+ email?: EmailProperties[];
1151
+ };
1152
+ /** @returns {FAQ} */
1153
+ declare function FAQ(): FAQ;
1154
+ type FAQ = {
1155
+ answer?: string;
1156
+ question?: string;
1157
+ slug?: string;
1158
+ };
1159
+ /** @returns {FAQCategorySchema} */
1160
+ declare function FAQCategorySchema(): FAQCategorySchema;
1161
+ type FAQCategorySchema = {
1162
+ _custom_json?: any;
1163
+ _id?: string;
1164
+ application?: string;
1165
+ children?: ChildrenSchema[];
1166
+ description?: string;
1167
+ icon_url?: string;
1168
+ index?: number;
1169
+ slug?: string;
1170
+ title?: string;
1171
+ };
1172
+ /** @returns {FaqResponseSchema} */
1173
+ declare function FaqResponseSchema(): FaqResponseSchema;
1174
+ type FaqResponseSchema = {
1175
+ faqs?: FaqSchema[];
1176
+ };
1177
+ /** @returns {FaqSchema} */
1178
+ declare function FaqSchema(): FaqSchema;
1179
+ type FaqSchema = {
1180
+ _id?: string;
1181
+ answer?: string;
1182
+ application?: string;
1183
+ question?: string;
1184
+ slug?: string;
1185
+ tags?: string[];
1186
+ };
1187
+ /** @returns {FeatureImage} */
1188
+ declare function FeatureImage(): FeatureImage;
1189
+ type FeatureImage = {
1190
+ secure_url?: string;
1191
+ };
1192
+ /** @returns {GetAnnouncementListSchema} */
1193
+ declare function GetAnnouncementListSchema(): GetAnnouncementListSchema;
1194
+ type GetAnnouncementListSchema = {
1195
+ items?: AdminAnnouncementSchema[];
1196
+ page?: Page;
1197
+ };
1198
+ /** @returns {GetFaqCategoriesSchema} */
1199
+ declare function GetFaqCategoriesSchema(): GetFaqCategoriesSchema;
1200
+ type GetFaqCategoriesSchema = {
1201
+ categories?: CategorySchema[];
1202
+ };
1203
+ /** @returns {GetFaqCategoryBySlugSchema} */
1204
+ declare function GetFaqCategoryBySlugSchema(): GetFaqCategoryBySlugSchema;
1205
+ type GetFaqCategoryBySlugSchema = {
1206
+ category?: FAQCategorySchema;
1207
+ };
1208
+ /** @returns {GetFaqSchema} */
1209
+ declare function GetFaqSchema(): GetFaqSchema;
1210
+ type GetFaqSchema = {
1211
+ faqs?: FaqSchema[];
1212
+ };
1213
+ /** @returns {HandpickedTagSchema} */
1214
+ declare function HandpickedTagSchema(): HandpickedTagSchema;
1215
+ type HandpickedTagSchema = {
1216
+ attributes?: any;
1217
+ content?: string;
1218
+ name?: string;
1219
+ position?: string;
1220
+ sub_type?: string;
1221
+ type?: string;
1222
+ url?: string;
1223
+ };
1224
+ /** @returns {LandingPage} */
1225
+ declare function LandingPage(): LandingPage;
1226
+ type LandingPage = {
1227
+ data?: LandingPageSchema;
1228
+ success?: boolean;
1229
+ };
1230
+ /** @returns {LandingPageGetResponse} */
1231
+ declare function LandingPageGetResponse(): LandingPageGetResponse;
1232
+ type LandingPageGetResponse = {
1233
+ items?: LandingPageSchema[];
1234
+ page?: Page;
1235
+ };
1236
+ /** @returns {LandingPageSchema} */
1237
+ declare function LandingPageSchema(): LandingPageSchema;
1238
+ type LandingPageSchema = {
1239
+ _custom_json?: any;
1240
+ _id?: string;
1241
+ action?: Action;
1242
+ application?: string;
1243
+ archived?: boolean;
1244
+ created_by?: CreatedBySchema;
1245
+ date_meta?: DateMeta;
1246
+ platform?: string[];
1247
+ slug?: string;
1248
+ };
1249
+ /** @returns {Language} */
1250
+ declare function Language(): Language;
1251
+ type Language = {
1252
+ display?: string;
1253
+ };
1254
+ /** @returns {LocaleLanguage} */
1255
+ declare function LocaleLanguage(): LocaleLanguage;
1256
+ type LocaleLanguage = {
1257
+ ar?: Language;
1258
+ en_us?: Language;
1259
+ hi?: Language;
1260
+ };
1261
+ /** @returns {Navigation} */
1262
+ declare function Navigation(): Navigation;
1263
+ type Navigation = {
1264
+ _id?: string;
1265
+ application?: string;
1266
+ created_by?: CreatedBySchema;
1267
+ date_meta?: DateMeta;
1268
+ name?: string;
1269
+ navigation?: NavigationReference;
1270
+ orientation?: string;
1271
+ platform?: string;
1272
+ position?: string;
1273
+ slug?: string;
1274
+ };
1275
+ /** @returns {NavigationGetResponse} */
1276
+ declare function NavigationGetResponse(): NavigationGetResponse;
1277
+ type NavigationGetResponse = {
1278
+ items?: NavigationSchema[];
1279
+ page?: Page;
1280
+ };
1281
+ /** @returns {NavigationReference} */
1282
+ declare function NavigationReference(): NavigationReference;
1283
+ type NavigationReference = {
1284
+ _locale_language?: LocaleLanguage;
1285
+ acl?: string[];
1286
+ action?: Action;
1287
+ active?: boolean;
1288
+ display?: string;
1289
+ image?: string;
1290
+ sort_order?: number;
1291
+ sub_navigation?: NavigationReference[];
1292
+ tags?: string[];
1293
+ type?: string;
1294
+ };
1295
+ /** @returns {NavigationRequest} */
1296
+ declare function NavigationRequest(): NavigationRequest;
1297
+ type NavigationRequest = {
1298
+ name?: string;
1299
+ navigation?: NavigationReference[];
1300
+ orientation?: Orientation;
1301
+ platform?: string[];
1302
+ slug?: string;
1303
+ };
1304
+ /** @returns {NavigationSchema} */
1305
+ declare function NavigationSchema(): NavigationSchema;
1306
+ type NavigationSchema = {
1307
+ _id?: string;
1308
+ application?: string;
1309
+ archived?: boolean;
1310
+ created_by?: CreatedBySchema;
1311
+ date_meta?: DateMeta;
1312
+ name?: string;
1313
+ navigation?: NavigationReference[];
1314
+ orientation?: Orientation;
1315
+ platform?: string[];
1316
+ slug?: string;
1317
+ version?: number;
1318
+ };
1319
+ /** @returns {NextSchedule} */
1320
+ declare function NextSchedule(): NextSchedule;
1321
+ type NextSchedule = {
1322
+ end?: string;
1323
+ start?: string;
1324
+ };
1325
+ /** @returns {Orientation} */
1326
+ declare function Orientation(): Orientation;
1327
+ type Orientation = {
1328
+ landscape?: string[];
1329
+ portrait?: string[];
1330
+ };
1331
+ /** @returns {Page} */
1332
+ declare function Page(): Page;
1333
+ type Page = {
1334
+ current?: number;
1335
+ has_next?: boolean;
1336
+ has_previous?: boolean;
1337
+ item_total?: number;
1338
+ next_id?: string;
1339
+ size?: number;
1340
+ type: string;
1341
+ };
1342
+ /** @returns {PageContent} */
1343
+ declare function PageContent(): PageContent;
1344
+ type PageContent = {
1345
+ type?: string;
1346
+ value?: any;
1347
+ };
1348
+ /** @returns {PageGetResponse} */
1349
+ declare function PageGetResponse(): PageGetResponse;
1350
+ type PageGetResponse = {
1351
+ items?: PageSchema[];
1352
+ page?: Page;
1353
+ };
1354
+ /** @returns {PageMeta} */
1355
+ declare function PageMeta(): PageMeta;
1356
+ type PageMeta = {
1357
+ key?: string;
1358
+ value?: any;
1359
+ };
1360
+ /** @returns {PageMetaSchema} */
1361
+ declare function PageMetaSchema(): PageMetaSchema;
1362
+ type PageMetaSchema = {
1363
+ application_id?: string;
1364
+ custom_pages?: PageSchema[];
1365
+ system_pages?: NavigationSchema[];
1366
+ };
1367
+ /** @returns {PagePublishRequest} */
1368
+ declare function PagePublishRequest(): PagePublishRequest;
1369
+ type PagePublishRequest = {
1370
+ publish?: boolean;
1371
+ };
1372
+ /** @returns {PageRequest} */
1373
+ declare function PageRequest(): PageRequest;
1374
+ type PageRequest = {
1375
+ _custom_json?: any;
1376
+ _schedule?: CronSchedule;
1377
+ application?: string;
1378
+ author?: Author;
1379
+ content?: any[];
1380
+ feature_image?: Asset;
1381
+ orientation?: string;
1382
+ published?: boolean;
1383
+ reading_time?: string;
1384
+ seo?: SEO;
1385
+ slug?: string;
1386
+ tags?: string[];
1387
+ title?: string;
1388
+ };
1389
+ /** @returns {PageSchema} */
1390
+ declare function PageSchema(): PageSchema;
1391
+ type PageSchema = {
1392
+ _custom_json?: any;
1393
+ _id?: string;
1394
+ _schedule?: ScheduleSchema;
1395
+ application?: string;
1396
+ archived?: boolean;
1397
+ /**
1398
+ * - Components can be used to store
1399
+ * multiple components
1400
+ */
1401
+ component_ids?: string[];
1402
+ content?: any[];
1403
+ content_path?: string;
1404
+ created_by?: CreatedBySchema;
1405
+ date_meta?: DateMeta;
1406
+ description?: string;
1407
+ feature_image?: Asset;
1408
+ orientation?: string;
1409
+ page_meta?: any[];
1410
+ platform?: string;
1411
+ published?: boolean;
1412
+ seo?: SEO;
1413
+ slug?: string;
1414
+ tags?: string[];
1415
+ title?: string;
1416
+ type?: string;
1417
+ visibility?: any;
1418
+ };
1419
+ /** @returns {PageSpec} */
1420
+ declare function PageSpec(): PageSpec;
1421
+ type PageSpec = {
1422
+ specifications?: any[];
1423
+ };
1424
+ /** @returns {PageSpecItem} */
1425
+ declare function PageSpecItem(): PageSpecItem;
1426
+ type PageSpecItem = {
1427
+ display_name?: string;
1428
+ page_type?: string;
1429
+ params?: PageSpecParam[];
1430
+ query?: PageSpecParam[];
1431
+ };
1432
+ /** @returns {PageSpecParam} */
1433
+ declare function PageSpecParam(): PageSpecParam;
1434
+ type PageSpecParam = {
1435
+ key?: string;
1436
+ required?: boolean;
1437
+ };
1438
+ /** @returns {PathMappingSchema} */
1439
+ declare function PathMappingSchema(): PathMappingSchema;
1440
+ type PathMappingSchema = {
1441
+ __source?: PathSourceSchema;
1442
+ _id?: string;
1443
+ application?: string;
1444
+ created_at?: string;
1445
+ redirect_from?: string;
1446
+ redirect_to?: string;
1447
+ updated_at?: string;
1448
+ };
1449
+ /** @returns {PathSourceSchema} */
1450
+ declare function PathSourceSchema(): PathSourceSchema;
1451
+ type PathSourceSchema = {
1452
+ id?: string;
1453
+ type?: string;
1454
+ };
1455
+ /** @returns {PhoneProperties} */
1456
+ declare function PhoneProperties(): PhoneProperties;
1457
+ type PhoneProperties = {
1458
+ code?: string;
1459
+ key?: string;
1460
+ number?: string;
1461
+ };
1462
+ /** @returns {PhoneSchema} */
1463
+ declare function PhoneSchema(): PhoneSchema;
1464
+ type PhoneSchema = {
1465
+ active?: boolean;
1466
+ phone?: PhoneProperties[];
1467
+ };
1468
+ /** @returns {RemoveHandpickedSchema} */
1469
+ declare function RemoveHandpickedSchema(): RemoveHandpickedSchema;
1470
+ type RemoveHandpickedSchema = {
1471
+ tags?: string[];
1472
+ };
1473
+ /** @returns {ResourceContent} */
1474
+ declare function ResourceContent(): ResourceContent;
1475
+ type ResourceContent = {
1476
+ type?: string;
1477
+ value?: string;
1478
+ };
1479
+ /** @returns {ScheduleSchema} */
1480
+ declare function ScheduleSchema(): ScheduleSchema;
1481
+ type ScheduleSchema = {
1482
+ cron?: string;
1483
+ duration?: number;
1484
+ end?: string;
1485
+ next_schedule?: any[];
1486
+ start?: string;
1487
+ };
1488
+ /** @returns {ScheduleStartSchema} */
1489
+ declare function ScheduleStartSchema(): ScheduleStartSchema;
1490
+ type ScheduleStartSchema = {
1491
+ end?: string;
1492
+ start?: string;
1493
+ };
1494
+ /** @returns {SEO} */
1495
+ declare function SEO(): SEO;
1496
+ type SEO = {
1497
+ description?: string;
1498
+ image?: SEOImage;
1499
+ title?: string;
1500
+ };
1501
+ /** @returns {SeoComponent} */
1502
+ declare function SeoComponent(): SeoComponent;
1503
+ type SeoComponent = {
1504
+ seo?: SeoSchema;
1505
+ };
1506
+ /** @returns {SEOImage} */
1507
+ declare function SEOImage(): SEOImage;
1508
+ type SEOImage = {
1509
+ url?: string;
1510
+ };
1511
+ /** @returns {SeoSchema} */
1512
+ declare function SeoSchema(): SeoSchema;
1513
+ type SeoSchema = {
1514
+ _id?: string;
1515
+ app?: string;
1516
+ cannonical_enabled?: boolean;
1517
+ created_at?: string;
1518
+ custom_meta_tags?: any[];
1519
+ details?: Detail;
1520
+ robots_txt?: string;
1521
+ sitemap_enabled?: boolean;
1522
+ updated_at?: string;
1523
+ };
1524
+ /** @returns {Slideshow} */
1525
+ declare function Slideshow(): Slideshow;
1526
+ type Slideshow = {
1527
+ data?: SlideshowSchema;
1528
+ success?: boolean;
1529
+ };
1530
+ /** @returns {SlideshowGetResponse} */
1531
+ declare function SlideshowGetResponse(): SlideshowGetResponse;
1532
+ type SlideshowGetResponse = {
1533
+ items?: SlideshowSchema[];
1534
+ page?: Page;
1535
+ };
1536
+ /** @returns {SlideshowMedia} */
1537
+ declare function SlideshowMedia(): SlideshowMedia;
1538
+ type SlideshowMedia = {
1539
+ action?: Action;
1540
+ auto_decide_duration?: boolean;
1541
+ bg_color?: string;
1542
+ duration?: number;
1543
+ type?: string;
1544
+ url?: string;
1545
+ };
1546
+ /** @returns {SlideshowRequest} */
1547
+ declare function SlideshowRequest(): SlideshowRequest;
1548
+ type SlideshowRequest = {
1549
+ active?: boolean;
1550
+ configuration?: ConfigurationSchema;
1551
+ media?: SlideshowMedia;
1552
+ platform?: string;
1553
+ slug?: string;
1554
+ };
1555
+ /** @returns {SlideshowSchema} */
1556
+ declare function SlideshowSchema(): SlideshowSchema;
1557
+ type SlideshowSchema = {
1558
+ _custom_json?: any;
1559
+ _id?: string;
1560
+ active?: boolean;
1561
+ application?: string;
1562
+ archived?: boolean;
1563
+ configuration?: ConfigurationSchema;
1564
+ date_meta?: DateMeta;
1565
+ media?: SlideshowMedia[];
1566
+ platform?: string;
1567
+ slug?: string;
1568
+ };
1569
+ /** @returns {Support} */
1570
+ declare function Support(): Support;
1571
+ type Support = {
1572
+ _id?: string;
1573
+ application?: string;
1574
+ config_type?: string;
1575
+ contact?: ContactSchema;
1576
+ created?: boolean;
1577
+ created_at?: string;
1578
+ updated_at?: string;
1579
+ };
1580
+ /** @returns {TagDeleteSuccessResponse} */
1581
+ declare function TagDeleteSuccessResponse(): TagDeleteSuccessResponse;
1582
+ type TagDeleteSuccessResponse = {
1583
+ success?: boolean;
1584
+ };
1585
+ /** @returns {TagSchema} */
1586
+ declare function TagSchema(): TagSchema;
1587
+ type TagSchema = {
1588
+ __source?: TagSourceSchema;
1589
+ _id?: string;
1590
+ attributes?: any;
1591
+ content?: string;
1592
+ name?: string;
1593
+ pages?: any[];
1594
+ position?: string;
1595
+ sub_type?: string;
1596
+ type?: string;
1597
+ url?: string;
1598
+ };
1599
+ /** @returns {TagSourceSchema} */
1600
+ declare function TagSourceSchema(): TagSourceSchema;
1601
+ type TagSourceSchema = {
1602
+ id?: string;
1603
+ type?: string;
1604
+ };
1605
+ /** @returns {TagsSchema} */
1606
+ declare function TagsSchema(): TagsSchema;
1607
+ type TagsSchema = {
1608
+ _id?: string;
1609
+ application?: string;
1610
+ tags?: TagSchema[];
1611
+ };
1612
+ /** @returns {UpdateFaqCategoryRequestSchema} */
1613
+ declare function UpdateFaqCategoryRequestSchema(): UpdateFaqCategoryRequestSchema;
1614
+ type UpdateFaqCategoryRequestSchema = {
1615
+ category?: CategorySchema;
1616
+ };
1617
+ /** @returns {UpdateHandpickedSchema} */
1618
+ declare function UpdateHandpickedSchema(): UpdateHandpickedSchema;
1619
+ type UpdateHandpickedSchema = {
1620
+ tag?: HandpickedTagSchema;
1621
+ };
1622
+ /**
1623
+ * Enum: PageType Used By: Content
1624
+ *
1625
+ * @returns {PageType}
1626
+ */
1627
+ declare function PageType(): PageType;
1628
+ type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-emails" | "profile-phones" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status";