@nautical-commerce/graphql-schema 1.73.0-26-g7fb49d8d9 → 1.73.0-28-g6de43cfc9

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(
@@ -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
 
@@ -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
@@ -13164,7 +13167,7 @@ type Mutation {
13164
13167
  description: String
13165
13168
 
13166
13169
  """
13167
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/tif, application/pdf, application/x-rtf, application/x-jpg, text/csv, application/vnd.ms-word, application/gzip-compressed, text/plain, text/rtf, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-rar-compressed, application/vnd.oasis.opendocument.presentation, application/acad, application/svg+xml, application/tiff, application/rtf, application/x-dwg, application/msword, image/x-dwg, image/dxf, application/x-acad, image/jpeg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, drawing/dwg, image/x-dxf, image/heif, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/gif, application/vnd.ms-powerpoint, drawing/x-dwg, image/webp, application/x-dxf, application/zip, text/pdf, application/vnd.pdf, application/x-zip-compressed, application/vnd.oasis.opendocument.text, image/bmp, pplication/vnd.rar, image/heic, image/heic-sequence, application/dwg, application/x-tar, application/x-eps, application/gzip, image/tif, text/x-comma-separated-values, application/excel, application/dxf, text/svg, image/svg, image/jpg, application/x-csv, text/svg-xml, image/eps, image/svg+xml, image/x-bmp, application/vnd.ms-excel, application/eps, application/gzipped, image/heif-sequence, image/x-tif, image/png, image/x-eps, image/x-ms-bmp, image/vnd.dwg, application/x-pdf, application/postscript, image/tiff, image/x-tiff, application/x-autocad, text/comma-separated-values, application/csv, text/x-csv, application/x-rar, text/x-pdf, application/x-tif, application/acrobat, application/vnd.oasis.opendocument.spreadsheet, application/x-gzip, application/jpg, application/x-tiff, drawing/x-dwf.
13170
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/acrobat, image/x-eps, text/plain, image/png, application/vnd.ms-word, image/vnd.dwg, image/heif, application/tiff, application/gzip, application/gzipped, image/x-bmp, text/svg-xml, application/gzip-compressed, application/x-tiff, image/gif, image/jpg, image/dxf, drawing/dwg, application/dwg, application/vnd.ms-powerpoint, application/x-acad, image/webp, image/tiff, application/x-dxf, application/x-tar, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-jpg, application/svg+xml, image/x-ms-bmp, application/vnd.pdf, application/vnd.oasis.opendocument.presentation, text/comma-separated-values, application/zip, application/eps, application/csv, application/x-eps, application/x-rar-compressed, image/x-dwg, text/svg, application/jpg, application/dxf, application/pdf, drawing/x-dwf, application/x-gzip, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-pdf, application/vnd.ms-excel, application/vnd.oasis.opendocument.spreadsheet, image/jpeg, text/csv, text/x-csv, image/x-tif, image/x-tiff, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-autocad, image/svg+xml, image/bmp, application/rtf, text/rtf, text/pdf, image/eps, image/heic, pplication/vnd.rar, image/heif-sequence, application/x-zip-compressed, application/excel, application/postscript, image/x-dxf, text/x-comma-separated-values, application/vnd.oasis.opendocument.text, application/acad, drawing/x-dwg, text/x-pdf, image/svg, application/msword, application/x-tif, application/x-dwg, application/x-rar, application/x-rtf, application/tif, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/heic-sequence, application/x-csv, image/tif.
13168
13171
  """
13169
13172
  file: Upload!
13170
13173
 
@@ -14012,7 +14015,7 @@ type Mutation {
14012
14015
  priceBookCreate(
14013
14016
  """Fields required to create a price book."""
14014
14017
  input: PriceBookCreateInput!
14015
- ): PriceBookCreate
14018
+ ): PriceBookCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
14016
14019
 
14017
14020
  """Updates an existing price book."""
14018
14021
  priceBookUpdate(
@@ -14021,25 +14024,25 @@ type Mutation {
14021
14024
 
14022
14025
  """Fields required to update a price book."""
14023
14026
  input: PriceBookUpdateInput!
14024
- ): PriceBookUpdate
14027
+ ): PriceBookUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
14025
14028
 
14026
14029
  """Deletes a price book."""
14027
14030
  priceBookDelete(
14028
14031
  """ID of a price book to delete."""
14029
14032
  id: ID!
14030
- ): PriceBookDelete
14033
+ ): PriceBookDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14031
14034
 
14032
14035
  """Deletes price books."""
14033
14036
  priceBookBulkDelete(
14034
14037
  """List of price book IDs to delete."""
14035
14038
  ids: [ID!]!
14036
- ): PriceBookBulkDelete
14039
+ ): PriceBookBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14037
14040
 
14038
14041
  """Add a variant to price book."""
14039
14042
  priceBookVariantCreate(
14040
14043
  """Fields required to add a price book variant."""
14041
14044
  input: PriceBookVariantCreateInput!
14042
- ): PriceBookVariantCreate
14045
+ ): PriceBookVariantCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
14043
14046
 
