@nautical-commerce/graphql-schema 1.61.0-3-g8ae73ad47 → 1.61.0-5-g1f6862617
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 +14 -230
- package/package.json +1 -1
package/nautical/schema.graphql
CHANGED
@@ -2434,27 +2434,6 @@ type User implements Node & ObjectWithMetadata {
|
|
2434
2434
|
"""Return the last n elements from the list."""
|
2435
2435
|
last: Int
|
2436
2436
|
): OrderCountableConnection
|
2437
|
-
|
2438
|
-
"""List of user's offer seller orders."""
|
2439
|
-
offerOrders(
|
2440
|
-
"""Filtering options for orders."""
|
2441
|
-
filter: CustomerOrderFilterInput
|
2442
|
-
|
2443
|
-
"""Sort orders."""
|
2444
|
-
sortBy: OrderSortingInput
|
2445
|
-
|
2446
|
-
"""Return the elements in the list that come before the specified cursor."""
|
2447
|
-
before: String
|
2448
|
-
|
2449
|
-
"""Return the elements in the list that come after the specified cursor."""
|
2450
|
-
after: String
|
2451
|
-
|
2452
|
-
"""Return the first n elements from the list."""
|
2453
|
-
first: Int
|
2454
|
-
|
2455
|
-
"""Return the last n elements from the list."""
|
2456
|
-
last: Int
|
2457
|
-
): OrderCountableConnection @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
|
2458
2437
|
numOrders: Int
|
2459
2438
|
|
2460
2439
|
"""List of user's nautical orders."""
|
@@ -2499,27 +2478,6 @@ type User implements Node & ObjectWithMetadata {
|
|
2499
2478
|
last: Int
|
2500
2479
|
): NauticalOrderCountableConnection
|
2501
2480
|
|
2502
|
-
"""List of user's nautical offer orders."""
|
2503
|
-
nauticalOfferOrders(
|
2504
|
-
"""Filtering options for orders."""
|
2505
|
-
filter: CustomerNauticalOrderFilterInput
|
2506
|
-
|
2507
|
-
"""Sort orders."""
|
2508
|
-
sortBy: OrderSortingInput
|
2509
|
-
|
2510
|
-
"""Return the elements in the list that come before the specified cursor."""
|
2511
|
-
before: String
|
2512
|
-
|
2513
|
-
"""Return the elements in the list that come after the specified cursor."""
|
2514
|
-
after: String
|
2515
|
-
|
2516
|
-
"""Return the first n elements from the list."""
|
2517
|
-
first: Int
|
2518
|
-
|
2519
|
-
"""Return the last n elements from the list."""
|
2520
|
-
last: Int
|
2521
|
-
): NauticalOrderCountableConnection @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
|
2522
|
-
|
2523
2481
|
"""List of user's permissions."""
|
2524
2482
|
userPermissions: [UserPermission!]!
|
2525
2483
|
|
@@ -3908,12 +3866,6 @@ type Order implements Node & ObjectWithMetadata {
|
|
3908
3866
|
"""Validation status for the order"""
|
3909
3867
|
validationStatus: [ValidationStatus!]
|
3910
3868
|
|
3911
|
-
"""Latest bid made against the order."""
|
3912
|
-
currentBid: Bid @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
|
3913
|
-
|
3914
|
-
"""List of all bids made against the order."""
|
3915
|
-
bids: [Bid!] @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
|
3916
|
-
|
3917
3869
|
"""
|
3918
3870
|
Determines if seller is the only seller on the related nautical order. Note: if nautical order doesn't exist - will return None.
|
3919
3871
|
"""
|
@@ -5705,12 +5657,6 @@ type NauticalOrder implements Node & ObjectWithMetadata {
|
|
5705
5657
|
volumeDiscount: TaxedMoney @deprecated(reason: "This will be removed on February 1, 2025.")
|
5706
5658
|
shippingMethodName: String!
|
5707
5659
|
|
5708
|
-
"""Latest bid made against the order."""
|
5709
|
-
currentBid: Bid @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
|
5710
|
-
|
5711
|
-
"""List of all bids made against the order."""
|
5712
|
-
bids: [Bid!] @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
|
5713
|
-
|
5714
5660
|
"""List of all the vendor orders connected to this marketplace order."""
|
5715
5661
|
subOrders: [Order!]
|
5716
5662
|
|
@@ -6730,47 +6676,6 @@ type NauticalOrderEventOrderLineObject {
|
|
6730
6676
|
itemName: String
|
6731
6677
|
}
|
6732
6678
|
|
6733
|
-
"""Represents a bid."""
|
6734
|
-
type Bid implements Node {
|
6735
|
-
"""The ID of the object"""
|
6736
|
-
id: ID!
|
6737
|
-
privateMetadata: JSONString!
|
6738
|
-
metadata: JSONString!
|
6739
|
-
tenant: Tenant!
|
6740
|
-
createdAt: DateTime!
|
6741
|
-
updatedAt: DateTime!
|
6742
|
-
status: BidStatus!
|
6743
|
-
user: User
|
6744
|
-
role: BidRole!
|
6745
|
-
order: Order
|
6746
|
-
nauticalOrder: NauticalOrder
|
6747
|
-
bidAmount: Decimal!
|
6748
|
-
currency: String!
|
6749
|
-
amount: Money
|
6750
|
-
message: String
|
6751
|
-
}
|
6752
|
-
|
6753
|
-
"""An enumeration."""
|
6754
|
-
enum BidStatus {
|
6755
|
-
"""Submitted"""
|
6756
|
-
SUBMITTED
|
6757
|
-
|
6758
|
-
"""Accepted"""
|
6759
|
-
ACCEPTED
|
6760
|
-
|
6761
|
-
"""Rejected"""
|
6762
|
-
REJECTED
|
6763
|
-
}
|
6764
|
-
|
6765
|
-
"""An enumeration."""
|
6766
|
-
enum BidRole {
|
6767
|
-
"""Seller"""
|
6768
|
-
SELLER
|
6769
|
-
|
6770
|
-
"""Buyer"""
|
6771
|
-
BUYER
|
6772
|
-
}
|
6773
|
-
|
6774
6679
|
"""
|
6775
6680
|
Represents a refund scoped to an nautical order, a seller order, or a seller order line
|
6776
6681
|
"""
|
@@ -8127,7 +8032,6 @@ enum OrderSourceFilter {
|
|
8127
8032
|
CHECKOUT
|
8128
8033
|
DRAFT
|
8129
8034
|
QUOTE
|
8130
|
-
OFFER
|
8131
8035
|
MANUAL
|
8132
8036
|
EXTERNAL
|
8133
8037
|
}
|
@@ -8877,7 +8781,7 @@ type Shop {
|
|
8877
8781
|
enableQuoteOrders: Boolean
|
8878
8782
|
|
8879
8783
|
"""Whether the marketplace has enabled offer orders."""
|
8880
|
-
enableOfferOrders: Boolean
|
8784
|
+
enableOfferOrders: Boolean @deprecated(reason: "This will be removed on February 20, 2025.")
|
8881
8785
|
|
8882
8786
|
"""Shop's name."""
|
8883
8787
|
name: String!
|
@@ -11215,7 +11119,7 @@ type MarketplaceConfiguration {
|
|
11215
11119
|
"""Returns list of default checklists for seller."""
|
11216
11120
|
defaultSellerChecklists: [DefaultSellerChecklist!]!
|
11217
11121
|
enableStockAllocationForQuotes: Boolean!
|
11218
|
-
enableStockAllocationForOffers: Boolean
|
11122
|
+
enableStockAllocationForOffers: Boolean @deprecated(reason: "This will be removed on February 20, 2025 and will return false until then")
|
11219
11123
|
enableStockAllocationForDrafts: Boolean!
|
11220
11124
|
validateStockOnOrderPaymentCreation: Boolean!
|
11221
11125
|
|
@@ -13444,7 +13348,7 @@ enum StaffMemberStatus {
|
|
13444
13348
|
DEACTIVATED
|
13445
13349
|
}
|
13446
13350
|
|
13447
|
-
union _Entity = WishlistItem | Wishlist | User | Address | ProductVariant | Product | Category | ProductType | App | Collection |
|
13351
|
+
union _Entity = WishlistItem | Wishlist | User | Address | ProductVariant | Product | Category | ProductType | App | Collection | Microsite | ProductImage | Location | ProductStatusLog | Group | CatalogImportProcess | CatalogImportProcessLogRecord
|
13448
13352
|
|
13449
13353
|
scalar _Any
|
13450
13354
|
|
@@ -13478,7 +13382,7 @@ type Mutation {
|
|
13478
13382
|
description: String
|
13479
13383
|
|
13480
13384
|
"""
|
13481
|
-
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types:
|
13385
|
+
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/excel, image/dxf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/eps, image/x-ms-bmp, text/svg, drawing/x-dwf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.oasis.opendocument.text, image/png, image/gif, application/csv, text/x-comma-separated-values, application/pdf, application/vnd.ms-excel, application/acad, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-tiff, application/gzip, application/rtf, image/heif, application/gzipped, application/x-eps, application/x-rar-compressed, text/comma-separated-values, image/tif, text/rtf, image/x-tif, application/x-dxf, image/webp, application/jpg, text/csv, application/x-pdf, image/svg+xml, image/bmp, text/svg-xml, application/x-gzip, image/eps, image/x-eps, text/x-pdf, text/x-csv, application/x-zip-compressed, application/x-jpg, application/vnd.ms-word, image/jpg, application/msword, image/heic-sequence, application/tif, application/vnd.ms-powerpoint, image/vnd.dwg, image/heif-sequence, pplication/vnd.rar, image/svg, drawing/x-dwg, application/dwg, application/zip, drawing/dwg, application/vnd.oasis.opendocument.spreadsheet, application/acrobat, application/gzip-compressed, text/pdf, application/x-dwg, application/x-csv, application/x-acad, application/x-rar, application/x-tif, image/tiff, application/tiff, application/dxf, text/plain, image/heic, application/x-autocad, application/vnd.oasis.opendocument.presentation, application/x-tar, application/vnd.pdf, image/x-bmp, image/x-tiff, application/postscript, image/x-dxf, image/x-dwg, image/jpeg, application/svg+xml, application/x-rtf.
|
13482
13386
|
"""
|
13483
13387
|
file: Upload!
|
13484
13388
|
|
@@ -13528,24 +13432,6 @@ type Mutation {
|
|
13528
13432
|
targetIds: [ID!]
|
13529
13433
|
): DocumentRemove
|
13530
13434
|
|
13531
|
-
"""Creates a new Bid."""
|
13532
|
-
bidCreate(
|
13533
|
-
"""Fields required to create a new bid."""
|
13534
|
-
input: BidInput!
|
13535
|
-
): BidCreate @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
|
13536
|
-
|
13537
|
-
"""Accepts the specificed bid."""
|
13538
|
-
bidAccept(
|
13539
|
-
"""ID of the bid to accept."""
|
13540
|
-
bidId: ID!
|
13541
|
-
): BidAccept @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
|
13542
|
-
|
13543
|
-
"""Rejects the specificed bid."""
|
13544
|
-
bidReject(
|
13545
|
-
"""ID of the bid to reject."""
|
13546
|
-
bidId: ID!
|
13547
|
-
): BidReject @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
|
13548
|
-
|
13549
13435
|
"""Updates nautical configuration."""
|
13550
13436
|
nauticalConfigurationUpdate(input: [NauticalConfigurationInputItem!]): NauticalConfigurationUpdate
|
13551
13437
|
|
@@ -15175,7 +15061,7 @@ type Mutation {
|
|
15175
15061
|
id: ID!
|
15176
15062
|
): NauticalDraftOrderLineDelete
|
15177
15063
|
|
15178
|
-
"""Updates an order line of a draft
|
15064
|
+
"""Updates an order line of a draft or quote order."""
|
15179
15065
|
draftOrderLineUpdate(
|
15180
15066
|
"""ID of the order line to update."""
|
15181
15067
|
id: ID!
|
@@ -15214,9 +15100,7 @@ type Mutation {
|
|
15214
15100
|
token: String
|
15215
15101
|
): NauticalDraftOrderUpdate
|
15216
15102
|
|
15217
|
-
"""
|
15218
|
-
Overrides unit net price of an order line of a draft, quote, or offer order.
|
15219
|
-
"""
|
15103
|
+
"""Overrides unit net price of an order line of a draft or quote order."""
|
15220
15104
|
draftOrderLinePriceOverride(
|
15221
15105
|
"""ID of the order line to update."""
|
15222
15106
|
id: ID!
|
@@ -15226,7 +15110,7 @@ type Mutation {
|
|
15226
15110
|
): DraftOrderLinePriceOverride
|
15227
15111
|
|
15228
15112
|
"""
|
15229
|
-
Overrides unit net price of a marketplace order line of a draft,
|
15113
|
+
Overrides unit net price of a marketplace order line of a draft, or quote order.
|
15230
15114
|
"""
|
15231
15115
|
nauticalDraftOrderLinePriceOverride(
|
15232
15116
|
"""ID of the marketplace order line to update."""
|
@@ -15553,16 +15437,6 @@ type Mutation {
|
|
15553
15437
|
id: ID!
|
15554
15438
|
): OrderFeeDelete
|
15555
15439
|
|
15556
|
-
"""
|
15557
|
-
Converts a seller or marketplace offer order to a nautical quote order.
|
15558
|
-
"""
|
15559
|
-
orderOfferConvertToNauticalQuoteOrder(
|
15560
|
-
"""
|
15561
|
-
ID of the nautical offer or offer order to be converted to a nautical quote order
|
15562
|
-
"""
|
15563
|
-
id: ID!
|
15564
|
-
): OrderOfferConvertToNauticalQuoteOrder @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
|
15565
|
-
|
15566
15440
|
"""
|
15567
15441
|
Uploads lines for a draft order via CSV. This mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
|
15568
15442
|
"""
|
@@ -16888,81 +16762,6 @@ type DocumentRemove {
|
|
16888
16762
|
documentErrors: [DocumentError!]!
|
16889
16763
|
}
|
16890
16764
|
|
16891
|
-
"""Creates a new Bid."""
|
16892
|
-
type BidCreate {
|
16893
|
-
bid: Bid
|
16894
|
-
bidErrors: [BidError!]!
|
16895
|
-
}
|
16896
|
-
|
16897
|
-
type BidError {
|
16898
|
-
"""
|
16899
|
-
Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
|
16900
|
-
"""
|
16901
|
-
field: String
|
16902
|
-
|
16903
|
-
"""The error message."""
|
16904
|
-
message: String!
|
16905
|
-
|
16906
|
-
"""The error code."""
|
16907
|
-
code: BidErrorCode!
|
16908
|
-
}
|
16909
|
-
|
16910
|
-
"""An enumeration."""
|
16911
|
-
enum BidErrorCode {
|
16912
|
-
GRAPHQL_ERROR
|
16913
|
-
INVALID
|
16914
|
-
NOT_FOUND
|
16915
|
-
REQUIRED
|
16916
|
-
UNIQUE
|
16917
|
-
}
|
16918
|
-
|
16919
|
-
input BidInput {
|
16920
|
-
"""Role of the user creating the bid."""
|
16921
|
-
role: BidRoleEnum!
|
16922
|
-
|
16923
|
-
"""ID of the Nautical Order or Order to associate with this bid."""
|
16924
|
-
orderId: ID!
|
16925
|
-
|
16926
|
-
"""Amount of the bid."""
|
16927
|
-
bidAmount: PositiveDecimal!
|
16928
|
-
|
16929
|
-
"""
|
16930
|
-
Currency in 3-letter currency code format. If this is omitted, the marketplace currency will be used by default.
|
16931
|
-
"""
|
16932
|
-
currency: String
|
16933
|
-
|
16934
|
-
"""Message to add to the bid."""
|
16935
|
-
message: String
|
16936
|
-
}
|
16937
|
-
|
16938
|
-
enum BidRoleEnum {
|
16939
|
-
"""Seller"""
|
16940
|
-
SELLER
|
16941
|
-
|
16942
|
-
"""Buyer"""
|
16943
|
-
BUYER
|
16944
|
-
}
|
16945
|
-
|
16946
|
-
"""Accepts the specificed bid."""
|
16947
|
-
type BidAccept {
|
16948
|
-
"""Seller order for which the bid was accepted."""
|
16949
|
-
order: Order
|
16950
|
-
|
16951
|
-
"""Nautical order for which the bid was accepted."""
|
16952
|
-
nauticalOrder: NauticalOrder
|
16953
|
-
bidErrors: [BidError!]!
|
16954
|
-
}
|
16955
|
-
|
16956
|
-
"""Rejects the specificed bid."""
|
16957
|
-
type BidReject {
|
16958
|
-
"""Seller order for which the bid was rejected."""
|
16959
|
-
order: Order
|
16960
|
-
|
16961
|
-
"""Nautical order for which the bid was rejected."""
|
16962
|
-
nauticalOrder: NauticalOrder
|
16963
|
-
bidErrors: [BidError!]!
|
16964
|
-
}
|
16965
|
-
|
16966
16765
|
"""Updates nautical configuration."""
|
16967
16766
|
type NauticalConfigurationUpdate {
|
16968
16767
|
nauticalConfigurationList: [NauticalConfiguration!]
|
@@ -17072,7 +16871,7 @@ input MarketplaceConfigurationInput {
|
|
17072
16871
|
enableStockAllocationForQuotes: Boolean
|
17073
16872
|
|
17074
16873
|
"""True if offer orders trigger stock allocation."""
|
17075
|
-
enableStockAllocationForOffers: Boolean
|
16874
|
+
enableStockAllocationForOffers: Boolean @deprecated(reason: "This will be removed on February 20, 2025.")
|
17076
16875
|
|
17077
16876
|
"""True if draft orders trigger stock allocation."""
|
17078
16877
|
enableStockAllocationForDrafts: Boolean
|
@@ -20165,7 +19964,7 @@ input ProductTypeInput {
|
|
20165
19964
|
slug: String
|
20166
19965
|
|
20167
19966
|
"""
|
20168
|
-
Allow variant price to be overridden for products in this product type in the checkout or in quote
|
19967
|
+
Allow variant price to be overridden for products in this product type in the checkout or in quote and draft orders.
|
20169
19968
|
"""
|
20170
19969
|
isPriceOverrideAllowed: Boolean
|
20171
19970
|
|
@@ -21189,7 +20988,6 @@ input OrderLineCreateInput {
|
|
21189
20988
|
enum DraftOrderInitialStatus {
|
21190
20989
|
DRAFT
|
21191
20990
|
QUOTE
|
21192
|
-
OFFER
|
21193
20991
|
}
|
21194
20992
|
|
21195
20993
|
"""Creates a new Nautical draft order."""
|
@@ -21391,7 +21189,7 @@ type NauticalDraftOrderLineDelete {
|
|
21391
21189
|
orderErrors: [OrderError!]!
|
21392
21190
|
}
|
21393
21191
|
|
21394
|
-
"""Updates an order line of a draft
|
21192
|
+
"""Updates an order line of a draft or quote order."""
|
21395
21193
|
type DraftOrderLineUpdate {
|
21396
21194
|
"""A related draft or quote order."""
|
21397
21195
|
order: Order
|
@@ -21477,11 +21275,9 @@ input NauticalDraftOrderInput {
|
|
21477
21275
|
poNumbers: [String!]
|
21478
21276
|
}
|
21479
21277
|
|
21480
|
-
"""
|
21481
|
-
Overrides unit net price of an order line of a draft, quote, or offer order.
|
21482
|
-
"""
|
21278
|
+
"""Overrides unit net price of an order line of a draft or quote order."""
|
21483
21279
|
type DraftOrderLinePriceOverride {
|
21484
|
-
"""A related draft,
|
21280
|
+
"""A related draft, or quote order."""
|
21485
21281
|
order: Order
|
21486
21282
|
orderErrors: [OrderError!]!
|
21487
21283
|
orderLine: OrderLine
|
@@ -21498,10 +21294,10 @@ input OrderLinePriceOverrideInput {
|
|
21498
21294
|
}
|
21499
21295
|
|
21500
21296
|
"""
|
21501
|
-
Overrides unit net price of a marketplace order line of a draft,
|
21297
|
+
Overrides unit net price of a marketplace order line of a draft, or quote order.
|
21502
21298
|
"""
|
21503
21299
|
type NauticalDraftOrderLinePriceOverride {
|
21504
|
-
"""A related draft,
|
21300
|
+
"""A related draft, or quote marketplace order."""
|
21505
21301
|
nauticalOrder: NauticalOrder
|
21506
21302
|
orderErrors: [OrderError!]!
|
21507
21303
|
nauticalOrderLine: NauticalOrderLine
|
@@ -22065,18 +21861,6 @@ type OrderFeeDelete {
|
|
22065
21861
|
orderErrors: [OrderError!]!
|
22066
21862
|
}
|
22067
21863
|
|
22068
|
-
"""
|
22069
|
-
Converts a seller or marketplace offer order to a nautical quote order.
|
22070
|
-
"""
|
22071
|
-
type OrderOfferConvertToNauticalQuoteOrder {
|
22072
|
-
"""The converted Nautical Quote order (available only for MPO)."""
|
22073
|
-
nauticalOrder: NauticalOrder
|
22074
|
-
|
22075
|
-
"""The converted Quote order"""
|
22076
|
-
order: Order
|
22077
|
-
orderErrors: [OrderError!]!
|
22078
|
-
}
|
22079
|
-
|
22080
21864
|
"""
|
22081
21865
|
Uploads lines for a draft order via CSV. This mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
|
22082
21866
|
"""
|