@nautical-commerce/graphql-schema 1.70.1 → 1.71.0-1-g012ecd6dc
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 +29 -7
- package/package.json +1 -1
package/nautical/schema.graphql
CHANGED
@@ -317,6 +317,9 @@ type Query {
|
|
317
317
|
last: Int
|
318
318
|
): TenantCountableConnection
|
319
319
|
|
320
|
+
"""Return the tenant for the currently authenticated user."""
|
321
|
+
currentTenant: Tenant
|
322
|
+
|
320
323
|
"""Return information about the shop."""
|
321
324
|
shop: Shop!
|
322
325
|
|
@@ -3058,6 +3061,9 @@ type Product implements Node & ObjectWithMetadata {
|
|
3058
3061
|
"""List of attributes assigned to this product."""
|
3059
3062
|
attributes: [SelectedAttribute!]!
|
3060
3063
|
|
3064
|
+
"""Variant attributes of a product."""
|
3065
|
+
variantAttributes: [Attribute!]
|
3066
|
+
|
3061
3067
|
"""List of custom fields assigned to this product."""
|
3062
3068
|
customFields: [SelectedAttribute!]!
|
3063
3069
|
purchaseCost: MoneyRange
|
@@ -13119,7 +13125,7 @@ type Mutation {
|
|
13119
13125
|
description: String
|
13120
13126
|
|
13121
13127
|
"""
|
13122
|
-
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: drawing/x-dwf, application/eps, application/gzip, image/heif-sequence, drawing/dwg, application/x-pdf, image/heic, text/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/x-csv, application/csv, application/x-rar, image/x-ms-bmp, application/x-eps, image/x-tif, image/x-tiff, application/vnd.pdf, application/x-dxf, image/vnd.dwg, application/jpg, text/x-pdf, image/webp, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/postscript, application/zip, application/x-gzip, image/jpeg, image/bmp, pplication/vnd.rar, image/dxf, application/vnd.oasis.opendocument.text, application/rtf, application/msword, application/acad, application/x-csv, image/gif, image/svg, application/vnd.ms-excel, application/x-tiff, application/gzipped, application/gzip-compressed, image/x-dxf, image/jpg, application/svg+xml, application/dxf, text/x-comma-separated-values, text/comma-separated-values, text/svg-xml, image/svg+xml, application/vnd.ms-powerpoint, application/acrobat, application/x-tar, text/svg, image/x-bmp, drawing/x-dwg, application/vnd.oasis.opendocument.spreadsheet, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/png, application/vnd.ms-word, application/x-tif, image/x-eps, application/x-jpg, application/x-dwg, text/csv, image/eps, image/x-dwg, application/x-acad, image/heic-sequence, application/x-rar-compressed, application/x-autocad, application/excel, text/rtf, application/x-rtf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-zip-compressed, image/heif, application/tiff, image/tiff, text/plain, application/dwg, application/pdf, image/tif, application/vnd.oasis.opendocument.presentation, application/tif.
|
13123
13129
|
"""
|
13124
13130
|
file: Upload!
|
13125
13131
|
|
@@ -15755,13 +15761,16 @@ type Mutation {
|
|
15755
15761
|
ids: [ID!]!
|
15756
15762
|
): AttributeBulkDelete
|
15757
15763
|
|
15758
|
-
"""Assign attributes to a given product type."""
|
15764
|
+
"""Assign attributes to a given product or product type."""
|
15759
15765
|
attributeAssign(
|
15760
15766
|
"""The operations to perform."""
|
15761
15767
|
operations: [AttributeAssignInput!]!
|
15762
15768
|
|
15763
|
-
"""ID of the product
|
15764
|
-
|
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
|
15765
15774
|
): AttributeAssign
|
15766
15775
|
|
15767
15776
|
"""Un-assign attributes from a given product type."""
|
@@ -15769,8 +15778,11 @@ type Mutation {
|
|
15769
15778
|
"""The IDs of the attributes to assign."""
|
15770
15779
|
attributeIds: [ID!]!
|
15771
15780
|
|
15781
|
+
"""ID of the product to which the attribute will be assigned."""
|
15782
|
+
productId: ID
|
15783
|
+
|
15772
15784
|
"""ID of the product type to assign the attributes into."""
|
15773
|
-
productTypeId: ID
|
15785
|
+
productTypeId: ID
|
15774
15786
|
): AttributeUnassign
|
15775
15787
|
|
15776
15788
|
"""Updates attribute."""
|
@@ -18819,6 +18831,7 @@ enum ProductErrorCode {
|
|
18819
18831
|
COLLECTION_ALLOWED_FOR_PRODUCTS_ONLY
|
18820
18832
|
COLLECTION_ALLOWED_FOR_VARIANTS_ONLY
|
18821
18833
|
INVENTORY_FIELD_CANNOT_BE_EDITED
|
18834
|
+
REQUIRED_PRODUCT_ID_OR_PRODUCT_TYPE_ID
|
18822
18835
|
}
|
18823
18836
|
|
18824
18837
|
input CategoryInput {
|
@@ -19228,6 +19241,9 @@ input ProductCreateInput {
|
|
19228
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.
|
19229
19242
|
"""
|
19230
19243
|
externalId: String
|
19244
|
+
|
19245
|
+
"""Represents an image file in a multipart request."""
|
19246
|
+
image: Upload
|
19231
19247
|
}
|
19232
19248
|
|
19233
19249
|
"""Represents size of a specific variant."""
|
@@ -22715,10 +22731,13 @@ type AttributeBulkDelete {
|
|
22715
22731
|
productErrors: [ProductError!]!
|
22716
22732
|
}
|
22717
22733
|
|
22718
|
-
"""Assign attributes to a given product type."""
|
22734
|
+
"""Assign attributes to a given product or product type."""
|
22719
22735
|
type AttributeAssign {
|
22720
|
-
"""The
|
22736
|
+
"""The product type to which the attribute was assigned."""
|
22721
22737
|
productType: ProductType
|
22738
|
+
|
22739
|
+
"""The product to which the attribute was assigned."""
|
22740
|
+
product: Product
|
22722
22741
|
productErrors: [ProductError!]!
|
22723
22742
|
}
|
22724
22743
|
|
@@ -22734,6 +22753,9 @@ input AttributeAssignInput {
|
|
22734
22753
|
type AttributeUnassign {
|
22735
22754
|
"""The updated product type."""
|
22736
22755
|
productType: ProductType
|
22756
|
+
|
22757
|
+
"""The product to which the attribute was assigned."""
|
22758
|
+
product: Product
|
22737
22759
|
productErrors: [ProductError!]!
|
22738
22760
|
}
|
22739
22761
|
|