Skip to content

Commit a3ab732

Browse files
chore: Update OpenAPI Specs (#47)
Co-authored-by: Clerk Bot <cookie@clerk.dev>
1 parent a052a67 commit a3ab732

File tree

6 files changed

+462
-87
lines changed

6 files changed

+462
-87
lines changed

bapi/2021-02-05.yml

Lines changed: 82 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4655,7 +4655,7 @@ paths:
46554655
Set or replace an organization's logo, by uploading an image file.
46564656
This endpoint uses the `multipart/form-data` request content type and accepts a file of image type.
46574657
The file size cannot exceed 10MB.
4658-
Only the following file content types are supported: `image/jpeg`, `image/png`, `image/gif`, `image/webp`, `image/x-icon`, `image/vnd.microsoft.icon`.
4658+
Only the following file content types are supported: `image/jpeg`, `image/png`, `image/gif`, `image/webp`.
46594659
tags:
46604660
- Organizations
46614661
parameters:
@@ -7239,10 +7239,15 @@ components:
72397239
- last_active_session_id
72407240
- updated_at
72417241
- created_at
7242-
OTP:
7242+
verification_otp:
7243+
x-speakeasy-name-override: OTP
72437244
type: object
72447245
additionalProperties: false
72457246
properties:
7247+
object:
7248+
type: string
7249+
enum:
7250+
- verification_otp
72467251
status:
72477252
type: string
72487253
enum:
@@ -7271,10 +7276,15 @@ components:
72717276
- strategy
72727277
- attempts
72737278
- expire_at
7274-
Admin:
7279+
verification_admin:
7280+
x-speakeasy-name-override: Admin
72757281
type: object
72767282
additionalProperties: false
72777283
properties:
7284+
object:
7285+
type: string
7286+
enum:
7287+
- verification_admin
72787288
status:
72797289
type: string
72807290
enum:
@@ -7298,10 +7308,15 @@ components:
72987308
- strategy
72997309
- attempts
73007310
- expire_at
7301-
FromOAuth:
7311+
verification_from_oauth:
7312+
x-speakeasy-name-override: FromOAuth
73027313
type: object
73037314
additionalProperties: false
73047315
properties:
7316+
object:
7317+
type: string
7318+
enum:
7319+
- verification_from_oauth
73057320
status:
73067321
type: string
73077322
enum:
@@ -7329,10 +7344,15 @@ components:
73297344
- strategy
73307345
- attempts
73317346
- expire_at
7332-
Ticket:
7347+
verification_ticket:
7348+
x-speakeasy-name-override: Ticket
73337349
type: object
73347350
additionalProperties: false
73357351
properties:
7352+
object:
7353+
type: string
7354+
enum:
7355+
- verification_ticket
73367356
status:
73377357
type: string
73387358
enum:
@@ -7391,10 +7411,12 @@ components:
73917411
type: object
73927412
nullable: true
73937413
oneOf:
7394-
- $ref: '#/components/schemas/OTP'
7395-
- $ref: '#/components/schemas/Admin'
7396-
- $ref: '#/components/schemas/FromOAuth'
7397-
- $ref: '#/components/schemas/Ticket'
7414+
- $ref: '#/components/schemas/verification_otp'
7415+
- $ref: '#/components/schemas/verification_admin'
7416+
- $ref: '#/components/schemas/verification_from_oauth'
7417+
- $ref: '#/components/schemas/verification_ticket'
7418+
discriminator:
7419+
propertyName: object
73987420
linked_to:
73997421
type: array
74007422
items:
@@ -7445,8 +7467,10 @@ components:
74457467
type: object
74467468
nullable: true
74477469
oneOf:
7448-
- $ref: '#/components/schemas/OTP'
7449-
- $ref: '#/components/schemas/Admin'
7470+
- $ref: '#/components/schemas/verification_otp'
7471+
- $ref: '#/components/schemas/verification_admin'
7472+
discriminator:
7473+
propertyName: object
74507474
linked_to:
74517475
type: array
74527476
items:
@@ -7593,10 +7617,15 @@ components:
75937617
format: int64
75947618
description: |
75957619
Unix timestamp of creation.
7596-
Web3Signature:
7620+
verification_web3:
7621+
x-speakeasy-name-override: Web3Signature
75977622
type: object
75987623
additionalProperties: false
75997624
properties:
7625+
object:
7626+
type: string
7627+
enum:
7628+
- verification_web3
76007629
status:
76017630
type: string
76027631
enum:
@@ -7648,8 +7677,10 @@ components:
76487677
type: object
76497678
nullable: true
76507679
oneOf:
7651-
- $ref: '#/components/schemas/Web3Signature'
7652-
- $ref: '#/components/schemas/Admin'
7680+
- $ref: '#/components/schemas/verification_web3'
7681+
- $ref: '#/components/schemas/verification_admin'
7682+
discriminator:
7683+
propertyName: object
76537684
created_at:
76547685
type: integer
76557686
format: int64
@@ -7666,10 +7697,15 @@ components:
76667697
- verification
76677698
- created_at
76687699
- updated_at
7669-
Passkey:
7700+
verification_passkey:
7701+
x-speakeasy-name-override: Passkey
76707702
type: object
76717703
additionalProperties: false
76727704
properties:
7705+
object:
7706+
type: string
7707+
enum:
7708+
- verification_passkey
76737709
status:
76747710
type: string
76757711
enum:
@@ -7699,7 +7735,7 @@ components:
76997735
- strategy
77007736
- attempts
77017737
- expire_at
7702-
schemas-Passkey:
7738+
Passkey:
77037739
type: object
77047740
additionalProperties: false
77057741
properties:
@@ -7722,16 +7758,23 @@ components:
77227758
type: object
77237759
nullable: true
77247760
oneOf:
7725-
- $ref: '#/components/schemas/Passkey'
7761+
- $ref: '#/components/schemas/verification_passkey'
7762+
discriminator:
7763+
propertyName: object
77267764
required:
77277765
- object
77287766
- name
77297767
- last_used_at
77307768
- verification
7731-
Oauth:
7769+
verification_oauth:
7770+
x-speakeasy-name-override: Oauth
77327771
type: object
77337772
additionalProperties: false
77347773
properties:
7774+
object:
7775+
type: string
7776+
enum:
7777+
- verification_oauth
77357778
status:
77367779
type: string
77377780
x-speakeasy-unknown-values: allow
@@ -7765,10 +7808,15 @@ components:
77657808
- strategy
77667809
- attempts
77677810
- expire_at
7768-
GoogleOneTap:
7811+
verification_google_one_tap:
7812+
x-speakeasy-name-override: GoogleOneTap
77697813
type: object
77707814
additionalProperties: false
77717815
properties:
7816+
object:
7817+
type: string
7818+
enum:
7819+
- verification_google_one_tap
77727820
status:
77737821
type: string
77747822
enum:
@@ -7858,8 +7906,10 @@ components:
78587906
type: object
78597907
nullable: true
78607908
oneOf:
7861-
- $ref: '#/components/schemas/Oauth'
7862-
- $ref: '#/components/schemas/GoogleOneTap'
7909+
- $ref: '#/components/schemas/verification_oauth'
7910+
- $ref: '#/components/schemas/verification_google_one_tap'
7911+
discriminator:
7912+
propertyName: object
78637913
required:
78647914
- object
78657915
- id
@@ -7874,10 +7924,15 @@ components:
78747924
- created_at
78757925
- updated_at
78767926
- verification
7877-
SAML:
7927+
verification_saml:
7928+
x-speakeasy-name-override: SAML
78787929
type: object
78797930
additionalProperties: false
78807931
properties:
7932+
object:
7933+
type: string
7934+
enum:
7935+
- verification_saml
78817936
status:
78827937
type: string
78837938
enum:
@@ -7996,8 +8051,10 @@ components:
79968051
type: object
79978052
nullable: true
79988053
oneOf:
7999-
- $ref: '#/components/schemas/SAML'
8000-
- $ref: '#/components/schemas/Ticket'
8054+
- $ref: '#/components/schemas/verification_saml'
8055+
- $ref: '#/components/schemas/verification_ticket'
8056+
discriminator:
8057+
propertyName: object
80018058
saml_connection:
80028059
type: object
80038060
nullable: true
@@ -8075,7 +8132,7 @@ components:
80758132
passkeys:
80768133
type: array
80778134
items:
8078-
$ref: '#/components/schemas/schemas-Passkey'
8135+
$ref: '#/components/schemas/Passkey'
80798136
password_enabled:
80808137
type: boolean
80818138
two_factor_enabled:

0 commit comments

Comments
 (0)