@gofynd/fdk-client-javascript 0.1.35

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 (277) hide show
  1. package/.github/workflows/on_create_release.yml +23 -0
  2. package/.github/workflows/on_merge_main.yml +38 -0
  3. package/.github/workflows/on_pull_request.yml +35 -0
  4. package/.prettierrc +5 -0
  5. package/LICENSE +21 -0
  6. package/README.md +118 -0
  7. package/application.d.ts +3 -0
  8. package/application.js +6 -0
  9. package/common.d.ts +4 -0
  10. package/common.js +9 -0
  11. package/documentation/application/CART.md +7290 -0
  12. package/documentation/application/CATALOG.md +9570 -0
  13. package/documentation/application/COMMON.md +448 -0
  14. package/documentation/application/COMMUNICATION.md +463 -0
  15. package/documentation/application/CONFIGURATION.md +2902 -0
  16. package/documentation/application/CONTENT.md +3350 -0
  17. package/documentation/application/FILESTORAGE.md +491 -0
  18. package/documentation/application/LEAD.md +1891 -0
  19. package/documentation/application/LOGISTIC.md +439 -0
  20. package/documentation/application/ORDER.md +3428 -0
  21. package/documentation/application/PAYMENT.md +5035 -0
  22. package/documentation/application/POSCART.md +7889 -0
  23. package/documentation/application/README.md +21 -0
  24. package/documentation/application/REWARDS.md +714 -0
  25. package/documentation/application/SHARE.md +729 -0
  26. package/documentation/application/THEME.md +5796 -0
  27. package/documentation/application/USER.md +4326 -0
  28. package/documentation/platform/ANALYTICS.md +1150 -0
  29. package/documentation/platform/AUDITTRAIL.md +572 -0
  30. package/documentation/platform/BILLING.md +2396 -0
  31. package/documentation/platform/CART.md +5539 -0
  32. package/documentation/platform/CATALOG.md +21624 -0
  33. package/documentation/platform/COMMON.md +448 -0
  34. package/documentation/platform/COMMUNICATION.md +5714 -0
  35. package/documentation/platform/COMPANYPROFILE.md +2141 -0
  36. package/documentation/platform/CONFIGURATION.md +7335 -0
  37. package/documentation/platform/CONTENT.md +8989 -0
  38. package/documentation/platform/DISCOUNT.md +773 -0
  39. package/documentation/platform/FILESTORAGE.md +994 -0
  40. package/documentation/platform/INVENTORY.md +1775 -0
  41. package/documentation/platform/LEAD.md +4736 -0
  42. package/documentation/platform/ORDER.md +3764 -0
  43. package/documentation/platform/PARTNER.md +216 -0
  44. package/documentation/platform/PAYMENT.md +3444 -0
  45. package/documentation/platform/README.md +27 -0
  46. package/documentation/platform/REWARDS.md +871 -0
  47. package/documentation/platform/SHARE.md +602 -0
  48. package/documentation/platform/THEME.md +35725 -0
  49. package/documentation/platform/USER.md +2305 -0
  50. package/documentation/platform/WEBHOOK.md +587 -0
  51. package/documentation/public/CONFIGURATION.md +448 -0
  52. package/documentation/public/INVENTORY.md +686 -0
  53. package/documentation/public/WEBHOOK.md +348 -0
  54. package/index.d.ts +10 -0
  55. package/index.js +18 -0
  56. package/jest.config.d.ts +4 -0
  57. package/jest.config.js +6 -0
  58. package/package.json +35 -0
  59. package/platform.d.ts +3 -0
  60. package/platform.js +6 -0
  61. package/public.d.ts +3 -0
  62. package/public.js +6 -0
  63. package/sdk/application/ApplicationAPIClient.d.ts +11 -0
  64. package/sdk/application/ApplicationAPIClient.js +44 -0
  65. package/sdk/application/ApplicationClient.d.ts +40 -0
  66. package/sdk/application/ApplicationClient.js +84 -0
  67. package/sdk/application/ApplicationConfig.d.ts +19 -0
  68. package/sdk/application/ApplicationConfig.js +55 -0
  69. package/sdk/application/ApplicationModels.d.ts +826 -0
  70. package/sdk/application/ApplicationModels.js +10474 -0
  71. package/sdk/application/client/CartApplicationClient.d.ts +432 -0
  72. package/sdk/application/client/CartApplicationClient.js +1066 -0
  73. package/sdk/application/client/CatalogApplicationClient.d.ts +694 -0
  74. package/sdk/application/client/CatalogApplicationClient.js +1629 -0
  75. package/sdk/application/client/CommonApplicationClient.d.ts +38 -0
  76. package/sdk/application/client/CommonApplicationClient.js +105 -0
  77. package/sdk/application/client/CommunicationApplicationClient.d.ts +39 -0
  78. package/sdk/application/client/CommunicationApplicationClient.js +131 -0
  79. package/sdk/application/client/ConfigurationApplicationClient.d.ts +210 -0
  80. package/sdk/application/client/ConfigurationApplicationClient.js +649 -0
  81. package/sdk/application/client/ContentApplicationClient.d.ts +256 -0
  82. package/sdk/application/client/ContentApplicationClient.js +785 -0
  83. package/sdk/application/client/FileStorageApplicationClient.d.ts +88 -0
  84. package/sdk/application/client/FileStorageApplicationClient.js +214 -0
  85. package/sdk/application/client/LeadApplicationClient.d.ts +90 -0
  86. package/sdk/application/client/LeadApplicationClient.js +264 -0
  87. package/sdk/application/client/LogisticApplicationClient.d.ts +42 -0
  88. package/sdk/application/client/LogisticApplicationClient.js +128 -0
  89. package/sdk/application/client/OrderApplicationClient.d.ts +190 -0
  90. package/sdk/application/client/OrderApplicationClient.js +479 -0
  91. package/sdk/application/client/PaymentApplicationClient.d.ts +454 -0
  92. package/sdk/application/client/PaymentApplicationClient.js +1378 -0
  93. package/sdk/application/client/PosCartApplicationClient.d.ts +449 -0
  94. package/sdk/application/client/PosCartApplicationClient.js +1123 -0
  95. package/sdk/application/client/RewardsApplicationClient.d.ts +93 -0
  96. package/sdk/application/client/RewardsApplicationClient.js +293 -0
  97. package/sdk/application/client/ShareApplicationClient.d.ts +87 -0
  98. package/sdk/application/client/ShareApplicationClient.js +268 -0
  99. package/sdk/application/client/ThemeApplicationClient.d.ts +52 -0
  100. package/sdk/application/client/ThemeApplicationClient.js +161 -0
  101. package/sdk/application/client/UserApplicationClient.d.ts +446 -0
  102. package/sdk/application/client/UserApplicationClient.js +1275 -0
  103. package/sdk/application/constructUrl.d.ts +5 -0
  104. package/sdk/application/constructUrl.js +13 -0
  105. package/sdk/application/index.d.ts +2 -0
  106. package/sdk/application/index.js +4 -0
  107. package/sdk/application/models/CartValidator.d.ts +29 -0
  108. package/sdk/application/models/CartValidator.js +223 -0
  109. package/sdk/application/models/CatalogValidator.d.ts +33 -0
  110. package/sdk/application/models/CatalogValidator.js +233 -0
  111. package/sdk/application/models/CommonValidator.d.ts +5 -0
  112. package/sdk/application/models/CommonValidator.js +18 -0
  113. package/sdk/application/models/CommunicationValidator.d.ts +6 -0
  114. package/sdk/application/models/CommunicationValidator.js +20 -0
  115. package/sdk/application/models/ConfigurationValidator.d.ts +19 -0
  116. package/sdk/application/models/ConfigurationValidator.js +88 -0
  117. package/sdk/application/models/ContentValidator.d.ts +22 -0
  118. package/sdk/application/models/ContentValidator.js +106 -0
  119. package/sdk/application/models/FileStorageValidator.d.ts +6 -0
  120. package/sdk/application/models/FileStorageValidator.js +24 -0
  121. package/sdk/application/models/LeadValidator.d.ts +10 -0
  122. package/sdk/application/models/LeadValidator.js +48 -0
  123. package/sdk/application/models/LogisticValidator.d.ts +6 -0
  124. package/sdk/application/models/LogisticValidator.js +22 -0
  125. package/sdk/application/models/OrderValidator.d.ts +15 -0
  126. package/sdk/application/models/OrderValidator.js +87 -0
  127. package/sdk/application/models/PaymentValidator.d.ts +40 -0
  128. package/sdk/application/models/PaymentValidator.js +235 -0
  129. package/sdk/application/models/PosCartValidator.d.ts +30 -0
  130. package/sdk/application/models/PosCartValidator.js +232 -0
  131. package/sdk/application/models/RewardsValidator.d.ts +10 -0
  132. package/sdk/application/models/RewardsValidator.js +43 -0
  133. package/sdk/application/models/ShareValidator.d.ts +10 -0
  134. package/sdk/application/models/ShareValidator.js +44 -0
  135. package/sdk/application/models/ThemeValidator.d.ts +7 -0
  136. package/sdk/application/models/ThemeValidator.js +27 -0
  137. package/sdk/application/models/UserValidator.d.ts +38 -0
  138. package/sdk/application/models/UserValidator.js +233 -0
  139. package/sdk/common/AxiosHelper.d.ts +1 -0
  140. package/sdk/common/AxiosHelper.js +141 -0
  141. package/sdk/common/Constant.d.ts +294 -0
  142. package/sdk/common/Constant.js +332 -0
  143. package/sdk/common/FDKError.d.ts +26 -0
  144. package/sdk/common/FDKError.js +51 -0
  145. package/sdk/common/Logger.d.ts +2 -0
  146. package/sdk/common/Logger.js +85 -0
  147. package/sdk/common/Paginator.d.ts +16 -0
  148. package/sdk/common/Paginator.js +26 -0
  149. package/sdk/common/RequestSigner.d.ts +1 -0
  150. package/sdk/common/RequestSigner.js +306 -0
  151. package/sdk/common/Utility.d.ts +9 -0
  152. package/sdk/common/Utility.js +86 -0
  153. package/sdk/common/utils.d.ts +14 -0
  154. package/sdk/common/utils.js +165 -0
  155. package/sdk/platform/OAuthClient.d.ts +26 -0
  156. package/sdk/platform/OAuthClient.js +221 -0
  157. package/sdk/platform/PlatformAPIClient.d.ts +12 -0
  158. package/sdk/platform/PlatformAPIClient.js +43 -0
  159. package/sdk/platform/PlatformApplicationClient.d.ts +24398 -0
  160. package/sdk/platform/PlatformApplicationClient.js +23185 -0
  161. package/sdk/platform/PlatformApplicationModels.d.ts +333 -0
  162. package/sdk/platform/PlatformApplicationModels.js +21262 -0
  163. package/sdk/platform/PlatformClient.d.ts +9535 -0
  164. package/sdk/platform/PlatformClient.js +12336 -0
  165. package/sdk/platform/PlatformConfig.d.ts +29 -0
  166. package/sdk/platform/PlatformConfig.js +36 -0
  167. package/sdk/platform/PlatformModels.d.ts +1396 -0
  168. package/sdk/platform/PlatformModels.js +19222 -0
  169. package/sdk/platform/client/AnalyticsPlatformClient.d.ts +84 -0
  170. package/sdk/platform/client/AnalyticsPlatformClient.js +215 -0
  171. package/sdk/platform/client/AuditTrailPlatformClient.d.ts +38 -0
  172. package/sdk/platform/client/AuditTrailPlatformClient.js +133 -0
  173. package/sdk/platform/client/BillingPlatformClient.d.ts +109 -0
  174. package/sdk/platform/client/BillingPlatformClient.js +381 -0
  175. package/sdk/platform/client/CatalogPlatformClient.d.ts +806 -0
  176. package/sdk/platform/client/CatalogPlatformClient.js +2462 -0
  177. package/sdk/platform/client/CommonPlatformClient.d.ts +30 -0
  178. package/sdk/platform/client/CommonPlatformClient.js +84 -0
  179. package/sdk/platform/client/CommunicationPlatformClient.d.ts +26 -0
  180. package/sdk/platform/client/CommunicationPlatformClient.js +72 -0
  181. package/sdk/platform/client/CompanyProfilePlatformClient.d.ts +182 -0
  182. package/sdk/platform/client/CompanyProfilePlatformClient.js +540 -0
  183. package/sdk/platform/client/ConfigurationPlatformClient.d.ts +277 -0
  184. package/sdk/platform/client/ConfigurationPlatformClient.js +806 -0
  185. package/sdk/platform/client/DiscountPlatformClient.d.ts +118 -0
  186. package/sdk/platform/client/DiscountPlatformClient.js +364 -0
  187. package/sdk/platform/client/FileStoragePlatformClient.d.ts +111 -0
  188. package/sdk/platform/client/FileStoragePlatformClient.js +268 -0
  189. package/sdk/platform/client/InventoryPlatformClient.d.ts +125 -0
  190. package/sdk/platform/client/InventoryPlatformClient.js +409 -0
  191. package/sdk/platform/client/LeadPlatformClient.d.ts +150 -0
  192. package/sdk/platform/client/LeadPlatformClient.js +439 -0
  193. package/sdk/platform/client/OrderPlatformClient.d.ts +190 -0
  194. package/sdk/platform/client/OrderPlatformClient.js +521 -0
  195. package/sdk/platform/client/PaymentPlatformClient.d.ts +98 -0
  196. package/sdk/platform/client/PaymentPlatformClient.js +331 -0
  197. package/sdk/platform/client/WebhookPlatformClient.d.ts +64 -0
  198. package/sdk/platform/client/WebhookPlatformClient.js +207 -0
  199. package/sdk/platform/index.d.ts +2 -0
  200. package/sdk/platform/index.js +4 -0
  201. package/sdk/platform/models/AnalyticsValidator.d.ts +7 -0
  202. package/sdk/platform/models/AnalyticsValidator.js +36 -0
  203. package/sdk/platform/models/AuditTrailValidator.d.ts +7 -0
  204. package/sdk/platform/models/AuditTrailValidator.js +26 -0
  205. package/sdk/platform/models/BillingValidator.d.ts +15 -0
  206. package/sdk/platform/models/BillingValidator.js +72 -0
  207. package/sdk/platform/models/CartValidator.d.ts +0 -0
  208. package/sdk/platform/models/CartValidator.js +0 -0
  209. package/sdk/platform/models/CatalogValidator.d.ts +74 -0
  210. package/sdk/platform/models/CatalogValidator.js +484 -0
  211. package/sdk/platform/models/CommonValidator.d.ts +5 -0
  212. package/sdk/platform/models/CommonValidator.js +18 -0
  213. package/sdk/platform/models/CommunicationValidator.d.ts +4 -0
  214. package/sdk/platform/models/CommunicationValidator.js +11 -0
  215. package/sdk/platform/models/CompanyProfileValidator.d.ts +17 -0
  216. package/sdk/platform/models/CompanyProfileValidator.js +93 -0
  217. package/sdk/platform/models/ConfigurationValidator.d.ts +21 -0
  218. package/sdk/platform/models/ConfigurationValidator.js +134 -0
  219. package/sdk/platform/models/ContentValidator.d.ts +0 -0
  220. package/sdk/platform/models/ContentValidator.js +0 -0
  221. package/sdk/platform/models/DiscountValidator.d.ts +13 -0
  222. package/sdk/platform/models/DiscountValidator.js +75 -0
  223. package/sdk/platform/models/FileStorageValidator.d.ts +9 -0
  224. package/sdk/platform/models/FileStorageValidator.js +44 -0
  225. package/sdk/platform/models/InventoryValidator.d.ts +15 -0
  226. package/sdk/platform/models/InventoryValidator.js +81 -0
  227. package/sdk/platform/models/LeadValidator.d.ts +14 -0
  228. package/sdk/platform/models/LeadValidator.js +78 -0
  229. package/sdk/platform/models/OrderValidator.d.ts +14 -0
  230. package/sdk/platform/models/OrderValidator.js +110 -0
  231. package/sdk/platform/models/PartnerValidator.d.ts +0 -0
  232. package/sdk/platform/models/PartnerValidator.js +0 -0
  233. package/sdk/platform/models/PaymentValidator.d.ts +13 -0
  234. package/sdk/platform/models/PaymentValidator.js +65 -0
  235. package/sdk/platform/models/RewardsValidator.d.ts +0 -0
  236. package/sdk/platform/models/RewardsValidator.js +0 -0
  237. package/sdk/platform/models/ShareValidator.d.ts +0 -0
  238. package/sdk/platform/models/ShareValidator.js +0 -0
  239. package/sdk/platform/models/ThemeValidator.d.ts +0 -0
  240. package/sdk/platform/models/ThemeValidator.js +0 -0
  241. package/sdk/platform/models/UserValidator.d.ts +0 -0
  242. package/sdk/platform/models/UserValidator.js +0 -0
  243. package/sdk/platform/models/WebhookValidator.d.ts +9 -0
  244. package/sdk/platform/models/WebhookValidator.js +42 -0
  245. package/sdk/public/PublicAPIClient.d.ts +11 -0
  246. package/sdk/public/PublicAPIClient.js +38 -0
  247. package/sdk/public/PublicClient.d.ts +12 -0
  248. package/sdk/public/PublicClient.js +24 -0
  249. package/sdk/public/PublicConfig.d.ts +10 -0
  250. package/sdk/public/PublicConfig.js +12 -0
  251. package/sdk/public/PublicModels.d.ts +50 -0
  252. package/sdk/public/PublicModels.js +712 -0
  253. package/sdk/public/client/ConfigurationPublicClient.d.ts +38 -0
  254. package/sdk/public/client/ConfigurationPublicClient.js +102 -0
  255. package/sdk/public/client/InventoryPublicClient.d.ts +81 -0
  256. package/sdk/public/client/InventoryPublicClient.js +239 -0
  257. package/sdk/public/client/WebhookPublicClient.d.ts +28 -0
  258. package/sdk/public/client/WebhookPublicClient.js +92 -0
  259. package/sdk/public/constructUrl.d.ts +5 -0
  260. package/sdk/public/constructUrl.js +13 -0
  261. package/sdk/public/index.d.ts +2 -0
  262. package/sdk/public/index.js +4 -0
  263. package/sdk/public/models/ConfigurationValidator.d.ts +5 -0
  264. package/sdk/public/models/ConfigurationValidator.js +18 -0
  265. package/sdk/public/models/InventoryValidator.d.ts +9 -0
  266. package/sdk/public/models/InventoryValidator.js +43 -0
  267. package/sdk/public/models/WebhookValidator.d.ts +5 -0
  268. package/sdk/public/models/WebhookValidator.js +14 -0
  269. package/tests/application/catalog.spec.js +47 -0
  270. package/tests/common/action-url.spec.js +35 -0
  271. package/tests/common/schema/action-url.json +163 -0
  272. package/tests/common/schema/url-action.json +667 -0
  273. package/tests/common/url-action.spec.js +48 -0
  274. package/tests/helpers/cookie.helper.js +31 -0
  275. package/tests/helpers/oauth.helper.js +43 -0
  276. package/tests/platform/catalog.spec.js +49 -0
  277. package/tests/public/location.spec.js +39 -0
@@ -0,0 +1,256 @@
1
+ export = Content;
2
+ declare class Content {
3
+ constructor(_conf: any);
4
+ _conf: any;
5
+ _relativeUrls: {
6
+ getAnnouncements: string;
7
+ getBlog: string;
8
+ getBlogs: string;
9
+ getDataLoaders: string;
10
+ getFaqs: string;
11
+ getFaqCategories: string;
12
+ getFaqBySlug: string;
13
+ getFaqCategoryBySlug: string;
14
+ getFaqsByCategorySlug: string;
15
+ getLandingPage: string;
16
+ getLegalInformation: string;
17
+ getNavigations: string;
18
+ getSEOConfiguration: string;
19
+ getSlideshows: string;
20
+ getSlideshow: string;
21
+ getSupportInformation: string;
22
+ getTags: string;
23
+ getPage: string;
24
+ getPages: string;
25
+ };
26
+ _urls: {};
27
+ updateUrls(urls: any): void;
28
+ /**
29
+ * @param {Object} arg - Arg object.
30
+ * @returns {Promise<AnnouncementsResponseSchema>} - Success response
31
+ * @summary: Get live announcements
32
+ * @description: Announcements are useful to highlight a message or information on top of a webpage. Use this API to retrieve live announcements. Get announcements on individual pages or for all pages.
33
+ */
34
+ getAnnouncements({}?: any): Promise<any>;
35
+ /**
36
+ * @param {Object} arg - Arg object.
37
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
38
+ * identifier of a blog. You can get slug value from the endpoint
39
+ * /service/application/content/v1.0/blogs/.
40
+ * @param {string} [arg.rootId] - ID given to the HTML element
41
+ * @returns {Promise<BlogSchema>} - Success response
42
+ * @summary: Get a blog
43
+ * @description: Use this API to get the details of a blog using its slug. Details include the title, reading time, publish status, feature image, tags, author, etc.
44
+ */
45
+ getBlog({ slug, rootId }?: {
46
+ slug: string;
47
+ rootId?: string;
48
+ }): Promise<any>;
49
+ /**
50
+ * @param {Object} arg - Arg object.
51
+ * @param {number} [arg.pageNo] - The page number to navigate through the
52
+ * given set of results. Default value is 1.
53
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
54
+ * @returns {Promise<BlogGetResponse>} - Success response
55
+ * @summary: Get a list of blogs
56
+ * @description: Use this API to get all the blogs.
57
+ */
58
+ getBlogs({ pageNo, pageSize }?: {
59
+ pageNo?: number;
60
+ pageSize?: number;
61
+ }): Promise<any>;
62
+ /**
63
+ * @param {Object} arg - Arg object.
64
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
65
+ * @summary: Get a list of blogs
66
+ * @description: Use this API to get all the blogs.
67
+ */
68
+ getBlogsPaginator({ pageSize }?: {
69
+ pageSize?: number;
70
+ }): Paginator;
71
+ /**
72
+ * @param {Object} arg - Arg object.
73
+ * @returns {Promise<DataLoadersSchema>} - Success response
74
+ * @summary: Get the data loaders associated with an application
75
+ * @description: Use this API to get all selected data loaders of the application in the form of tags.
76
+ */
77
+ getDataLoaders({}?: any): Promise<any>;
78
+ /**
79
+ * @param {Object} arg - Arg object.
80
+ * @returns {Promise<FaqResponseSchema>} - Success response
81
+ * @summary: Get a list of FAQs
82
+ * @description: Use this API to get a list of frequently asked questions. Users will benefit from it when facing any issue with the website.
83
+ */
84
+ getFaqs({}?: any): Promise<any>;
85
+ /**
86
+ * @param {Object} arg - Arg object.
87
+ * @returns {Promise<GetFaqCategoriesSchema>} - Success response
88
+ * @summary: Get a list of FAQ categories
89
+ * @description: FAQs can be divided into categories. Use this API to get a list of FAQ categories.
90
+ */
91
+ getFaqCategories({}?: any): Promise<any>;
92
+ /**
93
+ * @param {Object} arg - Arg object.
94
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
95
+ * identifier of an FAQ. You can get slug value from the endpoint
96
+ * /service/application/content/v1.0/faq.
97
+ * @returns {Promise<FaqSchema>} - Success response
98
+ * @summary: Get an FAQ
99
+ * @description: Use this API to get a particular FAQ by its slug.
100
+ */
101
+ getFaqBySlug({ slug }?: {
102
+ slug: string;
103
+ }): Promise<any>;
104
+ /**
105
+ * @param {Object} arg - Arg object.
106
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
107
+ * identifier of an FAQ category. You can get slug value from the endpoint
108
+ * /service/application/content/v1.0/faq/categories.
109
+ * @returns {Promise<GetFaqCategoryBySlugSchema>} - Success response
110
+ * @summary: Get the FAQ category
111
+ * @description: FAQs can be divided into categories. Use this API to get the category to which an FAQ belongs.
112
+ */
113
+ getFaqCategoryBySlug({ slug }?: {
114
+ slug: string;
115
+ }): Promise<any>;
116
+ /**
117
+ * @param {Object} arg - Arg object.
118
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
119
+ * identifier of an FAQ category. You can get slug value from the endpoint
120
+ * /service/application/content/v1.0/faq/categories.
121
+ * @returns {Promise<GetFaqSchema>} - Success response
122
+ * @summary: Get FAQs using the slug of FAQ category
123
+ * @description: FAQs can be divided into categories. Use this API to get all the FAQs belonging to a category by using the category slug.
124
+ */
125
+ getFaqsByCategorySlug({ slug }?: {
126
+ slug: string;
127
+ }): Promise<any>;
128
+ /**
129
+ * @param {Object} arg - Arg object.
130
+ * @returns {Promise<LandingPageSchema>} - Success response
131
+ * @summary: Get the landing page
132
+ * @description: Landing page is the first page that a prospect lands upon while visiting a website. Use this API to fetch the details of a landing page.
133
+ */
134
+ getLandingPage({}?: any): Promise<any>;
135
+ /**
136
+ * @param {Object} arg - Arg object.
137
+ * @returns {Promise<ApplicationLegal>} - Success response
138
+ * @summary: Get legal information
139
+ * @description: Use this API to get the legal information of an application, which includes Privacy Policy, Terms and Conditions, Shipping Policy and FAQs regarding the usage of the application.
140
+ */
141
+ getLegalInformation({}?: any): Promise<any>;
142
+ /**
143
+ * @param {Object} arg - Arg object.
144
+ * @param {number} [arg.pageNo] - The page number to navigate through the
145
+ * given set of results. Default value is 1.
146
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
147
+ * @returns {Promise<NavigationGetResponse>} - Success response
148
+ * @summary: Get the navigation
149
+ * @description: Use this API to fetch the navigations details which includes the items of the navigation pane. It also shows the links and sub-navigations.
150
+ */
151
+ getNavigations({ pageNo, pageSize }?: {
152
+ pageNo?: number;
153
+ pageSize?: number;
154
+ }): Promise<any>;
155
+ /**
156
+ * @param {Object} arg - Arg object.
157
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
158
+ * @summary: Get the navigation
159
+ * @description: Use this API to fetch the navigations details which includes the items of the navigation pane. It also shows the links and sub-navigations.
160
+ */
161
+ getNavigationsPaginator({ pageSize }?: {
162
+ pageSize?: number;
163
+ }): Paginator;
164
+ /**
165
+ * @param {Object} arg - Arg object.
166
+ * @returns {Promise<SeoComponent>} - Success response
167
+ * @summary: Get the SEO of an application
168
+ * @description: Use this API to get the SEO details of an application, which includes a robot.txt, meta-tags and sitemap.
169
+ */
170
+ getSEOConfiguration({}?: any): Promise<any>;
171
+ /**
172
+ * @param {Object} arg - Arg object.
173
+ * @param {number} [arg.pageNo] - The page number to navigate through the
174
+ * given set of results. Default value is 1.
175
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
176
+ * @returns {Promise<SlideshowGetResponse>} - Success response
177
+ * @summary: Get the slideshows
178
+ * @description: Use this API to get a list of slideshows along with their details.
179
+ */
180
+ getSlideshows({ pageNo, pageSize }?: {
181
+ pageNo?: number;
182
+ pageSize?: number;
183
+ }): Promise<any>;
184
+ /**
185
+ * @param {Object} arg - Arg object.
186
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
187
+ * @summary: Get the slideshows
188
+ * @description: Use this API to get a list of slideshows along with their details.
189
+ */
190
+ getSlideshowsPaginator({ pageSize }?: {
191
+ pageSize?: number;
192
+ }): Paginator;
193
+ /**
194
+ * @param {Object} arg - Arg object.
195
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
196
+ * identifier of a slideshow. You can get slug value from the endpoint
197
+ * /service/application/content/v1.0/slideshow/.
198
+ * @returns {Promise<SlideshowSchema>} - Success response
199
+ * @summary: Get a slideshow
200
+ * @description: A slideshow is a group of images, videos or a combination of both that are shown on the website in the form of slides. Use this API to fetch a slideshow using its `slug`.
201
+ */
202
+ getSlideshow({ slug }?: {
203
+ slug: string;
204
+ }): Promise<any>;
205
+ /**
206
+ * @param {Object} arg - Arg object.
207
+ * @returns {Promise<Support>} - Success response
208
+ * @summary: Get the support information
209
+ * @description: Use this API to get contact details for customer support including emails and phone numbers.
210
+ */
211
+ getSupportInformation({}?: any): Promise<any>;
212
+ /**
213
+ * @param {Object} arg - Arg object.
214
+ * @returns {Promise<TagsSchema>} - Success response
215
+ * @summary: Get the tags associated with an application
216
+ * @description: Use this API to get all the CSS and JS injected in the application in the form of tags.
217
+ */
218
+ getTags({}?: any): Promise<any>;
219
+ /**
220
+ * @param {Object} arg - Arg object.
221
+ * @param {string} arg.slug - A short, human-readable, URL-friendly
222
+ * identifier of a page. You can get slug value from the endpoint
223
+ * /service/application/content/v2.0/pages/.
224
+ * @param {string} [arg.rootId] - ID given to the HTML element
225
+ * @returns {Promise<PageSchema>} - Success response
226
+ * @summary: Get a page
227
+ * @description: Use this API to get the details of a page using its slug. Details include the title, seo, publish status, feature image, tags, meta, etc.
228
+ */
229
+ getPage({ slug, rootId }?: {
230
+ slug: string;
231
+ rootId?: string;
232
+ }): Promise<any>;
233
+ /**
234
+ * @param {Object} arg - Arg object.
235
+ * @param {number} [arg.pageNo] - The page number to navigate through the
236
+ * given set of results. Default value is 1.
237
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
238
+ * @returns {Promise<PageGetResponse>} - Success response
239
+ * @summary: Get all pages
240
+ * @description: Use this API to get a list of pages.
241
+ */
242
+ getPages({ pageNo, pageSize }?: {
243
+ pageNo?: number;
244
+ pageSize?: number;
245
+ }): Promise<any>;
246
+ /**
247
+ * @param {Object} arg - Arg object.
248
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
249
+ * @summary: Get all pages
250
+ * @description: Use this API to get a list of pages.
251
+ */
252
+ getPagesPaginator({ pageSize }?: {
253
+ pageSize?: number;
254
+ }): Paginator;
255
+ }
256
+ import Paginator = require("../../common/Paginator");