@nautical-commerce/graphql-schema 4.12.1 → 4.13.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.
@@ -10003,6 +10003,9 @@ type Mutation {
10003
10003
  """Map a user to a seller. Only for marketplace operators."""
10004
10004
  sellerUserMappingCreate(input: SellerUserInput!): SellerUserMappingCreate!
10005
10005
 
10006
+ """Remove a user from a seller. Only for marketplace operators."""
10007
+ sellerUserMappingDelete(input: SellerUserInput!): SellerUserMappingDelete!
10008
+
10006
10009
  """Create an address for a seller. Requires seller access."""
10007
10010
  sellerAddressCreate(sellerId: ID!, input: AddressInput!): SellerAddressCreate!
10008
10011
 
@@ -21800,6 +21803,20 @@ type SellerUserMappingCreate {
21800
21803
  sellerErrors: [SellerError!]!
21801
21804
  }
21802
21805
 
21806
+ """Result of seller user mapping delete mutation."""
21807
+ type SellerUserMappingDelete {
21808
+ """Indicates if the mutation was successful."""
21809
+ ok: Boolean
21810
+
21811
+ """
21812
+ The removed seller-user mapping, as it was immediately before deletion. Refetching it by ID returns null.
21813
+ """
21814
+ sellerUser: SellerUserType
21815
+
21816
+ """List of errors that occurred executing the mutation."""
21817
+ sellerErrors: [SellerError!]!
21818
+ }
21819
+
21803
21820
  """Represents a seller-user mapping"""
21804
21821
  type SellerUserType implements Node {
21805
21822
  """The Globally Unique ID of this object"""
@@ -23653,6 +23670,11 @@ type User implements Node & ObjectWithMetadata {
23653
23670
  """The seller associated with this user."""
23654
23671
  seller: Seller
23655
23672
 
23673
+ """
23674
+ Every seller this user belongs to, default first. A user may belong to more than one seller; `seller` above returns only the default.
23675
+ """
23676
+ sellerusers: [SellerUserType!]!
23677
+
23656
23678
  """Wishlist items of the user's default wishlist."""
23657
23679
  wishlist(
23658
23680
  """Returns the items in the list that come before the specified cursor."""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "4.12.1",
3
+ "version": "4.13.0",
4
4
  "description": "Traide API GraphQL Schema",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {