@nautical-commerce/graphql-schema 4.16.0 → 4.18.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.
@@ -5333,7 +5333,9 @@ input CustomerInput {
5333
5333
  """URL for password reset."""
5334
5334
  passwordUrl: String = null
5335
5335
 
5336
- """ID of the seller to associate with the customer."""
5336
+ """
5337
+ ID of the seller to add the customer to when upgrading them to staff. It must resolve to a seller the requestor can access. When omitted, the customer is upgraded without a seller; none is created.
5338
+ """
5337
5339
  seller: ID = null
5338
5340
 
5339
5341
  """Tax exemption code."""
@@ -11047,14 +11049,18 @@ type Mutation {
11047
11049
  agreementCommissionDelete(id: ID!): AgreementCommissionDelete!
11048
11050
 
11049
11051
  """
11050
- Assign an agreement to a seller. Requires MANAGE_AGREEMENTS permission.
11052
+ Assign an agreement to a seller. Requires MANAGE_AGREEMENTS permission. If the agreement in force for the seller is already this one, signed, with its terms unchanged since the signature, and no other assignment is scheduled to take effect by the requested date, nothing is written: the assignment in force is returned, with its own effectiveAt.
11051
11053
  """
11052
11054
  sellerAgreementAssign(input: SellerAgreementInput!): SellerAgreementAssign!
11053
11055
 
11054
- """Seller acknowledges the agreement."""
11056
+ """
11057
+ Seller acknowledges the agreement awaiting their decision: Seller.agreementAwaitingDecision, which can differ from Seller.agreement. Pass input.sellerAgreement to sign only the agreement the seller was shown.
11058
+ """
11055
11059
  sellerAgreementAcknowledge(id: ID!, input: SellerAgreementAcknowledgeInput = null): SellerAgreementAcknowledge!
11056
11060
 
11057
- """Seller declines the agreement."""
11061
+ """
11062
+ Seller declines the agreement awaiting their decision: Seller.agreementAwaitingDecision, which can differ from Seller.agreement. Pass input.sellerAgreement to decline only the agreement the seller was shown.
11063
+ """
11058
11064
  sellerAgreementDecline(id: ID!, input: SellerAgreementDeclineInput = null): SellerAgreementDecline!
11059
11065
 
11060
11066
  """
@@ -20782,6 +20788,11 @@ type Seller implements Node & ObjectWithMetadata {
20782
20788
  """Date seller acknowledged their agreement"""
20783
20789
  agreementAcknowledged: DateTime
20784
20790
 
20791
+ """
20792
+ The seller agreement that sellerAgreementAcknowledge signs and sellerAgreementDecline declines: the one in force while it is unsigned, else the next unsigned one due. It differs from `agreement`, which is always the agreement in force, once that one is signed and another is scheduled. With nothing left unsigned it is the one in force, else the next one due, and its acknowledgedOn is already set. Requires the seller's owner or MANAGE_MARKETPLACE.
20793
+ """
20794
+ agreementAwaitingDecision: AgreementSellers
20795
+
20785
20796
  """External payout source plugin identifier"""
20786
20797
  externalPayoutSource: SellerExternalPayoutSource
20787
20798
 
@@ -21027,6 +21038,11 @@ type SellerAgreementAcknowledge {
21027
21038
  input SellerAgreementAcknowledgeInput {
21028
21039
  """Reason why seller decided to accept the agreement."""
21029
21040
  agreementDecisionReason: String = null
21041
+
21042
+ """
21043
+ ID of the seller agreement shown to the seller, from Seller.agreementAwaitingDecision. When given, nothing is signed unless it is still the agreement awaiting the seller's decision.
21044
+ """
21045
+ sellerAgreement: ID = null
21030
21046
  }
21031
21047
 
21032
21048
  """Result of seller agreement assign mutation."""
@@ -21054,6 +21070,11 @@ type SellerAgreementDecline {
21054
21070
  input SellerAgreementDeclineInput {
21055
21071
  """Reason why seller decided to decline the agreement."""
21056
21072
  agreementDecisionReason: String = null
21073
+
21074
+ """
21075
+ ID of the seller agreement shown to the seller, from Seller.agreementAwaitingDecision. When given, nothing is declined unless it is still the agreement awaiting the seller's decision.
21076
+ """
21077
+ sellerAgreement: ID = null
21057
21078
  }
21058
21079
 
21059
21080
  """Result of seller agreement delete mutation."""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "4.16.0",
3
+ "version": "4.18.0",
4
4
  "description": "Traide API GraphQL Schema",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {