@gofynd/fdk-client-javascript 1.4.2-beta.7 → 1.4.3
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 +5 -3
- package/sdk/application/ApplicationAPIClient.d.ts +1 -1
- package/sdk/application/ApplicationAPIClient.js +0 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +25 -25
- package/sdk/application/Cart/CartApplicationClient.js +25 -25
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +40 -40
- package/sdk/application/Catalog/CatalogApplicationClient.js +40 -40
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +16 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationClient.d.ts +10 -10
- package/sdk/application/Content/ContentApplicationClient.js +10 -10
- package/sdk/application/Content/ContentApplicationModel.d.ts +18 -18
- package/sdk/application/Content/ContentApplicationModel.js +26 -26
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +12 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
- package/sdk/application/Lead/LeadApplicationClient.js +7 -7
- package/sdk/application/Lead/LeadApplicationModel.d.ts +64 -77
- package/sdk/application/Lead/LeadApplicationModel.js +42 -52
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +9 -9
- package/sdk/application/Logistic/LogisticApplicationClient.js +9 -9
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -12
- package/sdk/application/Order/OrderApplicationClient.js +12 -12
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +47 -47
- package/sdk/application/Payment/PaymentApplicationClient.js +52 -52
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -2
- package/sdk/application/Payment/PaymentApplicationModel.js +4 -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 +27 -27
- package/sdk/application/PosCart/PosCartApplicationClient.js +27 -27
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationClient.js +6 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
- package/sdk/application/Share/ShareApplicationModel.js +2 -0
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +4 -4
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +25 -32
- package/sdk/application/Theme/ThemeApplicationModel.js +30 -40
- package/sdk/application/User/UserApplicationClient.d.ts +28 -28
- package/sdk/application/User/UserApplicationClient.js +28 -28
- package/sdk/application/User/UserApplicationModel.d.ts +44 -13
- package/sdk/application/User/UserApplicationModel.js +17 -13
- package/sdk/common/AxiosHelper.d.ts +1 -1
- package/sdk/common/AxiosHelper.js +38 -17
- package/sdk/common/Clickstream.js +22 -16
- package/sdk/common/curlHelper.js +1 -3
- package/sdk/common/utils.d.ts +15 -0
- package/sdk/common/utils.js +30 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +2 -2
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +1 -1
- package/sdk/partner/Lead/LeadPartnerClient.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +4 -4
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +4 -4
- package/sdk/partner/OAuthClient.d.ts +3 -3
- package/sdk/partner/PartnerAPIClient.d.ts +1 -1
- package/sdk/partner/PartnerAPIClient.js +0 -1
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +19 -19
- package/sdk/partner/Theme/ThemePartnerClient.js +19 -19
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +25 -32
- package/sdk/partner/Theme/ThemePartnerModel.js +30 -40
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +2 -2
- package/sdk/partner/Webhook/WebhookPartnerClient.js +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +4 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +17 -17
- package/sdk/platform/Billing/BillingPlatformClient.js +17 -17
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +49 -49
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +49 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +60 -60
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +62 -62
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +87 -87
- package/sdk/platform/Catalog/CatalogPlatformClient.js +87 -87
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +65 -28
- package/sdk/platform/Catalog/CatalogPlatformModel.js +68 -36
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
- package/sdk/platform/Common/CommonPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +58 -58
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +58 -58
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +12 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.js +12 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +16 -16
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +16 -16
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +2 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +18 -18
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +57 -57
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +63 -63
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
- package/sdk/platform/Content/ContentPlatformClient.d.ts +3 -3
- package/sdk/platform/Content/ContentPlatformClient.js +9 -9
- package/sdk/platform/Content/ContentPlatformModel.d.ts +18 -18
- package/sdk/platform/Content/ContentPlatformModel.js +26 -26
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +11 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +11 -11
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +9 -9
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +19 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +23 -14
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +12 -1
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +14 -0
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +27 -27
- package/sdk/platform/Finance/FinancePlatformClient.js +27 -27
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +6 -6
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +62 -77
- package/sdk/platform/Lead/LeadPlatformModel.js +40 -52
- package/sdk/platform/OAuthClient.d.ts +3 -3
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +2 -2
- package/sdk/platform/Order/OrderPlatformClient.d.ts +41 -41
- package/sdk/platform/Order/OrderPlatformClient.js +41 -41
- package/sdk/platform/Order/OrderPlatformModel.d.ts +8 -2
- package/sdk/platform/Order/OrderPlatformModel.js +8 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +38 -38
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +38 -38
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +10 -10
- package/sdk/platform/PlatformAPIClient.d.ts +1 -1
- package/sdk/platform/PlatformAPIClient.js +0 -1
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +9 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +9 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +15 -15
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +15 -15
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +28 -28
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +28 -28
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformClient.js +3 -3
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +25 -32
- package/sdk/platform/Theme/ThemePlatformModel.js +30 -40
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +16 -16
- package/sdk/platform/User/UserPlatformApplicationClient.js +16 -16
- package/sdk/platform/User/UserPlatformModel.d.ts +48 -13
- package/sdk/platform/User/UserPlatformModel.js +21 -13
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +16 -16
- package/sdk/platform/Webhook/WebhookPlatformClient.js +16 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
- package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
- package/sdk/public/Billing/BillingPublicClient.d.ts +1 -1
- package/sdk/public/Billing/BillingPublicClient.js +4 -4
- package/sdk/public/Billing/BillingPublicValidator.d.ts +2 -2
- package/sdk/public/Billing/BillingPublicValidator.js +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +1 -1
- package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
- package/sdk/public/Content/ContentPublicValidator.d.ts +2 -2
- package/sdk/public/Content/ContentPublicValidator.js +3 -3
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +8 -8
- package/sdk/public/Inventory/InventoryPublicModel.js +8 -8
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/PublicAPIClient.d.ts +1 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
|
@@ -22,7 +22,7 @@ class Content {
|
|
|
22
22
|
* @returns {Promise<ContentPlatformModel.DataLoaderResponseSchema>} -
|
|
23
23
|
* Success response
|
|
24
24
|
* @name addDataLoader
|
|
25
|
-
* @summary: Add data loader
|
|
25
|
+
* @summary: Add data loader
|
|
26
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(
|
|
@@ -101,7 +101,7 @@ class Content {
|
|
|
101
101
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
102
102
|
* @returns {Promise<ContentPlatformModel.CreateFaqResponseSchema>} - Success response
|
|
103
103
|
* @name addFaq
|
|
104
|
-
* @summary: Add FAQ
|
|
104
|
+
* @summary: Add FAQ
|
|
105
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(
|
|
@@ -180,7 +180,7 @@ class Content {
|
|
|
180
180
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
181
181
|
* @returns {Promise<ContentPlatformModel.TagsSchema>} - Success response
|
|
182
182
|
* @name addInjectableTag
|
|
183
|
-
* @summary: Create HTML tag
|
|
183
|
+
* @summary: Create HTML tag
|
|
184
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(
|
|
@@ -261,7 +261,7 @@ class Content {
|
|
|
261
261
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
262
262
|
* @returns {Promise<ContentPlatformModel.PathMappingSchema>} - Success response
|
|
263
263
|
* @name addPathRedirectionRules
|
|
264
|
-
* @summary: Add path redirection rules
|
|
264
|
+
* @summary: Add path redirection rules
|
|
265
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(
|
|
@@ -343,7 +343,7 @@ class Content {
|
|
|
343
343
|
* @returns {Promise<ContentPlatformModel.CreateAnnouncementSchema>} -
|
|
344
344
|
* Success response
|
|
345
345
|
* @name createAnnouncement
|
|
346
|
-
* @summary: Create announcement
|
|
346
|
+
* @summary: Create announcement
|
|
347
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(
|
|
@@ -755,7 +755,7 @@ class Content {
|
|
|
755
755
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
756
756
|
* @returns {Promise<ContentPlatformModel.BlogSchema>} - Success response
|
|
757
757
|
* @name createBlog
|
|
758
|
-
* @summary: Create blog
|
|
758
|
+
* @summary: Create blog
|
|
759
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(
|
|
@@ -834,7 +834,7 @@ class Content {
|
|
|
834
834
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
835
835
|
* @returns {Promise<ContentPlatformModel.CreateFaqCategorySchema>} - Success response
|
|
836
836
|
* @name createFaqCategory
|
|
837
|
-
* @summary: Create FAQ category
|
|
837
|
+
* @summary: Create FAQ category
|
|
838
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(
|
|
@@ -915,7 +915,7 @@ class Content {
|
|
|
915
915
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
916
916
|
* @returns {Promise<ContentPlatformModel.LandingPageSchema>} - Success response
|
|
917
917
|
* @name createLandingPage
|
|
918
|
-
* @summary: Create landing page
|
|
918
|
+
* @summary: Create landing page
|
|
919
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(
|
|
@@ -1073,7 +1073,7 @@ class Content {
|
|
|
1073
1073
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1074
1074
|
* @returns {Promise<ContentPlatformModel.PageSchema>} - Success response
|
|
1075
1075
|
* @name createPage
|
|
1076
|
-
* @summary: Create page
|
|
1076
|
+
* @summary: Create page
|
|
1077
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(
|
|
@@ -1152,7 +1152,7 @@ class Content {
|
|
|
1152
1152
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1153
1153
|
* @returns {Promise<ContentPlatformModel.PageSchema>} - Success response
|
|
1154
1154
|
* @name createPagePreview
|
|
1155
|
-
* @summary: Create page preview
|
|
1155
|
+
* @summary: Create page preview
|
|
1156
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(
|
|
@@ -1394,7 +1394,7 @@ class Content {
|
|
|
1394
1394
|
* @returns {Promise<ContentPlatformModel.CreateAnnouncementSchema>} -
|
|
1395
1395
|
* Success response
|
|
1396
1396
|
* @name deleteAnnouncement
|
|
1397
|
-
* @summary: Delete announcement
|
|
1397
|
+
* @summary: Delete announcement
|
|
1398
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(
|
|
@@ -1475,7 +1475,7 @@ class Content {
|
|
|
1475
1475
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1476
1476
|
* @returns {Promise<ContentPlatformModel.CustomDataDeleteSchema>} - Success response
|
|
1477
1477
|
* @name deleteAppCustomFieldDefinition
|
|
1478
|
-
* @summary: Delete custom fields definition
|
|
1478
|
+
* @summary: Delete custom fields definition
|
|
1479
1479
|
* @description: Use this API to delete the definitions of custom fields using definition_id. This will also delete related custom fields entries related to this definition. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteAppCustomFieldDefinition/).
|
|
1480
1480
|
*/
|
|
1481
1481
|
async deleteAppCustomFieldDefinition(
|
|
@@ -1718,7 +1718,7 @@ class Content {
|
|
|
1718
1718
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1719
1719
|
* @returns {Promise<ContentPlatformModel.BlogSchema>} - Success response
|
|
1720
1720
|
* @name deleteBlog
|
|
1721
|
-
* @summary: Delete blog
|
|
1721
|
+
* @summary: Delete blog
|
|
1722
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(
|
|
@@ -1796,7 +1796,7 @@ class Content {
|
|
|
1796
1796
|
* @returns {Promise<ContentPlatformModel.DataLoaderResponseSchema>} -
|
|
1797
1797
|
* Success response
|
|
1798
1798
|
* @name deleteDataLoader
|
|
1799
|
-
* @summary: Delete data loader
|
|
1799
|
+
* @summary: Delete data loader
|
|
1800
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(
|
|
@@ -1875,7 +1875,7 @@ class Content {
|
|
|
1875
1875
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1876
1876
|
* @returns {Promise<ContentPlatformModel.CreateFaqResponseSchema>} - Success response
|
|
1877
1877
|
* @name deleteFaq
|
|
1878
|
-
* @summary: Delete FAQ
|
|
1878
|
+
* @summary: Delete FAQ
|
|
1879
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(
|
|
@@ -1956,7 +1956,7 @@ class Content {
|
|
|
1956
1956
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1957
1957
|
* @returns {Promise<ContentPlatformModel.FaqSchema>} - Success response
|
|
1958
1958
|
* @name deleteFaqCategory
|
|
1959
|
-
* @summary: Delete FAQ category
|
|
1959
|
+
* @summary: Delete FAQ category
|
|
1960
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(
|
|
@@ -2037,7 +2037,7 @@ class Content {
|
|
|
2037
2037
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2038
2038
|
* @returns {Promise<ContentPlatformModel.LandingPageSchema>} - Success response
|
|
2039
2039
|
* @name deleteLandingPage
|
|
2040
|
-
* @summary: Delete landing page
|
|
2040
|
+
* @summary: Delete landing page
|
|
2041
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(
|
|
@@ -2116,7 +2116,7 @@ class Content {
|
|
|
2116
2116
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2117
2117
|
* @returns {Promise<ContentPlatformModel.NavigationSchema>} - Success response
|
|
2118
2118
|
* @name deleteNavigation
|
|
2119
|
-
* @summary: Delete navigation
|
|
2119
|
+
* @summary: Delete navigation
|
|
2120
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(
|
|
@@ -2195,7 +2195,7 @@ class Content {
|
|
|
2195
2195
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2196
2196
|
* @returns {Promise<ContentPlatformModel.PageSchema>} - Success response
|
|
2197
2197
|
* @name deletePage
|
|
2198
|
-
* @summary: Delete page
|
|
2198
|
+
* @summary: Delete page
|
|
2199
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(
|
|
@@ -2274,7 +2274,7 @@ class Content {
|
|
|
2274
2274
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2275
2275
|
* @returns {Promise<Object>} - Success response
|
|
2276
2276
|
* @name deletePathRedirectionRules
|
|
2277
|
-
* @summary: Delete path redirection rules
|
|
2277
|
+
* @summary: Delete path redirection rules
|
|
2278
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(
|
|
@@ -2512,7 +2512,7 @@ class Content {
|
|
|
2512
2512
|
* @returns {Promise<ContentPlatformModel.DataLoaderResponseSchema>} -
|
|
2513
2513
|
* Success response
|
|
2514
2514
|
* @name editDataLoader
|
|
2515
|
-
* @summary: Edit data loader
|
|
2515
|
+
* @summary: Edit data loader
|
|
2516
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(
|
|
@@ -2842,7 +2842,7 @@ class Content {
|
|
|
2842
2842
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2843
2843
|
* @returns {Promise<ContentPlatformModel.GeneratedSEOContent>} - Success response
|
|
2844
2844
|
* @name generateSEOTitle
|
|
2845
|
-
* @summary: Generate SEO title
|
|
2845
|
+
* @summary: Generate SEO title
|
|
2846
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(
|
|
@@ -2925,7 +2925,7 @@ 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
|
|
2928
|
+
* @summary: Get announcement by ID
|
|
2929
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(
|
|
@@ -3007,7 +3007,7 @@ class Content {
|
|
|
3007
3007
|
* @returns {Promise<ContentPlatformModel.GetAnnouncementListSchema>} -
|
|
3008
3008
|
* Success response
|
|
3009
3009
|
* @name getAnnouncementsList
|
|
3010
|
-
* @summary: Get announcements list
|
|
3010
|
+
* @summary: Get announcements list
|
|
3011
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(
|
|
@@ -3180,7 +3180,7 @@ class Content {
|
|
|
3180
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/).
|
|
3181
3181
|
*/
|
|
3182
3182
|
async getAppCustomFieldDefinitions(
|
|
3183
|
-
{ pageNo, pageSize,
|
|
3183
|
+
{ pageNo, pageSize, resource, type, search, requestHeaders } = {
|
|
3184
3184
|
requestHeaders: {},
|
|
3185
3185
|
},
|
|
3186
3186
|
{ responseHeaders } = { responseHeaders: false }
|
|
@@ -3191,8 +3191,8 @@ class Content {
|
|
|
3191
3191
|
{
|
|
3192
3192
|
pageNo,
|
|
3193
3193
|
pageSize,
|
|
3194
|
-
|
|
3195
|
-
|
|
3194
|
+
resource,
|
|
3195
|
+
type,
|
|
3196
3196
|
search,
|
|
3197
3197
|
},
|
|
3198
3198
|
{ abortEarly: false, allowUnknown: true }
|
|
@@ -3208,8 +3208,8 @@ class Content {
|
|
|
3208
3208
|
{
|
|
3209
3209
|
pageNo,
|
|
3210
3210
|
pageSize,
|
|
3211
|
-
|
|
3212
|
-
|
|
3211
|
+
resource,
|
|
3212
|
+
type,
|
|
3213
3213
|
search,
|
|
3214
3214
|
},
|
|
3215
3215
|
{ abortEarly: false, allowUnknown: false }
|
|
@@ -3224,8 +3224,8 @@ class Content {
|
|
|
3224
3224
|
const query_params = {};
|
|
3225
3225
|
query_params["page_no"] = pageNo;
|
|
3226
3226
|
query_params["page_size"] = pageSize;
|
|
3227
|
-
query_params["
|
|
3228
|
-
query_params["
|
|
3227
|
+
query_params["resource"] = resource;
|
|
3228
|
+
query_params["type"] = type;
|
|
3229
3229
|
query_params["search"] = search;
|
|
3230
3230
|
|
|
3231
3231
|
const response = await PlatformAPIClient.execute(
|
|
@@ -3854,7 +3854,7 @@ class Content {
|
|
|
3854
3854
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3855
3855
|
* @returns {Promise<ContentPlatformModel.CustomObjectBulkEntry>} - Success response
|
|
3856
3856
|
* @name getAppJobs
|
|
3857
|
-
* @summary: Fetch bulk import and export job list
|
|
3857
|
+
* @summary: Fetch bulk import and export job list
|
|
3858
3858
|
* @description: Use this api to get list of jobs of bulk import and exports - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getAppJobs/).
|
|
3859
3859
|
*/
|
|
3860
3860
|
async getAppJobs(
|
|
@@ -4013,7 +4013,7 @@ class Content {
|
|
|
4013
4013
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4014
4014
|
* @returns {Promise<ContentPlatformModel.BlogSchema>} - Success response
|
|
4015
4015
|
* @name getBlogBySlug
|
|
4016
|
-
* @summary: Get blog by slug
|
|
4016
|
+
* @summary: Get blog by slug
|
|
4017
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/).
|
|
4018
4018
|
*/
|
|
4019
4019
|
async getBlogBySlug(
|
|
@@ -4092,7 +4092,7 @@ class Content {
|
|
|
4092
4092
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4093
4093
|
* @returns {Promise<ContentPlatformModel.BlogGetResponse>} - Success response
|
|
4094
4094
|
* @name getBlogs
|
|
4095
|
-
* @summary: Get blogs
|
|
4095
|
+
* @summary: Get blogs
|
|
4096
4096
|
* @description: Retrieve a list of available blogs. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getBlogs/).
|
|
4097
4097
|
*/
|
|
4098
4098
|
async getBlogs(
|
|
@@ -4173,7 +4173,7 @@ class Content {
|
|
|
4173
4173
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4174
4174
|
* @returns {Promise<ContentPlatformModel.BlogSchema>} - Success response
|
|
4175
4175
|
* @name getComponentById
|
|
4176
|
-
* @summary: Get component by ID
|
|
4176
|
+
* @summary: Get component by ID
|
|
4177
4177
|
* @description: Retrieve detailed information about a specific component. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getComponentById/).
|
|
4178
4178
|
*/
|
|
4179
4179
|
async getComponentById(
|
|
@@ -4252,7 +4252,7 @@ class Content {
|
|
|
4252
4252
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4253
4253
|
* @returns {Promise<ContentPlatformModel.DataLoadersSchema>} - Success response
|
|
4254
4254
|
* @name getDataLoaders
|
|
4255
|
-
* @summary: Get data loaders
|
|
4255
|
+
* @summary: Get data loaders
|
|
4256
4256
|
* @description: Retrieve a list of data loaders. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getDataLoaders/).
|
|
4257
4257
|
*/
|
|
4258
4258
|
async getDataLoaders(
|
|
@@ -4412,7 +4412,7 @@ class Content {
|
|
|
4412
4412
|
* @returns {Promise<ContentPlatformModel.DefaultNavigationResponse>} -
|
|
4413
4413
|
* Success response
|
|
4414
4414
|
* @name getDefaultNavigations
|
|
4415
|
-
* @summary: Get default navigations
|
|
4415
|
+
* @summary: Get default navigations
|
|
4416
4416
|
* @description: Retrieve default navigation elements. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getDefaultNavigations/).
|
|
4417
4417
|
*/
|
|
4418
4418
|
async getDefaultNavigations(
|
|
@@ -4569,7 +4569,7 @@ class Content {
|
|
|
4569
4569
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4570
4570
|
* @returns {Promise<ContentPlatformModel.CreateFaqResponseSchema>} - Success response
|
|
4571
4571
|
* @name getFaqByIdOrSlug
|
|
4572
|
-
* @summary: Get FAQ by ID or slug
|
|
4572
|
+
* @summary: Get FAQ by ID or slug
|
|
4573
4573
|
* @description: Retrieve detailed information about a specific FAQ. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getFaqByIdOrSlug/).
|
|
4574
4574
|
*/
|
|
4575
4575
|
async getFaqByIdOrSlug(
|
|
@@ -4648,7 +4648,7 @@ class Content {
|
|
|
4648
4648
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4649
4649
|
* @returns {Promise<ContentPlatformModel.GetFaqCategoriesSchema>} - Success response
|
|
4650
4650
|
* @name getFaqCategories
|
|
4651
|
-
* @summary: Get FAQ categories
|
|
4651
|
+
* @summary: Get FAQ categories
|
|
4652
4652
|
* @description: Retrieve a list of FAQ categories. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getFaqCategories/).
|
|
4653
4653
|
*/
|
|
4654
4654
|
async getFaqCategories(
|
|
@@ -4726,7 +4726,7 @@ class Content {
|
|
|
4726
4726
|
* @returns {Promise<ContentPlatformModel.GetFaqCategoryBySlugSchema>} -
|
|
4727
4727
|
* Success response
|
|
4728
4728
|
* @name getFaqCategoryBySlugOrId
|
|
4729
|
-
* @summary: Get FAQ category by slug or ID
|
|
4729
|
+
* @summary: Get FAQ category by slug or ID
|
|
4730
4730
|
* @description: Retrieve detailed information about a specific FAQ category. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getFaqCategoryBySlugOrId/).
|
|
4731
4731
|
*/
|
|
4732
4732
|
async getFaqCategoryBySlugOrId(
|
|
@@ -4807,7 +4807,7 @@ class Content {
|
|
|
4807
4807
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4808
4808
|
* @returns {Promise<ContentPlatformModel.GetFaqSchema>} - Success response
|
|
4809
4809
|
* @name getFaqsByCategoryIdOrSlug
|
|
4810
|
-
* @summary: Get FAQs by category ID or slug
|
|
4810
|
+
* @summary: Get FAQs by category ID or slug
|
|
4811
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/).
|
|
4812
4812
|
*/
|
|
4813
4813
|
async getFaqsByCategoryIdOrSlug(
|
|
@@ -4968,7 +4968,7 @@ class Content {
|
|
|
4968
4968
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4969
4969
|
* @returns {Promise<ContentPlatformModel.LandingPageGetResponse>} - Success response
|
|
4970
4970
|
* @name getLandingPages
|
|
4971
|
-
* @summary: Get landing pages
|
|
4971
|
+
* @summary: Get landing pages
|
|
4972
4972
|
* @description: Retrieve a list of landing pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getLandingPages/).
|
|
4973
4973
|
*/
|
|
4974
4974
|
async getLandingPages(
|
|
@@ -5130,7 +5130,7 @@ class Content {
|
|
|
5130
5130
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5131
5131
|
* @returns {Promise<ContentPlatformModel.NavigationSchema>} - Success response
|
|
5132
5132
|
* @name getNavigationBySlug
|
|
5133
|
-
* @summary: Get navigation by slug
|
|
5133
|
+
* @summary: Get navigation by slug
|
|
5134
5134
|
* @description: Retrieve detailed information about a specific navigation element. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getNavigationBySlug/).
|
|
5135
5135
|
*/
|
|
5136
5136
|
async getNavigationBySlug(
|
|
@@ -5300,7 +5300,7 @@ class Content {
|
|
|
5300
5300
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5301
5301
|
* @returns {Promise<ContentPlatformModel.PageSchema>} - Success response
|
|
5302
5302
|
* @name getPageBySlug
|
|
5303
|
-
* @summary: Get page by slug
|
|
5303
|
+
* @summary: Get page by slug
|
|
5304
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/).
|
|
5305
5305
|
*/
|
|
5306
5306
|
async getPageBySlug(
|
|
@@ -5379,7 +5379,7 @@ class Content {
|
|
|
5379
5379
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5380
5380
|
* @returns {Promise<ContentPlatformModel.PageMetaSchema>} - Success response
|
|
5381
5381
|
* @name getPageMeta
|
|
5382
|
-
* @summary: Get page meta
|
|
5382
|
+
* @summary: Get page meta
|
|
5383
5383
|
* @description: Retrieve metadata for a specific page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getPageMeta/).
|
|
5384
5384
|
*/
|
|
5385
5385
|
async getPageMeta(
|
|
@@ -5454,7 +5454,7 @@ class Content {
|
|
|
5454
5454
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5455
5455
|
* @returns {Promise<ContentPlatformModel.PageSpec>} - Success response
|
|
5456
5456
|
* @name getPageSpec
|
|
5457
|
-
* @summary: Get page specification
|
|
5457
|
+
* @summary: Get page specification
|
|
5458
5458
|
* @description: Retrieve specifications and details for a specific page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getPageSpec/).
|
|
5459
5459
|
*/
|
|
5460
5460
|
async getPageSpec(
|
|
@@ -5529,7 +5529,7 @@ class Content {
|
|
|
5529
5529
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5530
5530
|
* @returns {Promise<ContentPlatformModel.PageGetResponse>} - Success response
|
|
5531
5531
|
* @name getPages
|
|
5532
|
-
* @summary: Get pages
|
|
5532
|
+
* @summary: Get pages
|
|
5533
5533
|
* @description: Retrieve a list of available pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getPages/).
|
|
5534
5534
|
*/
|
|
5535
5535
|
async getPages(
|
|
@@ -5612,7 +5612,7 @@ class Content {
|
|
|
5612
5612
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5613
5613
|
* @returns {Promise<ContentPlatformModel.PathMappingSchema>} - Success response
|
|
5614
5614
|
* @name getPathRedirectionRule
|
|
5615
|
-
* @summary: Get path redirection rule
|
|
5615
|
+
* @summary: Get path redirection rule
|
|
5616
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/).
|
|
5617
5617
|
*/
|
|
5618
5618
|
async getPathRedirectionRule(
|
|
@@ -5693,7 +5693,7 @@ class Content {
|
|
|
5693
5693
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5694
5694
|
* @returns {Promise<ContentPlatformModel.PathMappingSchema>} - Success response
|
|
5695
5695
|
* @name getPathRedirectionRules
|
|
5696
|
-
* @summary: Get path redirection rules
|
|
5696
|
+
* @summary: Get path redirection rules
|
|
5697
5697
|
* @description: Retrieve a list of path redirection rules. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getPathRedirectionRules/).
|
|
5698
5698
|
*/
|
|
5699
5699
|
async getPathRedirectionRules(
|
|
@@ -6243,7 +6243,7 @@ class Content {
|
|
|
6243
6243
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
6244
6244
|
* @returns {Promise<ContentPlatformModel.Support>} - Success response
|
|
6245
6245
|
* @name getSupportInformation
|
|
6246
|
-
* @summary: Get support information
|
|
6246
|
+
* @summary: Get support information
|
|
6247
6247
|
* @description: Retrieve information related to customer support. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getSupportInformation/).
|
|
6248
6248
|
*/
|
|
6249
6249
|
async getSupportInformation(
|
|
@@ -6406,7 +6406,7 @@ class Content {
|
|
|
6406
6406
|
* @returns {Promise<ContentPlatformModel.TagDeleteSuccessResponse>} -
|
|
6407
6407
|
* Success response
|
|
6408
6408
|
* @name removeInjectableTag
|
|
6409
|
-
* @summary: Remove HTML tag
|
|
6409
|
+
* @summary: Remove HTML tag
|
|
6410
6410
|
* @description: Delete a specific injectable tag. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/removeInjectableTag/).
|
|
6411
6411
|
*/
|
|
6412
6412
|
async removeInjectableTag(
|
|
@@ -6486,7 +6486,7 @@ class Content {
|
|
|
6486
6486
|
* @returns {Promise<ContentPlatformModel.DataLoaderResetResponseSchema>} -
|
|
6487
6487
|
* Success response
|
|
6488
6488
|
* @name resetDataLoader
|
|
6489
|
-
* @summary: Reset data loader
|
|
6489
|
+
* @summary: Reset data loader
|
|
6490
6490
|
* @description: Clear and reset data loader settings. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/resetDataLoader/).
|
|
6491
6491
|
*/
|
|
6492
6492
|
async resetDataLoader(
|
|
@@ -6646,7 +6646,7 @@ class Content {
|
|
|
6646
6646
|
* @returns {Promise<ContentPlatformModel.DataLoaderResponseSchema>} -
|
|
6647
6647
|
* Success response
|
|
6648
6648
|
* @name selectDataLoader
|
|
6649
|
-
* @summary: Select data loader
|
|
6649
|
+
* @summary: Select data loader
|
|
6650
6650
|
* @description: Choose and set a data loader for use. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/selectDataLoader/).
|
|
6651
6651
|
*/
|
|
6652
6652
|
async selectDataLoader(
|
|
@@ -6728,7 +6728,7 @@ class Content {
|
|
|
6728
6728
|
* @returns {Promise<ContentPlatformModel.CreateAnnouncementSchema>} -
|
|
6729
6729
|
* Success response
|
|
6730
6730
|
* @name updateAnnouncement
|
|
6731
|
-
* @summary: Update announcement
|
|
6731
|
+
* @summary: Update announcement
|
|
6732
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/).
|
|
6733
6733
|
*/
|
|
6734
6734
|
async updateAnnouncement(
|
|
@@ -6812,7 +6812,7 @@ class Content {
|
|
|
6812
6812
|
* @returns {Promise<ContentPlatformModel.CreateAnnouncementSchema>} -
|
|
6813
6813
|
* Success response
|
|
6814
6814
|
* @name updateAnnouncementSchedule
|
|
6815
|
-
* @summary: Update announcement schedule
|
|
6815
|
+
* @summary: Update announcement schedule
|
|
6816
6816
|
* @description: Modify the scheduling of a specific announcement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateAnnouncementSchedule/).
|
|
6817
6817
|
*/
|
|
6818
6818
|
async updateAnnouncementSchedule(
|
|
@@ -7145,7 +7145,7 @@ class Content {
|
|
|
7145
7145
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7146
7146
|
* @returns {Promise<ContentPlatformModel.BlogSchema>} - Success response
|
|
7147
7147
|
* @name updateBlog
|
|
7148
|
-
* @summary: Update blog
|
|
7148
|
+
* @summary: Update blog
|
|
7149
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/).
|
|
7150
7150
|
*/
|
|
7151
7151
|
async updateBlog(
|
|
@@ -7224,7 +7224,7 @@ class Content {
|
|
|
7224
7224
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7225
7225
|
* @returns {Promise<ContentPlatformModel.CreateFaqResponseSchema>} - Success response
|
|
7226
7226
|
* @name updateFaq
|
|
7227
|
-
* @summary: Update FAQ
|
|
7227
|
+
* @summary: Update FAQ
|
|
7228
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/).
|
|
7229
7229
|
*/
|
|
7230
7230
|
async updateFaq(
|
|
@@ -7307,7 +7307,7 @@ class Content {
|
|
|
7307
7307
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7308
7308
|
* @returns {Promise<ContentPlatformModel.CreateFaqCategorySchema>} - Success response
|
|
7309
7309
|
* @name updateFaqCategory
|
|
7310
|
-
* @summary: Update FAQ category
|
|
7310
|
+
* @summary: Update FAQ category
|
|
7311
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/).
|
|
7312
7312
|
*/
|
|
7313
7313
|
async updateFaqCategory(
|
|
@@ -7471,7 +7471,7 @@ class Content {
|
|
|
7471
7471
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7472
7472
|
* @returns {Promise<ContentPlatformModel.LandingPageSchema>} - Success response
|
|
7473
7473
|
* @name updateLandingPage
|
|
7474
|
-
* @summary: Update landing page
|
|
7474
|
+
* @summary: Update landing page
|
|
7475
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/).
|
|
7476
7476
|
*/
|
|
7477
7477
|
async updateLandingPage(
|
|
@@ -7633,7 +7633,7 @@ class Content {
|
|
|
7633
7633
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7634
7634
|
* @returns {Promise<ContentPlatformModel.NavigationSchema>} - Success response
|
|
7635
7635
|
* @name updateNavigation
|
|
7636
|
-
* @summary: Update navigation
|
|
7636
|
+
* @summary: Update navigation
|
|
7637
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/).
|
|
7638
7638
|
*/
|
|
7639
7639
|
async updateNavigation(
|
|
@@ -7714,7 +7714,7 @@ class Content {
|
|
|
7714
7714
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7715
7715
|
* @returns {Promise<ContentPlatformModel.PageSchema>} - Success response
|
|
7716
7716
|
* @name updatePage
|
|
7717
|
-
* @summary: Update page
|
|
7717
|
+
* @summary: Update page
|
|
7718
7718
|
* @description: Modify and update the content of a page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updatePage/).
|
|
7719
7719
|
*/
|
|
7720
7720
|
async updatePage(
|
|
@@ -7795,7 +7795,7 @@ class Content {
|
|
|
7795
7795
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7796
7796
|
* @returns {Promise<ContentPlatformModel.PageSchema>} - Success response
|
|
7797
7797
|
* @name updatePagePreview
|
|
7798
|
-
* @summary: Update page preview
|
|
7798
|
+
* @summary: Update page preview
|
|
7799
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/).
|
|
7800
7800
|
*/
|
|
7801
7801
|
async updatePagePreview(
|
|
@@ -7878,7 +7878,7 @@ class Content {
|
|
|
7878
7878
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7879
7879
|
* @returns {Promise<ContentPlatformModel.PathMappingSchema>} - Success response
|
|
7880
7880
|
* @name updatePathRedirectionRules
|
|
7881
|
-
* @summary: Update path redirection rules
|
|
7881
|
+
* @summary: Update path redirection rules
|
|
7882
7882
|
* @description: Modify settings for path redirection rules. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updatePathRedirectionRules/).
|
|
7883
7883
|
*/
|
|
7884
7884
|
async updatePathRedirectionRules(
|
|
@@ -174,8 +174,8 @@ export = ContentPlatformApplicationValidator;
|
|
|
174
174
|
* @typedef GetAppCustomFieldDefinitionsParam
|
|
175
175
|
* @property {string} pageNo
|
|
176
176
|
* @property {string} pageSize
|
|
177
|
-
* @property {string} [
|
|
178
|
-
* @property {string} [
|
|
177
|
+
* @property {string} [resource]
|
|
178
|
+
* @property {string} [type]
|
|
179
179
|
* @property {string} [search]
|
|
180
180
|
*/
|
|
181
181
|
/** @typedef GetAppCustomFieldTypesParam */
|
|
@@ -857,8 +857,8 @@ type GetAppCustomFieldDefinitionParam = {
|
|
|
857
857
|
type GetAppCustomFieldDefinitionsParam = {
|
|
858
858
|
pageNo: string;
|
|
859
859
|
pageSize: string;
|
|
860
|
-
|
|
861
|
-
|
|
860
|
+
resource?: string;
|
|
861
|
+
type?: string;
|
|
862
862
|
search?: string;
|
|
863
863
|
};
|
|
864
864
|
type GetAppCustomFieldsParam = {
|
|
@@ -216,8 +216,8 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
216
216
|
* @typedef GetAppCustomFieldDefinitionsParam
|
|
217
217
|
* @property {string} pageNo
|
|
218
218
|
* @property {string} pageSize
|
|
219
|
-
* @property {string} [
|
|
220
|
-
* @property {string} [
|
|
219
|
+
* @property {string} [resource]
|
|
220
|
+
* @property {string} [type]
|
|
221
221
|
* @property {string} [search]
|
|
222
222
|
*/
|
|
223
223
|
|
|
@@ -848,8 +848,8 @@ class ContentPlatformApplicationValidator {
|
|
|
848
848
|
return Joi.object({
|
|
849
849
|
pageNo: Joi.string().allow("").required(),
|
|
850
850
|
pageSize: Joi.string().allow("").required(),
|
|
851
|
-
|
|
852
|
-
|
|
851
|
+
resource: Joi.string().allow(""),
|
|
852
|
+
type: Joi.string().allow(""),
|
|
853
853
|
search: Joi.string().allow(""),
|
|
854
854
|
}).required();
|
|
855
855
|
}
|
|
@@ -57,7 +57,7 @@ declare class Content {
|
|
|
57
57
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
58
58
|
* @returns {Promise<ContentPlatformModel.CustomDataDeleteSchema>} - Success response
|
|
59
59
|
* @name deleteCustomFieldDefinition
|
|
60
|
-
* @summary: Delete custom fields definition
|
|
60
|
+
* @summary: Delete custom fields definition
|
|
61
61
|
* @description: Use this API to delete the definitions of custom fields using definition_id. This will also delete related custom fields entries related to this definition. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomFieldDefinition/).
|
|
62
62
|
*/
|
|
63
63
|
deleteCustomFieldDefinition({ definitionId, requestHeaders }?: ContentPlatformValidator.DeleteCustomFieldDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomDataDeleteSchema>;
|
|
@@ -119,7 +119,7 @@ declare class Content {
|
|
|
119
119
|
* @summary: Get custom fields definitions
|
|
120
120
|
* @description: Use this API to retrieve the definitions of custom fields. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldDefinitions/).
|
|
121
121
|
*/
|
|
122
|
-
getCustomFieldDefinitions({ pageNo, pageSize,
|
|
122
|
+
getCustomFieldDefinitions({ pageNo, pageSize, resource, type, search, requestHeaders }?: ContentPlatformValidator.GetCustomFieldDefinitionsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionsSchema>;
|
|
123
123
|
/**
|
|
124
124
|
* @param {ContentPlatformValidator.GetCustomFieldTypesParam} arg - Arg object
|
|
125
125
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -201,7 +201,7 @@ declare class Content {
|
|
|
201
201
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
202
202
|
* @returns {Promise<ContentPlatformModel.CustomObjectBulkEntry>} - Success response
|
|
203
203
|
* @name getJobs
|
|
204
|
-
* @summary: Fetch bulk import and export job list
|
|
204
|
+
* @summary: Fetch bulk import and export job list
|
|
205
205
|
* @description: Use this api to get list of jobs of bulk import and exports - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getJobs/).
|
|
206
206
|
*/
|
|
207
207
|
getJobs({ page, pageSize, actionType, requestHeaders }?: ContentPlatformValidator.GetJobsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectBulkEntry>;
|
|
@@ -355,7 +355,7 @@ class Content {
|
|
|
355
355
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
356
356
|
* @returns {Promise<ContentPlatformModel.CustomDataDeleteSchema>} - Success response
|
|
357
357
|
* @name deleteCustomFieldDefinition
|
|
358
|
-
* @summary: Delete custom fields definition
|
|
358
|
+
* @summary: Delete custom fields definition
|
|
359
359
|
* @description: Use this API to delete the definitions of custom fields using definition_id. This will also delete related custom fields entries related to this definition. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomFieldDefinition/).
|
|
360
360
|
*/
|
|
361
361
|
async deleteCustomFieldDefinition(
|
|
@@ -771,7 +771,7 @@ class Content {
|
|
|
771
771
|
* @description: Use this API to retrieve the definitions of custom fields. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldDefinitions/).
|
|
772
772
|
*/
|
|
773
773
|
async getCustomFieldDefinitions(
|
|
774
|
-
{ pageNo, pageSize,
|
|
774
|
+
{ pageNo, pageSize, resource, type, search, requestHeaders } = {
|
|
775
775
|
requestHeaders: {},
|
|
776
776
|
},
|
|
777
777
|
{ responseHeaders } = { responseHeaders: false }
|
|
@@ -782,8 +782,8 @@ class Content {
|
|
|
782
782
|
{
|
|
783
783
|
pageNo,
|
|
784
784
|
pageSize,
|
|
785
|
-
|
|
786
|
-
|
|
785
|
+
resource,
|
|
786
|
+
type,
|
|
787
787
|
search,
|
|
788
788
|
},
|
|
789
789
|
{ abortEarly: false, allowUnknown: true }
|
|
@@ -799,8 +799,8 @@ class Content {
|
|
|
799
799
|
{
|
|
800
800
|
pageNo,
|
|
801
801
|
pageSize,
|
|
802
|
-
|
|
803
|
-
|
|
802
|
+
resource,
|
|
803
|
+
type,
|
|
804
804
|
search,
|
|
805
805
|
},
|
|
806
806
|
{ abortEarly: false, allowUnknown: false }
|
|
@@ -815,8 +815,8 @@ class Content {
|
|
|
815
815
|
const query_params = {};
|
|
816
816
|
query_params["page_no"] = pageNo;
|
|
817
817
|
query_params["page_size"] = pageSize;
|
|
818
|
-
query_params["
|
|
819
|
-
query_params["
|
|
818
|
+
query_params["resource"] = resource;
|
|
819
|
+
query_params["type"] = type;
|
|
820
820
|
query_params["search"] = search;
|
|
821
821
|
|
|
822
822
|
const xHeaders = {};
|
|
@@ -1439,7 +1439,7 @@ class Content {
|
|
|
1439
1439
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1440
1440
|
* @returns {Promise<ContentPlatformModel.CustomObjectBulkEntry>} - Success response
|
|
1441
1441
|
* @name getJobs
|
|
1442
|
-
* @summary: Fetch bulk import and export job list
|
|
1442
|
+
* @summary: Fetch bulk import and export job list
|
|
1443
1443
|
* @description: Use this api to get list of jobs of bulk import and exports - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getJobs/).
|
|
1444
1444
|
*/
|
|
1445
1445
|
async getJobs(
|