@gofynd/fdk-client-javascript 1.4.15 → 1.4.16-beta.2
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 +16 -16
- package/sdk/application/Cart/CartApplicationClient.js +101 -48
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +16 -16
- package/sdk/application/Catalog/CatalogApplicationClient.js +159 -0
- package/sdk/application/Common/CommonApplicationClient.js +6 -0
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -0
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +24 -0
- package/sdk/application/Content/ContentApplicationClient.d.ts +59 -7
- package/sdk/application/Content/ContentApplicationClient.js +290 -0
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +24 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +6 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +4 -4
- package/sdk/application/Lead/LeadApplicationClient.js +42 -0
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +6 -6
- package/sdk/application/Logistic/LogisticApplicationClient.js +69 -2
- package/sdk/application/Order/OrderApplicationClient.d.ts +11 -11
- package/sdk/application/Order/OrderApplicationClient.js +117 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +1 -11
- package/sdk/application/Payment/PaymentApplicationClient.js +15 -39
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +1 -1
- package/sdk/application/Rewards/RewardsApplicationClient.js +15 -0
- package/sdk/application/Share/ShareApplicationClient.d.ts +4 -4
- package/sdk/application/Share/ShareApplicationClient.js +42 -0
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +3 -3
- package/sdk/application/Theme/ThemeApplicationClient.js +36 -0
- package/sdk/application/User/UserApplicationClient.js +6 -0
- package/sdk/application/Webhook/WebhookApplicationClient.js +6 -0
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +4 -4
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -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 +49 -28
- package/sdk/platform/Cart/CartPlatformModel.js +23 -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 +33 -80
- package/sdk/platform/Catalog/CatalogPlatformModel.js +36 -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 +132 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1104 -122
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +159 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +161 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +220 -5
- package/sdk/platform/Content/ContentPlatformModel.js +214 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +0 -92
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
- package/sdk/platform/Order/OrderPlatformClient.d.ts +12 -2
- package/sdk/platform/Order/OrderPlatformClient.js +99 -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 +33 -23
- package/sdk/platform/Order/OrderPlatformValidator.js +20 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +1 -95
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +78 -701
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +23 -598
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +20 -382
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +3 -136
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -110
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +3 -6
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +10 -2
- package/sdk/platform/Share/SharePlatformModel.js +4 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +3 -40
- package/sdk/platform/Theme/ThemePlatformModel.js +2 -24
- package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +3 -3
- package/sdk/public/Content/ContentPublicClient.js +28 -0
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +10 -0
- package/sdk/public/Webhook/WebhookPublicClient.js +1 -0
|
@@ -5,10 +5,6 @@ export = CatalogPlatformModel;
|
|
|
5
5
|
* @property {ActionPage} [page]
|
|
6
6
|
* @property {ActionPage} [popup]
|
|
7
7
|
*/
|
|
8
|
-
/**
|
|
9
|
-
* @typedef ValidationErrors
|
|
10
|
-
* @property {ValidationError[]} errors
|
|
11
|
-
*/
|
|
12
8
|
/**
|
|
13
9
|
* @typedef AllSizes
|
|
14
10
|
* @property {ValidateIdentifier[]} [identifiers] - A collection of identifiers
|
|
@@ -106,6 +102,7 @@ export = CatalogPlatformModel;
|
|
|
106
102
|
* @property {string} [name] - Name of the application.
|
|
107
103
|
* @property {number} priority - Defines the priority level for this
|
|
108
104
|
* configuration, with 1 being the highest.
|
|
105
|
+
* @property {ApplicationItemSEO} [seo]
|
|
109
106
|
*/
|
|
110
107
|
/**
|
|
111
108
|
* @typedef ApplicationBrandJson
|
|
@@ -1563,6 +1560,7 @@ export = CatalogPlatformModel;
|
|
|
1563
1560
|
* @property {string} [slug] - A URL-friendly identifier for the configuration group.
|
|
1564
1561
|
* @property {string[]} [template_slugs] - A list of template slugs associated
|
|
1565
1562
|
* with this configuration.
|
|
1563
|
+
* @property {ApplicationItemSEO} [seo]
|
|
1566
1564
|
*/
|
|
1567
1565
|
/**
|
|
1568
1566
|
* @typedef AttributeConfig
|
|
@@ -2611,21 +2609,6 @@ export = CatalogPlatformModel;
|
|
|
2611
2609
|
* @property {string} [end] - The end time of the schedule.
|
|
2612
2610
|
* @property {string} [start] - The start time of the schedule.
|
|
2613
2611
|
*/
|
|
2614
|
-
/**
|
|
2615
|
-
* @typedef LocationPriceRequestSchema
|
|
2616
|
-
* @property {number} price_effective - The effective price of the inventory item.
|
|
2617
|
-
* @property {number} price_marked - The marked price of the inventory item.
|
|
2618
|
-
* @property {string[]} [tags] - Tags associated with inventory item.
|
|
2619
|
-
*/
|
|
2620
|
-
/**
|
|
2621
|
-
* @typedef LocationQuantityRequestSchema
|
|
2622
|
-
* @property {string} [expiration_date] - The expiration date of the inventory item.
|
|
2623
|
-
* @property {number} total_quantity - The total quantity of the inventory item.
|
|
2624
|
-
*/
|
|
2625
|
-
/**
|
|
2626
|
-
* @typedef LocationPriceQuantitySuccessResponseSchema
|
|
2627
|
-
* @property {string} message - It is the success message of the price/quantity update.
|
|
2628
|
-
*/
|
|
2629
2612
|
/**
|
|
2630
2613
|
* @typedef OptInPostRequestSchema
|
|
2631
2614
|
* @property {number[]} [brand_ids]
|
|
@@ -3715,7 +3698,7 @@ export = CatalogPlatformModel;
|
|
|
3715
3698
|
/**
|
|
3716
3699
|
* @typedef ApplicationItemSeoBreadcrumbs
|
|
3717
3700
|
* @property {string} [url]
|
|
3718
|
-
* @property {ApplicationItemSeoAction} [action]
|
|
3701
|
+
* @property {ApplicationItemSeoAction[]} [action]
|
|
3719
3702
|
*/
|
|
3720
3703
|
/**
|
|
3721
3704
|
* @typedef ApplicationCollectionItemSeoBreadcrumbs
|
|
@@ -4236,11 +4219,6 @@ export = CatalogPlatformModel;
|
|
|
4236
4219
|
* @property {string} [url] - The URL for the action.
|
|
4237
4220
|
* @property {PageType} type
|
|
4238
4221
|
*/
|
|
4239
|
-
/**
|
|
4240
|
-
* @typedef ValidationError
|
|
4241
|
-
* @property {string} message - A brief description of the error encountered.
|
|
4242
|
-
* @property {string} field - The field in the request that caused the error.
|
|
4243
|
-
*/
|
|
4244
4222
|
/**
|
|
4245
4223
|
* @typedef Price1
|
|
4246
4224
|
* @property {CurrencyCodeEnum} [currency_code]
|
|
@@ -4265,6 +4243,15 @@ export = CatalogPlatformModel;
|
|
|
4265
4243
|
* @property {string} value - The value of the metadata. Should be a non-empty
|
|
4266
4244
|
* string and length should not exceed 100 characters.
|
|
4267
4245
|
*/
|
|
4246
|
+
/**
|
|
4247
|
+
* @typedef ValidationErrors
|
|
4248
|
+
* @property {ValidationError[]} errors
|
|
4249
|
+
*/
|
|
4250
|
+
/**
|
|
4251
|
+
* @typedef ValidationError
|
|
4252
|
+
* @property {string} message - A brief description of the error encountered.
|
|
4253
|
+
* @property {string} field - The field in the request that caused the error.
|
|
4254
|
+
*/
|
|
4268
4255
|
/**
|
|
4269
4256
|
* @typedef {| "about-us"
|
|
4270
4257
|
* | "addresses"
|
|
@@ -4319,7 +4306,7 @@ export = CatalogPlatformModel;
|
|
|
4319
4306
|
declare class CatalogPlatformModel {
|
|
4320
4307
|
}
|
|
4321
4308
|
declare namespace CatalogPlatformModel {
|
|
4322
|
-
export { Action,
|
|
4309
|
+
export { Action, AllSizes, AllowSingleRequestSchema, AppCatalogConfiguration, AppCategoryReturnConfig, AppCategoryReturnConfigResponseSchema, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponseSchema, ApplicationItemMOQ, ApplicationItemMeta, ApplicationItemSeoSitemap, ApplicationItemSEO, ApplicationProductsSchema, ApplicationProductListingResponseSchema, ApplicationStoreJson, AppReturnConfigResponseSchema, ArticleAssignment, ArticleAssignment1, ArticleQuery, ArticleStoreResponseSchema, AssignStore, AssignStoreArticle, AttributeDetailsGroup, AttributeMaster, AttributeMasterDetails, AttributeMasterFilter, AttributeMasterMandatoryDetails, AttributeMasterMeta, AttributeMasterSchema, AttributeSchemaRange, AutoCompleteMedia, AutocompleteAction, AutocompletePageAction, AutocompleteResult, BannerImage, BaseAppCategoryReturnConfig, BaseAppCategoryReturnConfigResponseSchema, Brand, BrandItem, BrandListingResponseSchema, ApplicationBrandListingItemSchema, ApplicationBrandListingSchema, ApplicationCategoryListingSchema, ApplicationCategoryListingItemSchema, BrandMeta, InventoryBrandMeta, BulkAssetResponseSchema, BulkHsnResponseSchema, BulkHsnUpsert, BulkInventoryGet, FailedRecord, BulkInventoryGetItems, BulkProductJob, BulkJob, BulkProductRequestSchema, BulkResponseSchema, CatalogInsightBrand, CatalogInsightItem, CatalogInsightResponseSchema, CategoriesResponseSchema, Category, CategoryItems, CategoryListingResponseSchema, CategoryMapping, CategoryMappingValues, CategoryResponseSchema, Child, CollectionBadge, CollectionBanner, CollectionCreateResponseSchema, CollectionDetailResponseSchema, CollectionImage, CollectionItem, CollectionItemUpdate, CollectionListingFilter, CollectionListingFilterTag, CollectionListingFilterType, CollectionQuery, CollectionSchedule, CompanyBrandDetail, CompanyMeta, InventoryCompanyMeta, CompanyOptIn, ConfigErrorResponseSchema, ConfigSuccessResponseSchema, ConfigurationBucketPoints, ConfigurationListing, ConfigurationListingFilter, ConfigurationListingFilterConfig, ConfigurationListingFilterValue, ConfigurationListingSort, ConfigurationListingSortConfig, ConfigurationProduct, ConfigurationProductConfig, ConfigurationProductSimilar, ConfigurationProductVariant, ConfigurationProductVariantConfig, CreateAutocompleteKeyword, CreateAutocompleteWordsResponseSchema, CreateCollection, CreateSearchConfigurationRequestSchema, CreateSearchConfigurationResponseSchema, CreateSearchKeyword, CreateUpdateAppReturnConfig, CrossSellingData, CrossSellingResponseSchema, CustomOrder, DateMeta, DefaultKeyRequestSchema, DeleteAppCategoryReturnConfig, DeleteProductRequestBody, DeleteResponseSchema, DeleteSearchConfigurationResponseSchema, Department, DepartmentCategoryTree, DepartmentErrorResponseSchema, DepartmentIdentifier, DepartmentResponseSchema, DepartmentsResponseSchema, DimensionResponseSchema, InventoryDimensionResponseSchema, Document, EntityConfiguration, ErrorResponseSchema, FilerList, RawProduct, RawProductListingResponseSchema, GTIN, AttributeDetail, LatLong, ApplicationLocationAddressSchema, GetAddressSchema, GetAllSizes, GetAppCatalogConfiguration, GetAppCatalogEntityConfiguration, GetAutocompleteWordsData, GetAutocompleteWordsResponseSchema, GetCatalogConfigurationDetailsProduct, GetCatalogConfigurationDetailsSchemaListing, GetCatalogConfigurationMetaData, GetCollectionDetailNest, GetCollectionItemsResponseSchema, GetCollectionListingResponseSchema, GetCollectionQueryOptionResponseSchema, GetCompanySchema, ConditionItem, DataItem, ValueTypeItem, SortTypeItem, GetConfigMetadataResponseSchema, GetConfigMetadataValues, GetConfigResponseSchema, ConfigItem, AttributeConfig, GetDepartment, GetInventories, GetInventoriesResponseSchema, GetLocationSchema, GetOptInPlatform, GetProductBundleCreateResponseSchema, GetProductBundleListingResponseSchema, GetProductBundleResponseSchema, GetProducts, ProductDetails, GetCollectionDetailResponseSchema, CommonResponseSchemaCollection, GetQueryFiltersKeysResponseSchema, GetQueryFiltersResponseSchema, GetCollectionItemsResponseSchemaV2, Page1, CollectionItemSchemaV2, CollectionItemUpdateSchema, CollectionQuerySchemaV2, ProductDetailV2, GetSearchConfigurationResponseSchema, GetSearchWordsData, GetSearchWordsDetailResponseSchema, GetSearchWordsResponseSchema, GlobalValidation, Guide, HSNCodesResponseSchema, HSNData, CreatedBySchema, ModifiedBySchema, HSNDataInsertV2, Hierarchy, HsnCode, HsnCodesListingResponseSchemaV2, HsnCodesObject, HsnUpsert, Image, ImageUrls, InvSize, InventoryBulkRequestSchema, InventoryConfig, InventoryCreateRequestSchema, InventoryExportAdvanceOption, InventoryExportFilter, InventoryExportJob, InventoryExportJobListResponseSchema, InventoryExportQuantityFilter, InventoryExportRequestSchema, InventoryExportResponseSchema, InventoryFailedReason, InventoryJobDetailResponseSchema, InventoryJobFilters, InventoryJobPayload, InventoryPage, AddInventoryRequestPayload, InventoryPayload, InventoryRequestSchema, InventoryRequestSchemaV2, InventoryResponseSchema, InventoryResponseItem, InventoryResponsePaginated, InventorySellerIdentifierResponsePaginated, ApplicationInventorySellerIdentifierResponsePaginated, InventorySellerResponseSchema, ApplicationInventorySellerResponseSchema, InventorySet, InventoryStockResponseSchema, InventoryUpdateResponseSchema, InventoryValidationResponseSchema, InvoiceCredSchema, InvoiceDetailsSchema, ItemQuery, Items, LimitedProductData, SizeGuideItem, ListSizeGuide, LocationDayWiseSchema, LocationIntegrationType, LocationListSchema, LocationManagerSchema, LocationTimingSchema, Logo, MOQData, ManufacturerResponseSchema, InventoryManufacturerResponseSchema, Media, Media1, DepartmentMedia, BrandMedia, Meta, MetaDataListingFilterMetaResponseSchema, MetaDataListingFilterResponseSchema, MetaDataListingResponseSchema, MetaDataListingSortMetaResponseSchema, MetaDataListingSortResponseSchema, MetaFields, NetQuantity, NetQuantityResponseSchema, NextSchedule, OptInPostRequestSchema, OptinCompanyBrandDetailsView, OptinCompanyDetail, OptinCompanyMetrics, OptinStoreDetails, OwnerAppItemResponseSchema, PTErrorResponseSchema, Page, PageResponseSchema, PageResponseType, Price, ProductListingDetailPrice, PriceArticle, PriceMeta, ProdcutTemplateCategoriesResponseSchema, Product, ProductAttributesResponseSchema, ProductBrand, ProductBulkAssets, ProductBulkRequestSchema, ProductBulkRequestList, ProductBundleItem, ProductBundleRequestSchema, ProductBundleUpdateRequestSchema, ProductConfigurationDownloads, ProductCreateUpdateSchemaV2, ProductDetail, ProductDetailAttribute, ProductDetailGroupedAttribute, ProductDownloadsResponseSchema, CollectionProductFilters, ProductFilters, GetQueryFiltersValuesResponseSchema, ProductFiltersKeysOnly, ProductFiltersKey, ProductQueryFiltersValue, CollectionProductFiltersValue, ProductFiltersValue, CollectionProductListingDetail, ProductCategory, ApplicationCategoryAction, ApplicationCategoryItem, ApplicationProductMedia, ApplicationProductCategoryItem, CategoryPageAction, CategoryQuery, CategoryImage, ProductListingDetail, ActionObject, PageAction, ProductListingPrice, ProductListingResponseSchema, ProductListingResponseV2, ProductPublish, ProductPublished, ProductReturnConfigSchema, ProductReturnConfigBaseSchema, Identifier, SizeDetails, ProductSchemaV2, ProductSize, ProductSizeDeleteDataResponseSchema, ProductSizeDeleteResponseSchema, CollectionProductSortOn, ProductSortOn, ProductTagsViewResponseSchema, CreatedBy, ModifiedBy, ProductTemplate, ProductTemplateDownloadsExport, ProductTemplateExportFilterRequestSchema, ProductTemplateExportResponseSchema, ProductVariants, ProductVariantsResponseSchema, Properties, Quantities, QuantitiesArticle, Quantity, QuantityBase, ReturnConfig, InventoryReturnConfig, ReturnConfig2, ReturnConfigResponseSchema, Sitemap, PageQuery, ApplicationCollectionItemSeoPage, ApplicationCollectionItemSeoAction, ApplicationItemSeoAction, ApplicationItemSeoBreadcrumbs, ApplicationCollectionItemSeoBreadcrumbs, ApplicationItemSeoMetaTagItem, ApplicationItemSeoMetaTags, Metatags, SizePromotionThreshold, SEOData, SearchKeywordResult, SearchableAttribute, SecondLevelChild, SellerPhoneNumber, CollectionSeoDetail, SeoDetail, SetSize, SingleCategoryResponseSchema, SingleProductResponseSchema, Size, SizeDistribution, SizeGuideResponseSchema, StoreAssignResponseSchema, StoreDetail, StoreMeta, SuccessResponseSchema, SuccessResponseObject, TaxIdentifier, TaxSlab, TeaserTag, TemplateDetails, TemplateGlobalValidationData, TemplateValidationData, TemplatesResponseSchema, TemplatesGlobalValidationResponseSchema, TemplatesValidationResponseSchema, ThirdLevelChild, Trader, Trader1, TraderResponseSchema, UpdateCollection, UpdateSearchConfigurationRequestSchema, UpdateSearchConfigurationResponseSchema, CreateMarketplaceOptinResponseSchema, UserCommon, UserDetail, UserDetail1, UserInfo, UserSchema, RequestUserSchema, ValidateIdentifier, ValidateProduct, ValidateSizeGuide, VerifiedBy, WeightResponseSchema, InventoryWeightResponseSchema, Marketplaces, GetAllMarketplaces, UpdateMarketplaceOptinRequestSchema, UpdateMarketplaceOptinResponseSchema, Filters, ActionPage, Price1, MultiCategoriesSchema, CustomMeta, ValidationErrors, ValidationError, PageType, CurrencyCodeEnum };
|
|
4323
4310
|
}
|
|
4324
4311
|
/** @returns {Action} */
|
|
4325
4312
|
declare function Action(): Action;
|
|
@@ -4331,11 +4318,6 @@ type Action = {
|
|
|
4331
4318
|
page?: ActionPage;
|
|
4332
4319
|
popup?: ActionPage;
|
|
4333
4320
|
};
|
|
4334
|
-
/** @returns {ValidationErrors} */
|
|
4335
|
-
declare function ValidationErrors(): ValidationErrors;
|
|
4336
|
-
type ValidationErrors = {
|
|
4337
|
-
errors: ValidationError[];
|
|
4338
|
-
};
|
|
4339
4321
|
/** @returns {AllSizes} */
|
|
4340
4322
|
declare function AllSizes(): AllSizes;
|
|
4341
4323
|
type AllSizes = {
|
|
@@ -4528,6 +4510,7 @@ type AppConfigurationsSort = {
|
|
|
4528
4510
|
* configuration, with 1 being the highest.
|
|
4529
4511
|
*/
|
|
4530
4512
|
priority: number;
|
|
4513
|
+
seo?: ApplicationItemSEO;
|
|
4531
4514
|
};
|
|
4532
4515
|
/** @returns {ApplicationBrandJson} */
|
|
4533
4516
|
declare function ApplicationBrandJson(): ApplicationBrandJson;
|
|
@@ -7521,6 +7504,7 @@ type ConfigItem = {
|
|
|
7521
7504
|
* with this configuration.
|
|
7522
7505
|
*/
|
|
7523
7506
|
template_slugs?: string[];
|
|
7507
|
+
seo?: ApplicationItemSEO;
|
|
7524
7508
|
};
|
|
7525
7509
|
/** @returns {AttributeConfig} */
|
|
7526
7510
|
declare function AttributeConfig(): AttributeConfig;
|
|
@@ -9902,42 +9886,6 @@ type NextSchedule = {
|
|
|
9902
9886
|
*/
|
|
9903
9887
|
start?: string;
|
|
9904
9888
|
};
|
|
9905
|
-
/** @returns {LocationPriceRequestSchema} */
|
|
9906
|
-
declare function LocationPriceRequestSchema(): LocationPriceRequestSchema;
|
|
9907
|
-
type LocationPriceRequestSchema = {
|
|
9908
|
-
/**
|
|
9909
|
-
* - The effective price of the inventory item.
|
|
9910
|
-
*/
|
|
9911
|
-
price_effective: number;
|
|
9912
|
-
/**
|
|
9913
|
-
* - The marked price of the inventory item.
|
|
9914
|
-
*/
|
|
9915
|
-
price_marked: number;
|
|
9916
|
-
/**
|
|
9917
|
-
* - Tags associated with inventory item.
|
|
9918
|
-
*/
|
|
9919
|
-
tags?: string[];
|
|
9920
|
-
};
|
|
9921
|
-
/** @returns {LocationQuantityRequestSchema} */
|
|
9922
|
-
declare function LocationQuantityRequestSchema(): LocationQuantityRequestSchema;
|
|
9923
|
-
type LocationQuantityRequestSchema = {
|
|
9924
|
-
/**
|
|
9925
|
-
* - The expiration date of the inventory item.
|
|
9926
|
-
*/
|
|
9927
|
-
expiration_date?: string;
|
|
9928
|
-
/**
|
|
9929
|
-
* - The total quantity of the inventory item.
|
|
9930
|
-
*/
|
|
9931
|
-
total_quantity: number;
|
|
9932
|
-
};
|
|
9933
|
-
/** @returns {LocationPriceQuantitySuccessResponseSchema} */
|
|
9934
|
-
declare function LocationPriceQuantitySuccessResponseSchema(): LocationPriceQuantitySuccessResponseSchema;
|
|
9935
|
-
type LocationPriceQuantitySuccessResponseSchema = {
|
|
9936
|
-
/**
|
|
9937
|
-
* - It is the success message of the price/quantity update.
|
|
9938
|
-
*/
|
|
9939
|
-
message: string;
|
|
9940
|
-
};
|
|
9941
9889
|
/** @returns {OptInPostRequestSchema} */
|
|
9942
9890
|
declare function OptInPostRequestSchema(): OptInPostRequestSchema;
|
|
9943
9891
|
type OptInPostRequestSchema = {
|
|
@@ -12496,7 +12444,7 @@ type ApplicationItemSeoAction = {
|
|
|
12496
12444
|
declare function ApplicationItemSeoBreadcrumbs(): ApplicationItemSeoBreadcrumbs;
|
|
12497
12445
|
type ApplicationItemSeoBreadcrumbs = {
|
|
12498
12446
|
url?: string;
|
|
12499
|
-
action?: ApplicationItemSeoAction;
|
|
12447
|
+
action?: ApplicationItemSeoAction[];
|
|
12500
12448
|
};
|
|
12501
12449
|
/** @returns {ApplicationCollectionItemSeoBreadcrumbs} */
|
|
12502
12450
|
declare function ApplicationCollectionItemSeoBreadcrumbs(): ApplicationCollectionItemSeoBreadcrumbs;
|
|
@@ -13459,18 +13407,6 @@ type ActionPage = {
|
|
|
13459
13407
|
url?: string;
|
|
13460
13408
|
type: PageType;
|
|
13461
13409
|
};
|
|
13462
|
-
/** @returns {ValidationError} */
|
|
13463
|
-
declare function ValidationError(): ValidationError;
|
|
13464
|
-
type ValidationError = {
|
|
13465
|
-
/**
|
|
13466
|
-
* - A brief description of the error encountered.
|
|
13467
|
-
*/
|
|
13468
|
-
message: string;
|
|
13469
|
-
/**
|
|
13470
|
-
* - The field in the request that caused the error.
|
|
13471
|
-
*/
|
|
13472
|
-
field: string;
|
|
13473
|
-
};
|
|
13474
13410
|
/** @returns {Price1} */
|
|
13475
13411
|
declare function Price1(): Price1;
|
|
13476
13412
|
type Price1 = {
|
|
@@ -13519,6 +13455,23 @@ type CustomMeta = {
|
|
|
13519
13455
|
*/
|
|
13520
13456
|
value: string;
|
|
13521
13457
|
};
|
|
13458
|
+
/** @returns {ValidationErrors} */
|
|
13459
|
+
declare function ValidationErrors(): ValidationErrors;
|
|
13460
|
+
type ValidationErrors = {
|
|
13461
|
+
errors: ValidationError[];
|
|
13462
|
+
};
|
|
13463
|
+
/** @returns {ValidationError} */
|
|
13464
|
+
declare function ValidationError(): ValidationError;
|
|
13465
|
+
type ValidationError = {
|
|
13466
|
+
/**
|
|
13467
|
+
* - A brief description of the error encountered.
|
|
13468
|
+
*/
|
|
13469
|
+
message: string;
|
|
13470
|
+
/**
|
|
13471
|
+
* - The field in the request that caused the error.
|
|
13472
|
+
*/
|
|
13473
|
+
field: string;
|
|
13474
|
+
};
|
|
13522
13475
|
/**
|
|
13523
13476
|
* Enum: PageType Used By: Catalog
|
|
13524
13477
|
*
|
|
@@ -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
|
|
@@ -116,6 +111,7 @@ const Joi = require("joi");
|
|
|
116
111
|
* @property {string} [name] - Name of the application.
|
|
117
112
|
* @property {number} priority - Defines the priority level for this
|
|
118
113
|
* configuration, with 1 being the highest.
|
|
114
|
+
* @property {ApplicationItemSEO} [seo]
|
|
119
115
|
*/
|
|
120
116
|
|
|
121
117
|
/**
|
|
@@ -1723,6 +1719,7 @@ const Joi = require("joi");
|
|
|
1723
1719
|
* @property {string} [slug] - A URL-friendly identifier for the configuration group.
|
|
1724
1720
|
* @property {string[]} [template_slugs] - A list of template slugs associated
|
|
1725
1721
|
* with this configuration.
|
|
1722
|
+
* @property {ApplicationItemSEO} [seo]
|
|
1726
1723
|
*/
|
|
1727
1724
|
|
|
1728
1725
|
/**
|
|
@@ -2872,24 +2869,6 @@ const Joi = require("joi");
|
|
|
2872
2869
|
* @property {string} [start] - The start time of the schedule.
|
|
2873
2870
|
*/
|
|
2874
2871
|
|
|
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
2872
|
/**
|
|
2894
2873
|
* @typedef OptInPostRequestSchema
|
|
2895
2874
|
* @property {number[]} [brand_ids]
|
|
@@ -4067,7 +4046,7 @@ const Joi = require("joi");
|
|
|
4067
4046
|
/**
|
|
4068
4047
|
* @typedef ApplicationItemSeoBreadcrumbs
|
|
4069
4048
|
* @property {string} [url]
|
|
4070
|
-
* @property {ApplicationItemSeoAction} [action]
|
|
4049
|
+
* @property {ApplicationItemSeoAction[]} [action]
|
|
4071
4050
|
*/
|
|
4072
4051
|
|
|
4073
4052
|
/**
|
|
@@ -4647,12 +4626,6 @@ const Joi = require("joi");
|
|
|
4647
4626
|
* @property {PageType} type
|
|
4648
4627
|
*/
|
|
4649
4628
|
|
|
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
4629
|
/**
|
|
4657
4630
|
* @typedef Price1
|
|
4658
4631
|
* @property {CurrencyCodeEnum} [currency_code]
|
|
@@ -4680,6 +4653,17 @@ const Joi = require("joi");
|
|
|
4680
4653
|
* string and length should not exceed 100 characters.
|
|
4681
4654
|
*/
|
|
4682
4655
|
|
|
4656
|
+
/**
|
|
4657
|
+
* @typedef ValidationErrors
|
|
4658
|
+
* @property {ValidationError[]} errors
|
|
4659
|
+
*/
|
|
4660
|
+
|
|
4661
|
+
/**
|
|
4662
|
+
* @typedef ValidationError
|
|
4663
|
+
* @property {string} message - A brief description of the error encountered.
|
|
4664
|
+
* @property {string} field - The field in the request that caused the error.
|
|
4665
|
+
*/
|
|
4666
|
+
|
|
4683
4667
|
/**
|
|
4684
4668
|
* @typedef {| "about-us"
|
|
4685
4669
|
* | "addresses"
|
|
@@ -4743,15 +4727,6 @@ class CatalogPlatformModel {
|
|
|
4743
4727
|
});
|
|
4744
4728
|
}
|
|
4745
4729
|
|
|
4746
|
-
/** @returns {ValidationErrors} */
|
|
4747
|
-
static ValidationErrors() {
|
|
4748
|
-
return Joi.object({
|
|
4749
|
-
errors: Joi.array()
|
|
4750
|
-
.items(CatalogPlatformModel.ValidationError())
|
|
4751
|
-
.required(),
|
|
4752
|
-
});
|
|
4753
|
-
}
|
|
4754
|
-
|
|
4755
4730
|
/** @returns {AllSizes} */
|
|
4756
4731
|
static AllSizes() {
|
|
4757
4732
|
return Joi.object({
|
|
@@ -4853,6 +4828,7 @@ class CatalogPlatformModel {
|
|
|
4853
4828
|
logo: Joi.string().allow(""),
|
|
4854
4829
|
name: Joi.string().allow(""),
|
|
4855
4830
|
priority: Joi.number().required(),
|
|
4831
|
+
seo: CatalogPlatformModel.ApplicationItemSEO(),
|
|
4856
4832
|
});
|
|
4857
4833
|
}
|
|
4858
4834
|
|
|
@@ -6599,6 +6575,7 @@ class CatalogPlatformModel {
|
|
|
6599
6575
|
priority: Joi.number(),
|
|
6600
6576
|
slug: Joi.string().allow(""),
|
|
6601
6577
|
template_slugs: Joi.array().items(Joi.string().allow("")),
|
|
6578
|
+
seo: CatalogPlatformModel.ApplicationItemSEO(),
|
|
6602
6579
|
});
|
|
6603
6580
|
}
|
|
6604
6581
|
|
|
@@ -7841,30 +7818,6 @@ class CatalogPlatformModel {
|
|
|
7841
7818
|
});
|
|
7842
7819
|
}
|
|
7843
7820
|
|
|
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
7821
|
/** @returns {OptInPostRequestSchema} */
|
|
7869
7822
|
static OptInPostRequestSchema() {
|
|
7870
7823
|
return Joi.object({
|
|
@@ -9071,7 +9024,9 @@ class CatalogPlatformModel {
|
|
|
9071
9024
|
static ApplicationItemSeoBreadcrumbs() {
|
|
9072
9025
|
return Joi.object({
|
|
9073
9026
|
url: Joi.string().allow(""),
|
|
9074
|
-
action:
|
|
9027
|
+
action: Joi.array().items(
|
|
9028
|
+
CatalogPlatformModel.ApplicationItemSeoAction()
|
|
9029
|
+
),
|
|
9075
9030
|
});
|
|
9076
9031
|
}
|
|
9077
9032
|
|
|
@@ -9718,14 +9673,6 @@ class CatalogPlatformModel {
|
|
|
9718
9673
|
});
|
|
9719
9674
|
}
|
|
9720
9675
|
|
|
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
9676
|
/** @returns {Price1} */
|
|
9730
9677
|
static Price1() {
|
|
9731
9678
|
return Joi.object({
|
|
@@ -9755,6 +9702,23 @@ class CatalogPlatformModel {
|
|
|
9755
9702
|
});
|
|
9756
9703
|
}
|
|
9757
9704
|
|
|
9705
|
+
/** @returns {ValidationErrors} */
|
|
9706
|
+
static ValidationErrors() {
|
|
9707
|
+
return Joi.object({
|
|
9708
|
+
errors: Joi.array()
|
|
9709
|
+
.items(CatalogPlatformModel.ValidationError())
|
|
9710
|
+
.required(),
|
|
9711
|
+
});
|
|
9712
|
+
}
|
|
9713
|
+
|
|
9714
|
+
/** @returns {ValidationError} */
|
|
9715
|
+
static ValidationError() {
|
|
9716
|
+
return Joi.object({
|
|
9717
|
+
message: Joi.string().allow("").required(),
|
|
9718
|
+
field: Joi.string().allow("").required(),
|
|
9719
|
+
});
|
|
9720
|
+
}
|
|
9721
|
+
|
|
9758
9722
|
/**
|
|
9759
9723
|
* Enum: PageType Used By: Catalog
|
|
9760
9724
|
*
|
|
@@ -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
|
|