@nautical-commerce/graphql-schema 1.47.1 → 1.48.0-2-gee4c2bcf0

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.
@@ -554,11 +554,6 @@ type Query {
554
554
 
555
555
  """List of product variants."""
556
556
  productVariants(
557
- """
558
- [Deprecated] Filter product variants by given IDs. Use the `filter` field instead. This field will be removed after 2023-12-31.
559
- """
560
- ids: [ID!]
561
-
562
557
  """Seller global id to filter by"""
563
558
  identifier: ID
564
559
 
@@ -2332,7 +2327,7 @@ type User implements Node & ObjectWithMetadata {
2332
2327
 
2333
2328
  """Return the last n elements from the list."""
2334
2329
  last: Int
2335
- ): OrderCountableConnection
2330
+ ): OrderCountableConnection @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
2336
2331
  numOrders: Int
2337
2332
 
2338
2333
  """List of user's nautical orders."""
@@ -2396,7 +2391,7 @@ type User implements Node & ObjectWithMetadata {
2396
2391
 
2397
2392
  """Return the last n elements from the list."""
2398
2393
  last: Int
2399
- ): NauticalOrderCountableConnection
2394
+ ): NauticalOrderCountableConnection @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
2400
2395
 
2401
2396
  """List of user's permissions."""
2402
2397
  userPermissions: [UserPermission!]
@@ -3805,10 +3800,10 @@ type Order implements Node & ObjectWithMetadata {
3805
3800
  channel: Channel @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
3806
3801
 
3807
3802
  """Latest bid made against the order."""
3808
- currentBid: Bid
3803
+ currentBid: Bid @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
3809
3804
 
3810
3805
  """List of all bids made against the order."""
3811
- bids: [Bid!]
3806
+ bids: [Bid!] @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
3812
3807
 
3813
3808
  """
3814
3809
  Determines if seller is the only seller on the related nautical order. Note: if nautical order doesn't exist - will return None.
@@ -5629,10 +5624,10 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5629
5624
  shippingMethodName: String!
5630
5625
 
5631
5626
  """Latest bid made against the order."""
5632
- currentBid: Bid
5627
+ currentBid: Bid @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
5633
5628
 
5634
5629
  """List of all bids made against the order."""
5635
- bids: [Bid!]
5630
+ bids: [Bid!] @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
5636
5631
 
5637
5632
  """List of all the vendor orders connected to this marketplace order."""
5638
5633
  subOrders: [Order!]
@@ -6255,21 +6250,21 @@ type ShippingZone implements Node & ObjectWithMetadata {
6255
6250
  seller: Seller!
6256
6251
 
6257
6252
  """List of warehouses for shipping zone."""
6258
- warehouses: [Warehouse!]
6253
+ warehouses: [Warehouse!]!
6259
6254
 
6260
6255
  """Lowest and highest prices for the shipping."""
6261
- priceRange: MoneyRange
6256
+ priceRange: MoneyRange!
6262
6257
 
6263
6258
  """List of countries available for the method."""
6264
- countries: [CountryDisplay!]
6259
+ countries: [CountryDisplay!]!
6265
6260
 
6266
6261
  """
6267
6262
  List of shipping methods available for orders shipped to countries within this shipping zone.
6268
6263
  """
6269
- shippingMethods: [ShippingMethod!]
6264
+ shippingMethods: [ShippingMethod!]!
6270
6265
 
6271
6266
  """List of country areas this shipping zone is limited to."""
6272
- countryAreas: [ShippingZoneCountryArea!]
6267
+ countryAreas: [ShippingZoneCountryArea!]!
6273
6268
 
6274
6269
  """
6275
6270
  Default shipping zone will be used for countries not covered by other zones.
@@ -8978,7 +8973,7 @@ type Shop {
8978
8973
  includeTaxesInPrices: Boolean!
8979
8974
 
8980
8975
  """Display prices with tax in store."""
8981
- displayGrossPrices: Boolean!
8976
+ displayGrossPrices: Boolean! @deprecated(reason: "This will be removed on November 22, 2024. Use the includeTaxesInPrices setting instead.")
8982
8977
 
8983
8978
  """Charge taxes on shipping."""
8984
8979
  chargeTaxesOnShipping: Boolean!
@@ -11521,7 +11516,11 @@ input MenuItemFilterInput {
11521
11516
  type MarketplaceConfiguration {
11522
11517
  marketplaceName: String!
11523
11518
  maxProductsInGroup: Int!
11524
- marketplaceAccruesShippingRevenue: Boolean!
11519
+
11520
+ """
11521
+ True if marketplace accrues shipping revenue, false if sellers accrue shipping revenue
11522
+ """
11523
+ marketplaceAccruesShippingRevenue: Boolean @deprecated(reason: "Replaced by fulfillmentModel. This will be removed after 2024-11-25.")
11525
11524
  requireProductApproval: Boolean!
11526
11525
  requireProductTypes: Boolean!
11527
11526
 
@@ -12379,7 +12378,7 @@ enum NotifyEventTypeEnum {
12379
12378
  ORDER_FULFILLMENT_UPDATE
12380
12379
 
12381
12380
  """Order Payment Confirmation"""
12382
- ORDER_PAYMENT_CONFIRMATION
12381
+ ORDER_PAYMENT_CONFIRMATION @deprecated(reason: "Will be removed on Nov 12, 2024")
12383
12382
 
12384
12383
  """Order Canceled"""
12385
12384
  ORDER_CANCELED
@@ -12391,7 +12390,7 @@ enum NotifyEventTypeEnum {
12391
12390
  ORDER_REFUND_CONFIRMATION
12392
12391
 
12393
12392
  """Seller Bid Action"""
12394
- SELLER_BID_ACTION
12393
+ SELLER_BID_ACTION @deprecated(reason: "Will be removed on Nov 12, 2024")
12395
12394
 
12396
12395
  """Pending Quote"""
12397
12396
  PENDING_QUOTE
@@ -12448,7 +12447,7 @@ enum NotifyEventTypeEnum {
12448
12447
  PENDING_CUSTOMER
12449
12448
 
12450
12449
  """Buyer Bid Action"""
12451
- BUYER_BID_ACTION
12450
+ BUYER_BID_ACTION @deprecated(reason: "Will be removed on Nov 12, 2024")
12452
12451
 
12453
12452
  """Quote Requested"""
12454
12453
  QUOTE_REQUESTED
@@ -13947,7 +13946,7 @@ type Mutation {
13947
13946
  description: String
13948
13947
 
13949
13948
  """
13950
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/dxf, application/dwg, application/jpg, image/tif, application/postscript, text/x-csv, image/bmp, image/x-bmp, pplication/vnd.rar, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/dxf, image/x-tif, text/pdf, image/x-dwg, application/vnd.ms-excel, drawing/dwg, text/svg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-rar-compressed, application/vnd.ms-word, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/jpg, image/eps, image/tiff, text/plain, application/x-tar, application/acrobat, application/tiff, application/pdf, text/comma-separated-values, application/x-dxf, application/vnd.ms-powerpoint, application/csv, image/svg, application/vnd.pdf, image/gif, drawing/x-dwg, image/x-ms-bmp, application/vnd.oasis.opendocument.spreadsheet, application/x-tif, application/x-dwg, text/x-comma-separated-values, application/x-jpg, application/vnd.oasis.opendocument.presentation, image/heif-sequence, application/gzipped, image/x-dxf, drawing/x-dwf, text/x-pdf, application/tif, image/heic, image/x-tiff, image/vnd.dwg, application/x-eps, text/rtf, application/msword, image/svg+xml, image/jpeg, application/x-autocad, application/x-zip-compressed, application/x-csv, image/x-eps, application/x-acad, image/webp, image/heif, application/x-pdf, text/svg-xml, application/eps, application/rtf, application/excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/svg+xml, image/png, application/vnd.oasis.opendocument.text, image/heic-sequence, application/x-rar, application/x-tiff, application/gzip-compressed, application/gzip, application/x-gzip, application/x-rtf, application/zip, text/csv, application/acad.
13949
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: text/svg, application/eps, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/tif, application/gzip-compressed, image/x-tiff, text/x-csv, drawing/x-dwf, application/gzipped, image/dxf, application/x-jpg, application/rtf, image/jpg, image/png, application/x-eps, image/vnd.dwg, application/x-dwg, application/x-rtf, application/acad, image/x-tif, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/msword, application/dwg, text/plain, text/rtf, text/x-comma-separated-values, application/acrobat, image/webp, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/gzip, image/x-ms-bmp, image/x-eps, application/x-pdf, application/jpg, image/gif, pplication/vnd.rar, application/x-tar, application/dxf, image/heif-sequence, application/x-tif, image/jpeg, application/x-rar-compressed, image/x-bmp, application/vnd.oasis.opendocument.text, image/tiff, application/x-autocad, text/csv, image/eps, application/vnd.ms-powerpoint, text/svg-xml, image/heic-sequence, application/csv, application/x-csv, drawing/x-dwg, application/x-gzip, application/vnd.pdf, application/svg+xml, image/x-dwg, application/x-dxf, image/x-dxf, image/svg+xml, text/comma-separated-values, application/vnd.oasis.opendocument.spreadsheet, application/postscript, application/x-tiff, image/heic, application/vnd.ms-excel, application/zip, application/x-zip-compressed, image/heif, image/bmp, application/x-acad, application/tif, application/excel, application/vnd.ms-word, application/x-rar, drawing/dwg, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/svg, application/vnd.oasis.opendocument.presentation, text/pdf, text/x-pdf, application/tiff, application/pdf.
13951
13950
  """
13952
13951
  file: Upload!
13953
13952
 
@@ -14001,19 +14000,19 @@ type Mutation {
14001
14000
  bidCreate(
14002
14001
  """Fields required to create a new bid."""
14003
14002
  input: BidInput!
14004
- ): BidCreate
14003
+ ): BidCreate @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
14005
14004
 
14006
14005
  """Accepts the specificed bid."""
14007
14006
  bidAccept(
14008
14007
  """ID of the bid to accept."""
14009
14008
  bidId: ID!
14010
- ): BidAccept
14009
+ ): BidAccept @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
14011
14010
 
14012
14011
  """Rejects the specificed bid."""
14013
14012
  bidReject(
14014
14013
  """ID of the bid to reject."""
14015
14014
  bidId: ID!
14016
- ): BidReject
14015
+ ): BidReject @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
14017
14016
 
14018
14017
  """Updates nautical configuration."""
14019
14018
  nauticalConfigurationUpdate(input: [NauticalConfigurationInputItem!]): NauticalConfigurationUpdate
@@ -16077,6 +16076,17 @@ type Mutation {
16077
16076
  input: NauticalOrderUpdateShippingInput
16078
16077
  ): NauticalOrderUpdateShipping
16079
16078
 
16079
+ """Updates a marketplace shipping method of the order."""
16080
+ nauticalOrderUpdateMarketplaceShipping(
16081
+ """ID of the order to update a marketplce shipping method."""
16082
+ order: ID!
16083
+
16084
+ """
16085
+ Fields required to change marketplace shipping methods of the nautical order.
16086
+ """
16087
+ input: NauticalOrderUpdateMarketplaceShippingInput
16088
+ ): NauticalOrderUpdateMarketplaceShipping
16089
+
16080
16090
  """Void a nautical order."""
16081
16091
  nauticalOrderVoid(
16082
16092
  """ID of the order to void."""
@@ -16146,7 +16156,7 @@ type Mutation {
16146
16156
  ID of the nautical offer or offer order to be converted to a nautical quote order
16147
16157
  """
16148
16158
  id: ID!
16149
- ): OrderOfferConvertToNauticalQuoteOrder
16159
+ ): OrderOfferConvertToNauticalQuoteOrder @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
16150
16160
 
16151
16161
  """
16152
16162
  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
@@ -16767,6 +16777,13 @@ type Mutation {
16767
16777
  shippingMethodSelection: ID!
16768
16778
  ): CheckoutSellerShippingMethodsUpdate
16769
16779
 
16780
+ """Updates the marketplace shipping methods of the checkout."""
16781
+ checkoutMarketplaceShippingMethodUpdate(
16782
+ """Checkout ID."""
16783
+ checkoutId: ID!
16784
+ shippingMethodSelection: ID!
16785
+ ): CheckoutMarketplaceShippingMethodUpdate
16786
+
16770
16787
  """Bulk clears the seller shipping methods of the checkout."""
16771
16788
  checkoutSellerShippingMethodsBulkUpdate(
16772
16789
  """Checkout ID."""
@@ -17750,7 +17767,7 @@ input MarketplaceConfigurationInput {
17750
17767
  """
17751
17768
  True if marketplace accrues shipping revenue, false if sellers accrue shipping revenue
17752
17769
  """
17753
- marketplaceAccruesShippingRevenue: Boolean
17770
+ marketplaceAccruesShippingRevenue: Boolean @deprecated(reason: "Replaced by fulfillmentModel. This will be removed after 2024-11-25.")
17754
17771
 
17755
17772
  """True if seller products require approval"""
17756
17773
  requireProductApproval: Boolean
@@ -19623,7 +19640,7 @@ input ShopSettingsInput {
19623
19640
  includeTaxesInPrices: Boolean
19624
19641
 
19625
19642
  """Display prices with tax in store."""
19626
- displayGrossPrices: Boolean
19643
+ displayGrossPrices: Boolean @deprecated(reason: "This will be removed on November 22, 2024.")
19627
19644
 
19628
19645
  """Charge taxes on shipping."""
19629
19646
  chargeTaxesOnShipping: Boolean
@@ -22942,6 +22959,28 @@ input NauticalOrderUpdateShippingInput {
22942
22959
  newPrice: PositiveDecimal
22943
22960
  }
22944
22961
 
22962
+ """Updates a marketplace shipping method of the order."""
22963
+ type NauticalOrderUpdateMarketplaceShipping {
22964
+ """Nautical Order with updated marketplaceshipping method."""
22965
+ order: NauticalOrder
22966
+ orderErrors: [OrderError!]!
22967
+ }
22968
+
22969
+ input NauticalOrderUpdateMarketplaceShippingInput {
22970
+ """ID of the selected shipping method."""
22971
+ shippingMethod: ID!
22972
+
22973
+ """
22974
+ Allows freeze shipping price and make it independent from the related shipping method price. If you make shipping price manual, and want unfreeze it (restore sync based on shipping method price) you can transfer 'false' value for this field.
22975
+ """
22976
+ isManual: Boolean
22977
+
22978
+ """
22979
+ Manual price, that allows overwrite shipping method price. When this field provided, then 'isManual' will be set to the 'true'. You cannot transfer this field, when you explicitly transferring 'isManual: false' too (except the case, when this price will be equals to actual shipping method price).
22980
+ """
22981
+ newPrice: PositiveDecimal
22982
+ }
22983
+
22945
22984
  """Void a nautical order."""
22946
22985
  type NauticalOrderVoid {
22947
22986
  """A voided order."""
@@ -24262,6 +24301,13 @@ type CheckoutSellerShippingMethodsUpdate {
24262
24301
  checkoutErrors: [CheckoutError!]!
24263
24302
  }
24264
24303
 
24304
+ """Updates the marketplace shipping methods of the checkout."""
24305
+ type CheckoutMarketplaceShippingMethodUpdate {
24306
+ """An updated checkout."""
24307
+ checkout: Checkout
24308
+ checkoutErrors: [CheckoutError!]!
24309
+ }
24310
+
24265
24311
  """Bulk clears the seller shipping methods of the checkout."""
24266
24312
  type CheckoutSellerShippingMethodsBulkUpdate {
24267
24313
  """An updated checkout."""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.47.1",
3
+ "version": "v1.48.0-2-gee4c2bcf0",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {