@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
|
@@ -179,6 +179,12 @@ interface ProductWithInventory extends ProductWithInventoryTypedPropertiesOneOf
|
|
|
179
179
|
* @format GUID
|
|
180
180
|
*/
|
|
181
181
|
importId?: string | null;
|
|
182
|
+
/**
|
|
183
|
+
* Optional - ID of the app that manages the inventory for this product.
|
|
184
|
+
* @internal
|
|
185
|
+
* @format GUID
|
|
186
|
+
*/
|
|
187
|
+
inventoryAppId?: string | null;
|
|
182
188
|
/** Product variants. */
|
|
183
189
|
variantsInfo?: VariantsInfo;
|
|
184
190
|
/** Subscription details. */
|
|
@@ -3250,12 +3256,13 @@ declare function createCatalogImport(catalogImport: CatalogImport): Promise<Cata
|
|
|
3250
3256
|
* @documentationMaturity preview
|
|
3251
3257
|
* @requiredField catalogImportId
|
|
3252
3258
|
* @requiredField products
|
|
3259
|
+
* @requiredField products.product
|
|
3253
3260
|
* @requiredField products.product.handle
|
|
3254
3261
|
* @permissionId stores:catalog:v3:catalog_import:add_products_to_import
|
|
3255
3262
|
* @applicableIdentity APP
|
|
3256
3263
|
* @fqn wix.stores.catalog.catalog_import.v3.CatalogImports.AddProductsToImport
|
|
3257
3264
|
*/
|
|
3258
|
-
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>>;
|
|
3265
|
+
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>>;
|
|
3259
3266
|
/**
|
|
3260
3267
|
* Submits all products in the catalog import for processing.
|
|
3261
3268
|
* Once called, no more items can be added to this import session.
|