@nautical-commerce/graphql-schema 1.65.0-20-gbfcdc30f9 → 1.65.0-22-g2fc728933

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!
@@ -8670,6 +8697,14 @@ type Shop {
8670
8697
  """
8671
8698
  crispWebsiteId: String
8672
8699
 
8700
+ """Storefront integrations for the given contexts"""
8701
+ storefrontUiIntegrations(
8702
+ """
8703
+ Contexts that integrations should be filtered to. If not specified, all contexts will be returned.
8704
+ """
8705
+ contexts: [AppStorefrontIntegrationContextEnum!]
8706
+ ): [AppStorefrontIntegration!]!
8707
+
8673
8708
  """Determines whether seller products require approval"""
8674
8709
  requireProductApproval: Boolean
8675
8710
 
@@ -13188,7 +13223,7 @@ type Mutation {
13188
13223
  description: String
13189
13224
 
13190
13225
  """
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.
13226
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/acad, application/dwg, application/zip, application/x-csv, image/gif, application/csv, application/gzip-compressed, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/postscript, application/x-rar, application/x-tar, image/x-eps, image/heif-sequence, application/gzip, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/jpeg, application/x-pdf, drawing/x-dwg, image/eps, application/vnd.ms-word, image/heif, application/x-dxf, application/vnd.pdf, image/x-tif, image/x-dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/gzipped, application/x-rar-compressed, application/x-rtf, text/comma-separated-values, image/x-tiff, application/x-autocad, drawing/dwg, text/pdf, application/vnd.oasis.opendocument.text, application/dxf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/jpg, application/eps, application/x-acad, text/svg-xml, application/vnd.oasis.opendocument.presentation, application/x-jpg, image/webp, application/vnd.ms-excel, application/msword, application/pdf, image/vnd.dwg, text/x-pdf, image/x-dxf, image/svg+xml, application/tif, application/svg+xml, pplication/vnd.rar, image/tiff, application/vnd.oasis.opendocument.spreadsheet, text/x-csv, image/heic, image/svg, text/svg, image/dxf, application/x-tif, application/acrobat, image/bmp, drawing/x-dwf, application/x-eps, application/x-tiff, text/csv, application/tiff, image/heic-sequence, application/vnd.ms-powerpoint, text/x-comma-separated-values, application/x-gzip, application/x-zip-compressed, text/plain, image/x-bmp, image/x-ms-bmp, text/rtf, image/jpg, image/tif, application/x-dwg, application/rtf, image/png, application/excel.
13192
13227
  """
13193
13228
  file: Upload!
13194
13229
 
@@ -16015,6 +16050,18 @@ type Mutation {
16015
16050
  token: String!
16016
16051
  ): AppTokenVerify
16017
16052
 
16053
+ """Creates a new storefront integration for an app."""
16054
+ appStorefrontIntegrationCreate(
16055
+ """Fields required to create a storefront integration."""
16056
+ input: AppStorefrontIntegrationInput!
16057
+ ): AppStorefrontIntegrationCreate
16058
+
16059
+ """Deletes an app storefront integration from the app."""
16060
+ appStorefrontIntegrationDelete(
16061
+ """ID of a app storefront integration to delete."""
16062
+ id: ID!
16063
+ ): AppStorefrontIntegrationDelete
16064
+
16018
16065
  """Install new app by using app manifest."""
16019
16066
  appInstall(
16020
16067
  """Fields required to install a new app."""
@@ -23064,6 +23111,34 @@ type AppTokenVerify {
23064
23111
  appErrors: [AppError!]!
23065
23112
  }
23066
23113
 
23114
+ """Creates a new storefront integration for an app."""
23115
+ type AppStorefrontIntegrationCreate {
23116
+ appErrors: [AppError!]!
23117
+ appStorefrontIntegration: AppStorefrontIntegration
23118
+ }
23119
+
23120
+ input AppStorefrontIntegrationInput {
23121
+ """ID of app."""
23122
+ app: ID!
23123
+
23124
+ """URL to the remote component to load"""
23125
+ componentUrl: String!
23126
+
23127
+ """Context for where this integration should render"""
23128
+ context: AppStorefrontIntegrationContextEnum!
23129
+
23130
+ """
23131
+ JSON formatted string containing any params to pass to the component during render
23132
+ """
23133
+ params: String
23134
+ }
23135
+
23136
+ """Deletes an app storefront integration from the app."""
23137
+ type AppStorefrontIntegrationDelete {
23138
+ appErrors: [AppError!]!
23139
+ appStorefrontIntegration: AppStorefrontIntegration
23140
+ }
23141
+
23067
23142
  """Install new app by using app manifest."""
23068
23143
  type AppInstall {
23069
23144
  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-22-g2fc728933",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {