@nautical-commerce/graphql-schema 1.70.0-12-gd0568ad73 → 1.70.0-14-g0610b7fc1
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 +23 -7
- 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: application/
|
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/acrobat, application/excel, application/pdf, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-tar, application/gzip-compressed, text/comma-separated-values, image/tiff, image/svg, application/x-jpg, image/vnd.dwg, application/postscript, application/tiff, image/heif, application/x-zip-compressed, image/x-eps, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/x-tiff, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/rtf, image/heic-sequence, image/jpg, application/vnd.oasis.opendocument.presentation, image/heic, application/x-csv, image/x-dwg, application/x-tiff, application/x-pdf, application/x-tif, text/svg-xml, text/rtf, text/pdf, application/svg+xml, image/eps, image/svg+xml, application/x-dwg, application/x-rar, text/plain, image/x-bmp, application/csv, drawing/dwg, image/heif-sequence, text/x-pdf, application/dxf, application/x-acad, pplication/vnd.rar, application/x-autocad, application/vnd.ms-powerpoint, image/jpeg, application/vnd.ms-word, application/x-gzip, application/vnd.oasis.opendocument.spreadsheet, image/png, application/jpg, text/csv, application/gzip, application/x-eps, application/vnd.ms-excel, text/x-comma-separated-values, application/eps, image/bmp, image/x-tif, image/tif, application/zip, application/vnd.pdf, image/x-dxf, application/x-rar-compressed, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-dxf, drawing/x-dwg, image/gif, drawing/x-dwf, application/vnd.oasis.opendocument.text, text/x-csv, application/x-rtf, image/x-ms-bmp, application/dwg, image/webp, text/svg, application/gzipped, application/acad, application/tif, application/msword, image/dxf.
|
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."""
|
@@ -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 {
|
@@ -22718,10 +22728,13 @@ type AttributeBulkDelete {
|
|
22718
22728
|
productErrors: [ProductError!]!
|
22719
22729
|
}
|
22720
22730
|
|
22721
|
-
"""Assign attributes to a given product type."""
|
22731
|
+
"""Assign attributes to a given product or product type."""
|
22722
22732
|
type AttributeAssign {
|
22723
|
-
"""The
|
22733
|
+
"""The product type to which the attribute was assigned."""
|
22724
22734
|
productType: ProductType
|
22735
|
+
|
22736
|
+
"""The product to which the attribute was assigned."""
|
22737
|
+
product: Product
|
22725
22738
|
productErrors: [ProductError!]!
|
22726
22739
|
}
|
22727
22740
|
|
@@ -22737,6 +22750,9 @@ input AttributeAssignInput {
|
|
22737
22750
|
type AttributeUnassign {
|
22738
22751
|
"""The updated product type."""
|
22739
22752
|
productType: ProductType
|
22753
|
+
|
22754
|
+
"""The product to which the attribute was assigned."""
|
22755
|
+
product: Product
|
22740
22756
|
productErrors: [ProductError!]!
|
22741
22757
|
}
|
22742
22758
|
|