@gofynd/fdk-client-javascript 1.4.2-beta.4 → 1.4.2-beta.5
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 +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +62 -62
- package/sdk/application/Cart/CartApplicationClient.js +82 -71
- package/sdk/application/Cart/CartApplicationValidator.d.ts +189 -34
- package/sdk/application/Cart/CartApplicationValidator.js +59 -34
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +78 -78
- package/sdk/application/Catalog/CatalogApplicationClient.js +78 -78
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -67
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -106
- package/sdk/application/Content/ContentApplicationClient.d.ts +34 -64
- package/sdk/application/Content/ContentApplicationClient.js +34 -115
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -42
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -42
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -14
- package/sdk/application/Lead/LeadApplicationClient.js +14 -14
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +12 -12
- package/sdk/application/Logistic/LogisticApplicationClient.js +12 -12
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -24
- package/sdk/application/Order/OrderApplicationClient.js +24 -24
- package/sdk/application/Order/OrderApplicationModel.d.ts +23 -1
- package/sdk/application/Order/OrderApplicationModel.js +28 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +89 -89
- package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +498 -3
- package/sdk/application/Payment/PaymentApplicationModel.js +316 -2
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +54 -54
- package/sdk/application/PosCart/PosCartApplicationClient.js +54 -54
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -25
- package/sdk/application/Rewards/RewardsApplicationClient.js +14 -41
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -14
- package/sdk/application/Share/ShareApplicationClient.js +14 -14
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
- package/sdk/application/User/UserApplicationClient.d.ts +64 -64
- package/sdk/application/User/UserApplicationClient.js +64 -64
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +38 -38
- package/sdk/partner/Theme/ThemePartnerClient.js +38 -38
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +8 -8
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +34 -36
- package/sdk/platform/Billing/BillingPlatformClient.js +34 -36
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +98 -175
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +98 -254
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +92 -18
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +28 -18
- package/sdk/platform/Cart/CartPlatformModel.d.ts +12 -0
- package/sdk/platform/Cart/CartPlatformModel.js +12 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +195 -108
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +278 -113
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +335 -136
- package/sdk/platform/Catalog/CatalogPlatformClient.js +551 -136
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +5 -5
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3 -3
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -3
- package/sdk/platform/Common/CommonPlatformClient.js +3 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +115 -290
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +115 -510
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -13
- package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -29
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +32 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -127
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +52 -204
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +35 -111
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +35 -212
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +142 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +96 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +130 -218
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +136 -314
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
- package/sdk/platform/Content/ContentPlatformClient.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformClient.js +7 -7
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +22 -48
- package/sdk/platform/Discount/DiscountPlatformClient.js +22 -73
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +19 -55
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +19 -55
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +14 -50
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +16 -55
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -12
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +12 -14
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +44 -44
- package/sdk/platform/Finance/FinancePlatformClient.js +44 -44
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -48
- package/sdk/platform/Lead/LeadPlatformClient.js +22 -72
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +4 -4
- package/sdk/platform/Order/OrderPlatformClient.d.ts +79 -208
- package/sdk/platform/Order/OrderPlatformClient.js +79 -294
- package/sdk/platform/Order/OrderPlatformModel.d.ts +32 -3
- package/sdk/platform/Order/OrderPlatformModel.js +34 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +81 -81
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +81 -81
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +23 -40
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +23 -61
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +5 -5
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.js +10 -10
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +56 -56
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +56 -56
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
- package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +33 -33
- package/sdk/platform/User/UserPlatformApplicationClient.js +33 -33
- package/sdk/platform/User/UserPlatformModel.d.ts +2 -2
- package/sdk/platform/User/UserPlatformModel.js +2 -2
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +32 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +32 -45
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +58 -1
- package/sdk/platform/Webhook/WebhookPlatformModel.js +66 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicClient.js +4 -4
|
@@ -22,8 +22,8 @@ class Content {
|
|
|
22
22
|
* @returns {Promise<ContentPlatformModel.DataLoaderResponseSchema>} -
|
|
23
23
|
* Success response
|
|
24
24
|
* @name addDataLoader
|
|
25
|
-
* @summary:
|
|
26
|
-
* @description:
|
|
25
|
+
* @summary: Add data loader.
|
|
26
|
+
* @description: Create and add a new data loader. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/addDataLoader/).
|
|
27
27
|
*/
|
|
28
28
|
async addDataLoader(
|
|
29
29
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -101,8 +101,8 @@ class Content {
|
|
|
101
101
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
102
102
|
* @returns {Promise<ContentPlatformModel.CreateFaqResponseSchema>} - Success response
|
|
103
103
|
* @name addFaq
|
|
104
|
-
* @summary:
|
|
105
|
-
* @description:
|
|
104
|
+
* @summary: Add FAQ.
|
|
105
|
+
* @description: Create and add a new FAQ. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/addFaq/).
|
|
106
106
|
*/
|
|
107
107
|
async addFaq(
|
|
108
108
|
{ categoryId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -180,8 +180,8 @@ class Content {
|
|
|
180
180
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
181
181
|
* @returns {Promise<ContentPlatformModel.TagsSchema>} - Success response
|
|
182
182
|
* @name addInjectableTag
|
|
183
|
-
* @summary:
|
|
184
|
-
* @description:
|
|
183
|
+
* @summary: Create HTML tag.
|
|
184
|
+
* @description: Create and add a new injectable tag. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/addInjectableTag/).
|
|
185
185
|
*/
|
|
186
186
|
async addInjectableTag(
|
|
187
187
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -261,8 +261,8 @@ class Content {
|
|
|
261
261
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
262
262
|
* @returns {Promise<ContentPlatformModel.PathMappingSchema>} - Success response
|
|
263
263
|
* @name addPathRedirectionRules
|
|
264
|
-
* @summary:
|
|
265
|
-
* @description:
|
|
264
|
+
* @summary: Add path redirection rules.
|
|
265
|
+
* @description: Create and add rules for path redirection. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/addPathRedirectionRules/).
|
|
266
266
|
*/
|
|
267
267
|
async addPathRedirectionRules(
|
|
268
268
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -343,8 +343,8 @@ class Content {
|
|
|
343
343
|
* @returns {Promise<ContentPlatformModel.CreateAnnouncementSchema>} -
|
|
344
344
|
* Success response
|
|
345
345
|
* @name createAnnouncement
|
|
346
|
-
* @summary: Create
|
|
347
|
-
* @description:
|
|
346
|
+
* @summary: Create announcement.
|
|
347
|
+
* @description: Generate and add a new announcement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createAnnouncement/).
|
|
348
348
|
*/
|
|
349
349
|
async createAnnouncement(
|
|
350
350
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -755,8 +755,8 @@ class Content {
|
|
|
755
755
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
756
756
|
* @returns {Promise<ContentPlatformModel.BlogSchema>} - Success response
|
|
757
757
|
* @name createBlog
|
|
758
|
-
* @summary: Create
|
|
759
|
-
* @description:
|
|
758
|
+
* @summary: Create blog.
|
|
759
|
+
* @description: Generate and add a new blog. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createBlog/).
|
|
760
760
|
*/
|
|
761
761
|
async createBlog(
|
|
762
762
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -834,8 +834,8 @@ class Content {
|
|
|
834
834
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
835
835
|
* @returns {Promise<ContentPlatformModel.CreateFaqCategorySchema>} - Success response
|
|
836
836
|
* @name createFaqCategory
|
|
837
|
-
* @summary: Create
|
|
838
|
-
* @description:
|
|
837
|
+
* @summary: Create FAQ category.
|
|
838
|
+
* @description: Generate and add a new FAQ category. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createFaqCategory/).
|
|
839
839
|
*/
|
|
840
840
|
async createFaqCategory(
|
|
841
841
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -915,8 +915,8 @@ class Content {
|
|
|
915
915
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
916
916
|
* @returns {Promise<ContentPlatformModel.LandingPageSchema>} - Success response
|
|
917
917
|
* @name createLandingPage
|
|
918
|
-
* @summary: Create
|
|
919
|
-
* @description:
|
|
918
|
+
* @summary: Create landing page.
|
|
919
|
+
* @description: Generate and add a new landing page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createLandingPage/).
|
|
920
920
|
*/
|
|
921
921
|
async createLandingPage(
|
|
922
922
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -994,8 +994,8 @@ class Content {
|
|
|
994
994
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
995
995
|
* @returns {Promise<ContentPlatformModel.NavigationSchema>} - Success response
|
|
996
996
|
* @name createNavigation
|
|
997
|
-
* @summary: Create
|
|
998
|
-
* @description:
|
|
997
|
+
* @summary: Create navigation items
|
|
998
|
+
* @description: Generate and add a new navigation element. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createNavigation/).
|
|
999
999
|
*/
|
|
1000
1000
|
async createNavigation(
|
|
1001
1001
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1073,8 +1073,8 @@ class Content {
|
|
|
1073
1073
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1074
1074
|
* @returns {Promise<ContentPlatformModel.PageSchema>} - Success response
|
|
1075
1075
|
* @name createPage
|
|
1076
|
-
* @summary: Create
|
|
1077
|
-
* @description:
|
|
1076
|
+
* @summary: Create page.
|
|
1077
|
+
* @description: Generate and add a new page to the platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createPage/).
|
|
1078
1078
|
*/
|
|
1079
1079
|
async createPage(
|
|
1080
1080
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1152,8 +1152,8 @@ class Content {
|
|
|
1152
1152
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1153
1153
|
* @returns {Promise<ContentPlatformModel.PageSchema>} - Success response
|
|
1154
1154
|
* @name createPagePreview
|
|
1155
|
-
* @summary: Create
|
|
1156
|
-
* @description:
|
|
1155
|
+
* @summary: Create page preview.
|
|
1156
|
+
* @description: Generate and add a new page preview. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createPagePreview/).
|
|
1157
1157
|
*/
|
|
1158
1158
|
async createPagePreview(
|
|
1159
1159
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1394,8 +1394,8 @@ class Content {
|
|
|
1394
1394
|
* @returns {Promise<ContentPlatformModel.CreateAnnouncementSchema>} -
|
|
1395
1395
|
* Success response
|
|
1396
1396
|
* @name deleteAnnouncement
|
|
1397
|
-
* @summary: Delete announcement
|
|
1398
|
-
* @description:
|
|
1397
|
+
* @summary: Delete announcement.
|
|
1398
|
+
* @description: Remove a specific announcement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteAnnouncement/).
|
|
1399
1399
|
*/
|
|
1400
1400
|
async deleteAnnouncement(
|
|
1401
1401
|
{ announcementId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1718,8 +1718,8 @@ class Content {
|
|
|
1718
1718
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1719
1719
|
* @returns {Promise<ContentPlatformModel.BlogSchema>} - Success response
|
|
1720
1720
|
* @name deleteBlog
|
|
1721
|
-
* @summary: Delete
|
|
1722
|
-
* @description:
|
|
1721
|
+
* @summary: Delete blog.
|
|
1722
|
+
* @description: Remove a specific blog. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteBlog/).
|
|
1723
1723
|
*/
|
|
1724
1724
|
async deleteBlog(
|
|
1725
1725
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1796,8 +1796,8 @@ class Content {
|
|
|
1796
1796
|
* @returns {Promise<ContentPlatformModel.DataLoaderResponseSchema>} -
|
|
1797
1797
|
* Success response
|
|
1798
1798
|
* @name deleteDataLoader
|
|
1799
|
-
* @summary: Delete data loader
|
|
1800
|
-
* @description:
|
|
1799
|
+
* @summary: Delete data loader.
|
|
1800
|
+
* @description: Remove a specific data loader. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteDataLoader/).
|
|
1801
1801
|
*/
|
|
1802
1802
|
async deleteDataLoader(
|
|
1803
1803
|
{ dataLoaderId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1875,8 +1875,8 @@ class Content {
|
|
|
1875
1875
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1876
1876
|
* @returns {Promise<ContentPlatformModel.CreateFaqResponseSchema>} - Success response
|
|
1877
1877
|
* @name deleteFaq
|
|
1878
|
-
* @summary: Delete
|
|
1879
|
-
* @description:
|
|
1878
|
+
* @summary: Delete FAQ.
|
|
1879
|
+
* @description: Remove a specific FAQ. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteFaq/).
|
|
1880
1880
|
*/
|
|
1881
1881
|
async deleteFaq(
|
|
1882
1882
|
{ categoryId, faqId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1956,8 +1956,8 @@ class Content {
|
|
|
1956
1956
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1957
1957
|
* @returns {Promise<ContentPlatformModel.FaqSchema>} - Success response
|
|
1958
1958
|
* @name deleteFaqCategory
|
|
1959
|
-
* @summary: Delete
|
|
1960
|
-
* @description:
|
|
1959
|
+
* @summary: Delete FAQ category.
|
|
1960
|
+
* @description: Remove a specific FAQ category. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteFaqCategory/).
|
|
1961
1961
|
*/
|
|
1962
1962
|
async deleteFaqCategory(
|
|
1963
1963
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2037,8 +2037,8 @@ class Content {
|
|
|
2037
2037
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2038
2038
|
* @returns {Promise<ContentPlatformModel.LandingPageSchema>} - Success response
|
|
2039
2039
|
* @name deleteLandingPage
|
|
2040
|
-
* @summary: Delete
|
|
2041
|
-
* @description:
|
|
2040
|
+
* @summary: Delete landing page.
|
|
2041
|
+
* @description: Remove a specific landing page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteLandingPage/).
|
|
2042
2042
|
*/
|
|
2043
2043
|
async deleteLandingPage(
|
|
2044
2044
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2116,8 +2116,8 @@ class Content {
|
|
|
2116
2116
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2117
2117
|
* @returns {Promise<ContentPlatformModel.NavigationSchema>} - Success response
|
|
2118
2118
|
* @name deleteNavigation
|
|
2119
|
-
* @summary: Delete
|
|
2120
|
-
* @description:
|
|
2119
|
+
* @summary: Delete navigation.
|
|
2120
|
+
* @description: Remove a specific navigation element. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteNavigation/).
|
|
2121
2121
|
*/
|
|
2122
2122
|
async deleteNavigation(
|
|
2123
2123
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2195,8 +2195,8 @@ class Content {
|
|
|
2195
2195
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2196
2196
|
* @returns {Promise<ContentPlatformModel.PageSchema>} - Success response
|
|
2197
2197
|
* @name deletePage
|
|
2198
|
-
* @summary: Delete
|
|
2199
|
-
* @description:
|
|
2198
|
+
* @summary: Delete page.
|
|
2199
|
+
* @description: Remove a page from the platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deletePage/).
|
|
2200
2200
|
*/
|
|
2201
2201
|
async deletePage(
|
|
2202
2202
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2274,8 +2274,8 @@ class Content {
|
|
|
2274
2274
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2275
2275
|
* @returns {Promise<Object>} - Success response
|
|
2276
2276
|
* @name deletePathRedirectionRules
|
|
2277
|
-
* @summary: Delete path
|
|
2278
|
-
* @description:
|
|
2277
|
+
* @summary: Delete path redirection rules.
|
|
2278
|
+
* @description: Remove specific path redirection rules. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deletePathRedirectionRules/).
|
|
2279
2279
|
*/
|
|
2280
2280
|
async deletePathRedirectionRules(
|
|
2281
2281
|
{ pathId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2512,8 +2512,8 @@ class Content {
|
|
|
2512
2512
|
* @returns {Promise<ContentPlatformModel.DataLoaderResponseSchema>} -
|
|
2513
2513
|
* Success response
|
|
2514
2514
|
* @name editDataLoader
|
|
2515
|
-
* @summary: Edit
|
|
2516
|
-
* @description:
|
|
2515
|
+
* @summary: Edit data loader.
|
|
2516
|
+
* @description: Modify the settings of a specific data loader. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/editDataLoader/).
|
|
2517
2517
|
*/
|
|
2518
2518
|
async editDataLoader(
|
|
2519
2519
|
{ dataLoaderId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2595,8 +2595,8 @@ class Content {
|
|
|
2595
2595
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2596
2596
|
* @returns {Promise<ContentPlatformModel.TagsSchema>} - Success response
|
|
2597
2597
|
* @name editInjectableTag
|
|
2598
|
-
* @summary:
|
|
2599
|
-
* @description:
|
|
2598
|
+
* @summary: Update HTML tag
|
|
2599
|
+
* @description: Modify settings for an injectable tag. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/editInjectableTag/).
|
|
2600
2600
|
*/
|
|
2601
2601
|
async editInjectableTag(
|
|
2602
2602
|
{ tagId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2842,8 +2842,8 @@ class Content {
|
|
|
2842
2842
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2843
2843
|
* @returns {Promise<ContentPlatformModel.GeneratedSEOContent>} - Success response
|
|
2844
2844
|
* @name generateSEOTitle
|
|
2845
|
-
* @summary:
|
|
2846
|
-
* @description:
|
|
2845
|
+
* @summary: Generate SEO title.
|
|
2846
|
+
* @description: Create an SEO-friendly title for content. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/generateSEOTitle/).
|
|
2847
2847
|
*/
|
|
2848
2848
|
async generateSEOTitle(
|
|
2849
2849
|
{ type, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2925,8 +2925,8 @@ class Content {
|
|
|
2925
2925
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2926
2926
|
* @returns {Promise<ContentPlatformModel.AdminAnnouncementSchema>} - Success response
|
|
2927
2927
|
* @name getAnnouncementById
|
|
2928
|
-
* @summary: Get announcement by ID
|
|
2929
|
-
* @description:
|
|
2928
|
+
* @summary: Get announcement by ID.
|
|
2929
|
+
* @description: Retrieve detailed information about a specific announcement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getAnnouncementById/).
|
|
2930
2930
|
*/
|
|
2931
2931
|
async getAnnouncementById(
|
|
2932
2932
|
{ announcementId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3007,8 +3007,8 @@ class Content {
|
|
|
3007
3007
|
* @returns {Promise<ContentPlatformModel.GetAnnouncementListSchema>} -
|
|
3008
3008
|
* Success response
|
|
3009
3009
|
* @name getAnnouncementsList
|
|
3010
|
-
* @summary: Get
|
|
3011
|
-
* @description:
|
|
3010
|
+
* @summary: Get announcements list.
|
|
3011
|
+
* @description: Retrieve a list of announcements. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getAnnouncementsList/).
|
|
3012
3012
|
*/
|
|
3013
3013
|
async getAnnouncementsList(
|
|
3014
3014
|
{ pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3084,40 +3084,6 @@ class Content {
|
|
|
3084
3084
|
return response;
|
|
3085
3085
|
}
|
|
3086
3086
|
|
|
3087
|
-
/**
|
|
3088
|
-
* @param {Object} arg - Arg object.
|
|
3089
|
-
* @param {string} arg.companyId - Numeric ID allotted to a business account
|
|
3090
|
-
* on Fynd Platform
|
|
3091
|
-
* @param {string} arg.applicationId - Numeric ID allotted to an application
|
|
3092
|
-
* created within a business account.
|
|
3093
|
-
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
3094
|
-
* page. Default value is 10.
|
|
3095
|
-
* @returns {Paginator<ContentPlatformModel.GetAnnouncementListSchema>}
|
|
3096
|
-
* @summary: Get a list of announcements
|
|
3097
|
-
* @description: Announcements are useful to highlight a message or information on top of a webpage. Use this API to retrieve a list of announcements.
|
|
3098
|
-
*/
|
|
3099
|
-
getAnnouncementsListPaginator({ companyId, applicationId, pageSize } = {}) {
|
|
3100
|
-
const paginator = new Paginator();
|
|
3101
|
-
const callback = async () => {
|
|
3102
|
-
const pageId = paginator.nextId;
|
|
3103
|
-
const pageNo = paginator.pageNo;
|
|
3104
|
-
const pageType = "number";
|
|
3105
|
-
const data = await this.getAnnouncementsList({
|
|
3106
|
-
companyId: companyId,
|
|
3107
|
-
applicationId: applicationId,
|
|
3108
|
-
pageNo: pageNo,
|
|
3109
|
-
pageSize: pageSize,
|
|
3110
|
-
});
|
|
3111
|
-
paginator.setPaginator({
|
|
3112
|
-
hasNext: data.page.has_next ? true : false,
|
|
3113
|
-
nextId: data.page.next_id,
|
|
3114
|
-
});
|
|
3115
|
-
return data;
|
|
3116
|
-
};
|
|
3117
|
-
paginator.setCallback(callback.bind(this));
|
|
3118
|
-
return paginator;
|
|
3119
|
-
}
|
|
3120
|
-
|
|
3121
3087
|
/**
|
|
3122
3088
|
* @param {ContentPlatformApplicationValidator.GetAppCustomFieldDefinitionParam} arg
|
|
3123
3089
|
* - Arg object
|
|
@@ -3214,7 +3180,7 @@ class Content {
|
|
|
3214
3180
|
* @description: Use this API to retrieve the definitions of custom fields. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getAppCustomFieldDefinitions/).
|
|
3215
3181
|
*/
|
|
3216
3182
|
async getAppCustomFieldDefinitions(
|
|
3217
|
-
{ pageNo, pageSize,
|
|
3183
|
+
{ pageNo, pageSize, resources, types, search, requestHeaders } = {
|
|
3218
3184
|
requestHeaders: {},
|
|
3219
3185
|
},
|
|
3220
3186
|
{ responseHeaders } = { responseHeaders: false }
|
|
@@ -3225,8 +3191,8 @@ class Content {
|
|
|
3225
3191
|
{
|
|
3226
3192
|
pageNo,
|
|
3227
3193
|
pageSize,
|
|
3228
|
-
|
|
3229
|
-
|
|
3194
|
+
resources,
|
|
3195
|
+
types,
|
|
3230
3196
|
search,
|
|
3231
3197
|
},
|
|
3232
3198
|
{ abortEarly: false, allowUnknown: true }
|
|
@@ -3242,8 +3208,8 @@ class Content {
|
|
|
3242
3208
|
{
|
|
3243
3209
|
pageNo,
|
|
3244
3210
|
pageSize,
|
|
3245
|
-
|
|
3246
|
-
|
|
3211
|
+
resources,
|
|
3212
|
+
types,
|
|
3247
3213
|
search,
|
|
3248
3214
|
},
|
|
3249
3215
|
{ abortEarly: false, allowUnknown: false }
|
|
@@ -3258,8 +3224,8 @@ class Content {
|
|
|
3258
3224
|
const query_params = {};
|
|
3259
3225
|
query_params["page_no"] = pageNo;
|
|
3260
3226
|
query_params["page_size"] = pageSize;
|
|
3261
|
-
query_params["
|
|
3262
|
-
query_params["
|
|
3227
|
+
query_params["resources"] = resources;
|
|
3228
|
+
query_params["types"] = types;
|
|
3263
3229
|
query_params["search"] = search;
|
|
3264
3230
|
|
|
3265
3231
|
const response = await PlatformAPIClient.execute(
|
|
@@ -3384,7 +3350,7 @@ class Content {
|
|
|
3384
3350
|
* @returns {Promise<ContentPlatformModel.CustomFieldsResponseSchema>} -
|
|
3385
3351
|
* Success response
|
|
3386
3352
|
* @name getAppCustomFields
|
|
3387
|
-
* @summary: Get list of custom fields of
|
|
3353
|
+
* @summary: Get list of custom fields of gives resource
|
|
3388
3354
|
* @description: Use this API to retrieve the custom fields for given resource in param. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getAppCustomFields/).
|
|
3389
3355
|
*/
|
|
3390
3356
|
async getAppCustomFields(
|
|
@@ -4047,8 +4013,8 @@ class Content {
|
|
|
4047
4013
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4048
4014
|
* @returns {Promise<ContentPlatformModel.BlogSchema>} - Success response
|
|
4049
4015
|
* @name getBlogBySlug
|
|
4050
|
-
* @summary: Get blog by slug
|
|
4051
|
-
* @description:
|
|
4016
|
+
* @summary: Get blog by slug.
|
|
4017
|
+
* @description: Retrieve detailed information about a specific blog using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getBlogBySlug/).
|
|
4052
4018
|
*/
|
|
4053
4019
|
async getBlogBySlug(
|
|
4054
4020
|
{ slug, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4126,8 +4092,8 @@ class Content {
|
|
|
4126
4092
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4127
4093
|
* @returns {Promise<ContentPlatformModel.BlogGetResponse>} - Success response
|
|
4128
4094
|
* @name getBlogs
|
|
4129
|
-
* @summary: Get blogs
|
|
4130
|
-
* @description:
|
|
4095
|
+
* @summary: Get blogs.
|
|
4096
|
+
* @description: Retrieve a list of available blogs. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getBlogs/).
|
|
4131
4097
|
*/
|
|
4132
4098
|
async getBlogs(
|
|
4133
4099
|
{ pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4201,48 +4167,14 @@ class Content {
|
|
|
4201
4167
|
return response;
|
|
4202
4168
|
}
|
|
4203
4169
|
|
|
4204
|
-
/**
|
|
4205
|
-
* @param {Object} arg - Arg object.
|
|
4206
|
-
* @param {string} arg.companyId - Numeric ID allotted to a business account
|
|
4207
|
-
* on Fynd Platform
|
|
4208
|
-
* @param {string} arg.applicationId - Numeric ID allotted to an application
|
|
4209
|
-
* created within a business account.
|
|
4210
|
-
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
4211
|
-
* page. Default value is 10.
|
|
4212
|
-
* @returns {Paginator<ContentPlatformModel.BlogGetResponse>}
|
|
4213
|
-
* @summary: Get blogs
|
|
4214
|
-
* @description: Use this API to get a list of blogs along with their details, such as the title, reading time, publish status, feature image, tags, author, etc.
|
|
4215
|
-
*/
|
|
4216
|
-
getBlogsPaginator({ companyId, applicationId, pageSize } = {}) {
|
|
4217
|
-
const paginator = new Paginator();
|
|
4218
|
-
const callback = async () => {
|
|
4219
|
-
const pageId = paginator.nextId;
|
|
4220
|
-
const pageNo = paginator.pageNo;
|
|
4221
|
-
const pageType = "number";
|
|
4222
|
-
const data = await this.getBlogs({
|
|
4223
|
-
companyId: companyId,
|
|
4224
|
-
applicationId: applicationId,
|
|
4225
|
-
pageNo: pageNo,
|
|
4226
|
-
pageSize: pageSize,
|
|
4227
|
-
});
|
|
4228
|
-
paginator.setPaginator({
|
|
4229
|
-
hasNext: data.page.has_next ? true : false,
|
|
4230
|
-
nextId: data.page.next_id,
|
|
4231
|
-
});
|
|
4232
|
-
return data;
|
|
4233
|
-
};
|
|
4234
|
-
paginator.setCallback(callback.bind(this));
|
|
4235
|
-
return paginator;
|
|
4236
|
-
}
|
|
4237
|
-
|
|
4238
4170
|
/**
|
|
4239
4171
|
* @param {ContentPlatformApplicationValidator.GetComponentByIdParam} arg - Arg object
|
|
4240
4172
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
4241
4173
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4242
4174
|
* @returns {Promise<ContentPlatformModel.BlogSchema>} - Success response
|
|
4243
4175
|
* @name getComponentById
|
|
4244
|
-
* @summary: Get
|
|
4245
|
-
* @description:
|
|
4176
|
+
* @summary: Get component by ID.
|
|
4177
|
+
* @description: Retrieve detailed information about a specific component. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getComponentById/).
|
|
4246
4178
|
*/
|
|
4247
4179
|
async getComponentById(
|
|
4248
4180
|
{ slug, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4320,8 +4252,8 @@ class Content {
|
|
|
4320
4252
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4321
4253
|
* @returns {Promise<ContentPlatformModel.DataLoadersSchema>} - Success response
|
|
4322
4254
|
* @name getDataLoaders
|
|
4323
|
-
* @summary: Get
|
|
4324
|
-
* @description:
|
|
4255
|
+
* @summary: Get data loaders.
|
|
4256
|
+
* @description: Retrieve a list of data loaders. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getDataLoaders/).
|
|
4325
4257
|
*/
|
|
4326
4258
|
async getDataLoaders(
|
|
4327
4259
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -4480,8 +4412,8 @@ class Content {
|
|
|
4480
4412
|
* @returns {Promise<ContentPlatformModel.DefaultNavigationResponse>} -
|
|
4481
4413
|
* Success response
|
|
4482
4414
|
* @name getDefaultNavigations
|
|
4483
|
-
* @summary: Get default navigations
|
|
4484
|
-
* @description:
|
|
4415
|
+
* @summary: Get default navigations.
|
|
4416
|
+
* @description: Retrieve default navigation elements. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getDefaultNavigations/).
|
|
4485
4417
|
*/
|
|
4486
4418
|
async getDefaultNavigations(
|
|
4487
4419
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -4637,8 +4569,8 @@ class Content {
|
|
|
4637
4569
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4638
4570
|
* @returns {Promise<ContentPlatformModel.CreateFaqResponseSchema>} - Success response
|
|
4639
4571
|
* @name getFaqByIdOrSlug
|
|
4640
|
-
* @summary: Get
|
|
4641
|
-
* @description:
|
|
4572
|
+
* @summary: Get FAQ by ID or slug.
|
|
4573
|
+
* @description: Retrieve detailed information about a specific FAQ. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getFaqByIdOrSlug/).
|
|
4642
4574
|
*/
|
|
4643
4575
|
async getFaqByIdOrSlug(
|
|
4644
4576
|
{ idOrSlug, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4716,8 +4648,8 @@ class Content {
|
|
|
4716
4648
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4717
4649
|
* @returns {Promise<ContentPlatformModel.GetFaqCategoriesSchema>} - Success response
|
|
4718
4650
|
* @name getFaqCategories
|
|
4719
|
-
* @summary: Get
|
|
4720
|
-
* @description:
|
|
4651
|
+
* @summary: Get FAQ categories.
|
|
4652
|
+
* @description: Retrieve a list of FAQ categories. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getFaqCategories/).
|
|
4721
4653
|
*/
|
|
4722
4654
|
async getFaqCategories(
|
|
4723
4655
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -4794,8 +4726,8 @@ class Content {
|
|
|
4794
4726
|
* @returns {Promise<ContentPlatformModel.GetFaqCategoryBySlugSchema>} -
|
|
4795
4727
|
* Success response
|
|
4796
4728
|
* @name getFaqCategoryBySlugOrId
|
|
4797
|
-
* @summary: Get
|
|
4798
|
-
* @description:
|
|
4729
|
+
* @summary: Get FAQ category by slug or ID.
|
|
4730
|
+
* @description: Retrieve detailed information about a specific FAQ category. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getFaqCategoryBySlugOrId/).
|
|
4799
4731
|
*/
|
|
4800
4732
|
async getFaqCategoryBySlugOrId(
|
|
4801
4733
|
{ idOrSlug, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4875,8 +4807,8 @@ class Content {
|
|
|
4875
4807
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4876
4808
|
* @returns {Promise<ContentPlatformModel.GetFaqSchema>} - Success response
|
|
4877
4809
|
* @name getFaqsByCategoryIdOrSlug
|
|
4878
|
-
* @summary: Get
|
|
4879
|
-
* @description:
|
|
4810
|
+
* @summary: Get FAQs by category ID or slug.
|
|
4811
|
+
* @description: Retrieve a list of FAQs within a specific category. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getFaqsByCategoryIdOrSlug/).
|
|
4880
4812
|
*/
|
|
4881
4813
|
async getFaqsByCategoryIdOrSlug(
|
|
4882
4814
|
{ idOrSlug, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4956,8 +4888,8 @@ class Content {
|
|
|
4956
4888
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4957
4889
|
* @returns {Promise<ContentPlatformModel.TagsSchema>} - Success response
|
|
4958
4890
|
* @name getInjectableTags
|
|
4959
|
-
* @summary: Get all
|
|
4960
|
-
* @description:
|
|
4891
|
+
* @summary: Get all HTML tags
|
|
4892
|
+
* @description: Retrieve a list of injectable tags. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getInjectableTags/).
|
|
4961
4893
|
*/
|
|
4962
4894
|
async getInjectableTags(
|
|
4963
4895
|
{ all, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5036,8 +4968,8 @@ class Content {
|
|
|
5036
4968
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5037
4969
|
* @returns {Promise<ContentPlatformModel.LandingPageGetResponse>} - Success response
|
|
5038
4970
|
* @name getLandingPages
|
|
5039
|
-
* @summary: Get landing pages
|
|
5040
|
-
* @description:
|
|
4971
|
+
* @summary: Get landing pages.
|
|
4972
|
+
* @description: Retrieve a list of landing pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getLandingPages/).
|
|
5041
4973
|
*/
|
|
5042
4974
|
async getLandingPages(
|
|
5043
4975
|
{ pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5113,40 +5045,6 @@ class Content {
|
|
|
5113
5045
|
return response;
|
|
5114
5046
|
}
|
|
5115
5047
|
|
|
5116
|
-
/**
|
|
5117
|
-
* @param {Object} arg - Arg object.
|
|
5118
|
-
* @param {string} arg.companyId - Numeric ID allotted to a business account
|
|
5119
|
-
* on Fynd Platform
|
|
5120
|
-
* @param {string} arg.applicationId - Numeric ID allotted to an application
|
|
5121
|
-
* created within a business account.
|
|
5122
|
-
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
5123
|
-
* page. Default value is 10.
|
|
5124
|
-
* @returns {Paginator<ContentPlatformModel.LandingPageGetResponse>}
|
|
5125
|
-
* @summary: Get landing pages
|
|
5126
|
-
* @description: Landing page is the first page that a prospect lands upon while visiting a website. Use this API to fetch a list of landing pages.
|
|
5127
|
-
*/
|
|
5128
|
-
getLandingPagesPaginator({ companyId, applicationId, pageSize } = {}) {
|
|
5129
|
-
const paginator = new Paginator();
|
|
5130
|
-
const callback = async () => {
|
|
5131
|
-
const pageId = paginator.nextId;
|
|
5132
|
-
const pageNo = paginator.pageNo;
|
|
5133
|
-
const pageType = "number";
|
|
5134
|
-
const data = await this.getLandingPages({
|
|
5135
|
-
companyId: companyId,
|
|
5136
|
-
applicationId: applicationId,
|
|
5137
|
-
pageNo: pageNo,
|
|
5138
|
-
pageSize: pageSize,
|
|
5139
|
-
});
|
|
5140
|
-
paginator.setPaginator({
|
|
5141
|
-
hasNext: data.page.has_next ? true : false,
|
|
5142
|
-
nextId: data.page.next_id,
|
|
5143
|
-
});
|
|
5144
|
-
return data;
|
|
5145
|
-
};
|
|
5146
|
-
paginator.setCallback(callback.bind(this));
|
|
5147
|
-
return paginator;
|
|
5148
|
-
}
|
|
5149
|
-
|
|
5150
5048
|
/**
|
|
5151
5049
|
* @param {ContentPlatformApplicationValidator.GetLegalInformationParam} arg
|
|
5152
5050
|
* - Arg object
|
|
@@ -5155,8 +5053,8 @@ class Content {
|
|
|
5155
5053
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5156
5054
|
* @returns {Promise<ContentPlatformModel.ApplicationLegal>} - Success response
|
|
5157
5055
|
* @name getLegalInformation
|
|
5158
|
-
* @summary: Get legal information
|
|
5159
|
-
* @description:
|
|
5056
|
+
* @summary: Get legal related information for applicaiton
|
|
5057
|
+
* @description: Retrieve legal information and terms. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getLegalInformation/).
|
|
5160
5058
|
*/
|
|
5161
5059
|
async getLegalInformation(
|
|
5162
5060
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -5232,8 +5130,8 @@ class Content {
|
|
|
5232
5130
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5233
5131
|
* @returns {Promise<ContentPlatformModel.NavigationSchema>} - Success response
|
|
5234
5132
|
* @name getNavigationBySlug
|
|
5235
|
-
* @summary: Get
|
|
5236
|
-
* @description:
|
|
5133
|
+
* @summary: Get navigation by slug.
|
|
5134
|
+
* @description: Retrieve detailed information about a specific navigation element. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getNavigationBySlug/).
|
|
5237
5135
|
*/
|
|
5238
5136
|
async getNavigationBySlug(
|
|
5239
5137
|
{ slug, devicePlatform, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5314,8 +5212,8 @@ class Content {
|
|
|
5314
5212
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5315
5213
|
* @returns {Promise<ContentPlatformModel.NavigationGetResponse>} - Success response
|
|
5316
5214
|
* @name getNavigations
|
|
5317
|
-
* @summary: Get
|
|
5318
|
-
* @description:
|
|
5215
|
+
* @summary: Get navigation items
|
|
5216
|
+
* @description: Retrieve a list of navigational elements. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getNavigations/).
|
|
5319
5217
|
*/
|
|
5320
5218
|
async getNavigations(
|
|
5321
5219
|
{ devicePlatform, pageNo, pageSize, requestHeaders } = {
|
|
@@ -5396,56 +5294,14 @@ class Content {
|
|
|
5396
5294
|
return response;
|
|
5397
5295
|
}
|
|
5398
5296
|
|
|
5399
|
-
/**
|
|
5400
|
-
* @param {Object} arg - Arg object.
|
|
5401
|
-
* @param {string} arg.companyId - Numeric ID allotted to a business account
|
|
5402
|
-
* on Fynd Platform
|
|
5403
|
-
* @param {string} arg.applicationId - Numeric ID allotted to an application
|
|
5404
|
-
* created within a business account.
|
|
5405
|
-
* @param {string} arg.devicePlatform - Filter navigations by platform.
|
|
5406
|
-
* Acceptable values are: web, android, ios, all
|
|
5407
|
-
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
5408
|
-
* page. Default value is 10.
|
|
5409
|
-
* @returns {Paginator<ContentPlatformModel.NavigationGetResponse>}
|
|
5410
|
-
* @summary: Get navigations
|
|
5411
|
-
* @description: Use this API to fetch the navigations details which includes the items of the navigation pane. It also shows the orientation, links, sub-navigations, etc.
|
|
5412
|
-
*/
|
|
5413
|
-
getNavigationsPaginator({
|
|
5414
|
-
companyId,
|
|
5415
|
-
applicationId,
|
|
5416
|
-
devicePlatform,
|
|
5417
|
-
pageSize,
|
|
5418
|
-
} = {}) {
|
|
5419
|
-
const paginator = new Paginator();
|
|
5420
|
-
const callback = async () => {
|
|
5421
|
-
const pageId = paginator.nextId;
|
|
5422
|
-
const pageNo = paginator.pageNo;
|
|
5423
|
-
const pageType = "number";
|
|
5424
|
-
const data = await this.getNavigations({
|
|
5425
|
-
companyId: companyId,
|
|
5426
|
-
applicationId: applicationId,
|
|
5427
|
-
devicePlatform: devicePlatform,
|
|
5428
|
-
pageNo: pageNo,
|
|
5429
|
-
pageSize: pageSize,
|
|
5430
|
-
});
|
|
5431
|
-
paginator.setPaginator({
|
|
5432
|
-
hasNext: data.page.has_next ? true : false,
|
|
5433
|
-
nextId: data.page.next_id,
|
|
5434
|
-
});
|
|
5435
|
-
return data;
|
|
5436
|
-
};
|
|
5437
|
-
paginator.setCallback(callback.bind(this));
|
|
5438
|
-
return paginator;
|
|
5439
|
-
}
|
|
5440
|
-
|
|
5441
5297
|
/**
|
|
5442
5298
|
* @param {ContentPlatformApplicationValidator.GetPageBySlugParam} arg - Arg object
|
|
5443
5299
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
5444
5300
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5445
5301
|
* @returns {Promise<ContentPlatformModel.PageSchema>} - Success response
|
|
5446
5302
|
* @name getPageBySlug
|
|
5447
|
-
* @summary: Get page by slug
|
|
5448
|
-
* @description:
|
|
5303
|
+
* @summary: Get page by slug.
|
|
5304
|
+
* @description: Retrieve detailed information about a specific page using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getPageBySlug/).
|
|
5449
5305
|
*/
|
|
5450
5306
|
async getPageBySlug(
|
|
5451
5307
|
{ slug, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5523,8 +5379,8 @@ class Content {
|
|
|
5523
5379
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5524
5380
|
* @returns {Promise<ContentPlatformModel.PageMetaSchema>} - Success response
|
|
5525
5381
|
* @name getPageMeta
|
|
5526
|
-
* @summary: Get page meta
|
|
5527
|
-
* @description:
|
|
5382
|
+
* @summary: Get page meta.
|
|
5383
|
+
* @description: Retrieve metadata for a specific page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getPageMeta/).
|
|
5528
5384
|
*/
|
|
5529
5385
|
async getPageMeta(
|
|
5530
5386
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -5598,8 +5454,8 @@ class Content {
|
|
|
5598
5454
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5599
5455
|
* @returns {Promise<ContentPlatformModel.PageSpec>} - Success response
|
|
5600
5456
|
* @name getPageSpec
|
|
5601
|
-
* @summary: Get page
|
|
5602
|
-
* @description:
|
|
5457
|
+
* @summary: Get page specification.
|
|
5458
|
+
* @description: Retrieve specifications and details for a specific page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getPageSpec/).
|
|
5603
5459
|
*/
|
|
5604
5460
|
async getPageSpec(
|
|
5605
5461
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -5673,8 +5529,8 @@ class Content {
|
|
|
5673
5529
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5674
5530
|
* @returns {Promise<ContentPlatformModel.PageGetResponse>} - Success response
|
|
5675
5531
|
* @name getPages
|
|
5676
|
-
* @summary: Get
|
|
5677
|
-
* @description:
|
|
5532
|
+
* @summary: Get pages.
|
|
5533
|
+
* @description: Retrieve a list of available pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getPages/).
|
|
5678
5534
|
*/
|
|
5679
5535
|
async getPages(
|
|
5680
5536
|
{ pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5748,40 +5604,6 @@ class Content {
|
|
|
5748
5604
|
return response;
|
|
5749
5605
|
}
|
|
5750
5606
|
|
|
5751
|
-
/**
|
|
5752
|
-
* @param {Object} arg - Arg object.
|
|
5753
|
-
* @param {string} arg.companyId - Numeric ID allotted to a business account
|
|
5754
|
-
* on Fynd Platform
|
|
5755
|
-
* @param {string} arg.applicationId - Numeric ID allotted to an application
|
|
5756
|
-
* created within a business account.
|
|
5757
|
-
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
5758
|
-
* page. Default value is 10.
|
|
5759
|
-
* @returns {Paginator<ContentPlatformModel.PageGetResponse>}
|
|
5760
|
-
* @summary: Get a list of pages
|
|
5761
|
-
* @description: Use this API to retrieve a list of pages.
|
|
5762
|
-
*/
|
|
5763
|
-
getPagesPaginator({ companyId, applicationId, pageSize } = {}) {
|
|
5764
|
-
const paginator = new Paginator();
|
|
5765
|
-
const callback = async () => {
|
|
5766
|
-
const pageId = paginator.nextId;
|
|
5767
|
-
const pageNo = paginator.pageNo;
|
|
5768
|
-
const pageType = "number";
|
|
5769
|
-
const data = await this.getPages({
|
|
5770
|
-
companyId: companyId,
|
|
5771
|
-
applicationId: applicationId,
|
|
5772
|
-
pageNo: pageNo,
|
|
5773
|
-
pageSize: pageSize,
|
|
5774
|
-
});
|
|
5775
|
-
paginator.setPaginator({
|
|
5776
|
-
hasNext: data.page.has_next ? true : false,
|
|
5777
|
-
nextId: data.page.next_id,
|
|
5778
|
-
});
|
|
5779
|
-
return data;
|
|
5780
|
-
};
|
|
5781
|
-
paginator.setCallback(callback.bind(this));
|
|
5782
|
-
return paginator;
|
|
5783
|
-
}
|
|
5784
|
-
|
|
5785
5607
|
/**
|
|
5786
5608
|
* @param {ContentPlatformApplicationValidator.GetPathRedirectionRuleParam} arg
|
|
5787
5609
|
* - Arg object
|
|
@@ -5790,8 +5612,8 @@ class Content {
|
|
|
5790
5612
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5791
5613
|
* @returns {Promise<ContentPlatformModel.PathMappingSchema>} - Success response
|
|
5792
5614
|
* @name getPathRedirectionRule
|
|
5793
|
-
* @summary: Get path
|
|
5794
|
-
* @description:
|
|
5615
|
+
* @summary: Get path redirection rule.
|
|
5616
|
+
* @description: Retrieve detailed information about a specific path redirection rule. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getPathRedirectionRule/).
|
|
5795
5617
|
*/
|
|
5796
5618
|
async getPathRedirectionRule(
|
|
5797
5619
|
{ pathId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5871,8 +5693,8 @@ class Content {
|
|
|
5871
5693
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5872
5694
|
* @returns {Promise<ContentPlatformModel.PathMappingSchema>} - Success response
|
|
5873
5695
|
* @name getPathRedirectionRules
|
|
5874
|
-
* @summary: Get path
|
|
5875
|
-
* @description:
|
|
5696
|
+
* @summary: Get path redirection rules.
|
|
5697
|
+
* @description: Retrieve a list of path redirection rules. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getPathRedirectionRules/).
|
|
5876
5698
|
*/
|
|
5877
5699
|
async getPathRedirectionRules(
|
|
5878
5700
|
{ pageSize, pageNo, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5956,8 +5778,8 @@ class Content {
|
|
|
5956
5778
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5957
5779
|
* @returns {Promise<ContentPlatformModel.SeoComponent>} - Success response
|
|
5958
5780
|
* @name getSEOConfiguration
|
|
5959
|
-
* @summary: Get SEO configuration
|
|
5960
|
-
* @description:
|
|
5781
|
+
* @summary: Get SEO configuration for an application
|
|
5782
|
+
* @description: Retrieve configuration settings for SEO. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getSEOConfiguration/).
|
|
5961
5783
|
*/
|
|
5962
5784
|
async getSEOConfiguration(
|
|
5963
5785
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -6421,8 +6243,8 @@ class Content {
|
|
|
6421
6243
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
6422
6244
|
* @returns {Promise<ContentPlatformModel.Support>} - Success response
|
|
6423
6245
|
* @name getSupportInformation
|
|
6424
|
-
* @summary: Get support information
|
|
6425
|
-
* @description:
|
|
6246
|
+
* @summary: Get support information.
|
|
6247
|
+
* @description: Retrieve information related to customer support. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getSupportInformation/).
|
|
6426
6248
|
*/
|
|
6427
6249
|
async getSupportInformation(
|
|
6428
6250
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -6584,8 +6406,8 @@ class Content {
|
|
|
6584
6406
|
* @returns {Promise<ContentPlatformModel.TagDeleteSuccessResponse>} -
|
|
6585
6407
|
* Success response
|
|
6586
6408
|
* @name removeInjectableTag
|
|
6587
|
-
* @summary: Remove
|
|
6588
|
-
* @description:
|
|
6409
|
+
* @summary: Remove HTML tag.
|
|
6410
|
+
* @description: Delete a specific injectable tag. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/removeInjectableTag/).
|
|
6589
6411
|
*/
|
|
6590
6412
|
async removeInjectableTag(
|
|
6591
6413
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6664,8 +6486,8 @@ class Content {
|
|
|
6664
6486
|
* @returns {Promise<ContentPlatformModel.DataLoaderResetResponseSchema>} -
|
|
6665
6487
|
* Success response
|
|
6666
6488
|
* @name resetDataLoader
|
|
6667
|
-
* @summary: Reset
|
|
6668
|
-
* @description:
|
|
6489
|
+
* @summary: Reset data loader.
|
|
6490
|
+
* @description: Clear and reset data loader settings. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/resetDataLoader/).
|
|
6669
6491
|
*/
|
|
6670
6492
|
async resetDataLoader(
|
|
6671
6493
|
{ service, operationId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6824,8 +6646,8 @@ class Content {
|
|
|
6824
6646
|
* @returns {Promise<ContentPlatformModel.DataLoaderResponseSchema>} -
|
|
6825
6647
|
* Success response
|
|
6826
6648
|
* @name selectDataLoader
|
|
6827
|
-
* @summary: Select
|
|
6828
|
-
* @description:
|
|
6649
|
+
* @summary: Select data loader.
|
|
6650
|
+
* @description: Choose and set a data loader for use. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/selectDataLoader/).
|
|
6829
6651
|
*/
|
|
6830
6652
|
async selectDataLoader(
|
|
6831
6653
|
{ dataLoaderId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6906,8 +6728,8 @@ class Content {
|
|
|
6906
6728
|
* @returns {Promise<ContentPlatformModel.CreateAnnouncementSchema>} -
|
|
6907
6729
|
* Success response
|
|
6908
6730
|
* @name updateAnnouncement
|
|
6909
|
-
* @summary: Update
|
|
6910
|
-
* @description:
|
|
6731
|
+
* @summary: Update announcement.
|
|
6732
|
+
* @description: Modify the content and settings of a specific announcement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateAnnouncement/).
|
|
6911
6733
|
*/
|
|
6912
6734
|
async updateAnnouncement(
|
|
6913
6735
|
{ announcementId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6990,8 +6812,8 @@ class Content {
|
|
|
6990
6812
|
* @returns {Promise<ContentPlatformModel.CreateAnnouncementSchema>} -
|
|
6991
6813
|
* Success response
|
|
6992
6814
|
* @name updateAnnouncementSchedule
|
|
6993
|
-
* @summary: Update
|
|
6994
|
-
* @description:
|
|
6815
|
+
* @summary: Update announcement schedule.
|
|
6816
|
+
* @description: Modify the scheduling of a specific announcement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateAnnouncementSchedule/).
|
|
6995
6817
|
*/
|
|
6996
6818
|
async updateAnnouncementSchedule(
|
|
6997
6819
|
{ announcementId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -7323,8 +7145,8 @@ class Content {
|
|
|
7323
7145
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7324
7146
|
* @returns {Promise<ContentPlatformModel.BlogSchema>} - Success response
|
|
7325
7147
|
* @name updateBlog
|
|
7326
|
-
* @summary: Update
|
|
7327
|
-
* @description:
|
|
7148
|
+
* @summary: Update blog.
|
|
7149
|
+
* @description: Modify the content and settings of a specific blog. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateBlog/).
|
|
7328
7150
|
*/
|
|
7329
7151
|
async updateBlog(
|
|
7330
7152
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -7402,8 +7224,8 @@ class Content {
|
|
|
7402
7224
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7403
7225
|
* @returns {Promise<ContentPlatformModel.CreateFaqResponseSchema>} - Success response
|
|
7404
7226
|
* @name updateFaq
|
|
7405
|
-
* @summary: Update
|
|
7406
|
-
* @description:
|
|
7227
|
+
* @summary: Update FAQ.
|
|
7228
|
+
* @description: Modify the content and settings of a specific FAQ. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateFaq/).
|
|
7407
7229
|
*/
|
|
7408
7230
|
async updateFaq(
|
|
7409
7231
|
{ categoryId, faqId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -7485,8 +7307,8 @@ class Content {
|
|
|
7485
7307
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7486
7308
|
* @returns {Promise<ContentPlatformModel.CreateFaqCategorySchema>} - Success response
|
|
7487
7309
|
* @name updateFaqCategory
|
|
7488
|
-
* @summary: Update
|
|
7489
|
-
* @description:
|
|
7310
|
+
* @summary: Update FAQ category.
|
|
7311
|
+
* @description: Modify the content and settings of a specific FAQ category. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateFaqCategory/).
|
|
7490
7312
|
*/
|
|
7491
7313
|
async updateFaqCategory(
|
|
7492
7314
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -7568,8 +7390,8 @@ class Content {
|
|
|
7568
7390
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7569
7391
|
* @returns {Promise<ContentPlatformModel.TagsSchema>} - Success response
|
|
7570
7392
|
* @name updateInjectableTag
|
|
7571
|
-
* @summary: Update
|
|
7572
|
-
* @description:
|
|
7393
|
+
* @summary: Update HTML tag
|
|
7394
|
+
* @description: Modify settings for an injectable tag. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateInjectableTag/).
|
|
7573
7395
|
*/
|
|
7574
7396
|
async updateInjectableTag(
|
|
7575
7397
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -7649,8 +7471,8 @@ class Content {
|
|
|
7649
7471
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7650
7472
|
* @returns {Promise<ContentPlatformModel.LandingPageSchema>} - Success response
|
|
7651
7473
|
* @name updateLandingPage
|
|
7652
|
-
* @summary: Update
|
|
7653
|
-
* @description:
|
|
7474
|
+
* @summary: Update landing page.
|
|
7475
|
+
* @description: Modify the content and settings of a specific landing page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateLandingPage/).
|
|
7654
7476
|
*/
|
|
7655
7477
|
async updateLandingPage(
|
|
7656
7478
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -7732,8 +7554,8 @@ class Content {
|
|
|
7732
7554
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7733
7555
|
* @returns {Promise<ContentPlatformModel.ApplicationLegal>} - Success response
|
|
7734
7556
|
* @name updateLegalInformation
|
|
7735
|
-
* @summary:
|
|
7736
|
-
* @description:
|
|
7557
|
+
* @summary: Update legal related information for application
|
|
7558
|
+
* @description: Modify legal information and terms. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateLegalInformation/).
|
|
7737
7559
|
*/
|
|
7738
7560
|
async updateLegalInformation(
|
|
7739
7561
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -7811,8 +7633,8 @@ class Content {
|
|
|
7811
7633
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7812
7634
|
* @returns {Promise<ContentPlatformModel.NavigationSchema>} - Success response
|
|
7813
7635
|
* @name updateNavigation
|
|
7814
|
-
* @summary: Update
|
|
7815
|
-
* @description:
|
|
7636
|
+
* @summary: Update navigation.
|
|
7637
|
+
* @description: Modify the content and settings of a specific navigation element. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateNavigation/).
|
|
7816
7638
|
*/
|
|
7817
7639
|
async updateNavigation(
|
|
7818
7640
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -7892,8 +7714,8 @@ class Content {
|
|
|
7892
7714
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7893
7715
|
* @returns {Promise<ContentPlatformModel.PageSchema>} - Success response
|
|
7894
7716
|
* @name updatePage
|
|
7895
|
-
* @summary: Update
|
|
7896
|
-
* @description:
|
|
7717
|
+
* @summary: Update page.
|
|
7718
|
+
* @description: Modify and update the content of a page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updatePage/).
|
|
7897
7719
|
*/
|
|
7898
7720
|
async updatePage(
|
|
7899
7721
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -7973,8 +7795,8 @@ class Content {
|
|
|
7973
7795
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7974
7796
|
* @returns {Promise<ContentPlatformModel.PageSchema>} - Success response
|
|
7975
7797
|
* @name updatePagePreview
|
|
7976
|
-
* @summary:
|
|
7977
|
-
* @description:
|
|
7798
|
+
* @summary: Update page preview.
|
|
7799
|
+
* @description: Modify the content and settings of a specific page preview. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updatePagePreview/).
|
|
7978
7800
|
*/
|
|
7979
7801
|
async updatePagePreview(
|
|
7980
7802
|
{ slug, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -8056,8 +7878,8 @@ class Content {
|
|
|
8056
7878
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
8057
7879
|
* @returns {Promise<ContentPlatformModel.PathMappingSchema>} - Success response
|
|
8058
7880
|
* @name updatePathRedirectionRules
|
|
8059
|
-
* @summary: Update path
|
|
8060
|
-
* @description:
|
|
7881
|
+
* @summary: Update path redirection rules.
|
|
7882
|
+
* @description: Modify settings for path redirection rules. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updatePathRedirectionRules/).
|
|
8061
7883
|
*/
|
|
8062
7884
|
async updatePathRedirectionRules(
|
|
8063
7885
|
{ pathId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -8139,8 +7961,8 @@ class Content {
|
|
|
8139
7961
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
8140
7962
|
* @returns {Promise<ContentPlatformModel.SeoSchema>} - Success response
|
|
8141
7963
|
* @name updateSEOConfiguration
|
|
8142
|
-
* @summary: Update SEO
|
|
8143
|
-
* @description:
|
|
7964
|
+
* @summary: Update SEO configuration for an application
|
|
7965
|
+
* @description: Modify configuration settings for SEO. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateSEOConfiguration/).
|
|
8144
7966
|
*/
|
|
8145
7967
|
async updateSEOConfiguration(
|
|
8146
7968
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -8301,8 +8123,8 @@ class Content {
|
|
|
8301
8123
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
8302
8124
|
* @returns {Promise<ContentPlatformModel.Support>} - Success response
|
|
8303
8125
|
* @name updateSupportInformation
|
|
8304
|
-
* @summary: Update
|
|
8305
|
-
* @description:
|
|
8126
|
+
* @summary: Update support related info for an application
|
|
8127
|
+
* @description: Modify information related to customer support. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateSupportInformation/).
|
|
8306
8128
|
*/
|
|
8307
8129
|
async updateSupportInformation(
|
|
8308
8130
|
{ body, requestHeaders } = { requestHeaders: {} },
|