@nautical-commerce/graphql-schema 1.78.0-12-g8337d149d → 1.78.0-13-g91340c2d8

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.
@@ -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-tar, image/bmp, application/dwg, image/x-dwg, image/gif, application/tiff, image/x-eps, image/jpg, application/msword, image/webp, application/x-gzip, image/tiff, application/x-dwg, image/heif, image/x-tiff, image/heif-sequence, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.presentationml.presentation, drawing/dwg, application/vnd.ms-word, text/comma-separated-values, application/x-rar-compressed, text/x-csv, image/heic-sequence, pplication/vnd.rar, application/svg+xml, text/svg, application/zip, image/x-ms-bmp, image/svg, application/x-csv, application/jpg, application/x-tif, application/vnd.ms-powerpoint, application/x-tiff, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/x-dxf, text/rtf, application/x-jpg, text/x-pdf, application/x-eps, drawing/x-dwf, application/acrobat, application/tif, text/svg-xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/x-tif, application/x-zip-compressed, application/postscript, application/eps, text/x-comma-separated-values, application/excel, application/gzip-compressed, application/x-rar, image/jpeg, application/dxf, application/acad, image/tif, image/png, image/heic, application/x-pdf, application/x-dxf, image/vnd.dwg, application/gzipped, application/rtf, text/pdf, image/eps, application/vnd.openxmlformats-officedocument.presentationml.slideshow, text/plain, application/csv, text/csv, application/x-autocad, application/x-acad, image/x-bmp, application/vnd.oasis.opendocument.presentation, application/vnd.oasis.opendocument.spreadsheet, application/gzip, application/vnd.pdf, image/svg+xml, application/pdf, drawing/x-dwg, application/vnd.oasis.opendocument.text, image/dxf, application/x-rtf.
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/dwg, image/jpg, drawing/x-dwf, application/pdf, image/bmp, image/eps, application/msword, application/x-rar, image/heif-sequence, application/vnd.pdf, application/x-acad, image/png, pplication/vnd.rar, image/x-bmp, application/gzip, image/x-dwg, image/svg+xml, image/heif, application/gzip-compressed, application/x-tiff, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/vnd.dwg, text/x-pdf, text/comma-separated-values, application/x-rtf, image/heic, image/x-dxf, application/dxf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/svg, application/zip, text/svg-xml, image/webp, application/vnd.ms-word, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-rar-compressed, application/vnd.oasis.opendocument.presentation, drawing/x-dwg, application/rtf, application/eps, image/x-tiff, drawing/dwg, application/acrobat, image/dxf, image/gif, application/x-autocad, image/tiff, image/x-tif, application/x-tar, application/vnd.ms-powerpoint, application/x-jpg, application/x-dxf, image/tif, application/tiff, application/svg+xml, text/csv, application/tif, application/gzipped, text/pdf, application/csv, application/vnd.oasis.opendocument.spreadsheet, text/x-csv, application/vnd.oasis.opendocument.text, application/postscript, application/excel, text/rtf, application/x-dwg, image/x-ms-bmp, image/x-eps, image/jpeg, application/x-csv, text/svg, application/x-gzip, application/x-pdf, application/acad, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/jpg, application/x-eps, text/x-comma-separated-values, image/heic-sequence, application/x-zip-compressed, application/x-tif, text/plain.
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
  """
@@ -19521,6 +19532,41 @@ input ProductImageCreateInput {
19521
19532
  externalSource: String
19522
19533
  }
19523
19534
 
19535
+ """
19536
+ 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
19537
+ """
19538
+ type ProductImageBulkCreate {
19539
+ product: Product
19540
+ images: [ProductImage!]
19541
+ productErrors: [ProductError!]!
19542
+ }
19543
+
19544
+ input ProductImageBulkCreateInput {
19545
+ """Alt text for an image."""
19546
+ alt: String
19547
+
19548
+ """Represents an image file in a multipart request."""
19549
+ image: Upload
19550
+
19551
+ """URL of image to upload"""
19552
+ url: String
19553
+
19554
+ """
19555
+ 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.
19556
+ """
19557
+ transferImageOwnership: Boolean = false
19558
+
19559
+ """
19560
+ External ID of the product image if originating from outside the system.
19561
+ """
19562
+ externalId: String
19563
+
19564
+ """
19565
+ External source of the product image if originating from outside the system.
19566
+ """
19567
+ externalSource: String
19568
+ }
19569
+
19524
19570
  """
19525
19571
  Reorder the variants of a product. Mutation updates updated_at on product and triggers PRODUCT_UPDATED webhook.
19526
19572
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.78.0-12-g8337d149d",
3
+ "version": "v1.78.0-13-g91340c2d8",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {