@nautical-commerce/graphql-schema 1.65.0-20-gbfcdc30f9 → 1.65.0-21-ge46d01af2

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.
@@ -4708,6 +4708,9 @@ type App implements Node & ObjectWithMetadata {
4708
4708
  """Type of the app."""
4709
4709
  type: AppTypeEnum
4710
4710
 
4711
+ """List of storefront integrations for this app"""
4712
+ storefrontIntegrations: [AppStorefrontIntegration!]
4713
+
4711
4714
  """List of webhooks assigned to this app."""
4712
4715
  webhooks: [Webhook!]
4713
4716
 
@@ -4801,6 +4804,30 @@ enum AppTypeEnum {
4801
4804
  THIRDPARTY
4802
4805
  }
4803
4806
 
4807
+ """Represents a storefront integration for an App."""
4808
+ type AppStorefrontIntegration implements Node {
4809
+ """The ID of the object"""
4810
+ id: ID!
4811
+ app: App!
4812
+
4813
+ """What context this integration should be rendered in"""
4814
+ context: AppStorefrontIntegrationContextEnum!
4815
+
4816
+ """JSON string of params to pass to the remote component"""
4817
+ params: String!
4818
+
4819
+ """The URL to the remote component to load"""
4820
+ componentUrl: String!
4821
+ }
4822
+
4823
+ enum AppStorefrontIntegrationContextEnum {
4824
+ """Product details page"""
4825
+ PRODUCT_DETAILS
4826
+
4827
+ """Sitewide"""
4828
+ SITE
4829
+ }
4830
+
4804
4831
  """Webhook."""
4805
4832
  type Webhook implements Node {
4806
4833
  name: String!
@@ -13188,7 +13215,7 @@ type Mutation {
13188
13215
  description: String
13189
13216
 
13190
13217
  """
13191
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: text/csv, image/png, image/x-tif, application/pdf, image/bmp, text/x-csv, text/plain, application/x-rar-compressed, application/x-autocad, application/x-eps, application/tiff, application/x-pdf, application/vnd.pdf, image/x-ms-bmp, application/dxf, application/excel, image/jpeg, image/x-eps, image/jpg, text/rtf, image/heic-sequence, application/acad, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/webp, drawing/x-dwg, drawing/x-dwf, application/gzip-compressed, application/x-dxf, application/x-csv, application/vnd.ms-excel, application/msword, application/x-rar, image/eps, application/jpg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/eps, text/x-comma-separated-values, application/vnd.oasis.opendocument.presentation, application/rtf, image/svg+xml, image/x-tiff, application/vnd.ms-word, image/gif, application/x-tiff, application/dwg, application/svg+xml, image/svg, image/tiff, image/dxf, application/csv, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/comma-separated-values, application/vnd.ms-powerpoint, text/x-pdf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/gzipped, image/x-dxf, drawing/dwg, text/svg, application/x-gzip, application/zip, text/pdf, image/heic, application/x-tar, application/vnd.oasis.opendocument.text, pplication/vnd.rar, image/heif, image/vnd.dwg, image/heif-sequence, application/tif, image/tif, application/x-jpg, text/svg-xml, application/x-tif, application/gzip, application/postscript, application/x-rtf, application/vnd.oasis.opendocument.spreadsheet, application/x-dwg, image/x-bmp, application/acrobat, image/x-dwg, application/x-zip-compressed, application/x-acad.
13218
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/vnd.ms-powerpoint, image/x-eps, application/dwg, drawing/x-dwf, image/jpeg, image/x-bmp, image/jpg, application/x-rtf, application/x-eps, application/zip, application/tif, application/x-rar, application/x-autocad, image/gif, application/x-zip-compressed, application/vnd.pdf, application/pdf, application/csv, application/x-dxf, application/acad, application/x-jpg, application/vnd.oasis.opendocument.spreadsheet, image/png, image/svg+xml, image/eps, image/x-tif, application/excel, text/pdf, application/vnd.oasis.opendocument.presentation, application/postscript, image/x-tiff, image/vnd.dwg, application/x-tar, image/svg, image/x-dxf, image/heif-sequence, application/vnd.oasis.opendocument.text, image/dxf, text/svg-xml, drawing/dwg, image/x-dwg, application/x-rar-compressed, image/heic-sequence, text/x-csv, pplication/vnd.rar, image/tif, image/heic, application/gzipped, text/x-comma-separated-values, application/msword, text/plain, application/eps, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-csv, application/jpg, application/rtf, drawing/x-dwg, application/x-dwg, application/gzip, application/x-gzip, application/x-pdf, application/x-tif, application/x-acad, application/dxf, image/bmp, image/tiff, text/rtf, text/comma-separated-values, text/svg, text/csv, text/x-pdf, application/vnd.ms-word, application/tiff, application/svg+xml, application/vnd.ms-excel, image/webp, application/x-tiff, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/heif, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/gzip-compressed, image/x-ms-bmp, application/acrobat.
13192
13219
  """
13193
13220
  file: Upload!
13194
13221
 
@@ -16015,6 +16042,18 @@ type Mutation {
16015
16042
  token: String!
16016
16043
  ): AppTokenVerify
16017
16044
 
16045
+ """Creates a new storefront integration for an app."""
16046
+ appStorefrontIntegrationCreate(
16047
+ """Fields required to create a storefront integration."""
16048
+ input: AppStorefrontIntegrationInput!
16049
+ ): AppStorefrontIntegrationCreate
16050
+
16051
+ """Deletes an app storefront integration from the app."""
16052
+ appStorefrontIntegrationDelete(
16053
+ """ID of a app storefront integration to delete."""
16054
+ id: ID!
16055
+ ): AppStorefrontIntegrationDelete
16056
+
16018
16057
  """Install new app by using app manifest."""
16019
16058
  appInstall(
16020
16059
  """Fields required to install a new app."""
@@ -23064,6 +23103,34 @@ type AppTokenVerify {
23064
23103
  appErrors: [AppError!]!
23065
23104
  }
23066
23105
 
23106
+ """Creates a new storefront integration for an app."""
23107
+ type AppStorefrontIntegrationCreate {
23108
+ appErrors: [AppError!]!
23109
+ appStorefrontIntegration: AppStorefrontIntegration
23110
+ }
23111
+
23112
+ input AppStorefrontIntegrationInput {
23113
+ """ID of app."""
23114
+ app: ID!
23115
+
23116
+ """URL to the remote component to load"""
23117
+ componentUrl: String!
23118
+
23119
+ """Context for where this integration should render"""
23120
+ context: AppStorefrontIntegrationContextEnum!
23121
+
23122
+ """
23123
+ JSON formatted string containing any params to pass to the component during render
23124
+ """
23125
+ params: String
23126
+ }
23127
+
23128
+ """Deletes an app storefront integration from the app."""
23129
+ type AppStorefrontIntegrationDelete {
23130
+ appErrors: [AppError!]!
23131
+ appStorefrontIntegration: AppStorefrontIntegration
23132
+ }
23133
+
23067
23134
  """Install new app by using app manifest."""
23068
23135
  type AppInstall {
23069
23136
  appErrors: [AppError!]!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.65.0-20-gbfcdc30f9",
3
+ "version": "v1.65.0-21-ge46d01af2",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {