@gofynd/fdk-client-javascript 1.3.11-beta.7 → 1.3.11-beta.8
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 +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +5 -3
- package/sdk/application/Cart/CartApplicationModel.d.ts +107 -1
- package/sdk/application/Cart/CartApplicationModel.js +74 -0
- package/sdk/application/Cart/CartApplicationValidator.d.ts +4 -0
- package/sdk/application/Cart/CartApplicationValidator.js +4 -0
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -6
- package/sdk/application/Catalog/CatalogApplicationClient.js +7 -20
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2 -2
- package/sdk/application/Catalog/CatalogApplicationModel.js +2 -2
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -14
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -6
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +183 -49
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +173 -31
- package/sdk/application/Content/ContentApplicationClient.d.ts +36 -0
- package/sdk/application/Content/ContentApplicationClient.js +246 -0
- package/sdk/application/Content/ContentApplicationModel.d.ts +208 -1
- package/sdk/application/Content/ContentApplicationModel.js +252 -0
- package/sdk/application/Content/ContentApplicationValidator.d.ts +40 -1
- package/sdk/application/Content/ContentApplicationValidator.js +41 -0
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +67 -0
- package/sdk/application/Logistic/LogisticApplicationClient.js +547 -0
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +456 -1
- package/sdk/application/Logistic/LogisticApplicationModel.js +488 -0
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +211 -1
- package/sdk/application/Logistic/LogisticApplicationValidator.js +131 -0
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +32 -8
- package/sdk/application/Order/OrderApplicationModel.d.ts +6 -0
- package/sdk/application/Order/OrderApplicationModel.js +6 -0
- package/sdk/application/Order/OrderApplicationValidator.d.ts +20 -0
- package/sdk/application/Order/OrderApplicationValidator.js +8 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -2
- package/sdk/application/Payment/PaymentApplicationClient.js +341 -10
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +493 -186
- package/sdk/application/Payment/PaymentApplicationModel.js +341 -70
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +59 -14
- package/sdk/application/Payment/PaymentApplicationValidator.js +64 -10
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +34 -1
- package/sdk/application/PosCart/PosCartApplicationModel.js +24 -0
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +7 -3
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +222 -36
- package/sdk/application/Theme/ThemeApplicationModel.js +322 -26
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +10 -0
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -0
- package/sdk/application/User/UserApplicationClient.d.ts +33 -0
- package/sdk/application/User/UserApplicationClient.js +239 -0
- package/sdk/application/User/UserApplicationModel.d.ts +28 -13
- package/sdk/application/User/UserApplicationModel.js +36 -12
- package/sdk/application/User/UserApplicationValidator.d.ts +34 -1
- package/sdk/application/User/UserApplicationValidator.js +36 -0
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +125 -0
- package/sdk/partner/Lead/LeadPartnerClient.js +785 -0
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +1127 -0
- package/sdk/partner/Lead/LeadPartnerModel.js +896 -0
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +12 -0
- package/sdk/partner/Lead/LeadPartnerValidator.js +67 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +155 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1195 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +372 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +442 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +16 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +123 -0
- package/sdk/partner/PartnerClient.d.ts +6 -0
- package/sdk/partner/PartnerClient.js +9 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +80 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +100 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +74 -30
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +9 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +99 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.js +753 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +566 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.js +583 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +12 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +74 -0
- package/sdk/partner/index.d.ts +3 -0
- package/sdk/partner/index.js +6 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +11 -1
- package/sdk/platform/Billing/BillingPlatformClient.js +110 -3
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +67 -1
- package/sdk/platform/Billing/BillingPlatformModel.js +78 -0
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +43 -4
- package/sdk/platform/Billing/BillingPlatformValidator.js +29 -2
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +7 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +4 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +100 -5
- package/sdk/platform/Cart/CartPlatformModel.js +71 -4
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +15 -11
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +52 -21
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +11 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +26 -4
- package/sdk/platform/Catalog/CatalogPlatformClient.js +173 -7
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +304 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.js +335 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -3
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +27 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +138 -36
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +739 -57
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +128 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +111 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +150 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.js +172 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +8 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -4
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +38 -9
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +42 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +14 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +6 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +371 -132
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +288 -77
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +391 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +3630 -1059
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +342 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +401 -0
- package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
- package/sdk/platform/Content/ContentPlatformClient.js +2000 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1094 -1
- package/sdk/platform/Content/ContentPlatformModel.js +1356 -46
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +238 -0
- package/sdk/platform/Content/ContentPlatformValidator.js +310 -0
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +96 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +104 -12
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +16 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +117 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +55 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +39 -2
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +16 -5
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +18 -4
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +33 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +240 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +151 -5
- package/sdk/platform/Finance/FinancePlatformModel.js +190 -4
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +38 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +38 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +38 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +137 -56
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +41 -29
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +33 -21
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +12 -3
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +23 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +178 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +39 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +202 -31
- package/sdk/platform/Order/OrderPlatformClient.js +2010 -586
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1032 -470
- package/sdk/platform/Order/OrderPlatformModel.js +1187 -534
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +318 -35
- package/sdk/platform/Order/OrderPlatformValidator.js +292 -29
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +119 -13
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +749 -39
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +143 -7
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +133 -6
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +996 -134
- package/sdk/platform/Payment/PaymentPlatformModel.js +721 -58
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +4 -2
- package/sdk/platform/PlatformClient.js +8 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +142 -66
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +645 -147
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +131 -63
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +126 -47
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +217 -105
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1136 -347
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +912 -313
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1071 -355
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +382 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +266 -102
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +11 -1
- package/sdk/platform/Theme/ThemePlatformClient.js +87 -3
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +333 -47
- package/sdk/platform/Theme/ThemePlatformModel.js +395 -35
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +28 -4
- package/sdk/platform/Theme/ThemePlatformValidator.js +21 -2
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +116 -1
- package/sdk/platform/User/UserPlatformApplicationClient.js +931 -85
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +224 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +173 -5
- package/sdk/platform/User/UserPlatformModel.d.ts +344 -7
- package/sdk/platform/User/UserPlatformModel.js +256 -5
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +47 -39
- package/sdk/platform/Webhook/WebhookPlatformClient.js +63 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +264 -156
- package/sdk/platform/Webhook/WebhookPlatformModel.js +276 -153
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +7 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
- package/sdk/platform/index.d.ts +1 -1
- package/sdk/platform/index.js +2 -2
- package/sdk/public/Billing/BillingPublicClient.d.ts +23 -0
- package/sdk/public/Billing/BillingPublicClient.js +116 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +92 -0
- package/sdk/public/Billing/BillingPublicModel.js +96 -0
- package/sdk/public/Billing/BillingPublicValidator.d.ts +18 -0
- package/sdk/public/Billing/BillingPublicValidator.js +19 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
- package/sdk/public/Content/ContentPublicClient.js +114 -0
- package/sdk/public/Content/ContentPublicModel.d.ts +53 -0
- package/sdk/public/Content/ContentPublicModel.js +60 -0
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -0
- package/sdk/public/Content/ContentPublicValidator.js +19 -0
- package/sdk/public/PublicClient.d.ts +4 -0
- package/sdk/public/PublicClient.js +8 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +33 -0
- package/sdk/public/Webhook/WebhookPublicClient.js +242 -0
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +147 -1
- package/sdk/public/Webhook/WebhookPublicModel.js +177 -1
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +23 -1
- package/sdk/public/Webhook/WebhookPublicValidator.js +31 -0
- package/sdk/public/index.d.ts +2 -0
- package/sdk/public/index.js +4 -0
|
@@ -168,12 +168,14 @@ declare class Catalog {
|
|
|
168
168
|
* @param {CatalogPlatformApplicationValidator.DeleteCollectionParam} arg - Arg object
|
|
169
169
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
170
170
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
171
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
171
|
+
* @returns {Promise<CatalogPlatformModel.CommonResponseSchemaCollection>}
|
|
172
|
+
* - Success response
|
|
173
|
+
*
|
|
172
174
|
* @name deleteCollection
|
|
173
175
|
* @summary: Delete a Collection
|
|
174
176
|
* @description: Delete a collection by it's id. Returns an object that tells whether the collection was deleted successfully - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/deleteCollection/).
|
|
175
177
|
*/
|
|
176
|
-
deleteCollection({ id, requestHeaders }?: CatalogPlatformApplicationValidator.DeleteCollectionParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.
|
|
178
|
+
deleteCollection({ id, requestHeaders }?: CatalogPlatformApplicationValidator.DeleteCollectionParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.CommonResponseSchemaCollection>;
|
|
177
179
|
/**
|
|
178
180
|
* @param {CatalogPlatformApplicationValidator.DeleteGroupConfigurationParam} arg
|
|
179
181
|
* - Arg object
|
|
@@ -282,7 +284,7 @@ declare class Catalog {
|
|
|
282
284
|
* @summary: Get list of locations
|
|
283
285
|
* @description: This API allows to view all the locations asscoiated to a application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getAppLocations/).
|
|
284
286
|
*/
|
|
285
|
-
getAppLocations({ storeType, uid, q, stage, pageNo, pageSize, requestHeaders }?: CatalogPlatformApplicationValidator.GetAppLocationsParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.LocationListSerializer>;
|
|
287
|
+
getAppLocations({ storeType, uid, q, stage, pageNo, pageSize, tags, storeTypes, requestHeaders, }?: CatalogPlatformApplicationValidator.GetAppLocationsParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.LocationListSerializer>;
|
|
286
288
|
/**
|
|
287
289
|
* @param {Object} arg - Arg object.
|
|
288
290
|
* @param {string} arg.companyId - Id of the company whose locations are to fetched
|
|
@@ -297,11 +299,13 @@ declare class Catalog {
|
|
|
297
299
|
* unverified companies.
|
|
298
300
|
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
299
301
|
* page. Default is 20.
|
|
302
|
+
* @param {string[]} [arg.tags] - Get locations filtered by tags.
|
|
303
|
+
* @param {string[]} [arg.storeTypes] - Get locations filtered by store types.
|
|
300
304
|
* @returns {Paginator<CatalogPlatformModel.LocationListSerializer>}
|
|
301
305
|
* @summary: Get list of locations
|
|
302
306
|
* @description: This API allows to view all the locations asscoiated to a application.
|
|
303
307
|
*/
|
|
304
|
-
getAppLocationsPaginator({ companyId, applicationId, storeType, uid, q, stage, pageSize, }?: {
|
|
308
|
+
getAppLocationsPaginator({ companyId, applicationId, storeType, uid, q, stage, pageSize, tags, storeTypes, }?: {
|
|
305
309
|
companyId: string;
|
|
306
310
|
applicationId: string;
|
|
307
311
|
storeType?: string;
|
|
@@ -309,6 +313,8 @@ declare class Catalog {
|
|
|
309
313
|
q?: string;
|
|
310
314
|
stage?: string;
|
|
311
315
|
pageSize?: number;
|
|
316
|
+
tags?: string[];
|
|
317
|
+
storeTypes?: string[];
|
|
312
318
|
}): Paginator<CatalogPlatformModel.LocationListSerializer>;
|
|
313
319
|
/**
|
|
314
320
|
* @param {CatalogPlatformApplicationValidator.GetAppProductParam} arg - Arg object
|
|
@@ -608,13 +614,13 @@ declare class Catalog {
|
|
|
608
614
|
*
|
|
609
615
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
610
616
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
611
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
617
|
+
* @returns {Promise<CatalogPlatformModel.GetCollectionDetailResponse>} -
|
|
612
618
|
* Success response
|
|
613
619
|
* @name getCollectionDetail
|
|
614
620
|
* @summary: Get a particular collection
|
|
615
621
|
* @description: Get the details of a collection by its `slug`. If successful, returns a Collection resource in the response body specified in `CollectionDetailResponse` - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getCollectionDetail/).
|
|
616
622
|
*/
|
|
617
|
-
getCollectionDetail({ slug, requestHeaders }?: CatalogPlatformApplicationValidator.GetCollectionDetailParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.
|
|
623
|
+
getCollectionDetail({ slug, requestHeaders }?: CatalogPlatformApplicationValidator.GetCollectionDetailParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetCollectionDetailResponse>;
|
|
618
624
|
/**
|
|
619
625
|
* @param {CatalogPlatformApplicationValidator.GetCollectionItemsParam} arg
|
|
620
626
|
* - Arg object
|
|
@@ -654,7 +660,7 @@ declare class Catalog {
|
|
|
654
660
|
* @summary: Get configuration metadata details for catalog for admin panel
|
|
655
661
|
* @description: Get the configuraion metadata details for catalog. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getConfigurationMetadata/).
|
|
656
662
|
*/
|
|
657
|
-
getConfigurationMetadata({ configType, templateSlug, requestHeaders }?: CatalogPlatformApplicationValidator.GetConfigurationMetadataParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetConfigMetadataResponse>;
|
|
663
|
+
getConfigurationMetadata({ configType, templateSlug, pageNo, pageSize, q, requestHeaders }?: CatalogPlatformApplicationValidator.GetConfigurationMetadataParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetConfigMetadataResponse>;
|
|
658
664
|
/**
|
|
659
665
|
* @param {CatalogPlatformApplicationValidator.GetConfigurationsParam} arg
|
|
660
666
|
* - Arg object
|
|
@@ -732,14 +738,12 @@ declare class Catalog {
|
|
|
732
738
|
* @param {CatalogPlatformApplicationValidator.GetQueryFiltersParam} arg - Arg object
|
|
733
739
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
734
740
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
735
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
736
|
-
* - Success response
|
|
737
|
-
*
|
|
741
|
+
* @returns {Promise<CatalogPlatformModel.GetQueryFiltersResponse>} - Success response
|
|
738
742
|
* @name getQueryFilters
|
|
739
743
|
* @summary: Get query filters to configure a collection
|
|
740
744
|
* @description: Get query filters to configure a collection - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getQueryFilters/).
|
|
741
745
|
*/
|
|
742
|
-
getQueryFilters({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CatalogPlatformModel.
|
|
746
|
+
getQueryFilters({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetQueryFiltersResponse>;
|
|
743
747
|
/**
|
|
744
748
|
* @param {CatalogPlatformApplicationValidator.GetSearchConfigurationParam} arg
|
|
745
749
|
* - Arg object
|
|
@@ -1082,7 +1082,9 @@ class Catalog {
|
|
|
1082
1082
|
* @param {CatalogPlatformApplicationValidator.DeleteCollectionParam} arg - Arg object
|
|
1083
1083
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1084
1084
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1085
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
1085
|
+
* @returns {Promise<CatalogPlatformModel.CommonResponseSchemaCollection>}
|
|
1086
|
+
* - Success response
|
|
1087
|
+
*
|
|
1086
1088
|
* @name deleteCollection
|
|
1087
1089
|
* @summary: Delete a Collection
|
|
1088
1090
|
* @description: Delete a collection by it's id. Returns an object that tells whether the collection was deleted successfully - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/deleteCollection/).
|
|
@@ -1138,10 +1140,10 @@ class Catalog {
|
|
|
1138
1140
|
|
|
1139
1141
|
const {
|
|
1140
1142
|
error: res_error,
|
|
1141
|
-
} = CatalogPlatformModel.
|
|
1142
|
-
|
|
1143
|
-
allowUnknown: true
|
|
1144
|
-
|
|
1143
|
+
} = CatalogPlatformModel.CommonResponseSchemaCollection().validate(
|
|
1144
|
+
responseData,
|
|
1145
|
+
{ abortEarly: false, allowUnknown: true }
|
|
1146
|
+
);
|
|
1145
1147
|
|
|
1146
1148
|
if (res_error) {
|
|
1147
1149
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1866,9 +1868,17 @@ class Catalog {
|
|
|
1866
1868
|
* @description: This API allows to view all the locations asscoiated to a application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getAppLocations/).
|
|
1867
1869
|
*/
|
|
1868
1870
|
async getAppLocations(
|
|
1869
|
-
{
|
|
1870
|
-
|
|
1871
|
-
|
|
1871
|
+
{
|
|
1872
|
+
storeType,
|
|
1873
|
+
uid,
|
|
1874
|
+
q,
|
|
1875
|
+
stage,
|
|
1876
|
+
pageNo,
|
|
1877
|
+
pageSize,
|
|
1878
|
+
tags,
|
|
1879
|
+
storeTypes,
|
|
1880
|
+
requestHeaders,
|
|
1881
|
+
} = { requestHeaders: {} },
|
|
1872
1882
|
{ responseHeaders } = { responseHeaders: false }
|
|
1873
1883
|
) {
|
|
1874
1884
|
const {
|
|
@@ -1881,6 +1891,8 @@ class Catalog {
|
|
|
1881
1891
|
stage,
|
|
1882
1892
|
pageNo,
|
|
1883
1893
|
pageSize,
|
|
1894
|
+
tags,
|
|
1895
|
+
storeTypes,
|
|
1884
1896
|
},
|
|
1885
1897
|
{ abortEarly: false, allowUnknown: true }
|
|
1886
1898
|
);
|
|
@@ -1899,6 +1911,8 @@ class Catalog {
|
|
|
1899
1911
|
stage,
|
|
1900
1912
|
pageNo,
|
|
1901
1913
|
pageSize,
|
|
1914
|
+
tags,
|
|
1915
|
+
storeTypes,
|
|
1902
1916
|
},
|
|
1903
1917
|
{ abortEarly: false, allowUnknown: false }
|
|
1904
1918
|
);
|
|
@@ -1916,6 +1930,8 @@ class Catalog {
|
|
|
1916
1930
|
query_params["stage"] = stage;
|
|
1917
1931
|
query_params["page_no"] = pageNo;
|
|
1918
1932
|
query_params["page_size"] = pageSize;
|
|
1933
|
+
query_params["tags"] = tags;
|
|
1934
|
+
query_params["store_types"] = storeTypes;
|
|
1919
1935
|
|
|
1920
1936
|
const response = await PlatformAPIClient.execute(
|
|
1921
1937
|
this.config,
|
|
@@ -1967,6 +1983,8 @@ class Catalog {
|
|
|
1967
1983
|
* unverified companies.
|
|
1968
1984
|
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
1969
1985
|
* page. Default is 20.
|
|
1986
|
+
* @param {string[]} [arg.tags] - Get locations filtered by tags.
|
|
1987
|
+
* @param {string[]} [arg.storeTypes] - Get locations filtered by store types.
|
|
1970
1988
|
* @returns {Paginator<CatalogPlatformModel.LocationListSerializer>}
|
|
1971
1989
|
* @summary: Get list of locations
|
|
1972
1990
|
* @description: This API allows to view all the locations asscoiated to a application.
|
|
@@ -1979,6 +1997,8 @@ class Catalog {
|
|
|
1979
1997
|
q,
|
|
1980
1998
|
stage,
|
|
1981
1999
|
pageSize,
|
|
2000
|
+
tags,
|
|
2001
|
+
storeTypes,
|
|
1982
2002
|
} = {}) {
|
|
1983
2003
|
const paginator = new Paginator();
|
|
1984
2004
|
const callback = async () => {
|
|
@@ -1994,6 +2014,8 @@ class Catalog {
|
|
|
1994
2014
|
stage: stage,
|
|
1995
2015
|
pageNo: pageNo,
|
|
1996
2016
|
pageSize: pageSize,
|
|
2017
|
+
tags: tags,
|
|
2018
|
+
storeTypes: storeTypes,
|
|
1997
2019
|
});
|
|
1998
2020
|
paginator.setPaginator({
|
|
1999
2021
|
hasNext: data.page.has_next ? true : false,
|
|
@@ -3428,7 +3450,7 @@ class Catalog {
|
|
|
3428
3450
|
*
|
|
3429
3451
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3430
3452
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3431
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
3453
|
+
* @returns {Promise<CatalogPlatformModel.GetCollectionDetailResponse>} -
|
|
3432
3454
|
* Success response
|
|
3433
3455
|
* @name getCollectionDetail
|
|
3434
3456
|
* @summary: Get a particular collection
|
|
@@ -3485,10 +3507,10 @@ class Catalog {
|
|
|
3485
3507
|
|
|
3486
3508
|
const {
|
|
3487
3509
|
error: res_error,
|
|
3488
|
-
} = CatalogPlatformModel.
|
|
3489
|
-
|
|
3490
|
-
allowUnknown: true
|
|
3491
|
-
|
|
3510
|
+
} = CatalogPlatformModel.GetCollectionDetailResponse().validate(
|
|
3511
|
+
responseData,
|
|
3512
|
+
{ abortEarly: false, allowUnknown: true }
|
|
3513
|
+
);
|
|
3492
3514
|
|
|
3493
3515
|
if (res_error) {
|
|
3494
3516
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -3691,7 +3713,9 @@ class Catalog {
|
|
|
3691
3713
|
* @description: Get the configuraion metadata details for catalog. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getConfigurationMetadata/).
|
|
3692
3714
|
*/
|
|
3693
3715
|
async getConfigurationMetadata(
|
|
3694
|
-
{ configType, templateSlug, requestHeaders } = {
|
|
3716
|
+
{ configType, templateSlug, pageNo, pageSize, q, requestHeaders } = {
|
|
3717
|
+
requestHeaders: {},
|
|
3718
|
+
},
|
|
3695
3719
|
{ responseHeaders } = { responseHeaders: false }
|
|
3696
3720
|
) {
|
|
3697
3721
|
const {
|
|
@@ -3700,6 +3724,9 @@ class Catalog {
|
|
|
3700
3724
|
{
|
|
3701
3725
|
configType,
|
|
3702
3726
|
templateSlug,
|
|
3727
|
+
pageNo,
|
|
3728
|
+
pageSize,
|
|
3729
|
+
q,
|
|
3703
3730
|
},
|
|
3704
3731
|
{ abortEarly: false, allowUnknown: true }
|
|
3705
3732
|
);
|
|
@@ -3714,6 +3741,9 @@ class Catalog {
|
|
|
3714
3741
|
{
|
|
3715
3742
|
configType,
|
|
3716
3743
|
templateSlug,
|
|
3744
|
+
pageNo,
|
|
3745
|
+
pageSize,
|
|
3746
|
+
q,
|
|
3717
3747
|
},
|
|
3718
3748
|
{ abortEarly: false, allowUnknown: false }
|
|
3719
3749
|
);
|
|
@@ -3726,6 +3756,9 @@ class Catalog {
|
|
|
3726
3756
|
|
|
3727
3757
|
const query_params = {};
|
|
3728
3758
|
query_params["template_slug"] = templateSlug;
|
|
3759
|
+
query_params["page_no"] = pageNo;
|
|
3760
|
+
query_params["page_size"] = pageSize;
|
|
3761
|
+
query_params["q"] = q;
|
|
3729
3762
|
|
|
3730
3763
|
const response = await PlatformAPIClient.execute(
|
|
3731
3764
|
this.config,
|
|
@@ -4293,9 +4326,7 @@ class Catalog {
|
|
|
4293
4326
|
* @param {CatalogPlatformApplicationValidator.GetQueryFiltersParam} arg - Arg object
|
|
4294
4327
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
4295
4328
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4296
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
4297
|
-
* - Success response
|
|
4298
|
-
*
|
|
4329
|
+
* @returns {Promise<CatalogPlatformModel.GetQueryFiltersResponse>} - Success response
|
|
4299
4330
|
* @name getQueryFilters
|
|
4300
4331
|
* @summary: Get query filters to configure a collection
|
|
4301
4332
|
* @description: Get query filters to configure a collection - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getQueryFilters/).
|
|
@@ -4347,10 +4378,10 @@ class Catalog {
|
|
|
4347
4378
|
|
|
4348
4379
|
const {
|
|
4349
4380
|
error: res_error,
|
|
4350
|
-
} = CatalogPlatformModel.
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
);
|
|
4381
|
+
} = CatalogPlatformModel.GetQueryFiltersResponse().validate(responseData, {
|
|
4382
|
+
abortEarly: false,
|
|
4383
|
+
allowUnknown: true,
|
|
4384
|
+
});
|
|
4354
4385
|
|
|
4355
4386
|
if (res_error) {
|
|
4356
4387
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -119,6 +119,8 @@ export = CatalogPlatformApplicationValidator;
|
|
|
119
119
|
* set of results
|
|
120
120
|
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
121
121
|
* Default is 20.
|
|
122
|
+
* @property {string[]} [tags] - Get locations filtered by tags.
|
|
123
|
+
* @property {string[]} [storeTypes] - Get locations filtered by store types.
|
|
122
124
|
*/
|
|
123
125
|
/**
|
|
124
126
|
* @typedef GetAppProductParam
|
|
@@ -254,6 +256,10 @@ export = CatalogPlatformApplicationValidator;
|
|
|
254
256
|
* a specific type of configuration.
|
|
255
257
|
* @property {string} [templateSlug] - Get configuration list filtered by
|
|
256
258
|
* `template_slug` string. This is for the details and comparision groups.
|
|
259
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
260
|
+
* set of results.
|
|
261
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
262
|
+
* @property {string} [q] - Get configuration list filtered by `q` string.
|
|
257
263
|
*/
|
|
258
264
|
/** @typedef GetConfigurationsParam */
|
|
259
265
|
/** @typedef GetDepartmentsParam */
|
|
@@ -706,6 +712,14 @@ type GetAppLocationsParam = {
|
|
|
706
712
|
* Default is 20.
|
|
707
713
|
*/
|
|
708
714
|
pageSize?: number;
|
|
715
|
+
/**
|
|
716
|
+
* - Get locations filtered by tags.
|
|
717
|
+
*/
|
|
718
|
+
tags?: string[];
|
|
719
|
+
/**
|
|
720
|
+
* - Get locations filtered by store types.
|
|
721
|
+
*/
|
|
722
|
+
storeTypes?: string[];
|
|
709
723
|
};
|
|
710
724
|
type GetAppProductParam = {
|
|
711
725
|
/**
|
|
@@ -962,6 +976,19 @@ type GetConfigurationMetadataParam = {
|
|
|
962
976
|
* `template_slug` string. This is for the details and comparision groups.
|
|
963
977
|
*/
|
|
964
978
|
templateSlug?: string;
|
|
979
|
+
/**
|
|
980
|
+
* - The page number to navigate through the given
|
|
981
|
+
* set of results.
|
|
982
|
+
*/
|
|
983
|
+
pageNo?: number;
|
|
984
|
+
/**
|
|
985
|
+
* - Number of items to retrieve in each page.
|
|
986
|
+
*/
|
|
987
|
+
pageSize?: number;
|
|
988
|
+
/**
|
|
989
|
+
* - Get configuration list filtered by `q` string.
|
|
990
|
+
*/
|
|
991
|
+
q?: string;
|
|
965
992
|
};
|
|
966
993
|
type GetDiscountedInventoryBySizeIdentifierParam = {
|
|
967
994
|
/**
|
|
@@ -144,6 +144,8 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
144
144
|
* set of results
|
|
145
145
|
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
146
146
|
* Default is 20.
|
|
147
|
+
* @property {string[]} [tags] - Get locations filtered by tags.
|
|
148
|
+
* @property {string[]} [storeTypes] - Get locations filtered by store types.
|
|
147
149
|
*/
|
|
148
150
|
|
|
149
151
|
/**
|
|
@@ -296,6 +298,10 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
296
298
|
* a specific type of configuration.
|
|
297
299
|
* @property {string} [templateSlug] - Get configuration list filtered by
|
|
298
300
|
* `template_slug` string. This is for the details and comparision groups.
|
|
301
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
302
|
+
* set of results.
|
|
303
|
+
* @property {number} [pageSize] - Number of items to retrieve in each page.
|
|
304
|
+
* @property {string} [q] - Get configuration list filtered by `q` string.
|
|
299
305
|
*/
|
|
300
306
|
|
|
301
307
|
/** @typedef GetConfigurationsParam */
|
|
@@ -626,6 +632,8 @@ class CatalogPlatformApplicationValidator {
|
|
|
626
632
|
stage: Joi.string().allow(""),
|
|
627
633
|
pageNo: Joi.number(),
|
|
628
634
|
pageSize: Joi.number(),
|
|
635
|
+
tags: Joi.array().items(Joi.string().allow("")),
|
|
636
|
+
storeTypes: Joi.array().items(Joi.string().allow("")),
|
|
629
637
|
}).required();
|
|
630
638
|
}
|
|
631
639
|
|
|
@@ -771,6 +779,9 @@ class CatalogPlatformApplicationValidator {
|
|
|
771
779
|
return Joi.object({
|
|
772
780
|
configType: Joi.string().allow("").required(),
|
|
773
781
|
templateSlug: Joi.string().allow(""),
|
|
782
|
+
pageNo: Joi.number(),
|
|
783
|
+
pageSize: Joi.number(),
|
|
784
|
+
q: Joi.string().allow(""),
|
|
774
785
|
}).required();
|
|
775
786
|
}
|
|
776
787
|
|
|
@@ -117,12 +117,12 @@ declare class Catalog {
|
|
|
117
117
|
* @param {CatalogPlatformValidator.CreateProductParam} arg - Arg object
|
|
118
118
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
119
119
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
120
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
120
|
+
* @returns {Promise<CatalogPlatformModel.SuccessResponse1>} - Success response
|
|
121
121
|
* @name createProduct
|
|
122
122
|
* @summary: Create a product.
|
|
123
123
|
* @description: This API allows to create product. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/createProduct/).
|
|
124
124
|
*/
|
|
125
|
-
createProduct({ body, requestHeaders }?: CatalogPlatformValidator.CreateProductParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.
|
|
125
|
+
createProduct({ body, requestHeaders }?: CatalogPlatformValidator.CreateProductParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.SuccessResponse1>;
|
|
126
126
|
/**
|
|
127
127
|
* @param {CatalogPlatformValidator.CreateProductAssetsInBulkParam} arg - Arg object
|
|
128
128
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -431,6 +431,16 @@ declare class Catalog {
|
|
|
431
431
|
* @description: Use this API to fetch opt-in information for all the platforms. If successful, returns a logs in the response body as specified in `GetOptInPlatformSchema` - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getMarketplaceOptinDetail/).
|
|
432
432
|
*/
|
|
433
433
|
getMarketplaceOptinDetail({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetOptInPlatform>;
|
|
434
|
+
/**
|
|
435
|
+
* @param {CatalogPlatformValidator.GetMarketplacesParam} arg - Arg object
|
|
436
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
437
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
438
|
+
* @returns {Promise<CatalogPlatformModel.GetAllMarketplaces>} - Success response
|
|
439
|
+
* @name getMarketplaces
|
|
440
|
+
* @summary: List all marketplaces
|
|
441
|
+
* @description: This API allows to get marketplace information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getMarketplaces/).
|
|
442
|
+
*/
|
|
443
|
+
getMarketplaces({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetAllMarketplaces>;
|
|
434
444
|
/**
|
|
435
445
|
* @param {CatalogPlatformValidator.GetOptimalLocationsParam} arg - Arg object
|
|
436
446
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -596,7 +606,7 @@ declare class Catalog {
|
|
|
596
606
|
* @summary: Get list of size guides
|
|
597
607
|
* @description: This API allows to view all the size guides associated to the seller. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getSizeGuides/).
|
|
598
608
|
*/
|
|
599
|
-
getSizeGuides({ active, q, tag, pageNo, pageSize, requestHeaders }?: CatalogPlatformValidator.GetSizeGuidesParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.ListSizeGuide>;
|
|
609
|
+
getSizeGuides({ active, q, tag, pageNo, pageSize, brandId, requestHeaders }?: CatalogPlatformValidator.GetSizeGuidesParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.ListSizeGuide>;
|
|
600
610
|
/**
|
|
601
611
|
* @param {CatalogPlatformValidator.GetStoreDetailParam} arg - Arg object
|
|
602
612
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -626,7 +636,7 @@ declare class Catalog {
|
|
|
626
636
|
* @summary: Get product categories list
|
|
627
637
|
* @description: This API gets meta associated to product categories. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/listCategories/).
|
|
628
638
|
*/
|
|
629
|
-
listCategories({ level,
|
|
639
|
+
listCategories({ level, department, q, pageNo, pageSize, uids, requestHeaders }?: CatalogPlatformValidator.ListCategoriesParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.CategoryResponse>;
|
|
630
640
|
/**
|
|
631
641
|
* @param {CatalogPlatformValidator.ListDepartmentsDataParam} arg - Arg object
|
|
632
642
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -747,6 +757,18 @@ declare class Catalog {
|
|
|
747
757
|
* @description: This API allows add Inventory for particular size and store. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateInventories/).
|
|
748
758
|
*/
|
|
749
759
|
updateInventories({ body, requestHeaders }?: CatalogPlatformValidator.UpdateInventoriesParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.InventoryUpdateResponse>;
|
|
760
|
+
/**
|
|
761
|
+
* @param {CatalogPlatformValidator.UpdateMarketplaceOptinParam} arg - Arg object
|
|
762
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
763
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
764
|
+
* @returns {Promise<CatalogPlatformModel.UpdateMarketplaceOptinResponse>}
|
|
765
|
+
* - Success response
|
|
766
|
+
*
|
|
767
|
+
* @name updateMarketplaceOptin
|
|
768
|
+
* @summary: Update marketplace optin
|
|
769
|
+
* @description: This API allows to update marketplace optin for a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateMarketplaceOptin/).
|
|
770
|
+
*/
|
|
771
|
+
updateMarketplaceOptin({ marketplaceSlug, body, requestHeaders }?: CatalogPlatformValidator.UpdateMarketplaceOptinParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.UpdateMarketplaceOptinResponse>;
|
|
750
772
|
/**
|
|
751
773
|
* @param {CatalogPlatformValidator.UpdateProductBundleParam} arg - Arg object
|
|
752
774
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|