@nautical-commerce/graphql-schema 1.64.0 → 1.65.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.
@@ -3791,6 +3791,9 @@ type Order implements Node & ObjectWithMetadata {
3791
3791
  """Total amount of the order."""
3792
3792
  total: TaxedMoney
3793
3793
 
3794
+ """Total of the order including any discounts."""
3795
+ discountedTotal: TaxedMoney
3796
+
3794
3797
  """Original total amount of the order."""
3795
3798
  originalTotal: TaxedMoney
3796
3799
 
@@ -4748,7 +4751,6 @@ type Permission {
4748
4751
  name: String!
4749
4752
  }
4750
4753
 
4751
- """An enumeration."""
4752
4754
  enum PermissionEnum {
4753
4755
  MANAGE_USERS
4754
4756
  MANAGE_STAFF
@@ -4764,7 +4766,7 @@ enum PermissionEnum {
4764
4766
  MANAGE_ORDERS
4765
4767
  MANAGE_DRAFT_AND_QUOTE_ORDERS
4766
4768
  MANAGE_FULFILLMENTS
4767
- MANAGE_PAGES
4769
+ MANAGE_PAGES @deprecated(reason: "This will be removed on March 10, 2025. If you are using MANAGE_PAGES, please use MANAGE_STOREFRONTS instead.")
4768
4770
  MANAGE_PRODUCTS
4769
4771
  MANAGE_INVENTORY
4770
4772
  MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES
@@ -5694,6 +5696,9 @@ type OrderLine implements Node & ObjectWithMetadata {
5694
5696
  """Price of the order line."""
5695
5697
  totalPrice: TaxedMoney
5696
5698
 
5699
+ """Total price of the line with any discounts applied"""
5700
+ discountedTotalPrice: TaxedMoney
5701
+
5697
5702
  """
5698
5703
  A purchased product variant. Note: this field may be null if the variant has been removed from stock at all.
5699
5704
  """
@@ -10506,6 +10511,10 @@ type Page implements Node & ObjectWithMetadata {
10506
10511
 
10507
10512
  """Whether the page is published."""
10508
10513
  isPublished: Boolean!
10514
+ image(
10515
+ """Featured image for the page."""
10516
+ size: Int
10517
+ ): Image
10509
10518
  }
10510
10519
 
10511
10520
  type PageCountableConnection {
@@ -13163,7 +13172,7 @@ type Mutation {
13163
13172
  description: String
13164
13173
 
13165
13174
  """
13166
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/tiff, image/x-dxf, image/jpeg, image/heic-sequence, application/x-dxf, application/x-csv, application/postscript, text/pdf, drawing/x-dwf, image/x-dwg, image/vnd.dwg, image/svg, application/pdf, application/dwg, text/svg, application/vnd.ms-powerpoint, image/bmp, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/msword, text/csv, application/vnd.oasis.opendocument.presentation, drawing/dwg, image/heif, application/dxf, image/webp, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/svg+xml, image/dxf, application/x-acad, image/x-ms-bmp, application/excel, drawing/x-dwg, application/rtf, text/svg-xml, application/eps, application/vnd.ms-word, text/x-comma-separated-values, text/x-pdf, application/x-tar, application/vnd.oasis.opendocument.text, application/vnd.ms-excel, application/tif, application/x-rar-compressed, application/zip, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.pdf, application/x-gzip, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-dwg, application/acad, pplication/vnd.rar, image/x-bmp, application/x-rar, image/gif, application/vnd.oasis.opendocument.spreadsheet, image/x-tiff, application/gzip, image/tif, text/x-csv, application/jpg, application/x-tiff, application/x-rtf, image/eps, application/x-pdf, application/svg+xml, application/gzipped, image/heic, application/x-eps, application/tiff, application/x-zip-compressed, application/acrobat, text/rtf, application/x-autocad, application/x-tif, text/comma-separated-values, image/jpg, application/x-jpg, text/plain, image/png, image/heif-sequence, application/gzip-compressed, image/x-tif, image/x-eps, application/csv.
13175
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: drawing/dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, pplication/vnd.rar, image/x-ms-bmp, image/x-bmp, drawing/x-dwf, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/svg-xml, image/tiff, image/heif-sequence, application/vnd.oasis.opendocument.text, image/bmp, application/x-tiff, application/x-rtf, image/x-eps, application/acrobat, image/dxf, application/x-rar, application/x-dwg, image/svg, application/vnd.ms-word, image/x-tiff, image/tif, image/heif, application/excel, image/png, application/tiff, application/svg+xml, application/gzip-compressed, application/rtf, text/plain, application/x-gzip, application/vnd.ms-excel, image/x-dxf, application/vnd.ms-powerpoint, application/vnd.oasis.opendocument.presentation, application/x-eps, text/x-comma-separated-values, application/vnd.oasis.opendocument.spreadsheet, application/acad, text/pdf, application/x-pdf, image/gif, application/x-dxf, image/webp, application/x-tif, application/x-csv, text/x-pdf, application/msword, text/csv, application/tif, application/x-autocad, image/eps, image/heic, image/vnd.dwg, drawing/x-dwg, application/gzipped, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/jpg, image/x-dwg, application/dxf, application/jpg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/eps, application/pdf, application/csv, text/svg, application/zip, application/gzip, text/rtf, text/x-csv, application/x-tar, application/x-zip-compressed, application/x-rar-compressed, text/comma-separated-values, image/heic-sequence, image/jpeg, image/x-tif, application/dwg, application/postscript, application/vnd.pdf, application/x-acad, image/svg+xml, application/x-jpg.
13167
13176
  """
13168
13177
  file: Upload!
13169
13178
 
@@ -14634,6 +14643,26 @@ type Mutation {
14634
14643
  input: PageInput!
14635
14644
  ): PageUpdate
14636
14645
 
14646
+ """
14647
+ Creates a featured image for the given page.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
14648
+ """
14649
+ pageImageUpdate(
14650
+ """Alt text for the image."""
14651
+ alt: String!
14652
+
14653
+ """ID of the page to update."""
14654
+ id: ID!
14655
+
14656
+ """Represents an image file in a multipart request"""
14657
+ image: Upload!
14658
+ ): PageImageUpdate
14659
+
14660
+ """Deletes a features image for the given page."""
14661
+ pageImageDelete(
14662
+ """ID of the page to delete the image off of."""
14663
+ id: ID!
14664
+ ): PageImageDelete
14665
+
14637
14666
  """Completes creating an order."""
14638
14667
  draftOrderComplete(
14639
14668
  """ID of the order that will be completed."""
@@ -20411,6 +20440,22 @@ type PageUpdate {
20411
20440
  page: Page
20412
20441
  }
20413
20442
 
20443
+ """
20444
+ Creates a featured image for the given page.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
20445
+ """
20446
+ type PageImageUpdate {
20447
+ """An updated page instance."""
20448
+ page: Page
20449
+ pageErrors: [PageError!]!
20450
+ }
20451
+
20452
+ """Deletes a features image for the given page."""
20453
+ type PageImageDelete {
20454
+ """An updated page instance"""
20455
+ page: Page
20456
+ pageErrors: [PageError!]!
20457
+ }
20458
+
20414
20459
  """Completes creating an order."""
20415
20460
  type DraftOrderComplete {
20416
20461
  """Completed order."""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.64.0",
3
+ "version": "v1.65.0",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {