@wix/auto_sdk_stores_catalog-imports-v-3 1.0.4 → 1.0.6
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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +8 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +8 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3237,12 +3237,13 @@ declare function createCatalogImport(catalogImport: CatalogImport): Promise<Cata
|
|
|
3237
3237
|
* @documentationMaturity preview
|
|
3238
3238
|
* @requiredField catalogImportId
|
|
3239
3239
|
* @requiredField products
|
|
3240
|
+
* @requiredField products.product
|
|
3240
3241
|
* @requiredField products.product.handle
|
|
3241
3242
|
* @permissionId stores:catalog:v3:catalog_import:add_products_to_import
|
|
3242
3243
|
* @applicableIdentity APP
|
|
3243
3244
|
* @fqn wix.stores.catalog.catalog_import.v3.CatalogImports.AddProductsToImport
|
|
3244
3245
|
*/
|
|
3245
|
-
declare function addProductsToImport(catalogImportId: string, products: NonNullablePaths<ProductItem, `product.handle`, 3>[]): Promise<NonNullablePaths<AddProductsToImportResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
3246
|
+
declare function addProductsToImport(catalogImportId: string, products: NonNullablePaths<ProductItem, `product` | `product.handle`, 3>[]): Promise<NonNullablePaths<AddProductsToImportResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
3246
3247
|
/**
|
|
3247
3248
|
* Submits all products in the catalog import for processing.
|
|
3248
3249
|
* Once called, no more items can be added to this import session.
|