@nautical-commerce/graphql-schema 4.3.0 → 4.4.1

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."""
@@ -15140,6 +15170,7 @@ enum ProductErrorCode {
15140
15170
  ATTRIBUTE_VALUE_CANNOT_BE_CREATED
15141
15171
  DUPLICATED_INPUT_ITEM
15142
15172
  GRAPHQL_ERROR
15173
+ INTERNAL_ERROR
15143
15174
  INVALID
15144
15175
  INVALID_PHONE
15145
15176
  NOT_PRODUCTS_IMAGE
@@ -17055,6 +17086,7 @@ enum ProductWarningEnum {
17055
17086
  PRODUCT_ATTRIBUTE_VALUE_REQUIRED
17056
17087
  VARIANT_ATTRIBUTE_VALUE_REQUIRED
17057
17088
  DEFAULT_VARIANT_REQUIRED
17089
+ SELLER_PAUSED
17058
17090
  }
17059
17091
 
17060
17092
  """Result of products export mutation."""
@@ -18571,6 +18603,11 @@ type Refund implements Node & ObjectWithMetadata {
18571
18603
  """Returns the items in the list that come after the specified cursor."""
18572
18604
  last: Int = null
18573
18605
  ): RefundAuditEventCountableConnection!
18606
+
18607
+ """
18608
+ 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.
18609
+ """
18610
+ timeline(kinds: [TimelineEntryKind!] = null): [TimelineEntry!]!
18574
18611
  }
18575
18612
 
18576
18613
  type RefundAuditEvent implements Node {
@@ -22179,6 +22216,21 @@ enum TimelineEntryKind {
22179
22216
  NAUTICAL_ORDER_LINE
22180
22217
  PRODUCT
22181
22218
  PRODUCT_VARIANT
22219
+ STOCK
22220
+ ORDER_ACTIVITY
22221
+ NAUTICAL_ORDER_ACTIVITY
22222
+ SELLER_ACTIVITY
22223
+ PRODUCT_STATUS_LOG
22224
+ VENDOR_PAYOUT
22225
+ VENDOR_PAYOUT_ACTIVITY
22226
+ REFUND
22227
+ REFUND_ACTIVITY
22228
+ CUSTOMER_ACTIVITY
22229
+ INVOICE_ACTIVITY
22230
+ EXPORT_ACTIVITY
22231
+ IMPORT_ACTIVITY
22232
+ PAYOUT_ACTIVITY
22233
+ CHECKOUT_ACTIVITY
22182
22234
  }
22183
22235
 
22184
22236
  type TimelineTarget {
@@ -22442,6 +22494,11 @@ type User implements Node & ObjectWithMetadata {
22442
22494
  """List of events associated with the user."""
22443
22495
  events: [CustomerEvent!]!
22444
22496
 
22497
+ """
22498
+ 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.
22499
+ """
22500
+ timeline(kinds: [TimelineEntryKind!] = null): [TimelineEntry!]!
22501
+
22445
22502
  """List of stored payment sources."""
22446
22503
  storedPaymentSources: [PaymentSource!]!
22447
22504
 
@@ -22859,6 +22916,11 @@ type VendorPayout implements Node & ObjectWithMetadata {
22859
22916
  last: Int = null
22860
22917
  ): VendorPayoutAuditEventCountableConnection!
22861
22918
 
22919
+ """
22920
+ 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.
22921
+ """
22922
+ timeline(kinds: [TimelineEntryKind!] = null): [TimelineEntry!]!
22923
+
22862
22924
  """Orders included in this vendor payout."""
22863
22925
  orders(
22864
22926
  """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.1",
4
4
  "description": "Traide API GraphQL Schema",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {