@nautical-commerce/graphql-schema 1.47.1 → 1.48.0-1-g89056a8be

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!
@@ -12379,7 +12374,7 @@ enum NotifyEventTypeEnum {
12379
12374
  ORDER_FULFILLMENT_UPDATE
12380
12375
 
12381
12376
  """Order Payment Confirmation"""
12382
- ORDER_PAYMENT_CONFIRMATION
12377
+ ORDER_PAYMENT_CONFIRMATION @deprecated(reason: "Will be removed on Nov 12, 2024")
12383
12378
 
12384
12379
  """Order Canceled"""
12385
12380
  ORDER_CANCELED
@@ -12391,7 +12386,7 @@ enum NotifyEventTypeEnum {
12391
12386
  ORDER_REFUND_CONFIRMATION
12392
12387
 
12393
12388
  """Seller Bid Action"""
12394
- SELLER_BID_ACTION
12389
+ SELLER_BID_ACTION @deprecated(reason: "Will be removed on Nov 12, 2024")
12395
12390
 
12396
12391
  """Pending Quote"""
12397
12392
  PENDING_QUOTE
@@ -12448,7 +12443,7 @@ enum NotifyEventTypeEnum {
12448
12443
  PENDING_CUSTOMER
12449
12444
 
12450
12445
  """Buyer Bid Action"""
12451
- BUYER_BID_ACTION
12446
+ BUYER_BID_ACTION @deprecated(reason: "Will be removed on Nov 12, 2024")
12452
12447
 
12453
12448
  """Quote Requested"""
12454
12449
  QUOTE_REQUESTED
@@ -13947,7 +13942,7 @@ type Mutation {
13947
13942
  description: String
13948
13943
 
13949
13944
  """
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.
13945
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/pdf, image/x-dwg, application/x-gzip, application/x-tif, text/plain, text/x-csv, application/x-dxf, text/rtf, application/excel, application/x-jpg, image/bmp, drawing/x-dwg, application/x-dwg, application/acad, application/dwg, application/x-tiff, application/eps, drawing/dwg, application/x-rar, application/gzipped, application/jpg, application/vnd.ms-word, application/gzip, image/x-tiff, application/x-rar-compressed, image/heic-sequence, image/jpeg, application/msword, image/x-eps, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/eps, image/x-dxf, drawing/x-dwf, pplication/vnd.rar, image/webp, text/svg-xml, application/x-csv, image/svg+xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-rtf, application/dxf, application/postscript, image/x-bmp, application/svg+xml, image/tif, application/csv, text/x-pdf, application/x-pdf, image/png, application/vnd.ms-powerpoint, image/heic, application/vnd.pdf, image/dxf, image/heif, application/x-tar, image/jpg, text/pdf, application/x-acad, text/x-comma-separated-values, text/csv, application/vnd.oasis.opendocument.spreadsheet, image/gif, text/svg, image/tiff, image/x-tif, image/svg, image/heif-sequence, application/x-autocad, image/x-ms-bmp, application/tif, application/vnd.oasis.opendocument.text, application/gzip-compressed, application/vnd.ms-excel, application/acrobat, image/vnd.dwg, application/vnd.oasis.opendocument.presentation, application/x-eps, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/rtf, text/comma-separated-values, application/tiff, application/x-zip-compressed, application/zip, application/vnd.openxmlformats-officedocument.wordprocessingml.document.
13951
13946
  """
13952
13947
  file: Upload!
13953
13948
 
@@ -14001,19 +13996,19 @@ type Mutation {
14001
13996
  bidCreate(
14002
13997
  """Fields required to create a new bid."""
14003
13998
  input: BidInput!
14004
- ): BidCreate
13999
+ ): BidCreate @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
14005
14000
 
14006
14001
  """Accepts the specificed bid."""
14007
14002
  bidAccept(
14008
14003
  """ID of the bid to accept."""
14009
14004
  bidId: ID!
14010
- ): BidAccept
14005
+ ): BidAccept @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
14011
14006
 
14012
14007
  """Rejects the specificed bid."""
14013
14008
  bidReject(
14014
14009
  """ID of the bid to reject."""
14015
14010
  bidId: ID!
14016
- ): BidReject
14011
+ ): BidReject @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
14017
14012
 
14018
14013
  """Updates nautical configuration."""
14019
14014
  nauticalConfigurationUpdate(input: [NauticalConfigurationInputItem!]): NauticalConfigurationUpdate
@@ -16077,6 +16072,17 @@ type Mutation {
16077
16072
  input: NauticalOrderUpdateShippingInput
16078
16073
  ): NauticalOrderUpdateShipping
16079
16074
 
16075
+ """Updates a marketplace shipping method of the order."""
16076
+ nauticalOrderUpdateMarketplaceShipping(
16077
+ """ID of the order to update a marketplce shipping method."""
16078
+ order: ID!
16079
+
16080
+ """
16081
+ Fields required to change marketplace shipping methods of the nautical order.
16082
+ """
16083
+ input: NauticalOrderUpdateMarketplaceShippingInput
16084
+ ): NauticalOrderUpdateMarketplaceShipping
16085
+
16080
16086
  """Void a nautical order."""
16081
16087
  nauticalOrderVoid(
16082
16088
  """ID of the order to void."""
@@ -16146,7 +16152,7 @@ type Mutation {
16146
16152
  ID of the nautical offer or offer order to be converted to a nautical quote order
16147
16153
  """
16148
16154
  id: ID!
16149
- ): OrderOfferConvertToNauticalQuoteOrder
16155
+ ): OrderOfferConvertToNauticalQuoteOrder @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
16150
16156
 
16151
16157
  """
16152
16158
  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 +16773,13 @@ type Mutation {
16767
16773
  shippingMethodSelection: ID!
16768
16774
  ): CheckoutSellerShippingMethodsUpdate
16769
16775
 
16776
+ """Updates the marketplace shipping methods of the checkout."""
16777
+ checkoutMarketplaceShippingMethodUpdate(
16778
+ """Checkout ID."""
16779
+ checkoutId: ID!
16780
+ shippingMethodSelection: ID!
16781
+ ): CheckoutMarketplaceShippingMethodUpdate
16782
+
16770
16783
  """Bulk clears the seller shipping methods of the checkout."""
16771
16784
  checkoutSellerShippingMethodsBulkUpdate(
16772
16785
  """Checkout ID."""
@@ -19623,7 +19636,7 @@ input ShopSettingsInput {
19623
19636
  includeTaxesInPrices: Boolean
19624
19637
 
19625
19638
  """Display prices with tax in store."""
19626
- displayGrossPrices: Boolean
19639
+ displayGrossPrices: Boolean @deprecated(reason: "This will be removed on November 22, 2024.")
19627
19640
 
19628
19641
  """Charge taxes on shipping."""
19629
19642
  chargeTaxesOnShipping: Boolean
@@ -22942,6 +22955,28 @@ input NauticalOrderUpdateShippingInput {
22942
22955
  newPrice: PositiveDecimal
22943
22956
  }
22944
22957
 
22958
+ """Updates a marketplace shipping method of the order."""
22959
+ type NauticalOrderUpdateMarketplaceShipping {
22960
+ """Nautical Order with updated marketplaceshipping method."""
22961
+ order: NauticalOrder
22962
+ orderErrors: [OrderError!]!
22963
+ }
22964
+
22965
+ input NauticalOrderUpdateMarketplaceShippingInput {
22966
+ """ID of the selected shipping method."""
22967
+ shippingMethod: ID!
22968
+
22969
+ """
22970
+ 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.
22971
+ """
22972
+ isManual: Boolean
22973
+
22974
+ """
22975
+ 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).
22976
+ """
22977
+ newPrice: PositiveDecimal
22978
+ }
22979
+
22945
22980
  """Void a nautical order."""
22946
22981
  type NauticalOrderVoid {
22947
22982
  """A voided order."""
@@ -24262,6 +24297,13 @@ type CheckoutSellerShippingMethodsUpdate {
24262
24297
  checkoutErrors: [CheckoutError!]!
24263
24298
  }
24264
24299
 
24300
+ """Updates the marketplace shipping methods of the checkout."""
24301
+ type CheckoutMarketplaceShippingMethodUpdate {
24302
+ """An updated checkout."""
24303
+ checkout: Checkout
24304
+ checkoutErrors: [CheckoutError!]!
24305
+ }
24306
+
24265
24307
  """Bulk clears the seller shipping methods of the checkout."""
24266
24308
  type CheckoutSellerShippingMethodsBulkUpdate {
24267
24309
  """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-1-g89056a8be",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {