@nautical-commerce/graphql-schema 1.99.3 → 2.0.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.
- package/nautical/schema.graphql +64 -19
- package/package.json +1 -1
package/nautical/schema.graphql
CHANGED
@@ -1490,6 +1490,12 @@ type Query {
|
|
1490
1490
|
"""List of all tax rates available from tax gateway."""
|
1491
1491
|
taxTypes: [TaxType!]!
|
1492
1492
|
|
1493
|
+
"""List of all events for the given object."""
|
1494
|
+
events(
|
1495
|
+
"""ID of an object."""
|
1496
|
+
id: ID!
|
1497
|
+
): [Event!]!
|
1498
|
+
|
1493
1499
|
"""Look up a checkout by token."""
|
1494
1500
|
checkout(
|
1495
1501
|
"""The checkout's token."""
|
@@ -11429,6 +11435,48 @@ enum ExportFileSortField {
|
|
11429
11435
|
UPDATED_AT
|
11430
11436
|
}
|
11431
11437
|
|
11438
|
+
"""Event object for all models."""
|
11439
|
+
type Event {
|
11440
|
+
"""The unique identifier across all event tables."""
|
11441
|
+
slug: String!
|
11442
|
+
|
11443
|
+
"""The event model label formatted as 'app_label.ModelName'."""
|
11444
|
+
model: String!
|
11445
|
+
|
11446
|
+
"""The primary key of the event."""
|
11447
|
+
id: BigInt!
|
11448
|
+
|
11449
|
+
"""When the event was created."""
|
11450
|
+
createdAt: DateTime!
|
11451
|
+
|
11452
|
+
"""The event label."""
|
11453
|
+
label: String!
|
11454
|
+
|
11455
|
+
"""The raw data of the event."""
|
11456
|
+
data: GenericScalar!
|
11457
|
+
|
11458
|
+
"""
|
11459
|
+
The diff against the previous event of the same event model and object, can be null if the event is an insert.
|
11460
|
+
"""
|
11461
|
+
diff: GenericScalar
|
11462
|
+
|
11463
|
+
"""
|
11464
|
+
The context UUID, can be null if the event is not associated with a user or app.
|
11465
|
+
"""
|
11466
|
+
contextId: NauticalUUID
|
11467
|
+
|
11468
|
+
"""
|
11469
|
+
The context JSON associated with the event, can be null if the event is not associated with a user or app.
|
11470
|
+
"""
|
11471
|
+
context: GenericScalar
|
11472
|
+
|
11473
|
+
"""The object model."""
|
11474
|
+
objModel: String!
|
11475
|
+
|
11476
|
+
"""The primary key of the object."""
|
11477
|
+
objId: String!
|
11478
|
+
}
|
11479
|
+
|
11432
11480
|
type CheckoutCountableConnection {
|
11433
11481
|
"""Pagination data for this connection."""
|
11434
11482
|
pageInfo: PageInfo!
|
@@ -11826,7 +11874,7 @@ type Mutation {
|
|
11826
11874
|
description: String
|
11827
11875
|
|
11828
11876
|
"""
|
11829
|
-
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types:
|
11877
|
+
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/dwg, application/csv, application/vnd.ms-excel, application/x-csv, application/x-zip-compressed, application/x-dwg, application/vnd.oasis.opendocument.presentation, application/vnd.ms-word, image/x-dwg, application/eps, text/comma-separated-values, image/svg, application/x-pdf, application/postscript, drawing/x-dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/bmp, application/x-gzip, application/jpg, text/svg, image/heic-sequence, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/jpg, application/x-tar, application/x-rar, application/zip, image/svg+xml, text/x-pdf, text/csv, application/msword, image/eps, application/svg+xml, application/acrobat, application/acad, application/vnd.oasis.opendocument.text, application/gzip-compressed, text/rtf, application/x-tiff, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-eps, application/x-rar-compressed, image/x-tif, application/gzipped, image/heif-sequence, image/x-eps, image/gif, application/tiff, application/x-tif, application/dxf, image/png, application/x-acad, application/vnd.oasis.opendocument.spreadsheet, image/x-ms-bmp, application/pdf, image/jpeg, text/plain, application/vnd.pdf, drawing/x-dwf, image/dxf, image/x-dxf, application/x-rtf, application/rtf, drawing/dwg, application/x-dxf, image/heif, image/vnd.dwg, text/x-csv, image/heic, text/svg-xml, application/tif, image/x-bmp, text/pdf, application/excel, image/tiff, application/x-autocad, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/webp, image/tif, application/vnd.ms-powerpoint, application/x-jpg, image/x-tiff, application/gzip, text/x-comma-separated-values, pplication/vnd.rar.
|
11830
11878
|
"""
|
11831
11879
|
file: Upload!
|
11832
11880
|
|
@@ -14055,11 +14103,6 @@ type Mutation {
|
|
14055
14103
|
ID of the user to override with (only available for use by Marketplace Administrators)
|
14056
14104
|
"""
|
14057
14105
|
userOverride: ID
|
14058
|
-
|
14059
|
-
"""
|
14060
|
-
Determines whether the email sent out is catered to carriers instead of customers
|
14061
|
-
"""
|
14062
|
-
vehicles: Boolean = false @deprecated(reason: "This will be removed on September 26, 2025")
|
14063
14106
|
): CheckoutComplete
|
14064
14107
|
|
14065
14108
|
"""Create a new checkout."""
|
@@ -14203,7 +14246,7 @@ type Mutation {
|
|
14203
14246
|
"""Deletes a checkout."""
|
14204
14247
|
checkoutDelete(
|
14205
14248
|
"""Token of a checkout to delete."""
|
14206
|
-
token:
|
14249
|
+
token: NauticalUUID!
|
14207
14250
|
): CheckoutDelete
|
14208
14251
|
|
14209
14252
|
"""Adds purchase order number to a checkout."""
|
@@ -21101,6 +21144,7 @@ enum AccountErrorCode {
|
|
21101
21144
|
OUT_OF_SCOPE_USER
|
21102
21145
|
OUT_OF_SCOPE_GROUP
|
21103
21146
|
OUT_OF_SCOPE_PERMISSION
|
21147
|
+
OUT_OF_SCOPE_SELLER
|
21104
21148
|
PASSWORD_ENTIRELY_NUMERIC
|
21105
21149
|
PASSWORD_IDENTICAL
|
21106
21150
|
PASSWORD_TOO_COMMON
|
@@ -21400,9 +21444,6 @@ input UserCreateInput {
|
|
21400
21444
|
"""User account is active."""
|
21401
21445
|
isActive: Boolean
|
21402
21446
|
|
21403
|
-
"""User is staff member."""
|
21404
|
-
isStaff: Boolean
|
21405
|
-
|
21406
21447
|
"""A note about the user."""
|
21407
21448
|
note: String
|
21408
21449
|
|
@@ -21460,9 +21501,6 @@ input CustomerInput {
|
|
21460
21501
|
"""User account is active."""
|
21461
21502
|
isActive: Boolean
|
21462
21503
|
|
21463
|
-
"""User is staff member."""
|
21464
|
-
isStaff: Boolean
|
21465
|
-
|
21466
21504
|
"""A note about the user."""
|
21467
21505
|
note: String
|
21468
21506
|
|
@@ -21488,6 +21526,19 @@ input CustomerInput {
|
|
21488
21526
|
Indicates whether a 'set password' email should be sent to the customer.
|
21489
21527
|
"""
|
21490
21528
|
sendCustomerSetPasswordEmail: Boolean
|
21529
|
+
|
21530
|
+
"""True if the customer is being upraded to a staff member."""
|
21531
|
+
isStaff: Boolean
|
21532
|
+
|
21533
|
+
"""
|
21534
|
+
Seller to add customer to during staff upgrade, if no seller is supplied a new seller will be created.
|
21535
|
+
"""
|
21536
|
+
seller: ID
|
21537
|
+
|
21538
|
+
"""
|
21539
|
+
List of permission group IDs to which customer should be assigned during staff upgrade.
|
21540
|
+
"""
|
21541
|
+
addGroups: [ID!]
|
21491
21542
|
}
|
21492
21543
|
|
21493
21544
|
"""Deletes a customer."""
|
@@ -21544,9 +21595,6 @@ input StaffCreateInput {
|
|
21544
21595
|
"""User account is active."""
|
21545
21596
|
isActive: Boolean
|
21546
21597
|
|
21547
|
-
"""User is staff member."""
|
21548
|
-
isStaff: Boolean
|
21549
|
-
|
21550
21598
|
"""A note about the user."""
|
21551
21599
|
note: String
|
21552
21600
|
|
@@ -21596,9 +21644,6 @@ input StaffUpdateInput {
|
|
21596
21644
|
"""User account is active."""
|
21597
21645
|
isActive: Boolean
|
21598
21646
|
|
21599
|
-
"""User is staff member."""
|
21600
|
-
isStaff: Boolean
|
21601
|
-
|
21602
21647
|
"""A note about the user."""
|
21603
21648
|
note: String
|
21604
21649
|
|