@nautical-commerce/graphql-schema 4.12.2 → 4.14.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
 
@@ -12063,6 +12066,7 @@ input NauticalOrderFilterInput {
12063
12066
  source: [OrderSourceFilter!]
12064
12067
  subStatus: [OrderSubStatusEnum!]
12065
12068
  customer: String
12069
+ seller: ID
12066
12070
  search: String
12067
12071
  created: DateRangeInput
12068
12072
  isHistorical: Boolean
@@ -21800,6 +21804,20 @@ type SellerUserMappingCreate {
21800
21804
  sellerErrors: [SellerError!]!
21801
21805
  }
21802
21806
 
21807
+ """Result of seller user mapping delete mutation."""
21808
+ type SellerUserMappingDelete {
21809
+ """Indicates if the mutation was successful."""
21810
+ ok: Boolean
21811
+
21812
+ """
21813
+ The removed seller-user mapping, as it was immediately before deletion. Refetching it by ID returns null.
21814
+ """
21815
+ sellerUser: SellerUserType
21816
+
21817
+ """List of errors that occurred executing the mutation."""
21818
+ sellerErrors: [SellerError!]!
21819
+ }
21820
+
21803
21821
  """Represents a seller-user mapping"""
21804
21822
  type SellerUserType implements Node {
21805
21823
  """The Globally Unique ID of this object"""
@@ -23653,6 +23671,11 @@ type User implements Node & ObjectWithMetadata {
23653
23671
  """The seller associated with this user."""
23654
23672
  seller: Seller
23655
23673
 
23674
+ """
23675
+ Every seller this user belongs to, default first. A user may belong to more than one seller; `seller` above returns only the default.
23676
+ """
23677
+ sellerusers: [SellerUserType!]!
23678
+
23656
23679
  """Wishlist items of the user's default wishlist."""
23657
23680
  wishlist(
23658
23681
  """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.2",
3
+ "version": "4.14.0",
4
4
  "description": "Traide API GraphQL Schema",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {