@nautical-commerce/graphql-schema 4.3.0 → 4.4.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.
@@ -2123,7 +2123,9 @@ input AttributeValueInput {
2123
2123
  """The ID of the attribute."""
2124
2124
  id: ID = null
2125
2125
 
2126
- """The value or slug of an attribute to resolve."""
2126
+ """
2127
+ The value or slug of an attribute to resolve. Legacy catch-all: DROPDOWN and MULTISELECT use it as their primary field, and DATE still accepts a 'YYYY-MM-DD' string here. Prefer the per-type field where one exists.
2128
+ """
2127
2129
  values: [String!] = null
2128
2130
 
2129
2131
  """File for FILE attribute type."""
@@ -2132,10 +2134,9 @@ input AttributeValueInput {
2132
2134
  """URL of a file attribute type."""
2133
2135
  fileUrl: String = null
2134
2136
 
2135
- """File content type."""
2136
- contentType: String = null
2137
-
2138
- """List of entity IDs for REFERENCE attribute types."""
2137
+ """
2138
+ Not supported yet — supply a single entity ID via `reference` instead. Declared for forward compatibility only; see #6190.
2139
+ """
2139
2140
  references: [ID!] = null
2140
2141
 
2141
2142
  """Rich text value for RICH_TEXT attribute type."""
@@ -2144,7 +2145,9 @@ input AttributeValueInput {
2144
2145
  """Boolean value for BOOLEAN attribute type."""
2145
2146
  boolean: Boolean = null
2146
2147
 
2147
- """Date value for DATE attribute type (YYYY-MM-DD format)."""
2148
+ """
2149
+ Date value for DATE attribute type (YYYY-MM-DD format). Preferred over passing the same string in `values`, which remains supported for existing callers. Interpreted as midnight in the marketplace timezone.
2150
+ """
2148
2151
  date: String = null
2149
2152
 
2150
2153
  """Datetime value for DATE_TIME attribute type."""
@@ -2162,7 +2165,9 @@ input AttributeValueInput {
2162
2165
  """Reference ID for REFERENCE attribute type."""
2163
2166
  reference: String = null
2164
2167
 
2165
- """The value or slug of an attribute to resolve."""
2168
+ """
2169
+ Value representation of the attribute value — this is the field SWATCH attributes read, as a hex colour such as '#FF0000' or '#F00'. Not interchangeable with `values`.
2170
+ """
2166
2171
  value: String = null
2167
2172
  }
2168
2173
 
@@ -3167,6 +3172,11 @@ type Checkout implements Node & ObjectWithMetadata {
3167
3172
  """The user who owns this checkout."""
3168
3173
  user: User
3169
3174
 
3175
+ """
3176
+ Unified change-history feed for this checkout. Projects the legacy CheckoutEvent log into a TimelineEntry list ordered most-recent-first, so checkout history renders through the same dashboard component as the order, seller and product timelines. Requires MANAGE_CHECKOUTS. Optional `kinds` argument filters server-side.
3177
+ """
3178
+ timeline(kinds: [TimelineEntryKind!] = null): [TimelineEntry!]!
3179
+
3170
3180
  """The billing address for this checkout."""
3171
3181
  billingAddress: Address
3172
3182
 
@@ -6600,6 +6610,11 @@ type ExportFile implements Node & Job {
6600
6610
 
6601
6611
  """List of export events"""
6602
6612
  events: [ExportEvent!]!
6613
+
6614
+ """
6615
+ Unified change-history feed for this export job. Projects the legacy ExportEvent log into a TimelineEntry list ordered most-recent-first, so job history renders through the same dashboard component as the order, seller and product timelines. Optional `kinds` argument filters server-side.
6616
+ """
6617
+ timeline(kinds: [TimelineEntryKind!] = null): [TimelineEntry!]!
6603
6618
  }
6604
6619
 
6605
6620
  """A connection to a list of items."""
@@ -7337,6 +7352,11 @@ type ImportFile implements Node & Job {
7337
7352
  """List of import events"""
7338
7353
  events: [ImportEvent!]!
7339
7354
 
7355
+ """
7356
+ Unified change-history feed for this import job. Projects the legacy ImportEvent log into a TimelineEntry list ordered most-recent-first, mirroring the export-job timeline. Optional `kinds` argument filters server-side.
7357
+ """
7358
+ timeline(kinds: [TimelineEntryKind!] = null): [TimelineEntry!]!
7359
+
7340
7360
  """
7341
7361
  Pipeline metadata: parse output (headers, examples, profiles), dry_run summary after validation, load_summary after loading.
7342
7362
  """
@@ -7552,6 +7572,11 @@ type Invoice implements Node & ObjectWithMetadata & Job {
7552
7572
 
7553
7573
  """Whether the invoice is editable"""
7554
7574
  isEditable: Boolean!
7575
+
7576
+ """
7577
+ Unified change-history feed for this invoice. Projects the legacy InvoiceEvent log into a TimelineEntry list ordered most-recent-first, so invoice history renders through the same dashboard component as the order, seller and product timelines. Entries name the related order or refund when the event has one. Optional `kinds` argument filters server-side.
7578
+ """
7579
+ timeline(kinds: [TimelineEntryKind!] = null): [TimelineEntry!]!
7555
7580
  }
7556
7581
 
7557
7582
  """Result of invoice cancel mutation."""
@@ -13714,6 +13739,11 @@ type Payout implements Node & ObjectWithMetadata {
13714
13739
 
13715
13740
  """Total payout amount."""
13716
13741
  payout: Money!
13742
+
13743
+ """
13744
+ Unified change-history feed for this payout batch. Projects the legacy PayoutEvent log into a TimelineEntry list ordered most-recent-first. Note this is the marketplace-level batch: only VendorPayout carries pghistory tracking, so this feed is legacy-only while VendorPayout.timeline merges both sources. Optional `kinds` argument filters server-side.
13745
+ """
13746
+ timeline(kinds: [TimelineEntryKind!] = null): [TimelineEntry!]!
13717
13747
  }
13718
13748
 
13719
13749
  """Result of bulk payout archive mutation."""
@@ -17055,6 +17085,7 @@ enum ProductWarningEnum {
17055
17085
  PRODUCT_ATTRIBUTE_VALUE_REQUIRED
17056
17086
  VARIANT_ATTRIBUTE_VALUE_REQUIRED
17057
17087
  DEFAULT_VARIANT_REQUIRED
17088
+ SELLER_PAUSED
17058
17089
  }
17059
17090
 
17060
17091
  """Result of products export mutation."""
@@ -18571,6 +18602,11 @@ type Refund implements Node & ObjectWithMetadata {
18571
18602
  """Returns the items in the list that come after the specified cursor."""
18572
18603
  last: Int = null
18573
18604
  ): RefundAuditEventCountableConnection!
18605
+
18606
+ """
18607
+ Unified change-history feed for this refund. Merges pghistory RefundAuditEvent rows (status transitions, amount changes) with the legacy RefundEvent activity log into a TimelineEntry list ordered most-recent-first. The legacy source covers activity from before this tenant's pghistory triggers existed. Powers the dashboard Events tab and mirrors the Order and Payout timeline pattern. Optional `kinds` argument filters server-side.
18608
+ """
18609
+ timeline(kinds: [TimelineEntryKind!] = null): [TimelineEntry!]!
18574
18610
  }
18575
18611
 
18576
18612
  type RefundAuditEvent implements Node {
@@ -22179,6 +22215,21 @@ enum TimelineEntryKind {
22179
22215
  NAUTICAL_ORDER_LINE
22180
22216
  PRODUCT
22181
22217
  PRODUCT_VARIANT
22218
+ STOCK
22219
+ ORDER_ACTIVITY
22220
+ NAUTICAL_ORDER_ACTIVITY
22221
+ SELLER_ACTIVITY
22222
+ PRODUCT_STATUS_LOG
22223
+ VENDOR_PAYOUT
22224
+ VENDOR_PAYOUT_ACTIVITY
22225
+ REFUND
22226
+ REFUND_ACTIVITY
22227
+ CUSTOMER_ACTIVITY
22228
+ INVOICE_ACTIVITY
22229
+ EXPORT_ACTIVITY
22230
+ IMPORT_ACTIVITY
22231
+ PAYOUT_ACTIVITY
22232
+ CHECKOUT_ACTIVITY
22182
22233
  }
22183
22234
 
22184
22235
  type TimelineTarget {
@@ -22442,6 +22493,11 @@ type User implements Node & ObjectWithMetadata {
22442
22493
  """List of events associated with the user."""
22443
22494
  events: [CustomerEvent!]!
22444
22495
 
22496
+ """
22497
+ Unified change-history feed for this customer. Projects the legacy CustomerEvent log into a TimelineEntry list ordered most-recent-first, so customer history renders through the same dashboard component as the order, seller and product timelines. Note that CustomerEvent records the customer an event concerns, not who performed it, so entries report an unknown actor rather than attributing staff actions to the customer. Optional `kinds` argument filters server-side.
22498
+ """
22499
+ timeline(kinds: [TimelineEntryKind!] = null): [TimelineEntry!]!
22500
+
22445
22501
  """List of stored payment sources."""
22446
22502
  storedPaymentSources: [PaymentSource!]!
22447
22503
 
@@ -22859,6 +22915,11 @@ type VendorPayout implements Node & ObjectWithMetadata {
22859
22915
  last: Int = null
22860
22916
  ): VendorPayoutAuditEventCountableConnection!
22861
22917
 
22918
+ """
22919
+ Unified change-history feed for this payout. Merges pghistory VendorPayoutAuditEvent rows (amount adjustments, status transitions, fee recalculations) with the legacy VendorPayoutEvent activity log into a TimelineEntry list ordered most-recent-first. The legacy source covers activity from before this tenant's pghistory triggers existed. Powers the dashboard Events tab and mirrors the Order and Seller timeline pattern. Optional `kinds` argument filters server-side.
22920
+ """
22921
+ timeline(kinds: [TimelineEntryKind!] = null): [TimelineEntry!]!
22922
+
22862
22923
  """Orders included in this vendor payout."""
22863
22924
  orders(
22864
22925
  """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.3.0",
3
+ "version": "4.4.0",
4
4
  "description": "Traide API GraphQL Schema",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {