@gofynd/fdk-client-javascript 1.4.15-beta.2 → 1.4.15-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/application.d.ts +1 -2
- package/application.js +2 -3
- package/index.d.ts +1 -2
- package/index.js +7 -1
- package/package.json +2 -3
- package/sdk/application/ApplicationClient.js +0 -18
- package/sdk/application/Cart/CartApplicationClient.d.ts +55 -90
- package/sdk/application/Cart/CartApplicationClient.js +27 -1203
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +80 -142
- package/sdk/application/Catalog/CatalogApplicationClient.js +40 -1344
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
- package/sdk/application/Common/CommonApplicationClient.js +2 -92
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -148
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -727
- package/sdk/application/Content/ContentApplicationClient.d.ts +46 -78
- package/sdk/application/Content/ContentApplicationClient.js +23 -941
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -11
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +4 -134
- package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
- package/sdk/application/Lead/LeadApplicationClient.js +5 -217
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -39
- package/sdk/application/Logistic/LogisticApplicationClient.js +11 -496
- package/sdk/application/Order/OrderApplicationClient.d.ts +22 -42
- package/sdk/application/Order/OrderApplicationClient.js +11 -505
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +92 -212
- package/sdk/application/Payment/PaymentApplicationClient.js +46 -2106
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -28
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -311
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
- package/sdk/application/Share/ShareApplicationClient.js +7 -309
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
- package/sdk/application/Theme/ThemeApplicationClient.js +4 -174
- package/sdk/application/User/UserApplicationClient.d.ts +85 -136
- package/sdk/application/User/UserApplicationClient.js +42 -1818
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +2 -5
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -50
- package/sdk/application/index.d.ts +0 -18
- package/sdk/application/index.js +0 -33
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +7 -0
- package/sdk/platform/Cart/CartPlatformModel.js +3 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +0 -7
- package/sdk/platform/Catalog/CatalogPlatformModel.js +0 -3
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +3 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.js +4 -2
- package/sdk/public/Content/ContentPublicClient.js +4 -2
- package/sdk/public/Partner/PartnerPublicClient.js +4 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +4 -2
- package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
- package/sdk/application/Cart/CartApplicationModel.js +0 -2497
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
- package/sdk/application/Cart/CartApplicationValidator.js +0 -530
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
- package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
- package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
- package/sdk/application/Common/CommonApplicationModel.js +0 -308
- package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
- package/sdk/application/Common/CommonApplicationValidator.js +0 -38
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
- package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
- package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
- package/sdk/application/Content/ContentApplicationModel.js +0 -1589
- package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
- package/sdk/application/Content/ContentApplicationValidator.js +0 -264
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
- package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
- package/sdk/application/Lead/LeadApplicationModel.js +0 -480
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
- package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
- package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
- package/sdk/application/Order/OrderApplicationModel.js +0 -1471
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
- package/sdk/application/Order/OrderApplicationValidator.js +0 -197
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
- package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
- package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
- package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
- package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
- package/sdk/application/Share/ShareApplicationModel.js +0 -234
- package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
- package/sdk/application/Share/ShareApplicationValidator.js +0 -91
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
- package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
- package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
- package/sdk/application/User/UserApplicationModel.js +0 -1382
- package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
- package/sdk/application/User/UserApplicationValidator.js +0 -573
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
- package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
- package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
- package/sdk/common/Clickstream.d.ts +0 -1
- package/sdk/common/Clickstream.js +0 -464
|
@@ -29,244 +29,212 @@ declare class Content {
|
|
|
29
29
|
_urls: {};
|
|
30
30
|
updateUrls(urls: any): void;
|
|
31
31
|
/**
|
|
32
|
-
* @param {ContentApplicationValidator.GetAnnouncementsParam} arg - Arg object.
|
|
33
32
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
34
33
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
35
|
-
* @returns {Promise<
|
|
36
|
-
* - Success response
|
|
37
|
-
*
|
|
34
|
+
* @returns {Promise<AnnouncementsResponseSchema>} - Success response
|
|
38
35
|
* @name getAnnouncements
|
|
39
36
|
* @summary: List announcements
|
|
40
37
|
* @description: List all current announcements in the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getAnnouncements/).
|
|
41
38
|
*/
|
|
42
|
-
getAnnouncements({ requestHeaders }?:
|
|
39
|
+
getAnnouncements({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AnnouncementsResponseSchema>;
|
|
43
40
|
/**
|
|
44
|
-
* @param {ContentApplicationValidator.GetBlogParam} arg - Arg object.
|
|
45
41
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
46
42
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
47
|
-
* @returns {Promise<
|
|
43
|
+
* @returns {Promise<BlogSchema>} - Success response
|
|
48
44
|
* @name getBlog
|
|
49
45
|
* @summary: Get a blog
|
|
50
46
|
* @description: Get information related to a specific blog such as it's contents, author, publish date, SEO related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlog/).
|
|
51
47
|
*/
|
|
52
|
-
getBlog({ slug, rootId, requestHeaders }?:
|
|
48
|
+
getBlog({ slug, rootId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<BlogSchema>;
|
|
53
49
|
/**
|
|
54
|
-
* @param {ContentApplicationValidator.GetBlogsParam} arg - Arg object.
|
|
55
50
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
56
51
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
57
|
-
* @returns {Promise<
|
|
52
|
+
* @returns {Promise<BlogGetResponse>} - Success response
|
|
58
53
|
* @name getBlogs
|
|
59
54
|
* @summary: List blogs
|
|
60
55
|
* @description: List all the blogs against an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlogs/).
|
|
61
56
|
*/
|
|
62
|
-
getBlogs({ pageNo, pageSize, tags, search, requestHeaders }?:
|
|
57
|
+
getBlogs({ pageNo, pageSize, tags, search, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<BlogGetResponse>;
|
|
63
58
|
/**
|
|
64
|
-
* @param {ContentApplicationValidator.GetCustomFieldsParam} arg - Arg object.
|
|
65
59
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
66
60
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
67
|
-
* @returns {Promise<
|
|
68
|
-
* - Success response
|
|
69
|
-
*
|
|
61
|
+
* @returns {Promise<CustomFieldsResponseByResourceIdSchema>} - Success response
|
|
70
62
|
* @name getCustomFields
|
|
71
63
|
* @summary: Get list of custom fields
|
|
72
64
|
* @description: List custom fields attached to a particular resource by using the resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFields/).
|
|
73
65
|
*/
|
|
74
|
-
getCustomFields({ resource, resourceId, requestHeaders }?:
|
|
66
|
+
getCustomFields({ resource, resourceId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomFieldsResponseByResourceIdSchema>;
|
|
75
67
|
/**
|
|
76
|
-
* @param {ContentApplicationValidator.GetCustomObjectParam} arg - Arg object.
|
|
77
68
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
78
69
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
79
|
-
* @returns {Promise<
|
|
80
|
-
* Success response
|
|
70
|
+
* @returns {Promise<CustomObjectByIdSchema>} - Success response
|
|
81
71
|
* @name getCustomObject
|
|
82
72
|
* @summary: Get custom object
|
|
83
73
|
* @description: Get details of custom objects, their field details, definitions, and references can be obtained using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomObject/).
|
|
84
74
|
*/
|
|
85
|
-
getCustomObject({ metaobjectId, requestHeaders }?:
|
|
75
|
+
getCustomObject({ metaobjectId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomObjectByIdSchema>;
|
|
86
76
|
/**
|
|
87
|
-
* @param {ContentApplicationValidator.GetDataLoadersParam} arg - Arg object.
|
|
88
77
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
89
78
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
90
|
-
* @returns {Promise<
|
|
79
|
+
* @returns {Promise<DataLoadersSchema>} - Success response
|
|
91
80
|
* @name getDataLoaders
|
|
92
81
|
* @summary: List Dataloaders
|
|
93
82
|
* @description: List all the data loaders that are enabled for an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getDataLoaders/).
|
|
94
83
|
*/
|
|
95
|
-
getDataLoaders({ requestHeaders }?:
|
|
84
|
+
getDataLoaders({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DataLoadersSchema>;
|
|
96
85
|
/**
|
|
97
|
-
* @param {ContentApplicationValidator.GetFaqBySlugParam} arg - Arg object.
|
|
98
86
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
99
87
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
100
|
-
* @returns {Promise<
|
|
88
|
+
* @returns {Promise<FaqSchema>} - Success response
|
|
101
89
|
* @name getFaqBySlug
|
|
102
90
|
* @summary: Get FAQ
|
|
103
91
|
* @description: Get a specific FAQ using its slug identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqBySlug/).
|
|
104
92
|
*/
|
|
105
|
-
getFaqBySlug({ slug, requestHeaders }?:
|
|
93
|
+
getFaqBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<FaqSchema>;
|
|
106
94
|
/**
|
|
107
|
-
* @param {ContentApplicationValidator.GetFaqCategoriesParam} arg - Arg object.
|
|
108
95
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
109
96
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
110
|
-
* @returns {Promise<
|
|
111
|
-
* Success response
|
|
97
|
+
* @returns {Promise<GetFaqCategoriesSchema>} - Success response
|
|
112
98
|
* @name getFaqCategories
|
|
113
99
|
* @summary: List FAQ Categories
|
|
114
100
|
* @description: List categories for organizing FAQs. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqCategories/).
|
|
115
101
|
*/
|
|
116
|
-
getFaqCategories({ requestHeaders }?:
|
|
102
|
+
getFaqCategories({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetFaqCategoriesSchema>;
|
|
117
103
|
/**
|
|
118
|
-
* @param {ContentApplicationValidator.GetFaqCategoryBySlugParam} arg - Arg object.
|
|
119
104
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
120
105
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
121
|
-
* @returns {Promise<
|
|
122
|
-
* Success response
|
|
106
|
+
* @returns {Promise<GetFaqCategoryBySlugSchema>} - Success response
|
|
123
107
|
* @name getFaqCategoryBySlug
|
|
124
108
|
* @summary: Get a FAQ category
|
|
125
109
|
* @description: Get a specific FAQ category using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqCategoryBySlug/).
|
|
126
110
|
*/
|
|
127
|
-
getFaqCategoryBySlug({ slug, requestHeaders }?:
|
|
111
|
+
getFaqCategoryBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetFaqCategoryBySlugSchema>;
|
|
128
112
|
/**
|
|
129
|
-
* @param {ContentApplicationValidator.GetFaqsParam} arg - Arg object.
|
|
130
113
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
131
114
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
132
|
-
* @returns {Promise<
|
|
115
|
+
* @returns {Promise<FaqResponseSchema>} - Success response
|
|
133
116
|
* @name getFaqs
|
|
134
117
|
* @summary: List FAQs
|
|
135
118
|
* @description: List frequently asked questions and answers. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqs/).
|
|
136
119
|
*/
|
|
137
|
-
getFaqs({ requestHeaders }?:
|
|
120
|
+
getFaqs({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<FaqResponseSchema>;
|
|
138
121
|
/**
|
|
139
|
-
* @param {ContentApplicationValidator.GetFaqsByCategorySlugParam} arg - Arg object.
|
|
140
122
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
141
123
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
142
|
-
* @returns {Promise<
|
|
124
|
+
* @returns {Promise<GetFaqSchema>} - Success response
|
|
143
125
|
* @name getFaqsByCategorySlug
|
|
144
126
|
* @summary: List FAQs by category
|
|
145
127
|
* @description: Get FAQs belonging to a specific category slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqsByCategorySlug/).
|
|
146
128
|
*/
|
|
147
|
-
getFaqsByCategorySlug({ slug, requestHeaders }?:
|
|
129
|
+
getFaqsByCategorySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetFaqSchema>;
|
|
148
130
|
/**
|
|
149
|
-
* @param {ContentApplicationValidator.GetLandingPageParam} arg - Arg object.
|
|
150
131
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
151
132
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
152
|
-
* @returns {Promise<
|
|
133
|
+
* @returns {Promise<LandingPageSchema>} - Success response
|
|
153
134
|
* @name getLandingPage
|
|
154
135
|
* @summary: Get a landing page
|
|
155
136
|
* @description: Get content of the application's landing page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getLandingPage/).
|
|
156
137
|
*/
|
|
157
|
-
getLandingPage({ requestHeaders }?:
|
|
138
|
+
getLandingPage({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<LandingPageSchema>;
|
|
158
139
|
/**
|
|
159
|
-
* @param {ContentApplicationValidator.GetLegalInformationParam} arg - Arg object.
|
|
160
140
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
161
141
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
162
|
-
* @returns {Promise<
|
|
142
|
+
* @returns {Promise<ApplicationLegal>} - Success response
|
|
163
143
|
* @name getLegalInformation
|
|
164
144
|
* @summary: Get legal information
|
|
165
145
|
* @description: Get legal policies for an application which includes Terms and conditions, return policy, shipping policy and privacy policy. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getLegalInformation/).
|
|
166
146
|
*/
|
|
167
|
-
getLegalInformation({ requestHeaders }?:
|
|
147
|
+
getLegalInformation({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ApplicationLegal>;
|
|
168
148
|
/**
|
|
169
|
-
* @param {ContentApplicationValidator.GetNavigationsParam} arg - Arg object.
|
|
170
149
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
171
150
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
172
|
-
* @returns {Promise<
|
|
173
|
-
* Success response
|
|
151
|
+
* @returns {Promise<NavigationGetResponse>} - Success response
|
|
174
152
|
* @name getNavigations
|
|
175
153
|
* @summary: List navigation items
|
|
176
154
|
* @description: Get the navigation link items which can be powered to generate menus on application's website or equivalent mobile apps. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getNavigations/).
|
|
177
155
|
*/
|
|
178
|
-
getNavigations({ pageNo, pageSize, requestHeaders }?:
|
|
156
|
+
getNavigations({ pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<NavigationGetResponse>;
|
|
179
157
|
/**
|
|
180
|
-
* @param {ContentApplicationValidator.GetPageParam} arg - Arg object.
|
|
181
158
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
182
159
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
183
|
-
* @returns {Promise<
|
|
160
|
+
* @returns {Promise<PageSchema>} - Success response
|
|
184
161
|
* @name getPage
|
|
185
162
|
* @summary: Get a page
|
|
186
163
|
* @description: Get detailed information for a specific page within the theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPage/).
|
|
187
164
|
*/
|
|
188
|
-
getPage({ slug, rootId, requestHeaders }?:
|
|
165
|
+
getPage({ slug, rootId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PageSchema>;
|
|
189
166
|
/**
|
|
190
|
-
* @param {ContentApplicationValidator.GetPagesParam} arg - Arg object.
|
|
191
167
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
192
168
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
193
|
-
* @returns {Promise<
|
|
169
|
+
* @returns {Promise<PageGetResponse>} - Success response
|
|
194
170
|
* @name getPages
|
|
195
171
|
* @summary: Lists pages
|
|
196
172
|
* @description: Lists all Custom Pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPages/).
|
|
197
173
|
*/
|
|
198
|
-
getPages({ pageNo, pageSize, requestHeaders }?:
|
|
174
|
+
getPages({ pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PageGetResponse>;
|
|
199
175
|
/**
|
|
200
|
-
* @param {ContentApplicationValidator.GetSEOConfigurationParam} arg - Arg object.
|
|
201
176
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
202
177
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
203
|
-
* @returns {Promise<
|
|
178
|
+
* @returns {Promise<SeoComponent>} - Success response
|
|
204
179
|
* @name getSEOConfiguration
|
|
205
180
|
* @summary: Get SEO settings
|
|
206
181
|
* @description: Get search engine optimization configurations of an application. Details include the title, description and an image. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSEOConfiguration/).
|
|
207
182
|
*/
|
|
208
|
-
getSEOConfiguration({ requestHeaders }?:
|
|
183
|
+
getSEOConfiguration({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SeoComponent>;
|
|
209
184
|
/**
|
|
210
|
-
* @param {ContentApplicationValidator.GetSEOMarkupSchemasParam} arg - Arg object.
|
|
211
185
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
212
186
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
213
|
-
* @returns {Promise<
|
|
187
|
+
* @returns {Promise<SeoSchemaComponent>} - Success response
|
|
214
188
|
* @name getSEOMarkupSchemas
|
|
215
189
|
* @summary: List SEO Markup schemas
|
|
216
190
|
* @description: Get all SEO Markup schema Templates setup for an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSEOMarkupSchemas/).
|
|
217
191
|
*/
|
|
218
|
-
getSEOMarkupSchemas({ pageType, active, requestHeaders }?:
|
|
192
|
+
getSEOMarkupSchemas({ pageType, active, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SeoSchemaComponent>;
|
|
219
193
|
/**
|
|
220
|
-
* @param {ContentApplicationValidator.GetSlideshowParam} arg - Arg object.
|
|
221
194
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
222
195
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
223
|
-
* @returns {Promise<
|
|
196
|
+
* @returns {Promise<SlideshowSchema>} - Success response
|
|
224
197
|
* @name getSlideshow
|
|
225
198
|
* @summary: Get a Slideshow
|
|
226
199
|
* @description: Get a slideshow using its `slug`. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshow/).
|
|
227
200
|
*/
|
|
228
|
-
getSlideshow({ slug, requestHeaders }?:
|
|
201
|
+
getSlideshow({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SlideshowSchema>;
|
|
229
202
|
/**
|
|
230
|
-
* @param {ContentApplicationValidator.GetSlideshowsParam} arg - Arg object.
|
|
231
203
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
232
204
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
233
|
-
* @returns {Promise<
|
|
205
|
+
* @returns {Promise<SlideshowGetResponse>} - Success response
|
|
234
206
|
* @name getSlideshows
|
|
235
207
|
* @summary: List Slideshows
|
|
236
208
|
* @description: List slideshows along with their details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshows/).
|
|
237
209
|
*/
|
|
238
|
-
getSlideshows({ pageNo, pageSize, requestHeaders }?:
|
|
210
|
+
getSlideshows({ pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SlideshowGetResponse>;
|
|
239
211
|
/**
|
|
240
212
|
* @param {Object} arg - Arg object.
|
|
241
213
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
242
|
-
* @returns {Paginator<
|
|
214
|
+
* @returns {Paginator<SlideshowGetResponse>}
|
|
243
215
|
* @summary: List Slideshows
|
|
244
216
|
* @description: List slideshows along with their details.
|
|
245
217
|
*/
|
|
246
218
|
getSlideshowsPaginator({ pageSize }?: {
|
|
247
219
|
pageSize?: number;
|
|
248
|
-
}): Paginator<
|
|
220
|
+
}): Paginator<SlideshowGetResponse>;
|
|
249
221
|
/**
|
|
250
|
-
* @param {ContentApplicationValidator.GetSupportInformationParam} arg - Arg object.
|
|
251
222
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
252
223
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
253
|
-
* @returns {Promise<
|
|
224
|
+
* @returns {Promise<Support>} - Success response
|
|
254
225
|
* @name getSupportInformation
|
|
255
226
|
* @summary: Get customer support information
|
|
256
227
|
* @description: Get customer support contact details. Contact Details can be either a phone number or an email-id or both. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSupportInformation/).
|
|
257
228
|
*/
|
|
258
|
-
getSupportInformation({ requestHeaders }?:
|
|
229
|
+
getSupportInformation({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<Support>;
|
|
259
230
|
/**
|
|
260
|
-
* @param {ContentApplicationValidator.GetTagsParam} arg - Arg object.
|
|
261
231
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
262
232
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
263
|
-
* @returns {Promise<
|
|
233
|
+
* @returns {Promise<TagsSchema>} - Success response
|
|
264
234
|
* @name getTags
|
|
265
235
|
* @summary: Get HTML tags
|
|
266
236
|
* @description: Lists HTML tags to power additional functionalities within an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getTags/).
|
|
267
237
|
*/
|
|
268
|
-
getTags({ requestHeaders }?:
|
|
238
|
+
getTags({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<TagsSchema>;
|
|
269
239
|
}
|
|
270
|
-
import ContentApplicationModel = require("./ContentApplicationModel");
|
|
271
|
-
import ContentApplicationValidator = require("./ContentApplicationValidator");
|
|
272
240
|
import Paginator = require("../../common/Paginator");
|