@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.
@@ -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/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
- """Represents an image file in a multipart request."""
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
  """
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-14-gb670f45fb",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {