@nautical-commerce/graphql-schema 1.70.0-11-gd282e52dd → 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.
- package/nautical/schema.graphql +16 -6
- package/package.json +1 -1
package/nautical/schema.graphql
CHANGED
@@ -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:
|
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
|
15767
|
-
|
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
|
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
|
|