@gofynd/fdk-client-javascript 1.4.15-beta.3 → 1.4.15
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 +48 -50
- package/sdk/application/Content/ContentApplicationClient.d.ts +0 -20
- package/sdk/application/Content/ContentApplicationClient.js +0 -78
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.js +2 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +10 -0
- package/sdk/application/Payment/PaymentApplicationClient.js +39 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -12
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +209 -38
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +399 -19
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +212 -11
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +3 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +22 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +3 -12
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +0 -7
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +0 -3
- package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -14
- package/sdk/platform/Cart/CartPlatformModel.js +12 -6
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +24 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.js +176 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +80 -29
- package/sdk/platform/Catalog/CatalogPlatformModel.js +72 -32
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +45 -1
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +35 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -52
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -411
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -85
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -73
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1 -90
- package/sdk/platform/Content/ContentPlatformModel.js +0 -104
- package/sdk/platform/Order/OrderPlatformClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformClient.js +8 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +75 -3
- package/sdk/platform/Order/OrderPlatformModel.js +43 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +22 -0
- package/sdk/platform/Order/OrderPlatformValidator.js +10 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +94 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +699 -76
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +598 -23
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +382 -20
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +134 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +108 -0
|
@@ -961,6 +961,30 @@ declare class Catalog {
|
|
|
961
961
|
* @description: Allows to add Inventory for particular size and selling location. for associated companies - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateInventories/).
|
|
962
962
|
*/
|
|
963
963
|
updateInventories({ body, requestHeaders }?: CatalogPlatformValidator.UpdateInventoriesParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.InventoryUpdateResponseSchema>;
|
|
964
|
+
/**
|
|
965
|
+
* @param {CatalogPlatformValidator.UpdateLocationPriceParam} arg - Arg object
|
|
966
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
967
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
968
|
+
* @returns {Promise<CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema>}
|
|
969
|
+
* - Success response
|
|
970
|
+
*
|
|
971
|
+
* @name updateLocationPrice
|
|
972
|
+
* @summary: Update an Article Price
|
|
973
|
+
* @description: enables you to update article price for a specific size and selling location (store). The price updates will be reflected instantly after the API call. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateLocationPrice/).
|
|
974
|
+
*/
|
|
975
|
+
updateLocationPrice({ storeId, sellerIdentifier, body, requestHeaders }?: CatalogPlatformValidator.UpdateLocationPriceParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema>;
|
|
976
|
+
/**
|
|
977
|
+
* @param {CatalogPlatformValidator.UpdateLocationQuantityParam} arg - Arg object
|
|
978
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
979
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
980
|
+
* @returns {Promise<CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema>}
|
|
981
|
+
* - Success response
|
|
982
|
+
*
|
|
983
|
+
* @name updateLocationQuantity
|
|
984
|
+
* @summary: Update an Article Quantity
|
|
985
|
+
* @description: enables you to update article quantity for a specific size and selling location (store). The quantity updates will be reflected instantly after the API call. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateLocationQuantity/).
|
|
986
|
+
*/
|
|
987
|
+
updateLocationQuantity({ storeId, sellerIdentifier, body, requestHeaders }?: CatalogPlatformValidator.UpdateLocationQuantityParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema>;
|
|
964
988
|
/**
|
|
965
989
|
* @param {CatalogPlatformValidator.UpdateMarketplaceOptinParam} arg - Arg object
|
|
966
990
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -6210,6 +6210,182 @@ class Catalog {
|
|
|
6210
6210
|
return response;
|
|
6211
6211
|
}
|
|
6212
6212
|
|
|
6213
|
+
/**
|
|
6214
|
+
* @param {CatalogPlatformValidator.UpdateLocationPriceParam} arg - Arg object
|
|
6215
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
6216
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
6217
|
+
* @returns {Promise<CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema>}
|
|
6218
|
+
* - Success response
|
|
6219
|
+
*
|
|
6220
|
+
* @name updateLocationPrice
|
|
6221
|
+
* @summary: Update an Article Price
|
|
6222
|
+
* @description: enables you to update article price for a specific size and selling location (store). The price updates will be reflected instantly after the API call. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateLocationPrice/).
|
|
6223
|
+
*/
|
|
6224
|
+
async updateLocationPrice(
|
|
6225
|
+
{ storeId, sellerIdentifier, body, requestHeaders } = {
|
|
6226
|
+
requestHeaders: {},
|
|
6227
|
+
},
|
|
6228
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
6229
|
+
) {
|
|
6230
|
+
const { error } = CatalogPlatformValidator.updateLocationPrice().validate(
|
|
6231
|
+
{
|
|
6232
|
+
storeId,
|
|
6233
|
+
sellerIdentifier,
|
|
6234
|
+
body,
|
|
6235
|
+
},
|
|
6236
|
+
{ abortEarly: false, allowUnknown: true }
|
|
6237
|
+
);
|
|
6238
|
+
if (error) {
|
|
6239
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
6240
|
+
}
|
|
6241
|
+
|
|
6242
|
+
// Showing warrnings if extra unknown parameters are found
|
|
6243
|
+
const {
|
|
6244
|
+
error: warrning,
|
|
6245
|
+
} = CatalogPlatformValidator.updateLocationPrice().validate(
|
|
6246
|
+
{
|
|
6247
|
+
storeId,
|
|
6248
|
+
sellerIdentifier,
|
|
6249
|
+
body,
|
|
6250
|
+
},
|
|
6251
|
+
{ abortEarly: false, allowUnknown: false }
|
|
6252
|
+
);
|
|
6253
|
+
if (warrning) {
|
|
6254
|
+
Logger({
|
|
6255
|
+
level: "WARN",
|
|
6256
|
+
message: `Parameter Validation warrnings for platform > Catalog > updateLocationPrice \n ${warrning}`,
|
|
6257
|
+
});
|
|
6258
|
+
}
|
|
6259
|
+
|
|
6260
|
+
const query_params = {};
|
|
6261
|
+
|
|
6262
|
+
const xHeaders = {};
|
|
6263
|
+
|
|
6264
|
+
const response = await PlatformAPIClient.execute(
|
|
6265
|
+
this.config,
|
|
6266
|
+
"post",
|
|
6267
|
+
`/service/platform/catalog/v1.0/company/${this.config.companyId}/store/${storeId}/identifier/${sellerIdentifier}/price`,
|
|
6268
|
+
query_params,
|
|
6269
|
+
body,
|
|
6270
|
+
{ ...xHeaders, ...requestHeaders },
|
|
6271
|
+
{ responseHeaders }
|
|
6272
|
+
);
|
|
6273
|
+
|
|
6274
|
+
let responseData = response;
|
|
6275
|
+
if (responseHeaders) {
|
|
6276
|
+
responseData = response[0];
|
|
6277
|
+
}
|
|
6278
|
+
|
|
6279
|
+
const {
|
|
6280
|
+
error: res_error,
|
|
6281
|
+
} = CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema().validate(
|
|
6282
|
+
responseData,
|
|
6283
|
+
{ abortEarly: false, allowUnknown: true }
|
|
6284
|
+
);
|
|
6285
|
+
|
|
6286
|
+
if (res_error) {
|
|
6287
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
6288
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
6289
|
+
} else {
|
|
6290
|
+
Logger({
|
|
6291
|
+
level: "WARN",
|
|
6292
|
+
message: `Response Validation Warnings for platform > Catalog > updateLocationPrice \n ${res_error}`,
|
|
6293
|
+
});
|
|
6294
|
+
}
|
|
6295
|
+
}
|
|
6296
|
+
|
|
6297
|
+
return response;
|
|
6298
|
+
}
|
|
6299
|
+
|
|
6300
|
+
/**
|
|
6301
|
+
* @param {CatalogPlatformValidator.UpdateLocationQuantityParam} arg - Arg object
|
|
6302
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
6303
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
6304
|
+
* @returns {Promise<CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema>}
|
|
6305
|
+
* - Success response
|
|
6306
|
+
*
|
|
6307
|
+
* @name updateLocationQuantity
|
|
6308
|
+
* @summary: Update an Article Quantity
|
|
6309
|
+
* @description: enables you to update article quantity for a specific size and selling location (store). The quantity updates will be reflected instantly after the API call. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/updateLocationQuantity/).
|
|
6310
|
+
*/
|
|
6311
|
+
async updateLocationQuantity(
|
|
6312
|
+
{ storeId, sellerIdentifier, body, requestHeaders } = {
|
|
6313
|
+
requestHeaders: {},
|
|
6314
|
+
},
|
|
6315
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
6316
|
+
) {
|
|
6317
|
+
const {
|
|
6318
|
+
error,
|
|
6319
|
+
} = CatalogPlatformValidator.updateLocationQuantity().validate(
|
|
6320
|
+
{
|
|
6321
|
+
storeId,
|
|
6322
|
+
sellerIdentifier,
|
|
6323
|
+
body,
|
|
6324
|
+
},
|
|
6325
|
+
{ abortEarly: false, allowUnknown: true }
|
|
6326
|
+
);
|
|
6327
|
+
if (error) {
|
|
6328
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
6329
|
+
}
|
|
6330
|
+
|
|
6331
|
+
// Showing warrnings if extra unknown parameters are found
|
|
6332
|
+
const {
|
|
6333
|
+
error: warrning,
|
|
6334
|
+
} = CatalogPlatformValidator.updateLocationQuantity().validate(
|
|
6335
|
+
{
|
|
6336
|
+
storeId,
|
|
6337
|
+
sellerIdentifier,
|
|
6338
|
+
body,
|
|
6339
|
+
},
|
|
6340
|
+
{ abortEarly: false, allowUnknown: false }
|
|
6341
|
+
);
|
|
6342
|
+
if (warrning) {
|
|
6343
|
+
Logger({
|
|
6344
|
+
level: "WARN",
|
|
6345
|
+
message: `Parameter Validation warrnings for platform > Catalog > updateLocationQuantity \n ${warrning}`,
|
|
6346
|
+
});
|
|
6347
|
+
}
|
|
6348
|
+
|
|
6349
|
+
const query_params = {};
|
|
6350
|
+
|
|
6351
|
+
const xHeaders = {};
|
|
6352
|
+
|
|
6353
|
+
const response = await PlatformAPIClient.execute(
|
|
6354
|
+
this.config,
|
|
6355
|
+
"post",
|
|
6356
|
+
`/service/platform/catalog/v1.0/company/${this.config.companyId}/store/${storeId}/identifier/${sellerIdentifier}/quantity`,
|
|
6357
|
+
query_params,
|
|
6358
|
+
body,
|
|
6359
|
+
{ ...xHeaders, ...requestHeaders },
|
|
6360
|
+
{ responseHeaders }
|
|
6361
|
+
);
|
|
6362
|
+
|
|
6363
|
+
let responseData = response;
|
|
6364
|
+
if (responseHeaders) {
|
|
6365
|
+
responseData = response[0];
|
|
6366
|
+
}
|
|
6367
|
+
|
|
6368
|
+
const {
|
|
6369
|
+
error: res_error,
|
|
6370
|
+
} = CatalogPlatformModel.LocationPriceQuantitySuccessResponseSchema().validate(
|
|
6371
|
+
responseData,
|
|
6372
|
+
{ abortEarly: false, allowUnknown: true }
|
|
6373
|
+
);
|
|
6374
|
+
|
|
6375
|
+
if (res_error) {
|
|
6376
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
6377
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
6378
|
+
} else {
|
|
6379
|
+
Logger({
|
|
6380
|
+
level: "WARN",
|
|
6381
|
+
message: `Response Validation Warnings for platform > Catalog > updateLocationQuantity \n ${res_error}`,
|
|
6382
|
+
});
|
|
6383
|
+
}
|
|
6384
|
+
}
|
|
6385
|
+
|
|
6386
|
+
return response;
|
|
6387
|
+
}
|
|
6388
|
+
|
|
6213
6389
|
/**
|
|
6214
6390
|
* @param {CatalogPlatformValidator.UpdateMarketplaceOptinParam} arg - Arg object
|
|
6215
6391
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -5,6 +5,10 @@ export = CatalogPlatformModel;
|
|
|
5
5
|
* @property {ActionPage} [page]
|
|
6
6
|
* @property {ActionPage} [popup]
|
|
7
7
|
*/
|
|
8
|
+
/**
|
|
9
|
+
* @typedef ValidationErrors
|
|
10
|
+
* @property {ValidationError[]} errors
|
|
11
|
+
*/
|
|
8
12
|
/**
|
|
9
13
|
* @typedef AllSizes
|
|
10
14
|
* @property {ValidateIdentifier[]} [identifiers] - A collection of identifiers
|
|
@@ -2607,6 +2611,21 @@ export = CatalogPlatformModel;
|
|
|
2607
2611
|
* @property {string} [end] - The end time of the schedule.
|
|
2608
2612
|
* @property {string} [start] - The start time of the schedule.
|
|
2609
2613
|
*/
|
|
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
|
+
*/
|
|
2610
2629
|
/**
|
|
2611
2630
|
* @typedef OptInPostRequestSchema
|
|
2612
2631
|
* @property {number[]} [brand_ids]
|
|
@@ -3696,7 +3715,7 @@ export = CatalogPlatformModel;
|
|
|
3696
3715
|
/**
|
|
3697
3716
|
* @typedef ApplicationItemSeoBreadcrumbs
|
|
3698
3717
|
* @property {string} [url]
|
|
3699
|
-
* @property {ApplicationItemSeoAction
|
|
3718
|
+
* @property {ApplicationItemSeoAction} [action]
|
|
3700
3719
|
*/
|
|
3701
3720
|
/**
|
|
3702
3721
|
* @typedef ApplicationCollectionItemSeoBreadcrumbs
|
|
@@ -4217,6 +4236,11 @@ export = CatalogPlatformModel;
|
|
|
4217
4236
|
* @property {string} [url] - The URL for the action.
|
|
4218
4237
|
* @property {PageType} type
|
|
4219
4238
|
*/
|
|
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
|
+
*/
|
|
4220
4244
|
/**
|
|
4221
4245
|
* @typedef Price1
|
|
4222
4246
|
* @property {CurrencyCodeEnum} [currency_code]
|
|
@@ -4241,15 +4265,6 @@ export = CatalogPlatformModel;
|
|
|
4241
4265
|
* @property {string} value - The value of the metadata. Should be a non-empty
|
|
4242
4266
|
* string and length should not exceed 100 characters.
|
|
4243
4267
|
*/
|
|
4244
|
-
/**
|
|
4245
|
-
* @typedef ValidationErrors
|
|
4246
|
-
* @property {ValidationError[]} errors
|
|
4247
|
-
*/
|
|
4248
|
-
/**
|
|
4249
|
-
* @typedef ValidationError
|
|
4250
|
-
* @property {string} message - A brief description of the error encountered.
|
|
4251
|
-
* @property {string} field - The field in the request that caused the error.
|
|
4252
|
-
*/
|
|
4253
4268
|
/**
|
|
4254
4269
|
* @typedef {| "about-us"
|
|
4255
4270
|
* | "addresses"
|
|
@@ -4304,7 +4319,7 @@ export = CatalogPlatformModel;
|
|
|
4304
4319
|
declare class CatalogPlatformModel {
|
|
4305
4320
|
}
|
|
4306
4321
|
declare namespace CatalogPlatformModel {
|
|
4307
|
-
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,
|
|
4322
|
+
export { Action, ValidationErrors, 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, LocationPriceRequestSchema, LocationQuantityRequestSchema, LocationPriceQuantitySuccessResponseSchema, 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, ValidationError, Price1, MultiCategoriesSchema, CustomMeta, PageType, CurrencyCodeEnum };
|
|
4308
4323
|
}
|
|
4309
4324
|
/** @returns {Action} */
|
|
4310
4325
|
declare function Action(): Action;
|
|
@@ -4316,6 +4331,11 @@ type Action = {
|
|
|
4316
4331
|
page?: ActionPage;
|
|
4317
4332
|
popup?: ActionPage;
|
|
4318
4333
|
};
|
|
4334
|
+
/** @returns {ValidationErrors} */
|
|
4335
|
+
declare function ValidationErrors(): ValidationErrors;
|
|
4336
|
+
type ValidationErrors = {
|
|
4337
|
+
errors: ValidationError[];
|
|
4338
|
+
};
|
|
4319
4339
|
/** @returns {AllSizes} */
|
|
4320
4340
|
declare function AllSizes(): AllSizes;
|
|
4321
4341
|
type AllSizes = {
|
|
@@ -9882,6 +9902,42 @@ type NextSchedule = {
|
|
|
9882
9902
|
*/
|
|
9883
9903
|
start?: string;
|
|
9884
9904
|
};
|
|
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
|
+
};
|
|
9885
9941
|
/** @returns {OptInPostRequestSchema} */
|
|
9886
9942
|
declare function OptInPostRequestSchema(): OptInPostRequestSchema;
|
|
9887
9943
|
type OptInPostRequestSchema = {
|
|
@@ -12440,7 +12496,7 @@ type ApplicationItemSeoAction = {
|
|
|
12440
12496
|
declare function ApplicationItemSeoBreadcrumbs(): ApplicationItemSeoBreadcrumbs;
|
|
12441
12497
|
type ApplicationItemSeoBreadcrumbs = {
|
|
12442
12498
|
url?: string;
|
|
12443
|
-
action?: ApplicationItemSeoAction
|
|
12499
|
+
action?: ApplicationItemSeoAction;
|
|
12444
12500
|
};
|
|
12445
12501
|
/** @returns {ApplicationCollectionItemSeoBreadcrumbs} */
|
|
12446
12502
|
declare function ApplicationCollectionItemSeoBreadcrumbs(): ApplicationCollectionItemSeoBreadcrumbs;
|
|
@@ -13403,6 +13459,18 @@ type ActionPage = {
|
|
|
13403
13459
|
url?: string;
|
|
13404
13460
|
type: PageType;
|
|
13405
13461
|
};
|
|
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
|
+
};
|
|
13406
13474
|
/** @returns {Price1} */
|
|
13407
13475
|
declare function Price1(): Price1;
|
|
13408
13476
|
type Price1 = {
|
|
@@ -13451,23 +13519,6 @@ type CustomMeta = {
|
|
|
13451
13519
|
*/
|
|
13452
13520
|
value: string;
|
|
13453
13521
|
};
|
|
13454
|
-
/** @returns {ValidationErrors} */
|
|
13455
|
-
declare function ValidationErrors(): ValidationErrors;
|
|
13456
|
-
type ValidationErrors = {
|
|
13457
|
-
errors: ValidationError[];
|
|
13458
|
-
};
|
|
13459
|
-
/** @returns {ValidationError} */
|
|
13460
|
-
declare function ValidationError(): ValidationError;
|
|
13461
|
-
type ValidationError = {
|
|
13462
|
-
/**
|
|
13463
|
-
* - A brief description of the error encountered.
|
|
13464
|
-
*/
|
|
13465
|
-
message: string;
|
|
13466
|
-
/**
|
|
13467
|
-
* - The field in the request that caused the error.
|
|
13468
|
-
*/
|
|
13469
|
-
field: string;
|
|
13470
|
-
};
|
|
13471
13522
|
/**
|
|
13472
13523
|
* Enum: PageType Used By: Catalog
|
|
13473
13524
|
*
|
|
@@ -7,6 +7,11 @@ const Joi = require("joi");
|
|
|
7
7
|
* @property {ActionPage} [popup]
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* @typedef ValidationErrors
|
|
12
|
+
* @property {ValidationError[]} errors
|
|
13
|
+
*/
|
|
14
|
+
|
|
10
15
|
/**
|
|
11
16
|
* @typedef AllSizes
|
|
12
17
|
* @property {ValidateIdentifier[]} [identifiers] - A collection of identifiers
|
|
@@ -2867,6 +2872,24 @@ const Joi = require("joi");
|
|
|
2867
2872
|
* @property {string} [start] - The start time of the schedule.
|
|
2868
2873
|
*/
|
|
2869
2874
|
|
|
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
|
+
|
|
2870
2893
|
/**
|
|
2871
2894
|
* @typedef OptInPostRequestSchema
|
|
2872
2895
|
* @property {number[]} [brand_ids]
|
|
@@ -4044,7 +4067,7 @@ const Joi = require("joi");
|
|
|
4044
4067
|
/**
|
|
4045
4068
|
* @typedef ApplicationItemSeoBreadcrumbs
|
|
4046
4069
|
* @property {string} [url]
|
|
4047
|
-
* @property {ApplicationItemSeoAction
|
|
4070
|
+
* @property {ApplicationItemSeoAction} [action]
|
|
4048
4071
|
*/
|
|
4049
4072
|
|
|
4050
4073
|
/**
|
|
@@ -4624,6 +4647,12 @@ const Joi = require("joi");
|
|
|
4624
4647
|
* @property {PageType} type
|
|
4625
4648
|
*/
|
|
4626
4649
|
|
|
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
|
+
|
|
4627
4656
|
/**
|
|
4628
4657
|
* @typedef Price1
|
|
4629
4658
|
* @property {CurrencyCodeEnum} [currency_code]
|
|
@@ -4651,17 +4680,6 @@ const Joi = require("joi");
|
|
|
4651
4680
|
* string and length should not exceed 100 characters.
|
|
4652
4681
|
*/
|
|
4653
4682
|
|
|
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
|
-
|
|
4665
4683
|
/**
|
|
4666
4684
|
* @typedef {| "about-us"
|
|
4667
4685
|
* | "addresses"
|
|
@@ -4725,6 +4743,15 @@ class CatalogPlatformModel {
|
|
|
4725
4743
|
});
|
|
4726
4744
|
}
|
|
4727
4745
|
|
|
4746
|
+
/** @returns {ValidationErrors} */
|
|
4747
|
+
static ValidationErrors() {
|
|
4748
|
+
return Joi.object({
|
|
4749
|
+
errors: Joi.array()
|
|
4750
|
+
.items(CatalogPlatformModel.ValidationError())
|
|
4751
|
+
.required(),
|
|
4752
|
+
});
|
|
4753
|
+
}
|
|
4754
|
+
|
|
4728
4755
|
/** @returns {AllSizes} */
|
|
4729
4756
|
static AllSizes() {
|
|
4730
4757
|
return Joi.object({
|
|
@@ -7814,6 +7841,30 @@ class CatalogPlatformModel {
|
|
|
7814
7841
|
});
|
|
7815
7842
|
}
|
|
7816
7843
|
|
|
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
|
+
|
|
7817
7868
|
/** @returns {OptInPostRequestSchema} */
|
|
7818
7869
|
static OptInPostRequestSchema() {
|
|
7819
7870
|
return Joi.object({
|
|
@@ -9020,9 +9071,7 @@ class CatalogPlatformModel {
|
|
|
9020
9071
|
static ApplicationItemSeoBreadcrumbs() {
|
|
9021
9072
|
return Joi.object({
|
|
9022
9073
|
url: Joi.string().allow(""),
|
|
9023
|
-
action:
|
|
9024
|
-
CatalogPlatformModel.ApplicationItemSeoAction()
|
|
9025
|
-
),
|
|
9074
|
+
action: CatalogPlatformModel.ApplicationItemSeoAction(),
|
|
9026
9075
|
});
|
|
9027
9076
|
}
|
|
9028
9077
|
|
|
@@ -9669,6 +9718,14 @@ class CatalogPlatformModel {
|
|
|
9669
9718
|
});
|
|
9670
9719
|
}
|
|
9671
9720
|
|
|
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
|
+
|
|
9672
9729
|
/** @returns {Price1} */
|
|
9673
9730
|
static Price1() {
|
|
9674
9731
|
return Joi.object({
|
|
@@ -9698,23 +9755,6 @@ class CatalogPlatformModel {
|
|
|
9698
9755
|
});
|
|
9699
9756
|
}
|
|
9700
9757
|
|
|
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
|
-
|
|
9718
9758
|
/**
|
|
9719
9759
|
* Enum: PageType Used By: Catalog
|
|
9720
9760
|
*
|
|
@@ -415,6 +415,21 @@ 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
|
+
*/
|
|
418
433
|
/**
|
|
419
434
|
* @typedef UpdateMarketplaceOptinParam
|
|
420
435
|
* @property {string} marketplaceSlug - Slug of the marketplace .
|
|
@@ -604,6 +619,10 @@ declare class CatalogPlatformValidator {
|
|
|
604
619
|
static updateHsnCode(): UpdateHsnCodeParam;
|
|
605
620
|
/** @returns {UpdateInventoriesParam} */
|
|
606
621
|
static updateInventories(): UpdateInventoriesParam;
|
|
622
|
+
/** @returns {UpdateLocationPriceParam} */
|
|
623
|
+
static updateLocationPrice(): UpdateLocationPriceParam;
|
|
624
|
+
/** @returns {UpdateLocationQuantityParam} */
|
|
625
|
+
static updateLocationQuantity(): UpdateLocationQuantityParam;
|
|
607
626
|
/** @returns {UpdateMarketplaceOptinParam} */
|
|
608
627
|
static updateMarketplaceOptin(): UpdateMarketplaceOptinParam;
|
|
609
628
|
/** @returns {UpdateProductBundleParam} */
|
|
@@ -622,7 +641,7 @@ declare class CatalogPlatformValidator {
|
|
|
622
641
|
static validateProductTemplateSchema(): ValidateProductTemplateSchemaParam;
|
|
623
642
|
}
|
|
624
643
|
declare namespace CatalogPlatformValidator {
|
|
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 };
|
|
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, UpdateLocationPriceParam, UpdateLocationQuantityParam, UpdateMarketplaceOptinParam, UpdateProductBundleParam, UpdateRealtimeInventoryParam, UpdateSizeGuideParam, UploadBulkProductsParam, ValidateProductGlobalTemplateParam, ValidateProductTemplateParam, ValidateProductTemplateSchemaParam };
|
|
626
645
|
}
|
|
627
646
|
type AddInventoryParam = {
|
|
628
647
|
/**
|
|
@@ -1414,6 +1433,31 @@ type UpdateHsnCodeParam = {
|
|
|
1414
1433
|
type UpdateInventoriesParam = {
|
|
1415
1434
|
body: CatalogPlatformModel.InventoryRequestSchemaV2;
|
|
1416
1435
|
};
|
|
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
|
+
};
|
|
1417
1461
|
type UpdateMarketplaceOptinParam = {
|
|
1418
1462
|
/**
|
|
1419
1463
|
* - Slug of the marketplace .
|