@nautical-commerce/graphql-schema 1.61.0-5-g1f6862617 → 1.61.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2434,6 +2434,27 @@ 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")
2437
2458
  numOrders: Int
2438
2459
 
2439
2460
  """List of user's nautical orders."""
@@ -2478,6 +2499,27 @@ type User implements Node & ObjectWithMetadata {
2478
2499
  last: Int
2479
2500
  ): NauticalOrderCountableConnection
2480
2501
 
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
+
2481
2523
  """List of user's permissions."""
2482
2524
  userPermissions: [UserPermission!]!
2483
2525
 
@@ -3866,6 +3908,12 @@ type Order implements Node & ObjectWithMetadata {
3866
3908
  """Validation status for the order"""
3867
3909
  validationStatus: [ValidationStatus!]
3868
3910
 
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
+
3869
3917
  """
3870
3918
  Determines if seller is the only seller on the related nautical order. Note: if nautical order doesn't exist - will return None.
3871
3919
  """
@@ -5657,6 +5705,12 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5657
5705
  volumeDiscount: TaxedMoney @deprecated(reason: "This will be removed on February 1, 2025.")
5658
5706
  shippingMethodName: String!
5659
5707
 
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
+
5660
5714
  """List of all the vendor orders connected to this marketplace order."""
5661
5715
  subOrders: [Order!]
5662
5716
 
@@ -6676,6 +6730,47 @@ type NauticalOrderEventOrderLineObject {
6676
6730
  itemName: String
6677
6731
  }
6678
6732
 
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
+
6679
6774
  """
6680
6775
  Represents a refund scoped to an nautical order, a seller order, or a seller order line
6681
6776
  """
@@ -8032,6 +8127,7 @@ enum OrderSourceFilter {
8032
8127
  CHECKOUT
8033
8128
  DRAFT
8034
8129
  QUOTE
8130
+ OFFER
8035
8131
  MANUAL
8036
8132
  EXTERNAL
8037
8133
  }
@@ -8781,7 +8877,7 @@ type Shop {
8781
8877
  enableQuoteOrders: Boolean
8782
8878
 
8783
8879
  """Whether the marketplace has enabled offer orders."""
8784
- enableOfferOrders: Boolean @deprecated(reason: "This will be removed on February 20, 2025.")
8880
+ enableOfferOrders: Boolean
8785
8881
 
8786
8882
  """Shop's name."""
8787
8883
  name: String!
@@ -8795,6 +8891,9 @@ type Shop {
8795
8891
  """Include taxes in prices."""
8796
8892
  includeTaxesInPrices: Boolean!
8797
8893
 
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
+
8798
8897
  """Charge taxes on shipping."""
8799
8898
  chargeTaxesOnShipping: Boolean!
8800
8899
 
@@ -8825,6 +8924,9 @@ type Shop {
8825
8924
  """Is authenticated user required for to view product price information."""
8826
8925
  loginForPrice: Boolean
8827
8926
 
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
+
8828
8930
  """Gets active plugins."""
8829
8931
  activePlugins: [Plugin!]!
8830
8932
 
@@ -11094,6 +11196,11 @@ type MarketplaceConfiguration {
11094
11196
  tenant: Tenant!
11095
11197
  id: UUID!
11096
11198
  marketplaceName: String!
11199
+
11200
+ """
11201
+ True if marketplace accrues shipping revenue, false if sellers accrue shipping revenue
11202
+ """
11203
+ marketplaceAccruesShippingRevenue: Boolean @deprecated(reason: "Replaced by fulfillmentModel. This will be removed on November 25, 2024.")
11097
11204
  requireProductApproval: Boolean!
11098
11205
  requireProductTypes: Boolean!
11099
11206
 
@@ -11119,7 +11226,7 @@ type MarketplaceConfiguration {
11119
11226
  """Returns list of default checklists for seller."""
11120
11227
  defaultSellerChecklists: [DefaultSellerChecklist!]!
11121
11228
  enableStockAllocationForQuotes: Boolean!
11122
- enableStockAllocationForOffers: Boolean @deprecated(reason: "This will be removed on February 20, 2025 and will return false until then")
11229
+ enableStockAllocationForOffers: Boolean!
11123
11230
  enableStockAllocationForDrafts: Boolean!
11124
11231
  validateStockOnOrderPaymentCreation: Boolean!
11125
11232
 
@@ -13348,7 +13455,7 @@ enum StaffMemberStatus {
13348
13455
  DEACTIVATED
13349
13456
  }
13350
13457
 
13351
- union _Entity = WishlistItem | Wishlist | User | Address | ProductVariant | Product | Category | ProductType | App | Collection | Microsite | ProductImage | Location | ProductStatusLog | Group | CatalogImportProcess | CatalogImportProcessLogRecord
13458
+ union _Entity = WishlistItem | Wishlist | User | Address | ProductVariant | Product | Category | ProductType | App | Collection | Bid | Microsite | ProductImage | Location | ProductStatusLog | Group | CatalogImportProcess | CatalogImportProcessLogRecord
13352
13459
 
13353
13460
  scalar _Any
13354
13461
 
@@ -13382,7 +13489,7 @@ type Mutation {
13382
13489
  description: String
13383
13490
 
13384
13491
  """
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.
13492
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/x-rar-compressed, text/x-pdf, application/x-rar, application/zip, text/x-csv, text/svg-xml, image/jpg, application/svg+xml, application/x-dxf, application/rtf, application/x-zip-compressed, application/eps, application/vnd.oasis.opendocument.text, image/heif, drawing/x-dwg, image/eps, text/csv, image/x-eps, application/acad, application/tif, application/tiff, application/csv, image/x-tif, image/x-dwg, application/x-acad, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/tif, image/bmp, text/pdf, drawing/x-dwf, application/x-rtf, image/png, application/excel, application/gzip, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/vnd.dwg, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/gzip-compressed, drawing/dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/dxf, application/vnd.oasis.opendocument.presentation, application/x-csv, image/heif-sequence, image/x-bmp, pplication/vnd.rar, image/gif, application/postscript, image/heic, application/vnd.oasis.opendocument.spreadsheet, application/acrobat, application/x-tiff, application/x-gzip, image/webp, application/x-dwg, text/rtf, application/x-tif, application/x-jpg, image/svg+xml, image/jpeg, application/x-eps, image/x-dxf, text/plain, application/vnd.ms-word, image/x-ms-bmp, image/heic-sequence, application/vnd.ms-excel, application/x-pdf, application/x-autocad, text/svg, application/msword, application/jpg, text/x-comma-separated-values, application/dxf, application/x-tar, application/pdf, image/tiff, application/vnd.pdf, text/comma-separated-values, application/gzipped, application/dwg, image/svg, image/x-tiff.
13386
13493
  """
13387
13494
  file: Upload!
13388
13495
 
@@ -13432,6 +13539,24 @@ type Mutation {
13432
13539
  targetIds: [ID!]
13433
13540
  ): DocumentRemove
13434
13541
 
13542
+ """Creates a new Bid."""
13543
+ bidCreate(
13544
+ """Fields required to create a new bid."""
13545
+ input: BidInput!
13546
+ ): BidCreate @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
13547
+
13548
+ """Accepts the specificed bid."""
13549
+ bidAccept(
13550
+ """ID of the bid to accept."""
13551
+ bidId: ID!
13552
+ ): BidAccept @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
13553
+
13554
+ """Rejects the specificed bid."""
13555
+ bidReject(
13556
+ """ID of the bid to reject."""
13557
+ bidId: ID!
13558
+ ): BidReject @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
13559
+
13435
13560
  """Updates nautical configuration."""
13436
13561
  nauticalConfigurationUpdate(input: [NauticalConfigurationInputItem!]): NauticalConfigurationUpdate
13437
13562
 
@@ -15061,7 +15186,7 @@ type Mutation {
15061
15186
  id: ID!
15062
15187
  ): NauticalDraftOrderLineDelete
15063
15188
 
15064
- """Updates an order line of a draft or quote order."""
15189
+ """Updates an order line of a draft, quote or offer order."""
15065
15190
  draftOrderLineUpdate(
15066
15191
  """ID of the order line to update."""
15067
15192
  id: ID!
@@ -15100,7 +15225,9 @@ type Mutation {
15100
15225
  token: String
15101
15226
  ): NauticalDraftOrderUpdate
15102
15227
 
15103
- """Overrides unit net price of an order line of a draft or quote order."""
15228
+ """
15229
+ Overrides unit net price of an order line of a draft, quote, or offer order.
15230
+ """
15104
15231
  draftOrderLinePriceOverride(
15105
15232
  """ID of the order line to update."""
15106
15233
  id: ID!
@@ -15110,7 +15237,7 @@ type Mutation {
15110
15237
  ): DraftOrderLinePriceOverride
15111
15238
 
15112
15239
  """
15113
- Overrides unit net price of a marketplace order line of a draft, or quote order.
15240
+ Overrides unit net price of a marketplace order line of a draft, quote, or offer order.
15114
15241
  """
15115
15242
  nauticalDraftOrderLinePriceOverride(
15116
15243
  """ID of the marketplace order line to update."""
@@ -15437,6 +15564,16 @@ type Mutation {
15437
15564
  id: ID!
15438
15565
  ): OrderFeeDelete
15439
15566
 
15567
+ """
15568
+ Converts a seller or marketplace offer order to a nautical quote order.
15569
+ """
15570
+ orderOfferConvertToNauticalQuoteOrder(
15571
+ """
15572
+ ID of the nautical offer or offer order to be converted to a nautical quote order
15573
+ """
15574
+ id: ID!
15575
+ ): OrderOfferConvertToNauticalQuoteOrder @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
15576
+
15440
15577
  """
15441
15578
  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
15442
15579
  """
@@ -16762,6 +16899,81 @@ type DocumentRemove {
16762
16899
  documentErrors: [DocumentError!]!
16763
16900
  }
16764
16901
 
16902
+ """Creates a new Bid."""
16903
+ type BidCreate {
16904
+ bid: Bid
16905
+ bidErrors: [BidError!]!
16906
+ }
16907
+
16908
+ type BidError {
16909
+ """
16910
+ Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
16911
+ """
16912
+ field: String
16913
+
16914
+ """The error message."""
16915
+ message: String!
16916
+
16917
+ """The error code."""
16918
+ code: BidErrorCode!
16919
+ }
16920
+
16921
+ """An enumeration."""
16922
+ enum BidErrorCode {
16923
+ GRAPHQL_ERROR
16924
+ INVALID
16925
+ NOT_FOUND
16926
+ REQUIRED
16927
+ UNIQUE
16928
+ }
16929
+
16930
+ input BidInput {
16931
+ """Role of the user creating the bid."""
16932
+ role: BidRoleEnum!
16933
+
16934
+ """ID of the Nautical Order or Order to associate with this bid."""
16935
+ orderId: ID!
16936
+
16937
+ """Amount of the bid."""
16938
+ bidAmount: PositiveDecimal!
16939
+
16940
+ """
16941
+ Currency in 3-letter currency code format. If this is omitted, the marketplace currency will be used by default.
16942
+ """
16943
+ currency: String
16944
+
16945
+ """Message to add to the bid."""
16946
+ message: String
16947
+ }
16948
+
16949
+ enum BidRoleEnum {
16950
+ """Seller"""
16951
+ SELLER
16952
+
16953
+ """Buyer"""
16954
+ BUYER
16955
+ }
16956
+
16957
+ """Accepts the specificed bid."""
16958
+ type BidAccept {
16959
+ """Seller order for which the bid was accepted."""
16960
+ order: Order
16961
+
16962
+ """Nautical order for which the bid was accepted."""
16963
+ nauticalOrder: NauticalOrder
16964
+ bidErrors: [BidError!]!
16965
+ }
16966
+
16967
+ """Rejects the specificed bid."""
16968
+ type BidReject {
16969
+ """Seller order for which the bid was rejected."""
16970
+ order: Order
16971
+
16972
+ """Nautical order for which the bid was rejected."""
16973
+ nauticalOrder: NauticalOrder
16974
+ bidErrors: [BidError!]!
16975
+ }
16976
+
16765
16977
  """Updates nautical configuration."""
16766
16978
  type NauticalConfigurationUpdate {
16767
16979
  nauticalConfigurationList: [NauticalConfiguration!]
@@ -16826,6 +17038,11 @@ input MarketplaceConfigurationInput {
16826
17038
  """
16827
17039
  isSellerShippingZoneCreationAllowed: Boolean
16828
17040
 
17041
+ """
17042
+ True if marketplace accrues shipping revenue, false if sellers accrue shipping revenue
17043
+ """
17044
+ marketplaceAccruesShippingRevenue: Boolean @deprecated(reason: "Replaced by fulfillmentModel. This will be removed on November 25, 2024.")
17045
+
16829
17046
  """True if seller products require approval"""
16830
17047
  requireProductApproval: Boolean
16831
17048
 
@@ -16871,7 +17088,7 @@ input MarketplaceConfigurationInput {
16871
17088
  enableStockAllocationForQuotes: Boolean
16872
17089
 
16873
17090
  """True if offer orders trigger stock allocation."""
16874
- enableStockAllocationForOffers: Boolean @deprecated(reason: "This will be removed on February 20, 2025.")
17091
+ enableStockAllocationForOffers: Boolean
16875
17092
 
16876
17093
  """True if draft orders trigger stock allocation."""
16877
17094
  enableStockAllocationForDrafts: Boolean
@@ -18425,6 +18642,9 @@ input ShopSettingsInput {
18425
18642
  """Include taxes in prices."""
18426
18643
  includeTaxesInPrices: Boolean
18427
18644
 
18645
+ """Display prices with tax in store."""
18646
+ displayGrossPrices: Boolean @deprecated(reason: "This will be removed on November 22, 2024.")
18647
+
18428
18648
  """Charge taxes on shipping."""
18429
18649
  chargeTaxesOnShipping: Boolean
18430
18650
 
@@ -19964,7 +20184,7 @@ input ProductTypeInput {
19964
20184
  slug: String
19965
20185
 
19966
20186
  """
19967
- Allow variant price to be overridden for products in this product type in the checkout or in quote and draft orders.
20187
+ Allow variant price to be overridden for products in this product type in the checkout or in quote, draft and offer orders.
19968
20188
  """
19969
20189
  isPriceOverrideAllowed: Boolean
19970
20190
 
@@ -20988,6 +21208,7 @@ input OrderLineCreateInput {
20988
21208
  enum DraftOrderInitialStatus {
20989
21209
  DRAFT
20990
21210
  QUOTE
21211
+ OFFER
20991
21212
  }
20992
21213
 
20993
21214
  """Creates a new Nautical draft order."""
@@ -21189,7 +21410,7 @@ type NauticalDraftOrderLineDelete {
21189
21410
  orderErrors: [OrderError!]!
21190
21411
  }
21191
21412
 
21192
- """Updates an order line of a draft or quote order."""
21413
+ """Updates an order line of a draft, quote or offer order."""
21193
21414
  type DraftOrderLineUpdate {
21194
21415
  """A related draft or quote order."""
21195
21416
  order: Order
@@ -21275,9 +21496,11 @@ input NauticalDraftOrderInput {
21275
21496
  poNumbers: [String!]
21276
21497
  }
21277
21498
 
21278
- """Overrides unit net price of an order line of a draft or quote order."""
21499
+ """
21500
+ Overrides unit net price of an order line of a draft, quote, or offer order.
21501
+ """
21279
21502
  type DraftOrderLinePriceOverride {
21280
- """A related draft, or quote order."""
21503
+ """A related draft, quote, or offer order."""
21281
21504
  order: Order
21282
21505
  orderErrors: [OrderError!]!
21283
21506
  orderLine: OrderLine
@@ -21294,10 +21517,10 @@ input OrderLinePriceOverrideInput {
21294
21517
  }
21295
21518
 
21296
21519
  """
21297
- Overrides unit net price of a marketplace order line of a draft, or quote order.
21520
+ Overrides unit net price of a marketplace order line of a draft, quote, or offer order.
21298
21521
  """
21299
21522
  type NauticalDraftOrderLinePriceOverride {
21300
- """A related draft, or quote marketplace order."""
21523
+ """A related draft, quote, or offer marketplace order."""
21301
21524
  nauticalOrder: NauticalOrder
21302
21525
  orderErrors: [OrderError!]!
21303
21526
  nauticalOrderLine: NauticalOrderLine
@@ -21861,6 +22084,18 @@ type OrderFeeDelete {
21861
22084
  orderErrors: [OrderError!]!
21862
22085
  }
21863
22086
 
22087
+ """
22088
+ Converts a seller or marketplace offer order to a nautical quote order.
22089
+ """
22090
+ type OrderOfferConvertToNauticalQuoteOrder {
22091
+ """The converted Nautical Quote order (available only for MPO)."""
22092
+ nauticalOrder: NauticalOrder
22093
+
22094
+ """The converted Quote order"""
22095
+ order: Order
22096
+ orderErrors: [OrderError!]!
22097
+ }
22098
+
21864
22099
  """
21865
22100
  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
21866
22101
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.61.0-5-g1f6862617",
3
+ "version": "v1.61.0",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {