@gofynd/fdk-client-javascript 1.6.4 → 2.0.1
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 +5 -5
- package/sdk/application/Cart/CartApplicationClient.js +26 -268
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +20 -20
- package/sdk/application/Catalog/CatalogApplicationClient.js +98 -347
- package/sdk/application/Common/CommonApplicationClient.js +1 -16
- package/sdk/application/Communication/CommunicationApplicationClient.js +1 -24
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +24 -2
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +58 -137
- package/sdk/application/Content/ContentApplicationClient.d.ts +47 -7
- package/sdk/application/Content/ContentApplicationClient.js +222 -191
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
- package/sdk/application/Finance/FinanceApplicationClient.js +1 -16
- package/sdk/application/Lead/LeadApplicationClient.d.ts +4 -4
- package/sdk/application/Lead/LeadApplicationClient.js +21 -52
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +16 -56
- package/sdk/application/Logistic/LogisticApplicationClient.js +57 -332
- package/sdk/application/Order/OrderApplicationClient.d.ts +11 -11
- package/sdk/application/Order/OrderApplicationClient.js +68 -153
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -12
- package/sdk/application/Payment/PaymentApplicationClient.js +7 -487
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +1 -1
- package/sdk/application/Rewards/RewardsApplicationClient.js +6 -59
- package/sdk/application/Share/ShareApplicationClient.d.ts +4 -4
- package/sdk/application/Share/ShareApplicationClient.js +21 -75
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +3 -3
- package/sdk/application/Theme/ThemeApplicationClient.js +19 -47
- package/sdk/application/User/UserApplicationClient.js +1 -407
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -8
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +10 -7
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +1 -55
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +1 -408
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -5
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +0 -37
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -0
- package/sdk/partner/Lead/LeadPartnerModel.js +2 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +29 -25
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +65 -42
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1008 -794
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +573 -460
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +10 -5
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +5 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.js +2 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +2 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +67 -9
- package/sdk/platform/Cart/CartPlatformModel.js +38 -5
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.js +4 -4
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +47 -13
- package/sdk/platform/Catalog/CatalogPlatformModel.js +29 -7
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +7 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +71 -7
- package/sdk/platform/Communication/CommunicationPlatformModel.js +70 -6
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +0 -27
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +8 -60
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +31 -20
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +3 -3
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +13 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +68 -11
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +49 -7
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +169 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1279 -132
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +156 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +180 -0
- package/sdk/platform/Content/ContentPlatformClient.d.ts +162 -0
- package/sdk/platform/Content/ContentPlatformClient.js +1697 -497
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1053 -35
- package/sdk/platform/Content/ContentPlatformModel.js +717 -34
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +127 -1
- package/sdk/platform/Content/ContentPlatformValidator.js +171 -0
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +34 -0
- package/sdk/platform/Discount/DiscountPlatformClient.js +59 -0
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +365 -93
- package/sdk/platform/Discount/DiscountPlatformModel.js +98 -93
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +54 -34
- package/sdk/platform/Discount/DiscountPlatformValidator.js +27 -17
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +0 -156
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +0 -1072
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -137
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +0 -173
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +1 -1105
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +0 -1125
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -0
- package/sdk/platform/Lead/LeadPlatformModel.js +2 -0
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +0 -92
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
- package/sdk/platform/Order/OrderPlatformClient.d.ts +212 -0
- package/sdk/platform/Order/OrderPlatformClient.js +397 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +41 -9
- package/sdk/platform/Order/OrderPlatformModel.js +20 -7
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +20 -0
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +58 -10
- package/sdk/platform/Partner/PartnerPlatformModel.js +19 -10
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +12 -2
- package/sdk/platform/Payment/PaymentPlatformModel.js +8 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +5 -0
- package/sdk/platform/Rewards/RewardsPlatformModel.js +2 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +240 -24
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +1753 -277
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +320 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +269 -19
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +53 -104
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +201 -629
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +5720 -2891
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3414 -2181
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +138 -216
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +81 -148
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +10 -0
- package/sdk/platform/User/UserPlatformApplicationClient.js +79 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +13 -1
- package/sdk/platform/User/UserPlatformApplicationValidator.js +12 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +52 -1
- package/sdk/platform/User/UserPlatformModel.js +36 -0
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +5 -0
- package/sdk/platform/Webhook/WebhookPlatformModel.js +2 -0
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +1 -1
- package/sdk/public/Catalog/CatalogPublicClient.js +6 -11
- package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -16
- package/sdk/public/Content/ContentPublicClient.d.ts +36 -3
- package/sdk/public/Content/ContentPublicClient.js +261 -104
- package/sdk/public/Content/ContentPublicModel.d.ts +155 -1
- package/sdk/public/Content/ContentPublicModel.js +102 -0
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -1
- package/sdk/public/Content/ContentPublicValidator.js +26 -0
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +6 -11
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/Webhook/WebhookPublicClient.js +1 -40
|
@@ -2,6 +2,28 @@ export = Content;
|
|
|
2
2
|
declare class Content {
|
|
3
3
|
constructor(config: any);
|
|
4
4
|
config: any;
|
|
5
|
+
/**
|
|
6
|
+
* @param {ContentPlatformValidator.AddCompanyLanguageParam} arg - Arg object
|
|
7
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
8
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
9
|
+
* @returns {Promise<Object>} - Success response
|
|
10
|
+
* @name addCompanyLanguage
|
|
11
|
+
* @summary: Add company language
|
|
12
|
+
* @description: Add new languages to company's supported language list. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/addCompanyLanguage/).
|
|
13
|
+
*/
|
|
14
|
+
addCompanyLanguage({ body, requestHeaders }?: ContentPlatformValidator.AddCompanyLanguageParam, { responseHeaders }?: object): Promise<any>;
|
|
15
|
+
/**
|
|
16
|
+
* @param {ContentPlatformValidator.CreateCompanyResourceTranslationParam} arg
|
|
17
|
+
* - Arg object
|
|
18
|
+
*
|
|
19
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
20
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
21
|
+
* @returns {Promise<ContentPlatformModel.ResourceTranslation>} - Success response
|
|
22
|
+
* @name createCompanyResourceTranslation
|
|
23
|
+
* @summary: Add company translation
|
|
24
|
+
* @description: Create new translations for company resources. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createCompanyResourceTranslation/).
|
|
25
|
+
*/
|
|
26
|
+
createCompanyResourceTranslation({ body, requestHeaders }?: ContentPlatformValidator.CreateCompanyResourceTranslationParam, { responseHeaders }?: object): Promise<ContentPlatformModel.ResourceTranslation>;
|
|
5
27
|
/**
|
|
6
28
|
* @param {ContentPlatformValidator.CreateCustomFieldDefinitionParam} arg - Arg object
|
|
7
29
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -38,6 +60,28 @@ declare class Content {
|
|
|
38
60
|
* @description: Create a custom object that will have a collection of custom fields and can be used anywhere in the custom field for any resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createCustomObjectDefinition/).
|
|
39
61
|
*/
|
|
40
62
|
createCustomObjectDefinition({ body, requestHeaders }?: ContentPlatformValidator.CreateCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSlugSchema>;
|
|
63
|
+
/**
|
|
64
|
+
* @param {ContentPlatformValidator.DeleteCompanyLanguageParam} arg - Arg object
|
|
65
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
66
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
67
|
+
* @returns {Promise<any>} - Success response
|
|
68
|
+
* @name deleteCompanyLanguage
|
|
69
|
+
* @summary: Remove company language
|
|
70
|
+
* @description: Remove a language from company's supported languages list. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCompanyLanguage/).
|
|
71
|
+
*/
|
|
72
|
+
deleteCompanyLanguage({ locale, requestHeaders }?: ContentPlatformValidator.DeleteCompanyLanguageParam, { responseHeaders }?: object): Promise<any>;
|
|
73
|
+
/**
|
|
74
|
+
* @param {ContentPlatformValidator.DeleteCompanyResourceTranslationParam} arg
|
|
75
|
+
* - Arg object
|
|
76
|
+
*
|
|
77
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
78
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
79
|
+
* @returns {Promise<ContentPlatformModel.DeletedResource>} - Success response
|
|
80
|
+
* @name deleteCompanyResourceTranslation
|
|
81
|
+
* @summary: Remove company translation
|
|
82
|
+
* @description: Remove translations for company resources. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCompanyResourceTranslation/).
|
|
83
|
+
*/
|
|
84
|
+
deleteCompanyResourceTranslation({ id, requestHeaders }?: ContentPlatformValidator.DeleteCompanyResourceTranslationParam, { responseHeaders }?: object): Promise<ContentPlatformModel.DeletedResource>;
|
|
41
85
|
/**
|
|
42
86
|
* @param {ContentPlatformValidator.DeleteCustomFieldDefinitionBySlugParam} arg
|
|
43
87
|
* - Arg object
|
|
@@ -101,6 +145,58 @@ declare class Content {
|
|
|
101
145
|
* @description: Custom object bulk export of bulk entries can be perform using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/exportCustomObjectEntriesBySlug/).
|
|
102
146
|
*/
|
|
103
147
|
exportCustomObjectEntriesBySlug({ slug, requestHeaders }?: ContentPlatformValidator.ExportCustomObjectEntriesBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectBulkEntryInitiateDownload>;
|
|
148
|
+
/**
|
|
149
|
+
* @param {ContentPlatformValidator.GetAllResourceDefinitionsParam} arg - Arg object
|
|
150
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
151
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
152
|
+
* @returns {Promise<Object>} - Success response
|
|
153
|
+
* @name getAllResourceDefinitions
|
|
154
|
+
* @summary: Get all resource defination
|
|
155
|
+
* @description: Retrieve translation schemas and configurations for resources. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getAllResourceDefinitions/).
|
|
156
|
+
*/
|
|
157
|
+
getAllResourceDefinitions({ translatableResourceId, requestHeaders }?: ContentPlatformValidator.GetAllResourceDefinitionsParam, { responseHeaders }?: object): Promise<any>;
|
|
158
|
+
/**
|
|
159
|
+
* @param {ContentPlatformValidator.GetAllSectionsParam} arg - Arg object
|
|
160
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
161
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
162
|
+
* @returns {Promise<Object>} - Success response
|
|
163
|
+
* @name getAllSections
|
|
164
|
+
* @summary: List all translatable content sections
|
|
165
|
+
* @description: Retrieve all translatable content sections for organization. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getAllSections/).
|
|
166
|
+
*/
|
|
167
|
+
getAllSections({ requestHeaders }?: any, { responseHeaders }?: object): Promise<any>;
|
|
168
|
+
/**
|
|
169
|
+
* @param {ContentPlatformValidator.GetAllTranslatableResourcesParam} arg - Arg object
|
|
170
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
171
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
172
|
+
* @returns {Promise<Object>} - Success response
|
|
173
|
+
* @name getAllTranslatableResources
|
|
174
|
+
* @summary: List all translatable resources
|
|
175
|
+
* @description: Retrieve all translatable content resources for the company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getAllTranslatableResources/).
|
|
176
|
+
*/
|
|
177
|
+
getAllTranslatableResources({ requestHeaders }?: any, { responseHeaders }?: object): Promise<any>;
|
|
178
|
+
/**
|
|
179
|
+
* @param {ContentPlatformValidator.GetCompanyLanguagesParam} arg - Arg object
|
|
180
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
181
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
182
|
+
* @returns {Promise<Object>} - Success response
|
|
183
|
+
* @name getCompanyLanguages
|
|
184
|
+
* @summary: Get company languages
|
|
185
|
+
* @description: Retrieve language configurations and settings for the specified company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCompanyLanguages/).
|
|
186
|
+
*/
|
|
187
|
+
getCompanyLanguages({ requestHeaders }?: any, { responseHeaders }?: object): Promise<any>;
|
|
188
|
+
/**
|
|
189
|
+
* @param {ContentPlatformValidator.GetCompanyResourceTranslationParam} arg
|
|
190
|
+
* - Arg object
|
|
191
|
+
*
|
|
192
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
193
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
194
|
+
* @returns {Promise<ContentPlatformModel.ResourceTranslation>} - Success response
|
|
195
|
+
* @name getCompanyResourceTranslation
|
|
196
|
+
* @summary: Get company translations
|
|
197
|
+
* @description: Fetch translations for company-level resources. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCompanyResourceTranslation/).
|
|
198
|
+
*/
|
|
199
|
+
getCompanyResourceTranslation({ locale, type, resourceId, requestHeaders }?: ContentPlatformValidator.GetCompanyResourceTranslationParam, { responseHeaders }?: object): Promise<ContentPlatformModel.ResourceTranslation>;
|
|
104
200
|
/**
|
|
105
201
|
* @param {ContentPlatformValidator.GetCustomFieldDefinitionByResourceParam} arg
|
|
106
202
|
* - Arg object
|
|
@@ -219,6 +315,16 @@ declare class Content {
|
|
|
219
315
|
* @description: Custom object bulk import and export jobs status and details can be obtained using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getJobs/).
|
|
220
316
|
*/
|
|
221
317
|
getJobs({ page, pageSize, actionType, requestHeaders }?: ContentPlatformValidator.GetJobsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectBulkEntry>;
|
|
318
|
+
/**
|
|
319
|
+
* @param {ContentPlatformValidator.GetResourceDefinitionByIdParam} arg - Arg object
|
|
320
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
321
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
322
|
+
* @returns {Promise<ContentPlatformModel.ResourceDefinition>} - Success response
|
|
323
|
+
* @name getResourceDefinitionById
|
|
324
|
+
* @summary: Get resource definitions details
|
|
325
|
+
* @description: Fetch specific resource definition and its translation schema. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getResourceDefinitionById/).
|
|
326
|
+
*/
|
|
327
|
+
getResourceDefinitionById({ id, requestHeaders }?: ContentPlatformValidator.GetResourceDefinitionByIdParam, { responseHeaders }?: object): Promise<ContentPlatformModel.ResourceDefinition>;
|
|
222
328
|
/**
|
|
223
329
|
* @param {ContentPlatformValidator.GetResourcesParam} arg - Arg object
|
|
224
330
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -229,6 +335,38 @@ declare class Content {
|
|
|
229
335
|
* @description: Use this API to retrieve the resources, such as products, collections, customers, selling locations, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getResources/).
|
|
230
336
|
*/
|
|
231
337
|
getResources({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentPlatformModel.ResourcesSchema>;
|
|
338
|
+
/**
|
|
339
|
+
* @param {ContentPlatformValidator.GetSectionByIdParam} arg - Arg object
|
|
340
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
341
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
342
|
+
* @returns {Promise<ContentPlatformModel.TranslatableSection>} - Success response
|
|
343
|
+
* @name getSectionById
|
|
344
|
+
* @summary: Retrieve details of a specific translatable section by its ID.
|
|
345
|
+
* @description: Fetch details of a specific translatable section. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getSectionById/).
|
|
346
|
+
*/
|
|
347
|
+
getSectionById({ id, requestHeaders }?: ContentPlatformValidator.GetSectionByIdParam, { responseHeaders }?: object): Promise<ContentPlatformModel.TranslatableSection>;
|
|
348
|
+
/**
|
|
349
|
+
* @param {ContentPlatformValidator.GetTranslatableResourceByIdParam} arg - Arg object
|
|
350
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
351
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
352
|
+
* @returns {Promise<ContentPlatformModel.TranslatableResource>} - Success response
|
|
353
|
+
* @name getTranslatableResourceById
|
|
354
|
+
* @summary: Get translatable resource details
|
|
355
|
+
* @description: Fetch details of a specific translatable resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getTranslatableResourceById/).
|
|
356
|
+
*/
|
|
357
|
+
getTranslatableResourceById({ id, requestHeaders }?: ContentPlatformValidator.GetTranslatableResourceByIdParam, { responseHeaders }?: object): Promise<ContentPlatformModel.TranslatableResource>;
|
|
358
|
+
/**
|
|
359
|
+
* @param {ContentPlatformValidator.GetTranslatableResourcesBySectionIdParam} arg
|
|
360
|
+
* - Arg object
|
|
361
|
+
*
|
|
362
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
363
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
364
|
+
* @returns {Promise<Object>} - Success response
|
|
365
|
+
* @name getTranslatableResourcesBySectionId
|
|
366
|
+
* @summary: Get section resources
|
|
367
|
+
* @description: Retrieve all resources within a specific section. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getTranslatableResourcesBySectionId/).
|
|
368
|
+
*/
|
|
369
|
+
getTranslatableResourcesBySectionId({ id, requestHeaders }?: ContentPlatformValidator.GetTranslatableResourcesBySectionIdParam, { responseHeaders }?: object): Promise<any>;
|
|
232
370
|
/**
|
|
233
371
|
* @param {ContentPlatformValidator.ImportCustomObjectEntriesBySlugParam} arg
|
|
234
372
|
* - Arg object
|
|
@@ -255,6 +393,30 @@ declare class Content {
|
|
|
255
393
|
* @description: Sample files for custom object bulk import can be obtained from this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/sampleCustomObjectBulkEntryBySlug/).
|
|
256
394
|
*/
|
|
257
395
|
sampleCustomObjectBulkEntryBySlug({ slug, requestHeaders }?: ContentPlatformValidator.SampleCustomObjectBulkEntryBySlugParam, { responseHeaders }?: object): Promise<string>;
|
|
396
|
+
/**
|
|
397
|
+
* @param {ContentPlatformValidator.UpdateCompanyLanguageDefaultParam} arg
|
|
398
|
+
* - Arg object
|
|
399
|
+
*
|
|
400
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
401
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
402
|
+
* @returns {Promise<ContentPlatformModel.CompanyLanguage>} - Success response
|
|
403
|
+
* @name updateCompanyLanguageDefault
|
|
404
|
+
* @summary: Set default language
|
|
405
|
+
* @description: Update default language settings for the company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCompanyLanguageDefault/).
|
|
406
|
+
*/
|
|
407
|
+
updateCompanyLanguageDefault({ body, requestHeaders }?: ContentPlatformValidator.UpdateCompanyLanguageDefaultParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CompanyLanguage>;
|
|
408
|
+
/**
|
|
409
|
+
* @param {ContentPlatformValidator.UpdateCompanyResourceTranslationParam} arg
|
|
410
|
+
* - Arg object
|
|
411
|
+
*
|
|
412
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
413
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
414
|
+
* @returns {Promise<ContentPlatformModel.ResourceTranslation>} - Success response
|
|
415
|
+
* @name updateCompanyResourceTranslation
|
|
416
|
+
* @summary: Update company translation
|
|
417
|
+
* @description: Update existing translations for company resources. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCompanyResourceTranslation/).
|
|
418
|
+
*/
|
|
419
|
+
updateCompanyResourceTranslation({ id, body, requestHeaders }?: ContentPlatformValidator.UpdateCompanyResourceTranslationParam, { responseHeaders }?: object): Promise<ContentPlatformModel.ResourceTranslation>;
|
|
258
420
|
/**
|
|
259
421
|
* @param {ContentPlatformValidator.UpdateCustomFieldByResourceSlugParam} arg
|
|
260
422
|
* - Arg object
|