14044
14047
  """Updates an existing price book variant."""
14045
14048
  priceBookVariantUpdate(
@@ -14048,25 +14051,25 @@ type Mutation {
14048
14051
 
14049
14052
  """Fields required to update a price book variant."""
14050
14053
  input: PriceBookVariantUpdateInput!
14051
- ): PriceBookVariantUpdate
14054
+ ): PriceBookVariantUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
14052
14055
 
14053
14056
  """Deletes a price book variant."""
14054
14057
  priceBookVariantDelete(
14055
14058
  """ID of a price book variant to delete."""
14056
14059
  id: ID!
14057
- ): PriceBookVariantDelete
14060
+ ): PriceBookVariantDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14058
14061
 
14059
14062
  """Deletes price book's variants."""
14060
14063
  priceBookVariantBulkDelete(
14061
14064
  """List of price book variant IDs to delete."""
14062
14065
  ids: [ID!]!
14063
- ): PriceBookVariantBulkDelete
14066
+ ): PriceBookVariantBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14064
14067
 
14065
14068
  """Add a product to price book."""
14066
14069
  priceBookProductCreate(
14067
14070
  """Fields required to add a price book product."""
14068
14071
  input: PriceBookProductCreateInput!
14069
- ): PriceBookProductCreate
14072
+ ): PriceBookProductCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
14070
14073
 
14071
14074
  """Updates an existing price book product."""
14072
14075
  priceBookProductUpdate(
@@ -14075,25 +14078,25 @@ type Mutation {
14075
14078
 
14076
14079
  """Fields required to update a price book product."""
14077
14080
  input: PriceBookProductUpdateInput!
14078
- ): PriceBookProductUpdate
14081
+ ): PriceBookProductUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
14079
14082
 
14080
14083
  """Deletes a price book product."""
14081
14084
  priceBookProductDelete(
14082
14085
  """ID of a price book product to delete."""
14083
14086
  id: ID!
14084
- ): PriceBookProductDelete
14087
+ ): PriceBookProductDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14085
14088
 
14086
14089
  """Deletes price book's products."""
14087
14090
  priceBookProductBulkDelete(
14088
14091
  """List of price book product IDs to delete."""
14089
14092
  ids: [ID!]!
14090
- ): PriceBookProductBulkDelete
14093
+ ): PriceBookProductBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14091
14094
 
14092
14095
  """Add a product type to price book."""
14093
14096
  priceBookProductTypeCreate(
14094
14097
  """Fields required to add a price book product type."""
14095
14098
  input: PriceBookProductTypeCreateInput!
14096
- ): PriceBookProductTypeCreate
14099
+ ): PriceBookProductTypeCreate @deprecated(reason: "Price books will be removed on June 11, 2025")
14097
14100
 
14098
14101
  """Updates an existing price book product type."""
14099
14102
  priceBookProductTypeUpdate(
@@ -14102,31 +14105,31 @@ type Mutation {
14102
14105
 
14103
14106
  """Fields required to update a price book product type."""
14104
14107
  input: PriceBookProductTypeUpdateInput!
14105
- ): PriceBookProductTypeUpdate
14108
+ ): PriceBookProductTypeUpdate @deprecated(reason: "Price books will be removed on June 11, 2025")
14106
14109
 
14107
14110
  """Deletes a price book product type."""
14108
14111
  priceBookProductTypeDelete(
14109
14112
  """ID of a price book product type to delete."""
14110
14113
  id: ID!
14111
- ): PriceBookProductTypeDelete
14114
+ ): PriceBookProductTypeDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14112
14115
 
14113
14116
  """Deletes price book's product types."""
14114
14117
  priceBookProductTypeBulkDelete(
14115
14118
  """List of price book product type IDs to delete."""
14116
14119
  ids: [ID!]!
14117
- ): PriceBookProductTypeBulkDelete
14120
+ ): PriceBookProductTypeBulkDelete @deprecated(reason: "Price books will be removed on June 11, 2025")
14118
14121
 
14119
14122
  """Add a user to price book."""
14120
14123
  userAddToPriceBook(
14121
14124
  """Fields required to add a user to price book."""
14122
14125
  input: UserAddToPriceBookInput!
14123
- ): UserAddToPriceBook
14126
+ ): UserAddToPriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
14124
14127
 
14125
14128
  """Removes a user from price book."""
14126
14129
  userRemoveFromPriceBook(
14127
14130
  """ID of user to be removed from price book."""
14128
14131
  id: ID!
14129
- ): UserRemoveFromPriceBook
14132
+ ): UserRemoveFromPriceBook @deprecated(reason: "Price books will be removed on June 11, 2025")
14130
14133
 
14131
14134
  """Creates a new category."""
14132
14135
  categoryCreate(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.73.0-26-g7fb49d8d9",
3
+ "version": "v1.73.0-28-g6de43cfc9",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {