@nautical-commerce/graphql-schema 1.65.0-3-ge17302e06 → 1.65.0-31-g6a308a532

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,34 @@ 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
+
4812
+ """
4813
+ App this integration is for. This may be null for integrations that come from plugins.
4814
+ """
4815
+ app: App
4816
+
4817
+ """What context this integration should be rendered in"""
4818
+ context: AppStorefrontIntegrationContextEnum!
4819
+
4820
+ """JSON string of params to pass to the remote component"""
4821
+ params: String!
4822
+
4823
+ """The URL to the remote component to load"""
4824
+ componentUrl: String!
4825
+ }
4826
+
4827
+ enum AppStorefrontIntegrationContextEnum {
4828
+ """Product details page"""
4829
+ PRODUCT_DETAILS
4830
+
4831
+ """Sitewide"""
4832
+ SITE
4833
+ }
4834
+
4807
4835
  """Webhook."""
4808
4836
  type Webhook implements Node {
4809
4837
  name: String!
@@ -8671,7 +8699,15 @@ type Shop {
8671
8699
  """
8672
8700
  None if shop does not use Crisp, otherwise this contains Crisp Website ID.
8673
8701
  """
8674
- crispWebsiteId: String
8702
+ crispWebsiteId: String @deprecated(reason: "This will be removed on April 7, 2025.")
8703
+
8704
+ """Storefront integrations for the given contexts"""
8705
+ storefrontUiIntegrations(
8706
+ """
8707
+ Contexts that integrations should be filtered to. If not specified, all contexts will be returned.
8708
+ """
8709
+ contexts: [AppStorefrontIntegrationContextEnum!]
8710
+ ): [AppStorefrontIntegration!]!
8675
8711
 
8676
8712
  """Determines whether seller products require approval"""
8677
8713
  requireProductApproval: Boolean
@@ -8942,7 +8978,7 @@ input ShippingZoneFilterInput {
8942
8978
  search: String
8943
8979
  }
8944
8980
 
8945
- type PublicSeller implements Node {
8981
+ type PublicSeller implements Node & ObjectWithMetadata {
8946
8982
  """The ID of the object"""
8947
8983
  id: ID!
8948
8984
  companyName: String!
@@ -8958,6 +8994,14 @@ type PublicSeller implements Node {
8958
8994
  ): Image
8959
8995
  products(offset: Int, before: String, after: String, first: Int, last: Int): ProductCountableConnection!
8960
8996
  variants(offset: Int, before: String, after: String, first: Int, last: Int): ProductVariantCountableConnection!
8997
+
8998
+ """
8999
+ List of private metadata items.Requires proper staff permissions to access.
9000
+ """
9001
+ privateMetadata: [MetadataItem!]!
9002
+
9003
+ """List of public metadata items. Can be accessed without permissions."""
9004
+ metadata: [MetadataItem!]!
8961
9005
  storeDescription: String
8962
9006
  storeDescriptionPlainText: String
8963
9007
  }
@@ -11698,6 +11742,9 @@ enum EmailEventMessageType {
11698
11742
  """Pending Quote"""
11699
11743
  PENDING_QUOTE
11700
11744
 
11745
+ """Merchant Account Set Password"""
11746
+ MERCHANT_ACCOUNT_SET_PASSWORD
11747
+
11701
11748
  """Account Set Staff Password"""
11702
11749
  ACCOUNT_SET_STAFF_PASSWORD
11703
11750
 
@@ -11818,6 +11865,9 @@ enum NotifyEventTypeEnum {
11818
11865
  """Pending Quote"""
11819
11866
  PENDING_QUOTE
11820
11867
 
11868
+ """Merchant Account Set Password"""
11869
+ MERCHANT_ACCOUNT_SET_PASSWORD
11870
+
11821
11871
  """Account Set Staff Password"""
11822
11872
  ACCOUNT_SET_STAFF_PASSWORD
11823
11873
 
@@ -13177,7 +13227,7 @@ type Mutation {
13177
13227
  description: String
13178
13228
 
13179
13229
  """
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.
13230
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/pdf, image/svg, application/zip, application/vnd.openxmlformats-officedocument.presentationml.slideshow, text/comma-separated-values, image/dxf, application/x-acad, application/vnd.oasis.opendocument.text, application/x-gzip, image/eps, application/jpg, application/eps, application/vnd.ms-powerpoint, image/gif, image/heif-sequence, image/x-tiff, application/tiff, application/gzipped, application/csv, image/heif, drawing/x-dwg, application/x-pdf, text/rtf, image/heic-sequence, text/csv, image/bmp, application/x-zip-compressed, application/x-tar, pplication/vnd.rar, text/x-comma-separated-values, application/dxf, image/x-ms-bmp, application/gzip-compressed, application/gzip, image/x-dxf, application/x-dwg, image/svg+xml, image/webp, image/x-dwg, application/dwg, text/x-pdf, application/acrobat, text/svg, application/vnd.oasis.opendocument.presentation, text/plain, application/x-eps, image/x-eps, image/png, application/x-dxf, text/svg-xml, text/pdf, application/acad, application/x-rar-compressed, application/vnd.pdf, image/tif, application/x-jpg, application/x-rtf, application/vnd.oasis.opendocument.spreadsheet, image/jpg, application/rtf, drawing/dwg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/tiff, application/excel, application/msword, application/x-rar, image/heic, application/svg+xml, application/tif, application/x-autocad, application/vnd.ms-word, drawing/x-dwf, image/vnd.dwg, text/x-csv, application/x-tif, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/postscript, image/jpeg, image/x-bmp, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-tiff, application/x-csv, image/x-tif.
13181
13231
  """
13182
13232
  file: Upload!
13183
13233
 
@@ -16004,6 +16054,18 @@ type Mutation {
16004
16054
  token: String!
16005
16055
  ): AppTokenVerify
16006
16056
 
16057
+ """Creates a new storefront integration for an app."""
16058
+ appStorefrontIntegrationCreate(
16059
+ """Fields required to create a storefront integration."""
16060
+ input: AppStorefrontIntegrationInput!
16061
+ ): AppStorefrontIntegrationCreate
16062
+
16063
+ """Deletes an app storefront integration from the app."""
16064
+ appStorefrontIntegrationDelete(
16065
+ """ID of a app storefront integration to delete."""
16066
+ id: ID!
16067
+ ): AppStorefrontIntegrationDelete
16068
+
16007
16069
  """Install new app by using app manifest."""
16008
16070
  appInstall(
16009
16071
  """Fields required to install a new app."""
@@ -23053,6 +23115,34 @@ type AppTokenVerify {
23053
23115
  appErrors: [AppError!]!
23054
23116
  }
23055
23117
 
23118
+ """Creates a new storefront integration for an app."""
23119
+ type AppStorefrontIntegrationCreate {
23120
+ appErrors: [AppError!]!
23121
+ appStorefrontIntegration: AppStorefrontIntegration
23122
+ }
23123
+
23124
+ input AppStorefrontIntegrationInput {
23125
+ """ID of app."""
23126
+ app: ID!
23127
+
23128
+ """URL to the remote component to load"""
23129
+ componentUrl: String!
23130
+
23131
+ """Context for where this integration should render"""
23132
+ context: AppStorefrontIntegrationContextEnum!
23133
+
23134
+ """
23135
+ JSON formatted string containing any params to pass to the component during render
23136
+ """
23137
+ params: String
23138
+ }
23139
+
23140
+ """Deletes an app storefront integration from the app."""
23141
+ type AppStorefrontIntegrationDelete {
23142
+ appErrors: [AppError!]!
23143
+ appStorefrontIntegration: AppStorefrontIntegration
23144
+ }
23145
+
23056
23146
  """Install new app by using app manifest."""
23057
23147
  type AppInstall {
23058
23148
  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-31-g6a308a532",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {