@workos/openapi-spec 0.72.0 → 0.73.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.
- package/dist/open-api-spec.yaml +141 -79
- package/dist/types.d.ts +9 -1
- package/package.json +2 -2
package/dist/open-api-spec.yaml
CHANGED
|
@@ -3506,7 +3506,7 @@ paths:
|
|
|
3506
3506
|
summary: Check authorization
|
|
3507
3507
|
tags:
|
|
3508
3508
|
- authorization
|
|
3509
|
-
x-mutually-exclusive-body-groups: &
|
|
3509
|
+
x-mutually-exclusive-body-groups: &ref_4
|
|
3510
3510
|
resource_target:
|
|
3511
3511
|
optional: false
|
|
3512
3512
|
variants:
|
|
@@ -4149,7 +4149,7 @@ paths:
|
|
|
4149
4149
|
summary: Assign a role
|
|
4150
4150
|
tags:
|
|
4151
4151
|
- authorization
|
|
4152
|
-
x-mutually-exclusive-body-groups: &
|
|
4152
|
+
x-mutually-exclusive-body-groups: &ref_5
|
|
4153
4153
|
resource_target:
|
|
4154
4154
|
optional: false
|
|
4155
4155
|
variants:
|
|
@@ -4220,7 +4220,7 @@ paths:
|
|
|
4220
4220
|
summary: Remove a role assignment
|
|
4221
4221
|
tags:
|
|
4222
4222
|
- authorization
|
|
4223
|
-
x-mutually-exclusive-body-groups: &
|
|
4223
|
+
x-mutually-exclusive-body-groups: &ref_6
|
|
4224
4224
|
resource_target:
|
|
4225
4225
|
optional: false
|
|
4226
4226
|
variants:
|
|
@@ -6643,7 +6643,7 @@ paths:
|
|
|
6643
6643
|
summary: Create an authorization resource
|
|
6644
6644
|
tags:
|
|
6645
6645
|
- authorization
|
|
6646
|
-
x-mutually-exclusive-body-groups: &
|
|
6646
|
+
x-mutually-exclusive-body-groups: &ref_7
|
|
6647
6647
|
parent_resource:
|
|
6648
6648
|
optional: true
|
|
6649
6649
|
variants:
|
|
@@ -8782,7 +8782,7 @@ paths:
|
|
|
8782
8782
|
tags:
|
|
8783
8783
|
- connections
|
|
8784
8784
|
x-feature-flag: connections-api-migrations-capabilities-api
|
|
8785
|
-
x-mutually-exclusive-body-groups: &
|
|
8785
|
+
x-mutually-exclusive-body-groups: &ref_8
|
|
8786
8786
|
protocol_options:
|
|
8787
8787
|
optional: false
|
|
8788
8788
|
variants:
|
|
@@ -10010,7 +10010,7 @@ paths:
|
|
|
10010
10010
|
tags:
|
|
10011
10011
|
- connections
|
|
10012
10012
|
x-feature-flag: connections-api-migrations-capabilities-api
|
|
10013
|
-
x-mutually-exclusive-body-groups: &
|
|
10013
|
+
x-mutually-exclusive-body-groups: &ref_11
|
|
10014
10014
|
protocol_options:
|
|
10015
10015
|
optional: true
|
|
10016
10016
|
variants:
|
|
@@ -12964,6 +12964,14 @@ paths:
|
|
|
12964
12964
|
summary: Set Retention
|
|
12965
12965
|
tags:
|
|
12966
12966
|
- audit-logs
|
|
12967
|
+
x-mutually-exclusive-body-groups: &ref_3
|
|
12968
|
+
retention:
|
|
12969
|
+
optional: false
|
|
12970
|
+
variants:
|
|
12971
|
+
period:
|
|
12972
|
+
- retention_period
|
|
12973
|
+
period_in_days:
|
|
12974
|
+
- retention_period_in_days
|
|
12967
12975
|
/organizations/{organizationId}/api_keys:
|
|
12968
12976
|
get:
|
|
12969
12977
|
description: Get a list of all API keys for an organization.
|
|
@@ -18616,7 +18624,7 @@ paths:
|
|
|
18616
18624
|
summary: Create an organization membership
|
|
18617
18625
|
tags:
|
|
18618
18626
|
- user-management.organization-membership
|
|
18619
|
-
x-mutually-exclusive-body-groups: &
|
|
18627
|
+
x-mutually-exclusive-body-groups: &ref_15
|
|
18620
18628
|
role:
|
|
18621
18629
|
optional: true
|
|
18622
18630
|
variants:
|
|
@@ -18800,7 +18808,7 @@ paths:
|
|
|
18800
18808
|
summary: Update an organization membership
|
|
18801
18809
|
tags:
|
|
18802
18810
|
- user-management.organization-membership
|
|
18803
|
-
x-mutually-exclusive-body-groups: &
|
|
18811
|
+
x-mutually-exclusive-body-groups: &ref_16
|
|
18804
18812
|
role:
|
|
18805
18813
|
optional: true
|
|
18806
18814
|
variants:
|
|
@@ -20120,7 +20128,7 @@ paths:
|
|
|
20120
20128
|
summary: Create a user
|
|
20121
20129
|
tags:
|
|
20122
20130
|
- user-management.users
|
|
20123
|
-
x-mutually-exclusive-body-groups: &
|
|
20131
|
+
x-mutually-exclusive-body-groups: &ref_17
|
|
20124
20132
|
password:
|
|
20125
20133
|
optional: true
|
|
20126
20134
|
variants:
|
|
@@ -20413,7 +20421,7 @@ paths:
|
|
|
20413
20421
|
summary: Update a user
|
|
20414
20422
|
tags:
|
|
20415
20423
|
- user-management.users
|
|
20416
|
-
x-mutually-exclusive-body-groups: &
|
|
20424
|
+
x-mutually-exclusive-body-groups: &ref_21
|
|
20417
20425
|
password:
|
|
20418
20426
|
optional: true
|
|
20419
20427
|
variants:
|
|
@@ -24344,16 +24352,70 @@ components:
|
|
|
24344
24352
|
- range_start
|
|
24345
24353
|
- range_end
|
|
24346
24354
|
UpdateAuditLogsRetentionDto:
|
|
24347
|
-
|
|
24348
|
-
|
|
24349
|
-
|
|
24350
|
-
|
|
24351
|
-
|
|
24352
|
-
|
|
24353
|
-
|
|
24354
|
-
|
|
24355
|
-
|
|
24356
|
-
|
|
24355
|
+
x-mutually-exclusive-body-groups: *ref_3
|
|
24356
|
+
oneOf:
|
|
24357
|
+
- type: object
|
|
24358
|
+
properties:
|
|
24359
|
+
retention_period:
|
|
24360
|
+
enum:
|
|
24361
|
+
- 1_MONTH
|
|
24362
|
+
- 2_MONTHS
|
|
24363
|
+
- 3_MONTHS
|
|
24364
|
+
- 4_MONTHS
|
|
24365
|
+
- 5_MONTHS
|
|
24366
|
+
- 6_MONTHS
|
|
24367
|
+
- 7_MONTHS
|
|
24368
|
+
- 8_MONTHS
|
|
24369
|
+
- 9_MONTHS
|
|
24370
|
+
- 10_MONTHS
|
|
24371
|
+
- 11_MONTHS
|
|
24372
|
+
- 1_YEAR
|
|
24373
|
+
- 2_YEARS
|
|
24374
|
+
- 3_YEARS
|
|
24375
|
+
- 4_YEARS
|
|
24376
|
+
- 5_YEARS
|
|
24377
|
+
- 6_YEARS
|
|
24378
|
+
- 7_YEARS
|
|
24379
|
+
- 8_YEARS
|
|
24380
|
+
- 9_YEARS
|
|
24381
|
+
- 10_YEARS
|
|
24382
|
+
type: string
|
|
24383
|
+
description: >-
|
|
24384
|
+
The period Audit Log events will be retained. Valid values are
|
|
24385
|
+
`1_MONTH` through `11_MONTHS` in one-month increments and
|
|
24386
|
+
`1_YEAR` through `10_YEARS` in one-year increments. Mutually
|
|
24387
|
+
exclusive with `retention_period_in_days`.
|
|
24388
|
+
example: 1_MONTH
|
|
24389
|
+
required:
|
|
24390
|
+
- retention_period
|
|
24391
|
+
not:
|
|
24392
|
+
anyOf:
|
|
24393
|
+
- properties:
|
|
24394
|
+
retention_period_in_days:
|
|
24395
|
+
x-exclude-from-lint: true
|
|
24396
|
+
required:
|
|
24397
|
+
- retention_period_in_days
|
|
24398
|
+
- type: object
|
|
24399
|
+
properties:
|
|
24400
|
+
retention_period_in_days:
|
|
24401
|
+
type: integer
|
|
24402
|
+
description: >-
|
|
24403
|
+
The number of days Audit Log events will be retained. Valid
|
|
24404
|
+
values are `30` through `330` in 30-day increments and `365`
|
|
24405
|
+
through `3650` in 365-day increments. Deprecated: use
|
|
24406
|
+
`retention_period` instead. Mutually exclusive with
|
|
24407
|
+
`retention_period`.
|
|
24408
|
+
example: 30
|
|
24409
|
+
deprecated: true
|
|
24410
|
+
required:
|
|
24411
|
+
- retention_period_in_days
|
|
24412
|
+
not:
|
|
24413
|
+
anyOf:
|
|
24414
|
+
- properties:
|
|
24415
|
+
retention_period:
|
|
24416
|
+
x-exclude-from-lint: true
|
|
24417
|
+
required:
|
|
24418
|
+
- retention_period
|
|
24357
24419
|
AuditLogSchemaActorDto:
|
|
24358
24420
|
type: object
|
|
24359
24421
|
properties:
|
|
@@ -24473,7 +24535,7 @@ components:
|
|
|
24473
24535
|
x-exclude-from-lint: true
|
|
24474
24536
|
required:
|
|
24475
24537
|
- resource_id
|
|
24476
|
-
x-mutually-exclusive-body-groups: *
|
|
24538
|
+
x-mutually-exclusive-body-groups: *ref_4
|
|
24477
24539
|
CreateGroupRoleAssignmentDto:
|
|
24478
24540
|
type: object
|
|
24479
24541
|
properties:
|
|
@@ -24614,7 +24676,7 @@ components:
|
|
|
24614
24676
|
x-exclude-from-lint: true
|
|
24615
24677
|
required:
|
|
24616
24678
|
- resource_id
|
|
24617
|
-
x-mutually-exclusive-body-groups: *
|
|
24679
|
+
x-mutually-exclusive-body-groups: *ref_5
|
|
24618
24680
|
RemoveRoleDto:
|
|
24619
24681
|
allOf:
|
|
24620
24682
|
- type: object
|
|
@@ -24673,7 +24735,7 @@ components:
|
|
|
24673
24735
|
x-exclude-from-lint: true
|
|
24674
24736
|
required:
|
|
24675
24737
|
- resource_id
|
|
24676
|
-
x-mutually-exclusive-body-groups: *
|
|
24738
|
+
x-mutually-exclusive-body-groups: *ref_6
|
|
24677
24739
|
SetRolePermissionsDto:
|
|
24678
24740
|
type: object
|
|
24679
24741
|
properties:
|
|
@@ -25023,7 +25085,7 @@ components:
|
|
|
25023
25085
|
x-exclude-from-lint: true
|
|
25024
25086
|
required:
|
|
25025
25087
|
- parent_resource_id
|
|
25026
|
-
x-mutually-exclusive-body-groups: *
|
|
25088
|
+
x-mutually-exclusive-body-groups: *ref_7
|
|
25027
25089
|
CreateConnectionKeyPairDto:
|
|
25028
25090
|
type: object
|
|
25029
25091
|
properties:
|
|
@@ -25140,7 +25202,7 @@ components:
|
|
|
25140
25202
|
default: true
|
|
25141
25203
|
token_authentication_method:
|
|
25142
25204
|
type: string
|
|
25143
|
-
enum: &
|
|
25205
|
+
enum: &ref_9
|
|
25144
25206
|
- client_secret_post
|
|
25145
25207
|
- client_secret_basic
|
|
25146
25208
|
- private_key_jwt
|
|
@@ -25156,7 +25218,7 @@ components:
|
|
|
25156
25218
|
$ref: '#/components/schemas/CreateConnectionKeyPairDto'
|
|
25157
25219
|
id_token_signature_algorithm:
|
|
25158
25220
|
type: string
|
|
25159
|
-
enum: &
|
|
25221
|
+
enum: &ref_10
|
|
25160
25222
|
- ES256
|
|
25161
25223
|
- ES384
|
|
25162
25224
|
- ES512
|
|
@@ -25312,7 +25374,7 @@ components:
|
|
|
25312
25374
|
x-exclude-from-lint: true
|
|
25313
25375
|
required:
|
|
25314
25376
|
- saml_options
|
|
25315
|
-
x-mutually-exclusive-body-groups: *
|
|
25377
|
+
x-mutually-exclusive-body-groups: *ref_8
|
|
25316
25378
|
PatchConnectionSamlOptionsDto:
|
|
25317
25379
|
type: object
|
|
25318
25380
|
properties:
|
|
@@ -25388,7 +25450,7 @@ components:
|
|
|
25388
25450
|
example: true
|
|
25389
25451
|
token_authentication_method:
|
|
25390
25452
|
type: string
|
|
25391
|
-
enum: *
|
|
25453
|
+
enum: *ref_9
|
|
25392
25454
|
description: >-
|
|
25393
25455
|
The token-endpoint client authentication method. Moving to
|
|
25394
25456
|
`private_key_jwt` generates a signing key pair if the connection has
|
|
@@ -25398,7 +25460,7 @@ components:
|
|
|
25398
25460
|
example: client_secret_basic
|
|
25399
25461
|
id_token_signature_algorithm:
|
|
25400
25462
|
type: string
|
|
25401
|
-
enum: *
|
|
25463
|
+
enum: *ref_10
|
|
25402
25464
|
description: The ID-token signing algorithm.
|
|
25403
25465
|
example: RS256
|
|
25404
25466
|
fetch_user_info:
|
|
@@ -25542,7 +25604,7 @@ components:
|
|
|
25542
25604
|
x-exclude-from-lint: true
|
|
25543
25605
|
required:
|
|
25544
25606
|
- saml_options
|
|
25545
|
-
x-mutually-exclusive-body-groups: *
|
|
25607
|
+
x-mutually-exclusive-body-groups: *ref_11
|
|
25546
25608
|
CreateCorsOriginDto:
|
|
25547
25609
|
type: object
|
|
25548
25610
|
properties:
|
|
@@ -25724,11 +25786,11 @@ components:
|
|
|
25724
25786
|
type:
|
|
25725
25787
|
- object
|
|
25726
25788
|
- 'null'
|
|
25727
|
-
additionalProperties: &
|
|
25789
|
+
additionalProperties: &ref_12
|
|
25728
25790
|
type: string
|
|
25729
25791
|
maxLength: 600
|
|
25730
25792
|
maxProperties: 50
|
|
25731
|
-
example: &
|
|
25793
|
+
example: &ref_13
|
|
25732
25794
|
tier: diamond
|
|
25733
25795
|
description: >-
|
|
25734
25796
|
Object containing [metadata](/authkit/metadata) key/value pairs
|
|
@@ -25783,9 +25845,9 @@ components:
|
|
|
25783
25845
|
type:
|
|
25784
25846
|
- object
|
|
25785
25847
|
- 'null'
|
|
25786
|
-
additionalProperties: *
|
|
25848
|
+
additionalProperties: *ref_12
|
|
25787
25849
|
maxProperties: 50
|
|
25788
|
-
example: *
|
|
25850
|
+
example: *ref_13
|
|
25789
25851
|
description: >-
|
|
25790
25852
|
Object containing [metadata](/authkit/metadata) key/value pairs
|
|
25791
25853
|
associated with the Organization.
|
|
@@ -25919,7 +25981,7 @@ components:
|
|
|
25919
25981
|
example: application/x-www-form-urlencoded
|
|
25920
25982
|
authenticate_via:
|
|
25921
25983
|
type: string
|
|
25922
|
-
enum: &
|
|
25984
|
+
enum: &ref_14
|
|
25923
25985
|
- request_body
|
|
25924
25986
|
- basic_auth_header
|
|
25925
25987
|
description: >-
|
|
@@ -26075,7 +26137,7 @@ components:
|
|
|
26075
26137
|
example: application/x-www-form-urlencoded
|
|
26076
26138
|
authenticate_via:
|
|
26077
26139
|
type: string
|
|
26078
|
-
enum: *
|
|
26140
|
+
enum: *ref_14
|
|
26079
26141
|
description: >-
|
|
26080
26142
|
How client credentials are sent when exchanging authorization codes
|
|
26081
26143
|
and refreshing tokens.
|
|
@@ -26640,9 +26702,9 @@ components:
|
|
|
26640
26702
|
x-exclude-from-lint: true
|
|
26641
26703
|
required:
|
|
26642
26704
|
- role_slug
|
|
26643
|
-
x-mutually-exclusive-body-groups: *ref_14
|
|
26644
|
-
UpdateUserlandUserOrganizationMembershipDto:
|
|
26645
26705
|
x-mutually-exclusive-body-groups: *ref_15
|
|
26706
|
+
UpdateUserlandUserOrganizationMembershipDto:
|
|
26707
|
+
x-mutually-exclusive-body-groups: *ref_16
|
|
26646
26708
|
oneOf:
|
|
26647
26709
|
- type: object
|
|
26648
26710
|
not:
|
|
@@ -26764,9 +26826,9 @@ components:
|
|
|
26764
26826
|
type:
|
|
26765
26827
|
- object
|
|
26766
26828
|
- 'null'
|
|
26767
|
-
additionalProperties: *
|
|
26829
|
+
additionalProperties: *ref_12
|
|
26768
26830
|
maxProperties: 50
|
|
26769
|
-
example: &
|
|
26831
|
+
example: &ref_18
|
|
26770
26832
|
timezone: America/New_York
|
|
26771
26833
|
description: >-
|
|
26772
26834
|
Object containing metadata key/value pairs associated with the
|
|
@@ -26865,7 +26927,7 @@ components:
|
|
|
26865
26927
|
example: $2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy
|
|
26866
26928
|
password_hash_type:
|
|
26867
26929
|
type: string
|
|
26868
|
-
enum: &
|
|
26930
|
+
enum: &ref_19
|
|
26869
26931
|
- bcrypt
|
|
26870
26932
|
- firebase-scrypt
|
|
26871
26933
|
- ssha
|
|
@@ -26880,7 +26942,7 @@ components:
|
|
|
26880
26942
|
example: bcrypt
|
|
26881
26943
|
password_salt_position:
|
|
26882
26944
|
type: string
|
|
26883
|
-
enum: &
|
|
26945
|
+
enum: &ref_20
|
|
26884
26946
|
- prefix
|
|
26885
26947
|
- suffix
|
|
26886
26948
|
description: >-
|
|
@@ -26901,7 +26963,7 @@ components:
|
|
|
26901
26963
|
x-exclude-from-lint: true
|
|
26902
26964
|
required:
|
|
26903
26965
|
- password
|
|
26904
|
-
x-mutually-exclusive-body-groups: *
|
|
26966
|
+
x-mutually-exclusive-body-groups: *ref_17
|
|
26905
26967
|
UpdateUserlandUserDto:
|
|
26906
26968
|
allOf:
|
|
26907
26969
|
- type: object
|
|
@@ -26931,9 +26993,9 @@ components:
|
|
|
26931
26993
|
type:
|
|
26932
26994
|
- object
|
|
26933
26995
|
- 'null'
|
|
26934
|
-
additionalProperties: *
|
|
26996
|
+
additionalProperties: *ref_12
|
|
26935
26997
|
maxProperties: 50
|
|
26936
|
-
example: *
|
|
26998
|
+
example: *ref_18
|
|
26937
26999
|
description: >-
|
|
26938
27000
|
Object containing metadata key/value pairs associated with the
|
|
26939
27001
|
user.
|
|
@@ -27015,7 +27077,7 @@ components:
|
|
|
27015
27077
|
example: $2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy
|
|
27016
27078
|
password_hash_type:
|
|
27017
27079
|
type: string
|
|
27018
|
-
enum: *
|
|
27080
|
+
enum: *ref_19
|
|
27019
27081
|
description: >-
|
|
27020
27082
|
The algorithm originally used to hash the password, used
|
|
27021
27083
|
when providing a `password_hash`. Required with
|
|
@@ -27023,7 +27085,7 @@ components:
|
|
|
27023
27085
|
example: bcrypt
|
|
27024
27086
|
password_salt_position:
|
|
27025
27087
|
type: string
|
|
27026
|
-
enum: *
|
|
27088
|
+
enum: *ref_20
|
|
27027
27089
|
description: >-
|
|
27028
27090
|
The position of the salt relative to the password when the
|
|
27029
27091
|
`password_hash` digest was computed: `prefix` for `hash(salt
|
|
@@ -27042,7 +27104,7 @@ components:
|
|
|
27042
27104
|
x-exclude-from-lint: true
|
|
27043
27105
|
required:
|
|
27044
27106
|
- password
|
|
27045
|
-
x-mutually-exclusive-body-groups: *
|
|
27107
|
+
x-mutually-exclusive-body-groups: *ref_21
|
|
27046
27108
|
VerifyEmailAddressDto:
|
|
27047
27109
|
type: object
|
|
27048
27110
|
properties:
|
|
@@ -27149,7 +27211,7 @@ components:
|
|
|
27149
27211
|
description: The events that the Webhook Endpoint is subscribed to.
|
|
27150
27212
|
items:
|
|
27151
27213
|
type: string
|
|
27152
|
-
enum: &
|
|
27214
|
+
enum: &ref_22
|
|
27153
27215
|
- agent.blueprint.created
|
|
27154
27216
|
- agent.blueprint.deleted
|
|
27155
27217
|
- agent.blueprint.updated
|
|
@@ -27275,7 +27337,7 @@ components:
|
|
|
27275
27337
|
description: The events that the Webhook Endpoint is subscribed to.
|
|
27276
27338
|
items:
|
|
27277
27339
|
type: string
|
|
27278
|
-
enum: *
|
|
27340
|
+
enum: *ref_22
|
|
27279
27341
|
example:
|
|
27280
27342
|
- user.created
|
|
27281
27343
|
- dsync.user.created
|
|
@@ -30863,7 +30925,7 @@ components:
|
|
|
30863
30925
|
description: >-
|
|
30864
30926
|
An object containing the custom attribute mapping for the Directory
|
|
30865
30927
|
Provider.
|
|
30866
|
-
example: &
|
|
30928
|
+
example: &ref_28
|
|
30867
30929
|
department: Engineering
|
|
30868
30930
|
job_title: Software Engineer
|
|
30869
30931
|
role:
|
|
@@ -31057,7 +31119,7 @@ components:
|
|
|
31057
31119
|
type: object
|
|
31058
31120
|
additionalProperties: {}
|
|
31059
31121
|
description: The event payload.
|
|
31060
|
-
example: &
|
|
31122
|
+
example: &ref_23
|
|
31061
31123
|
id: directory_user_01E1JG7J09H96KYP8HM9B0G5SJ
|
|
31062
31124
|
directory_id: directory_01ECAZ4NV9QMV47GW873HDCX74
|
|
31063
31125
|
organization_id: org_01EZTR6WYX1A0DSE2CYMGXQ24Y
|
|
@@ -31092,11 +31154,11 @@ components:
|
|
|
31092
31154
|
- data
|
|
31093
31155
|
- created_at
|
|
31094
31156
|
description: An event emitted by WorkOS.
|
|
31095
|
-
example: &
|
|
31157
|
+
example: &ref_33
|
|
31096
31158
|
object: event
|
|
31097
31159
|
id: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
31098
31160
|
event: dsync.user.created
|
|
31099
|
-
data: *
|
|
31161
|
+
data: *ref_23
|
|
31100
31162
|
created_at: '2021-06-25T19:07:33.155Z'
|
|
31101
31163
|
context: {}
|
|
31102
31164
|
- oneOf:
|
|
@@ -31296,7 +31358,7 @@ components:
|
|
|
31296
31358
|
description: >-
|
|
31297
31359
|
Permission slugs forming the ceiling on what sessions
|
|
31298
31360
|
minted from this blueprint may do.
|
|
31299
|
-
example: &
|
|
31361
|
+
example: &ref_24
|
|
31300
31362
|
- crm:read
|
|
31301
31363
|
- email:send
|
|
31302
31364
|
invocable_by:
|
|
@@ -31309,7 +31371,7 @@ components:
|
|
|
31309
31371
|
description: >-
|
|
31310
31372
|
Role slugs whose members may mint user-delegated
|
|
31311
31373
|
sessions from this blueprint.
|
|
31312
|
-
example: &
|
|
31374
|
+
example: &ref_25
|
|
31313
31375
|
- manager
|
|
31314
31376
|
organization_ids:
|
|
31315
31377
|
type: array
|
|
@@ -31318,7 +31380,7 @@ components:
|
|
|
31318
31380
|
description: >-
|
|
31319
31381
|
Organizations in which autonomous sessions may be
|
|
31320
31382
|
minted from this blueprint.
|
|
31321
|
-
example: &
|
|
31383
|
+
example: &ref_26
|
|
31322
31384
|
- org_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
31323
31385
|
required:
|
|
31324
31386
|
- role_slugs
|
|
@@ -31477,7 +31539,7 @@ components:
|
|
|
31477
31539
|
description: >-
|
|
31478
31540
|
Permission slugs forming the ceiling on what sessions
|
|
31479
31541
|
minted from this blueprint may do.
|
|
31480
|
-
example: *
|
|
31542
|
+
example: *ref_24
|
|
31481
31543
|
invocable_by:
|
|
31482
31544
|
type: object
|
|
31483
31545
|
properties:
|
|
@@ -31488,7 +31550,7 @@ components:
|
|
|
31488
31550
|
description: >-
|
|
31489
31551
|
Role slugs whose members may mint user-delegated
|
|
31490
31552
|
sessions from this blueprint.
|
|
31491
|
-
example: *
|
|
31553
|
+
example: *ref_25
|
|
31492
31554
|
organization_ids:
|
|
31493
31555
|
type: array
|
|
31494
31556
|
items:
|
|
@@ -31496,7 +31558,7 @@ components:
|
|
|
31496
31558
|
description: >-
|
|
31497
31559
|
Organizations in which autonomous sessions may be
|
|
31498
31560
|
minted from this blueprint.
|
|
31499
|
-
example: *
|
|
31561
|
+
example: *ref_26
|
|
31500
31562
|
required:
|
|
31501
31563
|
- role_slugs
|
|
31502
31564
|
- organization_ids
|
|
@@ -32532,7 +32594,7 @@ components:
|
|
|
32532
32594
|
items:
|
|
32533
32595
|
type: string
|
|
32534
32596
|
description: The permissions granted to the API key.
|
|
32535
|
-
example: &
|
|
32597
|
+
example: &ref_27
|
|
32536
32598
|
- users:read
|
|
32537
32599
|
- users:write
|
|
32538
32600
|
created_at:
|
|
@@ -32658,7 +32720,7 @@ components:
|
|
|
32658
32720
|
items:
|
|
32659
32721
|
type: string
|
|
32660
32722
|
description: The permissions granted to the API key.
|
|
32661
|
-
example: *
|
|
32723
|
+
example: *ref_27
|
|
32662
32724
|
created_at:
|
|
32663
32725
|
type: string
|
|
32664
32726
|
description: The timestamp when the API key was created.
|
|
@@ -32782,7 +32844,7 @@ components:
|
|
|
32782
32844
|
items:
|
|
32783
32845
|
type: string
|
|
32784
32846
|
description: The permissions granted to the API key.
|
|
32785
|
-
example: *
|
|
32847
|
+
example: *ref_27
|
|
32786
32848
|
created_at:
|
|
32787
32849
|
type: string
|
|
32788
32850
|
description: The timestamp when the API key was created.
|
|
@@ -35649,7 +35711,7 @@ components:
|
|
|
35649
35711
|
description: >-
|
|
35650
35712
|
An object containing the custom attribute mapping for
|
|
35651
35713
|
the Directory Provider.
|
|
35652
|
-
example: *
|
|
35714
|
+
example: *ref_28
|
|
35653
35715
|
role:
|
|
35654
35716
|
$ref: '#/components/schemas/SlimRole'
|
|
35655
35717
|
roles:
|
|
@@ -35839,7 +35901,7 @@ components:
|
|
|
35839
35901
|
description: >-
|
|
35840
35902
|
Labels assigned to the Feature Flag for categorizing and
|
|
35841
35903
|
filtering.
|
|
35842
|
-
example: &
|
|
35904
|
+
example: &ref_29
|
|
35843
35905
|
- reports
|
|
35844
35906
|
enabled:
|
|
35845
35907
|
type: boolean
|
|
@@ -36000,7 +36062,7 @@ components:
|
|
|
36000
36062
|
description: >-
|
|
36001
36063
|
Labels assigned to the Feature Flag for categorizing and
|
|
36002
36064
|
filtering.
|
|
36003
|
-
example: *
|
|
36065
|
+
example: *ref_29
|
|
36004
36066
|
enabled:
|
|
36005
36067
|
type: boolean
|
|
36006
36068
|
description: >-
|
|
@@ -36160,7 +36222,7 @@ components:
|
|
|
36160
36222
|
description: >-
|
|
36161
36223
|
Labels assigned to the Feature Flag for categorizing and
|
|
36162
36224
|
filtering.
|
|
36163
|
-
example: *
|
|
36225
|
+
example: *ref_29
|
|
36164
36226
|
enabled:
|
|
36165
36227
|
type: boolean
|
|
36166
36228
|
description: >-
|
|
@@ -36440,7 +36502,7 @@ components:
|
|
|
36440
36502
|
description: >-
|
|
36441
36503
|
Labels assigned to the Feature Flag for categorizing and
|
|
36442
36504
|
filtering.
|
|
36443
|
-
example: *
|
|
36505
|
+
example: *ref_29
|
|
36444
36506
|
enabled:
|
|
36445
36507
|
type: boolean
|
|
36446
36508
|
description: >-
|
|
@@ -37428,7 +37490,7 @@ components:
|
|
|
37428
37490
|
description: >-
|
|
37429
37491
|
Object containing [metadata](/authkit/metadata)
|
|
37430
37492
|
key/value pairs associated with the Organization.
|
|
37431
|
-
example: &
|
|
37493
|
+
example: &ref_30
|
|
37432
37494
|
tier: diamond
|
|
37433
37495
|
propertyNames:
|
|
37434
37496
|
maxLength: 40
|
|
@@ -37578,7 +37640,7 @@ components:
|
|
|
37578
37640
|
description: >-
|
|
37579
37641
|
Object containing [metadata](/authkit/metadata)
|
|
37580
37642
|
key/value pairs associated with the Organization.
|
|
37581
|
-
example: *
|
|
37643
|
+
example: *ref_30
|
|
37582
37644
|
propertyNames:
|
|
37583
37645
|
maxLength: 40
|
|
37584
37646
|
maxProperties: 50
|
|
@@ -38405,7 +38467,7 @@ components:
|
|
|
38405
38467
|
items:
|
|
38406
38468
|
type: string
|
|
38407
38469
|
description: The permissions granted by the role.
|
|
38408
|
-
example: &
|
|
38470
|
+
example: &ref_31
|
|
38409
38471
|
- users:read
|
|
38410
38472
|
- users:write
|
|
38411
38473
|
created_at:
|
|
@@ -38489,7 +38551,7 @@ components:
|
|
|
38489
38551
|
items:
|
|
38490
38552
|
type: string
|
|
38491
38553
|
description: The permissions granted by the role.
|
|
38492
|
-
example: *
|
|
38554
|
+
example: *ref_31
|
|
38493
38555
|
created_at:
|
|
38494
38556
|
format: date-time
|
|
38495
38557
|
type: string
|
|
@@ -38571,7 +38633,7 @@ components:
|
|
|
38571
38633
|
items:
|
|
38572
38634
|
type: string
|
|
38573
38635
|
description: The permissions granted by the role.
|
|
38574
|
-
example: *
|
|
38636
|
+
example: *ref_31
|
|
38575
38637
|
created_at:
|
|
38576
38638
|
format: date-time
|
|
38577
38639
|
type: string
|
|
@@ -38708,7 +38770,7 @@ components:
|
|
|
38708
38770
|
description: >-
|
|
38709
38771
|
Object containing [metadata](/authkit/metadata)
|
|
38710
38772
|
key/value pairs associated with the Organization.
|
|
38711
|
-
example: *
|
|
38773
|
+
example: *ref_30
|
|
38712
38774
|
propertyNames:
|
|
38713
38775
|
maxLength: 40
|
|
38714
38776
|
maxProperties: 50
|
|
@@ -39579,7 +39641,7 @@ components:
|
|
|
39579
39641
|
items:
|
|
39580
39642
|
type: string
|
|
39581
39643
|
description: The permissions granted by the role.
|
|
39582
|
-
example: &
|
|
39644
|
+
example: &ref_32
|
|
39583
39645
|
- users:read
|
|
39584
39646
|
- users:write
|
|
39585
39647
|
created_at:
|
|
@@ -39645,7 +39707,7 @@ components:
|
|
|
39645
39707
|
items:
|
|
39646
39708
|
type: string
|
|
39647
39709
|
description: The permissions granted by the role.
|
|
39648
|
-
example: *
|
|
39710
|
+
example: *ref_32
|
|
39649
39711
|
created_at:
|
|
39650
39712
|
format: date-time
|
|
39651
39713
|
type: string
|
|
@@ -39709,7 +39771,7 @@ components:
|
|
|
39709
39771
|
items:
|
|
39710
39772
|
type: string
|
|
39711
39773
|
description: The permissions granted by the role.
|
|
39712
|
-
example: *
|
|
39774
|
+
example: *ref_32
|
|
39713
39775
|
created_at:
|
|
39714
39776
|
format: date-time
|
|
39715
39777
|
type: string
|
|
@@ -40849,7 +40911,7 @@ components:
|
|
|
40849
40911
|
- data
|
|
40850
40912
|
- created_at
|
|
40851
40913
|
- object
|
|
40852
|
-
example: *
|
|
40914
|
+
example: *ref_33
|
|
40853
40915
|
description: An event emitted by WorkOS.
|
|
40854
40916
|
EventList:
|
|
40855
40917
|
type: object
|
|
@@ -40884,7 +40946,7 @@ components:
|
|
|
40884
40946
|
example:
|
|
40885
40947
|
object: list
|
|
40886
40948
|
data:
|
|
40887
|
-
- *
|
|
40949
|
+
- *ref_33
|
|
40888
40950
|
list_metadata:
|
|
40889
40951
|
after: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
40890
40952
|
JwtTemplate:
|
package/dist/types.d.ts
CHANGED
|
@@ -4218,7 +4218,15 @@ export interface components {
|
|
|
4218
4218
|
};
|
|
4219
4219
|
UpdateAuditLogsRetentionDto: {
|
|
4220
4220
|
/**
|
|
4221
|
-
* @description The
|
|
4221
|
+
* @description The period Audit Log events will be retained. Valid values are `1_MONTH` through `11_MONTHS` in one-month increments and `1_YEAR` through `10_YEARS` in one-year increments. Mutually exclusive with `retention_period_in_days`.
|
|
4222
|
+
* @example 1_MONTH
|
|
4223
|
+
* @enum {string}
|
|
4224
|
+
*/
|
|
4225
|
+
retention_period: "1_MONTH" | "2_MONTHS" | "3_MONTHS" | "4_MONTHS" | "5_MONTHS" | "6_MONTHS" | "7_MONTHS" | "8_MONTHS" | "9_MONTHS" | "10_MONTHS" | "11_MONTHS" | "1_YEAR" | "2_YEARS" | "3_YEARS" | "4_YEARS" | "5_YEARS" | "6_YEARS" | "7_YEARS" | "8_YEARS" | "9_YEARS" | "10_YEARS";
|
|
4226
|
+
} | {
|
|
4227
|
+
/**
|
|
4228
|
+
* @deprecated
|
|
4229
|
+
* @description The number of days Audit Log events will be retained. Valid values are `30` through `330` in 30-day increments and `365` through `3650` in 365-day increments. Deprecated: use `retention_period` instead. Mutually exclusive with `retention_period`.
|
|
4222
4230
|
* @example 30
|
|
4223
4231
|
*/
|
|
4224
4232
|
retention_period_in_days: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workos/openapi-spec",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.73.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/node": "^26.4.0",
|
|
60
60
|
"@workos/oagen": "^0.29.4",
|
|
61
|
-
"@workos/oagen-emitters": "^0.24.
|
|
61
|
+
"@workos/oagen-emitters": "^0.24.10",
|
|
62
62
|
"diff2html": "^3.4.56",
|
|
63
63
|
"husky": "^9.1.7",
|
|
64
64
|
"js-yaml": "^5.4.1",
|