@nautical-commerce/graphql-schema 1.80.0-42-g0c9ab5005 → 1.80.0-44-g081739b71

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.
@@ -1870,6 +1870,15 @@ type Query {
1870
1870
  """Email address of the user."""
1871
1871
  email: String!
1872
1872
  ): User
1873
+
1874
+ """Determine if the email token provided is still valid or not."""
1875
+ isEmailTokenValid(
1876
+ """Generated email token."""
1877
+ token: String!
1878
+
1879
+ """Email address of the user."""
1880
+ email: String!
1881
+ ): Boolean
1873
1882
  _entities(representations: [_Any!]!): [_Entity]!
1874
1883
  _service: _Service!
1875
1884
  }
@@ -12075,7 +12084,7 @@ type Mutation {
12075
12084
  description: String
12076
12085
 
12077
12086
  """
12078
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/excel, application/vnd.pdf, image/png, image/x-tif, application/x-rar-compressed, application/gzip, image/vnd.dwg, text/x-pdf, application/vnd.oasis.opendocument.spreadsheet, text/csv, application/x-dwg, application/dxf, image/eps, pplication/vnd.rar, image/heic, application/acrobat, application/x-eps, application/vnd.ms-word, application/x-tif, image/x-ms-bmp, application/gzip-compressed, application/x-gzip, application/vnd.oasis.opendocument.presentation, image/dxf, drawing/x-dwf, application/x-csv, application/vnd.ms-powerpoint, application/dwg, application/eps, application/acad, application/jpg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/pdf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-pdf, application/x-rar, application/x-rtf, application/tif, image/tif, image/x-tiff, text/x-comma-separated-values, image/jpg, drawing/x-dwg, application/rtf, image/x-dwg, application/msword, application/x-acad, application/x-zip-compressed, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/x-csv, image/x-eps, image/heif, application/x-jpg, application/x-autocad, application/svg+xml, application/x-tiff, application/x-dxf, image/bmp, image/svg, text/svg, text/svg-xml, application/csv, drawing/dwg, image/heif-sequence, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/x-bmp, image/jpeg, image/x-dxf, application/vnd.ms-excel, application/zip, application/x-tar, image/tiff, image/svg+xml, text/rtf, image/webp, application/postscript, application/gzipped, image/gif, application/vnd.oasis.opendocument.text, text/pdf, application/tiff, text/comma-separated-values, image/heic-sequence, text/plain.
12087
+ 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-tif, application/csv, text/csv, application/pdf, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/dwg, application/x-gzip, application/x-tiff, image/heif, text/plain, application/x-tar, application/vnd.pdf, application/x-dwg, application/postscript, application/x-rtf, image/tiff, application/vnd.ms-excel, image/eps, image/x-eps, text/pdf, application/gzip, text/x-pdf, text/comma-separated-values, text/x-comma-separated-values, application/msword, drawing/x-dwg, application/vnd.ms-word, application/vnd.ms-powerpoint, image/x-dwg, image/x-dxf, text/rtf, image/heic, application/x-eps, application/tif, text/svg, application/svg+xml, text/x-csv, application/vnd.oasis.opendocument.presentation, application/jpg, image/png, image/dxf, image/vnd.dwg, image/x-ms-bmp, image/svg, image/gif, text/svg-xml, application/x-csv, application/gzipped, image/svg+xml, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.oasis.opendocument.spreadsheet, image/jpeg, application/x-acad, application/x-rar, application/rtf, image/x-tif, pplication/vnd.rar, application/dxf, application/gzip-compressed, application/acrobat, drawing/dwg, application/excel, image/x-tiff, application/tiff, image/webp, application/vnd.oasis.opendocument.text, application/acad, image/x-bmp, application/zip, application/x-dxf, image/heif-sequence, image/bmp, application/x-jpg, application/x-zip-compressed, image/heic-sequence, application/x-autocad, drawing/x-dwf, image/jpg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-rar-compressed, image/tif, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-pdf, application/eps.
12079
12088
  """
12080
12089
  file: Upload!
12081
12090
 
@@ -14866,7 +14875,7 @@ type Mutation {
14866
14875
 
14867
14876
  """Password of a user."""
14868
14877
  password: String!
14869
- ): CreateToken
14878
+ ): TokenCreate
14870
14879
 
14871
14880
  """Create authorization URL."""
14872
14881
  authUrlGenerate(
@@ -14895,16 +14904,16 @@ type Mutation {
14895
14904
 
14896
14905
  """Refresh token."""
14897
14906
  refreshToken: String
14898
- ): RefreshToken
14907
+ ): TokenRefresh
14899
14908
 
14900
14909
  """Verify JWT token."""
14901
14910
  tokenVerify(
14902
14911
  """JWT token to validate."""
14903
14912
  token: String!
14904
- ): VerifyToken
14913
+ ): TokenVerify
14905
14914
 
14906
14915
  """Deactivate all JWT tokens of the currently authenticated user."""
14907
- tokensDeactivateAll: DeactivateAllUserTokens
14916
+ tokensDeactivateAll: TokensDeactivateAll
14908
14917
 
14909
14918
  """Sends an email with the account password modification link."""
14910
14919
  passwordRequestReset(
@@ -21735,7 +21744,7 @@ enum OauthProviderSourceEnum {
21735
21744
  }
21736
21745
 
21737
21746
  """Create JWT token."""
21738
- type CreateToken {
21747
+ type TokenCreate {
21739
21748
  """JWT token, required to authenticate."""
21740
21749
  token: String
21741
21750
 
@@ -21836,7 +21845,7 @@ type TokenCreateSSO {
21836
21845
  """
21837
21846
  Refresh JWT token. Mutation tries to take refreshToken from the input.If it fails it will try to take refreshToken from the http-only cookie -refreshToken. csrfToken is required when refreshToken is provided as a cookie.
21838
21847
  """
21839
- type RefreshToken {
21848
+ type TokenRefresh {
21840
21849
  """JWT token, required to authenticate."""
21841
21850
  token: String
21842
21851
 
@@ -21846,7 +21855,7 @@ type RefreshToken {
21846
21855
  }
21847
21856
 
21848
21857
  """Verify JWT token."""
21849
- type VerifyToken {
21858
+ type TokenVerify {
21850
21859
  """User assigned to token."""
21851
21860
  user: User
21852
21861
 
@@ -21856,7 +21865,7 @@ type VerifyToken {
21856
21865
  }
21857
21866
 
21858
21867
  """Deactivate all JWT tokens of the currently authenticated user."""
21859
- type DeactivateAllUserTokens {
21868
+ type TokensDeactivateAll {
21860
21869
  accountErrors: [AccountError!]!
21861
21870
  }
21862
21871
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.80.0-42-g0c9ab5005",
3
+ "version": "v1.80.0-44-g081739b71",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {