@gofynd/fdk-client-javascript 1.4.2-beta.1 → 1.4.2-beta.10
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 +3 -2
- package/sdk/application/ApplicationClient.js +20 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +3 -5
- package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
- package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
- package/sdk/application/Cart/CartApplicationValidator.js +0 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
- package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
- package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
- package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
- package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
- package/sdk/application/Common/CommonApplicationModel.js +172 -172
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
- package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
- package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
- package/sdk/application/Content/ContentApplicationClient.js +0 -246
- package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
- package/sdk/application/Content/ContentApplicationModel.js +565 -817
- package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
- package/sdk/application/Content/ContentApplicationValidator.js +0 -41
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
- package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
- package/sdk/application/Lead/LeadApplicationModel.js +301 -301
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
- package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
- package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +8 -32
- package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
- package/sdk/application/Order/OrderApplicationModel.js +816 -824
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
- package/sdk/application/Order/OrderApplicationValidator.js +0 -8
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
- package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
- package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
- package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
- package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
- package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
- package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
- package/sdk/application/Share/ShareApplicationModel.js +121 -121
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
- package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
- package/sdk/application/User/UserApplicationClient.d.ts +0 -33
- package/sdk/application/User/UserApplicationClient.js +0 -239
- package/sdk/application/User/UserApplicationModel.d.ts +753 -768
- package/sdk/application/User/UserApplicationModel.js +731 -755
- package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
- package/sdk/application/User/UserApplicationValidator.js +0 -36
- package/sdk/common/Clickstream.d.ts +1 -0
- package/sdk/common/Clickstream.js +254 -0
- package/sdk/common/Utility.js +1 -4
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
- package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
- package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
- package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
- package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
- package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
- package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
- package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
- package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
- package/sdk/platform/Common/CommonPlatformModel.js +187 -187
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
- package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
- package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +174 -259
- package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
- package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
- package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
- package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
- package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
- package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
- package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
- package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
- package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +2 -4
- package/sdk/platform/PlatformClient.js +4 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
- package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +989 -1588
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +977 -1695
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
- package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
- package/sdk/platform/Share/SharePlatformModel.js +139 -139
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
- package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
- package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
- package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
- package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
- package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
- package/sdk/platform/User/UserPlatformModel.js +428 -679
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
- package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
- 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/Configuration/ConfigurationPublicModel.d.ts +237 -237
- package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
- package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
- package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
- package/sdk/public/Partner/PartnerPublicModel.js +113 -113
- package/sdk/public/PublicClient.d.ts +0 -4
- package/sdk/public/PublicClient.js +0 -8
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
- package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
- package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
- package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
- package/sdk/public/index.d.ts +0 -2
- package/sdk/public/index.js +0 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
- package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
- package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
- package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
- package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
- package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
- package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
- package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
- package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
- package/sdk/public/Billing/BillingPublicClient.js +0 -116
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
- package/sdk/public/Billing/BillingPublicModel.js +0 -96
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
- package/sdk/public/Billing/BillingPublicValidator.js +0 -19
- package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
- package/sdk/public/Content/ContentPublicClient.js +0 -114
- package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
- package/sdk/public/Content/ContentPublicModel.js +0 -60
- package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
- package/sdk/public/Content/ContentPublicValidator.js +0 -19
|
@@ -168,14 +168,12 @@ 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.
|
|
172
|
-
* - Success response
|
|
173
|
-
*
|
|
171
|
+
* @returns {Promise<CatalogPlatformModel.DeleteResponse>} - Success response
|
|
174
172
|
* @name deleteCollection
|
|
175
173
|
* @summary: Delete a Collection
|
|
176
174
|
* @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/).
|
|
177
175
|
*/
|
|
178
|
-
deleteCollection({ id, requestHeaders }?: CatalogPlatformApplicationValidator.DeleteCollectionParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.
|
|
176
|
+
deleteCollection({ id, requestHeaders }?: CatalogPlatformApplicationValidator.DeleteCollectionParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.DeleteResponse>;
|
|
179
177
|
/**
|
|
180
178
|
* @param {CatalogPlatformApplicationValidator.DeleteGroupConfigurationParam} arg
|
|
181
179
|
* - Arg object
|
|
@@ -284,7 +282,7 @@ declare class Catalog {
|
|
|
284
282
|
* @summary: Get list of locations
|
|
285
283
|
* @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/).
|
|
286
284
|
*/
|
|
287
|
-
getAppLocations({ storeType, uid, q, stage, pageNo, pageSize,
|
|
285
|
+
getAppLocations({ storeType, uid, q, stage, pageNo, pageSize, requestHeaders }?: CatalogPlatformApplicationValidator.GetAppLocationsParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.LocationListSerializer>;
|
|
288
286
|
/**
|
|
289
287
|
* @param {Object} arg - Arg object.
|
|
290
288
|
* @param {string} arg.companyId - Id of the company whose locations are to fetched
|
|
@@ -299,13 +297,11 @@ declare class Catalog {
|
|
|
299
297
|
* unverified companies.
|
|
300
298
|
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
301
299
|
* 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.
|
|
304
300
|
* @returns {Paginator<CatalogPlatformModel.LocationListSerializer>}
|
|
305
301
|
* @summary: Get list of locations
|
|
306
302
|
* @description: This API allows to view all the locations asscoiated to a application.
|
|
307
303
|
*/
|
|
308
|
-
getAppLocationsPaginator({ companyId, applicationId, storeType, uid, q, stage, pageSize,
|
|
304
|
+
getAppLocationsPaginator({ companyId, applicationId, storeType, uid, q, stage, pageSize, }?: {
|
|
309
305
|
companyId: string;
|
|
310
306
|
applicationId: string;
|
|
311
307
|
storeType?: string;
|
|
@@ -313,8 +309,6 @@ declare class Catalog {
|
|
|
313
309
|
q?: string;
|
|
314
310
|
stage?: string;
|
|
315
311
|
pageSize?: number;
|
|
316
|
-
tags?: string[];
|
|
317
|
-
storeTypes?: string[];
|
|
318
312
|
}): Paginator<CatalogPlatformModel.LocationListSerializer>;
|
|
319
313
|
/**
|
|
320
314
|
* @param {CatalogPlatformApplicationValidator.GetAppProductParam} arg - Arg object
|
|
@@ -614,13 +608,13 @@ declare class Catalog {
|
|
|
614
608
|
*
|
|
615
609
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
616
610
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
617
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
611
|
+
* @returns {Promise<CatalogPlatformModel.CollectionDetailResponse>} -
|
|
618
612
|
* Success response
|
|
619
613
|
* @name getCollectionDetail
|
|
620
614
|
* @summary: Get a particular collection
|
|
621
615
|
* @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/).
|
|
622
616
|
*/
|
|
623
|
-
getCollectionDetail({ slug, requestHeaders }?: CatalogPlatformApplicationValidator.GetCollectionDetailParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.
|
|
617
|
+
getCollectionDetail({ slug, requestHeaders }?: CatalogPlatformApplicationValidator.GetCollectionDetailParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.CollectionDetailResponse>;
|
|
624
618
|
/**
|
|
625
619
|
* @param {CatalogPlatformApplicationValidator.GetCollectionItemsParam} arg
|
|
626
620
|
* - Arg object
|
|
@@ -660,7 +654,7 @@ declare class Catalog {
|
|
|
660
654
|
* @summary: Get configuration metadata details for catalog for admin panel
|
|
661
655
|
* @description: Get the configuraion metadata details for catalog. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getConfigurationMetadata/).
|
|
662
656
|
*/
|
|
663
|
-
getConfigurationMetadata({ configType, templateSlug,
|
|
657
|
+
getConfigurationMetadata({ configType, templateSlug, requestHeaders }?: CatalogPlatformApplicationValidator.GetConfigurationMetadataParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetConfigMetadataResponse>;
|
|
664
658
|
/**
|
|
665
659
|
* @param {CatalogPlatformApplicationValidator.GetConfigurationsParam} arg
|
|
666
660
|
* - Arg object
|
|
@@ -738,12 +732,14 @@ declare class Catalog {
|
|
|
738
732
|
* @param {CatalogPlatformApplicationValidator.GetQueryFiltersParam} arg - Arg object
|
|
739
733
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
740
734
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
741
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
735
|
+
* @returns {Promise<CatalogPlatformModel.GetCollectionQueryOptionResponse>}
|
|
736
|
+
* - Success response
|
|
737
|
+
*
|
|
742
738
|
* @name getQueryFilters
|
|
743
739
|
* @summary: Get query filters to configure a collection
|
|
744
740
|
* @description: Get query filters to configure a collection - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getQueryFilters/).
|
|
745
741
|
*/
|
|
746
|
-
getQueryFilters({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CatalogPlatformModel.
|
|
742
|
+
getQueryFilters({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetCollectionQueryOptionResponse>;
|
|
747
743
|
/**
|
|
748
744
|
* @param {CatalogPlatformApplicationValidator.GetSearchConfigurationParam} arg
|
|
749
745
|
* - Arg object
|
|
@@ -1085,9 +1085,7 @@ class Catalog {
|
|
|
1085
1085
|
* @param {CatalogPlatformApplicationValidator.DeleteCollectionParam} arg - Arg object
|
|
1086
1086
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1087
1087
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1088
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
1089
|
-
* - Success response
|
|
1090
|
-
*
|
|
1088
|
+
* @returns {Promise<CatalogPlatformModel.DeleteResponse>} - Success response
|
|
1091
1089
|
* @name deleteCollection
|
|
1092
1090
|
* @summary: Delete a Collection
|
|
1093
1091
|
* @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/).
|
|
@@ -1143,10 +1141,10 @@ class Catalog {
|
|
|
1143
1141
|
|
|
1144
1142
|
const {
|
|
1145
1143
|
error: res_error,
|
|
1146
|
-
} = CatalogPlatformModel.
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
);
|
|
1144
|
+
} = CatalogPlatformModel.DeleteResponse().validate(responseData, {
|
|
1145
|
+
abortEarly: false,
|
|
1146
|
+
allowUnknown: true,
|
|
1147
|
+
});
|
|
1150
1148
|
|
|
1151
1149
|
if (res_error) {
|
|
1152
1150
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1871,17 +1869,9 @@ class Catalog {
|
|
|
1871
1869
|
* @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/).
|
|
1872
1870
|
*/
|
|
1873
1871
|
async getAppLocations(
|
|
1874
|
-
{
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
q,
|
|
1878
|
-
stage,
|
|
1879
|
-
pageNo,
|
|
1880
|
-
pageSize,
|
|
1881
|
-
tags,
|
|
1882
|
-
storeTypes,
|
|
1883
|
-
requestHeaders,
|
|
1884
|
-
} = { requestHeaders: {} },
|
|
1872
|
+
{ storeType, uid, q, stage, pageNo, pageSize, requestHeaders } = {
|
|
1873
|
+
requestHeaders: {},
|
|
1874
|
+
},
|
|
1885
1875
|
{ responseHeaders } = { responseHeaders: false }
|
|
1886
1876
|
) {
|
|
1887
1877
|
const {
|
|
@@ -1894,8 +1884,6 @@ class Catalog {
|
|
|
1894
1884
|
stage,
|
|
1895
1885
|
pageNo,
|
|
1896
1886
|
pageSize,
|
|
1897
|
-
tags,
|
|
1898
|
-
storeTypes,
|
|
1899
1887
|
},
|
|
1900
1888
|
{ abortEarly: false, allowUnknown: true }
|
|
1901
1889
|
);
|
|
@@ -1914,8 +1902,6 @@ class Catalog {
|
|
|
1914
1902
|
stage,
|
|
1915
1903
|
pageNo,
|
|
1916
1904
|
pageSize,
|
|
1917
|
-
tags,
|
|
1918
|
-
storeTypes,
|
|
1919
1905
|
},
|
|
1920
1906
|
{ abortEarly: false, allowUnknown: false }
|
|
1921
1907
|
);
|
|
@@ -1933,8 +1919,6 @@ class Catalog {
|
|
|
1933
1919
|
query_params["stage"] = stage;
|
|
1934
1920
|
query_params["page_no"] = pageNo;
|
|
1935
1921
|
query_params["page_size"] = pageSize;
|
|
1936
|
-
query_params["tags"] = tags;
|
|
1937
|
-
query_params["store_types"] = storeTypes;
|
|
1938
1922
|
|
|
1939
1923
|
const response = await PlatformAPIClient.execute(
|
|
1940
1924
|
this.config,
|
|
@@ -1986,8 +1970,6 @@ class Catalog {
|
|
|
1986
1970
|
* unverified companies.
|
|
1987
1971
|
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
1988
1972
|
* page. Default is 20.
|
|
1989
|
-
* @param {string[]} [arg.tags] - Get locations filtered by tags.
|
|
1990
|
-
* @param {string[]} [arg.storeTypes] - Get locations filtered by store types.
|
|
1991
1973
|
* @returns {Paginator<CatalogPlatformModel.LocationListSerializer>}
|
|
1992
1974
|
* @summary: Get list of locations
|
|
1993
1975
|
* @description: This API allows to view all the locations asscoiated to a application.
|
|
@@ -2000,8 +1982,6 @@ class Catalog {
|
|
|
2000
1982
|
q,
|
|
2001
1983
|
stage,
|
|
2002
1984
|
pageSize,
|
|
2003
|
-
tags,
|
|
2004
|
-
storeTypes,
|
|
2005
1985
|
} = {}) {
|
|
2006
1986
|
const paginator = new Paginator();
|
|
2007
1987
|
const callback = async () => {
|
|
@@ -2017,8 +1997,6 @@ class Catalog {
|
|
|
2017
1997
|
stage: stage,
|
|
2018
1998
|
pageNo: pageNo,
|
|
2019
1999
|
pageSize: pageSize,
|
|
2020
|
-
tags: tags,
|
|
2021
|
-
storeTypes: storeTypes,
|
|
2022
2000
|
});
|
|
2023
2001
|
paginator.setPaginator({
|
|
2024
2002
|
hasNext: data.page.has_next ? true : false,
|
|
@@ -3453,7 +3431,7 @@ class Catalog {
|
|
|
3453
3431
|
*
|
|
3454
3432
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3455
3433
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3456
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
3434
|
+
* @returns {Promise<CatalogPlatformModel.CollectionDetailResponse>} -
|
|
3457
3435
|
* Success response
|
|
3458
3436
|
* @name getCollectionDetail
|
|
3459
3437
|
* @summary: Get a particular collection
|
|
@@ -3510,10 +3488,10 @@ class Catalog {
|
|
|
3510
3488
|
|
|
3511
3489
|
const {
|
|
3512
3490
|
error: res_error,
|
|
3513
|
-
} = CatalogPlatformModel.
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
);
|
|
3491
|
+
} = CatalogPlatformModel.CollectionDetailResponse().validate(responseData, {
|
|
3492
|
+
abortEarly: false,
|
|
3493
|
+
allowUnknown: true,
|
|
3494
|
+
});
|
|
3517
3495
|
|
|
3518
3496
|
if (res_error) {
|
|
3519
3497
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -3716,9 +3694,7 @@ class Catalog {
|
|
|
3716
3694
|
* @description: Get the configuraion metadata details for catalog. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getConfigurationMetadata/).
|
|
3717
3695
|
*/
|
|
3718
3696
|
async getConfigurationMetadata(
|
|
3719
|
-
{ configType, templateSlug,
|
|
3720
|
-
requestHeaders: {},
|
|
3721
|
-
},
|
|
3697
|
+
{ configType, templateSlug, requestHeaders } = { requestHeaders: {} },
|
|
3722
3698
|
{ responseHeaders } = { responseHeaders: false }
|
|
3723
3699
|
) {
|
|
3724
3700
|
const {
|
|
@@ -3727,9 +3703,6 @@ class Catalog {
|
|
|
3727
3703
|
{
|
|
3728
3704
|
configType,
|
|
3729
3705
|
templateSlug,
|
|
3730
|
-
pageNo,
|
|
3731
|
-
pageSize,
|
|
3732
|
-
q,
|
|
3733
3706
|
},
|
|
3734
3707
|
{ abortEarly: false, allowUnknown: true }
|
|
3735
3708
|
);
|
|
@@ -3744,9 +3717,6 @@ class Catalog {
|
|
|
3744
3717
|
{
|
|
3745
3718
|
configType,
|
|
3746
3719
|
templateSlug,
|
|
3747
|
-
pageNo,
|
|
3748
|
-
pageSize,
|
|
3749
|
-
q,
|
|
3750
3720
|
},
|
|
3751
3721
|
{ abortEarly: false, allowUnknown: false }
|
|
3752
3722
|
);
|
|
@@ -3759,9 +3729,6 @@ class Catalog {
|
|
|
3759
3729
|
|
|
3760
3730
|
const query_params = {};
|
|
3761
3731
|
query_params["template_slug"] = templateSlug;
|
|
3762
|
-
query_params["page_no"] = pageNo;
|
|
3763
|
-
query_params["page_size"] = pageSize;
|
|
3764
|
-
query_params["q"] = q;
|
|
3765
3732
|
|
|
3766
3733
|
const response = await PlatformAPIClient.execute(
|
|
3767
3734
|
this.config,
|
|
@@ -4329,7 +4296,9 @@ class Catalog {
|
|
|
4329
4296
|
* @param {CatalogPlatformApplicationValidator.GetQueryFiltersParam} arg - Arg object
|
|
4330
4297
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
4331
4298
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4332
|
-
* @returns {Promise<CatalogPlatformModel.
|
|
4299
|
+
* @returns {Promise<CatalogPlatformModel.GetCollectionQueryOptionResponse>}
|
|
4300
|
+
* - Success response
|
|
4301
|
+
*
|
|
4333
4302
|
* @name getQueryFilters
|
|
4334
4303
|
* @summary: Get query filters to configure a collection
|
|
4335
4304
|
* @description: Get query filters to configure a collection - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getQueryFilters/).
|
|
@@ -4381,10 +4350,10 @@ class Catalog {
|
|
|
4381
4350
|
|
|
4382
4351
|
const {
|
|
4383
4352
|
error: res_error,
|
|
4384
|
-
} = CatalogPlatformModel.
|
|
4385
|
-
|
|
4386
|
-
allowUnknown: true
|
|
4387
|
-
|
|
4353
|
+
} = CatalogPlatformModel.GetCollectionQueryOptionResponse().validate(
|
|
4354
|
+
responseData,
|
|
4355
|
+
{ abortEarly: false, allowUnknown: true }
|
|
4356
|
+
);
|
|
4388
4357
|
|
|
4389
4358
|
if (res_error) {
|
|
4390
4359
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -119,8 +119,6 @@ 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.
|
|
124
122
|
*/
|
|
125
123
|
/**
|
|
126
124
|
* @typedef GetAppProductParam
|
|
@@ -256,10 +254,6 @@ export = CatalogPlatformApplicationValidator;
|
|
|
256
254
|
* a specific type of configuration.
|
|
257
255
|
* @property {string} [templateSlug] - Get configuration list filtered by
|
|
258
256
|
* `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.
|
|
263
257
|
*/
|
|
264
258
|
/** @typedef GetConfigurationsParam */
|
|
265
259
|
/** @typedef GetDepartmentsParam */
|
|
@@ -712,14 +706,6 @@ type GetAppLocationsParam = {
|
|
|
712
706
|
* Default is 20.
|
|
713
707
|
*/
|
|
714
708
|
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[];
|
|
723
709
|
};
|
|
724
710
|
type GetAppProductParam = {
|
|
725
711
|
/**
|
|
@@ -976,19 +962,6 @@ type GetConfigurationMetadataParam = {
|
|
|
976
962
|
* `template_slug` string. This is for the details and comparision groups.
|
|
977
963
|
*/
|
|
978
964
|
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;
|
|
992
965
|
};
|
|
993
966
|
type GetDiscountedInventoryBySizeIdentifierParam = {
|
|
994
967
|
/**
|
|
@@ -144,8 +144,6 @@ 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.
|
|
149
147
|
*/
|
|
150
148
|
|
|
151
149
|
/**
|
|
@@ -298,10 +296,6 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
298
296
|
* a specific type of configuration.
|
|
299
297
|
* @property {string} [templateSlug] - Get configuration list filtered by
|
|
300
298
|
* `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.
|
|
305
299
|
*/
|
|
306
300
|
|
|
307
301
|
/** @typedef GetConfigurationsParam */
|
|
@@ -632,8 +626,6 @@ class CatalogPlatformApplicationValidator {
|
|
|
632
626
|
stage: Joi.string().allow(""),
|
|
633
627
|
pageNo: Joi.number(),
|
|
634
628
|
pageSize: Joi.number(),
|
|
635
|
-
tags: Joi.array().items(Joi.string().allow("")),
|
|
636
|
-
storeTypes: Joi.array().items(Joi.string().allow("")),
|
|
637
629
|
}).required();
|
|
638
630
|
}
|
|
639
631
|
|
|
@@ -779,9 +771,6 @@ class CatalogPlatformApplicationValidator {
|
|
|
779
771
|
return Joi.object({
|
|
780
772
|
configType: Joi.string().allow("").required(),
|
|
781
773
|
templateSlug: Joi.string().allow(""),
|
|
782
|
-
pageNo: Joi.number(),
|
|
783
|
-
pageSize: Joi.number(),
|
|
784
|
-
q: Joi.string().allow(""),
|
|
785
774
|
}).required();
|
|
786
775
|
}
|
|
787
776
|
|
|
@@ -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.SuccessResponse>} - 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.SuccessResponse>;
|
|
126
126
|
/**
|
|
127
127
|
* @param {CatalogPlatformValidator.CreateProductAssetsInBulkParam} arg - Arg object
|
|
128
128
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -186,6 +186,16 @@ declare class Catalog {
|
|
|
186
186
|
* @description: This API allows to delete bulk Inventory job associated with company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/deleteBulkInventoryJob/).
|
|
187
187
|
*/
|
|
188
188
|
deleteBulkInventoryJob({ batchId, requestHeaders }?: CatalogPlatformValidator.DeleteBulkInventoryJobParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.SuccessResponse>;
|
|
189
|
+
/**
|
|
190
|
+
* @param {CatalogPlatformValidator.DeleteInventoryParam} arg - Arg object
|
|
191
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
192
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
193
|
+
* @returns {Promise<CatalogPlatformModel.SuccessResponse>} - Success response
|
|
194
|
+
* @name deleteInventory
|
|
195
|
+
* @summary: Delete a Inventory.
|
|
196
|
+
* @description: This API allows to delete inventory of a particular product for particular company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/deleteInventory/).
|
|
197
|
+
*/
|
|
198
|
+
deleteInventory({ size, itemId, locationId, requestHeaders }?: CatalogPlatformValidator.DeleteInventoryParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.SuccessResponse>;
|
|
189
199
|
/**
|
|
190
200
|
* @param {CatalogPlatformValidator.DeleteProductParam} arg - Arg object
|
|
191
201
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -421,16 +431,6 @@ declare class Catalog {
|
|
|
421
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/).
|
|
422
432
|
*/
|
|
423
433
|
getMarketplaceOptinDetail({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetOptInPlatform>;
|
|
424
|
-
/**
|
|
425
|
-
* @param {CatalogPlatformValidator.GetMarketplacesParam} arg - Arg object
|
|
426
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
427
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
428
|
-
* @returns {Promise<CatalogPlatformModel.GetAllMarketplaces>} - Success response
|
|
429
|
-
* @name getMarketplaces
|
|
430
|
-
* @summary: List all marketplaces
|
|
431
|
-
* @description: This API allows to get marketplace information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getMarketplaces/).
|
|
432
|
-
*/
|
|
433
|
-
getMarketplaces({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetAllMarketplaces>;
|
|
434
434
|
/**
|
|
435
435
|
* @param {CatalogPlatformValidator.GetOptimalLocationsParam} arg - Arg object
|
|
436
436
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -596,7 +596,7 @@ declare class Catalog {
|
|
|
596
596
|
* @summary: Get list of size guides
|
|
597
597
|
* @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
598
|
*/
|
|
599
|
-
getSizeGuides({ active, q, tag, pageNo, pageSize,
|
|
599
|
+
getSizeGuides({ active, q, tag, pageNo, pageSize, requestHeaders }?: CatalogPlatformValidator.GetSizeGuidesParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.ListSizeGuide>;
|
|
600
600
|
/**
|
|
601
601
|
* @param {CatalogPlatformValidator.GetStoreDetailParam} arg - Arg object
|
|
602
602
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -626,7 +626,7 @@ declare class Catalog {
|
|
|
626
626
|
* @summary: Get product categories list
|
|
627
627
|
* @description: This API gets meta associated to product categories. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/listCategories/).
|
|
628
628
|
*/
|
|
629
|
-
listCategories({ level,
|
|
629
|
+
listCategories({ level, departments, q, pageNo, pageSize, requestHeaders }?: CatalogPlatformValidator.ListCategoriesParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.CategoryResponse>;
|
|
630
630
|
/**
|
|
631
631
|
* @param {CatalogPlatformValidator.ListDepartmentsDataParam} arg - Arg object
|
|
632
632
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -636,7 +636,7 @@ declare class Catalog {
|
|
|
636
636
|
* @summary: List all Departments.
|
|
637
637
|
* @description: Allows you to list all departments, also can search using name and filter active and incative departments, and item type. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/listDepartmentsData/).
|
|
638
638
|
*/
|
|
639
|
-
listDepartmentsData({ pageNo, itemType, pageSize, name, search, isActive,
|
|
639
|
+
listDepartmentsData({ pageNo, itemType, pageSize, name, search, isActive, requestHeaders }?: CatalogPlatformValidator.ListDepartmentsDataParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.DepartmentsResponse>;
|
|
640
640
|
/**
|
|
641
641
|
* @param {CatalogPlatformValidator.ListHSNCodesParam} arg - Arg object
|
|
642
642
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -747,18 +747,6 @@ declare class Catalog {
|
|
|
747
747
|
* @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
748
|
*/
|
|
749
749
|
updateInventories({ body, requestHeaders }?: CatalogPlatformValidator.UpdateInventoriesParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.InventoryUpdateResponse>;
|
|
750
|
-
/**
|
|
751
|
-
* @param {CatalogPlatformValidator.UpdateMarketplaceOptinParam} arg - Arg object
|
|
752
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
753
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
754
|
-
* @returns {Promise<CatalogPlatformModel.UpdateMarketplaceOptinResponse>}
|
|
755
|
-
* - Success response
|
|
756
|
-
*
|
|
757
|
-
* @name updateMarketplaceOptin
|
|
758
|
-
* @summary: Update marketplace optin
|
|
759
|
-
* @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/).
|
|
760
|
-
*/
|
|
761
|
-
updateMarketplaceOptin({ marketplaceSlug, body, requestHeaders }?: CatalogPlatformValidator.UpdateMarketplaceOptinParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.UpdateMarketplaceOptinResponse>;
|
|
762
750
|
/**
|
|
763
751
|
* @param {CatalogPlatformValidator.UpdateProductBundleParam} arg - Arg object
|
|
764
752
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|