@nautical-commerce/graphql-schema 4.2.2 → 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
 
@@ -4278,7 +4288,7 @@ type Content implements Node {
4278
4288
  updatedAt: DateTime!
4279
4289
 
4280
4290
  """Publication date"""
4281
- publicationDate: DateTime
4291
+ publicationDate: Date
4282
4292
 
4283
4293
  """Whether the content is published"""
4284
4294
  isPublished: Boolean!
@@ -4881,14 +4891,14 @@ type CustomDomain implements Node {
4881
4891
  """Domain name"""
4882
4892
  domain: String!
4883
4893
 
4884
- """Domain verification status"""
4885
- status: String!
4886
-
4887
4894
  """Error details if verification failed"""
4888
4895
  errorDetails: String!
4889
4896
 
4890
4897
  """SSL certificate name"""
4891
4898
  sslCertName: String!
4899
+
4900
+ """Domain verification status"""
4901
+ status: DomainStatusEnum!
4892
4902
  }
4893
4903
 
4894
4904
  """Result of custom domain create mutation."""
@@ -5365,7 +5375,7 @@ type DefaultSellerChecklist {
5365
5375
  description: String!
5366
5376
 
5367
5377
  """Trigger for completion"""
5368
- completeOn: String
5378
+ completeOn: SellerChecklistCompletionTriggersEnum
5369
5379
 
5370
5380
  """Whether item is enabled"""
5371
5381
  isEnabled: Boolean!
@@ -5883,7 +5893,7 @@ type Document {
5883
5893
  tenant: Tenant!
5884
5894
 
5885
5895
  """The file field."""
5886
- file: String
5896
+ file: String!
5887
5897
 
5888
5898
  """Name of the document."""
5889
5899
  name: String!
@@ -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."""
@@ -6910,7 +6925,7 @@ type Fulfillment implements Node & ObjectWithMetadata {
6910
6925
  lines: [FulfillmentLine!]!
6911
6926
 
6912
6927
  """Seller order this fulfillment belongs to"""
6913
- order: Order
6928
+ order: Order!
6914
6929
 
6915
6930
  """Marketplace order this fulfillment belongs to"""
6916
6931
  nauticalOrder: NauticalOrder
@@ -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."""
@@ -8227,7 +8252,7 @@ type MarketplaceConfiguration {
8227
8252
  timezone: String!
8228
8253
 
8229
8254
  """The tenant that owns this marketplace configuration."""
8230
- tenant: Tenant
8255
+ tenant: Tenant!
8231
8256
 
8232
8257
  """Returns list of default checklists for seller."""
8233
8258
  defaultSellerChecklists: [DefaultSellerChecklist!]!
@@ -12667,7 +12692,7 @@ type OrderLine implements Node & ObjectWithMetadata {
12667
12692
  order: Order!
12668
12693
 
12669
12694
  """The nautical order line for this seller order line."""
12670
- nauticalOrderLine: NauticalOrderLine
12695
+ nauticalOrderLine: NauticalOrderLine!
12671
12696
 
12672
12697
  """A purchased product variant."""
12673
12698
  variant: ProductVariant
@@ -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."""
@@ -14559,10 +14589,10 @@ type Product implements Node & ObjectWithMetadata {
14559
14589
  status: ProductStatus!
14560
14590
 
14561
14591
  """Product sub-status"""
14562
- subStatus: ProductSubStatusEnum
14592
+ subStatus: ProductSubStatusEnum!
14563
14593
 
14564
14594
  """Source of the product"""
14565
- productSource: ProductSourceEnum
14595
+ productSource: ProductSourceEnum!
14566
14596
 
14567
14597
  """Whether the product is published"""
14568
14598
  isPublished: Boolean!
@@ -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 {
@@ -21607,7 +21643,7 @@ type Stock implements Node {
21607
21643
  quantityAllocated: Int!
21608
21644
 
21609
21645
  """The warehouse where this stock is located"""
21610
- warehouse: Warehouse
21646
+ warehouse: Warehouse!
21611
21647
 
21612
21648
  """The product variant this stock is for"""
21613
21649
  productVariant: ProductVariant!
@@ -21959,7 +21995,7 @@ type Tenant implements Node {
21959
21995
  trialEndsAt: DateTime
21960
21996
 
21961
21997
  """List of completed onboarding steps"""
21962
- onboardingStepsCompleted: [String!]!
21998
+ onboardingStepsCompleted: [TenantOnboardingStep!]!
21963
21999
 
21964
22000
  """URL of the storefront"""
21965
22001
  storefrontUrl: String!
@@ -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.2.2",
3
+ "version": "4.4.0",
4
4
  "description": "Traide API GraphQL Schema",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {