@nautical-commerce/graphql-schema 1.61.0-2-ge7fd31e0b → 1.61.0-4-g265d5f3d1
Sign up to get free protection for your applications and to get access to all the features.
- package/nautical/schema.graphql +14 -239
- 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!
|
@@ -8891,9 +8795,6 @@ type Shop {
|
|
8891
8795
|
"""Include taxes in prices."""
|
8892
8796
|
includeTaxesInPrices: Boolean!
|
8893
8797
|
|
8894
|
-
"""Display prices with tax in store."""
|
8895
|
-
displayGrossPrices: Boolean! @deprecated(reason: "This will be removed on November 22, 2024. Use the includeTaxesInPrices setting instead.")
|
8896
|
-
|
8897
8798
|
"""Charge taxes on shipping."""
|
8898
8799
|
chargeTaxesOnShipping: Boolean!
|
8899
8800
|
|
@@ -8924,9 +8825,6 @@ type Shop {
|
|
8924
8825
|
"""Is authenticated user required for to view product price information."""
|
8925
8826
|
loginForPrice: Boolean
|
8926
8827
|
|
8927
|
-
"""Is authenticated user required to view product listings."""
|
8928
|
-
loginForProducts: Boolean @deprecated(reason: "This will be removed on November 22, 2024. Use the loginForPrice setting instead.")
|
8929
|
-
|
8930
8828
|
"""Gets active plugins."""
|
8931
8829
|
activePlugins: [Plugin!]!
|
8932
8830
|
|
@@ -11221,7 +11119,7 @@ type MarketplaceConfiguration {
|
|
11221
11119
|
"""Returns list of default checklists for seller."""
|
11222
11120
|
defaultSellerChecklists: [DefaultSellerChecklist!]!
|
11223
11121
|
enableStockAllocationForQuotes: Boolean!
|
11224
|
-
enableStockAllocationForOffers: Boolean!
|
11122
|
+
enableStockAllocationForOffers: Boolean! @deprecated(reason: "This will be removed on February 20, 2025 and will return false until then")
|
11225
11123
|
enableStockAllocationForDrafts: Boolean!
|
11226
11124
|
validateStockOnOrderPaymentCreation: Boolean!
|
11227
11125
|
|
@@ -13450,7 +13348,7 @@ enum StaffMemberStatus {
|
|
13450
13348
|
DEACTIVATED
|
13451
13349
|
}
|
13452
13350
|
|
13453
|
-
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
|
13454
13352
|
|
13455
13353
|
scalar _Any
|
13456
13354
|
|
@@ -13484,7 +13382,7 @@ type Mutation {
|
|
13484
13382
|
description: String
|
13485
13383
|
|
13486
13384
|
"""
|
13487
|
-
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/svg+xml, application/msword, text/comma-separated-values, application/vnd.ms-powerpoint, image/png, image/gif, application/x-rar-compressed, application/gzip-compressed, application/rtf, application/vnd.ms-word, text/svg-xml, image/x-dwg, application/x-gzip, application/x-tif, image/x-tiff, image/svg+xml, image/bmp, text/svg, application/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/acrobat, application/x-autocad, application/excel, application/x-csv, application/vnd.oasis.opendocument.spreadsheet, application/x-zip-compressed, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/tif, application/x-rar, application/x-tar, image/eps, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/plain, image/x-tif, image/heif-sequence, application/eps, application/x-pdf, application/x-rtf, image/x-dxf, application/vnd.ms-excel, image/vnd.dwg, image/tiff, application/tiff, application/gzip, text/x-csv, application/x-tiff, application/vnd.oasis.opendocument.presentation, application/postscript, drawing/x-dwg, text/x-comma-separated-values, pplication/vnd.rar, text/x-pdf, application/vnd.pdf, text/pdf, image/svg, image/heic-sequence, image/jpeg, image/x-ms-bmp, application/vnd.oasis.opendocument.text, application/x-dwg, application/jpg, application/acad, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-dxf, application/x-eps, application/x-acad, image/heif, drawing/x-dwf, image/x-eps, image/x-bmp, application/gzipped, text/rtf, image/heic, application/x-jpg, text/csv, drawing/dwg, application/dxf, image/dxf, application/dwg, application/zip, image/jpg, application/pdf, application/tif, image/webp.
|
13488
13386
|
"""
|
13489
13387
|
file: Upload!
|
13490
13388
|
|
@@ -13534,24 +13432,6 @@ type Mutation {
|
|
13534
13432
|
targetIds: [ID!]
|
13535
13433
|
): DocumentRemove
|
13536
13434
|
|
13537
|
-
"""Creates a new Bid."""
|
13538
|
-
bidCreate(
|
13539
|
-
"""Fields required to create a new bid."""
|
13540
|
-
input: BidInput!
|
13541
|
-
): BidCreate @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
|
13542
|
-
|
13543
|
-
"""Accepts the specificed bid."""
|
13544
|
-
bidAccept(
|
13545
|
-
"""ID of the bid to accept."""
|
13546
|
-
bidId: ID!
|
13547
|
-
): BidAccept @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
|
13548
|
-
|
13549
|
-
"""Rejects the specificed bid."""
|
13550
|
-
bidReject(
|
13551
|
-
"""ID of the bid to reject."""
|
13552
|
-
bidId: ID!
|
13553
|
-
): BidReject @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
|
13554
|
-
|
13555
13435
|
"""Updates nautical configuration."""
|
13556
13436
|
nauticalConfigurationUpdate(input: [NauticalConfigurationInputItem!]): NauticalConfigurationUpdate
|
13557
13437
|
|
@@ -15181,7 +15061,7 @@ type Mutation {
|
|
15181
15061
|
id: ID!
|
15182
15062
|
): NauticalDraftOrderLineDelete
|
15183
15063
|
|
15184
|
-
"""Updates an order line of a draft
|
15064
|
+
"""Updates an order line of a draft or quote order."""
|
15185
15065
|
draftOrderLineUpdate(
|
15186
15066
|
"""ID of the order line to update."""
|
15187
15067
|
id: ID!
|
@@ -15220,9 +15100,7 @@ type Mutation {
|
|
15220
15100
|
token: String
|
15221
15101
|
): NauticalDraftOrderUpdate
|
15222
15102
|
|
15223
|
-
"""
|
15224
|
-
Overrides unit net price of an order line of a draft, quote, or offer order.
|
15225
|
-
"""
|
15103
|
+
"""Overrides unit net price of an order line of a draft or quote order."""
|
15226
15104
|
draftOrderLinePriceOverride(
|
15227
15105
|
"""ID of the order line to update."""
|
15228
15106
|
id: ID!
|
@@ -15232,7 +15110,7 @@ type Mutation {
|
|
15232
15110
|
): DraftOrderLinePriceOverride
|
15233
15111
|
|
15234
15112
|
"""
|
15235
|
-
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.
|
15236
15114
|
"""
|
15237
15115
|
nauticalDraftOrderLinePriceOverride(
|
15238
15116
|
"""ID of the marketplace order line to update."""
|
@@ -15559,16 +15437,6 @@ type Mutation {
|
|
15559
15437
|
id: ID!
|
15560
15438
|
): OrderFeeDelete
|
15561
15439
|
|
15562
|
-
"""
|
15563
|
-
Converts a seller or marketplace offer order to a nautical quote order.
|
15564
|
-
"""
|
15565
|
-
orderOfferConvertToNauticalQuoteOrder(
|
15566
|
-
"""
|
15567
|
-
ID of the nautical offer or offer order to be converted to a nautical quote order
|
15568
|
-
"""
|
15569
|
-
id: ID!
|
15570
|
-
): OrderOfferConvertToNauticalQuoteOrder @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
|
15571
|
-
|
15572
15440
|
"""
|
15573
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
|
15574
15442
|
"""
|
@@ -16894,81 +16762,6 @@ type DocumentRemove {
|
|
16894
16762
|
documentErrors: [DocumentError!]!
|
16895
16763
|
}
|
16896
16764
|
|
16897
|
-
"""Creates a new Bid."""
|
16898
|
-
type BidCreate {
|
16899
|
-
bid: Bid
|
16900
|
-
bidErrors: [BidError!]!
|
16901
|
-
}
|
16902
|
-
|
16903
|
-
type BidError {
|
16904
|
-
"""
|
16905
|
-
Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
|
16906
|
-
"""
|
16907
|
-
field: String
|
16908
|
-
|
16909
|
-
"""The error message."""
|
16910
|
-
message: String!
|
16911
|
-
|
16912
|
-
"""The error code."""
|
16913
|
-
code: BidErrorCode!
|
16914
|
-
}
|
16915
|
-
|
16916
|
-
"""An enumeration."""
|
16917
|
-
enum BidErrorCode {
|
16918
|
-
GRAPHQL_ERROR
|
16919
|
-
INVALID
|
16920
|
-
NOT_FOUND
|
16921
|
-
REQUIRED
|
16922
|
-
UNIQUE
|
16923
|
-
}
|
16924
|
-
|
16925
|
-
input BidInput {
|
16926
|
-
"""Role of the user creating the bid."""
|
16927
|
-
role: BidRoleEnum!
|
16928
|
-
|
16929
|
-
"""ID of the Nautical Order or Order to associate with this bid."""
|
16930
|
-
orderId: ID!
|
16931
|
-
|
16932
|
-
"""Amount of the bid."""
|
16933
|
-
bidAmount: PositiveDecimal!
|
16934
|
-
|
16935
|
-
"""
|
16936
|
-
Currency in 3-letter currency code format. If this is omitted, the marketplace currency will be used by default.
|
16937
|
-
"""
|
16938
|
-
currency: String
|
16939
|
-
|
16940
|
-
"""Message to add to the bid."""
|
16941
|
-
message: String
|
16942
|
-
}
|
16943
|
-
|
16944
|
-
enum BidRoleEnum {
|
16945
|
-
"""Seller"""
|
16946
|
-
SELLER
|
16947
|
-
|
16948
|
-
"""Buyer"""
|
16949
|
-
BUYER
|
16950
|
-
}
|
16951
|
-
|
16952
|
-
"""Accepts the specificed bid."""
|
16953
|
-
type BidAccept {
|
16954
|
-
"""Seller order for which the bid was accepted."""
|
16955
|
-
order: Order
|
16956
|
-
|
16957
|
-
"""Nautical order for which the bid was accepted."""
|
16958
|
-
nauticalOrder: NauticalOrder
|
16959
|
-
bidErrors: [BidError!]!
|
16960
|
-
}
|
16961
|
-
|
16962
|
-
"""Rejects the specificed bid."""
|
16963
|
-
type BidReject {
|
16964
|
-
"""Seller order for which the bid was rejected."""
|
16965
|
-
order: Order
|
16966
|
-
|
16967
|
-
"""Nautical order for which the bid was rejected."""
|
16968
|
-
nauticalOrder: NauticalOrder
|
16969
|
-
bidErrors: [BidError!]!
|
16970
|
-
}
|
16971
|
-
|
16972
16765
|
"""Updates nautical configuration."""
|
16973
16766
|
type NauticalConfigurationUpdate {
|
16974
16767
|
nauticalConfigurationList: [NauticalConfiguration!]
|
@@ -17078,7 +16871,7 @@ input MarketplaceConfigurationInput {
|
|
17078
16871
|
enableStockAllocationForQuotes: Boolean
|
17079
16872
|
|
17080
16873
|
"""True if offer orders trigger stock allocation."""
|
17081
|
-
enableStockAllocationForOffers: Boolean
|
16874
|
+
enableStockAllocationForOffers: Boolean @deprecated(reason: "This will be removed on February 20, 2025.")
|
17082
16875
|
|
17083
16876
|
"""True if draft orders trigger stock allocation."""
|
17084
16877
|
enableStockAllocationForDrafts: Boolean
|
@@ -18632,9 +18425,6 @@ input ShopSettingsInput {
|
|
18632
18425
|
"""Include taxes in prices."""
|
18633
18426
|
includeTaxesInPrices: Boolean
|
18634
18427
|
|
18635
|
-
"""Display prices with tax in store."""
|
18636
|
-
displayGrossPrices: Boolean @deprecated(reason: "This will be removed on November 22, 2024.")
|
18637
|
-
|
18638
18428
|
"""Charge taxes on shipping."""
|
18639
18429
|
chargeTaxesOnShipping: Boolean
|
18640
18430
|
|
@@ -20174,7 +19964,7 @@ input ProductTypeInput {
|
|
20174
19964
|
slug: String
|
20175
19965
|
|
20176
19966
|
"""
|
20177
|
-
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.
|
20178
19968
|
"""
|
20179
19969
|
isPriceOverrideAllowed: Boolean
|
20180
19970
|
|
@@ -21198,7 +20988,6 @@ input OrderLineCreateInput {
|
|
21198
20988
|
enum DraftOrderInitialStatus {
|
21199
20989
|
DRAFT
|
21200
20990
|
QUOTE
|
21201
|
-
OFFER
|
21202
20991
|
}
|
21203
20992
|
|
21204
20993
|
"""Creates a new Nautical draft order."""
|
@@ -21400,7 +21189,7 @@ type NauticalDraftOrderLineDelete {
|
|
21400
21189
|
orderErrors: [OrderError!]!
|
21401
21190
|
}
|
21402
21191
|
|
21403
|
-
"""Updates an order line of a draft
|
21192
|
+
"""Updates an order line of a draft or quote order."""
|
21404
21193
|
type DraftOrderLineUpdate {
|
21405
21194
|
"""A related draft or quote order."""
|
21406
21195
|
order: Order
|
@@ -21486,11 +21275,9 @@ input NauticalDraftOrderInput {
|
|
21486
21275
|
poNumbers: [String!]
|
21487
21276
|
}
|
21488
21277
|
|
21489
|
-
"""
|
21490
|
-
Overrides unit net price of an order line of a draft, quote, or offer order.
|
21491
|
-
"""
|
21278
|
+
"""Overrides unit net price of an order line of a draft or quote order."""
|
21492
21279
|
type DraftOrderLinePriceOverride {
|
21493
|
-
"""A related draft,
|
21280
|
+
"""A related draft, or quote order."""
|
21494
21281
|
order: Order
|
21495
21282
|
orderErrors: [OrderError!]!
|
21496
21283
|
orderLine: OrderLine
|
@@ -21507,10 +21294,10 @@ input OrderLinePriceOverrideInput {
|
|
21507
21294
|
}
|
21508
21295
|
|
21509
21296
|
"""
|
21510
|
-
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.
|
21511
21298
|
"""
|
21512
21299
|
type NauticalDraftOrderLinePriceOverride {
|
21513
|
-
"""A related draft,
|
21300
|
+
"""A related draft, or quote marketplace order."""
|
21514
21301
|
nauticalOrder: NauticalOrder
|
21515
21302
|
orderErrors: [OrderError!]!
|
21516
21303
|
nauticalOrderLine: NauticalOrderLine
|
@@ -22074,18 +21861,6 @@ type OrderFeeDelete {
|
|
22074
21861
|
orderErrors: [OrderError!]!
|
22075
21862
|
}
|
22076
21863
|
|
22077
|
-
"""
|
22078
|
-
Converts a seller or marketplace offer order to a nautical quote order.
|
22079
|
-
"""
|
22080
|
-
type OrderOfferConvertToNauticalQuoteOrder {
|
22081
|
-
"""The converted Nautical Quote order (available only for MPO)."""
|
22082
|
-
nauticalOrder: NauticalOrder
|
22083
|
-
|
22084
|
-
"""The converted Quote order"""
|
22085
|
-
order: Order
|
22086
|
-
orderErrors: [OrderError!]!
|
22087
|
-
}
|
22088
|
-
|
22089
21864
|
"""
|
22090
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
|
22091
21866
|
"""
|