@wix/auto_sdk_ecom_wishlists 1.0.5 → 1.0.7
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.js +8 -15
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +8 -15
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +8 -15
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +8 -15
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +8 -15
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +8 -15
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +5 -5
- package/build/internal/cjs/index.typings.d.ts +5 -5
- package/build/internal/es/index.d.mts +5 -5
- package/build/internal/es/index.typings.d.mts +5 -5
- package/package.json +2 -2
|
@@ -464,7 +464,7 @@ type BulkUpdateWishlistTagsByFilterApplicationErrors = {
|
|
|
464
464
|
* @applicableIdentity MEMBER
|
|
465
465
|
* @fqn wix.ecom.wishlist.v1.Wishlists.GetDefaultWishlist
|
|
466
466
|
*/
|
|
467
|
-
declare function getDefaultWishlist(options?: GetDefaultWishlistOptions): Promise<NonNullablePaths<GetDefaultWishlistResponse, `wishlist.items` | `wishlist.items.${number}.catalogReference.catalogItemId` | `wishlist.items.${number}.catalogReference.appId` | `wishlist.tags.privateTags.tagIds`,
|
|
467
|
+
declare function getDefaultWishlist(options?: GetDefaultWishlistOptions): Promise<NonNullablePaths<GetDefaultWishlistResponse, `wishlist.items` | `wishlist.items.${number}.catalogReference.catalogItemId` | `wishlist.items.${number}.catalogReference.appId` | `wishlist.tags.privateTags.tagIds`, 4>>;
|
|
468
468
|
interface GetDefaultWishlistOptions {
|
|
469
469
|
/**
|
|
470
470
|
* Optional. Filters the returned items to only those whose `catalogReference.appId` matches this value.
|
|
@@ -487,7 +487,7 @@ interface GetDefaultWishlistOptions {
|
|
|
487
487
|
* @applicableIdentity MEMBER
|
|
488
488
|
* @fqn wix.ecom.wishlist.v1.Wishlists.AddItem
|
|
489
489
|
*/
|
|
490
|
-
declare function addItem(catalogReference: NonNullablePaths<CatalogReference, `appId` | `catalogItemId`,
|
|
490
|
+
declare function addItem(catalogReference: NonNullablePaths<CatalogReference, `appId` | `catalogItemId`, 0>, options?: AddItemOptions): Promise<NonNullablePaths<AddItemResponse, `wishlist.items` | `wishlist.items.${number}.catalogReference.catalogItemId` | `wishlist.items.${number}.catalogReference.appId` | `wishlist.tags.privateTags.tagIds`, 4> & {
|
|
491
491
|
__applicationErrorsType?: AddItemApplicationErrors;
|
|
492
492
|
}>;
|
|
493
493
|
interface AddItemOptions {
|
|
@@ -512,7 +512,7 @@ interface AddItemOptions {
|
|
|
512
512
|
* @applicableIdentity MEMBER
|
|
513
513
|
* @fqn wix.ecom.wishlist.v1.Wishlists.RemoveItem
|
|
514
514
|
*/
|
|
515
|
-
declare function removeItem(catalogReference: NonNullablePaths<CatalogReference, `appId` | `catalogItemId`,
|
|
515
|
+
declare function removeItem(catalogReference: NonNullablePaths<CatalogReference, `appId` | `catalogItemId`, 0>, options?: RemoveItemOptions): Promise<NonNullablePaths<RemoveItemResponse, `wishlist.items` | `wishlist.items.${number}.catalogReference.catalogItemId` | `wishlist.items.${number}.catalogReference.appId` | `wishlist.tags.privateTags.tagIds`, 4>>;
|
|
516
516
|
interface RemoveItemOptions {
|
|
517
517
|
/**
|
|
518
518
|
* Whether to return the updated wishlist in the response.
|
|
@@ -532,7 +532,7 @@ interface RemoveItemOptions {
|
|
|
532
532
|
* @permissionId ecom:v1:wishlist:bulk_update_wishlist_tags
|
|
533
533
|
* @fqn wix.ecom.wishlist.v1.Wishlists.BulkUpdateWishlistTags
|
|
534
534
|
*/
|
|
535
|
-
declare function bulkUpdateWishlistTags(wishlistIds: string[], options?: BulkUpdateWishlistTagsOptions): Promise<NonNullablePaths<BulkUpdateWishlistTagsResponse, `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`,
|
|
535
|
+
declare function bulkUpdateWishlistTags(wishlistIds: string[], options?: BulkUpdateWishlistTagsOptions): Promise<NonNullablePaths<BulkUpdateWishlistTagsResponse, `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`, 4> & {
|
|
536
536
|
__applicationErrorsType?: BulkUpdateWishlistTagsApplicationErrors;
|
|
537
537
|
}>;
|
|
538
538
|
interface BulkUpdateWishlistTagsOptions {
|
|
@@ -556,7 +556,7 @@ interface BulkUpdateWishlistTagsOptions {
|
|
|
556
556
|
* @permissionId ecom:v1:wishlist:bulk_update_wishlist_tags_by_filter
|
|
557
557
|
* @fqn wix.ecom.wishlist.v1.Wishlists.BulkUpdateWishlistTagsByFilter
|
|
558
558
|
*/
|
|
559
|
-
declare function bulkUpdateWishlistTagsByFilter(filter: Record<string, any>, options?: BulkUpdateWishlistTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateWishlistTagsByFilterResponse, `jobId`,
|
|
559
|
+
declare function bulkUpdateWishlistTagsByFilter(filter: Record<string, any>, options?: BulkUpdateWishlistTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateWishlistTagsByFilterResponse, `jobId`, 0> & {
|
|
560
560
|
__applicationErrorsType?: BulkUpdateWishlistTagsByFilterApplicationErrors;
|
|
561
561
|
}>;
|
|
562
562
|
interface BulkUpdateWishlistTagsByFilterOptions {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_wishlists",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.ecom.v1.wishlist"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "1d05d42e3835c27362d54674bfaa1c7dda36640c28e13f819f64f932"
|
|
54
54
|
}
|