@nautical-commerce/graphql-schema 1.70.0-12-gd0568ad73 → 1.70.0-13-gfcf3b9613

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.
@@ -3061,6 +3061,9 @@ type Product implements Node & ObjectWithMetadata {
3061
3061
  """List of attributes assigned to this product."""
3062
3062
  attributes: [SelectedAttribute!]!
3063
3063
 
3064
+ """Variant attributes of a product."""
3065
+ variantAttributes: [Attribute!]
3066
+
3064
3067
  """List of custom fields assigned to this product."""
3065
3068
  customFields: [SelectedAttribute!]!
3066
3069
  purchaseCost: MoneyRange
@@ -13122,7 +13125,7 @@ type Mutation {
13122
13125
  description: String
13123
13126
 
13124
13127
  """
13125
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/x-rar-compressed, text/plain, drawing/x-dwg, application/x-zip-compressed, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/excel, image/webp, image/x-bmp, application/x-rar, image/svg, application/rtf, application/x-csv, text/csv, application/vnd.oasis.opendocument.presentation, image/x-tif, application/vnd.oasis.opendocument.text, text/comma-separated-values, text/rtf, application/acad, image/heif-sequence, application/dwg, application/vnd.pdf, application/x-tiff, image/x-tiff, application/svg+xml, application/acrobat, application/x-rtf, application/x-autocad, application/x-gzip, application/tif, application/msword, application/dxf, application/postscript, image/bmp, image/eps, image/gif, drawing/x-dwf, application/pdf, application/x-eps, image/x-dwg, image/jpg, application/gzip-compressed, image/vnd.dwg, application/x-dwg, application/x-pdf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/heic-sequence, application/x-jpg, image/x-ms-bmp, text/svg-xml, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/heic, text/x-pdf, application/x-tar, application/vnd.oasis.opendocument.spreadsheet, image/jpeg, image/png, application/tiff, image/tif, text/svg, application/csv, pplication/vnd.rar, application/zip, image/x-dxf, text/x-comma-separated-values, image/heif, drawing/dwg, text/pdf, application/eps, application/jpg, text/x-csv, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/x-eps, application/x-tif, application/vnd.ms-excel, image/dxf, application/gzip, application/gzipped, image/tiff, image/svg+xml, application/vnd.ms-powerpoint, application/x-dxf, application/x-acad, application/vnd.ms-word.
13128
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/svg, image/heic, application/rtf, application/gzip, application/excel, image/bmp, application/vnd.ms-excel, application/vnd.oasis.opendocument.spreadsheet, image/heif-sequence, image/jpg, application/gzip-compressed, application/tiff, application/x-acad, image/vnd.dwg, text/plain, image/x-bmp, application/msword, application/x-eps, text/x-pdf, drawing/dwg, image/heic-sequence, image/png, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/x-tif, application/vnd.pdf, application/gzipped, image/tiff, application/vnd.ms-word, text/rtf, application/x-autocad, application/x-csv, image/svg+xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/heif, application/vnd.openxmlformats-officedocument.presentationml.slideshow, text/svg-xml, text/comma-separated-values, application/x-rar-compressed, application/vnd.oasis.opendocument.presentation, application/x-jpg, application/tif, pplication/vnd.rar, image/tif, application/dxf, image/dxf, text/csv, application/eps, application/x-gzip, application/x-tiff, text/x-comma-separated-values, image/x-tiff, image/eps, application/csv, application/x-pdf, application/x-dxf, text/x-csv, application/acrobat, image/jpeg, application/x-rar, application/acad, drawing/x-dwf, application/pdf, application/jpg, image/x-dxf, application/x-tif, application/dwg, image/x-dwg, application/vnd.ms-powerpoint, application/x-dwg, application/x-zip-compressed, drawing/x-dwg, application/postscript, image/x-ms-bmp, application/zip, application/svg+xml, image/gif, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-rtf, application/vnd.oasis.opendocument.text, application/x-tar, image/webp, text/pdf, image/x-eps, text/svg.
13126
13129
  """
13127
13130
  file: Upload!
13128
13131
 
@@ -15758,13 +15761,16 @@ type Mutation {
15758
15761
  ids: [ID!]!
15759
15762
  ): AttributeBulkDelete
15760
15763
 
15761
- """Assign attributes to a given product type."""
15764
+ """Assign attributes to a given product or product type."""
15762
15765
  attributeAssign(
15763
15766
  """The operations to perform."""
15764
15767
  operations: [AttributeAssignInput!]!
15765
15768
 
15766
- """ID of the product type to assign the attributes into."""
15767
- productTypeId: ID!
15769
+ """ID of the product to which the attribute will be assigned."""
15770
+ productId: ID
15771
+
15772
+ """ID of the product type to which the attribute will be assigned."""
15773
+ productTypeId: ID
15768
15774
  ): AttributeAssign
15769
15775
 
15770
15776
  """Un-assign attributes from a given product type."""
@@ -18822,6 +18828,7 @@ enum ProductErrorCode {
18822
18828
  COLLECTION_ALLOWED_FOR_PRODUCTS_ONLY
18823
18829
  COLLECTION_ALLOWED_FOR_VARIANTS_ONLY
18824
18830
  INVENTORY_FIELD_CANNOT_BE_EDITED
18831
+ REQUIRED_PRODUCT_ID_OR_PRODUCT_TYPE_ID
18825
18832
  }
18826
18833
 
18827
18834
  input CategoryInput {
@@ -22718,10 +22725,13 @@ type AttributeBulkDelete {
22718
22725
  productErrors: [ProductError!]!
22719
22726
  }
22720
22727
 
22721
- """Assign attributes to a given product type."""
22728
+ """Assign attributes to a given product or product type."""
22722
22729
  type AttributeAssign {
22723
- """The updated product type."""
22730
+ """The product type to which the attribute was assigned."""
22724
22731
  productType: ProductType
22732
+
22733
+ """The product to which the attribute was assigned."""
22734
+ product: Product
22725
22735
  productErrors: [ProductError!]!
22726
22736
  }
22727
22737
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.70.0-12-gd0568ad73",
3
+ "version": "v1.70.0-13-gfcf3b9613",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {