@nautical-commerce/graphql-schema 1.65.0-3-ge17302e06 → 1.65.0-30-g60128d909

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.
@@ -2194,6 +2194,7 @@ enum EventTypeEnum {
2194
2194
  partial_order_cancel
2195
2195
  order_refund_confirmation
2196
2196
  pending_quote
2197
+ merchant_account_set_password
2197
2198
  account_set_staff_password
2198
2199
  csv_export_products_success
2199
2200
  csv_export_failed
@@ -2592,9 +2593,6 @@ type CountryDisplay {
2592
2593
  """List of required address fields for the country."""
2593
2594
  requiredFields: [String!]
2594
2595
 
2595
- """List of allowed country area choices for this country."""
2596
- allowedCountryAreas: [String!] @deprecated(reason: "Use detailedAllowedCountryAreas instead which returns the code for each area as well. This field will be removed after December 31, 2024.")
2597
-
2598
2596
  """List of allowed country area choices including codes"""
2599
2597
  detailedAllowedCountryAreas: [CountryArea!]!
2600
2598
  }
@@ -2764,7 +2762,6 @@ enum ShippingMethodTypeEnum {
2764
2762
  }
2765
2763
 
2766
2764
  type MultiSellerShippingMethod {
2767
- seller: Int @deprecated(reason: "Use sellerId instead. This will be removed on December 31, 2024.")
2768
2765
  sellerId: ID!
2769
2766
  sellerName: String!
2770
2767
  value: [ShippingMethod!]!
@@ -4711,6 +4708,9 @@ type App implements Node & ObjectWithMetadata {
4711
4708
  """Type of the app."""
4712
4709
  type: AppTypeEnum
4713
4710
 
4711
+ """List of storefront integrations for this app"""
4712
+ storefrontIntegrations: [AppStorefrontIntegration!]
4713
+
4714
4714
  """List of webhooks assigned to this app."""
4715
4715
  webhooks: [Webhook!]
4716
4716
 
@@ -4804,6 +4804,30 @@ enum AppTypeEnum {
4804
4804
  THIRDPARTY
4805
4805
  }
4806
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
+
4807
4831
  """Webhook."""
4808
4832
  type Webhook implements Node {
4809
4833
  name: String!
@@ -8673,6 +8697,14 @@ type Shop {
8673
8697
  """
8674
8698
  crispWebsiteId: String
8675
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
+
8676
8708
  """Determines whether seller products require approval"""
8677
8709
  requireProductApproval: Boolean
8678
8710
 
@@ -8942,7 +8974,7 @@ input ShippingZoneFilterInput {
8942
8974
  search: String
8943
8975
  }
8944
8976
 
8945
- type PublicSeller implements Node {
8977
+ type PublicSeller implements Node & ObjectWithMetadata {
8946
8978
  """The ID of the object"""
8947
8979
  id: ID!
8948
8980
  companyName: String!
@@ -8958,6 +8990,14 @@ type PublicSeller implements Node {
8958
8990
  ): Image
8959
8991
  products(offset: Int, before: String, after: String, first: Int, last: Int): ProductCountableConnection!
8960
8992
  variants(offset: Int, before: String, after: String, first: Int, last: Int): ProductVariantCountableConnection!
8993
+
8994
+ """
8995
+ List of private metadata items.Requires proper staff permissions to access.
8996
+ """
8997
+ privateMetadata: [MetadataItem!]!
8998
+
8999
+ """List of public metadata items. Can be accessed without permissions."""
9000
+ metadata: [MetadataItem!]!
8961
9001
  storeDescription: String
8962
9002
  storeDescriptionPlainText: String
8963
9003
  }
@@ -11698,6 +11738,9 @@ enum EmailEventMessageType {
11698
11738
  """Pending Quote"""
11699
11739
  PENDING_QUOTE
11700
11740
 
11741
+ """Merchant Account Set Password"""
11742
+ MERCHANT_ACCOUNT_SET_PASSWORD
11743
+
11701
11744
  """Account Set Staff Password"""
11702
11745
  ACCOUNT_SET_STAFF_PASSWORD
11703
11746
 
@@ -11818,6 +11861,9 @@ enum NotifyEventTypeEnum {
11818
11861
  """Pending Quote"""
11819
11862
  PENDING_QUOTE
11820
11863
 
11864
+ """Merchant Account Set Password"""
11865
+ MERCHANT_ACCOUNT_SET_PASSWORD
11866
+
11821
11867
  """Account Set Staff Password"""
11822
11868
  ACCOUNT_SET_STAFF_PASSWORD
11823
11869
 
@@ -13177,7 +13223,7 @@ type Mutation {
13177
13223
  description: String
13178
13224
 
13179
13225
  """
13180
- 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/tiff, application/acad, application/x-gzip, image/x-dxf, application/dxf, image/gif, application/dwg, application/x-tiff, application/vnd.oasis.opendocument.text, application/x-rar-compressed, image/jpg, application/svg+xml, text/rtf, application/vnd.ms-excel, image/vnd.dwg, application/eps, image/heic, image/heic-sequence, application/x-dwg, application/acrobat, application/msword, pplication/vnd.rar, application/x-eps, application/gzip-compressed, drawing/x-dwg, image/x-eps, text/x-comma-separated-values, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/csv, application/pdf, image/dxf, application/csv, application/x-csv, image/svg+xml, application/x-zip-compressed, image/x-tif, image/bmp, image/png, image/jpeg, image/svg, application/tif, text/x-csv, image/tif, image/webp, text/plain, application/x-acad, image/heif-sequence, application/jpg, text/svg-xml, text/svg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/x-bmp, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.oasis.opendocument.spreadsheet, application/postscript, application/gzipped, application/tiff, application/zip, application/excel, application/rtf, application/x-autocad, drawing/dwg, image/x-ms-bmp, application/x-tif, application/gzip, application/vnd.ms-powerpoint, application/vnd.ms-word, image/eps, image/x-dwg, drawing/x-dwf, application/x-tar, application/x-dxf, application/vnd.oasis.opendocument.presentation, image/heif, application/x-rar, image/x-tiff, application/vnd.pdf, application/x-pdf, text/pdf, application/x-rtf, text/comma-separated-values, application/x-jpg.
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/acrobat, application/vnd.ms-excel, application/x-autocad, image/heic-sequence, application/x-tiff, application/excel, application/x-dxf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, text/svg, application/x-jpg, image/vnd.dwg, application/postscript, application/zip, application/svg+xml, image/x-ms-bmp, image/dxf, image/eps, application/x-pdf, application/vnd.ms-word, application/gzip-compressed, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/svg+xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-rar, application/rtf, text/pdf, application/x-tif, application/vnd.pdf, drawing/x-dwg, image/x-bmp, image/x-dwg, drawing/x-dwf, image/heif-sequence, application/x-gzip, image/gif, application/vnd.oasis.opendocument.presentation, application/x-dwg, application/x-rtf, image/svg, application/x-eps, drawing/dwg, application/gzip, text/x-comma-separated-values, text/svg-xml, application/dwg, application/x-acad, application/pdf, application/eps, application/vnd.oasis.opendocument.spreadsheet, text/comma-separated-values, application/jpg, application/x-tar, image/tif, application/tif, application/x-csv, application/gzipped, text/x-csv, application/csv, image/bmp, image/heif, text/plain, image/x-dxf, application/x-zip-compressed, pplication/vnd.rar, application/x-rar-compressed, application/vnd.oasis.opendocument.text, text/csv, image/x-tif, image/x-tiff, text/x-pdf, application/msword, application/dxf, application/tiff, image/png, image/heic, image/webp, text/rtf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/acad, image/x-eps, image/tiff, image/jpg, application/vnd.ms-powerpoint, image/jpeg.
13181
13227
  """
13182
13228
  file: Upload!
13183
13229
 
@@ -16004,6 +16050,18 @@ type Mutation {
16004
16050
  token: String!
16005
16051
  ): AppTokenVerify
16006
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
+
16007
16065
  """Install new app by using app manifest."""
16008
16066
  appInstall(
16009
16067
  """Fields required to install a new app."""
@@ -23053,6 +23111,34 @@ type AppTokenVerify {
23053
23111
  appErrors: [AppError!]!
23054
23112
  }
23055
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
+
23056
23142
  """Install new app by using app manifest."""
23057
23143
  type AppInstall {
23058
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-3-ge17302e06",
3
+ "version": "v1.65.0-30-g60128d909",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {