@nautical-commerce/graphql-schema 1.73.0-9-g607b074f3 → 1.74.0

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.
@@ -742,7 +742,7 @@ type Query {
742
742
  priceBook(
743
743
  """ID of a price book."""
744
744
  id: ID!
745
- ): PriceBook
745
+ ): PriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
746
746
 
747
747
  """List of price books."""
748
748
  priceBooks(
@@ -763,7 +763,7 @@ type Query {
763
763
 
764
764
  """Return the last n elements from the list."""
765
765
  last: Int
766
- ): PriceBookCountableConnection
766
+ ): PriceBookCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
767
767
 
768
768
  """List of price book variants in."""
769
769
  priceBookVariants(
@@ -790,7 +790,7 @@ type Query {
790
790
 
791
791
  """Return the last n elements from the list."""
792
792
  last: Int
793
- ): PriceBookVariantCountableConnection
793
+ ): PriceBookVariantCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
794
794
 
795
795
  """List of price book products."""
796
796
  priceBookProducts(
@@ -817,7 +817,7 @@ type Query {
817
817
 
818
818
  """Return the last n elements from the list."""
819
819
  last: Int
820
- ): PriceBookProductCountableConnection
820
+ ): PriceBookProductCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
821
821
 
822
822
  """List of price book product types."""
823
823
  priceBookProductTypes(
@@ -844,7 +844,7 @@ type Query {
844
844
 
845
845
  """Return the last n elements from the list."""
846
846
  last: Int
847
- ): PriceBookProductTypeCountableConnection
847
+ ): PriceBookProductTypeCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
848
848
 
849
849
  """List of price book variants in history table."""
850
850
  priceBookVariantsHistory(
@@ -871,7 +871,7 @@ type Query {
871
871
 
872
872
  """Return the last n elements from the list."""
873
873
  last: Int
874
- ): PriceBookVariantHistoryCountableConnection
874
+ ): PriceBookVariantHistoryCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
875
875
 
876
876
  """List of price book products in history table."""
877
877
  priceBookProductsHistory(
@@ -898,7 +898,7 @@ type Query {
898
898
 
899
899
  """Return the last n elements from the list."""
900
900
  last: Int
901
- ): PriceBookProductHistoryCountableConnection
901
+ ): PriceBookProductHistoryCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
902
902
 
903
903
  """List of price book product types in history tables."""
904
904
  priceBookProductTypesHistory(
@@ -925,7 +925,7 @@ type Query {
925
925
 
926
926
  """Return the last n elements from the list."""
927
927
  last: Int
928
- ): PriceBookProductTypeHistoryCountableConnection
928
+ ): PriceBookProductTypeHistoryCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
929
929
 
930
930
  """Look up users attached to a price book by ID."""
931
931
  priceBookUsers(
@@ -946,7 +946,7 @@ type Query {
946
946
 
947
947
  """Return the last n elements from the list."""
948
948
  last: Int
949
- ): UserCountableConnection
949
+ ): UserCountableConnection @deprecated(reason: "Price books will be removed on June 11, 2025")
950
950
 
951
951
  """Look up a plugin by ID."""
952
952
  plugin(
@@ -1363,13 +1363,13 @@ type Query {
1363
1363
 
1364
1364
  """Return the last n elements from the list."""
1365
1365
  last: Int
1366
- ): NauticalOrderCountableConnection
1366
+ ): NauticalOrderCountableConnection @deprecated(reason: "Quotes will be removed on June 11, 2025")
1367
1367
 
1368
1368
  """Look up a nautical quote order by token"""
1369
1369
  nauticalQuoteOrderByToken(
1370
1370
  """The Nautical quote order token"""
1371
1371
  token: NauticalUUID!
1372
- ): NauticalOrder
1372
+ ): NauticalOrder @deprecated(reason: "Quotes will be removed on June 11, 2025")
1373
1373
 
1374
1374
  """List of quote orders."""
1375
1375
  quoteOrders(
@@ -1393,7 +1393,7 @@ type Query {
1393
1393
 
1394
1394
  """Return the last n elements from the list."""
1395
1395
  last: Int
1396
- ): OrderCountableConnection
1396
+ ): OrderCountableConnection @deprecated(reason: "Quotes will be removed on June 11, 2025")
1397
1397
 
1398
1398
  """Return the total sales amount from a specific period."""
1399
1399
  ordersTotal(
@@ -2416,7 +2416,7 @@ type User implements Node & ObjectWithMetadata {
2416
2416
 
2417
2417
  """Return the last n elements from the list."""
2418
2418
  last: Int
2419
- ): OrderCountableConnection
2419
+ ): OrderCountableConnection @deprecated(reason: "Quotes will be removed on June 11, 2025")
2420
2420
  numOrders: Int
2421
2421
 
2422
2422
  """List of user's nautical orders."""
@@ -2459,7 +2459,7 @@ type User implements Node & ObjectWithMetadata {
2459
2459
 
2460
2460
  """Return the last n elements from the list."""
2461
2461
  last: Int
2462
- ): NauticalOrderCountableConnection
2462
+ ): NauticalOrderCountableConnection @deprecated(reason: "Quotes will be removed on June 11, 2025")
2463
2463
 
2464
2464
  """List of user's permissions."""
2465
2465
  userPermissions: [UserPermission!]!
@@ -2516,7 +2516,7 @@ type User implements Node & ObjectWithMetadata {
2516
2516
  documents: [Document!]!
2517
2517
 
2518
2518
  """Returns values of price book the user is added to"""
2519
- priceBook: PriceBook
2519
+ priceBook: PriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
2520
2520
 
2521
2521
  """
2522
2522
  If null, then the environment isn't set and they don't have dashboard reporting enabled
@@ -2665,6 +2665,9 @@ type Checkout implements Node & ObjectWithMetadata {
2665
2665
  """The price of the checkout before shipping, with taxes included."""
2666
2666
  subtotalPrice: TaxedMoney!
2667
2667
 
2668
+ """The price of the checkout before discount, shipping and taxes"""
2669
+ originalPrice: Money!
2670
+
2668
2671
  """The checkout's token."""
2669
2672
  token: NauticalUUID!
2670
2673
 
@@ -3897,7 +3900,7 @@ enum OrderOrderSource {
3897
3900
  """An enumeration."""
3898
3901
  enum OrderStatus {
3899
3902
  DRAFT
3900
- QUOTE
3903
+ QUOTE @deprecated(reason: "This will be removed on June 11, 2025")
3901
3904
  UNFULFILLED
3902
3905
  PARTIALLY_FULFILLED
3903
3906
  FULFILLED
@@ -5720,10 +5723,10 @@ enum NauticalOrderSubStatus {
5720
5723
 
5721
5724
  enum OrderSubStatusEnum {
5722
5725
  """In Review"""
5723
- IN_REVIEW
5726
+ IN_REVIEW @deprecated(reason: "This will be removed on June 11, 2025")
5724
5727
 
5725
5728
  """Quote Requested"""
5726
- QUOTE_REQUESTED
5729
+ QUOTE_REQUESTED @deprecated(reason: "This will be removed on June 11, 2025")
5727
5730
 
5728
5731
  """Awaiting Payment"""
5729
5732
  AWAITING_PAYMENT
@@ -5791,7 +5794,7 @@ type OrderLine implements Node & ObjectWithMetadata {
5791
5794
  allocations: [Allocation!]
5792
5795
 
5793
5796
  """The pricebook, if any, that changed the price of this line."""
5794
- priceBook: PriceBook
5797
+ priceBook: PriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
5795
5798
 
5796
5799
  """The number of items ordered on this order line."""
5797
5800
  quantityOrdered: Int!
@@ -5890,7 +5893,7 @@ type NauticalOrderLine implements Node & ObjectWithMetadata {
5890
5893
  translatedVariantName: String!
5891
5894
 
5892
5895
  """The pricebook, if any, that changed the price of this line"""
5893
- priceBook: PriceBook
5896
+ priceBook: PriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
5894
5897
 
5895
5898
  """The related orderline attached to the connected seller order"""
5896
5899
  sellerOrderline: OrderLine
@@ -7806,10 +7809,11 @@ enum OrderStatusFilter {
7806
7809
  CANCELED
7807
7810
  }
7808
7811
 
7812
+ """An enumeration."""
7809
7813
  enum OrderSourceFilter {
7810
7814
  CHECKOUT
7811
7815
  DRAFT
7812
- QUOTE
7816
+ QUOTE @deprecated(reason: "This will be removed on June 11, 2025")
7813
7817
  MANUAL
7814
7818
  EXTERNAL
7815
7819
  }
@@ -8549,7 +8553,7 @@ type Shop {
8549
8553
  dashboardUrl: String
8550
8554
 
8551
8555
  """Whether the marketplace has enabled quote orders."""
8552
- enableQuoteOrders: Boolean
8556
+ enableQuoteOrders: Boolean @deprecated(reason: "Quotes will be removed on June 11, 2025")
8553
8557
 
8554
8558
  """Whether the marketplace has enabled offer orders."""
8555
8559
  enableOfferOrders: Boolean @deprecated(reason: "This will be removed on February 20, 2025.")
@@ -13164,7 +13168,7 @@ type Mutation {
13164
13168
  description: String
13165
13169
 
13166
13170
  """
13167
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/heic, text/x-pdf, application/x-jpg, pplication/vnd.rar, text/csv, image/heif-sequence, image/eps, image/gif, text/pdf, image/heif, application/dxf, application/x-zip-compressed, text/svg, application/x-dwg, image/x-dwg, image/webp, application/x-autocad, image/jpeg, application/x-rar-compressed, image/vnd.dwg, image/tif, application/acad, application/excel, text/svg-xml, drawing/x-dwg, application/msword, image/svg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-csv, image/x-bmp, application/vnd.pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/gzip-compressed, image/x-dxf, application/jpg, application/gzipped, image/tiff, application/pdf, application/vnd.ms-powerpoint, drawing/dwg, image/x-tif, application/x-tif, application/x-tar, application/vnd.ms-word, application/zip, application/x-pdf, text/rtf, image/heic-sequence, text/x-comma-separated-values, application/x-rtf, application/tif, drawing/x-dwf, application/rtf, image/x-ms-bmp, application/x-tiff, application/dwg, application/x-acad, application/postscript, application/x-gzip, application/x-eps, application/vnd.oasis.opendocument.spreadsheet, application/vnd.ms-excel, application/x-dxf, text/x-csv, application/svg+xml, image/jpg, image/dxf, application/x-rar, image/x-tiff, text/plain, image/x-eps, application/eps, application/gzip, text/comma-separated-values, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/tiff, application/acrobat, image/png, application/vnd.oasis.opendocument.text, image/svg+xml, image/bmp, application/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.oasis.opendocument.presentation.
13171
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/webp, application/x-eps, image/svg, image/x-bmp, application/vnd.oasis.opendocument.spreadsheet, image/bmp, application/postscript, application/svg+xml, application/jpg, application/dxf, text/plain, text/csv, application/vnd.ms-excel, text/svg, pplication/vnd.rar, application/vnd.ms-word, application/pdf, application/msword, text/rtf, text/x-pdf, drawing/x-dwf, application/gzip, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-dwg, application/x-rar, application/vnd.pdf, text/x-csv, image/x-ms-bmp, application/tiff, image/x-tif, application/vnd.oasis.opendocument.presentation, drawing/dwg, image/x-dxf, image/eps, image/tiff, application/x-gzip, application/x-pdf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/csv, application/x-zip-compressed, application/vnd.oasis.opendocument.text, application/x-jpg, application/gzip-compressed, application/x-rtf, image/heif-sequence, image/jpeg, application/x-csv, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/pdf, application/x-rar-compressed, application/rtf, drawing/x-dwg, application/acrobat, application/x-tif, image/heic-sequence, image/jpg, application/x-acad, text/comma-separated-values, application/x-tar, image/png, application/x-dxf, image/dxf, image/heic, application/tif, text/x-comma-separated-values, image/heif, image/gif, image/tif, application/excel, image/svg+xml, image/x-tiff, image/x-eps, application/acad, application/x-tiff, text/svg-xml, application/eps, application/x-autocad, image/vnd.dwg, application/gzipped, application/vnd.ms-powerpoint, application/zip, image/x-dwg, application/dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.
13168
13172
  """
13169
13173
  file: Upload!
13170
13174
 
@@ -14012,7 +14016,7 @@ type Mutation {
14012
14016
  priceBookCreate(
14013
14017
  """Fields required to create a price book."""
14014
14018
  input: PriceBookCreateInput!
14015
- ): PriceBookCreate
14019
+ ): PriceBookCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
14016
14020
 
14017
14021
  """Updates an existing price book."""
14018
14022
  priceBookUpdate(
@@ -14021,25 +14025,25 @@ type Mutation {
14021
14025
 
14022
14026
  """Fields required to update a price book."""
14023
14027
  input: PriceBookUpdateInput!
14024
- ): PriceBookUpdate
14028
+ ): PriceBookUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
14025
14029
 
14026
14030
  """Deletes a price book."""
14027
14031
  priceBookDelete(
14028
14032
  """ID of a price book to delete."""
14029
14033
  id: ID!
14030
- ): PriceBookDelete
14034
+ ): PriceBookDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14031
14035
 
14032
14036
  """Deletes price books."""
14033
14037
  priceBookBulkDelete(
14034
14038
  """List of price book IDs to delete."""
14035
14039
  ids: [ID!]!
14036
- ): PriceBookBulkDelete
14040
+ ): PriceBookBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14037
14041
 
14038
14042
  """Add a variant to price book."""
14039
14043
  priceBookVariantCreate(
14040
14044
  """Fields required to add a price book variant."""
14041
14045
  input: PriceBookVariantCreateInput!
14042
- ): PriceBookVariantCreate
14046
+ ): PriceBookVariantCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
14043
14047
 
14044
14048
  """Updates an existing price book variant."""
14045
14049
  priceBookVariantUpdate(
@@ -14048,25 +14052,25 @@ type Mutation {
14048
14052
 
14049
14053
  """Fields required to update a price book variant."""
14050
14054
  input: PriceBookVariantUpdateInput!
14051
- ): PriceBookVariantUpdate
14055
+ ): PriceBookVariantUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
14052
14056
 
14053
14057
  """Deletes a price book variant."""
14054
14058
  priceBookVariantDelete(
14055
14059
  """ID of a price book variant to delete."""
14056
14060
  id: ID!
14057
- ): PriceBookVariantDelete
14061
+ ): PriceBookVariantDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14058
14062
 
14059
14063
  """Deletes price book's variants."""
14060
14064
  priceBookVariantBulkDelete(
14061
14065
  """List of price book variant IDs to delete."""
14062
14066
  ids: [ID!]!
14063
- ): PriceBookVariantBulkDelete
14067
+ ): PriceBookVariantBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14064
14068
 
14065
14069
  """Add a product to price book."""
14066
14070
  priceBookProductCreate(
14067
14071
  """Fields required to add a price book product."""
14068
14072
  input: PriceBookProductCreateInput!
14069
- ): PriceBookProductCreate
14073
+ ): PriceBookProductCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
14070
14074
 
14071
14075
  """Updates an existing price book product."""
14072
14076
  priceBookProductUpdate(
@@ -14075,25 +14079,25 @@ type Mutation {
14075
14079
 
14076
14080
  """Fields required to update a price book product."""
14077
14081
  input: PriceBookProductUpdateInput!
14078
- ): PriceBookProductUpdate
14082
+ ): PriceBookProductUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
14079
14083
 
14080
14084
  """Deletes a price book product."""
14081
14085
  priceBookProductDelete(
14082
14086
  """ID of a price book product to delete."""
14083
14087
  id: ID!
14084
- ): PriceBookProductDelete
14088
+ ): PriceBookProductDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14085
14089
 
14086
14090
  """Deletes price book's products."""
14087
14091
  priceBookProductBulkDelete(
14088
14092
  """List of price book product IDs to delete."""
14089
14093
  ids: [ID!]!
14090
- ): PriceBookProductBulkDelete
14094
+ ): PriceBookProductBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14091
14095
 
14092
14096
  """Add a product type to price book."""
14093
14097
  priceBookProductTypeCreate(
14094
14098
  """Fields required to add a price book product type."""
14095
14099
  input: PriceBookProductTypeCreateInput!
14096
- ): PriceBookProductTypeCreate
14100
+ ): PriceBookProductTypeCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
14097
14101
 
14098
14102
  """Updates an existing price book product type."""
14099
14103
  priceBookProductTypeUpdate(
@@ -14102,31 +14106,31 @@ type Mutation {
14102
14106
 
14103
14107
  """Fields required to update a price book product type."""
14104
14108
  input: PriceBookProductTypeUpdateInput!
14105
- ): PriceBookProductTypeUpdate
14109
+ ): PriceBookProductTypeUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
14106
14110
 
14107
14111
  """Deletes a price book product type."""
14108
14112
  priceBookProductTypeDelete(
14109
14113
  """ID of a price book product type to delete."""
14110
14114
  id: ID!
14111
- ): PriceBookProductTypeDelete
14115
+ ): PriceBookProductTypeDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14112
14116
 
14113
14117
  """Deletes price book's product types."""
14114
14118
  priceBookProductTypeBulkDelete(
14115
14119
  """List of price book product type IDs to delete."""
14116
14120
  ids: [ID!]!
14117
- ): PriceBookProductTypeBulkDelete
14121
+ ): PriceBookProductTypeBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14118
14122
 
14119
14123
  """Add a user to price book."""
14120
14124
  userAddToPriceBook(
14121
14125
  """Fields required to add a user to price book."""
14122
14126
  input: UserAddToPriceBookInput!
14123
- ): UserAddToPriceBook
14127
+ ): UserAddToPriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
14124
14128
 
14125
14129
  """Removes a user from price book."""
14126
14130
  userRemoveFromPriceBook(
14127
14131
  """ID of user to be removed from price book."""
14128
14132
  id: ID!
14129
- ): UserRemoveFromPriceBook
14133
+ ): UserRemoveFromPriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
14130
14134
 
14131
14135
  """Creates a new category."""
14132
14136
  categoryCreate(
@@ -15126,7 +15130,7 @@ type Mutation {
15126
15130
  URL to send customer to for quote confirmation. Whatever URL is sent will have `token` added to the search parameters of the URL, e.g. if you send http://localhost/quote, the generated URL will be http://localhost/quote?token=...
15127
15131
  """
15128
15132
  storefrontUrl: String!
15129
- ): NauticalQuoteOrderSendToCustomer @deprecated(reason: "The ability to send Order IDs will be removed on February 26, 2025.")
15133
+ ): NauticalQuoteOrderSendToCustomer @deprecated(reason: "The ability to send Order IDs will be removed on February 26, 2025. This will be removed on June 11, 2025.")
15130
15134
 
15131
15135
  """Creates a new order fee."""
15132
15136
  orderFeeCreate(
@@ -15607,7 +15611,7 @@ type Mutation {
15607
15611
  checkoutConvertToNauticalQuoteOrder(
15608
15612
  """Checkout ID."""
15609
15613
  checkoutId: ID!
15610
- ): CheckoutConvertToNauticalQuoteOrder
15614
+ ): CheckoutConvertToNauticalQuoteOrder @deprecated(reason: "Quotes will be removed on June 11, 2025")
15611
15615
 
15612
15616
  """Create a new checkout."""
15613
15617
  checkoutCreate(
@@ -16593,7 +16597,7 @@ input MarketplaceConfigurationInput {
16593
16597
  supportedCountries: [String!]
16594
16598
 
16595
16599
  """True if sellers can send quotes to customers."""
16596
- sellerCanSendQuote: Boolean
16600
+ sellerCanSendQuote: Boolean @deprecated(reason: "Quotes will be removed on June 11, 2025")
16597
16601
 
16598
16602
  """Determines scope for checking duplicated variant attribute sets"""
16599
16603
  variantUniqueness: VariantUniquenessEnum = null
@@ -16602,7 +16606,7 @@ input MarketplaceConfigurationInput {
16602
16606
  defaultSellerChecklists: [DefaultSellerChecklistInput!]
16603
16607
 
16604
16608
  """True if quote orders trigger stock allocation."""
16605
- enableStockAllocationForQuotes: Boolean
16609
+ enableStockAllocationForQuotes: Boolean @deprecated(reason: "Quotes will be removed on June 11, 2025")
16606
16610
 
16607
16611
  """True if offer orders trigger stock allocation."""
16608
16612
  enableStockAllocationForOffers: Boolean @deprecated(reason: "This will be removed on February 20, 2025.")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.73.0-9-g607b074f3",
3
+ "version": "v1.74.0",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {