@gofynd/fdk-client-javascript 3.16.3 → 3.17.0
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/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +10 -0
- package/sdk/application/Content/ContentApplicationClient.js +53 -0
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -21
- package/sdk/application/Logistic/LogisticApplicationClient.js +34 -83
- package/sdk/application/Order/OrderApplicationClient.d.ts +11 -0
- package/sdk/application/Order/OrderApplicationClient.js +50 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +4 -4
- package/sdk/application/Payment/PaymentApplicationClient.js +3 -4
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +84 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +712 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +237 -1
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +157 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +8 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +70 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +3 -3
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1 -4
- package/sdk/platform/Cart/CartPlatformModel.js +1 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +0 -11
- package/sdk/platform/Catalog/CatalogPlatformClient.js +0 -80
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6 -131
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4 -141
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -10
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +0 -12
- package/sdk/platform/Common/CommonPlatformModel.d.ts +18 -1
- package/sdk/platform/Common/CommonPlatformModel.js +14 -0
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +1 -73
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +4 -462
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +7 -45
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +4 -55
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +10 -2
- package/sdk/platform/Communication/CommunicationPlatformModel.js +3 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +14 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +6 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +26 -18
- package/sdk/platform/Order/OrderPlatformClient.js +175 -107
- package/sdk/platform/Order/OrderPlatformModel.d.ts +339 -43
- package/sdk/platform/Order/OrderPlatformModel.js +209 -43
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +40 -43
- package/sdk/platform/Order/OrderPlatformValidator.js +35 -30
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +20 -10
- package/sdk/platform/Payment/PaymentPlatformModel.js +14 -10
- package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
- package/sdk/platform/PlatformApplicationClient.js +0 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +0 -13
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +0 -82
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +0 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +212 -28
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +133 -13
- package/sdk/platform/User/UserPlatformModel.d.ts +2 -2
- package/sdk/platform/User/UserPlatformModel.js +4 -4
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +27 -1
- package/sdk/public/Configuration/ConfigurationPublicModel.js +19 -0
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
- package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -387
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -410
|
@@ -2076,7 +2076,7 @@ class Catalog {
|
|
|
2076
2076
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2077
2077
|
* @returns {Promise<CatalogPlatformModel.LocationListSchema>} - Success response
|
|
2078
2078
|
* @name getAppLocations
|
|
2079
|
-
* @summary:
|
|
2079
|
+
* @summary: Retrieve stores for a sales channel
|
|
2080
2080
|
* @description: Retrieve all stores associated with a sales channel, with support for searching by store name and filtering by store type and status. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getAppLocations/).
|
|
2081
2081
|
*/
|
|
2082
2082
|
async getAppLocations(
|
|
@@ -2199,7 +2199,7 @@ class Catalog {
|
|
|
2199
2199
|
* @param {string[]} [arg.tags] - Get locations filtered by tags.
|
|
2200
2200
|
* @param {string[]} [arg.storeTypes] - Get locations filtered by store types.
|
|
2201
2201
|
* @returns {Paginator<CatalogPlatformModel.LocationListSchema>}
|
|
2202
|
-
* @summary:
|
|
2202
|
+
* @summary: Retrieve stores for a sales channel
|
|
2203
2203
|
* @description: Retrieve all stores associated with a sales channel, with support for searching by store name and filtering by store type and status.
|
|
2204
2204
|
*/
|
|
2205
2205
|
getAppLocationsPaginator({
|
|
@@ -604,17 +604,6 @@ declare class Catalog {
|
|
|
604
604
|
* @description: Allows to get all marketplaces information for a company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getMarketplaces/).
|
|
605
605
|
*/
|
|
606
606
|
getMarketplaces({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetAllMarketplaces>;
|
|
607
|
-
/**
|
|
608
|
-
* @param {CatalogPlatformValidator.GetOptimalLocationsParam} arg - Arg object
|
|
609
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
610
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
611
|
-
* @returns {Promise<CatalogPlatformModel.StoreAssignResponseSchema>} -
|
|
612
|
-
* Success response
|
|
613
|
-
* @name getOptimalLocations
|
|
614
|
-
* @summary: Get optimal locations
|
|
615
|
-
* @description: This API returns the optimal locations where inventory is available for the given articles. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getOptimalLocations/).
|
|
616
|
-
*/
|
|
617
|
-
getOptimalLocations({ body, requestHeaders }?: CatalogPlatformValidator.GetOptimalLocationsParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.StoreAssignResponseSchema>;
|
|
618
607
|
/**
|
|
619
608
|
* @param {CatalogPlatformValidator.GetProductParam} arg - Arg object
|
|
620
609
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -4079,86 +4079,6 @@ class Catalog {
|
|
|
4079
4079
|
return response;
|
|
4080
4080
|
}
|
|
4081
4081
|
|
|
4082
|
-
/**
|
|
4083
|
-
* @param {CatalogPlatformValidator.GetOptimalLocationsParam} arg - Arg object
|
|
4084
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
4085
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4086
|
-
* @returns {Promise<CatalogPlatformModel.StoreAssignResponseSchema>} -
|
|
4087
|
-
* Success response
|
|
4088
|
-
* @name getOptimalLocations
|
|
4089
|
-
* @summary: Get optimal locations
|
|
4090
|
-
* @description: This API returns the optimal locations where inventory is available for the given articles. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getOptimalLocations/).
|
|
4091
|
-
*/
|
|
4092
|
-
async getOptimalLocations(
|
|
4093
|
-
{ body, requestHeaders } = { requestHeaders: {} },
|
|
4094
|
-
{ responseHeaders } = { responseHeaders: false }
|
|
4095
|
-
) {
|
|
4096
|
-
const { error } = CatalogPlatformValidator.getOptimalLocations().validate(
|
|
4097
|
-
{
|
|
4098
|
-
body,
|
|
4099
|
-
},
|
|
4100
|
-
{ abortEarly: false, allowUnknown: true }
|
|
4101
|
-
);
|
|
4102
|
-
if (error) {
|
|
4103
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
4104
|
-
}
|
|
4105
|
-
|
|
4106
|
-
// Showing warrnings if extra unknown parameters are found
|
|
4107
|
-
const {
|
|
4108
|
-
error: warrning,
|
|
4109
|
-
} = CatalogPlatformValidator.getOptimalLocations().validate(
|
|
4110
|
-
{
|
|
4111
|
-
body,
|
|
4112
|
-
},
|
|
4113
|
-
{ abortEarly: false, allowUnknown: false }
|
|
4114
|
-
);
|
|
4115
|
-
if (warrning) {
|
|
4116
|
-
Logger({
|
|
4117
|
-
level: "WARN",
|
|
4118
|
-
message: `Parameter Validation warrnings for platform > Catalog > getOptimalLocations \n ${warrning}`,
|
|
4119
|
-
});
|
|
4120
|
-
}
|
|
4121
|
-
|
|
4122
|
-
const query_params = {};
|
|
4123
|
-
|
|
4124
|
-
const xHeaders = {};
|
|
4125
|
-
|
|
4126
|
-
const response = await PlatformAPIClient.execute(
|
|
4127
|
-
this.config,
|
|
4128
|
-
"post",
|
|
4129
|
-
`/service/platform/catalog/v1.0/company/${this.config.companyId}/location/reassign/`,
|
|
4130
|
-
query_params,
|
|
4131
|
-
body,
|
|
4132
|
-
{ ...xHeaders, ...requestHeaders },
|
|
4133
|
-
{ responseHeaders }
|
|
4134
|
-
);
|
|
4135
|
-
|
|
4136
|
-
let responseData = response;
|
|
4137
|
-
if (responseHeaders) {
|
|
4138
|
-
responseData = response[0];
|
|
4139
|
-
}
|
|
4140
|
-
|
|
4141
|
-
const {
|
|
4142
|
-
error: res_error,
|
|
4143
|
-
} = CatalogPlatformModel.StoreAssignResponseSchema().validate(
|
|
4144
|
-
responseData,
|
|
4145
|
-
{ abortEarly: false, allowUnknown: true }
|
|
4146
|
-
);
|
|
4147
|
-
|
|
4148
|
-
if (res_error) {
|
|
4149
|
-
if (this.config.options.strictResponseCheck === true) {
|
|
4150
|
-
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
4151
|
-
} else {
|
|
4152
|
-
Logger({
|
|
4153
|
-
level: "WARN",
|
|
4154
|
-
message: `Response Validation Warnings for platform > Catalog > getOptimalLocations \n ${res_error}`,
|
|
4155
|
-
});
|
|
4156
|
-
}
|
|
4157
|
-
}
|
|
4158
|
-
|
|
4159
|
-
return response;
|
|
4160
|
-
}
|
|
4161
|
-
|
|
4162
4082
|
/**
|
|
4163
4083
|
* @param {CatalogPlatformValidator.GetProductParam} arg - Arg object
|
|
4164
4084
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -373,22 +373,6 @@ export = CatalogPlatformModel;
|
|
|
373
373
|
* @property {string} [return_config_level] - Configuration level of return
|
|
374
374
|
* window category|product|no-return
|
|
375
375
|
*/
|
|
376
|
-
/**
|
|
377
|
-
* @typedef ArticleAssignment
|
|
378
|
-
* @property {string} [level]
|
|
379
|
-
* @property {string} [strategy]
|
|
380
|
-
*/
|
|
381
|
-
/**
|
|
382
|
-
* @typedef ArticleAssignment1
|
|
383
|
-
* @property {string} [level]
|
|
384
|
-
* @property {string} [strategy]
|
|
385
|
-
*/
|
|
386
|
-
/**
|
|
387
|
-
* @typedef ArticleQuery
|
|
388
|
-
* @property {number[]} [ignored_stores]
|
|
389
|
-
* @property {number} item_id
|
|
390
|
-
* @property {string} size
|
|
391
|
-
*/
|
|
392
376
|
/**
|
|
393
377
|
* @typedef ArticleStoreResponseSchema
|
|
394
378
|
* @property {string} [name]
|
|
@@ -396,24 +380,6 @@ export = CatalogPlatformModel;
|
|
|
396
380
|
* @property {string} [store_type]
|
|
397
381
|
* @property {number} [uid]
|
|
398
382
|
*/
|
|
399
|
-
/**
|
|
400
|
-
* @typedef AssignStore
|
|
401
|
-
* @property {string} app_id
|
|
402
|
-
* @property {AssignStoreArticle[]} articles
|
|
403
|
-
* @property {string} [channel_identifier]
|
|
404
|
-
* @property {string} [channel_type]
|
|
405
|
-
* @property {number} [company_id]
|
|
406
|
-
* @property {string} pincode
|
|
407
|
-
* @property {number[]} [store_ids]
|
|
408
|
-
*/
|
|
409
|
-
/**
|
|
410
|
-
* @typedef AssignStoreArticle
|
|
411
|
-
* @property {ArticleAssignment} [article_assignment]
|
|
412
|
-
* @property {string} [group_id]
|
|
413
|
-
* @property {Object} [meta]
|
|
414
|
-
* @property {number} [quantity]
|
|
415
|
-
* @property {ArticleQuery} [query]
|
|
416
|
-
*/
|
|
417
383
|
/**
|
|
418
384
|
* @typedef AttributeDetailsGroup
|
|
419
385
|
* @property {string} display_type - The type of display used for the attribute,
|
|
@@ -3553,8 +3519,7 @@ export = CatalogPlatformModel;
|
|
|
3553
3519
|
* taxation purposes. This is required for indian products.
|
|
3554
3520
|
* @property {string} [hsn_code] - **Deprecated**: Harmonized System
|
|
3555
3521
|
* Nomenclature (HSN) code for taxation purposes. Please use the `hs_code`
|
|
3556
|
-
* field instead
|
|
3557
|
-
* _Deprecated_*
|
|
3522
|
+
* field instead.
|
|
3558
3523
|
* @property {string} [id] - Unique identifier of the product in the database.
|
|
3559
3524
|
* @property {string} [image_nature] - Describes the nature of the product
|
|
3560
3525
|
* images (e.g., "standard").
|
|
@@ -4015,26 +3980,6 @@ export = CatalogPlatformModel;
|
|
|
4015
3980
|
* used for categorization or reference.
|
|
4016
3981
|
* @property {string} [title] - The main title of the size guide.
|
|
4017
3982
|
*/
|
|
4018
|
-
/**
|
|
4019
|
-
* @typedef StoreAssignResponseSchema
|
|
4020
|
-
* @property {string} [_id]
|
|
4021
|
-
* @property {ArticleAssignment1} article_assignment
|
|
4022
|
-
* @property {number} [company_id]
|
|
4023
|
-
* @property {string} [group_id]
|
|
4024
|
-
* @property {number} [index]
|
|
4025
|
-
* @property {number} item_id
|
|
4026
|
-
* @property {Object} [meta]
|
|
4027
|
-
* @property {number} [price_effective]
|
|
4028
|
-
* @property {number} [price_marked]
|
|
4029
|
-
* @property {number} quantity
|
|
4030
|
-
* @property {string} [s_city]
|
|
4031
|
-
* @property {string} size
|
|
4032
|
-
* @property {boolean} status
|
|
4033
|
-
* @property {number} [store_id]
|
|
4034
|
-
* @property {number} [store_pincode]
|
|
4035
|
-
* @property {Object[]} [strategy_wise_listing]
|
|
4036
|
-
* @property {string} [uid]
|
|
4037
|
-
*/
|
|
4038
3983
|
/**
|
|
4039
3984
|
* @typedef StoreDetail
|
|
4040
3985
|
* @property {Object[]} [additional_contacts]
|
|
@@ -4068,9 +4013,9 @@ export = CatalogPlatformModel;
|
|
|
4068
4013
|
/**
|
|
4069
4014
|
* @typedef TaxIdentifier
|
|
4070
4015
|
* @property {string} [tax_rule_id] - The unique identifier of the tax rule.
|
|
4071
|
-
* @property {string} [hsn_code]
|
|
4072
|
-
* @property {string} [hsn_code_id]
|
|
4073
|
-
* @property {string} [reporting_hsn]
|
|
4016
|
+
* @property {string} [hsn_code]
|
|
4017
|
+
* @property {string} [hsn_code_id]
|
|
4018
|
+
* @property {string} [reporting_hsn]
|
|
4074
4019
|
*/
|
|
4075
4020
|
/**
|
|
4076
4021
|
* @typedef TaxIdentifierV3
|
|
@@ -4661,7 +4606,7 @@ export = CatalogPlatformModel;
|
|
|
4661
4606
|
declare class CatalogPlatformModel {
|
|
4662
4607
|
}
|
|
4663
4608
|
declare namespace CatalogPlatformModel {
|
|
4664
|
-
export { Action, ValidationErrors, AllSizes, AllowSingleRequestSchema, AppCatalogConfiguration, AppCategoryReturnConfig, AppCategoryReturnConfigResponseSchema, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponseSchema, ApplicationItemMOQ, Scores, ApplicationItemMeta, ApplicationItemSeoSitemap, ApplicationItemSEO, ApplicationProductsSchema, ApplicationProductListingResponseSchema, ApplicationStoreJson, AppReturnConfigResponseSchema,
|
|
4609
|
+
export { Action, ValidationErrors, AllSizes, AllowSingleRequestSchema, AppCatalogConfiguration, AppCategoryReturnConfig, AppCategoryReturnConfigResponseSchema, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponseSchema, ApplicationItemMOQ, Scores, ApplicationItemMeta, ApplicationItemSeoSitemap, ApplicationItemSEO, ApplicationProductsSchema, ApplicationProductListingResponseSchema, ApplicationStoreJson, AppReturnConfigResponseSchema, ArticleStoreResponseSchema, 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, BulkMeta, 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, 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, GetCollectionListingResponseSchema, GetCollectionQueryOptionResponseSchema, GetCompanySchema, ConditionItem, DataItem, ValueTypeItem, SortTypeItem, GetConfigMetadataResponseSchema, GetConfigMetadataValues, GetConfigResponseSchema, ConfigItem, AttributeConfig, GetDepartment, GetInventories, GetInventoriesResponseSchema, GetLocationSchema, GetOptInPlatform, GetProducts, ProductDetails, GetCollectionDetailResponseSchema, CommonResponseSchemaCollection, GetQueryFiltersKeysResponseSchema, GetQueryFiltersResponseSchema, GetCollectionItemsResponseSchemaV2, CollectionItemV2, 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, BundleDetails, Meta, MetaDataListingFilterMetaResponseSchema, MetaDataListingFilterResponseSchema, MetaDataListingResponseSchema, MetaDataListingSortMetaResponseSchema, MetaDataListingSortResponseSchema, MetaFields, NetQuantity, NetQuantityResponseSchema, NextSchedule, LocationPriceRequestSchema, LocationQuantityRequestSchema, LocationPriceQuantitySuccessResponseSchema, OptInPostRequestSchema, OptinCompanyBrandDetailsView, OptinCompanyDetail, OptinCompanyMetrics, OptinStoreDetails, OwnerAppItemResponseSchema, PTErrorResponseSchema, Page, PageResponseSchema, PageResponseType, Price, ProductListingDetailPrice, PriceArticle, PriceMeta, ProdcutTemplateCategoriesResponseSchema, Product, ProductAttributesResponseSchema, ProductBrand, ProductBulkAssets, ProductBulkRequestSchema, ProductBulkRequestList, ProductConfigurationDownloads, ProductCreateSchemaV3, ProductUpdateSchemaV3, ProductPatchSchemaV3, ProductSizePatch, 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, StoreDetail, StoreMeta, SuccessResponseSchema, SuccessResponseObject, TaxIdentifier, TaxIdentifierV3, 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, BulkInventoryJob, Marketplaces, GetAllMarketplaces, UpdateMarketplaceOptinRequestSchema, UpdateMarketplaceOptinResponseSchema, Filters, FollowedProducts, FollowProduct, TaxReqBodyRule, TaxThreshold, TaxComponent, TaxComponentResponseSchema, TaxComponentName, CreateTaxComponentNameRequestSchema, TaxReqBodyVersion, CreateTaxRequestBody, TaxVersion, UpdateTaxVersionRequestBody, CreateTaxVersionRequestBody, TaxRule, TaxVersionDetail, CreateTax, UpdateTaxVersion, UpdateTaxRequestBody, TaxRuleItem, TaxRules, TaxVersionPastData, TaxRuleVersion, HSCodeItem, HSCodes, GetTaxComponents, ActionPage, ValidationError, Price1, MultiCategoriesSchema, NetQuantitySchema, CustomMeta, TaxStatusEnum, HsTypeEnum, PageType };
|
|
4665
4610
|
}
|
|
4666
4611
|
/** @returns {Action} */
|
|
4667
4612
|
declare function Action(): Action;
|
|
@@ -5448,25 +5393,6 @@ type AppReturnConfigResponseSchema = {
|
|
|
5448
5393
|
*/
|
|
5449
5394
|
return_config_level?: string;
|
|
5450
5395
|
};
|
|
5451
|
-
/** @returns {ArticleAssignment} */
|
|
5452
|
-
declare function ArticleAssignment(): ArticleAssignment;
|
|
5453
|
-
type ArticleAssignment = {
|
|
5454
|
-
level?: string;
|
|
5455
|
-
strategy?: string;
|
|
5456
|
-
};
|
|
5457
|
-
/** @returns {ArticleAssignment1} */
|
|
5458
|
-
declare function ArticleAssignment1(): ArticleAssignment1;
|
|
5459
|
-
type ArticleAssignment1 = {
|
|
5460
|
-
level?: string;
|
|
5461
|
-
strategy?: string;
|
|
5462
|
-
};
|
|
5463
|
-
/** @returns {ArticleQuery} */
|
|
5464
|
-
declare function ArticleQuery(): ArticleQuery;
|
|
5465
|
-
type ArticleQuery = {
|
|
5466
|
-
ignored_stores?: number[];
|
|
5467
|
-
item_id: number;
|
|
5468
|
-
size: string;
|
|
5469
|
-
};
|
|
5470
5396
|
/** @returns {ArticleStoreResponseSchema} */
|
|
5471
5397
|
declare function ArticleStoreResponseSchema(): ArticleStoreResponseSchema;
|
|
5472
5398
|
type ArticleStoreResponseSchema = {
|
|
@@ -5475,26 +5401,6 @@ type ArticleStoreResponseSchema = {
|
|
|
5475
5401
|
store_type?: string;
|
|
5476
5402
|
uid?: number;
|
|
5477
5403
|
};
|
|
5478
|
-
/** @returns {AssignStore} */
|
|
5479
|
-
declare function AssignStore(): AssignStore;
|
|
5480
|
-
type AssignStore = {
|
|
5481
|
-
app_id: string;
|
|
5482
|
-
articles: AssignStoreArticle[];
|
|
5483
|
-
channel_identifier?: string;
|
|
5484
|
-
channel_type?: string;
|
|
5485
|
-
company_id?: number;
|
|
5486
|
-
pincode: string;
|
|
5487
|
-
store_ids?: number[];
|
|
5488
|
-
};
|
|
5489
|
-
/** @returns {AssignStoreArticle} */
|
|
5490
|
-
declare function AssignStoreArticle(): AssignStoreArticle;
|
|
5491
|
-
type AssignStoreArticle = {
|
|
5492
|
-
article_assignment?: ArticleAssignment;
|
|
5493
|
-
group_id?: string;
|
|
5494
|
-
meta?: any;
|
|
5495
|
-
quantity?: number;
|
|
5496
|
-
query?: ArticleQuery;
|
|
5497
|
-
};
|
|
5498
5404
|
/** @returns {AttributeDetailsGroup} */
|
|
5499
5405
|
declare function AttributeDetailsGroup(): AttributeDetailsGroup;
|
|
5500
5406
|
type AttributeDetailsGroup = {
|
|
@@ -12485,8 +12391,7 @@ type ProductSchemaV2 = {
|
|
|
12485
12391
|
/**
|
|
12486
12392
|
* - **Deprecated**: Harmonized System
|
|
12487
12393
|
* Nomenclature (HSN) code for taxation purposes. Please use the `hs_code`
|
|
12488
|
-
* field instead
|
|
12489
|
-
* _Deprecated_*
|
|
12394
|
+
* field instead.
|
|
12490
12395
|
*/
|
|
12491
12396
|
hsn_code?: string;
|
|
12492
12397
|
/**
|
|
@@ -13440,27 +13345,6 @@ type SizeGuideResponseSchema = {
|
|
|
13440
13345
|
*/
|
|
13441
13346
|
title?: string;
|
|
13442
13347
|
};
|
|
13443
|
-
/** @returns {StoreAssignResponseSchema} */
|
|
13444
|
-
declare function StoreAssignResponseSchema(): StoreAssignResponseSchema;
|
|
13445
|
-
type StoreAssignResponseSchema = {
|
|
13446
|
-
_id?: string;
|
|
13447
|
-
article_assignment: ArticleAssignment1;
|
|
13448
|
-
company_id?: number;
|
|
13449
|
-
group_id?: string;
|
|
13450
|
-
index?: number;
|
|
13451
|
-
item_id: number;
|
|
13452
|
-
meta?: any;
|
|
13453
|
-
price_effective?: number;
|
|
13454
|
-
price_marked?: number;
|
|
13455
|
-
quantity: number;
|
|
13456
|
-
s_city?: string;
|
|
13457
|
-
size: string;
|
|
13458
|
-
status: boolean;
|
|
13459
|
-
store_id?: number;
|
|
13460
|
-
store_pincode?: number;
|
|
13461
|
-
strategy_wise_listing?: any[];
|
|
13462
|
-
uid?: string;
|
|
13463
|
-
};
|
|
13464
13348
|
/** @returns {StoreDetail} */
|
|
13465
13349
|
declare function StoreDetail(): StoreDetail;
|
|
13466
13350
|
type StoreDetail = {
|
|
@@ -13511,17 +13395,8 @@ type TaxIdentifier = {
|
|
|
13511
13395
|
* - The unique identifier of the tax rule.
|
|
13512
13396
|
*/
|
|
13513
13397
|
tax_rule_id?: string;
|
|
13514
|
-
/**
|
|
13515
|
-
* _Deprecated_*
|
|
13516
|
-
*/
|
|
13517
13398
|
hsn_code?: string;
|
|
13518
|
-
/**
|
|
13519
|
-
* _Deprecated_*
|
|
13520
|
-
*/
|
|
13521
13399
|
hsn_code_id?: string;
|
|
13522
|
-
/**
|
|
13523
|
-
* _Deprecated_*
|
|
13524
|
-
*/
|
|
13525
13400
|
reporting_hsn?: string;
|
|
13526
13401
|
};
|
|
13527
13402
|
/** @returns {TaxIdentifierV3} */
|
|
@@ -398,25 +398,6 @@ const Joi = require("joi");
|
|
|
398
398
|
* window category|product|no-return
|
|
399
399
|
*/
|
|
400
400
|
|
|
401
|
-
/**
|
|
402
|
-
* @typedef ArticleAssignment
|
|
403
|
-
* @property {string} [level]
|
|
404
|
-
* @property {string} [strategy]
|
|
405
|
-
*/
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* @typedef ArticleAssignment1
|
|
409
|
-
* @property {string} [level]
|
|
410
|
-
* @property {string} [strategy]
|
|
411
|
-
*/
|
|
412
|
-
|
|
413
|
-
/**
|
|
414
|
-
* @typedef ArticleQuery
|
|
415
|
-
* @property {number[]} [ignored_stores]
|
|
416
|
-
* @property {number} item_id
|
|
417
|
-
* @property {string} size
|
|
418
|
-
*/
|
|
419
|
-
|
|
420
401
|
/**
|
|
421
402
|
* @typedef ArticleStoreResponseSchema
|
|
422
403
|
* @property {string} [name]
|
|
@@ -425,26 +406,6 @@ const Joi = require("joi");
|
|
|
425
406
|
* @property {number} [uid]
|
|
426
407
|
*/
|
|
427
408
|
|
|
428
|
-
/**
|
|
429
|
-
* @typedef AssignStore
|
|
430
|
-
* @property {string} app_id
|
|
431
|
-
* @property {AssignStoreArticle[]} articles
|
|
432
|
-
* @property {string} [channel_identifier]
|
|
433
|
-
* @property {string} [channel_type]
|
|
434
|
-
* @property {number} [company_id]
|
|
435
|
-
* @property {string} pincode
|
|
436
|
-
* @property {number[]} [store_ids]
|
|
437
|
-
*/
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
* @typedef AssignStoreArticle
|
|
441
|
-
* @property {ArticleAssignment} [article_assignment]
|
|
442
|
-
* @property {string} [group_id]
|
|
443
|
-
* @property {Object} [meta]
|
|
444
|
-
* @property {number} [quantity]
|
|
445
|
-
* @property {ArticleQuery} [query]
|
|
446
|
-
*/
|
|
447
|
-
|
|
448
409
|
/**
|
|
449
410
|
* @typedef AttributeDetailsGroup
|
|
450
411
|
* @property {string} display_type - The type of display used for the attribute,
|
|
@@ -3875,8 +3836,7 @@ const Joi = require("joi");
|
|
|
3875
3836
|
* taxation purposes. This is required for indian products.
|
|
3876
3837
|
* @property {string} [hsn_code] - **Deprecated**: Harmonized System
|
|
3877
3838
|
* Nomenclature (HSN) code for taxation purposes. Please use the `hs_code`
|
|
3878
|
-
* field instead
|
|
3879
|
-
* _Deprecated_*
|
|
3839
|
+
* field instead.
|
|
3880
3840
|
* @property {string} [id] - Unique identifier of the product in the database.
|
|
3881
3841
|
* @property {string} [image_nature] - Describes the nature of the product
|
|
3882
3842
|
* images (e.g., "standard").
|
|
@@ -4385,27 +4345,6 @@ const Joi = require("joi");
|
|
|
4385
4345
|
* @property {string} [title] - The main title of the size guide.
|
|
4386
4346
|
*/
|
|
4387
4347
|
|
|
4388
|
-
/**
|
|
4389
|
-
* @typedef StoreAssignResponseSchema
|
|
4390
|
-
* @property {string} [_id]
|
|
4391
|
-
* @property {ArticleAssignment1} article_assignment
|
|
4392
|
-
* @property {number} [company_id]
|
|
4393
|
-
* @property {string} [group_id]
|
|
4394
|
-
* @property {number} [index]
|
|
4395
|
-
* @property {number} item_id
|
|
4396
|
-
* @property {Object} [meta]
|
|
4397
|
-
* @property {number} [price_effective]
|
|
4398
|
-
* @property {number} [price_marked]
|
|
4399
|
-
* @property {number} quantity
|
|
4400
|
-
* @property {string} [s_city]
|
|
4401
|
-
* @property {string} size
|
|
4402
|
-
* @property {boolean} status
|
|
4403
|
-
* @property {number} [store_id]
|
|
4404
|
-
* @property {number} [store_pincode]
|
|
4405
|
-
* @property {Object[]} [strategy_wise_listing]
|
|
4406
|
-
* @property {string} [uid]
|
|
4407
|
-
*/
|
|
4408
|
-
|
|
4409
4348
|
/**
|
|
4410
4349
|
* @typedef StoreDetail
|
|
4411
4350
|
* @property {Object[]} [additional_contacts]
|
|
@@ -4443,9 +4382,9 @@ const Joi = require("joi");
|
|
|
4443
4382
|
/**
|
|
4444
4383
|
* @typedef TaxIdentifier
|
|
4445
4384
|
* @property {string} [tax_rule_id] - The unique identifier of the tax rule.
|
|
4446
|
-
* @property {string} [hsn_code]
|
|
4447
|
-
* @property {string} [hsn_code_id]
|
|
4448
|
-
* @property {string} [reporting_hsn]
|
|
4385
|
+
* @property {string} [hsn_code]
|
|
4386
|
+
* @property {string} [hsn_code_id]
|
|
4387
|
+
* @property {string} [reporting_hsn]
|
|
4449
4388
|
*/
|
|
4450
4389
|
|
|
4451
4390
|
/**
|
|
@@ -5436,31 +5375,6 @@ class CatalogPlatformModel {
|
|
|
5436
5375
|
});
|
|
5437
5376
|
}
|
|
5438
5377
|
|
|
5439
|
-
/** @returns {ArticleAssignment} */
|
|
5440
|
-
static ArticleAssignment() {
|
|
5441
|
-
return Joi.object({
|
|
5442
|
-
level: Joi.string().allow(""),
|
|
5443
|
-
strategy: Joi.string().allow(""),
|
|
5444
|
-
});
|
|
5445
|
-
}
|
|
5446
|
-
|
|
5447
|
-
/** @returns {ArticleAssignment1} */
|
|
5448
|
-
static ArticleAssignment1() {
|
|
5449
|
-
return Joi.object({
|
|
5450
|
-
level: Joi.string().allow(""),
|
|
5451
|
-
strategy: Joi.string().allow(""),
|
|
5452
|
-
});
|
|
5453
|
-
}
|
|
5454
|
-
|
|
5455
|
-
/** @returns {ArticleQuery} */
|
|
5456
|
-
static ArticleQuery() {
|
|
5457
|
-
return Joi.object({
|
|
5458
|
-
ignored_stores: Joi.array().items(Joi.number()),
|
|
5459
|
-
item_id: Joi.number().required(),
|
|
5460
|
-
size: Joi.string().allow("").required(),
|
|
5461
|
-
});
|
|
5462
|
-
}
|
|
5463
|
-
|
|
5464
5378
|
/** @returns {ArticleStoreResponseSchema} */
|
|
5465
5379
|
static ArticleStoreResponseSchema() {
|
|
5466
5380
|
return Joi.object({
|
|
@@ -5471,32 +5385,6 @@ class CatalogPlatformModel {
|
|
|
5471
5385
|
});
|
|
5472
5386
|
}
|
|
5473
5387
|
|
|
5474
|
-
/** @returns {AssignStore} */
|
|
5475
|
-
static AssignStore() {
|
|
5476
|
-
return Joi.object({
|
|
5477
|
-
app_id: Joi.string().allow("").required(),
|
|
5478
|
-
articles: Joi.array()
|
|
5479
|
-
.items(CatalogPlatformModel.AssignStoreArticle())
|
|
5480
|
-
.required(),
|
|
5481
|
-
channel_identifier: Joi.string().allow(""),
|
|
5482
|
-
channel_type: Joi.string().allow(""),
|
|
5483
|
-
company_id: Joi.number(),
|
|
5484
|
-
pincode: Joi.string().allow("").required(),
|
|
5485
|
-
store_ids: Joi.array().items(Joi.number()),
|
|
5486
|
-
});
|
|
5487
|
-
}
|
|
5488
|
-
|
|
5489
|
-
/** @returns {AssignStoreArticle} */
|
|
5490
|
-
static AssignStoreArticle() {
|
|
5491
|
-
return Joi.object({
|
|
5492
|
-
article_assignment: CatalogPlatformModel.ArticleAssignment(),
|
|
5493
|
-
group_id: Joi.string().allow(""),
|
|
5494
|
-
meta: Joi.object().pattern(/\S/, Joi.any()),
|
|
5495
|
-
quantity: Joi.number(),
|
|
5496
|
-
query: CatalogPlatformModel.ArticleQuery(),
|
|
5497
|
-
});
|
|
5498
|
-
}
|
|
5499
|
-
|
|
5500
5388
|
/** @returns {AttributeDetailsGroup} */
|
|
5501
5389
|
static AttributeDetailsGroup() {
|
|
5502
5390
|
return Joi.object({
|
|
@@ -9678,31 +9566,6 @@ class CatalogPlatformModel {
|
|
|
9678
9566
|
});
|
|
9679
9567
|
}
|
|
9680
9568
|
|
|
9681
|
-
/** @returns {StoreAssignResponseSchema} */
|
|
9682
|
-
static StoreAssignResponseSchema() {
|
|
9683
|
-
return Joi.object({
|
|
9684
|
-
_id: Joi.string().allow(""),
|
|
9685
|
-
article_assignment: CatalogPlatformModel.ArticleAssignment1().required(),
|
|
9686
|
-
company_id: Joi.number(),
|
|
9687
|
-
group_id: Joi.string().allow(""),
|
|
9688
|
-
index: Joi.number(),
|
|
9689
|
-
item_id: Joi.number().required(),
|
|
9690
|
-
meta: Joi.object().pattern(/\S/, Joi.any()),
|
|
9691
|
-
price_effective: Joi.number(),
|
|
9692
|
-
price_marked: Joi.number(),
|
|
9693
|
-
quantity: Joi.number().required(),
|
|
9694
|
-
s_city: Joi.string().allow(""),
|
|
9695
|
-
size: Joi.string().allow("").required(),
|
|
9696
|
-
status: Joi.boolean().required(),
|
|
9697
|
-
store_id: Joi.number(),
|
|
9698
|
-
store_pincode: Joi.number(),
|
|
9699
|
-
strategy_wise_listing: Joi.array().items(
|
|
9700
|
-
Joi.object().pattern(/\S/, Joi.any())
|
|
9701
|
-
),
|
|
9702
|
-
uid: Joi.string().allow(""),
|
|
9703
|
-
});
|
|
9704
|
-
}
|
|
9705
|
-
|
|
9706
9569
|
/** @returns {StoreDetail} */
|
|
9707
9570
|
static StoreDetail() {
|
|
9708
9571
|
return Joi.object({
|
|
@@ -253,10 +253,6 @@ export = CatalogPlatformValidator;
|
|
|
253
253
|
/** @typedef GetInventoryExportParam */
|
|
254
254
|
/** @typedef GetMarketplaceOptinDetailParam */
|
|
255
255
|
/** @typedef GetMarketplacesParam */
|
|
256
|
-
/**
|
|
257
|
-
* @typedef GetOptimalLocationsParam
|
|
258
|
-
* @property {CatalogPlatformModel.AssignStore} body
|
|
259
|
-
*/
|
|
260
256
|
/**
|
|
261
257
|
* @typedef GetProductParam
|
|
262
258
|
* @property {number} itemId - Item Id of the product.
|
|
@@ -622,8 +618,6 @@ declare class CatalogPlatformValidator {
|
|
|
622
618
|
static getMarketplaceOptinDetail(): any;
|
|
623
619
|
/** @returns {GetMarketplacesParam} */
|
|
624
620
|
static getMarketplaces(): any;
|
|
625
|
-
/** @returns {GetOptimalLocationsParam} */
|
|
626
|
-
static getOptimalLocations(): GetOptimalLocationsParam;
|
|
627
621
|
/** @returns {GetProductParam} */
|
|
628
622
|
static getProduct(): GetProductParam;
|
|
629
623
|
/** @returns {GetProductAssetsInBulkParam} */
|
|
@@ -702,7 +696,7 @@ declare class CatalogPlatformValidator {
|
|
|
702
696
|
static validateProductTemplateSchema(): ValidateProductTemplateSchemaParam;
|
|
703
697
|
}
|
|
704
698
|
declare namespace CatalogPlatformValidator {
|
|
705
|
-
export { AddInventoryParam, AllSizesParam, BulkHsnCodeParam, CreateBulkInventoryParam, CreateBulkInventoryJobParam, CreateBulkProductUploadJobParam, CreateHsCodeParam, CreateInventoryExportParam, CreateInventoryExportJobParam, CreateMarketplaceOptinParam, CreateProductParam, CreateProductAssetsInBulkParam, CreateProductExportJobParam, CreateProductsInBulkParam, CreateSizeGuideParam, CreateTaxParam, CreateTaxComponentNameParam, CreateTaxVersionParam, DeleteBulkInventoryJobParam, DeleteProductParam, DeleteProductBulkJobParam, DeleteRealtimeInventoryParam, DeleteSizeParam, DeleteTaxRuleParam, DeleteTaxVersionParam, DownloadInventoryTemplateViewParam, DownloadProductTemplateViewsParam, EditProductParam, ExportInventoryConfigParam, GetAllProductHsnCodesParam, GetAllTaxRulesParam, GetAttributeParam, GetCategoryDataParam, GetCompanyBrandDetailParam, GetCompanyDetailParam, GetCompanyMetricsParam, GetDepartmentDataParam, GetHsCodesParam, GetHsnCodeParam, GetInventoriesParam, GetInventoryBulkUploadHistoryParam, GetInventoryBySizeParam, GetInventoryBySizeIdentifierParam, GetInventoryExportParam, GetMarketplaceOptinDetailParam, GetMarketplacesParam,
|
|
699
|
+
export { AddInventoryParam, AllSizesParam, BulkHsnCodeParam, CreateBulkInventoryParam, CreateBulkInventoryJobParam, CreateBulkProductUploadJobParam, CreateHsCodeParam, CreateInventoryExportParam, CreateInventoryExportJobParam, CreateMarketplaceOptinParam, CreateProductParam, CreateProductAssetsInBulkParam, CreateProductExportJobParam, CreateProductsInBulkParam, CreateSizeGuideParam, CreateTaxParam, CreateTaxComponentNameParam, CreateTaxVersionParam, DeleteBulkInventoryJobParam, DeleteProductParam, DeleteProductBulkJobParam, DeleteRealtimeInventoryParam, DeleteSizeParam, DeleteTaxRuleParam, DeleteTaxVersionParam, DownloadInventoryTemplateViewParam, DownloadProductTemplateViewsParam, EditProductParam, ExportInventoryConfigParam, GetAllProductHsnCodesParam, GetAllTaxRulesParam, GetAttributeParam, GetCategoryDataParam, GetCompanyBrandDetailParam, GetCompanyDetailParam, GetCompanyMetricsParam, GetDepartmentDataParam, GetHsCodesParam, GetHsnCodeParam, GetInventoriesParam, GetInventoryBulkUploadHistoryParam, GetInventoryBySizeParam, GetInventoryBySizeIdentifierParam, GetInventoryExportParam, GetMarketplaceOptinDetailParam, GetMarketplacesParam, GetProductParam, GetProductAssetsInBulkParam, GetProductAttributesParam, GetProductBulkUploadHistoryParam, GetProductExportJobsParam, GetProductSizeParam, GetProductTagsParam, GetProductValidationParam, GetProductsParam, GetSellerInsightsParam, GetSingleProductHSNCodeParam, GetSizeGuideParam, GetSizeGuidesParam, GetStoreDetailParam, GetTaxComponentNamesParam, GetTaxVersionDetailsParam, GetVariantsOfProductsParam, ListCategoriesParam, ListDepartmentsDataParam, ListHSNCodesParam, ListInventoryExportParam, ListProductTemplateParam, ListProductTemplateCategoriesParam, ListProductTemplateExportDetailsParam, ListTemplateBrandTypeValuesParam, PartialUpdateProductParam, UpdateHsnCodeParam, UpdateInventoriesParam, UpdateLocationPriceParam, UpdateLocationQuantityParam, UpdateMarketplaceOptinParam, UpdateRealtimeInventoryParam, UpdateSizeGuideParam, UpdateTaxRuleParam, UpdateTaxVersionParam, ValidateProductGlobalTemplateParam, ValidateProductTemplateParam, ValidateProductTemplateSchemaParam };
|
|
706
700
|
}
|
|
707
701
|
type AddInventoryParam = {
|
|
708
702
|
/**
|
|
@@ -1158,9 +1152,6 @@ type GetInventoryBySizeIdentifierParam = {
|
|
|
1158
1152
|
*/
|
|
1159
1153
|
locationIds?: number[];
|
|
1160
1154
|
};
|
|
1161
|
-
type GetOptimalLocationsParam = {
|
|
1162
|
-
body: CatalogPlatformModel.AssignStore;
|
|
1163
|
-
};
|
|
1164
1155
|
type GetProductParam = {
|
|
1165
1156
|
/**
|
|
1166
1157
|
* - Item Id of the product.
|
|
@@ -302,11 +302,6 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
302
302
|
|
|
303
303
|
/** @typedef GetMarketplacesParam */
|
|
304
304
|
|
|
305
|
-
/**
|
|
306
|
-
* @typedef GetOptimalLocationsParam
|
|
307
|
-
* @property {CatalogPlatformModel.AssignStore} body
|
|
308
|
-
*/
|
|
309
|
-
|
|
310
305
|
/**
|
|
311
306
|
* @typedef GetProductParam
|
|
312
307
|
* @property {number} itemId - Item Id of the product.
|
|
@@ -990,13 +985,6 @@ class CatalogPlatformValidator {
|
|
|
990
985
|
return Joi.object({}).required();
|
|
991
986
|
}
|
|
992
987
|
|
|
993
|
-
/** @returns {GetOptimalLocationsParam} */
|
|
994
|
-
static getOptimalLocations() {
|
|
995
|
-
return Joi.object({
|
|
996
|
-
body: CatalogPlatformModel.AssignStore().required(),
|
|
997
|
-
}).required();
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
988
|
/** @returns {GetProductParam} */
|
|
1001
989
|
static getProduct() {
|
|
1002
990
|
return Joi.object({
|