@nautical-commerce/graphql-schema 1.78.0-12-g8337d149d → 1.78.0-14-gb670f45fb
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 +53 -3
- package/package.json +1 -1
package/nautical/schema.graphql
CHANGED
@@ -13160,7 +13160,7 @@ type Mutation {
|
|
13160
13160
|
description: String
|
13161
13161
|
|
13162
13162
|
"""
|
13163
|
-
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-
|
13163
|
+
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-rtf, application/vnd.ms-excel, image/jpg, text/svg, image/dxf, application/gzip, application/x-csv, image/vnd.dwg, application/acrobat, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-tiff, text/x-comma-separated-values, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/heic, image/bmp, drawing/x-dwf, text/x-pdf, application/jpg, application/x-acad, application/vnd.oasis.opendocument.text, application/x-rar, application/eps, image/heic-sequence, application/vnd.oasis.opendocument.spreadsheet, application/csv, text/comma-separated-values, application/postscript, application/rtf, image/jpeg, image/gif, image/heif, application/x-dwg, image/png, image/x-ms-bmp, application/tiff, image/x-dxf, application/x-jpg, application/acad, image/svg+xml, application/x-zip-compressed, text/pdf, application/x-dxf, image/x-tiff, pplication/vnd.rar, text/svg-xml, text/csv, application/gzipped, drawing/x-dwg, application/vnd.ms-powerpoint, text/x-csv, drawing/dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/pdf, application/x-eps, application/gzip-compressed, application/dwg, application/x-tar, image/heif-sequence, application/vnd.oasis.opendocument.presentation, image/tif, image/x-bmp, image/tiff, application/vnd.ms-word, application/tif, application/msword, text/rtf, image/webp, application/dxf, text/plain, application/x-pdf, application/svg+xml, application/excel, image/x-dwg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/x-eps, application/x-tif, application/x-gzip, application/zip, application/x-autocad, image/svg, application/x-rar-compressed, application/vnd.pdf, image/x-tif, image/eps.
|
13164
13164
|
"""
|
13165
13165
|
file: Upload!
|
13166
13166
|
|
@@ -14304,6 +14304,17 @@ type Mutation {
|
|
14304
14304
|
input: ProductImageCreateInput!
|
14305
14305
|
): ProductImageCreate
|
14306
14306
|
|
14307
|
+
"""
|
14308
|
+
Create one or more product images. For each image, if URL is present, image will be taken from provided URL. If any image has no URL provided, then this mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
|
14309
|
+
"""
|
14310
|
+
productImageBulkCreate(
|
14311
|
+
"""Fields required to create one or more product images"""
|
14312
|
+
input: [ProductImageBulkCreateInput!]!
|
14313
|
+
|
14314
|
+
"""ID of a product."""
|
14315
|
+
product: ID!
|
14316
|
+
): ProductImageBulkCreate
|
14317
|
+
|
14307
14318
|
"""
|
14308
14319
|
Reorder the variants of a product. Mutation updates updated_at on product and triggers PRODUCT_UPDATED webhook.
|
14309
14320
|
"""
|
@@ -19496,10 +19507,12 @@ input ProductImageCreateInput {
|
|
19496
19507
|
"""Alt text for an image."""
|
19497
19508
|
alt: String
|
19498
19509
|
|
19499
|
-
"""
|
19510
|
+
"""
|
19511
|
+
Represents an image file in a multipart request. Either an image or a url must be provided.
|
19512
|
+
"""
|
19500
19513
|
image: Upload
|
19501
19514
|
|
19502
|
-
"""URL of image to upload"""
|
19515
|
+
"""URL of image to upload. Either an image or a url must be provided."""
|
19503
19516
|
url: String
|
19504
19517
|
|
19505
19518
|
"""ID of an product."""
|
@@ -19521,6 +19534,43 @@ input ProductImageCreateInput {
|
|
19521
19534
|
externalSource: String
|
19522
19535
|
}
|
19523
19536
|
|
19537
|
+
"""
|
19538
|
+
Create one or more product images. For each image, if URL is present, image will be taken from provided URL. If any image has no URL provided, then this mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
|
19539
|
+
"""
|
19540
|
+
type ProductImageBulkCreate {
|
19541
|
+
product: Product
|
19542
|
+
images: [ProductImage!]
|
19543
|
+
productErrors: [ProductError!]!
|
19544
|
+
}
|
19545
|
+
|
19546
|
+
input ProductImageBulkCreateInput {
|
19547
|
+
"""Alt text for an image."""
|
19548
|
+
alt: String
|
19549
|
+
|
19550
|
+
"""
|
19551
|
+
Represents an image file in a multipart request. Either an image or a url must be provided.
|
19552
|
+
"""
|
19553
|
+
image: Upload
|
19554
|
+
|
19555
|
+
"""URL of image to upload. Either an image or a url must be provided."""
|
19556
|
+
url: String
|
19557
|
+
|
19558
|
+
"""
|
19559
|
+
Only for use by Marketplace Operator, if true then the image ownership will transfer to the seller that owns the product it is being assigned to, if false or not provided then image ownership will not transfer.
|
19560
|
+
"""
|
19561
|
+
transferImageOwnership: Boolean = false
|
19562
|
+
|
19563
|
+
"""
|
19564
|
+
External ID of the product image if originating from outside the system.
|
19565
|
+
"""
|
19566
|
+
externalId: String
|
19567
|
+
|
19568
|
+
"""
|
19569
|
+
External source of the product image if originating from outside the system.
|
19570
|
+
"""
|
19571
|
+
externalSource: String
|
19572
|
+
}
|
19573
|
+
|
19524
19574
|
"""
|
19525
19575
|
Reorder the variants of a product. Mutation updates updated_at on product and triggers PRODUCT_UPDATED webhook.
|
19526
19576
|
"""
|