@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/README.md +2 -2
  2. package/application.d.ts +1 -2
  3. package/application.js +2 -3
  4. package/index.d.ts +1 -2
  5. package/index.js +7 -1
  6. package/package.json +2 -3
  7. package/sdk/application/ApplicationClient.d.ts +0 -2
  8. package/sdk/application/ApplicationClient.js +0 -20
  9. package/sdk/application/Cart/CartApplicationClient.d.ts +55 -97
  10. package/sdk/application/Cart/CartApplicationClient.js +60 -1262
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +80 -162
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +148 -1313
  13. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -9
  14. package/sdk/application/Common/CommonApplicationClient.js +5 -90
  15. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
  16. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -145
  17. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -80
  18. package/sdk/application/Configuration/ConfigurationApplicationClient.js +31 -725
  19. package/sdk/application/Content/ContentApplicationClient.d.ts +63 -85
  20. package/sdk/application/Content/ContentApplicationClient.js +126 -942
  21. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -15
  22. package/sdk/application/FileStorage/FileStorageApplicationClient.js +26 -130
  23. package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -17
  24. package/sdk/application/Lead/LeadApplicationClient.js +32 -201
  25. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -62
  26. package/sdk/application/Logistic/LogisticApplicationClient.js +51 -647
  27. package/sdk/application/Order/OrderApplicationClient.d.ts +22 -56
  28. package/sdk/application/Order/OrderApplicationClient.js +86 -555
  29. package/sdk/application/Payment/PaymentApplicationClient.d.ts +92 -209
  30. package/sdk/application/Payment/PaymentApplicationClient.js +57 -2099
  31. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -26
  32. package/sdk/application/Rewards/RewardsApplicationClient.js +17 -303
  33. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
  34. package/sdk/application/Share/ShareApplicationClient.js +34 -294
  35. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
  36. package/sdk/application/Theme/ThemeApplicationClient.js +30 -166
  37. package/sdk/application/User/UserApplicationClient.d.ts +87 -138
  38. package/sdk/application/User/UserApplicationClient.js +47 -1817
  39. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
  40. package/sdk/application/Webhook/WebhookApplicationClient.js +6 -49
  41. package/sdk/application/index.d.ts +0 -19
  42. package/sdk/application/index.js +0 -35
  43. package/sdk/common/Utility.d.ts +1 -1
  44. package/sdk/common/Utility.js +10 -7
  45. package/sdk/common/Validator.d.ts +1 -0
  46. package/sdk/common/Validator.js +20 -0
  47. package/sdk/common/utils.d.ts +0 -1
  48. package/sdk/common/utils.js +0 -14
  49. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
  50. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
  51. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +21 -116
  52. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +16 -121
  53. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
  54. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
  55. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  56. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  57. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  58. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  59. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
  60. package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
  61. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +85 -767
  62. package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
  63. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
  64. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
  65. package/sdk/partner/OAuthClient.js +1 -0
  66. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
  67. package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
  68. package/sdk/partner/Theme/ThemePartnerModel.d.ts +39 -135
  69. package/sdk/partner/Theme/ThemePartnerModel.js +38 -114
  70. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  71. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
  72. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
  73. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
  74. package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
  75. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
  76. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
  77. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
  78. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
  79. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
  80. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  82. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  86. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  87. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  88. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  89. package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
  90. package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
  91. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
  92. package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
  94. package/sdk/platform/Cart/CartPlatformApplicationClient.js +112 -407
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
  96. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
  97. package/sdk/platform/Cart/CartPlatformModel.d.ts +1328 -4975
  98. package/sdk/platform/Cart/CartPlatformModel.js +1229 -1922
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
  102. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
  103. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
  104. package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
  105. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1744 -1501
  106. package/sdk/platform/Catalog/CatalogPlatformModel.js +1211 -1383
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
  108. package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
  109. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
  110. package/sdk/platform/Common/CommonPlatformClient.js +2 -3
  111. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  112. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  117. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
  118. package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
  120. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
  121. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  122. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  125. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
  126. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
  127. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  128. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  129. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
  130. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
  131. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +138 -283
  132. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +100 -219
  133. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
  134. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
  135. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
  136. package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
  137. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
  138. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
  139. package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
  140. package/sdk/platform/Content/ContentPlatformClient.js +336 -523
  141. package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
  142. package/sdk/platform/Content/ContentPlatformModel.js +390 -521
  143. package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
  144. package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
  145. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
  146. package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
  147. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  148. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  149. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  150. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  151. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +39 -95
  152. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +63 -462
  153. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
  154. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
  155. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +22 -20
  156. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +24 -21
  157. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +116 -370
  158. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +104 -313
  159. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  160. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  161. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  162. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  163. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
  164. package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
  165. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  166. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  167. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  168. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  169. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  170. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  171. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -25
  172. package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -175
  173. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -52
  174. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -34
  175. package/sdk/platform/Order/OrderPlatformClient.d.ts +103 -174
  176. package/sdk/platform/Order/OrderPlatformClient.js +275 -528
  177. package/sdk/platform/Order/OrderPlatformModel.d.ts +3078 -5449
  178. package/sdk/platform/Order/OrderPlatformModel.js +1659 -3501
  179. package/sdk/platform/Order/OrderPlatformValidator.d.ts +219 -234
  180. package/sdk/platform/Order/OrderPlatformValidator.js +118 -146
  181. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  182. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  183. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  184. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  185. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +106 -94
  186. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
  187. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
  188. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
  189. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  190. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  191. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +507 -386
  192. package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
  193. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
  194. package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
  195. package/sdk/platform/PlatformClient.d.ts +2 -0
  196. package/sdk/platform/PlatformClient.js +4 -0
  197. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  198. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  199. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  200. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  201. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  202. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  203. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +35 -45
  204. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
  205. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
  206. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
  207. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
  208. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +68 -62
  209. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +396 -620
  210. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +326 -501
  211. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +11 -11
  212. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +10 -10
  213. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  214. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  215. package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
  216. package/sdk/platform/Share/SharePlatformModel.js +4 -27
  217. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  218. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
  219. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
  220. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
  221. package/sdk/platform/Theme/ThemePlatformModel.d.ts +13 -76
  222. package/sdk/platform/Theme/ThemePlatformModel.js +17 -57
  223. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  224. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  225. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  226. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  227. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  228. package/sdk/platform/User/UserPlatformModel.js +23 -23
  229. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  230. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  231. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
  232. package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
  233. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  234. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  235. package/sdk/platform/index.d.ts +1 -0
  236. package/sdk/platform/index.js +2 -0
  237. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
  238. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -8
  239. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  240. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  241. package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
  242. package/sdk/public/Content/ContentPublicClient.js +19 -793
  243. package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
  244. package/sdk/public/Content/ContentPublicModel.js +3 -649
  245. package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
  246. package/sdk/public/Content/ContentPublicValidator.js +2 -88
  247. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  248. package/sdk/public/Partner/PartnerPublicClient.js +14 -2
  249. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  250. package/sdk/public/Webhook/WebhookPublicClient.js +13 -10
  251. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  252. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  253. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  254. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  255. package/sdk/application/Cart/CartApplicationModel.d.ts +0 -4340
  256. package/sdk/application/Cart/CartApplicationModel.js +0 -2718
  257. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -788
  258. package/sdk/application/Cart/CartApplicationValidator.js +0 -546
  259. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3909
  260. package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2667
  261. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
  262. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
  263. package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
  264. package/sdk/application/Common/CommonApplicationModel.js +0 -308
  265. package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
  266. package/sdk/application/Common/CommonApplicationValidator.js +0 -38
  267. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
  268. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
  269. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
  270. package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
  271. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2544
  272. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1875
  273. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
  274. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
  275. package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2189
  276. package/sdk/application/Content/ContentApplicationModel.js +0 -1640
  277. package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -290
  278. package/sdk/application/Content/ContentApplicationValidator.js +0 -269
  279. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -270
  280. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -188
  281. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
  282. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
  283. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -36
  284. package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
  285. package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
  286. package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
  287. package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
  288. package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
  289. package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
  290. package/sdk/application/Lead/LeadApplicationModel.js +0 -480
  291. package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
  292. package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
  293. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -2034
  294. package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1391
  295. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -299
  296. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -224
  297. package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2612
  298. package/sdk/application/Order/OrderApplicationModel.js +0 -1669
  299. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -279
  300. package/sdk/application/Order/OrderApplicationValidator.js +0 -210
  301. package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4062
  302. package/sdk/application/Payment/PaymentApplicationModel.js +0 -2632
  303. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
  304. package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
  305. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
  306. package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
  307. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
  308. package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
  309. package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
  310. package/sdk/application/Share/ShareApplicationModel.js +0 -234
  311. package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
  312. package/sdk/application/Share/ShareApplicationValidator.js +0 -91
  313. package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1744
  314. package/sdk/application/Theme/ThemeApplicationModel.js +0 -1446
  315. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -79
  316. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -65
  317. package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
  318. package/sdk/application/User/UserApplicationModel.js +0 -1382
  319. package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
  320. package/sdk/application/User/UserApplicationValidator.js +0 -573
  321. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -54
  322. package/sdk/application/Webhook/WebhookApplicationModel.js +0 -48
  323. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
  324. package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
  325. package/sdk/common/Clickstream.d.ts +0 -1
  326. package/sdk/common/Clickstream.js +0 -464
@@ -1,2189 +0,0 @@
1
- export = ContentApplicationModel;
2
- /**
3
- * @typedef ApplicationLegal
4
- * @property {string} [application] - Application ID - Identifier for a Sales channel.
5
- * @property {string} [tnc] - Content for Terms and Conditions page on storefront.
6
- * @property {string} [policy] - Content for Privacy Policy page on storefront.
7
- * @property {string} [shipping] - Content for Shipping Policy page on storefront.
8
- * @property {string} [returns] - Content for Return policy page on storefront.
9
- * @property {ApplicationLegalFAQ[]} [faq] - FAQs of an application.
10
- * @property {string} [_id] - Unique identifier of an entry.
11
- * @property {string} [updated_at] - Timestamp which represent when was the last
12
- * time when data was updated.
13
- * @property {string} [created_at] - Timestamp which represent the time when
14
- * data was created.
15
- */
16
- /**
17
- * @typedef ApplicationLegalFAQ
18
- * @property {string} [question] - The contents of a question of a FAQ.
19
- * @property {string} [answer] - The contents of a answer of a FAQ.
20
- */
21
- /**
22
- * @typedef SeoComponent
23
- * @property {SeoSchema} [seo]
24
- */
25
- /**
26
- * @typedef ValidationError
27
- * @property {string} message - A brief description of the error encountered.
28
- * @property {string} field - The field in the request that caused the error.
29
- */
30
- /**
31
- * @typedef SeoSchema
32
- * @property {string} [app] - Application ID - Identifier for a Sales channel.
33
- * @property {string} [_id] - Unique identifier of an entry.
34
- * @property {string} [robots_txt] - Contents of robots.txt file of a sales channel.
35
- * @property {boolean} [sitemap_enabled] - Whether sitemaps is enabled or not
36
- * for a sales channel's website.
37
- * @property {string} [additonal_sitemap] - Contents of additional sitemap.
38
- * @property {boolean} [cannonical_enabled] - Whether canonical tags is enabled
39
- * or not for a sales channel's website.
40
- * @property {CustomMetaTag[]} [custom_meta_tags] - Custom meta tags for a sales
41
- * channel website.
42
- * @property {Detail} [details]
43
- * @property {string} [created_at] - Timestamp which represent the time when
44
- * data was created.
45
- * @property {string} [updated_at] - Timestamp which represent when was the last
46
- * time when data was updated.
47
- */
48
- /**
49
- * @typedef CustomMetaTag
50
- * @property {string} [name] - Name of the custom meta tag group.
51
- * @property {string} [content] - Contents of the custom meta tag group.
52
- * @property {string} [_id] - Unique identifier of an entry.
53
- */
54
- /**
55
- * @typedef Detail
56
- * @property {string} [title] - Contents of the og:title of a sales channel website.
57
- * @property {string} [description] - Contents of the og:description of a sales
58
- * channel website.
59
- * @property {string} [image_url] - URL of the og:image of a sales channel website.
60
- */
61
- /**
62
- * @typedef SeoSchemaComponent
63
- * @property {SEOSchemaMarkupTemplate[]} [items] - List of SEO Markup Schemas
64
- * for a sales channel website.
65
- */
66
- /**
67
- * @typedef SEOSchemaMarkupTemplate
68
- * @property {string} [id] - Unique identifier for an entry.
69
- * @property {string} [title] - Title of the SEO Schema template.
70
- * @property {string} [page_type] - Page Type for the SEO Schema Template where
71
- * it'll be rendered.
72
- * @property {string} [description] - Description of the SEO Schema Template.
73
- * @property {string} [schema] - Contents of the SEO Schema template in nunjucks format.
74
- * @property {boolean} [active] - Whether SEO Schema template is active or not.
75
- * @property {string} [created_at] - Timestamp which represent the time when
76
- * data was created.
77
- * @property {string} [updated_at] - Timestamp which represent when was the last
78
- * time when data was updated.
79
- * @property {string} [application] - Application ID - Identifier for a Sales channel.
80
- */
81
- /**
82
- * @typedef ScheduleSchema
83
- * @property {string} [cron] - String representing the cron expression.
84
- * @property {string} [start] - Start time of schedule.
85
- * @property {string} [end] - End time of schedule.
86
- * @property {number} [duration] - Duration of the scheduled entity.
87
- * @property {NextSchedule[]} [next_schedule] - Details regarding the next
88
- * trigger point of schedule.
89
- */
90
- /**
91
- * @typedef NextSchedule
92
- * @property {string} [start] - Start time of next trigger point of schedule.
93
- * @property {string} [end] - End time of next trigger point of schedule.
94
- */
95
- /**
96
- * @typedef AnnouncementSchema
97
- * @property {string} [announcement] - Details regarding the announcement bar contents.
98
- * @property {ScheduleStartSchema} [schedule]
99
- */
100
- /**
101
- * @typedef ScheduleStartSchema
102
- * @property {string} [start] - Start time of schedule.
103
- * @property {string} [end] - End time of schedule.
104
- */
105
- /**
106
- * @typedef BlogGetDetails
107
- * @property {BlogSchema[]} [items] - List of blogs with details.
108
- * @property {Page} [page]
109
- * @property {BlogFilters} [filters]
110
- */
111
- /**
112
- * @typedef BlogFilters
113
- * @property {string[]} [tags] - All tags present under blogs.
114
- */
115
- /**
116
- * @typedef ResourceContent
117
- * @property {string} [type] - The type of content of blogs - html.
118
- * @property {string} [value] - The contents of blog.
119
- */
120
- /**
121
- * @typedef Asset
122
- * @property {string} [aspect_ratio] - Aspect ratio of the image.
123
- * @property {string} [id] - Unique identifier for an entry.
124
- * @property {string} [secure_url] - URL of the image.
125
- */
126
- /**
127
- * @typedef Author
128
- * @property {string} [designation] - Description of the author of blog.
129
- * @property {string} [id] - Unique Identifier of the author of blog.
130
- * @property {string} [name] - Name of the author of blog.
131
- */
132
- /**
133
- * @typedef BlogSchema
134
- * @property {string} [_id] - Unique identifier for an entry.
135
- * @property {Object} [_custom_json] - Custom JSON object for specific use cases.
136
- * @property {string} [application] - Application ID - Identifier for a Sales channel.
137
- * @property {boolean} [archived] - Boolean flag denoting whether blog is archived or not.
138
- * @property {Author} [author]
139
- * @property {ResourceContent[]} [content] - Contents of blog.
140
- * @property {Asset} [feature_image]
141
- * @property {boolean} [published] - Boolean flag denoting whether blog is
142
- * published or not.
143
- * @property {string} [reading_time] - Estimated time required to read the blog.
144
- * @property {string} [slug] - A short, human-readable, URL-friendly identifier.
145
- * @property {string[]} [tags] - Tags under a blog.
146
- * @property {string} [publish_date] - Timestamp denoting when the blog was published.
147
- * @property {SEO} [seo]
148
- * @property {string} [title] - Title of the Blog.
149
- * @property {DateMeta} [date_meta]
150
- * @property {string} [summary] - A brief description of blog.
151
- */
152
- /**
153
- * @typedef SEO
154
- * @property {string} [description] - The contents of og:description.
155
- * @property {SEOImage} [image]
156
- * @property {string} [title] - The contents of og:title.
157
- * @property {SEOMetaItem[]} [meta_tags] - List of meta tags.
158
- * @property {SEOSitemap} [sitemap]
159
- * @property {SEObreadcrumb[]} [breadcrumb] - List of action objects which can
160
- * power breadcrumbs on website.
161
- * @property {string} [canonical_url] - The canonical URL for canonical link element.
162
- */
163
- /**
164
- * @typedef SEOImage
165
- * @property {string} [url] - The url of image.
166
- */
167
- /**
168
- * @typedef SEOMetaItem
169
- * @property {string} [title] - Title of the custom meta tags group.
170
- * @property {SEOMetaItems[]} [items] - List of key value pairs to power meta tags.
171
- */
172
- /**
173
- * @typedef SEOMetaItems
174
- * @property {string} [key] - The key denoting the attribute name of SEO meta tag.
175
- * @property {string} [value] - The key denoting the attribute value of SEO meta tag.
176
- */
177
- /**
178
- * @typedef SEOSitemap
179
- * @property {number} [priority] - Value of sitemap priority randing from 0.0 to 1.0.
180
- * @property {string} [frequency] - Value of sitemap frequency change denoting
181
- * how frequently the content changes.
182
- */
183
- /**
184
- * @typedef SEObreadcrumb
185
- * @property {string} [url] - URL of where the breadcrumb link redirects to.
186
- * @property {Action} [action]
187
- */
188
- /**
189
- * @typedef DateMeta
190
- * @property {string} [created_on] - Timestamp which represent the time when
191
- * data was created.
192
- * @property {string} [modified_on] - Timestamp which represent when was the
193
- * last time when data was updated.
194
- */
195
- /**
196
- * @typedef LocaleLanguage
197
- * @property {Language} [hi]
198
- * @property {Language} [ar]
199
- * @property {Language} [en_us]
200
- */
201
- /**
202
- * @typedef Language
203
- * @property {string} [display] - Name of an entry in a specific language.
204
- */
205
- /**
206
- * @typedef Action
207
- * @property {string} [type] - Type of action to be taken e.g, page.
208
- * @property {ActionPage} [page]
209
- * @property {ActionPage} [popup]
210
- */
211
- /**
212
- * @typedef NavigationReference
213
- * @property {string[]} [acl] - Details regarding the authorization level to
214
- * access the navigation item.
215
- * @property {string[]} [tags] - List of tags under a navigation link.
216
- * @property {LocaleLanguage} [_locale_language]
217
- * @property {string} [image] - URL of an image associated with a navigation link.
218
- * @property {string} [type] - Type of action to be taken e.g, page.
219
- * @property {Action} [action]
220
- * @property {boolean} [active] - Whether navigation is active or not.
221
- * @property {string} [display] - Display name of the navigation link.
222
- * @property {number} [sort_order] - Number denoting the position of navigation link.
223
- * @property {NavigationReference[]} [sub_navigation] - List of sub links and
224
- * details under a navigation.
225
- */
226
- /**
227
- * @typedef ConfigurationSchema
228
- * @property {number} [sleep_time] - Amount of time in seconds after which
229
- * slideshow/screensaver is run.
230
- * @property {boolean} [start_on_launch] - Flag denoting whether screensaver
231
- * needs to be shown on launch of website/app.
232
- * @property {number} [duration] - Duration of the slideshow/screensaver.
233
- * @property {string} [slide_direction] - Direction of the slideshow.
234
- */
235
- /**
236
- * @typedef SlideshowMedia
237
- * @property {string} [type] - Type of Media.
238
- * @property {string} [url] - URL of Media where it's hosted.
239
- * @property {string} [bg_color] - Background colour of Media.
240
- * @property {number} [duration] - Amount of time in seconds for which Media has
241
- * to appear.
242
- * @property {boolean} [auto_decide_duration] - Whether the duration for each
243
- * media is to be decided by system or not. If true, it'll equally divide time
244
- * in all medias.
245
- * @property {Action} [action]
246
- */
247
- /**
248
- * @typedef AnnouncementsResponseSchema
249
- * @property {Object} [announcements] - List all the announcement bar details
250
- * and its contents.
251
- * @property {number} [refresh_rate] - Number of seconds after which api should
252
- * hit again to fetch new announcements.
253
- * @property {string[]} [refresh_pages] - List of page slugs on which
254
- * announcement should be fetched as soon as they are loaded.
255
- */
256
- /**
257
- * @typedef FaqResponseSchema
258
- * @property {FaqSchema[]} [faqs] - List of FAQs.
259
- */
260
- /**
261
- * @typedef DataLoaderSchema
262
- * @property {string} [name] - Name of dataloader.
263
- * @property {string} [service] - Service of data loader which overrides the
264
- * default method.
265
- * @property {string} [operation_id] - Operation ID of the method which data
266
- * loader is overriding.
267
- * @property {string} [type] - Type of data loader.
268
- * @property {string} [url] - URL at which data loader redirects.
269
- * @property {string} [content] - Content of a data loader.
270
- * @property {DataLoaderSourceSchema} [__source]
271
- * @property {string} [_id] - Unique identifier of an entry.
272
- */
273
- /**
274
- * @typedef DataLoaderSourceSchema
275
- * @property {string} [type] - Type of creator.
276
- * @property {string} [id] - Identifier of an extension.
277
- */
278
- /**
279
- * @typedef DataLoadersSchema
280
- * @property {DataLoaderSchema[]} [items] - List of data loaders.
281
- */
282
- /**
283
- * @typedef ContentAPIError
284
- * @property {string} [message] - Error message.
285
- * @property {number} [status] - HTTP Status code of the error.
286
- * @property {string} [code] - Status code of an error.
287
- * @property {string} [exception] - Exception class name.
288
- * @property {string} [info] - Details regarding the error.
289
- * @property {string} [request_id] - The identifier denoting request.
290
- * @property {string} [stack_trace] - Report of a stack frame to debug the issue.
291
- * @property {Object} [meta] - Metadata related to an error.
292
- */
293
- /**
294
- * @typedef CommonError
295
- * @property {string} [message] - Error message.
296
- */
297
- /**
298
- * @typedef CategorySchema
299
- * @property {number} [index] - Order of FAQ Category.
300
- * @property {string} [title] - Title of the FAQ category.
301
- * @property {string} [description] - Details of the FAQ category.
302
- * @property {string[]} [children] - List of FAQs.
303
- * @property {string} [_id] - Unique identifier of an entry.
304
- * @property {string} [slug] - A short, human-readable, URL-friendly identifier.
305
- * @property {string} [application] - Application ID - Identifier for a Sales channel.
306
- * @property {string} [icon_url] - URL of the image associated with FAQ Category.
307
- * @property {Object} [_custom_json] - Custom JSON object for specific use cases.
308
- */
309
- /**
310
- * @typedef ChildrenSchema
311
- * @property {string} [question] - The contents of a question of a FAQ.
312
- * @property {string} [answer] - The contents of a answer of a FAQ.
313
- * @property {string} [slug] - A short, human-readable, URL-friendly identifier.
314
- * @property {string} [application] - Application ID - Identifier for a Sales channel.
315
- * @property {string} [_id] - Unique identifier of an entry.
316
- */
317
- /**
318
- * @typedef FAQCategorySchema
319
- * @property {number} [index] - Order of FAQ Category.
320
- * @property {string} [title] - Title of a FAQ Category.
321
- * @property {string} [description] - Details of the FAQ category.
322
- * @property {ChildrenSchema[]} [children] - Details regarding a FAQs stored
323
- * under a FAQs category.
324
- * @property {string} [_id] - Unique identifier of an entry.
325
- * @property {string} [slug] - A short, human-readable, URL-friendly identifier.
326
- * @property {string} [application] - Application ID - Identifier for a Sales channel.
327
- * @property {string} [icon_url] - URL of the image associated with FAQ Category.
328
- * @property {Object} [_custom_json] - Custom JSON object for specific use cases.
329
- */
330
- /**
331
- * @typedef FaqSchema
332
- * @property {string} [slug] - A short, human-readable, URL-friendly identifier.
333
- * @property {string} [application] - Application ID - Identifier for a Sales channel.
334
- * @property {string} [_id] - Unique identifier of an entry.
335
- * @property {string} [question] - The contents of a question of a FAQ.
336
- * @property {string} [answer] - The contents of a answer of a FAQ.
337
- * @property {string[]} [tags] - Tags under a FAQ.
338
- */
339
- /**
340
- * @typedef GetFaqSchema
341
- * @property {FaqSchema[]} [faqs] - List of FAQs.
342
- */
343
- /**
344
- * @typedef GetFaqCategoriesSchema
345
- * @property {CategorySchema[]} [categories] - List of FAQ Categories.
346
- */
347
- /**
348
- * @typedef GetFaqCategoryBySlugSchema
349
- * @property {FAQCategorySchema} [category]
350
- */
351
- /**
352
- * @typedef Page
353
- * @property {number} [item_total] - The total number of items on the page.
354
- * @property {string} [next_id] - The identifier for the next page.
355
- * @property {boolean} [has_previous] - Indicates whether there is a previous page.
356
- * @property {boolean} [has_next] - Indicates whether there is a next page.
357
- * @property {number} [current] - The current page number.
358
- * @property {string} type - The type of the page, such as 'PageType'.
359
- * @property {number} [size] - The number of items per page.
360
- */
361
- /**
362
- * @typedef LandingPageSchema
363
- * @property {string} [slug] - A short, human-readable, URL-friendly identifier.
364
- * @property {Action} [action]
365
- * @property {string[]} [platform] - List of platforms linked to this landing page.
366
- * @property {CreatedBySchema} [created_by]
367
- * @property {DateMeta} [date_meta]
368
- * @property {string} [_id] - Unique identifier of an entry.
369
- * @property {string} [application] - Application ID - Identifier for a Sales channel.
370
- * @property {boolean} [archived] - Whether landing page is archived or not.
371
- * @property {Object} [_custom_json] - Custom JSON object for specific use cases.
372
- */
373
- /**
374
- * @typedef NavigationGetDetails
375
- * @property {NavigationSchema[]} [items] - List of navigation items.
376
- * @property {Page} [page]
377
- */
378
- /**
379
- * @typedef Orientation
380
- * @property {string[]} [portrait] - Data related to devices where navigation is
381
- * assigned in portrait mode.
382
- * @property {string[]} [landscape] - Data related to devices where navigation
383
- * is assigned in landscape mode.
384
- */
385
- /**
386
- * @typedef NavigationSchema
387
- * @property {string} [_id] - Unique identifier of an entry.
388
- * @property {string} [application] - Application ID - Identifier for a Sales channel.
389
- * @property {boolean} [archived] - Whether navigation is archived or not.
390
- * @property {string} [name] - Name of the navigation link.
391
- * @property {string} [slug] - A short, human-readable, URL-friendly identifier.
392
- * @property {string[]} [platform] - Details regarding the platforms for which
393
- * this navigation is to applied on.
394
- * @property {CreatedBySchema} [created_by]
395
- * @property {DateMeta} [date_meta]
396
- * @property {Orientation} [orientation]
397
- * @property {number} [version] - A hardcoded key for internally managing
398
- * navigation versions.
399
- * @property {NavigationReference[]} [navigation] - List of all navigations
400
- * links and relevant details.
401
- */
402
- /**
403
- * @typedef PageGetDetails
404
- * @property {PageSchema[]} [items] - List of details of custom pages.
405
- * @property {Page} [page]
406
- */
407
- /**
408
- * @typedef PageSchema
409
- * @property {string} [_id] - Unique identifier of an entry.
410
- * @property {string} [application] - Application ID - Identifier for a Sales channel.
411
- * @property {string[]} [component_ids] - Components can be used to store
412
- * multiple components.
413
- * @property {Object[]} [content] - Contents of a custom page.
414
- * @property {string} [content_path] - A CDN URL at which the entire html
415
- * content can be fetched from.
416
- * @property {CreatedBySchema} [created_by]
417
- * @property {DateMeta} [date_meta]
418
- * @property {string} [description] - Description about the page.
419
- * @property {Asset} [feature_image]
420
- * @property {Object[]} [page_meta] - List of Custom JSON object for specific use cases.
421
- * @property {ScheduleSchema} [_schedule]
422
- * @property {Object} [_custom_json] - Custom JSON object for specific use cases.
423
- * @property {string} [orientation] - Orientation for Custom Pages - Landscape
424
- * or portrait.
425
- * @property {string} [platform] - Platform for Custom Pages - Denotes the device type.
426
- * @property {boolean} [published] - Whether page is active or not on website.
427
- * @property {string} [slug] - A short, human-readable, URL-friendly identifier.
428
- * @property {string[]} [tags] - Tags under a page.
429
- * @property {string} [title] - The title of the page.
430
- * @property {string} [type] - Type of editor through which the page was created
431
- * so appropriate rendering engine is used.
432
- * @property {SEO} [seo]
433
- * @property {Object} [visibility] - Visibility of Page.
434
- * @property {boolean} [archived] - Flag denoting whether the page is archived or not.
435
- */
436
- /**
437
- * @typedef CreatedBySchema
438
- * @property {string} [id] - Details containing the creator of custom page.
439
- */
440
- /**
441
- * @typedef SlideshowGetDetails
442
- * @property {SlideshowSchema[]} [items] - Details related to slideshow/screensaver.
443
- * @property {Page} [page]
444
- */
445
- /**
446
- * @typedef SlideshowSchema
447
- * @property {string} [_id] - Unique identifier of an entry.
448
- * @property {string} [slug] - Details related to slideshow/screensaver.
449
- * @property {DateMeta} [date_meta]
450
- * @property {string} [application] - Application ID - Identifier for a Sales channel.
451
- * @property {string} [platform] - Details related to slideshow/screensaver.
452
- * @property {ConfigurationSchema} [configuration]
453
- * @property {SlideshowMedia[]} [media] - Details related to slideshow/screensaver.
454
- * @property {boolean} [active] - Details related to slideshow/screensaver.
455
- * @property {boolean} [archived] - Whether slideshow is deleted or not.
456
- * @property {Object} [_custom_json] - Custom JSON object for specific use cases.
457
- */
458
- /**
459
- * @typedef Support
460
- * @property {boolean} [created] - Whether support contact details are created or not.
461
- * @property {string} [_id] - Unique identifier of an entry.
462
- * @property {string} [application] - Application ID - Identifier for a Sales channel.
463
- * @property {string} [created_at] - Timestamp which represent the time when
464
- * data was created.
465
- * @property {string} [updated_at] - Timestamp which represent when was the last
466
- * time when data was updated.
467
- * @property {ContactSchema} [contact]
468
- */
469
- /**
470
- * @typedef PhoneProperties
471
- * @property {string} [key] - Name of the Contact SPOC.
472
- * @property {string} [code] - International dial Code.
473
- * @property {string} [number] - Phone Number.
474
- * @property {string} [phone_type] - Denotes the type of phone number.
475
- */
476
- /**
477
- * @typedef PhoneSchema
478
- * @property {boolean} [active] - Flag denoting whether contact detail is active or not.
479
- * @property {PhoneProperties[]} [phone] - Details related to phone contact of SPOC.
480
- */
481
- /**
482
- * @typedef EmailProperties
483
- * @property {string} [key] - Name of email SPOC.
484
- * @property {string} [value] - Email Id of the SPOC.
485
- */
486
- /**
487
- * @typedef EmailSchema
488
- * @property {boolean} [active] - Whether contact detail is active or not.
489
- * @property {EmailProperties[]} [email] - Details related to email contact of SPOC.
490
- */
491
- /**
492
- * @typedef ContactSchema
493
- * @property {PhoneSchema} [phone]
494
- * @property {EmailSchema} [email]
495
- */
496
- /**
497
- * @typedef TagsSchema
498
- * @property {string} [application] - Application ID - Identifier for a Sales channel.
499
- * @property {string} [_id] - Unique identifier of an entry.
500
- * @property {TagSchema[]} [tags] - List of Third party injectable html tags.
501
- */
502
- /**
503
- * @typedef TagSchema
504
- * @property {string} [name] - Name of the html tag.
505
- * @property {string} [url] - URL at which css or js might be hosted.
506
- * @property {string} [type] - Whether Tag is JS or CSS.
507
- * @property {string} [sub_type] - Whether js/css is external or inline.
508
- * @property {string} [_id] - Unique identifier of an entry.
509
- * @property {string} [position] - Position where Tag is so to be placed.
510
- * @property {Object} [attributes] - Custom JSON object for specific use cases.
511
- * @property {string} [content] - Content of tag.
512
- * @property {Object[]} [pages] - List of all the page where tag is to be added.
513
- * @property {TagSourceSchema} [__source]
514
- */
515
- /**
516
- * @typedef TagSourceSchema
517
- * @property {string} [type] - Type of creator of tag.
518
- * @property {string} [id] - Identifier of an extension.
519
- */
520
- /**
521
- * @typedef CustomObjectFieldValue
522
- * @property {Object} [value] - Value of custom field.
523
- */
524
- /**
525
- * @typedef CustomObjectListItemDefinationSchema
526
- * @property {string} [_id] - Unique identifier of an entry.
527
- * @property {string} [name] - Name of definition of custom field.
528
- * @property {string} [type] - Data type of the custom field.
529
- */
530
- /**
531
- * @typedef CustomObjectFieldSchema
532
- * @property {string} [_id] - Unique identifier of an entry.
533
- * @property {string} [slug] - Slug of custom field inside custom object.
534
- * @property {CustomObjectFieldValue[]} [value] - Value of custom field inside
535
- * custom object.
536
- * @property {string} [type] - Data type of custom field inside custom object.
537
- * @property {string} [definition_id] - Definition id of custom field inside
538
- * custom object.
539
- */
540
- /**
541
- * @typedef CustomObjectByIdSchema
542
- * @property {string} [id] - Unique identifier of an entry.
543
- * @property {string} [status] - String denoting whether custom object is active
544
- * or inactive.
545
- * @property {string} [display_name] - Unique Display name of a custom object
546
- * which is system generated: Concatenation of string definition name and _id.
547
- * @property {CustomObjectListItemDefinationSchema} [definition]
548
- * @property {Object[]} [references] - List of custom fields ids where the
549
- * custom object is added as a field.
550
- * @property {CustomObjectFieldSchema[]} [fields] - List of custom fields
551
- * against a Custom Object.
552
- */
553
- /**
554
- * @typedef CustomFieldValue
555
- * @property {Object} [value] - Array containing value(s) of custom field.
556
- */
557
- /**
558
- * @typedef CustomFieldSchema
559
- * @property {string} [_id] - Unique identifier of an entry.
560
- * @property {string} [namespace] - Namespace under which custom field is present.
561
- * @property {string} [slug] - Unique identifier for a custom field in a given namespace.
562
- * @property {string} [resource] - Type of an entity under which custom field is defined.
563
- * @property {CustomFieldValue[]} [value] - Array containing values of custom field.
564
- * @property {string} [resource_id] - Unique identifier for the entity under
565
- * which custom field is defined.
566
- * @property {string} [type] - The type type of custom field.
567
- * @property {boolean} [multi_value] - Whether custom field can have multiple
568
- * values or not.
569
- * @property {string} [company_id] - Unique Identifier for a company.
570
- * @property {string} [application_id] - Application ID - Identifier for a Sales channel.
571
- * @property {string} [definition_id] - Unique identifier for a custom field definition.
572
- * @property {boolean} [has_invalid_values] - Whether the custom field has invalid values.
573
- * @property {Object[]} [invalid_value_errors] - Array denoting if there's a
574
- * validation failure on a custom field inside a custom object.
575
- * @property {boolean} [is_deleted] - Whether the custom field definition is deleted.
576
- * @property {string} [created_at] - Timestamp which represent the time when
577
- * data was created.
578
- * @property {string} [updated_at] - Timestamp which represent when was the last
579
- * time when data was updated.
580
- */
581
- /**
582
- * @typedef CustomFieldsResponseByResourceIdSchema
583
- * @property {CustomFieldSchema[]} [items] - List of custom fields against a resource.
584
- */
585
- /**
586
- * @typedef CustomObjectListItemSchema
587
- * @property {string} [_id] - Unique system generated if for a custom object
588
- * @property {string} [definition_id] - Unique system generated id for a custom
589
- * object definition
590
- * @property {string} [status] - Flag to denote whether custom object is active or not
591
- * @property {string} [updated_at] - Updation time of custom object entry
592
- * @property {string} [display_name] - A custom field inside custom object used
593
- * to display the entry of custom object in listing
594
- * @property {CustomObjectListItemDefinationSchema} [definition]
595
- * @property {number} [references]
596
- */
597
- /**
598
- * @typedef CustomObjectsSchema
599
- * @property {CustomObjectListItemSchema[]} [items]
600
- * @property {Page} [page]
601
- */
602
- /**
603
- * @typedef ActionPage
604
- * @property {Object} [params] - Parameters that should be considered in path.
605
- * @property {Object} [query] - Query parameter if any to be added to the action.
606
- * @property {string} [url] - The URL for the action.
607
- * @property {PageType} type
608
- */
609
- /**
610
- * @typedef {| "about-us"
611
- * | "addresses"
612
- * | "blog"
613
- * | "brands"
614
- * | "cards"
615
- * | "cart"
616
- * | "categories"
617
- * | "brand"
618
- * | "category"
619
- * | "collection"
620
- * | "collections"
621
- * | "custom"
622
- * | "contact-us"
623
- * | "external"
624
- * | "faq"
625
- * | "freshchat"
626
- * | "home"
627
- * | "notification-settings"
628
- * | "orders"
629
- * | "page"
630
- * | "policy"
631
- * | "product"
632
- * | "product-request"
633
- * | "products"
634
- * | "profile"
635
- * | "profile-order-shipment"
636
- * | "profile-basic"
637
- * | "profile-company"
638
- * | "profile-emails"
639
- * | "profile-phones"
640
- * | "rate-us"
641
- * | "refer-earn"
642
- * | "settings"
643
- * | "shared-cart"
644
- * | "tnc"
645
- * | "track-order"
646
- * | "wishlist"
647
- * | "sections"
648
- * | "form"
649
- * | "cart-delivery"
650
- * | "cart-payment"
651
- * | "cart-review"
652
- * | "login"
653
- * | "register"
654
- * | "shipping-policy"
655
- * | "return-policy"
656
- * | "order-status"
657
- * | "locate-us"} PageType
658
- */
659
- declare class ContentApplicationModel {
660
- }
661
- declare namespace ContentApplicationModel {
662
- export { ApplicationLegal, ApplicationLegalFAQ, SeoComponent, ValidationError, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, AnnouncementSchema, ScheduleStartSchema, BlogGetDetails, BlogFilters, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, LocaleLanguage, Language, Action, NavigationReference, ConfigurationSchema, SlideshowMedia, AnnouncementsResponseSchema, FaqResponseSchema, DataLoaderSchema, DataLoaderSourceSchema, DataLoadersSchema, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, FAQCategorySchema, FaqSchema, GetFaqSchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageSchema, NavigationGetDetails, Orientation, NavigationSchema, PageGetDetails, PageSchema, CreatedBySchema, SlideshowGetDetails, SlideshowSchema, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, CustomObjectFieldValue, CustomObjectListItemDefinationSchema, CustomObjectFieldSchema, CustomObjectByIdSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseByResourceIdSchema, CustomObjectListItemSchema, CustomObjectsSchema, ActionPage, PageType };
663
- }
664
- /** @returns {ApplicationLegal} */
665
- declare function ApplicationLegal(): ApplicationLegal;
666
- type ApplicationLegal = {
667
- /**
668
- * - Application ID - Identifier for a Sales channel.
669
- */
670
- application?: string;
671
- /**
672
- * - Content for Terms and Conditions page on storefront.
673
- */
674
- tnc?: string;
675
- /**
676
- * - Content for Privacy Policy page on storefront.
677
- */
678
- policy?: string;
679
- /**
680
- * - Content for Shipping Policy page on storefront.
681
- */
682
- shipping?: string;
683
- /**
684
- * - Content for Return policy page on storefront.
685
- */
686
- returns?: string;
687
- /**
688
- * - FAQs of an application.
689
- */
690
- faq?: ApplicationLegalFAQ[];
691
- /**
692
- * - Unique identifier of an entry.
693
- */
694
- _id?: string;
695
- /**
696
- * - Timestamp which represent when was the last
697
- * time when data was updated.
698
- */
699
- updated_at?: string;
700
- /**
701
- * - Timestamp which represent the time when
702
- * data was created.
703
- */
704
- created_at?: string;
705
- };
706
- /** @returns {ApplicationLegalFAQ} */
707
- declare function ApplicationLegalFAQ(): ApplicationLegalFAQ;
708
- type ApplicationLegalFAQ = {
709
- /**
710
- * - The contents of a question of a FAQ.
711
- */
712
- question?: string;
713
- /**
714
- * - The contents of a answer of a FAQ.
715
- */
716
- answer?: string;
717
- };
718
- /** @returns {SeoComponent} */
719
- declare function SeoComponent(): SeoComponent;
720
- type SeoComponent = {
721
- seo?: SeoSchema;
722
- };
723
- /** @returns {ValidationError} */
724
- declare function ValidationError(): ValidationError;
725
- type ValidationError = {
726
- /**
727
- * - A brief description of the error encountered.
728
- */
729
- message: string;
730
- /**
731
- * - The field in the request that caused the error.
732
- */
733
- field: string;
734
- };
735
- /** @returns {SeoSchema} */
736
- declare function SeoSchema(): SeoSchema;
737
- type SeoSchema = {
738
- /**
739
- * - Application ID - Identifier for a Sales channel.
740
- */
741
- app?: string;
742
- /**
743
- * - Unique identifier of an entry.
744
- */
745
- _id?: string;
746
- /**
747
- * - Contents of robots.txt file of a sales channel.
748
- */
749
- robots_txt?: string;
750
- /**
751
- * - Whether sitemaps is enabled or not
752
- * for a sales channel's website.
753
- */
754
- sitemap_enabled?: boolean;
755
- /**
756
- * - Contents of additional sitemap.
757
- */
758
- additonal_sitemap?: string;
759
- /**
760
- * - Whether canonical tags is enabled
761
- * or not for a sales channel's website.
762
- */
763
- cannonical_enabled?: boolean;
764
- /**
765
- * - Custom meta tags for a sales
766
- * channel website.
767
- */
768
- custom_meta_tags?: CustomMetaTag[];
769
- details?: Detail;
770
- /**
771
- * - Timestamp which represent the time when
772
- * data was created.
773
- */
774
- created_at?: string;
775
- /**
776
- * - Timestamp which represent when was the last
777
- * time when data was updated.
778
- */
779
- updated_at?: string;
780
- };
781
- /** @returns {CustomMetaTag} */
782
- declare function CustomMetaTag(): CustomMetaTag;
783
- type CustomMetaTag = {
784
- /**
785
- * - Name of the custom meta tag group.
786
- */
787
- name?: string;
788
- /**
789
- * - Contents of the custom meta tag group.
790
- */
791
- content?: string;
792
- /**
793
- * - Unique identifier of an entry.
794
- */
795
- _id?: string;
796
- };
797
- /** @returns {Detail} */
798
- declare function Detail(): Detail;
799
- type Detail = {
800
- /**
801
- * - Contents of the og:title of a sales channel website.
802
- */
803
- title?: string;
804
- /**
805
- * - Contents of the og:description of a sales
806
- * channel website.
807
- */
808
- description?: string;
809
- /**
810
- * - URL of the og:image of a sales channel website.
811
- */
812
- image_url?: string;
813
- };
814
- /** @returns {SeoSchemaComponent} */
815
- declare function SeoSchemaComponent(): SeoSchemaComponent;
816
- type SeoSchemaComponent = {
817
- /**
818
- * - List of SEO Markup Schemas
819
- * for a sales channel website.
820
- */
821
- items?: SEOSchemaMarkupTemplate[];
822
- };
823
- /** @returns {SEOSchemaMarkupTemplate} */
824
- declare function SEOSchemaMarkupTemplate(): SEOSchemaMarkupTemplate;
825
- type SEOSchemaMarkupTemplate = {
826
- /**
827
- * - Unique identifier for an entry.
828
- */
829
- id?: string;
830
- /**
831
- * - Title of the SEO Schema template.
832
- */
833
- title?: string;
834
- /**
835
- * - Page Type for the SEO Schema Template where
836
- * it'll be rendered.
837
- */
838
- page_type?: string;
839
- /**
840
- * - Description of the SEO Schema Template.
841
- */
842
- description?: string;
843
- /**
844
- * - Contents of the SEO Schema template in nunjucks format.
845
- */
846
- schema?: string;
847
- /**
848
- * - Whether SEO Schema template is active or not.
849
- */
850
- active?: boolean;
851
- /**
852
- * - Timestamp which represent the time when
853
- * data was created.
854
- */
855
- created_at?: string;
856
- /**
857
- * - Timestamp which represent when was the last
858
- * time when data was updated.
859
- */
860
- updated_at?: string;
861
- /**
862
- * - Application ID - Identifier for a Sales channel.
863
- */
864
- application?: string;
865
- };
866
- /** @returns {ScheduleSchema} */
867
- declare function ScheduleSchema(): ScheduleSchema;
868
- type ScheduleSchema = {
869
- /**
870
- * - String representing the cron expression.
871
- */
872
- cron?: string;
873
- /**
874
- * - Start time of schedule.
875
- */
876
- start?: string;
877
- /**
878
- * - End time of schedule.
879
- */
880
- end?: string;
881
- /**
882
- * - Duration of the scheduled entity.
883
- */
884
- duration?: number;
885
- /**
886
- * - Details regarding the next
887
- * trigger point of schedule.
888
- */
889
- next_schedule?: NextSchedule[];
890
- };
891
- /** @returns {NextSchedule} */
892
- declare function NextSchedule(): NextSchedule;
893
- type NextSchedule = {
894
- /**
895
- * - Start time of next trigger point of schedule.
896
- */
897
- start?: string;
898
- /**
899
- * - End time of next trigger point of schedule.
900
- */
901
- end?: string;
902
- };
903
- /** @returns {AnnouncementSchema} */
904
- declare function AnnouncementSchema(): AnnouncementSchema;
905
- type AnnouncementSchema = {
906
- /**
907
- * - Details regarding the announcement bar contents.
908
- */
909
- announcement?: string;
910
- schedule?: ScheduleStartSchema;
911
- };
912
- /** @returns {ScheduleStartSchema} */
913
- declare function ScheduleStartSchema(): ScheduleStartSchema;
914
- type ScheduleStartSchema = {
915
- /**
916
- * - Start time of schedule.
917
- */
918
- start?: string;
919
- /**
920
- * - End time of schedule.
921
- */
922
- end?: string;
923
- };
924
- /** @returns {BlogGetDetails} */
925
- declare function BlogGetDetails(): BlogGetDetails;
926
- type BlogGetDetails = {
927
- /**
928
- * - List of blogs with details.
929
- */
930
- items?: BlogSchema[];
931
- page?: Page;
932
- filters?: BlogFilters;
933
- };
934
- /** @returns {BlogFilters} */
935
- declare function BlogFilters(): BlogFilters;
936
- type BlogFilters = {
937
- /**
938
- * - All tags present under blogs.
939
- */
940
- tags?: string[];
941
- };
942
- /** @returns {ResourceContent} */
943
- declare function ResourceContent(): ResourceContent;
944
- type ResourceContent = {
945
- /**
946
- * - The type of content of blogs - html.
947
- */
948
- type?: string;
949
- /**
950
- * - The contents of blog.
951
- */
952
- value?: string;
953
- };
954
- /** @returns {Asset} */
955
- declare function Asset(): Asset;
956
- type Asset = {
957
- /**
958
- * - Aspect ratio of the image.
959
- */
960
- aspect_ratio?: string;
961
- /**
962
- * - Unique identifier for an entry.
963
- */
964
- id?: string;
965
- /**
966
- * - URL of the image.
967
- */
968
- secure_url?: string;
969
- };
970
- /** @returns {Author} */
971
- declare function Author(): Author;
972
- type Author = {
973
- /**
974
- * - Description of the author of blog.
975
- */
976
- designation?: string;
977
- /**
978
- * - Unique Identifier of the author of blog.
979
- */
980
- id?: string;
981
- /**
982
- * - Name of the author of blog.
983
- */
984
- name?: string;
985
- };
986
- /** @returns {BlogSchema} */
987
- declare function BlogSchema(): BlogSchema;
988
- type BlogSchema = {
989
- /**
990
- * - Unique identifier for an entry.
991
- */
992
- _id?: string;
993
- /**
994
- * - Custom JSON object for specific use cases.
995
- */
996
- _custom_json?: any;
997
- /**
998
- * - Application ID - Identifier for a Sales channel.
999
- */
1000
- application?: string;
1001
- /**
1002
- * - Boolean flag denoting whether blog is archived or not.
1003
- */
1004
- archived?: boolean;
1005
- author?: Author;
1006
- /**
1007
- * - Contents of blog.
1008
- */
1009
- content?: ResourceContent[];
1010
- feature_image?: Asset;
1011
- /**
1012
- * - Boolean flag denoting whether blog is
1013
- * published or not.
1014
- */
1015
- published?: boolean;
1016
- /**
1017
- * - Estimated time required to read the blog.
1018
- */
1019
- reading_time?: string;
1020
- /**
1021
- * - A short, human-readable, URL-friendly identifier.
1022
- */
1023
- slug?: string;
1024
- /**
1025
- * - Tags under a blog.
1026
- */
1027
- tags?: string[];
1028
- /**
1029
- * - Timestamp denoting when the blog was published.
1030
- */
1031
- publish_date?: string;
1032
- seo?: SEO;
1033
- /**
1034
- * - Title of the Blog.
1035
- */
1036
- title?: string;
1037
- date_meta?: DateMeta;
1038
- /**
1039
- * - A brief description of blog.
1040
- */
1041
- summary?: string;
1042
- };
1043
- /** @returns {SEO} */
1044
- declare function SEO(): SEO;
1045
- type SEO = {
1046
- /**
1047
- * - The contents of og:description.
1048
- */
1049
- description?: string;
1050
- image?: SEOImage;
1051
- /**
1052
- * - The contents of og:title.
1053
- */
1054
- title?: string;
1055
- /**
1056
- * - List of meta tags.
1057
- */
1058
- meta_tags?: SEOMetaItem[];
1059
- sitemap?: SEOSitemap;
1060
- /**
1061
- * - List of action objects which can
1062
- * power breadcrumbs on website.
1063
- */
1064
- breadcrumb?: SEObreadcrumb[];
1065
- /**
1066
- * - The canonical URL for canonical link element.
1067
- */
1068
- canonical_url?: string;
1069
- };
1070
- /** @returns {SEOImage} */
1071
- declare function SEOImage(): SEOImage;
1072
- type SEOImage = {
1073
- /**
1074
- * - The url of image.
1075
- */
1076
- url?: string;
1077
- };
1078
- /** @returns {SEOMetaItem} */
1079
- declare function SEOMetaItem(): SEOMetaItem;
1080
- type SEOMetaItem = {
1081
- /**
1082
- * - Title of the custom meta tags group.
1083
- */
1084
- title?: string;
1085
- /**
1086
- * - List of key value pairs to power meta tags.
1087
- */
1088
- items?: SEOMetaItems[];
1089
- };
1090
- /** @returns {SEOMetaItems} */
1091
- declare function SEOMetaItems(): SEOMetaItems;
1092
- type SEOMetaItems = {
1093
- /**
1094
- * - The key denoting the attribute name of SEO meta tag.
1095
- */
1096
- key?: string;
1097
- /**
1098
- * - The key denoting the attribute value of SEO meta tag.
1099
- */
1100
- value?: string;
1101
- };
1102
- /** @returns {SEOSitemap} */
1103
- declare function SEOSitemap(): SEOSitemap;
1104
- type SEOSitemap = {
1105
- /**
1106
- * - Value of sitemap priority randing from 0.0 to 1.0.
1107
- */
1108
- priority?: number;
1109
- /**
1110
- * - Value of sitemap frequency change denoting
1111
- * how frequently the content changes.
1112
- */
1113
- frequency?: string;
1114
- };
1115
- /** @returns {SEObreadcrumb} */
1116
- declare function SEObreadcrumb(): SEObreadcrumb;
1117
- type SEObreadcrumb = {
1118
- /**
1119
- * - URL of where the breadcrumb link redirects to.
1120
- */
1121
- url?: string;
1122
- action?: Action;
1123
- };
1124
- /** @returns {DateMeta} */
1125
- declare function DateMeta(): DateMeta;
1126
- type DateMeta = {
1127
- /**
1128
- * - Timestamp which represent the time when
1129
- * data was created.
1130
- */
1131
- created_on?: string;
1132
- /**
1133
- * - Timestamp which represent when was the
1134
- * last time when data was updated.
1135
- */
1136
- modified_on?: string;
1137
- };
1138
- /** @returns {LocaleLanguage} */
1139
- declare function LocaleLanguage(): LocaleLanguage;
1140
- type LocaleLanguage = {
1141
- hi?: Language;
1142
- ar?: Language;
1143
- en_us?: Language;
1144
- };
1145
- /** @returns {Language} */
1146
- declare function Language(): Language;
1147
- type Language = {
1148
- /**
1149
- * - Name of an entry in a specific language.
1150
- */
1151
- display?: string;
1152
- };
1153
- /** @returns {Action} */
1154
- declare function Action(): Action;
1155
- type Action = {
1156
- /**
1157
- * - Type of action to be taken e.g, page.
1158
- */
1159
- type?: string;
1160
- page?: ActionPage;
1161
- popup?: ActionPage;
1162
- };
1163
- /** @returns {NavigationReference} */
1164
- declare function NavigationReference(): NavigationReference;
1165
- type NavigationReference = {
1166
- /**
1167
- * - Details regarding the authorization level to
1168
- * access the navigation item.
1169
- */
1170
- acl?: string[];
1171
- /**
1172
- * - List of tags under a navigation link.
1173
- */
1174
- tags?: string[];
1175
- _locale_language?: LocaleLanguage;
1176
- /**
1177
- * - URL of an image associated with a navigation link.
1178
- */
1179
- image?: string;
1180
- /**
1181
- * - Type of action to be taken e.g, page.
1182
- */
1183
- type?: string;
1184
- action?: Action;
1185
- /**
1186
- * - Whether navigation is active or not.
1187
- */
1188
- active?: boolean;
1189
- /**
1190
- * - Display name of the navigation link.
1191
- */
1192
- display?: string;
1193
- /**
1194
- * - Number denoting the position of navigation link.
1195
- */
1196
- sort_order?: number;
1197
- /**
1198
- * - List of sub links and
1199
- * details under a navigation.
1200
- */
1201
- sub_navigation?: NavigationReference[];
1202
- };
1203
- /** @returns {ConfigurationSchema} */
1204
- declare function ConfigurationSchema(): ConfigurationSchema;
1205
- type ConfigurationSchema = {
1206
- /**
1207
- * - Amount of time in seconds after which
1208
- * slideshow/screensaver is run.
1209
- */
1210
- sleep_time?: number;
1211
- /**
1212
- * - Flag denoting whether screensaver
1213
- * needs to be shown on launch of website/app.
1214
- */
1215
- start_on_launch?: boolean;
1216
- /**
1217
- * - Duration of the slideshow/screensaver.
1218
- */
1219
- duration?: number;
1220
- /**
1221
- * - Direction of the slideshow.
1222
- */
1223
- slide_direction?: string;
1224
- };
1225
- /** @returns {SlideshowMedia} */
1226
- declare function SlideshowMedia(): SlideshowMedia;
1227
- type SlideshowMedia = {
1228
- /**
1229
- * - Type of Media.
1230
- */
1231
- type?: string;
1232
- /**
1233
- * - URL of Media where it's hosted.
1234
- */
1235
- url?: string;
1236
- /**
1237
- * - Background colour of Media.
1238
- */
1239
- bg_color?: string;
1240
- /**
1241
- * - Amount of time in seconds for which Media has
1242
- * to appear.
1243
- */
1244
- duration?: number;
1245
- /**
1246
- * - Whether the duration for each
1247
- * media is to be decided by system or not. If true, it'll equally divide time
1248
- * in all medias.
1249
- */
1250
- auto_decide_duration?: boolean;
1251
- action?: Action;
1252
- };
1253
- /** @returns {AnnouncementsResponseSchema} */
1254
- declare function AnnouncementsResponseSchema(): AnnouncementsResponseSchema;
1255
- type AnnouncementsResponseSchema = {
1256
- /**
1257
- * - List all the announcement bar details
1258
- * and its contents.
1259
- */
1260
- announcements?: any;
1261
- /**
1262
- * - Number of seconds after which api should
1263
- * hit again to fetch new announcements.
1264
- */
1265
- refresh_rate?: number;
1266
- /**
1267
- * - List of page slugs on which
1268
- * announcement should be fetched as soon as they are loaded.
1269
- */
1270
- refresh_pages?: string[];
1271
- };
1272
- /** @returns {FaqResponseSchema} */
1273
- declare function FaqResponseSchema(): FaqResponseSchema;
1274
- type FaqResponseSchema = {
1275
- /**
1276
- * - List of FAQs.
1277
- */
1278
- faqs?: FaqSchema[];
1279
- };
1280
- /** @returns {DataLoaderSchema} */
1281
- declare function DataLoaderSchema(): DataLoaderSchema;
1282
- type DataLoaderSchema = {
1283
- /**
1284
- * - Name of dataloader.
1285
- */
1286
- name?: string;
1287
- /**
1288
- * - Service of data loader which overrides the
1289
- * default method.
1290
- */
1291
- service?: string;
1292
- /**
1293
- * - Operation ID of the method which data
1294
- * loader is overriding.
1295
- */
1296
- operation_id?: string;
1297
- /**
1298
- * - Type of data loader.
1299
- */
1300
- type?: string;
1301
- /**
1302
- * - URL at which data loader redirects.
1303
- */
1304
- url?: string;
1305
- /**
1306
- * - Content of a data loader.
1307
- */
1308
- content?: string;
1309
- __source?: DataLoaderSourceSchema;
1310
- /**
1311
- * - Unique identifier of an entry.
1312
- */
1313
- _id?: string;
1314
- };
1315
- /** @returns {DataLoaderSourceSchema} */
1316
- declare function DataLoaderSourceSchema(): DataLoaderSourceSchema;
1317
- type DataLoaderSourceSchema = {
1318
- /**
1319
- * - Type of creator.
1320
- */
1321
- type?: string;
1322
- /**
1323
- * - Identifier of an extension.
1324
- */
1325
- id?: string;
1326
- };
1327
- /** @returns {DataLoadersSchema} */
1328
- declare function DataLoadersSchema(): DataLoadersSchema;
1329
- type DataLoadersSchema = {
1330
- /**
1331
- * - List of data loaders.
1332
- */
1333
- items?: DataLoaderSchema[];
1334
- };
1335
- /** @returns {ContentAPIError} */
1336
- declare function ContentAPIError(): ContentAPIError;
1337
- type ContentAPIError = {
1338
- /**
1339
- * - Error message.
1340
- */
1341
- message?: string;
1342
- /**
1343
- * - HTTP Status code of the error.
1344
- */
1345
- status?: number;
1346
- /**
1347
- * - Status code of an error.
1348
- */
1349
- code?: string;
1350
- /**
1351
- * - Exception class name.
1352
- */
1353
- exception?: string;
1354
- /**
1355
- * - Details regarding the error.
1356
- */
1357
- info?: string;
1358
- /**
1359
- * - The identifier denoting request.
1360
- */
1361
- request_id?: string;
1362
- /**
1363
- * - Report of a stack frame to debug the issue.
1364
- */
1365
- stack_trace?: string;
1366
- /**
1367
- * - Metadata related to an error.
1368
- */
1369
- meta?: any;
1370
- };
1371
- /** @returns {CommonError} */
1372
- declare function CommonError(): CommonError;
1373
- type CommonError = {
1374
- /**
1375
- * - Error message.
1376
- */
1377
- message?: string;
1378
- };
1379
- /** @returns {CategorySchema} */
1380
- declare function CategorySchema(): CategorySchema;
1381
- type CategorySchema = {
1382
- /**
1383
- * - Order of FAQ Category.
1384
- */
1385
- index?: number;
1386
- /**
1387
- * - Title of the FAQ category.
1388
- */
1389
- title?: string;
1390
- /**
1391
- * - Details of the FAQ category.
1392
- */
1393
- description?: string;
1394
- /**
1395
- * - List of FAQs.
1396
- */
1397
- children?: string[];
1398
- /**
1399
- * - Unique identifier of an entry.
1400
- */
1401
- _id?: string;
1402
- /**
1403
- * - A short, human-readable, URL-friendly identifier.
1404
- */
1405
- slug?: string;
1406
- /**
1407
- * - Application ID - Identifier for a Sales channel.
1408
- */
1409
- application?: string;
1410
- /**
1411
- * - URL of the image associated with FAQ Category.
1412
- */
1413
- icon_url?: string;
1414
- /**
1415
- * - Custom JSON object for specific use cases.
1416
- */
1417
- _custom_json?: any;
1418
- };
1419
- /** @returns {ChildrenSchema} */
1420
- declare function ChildrenSchema(): ChildrenSchema;
1421
- type ChildrenSchema = {
1422
- /**
1423
- * - The contents of a question of a FAQ.
1424
- */
1425
- question?: string;
1426
- /**
1427
- * - The contents of a answer of a FAQ.
1428
- */
1429
- answer?: string;
1430
- /**
1431
- * - A short, human-readable, URL-friendly identifier.
1432
- */
1433
- slug?: string;
1434
- /**
1435
- * - Application ID - Identifier for a Sales channel.
1436
- */
1437
- application?: string;
1438
- /**
1439
- * - Unique identifier of an entry.
1440
- */
1441
- _id?: string;
1442
- };
1443
- /** @returns {FAQCategorySchema} */
1444
- declare function FAQCategorySchema(): FAQCategorySchema;
1445
- type FAQCategorySchema = {
1446
- /**
1447
- * - Order of FAQ Category.
1448
- */
1449
- index?: number;
1450
- /**
1451
- * - Title of a FAQ Category.
1452
- */
1453
- title?: string;
1454
- /**
1455
- * - Details of the FAQ category.
1456
- */
1457
- description?: string;
1458
- /**
1459
- * - Details regarding a FAQs stored
1460
- * under a FAQs category.
1461
- */
1462
- children?: ChildrenSchema[];
1463
- /**
1464
- * - Unique identifier of an entry.
1465
- */
1466
- _id?: string;
1467
- /**
1468
- * - A short, human-readable, URL-friendly identifier.
1469
- */
1470
- slug?: string;
1471
- /**
1472
- * - Application ID - Identifier for a Sales channel.
1473
- */
1474
- application?: string;
1475
- /**
1476
- * - URL of the image associated with FAQ Category.
1477
- */
1478
- icon_url?: string;
1479
- /**
1480
- * - Custom JSON object for specific use cases.
1481
- */
1482
- _custom_json?: any;
1483
- };
1484
- /** @returns {FaqSchema} */
1485
- declare function FaqSchema(): FaqSchema;
1486
- type FaqSchema = {
1487
- /**
1488
- * - A short, human-readable, URL-friendly identifier.
1489
- */
1490
- slug?: string;
1491
- /**
1492
- * - Application ID - Identifier for a Sales channel.
1493
- */
1494
- application?: string;
1495
- /**
1496
- * - Unique identifier of an entry.
1497
- */
1498
- _id?: string;
1499
- /**
1500
- * - The contents of a question of a FAQ.
1501
- */
1502
- question?: string;
1503
- /**
1504
- * - The contents of a answer of a FAQ.
1505
- */
1506
- answer?: string;
1507
- /**
1508
- * - Tags under a FAQ.
1509
- */
1510
- tags?: string[];
1511
- };
1512
- /** @returns {GetFaqSchema} */
1513
- declare function GetFaqSchema(): GetFaqSchema;
1514
- type GetFaqSchema = {
1515
- /**
1516
- * - List of FAQs.
1517
- */
1518
- faqs?: FaqSchema[];
1519
- };
1520
- /** @returns {GetFaqCategoriesSchema} */
1521
- declare function GetFaqCategoriesSchema(): GetFaqCategoriesSchema;
1522
- type GetFaqCategoriesSchema = {
1523
- /**
1524
- * - List of FAQ Categories.
1525
- */
1526
- categories?: CategorySchema[];
1527
- };
1528
- /** @returns {GetFaqCategoryBySlugSchema} */
1529
- declare function GetFaqCategoryBySlugSchema(): GetFaqCategoryBySlugSchema;
1530
- type GetFaqCategoryBySlugSchema = {
1531
- category?: FAQCategorySchema;
1532
- };
1533
- /** @returns {Page} */
1534
- declare function Page(): Page;
1535
- type Page = {
1536
- /**
1537
- * - The total number of items on the page.
1538
- */
1539
- item_total?: number;
1540
- /**
1541
- * - The identifier for the next page.
1542
- */
1543
- next_id?: string;
1544
- /**
1545
- * - Indicates whether there is a previous page.
1546
- */
1547
- has_previous?: boolean;
1548
- /**
1549
- * - Indicates whether there is a next page.
1550
- */
1551
- has_next?: boolean;
1552
- /**
1553
- * - The current page number.
1554
- */
1555
- current?: number;
1556
- /**
1557
- * - The type of the page, such as 'PageType'.
1558
- */
1559
- type: string;
1560
- /**
1561
- * - The number of items per page.
1562
- */
1563
- size?: number;
1564
- };
1565
- /** @returns {LandingPageSchema} */
1566
- declare function LandingPageSchema(): LandingPageSchema;
1567
- type LandingPageSchema = {
1568
- /**
1569
- * - A short, human-readable, URL-friendly identifier.
1570
- */
1571
- slug?: string;
1572
- action?: Action;
1573
- /**
1574
- * - List of platforms linked to this landing page.
1575
- */
1576
- platform?: string[];
1577
- created_by?: CreatedBySchema;
1578
- date_meta?: DateMeta;
1579
- /**
1580
- * - Unique identifier of an entry.
1581
- */
1582
- _id?: string;
1583
- /**
1584
- * - Application ID - Identifier for a Sales channel.
1585
- */
1586
- application?: string;
1587
- /**
1588
- * - Whether landing page is archived or not.
1589
- */
1590
- archived?: boolean;
1591
- /**
1592
- * - Custom JSON object for specific use cases.
1593
- */
1594
- _custom_json?: any;
1595
- };
1596
- /** @returns {NavigationGetDetails} */
1597
- declare function NavigationGetDetails(): NavigationGetDetails;
1598
- type NavigationGetDetails = {
1599
- /**
1600
- * - List of navigation items.
1601
- */
1602
- items?: NavigationSchema[];
1603
- page?: Page;
1604
- };
1605
- /** @returns {Orientation} */
1606
- declare function Orientation(): Orientation;
1607
- type Orientation = {
1608
- /**
1609
- * - Data related to devices where navigation is
1610
- * assigned in portrait mode.
1611
- */
1612
- portrait?: string[];
1613
- /**
1614
- * - Data related to devices where navigation
1615
- * is assigned in landscape mode.
1616
- */
1617
- landscape?: string[];
1618
- };
1619
- /** @returns {NavigationSchema} */
1620
- declare function NavigationSchema(): NavigationSchema;
1621
- type NavigationSchema = {
1622
- /**
1623
- * - Unique identifier of an entry.
1624
- */
1625
- _id?: string;
1626
- /**
1627
- * - Application ID - Identifier for a Sales channel.
1628
- */
1629
- application?: string;
1630
- /**
1631
- * - Whether navigation is archived or not.
1632
- */
1633
- archived?: boolean;
1634
- /**
1635
- * - Name of the navigation link.
1636
- */
1637
- name?: string;
1638
- /**
1639
- * - A short, human-readable, URL-friendly identifier.
1640
- */
1641
- slug?: string;
1642
- /**
1643
- * - Details regarding the platforms for which
1644
- * this navigation is to applied on.
1645
- */
1646
- platform?: string[];
1647
- created_by?: CreatedBySchema;
1648
- date_meta?: DateMeta;
1649
- orientation?: Orientation;
1650
- /**
1651
- * - A hardcoded key for internally managing
1652
- * navigation versions.
1653
- */
1654
- version?: number;
1655
- /**
1656
- * - List of all navigations
1657
- * links and relevant details.
1658
- */
1659
- navigation?: NavigationReference[];
1660
- };
1661
- /** @returns {PageGetDetails} */
1662
- declare function PageGetDetails(): PageGetDetails;
1663
- type PageGetDetails = {
1664
- /**
1665
- * - List of details of custom pages.
1666
- */
1667
- items?: PageSchema[];
1668
- page?: Page;
1669
- };
1670
- /** @returns {PageSchema} */
1671
- declare function PageSchema(): PageSchema;
1672
- type PageSchema = {
1673
- /**
1674
- * - Unique identifier of an entry.
1675
- */
1676
- _id?: string;
1677
- /**
1678
- * - Application ID - Identifier for a Sales channel.
1679
- */
1680
- application?: string;
1681
- /**
1682
- * - Components can be used to store
1683
- * multiple components.
1684
- */
1685
- component_ids?: string[];
1686
- /**
1687
- * - Contents of a custom page.
1688
- */
1689
- content?: any[];
1690
- /**
1691
- * - A CDN URL at which the entire html
1692
- * content can be fetched from.
1693
- */
1694
- content_path?: string;
1695
- created_by?: CreatedBySchema;
1696
- date_meta?: DateMeta;
1697
- /**
1698
- * - Description about the page.
1699
- */
1700
- description?: string;
1701
- feature_image?: Asset;
1702
- /**
1703
- * - List of Custom JSON object for specific use cases.
1704
- */
1705
- page_meta?: any[];
1706
- _schedule?: ScheduleSchema;
1707
- /**
1708
- * - Custom JSON object for specific use cases.
1709
- */
1710
- _custom_json?: any;
1711
- /**
1712
- * - Orientation for Custom Pages - Landscape
1713
- * or portrait.
1714
- */
1715
- orientation?: string;
1716
- /**
1717
- * - Platform for Custom Pages - Denotes the device type.
1718
- */
1719
- platform?: string;
1720
- /**
1721
- * - Whether page is active or not on website.
1722
- */
1723
- published?: boolean;
1724
- /**
1725
- * - A short, human-readable, URL-friendly identifier.
1726
- */
1727
- slug?: string;
1728
- /**
1729
- * - Tags under a page.
1730
- */
1731
- tags?: string[];
1732
- /**
1733
- * - The title of the page.
1734
- */
1735
- title?: string;
1736
- /**
1737
- * - Type of editor through which the page was created
1738
- * so appropriate rendering engine is used.
1739
- */
1740
- type?: string;
1741
- seo?: SEO;
1742
- /**
1743
- * - Visibility of Page.
1744
- */
1745
- visibility?: any;
1746
- /**
1747
- * - Flag denoting whether the page is archived or not.
1748
- */
1749
- archived?: boolean;
1750
- };
1751
- /** @returns {CreatedBySchema} */
1752
- declare function CreatedBySchema(): CreatedBySchema;
1753
- type CreatedBySchema = {
1754
- /**
1755
- * - Details containing the creator of custom page.
1756
- */
1757
- id?: string;
1758
- };
1759
- /** @returns {SlideshowGetDetails} */
1760
- declare function SlideshowGetDetails(): SlideshowGetDetails;
1761
- type SlideshowGetDetails = {
1762
- /**
1763
- * - Details related to slideshow/screensaver.
1764
- */
1765
- items?: SlideshowSchema[];
1766
- page?: Page;
1767
- };
1768
- /** @returns {SlideshowSchema} */
1769
- declare function SlideshowSchema(): SlideshowSchema;
1770
- type SlideshowSchema = {
1771
- /**
1772
- * - Unique identifier of an entry.
1773
- */
1774
- _id?: string;
1775
- /**
1776
- * - Details related to slideshow/screensaver.
1777
- */
1778
- slug?: string;
1779
- date_meta?: DateMeta;
1780
- /**
1781
- * - Application ID - Identifier for a Sales channel.
1782
- */
1783
- application?: string;
1784
- /**
1785
- * - Details related to slideshow/screensaver.
1786
- */
1787
- platform?: string;
1788
- configuration?: ConfigurationSchema;
1789
- /**
1790
- * - Details related to slideshow/screensaver.
1791
- */
1792
- media?: SlideshowMedia[];
1793
- /**
1794
- * - Details related to slideshow/screensaver.
1795
- */
1796
- active?: boolean;
1797
- /**
1798
- * - Whether slideshow is deleted or not.
1799
- */
1800
- archived?: boolean;
1801
- /**
1802
- * - Custom JSON object for specific use cases.
1803
- */
1804
- _custom_json?: any;
1805
- };
1806
- /** @returns {Support} */
1807
- declare function Support(): Support;
1808
- type Support = {
1809
- /**
1810
- * - Whether support contact details are created or not.
1811
- */
1812
- created?: boolean;
1813
- /**
1814
- * - Unique identifier of an entry.
1815
- */
1816
- _id?: string;
1817
- /**
1818
- * - Application ID - Identifier for a Sales channel.
1819
- */
1820
- application?: string;
1821
- /**
1822
- * - Timestamp which represent the time when
1823
- * data was created.
1824
- */
1825
- created_at?: string;
1826
- /**
1827
- * - Timestamp which represent when was the last
1828
- * time when data was updated.
1829
- */
1830
- updated_at?: string;
1831
- contact?: ContactSchema;
1832
- };
1833
- /** @returns {PhoneProperties} */
1834
- declare function PhoneProperties(): PhoneProperties;
1835
- type PhoneProperties = {
1836
- /**
1837
- * - Name of the Contact SPOC.
1838
- */
1839
- key?: string;
1840
- /**
1841
- * - International dial Code.
1842
- */
1843
- code?: string;
1844
- /**
1845
- * - Phone Number.
1846
- */
1847
- number?: string;
1848
- /**
1849
- * - Denotes the type of phone number.
1850
- */
1851
- phone_type?: string;
1852
- };
1853
- /** @returns {PhoneSchema} */
1854
- declare function PhoneSchema(): PhoneSchema;
1855
- type PhoneSchema = {
1856
- /**
1857
- * - Flag denoting whether contact detail is active or not.
1858
- */
1859
- active?: boolean;
1860
- /**
1861
- * - Details related to phone contact of SPOC.
1862
- */
1863
- phone?: PhoneProperties[];
1864
- };
1865
- /** @returns {EmailProperties} */
1866
- declare function EmailProperties(): EmailProperties;
1867
- type EmailProperties = {
1868
- /**
1869
- * - Name of email SPOC.
1870
- */
1871
- key?: string;
1872
- /**
1873
- * - Email Id of the SPOC.
1874
- */
1875
- value?: string;
1876
- };
1877
- /** @returns {EmailSchema} */
1878
- declare function EmailSchema(): EmailSchema;
1879
- type EmailSchema = {
1880
- /**
1881
- * - Whether contact detail is active or not.
1882
- */
1883
- active?: boolean;
1884
- /**
1885
- * - Details related to email contact of SPOC.
1886
- */
1887
- email?: EmailProperties[];
1888
- };
1889
- /** @returns {ContactSchema} */
1890
- declare function ContactSchema(): ContactSchema;
1891
- type ContactSchema = {
1892
- phone?: PhoneSchema;
1893
- email?: EmailSchema;
1894
- };
1895
- /** @returns {TagsSchema} */
1896
- declare function TagsSchema(): TagsSchema;
1897
- type TagsSchema = {
1898
- /**
1899
- * - Application ID - Identifier for a Sales channel.
1900
- */
1901
- application?: string;
1902
- /**
1903
- * - Unique identifier of an entry.
1904
- */
1905
- _id?: string;
1906
- /**
1907
- * - List of Third party injectable html tags.
1908
- */
1909
- tags?: TagSchema[];
1910
- };
1911
- /** @returns {TagSchema} */
1912
- declare function TagSchema(): TagSchema;
1913
- type TagSchema = {
1914
- /**
1915
- * - Name of the html tag.
1916
- */
1917
- name?: string;
1918
- /**
1919
- * - URL at which css or js might be hosted.
1920
- */
1921
- url?: string;
1922
- /**
1923
- * - Whether Tag is JS or CSS.
1924
- */
1925
- type?: string;
1926
- /**
1927
- * - Whether js/css is external or inline.
1928
- */
1929
- sub_type?: string;
1930
- /**
1931
- * - Unique identifier of an entry.
1932
- */
1933
- _id?: string;
1934
- /**
1935
- * - Position where Tag is so to be placed.
1936
- */
1937
- position?: string;
1938
- /**
1939
- * - Custom JSON object for specific use cases.
1940
- */
1941
- attributes?: any;
1942
- /**
1943
- * - Content of tag.
1944
- */
1945
- content?: string;
1946
- /**
1947
- * - List of all the page where tag is to be added.
1948
- */
1949
- pages?: any[];
1950
- __source?: TagSourceSchema;
1951
- };
1952
- /** @returns {TagSourceSchema} */
1953
- declare function TagSourceSchema(): TagSourceSchema;
1954
- type TagSourceSchema = {
1955
- /**
1956
- * - Type of creator of tag.
1957
- */
1958
- type?: string;
1959
- /**
1960
- * - Identifier of an extension.
1961
- */
1962
- id?: string;
1963
- };
1964
- /** @returns {CustomObjectFieldValue} */
1965
- declare function CustomObjectFieldValue(): CustomObjectFieldValue;
1966
- type CustomObjectFieldValue = {
1967
- /**
1968
- * - Value of custom field.
1969
- */
1970
- value?: any;
1971
- };
1972
- /** @returns {CustomObjectListItemDefinationSchema} */
1973
- declare function CustomObjectListItemDefinationSchema(): CustomObjectListItemDefinationSchema;
1974
- type CustomObjectListItemDefinationSchema = {
1975
- /**
1976
- * - Unique identifier of an entry.
1977
- */
1978
- _id?: string;
1979
- /**
1980
- * - Name of definition of custom field.
1981
- */
1982
- name?: string;
1983
- /**
1984
- * - Data type of the custom field.
1985
- */
1986
- type?: string;
1987
- };
1988
- /** @returns {CustomObjectFieldSchema} */
1989
- declare function CustomObjectFieldSchema(): CustomObjectFieldSchema;
1990
- type CustomObjectFieldSchema = {
1991
- /**
1992
- * - Unique identifier of an entry.
1993
- */
1994
- _id?: string;
1995
- /**
1996
- * - Slug of custom field inside custom object.
1997
- */
1998
- slug?: string;
1999
- /**
2000
- * - Value of custom field inside
2001
- * custom object.
2002
- */
2003
- value?: CustomObjectFieldValue[];
2004
- /**
2005
- * - Data type of custom field inside custom object.
2006
- */
2007
- type?: string;
2008
- /**
2009
- * - Definition id of custom field inside
2010
- * custom object.
2011
- */
2012
- definition_id?: string;
2013
- };
2014
- /** @returns {CustomObjectByIdSchema} */
2015
- declare function CustomObjectByIdSchema(): CustomObjectByIdSchema;
2016
- type CustomObjectByIdSchema = {
2017
- /**
2018
- * - Unique identifier of an entry.
2019
- */
2020
- id?: string;
2021
- /**
2022
- * - String denoting whether custom object is active
2023
- * or inactive.
2024
- */
2025
- status?: string;
2026
- /**
2027
- * - Unique Display name of a custom object
2028
- * which is system generated: Concatenation of string definition name and _id.
2029
- */
2030
- display_name?: string;
2031
- definition?: CustomObjectListItemDefinationSchema;
2032
- /**
2033
- * - List of custom fields ids where the
2034
- * custom object is added as a field.
2035
- */
2036
- references?: any[];
2037
- /**
2038
- * - List of custom fields
2039
- * against a Custom Object.
2040
- */
2041
- fields?: CustomObjectFieldSchema[];
2042
- };
2043
- /** @returns {CustomFieldValue} */
2044
- declare function CustomFieldValue(): CustomFieldValue;
2045
- type CustomFieldValue = {
2046
- /**
2047
- * - Array containing value(s) of custom field.
2048
- */
2049
- value?: any;
2050
- };
2051
- /** @returns {CustomFieldSchema} */
2052
- declare function CustomFieldSchema(): CustomFieldSchema;
2053
- type CustomFieldSchema = {
2054
- /**
2055
- * - Unique identifier of an entry.
2056
- */
2057
- _id?: string;
2058
- /**
2059
- * - Namespace under which custom field is present.
2060
- */
2061
- namespace?: string;
2062
- /**
2063
- * - Unique identifier for a custom field in a given namespace.
2064
- */
2065
- slug?: string;
2066
- /**
2067
- * - Type of an entity under which custom field is defined.
2068
- */
2069
- resource?: string;
2070
- /**
2071
- * - Array containing values of custom field.
2072
- */
2073
- value?: CustomFieldValue[];
2074
- /**
2075
- * - Unique identifier for the entity under
2076
- * which custom field is defined.
2077
- */
2078
- resource_id?: string;
2079
- /**
2080
- * - The type type of custom field.
2081
- */
2082
- type?: string;
2083
- /**
2084
- * - Whether custom field can have multiple
2085
- * values or not.
2086
- */
2087
- multi_value?: boolean;
2088
- /**
2089
- * - Unique Identifier for a company.
2090
- */
2091
- company_id?: string;
2092
- /**
2093
- * - Application ID - Identifier for a Sales channel.
2094
- */
2095
- application_id?: string;
2096
- /**
2097
- * - Unique identifier for a custom field definition.
2098
- */
2099
- definition_id?: string;
2100
- /**
2101
- * - Whether the custom field has invalid values.
2102
- */
2103
- has_invalid_values?: boolean;
2104
- /**
2105
- * - Array denoting if there's a
2106
- * validation failure on a custom field inside a custom object.
2107
- */
2108
- invalid_value_errors?: any[];
2109
- /**
2110
- * - Whether the custom field definition is deleted.
2111
- */
2112
- is_deleted?: boolean;
2113
- /**
2114
- * - Timestamp which represent the time when
2115
- * data was created.
2116
- */
2117
- created_at?: string;
2118
- /**
2119
- * - Timestamp which represent when was the last
2120
- * time when data was updated.
2121
- */
2122
- updated_at?: string;
2123
- };
2124
- /** @returns {CustomFieldsResponseByResourceIdSchema} */
2125
- declare function CustomFieldsResponseByResourceIdSchema(): CustomFieldsResponseByResourceIdSchema;
2126
- type CustomFieldsResponseByResourceIdSchema = {
2127
- /**
2128
- * - List of custom fields against a resource.
2129
- */
2130
- items?: CustomFieldSchema[];
2131
- };
2132
- /** @returns {CustomObjectListItemSchema} */
2133
- declare function CustomObjectListItemSchema(): CustomObjectListItemSchema;
2134
- type CustomObjectListItemSchema = {
2135
- /**
2136
- * - Unique system generated if for a custom object
2137
- */
2138
- _id?: string;
2139
- /**
2140
- * - Unique system generated id for a custom
2141
- * object definition
2142
- */
2143
- definition_id?: string;
2144
- /**
2145
- * - Flag to denote whether custom object is active or not
2146
- */
2147
- status?: string;
2148
- /**
2149
- * - Updation time of custom object entry
2150
- */
2151
- updated_at?: string;
2152
- /**
2153
- * - A custom field inside custom object used
2154
- * to display the entry of custom object in listing
2155
- */
2156
- display_name?: string;
2157
- definition?: CustomObjectListItemDefinationSchema;
2158
- references?: number;
2159
- };
2160
- /** @returns {CustomObjectsSchema} */
2161
- declare function CustomObjectsSchema(): CustomObjectsSchema;
2162
- type CustomObjectsSchema = {
2163
- items?: CustomObjectListItemSchema[];
2164
- page?: Page;
2165
- };
2166
- /** @returns {ActionPage} */
2167
- declare function ActionPage(): ActionPage;
2168
- type ActionPage = {
2169
- /**
2170
- * - Parameters that should be considered in path.
2171
- */
2172
- params?: any;
2173
- /**
2174
- * - Query parameter if any to be added to the action.
2175
- */
2176
- query?: any;
2177
- /**
2178
- * - The URL for the action.
2179
- */
2180
- url?: string;
2181
- type: PageType;
2182
- };
2183
- /**
2184
- * Enum: PageType Used By: Content
2185
- *
2186
- * @returns {PageType}
2187
- */
2188
- declare function PageType(): PageType;
2189
- type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "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" | "locate-us";