@gofynd/fdk-client-javascript 1.4.15 → 1.4.16-beta.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 +11 -11
- package/sdk/application/Cart/CartApplicationClient.js +343 -48
- package/sdk/application/Catalog/CatalogApplicationClient.js +408 -0
- package/sdk/application/Common/CommonApplicationClient.js +21 -0
- package/sdk/application/Communication/CommunicationApplicationClient.js +29 -0
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +147 -0
- package/sdk/application/Content/ContentApplicationClient.d.ts +20 -0
- package/sdk/application/Content/ContentApplicationClient.js +327 -0
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +43 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +21 -0
- package/sdk/application/Lead/LeadApplicationClient.js +73 -0
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.js +182 -2
- package/sdk/application/Order/OrderApplicationClient.js +202 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +0 -10
- package/sdk/application/Payment/PaymentApplicationClient.js +445 -38
- package/sdk/application/Rewards/RewardsApplicationClient.js +68 -0
- package/sdk/application/Share/ShareApplicationClient.js +96 -0
- package/sdk/application/Theme/ThemeApplicationClient.js +64 -0
- package/sdk/application/User/UserApplicationClient.js +412 -0
- package/sdk/application/Webhook/WebhookApplicationClient.js +13 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +12 -33
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +38 -209
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +19 -399
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +11 -212
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -3
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -22
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +3 -40
- package/sdk/partner/Theme/ThemePartnerModel.js +2 -24
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +12 -3
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -1
- package/sdk/platform/Cart/CartPlatformModel.d.ts +14 -28
- package/sdk/platform/Cart/CartPlatformModel.js +7 -13
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +0 -24
- package/sdk/platform/Catalog/CatalogPlatformClient.js +0 -176
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +29 -80
- package/sdk/platform/Catalog/CatalogPlatformModel.js +32 -72
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -45
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +0 -35
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +3 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +52 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +411 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +85 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +73 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +90 -1
- package/sdk/platform/Content/ContentPlatformModel.js +104 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformClient.js +0 -8
- package/sdk/platform/Order/OrderPlatformModel.d.ts +3 -75
- package/sdk/platform/Order/OrderPlatformModel.js +2 -43
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +0 -22
- package/sdk/platform/Order/OrderPlatformValidator.js +0 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +10 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +118 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +53 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +29 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +0 -104
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +74 -816
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +23 -598
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +20 -382
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -191
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +0 -138
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +3 -40
- package/sdk/platform/Theme/ThemePlatformModel.js +2 -24
- package/sdk/public/Configuration/ConfigurationPublicClient.js +16 -0
- package/sdk/public/Content/ContentPublicClient.js +116 -0
- package/sdk/public/Partner/PartnerPublicClient.js +15 -0
- package/sdk/public/Webhook/WebhookPublicClient.js +40 -0
|
@@ -7,11 +7,6 @@ const Joi = require("joi");
|
|
|
7
7
|
* @property {ActionPage} [popup]
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
/**
|
|
11
|
-
* @typedef ValidationErrors
|
|
12
|
-
* @property {ValidationError[]} errors
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
10
|
/**
|
|
16
11
|
* @typedef AllSizes
|
|
17
12
|
* @property {ValidateIdentifier[]} [identifiers] - A collection of identifiers
|
|
@@ -2872,24 +2867,6 @@ const Joi = require("joi");
|
|
|
2872
2867
|
* @property {string} [start] - The start time of the schedule.
|
|
2873
2868
|
*/
|
|
2874
2869
|
|
|
2875
|
-
/**
|
|
2876
|
-
* @typedef LocationPriceRequestSchema
|
|
2877
|
-
* @property {number} price_effective - The effective price of the inventory item.
|
|
2878
|
-
* @property {number} price_marked - The marked price of the inventory item.
|
|
2879
|
-
* @property {string[]} [tags] - Tags associated with inventory item.
|
|
2880
|
-
*/
|
|
2881
|
-
|
|
2882
|
-
/**
|
|
2883
|
-
* @typedef LocationQuantityRequestSchema
|
|
2884
|
-
* @property {string} [expiration_date] - The expiration date of the inventory item.
|
|
2885
|
-
* @property {number} total_quantity - The total quantity of the inventory item.
|
|
2886
|
-
*/
|
|
2887
|
-
|
|
2888
|
-
/**
|
|
2889
|
-
* @typedef LocationPriceQuantitySuccessResponseSchema
|
|
2890
|
-
* @property {string} message - It is the success message of the price/quantity update.
|
|
2891
|
-
*/
|
|
2892
|
-
|
|
2893
2870
|
/**
|
|
2894
2871
|
* @typedef OptInPostRequestSchema
|
|
2895
2872
|
* @property {number[]} [brand_ids]
|
|
@@ -4067,7 +4044,7 @@ const Joi = require("joi");
|
|
|
4067
4044
|
/**
|
|
4068
4045
|
* @typedef ApplicationItemSeoBreadcrumbs
|
|
4069
4046
|
* @property {string} [url]
|
|
4070
|
-
* @property {ApplicationItemSeoAction} [action]
|
|
4047
|
+
* @property {ApplicationItemSeoAction[]} [action]
|
|
4071
4048
|
*/
|
|
4072
4049
|
|
|
4073
4050
|
/**
|
|
@@ -4647,12 +4624,6 @@ const Joi = require("joi");
|
|
|
4647
4624
|
* @property {PageType} type
|
|
4648
4625
|
*/
|
|
4649
4626
|
|
|
4650
|
-
/**
|
|
4651
|
-
* @typedef ValidationError
|
|
4652
|
-
* @property {string} message - A brief description of the error encountered.
|
|
4653
|
-
* @property {string} field - The field in the request that caused the error.
|
|
4654
|
-
*/
|
|
4655
|
-
|
|
4656
4627
|
/**
|
|
4657
4628
|
* @typedef Price1
|
|
4658
4629
|
* @property {CurrencyCodeEnum} [currency_code]
|
|
@@ -4680,6 +4651,17 @@ const Joi = require("joi");
|
|
|
4680
4651
|
* string and length should not exceed 100 characters.
|
|
4681
4652
|
*/
|
|
4682
4653
|
|
|
4654
|
+
/**
|
|
4655
|
+
* @typedef ValidationErrors
|
|
4656
|
+
* @property {ValidationError[]} errors
|
|
4657
|
+
*/
|
|
4658
|
+
|
|
4659
|
+
/**
|
|
4660
|
+
* @typedef ValidationError
|
|
4661
|
+
* @property {string} message - A brief description of the error encountered.
|
|
4662
|
+
* @property {string} field - The field in the request that caused the error.
|
|
4663
|
+
*/
|
|
4664
|
+
|
|
4683
4665
|
/**
|
|
4684
4666
|
* @typedef {| "about-us"
|
|
4685
4667
|
* | "addresses"
|
|
@@ -4743,15 +4725,6 @@ class CatalogPlatformModel {
|
|
|
4743
4725
|
});
|
|
4744
4726
|
}
|
|
4745
4727
|
|
|
4746
|
-
/** @returns {ValidationErrors} */
|
|
4747
|
-
static ValidationErrors() {
|
|
4748
|
-
return Joi.object({
|
|
4749
|
-
errors: Joi.array()
|
|
4750
|
-
.items(CatalogPlatformModel.ValidationError())
|
|
4751
|
-
.required(),
|
|
4752
|
-
});
|
|
4753
|
-
}
|
|
4754
|
-
|
|
4755
4728
|
/** @returns {AllSizes} */
|
|
4756
4729
|
static AllSizes() {
|
|
4757
4730
|
return Joi.object({
|
|
@@ -7841,30 +7814,6 @@ class CatalogPlatformModel {
|
|
|
7841
7814
|
});
|
|
7842
7815
|
}
|
|
7843
7816
|
|
|
7844
|
-
/** @returns {LocationPriceRequestSchema} */
|
|
7845
|
-
static LocationPriceRequestSchema() {
|
|
7846
|
-
return Joi.object({
|
|
7847
|
-
price_effective: Joi.number().required(),
|
|
7848
|
-
price_marked: Joi.number().required(),
|
|
7849
|
-
tags: Joi.array().items(Joi.string().allow("")),
|
|
7850
|
-
});
|
|
7851
|
-
}
|
|
7852
|
-
|
|
7853
|
-
/** @returns {LocationQuantityRequestSchema} */
|
|
7854
|
-
static LocationQuantityRequestSchema() {
|
|
7855
|
-
return Joi.object({
|
|
7856
|
-
expiration_date: Joi.string().allow(""),
|
|
7857
|
-
total_quantity: Joi.number().required(),
|
|
7858
|
-
});
|
|
7859
|
-
}
|
|
7860
|
-
|
|
7861
|
-
/** @returns {LocationPriceQuantitySuccessResponseSchema} */
|
|
7862
|
-
static LocationPriceQuantitySuccessResponseSchema() {
|
|
7863
|
-
return Joi.object({
|
|
7864
|
-
message: Joi.string().allow("").required(),
|
|
7865
|
-
});
|
|
7866
|
-
}
|
|
7867
|
-
|
|
7868
7817
|
/** @returns {OptInPostRequestSchema} */
|
|
7869
7818
|
static OptInPostRequestSchema() {
|
|
7870
7819
|
return Joi.object({
|
|
@@ -9071,7 +9020,9 @@ class CatalogPlatformModel {
|
|
|
9071
9020
|
static ApplicationItemSeoBreadcrumbs() {
|
|
9072
9021
|
return Joi.object({
|
|
9073
9022
|
url: Joi.string().allow(""),
|
|
9074
|
-
action:
|
|
9023
|
+
action: Joi.array().items(
|
|
9024
|
+
CatalogPlatformModel.ApplicationItemSeoAction()
|
|
9025
|
+
),
|
|
9075
9026
|
});
|
|
9076
9027
|
}
|
|
9077
9028
|
|
|
@@ -9718,14 +9669,6 @@ class CatalogPlatformModel {
|
|
|
9718
9669
|
});
|
|
9719
9670
|
}
|
|
9720
9671
|
|
|
9721
|
-
/** @returns {ValidationError} */
|
|
9722
|
-
static ValidationError() {
|
|
9723
|
-
return Joi.object({
|
|
9724
|
-
message: Joi.string().allow("").required(),
|
|
9725
|
-
field: Joi.string().allow("").required(),
|
|
9726
|
-
});
|
|
9727
|
-
}
|
|
9728
|
-
|
|
9729
9672
|
/** @returns {Price1} */
|
|
9730
9673
|
static Price1() {
|
|
9731
9674
|
return Joi.object({
|
|
@@ -9755,6 +9698,23 @@ class CatalogPlatformModel {
|
|
|
9755
9698
|
});
|
|
9756
9699
|
}
|
|
9757
9700
|
|
|
9701
|
+
/** @returns {ValidationErrors} */
|
|
9702
|
+
static ValidationErrors() {
|
|
9703
|
+
return Joi.object({
|
|
9704
|
+
errors: Joi.array()
|
|
9705
|
+
.items(CatalogPlatformModel.ValidationError())
|
|
9706
|
+
.required(),
|
|
9707
|
+
});
|
|
9708
|
+
}
|
|
9709
|
+
|
|
9710
|
+
/** @returns {ValidationError} */
|
|
9711
|
+
static ValidationError() {
|
|
9712
|
+
return Joi.object({
|
|
9713
|
+
message: Joi.string().allow("").required(),
|
|
9714
|
+
field: Joi.string().allow("").required(),
|
|
9715
|
+
});
|
|
9716
|
+
}
|
|
9717
|
+
|
|
9758
9718
|
/**
|
|
9759
9719
|
* Enum: PageType Used By: Catalog
|
|
9760
9720
|
*
|
|
@@ -415,21 +415,6 @@ export = CatalogPlatformValidator;
|
|
|
415
415
|
* @typedef UpdateInventoriesParam
|
|
416
416
|
* @property {CatalogPlatformModel.InventoryRequestSchemaV2} body
|
|
417
417
|
*/
|
|
418
|
-
/**
|
|
419
|
-
* @typedef UpdateLocationPriceParam
|
|
420
|
-
* @property {number} storeId - The Store Id to update price of size for specific store.
|
|
421
|
-
* @property {string} sellerIdentifier - Size Identifier (Seller Identifier or
|
|
422
|
-
* Primary Identifier) of which article price is to update.
|
|
423
|
-
* @property {CatalogPlatformModel.LocationPriceRequestSchema} body
|
|
424
|
-
*/
|
|
425
|
-
/**
|
|
426
|
-
* @typedef UpdateLocationQuantityParam
|
|
427
|
-
* @property {number} storeId - The Store Id to update quantity of size for
|
|
428
|
-
* specific store.
|
|
429
|
-
* @property {string} sellerIdentifier - Size Identifier (Seller Identifier or
|
|
430
|
-
* Primary Identifier) of which article quantity is to update.
|
|
431
|
-
* @property {CatalogPlatformModel.LocationQuantityRequestSchema} body
|
|
432
|
-
*/
|
|
433
418
|
/**
|
|
434
419
|
* @typedef UpdateMarketplaceOptinParam
|
|
435
420
|
* @property {string} marketplaceSlug - Slug of the marketplace .
|
|
@@ -619,10 +604,6 @@ declare class CatalogPlatformValidator {
|
|
|
619
604
|
static updateHsnCode(): UpdateHsnCodeParam;
|
|
620
605
|
/** @returns {UpdateInventoriesParam} */
|
|
621
606
|
static updateInventories(): UpdateInventoriesParam;
|
|
622
|
-
/** @returns {UpdateLocationPriceParam} */
|
|
623
|
-
static updateLocationPrice(): UpdateLocationPriceParam;
|
|
624
|
-
/** @returns {UpdateLocationQuantityParam} */
|
|
625
|
-
static updateLocationQuantity(): UpdateLocationQuantityParam;
|
|
626
607
|
/** @returns {UpdateMarketplaceOptinParam} */
|
|
627
608
|
static updateMarketplaceOptin(): UpdateMarketplaceOptinParam;
|
|
628
609
|
/** @returns {UpdateProductBundleParam} */
|
|
@@ -641,7 +622,7 @@ declare class CatalogPlatformValidator {
|
|
|
641
622
|
static validateProductTemplateSchema(): ValidateProductTemplateSchemaParam;
|
|
642
623
|
}
|
|
643
624
|
declare namespace CatalogPlatformValidator {
|
|
644
|
-
export { AddInventoryParam, AllSizesParam, BulkHsnCodeParam, CreateBulkInventoryParam, CreateBulkInventoryJobParam, CreateBulkProductUploadJobParam, CreateInventoryExportParam, CreateInventoryExportJobParam, CreateMarketplaceOptinParam, CreateProductParam, CreateProductAssetsInBulkParam, CreateProductBundleParam, CreateProductExportJobParam, CreateProductsInBulkParam, CreateSizeGuideParam, DeleteBulkInventoryJobParam, DeleteProductParam, DeleteProductBulkJobParam, DeleteRealtimeInventoryParam, DeleteSizeParam, DownloadInventoryTemplateViewParam, DownloadProductTemplateViewsParam, EditProductParam, ExportInventoryConfigParam, GetAllProductHsnCodesParam, GetAttributeParam, GetCategoryDataParam, GetCompanyBrandDetailParam, GetCompanyDetailParam, GetCompanyMetricsParam, GetDepartmentDataParam, GetHsnCodeParam, GetInventoriesParam, GetInventoryBulkUploadHistoryParam, GetInventoryBySizeParam, GetInventoryBySizeIdentifierParam, GetInventoryExportParam, GetMarketplaceOptinDetailParam, GetMarketplacesParam, GetOptimalLocationsParam, GetProductParam, GetProductAssetsInBulkParam, GetProductAttributesParam, GetProductBulkUploadHistoryParam, GetProductBundleParam, GetProductBundleDetailParam, GetProductExportJobsParam, GetProductSizeParam, GetProductTagsParam, GetProductValidationParam, GetProductsParam, GetSellerInsightsParam, GetSingleProductHSNCodeParam, GetSizeGuideParam, GetSizeGuidesParam, GetStoreDetailParam, GetVariantsOfProductsParam, ListCategoriesParam, ListDepartmentsDataParam, ListHSNCodesParam, ListInventoryExportParam, ListProductTemplateParam, ListProductTemplateCategoriesParam, ListProductTemplateExportDetailsParam, ListTemplateBrandTypeValuesParam, UpdateHsnCodeParam, UpdateInventoriesParam,
|
|
625
|
+
export { AddInventoryParam, AllSizesParam, BulkHsnCodeParam, CreateBulkInventoryParam, CreateBulkInventoryJobParam, CreateBulkProductUploadJobParam, CreateInventoryExportParam, CreateInventoryExportJobParam, CreateMarketplaceOptinParam, CreateProductParam, CreateProductAssetsInBulkParam, CreateProductBundleParam, CreateProductExportJobParam, CreateProductsInBulkParam, CreateSizeGuideParam, DeleteBulkInventoryJobParam, DeleteProductParam, DeleteProductBulkJobParam, DeleteRealtimeInventoryParam, DeleteSizeParam, DownloadInventoryTemplateViewParam, DownloadProductTemplateViewsParam, EditProductParam, ExportInventoryConfigParam, GetAllProductHsnCodesParam, GetAttributeParam, GetCategoryDataParam, GetCompanyBrandDetailParam, GetCompanyDetailParam, GetCompanyMetricsParam, GetDepartmentDataParam, GetHsnCodeParam, GetInventoriesParam, GetInventoryBulkUploadHistoryParam, GetInventoryBySizeParam, GetInventoryBySizeIdentifierParam, GetInventoryExportParam, GetMarketplaceOptinDetailParam, GetMarketplacesParam, GetOptimalLocationsParam, GetProductParam, GetProductAssetsInBulkParam, GetProductAttributesParam, GetProductBulkUploadHistoryParam, GetProductBundleParam, GetProductBundleDetailParam, GetProductExportJobsParam, GetProductSizeParam, GetProductTagsParam, GetProductValidationParam, GetProductsParam, GetSellerInsightsParam, GetSingleProductHSNCodeParam, GetSizeGuideParam, GetSizeGuidesParam, GetStoreDetailParam, GetVariantsOfProductsParam, ListCategoriesParam, ListDepartmentsDataParam, ListHSNCodesParam, ListInventoryExportParam, ListProductTemplateParam, ListProductTemplateCategoriesParam, ListProductTemplateExportDetailsParam, ListTemplateBrandTypeValuesParam, UpdateHsnCodeParam, UpdateInventoriesParam, UpdateMarketplaceOptinParam, UpdateProductBundleParam, UpdateRealtimeInventoryParam, UpdateSizeGuideParam, UploadBulkProductsParam, ValidateProductGlobalTemplateParam, ValidateProductTemplateParam, ValidateProductTemplateSchemaParam };
|
|
645
626
|
}
|
|
646
627
|
type AddInventoryParam = {
|
|
647
628
|
/**
|
|
@@ -1433,31 +1414,6 @@ type UpdateHsnCodeParam = {
|
|
|
1433
1414
|
type UpdateInventoriesParam = {
|
|
1434
1415
|
body: CatalogPlatformModel.InventoryRequestSchemaV2;
|
|
1435
1416
|
};
|
|
1436
|
-
type UpdateLocationPriceParam = {
|
|
1437
|
-
/**
|
|
1438
|
-
* - The Store Id to update price of size for specific store.
|
|
1439
|
-
*/
|
|
1440
|
-
storeId: number;
|
|
1441
|
-
/**
|
|
1442
|
-
* - Size Identifier (Seller Identifier or
|
|
1443
|
-
* Primary Identifier) of which article price is to update.
|
|
1444
|
-
*/
|
|
1445
|
-
sellerIdentifier: string;
|
|
1446
|
-
body: CatalogPlatformModel.LocationPriceRequestSchema;
|
|
1447
|
-
};
|
|
1448
|
-
type UpdateLocationQuantityParam = {
|
|
1449
|
-
/**
|
|
1450
|
-
* - The Store Id to update quantity of size for
|
|
1451
|
-
* specific store.
|
|
1452
|
-
*/
|
|
1453
|
-
storeId: number;
|
|
1454
|
-
/**
|
|
1455
|
-
* - Size Identifier (Seller Identifier or
|
|
1456
|
-
* Primary Identifier) of which article quantity is to update.
|
|
1457
|
-
*/
|
|
1458
|
-
sellerIdentifier: string;
|
|
1459
|
-
body: CatalogPlatformModel.LocationQuantityRequestSchema;
|
|
1460
|
-
};
|
|
1461
1417
|
type UpdateMarketplaceOptinParam = {
|
|
1462
1418
|
/**
|
|
1463
1419
|
* - Slug of the marketplace .
|
|
@@ -485,23 +485,6 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
485
485
|
* @property {CatalogPlatformModel.InventoryRequestSchemaV2} body
|
|
486
486
|
*/
|
|
487
487
|
|
|
488
|
-
/**
|
|
489
|
-
* @typedef UpdateLocationPriceParam
|
|
490
|
-
* @property {number} storeId - The Store Id to update price of size for specific store.
|
|
491
|
-
* @property {string} sellerIdentifier - Size Identifier (Seller Identifier or
|
|
492
|
-
* Primary Identifier) of which article price is to update.
|
|
493
|
-
* @property {CatalogPlatformModel.LocationPriceRequestSchema} body
|
|
494
|
-
*/
|
|
495
|
-
|
|
496
|
-
/**
|
|
497
|
-
* @typedef UpdateLocationQuantityParam
|
|
498
|
-
* @property {number} storeId - The Store Id to update quantity of size for
|
|
499
|
-
* specific store.
|
|
500
|
-
* @property {string} sellerIdentifier - Size Identifier (Seller Identifier or
|
|
501
|
-
* Primary Identifier) of which article quantity is to update.
|
|
502
|
-
* @property {CatalogPlatformModel.LocationQuantityRequestSchema} body
|
|
503
|
-
*/
|
|
504
|
-
|
|
505
488
|
/**
|
|
506
489
|
* @typedef UpdateMarketplaceOptinParam
|
|
507
490
|
* @property {string} marketplaceSlug - Slug of the marketplace .
|
|
@@ -1125,24 +1108,6 @@ class CatalogPlatformValidator {
|
|
|
1125
1108
|
}).required();
|
|
1126
1109
|
}
|
|
1127
1110
|
|
|
1128
|
-
/** @returns {UpdateLocationPriceParam} */
|
|
1129
|
-
static updateLocationPrice() {
|
|
1130
|
-
return Joi.object({
|
|
1131
|
-
storeId: Joi.number().required(),
|
|
1132
|
-
sellerIdentifier: Joi.string().allow("").required(),
|
|
1133
|
-
body: CatalogPlatformModel.LocationPriceRequestSchema().required(),
|
|
1134
|
-
}).required();
|
|
1135
|
-
}
|
|
1136
|
-
|
|
1137
|
-
/** @returns {UpdateLocationQuantityParam} */
|
|
1138
|
-
static updateLocationQuantity() {
|
|
1139
|
-
return Joi.object({
|
|
1140
|
-
storeId: Joi.number().required(),
|
|
1141
|
-
sellerIdentifier: Joi.string().allow("").required(),
|
|
1142
|
-
body: CatalogPlatformModel.LocationQuantityRequestSchema().required(),
|
|
1143
|
-
}).required();
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
1111
|
/** @returns {UpdateMarketplaceOptinParam} */
|
|
1147
1112
|
static updateMarketplaceOptin() {
|
|
1148
1113
|
return Joi.object({
|
|
@@ -89,6 +89,8 @@ export = ConfigurationPlatformModel;
|
|
|
89
89
|
* @property {Object[]} [company_store] - List of selling locations whose
|
|
90
90
|
* inventory is available to the sales channel for displaying on the website
|
|
91
91
|
* @property {number} [company_id]
|
|
92
|
+
* @property {boolean} [enable_zone_overlapping] - Power product listing with
|
|
93
|
+
* overlapping zones
|
|
92
94
|
*/
|
|
93
95
|
/**
|
|
94
96
|
* @typedef InventoryBrand
|
|
@@ -1574,6 +1576,11 @@ type AppInventoryConfig = {
|
|
|
1574
1576
|
*/
|
|
1575
1577
|
company_store?: any[];
|
|
1576
1578
|
company_id?: number;
|
|
1579
|
+
/**
|
|
1580
|
+
* - Power product listing with
|
|
1581
|
+
* overlapping zones
|
|
1582
|
+
*/
|
|
1583
|
+
enable_zone_overlapping?: boolean;
|
|
1577
1584
|
};
|
|
1578
1585
|
/** @returns {InventoryBrand} */
|
|
1579
1586
|
declare function InventoryBrand(): InventoryBrand;
|
|
@@ -97,6 +97,8 @@ const Joi = require("joi");
|
|
|
97
97
|
* @property {Object[]} [company_store] - List of selling locations whose
|
|
98
98
|
* inventory is available to the sales channel for displaying on the website
|
|
99
99
|
* @property {number} [company_id]
|
|
100
|
+
* @property {boolean} [enable_zone_overlapping] - Power product listing with
|
|
101
|
+
* overlapping zones
|
|
100
102
|
*/
|
|
101
103
|
|
|
102
104
|
/**
|
|
@@ -1664,6 +1666,7 @@ class ConfigurationPlatformModel {
|
|
|
1664
1666
|
image: Joi.array().items(Joi.string().allow("")),
|
|
1665
1667
|
company_store: Joi.array().items(Joi.any()),
|
|
1666
1668
|
company_id: Joi.number(),
|
|
1669
|
+
enable_zone_overlapping: Joi.boolean(),
|
|
1667
1670
|
});
|
|
1668
1671
|
}
|
|
1669
1672
|
|
|
@@ -177,6 +177,16 @@ declare class Content {
|
|
|
177
177
|
* @description: Use this API to Create SEO Markup Schema - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createSEOMarkupSchema/).
|
|
178
178
|
*/
|
|
179
179
|
createSEOMarkupSchema({ body, requestHeaders }?: ContentPlatformApplicationValidator.CreateSEOMarkupSchemaParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SEOSchemaMarkupTemplate>;
|
|
180
|
+
/**
|
|
181
|
+
* @param {ContentPlatformApplicationValidator.CreateSlideshowParam} arg - Arg object
|
|
182
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
183
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
184
|
+
* @returns {Promise<ContentPlatformModel.SlideshowSchema>} - Success response
|
|
185
|
+
* @name createSlideshow
|
|
186
|
+
* @summary: Create a slideshow
|
|
187
|
+
* @description: Use this API to create a slideshow. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createSlideshow/).
|
|
188
|
+
*/
|
|
189
|
+
createSlideshow({ body, requestHeaders }?: ContentPlatformApplicationValidator.CreateSlideshowParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SlideshowSchema>;
|
|
180
190
|
/**
|
|
181
191
|
* @param {ContentPlatformApplicationValidator.DeleteAnnouncementParam} arg
|
|
182
192
|
* - Arg object
|
|
@@ -327,6 +337,16 @@ declare class Content {
|
|
|
327
337
|
* @description: Use this API to Delete SEO Markup Schema - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteSEOMarkupSchema/).
|
|
328
338
|
*/
|
|
329
339
|
deleteSEOMarkupSchema({ id, requestHeaders }?: ContentPlatformApplicationValidator.DeleteSEOMarkupSchemaParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SEOSchemaMarkupTemplate>;
|
|
340
|
+
/**
|
|
341
|
+
* @param {ContentPlatformApplicationValidator.DeleteSlideshowParam} arg - Arg object
|
|
342
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
343
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
344
|
+
* @returns {Promise<ContentPlatformModel.SlideshowSchema>} - Success response
|
|
345
|
+
* @name deleteSlideshow
|
|
346
|
+
* @summary: Delete a slideshow
|
|
347
|
+
* @description: Use this API to delete an existing slideshow. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteSlideshow/).
|
|
348
|
+
*/
|
|
349
|
+
deleteSlideshow({ id, requestHeaders }?: ContentPlatformApplicationValidator.DeleteSlideshowParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SlideshowSchema>;
|
|
330
350
|
/**
|
|
331
351
|
* @param {ContentPlatformApplicationValidator.EditDataLoaderParam} arg - Arg object
|
|
332
352
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -818,6 +838,28 @@ declare class Content {
|
|
|
818
838
|
* @description: Use this API to List default SEO Markup Schemas - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getSEOMarkupSchemas/).
|
|
819
839
|
*/
|
|
820
840
|
getSEOMarkupSchemas({ title, active, pageNo, pageSize, requestHeaders }?: ContentPlatformApplicationValidator.GetSEOMarkupSchemasParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SeoSchemaComponent>;
|
|
841
|
+
/**
|
|
842
|
+
* @param {ContentPlatformApplicationValidator.GetSlideshowBySlugParam} arg
|
|
843
|
+
* - Arg object
|
|
844
|
+
*
|
|
845
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
846
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
847
|
+
* @returns {Promise<ContentPlatformModel.SlideshowSchema>} - Success response
|
|
848
|
+
* @name getSlideshowBySlug
|
|
849
|
+
* @summary: Get Slideshow
|
|
850
|
+
* @description: Use this API to get the details of a slideshow by its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getSlideshowBySlug/).
|
|
851
|
+
*/
|
|
852
|
+
getSlideshowBySlug({ slug, devicePlatform, requestHeaders }?: ContentPlatformApplicationValidator.GetSlideshowBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SlideshowSchema>;
|
|
853
|
+
/**
|
|
854
|
+
* @param {ContentPlatformApplicationValidator.GetSlideshowsParam} arg - Arg object
|
|
855
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
856
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
857
|
+
* @returns {Promise<ContentPlatformModel.SlideshowGetDetails>} - Success response
|
|
858
|
+
* @name getSlideshows
|
|
859
|
+
* @summary: List Slideshows
|
|
860
|
+
* @description: Use this API to list all Slideshows - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getSlideshows/).
|
|
861
|
+
*/
|
|
862
|
+
getSlideshows({ devicePlatform, pageNo, pageSize, requestHeaders }?: ContentPlatformApplicationValidator.GetSlideshowsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SlideshowGetDetails>;
|
|
821
863
|
/**
|
|
822
864
|
* @param {ContentPlatformApplicationValidator.GetSupportInformationParam} arg
|
|
823
865
|
* - Arg object
|
|
@@ -1095,6 +1137,16 @@ declare class Content {
|
|
|
1095
1137
|
* @description: Modify configuration settings for SEO. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateSEOConfiguration/).
|
|
1096
1138
|
*/
|
|
1097
1139
|
updateSEOConfiguration({ body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateSEOConfigurationParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SeoSchema>;
|
|
1140
|
+
/**
|
|
1141
|
+
* @param {ContentPlatformApplicationValidator.UpdateSlideshowParam} arg - Arg object
|
|
1142
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1143
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1144
|
+
* @returns {Promise<ContentPlatformModel.SlideshowSchema>} - Success response
|
|
1145
|
+
* @name updateSlideshow
|
|
1146
|
+
* @summary: Update a slideshow
|
|
1147
|
+
* @description: Use this API to Update Slideshow - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateSlideshow/).
|
|
1148
|
+
*/
|
|
1149
|
+
updateSlideshow({ id, body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateSlideshowParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SlideshowSchema>;
|
|
1098
1150
|
/**
|
|
1099
1151
|
* @param {ContentPlatformApplicationValidator.UpdateSupportInformationParam} arg
|
|
1100
1152
|
* - Arg object
|