@nautical-commerce/graphql-schema 1.70.0-2-g169ee2aa7 → 1.70.0-20-g05a729850

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-jpg, application/gzip, application/x-pdf, application/x-eps, image/webp, application/vnd.oasis.opendocument.spreadsheet, application/rtf, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-csv, application/gzip-compressed, application/zip, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/pdf, image/tif, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv, application/x-tiff, application/acrobat, application/eps, application/tif, application/x-tif, image/heif-sequence, image/eps, application/acad, application/x-tar, image/png, image/heic, application/svg+xml, application/x-dwg, application/vnd.ms-powerpoint, image/vnd.dwg, application/gzipped, application/x-gzip, pplication/vnd.rar, image/x-ms-bmp, text/svg, image/svg+xml, image/x-tiff, application/vnd.oasis.opendocument.text, image/x-dwg, application/vnd.ms-excel, text/svg-xml, text/rtf, image/svg, application/csv, application/x-rar, drawing/x-dwf, application/excel, application/vnd.ms-word, application/vnd.oasis.opendocument.presentation, image/heic-sequence, application/x-autocad, image/gif, drawing/dwg, image/heif, text/comma-separated-values, application/x-zip-compressed, drawing/x-dwg, application/dxf, application/x-dxf, application/x-rtf, image/x-tif, application/msword, image/x-dxf, text/plain, text/x-pdf, text/x-comma-separated-values, image/tiff, image/bmp, text/pdf, application/vnd.pdf, text/x-csv, application/x-rar-compressed, image/dxf, image/jpeg, application/x-acad, application/jpg, application/postscript, image/x-eps, application/tiff, image/jpg, image/x-bmp, application/dwg.
13128
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/postscript, image/x-eps, application/pdf, application/zip, image/jpg, application/vnd.ms-word, image/tif, application/x-tif, image/jpeg, text/x-pdf, image/x-bmp, drawing/dwg, application/gzip-compressed, application/x-dxf, application/dxf, application/x-rar, image/heif-sequence, drawing/x-dwf, application/x-jpg, text/svg-xml, image/heif, image/x-tif, application/gzipped, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/x-ms-bmp, application/acrobat, application/x-acad, text/csv, application/x-rtf, image/png, text/pdf, image/gif, application/vnd.oasis.opendocument.presentation, image/heic-sequence, application/vnd.ms-excel, drawing/x-dwg, application/x-dwg, image/x-tiff, image/vnd.dwg, application/msword, application/x-zip-compressed, pplication/vnd.rar, application/tif, text/x-csv, image/svg+xml, application/vnd.oasis.opendocument.text, application/excel, image/x-dxf, application/x-rar-compressed, application/x-csv, application/x-tar, image/webp, image/dxf, application/acad, application/svg+xml, text/plain, application/x-autocad, application/x-gzip, application/eps, application/csv, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/rtf, application/dwg, image/svg, text/svg, image/heic, application/gzip, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/rtf, image/bmp, image/tiff, application/vnd.oasis.opendocument.spreadsheet, image/x-dwg, application/vnd.ms-powerpoint, application/vnd.pdf, text/x-comma-separated-values, application/x-pdf, text/comma-separated-values, application/x-eps, image/eps, application/tiff, application/x-tiff, application/jpg.
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."""
@@ -15772,8 +15778,11 @@ type Mutation {
15772
15778
  """The IDs of the attributes to assign."""
15773
15779
  attributeIds: [ID!]!
15774
15780
 
15781
+ """ID of the product to which the attribute will be assigned."""
15782
+ productId: ID
15783
+
15775
15784
  """ID of the product type to assign the attributes into."""
15776
- productTypeId: ID!
15785
+ productTypeId: ID
15777
15786
  ): AttributeUnassign
15778
15787
 
15779
15788
  """Updates attribute."""
@@ -18822,6 +18831,7 @@ enum ProductErrorCode {
18822
18831
  COLLECTION_ALLOWED_FOR_PRODUCTS_ONLY
18823
18832
  COLLECTION_ALLOWED_FOR_VARIANTS_ONLY
18824
18833
  INVENTORY_FIELD_CANNOT_BE_EDITED
18834
+ REQUIRED_PRODUCT_ID_OR_PRODUCT_TYPE_ID
18825
18835
  }
18826
18836
 
18827
18837
  input CategoryInput {
@@ -19231,6 +19241,9 @@ input ProductCreateInput {
19231
19241
  The external ID from a foreign system if a product originated from that system, used in combination with provided externalSource. If submitting externalId, you must also provide an externalSource argument. If these two are provided, the productCreate mutation will attempt to perform an upsert instead of a creation.
19232
19242
  """
19233
19243
  externalId: String
19244
+
19245
+ """Represents an image file in a multipart request."""
19246
+ image: Upload
19234
19247
  }
19235
19248
 
19236
19249
  """Represents size of a specific variant."""
@@ -22718,10 +22731,13 @@ type AttributeBulkDelete {
22718
22731
  productErrors: [ProductError!]!
22719
22732
  }
22720
22733
 
22721
- """Assign attributes to a given product type."""
22734
+ """Assign attributes to a given product or product type."""
22722
22735
  type AttributeAssign {
22723
- """The updated product type."""
22736
+ """The product type to which the attribute was assigned."""
22724
22737
  productType: ProductType
22738
+
22739
+ """The product to which the attribute was assigned."""
22740
+ product: Product
22725
22741
  productErrors: [ProductError!]!
22726
22742
  }
22727
22743
 
@@ -22737,6 +22753,9 @@ input AttributeAssignInput {
22737
22753
  type AttributeUnassign {
22738
22754
  """The updated product type."""
22739
22755
  productType: ProductType
22756
+
22757
+ """The product to which the attribute was assigned."""
22758
+ product: Product
22740
22759
  productErrors: [ProductError!]!
22741
22760
  }
22742
22761
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.70.0-2-g169ee2aa7",
3
+ "version": "v1.70.0-20-g05a729850",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {