@workos/openapi-spec 0.133.0 → 0.135.0

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.
@@ -17745,6 +17745,25 @@ paths:
17745
17745
  responses:
17746
17746
  '204':
17747
17747
  description: No Content
17748
+ '402':
17749
+ description: ''
17750
+ content:
17751
+ application/json:
17752
+ schema:
17753
+ type: object
17754
+ properties:
17755
+ code:
17756
+ type: string
17757
+ description: The error code identifying the type of error.
17758
+ example: production_feature_requires_billing
17759
+ const: production_feature_requires_billing
17760
+ message:
17761
+ type: string
17762
+ description: A human-readable description of the error.
17763
+ example: Request could not be processed.
17764
+ required:
17765
+ - code
17766
+ - message
17748
17767
  '403':
17749
17768
  description: Forbidden
17750
17769
  content:
@@ -25045,6 +25064,12 @@ paths:
25045
25064
  schema:
25046
25065
  type: string
25047
25066
  example: user_01E4ZCR3C56J083X43JQXF3JK5
25067
+ requestBody:
25068
+ required: false
25069
+ content:
25070
+ application/json:
25071
+ schema:
25072
+ $ref: '#/components/schemas/SendVerificationEmailDto'
25048
25073
  responses:
25049
25074
  '200':
25050
25075
  description: OK
@@ -25084,6 +25109,25 @@ paths:
25084
25109
  example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
25085
25110
  required:
25086
25111
  - message
25112
+ '422':
25113
+ description: Unprocessable Entity
25114
+ content:
25115
+ application/json:
25116
+ schema:
25117
+ type: object
25118
+ properties:
25119
+ code:
25120
+ type: string
25121
+ description: The error code identifying the type of error.
25122
+ example: invalid_request_parameters
25123
+ const: invalid_request_parameters
25124
+ message:
25125
+ type: string
25126
+ description: A human-readable description of the error.
25127
+ example: Validation failed.
25128
+ required:
25129
+ - code
25130
+ - message
25087
25131
  '429':
25088
25132
  description: ''
25089
25133
  content:
@@ -28421,6 +28465,18 @@ components:
28421
28465
  - 'null'
28422
28466
  items:
28423
28467
  $ref: '#/components/schemas/RedirectUriDto'
28468
+ cors_origins:
28469
+ description: >-
28470
+ Origins allowed to call the OAuth token endpoint for this
28471
+ application from a browser.
28472
+ example:
28473
+ - https://app.example.com
28474
+ maxItems: 1000
28475
+ type:
28476
+ - array
28477
+ - 'null'
28478
+ items:
28479
+ type: string
28424
28480
  uses_pkce:
28425
28481
  type:
28426
28482
  - boolean
@@ -28512,6 +28568,19 @@ components:
28512
28568
  - 'null'
28513
28569
  items:
28514
28570
  $ref: '#/components/schemas/RedirectUriDto'
28571
+ cors_origins:
28572
+ description: >-
28573
+ Updated origins allowed to call the OAuth token endpoint for this
28574
+ application from a browser. Replaces the existing list. OAuth
28575
+ applications only.
28576
+ example:
28577
+ - https://app.example.com
28578
+ maxItems: 1000
28579
+ type:
28580
+ - array
28581
+ - 'null'
28582
+ items:
28583
+ type: string
28515
28584
  CreateApplicationSecretDto:
28516
28585
  type: object
28517
28586
  properties: {}
@@ -30996,6 +31065,104 @@ components:
30996
31065
  An optional Radar signals ID to correlate client-side signals with
30997
31066
  this request.
30998
31067
  example: 01JBS0GN92GC2RJQS4X9DBPQ2A
31068
+ locale:
31069
+ type: string
31070
+ description: >-
31071
+ The locale to use when rendering the Magic Auth email. Defaults to
31072
+ the environment's default locale. See [supported
31073
+ locales](/authkit/hosted-ui#localization).
31074
+ enum:
31075
+ - af
31076
+ - am
31077
+ - ar
31078
+ - bg
31079
+ - bn
31080
+ - bs
31081
+ - ca
31082
+ - cs
31083
+ - da
31084
+ - de
31085
+ - de-DE
31086
+ - el
31087
+ - en
31088
+ - en-AU
31089
+ - en-CA
31090
+ - en-GB
31091
+ - en-US
31092
+ - es
31093
+ - es-419
31094
+ - es-ES
31095
+ - es-US
31096
+ - et
31097
+ - fa
31098
+ - fi
31099
+ - fil
31100
+ - fr
31101
+ - fr-BE
31102
+ - fr-CA
31103
+ - fr-FR
31104
+ - fy
31105
+ - gl
31106
+ - gu
31107
+ - ha
31108
+ - he
31109
+ - hi
31110
+ - hr
31111
+ - hu
31112
+ - hy
31113
+ - id
31114
+ - is
31115
+ - it
31116
+ - it-IT
31117
+ - ja
31118
+ - jv
31119
+ - ka
31120
+ - kk
31121
+ - km
31122
+ - kn
31123
+ - ko
31124
+ - lt
31125
+ - lv
31126
+ - mk
31127
+ - ml
31128
+ - mn
31129
+ - mr
31130
+ - ms
31131
+ - my
31132
+ - nb
31133
+ - ne
31134
+ - nl
31135
+ - nl-BE
31136
+ - nl-NL
31137
+ - nn
31138
+ - 'no'
31139
+ - pa
31140
+ - pl
31141
+ - pt
31142
+ - pt-BR
31143
+ - pt-PT
31144
+ - ro
31145
+ - ru
31146
+ - sk
31147
+ - sl
31148
+ - sq
31149
+ - sr
31150
+ - sv
31151
+ - sw
31152
+ - ta
31153
+ - te
31154
+ - th
31155
+ - tr
31156
+ - uk
31157
+ - ur
31158
+ - uz
31159
+ - vi
31160
+ - zh
31161
+ - zh-CN
31162
+ - zh-HK
31163
+ - zh-TW
31164
+ - zu
31165
+ example: en
30999
31166
  required:
31000
31167
  - email
31001
31168
  CreateUserlandUserInviteOptionsDto:
@@ -31032,6 +31199,10 @@ components:
31032
31199
  example: user_01HYGBX8ZGD19949T3BM4FW1C3
31033
31200
  locale:
31034
31201
  type: string
31202
+ description: >-
31203
+ The locale to use when rendering the invitation email. Defaults to
31204
+ the environment's default locale. See [supported
31205
+ locales](/authkit/hosted-ui#localization).
31035
31206
  enum:
31036
31207
  - af
31037
31208
  - am
@@ -31123,9 +31294,6 @@ components:
31123
31294
  - zh-HK
31124
31295
  - zh-TW
31125
31296
  - zu
31126
- description: >-
31127
- The locale to use when rendering the invitation email. See
31128
- [supported locales](/authkit/hosted-ui/localization).
31129
31297
  example: en
31130
31298
  required:
31131
31299
  - email
@@ -31134,6 +31302,10 @@ components:
31134
31302
  properties:
31135
31303
  locale:
31136
31304
  type: string
31305
+ description: >-
31306
+ The locale to use when rendering the invitation email. Defaults to
31307
+ the environment's default locale. See [supported
31308
+ locales](/authkit/hosted-ui#localization).
31137
31309
  enum:
31138
31310
  - af
31139
31311
  - am
@@ -31225,9 +31397,6 @@ components:
31225
31397
  - zh-HK
31226
31398
  - zh-TW
31227
31399
  - zu
31228
- description: >-
31229
- The locale to use when rendering the invitation email. See
31230
- [supported locales](/authkit/hosted-ui/localization).
31231
31400
  example: en
31232
31401
  CreateUserlandUserOrganizationMembershipDto:
31233
31402
  allOf:
@@ -31703,6 +31872,107 @@ components:
31703
31872
  required:
31704
31873
  - password
31705
31874
  x-mutually-exclusive-body-groups: *ref_26
31875
+ SendVerificationEmailDto:
31876
+ type: object
31877
+ properties:
31878
+ locale:
31879
+ type: string
31880
+ description: >-
31881
+ The locale to use when rendering the verification email. Defaults to
31882
+ the environment's default locale. See [supported
31883
+ locales](/authkit/hosted-ui#localization).
31884
+ enum:
31885
+ - af
31886
+ - am
31887
+ - ar
31888
+ - bg
31889
+ - bn
31890
+ - bs
31891
+ - ca
31892
+ - cs
31893
+ - da
31894
+ - de
31895
+ - de-DE
31896
+ - el
31897
+ - en
31898
+ - en-AU
31899
+ - en-CA
31900
+ - en-GB
31901
+ - en-US
31902
+ - es
31903
+ - es-419
31904
+ - es-ES
31905
+ - es-US
31906
+ - et
31907
+ - fa
31908
+ - fi
31909
+ - fil
31910
+ - fr
31911
+ - fr-BE
31912
+ - fr-CA
31913
+ - fr-FR
31914
+ - fy
31915
+ - gl
31916
+ - gu
31917
+ - ha
31918
+ - he
31919
+ - hi
31920
+ - hr
31921
+ - hu
31922
+ - hy
31923
+ - id
31924
+ - is
31925
+ - it
31926
+ - it-IT
31927
+ - ja
31928
+ - jv
31929
+ - ka
31930
+ - kk
31931
+ - km
31932
+ - kn
31933
+ - ko
31934
+ - lt
31935
+ - lv
31936
+ - mk
31937
+ - ml
31938
+ - mn
31939
+ - mr
31940
+ - ms
31941
+ - my
31942
+ - nb
31943
+ - ne
31944
+ - nl
31945
+ - nl-BE
31946
+ - nl-NL
31947
+ - nn
31948
+ - 'no'
31949
+ - pa
31950
+ - pl
31951
+ - pt
31952
+ - pt-BR
31953
+ - pt-PT
31954
+ - ro
31955
+ - ru
31956
+ - sk
31957
+ - sl
31958
+ - sq
31959
+ - sr
31960
+ - sv
31961
+ - sw
31962
+ - ta
31963
+ - te
31964
+ - th
31965
+ - tr
31966
+ - uk
31967
+ - ur
31968
+ - uz
31969
+ - vi
31970
+ - zh
31971
+ - zh-CN
31972
+ - zh-HK
31973
+ - zh-TW
31974
+ - zu
31975
+ example: en
31706
31976
  VerifyEmailAddressDto:
31707
31977
  type: object
31708
31978
  properties:
@@ -31721,6 +31991,104 @@ components:
31721
31991
  format: email
31722
31992
  description: The email address of the user requesting a password reset.
31723
31993
  example: marcelina.davis@example.com
31994
+ locale:
31995
+ type: string
31996
+ description: >-
31997
+ The locale to use when rendering the password reset email. Defaults
31998
+ to the environment's default locale. See [supported
31999
+ locales](/authkit/hosted-ui#localization).
32000
+ enum:
32001
+ - af
32002
+ - am
32003
+ - ar
32004
+ - bg
32005
+ - bn
32006
+ - bs
32007
+ - ca
32008
+ - cs
32009
+ - da
32010
+ - de
32011
+ - de-DE
32012
+ - el
32013
+ - en
32014
+ - en-AU
32015
+ - en-CA
32016
+ - en-GB
32017
+ - en-US
32018
+ - es
32019
+ - es-419
32020
+ - es-ES
32021
+ - es-US
32022
+ - et
32023
+ - fa
32024
+ - fi
32025
+ - fil
32026
+ - fr
32027
+ - fr-BE
32028
+ - fr-CA
32029
+ - fr-FR
32030
+ - fy
32031
+ - gl
32032
+ - gu
32033
+ - ha
32034
+ - he
32035
+ - hi
32036
+ - hr
32037
+ - hu
32038
+ - hy
32039
+ - id
32040
+ - is
32041
+ - it
32042
+ - it-IT
32043
+ - ja
32044
+ - jv
32045
+ - ka
32046
+ - kk
32047
+ - km
32048
+ - kn
32049
+ - ko
32050
+ - lt
32051
+ - lv
32052
+ - mk
32053
+ - ml
32054
+ - mn
32055
+ - mr
32056
+ - ms
32057
+ - my
32058
+ - nb
32059
+ - ne
32060
+ - nl
32061
+ - nl-BE
32062
+ - nl-NL
32063
+ - nn
32064
+ - 'no'
32065
+ - pa
32066
+ - pl
32067
+ - pt
32068
+ - pt-BR
32069
+ - pt-PT
32070
+ - ro
32071
+ - ru
32072
+ - sk
32073
+ - sl
32074
+ - sq
32075
+ - sr
32076
+ - sv
32077
+ - sw
32078
+ - ta
32079
+ - te
32080
+ - th
32081
+ - tr
32082
+ - uk
32083
+ - ur
32084
+ - uz
32085
+ - vi
32086
+ - zh
32087
+ - zh-CN
32088
+ - zh-HK
32089
+ - zh-TW
32090
+ - zu
32091
+ example: en
31724
32092
  required:
31725
32093
  - email
31726
32094
  CreatePasswordResetDto:
@@ -31744,6 +32112,104 @@ components:
31744
32112
  type: string
31745
32113
  description: The new email address to change to.
31746
32114
  example: new.email@example.com
32115
+ locale:
32116
+ type: string
32117
+ description: >-
32118
+ The locale to use when rendering the email change email. Defaults to
32119
+ the environment's default locale. See [supported
32120
+ locales](/authkit/hosted-ui#localization).
32121
+ enum:
32122
+ - af
32123
+ - am
32124
+ - ar
32125
+ - bg
32126
+ - bn
32127
+ - bs
32128
+ - ca
32129
+ - cs
32130
+ - da
32131
+ - de
32132
+ - de-DE
32133
+ - el
32134
+ - en
32135
+ - en-AU
32136
+ - en-CA
32137
+ - en-GB
32138
+ - en-US
32139
+ - es
32140
+ - es-419
32141
+ - es-ES
32142
+ - es-US
32143
+ - et
32144
+ - fa
32145
+ - fi
32146
+ - fil
32147
+ - fr
32148
+ - fr-BE
32149
+ - fr-CA
32150
+ - fr-FR
32151
+ - fy
32152
+ - gl
32153
+ - gu
32154
+ - ha
32155
+ - he
32156
+ - hi
32157
+ - hr
32158
+ - hu
32159
+ - hy
32160
+ - id
32161
+ - is
32162
+ - it
32163
+ - it-IT
32164
+ - ja
32165
+ - jv
32166
+ - ka
32167
+ - kk
32168
+ - km
32169
+ - kn
32170
+ - ko
32171
+ - lt
32172
+ - lv
32173
+ - mk
32174
+ - ml
32175
+ - mn
32176
+ - mr
32177
+ - ms
32178
+ - my
32179
+ - nb
32180
+ - ne
32181
+ - nl
32182
+ - nl-BE
32183
+ - nl-NL
32184
+ - nn
32185
+ - 'no'
32186
+ - pa
32187
+ - pl
32188
+ - pt
32189
+ - pt-BR
32190
+ - pt-PT
32191
+ - ro
32192
+ - ru
32193
+ - sk
32194
+ - sl
32195
+ - sq
32196
+ - sr
32197
+ - sv
32198
+ - sw
32199
+ - ta
32200
+ - te
32201
+ - th
32202
+ - tr
32203
+ - uk
32204
+ - ur
32205
+ - uz
32206
+ - vi
32207
+ - zh
32208
+ - zh-CN
32209
+ - zh-HK
32210
+ - zh-TW
32211
+ - zu
32212
+ example: en
31747
32213
  required:
31748
32214
  - new_email
31749
32215
  ConfirmEmailChangeDto:
@@ -33198,6 +33664,15 @@ components:
33198
33664
  - uri
33199
33665
  - default
33200
33666
  description: The redirect URIs configured for this application.
33667
+ cors_origins:
33668
+ type: array
33669
+ items:
33670
+ type: string
33671
+ description: >-
33672
+ The CORS origins allowed to call the OAuth token
33673
+ endpoint for this application from a browser.
33674
+ example:
33675
+ - https://app.example.com
33201
33676
  uses_pkce:
33202
33677
  type: boolean
33203
33678
  description: Whether the application uses PKCE for authorization.
@@ -33205,6 +33680,7 @@ components:
33205
33680
  required:
33206
33681
  - application_type
33207
33682
  - redirect_uris
33683
+ - cors_origins
33208
33684
  - uses_pkce
33209
33685
  - oneOf:
33210
33686
  - type: object
package/dist/types.d.ts CHANGED
@@ -4187,6 +4187,13 @@ export interface components {
4187
4187
  * ]
4188
4188
  */
4189
4189
  redirect_uris?: components["schemas"]["RedirectUriDto"][] | null;
4190
+ /**
4191
+ * @description Origins allowed to call the OAuth token endpoint for this application from a browser.
4192
+ * @example [
4193
+ * "https://app.example.com"
4194
+ * ]
4195
+ */
4196
+ cors_origins?: string[] | null;
4190
4197
  /**
4191
4198
  * @description Whether the application uses PKCE (Proof Key for Code Exchange).
4192
4199
  * @example true
@@ -4264,6 +4271,13 @@ export interface components {
4264
4271
  * ]
4265
4272
  */
4266
4273
  redirect_uris?: components["schemas"]["RedirectUriDto"][] | null;
4274
+ /**
4275
+ * @description Updated origins allowed to call the OAuth token endpoint for this application from a browser. Replaces the existing list. OAuth applications only.
4276
+ * @example [
4277
+ * "https://app.example.com"
4278
+ * ]
4279
+ */
4280
+ cors_origins?: string[] | null;
4267
4281
  };
4268
4282
  CreateApplicationSecretDto: Record<string, never>;
4269
4283
  AuditLogEventActorDto: {
@@ -5960,6 +5974,12 @@ export interface components {
5960
5974
  * @example 01JBS0GN92GC2RJQS4X9DBPQ2A
5961
5975
  */
5962
5976
  signals_id?: string;
5977
+ /**
5978
+ * @description The locale to use when rendering the Magic Auth email. Defaults to the environment's default locale. See [supported locales](/authkit/hosted-ui#localization).
5979
+ * @example en
5980
+ * @enum {string}
5981
+ */
5982
+ locale?: "af" | "am" | "ar" | "bg" | "bn" | "bs" | "ca" | "cs" | "da" | "de" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-US" | "es" | "es-419" | "es-ES" | "es-US" | "et" | "fa" | "fi" | "fil" | "fr" | "fr-BE" | "fr-CA" | "fr-FR" | "fy" | "gl" | "gu" | "ha" | "he" | "hi" | "hr" | "hu" | "hy" | "id" | "is" | "it" | "it-IT" | "ja" | "jv" | "ka" | "kk" | "km" | "kn" | "ko" | "lt" | "lv" | "mk" | "ml" | "mn" | "mr" | "ms" | "my" | "nb" | "ne" | "nl" | "nl-BE" | "nl-NL" | "nn" | "no" | "pa" | "pl" | "pt" | "pt-BR" | "pt-PT" | "ro" | "ru" | "sk" | "sl" | "sq" | "sr" | "sv" | "sw" | "ta" | "te" | "th" | "tr" | "uk" | "ur" | "uz" | "vi" | "zh" | "zh-CN" | "zh-HK" | "zh-TW" | "zu";
5963
5983
  };
5964
5984
  CreateUserlandUserInviteOptionsDto: {
5965
5985
  /**
@@ -5989,7 +6009,7 @@ export interface components {
5989
6009
  */
5990
6010
  inviter_user_id?: string;
5991
6011
  /**
5992
- * @description The locale to use when rendering the invitation email. See [supported locales](/authkit/hosted-ui/localization).
6012
+ * @description The locale to use when rendering the invitation email. Defaults to the environment's default locale. See [supported locales](/authkit/hosted-ui#localization).
5993
6013
  * @example en
5994
6014
  * @enum {string}
5995
6015
  */
@@ -5997,7 +6017,7 @@ export interface components {
5997
6017
  };
5998
6018
  ResendUserlandUserInviteOptionsDto: {
5999
6019
  /**
6000
- * @description The locale to use when rendering the invitation email. See [supported locales](/authkit/hosted-ui/localization).
6020
+ * @description The locale to use when rendering the invitation email. Defaults to the environment's default locale. See [supported locales](/authkit/hosted-ui#localization).
6001
6021
  * @example en
6002
6022
  * @enum {string}
6003
6023
  */
@@ -6222,6 +6242,14 @@ export interface components {
6222
6242
  */
6223
6243
  password_salt_position?: "prefix" | "suffix";
6224
6244
  });
6245
+ SendVerificationEmailDto: {
6246
+ /**
6247
+ * @description The locale to use when rendering the verification email. Defaults to the environment's default locale. See [supported locales](/authkit/hosted-ui#localization).
6248
+ * @example en
6249
+ * @enum {string}
6250
+ */
6251
+ locale?: "af" | "am" | "ar" | "bg" | "bn" | "bs" | "ca" | "cs" | "da" | "de" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-US" | "es" | "es-419" | "es-ES" | "es-US" | "et" | "fa" | "fi" | "fil" | "fr" | "fr-BE" | "fr-CA" | "fr-FR" | "fy" | "gl" | "gu" | "ha" | "he" | "hi" | "hr" | "hu" | "hy" | "id" | "is" | "it" | "it-IT" | "ja" | "jv" | "ka" | "kk" | "km" | "kn" | "ko" | "lt" | "lv" | "mk" | "ml" | "mn" | "mr" | "ms" | "my" | "nb" | "ne" | "nl" | "nl-BE" | "nl-NL" | "nn" | "no" | "pa" | "pl" | "pt" | "pt-BR" | "pt-PT" | "ro" | "ru" | "sk" | "sl" | "sq" | "sr" | "sv" | "sw" | "ta" | "te" | "th" | "tr" | "uk" | "ur" | "uz" | "vi" | "zh" | "zh-CN" | "zh-HK" | "zh-TW" | "zu";
6252
+ };
6225
6253
  VerifyEmailAddressDto: {
6226
6254
  /**
6227
6255
  * Format: password
@@ -6237,6 +6265,12 @@ export interface components {
6237
6265
  * @example marcelina.davis@example.com
6238
6266
  */
6239
6267
  email: string;
6268
+ /**
6269
+ * @description The locale to use when rendering the password reset email. Defaults to the environment's default locale. See [supported locales](/authkit/hosted-ui#localization).
6270
+ * @example en
6271
+ * @enum {string}
6272
+ */
6273
+ locale?: "af" | "am" | "ar" | "bg" | "bn" | "bs" | "ca" | "cs" | "da" | "de" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-US" | "es" | "es-419" | "es-ES" | "es-US" | "et" | "fa" | "fi" | "fil" | "fr" | "fr-BE" | "fr-CA" | "fr-FR" | "fy" | "gl" | "gu" | "ha" | "he" | "hi" | "hr" | "hu" | "hy" | "id" | "is" | "it" | "it-IT" | "ja" | "jv" | "ka" | "kk" | "km" | "kn" | "ko" | "lt" | "lv" | "mk" | "ml" | "mn" | "mr" | "ms" | "my" | "nb" | "ne" | "nl" | "nl-BE" | "nl-NL" | "nn" | "no" | "pa" | "pl" | "pt" | "pt-BR" | "pt-PT" | "ro" | "ru" | "sk" | "sl" | "sq" | "sr" | "sv" | "sw" | "ta" | "te" | "th" | "tr" | "uk" | "ur" | "uz" | "vi" | "zh" | "zh-CN" | "zh-HK" | "zh-TW" | "zu";
6240
6274
  };
6241
6275
  CreatePasswordResetDto: {
6242
6276
  /**
@@ -6256,6 +6290,12 @@ export interface components {
6256
6290
  * @example new.email@example.com
6257
6291
  */
6258
6292
  new_email: string;
6293
+ /**
6294
+ * @description The locale to use when rendering the email change email. Defaults to the environment's default locale. See [supported locales](/authkit/hosted-ui#localization).
6295
+ * @example en
6296
+ * @enum {string}
6297
+ */
6298
+ locale?: "af" | "am" | "ar" | "bg" | "bn" | "bs" | "ca" | "cs" | "da" | "de" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-US" | "es" | "es-419" | "es-ES" | "es-US" | "et" | "fa" | "fi" | "fil" | "fr" | "fr-BE" | "fr-CA" | "fr-FR" | "fy" | "gl" | "gu" | "ha" | "he" | "hi" | "hr" | "hu" | "hy" | "id" | "is" | "it" | "it-IT" | "ja" | "jv" | "ka" | "kk" | "km" | "kn" | "ko" | "lt" | "lv" | "mk" | "ml" | "mn" | "mr" | "ms" | "my" | "nb" | "ne" | "nl" | "nl-BE" | "nl-NL" | "nn" | "no" | "pa" | "pl" | "pt" | "pt-BR" | "pt-PT" | "ro" | "ru" | "sk" | "sl" | "sq" | "sr" | "sv" | "sw" | "ta" | "te" | "th" | "tr" | "uk" | "ur" | "uz" | "vi" | "zh" | "zh-CN" | "zh-HK" | "zh-TW" | "zu";
6259
6299
  };
6260
6300
  ConfirmEmailChangeDto: {
6261
6301
  /**
@@ -7340,6 +7380,13 @@ export interface components {
7340
7380
  */
7341
7381
  default: boolean;
7342
7382
  }[];
7383
+ /**
7384
+ * @description The CORS origins allowed to call the OAuth token endpoint for this application from a browser.
7385
+ * @example [
7386
+ * "https://app.example.com"
7387
+ * ]
7388
+ */
7389
+ cors_origins: string[];
7343
7390
  /**
7344
7391
  * @description Whether the application uses PKCE for authorization.
7345
7392
  * @example true
@@ -36254,6 +36301,26 @@ export interface operations {
36254
36301
  };
36255
36302
  content?: never;
36256
36303
  };
36304
+ 402: {
36305
+ headers: {
36306
+ [name: string]: unknown;
36307
+ };
36308
+ content: {
36309
+ "application/json": {
36310
+ /**
36311
+ * @description The error code identifying the type of error.
36312
+ * @example production_feature_requires_billing
36313
+ * @constant
36314
+ */
36315
+ code: "production_feature_requires_billing";
36316
+ /**
36317
+ * @description A human-readable description of the error.
36318
+ * @example Request could not be processed.
36319
+ */
36320
+ message: string;
36321
+ };
36322
+ };
36323
+ };
36257
36324
  /** @description Forbidden */
36258
36325
  403: {
36259
36326
  headers: {
@@ -42586,7 +42653,11 @@ export interface operations {
42586
42653
  };
42587
42654
  cookie?: never;
42588
42655
  };
42589
- requestBody?: never;
42656
+ requestBody?: {
42657
+ content: {
42658
+ "application/json": components["schemas"]["SendVerificationEmailDto"];
42659
+ };
42660
+ };
42590
42661
  responses: {
42591
42662
  /** @description OK */
42592
42663
  200: {
@@ -42633,6 +42704,27 @@ export interface operations {
42633
42704
  };
42634
42705
  };
42635
42706
  };
42707
+ /** @description Unprocessable Entity */
42708
+ 422: {
42709
+ headers: {
42710
+ [name: string]: unknown;
42711
+ };
42712
+ content: {
42713
+ "application/json": {
42714
+ /**
42715
+ * @description The error code identifying the type of error.
42716
+ * @example invalid_request_parameters
42717
+ * @constant
42718
+ */
42719
+ code: "invalid_request_parameters";
42720
+ /**
42721
+ * @description A human-readable description of the error.
42722
+ * @example Validation failed.
42723
+ */
42724
+ message: string;
42725
+ };
42726
+ };
42727
+ };
42636
42728
  429: {
42637
42729
  headers: {
42638
42730
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.133.0",
3
+ "version": "0.135.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",