@nautical-commerce/graphql-schema 1.78.0-13-g91340c2d8 → 1.78.0-15-g9d2241be7

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/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.
13163
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: text/x-pdf, image/webp, application/tif, application/gzipped, image/x-tif, application/svg+xml, application/vnd.ms-excel, application/x-dxf, application/x-dwg, application/vnd.oasis.opendocument.presentation, image/gif, application/x-pdf, application/x-gzip, image/tiff, drawing/dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-rtf, image/png, application/x-acad, application/eps, application/vnd.ms-word, drawing/x-dwf, application/acrobat, drawing/x-dwg, pplication/vnd.rar, application/x-csv, image/jpg, application/x-rar-compressed, application/vnd.oasis.opendocument.spreadsheet, application/msword, image/svg, application/x-tif, application/dxf, image/x-bmp, image/heif-sequence, application/x-eps, image/x-dwg, image/eps, application/x-rar, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.oasis.opendocument.text, image/heic-sequence, text/x-comma-separated-values, application/vnd.ms-powerpoint, text/svg-xml, application/x-tiff, application/x-tar, image/heic, application/x-autocad, application/zip, application/rtf, image/heif, image/x-dxf, image/vnd.dwg, image/jpeg, image/tif, application/x-jpg, image/x-ms-bmp, application/csv, application/excel, image/dxf, application/gzip, text/x-csv, text/svg, image/x-eps, application/dwg, application/vnd.pdf, image/svg+xml, application/jpg, text/plain, application/postscript, text/comma-separated-values, text/rtf, image/bmp, image/x-tiff, application/pdf, application/x-zip-compressed, text/pdf, application/acad, application/gzip-compressed, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/csv, application/tiff.
13164
13164
  """
13165
13165
  file: Upload!
13166
13166
 
@@ -19507,10 +19507,12 @@ input ProductImageCreateInput {
19507
19507
  """Alt text for an image."""
19508
19508
  alt: String
19509
19509
 
19510
- """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
+ """
19511
19513
  image: Upload
19512
19514
 
19513
- """URL of image to upload"""
19515
+ """URL of image to upload. Either an image or a url must be provided."""
19514
19516
  url: String
19515
19517
 
19516
19518
  """ID of an product."""
@@ -19537,18 +19539,41 @@ Create one or more product images. For each image, if URL is present, image will
19537
19539
  """
19538
19540
  type ProductImageBulkCreate {
19539
19541
  product: Product
19540
- images: [ProductImage!]
19541
- productErrors: [ProductError!]!
19542
+
19543
+ """List of the created images."""
19544
+ images: [ProductImage!]!
19545
+ bulkProductImageErrors: [BulkProductImageError!]!
19546
+ }
19547
+
19548
+ type BulkProductImageError {
19549
+ """
19550
+ Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
19551
+ """
19552
+ field: String
19553
+
19554
+ """The error message."""
19555
+ message: String!
19556
+
19557
+ """The error code."""
19558
+ code: ProductErrorCode!
19559
+
19560
+ """List of attributes IDs which causes the error."""
19561
+ attributes: [ID!]
19562
+
19563
+ """Index of an input list item that caused the error."""
19564
+ index: Int
19542
19565
  }
19543
19566
 
19544
19567
  input ProductImageBulkCreateInput {
19545
19568
  """Alt text for an image."""
19546
19569
  alt: String
19547
19570
 
19548
- """Represents an image file in a multipart request."""
19571
+ """
19572
+ Represents an image file in a multipart request. Either an image or a url must be provided.
19573
+ """
19549
19574
  image: Upload
19550
19575
 
19551
- """URL of image to upload"""
19576
+ """URL of image to upload. Either an image or a url must be provided."""
19552
19577
  url: String
19553
19578
 
19554
19579
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.78.0-13-g91340c2d8",
3
+ "version": "v1.78.0-15-g9d2241be7",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {