@nautical-commerce/graphql-schema 1.81.0-4-gf3972a251 → 1.81.0-40-g39ace0a2f

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.
@@ -1701,6 +1701,33 @@ type Query {
1701
1701
  contentType: CustomFieldTemplateEnum
1702
1702
  ): CustomFieldTemplate
1703
1703
 
1704
+ """List of all attribute values"""
1705
+ attributeValues(
1706
+ """Filtering options for attribute values."""
1707
+ filter: AttributeValueFilterInput
1708
+
1709
+ """Sorting options for attribute values."""
1710
+ sortBy: AttributeValueSortingInput
1711
+
1712
+ """Return the elements in the list that come before the specified cursor."""
1713
+ before: String
1714
+
1715
+ """Return the elements in the list that come after the specified cursor."""
1716
+ after: String
1717
+
1718
+ """Return the first n elements from the list."""
1719
+ first: Int
1720
+
1721
+ """Return the last n elements from the list."""
1722
+ last: Int
1723
+ ): AttributeValueCountableConnection
1724
+
1725
+ """Look up an attribute value by ID."""
1726
+ attributeValue(
1727
+ """ID of the attribute value."""
1728
+ id: ID!
1729
+ ): AttributeValue
1730
+
1704
1731
  """List of the apps."""
1705
1732
  apps(
1706
1733
  """Filtering options for apps."""
@@ -1859,6 +1886,14 @@ type Query {
1859
1886
  last: Int
1860
1887
  ): UserCountableConnection!
1861
1888
 
1889
+ """
1890
+ List of SSO integrations that are active and can be used to authenticate users.
1891
+ """
1892
+ ssoIntegrations(
1893
+ """Whether the SSO integration is for the dashboard."""
1894
+ isDashboard: Boolean!
1895
+ ): [SSOIntegration!]!
1896
+
1862
1897
  """Look up a user by ID."""
1863
1898
  user(
1864
1899
  """ID of the user."""
@@ -2942,6 +2977,11 @@ type Product implements Node & ObjectWithMetadata {
2942
2977
 
2943
2978
  """Whether this product allows creating variants."""
2944
2979
  hasVariantOptions: Boolean!
2980
+
2981
+ """
2982
+ List of warnings for this product that needs to be resolved for publishing.
2983
+ """
2984
+ warnings: [WarningMessageItem!]!
2945
2985
  }
2946
2986
 
2947
2987
  """
@@ -3239,15 +3279,15 @@ type MarketplaceConfiguration {
3239
3279
 
3240
3280
  """URL of a view where customers can set their password."""
3241
3281
  customerSetPasswordUrl: String
3242
-
3243
- """Include taxes in prices."""
3244
- includeTaxesInPrices: Boolean! @deprecated(reason: "This will be removed on April 29, 2025.")
3245
3282
  chargeTaxesOnShipping: Boolean!
3246
3283
 
3247
3284
  """
3248
3285
  The marketplace's end trial date, or null if the marketplace is not in trial mode.
3249
3286
  """
3250
3287
  trialEndsAt: DateTime
3288
+
3289
+ """Indicates whether the marketplace is subscribed to an active pro plan."""
3290
+ hasActiveProPlanSubscription: Boolean
3251
3291
  }
3252
3292
 
3253
3293
  """
@@ -4683,6 +4723,7 @@ input ProductFilterInput {
4683
4723
  advancedSearch: ProductSearchInput
4684
4724
  ids: [ID]
4685
4725
  isStaff: Boolean
4726
+ hasWarnings: Boolean
4686
4727
  metadata: MetadataFilterInput
4687
4728
  privateMetadata: MetadataFilterInput
4688
4729
  }
@@ -5537,6 +5578,9 @@ type AttributeValue implements Node {
5537
5578
  sortOrder: Int
5538
5579
  tenant: Tenant!
5539
5580
 
5581
+ """The seller that owns this attribute value"""
5582
+ seller: Seller!
5583
+
5540
5584
  """Name of a value displayed in the interface."""
5541
5585
  name: String!
5542
5586
 
@@ -7818,6 +7862,14 @@ Should be used in places where value must be positive.
7818
7862
  """
7819
7863
  scalar PositiveDecimal
7820
7864
 
7865
+ type WarningMessageItem {
7866
+ """Code of the warning message."""
7867
+ code: String!
7868
+
7869
+ """Warning Message."""
7870
+ message: String!
7871
+ }
7872
+
7821
7873
  """Represents availability of a variant in the storefront."""
7822
7874
  type VariantPricingInfo {
7823
7875
  """Whether it is in sale or not."""
@@ -8887,9 +8939,6 @@ type Shop {
8887
8939
  """List of possible phone prefixes."""
8888
8940
  phonePrefixes: [String!]!
8889
8941
 
8890
- """Include taxes in prices."""
8891
- includeTaxesInPrices: Boolean! @deprecated(reason: "This will be removed on April 29, 2025.")
8892
-
8893
8942
  """Charge taxes on shipping."""
8894
8943
  chargeTaxesOnShipping: Boolean!
8895
8944
 
@@ -11907,6 +11956,42 @@ enum CustomFieldTemplateEnum {
11907
11956
  FULFILLMENT
11908
11957
  }
11909
11958
 
11959
+ type AttributeValueCountableConnection {
11960
+ """Pagination data for this connection."""
11961
+ pageInfo: PageInfo!
11962
+ edges: [AttributeValueCountableEdge!]!
11963
+
11964
+ """A total count of items in the collection."""
11965
+ totalCount: Int
11966
+ }
11967
+
11968
+ type AttributeValueCountableEdge {
11969
+ """The item at the end of the edge."""
11970
+ node: AttributeValue!
11971
+
11972
+ """A cursor for use in pagination."""
11973
+ cursor: String!
11974
+ }
11975
+
11976
+ input AttributeValueFilterInput {
11977
+ attributeIds: [ID]
11978
+ search: String
11979
+ }
11980
+
11981
+ input AttributeValueSortingInput {
11982
+ """Specifies the direction in which to sort products."""
11983
+ direction: OrderDirection!
11984
+
11985
+ """Sort attribute_values by the selected field."""
11986
+ field: AttributeValueSortField!
11987
+ }
11988
+
11989
+ enum AttributeValueSortField {
11990
+ SORT_ORDER
11991
+ NAME
11992
+ SLUG
11993
+ }
11994
+
11910
11995
  type AppCountableConnection {
11911
11996
  """Pagination data for this connection."""
11912
11997
  pageInfo: PageInfo!
@@ -12047,6 +12132,29 @@ enum StaffMemberStatus {
12047
12132
  DEACTIVATED
12048
12133
  }
12049
12134
 
12135
+ """Represents a SSO integration."""
12136
+ type SSOIntegration implements Node {
12137
+ """The ID of the SSO integration."""
12138
+ id: ID!
12139
+
12140
+ """The name of the SSO integration."""
12141
+ name: SSOProviderEnum!
12142
+
12143
+ """Whether the SSO integration is enabled."""
12144
+ isActive: Boolean!
12145
+
12146
+ """The URL to authorize the SSO integration."""
12147
+ oauthAuthorizationUrl: String!
12148
+ }
12149
+
12150
+ enum SSOProviderEnum {
12151
+ """Google"""
12152
+ GOOGLE
12153
+
12154
+ """Keycloak"""
12155
+ KEYCLOAK
12156
+ }
12157
+
12050
12158
  union _Entity = WishlistItem | Wishlist | User | Address | ProductVariant | Product | Category | ProductType | App | Collection | ProductImage | ProductStatusLog | Group
12051
12159
 
12052
12160
  scalar _Any
@@ -12087,7 +12195,7 @@ type Mutation {
12087
12195
  description: String
12088
12196
 
12089
12197
  """
12090
- 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.oasis.opendocument.text, drawing/x-dwf, image/heif-sequence, application/x-pdf, image/eps, application/acad, application/x-acad, image/webp, application/excel, text/x-comma-separated-values, application/x-jpg, image/heif, image/x-dxf, application/vnd.ms-excel, image/heic-sequence, application/gzip-compressed, application/x-rtf, application/gzip, application/postscript, application/dxf, text/plain, application/x-tiff, application/eps, application/x-zip-compressed, text/x-pdf, image/dxf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/tiff, text/svg, application/pdf, application/x-rar-compressed, application/rtf, drawing/dwg, application/vnd.pdf, application/vnd.oasis.opendocument.spreadsheet, application/acrobat, application/x-autocad, application/tiff, image/png, application/vnd.ms-powerpoint, application/gzipped, application/msword, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/vnd.dwg, image/tif, pplication/vnd.rar, application/x-gzip, image/heic, image/x-ms-bmp, image/x-dwg, image/x-eps, image/x-tif, application/dwg, image/svg, application/x-tif, application/csv, application/x-tar, application/tif, image/gif, image/svg+xml, text/rtf, application/x-rar, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/svg+xml, text/comma-separated-values, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-dwg, image/x-tiff, application/x-eps, text/csv, application/x-dxf, application/x-csv, text/svg-xml, drawing/x-dwg, application/zip, image/bmp, application/vnd.ms-word, image/jpeg, application/vnd.oasis.opendocument.presentation, image/jpg, application/jpg, image/x-bmp, text/x-csv, text/pdf.
12198
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/x-acad, application/tif, application/x-gzip, application/vnd.oasis.opendocument.presentation, image/heif-sequence, text/x-pdf, text/comma-separated-values, image/heic-sequence, image/jpeg, image/x-dwg, image/png, application/pdf, application/tiff, application/x-rar-compressed, drawing/x-dwf, application/x-tif, text/x-csv, text/pdf, application/vnd.oasis.opendocument.text, application/gzipped, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/dwg, image/dxf, application/postscript, application/x-eps, text/svg, drawing/dwg, application/x-autocad, image/x-ms-bmp, application/vnd.oasis.opendocument.spreadsheet, application/x-zip-compressed, application/x-rtf, image/x-tiff, application/x-dwg, application/x-tar, image/webp, application/excel, application/x-jpg, image/gif, application/vnd.ms-excel, application/csv, application/vnd.ms-powerpoint, application/x-csv, pplication/vnd.rar, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/x-comma-separated-values, image/x-bmp, image/vnd.dwg, application/jpg, application/x-tiff, text/csv, image/jpg, application/acad, application/gzip-compressed, application/svg+xml, image/heic, image/heif, image/svg+xml, application/dxf, text/rtf, image/eps, application/vnd.ms-word, image/x-dxf, text/plain, image/tif, application/eps, image/tiff, application/acrobat, text/svg-xml, application/x-rar, image/x-eps, drawing/x-dwg, image/svg, image/bmp, application/zip, application/x-pdf, application/rtf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/x-tif, application/x-dxf, application/gzip, application/vnd.pdf, application/msword.
12091
12199
  """
12092
12200
  file: Upload!
12093
12201
 
@@ -14308,7 +14416,7 @@ type Mutation {
14308
14416
  exchangeRatesRefresh(
14309
14417
  """ID of the plugin to use to refresh exchange rates."""
14310
14418
  plugin: String!
14311
- ): ExchangeRatesRefresh
14419
+ ): ExchangeRatesRefresh @deprecated(reason: "This will be removed on Aug 2, 2025")
14312
14420
 
14313
14421
  """Create a checkout event."""
14314
14422
  checkoutEventTriggered(
@@ -14981,6 +15089,18 @@ type Mutation {
14981
15089
  token: String!
14982
15090
  ): EmailChangeConfirm
14983
15091
 
15092
+ """Login via SSO."""
15093
+ ssoLogin(
15094
+ """The oauth code"""
15095
+ code: String!
15096
+
15097
+ """Whether the user is logging in to the dashboard"""
15098
+ isDashboard: Boolean!
15099
+
15100
+ """The oauth state"""
15101
+ state: String!
15102
+ ): SSOLogin
15103
+
14984
15104
  """Create a new address for the customer."""
14985
15105
  accountAddressCreate(
14986
15106
  """Fields required to create address."""
@@ -15489,9 +15609,6 @@ input MarketplaceConfigurationInput {
15489
15609
  """URL of a view where customers can set their password."""
15490
15610
  customerSetPasswordUrl: String
15491
15611
 
15492
- """Include taxes in prices."""
15493
- includeTaxesInPrices: Boolean @deprecated(reason: "This will be removed on April 29, 2025.")
15494
-
15495
15612
  """Charge taxes on shipping."""
15496
15613
  chargeTaxesOnShipping: Boolean
15497
15614
  }
@@ -21923,6 +22040,19 @@ type EmailChangeConfirm {
21923
22040
  accountErrors: [AccountError!]!
21924
22041
  }
21925
22042
 
22043
+ """Login via SSO."""
22044
+ type SSOLogin {
22045
+ """JWT token, required to authenticate."""
22046
+ token: String
22047
+
22048
+ """JWT refresh token, required to re-generate access token."""
22049
+ refreshToken: String
22050
+
22051
+ """A user instance."""
22052
+ user: User
22053
+ accountErrors: [AccountError!]!
22054
+ }
22055
+
21926
22056
  """Create a new address for the customer."""
21927
22057
  type AccountAddressCreate {
21928
22058
  """A user instance for which the address was created."""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.81.0-4-gf3972a251",
3
+ "version": "v1.81.0-40-g39ace0a2f",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {