@workos-inc/node 12.3.0 → 12.4.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.
@@ -1,4 +1,3 @@
1
- //#region src/common/crypto/crypto-provider.d.ts
2
1
  /**
3
2
  * Interface encapsulating the various crypto computations used by the library,
4
3
  * allowing pluggable underlying crypto implementations.
@@ -70,8 +69,6 @@ declare abstract class CryptoProvider {
70
69
  */
71
70
  abstract randomUUID(): string;
72
71
  }
73
- //#endregion
74
- //#region src/common/interfaces/http-client.interface.d.ts
75
72
  type RequestHeaders = Record<string, string | number | string[]>;
76
73
  type RequestOptions = {
77
74
  params?: Record<string, any>;
@@ -98,8 +95,6 @@ interface HttpClientResponseInterface {
98
95
  getRawResponse: () => unknown;
99
96
  toJSON: () => Promise<any | null>;
100
97
  }
101
- //#endregion
102
- //#region src/common/net/http-client.d.ts
103
98
  interface HttpClientOptions extends RequestInit {
104
99
  /** Per-request timeout in milliseconds. */
105
100
  timeout?: number;
@@ -162,19 +157,13 @@ declare abstract class HttpClient implements HttpClientInterface {
162
157
  private getSleepTimeInMilliseconds;
163
158
  sleep: (retryAttempt: number, retryAfterMs?: number | null) => Promise<unknown>;
164
159
  }
165
- //#endregion
166
- //#region src/common/crypto/decode-payload.d.ts
167
160
  type WebhookPayload = string | Uint8Array | ArrayBuffer | object;
168
- //#endregion
169
- //#region src/common/interfaces/pagination-options.interface.d.ts
170
161
  interface PaginationOptions {
171
162
  limit?: number;
172
163
  before?: string | null;
173
164
  after?: string | null;
174
165
  order?: 'asc' | 'desc';
175
166
  }
176
- //#endregion
177
- //#region src/agents/interfaces/agent-blueprint.interface.d.ts
178
167
  /** Who may mint sessions from an agent blueprint. */
179
168
  interface AgentBlueprintInvocableBy {
180
169
  /**
@@ -323,8 +312,6 @@ interface SerializedUpdateAgentBlueprintOptions {
323
312
  }
324
313
  /** Options for listing agent blueprints. */
325
314
  type ListAgentBlueprintsOptions = PaginationOptions;
326
- //#endregion
327
- //#region src/agents/interfaces/agent-instance.interface.d.ts
328
315
  /** How an agent instance was minted. */
329
316
  type AgentInstanceType = 'delegated' | 'autonomous';
330
317
  /** A concrete agent minted from an agent blueprint. */
@@ -369,8 +356,6 @@ interface SerializedListAgentInstancesOptions extends PaginationOptions {
369
356
  organization_id?: string;
370
357
  agent_blueprint_id?: string;
371
358
  }
372
- //#endregion
373
- //#region src/agents/interfaces/agent-registration.interface.d.ts
374
359
  /** The lifecycle status of an agent registration. */
375
360
  type AgentRegistrationStatus = 'unverified' | 'verified' | 'expired' | 'revoked';
376
361
  /** The kind of agent registration, derived from its authentication method. */
@@ -463,8 +448,6 @@ interface SerializedAgentRegistration {
463
448
  created_at: string;
464
449
  updated_at: string;
465
450
  }
466
- //#endregion
467
- //#region src/agents/interfaces/agent-event.interface.d.ts
468
451
  interface AgentBlueprintEventData extends AgentBlueprint {
469
452
  invocableAs: {
470
453
  instanceTypes: AgentInstanceType[];
@@ -640,14 +623,10 @@ interface AgentRegistrationLifecycleEventData {
640
623
  interface AgentRegistrationLifecycleEventResponseData {
641
624
  agent_registration_id: string;
642
625
  }
643
- //#endregion
644
- //#region src/directory-sync/interfaces/delete-directory-options.interface.d.ts
645
626
  interface DeleteDirectoryOptions {
646
627
  /** Unique identifier for the Directory. */
647
628
  id: string;
648
629
  }
649
- //#endregion
650
- //#region src/directory-sync/interfaces/directory-group.interface.d.ts
651
630
  interface DirectoryGroup {
652
631
  /** Distinguishes the Directory Group object. */
653
632
  object?: 'directory_group';
@@ -679,8 +658,6 @@ interface DirectoryGroupResponse {
679
658
  created_at: string;
680
659
  updated_at: string;
681
660
  }
682
- //#endregion
683
- //#region src/directory-sync/interfaces/directory-metadata-user.interface.d.ts
684
661
  /** Counts of active and inactive directory users. */
685
662
  interface DirectoryMetadataUser {
686
663
  /** Count of active directory users. */
@@ -692,8 +669,6 @@ interface DirectoryMetadataUserResponse {
692
669
  active: number;
693
670
  inactive: number;
694
671
  }
695
- //#endregion
696
- //#region src/directory-sync/interfaces/directory-metadata.interface.d.ts
697
672
  /** Aggregate counts of directory users and groups synced from the provider. */
698
673
  interface DirectoryMetadata {
699
674
  /** Counts of active and inactive directory users. */
@@ -705,18 +680,12 @@ interface DirectoryMetadataResponse {
705
680
  users: DirectoryMetadataUserResponse;
706
681
  groups: number;
707
682
  }
708
- //#endregion
709
- //#region src/directory-sync/interfaces/directory-state.interface.d.ts
710
683
  type DirectoryState = 'active' | 'validating' | 'invalid_credentials' | 'inactive' | 'deleting';
711
684
  type DirectoryStateResponse = 'linked' | 'validating' | 'invalid_credentials' | 'unlinked' | 'deleting';
712
- //#endregion
713
- //#region src/directory-sync/interfaces/directory-sync-get-group-options.interface.d.ts
714
685
  interface DirectorySyncGetGroupOptions {
715
686
  /** Unique identifier for the Directory Group. */
716
687
  id: string;
717
688
  }
718
- //#endregion
719
- //#region src/directory-sync/interfaces/directory-token.interface.d.ts
720
689
  interface DirectoryToken {
721
690
  object: 'directory_token';
722
691
  id: string;
@@ -733,11 +702,7 @@ interface DirectoryTokenResponse {
733
702
  token_suffix: string;
734
703
  created_at: string;
735
704
  }
736
- //#endregion
737
- //#region src/directory-sync/interfaces/directory-type.interface.d.ts
738
705
  type DirectoryType = 'azure scim v2.0' | 'bamboohr' | 'breathe hr' | 'cezanne hr' | 'cyberark scim v2.0' | 'fourth hr' | 'generic scim v2.0' | 'gsuite directory' | 'hibob' | 'sailpoint scim v2.0' | 'jump cloud scim v2.0' | 'okta scim v2.0' | 'onelogin scim v2.0' | 'people hr' | 'personio' | 'pingfederate scim v2.0' | 'rippling scim v2.0' | 's3' | 'sftp' | 'sftp workday' | 'workday';
739
- //#endregion
740
- //#region src/directory-sync/interfaces/directory-user-with-groups-email.interface.d.ts
741
706
  interface DirectoryUserWithGroupsEmail {
742
707
  /** Whether this is the primary email address. */
743
708
  primary?: boolean;
@@ -751,16 +716,12 @@ interface DirectoryUserWithGroupsEmailResponse {
751
716
  type?: string;
752
717
  value?: string | null;
753
718
  }
754
- //#endregion
755
- //#region src/directory-sync/interfaces/directory-user-with-groups-state.interface.d.ts
756
719
  declare const DirectoryUserWithGroupsState: {
757
720
  readonly Active: "active";
758
721
  readonly Suspended: "suspended";
759
722
  readonly Inactive: "inactive";
760
723
  };
761
724
  type DirectoryUserWithGroupsState = (typeof DirectoryUserWithGroupsState)[keyof typeof DirectoryUserWithGroupsState];
762
- //#endregion
763
- //#region src/authorization/interfaces/environment-role.interface.d.ts
764
725
  interface EnvironmentRole {
765
726
  object: 'role';
766
727
  id: string;
@@ -793,8 +754,6 @@ interface EnvironmentRoleListResponse {
793
754
  object: 'list';
794
755
  data: EnvironmentRoleResponse[];
795
756
  }
796
- //#endregion
797
- //#region src/authorization/interfaces/create-environment-role-options.interface.d.ts
798
757
  interface CreateEnvironmentRoleOptions {
799
758
  slug: string;
800
759
  name: string;
@@ -807,8 +766,6 @@ interface SerializedCreateEnvironmentRoleOptions {
807
766
  description?: string;
808
767
  resource_type_slug?: string;
809
768
  }
810
- //#endregion
811
- //#region src/authorization/interfaces/update-environment-role-options.interface.d.ts
812
769
  interface UpdateEnvironmentRoleOptions {
813
770
  name?: string;
814
771
  description?: string | null;
@@ -817,18 +774,12 @@ interface SerializedUpdateEnvironmentRoleOptions {
817
774
  name?: string;
818
775
  description?: string | null;
819
776
  }
820
- //#endregion
821
- //#region src/authorization/interfaces/set-environment-role-permissions-options.interface.d.ts
822
777
  interface SetEnvironmentRolePermissionsOptions {
823
778
  permissions: string[];
824
779
  }
825
- //#endregion
826
- //#region src/authorization/interfaces/add-environment-role-permission-options.interface.d.ts
827
780
  interface AddEnvironmentRolePermissionOptions {
828
781
  permissionSlug: string;
829
782
  }
830
- //#endregion
831
- //#region src/authorization/interfaces/organization-role.interface.d.ts
832
783
  interface OrganizationRole {
833
784
  object: 'role';
834
785
  id: string;
@@ -841,8 +792,6 @@ interface OrganizationRole {
841
792
  createdAt: Date;
842
793
  updatedAt: Date;
843
794
  }
844
- //#endregion
845
- //#region src/authorization/interfaces/create-organization-role-options.interface.d.ts
846
795
  interface CreateOrganizationRoleOptions {
847
796
  slug?: string;
848
797
  name: string;
@@ -855,8 +804,6 @@ interface SerializedCreateOrganizationRoleOptions {
855
804
  description?: string;
856
805
  resource_type_slug?: string;
857
806
  }
858
- //#endregion
859
- //#region src/authorization/interfaces/update-organization-role-options.interface.d.ts
860
807
  interface UpdateOrganizationRoleOptions {
861
808
  name?: string;
862
809
  description?: string | null;
@@ -865,23 +812,15 @@ interface SerializedUpdateOrganizationRoleOptions {
865
812
  name?: string;
866
813
  description?: string | null;
867
814
  }
868
- //#endregion
869
- //#region src/authorization/interfaces/set-organization-role-permissions-options.interface.d.ts
870
815
  interface SetOrganizationRolePermissionsOptions {
871
816
  permissions: string[];
872
817
  }
873
- //#endregion
874
- //#region src/authorization/interfaces/add-organization-role-permission-options.interface.d.ts
875
818
  interface AddOrganizationRolePermissionOptions {
876
819
  permissionSlug: string;
877
820
  }
878
- //#endregion
879
- //#region src/authorization/interfaces/remove-organization-role-permission-options.interface.d.ts
880
821
  interface RemoveOrganizationRolePermissionOptions {
881
822
  permissionSlug: string;
882
823
  }
883
- //#endregion
884
- //#region src/authorization/interfaces/permission.interface.d.ts
885
824
  interface Permission {
886
825
  object: 'permission';
887
826
  id: string;
@@ -904,8 +843,6 @@ interface PermissionResponse {
904
843
  created_at: string;
905
844
  updated_at: string;
906
845
  }
907
- //#endregion
908
- //#region src/authorization/interfaces/create-permission-options.interface.d.ts
909
846
  interface CreatePermissionOptions {
910
847
  slug: string;
911
848
  name: string;
@@ -918,8 +855,6 @@ interface SerializedCreatePermissionOptions {
918
855
  description?: string;
919
856
  resource_type_slug?: string;
920
857
  }
921
- //#endregion
922
- //#region src/authorization/interfaces/update-permission-options.interface.d.ts
923
858
  interface UpdatePermissionOptions {
924
859
  name?: string;
925
860
  description?: string | null;
@@ -928,11 +863,7 @@ interface SerializedUpdatePermissionOptions {
928
863
  name?: string;
929
864
  description?: string | null;
930
865
  }
931
- //#endregion
932
- //#region src/authorization/interfaces/list-permissions-options.interface.d.ts
933
866
  type ListPermissionsOptions = PaginationOptions;
934
- //#endregion
935
- //#region src/authorization/interfaces/authorization-resource.interface.d.ts
936
867
  interface AuthorizationResource {
937
868
  /** Distinguishes the Resource object. */
938
869
  object: 'authorization_resource';
@@ -1001,8 +932,6 @@ interface SerializedUpdateAuthorizationResourceOptions {
1001
932
  name?: string;
1002
933
  description?: string | null;
1003
934
  }
1004
- //#endregion
1005
- //#region src/authorization/interfaces/list-authorization-resources-options.interface.d.ts
1006
935
  interface ListAuthorizationResourcesOptions extends PaginationOptions {
1007
936
  organizationId?: string;
1008
937
  resourceTypeSlug?: string;
@@ -1017,15 +946,11 @@ interface SerializedListAuthorizationResourcesOptions extends PaginationOptions
1017
946
  parent_resource_type_slug?: string;
1018
947
  parent_external_id?: string;
1019
948
  }
1020
- //#endregion
1021
- //#region src/authorization/interfaces/get-authorization-resource-by-external-id-options.interface.d.ts
1022
949
  interface GetAuthorizationResourceByExternalIdOptions {
1023
950
  organizationId: string;
1024
951
  resourceTypeSlug: string;
1025
952
  externalId: string;
1026
953
  }
1027
- //#endregion
1028
- //#region src/authorization/interfaces/update-authorization-resource-by-external-id-options.interface.d.ts
1029
954
  interface UpdateAuthorizationResourceByExternalIdOptions {
1030
955
  organizationId: string;
1031
956
  resourceTypeSlug: string;
@@ -1033,22 +958,16 @@ interface UpdateAuthorizationResourceByExternalIdOptions {
1033
958
  name?: string;
1034
959
  description?: string | null;
1035
960
  }
1036
- //#endregion
1037
- //#region src/authorization/interfaces/delete-authorization-resource-by-external-id-options.interface.d.ts
1038
961
  interface DeleteAuthorizationResourceByExternalIdOptions {
1039
962
  organizationId: string;
1040
963
  resourceTypeSlug: string;
1041
964
  externalId: string;
1042
965
  cascadeDelete?: boolean;
1043
966
  }
1044
- //#endregion
1045
- //#region src/authorization/interfaces/delete-authorization-resource-options.interface.d.ts
1046
967
  interface DeleteAuthorizationResourceOptions {
1047
968
  resourceId: string;
1048
969
  cascadeDelete?: boolean;
1049
970
  }
1050
- //#endregion
1051
- //#region src/authorization/interfaces/authorization-resource-identifier.interface.d.ts
1052
971
  interface AuthorizationResourceIdentifierById {
1053
972
  resourceId: string;
1054
973
  }
@@ -1056,8 +975,6 @@ interface AuthorizationResourceIdentifierByExternalId {
1056
975
  resourceExternalId: string;
1057
976
  resourceTypeSlug: string;
1058
977
  }
1059
- //#endregion
1060
- //#region src/authorization/interfaces/authorization-resource-check.interface.d.ts
1061
978
  interface AuthorizationCheckResult {
1062
979
  authorized: boolean;
1063
980
  }
@@ -1074,8 +991,6 @@ interface SerializedAuthorizationCheckOptions {
1074
991
  resource_external_id?: string;
1075
992
  resource_type_slug?: string;
1076
993
  }
1077
- //#endregion
1078
- //#region src/authorization/interfaces/list-resources-for-membership-options.interface.d.ts
1079
994
  interface BaseListResourcesForMembershipOptions extends PaginationOptions {
1080
995
  organizationMembershipId: string;
1081
996
  permissionSlug: string;
@@ -1094,8 +1009,6 @@ interface SerializedListResourcesForMembershipOptions extends PaginationOptions
1094
1009
  parent_resource_type_slug?: string;
1095
1010
  parent_resource_external_id?: string;
1096
1011
  }
1097
- //#endregion
1098
- //#region src/authorization/interfaces/list-memberships-for-resource-options.interface.d.ts
1099
1012
  interface ListMembershipsForResourceOptions extends PaginationOptions {
1100
1013
  resourceId: string;
1101
1014
  /** The permission slug to filter by. Only users with this permission on the resource are returned. */
@@ -1103,8 +1016,6 @@ interface ListMembershipsForResourceOptions extends PaginationOptions {
1103
1016
  /** Filter by assignment type. Use `direct` for direct assignments only, or `indirect` to include inherited assignments. */
1104
1017
  assignment?: 'direct' | 'indirect';
1105
1018
  }
1106
- //#endregion
1107
- //#region src/authorization/interfaces/list-memberships-for-resource-by-external-id-options.interface.d.ts
1108
1019
  interface ListMembershipsForResourceByExternalIdOptions extends PaginationOptions {
1109
1020
  organizationId: string;
1110
1021
  resourceTypeSlug: string;
@@ -1112,8 +1023,6 @@ interface ListMembershipsForResourceByExternalIdOptions extends PaginationOption
1112
1023
  permissionSlug: string;
1113
1024
  assignment?: 'direct' | 'indirect';
1114
1025
  }
1115
- //#endregion
1116
- //#region src/authorization/interfaces/role-assignment.interface.d.ts
1117
1026
  interface RoleAssignmentRole {
1118
1027
  slug: string;
1119
1028
  }
@@ -1165,8 +1074,6 @@ interface RoleAssignmentResponse {
1165
1074
  created_at: string;
1166
1075
  updated_at: string;
1167
1076
  }
1168
- //#endregion
1169
- //#region src/authorization/interfaces/list-role-assignments-options.interface.d.ts
1170
1077
  interface ListRoleAssignmentsOptions extends PaginationOptions {
1171
1078
  organizationMembershipId: string;
1172
1079
  /** Filter role assignments to only those granted on the resource with this ID. */
@@ -1181,8 +1088,6 @@ interface SerializedListRoleAssignmentsOptions extends PaginationOptions {
1181
1088
  resource_external_id?: string;
1182
1089
  resource_type_slug?: string;
1183
1090
  }
1184
- //#endregion
1185
- //#region src/authorization/interfaces/list-role-assignments-for-resource-options.interface.d.ts
1186
1091
  interface ListRoleAssignmentsForResourceOptions extends PaginationOptions {
1187
1092
  resourceId: string;
1188
1093
  /** Filter role assignments to only those that grant this role. */
@@ -1191,8 +1096,6 @@ interface ListRoleAssignmentsForResourceOptions extends PaginationOptions {
1191
1096
  interface SerializedListRoleAssignmentsForResourceOptions extends PaginationOptions {
1192
1097
  role_slug?: string;
1193
1098
  }
1194
- //#endregion
1195
- //#region src/authorization/interfaces/list-role-assignments-for-resource-by-external-id-options.interface.d.ts
1196
1099
  interface ListRoleAssignmentsForResourceByExternalIdOptions extends PaginationOptions {
1197
1100
  organizationId: string;
1198
1101
  resourceTypeSlug: string;
@@ -1200,8 +1103,6 @@ interface ListRoleAssignmentsForResourceByExternalIdOptions extends PaginationOp
1200
1103
  /** Filter role assignments to only those that grant this role. */
1201
1104
  roleSlug?: string;
1202
1105
  }
1203
- //#endregion
1204
- //#region src/authorization/interfaces/assign-role-options.interface.d.ts
1205
1106
  interface BaseAssignRoleOptions {
1206
1107
  organizationMembershipId: string;
1207
1108
  roleSlug: string;
@@ -1215,8 +1116,6 @@ interface SerializedAssignRoleOptions {
1215
1116
  resource_external_id?: string;
1216
1117
  resource_type_slug?: string;
1217
1118
  }
1218
- //#endregion
1219
- //#region src/authorization/interfaces/remove-role-options.interface.d.ts
1220
1119
  interface BaseRemoveRoleOptions {
1221
1120
  organizationMembershipId: string;
1222
1121
  roleSlug: string;
@@ -1230,14 +1129,10 @@ interface SerializedRemoveRoleOptions {
1230
1129
  resource_external_id?: string;
1231
1130
  resource_type_slug?: string;
1232
1131
  }
1233
- //#endregion
1234
- //#region src/authorization/interfaces/remove-role-assignment-options.interface.d.ts
1235
1132
  interface RemoveRoleAssignmentOptions {
1236
1133
  organizationMembershipId: string;
1237
1134
  roleAssignmentId: string;
1238
1135
  }
1239
- //#endregion
1240
- //#region src/authorization/interfaces/group-role-assignment.interface.d.ts
1241
1136
  interface GroupRoleAssignment {
1242
1137
  /** Distinguishes the group role assignment object. */
1243
1138
  object: 'group_role_assignment';
@@ -1263,22 +1158,16 @@ interface GroupRoleAssignmentResponse {
1263
1158
  created_at: string;
1264
1159
  updated_at: string;
1265
1160
  }
1266
- //#endregion
1267
- //#region src/authorization/interfaces/list-group-role-assignments-options.interface.d.ts
1268
1161
  interface ListGroupRoleAssignmentsOptions extends PaginationOptions {
1269
1162
  /** The ID of the group. */
1270
1163
  groupId: string;
1271
1164
  }
1272
- //#endregion
1273
- //#region src/authorization/interfaces/get-group-role-assignment-options.interface.d.ts
1274
1165
  interface GetGroupRoleAssignmentOptions {
1275
1166
  /** The ID of the group. */
1276
1167
  groupId: string;
1277
1168
  /** The ID of the group role assignment. */
1278
1169
  roleAssignmentId: string;
1279
1170
  }
1280
- //#endregion
1281
- //#region src/authorization/interfaces/create-group-role-assignment-options.interface.d.ts
1282
1171
  interface BaseCreateGroupRoleAssignmentOptions {
1283
1172
  groupId: string;
1284
1173
  roleSlug: string;
@@ -1298,16 +1187,12 @@ interface SerializedCreateGroupRoleAssignmentOptions {
1298
1187
  resource_external_id?: string;
1299
1188
  resource_type_slug?: string;
1300
1189
  }
1301
- //#endregion
1302
- //#region src/authorization/interfaces/remove-group-role-assignment-options.interface.d.ts
1303
1190
  interface RemoveGroupRoleAssignmentOptions {
1304
1191
  /** The ID of the group. */
1305
1192
  groupId: string;
1306
1193
  /** The ID of the group role assignment to remove. */
1307
1194
  roleAssignmentId: string;
1308
1195
  }
1309
- //#endregion
1310
- //#region src/authorization/interfaces/remove-group-role-assignments-options.interface.d.ts
1311
1196
  interface BaseRemoveGroupRoleAssignmentsOptions {
1312
1197
  groupId: string;
1313
1198
  roleSlug: string;
@@ -1327,8 +1212,6 @@ interface SerializedRemoveGroupRoleAssignmentsOptions {
1327
1212
  resource_external_id?: string;
1328
1213
  resource_type_slug?: string;
1329
1214
  }
1330
- //#endregion
1331
- //#region src/authorization/interfaces/replace-group-role-assignments-options.interface.d.ts
1332
1215
  interface BaseGroupRoleAssignmentEntry {
1333
1216
  roleSlug: string;
1334
1217
  }
@@ -1359,21 +1242,15 @@ interface SerializedGroupRoleAssignmentEntry {
1359
1242
  interface SerializedReplaceGroupRoleAssignmentsOptions {
1360
1243
  role_assignments: SerializedGroupRoleAssignmentEntry[];
1361
1244
  }
1362
- //#endregion
1363
- //#region src/authorization/interfaces/list-effective-permissions-options.interface.d.ts
1364
1245
  interface ListEffectivePermissionsOptions extends PaginationOptions {
1365
1246
  organizationMembershipId: string;
1366
1247
  resourceId: string;
1367
1248
  }
1368
- //#endregion
1369
- //#region src/authorization/interfaces/list-effective-permissions-by-external-id-options.interface.d.ts
1370
1249
  interface ListEffectivePermissionsByExternalIdOptions extends PaginationOptions {
1371
1250
  organizationMembershipId: string;
1372
1251
  resourceTypeSlug: string;
1373
1252
  externalId: string;
1374
1253
  }
1375
- //#endregion
1376
- //#region src/roles/interfaces/role.interface.d.ts
1377
1254
  interface RoleResponse {
1378
1255
  slug: string;
1379
1256
  }
@@ -1436,8 +1313,6 @@ interface RoleList {
1436
1313
  object: 'list';
1437
1314
  data: Role[];
1438
1315
  }
1439
- //#endregion
1440
- //#region src/directory-sync/interfaces/directory-user.interface.d.ts
1441
1316
  type DefaultCustomAttributes = Record<string, unknown>;
1442
1317
  interface DirectoryUser<TCustomAttributes extends object = DefaultCustomAttributes, TRawAttributes = any> {
1443
1318
  object: 'directory_user';
@@ -1482,8 +1357,6 @@ interface DirectoryUserWithGroups<TCustomAttributes extends object = DefaultCust
1482
1357
  interface DirectoryUserWithGroupsResponse<TCustomAttributes extends object = DefaultCustomAttributes> extends DirectoryUserResponse<TCustomAttributes> {
1483
1358
  groups: DirectoryGroupResponse[];
1484
1359
  }
1485
- //#endregion
1486
- //#region src/directory-sync/interfaces/directory.interface.d.ts
1487
1360
  interface Directory {
1488
1361
  /** Distinguishes the Directory object. */
1489
1362
  object: 'directory';
@@ -1521,8 +1394,6 @@ interface DirectoryResponse {
1521
1394
  created_at: string;
1522
1395
  updated_at: string;
1523
1396
  }
1524
- //#endregion
1525
- //#region src/directory-sync/interfaces/event-directory.interface.d.ts
1526
1397
  interface EventDirectoryDomain {
1527
1398
  object: 'organization_domain';
1528
1399
  id: string;
@@ -1552,36 +1423,26 @@ interface EventDirectoryResponse {
1552
1423
  created_at: string;
1553
1424
  updated_at: string;
1554
1425
  }
1555
- //#endregion
1556
- //#region src/directory-sync/interfaces/get-directory-group-options.interface.d.ts
1557
1426
  interface GetDirectoryGroupOptions {
1558
1427
  /** Unique identifier of the Directory. */
1559
1428
  directoryId: string;
1560
1429
  /** Unique identifier for the Directory Group. */
1561
1430
  groupId: string;
1562
1431
  }
1563
- //#endregion
1564
- //#region src/directory-sync/interfaces/get-directory-options.interface.d.ts
1565
1432
  interface GetDirectoryOptions {
1566
1433
  /** Unique identifier for the Directory. */
1567
1434
  id: string;
1568
1435
  }
1569
- //#endregion
1570
- //#region src/directory-sync/interfaces/get-directory-user-options.interface.d.ts
1571
1436
  interface GetDirectoryUserOptions {
1572
1437
  /** Unique identifier of the Directory. */
1573
1438
  directoryId: string;
1574
1439
  /** Unique identifier for the Directory User. */
1575
1440
  userId: string;
1576
1441
  }
1577
- //#endregion
1578
- //#region src/directory-sync/interfaces/get-user-options.interface.d.ts
1579
1442
  interface GetUserOptions {
1580
1443
  /** Unique identifier for the Directory User. */
1581
1444
  id: string;
1582
1445
  }
1583
- //#endregion
1584
- //#region src/directory-sync/interfaces/list-directories-options.interface.d.ts
1585
1446
  interface ListDirectoriesOptions extends PaginationOptions {
1586
1447
  /** Filter Directories by their associated organization. */
1587
1448
  organizationId?: string;
@@ -1592,28 +1453,20 @@ interface SerializedListDirectoriesOptions extends PaginationOptions {
1592
1453
  organization_id?: string;
1593
1454
  search?: string;
1594
1455
  }
1595
- //#endregion
1596
- //#region src/directory-sync/interfaces/list-directory-users-options.interface.d.ts
1597
1456
  interface ListDirectoryUsersOptions extends PaginationOptions {
1598
1457
  directory?: string;
1599
1458
  group?: string;
1600
1459
  }
1601
- //#endregion
1602
- //#region src/directory-sync/interfaces/list-groups-in-directory-options.interface.d.ts
1603
1460
  interface ListGroupsInDirectoryOptions extends PaginationOptions {
1604
1461
  /** Unique identifier of the Directory. */
1605
1462
  directoryId: string;
1606
1463
  /** Filter Directory Groups to those this Directory User belongs to. */
1607
1464
  user?: string;
1608
1465
  }
1609
- //#endregion
1610
- //#region src/directory-sync/interfaces/list-groups-options.interface.d.ts
1611
1466
  interface ListDirectoryGroupsOptions extends PaginationOptions {
1612
1467
  directory?: string;
1613
1468
  user?: string;
1614
1469
  }
1615
- //#endregion
1616
- //#region src/directory-sync/interfaces/list-users-in-directory-options.interface.d.ts
1617
1470
  interface ListUsersInDirectoryOptions extends PaginationOptions {
1618
1471
  /** Unique identifier of the Directory. */
1619
1472
  directoryId: string;
@@ -1624,8 +1477,6 @@ interface ListUsersInDirectoryOptions extends PaginationOptions {
1624
1477
  /** Filter Directory Users by their primary email address. */
1625
1478
  email?: string;
1626
1479
  }
1627
- //#endregion
1628
- //#region src/directory-sync/interfaces/slim-role.interface.d.ts
1629
1480
  /** The primary role assigned to the user. */
1630
1481
  interface SlimRole {
1631
1482
  /** The slug of the assigned role. */
@@ -1634,8 +1485,20 @@ interface SlimRole {
1634
1485
  interface SlimRoleResponse {
1635
1486
  slug: string;
1636
1487
  }
1637
- //#endregion
1638
- //#region src/sso/interfaces/authorization-url-options.interface.d.ts
1488
+ interface AuthorizeLogoutOptions {
1489
+ profileId: string;
1490
+ }
1491
+ interface SerializedAuthorizeLogoutOptions {
1492
+ profile_id: string;
1493
+ }
1494
+ interface AuthorizeLogoutResponse {
1495
+ logout_token: string;
1496
+ logout_url: string;
1497
+ }
1498
+ interface AuthorizeLogout {
1499
+ logoutToken: string;
1500
+ logoutUrl: string;
1501
+ }
1639
1502
  /**
1640
1503
  * PKCE fields must be provided together or not at all.
1641
1504
  * Use workos.pkce.generate() to create a valid pair.
@@ -1687,8 +1550,6 @@ type SSOWithProvider = SSOAuthorizationURLBaseFields & PKCEFields$1 & {
1687
1550
  organization?: never;
1688
1551
  };
1689
1552
  type SSOAuthorizationURLOptions = SSOWithConnection | SSOWithOrganization | SSOWithProvider;
1690
- //#endregion
1691
- //#region src/sso/interfaces/connection-type.enum.d.ts
1692
1553
  declare enum ConnectionType {
1693
1554
  ADFSSAML = "ADFSSAML",
1694
1555
  AdpOidc = "AdpOidc",
@@ -1729,8 +1590,6 @@ declare enum ConnectionType {
1729
1590
  SimpleSamlPhpSAML = "SimpleSamlPhpSAML",
1730
1591
  VMwareSAML = "VMwareSAML"
1731
1592
  }
1732
- //#endregion
1733
- //#region src/sso/interfaces/connection.interface.d.ts
1734
1593
  type ConnectionState = 'requires_type' | 'draft' | 'active' | 'validating' | 'inactive' | 'deleting';
1735
1594
  interface ConnectionDomain {
1736
1595
  object: 'connection_domain';
@@ -1767,8 +1626,6 @@ interface ConnectionResponse {
1767
1626
  created_at: string;
1768
1627
  updated_at: string;
1769
1628
  }
1770
- //#endregion
1771
- //#region src/sso/interfaces/connection-event.interface.d.ts
1772
1629
  type SamlCertificateType = 'ResponseSigning' | 'RequestSigning' | 'ResponseEncryption';
1773
1630
  interface ConnectionEventConnection {
1774
1631
  id: string;
@@ -1816,13 +1673,9 @@ interface ConnectionSamlCertificateRenewedEventResponseData {
1816
1673
  certificate: SamlCertificateRenewedResponse;
1817
1674
  renewed_at: string;
1818
1675
  }
1819
- //#endregion
1820
- //#region src/sso/interfaces/get-profile-options.interface.d.ts
1821
1676
  interface GetProfileOptions {
1822
1677
  accessToken: string;
1823
1678
  }
1824
- //#endregion
1825
- //#region src/sso/interfaces/get-profile-and-token-options.interface.d.ts
1826
1679
  interface GetProfileAndTokenOptions {
1827
1680
  clientId: string;
1828
1681
  code: string;
@@ -1833,8 +1686,6 @@ interface GetProfileAndTokenOptions {
1833
1686
  */
1834
1687
  codeVerifier?: string;
1835
1688
  }
1836
- //#endregion
1837
- //#region src/sso/interfaces/list-connections-options.interface.d.ts
1838
1689
  interface ListConnectionsOptions extends PaginationOptions {
1839
1690
  /** Filter Connections by their type. */
1840
1691
  connectionType?: ConnectionType;
@@ -1842,17 +1693,16 @@ interface ListConnectionsOptions extends PaginationOptions {
1842
1693
  domain?: string;
1843
1694
  /** Filter Connections by their associated organization. */
1844
1695
  organizationId?: string;
1696
+ /** Filter Connections by their state. */
1697
+ state?: 'active' | 'inactive' | 'validating';
1845
1698
  }
1846
1699
  interface SerializedListConnectionsOptions extends PaginationOptions {
1847
1700
  connection_type?: ConnectionType;
1848
1701
  domain?: string;
1849
1702
  organization_id?: string;
1703
+ state?: 'active' | 'inactive' | 'validating';
1850
1704
  }
1851
- //#endregion
1852
- //#region src/common/interfaces/unknown-record.interface.d.ts
1853
1705
  type UnknownRecord = Record<string, unknown>;
1854
- //#endregion
1855
- //#region src/user-management/interfaces/oauth-tokens.interface.d.ts
1856
1706
  interface OauthTokens {
1857
1707
  accessToken: string;
1858
1708
  refreshToken: string;
@@ -1865,8 +1715,6 @@ interface OauthTokensResponse {
1865
1715
  expires_at: number;
1866
1716
  scopes: string[];
1867
1717
  }
1868
- //#endregion
1869
- //#region src/sso/interfaces/profile.interface.d.ts
1870
1718
  interface Profile<CustomAttributesType extends UnknownRecord> {
1871
1719
  object: 'profile';
1872
1720
  /** Unique identifier of the profile. */
@@ -1919,8 +1767,6 @@ interface ProfileResponse<CustomAttributesType extends UnknownRecord> {
1919
1767
  [key: string]: any;
1920
1768
  };
1921
1769
  }
1922
- //#endregion
1923
- //#region src/sso/interfaces/profile-and-token.interface.d.ts
1924
1770
  interface ProfileAndToken<CustomAttributesType extends UnknownRecord> {
1925
1771
  accessToken: string;
1926
1772
  profile: Profile<CustomAttributesType>;
@@ -1931,8 +1777,6 @@ interface ProfileAndTokenResponse<CustomAttributesType extends UnknownRecord> {
1931
1777
  profile: ProfileResponse<CustomAttributesType>;
1932
1778
  oauth_tokens?: OauthTokensResponse;
1933
1779
  }
1934
- //#endregion
1935
- //#region src/user-management/interfaces/impersonator.interface.d.ts
1936
1780
  interface Impersonator {
1937
1781
  email: string;
1938
1782
  reason: string | null;
@@ -1941,8 +1785,6 @@ interface ImpersonatorResponse {
1941
1785
  email: string;
1942
1786
  reason: string | null;
1943
1787
  }
1944
- //#endregion
1945
- //#region src/user-management/interfaces/user.interface.d.ts
1946
1788
  /** The user object. */
1947
1789
  interface User {
1948
1790
  /** Distinguishes the user object. */
@@ -1996,8 +1838,6 @@ interface CreateUserResponse extends User {
1996
1838
  interface CreateUserResponseResponse extends UserResponse {
1997
1839
  radar_auth_attempt_id?: string;
1998
1840
  }
1999
- //#endregion
2000
- //#region src/user-management/interfaces/authentication-response.interface.d.ts
2001
1841
  type AuthenticationMethod = 'SSO' | 'Password' | 'Passkey' | 'AppleOAuth' | 'BitbucketOAuth' | 'DiscordOAuth' | 'GitHubOAuth' | 'GitLabOAuth' | 'GoogleOAuth' | 'GrokOAuth' | 'XOAuth' | 'IntuitOAuth' | 'LinkedInOAuth' | 'MicrosoftOAuth' | 'SalesforceOAuth' | 'SlackOAuth' | 'VercelMarketplaceOAuth' | 'VercelOAuth' | 'XeroOAuth' | 'MagicAuth' | 'CrossAppAuth' | 'ExternalAuth' | 'MigratedSession' | 'Impersonation';
2002
1842
  interface AuthenticationResponse {
2003
1843
  user: User;
@@ -2018,8 +1858,6 @@ interface AuthenticationResponseResponse {
2018
1858
  authentication_method?: AuthenticationMethod;
2019
1859
  oauth_tokens?: OauthTokensResponse;
2020
1860
  }
2021
- //#endregion
2022
- //#region src/user-management/interfaces/authenticate-with-session-cookie.interface.d.ts
2023
1861
  interface AuthenticateWithSessionCookieOptions {
2024
1862
  sessionData: string;
2025
1863
  cookiePassword?: string;
@@ -2057,8 +1895,6 @@ type AuthenticateWithSessionCookieSuccessResponse = {
2057
1895
  user: User;
2058
1896
  impersonator?: Impersonator;
2059
1897
  };
2060
- //#endregion
2061
- //#region src/user-management/interfaces/access-token-claims.interface.d.ts
2062
1898
  /**
2063
1899
  * The claims of a verified WorkOS access token, as returned by
2064
1900
  * `userManagement.verifyAccessToken()`.
@@ -2081,8 +1917,6 @@ interface AccessTokenClaims extends UserManagementAccessToken {
2081
1917
  auth_time: number;
2082
1918
  [claim: string]: unknown;
2083
1919
  }
2084
- //#endregion
2085
- //#region src/user-management/interfaces/authenticate-with-options-base.interface.d.ts
2086
1920
  interface AuthenticateWithSessionOptions {
2087
1921
  cookiePassword?: string;
2088
1922
  sealSession: boolean;
@@ -2120,8 +1954,6 @@ interface SerializedAuthenticatePublicClientBase {
2120
1954
  type WithResolvedClientId<T> = Omit<T, 'clientId'> & {
2121
1955
  clientId: string;
2122
1956
  };
2123
- //#endregion
2124
- //#region src/user-management/interfaces/authenticate-with-code-options.interface.d.ts
2125
1957
  interface AuthenticateWithCodeOptions extends AuthenticateWithOptionsBase {
2126
1958
  codeVerifier?: string;
2127
1959
  code: string;
@@ -2138,8 +1970,6 @@ interface SerializedAuthenticateWithCodeOptions extends SerializedAuthenticateWi
2138
1970
  invitation_token?: string;
2139
1971
  signals_id?: string;
2140
1972
  }
2141
- //#endregion
2142
- //#region src/user-management/interfaces/authenticate-with-code-and-verifier-options.interface.d.ts
2143
1973
  interface AuthenticateWithCodeAndVerifierOptions extends AuthenticateWithOptionsBase {
2144
1974
  codeVerifier: string;
2145
1975
  code: string;
@@ -2153,8 +1983,6 @@ interface SerializedAuthenticateWithCodeAndVerifierOptions extends SerializedAut
2153
1983
  invitation_token?: string;
2154
1984
  signals_id?: string;
2155
1985
  }
2156
- //#endregion
2157
- //#region src/user-management/interfaces/authenticate-with-email-verification-options.interface.d.ts
2158
1986
  interface AuthenticateWithEmailVerificationOptions extends AuthenticateWithOptionsBase {
2159
1987
  code: string;
2160
1988
  pendingAuthenticationToken: string;
@@ -2167,8 +1995,6 @@ interface SerializedAuthenticateWithEmailVerificationOptions extends SerializedA
2167
1995
  code: string;
2168
1996
  pending_authentication_token: string;
2169
1997
  }
2170
- //#endregion
2171
- //#region src/user-management/interfaces/authenticate-with-magic-auth-options.interface.d.ts
2172
1998
  interface AuthenticateWithMagicAuthOptions extends AuthenticateWithOptionsBase {
2173
1999
  code: string;
2174
2000
  email: string;
@@ -2189,8 +2015,6 @@ interface SerializedAuthenticateWithMagicAuthOptions extends SerializedAuthentic
2189
2015
  radar_auth_attempt_id?: string;
2190
2016
  signals_id?: string;
2191
2017
  }
2192
- //#endregion
2193
- //#region src/user-management/interfaces/authenticate-with-radar-email-challenge-options.interface.d.ts
2194
2018
  interface AuthenticateWithRadarEmailChallengeOptions extends AuthenticateWithOptionsBase {
2195
2019
  code: string;
2196
2020
  radarChallengeId: string;
@@ -2205,8 +2029,6 @@ interface SerializedAuthenticateWithRadarEmailChallengeOptions extends Serialize
2205
2029
  radar_challenge_id: string;
2206
2030
  pending_authentication_token: string;
2207
2031
  }
2208
- //#endregion
2209
- //#region src/user-management/interfaces/authenticate-with-radar-sms-challenge-options.interface.d.ts
2210
2032
  interface AuthenticateWithRadarSmsChallengeOptions extends AuthenticateWithOptionsBase {
2211
2033
  code: string;
2212
2034
  verificationId: string;
@@ -2223,8 +2045,6 @@ interface SerializedAuthenticateWithRadarSmsChallengeOptions extends SerializedA
2223
2045
  phone_number: string;
2224
2046
  pending_authentication_token: string;
2225
2047
  }
2226
- //#endregion
2227
- //#region src/user-management/interfaces/authenticate-with-organization-selection.interface.d.ts
2228
2048
  interface AuthenticateWithOrganizationSelectionOptions extends AuthenticateWithOptionsBase {
2229
2049
  organizationId: string;
2230
2050
  pendingAuthenticationToken: string;
@@ -2237,8 +2057,6 @@ interface SerializedAuthenticateWithOrganizationSelectionOptions extends Seriali
2237
2057
  organization_id: string;
2238
2058
  pending_authentication_token: string;
2239
2059
  }
2240
- //#endregion
2241
- //#region src/user-management/interfaces/authenticate-with-password-options.interface.d.ts
2242
2060
  interface AuthenticateWithPasswordOptions extends AuthenticateWithOptionsBase {
2243
2061
  email: string;
2244
2062
  password: string;
@@ -2257,8 +2075,6 @@ interface SerializedAuthenticateWithPasswordOptions extends SerializedAuthentica
2257
2075
  radar_auth_attempt_id?: string;
2258
2076
  signals_id?: string;
2259
2077
  }
2260
- //#endregion
2261
- //#region src/user-management/interfaces/authenticate-with-refresh-token-options.interface.d.ts
2262
2078
  interface AuthenticateWithRefreshTokenOptions extends AuthenticateWithOptionsBase {
2263
2079
  refreshToken: string;
2264
2080
  organizationId?: string;
@@ -2271,8 +2087,6 @@ interface SerializedAuthenticateWithRefreshTokenOptions extends SerializedAuthen
2271
2087
  refresh_token: string;
2272
2088
  organization_id: string | undefined;
2273
2089
  }
2274
- //#endregion
2275
- //#region src/user-management/interfaces/authenticate-with-refresh-token-public-client-options.interface.d.ts
2276
2090
  /** Options for refreshing tokens as a public client (no client_secret required) */
2277
2091
  interface AuthenticateWithRefreshTokenPublicClientOptions extends AuthenticateWithOptionsBase {
2278
2092
  refreshToken: string;
@@ -2283,8 +2097,6 @@ interface SerializedAuthenticateWithRefreshTokenPublicClientOptions extends Seri
2283
2097
  refresh_token: string;
2284
2098
  organization_id: string | undefined;
2285
2099
  }
2286
- //#endregion
2287
- //#region src/user-management/interfaces/authenticate-with-totp-options.interface.d.ts
2288
2100
  interface AuthenticateWithTotpOptions extends AuthenticateWithOptionsBase {
2289
2101
  code: string;
2290
2102
  pendingAuthenticationToken: string;
@@ -2299,8 +2111,6 @@ interface SerializedAuthenticateWithTotpOptions extends SerializedAuthenticateWi
2299
2111
  pending_authentication_token: string;
2300
2112
  authentication_challenge_id: string;
2301
2113
  }
2302
- //#endregion
2303
- //#region src/user-management/interfaces/authentication-event.interface.d.ts
2304
2114
  interface AuthenticationEventError {
2305
2115
  code: string;
2306
2116
  message: string;
@@ -2337,16 +2147,12 @@ interface AuthenticationEventResponse {
2337
2147
  user_agent: string | null;
2338
2148
  user_id: string | null;
2339
2149
  }
2340
- //#endregion
2341
- //#region src/multi-factor-auth/interfaces/sms.interface.d.ts
2342
2150
  interface Sms {
2343
2151
  phoneNumber: string;
2344
2152
  }
2345
2153
  interface SmsResponse {
2346
2154
  phone_number: string;
2347
2155
  }
2348
- //#endregion
2349
- //#region src/multi-factor-auth/interfaces/totp.interface.d.ts
2350
2156
  interface Totp {
2351
2157
  issuer: string;
2352
2158
  user: string;
@@ -2365,8 +2171,6 @@ interface TotpWithSecretsResponse extends TotpResponse {
2365
2171
  secret: string;
2366
2172
  uri: string;
2367
2173
  }
2368
- //#endregion
2369
- //#region src/multi-factor-auth/interfaces/factor.interface.d.ts
2370
2174
  type FactorType = 'sms' | 'totp' | 'generic_otp' | 'webauthn';
2371
2175
  interface Factor {
2372
2176
  object: 'authentication_factor';
@@ -2404,8 +2208,6 @@ interface FactorWithSecretsResponse {
2404
2208
  sms?: SmsResponse;
2405
2209
  totp?: TotpWithSecretsResponse;
2406
2210
  }
2407
- //#endregion
2408
- //#region src/user-management/interfaces/authentication-factor.interface.d.ts
2409
2211
  type AuthenticationFactorType = FactorType;
2410
2212
  interface AuthenticationFactor {
2411
2213
  object: 'authentication_factor';
@@ -2445,8 +2247,6 @@ interface AuthenticationFactorWithSecretsResponse {
2445
2247
  totp: TotpWithSecretsResponse;
2446
2248
  user_id: string;
2447
2249
  }
2448
- //#endregion
2449
- //#region src/user-management/interfaces/authentication-radar-risk-detected-event.interface.d.ts
2450
2250
  type AuthenticationRadarRiskDetectedEventData = {
2451
2251
  authMethod: string;
2452
2252
  action: 'signup' | 'login';
@@ -2467,8 +2267,6 @@ interface AuthenticationRadarRiskDetectedEventResponseData {
2467
2267
  user_id: string;
2468
2268
  email: string;
2469
2269
  }
2470
- //#endregion
2471
- //#region src/user-management/interfaces/authorization-url-options.interface.d.ts
2472
2270
  /**
2473
2271
  * PKCE fields must be provided together or not at all.
2474
2272
  * Use workos.pkce.generate() to create a valid pair.
@@ -2516,8 +2314,6 @@ interface PKCEAuthorizationURLResult {
2516
2314
  /** The PKCE code verifier. Store securely and pass to authenticateWithCode(). */
2517
2315
  codeVerifier: string;
2518
2316
  }
2519
- //#endregion
2520
- //#region src/connect/interfaces/application-credentials-list-item.interface.d.ts
2521
2317
  interface ApplicationCredentialsListItem {
2522
2318
  /** Distinguishes the connect application secret object. */
2523
2319
  object: 'connect_application_secret';
@@ -2540,8 +2336,6 @@ interface ApplicationCredentialsListItemResponse {
2540
2336
  created_at: string;
2541
2337
  updated_at: string;
2542
2338
  }
2543
- //#endregion
2544
- //#region src/connect/interfaces/user-object.interface.d.ts
2545
2339
  interface UserObject {
2546
2340
  /** Your application's user identifier, which will be stored as an [`external_id`](https://workos.com/docs/authkit/metadata/external-identifiers). Used for upserting and deduplication. */
2547
2341
  id: string;
@@ -2561,8 +2355,6 @@ interface UserObjectResponse {
2561
2355
  last_name?: string;
2562
2356
  metadata?: Record<string, string>;
2563
2357
  }
2564
- //#endregion
2565
- //#region src/connect/interfaces/user-consent-option-choice.interface.d.ts
2566
2358
  interface UserConsentOptionChoice {
2567
2359
  /** The value of this choice. */
2568
2360
  value?: string;
@@ -2573,8 +2365,6 @@ interface UserConsentOptionChoiceResponse {
2573
2365
  value?: string;
2574
2366
  label?: string;
2575
2367
  }
2576
- //#endregion
2577
- //#region src/connect/interfaces/user-consent-option.interface.d.ts
2578
2368
  interface UserConsentOption {
2579
2369
  /** The claim name for this consent option. */
2580
2370
  claim: string;
@@ -2591,8 +2381,6 @@ interface UserConsentOptionResponse {
2591
2381
  label: string;
2592
2382
  choices: UserConsentOptionChoiceResponse[];
2593
2383
  }
2594
- //#endregion
2595
- //#region src/connect/interfaces/complete-oauth-2-options.interface.d.ts
2596
2384
  interface CompleteOAuth2Options {
2597
2385
  /** Identifier provided when AuthKit redirected to your login page. */
2598
2386
  externalAuthId: string;
@@ -2601,8 +2389,6 @@ interface CompleteOAuth2Options {
2601
2389
  /** Array of [User Consent Options](https://workos.com/docs/reference/workos-connect/standalone/user-consent-options) to store with the session. */
2602
2390
  userConsentOptions?: UserConsentOption[];
2603
2391
  }
2604
- //#endregion
2605
- //#region src/connect/interfaces/connect-application-redirect-uri.interface.d.ts
2606
2392
  interface ConnectApplicationRedirectUri {
2607
2393
  /** The redirect URI for the application. */
2608
2394
  uri: string;
@@ -2613,8 +2399,6 @@ interface ConnectApplicationRedirectUriResponse {
2613
2399
  uri: string;
2614
2400
  default: boolean;
2615
2401
  }
2616
- //#endregion
2617
- //#region src/connect/interfaces/connect-application.interface.d.ts
2618
2402
  interface ConnectApplicationOAuth {
2619
2403
  /** Distinguishes the connect application object. */
2620
2404
  object: 'connect_application';
@@ -2721,14 +2505,10 @@ interface ConnectApplicationM2MResponse {
2721
2505
  }
2722
2506
  type ConnectApplication = ConnectApplicationOAuth | ConnectApplicationM2M;
2723
2507
  type ConnectApplicationResponse = ConnectApplicationOAuthResponse | ConnectApplicationM2MResponse;
2724
- //#endregion
2725
- //#region src/connect/interfaces/create-application-client-secret-options.interface.d.ts
2726
2508
  interface CreateApplicationClientSecretOptions {
2727
2509
  /** The application ID or client ID of the Connect Application. */
2728
2510
  id: string;
2729
2511
  }
2730
- //#endregion
2731
- //#region src/connect/interfaces/redirect-uri-input.interface.d.ts
2732
2512
  interface RedirectUriInput {
2733
2513
  /** The redirect URI. */
2734
2514
  uri: string;
@@ -2739,8 +2519,6 @@ interface RedirectUriInputResponse {
2739
2519
  uri: string;
2740
2520
  default?: boolean | null;
2741
2521
  }
2742
- //#endregion
2743
- //#region src/connect/interfaces/create-oauth-application.interface.d.ts
2744
2522
  interface CreateOAuthApplication {
2745
2523
  /** The name of the application. */
2746
2524
  name: string;
@@ -2769,8 +2547,6 @@ interface CreateOAuthApplicationResponse {
2769
2547
  is_first_party: boolean;
2770
2548
  organization_id?: string | null;
2771
2549
  }
2772
- //#endregion
2773
- //#region src/connect/interfaces/create-m2m-application.interface.d.ts
2774
2550
  interface CreateM2MApplication {
2775
2551
  /** The name of the application. */
2776
2552
  name: string;
@@ -2790,23 +2566,17 @@ interface CreateM2MApplicationResponse {
2790
2566
  scopes?: string[] | null;
2791
2567
  organization_id: string;
2792
2568
  }
2793
- //#endregion
2794
- //#region src/connect/interfaces/create-application-options.interface.d.ts
2795
2569
  type CreateApplicationOptions = {} & (CreateOAuthApplication | CreateM2MApplication);
2796
- //#endregion
2797
- //#region src/connect/interfaces/delete-application-options.interface.d.ts
2570
+ type CreateApplicationSecret = object;
2571
+ type CreateApplicationSecretResponse = object;
2798
2572
  interface DeleteApplicationOptions {
2799
2573
  /** The application ID or client ID of the Connect Application. */
2800
2574
  id: string;
2801
2575
  }
2802
- //#endregion
2803
- //#region src/connect/interfaces/delete-client-secret-options.interface.d.ts
2804
2576
  interface DeleteClientSecretOptions {
2805
2577
  /** The unique ID of the client secret. */
2806
2578
  id: string;
2807
2579
  }
2808
- //#endregion
2809
- //#region src/connect/interfaces/external-auth-complete-response.interface.d.ts
2810
2580
  interface ExternalAuthCompleteResponse {
2811
2581
  /** URI to redirect the user back to AuthKit to complete the OAuth flow. */
2812
2582
  redirectUri: string;
@@ -2814,26 +2584,18 @@ interface ExternalAuthCompleteResponse {
2814
2584
  interface ExternalAuthCompleteResponseWire {
2815
2585
  redirect_uri: string;
2816
2586
  }
2817
- //#endregion
2818
- //#region src/connect/interfaces/get-application-options.interface.d.ts
2819
2587
  interface GetApplicationOptions {
2820
2588
  /** The application ID or client ID of the Connect Application. */
2821
2589
  id: string;
2822
2590
  }
2823
- //#endregion
2824
- //#region src/connect/interfaces/list-application-client-secrets-options.interface.d.ts
2825
2591
  interface ListApplicationClientSecretsOptions {
2826
2592
  /** The application ID or client ID of the Connect Application. */
2827
2593
  id: string;
2828
2594
  }
2829
- //#endregion
2830
- //#region src/connect/interfaces/list-applications-options.interface.d.ts
2831
2595
  interface ListApplicationsOptions extends PaginationOptions {
2832
2596
  /** Filter Connect Applications by organization ID. */
2833
2597
  organizationId?: string;
2834
2598
  }
2835
- //#endregion
2836
- //#region src/connect/interfaces/new-connect-application-secret.interface.d.ts
2837
2599
  interface NewConnectApplicationSecret {
2838
2600
  /** Distinguishes the connect application secret object. */
2839
2601
  object: 'connect_application_secret';
@@ -2859,8 +2621,6 @@ interface NewConnectApplicationSecretResponse {
2859
2621
  updated_at: string;
2860
2622
  secret: string;
2861
2623
  }
2862
- //#endregion
2863
- //#region src/connect/interfaces/update-application-options.interface.d.ts
2864
2624
  interface UpdateApplicationOptions {
2865
2625
  /** The application ID or client ID of the Connect Application. */
2866
2626
  id: string;
@@ -2873,8 +2633,35 @@ interface UpdateApplicationOptions {
2873
2633
  /** Updated redirect URIs for the application. OAuth applications only. */
2874
2634
  redirectUris?: RedirectUriInput[] | null;
2875
2635
  }
2876
- //#endregion
2877
- //#region src/connect/interfaces/token-exchange.interface.d.ts
2636
+ interface UpdateOAuthApplication {
2637
+ /** The name of the application. */
2638
+ name?: string;
2639
+ /** A description for the application. */
2640
+ description?: string | null;
2641
+ /** The OAuth scopes granted to the application. */
2642
+ scopes?: string[] | null;
2643
+ /** Updated redirect URIs for the application. OAuth applications only. */
2644
+ redirectUris?: RedirectUriInput[] | null;
2645
+ }
2646
+ interface UpdateOAuthApplicationResponse {
2647
+ name?: string;
2648
+ description?: string | null;
2649
+ scopes?: string[] | null;
2650
+ redirect_uris?: RedirectUriInputResponse[] | null;
2651
+ }
2652
+ interface UserManagementLoginRequest {
2653
+ /** Identifier provided when AuthKit redirected to your login page. */
2654
+ externalAuthId: string;
2655
+ /** The user to create or update in AuthKit. */
2656
+ user: UserObject;
2657
+ /** Array of [User Consent Options](https://workos.com/docs/reference/workos-connect/standalone/user-consent-options) to store with the session. */
2658
+ userConsentOptions?: UserConsentOption[];
2659
+ }
2660
+ interface UserManagementLoginRequestResponse {
2661
+ external_auth_id: string;
2662
+ user: UserObjectResponse;
2663
+ user_consent_options?: UserConsentOptionResponse[];
2664
+ }
2878
2665
  interface ExchangeTokenOptions {
2879
2666
  /**
2880
2667
  * The OpenID issuer of the environment, e.g. `https://auth.example.com` or
@@ -2907,8 +2694,6 @@ interface TokenExchangeResponseResponse {
2907
2694
  expires_in: number;
2908
2695
  scope?: string;
2909
2696
  }
2910
- //#endregion
2911
- //#region src/user-management/interfaces/authorized-connect-application.interface.d.ts
2912
2697
  interface AuthorizedConnectApplication {
2913
2698
  object: 'authorized_connect_application';
2914
2699
  id: string;
@@ -2923,8 +2708,6 @@ interface AuthorizedConnectApplicationResponse {
2923
2708
  oauth_resource?: string;
2924
2709
  application: ConnectApplicationResponse;
2925
2710
  }
2926
- //#endregion
2927
- //#region src/user-management/interfaces/create-magic-auth-options.interface.d.ts
2928
2711
  interface CreateMagicAuthOptions {
2929
2712
  email: string;
2930
2713
  invitationToken?: string;
@@ -2941,8 +2724,6 @@ interface SerializedCreateMagicAuthOptions {
2941
2724
  radar_auth_attempt_id?: string;
2942
2725
  signals_id?: string;
2943
2726
  }
2944
- //#endregion
2945
- //#region src/user-management/interfaces/create-organization-membership-options.interface.d.ts
2946
2727
  interface CreateOrganizationMembershipOptions {
2947
2728
  organizationId: string;
2948
2729
  userId: string;
@@ -2955,16 +2736,12 @@ interface SerializedCreateOrganizationMembershipOptions {
2955
2736
  role_slug?: string;
2956
2737
  role_slugs?: string[];
2957
2738
  }
2958
- //#endregion
2959
- //#region src/user-management/interfaces/create-password-reset-options.interface.d.ts
2960
2739
  interface CreatePasswordResetOptions {
2961
2740
  email: string;
2962
2741
  }
2963
2742
  interface SerializedCreatePasswordResetOptions {
2964
2743
  email: string;
2965
2744
  }
2966
- //#endregion
2967
- //#region src/user-management/interfaces/create-user-api-key-options.interface.d.ts
2968
2745
  interface CreateUserApiKeyOptions {
2969
2746
  name: string;
2970
2747
  organizationId: string;
@@ -2978,11 +2755,7 @@ interface SerializedCreateUserApiKeyOptions {
2978
2755
  expires_at?: string;
2979
2756
  }
2980
2757
  interface CreateUserApiKeyRequestOptions extends Pick<PostOptions, 'idempotencyKey'> {}
2981
- //#endregion
2982
- //#region src/user-management/interfaces/password-hash-type.interface.d.ts
2983
2758
  type PasswordHashType = 'bcrypt' | 'firebase-scrypt' | 'ssha' | 'scrypt' | 'argon2';
2984
- //#endregion
2985
- //#region src/user-management/interfaces/create-user-options.interface.d.ts
2986
2759
  interface CreateUserOptions {
2987
2760
  email: string;
2988
2761
  password?: string;
@@ -3013,8 +2786,6 @@ interface SerializedCreateUserOptions {
3013
2786
  user_agent?: string;
3014
2787
  signals_id?: string;
3015
2788
  }
3016
- //#endregion
3017
- //#region src/user-management/interfaces/create-waitlist-entry-options.interface.d.ts
3018
2789
  interface CreateWaitlistEntryOptions {
3019
2790
  /** The email address of the user joining the waitlist. */
3020
2791
  email: string;
@@ -3028,8 +2799,6 @@ interface SerializedCreateWaitlistEntryOptions {
3028
2799
  additional_fields?: Record<string, string>;
3029
2800
  send_confirmation_email?: boolean;
3030
2801
  }
3031
- //#endregion
3032
- //#region src/user-management/interfaces/email-verification.interface.d.ts
3033
2802
  interface EmailVerification {
3034
2803
  /** Distinguishes the email verification object. */
3035
2804
  object: 'email_verification';
@@ -3076,8 +2845,6 @@ interface EmailVerificationEventResponse {
3076
2845
  created_at: string;
3077
2846
  updated_at: string;
3078
2847
  }
3079
- //#endregion
3080
- //#region src/user-management/interfaces/enroll-auth-factor.interface.d.ts
3081
2848
  interface EnrollAuthFactorOptions {
3082
2849
  userId: string;
3083
2850
  type: 'totp';
@@ -3091,15 +2858,11 @@ interface SerializedEnrollUserInMfaFactorOptions {
3091
2858
  totp_user?: string;
3092
2859
  totp_secret?: string;
3093
2860
  }
3094
- //#endregion
3095
- //#region src/user-management/interfaces/identity.interface.d.ts
3096
2861
  interface Identity {
3097
2862
  idpId: string;
3098
2863
  type: 'OAuth';
3099
2864
  provider: 'AppleOAuth' | 'GoogleOAuth' | 'GitHubOAuth' | 'MicrosoftOAuth' | 'SalesforceOAuth';
3100
2865
  }
3101
- //#endregion
3102
- //#region src/user-management/interfaces/invitation.interface.d.ts
3103
2866
  interface Invitation {
3104
2867
  /** Distinguishes the invitation object. */
3105
2868
  object: 'invitation';
@@ -3179,18 +2942,12 @@ interface InvitationEventResponse {
3179
2942
  created_at: string;
3180
2943
  updated_at: string;
3181
2944
  }
3182
- //#endregion
3183
- //#region src/user-management/interfaces/list-auth-factors-options.interface.d.ts
3184
2945
  interface ListAuthFactorsOptions extends PaginationOptions {
3185
2946
  userId: string;
3186
2947
  }
3187
- //#endregion
3188
- //#region src/user-management/interfaces/list-groups-for-organization-membership-options.interface.d.ts
3189
2948
  interface ListGroupsForOrganizationMembershipOptions extends PaginationOptions {
3190
2949
  organizationMembershipId: string;
3191
2950
  }
3192
- //#endregion
3193
- //#region src/user-management/interfaces/list-invitations-options.interface.d.ts
3194
2951
  interface ListInvitationsOptions extends PaginationOptions {
3195
2952
  /** The ID of the [organization](https://workos.com/docs/reference/organization) that the recipient will join. */
3196
2953
  organizationId?: string;
@@ -3201,8 +2958,6 @@ interface SerializedListInvitationsOptions extends PaginationOptions {
3201
2958
  organization_id?: string;
3202
2959
  email?: string;
3203
2960
  }
3204
- //#endregion
3205
- //#region src/user-management/interfaces/organization-membership.interface.d.ts
3206
2961
  type OrganizationMembershipStatus = 'active' | 'inactive' | 'pending';
3207
2962
  interface BaseOrganizationMembership {
3208
2963
  object: 'organization_membership';
@@ -3246,8 +3001,6 @@ interface OrganizationMembershipResponse extends BaseOrganizationMembershipRespo
3246
3001
  user?: UserResponse;
3247
3002
  }
3248
3003
  type AuthorizationOrganizationMembershipResponse = BaseOrganizationMembershipResponse;
3249
- //#endregion
3250
- //#region src/user-management/interfaces/list-organization-memberships-options.interface.d.ts
3251
3004
  type ListOrganizationMembershipsOptions = PaginationOptions & {
3252
3005
  statuses?: OrganizationMembershipStatus[];
3253
3006
  } & ({
@@ -3262,25 +3015,17 @@ interface SerializedListOrganizationMembershipsOptions extends PaginationOptions
3262
3015
  user_id?: string;
3263
3016
  statuses?: string;
3264
3017
  }
3265
- //#endregion
3266
- //#region src/user-management/interfaces/list-sessions-options.interface.d.ts
3267
3018
  interface ListSessionsOptions extends PaginationOptions {}
3268
3019
  interface SerializedListSessionsOptions extends PaginationOptions {}
3269
- //#endregion
3270
- //#region src/user-management/interfaces/list-user-feature-flags-options.interface.d.ts
3271
3020
  interface ListUserFeatureFlagsOptions extends PaginationOptions {
3272
3021
  userId: string;
3273
3022
  }
3274
- //#endregion
3275
- //#region src/user-management/interfaces/list-user-api-keys-options.interface.d.ts
3276
3023
  interface ListUserApiKeysOptions extends PaginationOptions {
3277
3024
  organizationId?: string;
3278
3025
  }
3279
3026
  interface SerializedListUserApiKeysOptions extends PaginationOptions {
3280
3027
  organization_id?: string;
3281
3028
  }
3282
- //#endregion
3283
- //#region src/user-management/interfaces/list-users-options.interface.d.ts
3284
3029
  interface ListUsersOptions extends PaginationOptions {
3285
3030
  /** Filter users by their email address. */
3286
3031
  email?: string;
@@ -3291,8 +3036,6 @@ interface SerializedListUsersOptions extends PaginationOptions {
3291
3036
  email?: string;
3292
3037
  organization_id?: string;
3293
3038
  }
3294
- //#endregion
3295
- //#region src/user-management/interfaces/waitlist-entry.interface.d.ts
3296
3039
  type WaitlistEntryState = 'pending' | 'approved' | 'denied';
3297
3040
  interface WaitlistEntry {
3298
3041
  /** Distinguishes the Waitlist Entry object. */
@@ -3325,8 +3068,6 @@ interface WaitlistEntryResponse {
3325
3068
  created_at: string;
3326
3069
  updated_at: string;
3327
3070
  }
3328
- //#endregion
3329
- //#region src/user-management/interfaces/list-waitlist-entries-options.interface.d.ts
3330
3071
  interface ListWaitlistEntriesOptions extends PaginationOptions {
3331
3072
  /** Filter entries by state. */
3332
3073
  state?: WaitlistEntryState;
@@ -3337,17 +3078,11 @@ interface SerializedListWaitlistEntriesOptions extends PaginationOptions {
3337
3078
  state?: WaitlistEntryState;
3338
3079
  email?: string;
3339
3080
  }
3340
- //#endregion
3341
- //#region src/user-management/interfaces/locale.interface.d.ts
3342
3081
  type 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';
3343
- //#endregion
3344
- //#region src/user-management/interfaces/logout-url-options.interface.d.ts
3345
3082
  interface LogoutURLOptions {
3346
3083
  sessionId: string;
3347
3084
  returnTo?: string;
3348
3085
  }
3349
- //#endregion
3350
- //#region src/user-management/interfaces/magic-auth.interface.d.ts
3351
3086
  interface MagicAuth {
3352
3087
  /** Distinguishes the Magic Auth object. */
3353
3088
  object: 'magic_auth';
@@ -3400,8 +3135,6 @@ interface MagicAuthEventResponse {
3400
3135
  created_at: string;
3401
3136
  updated_at: string;
3402
3137
  }
3403
- //#endregion
3404
- //#region src/user-management/interfaces/password-reset.interface.d.ts
3405
3138
  interface PasswordReset {
3406
3139
  /** Distinguishes the password reset object. */
3407
3140
  object: 'password_reset';
@@ -3446,8 +3179,6 @@ interface PasswordResetEventResponse {
3446
3179
  expires_at: string;
3447
3180
  created_at: string;
3448
3181
  }
3449
- //#endregion
3450
- //#region src/user-management/interfaces/refresh-and-seal-session-data.interface.d.ts
3451
3182
  declare enum RefreshSessionFailureReason {
3452
3183
  INVALID_SESSION_COOKIE = "invalid_session_cookie",
3453
3184
  NO_SESSION_COOKIE_PROVIDED = "no_session_cookie_provided",
@@ -3496,16 +3227,12 @@ type RefreshSessionSuccessResponse = Omit<AuthenticateWithSessionCookieSuccessRe
3496
3227
  sealedSession?: string;
3497
3228
  };
3498
3229
  type RefreshSessionResponse = RefreshSessionFailedResponse | RefreshSessionSuccessResponse;
3499
- //#endregion
3500
- //#region src/user-management/interfaces/resend-invitation-options.interface.d.ts
3501
3230
  interface ResendInvitationOptions {
3502
3231
  locale?: Locale;
3503
3232
  }
3504
3233
  interface SerializedResendInvitationOptions {
3505
3234
  locale?: Locale;
3506
3235
  }
3507
- //#endregion
3508
- //#region src/user-management/interfaces/reset-password-options.interface.d.ts
3509
3236
  interface ResetPasswordOptions {
3510
3237
  token: string;
3511
3238
  newPassword: string;
@@ -3514,8 +3241,6 @@ interface SerializedResetPasswordOptions {
3514
3241
  token: string;
3515
3242
  new_password: string;
3516
3243
  }
3517
- //#endregion
3518
- //#region src/user-management/interfaces/revoke-session-options.interface.d.ts
3519
3244
  interface RevokeSessionOptions {
3520
3245
  sessionId: string;
3521
3246
  }
@@ -3523,8 +3248,6 @@ interface SerializedRevokeSessionOptions {
3523
3248
  session_id: string;
3524
3249
  }
3525
3250
  declare const serializeRevokeSessionOptions: (options: RevokeSessionOptions) => SerializedRevokeSessionOptions;
3526
- //#endregion
3527
- //#region src/user-management/interfaces/send-invitation-options.interface.d.ts
3528
3251
  interface SendInvitationOptions {
3529
3252
  email: string;
3530
3253
  organizationId?: string;
@@ -3541,8 +3264,6 @@ interface SerializedSendInvitationOptions {
3541
3264
  role_slug?: string;
3542
3265
  locale?: Locale;
3543
3266
  }
3544
- //#endregion
3545
- //#region src/user-management/interfaces/send-radar-sms-challenge-options.interface.d.ts
3546
3267
  interface SendRadarSmsChallengeOptions {
3547
3268
  userId: string;
3548
3269
  pendingAuthenticationToken: string;
@@ -3565,13 +3286,9 @@ interface SendRadarSmsChallengeResponseResponse {
3565
3286
  verification_id: string;
3566
3287
  phone_number: string;
3567
3288
  }
3568
- //#endregion
3569
- //#region src/user-management/interfaces/send-verification-email-options.interface.d.ts
3570
3289
  interface SendVerificationEmailOptions {
3571
3290
  userId: string;
3572
3291
  }
3573
- //#endregion
3574
- //#region src/user-management/interfaces/session.interface.d.ts
3575
3292
  type AuthMethod = 'cross_app_auth' | 'external_auth' | 'impersonation' | 'magic_code' | 'migrated_session' | 'oauth' | 'passkey' | 'password' | 'sso' | 'unknown';
3576
3293
  type SessionStatus = 'active' | 'expired' | 'revoked';
3577
3294
  interface Session {
@@ -3604,8 +3321,6 @@ interface SessionResponse {
3604
3321
  created_at: string;
3605
3322
  updated_at: string;
3606
3323
  }
3607
- //#endregion
3608
- //#region src/user-management/interfaces/update-organization-membership-options.interface.d.ts
3609
3324
  interface UpdateOrganizationMembershipOptions {
3610
3325
  roleSlug?: string;
3611
3326
  roleSlugs?: string[];
@@ -3614,8 +3329,6 @@ interface SerializedUpdateOrganizationMembershipOptions {
3614
3329
  role_slug?: string;
3615
3330
  role_slugs?: string[];
3616
3331
  }
3617
- //#endregion
3618
- //#region src/user-management/interfaces/update-user-options.interface.d.ts
3619
3332
  interface UpdateUserOptions {
3620
3333
  userId: string;
3621
3334
  email?: string;
@@ -3643,8 +3356,6 @@ interface SerializedUpdateUserOptions {
3643
3356
  locale?: string;
3644
3357
  metadata?: Record<string, string | null>;
3645
3358
  }
3646
- //#endregion
3647
- //#region src/user-management/interfaces/update-user-password-options.interface.d.ts
3648
3359
  interface UpdateUserPasswordOptions {
3649
3360
  userId: string;
3650
3361
  password: string;
@@ -3652,8 +3363,6 @@ interface UpdateUserPasswordOptions {
3652
3363
  interface SerializedUpdateUserPasswordOptions {
3653
3364
  password: string;
3654
3365
  }
3655
- //#endregion
3656
- //#region src/user-management/interfaces/user-api-key.interface.d.ts
3657
3366
  interface UserApiKey {
3658
3367
  object: 'api_key';
3659
3368
  id: string;
@@ -3686,16 +3395,12 @@ interface SerializedUserApiKey {
3686
3395
  created_at: string;
3687
3396
  updated_at: string;
3688
3397
  }
3689
- //#endregion
3690
- //#region src/user-management/interfaces/user-api-key-with-value.interface.d.ts
3691
3398
  interface UserApiKeyWithValue extends UserApiKey {
3692
3399
  value: string;
3693
3400
  }
3694
3401
  interface SerializedUserApiKeyWithValue extends SerializedUserApiKey {
3695
3402
  value: string;
3696
3403
  }
3697
- //#endregion
3698
- //#region src/user-management/interfaces/verify-email-options.interface.d.ts
3699
3404
  interface VerifyEmailOptions {
3700
3405
  code: string;
3701
3406
  userId: string;
@@ -3703,8 +3408,6 @@ interface VerifyEmailOptions {
3703
3408
  interface SerializedVerifyEmailOptions {
3704
3409
  code: string;
3705
3410
  }
3706
- //#endregion
3707
- //#region src/user-management/interfaces/waitlist.interface.d.ts
3708
3411
  interface Waitlist {
3709
3412
  /** Distinguishes the Waitlist object. */
3710
3413
  object: 'waitlist';
@@ -3721,8 +3424,6 @@ interface WaitlistResponse {
3721
3424
  created_at: string;
3722
3425
  updated_at: string;
3723
3426
  }
3724
- //#endregion
3725
- //#region src/user-management/interfaces/waitlist-user-event.interface.d.ts
3726
3427
  /** The waitlist entry as delivered on `waitlist_user.*` events. */
3727
3428
  interface WaitlistUserEventData {
3728
3429
  object: 'waitlist_user';
@@ -3746,8 +3447,6 @@ interface WaitlistUserEventResponseData {
3746
3447
  created_at: string;
3747
3448
  updated_at: string;
3748
3449
  }
3749
- //#endregion
3750
- //#region src/organization-domains/interfaces/create-organization-domain-options.interface.d.ts
3751
3450
  interface CreateOrganizationDomainOptions {
3752
3451
  domain: string;
3753
3452
  organizationId: string;
@@ -3756,8 +3455,6 @@ interface SerializedCreateOrganizationDomainOptions {
3756
3455
  domain: string;
3757
3456
  organization_id: string;
3758
3457
  }
3759
- //#endregion
3760
- //#region src/organization-domains/interfaces/organization-domain.interface.d.ts
3761
3458
  declare enum OrganizationDomainState {
3762
3459
  Verified = "verified",
3763
3460
  Pending = "pending",
@@ -3802,8 +3499,6 @@ interface OrganizationDomainResponse {
3802
3499
  created_at: string;
3803
3500
  updated_at: string;
3804
3501
  }
3805
- //#endregion
3806
- //#region src/organization-domains/interfaces/organization-domain-verification-failed.interface.d.ts
3807
3502
  interface OrganizationDomainVerificationFailed {
3808
3503
  reason: string;
3809
3504
  organizationDomain: OrganizationDomain;
@@ -3812,8 +3507,6 @@ interface OrganizationDomainVerificationFailedResponse {
3812
3507
  reason: string;
3813
3508
  organization_domain: OrganizationDomainResponse;
3814
3509
  }
3815
- //#endregion
3816
- //#region src/api-keys/interfaces/api-key.interface.d.ts
3817
3510
  /** The API Key object if the value is valid, or `null` if invalid. */
3818
3511
  interface ApiKey {
3819
3512
  /** Distinguishes the API Key object. */
@@ -3862,8 +3555,6 @@ interface SerializedApiKey {
3862
3555
  created_at: string;
3863
3556
  updated_at: string;
3864
3557
  }
3865
- //#endregion
3866
- //#region src/api-keys/interfaces/api-key-event.interface.d.ts
3867
3558
  interface ApiKeyPreviousAttributes {
3868
3559
  expiresAt: Date | null;
3869
3560
  }
@@ -3876,8 +3567,6 @@ interface ApiKeyUpdatedEventData extends ApiKey {
3876
3567
  interface SerializedApiKeyUpdatedEventData extends SerializedApiKey {
3877
3568
  previous_attributes: SerializedApiKeyPreviousAttributes;
3878
3569
  }
3879
- //#endregion
3880
- //#region src/api-keys/interfaces/create-organization-api-key-options.interface.d.ts
3881
3570
  interface CreateOrganizationApiKeyOptions {
3882
3571
  organizationId: string;
3883
3572
  name: string;
@@ -3890,8 +3579,6 @@ interface SerializedCreateOrganizationApiKeyOptions {
3890
3579
  expires_at?: string;
3891
3580
  }
3892
3581
  interface CreateOrganizationApiKeyRequestOptions extends Pick<PostOptions, 'idempotencyKey'> {}
3893
- //#endregion
3894
- //#region src/api-keys/interfaces/created-api-key.interface.d.ts
3895
3582
  interface CreatedApiKey {
3896
3583
  object: 'api_key';
3897
3584
  id: string;
@@ -3924,13 +3611,9 @@ interface SerializedCreatedApiKey {
3924
3611
  created_at: string;
3925
3612
  updated_at: string;
3926
3613
  }
3927
- //#endregion
3928
- //#region src/api-keys/interfaces/list-organization-api-keys-options.interface.d.ts
3929
3614
  interface ListOrganizationApiKeysOptions extends PaginationOptions {
3930
3615
  organizationId: string;
3931
3616
  }
3932
- //#endregion
3933
- //#region src/api-keys/interfaces/validate-api-key.interface.d.ts
3934
3617
  interface ValidateApiKeyOptions {
3935
3618
  value: string;
3936
3619
  }
@@ -3946,8 +3629,6 @@ interface SerializedValidateApiKeyResponse {
3946
3629
  api_key: SerializedApiKey | null;
3947
3630
  agent_registration_id?: string;
3948
3631
  }
3949
- //#endregion
3950
- //#region src/actions/interfaces/action-event.interface.d.ts
3951
3632
  interface ActionDeniedEventDataBase {
3952
3633
  actionEndpointId: string;
3953
3634
  actionExecutionId: string;
@@ -3980,8 +3661,6 @@ interface ActionUserRegistrationDeniedEventData extends ActionDeniedEventDataBas
3980
3661
  interface ActionUserRegistrationDeniedEventResponseData extends ActionDeniedEventResponseDataBase {
3981
3662
  type: 'user_registration';
3982
3663
  }
3983
- //#endregion
3984
- //#region src/radar/interfaces/radar-event.interface.d.ts
3985
3664
  interface RadarChallengeCreatedEventData {
3986
3665
  type: 'email';
3987
3666
  radarChallengeId: string;
@@ -3994,8 +3673,6 @@ interface RadarChallengeCreatedEventResponseData {
3994
3673
  user_id: string;
3995
3674
  email: string;
3996
3675
  }
3997
- //#endregion
3998
- //#region src/common/interfaces/resource-export-event.interface.d.ts
3999
3676
  type ResourceExportResourceType = 'users' | 'organizations' | 'events' | 'sessions' | 'auditLogEvents' | 'connections' | 'directoryUsers' | 'scimLogs';
4000
3677
  interface ResourceExportEventData {
4001
3678
  id: string;
@@ -4005,14 +3682,10 @@ interface ResourceExportEventResponseData {
4005
3682
  id: string;
4006
3683
  resource_type: ResourceExportResourceType;
4007
3684
  }
4008
- //#endregion
4009
- //#region src/feature-flags/interfaces/add-flag-target-options.interface.d.ts
4010
3685
  interface AddFlagTargetOptions {
4011
3686
  slug: string;
4012
3687
  targetId: string;
4013
3688
  }
4014
- //#endregion
4015
- //#region src/feature-flags/interfaces/create-flag-rule-options.interface.d.ts
4016
3689
  interface CreateFlagRuleOptions {
4017
3690
  /** The feature flag's slug. */
4018
3691
  flagSlug: string;
@@ -4020,15 +3693,11 @@ interface CreateFlagRuleOptions {
4020
3693
  targetType: string;
4021
3694
  value: boolean;
4022
3695
  }
4023
- //#endregion
4024
- //#region src/feature-flags/interfaces/create-flag-target-options.interface.d.ts
4025
3696
  interface CreateFlagTargetOptions {
4026
3697
  /** The rule determines the flag, target type, and value. */
4027
3698
  ruleId: string;
4028
3699
  targetId: string;
4029
3700
  }
4030
- //#endregion
4031
- //#region src/feature-flags/interfaces/flag-rule.interface.d.ts
4032
3701
  interface FlagRule {
4033
3702
  object: 'flag_rule';
4034
3703
  id: string;
@@ -4057,8 +3726,6 @@ interface FlagRuleResponse {
4057
3726
  created_at: string;
4058
3727
  updated_at: string;
4059
3728
  }
4060
- //#endregion
4061
- //#region src/feature-flags/interfaces/flag-target.interface.d.ts
4062
3729
  /** A target's membership in a flag rule. */
4063
3730
  interface FlagTarget {
4064
3731
  object: 'flag_target';
@@ -4095,8 +3762,6 @@ interface LegacyFlagTargetResponse extends Omit<FlagTargetResponse, 'rule_id'> {
4095
3762
  }
4096
3763
  type FlagTargetResource = FlagTarget | LegacyFlagTarget;
4097
3764
  type FlagTargetResourceResponse = FlagTargetResponse | LegacyFlagTargetResponse;
4098
- //#endregion
4099
- //#region src/feature-flags/interfaces/create-rule-with-targets-options.interface.d.ts
4100
3765
  interface CreateRuleWithTargetsOptions extends CreateFlagRuleOptions {
4101
3766
  targetIds: string[];
4102
3767
  }
@@ -4104,8 +3769,6 @@ interface CreateRuleWithTargetsResult {
4104
3769
  rule: FlagRule;
4105
3770
  targets: FlagTarget[];
4106
3771
  }
4107
- //#endregion
4108
- //#region src/feature-flags/interfaces/evaluation-context.interface.d.ts
4109
3772
  /**
4110
3773
  * A single resource in a typed evaluation context. V1 carries only the exact
4111
3774
  * resource ID; attribute matching is a future capability layered onto this
@@ -4138,8 +3801,6 @@ type TypedEvaluationContext = Record<string, EvaluationResource>;
4138
3801
  * so the flag falls back to its default value.
4139
3802
  */
4140
3803
  type EvaluationContext = LegacyEvaluationContext | TypedEvaluationContext;
4141
- //#endregion
4142
- //#region src/feature-flags/interfaces/feature-flag.interface.d.ts
4143
3804
  interface FeatureFlag {
4144
3805
  /** Distinguishes the Feature Flag object. */
4145
3806
  object: 'feature_flag';
@@ -4174,8 +3835,6 @@ interface FeatureFlagResponse {
4174
3835
  created_at: string;
4175
3836
  updated_at: string;
4176
3837
  }
4177
- //#endregion
4178
- //#region src/feature-flags/interfaces/flag-poll-response.interface.d.ts
4179
3838
  interface FlagPollCondition {
4180
3839
  operator: string;
4181
3840
  target_type?: string;
@@ -4199,38 +3858,26 @@ interface FlagPollResponse {
4199
3858
  version: 2;
4200
3859
  flags: Record<string, FlagPollEntry>;
4201
3860
  }
4202
- //#endregion
4203
- //#region src/feature-flags/interfaces/flag-change.interface.d.ts
4204
3861
  interface FlagChange {
4205
3862
  key: string;
4206
3863
  previous: FlagPollEntry | null;
4207
3864
  current: FlagPollEntry | null;
4208
3865
  }
4209
- //#endregion
4210
- //#region src/feature-flags/interfaces/list-flag-rules-options.interface.d.ts
4211
3866
  interface ListFlagRulesOptions extends Pick<PaginationOptions, 'limit' | 'before' | 'after'> {
4212
3867
  /** The feature flag's slug. Rules are always returned in position order. */
4213
3868
  flagSlug: string;
4214
3869
  }
4215
- //#endregion
4216
- //#region src/feature-flags/interfaces/list-flag-targets-options.interface.d.ts
4217
3870
  interface ListFlagTargetsOptions extends PaginationOptions {
4218
3871
  ruleId?: string;
4219
3872
  flagSlug?: string;
4220
3873
  targetType?: string;
4221
3874
  targetId?: string;
4222
3875
  }
4223
- //#endregion
4224
- //#region src/feature-flags/interfaces/list-feature-flags-options.interface.d.ts
4225
3876
  type ListFeatureFlagsOptions = PaginationOptions;
4226
- //#endregion
4227
- //#region src/feature-flags/interfaces/remove-flag-target-options.interface.d.ts
4228
3877
  interface RemoveFlagTargetOptions {
4229
3878
  slug: string;
4230
3879
  targetId: string;
4231
3880
  }
4232
- //#endregion
4233
- //#region src/feature-flags/interfaces/runtime-client-options.interface.d.ts
4234
3881
  interface RuntimeClientLogger {
4235
3882
  debug(...args: unknown[]): void;
4236
3883
  info(...args: unknown[]): void;
@@ -4244,8 +3891,6 @@ interface RuntimeClientOptions {
4244
3891
  requestTimeoutMs?: number;
4245
3892
  logger?: RuntimeClientLogger;
4246
3893
  }
4247
- //#endregion
4248
- //#region src/feature-flags/interfaces/runtime-client-stats.interface.d.ts
4249
3894
  interface RuntimeClientStats {
4250
3895
  pollCount: number;
4251
3896
  pollErrorCount: number;
@@ -4254,8 +3899,6 @@ interface RuntimeClientStats {
4254
3899
  cacheAge: number | null;
4255
3900
  flagCount: number;
4256
3901
  }
4257
- //#endregion
4258
- //#region src/groups/interfaces/add-group-organization-membership-options.interface.d.ts
4259
3902
  interface AddGroupOrganizationMembershipOptions {
4260
3903
  organizationId: string;
4261
3904
  groupId: string;
@@ -4264,8 +3907,13 @@ interface AddGroupOrganizationMembershipOptions {
4264
3907
  interface SerializedAddGroupOrganizationMembershipOptions {
4265
3908
  organization_membership_id: string;
4266
3909
  }
4267
- //#endregion
4268
- //#region src/groups/interfaces/create-group-options.interface.d.ts
3910
+ interface CreateGroupMembership {
3911
+ /** The ID of the Organization Membership to add to the group. */
3912
+ organizationMembershipId: string;
3913
+ }
3914
+ interface CreateGroupMembershipResponse {
3915
+ organization_membership_id: string;
3916
+ }
4269
3917
  interface CreateGroupOptions {
4270
3918
  organizationId: string;
4271
3919
  name: string;
@@ -4275,20 +3923,24 @@ interface SerializedCreateGroupOptions {
4275
3923
  name: string;
4276
3924
  description?: string | null;
4277
3925
  }
4278
- //#endregion
4279
- //#region src/groups/interfaces/delete-group-options.interface.d.ts
3926
+ interface CreateGroup {
3927
+ /** The name of the Group. */
3928
+ name: string;
3929
+ /** An optional description of the Group. */
3930
+ description?: string | null;
3931
+ }
3932
+ interface CreateGroupResponse {
3933
+ name: string;
3934
+ description?: string | null;
3935
+ }
4280
3936
  interface DeleteGroupOptions {
4281
3937
  organizationId: string;
4282
3938
  groupId: string;
4283
3939
  }
4284
- //#endregion
4285
- //#region src/groups/interfaces/get-group-options.interface.d.ts
4286
3940
  interface GetGroupOptions {
4287
3941
  organizationId: string;
4288
3942
  groupId: string;
4289
3943
  }
4290
- //#endregion
4291
- //#region src/groups/interfaces/group.interface.d.ts
4292
3944
  interface Group {
4293
3945
  /** The Group object. */
4294
3946
  object: 'group';
@@ -4314,26 +3966,18 @@ interface GroupResponse {
4314
3966
  created_at: string;
4315
3967
  updated_at: string;
4316
3968
  }
4317
- //#endregion
4318
- //#region src/groups/interfaces/list-group-organization-memberships-options.interface.d.ts
4319
3969
  interface ListGroupOrganizationMembershipsOptions extends PaginationOptions {
4320
3970
  organizationId: string;
4321
3971
  groupId: string;
4322
3972
  }
4323
- //#endregion
4324
- //#region src/groups/interfaces/list-groups-options.interface.d.ts
4325
3973
  interface ListGroupsOptions extends PaginationOptions {
4326
3974
  organizationId: string;
4327
3975
  }
4328
- //#endregion
4329
- //#region src/groups/interfaces/remove-group-organization-membership-options.interface.d.ts
4330
3976
  interface RemoveGroupOrganizationMembershipOptions {
4331
3977
  organizationId: string;
4332
3978
  groupId: string;
4333
3979
  organizationMembershipId: string;
4334
3980
  }
4335
- //#endregion
4336
- //#region src/groups/interfaces/update-group-options.interface.d.ts
4337
3981
  interface UpdateGroupOptions {
4338
3982
  organizationId: string;
4339
3983
  groupId: string;
@@ -4344,8 +3988,73 @@ interface SerializedUpdateGroupOptions {
4344
3988
  name?: string;
4345
3989
  description?: string | null;
4346
3990
  }
4347
- //#endregion
4348
- //#region src/pipes/interfaces/api-key-installation.interface.d.ts
3991
+ interface UpdateGroup {
3992
+ /** The name of the Group. */
3993
+ name?: string;
3994
+ /** An optional description of the Group. */
3995
+ description?: string | null;
3996
+ }
3997
+ interface UpdateGroupResponse {
3998
+ name?: string;
3999
+ description?: string | null;
4000
+ }
4001
+ declare const UserOrganizationMembershipBaseListDataStatus: {
4002
+ readonly Active: "active";
4003
+ readonly Inactive: "inactive";
4004
+ readonly Pending: "pending";
4005
+ };
4006
+ type UserOrganizationMembershipBaseListDataStatus = (typeof UserOrganizationMembershipBaseListDataStatus)[keyof typeof UserOrganizationMembershipBaseListDataStatus];
4007
+ interface UserOrganizationMembershipBaseListData {
4008
+ /** Distinguishes the organization membership object. */
4009
+ object: 'organization_membership';
4010
+ /** The unique ID of the organization membership. */
4011
+ id: string;
4012
+ /** The ID of the user. */
4013
+ userId: string;
4014
+ /** The ID of the organization which the user belongs to. */
4015
+ organizationId: string;
4016
+ /** The status of the organization membership. One of `active`, `inactive`, or `pending`. */
4017
+ status: UserOrganizationMembershipBaseListDataStatus;
4018
+ /** Whether this organization membership is managed by a directory sync connection. */
4019
+ directoryManaged: boolean;
4020
+ /** The name of the organization which the user belongs to. */
4021
+ organizationName?: string;
4022
+ /** An object containing IdP-sourced attributes from the linked [Directory User](https://workos.com/docs/reference/directory-sync/directory-user) or [SSO Profile](https://workos.com/docs/reference/sso/profile). Directory User attributes take precedence when both are linked. */
4023
+ customAttributes?: Record<string, any>;
4024
+ /** An ISO 8601 timestamp. */
4025
+ createdAt: Date;
4026
+ /** An ISO 8601 timestamp. */
4027
+ updatedAt: Date;
4028
+ /** The user that belongs to the organization through this membership. */
4029
+ user: User;
4030
+ }
4031
+ interface UserOrganizationMembershipBaseListDataResponse {
4032
+ object: 'organization_membership';
4033
+ id: string;
4034
+ user_id: string;
4035
+ organization_id: string;
4036
+ status: UserOrganizationMembershipBaseListDataStatus;
4037
+ directory_managed: boolean;
4038
+ organization_name?: string;
4039
+ custom_attributes?: Record<string, any>;
4040
+ created_at: string;
4041
+ updated_at: string;
4042
+ user: UserResponse;
4043
+ }
4044
+ interface AccessToken {
4045
+ object: 'access_token';
4046
+ accessToken: string;
4047
+ expiresAt: Date | null;
4048
+ scopes: string[];
4049
+ missingScopes: string[];
4050
+ }
4051
+ interface SerializedAccessToken {
4052
+ object: 'access_token';
4053
+ access_token: string;
4054
+ expires_at: string | null;
4055
+ scopes: string[];
4056
+ missing_scopes: string[];
4057
+ }
4349
4058
  interface ApiKeyInstallation {
4350
4059
  /** The API key secret to store for the tenant. */
4351
4060
  secret: string;
@@ -4359,22 +4068,16 @@ interface ApiKeyInstallationResponse {
4359
4068
  user_id: string;
4360
4069
  organization_id?: string;
4361
4070
  }
4362
- //#endregion
4363
- //#region src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request-connection-owner.interface.d.ts
4364
4071
  declare const DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner: {
4365
4072
  readonly User: "user";
4366
4073
  readonly Organization: "organization";
4367
4074
  };
4368
4075
  type DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner = (typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner)[keyof typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner];
4369
- //#endregion
4370
- //#region src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request-connection-intent.interface.d.ts
4371
4076
  declare const DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent: {
4372
4077
  readonly Add: "add";
4373
4078
  readonly Reauthorize: "reauthorize";
4374
4079
  };
4375
4080
  type DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent = (typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent)[keyof typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent];
4376
- //#endregion
4377
- //#region src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request.interface.d.ts
4378
4081
  interface DataIntegrationsGetDataIntegrationAuthorizeUrlRequest {
4379
4082
  /** A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers. */
4380
4083
  accountDisplayName?: string | null;
@@ -4409,44 +4112,76 @@ interface DataIntegrationsGetDataIntegrationAuthorizeUrlRequestResponse {
4409
4112
  connection_intent?: DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent;
4410
4113
  connected_account_id?: string;
4411
4114
  }
4412
- //#endregion
4413
- //#region src/pipes/interfaces/authorize-data-integration-options.interface.d.ts
4414
4115
  interface AuthorizeDataIntegrationOptions extends DataIntegrationsGetDataIntegrationAuthorizeUrlRequest {
4415
4116
  /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
4416
4117
  slug: string;
4417
4118
  }
4418
- //#endregion
4419
- //#region src/pipes/interfaces/connected-account-auth-method.interface.d.ts
4420
4119
  declare const ConnectedAccountAuthMethod: {
4421
4120
  readonly OAuth: "oauth";
4422
4121
  readonly ApiKey: "api_key";
4423
4122
  readonly ClientCredentials: "client_credentials";
4424
4123
  };
4425
4124
  type ConnectedAccountAuthMethod = (typeof ConnectedAccountAuthMethod)[keyof typeof ConnectedAccountAuthMethod];
4426
- //#endregion
4427
- //#region src/pipes/interfaces/connected-account-connection-role.interface.d.ts
4428
4125
  declare const ConnectedAccountConnectionRole: {
4429
4126
  readonly Compatibility: "compatibility";
4430
4127
  readonly Standard: "standard";
4431
4128
  };
4432
4129
  type ConnectedAccountConnectionRole = (typeof ConnectedAccountConnectionRole)[keyof typeof ConnectedAccountConnectionRole];
4433
- //#endregion
4434
- //#region src/pipes/interfaces/connected-account-input-state.interface.d.ts
4435
4130
  declare const ConnectedAccountInputState: {
4436
4131
  readonly Connected: "connected";
4437
4132
  readonly NeedsReauthorization: "needs_reauthorization";
4438
4133
  };
4439
4134
  type ConnectedAccountInputState = (typeof ConnectedAccountInputState)[keyof typeof ConnectedAccountInputState];
4440
- //#endregion
4441
- //#region src/pipes/interfaces/connected-account-state.interface.d.ts
4135
+ interface ConnectedAccountDto {
4136
+ /** The OAuth access token for the connected account. */
4137
+ accessToken?: string;
4138
+ /** The OAuth refresh token for the connected account. */
4139
+ refreshToken?: string;
4140
+ /** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
4141
+ expiresAt?: Date;
4142
+ /** The OAuth scopes granted for this connection. */
4143
+ scopes?: string[];
4144
+ /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
4145
+ state?: ConnectedAccountInputState;
4146
+ }
4147
+ interface ConnectedAccountDtoResponse {
4148
+ access_token?: string;
4149
+ refresh_token?: string;
4150
+ expires_at?: string;
4151
+ scopes?: string[];
4152
+ state?: ConnectedAccountInputState;
4153
+ }
4154
+ interface ConnectedAccountInput {
4155
+ /** A mutable, non-unique connection label; null clears it. Not an account identifier. */
4156
+ accountDisplayName?: string | null;
4157
+ /** A developer-attested account identifier; null clears it. */
4158
+ accountIdentifier?: string | null;
4159
+ /** The OAuth access token for the connected account. */
4160
+ accessToken?: string;
4161
+ /** The OAuth refresh token for the connected account. */
4162
+ refreshToken?: string;
4163
+ /** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
4164
+ expiresAt?: Date;
4165
+ /** The OAuth scopes granted for this connection. */
4166
+ scopes?: string[];
4167
+ /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
4168
+ state?: ConnectedAccountInputState;
4169
+ }
4170
+ interface ConnectedAccountInputResponse {
4171
+ account_display_name?: string | null;
4172
+ account_identifier?: string | null;
4173
+ access_token?: string;
4174
+ refresh_token?: string;
4175
+ expires_at?: string;
4176
+ scopes?: string[];
4177
+ state?: ConnectedAccountInputState;
4178
+ }
4442
4179
  declare const ConnectedAccountState: {
4443
4180
  readonly Connected: "connected";
4444
4181
  readonly NeedsReauthorization: "needs_reauthorization";
4445
4182
  readonly Disconnected: "disconnected";
4446
4183
  };
4447
4184
  type ConnectedAccountState = (typeof ConnectedAccountState)[keyof typeof ConnectedAccountState];
4448
- //#endregion
4449
- //#region src/pipes/interfaces/connected-account-warning.interface.d.ts
4450
4185
  interface ConnectedAccountWarning {
4451
4186
  code: 'duplicate_account_display_name';
4452
4187
  /** A human-readable explanation of the non-blocking warning. */
@@ -4456,8 +4191,6 @@ interface ConnectedAccountWarningResponse {
4456
4191
  code: 'duplicate_account_display_name';
4457
4192
  message: string;
4458
4193
  }
4459
- //#endregion
4460
- //#region src/pipes/interfaces/connected-account.interface.d.ts
4461
4194
  interface ConnectedAccount {
4462
4195
  /** Distinguishes the connected account object. */
4463
4196
  object: 'connected_account';
@@ -4529,15 +4262,44 @@ interface ConnectedAccountResponse {
4529
4262
  updated_at: string;
4530
4263
  warnings?: ConnectedAccountWarningResponse[];
4531
4264
  }
4532
- //#endregion
4533
- //#region src/pipes/interfaces/data-integrations-create-api-key-connection-request-connection-owner.interface.d.ts
4265
+ declare const CreateConnectedAccountState: {
4266
+ readonly Connected: "connected";
4267
+ readonly NeedsReauthorization: "needs_reauthorization";
4268
+ };
4269
+ type CreateConnectedAccountState = (typeof CreateConnectedAccountState)[keyof typeof CreateConnectedAccountState];
4270
+ interface CreateConnectedAccount {
4271
+ /** A mutable, non-unique connection label; null clears it. Not an account identifier. */
4272
+ accountDisplayName?: string | null;
4273
+ /** A developer-attested account identifier; null clears it. */
4274
+ accountIdentifier?: string | null;
4275
+ /** The OAuth access token for the connected account. */
4276
+ accessToken?: string;
4277
+ /** The OAuth refresh token for the connected account. */
4278
+ refreshToken?: string;
4279
+ /** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
4280
+ expiresAt?: Date;
4281
+ /** The OAuth scopes granted for this connection. */
4282
+ scopes?: string[];
4283
+ /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
4284
+ state?: CreateConnectedAccountState;
4285
+ /** Set to `add` to create another connected account. Omit this field for permanent compatibility behavior. */
4286
+ connectionIntent?: 'add';
4287
+ }
4288
+ interface CreateConnectedAccountResponse {
4289
+ account_display_name?: string | null;
4290
+ account_identifier?: string | null;
4291
+ access_token?: string;
4292
+ refresh_token?: string;
4293
+ expires_at?: string;
4294
+ scopes?: string[];
4295
+ state?: CreateConnectedAccountState;
4296
+ connection_intent?: 'add';
4297
+ }
4534
4298
  declare const DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner: {
4535
4299
  readonly User: "user";
4536
4300
  readonly Organization: "organization";
4537
4301
  };
4538
4302
  type DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner = (typeof DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner)[keyof typeof DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner];
4539
- //#endregion
4540
- //#region src/pipes/interfaces/create-data-integration-api-key-options.interface.d.ts
4541
4303
  interface CreateDataIntegrationApiKeyOptions {
4542
4304
  /** The identifier of the integration. */
4543
4305
  slug: string;
@@ -4552,23 +4314,17 @@ interface CreateDataIntegrationApiKeyOptions {
4552
4314
  /** Must be `add`: this endpoint only creates another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard. Creating an additional connection is not yet available: until it is, `add` succeeds only when the owner has no connection for this integration and otherwise returns 404 `multiple_connections_unavailable`. */
4553
4315
  connectionIntent: 'add';
4554
4316
  }
4555
- //#endregion
4556
- //#region src/pipes/interfaces/create-data-integration-auth-methods.interface.d.ts
4557
4317
  declare const CreateDataIntegrationAuthMethods: {
4558
4318
  readonly OAuth: "oauth";
4559
4319
  readonly ApiKey: "api_key";
4560
4320
  readonly ClientCredentials: "client_credentials";
4561
4321
  };
4562
4322
  type CreateDataIntegrationAuthMethods = (typeof CreateDataIntegrationAuthMethods)[keyof typeof CreateDataIntegrationAuthMethods];
4563
- //#endregion
4564
- //#region src/pipes/interfaces/data-integrations-create-client-credentials-connection-request-connection-owner.interface.d.ts
4565
4323
  declare const DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner: {
4566
4324
  readonly User: "user";
4567
4325
  readonly Organization: "organization";
4568
4326
  };
4569
4327
  type DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner = (typeof DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner)[keyof typeof DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner];
4570
- //#endregion
4571
- //#region src/pipes/interfaces/create-data-integration-client-credential-options.interface.d.ts
4572
4328
  interface CreateDataIntegrationClientCredentialOptions {
4573
4329
  /** The identifier of the integration. */
4574
4330
  slug: string;
@@ -4587,15 +4343,11 @@ interface CreateDataIntegrationClientCredentialOptions {
4587
4343
  /** Must be `add`: this endpoint only creates another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard. Creating an additional connection is not yet available: until it is, `add` succeeds only when the owner has no connection for this integration and otherwise returns 404 `multiple_connections_unavailable`. */
4588
4344
  connectionIntent: 'add';
4589
4345
  }
4590
- //#endregion
4591
- //#region src/pipes/interfaces/data-integrations-vend-credentials-request-connection-owner.interface.d.ts
4592
4346
  declare const DataIntegrationsVendCredentialsRequestConnectionOwner: {
4593
4347
  readonly User: "user";
4594
4348
  readonly Organization: "organization";
4595
4349
  };
4596
4350
  type DataIntegrationsVendCredentialsRequestConnectionOwner = (typeof DataIntegrationsVendCredentialsRequestConnectionOwner)[keyof typeof DataIntegrationsVendCredentialsRequestConnectionOwner];
4597
- //#endregion
4598
- //#region src/pipes/interfaces/data-integrations-vend-credentials-request.interface.d.ts
4599
4351
  interface DataIntegrationsVendCredentialsRequest {
4600
4352
  /** A [User](https://workos.com/docs/reference/authkit/user) identifier. When `connection_owner` is `organization`, this is the user the credentials are vended on behalf of; they must be an active member of the organization. */
4601
4353
  userId: string;
@@ -4615,21 +4367,15 @@ interface DataIntegrationsVendCredentialsRequestResponse {
4615
4367
  connection_owner?: DataIntegrationsVendCredentialsRequestConnectionOwner;
4616
4368
  supports_multiple_connections?: boolean;
4617
4369
  }
4618
- //#endregion
4619
- //#region src/pipes/interfaces/create-data-integration-credential-options.interface.d.ts
4620
4370
  interface CreateDataIntegrationCredentialOptions extends DataIntegrationsVendCredentialsRequest {
4621
4371
  /** The identifier of the integration. */
4622
4372
  slug: string;
4623
4373
  }
4624
- //#endregion
4625
- //#region src/pipes/interfaces/data-integration-credentials-input-type.interface.d.ts
4626
4374
  declare const DataIntegrationCredentialsInputType: {
4627
4375
  readonly Custom: "custom";
4628
4376
  readonly Organization: "organization";
4629
4377
  };
4630
4378
  type DataIntegrationCredentialsInputType = (typeof DataIntegrationCredentialsInputType)[keyof typeof DataIntegrationCredentialsInputType];
4631
- //#endregion
4632
- //#region src/pipes/interfaces/data-integration-credentials-input.interface.d.ts
4633
4379
  interface DataIntegrationCredentialsInput {
4634
4380
  /** The credentials type. `custom` uses your own OAuth app credentials; `organization` has each organization supply its own credentials (configured per-organization). */
4635
4381
  type: DataIntegrationCredentialsInputType;
@@ -4643,15 +4389,11 @@ interface DataIntegrationCredentialsInputResponse {
4643
4389
  client_id?: string;
4644
4390
  client_secret?: string;
4645
4391
  }
4646
- //#endregion
4647
- //#region src/pipes/interfaces/custom-provider-definition-authenticate-via.interface.d.ts
4648
4392
  declare const CustomProviderDefinitionAuthenticateVia: {
4649
4393
  readonly RequestBody: "request_body";
4650
4394
  readonly BasicAuthHeader: "basic_auth_header";
4651
4395
  };
4652
4396
  type CustomProviderDefinitionAuthenticateVia = (typeof CustomProviderDefinitionAuthenticateVia)[keyof typeof CustomProviderDefinitionAuthenticateVia];
4653
- //#endregion
4654
- //#region src/pipes/interfaces/custom-provider-definition.interface.d.ts
4655
4397
  interface CustomProviderDefinition {
4656
4398
  /** A descriptive name for the custom provider. */
4657
4399
  name: string;
@@ -4689,15 +4431,11 @@ interface CustomProviderDefinitionResponse {
4689
4431
  token_body_content_type?: string;
4690
4432
  authenticate_via?: CustomProviderDefinitionAuthenticateVia;
4691
4433
  }
4692
- //#endregion
4693
- //#region src/pipes/interfaces/create-data-integration-ownership.interface.d.ts
4694
4434
  declare const CreateDataIntegrationOwnership: {
4695
4435
  readonly User: "user";
4696
4436
  readonly Organization: "organization";
4697
4437
  };
4698
4438
  type CreateDataIntegrationOwnership = (typeof CreateDataIntegrationOwnership)[keyof typeof CreateDataIntegrationOwnership];
4699
- //#endregion
4700
- //#region src/pipes/interfaces/create-data-integration.interface.d.ts
4701
4439
  interface CreateDataIntegration {
4702
4440
  /** The provider to create a Data Integration for. For a built-in provider use its slug (e.g. `github`, `slack`). For a custom provider, this is the new provider slug and `custom_provider` must be supplied. A custom provider slug cannot shadow an existing global provider slug. */
4703
4441
  provider: string;
@@ -4732,20 +4470,22 @@ interface CreateDataIntegrationResponse {
4732
4470
  api_key?: ApiKeyInstallationResponse;
4733
4471
  custom_provider?: CustomProviderDefinitionResponse;
4734
4472
  }
4735
- //#endregion
4736
- //#region src/pipes/interfaces/create-data-integration-options.interface.d.ts
4737
4473
  interface CreateDataIntegrationOptions extends CreateDataIntegration {
4738
4474
  provider: string;
4739
4475
  }
4740
- //#endregion
4741
- //#region src/pipes/interfaces/organization-connected-account-state.interface.d.ts
4476
+ interface CreateDataIntegrationTokenOptions {
4477
+ /** The identifier of the integration. */
4478
+ slug: string;
4479
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
4480
+ userId: string;
4481
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
4482
+ organizationId?: string;
4483
+ }
4742
4484
  declare const OrganizationConnectedAccountState: {
4743
4485
  readonly Connected: "connected";
4744
4486
  readonly NeedsReauthorization: "needs_reauthorization";
4745
4487
  };
4746
4488
  type OrganizationConnectedAccountState = (typeof OrganizationConnectedAccountState)[keyof typeof OrganizationConnectedAccountState];
4747
- //#endregion
4748
- //#region src/pipes/interfaces/create-organization-connected-account-options.interface.d.ts
4749
4489
  interface CreateOrganizationConnectedAccountOptions {
4750
4490
  /** An [Organization](https://workos.com/docs/reference/organization) identifier. */
4751
4491
  organizationId: string;
@@ -4766,8 +4506,42 @@ interface CreateOrganizationConnectedAccountOptions {
4766
4506
  /** Explicitly create a connection. Omit for compatibility behavior. Until additional connections are available, `add` returns 404 `multiple_connections_unavailable` if the owner already has a connection. */
4767
4507
  connectionIntent?: 'add';
4768
4508
  }
4769
- //#endregion
4770
- //#region src/pipes/interfaces/create-user-connected-account-options.interface.d.ts
4509
+ declare const CreateOrganizationConnectedAccountState: {
4510
+ readonly Connected: "connected";
4511
+ readonly NeedsReauthorization: "needs_reauthorization";
4512
+ };
4513
+ type CreateOrganizationConnectedAccountState = (typeof CreateOrganizationConnectedAccountState)[keyof typeof CreateOrganizationConnectedAccountState];
4514
+ interface CreateOrganizationConnectedAccount {
4515
+ /** A mutable, non-unique connection label; null clears it. Not an account identifier. */
4516
+ accountDisplayName?: string | null;
4517
+ /** A developer-attested account identifier; null clears it. */
4518
+ accountIdentifier?: string | null;
4519
+ /** The OAuth access token for the connected account. */
4520
+ accessToken?: string;
4521
+ /** The OAuth refresh token for the connected account. */
4522
+ refreshToken?: string;
4523
+ /** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
4524
+ expiresAt?: Date;
4525
+ /** The OAuth scopes granted for this connection. */
4526
+ scopes?: string[];
4527
+ /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
4528
+ state?: CreateOrganizationConnectedAccountState;
4529
+ /** The [User](https://workos.com/docs/reference/authkit/user) identifier of the organization member on whose behalf the connected account is being imported or updated. The user must be an active member of the organization. */
4530
+ userId: string;
4531
+ /** Set to `add` to create another connected account. Omit this field for permanent compatibility behavior. */
4532
+ connectionIntent?: 'add';
4533
+ }
4534
+ interface CreateOrganizationConnectedAccountResponse {
4535
+ account_display_name?: string | null;
4536
+ account_identifier?: string | null;
4537
+ access_token?: string;
4538
+ refresh_token?: string;
4539
+ expires_at?: string;
4540
+ scopes?: string[];
4541
+ state?: CreateOrganizationConnectedAccountState;
4542
+ user_id: string;
4543
+ connection_intent?: 'add';
4544
+ }
4771
4545
  interface CreateUserConnectedAccountOptions {
4772
4546
  /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
4773
4547
  userId: string;
@@ -4788,8 +4562,6 @@ interface CreateUserConnectedAccountOptions {
4788
4562
  /** Explicitly create a connection. Omit for compatibility behavior. Until additional connections are available, `add` returns 404 `multiple_connections_unavailable` if the owner already has a connection. */
4789
4563
  connectionIntent?: 'add';
4790
4564
  }
4791
- //#endregion
4792
- //#region src/pipes/interfaces/data-integration-access-token-response-access-token.interface.d.ts
4793
4565
  /** The [access token](https://workos.com/docs/reference/pipes/access-token) object, present when `active` is `true`. */
4794
4566
  interface DataIntegrationAccessTokenResponseAccessToken {
4795
4567
  /** Distinguishes the access token object. */
@@ -4810,8 +4582,11 @@ interface DataIntegrationAccessTokenResponseAccessTokenResponse {
4810
4582
  scopes: string[];
4811
4583
  missing_scopes: string[];
4812
4584
  }
4813
- //#endregion
4814
- //#region src/pipes/interfaces/data-integration-access-token-response.interface.d.ts
4585
+ declare const DataIntegrationAccessTokenResponseError: {
4586
+ readonly NotInstalled: "not_installed";
4587
+ readonly NeedsReauthorization: "needs_reauthorization";
4588
+ };
4589
+ type DataIntegrationAccessTokenResponseError = (typeof DataIntegrationAccessTokenResponseError)[keyof typeof DataIntegrationAccessTokenResponseError];
4815
4590
  type DataIntegrationAccessTokenResponse = {
4816
4591
  active: true;
4817
4592
  accessToken: DataIntegrationAccessTokenResponseAccessToken;
@@ -4826,16 +4601,12 @@ type DataIntegrationAccessTokenResponseWire = {
4826
4601
  active: false;
4827
4602
  error: 'needs_reauthorization' | 'not_installed';
4828
4603
  };
4829
- //#endregion
4830
- //#region src/pipes/interfaces/data-integration-auth-methods.interface.d.ts
4831
4604
  declare const DataIntegrationAuthMethods: {
4832
4605
  readonly OAuth: "oauth";
4833
4606
  readonly ApiKey: "api_key";
4834
4607
  readonly ClientCredentials: "client_credentials";
4835
4608
  };
4836
4609
  type DataIntegrationAuthMethods = (typeof DataIntegrationAuthMethods)[keyof typeof DataIntegrationAuthMethods];
4837
- //#endregion
4838
- //#region src/pipes/interfaces/data-integration-authorize-url-response.interface.d.ts
4839
4610
  interface DataIntegrationAuthorizeUrlResponse {
4840
4611
  /** The OAuth authorization URL to redirect the user to. */
4841
4612
  url: string;
@@ -4849,15 +4620,11 @@ interface DataIntegrationAuthorizeUrlResponseWire {
4849
4620
  state?: string;
4850
4621
  completion?: 'finish_required';
4851
4622
  }
4852
- //#endregion
4853
- //#region src/pipes/interfaces/data-integration-credential-type.interface.d.ts
4854
4623
  declare const DataIntegrationCredentialType: {
4855
4624
  readonly Custom: "custom";
4856
4625
  readonly Organization: "organization";
4857
4626
  };
4858
4627
  type DataIntegrationCredentialType = (typeof DataIntegrationCredentialType)[keyof typeof DataIntegrationCredentialType];
4859
- //#endregion
4860
- //#region src/pipes/interfaces/data-integration-credential.interface.d.ts
4861
4628
  /** The integration-level OAuth app credentials. `null` for `api_key` and `client_credentials` integrations, which hold no integration-level credentials (secrets are installed per-tenant). */
4862
4629
  interface DataIntegrationCredential {
4863
4630
  /** The credentials type. `custom` uses your own OAuth app credentials; `organization` has each organization supply its own credentials (so `client_id`/`redacted_client_secret` are null on the integration itself). */
@@ -4872,8 +4639,24 @@ interface DataIntegrationCredentialResponse {
4872
4639
  client_id: string | null;
4873
4640
  redacted_client_secret: string | null;
4874
4641
  }
4875
- //#endregion
4876
- //#region src/pipes/interfaces/data-integration-vended-credential.interface.d.ts
4642
+ declare const DataIntegrationCredentialsType: {
4643
+ readonly Custom: "custom";
4644
+ readonly Organization: "organization";
4645
+ };
4646
+ type DataIntegrationCredentialsType = (typeof DataIntegrationCredentialsType)[keyof typeof DataIntegrationCredentialsType];
4647
+ interface DataIntegrationCredentialsDto {
4648
+ /** The credentials type. `custom` uses your own OAuth app credentials; `organization` has each organization supply its own credentials (configured per-organization). */
4649
+ type: DataIntegrationCredentialsType;
4650
+ /** OAuth client ID for the provider app. Required when `type` is `custom`; omit for `organization`. */
4651
+ clientId?: string;
4652
+ /** OAuth client secret for the provider app. Required when `type` is `custom`; omit for `organization`. */
4653
+ clientSecret?: string;
4654
+ }
4655
+ interface DataIntegrationCredentialsDtoResponse {
4656
+ type: DataIntegrationCredentialsType;
4657
+ client_id?: string;
4658
+ client_secret?: string;
4659
+ }
4877
4660
  /**
4878
4661
  * A vended credential, discriminated by its authentication method.
4879
4662
  * `config` contains provider-declared, non-secret snapshot values with live
@@ -4936,15 +4719,11 @@ type DataIntegrationVendedCredentialResponse = {
4936
4719
  missing_scopes: string[];
4937
4720
  metadata: Record<string, unknown>;
4938
4721
  };
4939
- //#endregion
4940
- //#region src/pipes/interfaces/data-integration-credentials-response-error.interface.d.ts
4941
4722
  declare const DataIntegrationCredentialsResponseError: {
4942
4723
  readonly NotInstalled: "not_installed";
4943
4724
  readonly NeedsReauthorization: "needs_reauthorization";
4944
4725
  };
4945
4726
  type DataIntegrationCredentialsResponseError = (typeof DataIntegrationCredentialsResponseError)[keyof typeof DataIntegrationCredentialsResponseError];
4946
- //#endregion
4947
- //#region src/pipes/interfaces/data-integration-credentials-response.interface.d.ts
4948
4727
  type DataIntegrationCredentialsResponse = {
4949
4728
  active: true;
4950
4729
  credential: DataIntegrationVendedCredential;
@@ -4963,15 +4742,11 @@ type DataIntegrationCredentialsResponseWire = {
4963
4742
  error: DataIntegrationCredentialsResponseError;
4964
4743
  credential?: undefined;
4965
4744
  };
4966
- //#endregion
4967
- //#region src/pipes/interfaces/data-integration-custom-provider-authenticate-via.interface.d.ts
4968
4745
  declare const DataIntegrationCustomProviderAuthenticateVia: {
4969
4746
  readonly RequestBody: "request_body";
4970
4747
  readonly BasicAuthHeader: "basic_auth_header";
4971
4748
  };
4972
4749
  type DataIntegrationCustomProviderAuthenticateVia = (typeof DataIntegrationCustomProviderAuthenticateVia)[keyof typeof DataIntegrationCustomProviderAuthenticateVia];
4973
- //#endregion
4974
- //#region src/pipes/interfaces/data-integration-custom-provider.interface.d.ts
4975
4750
  /** The OAuth definition when this is a custom provider; `null` for built-in providers. */
4976
4751
  interface DataIntegrationCustomProvider {
4977
4752
  /** A descriptive name for the custom provider. */
@@ -5010,8 +4785,6 @@ interface DataIntegrationCustomProviderResponse {
5010
4785
  token_body_content_type: string;
5011
4786
  authenticate_via: DataIntegrationCustomProviderAuthenticateVia;
5012
4787
  }
5013
- //#endregion
5014
- //#region src/pipes/interfaces/data-integration-finish-connection-response.interface.d.ts
5015
4788
  interface DataIntegrationFinishConnectionResponse {
5016
4789
  /** The connected account that was saved. */
5017
4790
  connectedAccount: ConnectedAccount;
@@ -5019,15 +4792,11 @@ interface DataIntegrationFinishConnectionResponse {
5019
4792
  interface DataIntegrationFinishConnectionResponseWire {
5020
4793
  connected_account: ConnectedAccountResponse;
5021
4794
  }
5022
- //#endregion
5023
- //#region src/pipes/interfaces/data-integration-installation-connection-role.interface.d.ts
5024
4795
  declare const DataIntegrationInstallationConnectionRole: {
5025
4796
  readonly Compatibility: "compatibility";
5026
4797
  readonly Standard: "standard";
5027
4798
  };
5028
4799
  type DataIntegrationInstallationConnectionRole = (typeof DataIntegrationInstallationConnectionRole)[keyof typeof DataIntegrationInstallationConnectionRole];
5029
- //#endregion
5030
- //#region src/pipes/interfaces/data-integration-installation.interface.d.ts
5031
4800
  /** The tenant installation created when an API key was supplied at creation time; `null` otherwise. Not populated on list/get responses. */
5032
4801
  interface DataIntegrationInstallation {
5033
4802
  /** Unique identifier of the installation. */
@@ -5054,23 +4823,17 @@ interface DataIntegrationInstallationResponse {
5054
4823
  organization_id: string | null;
5055
4824
  api_key_last_4: string | null;
5056
4825
  }
5057
- //#endregion
5058
- //#region src/pipes/interfaces/data-integration-ownership.interface.d.ts
5059
4826
  declare const DataIntegrationOwnership: {
5060
4827
  readonly User: "user";
5061
4828
  readonly Organization: "organization";
5062
4829
  };
5063
4830
  type DataIntegrationOwnership = (typeof DataIntegrationOwnership)[keyof typeof DataIntegrationOwnership];
5064
- //#endregion
5065
- //#region src/pipes/interfaces/data-integration-state.interface.d.ts
5066
4831
  declare const DataIntegrationState: {
5067
4832
  readonly Valid: "valid";
5068
4833
  readonly Invalid: "invalid";
5069
4834
  readonly Requested: "requested";
5070
4835
  };
5071
4836
  type DataIntegrationState = (typeof DataIntegrationState)[keyof typeof DataIntegrationState];
5072
- //#endregion
5073
- //#region src/pipes/interfaces/data-integration.interface.d.ts
5074
4837
  interface DataIntegration {
5075
4838
  /** Distinguishes the Data Integration object. */
5076
4839
  object: 'data_integration';
@@ -5126,15 +4889,80 @@ interface DataIntegrationResponse {
5126
4889
  created_at: string;
5127
4890
  updated_at: string;
5128
4891
  }
5129
- //#endregion
5130
- //#region src/pipes/interfaces/data-integrations-get-user-token-request-connection-owner.interface.d.ts
4892
+ interface DataIntegrationsCreateApiKeyConnectionRequest {
4893
+ /** A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers. */
4894
+ accountDisplayName?: string | null;
4895
+ /** A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it. */
4896
+ accountIdentifier?: string | null;
4897
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
4898
+ userId: string;
4899
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`. */
4900
+ organizationId?: string;
4901
+ /** Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization. */
4902
+ connectionOwner?: DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner;
4903
+ /** The API key secret to store for this integration. */
4904
+ secret: string;
4905
+ /** Must be `add`: this endpoint only creates another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard. */
4906
+ connectionIntent: 'add';
4907
+ }
4908
+ interface DataIntegrationsCreateApiKeyConnectionRequestResponse {
4909
+ account_display_name?: string | null;
4910
+ account_identifier?: string | null;
4911
+ user_id: string;
4912
+ organization_id?: string;
4913
+ connection_owner?: DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner;
4914
+ secret: string;
4915
+ connection_intent: 'add';
4916
+ }
4917
+ interface DataIntegrationsCreateClientCredentialsConnectionRequest {
4918
+ /** A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers. */
4919
+ accountDisplayName?: string | null;
4920
+ /** A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it. */
4921
+ accountIdentifier?: string | null;
4922
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
4923
+ userId: string;
4924
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`. */
4925
+ organizationId?: string;
4926
+ /** Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization. */
4927
+ connectionOwner?: DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner;
4928
+ /** The OAuth client ID to store for this integration. */
4929
+ clientId: string;
4930
+ /** The OAuth client secret to store for this integration. */
4931
+ clientSecret: string;
4932
+ /** Provider-specific configuration values collected for this installation, keyed by the provider's config field descriptors. */
4933
+ config?: Record<string, string>;
4934
+ /** Must be `add`: this endpoint only creates another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard. */
4935
+ connectionIntent: 'add';
4936
+ }
4937
+ interface DataIntegrationsCreateClientCredentialsConnectionRequestResponse {
4938
+ account_display_name?: string | null;
4939
+ account_identifier?: string | null;
4940
+ user_id: string;
4941
+ organization_id?: string;
4942
+ connection_owner?: DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner;
4943
+ client_id: string;
4944
+ client_secret: string;
4945
+ config?: Record<string, string>;
4946
+ connection_intent: 'add';
4947
+ }
4948
+ interface DataIntegrationsFinishConnectionRequest {
4949
+ /** The `connect_code` WorkOS added to `return_to` when the user finished authorizing. It can be used once and expires 90 seconds after the redirect. */
4950
+ connectCode: string;
4951
+ /** The code verifier `code_challenge` was derived from: 43 to 128 characters from `A-Z`, `a-z`, `0-9`, `-`, `.`, `_` and `~`. A wrong verifier uses up the `connect_code`, and the user has to connect again. */
4952
+ codeVerifier: string;
4953
+ /** The `state` WorkOS added to `return_to` alongside `connect_code`. Optional; it is only used to correlate the request in logs. */
4954
+ state?: string;
4955
+ }
4956
+ interface DataIntegrationsFinishConnectionRequestResponse {
4957
+ connect_code: string;
4958
+ code_verifier: string;
4959
+ state?: string;
4960
+ }
5131
4961
  declare const DataIntegrationsGetUserTokenRequestConnectionOwner: {
5132
4962
  readonly User: "user";
5133
4963
  readonly Organization: "organization";
5134
4964
  };
5135
4965
  type DataIntegrationsGetUserTokenRequestConnectionOwner = (typeof DataIntegrationsGetUserTokenRequestConnectionOwner)[keyof typeof DataIntegrationsGetUserTokenRequestConnectionOwner];
5136
- //#endregion
5137
- //#region src/pipes/interfaces/data-integrations-get-user-token-request.interface.d.ts
5138
4966
  interface DataIntegrationsGetUserTokenRequest {
5139
4967
  /** A [User](https://workos.com/docs/reference/authkit/user) identifier. When `connection_owner` is `organization`, this is the user the credentials are vended on behalf of; they must be an active member of the organization. */
5140
4968
  userId: string;
@@ -5154,43 +4982,31 @@ interface DataIntegrationsGetUserTokenRequestResponse {
5154
4982
  connection_owner?: DataIntegrationsGetUserTokenRequestConnectionOwner;
5155
4983
  supports_multiple_connections?: boolean;
5156
4984
  }
5157
- //#endregion
5158
- //#region src/pipes/interfaces/data-integrations-list-response-data-auth-methods.interface.d.ts
5159
4985
  declare const DataIntegrationsListResponseDataAuthMethods: {
5160
4986
  readonly OAuth: "oauth";
5161
4987
  readonly ApiKey: "api_key";
5162
4988
  readonly ClientCredentials: "client_credentials";
5163
4989
  };
5164
4990
  type DataIntegrationsListResponseDataAuthMethods = (typeof DataIntegrationsListResponseDataAuthMethods)[keyof typeof DataIntegrationsListResponseDataAuthMethods];
5165
- //#endregion
5166
- //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-auth-method.interface.d.ts
5167
4991
  declare const DataIntegrationsListResponseDataConnectedAccountAuthMethod: {
5168
4992
  readonly OAuth: "oauth";
5169
4993
  readonly ApiKey: "api_key";
5170
4994
  readonly ClientCredentials: "client_credentials";
5171
4995
  };
5172
4996
  type DataIntegrationsListResponseDataConnectedAccountAuthMethod = (typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod)[keyof typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod];
5173
- //#endregion
5174
- //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-connection-role.interface.d.ts
5175
4997
  declare const DataIntegrationsListResponseDataConnectedAccountConnectionRole: {
5176
4998
  readonly Compatibility: "compatibility";
5177
4999
  readonly Standard: "standard";
5178
5000
  };
5179
5001
  type DataIntegrationsListResponseDataConnectedAccountConnectionRole = (typeof DataIntegrationsListResponseDataConnectedAccountConnectionRole)[keyof typeof DataIntegrationsListResponseDataConnectedAccountConnectionRole];
5180
- //#endregion
5181
- //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-state.interface.d.ts
5182
5002
  declare const DataIntegrationsListResponseDataConnectedAccountState: {
5183
5003
  readonly Connected: "connected";
5184
5004
  readonly NeedsReauthorization: "needs_reauthorization";
5185
5005
  readonly Disconnected: "disconnected";
5186
5006
  };
5187
5007
  type DataIntegrationsListResponseDataConnectedAccountState = (typeof DataIntegrationsListResponseDataConnectedAccountState)[keyof typeof DataIntegrationsListResponseDataConnectedAccountState];
5188
- //#endregion
5189
- //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-warning.interface.d.ts
5190
5008
  type DataIntegrationsListResponseDataConnectedAccountWarning = ConnectedAccountWarning;
5191
5009
  type DataIntegrationsListResponseDataConnectedAccountWarningResponse = ConnectedAccountWarningResponse;
5192
- //#endregion
5193
- //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account.interface.d.ts
5194
5010
  /** The user's compatibility [connected account](https://workos.com/docs/reference/pipes/connected-account) for this provider, or `null` when the compatibility slot is empty. This legacy field never selects a standard connection. */
5195
5011
  interface DataIntegrationsListResponseDataConnectedAccount {
5196
5012
  /** Distinguishes the connected account object. */
@@ -5269,22 +5085,16 @@ interface DataIntegrationsListResponseDataConnectedAccountResponse {
5269
5085
  warnings?: DataIntegrationsListResponseDataConnectedAccountWarningResponse[];
5270
5086
  userland_user_id: string | null;
5271
5087
  }
5272
- //#endregion
5273
- //#region src/pipes/interfaces/data-integrations-list-response-data-connection-owner.interface.d.ts
5274
5088
  declare const DataIntegrationsListResponseDataConnectionOwner: {
5275
5089
  readonly User: "user";
5276
5090
  readonly Organization: "organization";
5277
5091
  };
5278
5092
  type DataIntegrationsListResponseDataConnectionOwner = (typeof DataIntegrationsListResponseDataConnectionOwner)[keyof typeof DataIntegrationsListResponseDataConnectionOwner];
5279
- //#endregion
5280
- //#region src/pipes/interfaces/data-integrations-list-response-data-ownership.interface.d.ts
5281
5093
  declare const DataIntegrationsListResponseDataOwnership: {
5282
5094
  readonly UserlandUser: "userland_user";
5283
5095
  readonly Organization: "organization";
5284
5096
  };
5285
5097
  type DataIntegrationsListResponseDataOwnership = (typeof DataIntegrationsListResponseDataOwnership)[keyof typeof DataIntegrationsListResponseDataOwnership];
5286
- //#endregion
5287
- //#region src/pipes/interfaces/data-integrations-list-response-data.interface.d.ts
5288
5098
  interface DataIntegrationsListResponseData {
5289
5099
  /** Distinguishes the data provider object. */
5290
5100
  object: 'data_provider';
@@ -5337,8 +5147,6 @@ interface DataIntegrationsListResponseDataResponse {
5337
5147
  connected_account: DataIntegrationsListResponseDataConnectedAccountResponse | null;
5338
5148
  connected_accounts?: DataIntegrationsListResponseDataConnectedAccountResponse[];
5339
5149
  }
5340
- //#endregion
5341
- //#region src/pipes/interfaces/data-integrations-list-response.interface.d.ts
5342
5150
  interface DataIntegrationsListResponse {
5343
5151
  /** Indicates this is a list response. */
5344
5152
  object: 'list';
@@ -5349,15 +5157,11 @@ interface DataIntegrationsListResponseWire {
5349
5157
  object: 'list';
5350
5158
  data: DataIntegrationsListResponseDataResponse[];
5351
5159
  }
5352
- //#endregion
5353
- //#region src/pipes/interfaces/data-integrations-upsert-api-key-request-connection-owner.interface.d.ts
5354
5160
  declare const DataIntegrationsUpsertApiKeyRequestConnectionOwner: {
5355
5161
  readonly User: "user";
5356
5162
  readonly Organization: "organization";
5357
5163
  };
5358
5164
  type DataIntegrationsUpsertApiKeyRequestConnectionOwner = (typeof DataIntegrationsUpsertApiKeyRequestConnectionOwner)[keyof typeof DataIntegrationsUpsertApiKeyRequestConnectionOwner];
5359
- //#endregion
5360
- //#region src/pipes/interfaces/data-integrations-upsert-api-key-request.interface.d.ts
5361
5165
  interface DataIntegrationsUpsertApiKeyRequest {
5362
5166
  /** A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers. */
5363
5167
  accountDisplayName?: string | null;
@@ -5386,15 +5190,11 @@ interface DataIntegrationsUpsertApiKeyRequestResponse {
5386
5190
  connection_owner?: DataIntegrationsUpsertApiKeyRequestConnectionOwner;
5387
5191
  secret: string;
5388
5192
  }
5389
- //#endregion
5390
- //#region src/pipes/interfaces/data-integrations-upsert-client-credentials-request-connection-owner.interface.d.ts
5391
5193
  declare const DataIntegrationsUpsertClientCredentialsRequestConnectionOwner: {
5392
5194
  readonly User: "user";
5393
5195
  readonly Organization: "organization";
5394
5196
  };
5395
5197
  type DataIntegrationsUpsertClientCredentialsRequestConnectionOwner = (typeof DataIntegrationsUpsertClientCredentialsRequestConnectionOwner)[keyof typeof DataIntegrationsUpsertClientCredentialsRequestConnectionOwner];
5396
- //#endregion
5397
- //#region src/pipes/interfaces/data-integrations-upsert-client-credentials-request.interface.d.ts
5398
5198
  interface DataIntegrationsUpsertClientCredentialsRequest {
5399
5199
  /** A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers. */
5400
5200
  accountDisplayName?: string | null;
@@ -5429,14 +5229,10 @@ interface DataIntegrationsUpsertClientCredentialsRequestResponse {
5429
5229
  client_secret: string;
5430
5230
  config?: Record<string, string>;
5431
5231
  }
5432
- //#endregion
5433
- //#region src/pipes/interfaces/delete-data-integration-options.interface.d.ts
5434
5232
  interface DeleteDataIntegrationOptions {
5435
5233
  /** The slug identifier of the data integration. */
5436
5234
  slug: string;
5437
5235
  }
5438
- //#endregion
5439
- //#region src/pipes/interfaces/delete-organization-connected-account-options.interface.d.ts
5440
5236
  interface DeleteOrganizationConnectedAccountOptions {
5441
5237
  /** An [Organization](https://workos.com/docs/reference/organization) identifier. */
5442
5238
  organizationId: string;
@@ -5447,14 +5243,10 @@ interface DeleteOrganizationConnectedAccountOptions {
5447
5243
  /** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select the connection to delete. */
5448
5244
  connectedAccountId?: string;
5449
5245
  }
5450
- //#endregion
5451
- //#region src/pipes/interfaces/delete-organization-data-integration-options.interface.d.ts
5452
5246
  interface DeleteOrganizationDataIntegrationOptions {
5453
5247
  /** The slug identifier of the data integration. */
5454
5248
  slug: string;
5455
5249
  }
5456
- //#endregion
5457
- //#region src/pipes/interfaces/delete-user-connected-account-options.interface.d.ts
5458
5250
  interface DeleteUserConnectedAccountOptions {
5459
5251
  /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5460
5252
  userId: string;
@@ -5467,8 +5259,6 @@ interface DeleteUserConnectedAccountOptions {
5467
5259
  /** Select the connected account to delete. */
5468
5260
  connectedAccountId?: string;
5469
5261
  }
5470
- //#endregion
5471
- //#region src/pipes/interfaces/finish-connection-options.interface.d.ts
5472
5262
  interface FinishConnectionOptions {
5473
5263
  /** The `connect_code` WorkOS added to `return_to` when the user finished authorizing. It can be used once and expires 90 seconds after the redirect. */
5474
5264
  connectCode: string;
@@ -5477,20 +5267,14 @@ interface FinishConnectionOptions {
5477
5267
  /** The `state` WorkOS added to `return_to` alongside `connect_code`. Optional; it is only used to correlate the request in logs. */
5478
5268
  state?: string;
5479
5269
  }
5480
- //#endregion
5481
- //#region src/pipes/interfaces/get-access-token-options.interface.d.ts
5482
5270
  interface GetAccessTokenOptions extends DataIntegrationsGetUserTokenRequest {
5483
5271
  /** The identifier of the integration. */
5484
5272
  provider: string;
5485
5273
  }
5486
- //#endregion
5487
- //#region src/pipes/interfaces/get-data-integration-options.interface.d.ts
5488
5274
  interface GetDataIntegrationOptions {
5489
5275
  /** The slug identifier of the data integration. */
5490
5276
  slug: string;
5491
5277
  }
5492
- //#endregion
5493
- //#region src/pipes/interfaces/get-organization-connected-account-options.interface.d.ts
5494
5278
  interface GetOrganizationConnectedAccountOptions {
5495
5279
  /** An [Organization](https://workos.com/docs/reference/organization) identifier. */
5496
5280
  organizationId: string;
@@ -5501,14 +5285,10 @@ interface GetOrganizationConnectedAccountOptions {
5501
5285
  /** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select a specific connection when the organization has several for this provider. */
5502
5286
  connectedAccountId?: string;
5503
5287
  }
5504
- //#endregion
5505
- //#region src/pipes/interfaces/get-organization-data-integration-options.interface.d.ts
5506
5288
  interface GetOrganizationDataIntegrationOptions {
5507
5289
  /** The slug identifier of the data integration. */
5508
5290
  slug: string;
5509
5291
  }
5510
- //#endregion
5511
- //#region src/pipes/interfaces/get-user-connected-account-options.interface.d.ts
5512
5292
  interface GetUserConnectedAccountOptions {
5513
5293
  /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5514
5294
  userId: string;
@@ -5521,29 +5301,21 @@ interface GetUserConnectedAccountOptions {
5521
5301
  /** Select a specific connected account when the user has several for this provider. */
5522
5302
  connectedAccountId?: string;
5523
5303
  }
5524
- //#endregion
5525
- //#region src/pipes/interfaces/pipes-ownership.interface.d.ts
5526
5304
  declare const PipesOwnership: {
5527
5305
  readonly User: "user";
5528
5306
  readonly Organization: "organization";
5529
5307
  };
5530
5308
  type PipesOwnership = (typeof PipesOwnership)[keyof typeof PipesOwnership];
5531
- //#endregion
5532
- //#region src/pipes/interfaces/list-data-integrations-options.interface.d.ts
5533
5309
  interface ListDataIntegrationsOptions extends PaginationOptions {
5534
5310
  /** Filter integrations by who owns their connected accounts. */
5535
5311
  ownership?: PipesOwnership;
5536
5312
  }
5537
- //#endregion
5538
- //#region src/pipes/interfaces/list-organization-data-providers-options.interface.d.ts
5539
5313
  interface ListOrganizationDataProvidersOptions {
5540
5314
  /** An [Organization](https://workos.com/docs/reference/organization) identifier to list providers and connected accounts for. */
5541
5315
  organizationId: string;
5542
5316
  /** Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered. */
5543
5317
  supportsMultipleConnections?: boolean;
5544
5318
  }
5545
- //#endregion
5546
- //#region src/pipes/interfaces/list-user-data-providers-options.interface.d.ts
5547
5319
  interface ListUserDataProvidersOptions {
5548
5320
  /** A [User](https://workos.com/docs/reference/authkit/user) identifier to list providers and connected accounts for. */
5549
5321
  userId: string;
@@ -5552,15 +5324,39 @@ interface ListUserDataProvidersOptions {
5552
5324
  /** Set to `true` to include all connected accounts rather than only the compatibility connection. */
5553
5325
  supportsMultipleConnections?: boolean;
5554
5326
  }
5555
- //#endregion
5556
- //#region src/pipes/interfaces/update-custom-provider-definition-authenticate-via.interface.d.ts
5327
+ interface OrganizationConnectedAccount {
5328
+ /** A mutable, non-unique connection label; null clears it. Not an account identifier. */
5329
+ accountDisplayName?: string | null;
5330
+ /** A developer-attested account identifier; null clears it. */
5331
+ accountIdentifier?: string | null;
5332
+ /** The OAuth access token for the connected account. */
5333
+ accessToken?: string;
5334
+ /** The OAuth refresh token for the connected account. */
5335
+ refreshToken?: string;
5336
+ /** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
5337
+ expiresAt?: Date;
5338
+ /** The OAuth scopes granted for this connection. */
5339
+ scopes?: string[];
5340
+ /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
5341
+ state?: OrganizationConnectedAccountState;
5342
+ /** The [User](https://workos.com/docs/reference/authkit/user) identifier of the organization member on whose behalf the connected account is being imported or updated. The user must be an active member of the organization. */
5343
+ userId: string;
5344
+ }
5345
+ interface OrganizationConnectedAccountResponse {
5346
+ account_display_name?: string | null;
5347
+ account_identifier?: string | null;
5348
+ access_token?: string;
5349
+ refresh_token?: string;
5350
+ expires_at?: string;
5351
+ scopes?: string[];
5352
+ state?: OrganizationConnectedAccountState;
5353
+ user_id: string;
5354
+ }
5557
5355
  declare const UpdateCustomProviderDefinitionAuthenticateVia: {
5558
5356
  readonly RequestBody: "request_body";
5559
5357
  readonly BasicAuthHeader: "basic_auth_header";
5560
5358
  };
5561
5359
  type UpdateCustomProviderDefinitionAuthenticateVia = (typeof UpdateCustomProviderDefinitionAuthenticateVia)[keyof typeof UpdateCustomProviderDefinitionAuthenticateVia];
5562
- //#endregion
5563
- //#region src/pipes/interfaces/update-custom-provider-definition.interface.d.ts
5564
5360
  interface UpdateCustomProviderDefinition {
5565
5361
  /** A descriptive name for the custom provider. */
5566
5362
  name?: string;
@@ -5598,20 +5394,14 @@ interface UpdateCustomProviderDefinitionResponse {
5598
5394
  token_body_content_type?: string;
5599
5395
  authenticate_via?: UpdateCustomProviderDefinitionAuthenticateVia;
5600
5396
  }
5601
- //#endregion
5602
- //#region src/pipes/interfaces/update-data-integration-api-key-options.interface.d.ts
5603
5397
  interface UpdateDataIntegrationApiKeyOptions extends DataIntegrationsUpsertApiKeyRequest {
5604
5398
  /** The identifier of the integration. */
5605
5399
  slug: string;
5606
5400
  }
5607
- //#endregion
5608
- //#region src/pipes/interfaces/update-data-integration-client-credentials-options.interface.d.ts
5609
5401
  interface UpdateDataIntegrationClientCredentialsOptions extends DataIntegrationsUpsertClientCredentialsRequest {
5610
5402
  /** The identifier of the integration. */
5611
5403
  slug: string;
5612
5404
  }
5613
- //#endregion
5614
- //#region src/pipes/interfaces/update-data-integration.interface.d.ts
5615
5405
  interface UpdateDataIntegration {
5616
5406
  /** An optional description of the Data Integration. */
5617
5407
  description?: string | null;
@@ -5634,14 +5424,10 @@ interface UpdateDataIntegrationResponse {
5634
5424
  api_key?: ApiKeyInstallationResponse;
5635
5425
  custom_provider?: UpdateCustomProviderDefinitionResponse;
5636
5426
  }
5637
- //#endregion
5638
- //#region src/pipes/interfaces/update-data-integration-options.interface.d.ts
5639
5427
  interface UpdateDataIntegrationOptions extends UpdateDataIntegration {
5640
5428
  /** The slug identifier of the data integration. */
5641
5429
  slug: string;
5642
5430
  }
5643
- //#endregion
5644
- //#region src/pipes/interfaces/update-organization-connected-account-options.interface.d.ts
5645
5431
  interface UpdateOrganizationConnectedAccountOptions {
5646
5432
  /** An [Organization](https://workos.com/docs/reference/organization) identifier. */
5647
5433
  organizationId: string;
@@ -5666,8 +5452,7 @@ interface UpdateOrganizationConnectedAccountOptions {
5666
5452
  /** The [User](https://workos.com/docs/reference/authkit/user) identifier of the organization member on whose behalf the connected account is being imported or updated. The user must be an active member of the organization. */
5667
5453
  userId: string;
5668
5454
  }
5669
- //#endregion
5670
- //#region src/pipes/interfaces/update-user-connected-account-options.interface.d.ts
5455
+ type UpdateOrganizationDataIntegrationOptions = UpdateDataIntegrationOptions;
5671
5456
  interface UpdateUserConnectedAccountOptions {
5672
5457
  /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5673
5458
  userId: string;
@@ -5692,8 +5477,6 @@ interface UpdateUserConnectedAccountOptions {
5692
5477
  /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
5693
5478
  state?: ConnectedAccountInputState;
5694
5479
  }
5695
- //#endregion
5696
- //#region src/vault/interfaces/key.interface.d.ts
5697
5480
  interface KeyContext {
5698
5481
  [key: string]: any;
5699
5482
  }
@@ -5706,8 +5489,6 @@ interface DataKey {
5706
5489
  key: string;
5707
5490
  id: string;
5708
5491
  }
5709
- //#endregion
5710
- //#region src/vault/interfaces/vault-event.interface.d.ts
5711
5492
  type VaultActorSource = 'api' | 'dashboard';
5712
5493
  interface VaultActor {
5713
5494
  actorId: string;
@@ -5812,8 +5593,6 @@ interface VaultByokKeyDeletedEventResponseData {
5812
5593
  organization_id: string;
5813
5594
  key_provider: VaultByokKeyProvider;
5814
5595
  }
5815
- //#endregion
5816
- //#region src/common/interfaces/event.interface.d.ts
5817
5596
  interface EventBase {
5818
5597
  id: string;
5819
5598
  createdAt: Date;
@@ -7110,8 +6889,6 @@ type KnownEventResponse = AgentBlueprintCreatedEventResponse | AgentBlueprintDel
7110
6889
  type EventResponse = KnownEventResponse | UnknownEventResponse;
7111
6890
  /** The names of the events this version of the SDK knows; excludes `UnknownEvent`. */
7112
6891
  type EventName = KnownEvent['event'];
7113
- //#endregion
7114
- //#region src/common/interfaces/generate-link-intent.interface.d.ts
7115
6892
  declare const GenerateLinkIntent: {
7116
6893
  readonly SSO: "sso";
7117
6894
  readonly DSync: "dsync";
@@ -7122,8 +6899,6 @@ declare const GenerateLinkIntent: {
7122
6899
  readonly BringYourOwnKey: "bring_your_own_key";
7123
6900
  };
7124
6901
  type GenerateLinkIntent = (typeof GenerateLinkIntent)[keyof typeof GenerateLinkIntent];
7125
- //#endregion
7126
- //#region src/common/interfaces/get-options.interface.d.ts
7127
6902
  interface GetOptions {
7128
6903
  query?: Record<string, any>;
7129
6904
  accessToken?: string;
@@ -7135,8 +6910,6 @@ interface GetOptions {
7135
6910
  /** Aborts the request, rejecting with the signal's reason. An aborted request is not retried. */
7136
6911
  signal?: AbortSignal;
7137
6912
  }
7138
- //#endregion
7139
- //#region src/common/interfaces/list.interface.d.ts
7140
6913
  interface ListResponse<T> {
7141
6914
  readonly object: 'list';
7142
6915
  data: T[];
@@ -7153,8 +6926,6 @@ interface List<T> {
7153
6926
  after?: string | null;
7154
6927
  };
7155
6928
  }
7156
- //#endregion
7157
- //#region src/common/interfaces/patch-options.interface.d.ts
7158
6929
  interface PatchOptions {
7159
6930
  query?: {
7160
6931
  [key: string]: any;
@@ -7165,8 +6936,6 @@ interface PatchOptions {
7165
6936
  /** Maximum number of retries for this request, overriding the client-wide `maxRetries`. */
7166
6937
  maxRetries?: number;
7167
6938
  }
7168
- //#endregion
7169
- //#region src/common/interfaces/post-options.interface.d.ts
7170
6939
  interface PostOptions {
7171
6940
  query?: {
7172
6941
  [key: string]: any;
@@ -7178,8 +6947,6 @@ interface PostOptions {
7178
6947
  /** Maximum number of retries for this request, overriding the client-wide `maxRetries`. */
7179
6948
  maxRetries?: number;
7180
6949
  }
7181
- //#endregion
7182
- //#region src/common/interfaces/put-options.interface.d.ts
7183
6950
  interface PutOptions {
7184
6951
  query?: {
7185
6952
  [key: string]: any;
@@ -7190,20 +6957,14 @@ interface PutOptions {
7190
6957
  /** Maximum number of retries for this request, overriding the client-wide `maxRetries`. */
7191
6958
  maxRetries?: number;
7192
6959
  }
7193
- //#endregion
7194
- //#region src/common/interfaces/unprocessable-entity-error.interface.d.ts
7195
6960
  interface UnprocessableEntityError {
7196
6961
  field: string;
7197
6962
  code: string;
7198
6963
  }
7199
- //#endregion
7200
- //#region src/common/interfaces/app-info.interface.d.ts
7201
6964
  interface AppInfo {
7202
6965
  name: string;
7203
6966
  version: string;
7204
6967
  }
7205
- //#endregion
7206
- //#region src/common/interfaces/workos-options.interface.d.ts
7207
6968
  interface WorkOSOptions {
7208
6969
  apiKey?: string;
7209
6970
  apiHostname?: string;
@@ -7228,8 +6989,6 @@ interface WorkOSOptions {
7228
6989
  */
7229
6990
  maxRetries?: number;
7230
6991
  }
7231
- //#endregion
7232
- //#region src/common/interfaces/workos-response-error.interface.d.ts
7233
6992
  interface WorkOSResponseError {
7234
6993
  code?: string;
7235
6994
  error_description?: string;
@@ -7238,8 +6997,6 @@ interface WorkOSResponseError {
7238
6997
  message: string;
7239
6998
  [key: string]: unknown;
7240
6999
  }
7241
- //#endregion
7242
- //#region src/organizations/interfaces/domain-data.interface.d.ts
7243
7000
  declare enum DomainDataState {
7244
7001
  Verified = "verified",
7245
7002
  Pending = "pending"
@@ -7248,8 +7005,6 @@ interface DomainData {
7248
7005
  domain: string;
7249
7006
  state: DomainDataState;
7250
7007
  }
7251
- //#endregion
7252
- //#region src/organizations/interfaces/create-organization-options.interface.d.ts
7253
7008
  interface CreateOrganizationOptions {
7254
7009
  name: string;
7255
7010
  domainData?: DomainData[];
@@ -7263,8 +7018,6 @@ interface SerializedCreateOrganizationOptions {
7263
7018
  metadata?: Record<string, string>;
7264
7019
  }
7265
7020
  type CreateOrganizationRequestOptions = Pick<PostOptions, 'idempotencyKey'>;
7266
- //#endregion
7267
- //#region src/organizations/interfaces/it-contact-options.interface.d.ts
7268
7021
  declare const ItContactIntent: {
7269
7022
  readonly SSO: "sso";
7270
7023
  readonly DirectorySync: "directory_sync";
@@ -7309,8 +7062,6 @@ interface RevokeItContactOptions {
7309
7062
  /** Unique identifier of the IT Contact. */
7310
7063
  contactId: string;
7311
7064
  }
7312
- //#endregion
7313
- //#region src/organizations/interfaces/it-contact.interface.d.ts
7314
7065
  interface ItContact {
7315
7066
  /** Distinguishes the IT Contact object. */
7316
7067
  object: 'it_contact';
@@ -7330,19 +7081,13 @@ interface ItContactResponse {
7330
7081
  created_at: string;
7331
7082
  updated_at: string;
7332
7083
  }
7333
- //#endregion
7334
- //#region src/organizations/interfaces/list-organization-feature-flags-options.interface.d.ts
7335
7084
  interface ListOrganizationFeatureFlagsOptions extends PaginationOptions {
7336
7085
  organizationId: string;
7337
7086
  }
7338
- //#endregion
7339
- //#region src/organizations/interfaces/list-organizations-options.interface.d.ts
7340
7087
  interface ListOrganizationsOptions extends PaginationOptions {
7341
7088
  /** The domains of an Organization. Any Organization with a matching domain will be returned. */
7342
7089
  domains?: string[];
7343
7090
  }
7344
- //#endregion
7345
- //#region src/organizations/interfaces/organization.interface.d.ts
7346
7091
  interface Organization {
7347
7092
  /** Distinguishes the Organization object. */
7348
7093
  object: 'organization';
@@ -7380,8 +7125,6 @@ interface OrganizationResponse {
7380
7125
  external_id?: string | null;
7381
7126
  metadata?: Record<string, string>;
7382
7127
  }
7383
- //#endregion
7384
- //#region src/organizations/interfaces/update-organization-options.interface.d.ts
7385
7128
  interface UpdateOrganizationOptions {
7386
7129
  organization: string;
7387
7130
  name?: string;
@@ -7397,8 +7140,6 @@ interface SerializedUpdateOrganizationOptions {
7397
7140
  external_id?: string | null;
7398
7141
  metadata?: Record<string, string>;
7399
7142
  }
7400
- //#endregion
7401
- //#region src/actions/interfaces/action.interface.d.ts
7402
7143
  interface AuthenticationActionContext {
7403
7144
  id: string;
7404
7145
  object: 'authentication_action_context';
@@ -7459,8 +7200,6 @@ interface UserRegistrationActionPayload {
7459
7200
  device_fingerprint?: string;
7460
7201
  }
7461
7202
  type ActionPayload = AuthenticationActionPayload | UserRegistrationActionPayload;
7462
- //#endregion
7463
- //#region src/actions/interfaces/response-payload.interface.d.ts
7464
7203
  interface ResponsePayload {
7465
7204
  timestamp: number;
7466
7205
  verdict?: 'Allow' | 'Deny';
@@ -7483,8 +7222,6 @@ type UserRegistrationActionResponseData = (AllowResponseData & {
7483
7222
  }) | (DenyResponseData & {
7484
7223
  type: 'user_registration';
7485
7224
  });
7486
- //#endregion
7487
- //#region src/actions/actions.d.ts
7488
7225
  declare class Actions {
7489
7226
  private signatureProvider;
7490
7227
  constructor(cryptoProvider: CryptoProvider);
@@ -7508,8 +7245,6 @@ declare class Actions {
7508
7245
  tolerance?: number;
7509
7246
  }): Promise<ActionContext>;
7510
7247
  }
7511
- //#endregion
7512
- //#region src/pkce/pkce.d.ts
7513
7248
  interface PKCEPair {
7514
7249
  codeVerifier: string;
7515
7250
  codeChallenge: string;
@@ -7544,8 +7279,6 @@ declare class PKCE {
7544
7279
  generate(): Promise<PKCEPair>;
7545
7280
  private base64UrlEncode;
7546
7281
  }
7547
- //#endregion
7548
- //#region src/common/utils/pagination.d.ts
7549
7282
  declare class AutoPaginatable<ResourceType, ParametersType extends PaginationOptions = PaginationOptions> {
7550
7283
  protected list: List<ResourceType>;
7551
7284
  private apiCall;
@@ -7564,8 +7297,6 @@ declare class AutoPaginatable<ResourceType, ParametersType extends PaginationOpt
7564
7297
  */
7565
7298
  autoPagination(): Promise<ResourceType[]>;
7566
7299
  }
7567
- //#endregion
7568
- //#region src/agents/interfaces/agent-instance-session.interface.d.ts
7569
7300
  /** The lifecycle status of an agent instance session. */
7570
7301
  type AgentInstanceSessionStatus = 'active' | 'revoked' | 'expired';
7571
7302
  /** A session minted for an agent instance. */
@@ -7607,8 +7338,6 @@ interface SerializedListAgentInstanceSessionsOptions extends PaginationOptions {
7607
7338
  agent_blueprint_id?: string;
7608
7339
  agent_instance_id?: string;
7609
7340
  }
7610
- //#endregion
7611
- //#region src/agents/interfaces/agent-token.interface.d.ts
7612
7341
  /** Tokens minted for an agent session. */
7613
7342
  interface AgentToken {
7614
7343
  /** The access token for the agent session. */
@@ -7687,8 +7416,6 @@ type SerializedMintAgentTokenOptions = {
7687
7416
  refresh_token: string;
7688
7417
  intent?: string;
7689
7418
  };
7690
- //#endregion
7691
- //#region src/agents/interfaces/claim-attempt.interface.d.ts
7692
7419
  /** Options for linking an external user to a claim attempt via the admin API. */
7693
7420
  interface LinkClaimAttemptToExternalUserOptions {
7694
7421
  /** The claim attempt token identifying the pending claim. */
@@ -7736,8 +7463,6 @@ interface SerializedClaimAttemptResponse {
7736
7463
  user_code: string;
7737
7464
  organizations: ClaimAttemptOrganization[];
7738
7465
  }
7739
- //#endregion
7740
- //#region src/agents/interfaces/validate-agent-credential.interface.d.ts
7741
7466
  /** The type of agent credential to validate. */
7742
7467
  type AgentCredentialType = 'api_key' | 'access_token';
7743
7468
  interface ValidateAgentApiKeyOptions {
@@ -7852,8 +7577,6 @@ interface SerializedAgentCredentialValidation {
7852
7577
  registration_id: string | null;
7853
7578
  expires_at: string | null;
7854
7579
  }
7855
- //#endregion
7856
- //#region src/agents/agents.d.ts
7857
7580
  declare class Agents {
7858
7581
  private readonly workos;
7859
7582
  private _jwks?;
@@ -8065,8 +7788,6 @@ declare class Agents {
8065
7788
  private verifyAccessTokenClaims;
8066
7789
  private getJWKS;
8067
7790
  }
8068
- //#endregion
8069
- //#region src/api-keys/api-keys.d.ts
8070
7791
  declare class ApiKeys {
8071
7792
  private readonly workos;
8072
7793
  constructor(workos: WorkOS);
@@ -8123,8 +7844,6 @@ declare class ApiKeys {
8123
7844
  */
8124
7845
  createOrganizationApiKey(options: CreateOrganizationApiKeyOptions, requestOptions?: CreateOrganizationApiKeyRequestOptions): Promise<CreatedApiKey>;
8125
7846
  }
8126
- //#endregion
8127
- //#region src/connect/connect.d.ts
8128
7847
  declare class Connect {
8129
7848
  private readonly workos;
8130
7849
  constructor(workos: WorkOS);
@@ -8297,8 +8016,6 @@ declare class Connect {
8297
8016
  */
8298
8017
  deleteClientSecret(options: DeleteClientSecretOptions): Promise<void>;
8299
8018
  }
8300
- //#endregion
8301
- //#region src/directory-sync/directory-sync.d.ts
8302
8019
  declare class DirectorySync {
8303
8020
  private readonly workos;
8304
8021
  constructor(workos: WorkOS);
@@ -8449,8 +8166,6 @@ declare class DirectorySync {
8449
8166
  */
8450
8167
  getDirectoryGroup(options: GetDirectoryGroupOptions): Promise<DirectoryGroup>;
8451
8168
  }
8452
- //#endregion
8453
- //#region src/events/interfaces/list-events-options.interface.d.ts
8454
8169
  interface ListEventOptions {
8455
8170
  events: EventName[];
8456
8171
  rangeStart?: string;
@@ -8467,8 +8182,6 @@ interface SerializedListEventOptions {
8467
8182
  after?: string;
8468
8183
  organization_id?: string;
8469
8184
  }
8470
- //#endregion
8471
- //#region src/events/events.d.ts
8472
8185
  declare class Events {
8473
8186
  private readonly workos;
8474
8187
  constructor(workos: WorkOS);
@@ -8483,8 +8196,6 @@ declare class Events {
8483
8196
  */
8484
8197
  listEvents(options: ListEventOptions): Promise<List<Event>>;
8485
8198
  }
8486
- //#endregion
8487
- //#region src/organizations/organizations.d.ts
8488
8199
  declare class Organizations {
8489
8200
  private readonly workos;
8490
8201
  constructor(workos: WorkOS);
@@ -8619,8 +8330,6 @@ declare class Organizations {
8619
8330
  */
8620
8331
  revokeItContact(options: RevokeItContactOptions): Promise<void>;
8621
8332
  }
8622
- //#endregion
8623
- //#region src/organization-domains/organization-domains.d.ts
8624
8333
  declare class OrganizationDomains {
8625
8334
  private readonly workos;
8626
8335
  constructor(workos: WorkOS);
@@ -8673,8 +8382,6 @@ declare class OrganizationDomains {
8673
8382
  */
8674
8383
  deleteOrganizationDomain(id: string): Promise<void>;
8675
8384
  }
8676
- //#endregion
8677
- //#region src/passwordless/interfaces/passwordless-session.interface.d.ts
8678
8385
  interface PasswordlessSession {
8679
8386
  id: string;
8680
8387
  email: string;
@@ -8689,8 +8396,6 @@ interface PasswordlessSessionResponse {
8689
8396
  link: string;
8690
8397
  object: 'passwordless_session';
8691
8398
  }
8692
- //#endregion
8693
- //#region src/passwordless/interfaces/create-passwordless-session-options.interface.d.ts
8694
8399
  interface CreatePasswordlessSessionOptions {
8695
8400
  type: 'MagicLink';
8696
8401
  email: string;
@@ -8707,22 +8412,16 @@ interface SerializedCreatePasswordlessSessionOptions {
8707
8412
  connection?: string;
8708
8413
  expires_in?: number;
8709
8414
  }
8710
- //#endregion
8711
- //#region src/passwordless/interfaces/send-session-response.interface.d.ts
8712
8415
  interface SendSessionResponse {
8713
8416
  message?: string;
8714
8417
  success?: boolean;
8715
8418
  }
8716
- //#endregion
8717
- //#region src/passwordless/passwordless.d.ts
8718
8419
  declare class Passwordless {
8719
8420
  private readonly workos;
8720
8421
  constructor(workos: WorkOS);
8721
8422
  createSession({ redirectURI, expiresIn, ...options }: CreatePasswordlessSessionOptions): Promise<PasswordlessSession>;
8722
8423
  sendSession(sessionId: string): Promise<SendSessionResponse>;
8723
8424
  }
8724
- //#endregion
8725
- //#region src/pipes/pipes.d.ts
8726
8425
  declare class Pipes {
8727
8426
  private readonly workos;
8728
8427
  constructor(workos: WorkOS);
@@ -9331,8 +9030,6 @@ declare class Pipes {
9331
9030
  */
9332
9031
  listUserDataProviders(options: ListUserDataProvidersOptions): Promise<DataIntegrationsListResponse>;
9333
9032
  }
9334
- //#endregion
9335
- //#region src/radar/interfaces/radar-standalone-assess-request-auth-method.interface.d.ts
9336
9033
  declare const RadarStandaloneAssessRequestAuthMethod: {
9337
9034
  readonly Password: "Password";
9338
9035
  readonly Passkey: "Passkey";
@@ -9344,15 +9041,11 @@ declare const RadarStandaloneAssessRequestAuthMethod: {
9344
9041
  readonly Other: "Other";
9345
9042
  };
9346
9043
  type RadarStandaloneAssessRequestAuthMethod = (typeof RadarStandaloneAssessRequestAuthMethod)[keyof typeof RadarStandaloneAssessRequestAuthMethod];
9347
- //#endregion
9348
- //#region src/radar/interfaces/radar-standalone-assess-request-action.interface.d.ts
9349
9044
  declare const RadarStandaloneAssessRequestAction: {
9350
9045
  readonly SignUp: "sign-up";
9351
9046
  readonly SignIn: "sign-in";
9352
9047
  };
9353
9048
  type RadarStandaloneAssessRequestAction = (typeof RadarStandaloneAssessRequestAction)[keyof typeof RadarStandaloneAssessRequestAction];
9354
- //#endregion
9355
- //#region src/radar/interfaces/create-attempt-options.interface.d.ts
9356
9049
  interface CreateAttemptOptions {
9357
9050
  /** The IP address of the request to assess. */
9358
9051
  ipAddress: string;
@@ -9365,8 +9058,6 @@ interface CreateAttemptOptions {
9365
9058
  /** The action being performed. */
9366
9059
  action: RadarStandaloneAssessRequestAction;
9367
9060
  }
9368
- //#endregion
9369
- //#region src/radar/interfaces/update-attempt-options.interface.d.ts
9370
9061
  interface UpdateAttemptOptions {
9371
9062
  /** The unique identifier of the Radar attempt to update. */
9372
9063
  id: string;
@@ -9375,8 +9066,6 @@ interface UpdateAttemptOptions {
9375
9066
  /** Set to `"success"` to mark the authentication attempt as successful. */
9376
9067
  attemptStatus?: 'success';
9377
9068
  }
9378
- //#endregion
9379
- //#region src/radar/interfaces/radar-list-type.interface.d.ts
9380
9069
  declare const RadarListType: {
9381
9070
  readonly IpAddress: "ip_address";
9382
9071
  readonly Domain: "domain";
@@ -9387,15 +9076,11 @@ declare const RadarListType: {
9387
9076
  readonly Country: "country";
9388
9077
  };
9389
9078
  type RadarListType = (typeof RadarListType)[keyof typeof RadarListType];
9390
- //#endregion
9391
- //#region src/radar/interfaces/radar-list-action.interface.d.ts
9392
9079
  declare const RadarListAction: {
9393
9080
  readonly Block: "block";
9394
9081
  readonly Allow: "allow";
9395
9082
  };
9396
9083
  type RadarListAction = (typeof RadarListAction)[keyof typeof RadarListAction];
9397
- //#endregion
9398
- //#region src/radar/interfaces/add-list-entry-options.interface.d.ts
9399
9084
  interface AddListEntryOptions {
9400
9085
  /** The type of the Radar list (e.g. ip_address, domain, email). */
9401
9086
  type: RadarListType;
@@ -9404,8 +9089,6 @@ interface AddListEntryOptions {
9404
9089
  /** The value to add to the list. Must match the format of the list type (e.g. a valid IP address for `ip_address`, a valid email for `email`). */
9405
9090
  entry: string;
9406
9091
  }
9407
- //#endregion
9408
- //#region src/radar/interfaces/remove-list-entry-options.interface.d.ts
9409
9092
  interface RemoveListEntryOptions {
9410
9093
  /** The type of the Radar list (e.g. ip_address, domain, email). */
9411
9094
  type: RadarListType;
@@ -9414,16 +9097,12 @@ interface RemoveListEntryOptions {
9414
9097
  /** The value to remove from the list. Must match an existing entry. */
9415
9098
  entry: string;
9416
9099
  }
9417
- //#endregion
9418
- //#region src/radar/interfaces/radar-standalone-response-verdict.interface.d.ts
9419
9100
  declare const RadarStandaloneResponseVerdict: {
9420
9101
  readonly Allow: "allow";
9421
9102
  readonly Block: "block";
9422
9103
  readonly Challenge: "challenge";
9423
9104
  };
9424
9105
  type RadarStandaloneResponseVerdict = (typeof RadarStandaloneResponseVerdict)[keyof typeof RadarStandaloneResponseVerdict];
9425
- //#endregion
9426
- //#region src/radar/interfaces/radar-standalone-response-control.interface.d.ts
9427
9106
  declare const RadarStandaloneResponseControl: {
9428
9107
  readonly BotDetection: "bot_detection";
9429
9108
  readonly BruteForceAttack: "brute_force_attack";
@@ -9435,8 +9114,6 @@ declare const RadarStandaloneResponseControl: {
9435
9114
  readonly Restriction: "restriction";
9436
9115
  };
9437
9116
  type RadarStandaloneResponseControl = (typeof RadarStandaloneResponseControl)[keyof typeof RadarStandaloneResponseControl];
9438
- //#endregion
9439
- //#region src/radar/interfaces/radar-standalone-response-blocklist-type.interface.d.ts
9440
9117
  declare const RadarStandaloneResponseBlocklistType: {
9441
9118
  readonly IpAddress: "ip_address";
9442
9119
  readonly Domain: "domain";
@@ -9447,8 +9124,6 @@ declare const RadarStandaloneResponseBlocklistType: {
9447
9124
  readonly Country: "country";
9448
9125
  };
9449
9126
  type RadarStandaloneResponseBlocklistType = (typeof RadarStandaloneResponseBlocklistType)[keyof typeof RadarStandaloneResponseBlocklistType];
9450
- //#endregion
9451
- //#region src/radar/interfaces/radar-standalone-response.interface.d.ts
9452
9127
  interface RadarStandaloneResponse {
9453
9128
  /** The verdict of the risk assessment. */
9454
9129
  verdict: RadarStandaloneResponseVerdict;
@@ -9468,8 +9143,6 @@ interface RadarStandaloneResponseWire {
9468
9143
  control?: RadarStandaloneResponseControl;
9469
9144
  blocklist_type?: RadarStandaloneResponseBlocklistType;
9470
9145
  }
9471
- //#endregion
9472
- //#region src/radar/interfaces/radar-list-entry-already-present-response.interface.d.ts
9473
9146
  interface RadarListEntryAlreadyPresentResponse {
9474
9147
  /** A message indicating the entry already exists. */
9475
9148
  message: string;
@@ -9477,8 +9150,6 @@ interface RadarListEntryAlreadyPresentResponse {
9477
9150
  interface RadarListEntryAlreadyPresentResponseWire {
9478
9151
  message: string;
9479
9152
  }
9480
- //#endregion
9481
- //#region src/radar/radar.d.ts
9482
9153
  declare class Radar {
9483
9154
  private readonly workos;
9484
9155
  constructor(workos: WorkOS);
@@ -9549,8 +9220,6 @@ declare class Radar {
9549
9220
  */
9550
9221
  removeListEntry(options: RemoveListEntryOptions): Promise<void>;
9551
9222
  }
9552
- //#endregion
9553
- //#region src/admin-portal/admin-portal.d.ts
9554
9223
  declare class AdminPortal {
9555
9224
  private readonly workos;
9556
9225
  constructor(workos: WorkOS);
@@ -9602,8 +9271,6 @@ declare class AdminPortal {
9602
9271
  externalUserId: string;
9603
9272
  }): Promise<void>;
9604
9273
  }
9605
- //#endregion
9606
- //#region src/sso/sso.d.ts
9607
9274
  declare class SSO {
9608
9275
  private readonly workos;
9609
9276
  constructor(workos: WorkOS);
@@ -9694,17 +9361,23 @@ declare class SSO {
9694
9361
  * @throws {NotFoundException} 404
9695
9362
  */
9696
9363
  getProfile<CustomAttributesType extends UnknownRecord = UnknownRecord>({ accessToken }: GetProfileOptions): Promise<Profile<CustomAttributesType>>;
9364
+ /**
9365
+ * Logout Authorize
9366
+ *
9367
+ * Generate a logout token and URL for RP-initiated Single Logout. Redirect the user to `logoutUrl` to sign them out of the identity provider.
9368
+ * @param options - The profile to log out.
9369
+ * @returns {Promise<AuthorizeLogout>}
9370
+ * @throws {BadRequestException} 400
9371
+ * @throws {NotFoundException} 404
9372
+ */
9373
+ authorizeLogout(options: AuthorizeLogoutOptions): Promise<AuthorizeLogout>;
9697
9374
  }
9698
- //#endregion
9699
- //#region src/multi-factor-auth/interfaces/challenge-factor-options.d.ts
9700
9375
  type ChallengeFactorOptions = {
9701
9376
  authenticationFactorId: string;
9702
9377
  } | {
9703
9378
  authenticationFactorId: string;
9704
9379
  smsTemplate: string;
9705
9380
  };
9706
- //#endregion
9707
- //#region src/multi-factor-auth/interfaces/challenge.interface.d.ts
9708
9381
  interface Challenge {
9709
9382
  object: 'authentication_challenge';
9710
9383
  id: string;
@@ -9723,8 +9396,6 @@ interface ChallengeResponse {
9723
9396
  code?: string;
9724
9397
  authentication_factor_id: string;
9725
9398
  }
9726
- //#endregion
9727
- //#region src/multi-factor-auth/interfaces/enroll-factor-options.d.ts
9728
9399
  type EnrollFactorOptions = {
9729
9400
  type: 'sms';
9730
9401
  phoneNumber: string;
@@ -9735,14 +9406,10 @@ type EnrollFactorOptions = {
9735
9406
  } | {
9736
9407
  type: 'generic_otp';
9737
9408
  };
9738
- //#endregion
9739
- //#region src/multi-factor-auth/interfaces/verify-challenge-options.d.ts
9740
9409
  interface VerifyChallengeOptions {
9741
9410
  authenticationChallengeId: string;
9742
9411
  code: string;
9743
9412
  }
9744
- //#endregion
9745
- //#region src/multi-factor-auth/interfaces/verify-challenge-response.d.ts
9746
9413
  interface VerifyResponse {
9747
9414
  challenge: Challenge;
9748
9415
  valid: boolean;
@@ -9751,8 +9418,6 @@ interface VerifyResponseResponse {
9751
9418
  challenge: ChallengeResponse;
9752
9419
  valid: boolean;
9753
9420
  }
9754
- //#endregion
9755
- //#region src/multi-factor-auth/multi-factor-auth.d.ts
9756
9421
  declare class MultiFactorAuth {
9757
9422
  private readonly workos;
9758
9423
  constructor(workos: WorkOS);
@@ -9834,8 +9499,6 @@ declare class MultiFactorAuth {
9834
9499
  */
9835
9500
  listUserAuthFactors(options: ListAuthFactorsOptions): Promise<AutoPaginatable<AuthenticationFactor, PaginationOptions>>;
9836
9501
  }
9837
- //#endregion
9838
- //#region src/audit-logs/interfaces/audit-log-export-options.interface.d.ts
9839
9502
  interface AuditLogExportOptions {
9840
9503
  actions?: string[];
9841
9504
  actorNames?: string[];
@@ -9854,8 +9517,6 @@ interface SerializedAuditLogExportOptions {
9854
9517
  range_start: string;
9855
9518
  targets?: string[];
9856
9519
  }
9857
- //#endregion
9858
- //#region src/audit-logs/interfaces/audit-log-export.interface.d.ts
9859
9520
  type AuditLogExportState = 'pending' | 'ready' | 'error' | 'expired';
9860
9521
  interface AuditLogExport {
9861
9522
  object: 'audit_log_export';
@@ -9873,8 +9534,6 @@ interface AuditLogExportResponse {
9873
9534
  created_at: string;
9874
9535
  updated_at: string;
9875
9536
  }
9876
- //#endregion
9877
- //#region src/audit-logs/interfaces/audit-log-schema.interface.d.ts
9878
9537
  type AuditLogSchemaMetadata = Record<string, {
9879
9538
  type: 'string' | 'boolean' | 'number';
9880
9539
  }> | undefined;
@@ -9916,8 +9575,6 @@ interface AuditLogSchemaResponse {
9916
9575
  };
9917
9576
  created_at: string;
9918
9577
  }
9919
- //#endregion
9920
- //#region src/audit-logs/interfaces/audit-logs-retention.interface.d.ts
9921
9578
  interface AuditLogsRetention {
9922
9579
  /** The number of days Audit Log events will be retained before being permanently deleted. Valid values are 30 through 330 in 30-day increments and 365 through 3650 in 365-day increments. */
9923
9580
  retentionPeriodInDays: number | null;
@@ -9925,8 +9582,6 @@ interface AuditLogsRetention {
9925
9582
  interface AuditLogsRetentionResponse {
9926
9583
  retention_period_in_days: number | null;
9927
9584
  }
9928
- //#endregion
9929
- //#region src/audit-logs/interfaces/create-audit-log-event-options.interface.d.ts
9930
9585
  interface AuditLogActor {
9931
9586
  id: string;
9932
9587
  name?: string;
@@ -9964,8 +9619,6 @@ interface SerializedCreateAuditLogEventOptions {
9964
9619
  metadata?: Record<string, string | number | boolean>;
9965
9620
  }
9966
9621
  type CreateAuditLogEventRequestOptions = Pick<PostOptions, 'idempotencyKey'>;
9967
- //#endregion
9968
- //#region src/audit-logs/interfaces/create-audit-log-schema-options.interface.d.ts
9969
9622
  interface CreateAuditLogSchemaOptions {
9970
9623
  action: string;
9971
9624
  targets: AuditLogTargetSchema[];
@@ -9995,14 +9648,10 @@ interface SerializedCreateAuditLogSchemaOptions {
9995
9648
  /** @deprecated Use AuditLogSchemaResponse instead */
9996
9649
  type CreateAuditLogSchemaResponse = AuditLogSchemaResponse;
9997
9650
  type CreateAuditLogSchemaRequestOptions = Pick<PostOptions, 'idempotencyKey'>;
9998
- //#endregion
9999
- //#region src/audit-logs/interfaces/get-organization-audit-logs-retention-options.interface.d.ts
10000
9651
  interface GetOrganizationAuditLogsRetentionOptions {
10001
9652
  /** Unique identifier of the Organization. */
10002
9653
  id: string;
10003
9654
  }
10004
- //#endregion
10005
- //#region src/audit-logs/interfaces/update-audit-logs-retention-retention-period.interface.d.ts
10006
9655
  declare const UpdateAuditLogsRetentionRetentionPeriod: {
10007
9656
  readonly Value1Month: "1_MONTH";
10008
9657
  readonly Value2Months: "2_MONTHS";
@@ -10027,8 +9676,6 @@ declare const UpdateAuditLogsRetentionRetentionPeriod: {
10027
9676
  readonly Value10Years: "10_YEARS";
10028
9677
  };
10029
9678
  type UpdateAuditLogsRetentionRetentionPeriod = (typeof UpdateAuditLogsRetentionRetentionPeriod)[keyof typeof UpdateAuditLogsRetentionRetentionPeriod];
10030
- //#endregion
10031
- //#region src/audit-logs/interfaces/update-audit-logs-retention.interface.d.ts
10032
9679
  interface UpdateAuditLogsRetention {
10033
9680
  /** 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. */
10034
9681
  retentionPeriod: UpdateAuditLogsRetentionRetentionPeriod;
@@ -10036,16 +9683,12 @@ interface UpdateAuditLogsRetention {
10036
9683
  interface UpdateAuditLogsRetentionResponse {
10037
9684
  retention_period: UpdateAuditLogsRetentionRetentionPeriod;
10038
9685
  }
10039
- //#endregion
10040
- //#region src/audit-logs/interfaces/update-organization-audit-logs-retention-options.interface.d.ts
10041
9686
  interface UpdateOrganizationAuditLogsRetentionOptions {
10042
9687
  /** Unique identifier of the Organization. */
10043
9688
  id: string;
10044
9689
  /** 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. */
10045
9690
  retentionPeriod: UpdateAuditLogsRetentionRetentionPeriod;
10046
9691
  }
10047
- //#endregion
10048
- //#region src/audit-logs/audit-logs.d.ts
10049
9692
  declare class AuditLogs {
10050
9693
  private readonly workos;
10051
9694
  constructor(workos: WorkOS);
@@ -10125,8 +9768,6 @@ declare class AuditLogs {
10125
9768
  createSchema(schema: CreateAuditLogSchemaOptions, options?: CreateAuditLogSchemaRequestOptions): Promise<AuditLogSchema>;
10126
9769
  listSchemas(action: string, options?: PaginationOptions): Promise<AutoPaginatable<AuditLogSchema, PaginationOptions>>;
10127
9770
  }
10128
- //#endregion
10129
- //#region node_modules/jose/dist/types/types.d.ts
10130
9771
  /** Supported JWS "alg" (Algorithm) Header Parameter values. Availability depends on the runtime. */
10131
9772
  type JWSAlgorithm = 'HS256' | 'HS384' | 'HS512' | 'RS256' | 'RS384' | 'RS512' | 'PS256' | 'PS384' | 'PS512' | 'ES256' | 'ES384' | 'ES512' | 'EdDSA' | 'Ed25519' | 'ML-DSA-44' | 'ML-DSA-65' | 'ML-DSA-87' | (string & {});
10132
9773
  /** Supported JWE "alg" (Algorithm) Header Parameter values. Availability depends on the runtime. */
@@ -10152,88 +9793,109 @@ type JWK = {
10152
9793
  kty?: JWKKeyType;
10153
9794
  /** JWK "alg" (Algorithm) Parameter */
10154
9795
  alg?: JWSAlgorithm | JWEKeyManagementAlgorithm | JWEContentEncryptionAlgorithm;
10155
- /** Permitted key operations. */
9796
+ /** JWK "key_ops" (Key Operations) Parameter (RFC 7517, Section 4.3). */
10156
9797
  key_ops?: string[];
10157
- /** Whether the key may be exported. */
9798
+ /** Web Crypto "ext" (Extractable) member; whether the key may be exported. */
10158
9799
  ext?: boolean;
10159
9800
  /** JWK "use" (Public Key Use) Parameter */
10160
9801
  use?: 'sig' | 'enc' | (string & {});
10161
- /** X.509 certificate chain. */
9802
+ /**
9803
+ * "x5c" (X.509 Certificate Chain): base64-encoded DER certificates (RFC 7517, Section 4.7; RFC
9804
+ * 7515, Section 4.1.6).
9805
+ */
10162
9806
  x5c?: string[];
10163
- /** X.509 certificate SHA-1 thumbprint. */
9807
+ /** "x5t" (X.509 Certificate SHA-1 Thumbprint): base64url-encoded digest of the DER certificate. */
10164
9808
  x5t?: string;
10165
- /** X.509 certificate SHA-256 thumbprint. */
9809
+ /**
9810
+ * "x5t#S256" (X.509 Certificate SHA-256 Thumbprint): base64url-encoded digest of the DER
9811
+ * certificate.
9812
+ */
10166
9813
  'x5t#S256'?: string;
10167
- /** X.509 certificate URL. */
9814
+ /** JWK "x5u" (X.509 URL) Parameter: URL of a PEM-encoded certificate or certificate chain. */
10168
9815
  x5u?: string;
10169
9816
  /** JWK "kid" (Key ID) Parameter */
10170
9817
  kid?: string;
10171
- /** EC curve or OKP key pair subtype. */
9818
+ /** JWK "crv" Parameter: Curve for EC keys or Subtype of Key Pair for OKP keys. */
10172
9819
  crv?: string;
10173
- /** Private RSA exponent, EC key, or OKP key. */
9820
+ /**
9821
+ * Private key material: Base64urlUInt for RSA (RFC 7518, Section 6.3.2.1), base64url-encoded
9822
+ * octets for EC (Section 6.2.2.1) or OKP (RFC 8037, Section 2).
9823
+ */
10174
9824
  d?: string;
10175
- /** RSA first factor CRT exponent. */
9825
+ /** RSA first factor CRT exponent, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
10176
9826
  dp?: string;
10177
- /** RSA second factor CRT exponent. */
9827
+ /** RSA second factor CRT exponent, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
10178
9828
  dq?: string;
10179
- /** RSA public exponent. */
9829
+ /** RSA public exponent, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
10180
9830
  e?: string;
10181
- /** Symmetric key value. */
9831
+ /** JWK "k" (Key Value): base64url-encoded key octets (RFC 7518, Section 6.4.1). */
10182
9832
  k?: string;
10183
- /** RSA modulus. */
9833
+ /** RSA modulus, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
10184
9834
  n?: string;
10185
- /** RSA first prime factor. */
9835
+ /** RSA first prime factor, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
10186
9836
  p?: string;
10187
- /** RSA second prime factor. */
9837
+ /** RSA second prime factor, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
10188
9838
  q?: string;
10189
- /** RSA first CRT coefficient. */
9839
+ /** RSA first CRT coefficient, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
10190
9840
  qi?: string;
10191
- /** EC public key X coordinate or OKP public key. */
9841
+ /**
9842
+ * Base64url-encoded EC x-coordinate (RFC 7518, Section 6.2.1.2) or OKP public key (RFC 8037,
9843
+ * Section 2).
9844
+ */
10192
9845
  x?: string;
10193
- /** EC public key Y coordinate. */
9846
+ /** Base64url-encoded EC y-coordinate (RFC 7518, Section 6.2.1.3). */
10194
9847
  y?: string;
10195
- /** AKP JWK "pub" (Public Key) Parameter */
9848
+ /** AKP JWK "pub" (Public Key): base64url-encoded public key (RFC 9964, Section 3) */
10196
9849
  pub?: string;
10197
- /** AKP JWK "priv" (Private key) Parameter */
9850
+ /**
9851
+ * AKP JWK "priv" (Private Key): base64url-encoded private key; ML-DSA uses a 32-octet seed (RFC
9852
+ * 9964, Sections 3-4)
9853
+ */
10198
9854
  priv?: string;
10199
9855
  /** Additional RSA prime factors. */
10200
9856
  oth?: Array<{
10201
- /** Factor CRT exponent. */
9857
+ /** Factor CRT exponent, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
10202
9858
  d?: string;
10203
- /** Prime factor. */
9859
+ /** Prime factor, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
10204
9860
  r?: string;
10205
- /** Factor CRT coefficient. */
9861
+ /** Factor CRT coefficient, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
10206
9862
  t?: string;
10207
9863
  }>;
10208
9864
  };
10209
- /** Flattened JWS verification input. */
9865
+ /** Flattened JWS JSON Serialization verification input. */
10210
9866
  interface FlattenedJWSInput {
10211
9867
  /** JWS Unprotected Header as a JSON object. Not integrity protected; omit when empty. */
10212
9868
  header?: JWSHeaderParameters;
10213
- /** Base64url-encoded payload; with `b64: false`, supply an unencoded string or Uint8Array. */
9869
+ /** Base64url-encoded JWS Payload; with `b64: false`, supply an unencoded string or Uint8Array. */
10214
9870
  payload: string | Uint8Array;
10215
9871
  /** Base64url-encoded UTF-8 JWS Protected Header. Integrity protected; omit when empty. */
10216
9872
  protected?: string;
10217
- /** Base64url-encoded signature or MAC. */
9873
+ /** Base64url-encoded JWS Signature (digital signature or MAC). */
10218
9874
  signature: string;
10219
9875
  }
10220
9876
  /** Header Parameters common to JWE and JWS. */
10221
9877
  interface JoseHeaderParameters {
10222
9878
  /** "kid" (Key ID) Header Parameter */
10223
9879
  kid?: string;
10224
- /** X.509 certificate SHA-1 thumbprint. */
9880
+ /** "x5t" (X.509 Certificate SHA-1 Thumbprint): base64url-encoded digest of the DER certificate. */
10225
9881
  x5t?: string;
10226
- /** X.509 certificate chain. */
9882
+ /**
9883
+ * "x5c" (X.509 Certificate Chain): base64-encoded DER certificates (RFC 7517, Section 4.7; RFC
9884
+ * 7515, Section 4.1.6).
9885
+ */
10227
9886
  x5c?: string[];
10228
- /** X.509 certificate URL. */
9887
+ /** "x5u" (X.509 URL) Header Parameter: URL of a PEM-encoded certificate or certificate chain. */
10229
9888
  x5u?: string;
10230
- /** JWK Set URL. */
9889
+ /** "jku" (JWK Set URL) Header Parameter (RFC 7515, Section 4.1.2). */
10231
9890
  jku?: string;
10232
- /** Public JWK only; private and symmetric key parameters are not permitted. */
9891
+ /**
9892
+ * "jwk" (JSON Web Key) Header Parameter: public JWK only; private and symmetric key parameters
9893
+ * are not permitted.
9894
+ */
10233
9895
  jwk?: Omit<JWK, 'd' | 'dp' | 'dq' | 'k' | 'p' | 'q' | 'qi' | 'priv' | 'oth'>;
10234
9896
  /** "typ" (Type) Header Parameter */
10235
9897
  typ?: string;
10236
- /** Content type. */
9898
+ /** "cty" (Content Type) Header Parameter (RFC 7515, Section 4.1.10). */
10237
9899
  cty?: string;
10238
9900
  }
10239
9901
  /** Recognized JWS Header Parameters; additional members may also be present. */
@@ -10241,18 +9903,22 @@ interface JWSHeaderParameters extends JoseHeaderParameters {
10241
9903
  /** JWS "alg" (Algorithm) Header Parameter */
10242
9904
  alg?: JWSAlgorithm;
10243
9905
  /**
10244
- * Controls payload encoding and the JWS signing input as defined by
9906
+ * Controls payload encoding and the JWS Signing Input as defined by
10245
9907
  * {@link https://www.rfc-editor.org/info/rfc7797/ RFC7797}. Set to `false` and list `b64` in
10246
9908
  * `crit` to use an unencoded payload.
10247
9909
  */
10248
9910
  b64?: boolean;
10249
- /** Extension parameters that must be recognized. */
9911
+ /**
9912
+ * "crit" (Critical) Header Parameter: names of extensions that must be understood and processed;
9913
+ * must be integrity protected (RFC 7515, Section 4.1.11).
9914
+ */
10250
9915
  crit?: string[];
10251
9916
  /** Any other JWS Header member. */
10252
9917
  [propName: string]: unknown;
10253
9918
  }
10254
9919
  /** JSON Web Key Set. */
10255
9920
  interface JSONWebKeySet {
9921
+ /** "keys" Parameter: an array of JWKs (RFC 7517, Section 5.1). */
10256
9922
  keys: JWK[];
10257
9923
  }
10258
9924
  /** The runtime's Web Crypto {@link !CryptoKey} representation accepted as key input. */
@@ -10274,8 +9940,6 @@ interface CryptoKeyStructuralFallback {
10274
9940
  readonly type: string;
10275
9941
  readonly usages: string[];
10276
9942
  }
10277
- //#endregion
10278
- //#region node_modules/jose/dist/types/jwks/remote.d.ts
10279
9943
  /**
10280
9944
  * Configures a custom fetch implementation for remote JWKS retrieval.
10281
9945
  *
@@ -10369,15 +10033,11 @@ interface RemoteJWKSet {
10369
10033
  * @param url URL to fetch the JSON Web Key Set from.
10370
10034
  */
10371
10035
  declare function createRemoteJWKSet(url: URL, options?: RemoteJWKSetOptions): RemoteJWKSet;
10372
- //#endregion
10373
- //#region src/user-management/interfaces/session-handler-options.interface.d.ts
10374
10036
  interface SessionHandlerOptions {
10375
10037
  sessionData: string;
10376
10038
  cookiePassword?: string;
10377
10039
  organizationId?: string;
10378
10040
  }
10379
- //#endregion
10380
- //#region src/user-management/session.d.ts
10381
10041
  type RefreshOptions = {
10382
10042
  cookiePassword?: string;
10383
10043
  organizationId?: string;
@@ -10415,8 +10075,6 @@ declare class CookieSession {
10415
10075
  returnTo?: string;
10416
10076
  }): Promise<string>;
10417
10077
  }
10418
- //#endregion
10419
- //#region src/user-management/user-management.d.ts
10420
10078
  declare class UserManagement {
10421
10079
  private readonly workos;
10422
10080
  private _jwks;
@@ -11012,8 +10670,6 @@ declare class UserManagement {
11012
10670
  getLogoutUrl(options: LogoutURLOptions): string;
11013
10671
  getJwksUrl(clientId: string): string;
11014
10672
  }
11015
- //#endregion
11016
- //#region src/feature-flags/event-emitter.d.ts
11017
10673
  type Listener<Args extends unknown[]> = (...args: Args) => void;
11018
10674
  /**
11019
10675
  * Minimal, runtime-agnostic, typed event emitter.
@@ -11042,8 +10698,6 @@ declare class EventEmitter<Events extends Record<keyof Events, unknown[]>> {
11042
10698
  private add;
11043
10699
  private remove;
11044
10700
  }
11045
- //#endregion
11046
- //#region src/feature-flags/runtime-client.d.ts
11047
10701
  interface RuntimeClientEvents {
11048
10702
  change: [FlagChange];
11049
10703
  error: [Error];
@@ -11082,8 +10736,6 @@ declare class FeatureFlagsRuntimeClient extends EventEmitter<RuntimeClientEvents
11082
10736
  private emitChanges;
11083
10737
  private hasEntryChanged;
11084
10738
  }
11085
- //#endregion
11086
- //#region src/feature-flags/feature-flags.d.ts
11087
10739
  declare class FeatureFlags {
11088
10740
  private readonly workos;
11089
10741
  constructor(workos: WorkOS);
@@ -11207,8 +10859,6 @@ declare class FeatureFlags {
11207
10859
  listUserFeatureFlags(options: ListUserFeatureFlagsOptions): Promise<AutoPaginatable<FeatureFlag>>;
11208
10860
  createRuntimeClient(options?: RuntimeClientOptions): FeatureFlagsRuntimeClient;
11209
10861
  }
11210
- //#endregion
11211
- //#region src/groups/groups.d.ts
11212
10862
  declare class Groups {
11213
10863
  private readonly workos;
11214
10864
  constructor(workos: WorkOS);
@@ -11339,8 +10989,6 @@ declare class Groups {
11339
10989
  */
11340
10990
  removeOrganizationMembership(options: RemoveGroupOrganizationMembershipOptions): Promise<void>;
11341
10991
  }
11342
- //#endregion
11343
- //#region src/widgets/interfaces/widget-session-token-scopes.interface.d.ts
11344
10992
  declare const WidgetSessionTokenScopes: {
11345
10993
  readonly WidgetsUsersTableManage: "widgets:users-table:manage";
11346
10994
  readonly WidgetsUserApiKeysManageSelf: "widgets:user-api-keys:manage-self";
@@ -11353,8 +11001,6 @@ declare const WidgetSessionTokenScopes: {
11353
11001
  readonly WidgetsPipesManage: "widgets:pipes:manage";
11354
11002
  };
11355
11003
  type WidgetSessionTokenScopes = (typeof WidgetSessionTokenScopes)[keyof typeof WidgetSessionTokenScopes];
11356
- //#endregion
11357
- //#region src/widgets/interfaces/create-token-options.interface.d.ts
11358
11004
  interface CreateTokenOptions {
11359
11005
  /** The ID of the organization to scope the widget session to. */
11360
11006
  organizationId: string;
@@ -11363,8 +11009,6 @@ interface CreateTokenOptions {
11363
11009
  /** The scopes to grant the widget session. */
11364
11010
  scopes?: WidgetSessionTokenScopes[];
11365
11011
  }
11366
- //#endregion
11367
- //#region src/widgets/interfaces/widget-session-token-response.interface.d.ts
11368
11012
  interface WidgetSessionTokenResponse {
11369
11013
  /** The widget session token. */
11370
11014
  token: string;
@@ -11372,8 +11016,6 @@ interface WidgetSessionTokenResponse {
11372
11016
  interface WidgetSessionTokenResponseWire {
11373
11017
  token: string;
11374
11018
  }
11375
- //#endregion
11376
- //#region src/widgets/widgets.d.ts
11377
11019
  declare class Widgets {
11378
11020
  private readonly workos;
11379
11021
  constructor(workos: WorkOS);
@@ -11389,8 +11031,6 @@ declare class Widgets {
11389
11031
  */
11390
11032
  createToken(options: CreateTokenOptions): Promise<WidgetSessionTokenResponse>;
11391
11033
  }
11392
- //#endregion
11393
- //#region src/authorization/authorization.d.ts
11394
11034
  declare class Authorization {
11395
11035
  private readonly workos;
11396
11036
  constructor(workos: WorkOS);
@@ -12136,13 +11776,9 @@ declare class Authorization {
12136
11776
  */
12137
11777
  listEffectivePermissionsByExternalId(options: ListEffectivePermissionsByExternalIdOptions): Promise<AutoPaginatable<Permission>>;
12138
11778
  }
12139
- //#endregion
12140
- //#region src/vault/interfaces/key/create-data-key.interface.d.ts
12141
11779
  interface CreateDataKeyOptions {
12142
11780
  context: KeyContext;
12143
11781
  }
12144
- //#endregion
12145
- //#region src/vault/interfaces/key/decrypt-data-key.interface.d.ts
12146
11782
  interface DecryptDataKeyOptions {
12147
11783
  keys: string;
12148
11784
  }
@@ -12150,24 +11786,18 @@ interface DecryptDataKeyResponse {
12150
11786
  data_key: string;
12151
11787
  id: string;
12152
11788
  }
12153
- //#endregion
12154
- //#region src/vault/interfaces/create-rekey-options.interface.d.ts
12155
11789
  interface CreateRekeyOptions {
12156
11790
  /** Map of values used to determine the new encryption key. */
12157
11791
  context: Record<string, string>;
12158
11792
  /** Base64-encoded encrypted data key blob to re-encrypt. */
12159
11793
  encryptedKeys: string;
12160
11794
  }
12161
- //#endregion
12162
- //#region src/vault/interfaces/list-objects-options.interface.d.ts
12163
11795
  interface ListObjectsOptions extends PaginationOptions {
12164
11796
  /** Filter results by name or structured search JSON. */
12165
11797
  search?: string;
12166
11798
  /** ISO 8601 timestamp to filter by last modified time. */
12167
11799
  updatedAfter?: Date;
12168
11800
  }
12169
- //#endregion
12170
- //#region src/vault/interfaces/object/create-object.interface.d.ts
12171
11801
  interface CreateObjectEntity {
12172
11802
  name: string;
12173
11803
  value: string;
@@ -12178,13 +11808,9 @@ interface CreateObjectOptions {
12178
11808
  value: string;
12179
11809
  context: KeyContext;
12180
11810
  }
12181
- //#endregion
12182
- //#region src/vault/interfaces/object/read-object.interface.d.ts
12183
11811
  interface ReadObjectOptions {
12184
11812
  id: string;
12185
11813
  }
12186
- //#endregion
12187
- //#region src/vault/interfaces/object/update-object.interface.d.ts
12188
11814
  interface UpdateObjectEntity {
12189
11815
  value: string;
12190
11816
  version_check?: string;
@@ -12194,16 +11820,12 @@ interface UpdateObjectOptions {
12194
11820
  value: string;
12195
11821
  versionCheck?: string;
12196
11822
  }
12197
- //#endregion
12198
- //#region src/vault/interfaces/delete-vault-object-options.interface.d.ts
12199
11823
  interface DeleteVaultObjectOptions {
12200
11824
  /** Unique identifier of the object. */
12201
11825
  id: string;
12202
11826
  /** Expected current version for optimistic locking. */
12203
11827
  versionCheck?: string;
12204
11828
  }
12205
- //#endregion
12206
- //#region src/vault/interfaces/create-data-key-response.interface.d.ts
12207
11829
  interface CreateDataKeyResponse {
12208
11830
  /** Map of values used to determine the encryption key. */
12209
11831
  context: Record<string, string>;
@@ -12220,8 +11842,6 @@ interface CreateDataKeyResponseWire {
12220
11842
  encrypted_keys: string;
12221
11843
  id: string;
12222
11844
  }
12223
- //#endregion
12224
- //#region src/vault/interfaces/actor.interface.d.ts
12225
11845
  /** The user or API key that performed an action. */
12226
11846
  interface Actor {
12227
11847
  /** Unique identifier of the actor. */
@@ -12233,8 +11853,6 @@ interface ActorResponse {
12233
11853
  id: string;
12234
11854
  name: string;
12235
11855
  }
12236
- //#endregion
12237
- //#region src/vault/interfaces/object-metadata.interface.d.ts
12238
11856
  /** Metadata for a stored encrypted object. */
12239
11857
  interface ObjectMetadata {
12240
11858
  /** Map of values used to determine the encryption key. */
@@ -12260,8 +11878,6 @@ interface ObjectMetadataResponse {
12260
11878
  updated_by: ActorResponse;
12261
11879
  version_id?: string | null;
12262
11880
  }
12263
- //#endregion
12264
- //#region src/vault/interfaces/vault-object.interface.d.ts
12265
11881
  /** An encrypted object with its decrypted value and metadata. */
12266
11882
  interface VaultObject {
12267
11883
  /** Unique identifier of the object. */
@@ -12278,8 +11894,6 @@ interface VaultObjectResponse {
12278
11894
  name: string;
12279
11895
  value: string;
12280
11896
  }
12281
- //#endregion
12282
- //#region src/vault/interfaces/object-version.interface.d.ts
12283
11897
  /** A static snapshot of an encrypted object. */
12284
11898
  interface ObjectVersion {
12285
11899
  /** Timestamp when the version was created. */
@@ -12300,8 +11914,6 @@ interface ObjectVersionResponse {
12300
11914
  id: string;
12301
11915
  size?: number;
12302
11916
  }
12303
- //#endregion
12304
- //#region src/vault/interfaces/list-metadata.interface.d.ts
12305
11917
  /** Cursor-based pagination metadata. */
12306
11918
  interface ListMetadata {
12307
11919
  /** Cursor for the next page of results. */
@@ -12309,15 +11921,11 @@ interface ListMetadata {
12309
11921
  /** Cursor for the previous page of results. */
12310
11922
  before?: string | null;
12311
11923
  }
12312
- //#endregion
12313
- //#region src/vault/interfaces/version-list-response.interface.d.ts
12314
11924
  interface VersionListResponse {
12315
11925
  /** List of object versions. */
12316
11926
  data: ObjectVersion[];
12317
11927
  listMetadata: ListMetadata;
12318
11928
  }
12319
- //#endregion
12320
- //#region src/vault/interfaces/object-summary.interface.d.ts
12321
11929
  /** Summary of an encrypted object returned in list responses. */
12322
11930
  interface ObjectSummary {
12323
11931
  /** Unique identifier of the object. */
@@ -12332,14 +11940,10 @@ interface ObjectSummaryResponse {
12332
11940
  name: string;
12333
11941
  updated_at?: string | null;
12334
11942
  }
12335
- //#endregion
12336
- //#region src/vault/interfaces/read-object-by-name-options.interface.d.ts
12337
11943
  interface ReadObjectByNameOptions {
12338
11944
  /** Unique name of the object. */
12339
11945
  name: string;
12340
11946
  }
12341
- //#endregion
12342
- //#region src/vault/vault.d.ts
12343
11947
  declare class Vault {
12344
11948
  private readonly workos;
12345
11949
  constructor(workos: WorkOS);
@@ -12489,8 +12093,6 @@ declare class Vault {
12489
12093
  decrypt(encryptedData: string, associatedData?: string): Promise<string>;
12490
12094
  encrypt(data: string, context: KeyContext, associatedData?: string): Promise<string>;
12491
12095
  }
12492
- //#endregion
12493
- //#region src/workos.d.ts
12494
12096
  /** WorkOS REST API */
12495
12097
  declare class WorkOS {
12496
12098
  readonly baseURL: string;
@@ -12583,11 +12185,7 @@ declare class WorkOS {
12583
12185
  error: unknown;
12584
12186
  }): void;
12585
12187
  }
12586
- //#endregion
12587
- //#region src/webhooks/interfaces/list-webhook-endpoints-options.interface.d.ts
12588
12188
  type ListWebhookEndpointsOptions = PaginationOptions;
12589
- //#endregion
12590
- //#region src/webhooks/interfaces/create-webhook-endpoint-events.interface.d.ts
12591
12189
  declare const CreateWebhookEndpointEvents: {
12592
12190
  readonly AgentBlueprintCreated: "agent.blueprint.created";
12593
12191
  readonly AgentBlueprintDeleted: "agent.blueprint.deleted";
@@ -12696,23 +12294,17 @@ declare const CreateWebhookEndpointEvents: {
12696
12294
  readonly WaitlistUserDenied: "waitlist_user.denied";
12697
12295
  };
12698
12296
  type CreateWebhookEndpointEvents = (typeof CreateWebhookEndpointEvents)[keyof typeof CreateWebhookEndpointEvents];
12699
- //#endregion
12700
- //#region src/webhooks/interfaces/create-webhook-endpoint-options.interface.d.ts
12701
12297
  interface CreateWebhookEndpointOptions {
12702
12298
  /** The HTTPS URL where webhooks will be sent. */
12703
12299
  endpointUrl: string;
12704
12300
  /** The events that the Webhook Endpoint is subscribed to. */
12705
12301
  events: CreateWebhookEndpointEvents[];
12706
12302
  }
12707
- //#endregion
12708
- //#region src/webhooks/interfaces/update-webhook-endpoint-status.interface.d.ts
12709
12303
  declare const UpdateWebhookEndpointStatus: {
12710
12304
  readonly Enabled: "enabled";
12711
12305
  readonly Disabled: "disabled";
12712
12306
  };
12713
12307
  type UpdateWebhookEndpointStatus = (typeof UpdateWebhookEndpointStatus)[keyof typeof UpdateWebhookEndpointStatus];
12714
- //#endregion
12715
- //#region src/webhooks/interfaces/update-webhook-endpoint-events.interface.d.ts
12716
12308
  declare const UpdateWebhookEndpointEvents: {
12717
12309
  readonly AgentBlueprintCreated: "agent.blueprint.created";
12718
12310
  readonly AgentBlueprintDeleted: "agent.blueprint.deleted";
@@ -12821,8 +12413,6 @@ declare const UpdateWebhookEndpointEvents: {
12821
12413
  readonly WaitlistUserDenied: "waitlist_user.denied";
12822
12414
  };
12823
12415
  type UpdateWebhookEndpointEvents = (typeof UpdateWebhookEndpointEvents)[keyof typeof UpdateWebhookEndpointEvents];
12824
- //#endregion
12825
- //#region src/webhooks/interfaces/update-webhook-endpoint-options.interface.d.ts
12826
12416
  interface UpdateWebhookEndpointOptions {
12827
12417
  /** Unique identifier of the Webhook Endpoint. */
12828
12418
  id: string;
@@ -12833,21 +12423,15 @@ interface UpdateWebhookEndpointOptions {
12833
12423
  /** The events that the Webhook Endpoint is subscribed to. */
12834
12424
  events?: UpdateWebhookEndpointEvents[];
12835
12425
  }
12836
- //#endregion
12837
- //#region src/webhooks/interfaces/delete-webhook-endpoint-options.interface.d.ts
12838
12426
  interface DeleteWebhookEndpointOptions {
12839
12427
  /** Unique identifier of the Webhook Endpoint. */
12840
12428
  id: string;
12841
12429
  }
12842
- //#endregion
12843
- //#region src/webhooks/interfaces/webhook-endpoint-status.interface.d.ts
12844
12430
  declare const WebhookEndpointStatus: {
12845
12431
  readonly Enabled: "enabled";
12846
12432
  readonly Disabled: "disabled";
12847
12433
  };
12848
12434
  type WebhookEndpointStatus = (typeof WebhookEndpointStatus)[keyof typeof WebhookEndpointStatus];
12849
- //#endregion
12850
- //#region src/webhooks/interfaces/webhook-endpoint.interface.d.ts
12851
12435
  interface WebhookEndpoint {
12852
12436
  /** Distinguishes the Webhook Endpoint object. */
12853
12437
  object: 'webhook_endpoint';
@@ -12876,8 +12460,6 @@ interface WebhookEndpointResponse {
12876
12460
  created_at: string;
12877
12461
  updated_at: string;
12878
12462
  }
12879
- //#endregion
12880
- //#region src/webhooks/webhooks.d.ts
12881
12463
  declare class Webhooks {
12882
12464
  private readonly workos;
12883
12465
  constructor(workos: WorkOS);
@@ -12951,23 +12533,17 @@ declare class Webhooks {
12951
12533
  }): Promise<Event>;
12952
12534
  private parseVerifiedPayload;
12953
12535
  }
12954
- //#endregion
12955
- //#region src/common/exceptions/api-key-required.exception.d.ts
12956
12536
  declare class ApiKeyRequiredException extends Error {
12957
12537
  readonly status = 403;
12958
12538
  readonly name = "ApiKeyRequiredException";
12959
12539
  readonly path: string;
12960
12540
  constructor(path: string);
12961
12541
  }
12962
- //#endregion
12963
- //#region src/common/interfaces/request-exception.interface.d.ts
12964
12542
  interface RequestException {
12965
12543
  readonly status: number;
12966
12544
  readonly message: string;
12967
12545
  readonly requestID: string;
12968
12546
  }
12969
- //#endregion
12970
- //#region src/common/exceptions/generic-server.exception.d.ts
12971
12547
  interface WorkOSErrorData {
12972
12548
  code?: string;
12973
12549
  message?: string;
@@ -12982,8 +12558,6 @@ declare class GenericServerException extends Error implements RequestException {
12982
12558
  readonly code: string | undefined;
12983
12559
  constructor(status: number, message: string | undefined, rawData: WorkOSErrorData, requestID: string);
12984
12560
  }
12985
- //#endregion
12986
- //#region src/common/exceptions/authentication.exception.d.ts
12987
12561
  type AuthenticationErrorCode = 'email_verification_required' | 'organization_selection_required' | 'mfa_enrollment' | 'mfa_challenge' | 'mfa_verification' | 'radar_email_challenge' | 'radar_sms_challenge' | 'sso_required';
12988
12562
  interface BaseAuthenticationErrorData extends WorkOSErrorData {
12989
12563
  pending_authentication_token?: string;
@@ -13010,8 +12584,6 @@ declare class AuthenticationException extends GenericServerException {
13010
12584
  readonly radarChallengeId: string | undefined;
13011
12585
  constructor(status: number, rawData: AuthenticationErrorData, requestID: string);
13012
12586
  }
13013
- //#endregion
13014
- //#region src/common/exceptions/bad-request.exception.d.ts
13015
12587
  declare class BadRequestException extends Error implements RequestException {
13016
12588
  readonly status = 400;
13017
12589
  readonly name = "BadRequestException";
@@ -13026,8 +12598,6 @@ declare class BadRequestException extends Error implements RequestException {
13026
12598
  requestID: string;
13027
12599
  });
13028
12600
  }
13029
- //#endregion
13030
- //#region src/common/exceptions/conflict.exception.d.ts
13031
12601
  declare class ConflictException extends Error implements RequestException {
13032
12602
  readonly status = 409;
13033
12603
  readonly name = "ConflictException";
@@ -13040,15 +12610,11 @@ declare class ConflictException extends Error implements RequestException {
13040
12610
  code?: string;
13041
12611
  });
13042
12612
  }
13043
- //#endregion
13044
- //#region src/common/exceptions/no-api-key-provided.exception.d.ts
13045
12613
  declare class NoApiKeyProvidedException extends Error {
13046
12614
  readonly status = 500;
13047
12615
  readonly name = "NoApiKeyProvidedException";
13048
12616
  readonly message: string;
13049
12617
  }
13050
- //#endregion
13051
- //#region src/common/exceptions/not-found.exception.d.ts
13052
12618
  declare class NotFoundException extends Error implements RequestException {
13053
12619
  readonly status = 404;
13054
12620
  readonly name = "NotFoundException";
@@ -13062,8 +12628,6 @@ declare class NotFoundException extends Error implements RequestException {
13062
12628
  requestID: string;
13063
12629
  });
13064
12630
  }
13065
- //#endregion
13066
- //#region src/common/exceptions/oauth.exception.d.ts
13067
12631
  declare class OauthException extends Error implements RequestException {
13068
12632
  readonly status: number;
13069
12633
  readonly requestID: string;
@@ -13073,8 +12637,6 @@ declare class OauthException extends Error implements RequestException {
13073
12637
  readonly name = "OauthException";
13074
12638
  constructor(status: number, requestID: string, error: string | undefined, errorDescription: string | undefined, rawData: unknown);
13075
12639
  }
13076
- //#endregion
13077
- //#region src/common/exceptions/rate-limit-exceeded.exception.d.ts
13078
12640
  declare class RateLimitExceededException extends GenericServerException {
13079
12641
  /**
13080
12642
  * The number of seconds to wait before retrying the request.
@@ -13087,14 +12649,10 @@ declare class RateLimitExceededException extends GenericServerException {
13087
12649
  */
13088
12650
  retryAfter: number | null);
13089
12651
  }
13090
- //#endregion
13091
- //#region src/common/exceptions/signature-verification.exception.d.ts
13092
12652
  declare class SignatureVerificationException extends Error {
13093
12653
  readonly name = "SignatureVerificationException";
13094
12654
  constructor(message: string);
13095
12655
  }
13096
- //#endregion
13097
- //#region src/common/exceptions/unauthorized.exception.d.ts
13098
12656
  declare class UnauthorizedException extends Error implements RequestException {
13099
12657
  readonly requestID: string;
13100
12658
  readonly status = 401;
@@ -13102,8 +12660,6 @@ declare class UnauthorizedException extends Error implements RequestException {
13102
12660
  readonly message: string;
13103
12661
  constructor(requestID: string);
13104
12662
  }
13105
- //#endregion
13106
- //#region src/common/exceptions/unprocessable-entity.exception.d.ts
13107
12663
  declare class UnprocessableEntityException extends Error implements RequestException {
13108
12664
  readonly status = 422;
13109
12665
  readonly name = "UnprocessableEntityException";
@@ -13118,8 +12674,6 @@ declare class UnprocessableEntityException extends Error implements RequestExcep
13118
12674
  requestID: string;
13119
12675
  });
13120
12676
  }
13121
- //#endregion
13122
- //#region src/feature-flags/create-rule-with-targets-error.d.ts
13123
12677
  /** A rule was created, but adding one of its targets failed. */
13124
12678
  declare class CreateRuleWithTargetsError extends Error {
13125
12679
  readonly rule: FlagRule;
@@ -13131,8 +12685,6 @@ declare class CreateRuleWithTargetsError extends Error {
13131
12685
  /** Memberships confirmed by the API before the failure. */
13132
12686
  targets: FlagTarget[], failedTargetId: string, cause: unknown);
13133
12687
  }
13134
- //#endregion
13135
- //#region src/admin-portal/interfaces/sso-intent-options.interface.d.ts
13136
12688
  interface SSOIntentOptions {
13137
12689
  /** The bookmark slug to use for SSO. */
13138
12690
  bookmarkSlug?: string;
@@ -13143,8 +12695,6 @@ interface SSOIntentOptionsResponse {
13143
12695
  bookmark_slug?: string;
13144
12696
  provider_type?: 'GoogleSAML';
13145
12697
  }
13146
- //#endregion
13147
- //#region src/admin-portal/interfaces/intent-options.interface.d.ts
13148
12698
  interface IntentOptions {
13149
12699
  /** SSO-specific options for the Admin Portal. */
13150
12700
  sso: SSOIntentOptions;
@@ -13152,8 +12702,6 @@ interface IntentOptions {
13152
12702
  interface IntentOptionsResponse {
13153
12703
  sso: SSOIntentOptionsResponse;
13154
12704
  }
13155
- //#endregion
13156
- //#region src/admin-portal/interfaces/generate-link.interface.d.ts
13157
12705
  interface GenerateLink {
13158
12706
  /** The URL to go to when an admin clicks on your logo in the Admin Portal. If not specified, the return URL configured on the [Redirects](https://dashboard.workos.com/redirects) page will be used. */
13159
12707
  returnUrl?: string;
@@ -13189,8 +12737,6 @@ interface GenerateLinkResponse {
13189
12737
  it_contact_emails?: string[];
13190
12738
  external_user_id?: string;
13191
12739
  }
13192
- //#endregion
13193
- //#region src/admin-portal/interfaces/portal-link-response.interface.d.ts
13194
12740
  interface PortalLinkResponse {
13195
12741
  /** An ephemeral link to initiate the Admin Portal. */
13196
12742
  link: string;
@@ -13198,8 +12744,6 @@ interface PortalLinkResponse {
13198
12744
  interface PortalLinkResponseWire {
13199
12745
  link: string;
13200
12746
  }
13201
- //#endregion
13202
- //#region src/factory.d.ts
13203
12747
  /**
13204
12748
  * Method names available without API key - single source of truth.
13205
12749
  * Add new public methods here to expose them on PublicUserManagement.
@@ -13272,6 +12816,4 @@ interface ConfidentialClientOptions extends WorkOSOptions {
13272
12816
  */
13273
12817
  declare function createWorkOS(options: PublicClientOptions): PublicWorkOS;
13274
12818
  declare function createWorkOS(options: ConfidentialClientOptions): WorkOS;
13275
- //#endregion
13276
- export { UpdateObjectOptions as $, CreateGroupRoleAssignmentOptionsForOrganization as $_, FeatureFlagsFlagRuleCreatedEventResponse as $a, WaitlistUserDeniedEvent as $c, ResourceExportResourceType as $d, SerializedSendRadarSmsChallengeOptions as $f, ConnectionResponse as $g, AuthenticateWithMagicAuthOptions as $h, ConnectionDeactivatedEvent as $i, DataIntegrationState as $l, UserConsentOptionResponse as $m, OrganizationResponse as $n, OrganizationDomainVerificationFailedEventResponse as $o, InvitationResponse as $p, AgentRegistrationDeletedEvent as $r, ResourceExportCreatedEvent as $s, RadarListType as $t, ConnectedAccountAuthMethod as $u, SerializedUpdateAuthorizationResourceOptions as $v, AgentRegistrationClaimCompletedEventResponseData as $y, WorkOSErrorData as A, RoleEvent as A_, DsyncUserUpdatedEventResponse as Aa, ListAgentBlueprintsOptions as Ab, VaultDataDeletedEventResponse as Ac, FlagPollResponse as Ad, WaitlistUserEventResponseData as Af, ProfileAndToken as Ag, AuthenticationEventStatus as Ah, AuthenticationOAuthSucceededEventResponse as Ai, DataIntegrationsUpsertClientCredentialsRequestConnectionOwner as Al, GetApplicationOptions as Am, RefreshAgentTokenOptions as An, InvitationAcceptedEvent as Ao, ListUsersOptions as Ap, ActionUserRegistrationDeniedEventResponse as Ar, PipesAccountConnectionConnectionFailedEvent as As, AuditLogSchemaMetadata as At, CreateDataIntegrationOwnership as Au, ListMembershipsForResourceByExternalIdOptions as Av, DirectoryToken as Ay, ObjectSummary as B, GroupRoleAssignmentEntryWithResourceId as B_, FeatureFlagEventData as Ba, HttpClientResponseInterface as Bb, VaultDekRekeyedEventResponse as Bc, FlagTarget as Bd, UpdateUserPasswordOptions as Bf, ConnectionEventConnection as Bg, AuthenticateUserWithPasswordCredentials as Bh, AuthenticationRadarRiskDetectedEventResponse as Bi, DataIntegrationsListResponseDataConnectedAccount as Bl, RedirectUriInput as Bm, PKCEPair as Bn, MagicAuthCreatedEvent as Bo, AuthorizationOrganizationMembershipResponse as Bp, AgentInstanceDeletedEventResponse as Br, PipesConnectedAccountConnectionFailedEventResponse as Bs, VerifyChallengeOptions as Bt, DataIntegrationsVendCredentialsRequestConnectionOwner as Bu, SerializedAuthorizationCheckOptions as Bv, DirectoryGroupResponse as By, ConflictException as C, DirectoryUserWithGroups as C_, DsyncTokenRevokedEvent as Ca, ListAgentInstancesOptions as Cb, VaultByokKeyDeletedEvent as Cc, RemoveFlagTargetOptions as Cd, OrganizationDomain as Cf, AuthenticationResponseResponse as Cg, TotpWithSecretsResponse as Ch, AuthenticationMfaFailedEvent as Ci, FinishConnectionOptions as Cl, TokenExchangeResponse as Cm, SerializedClaimAttemptResponse as Cn, GroupMemberAddedEventResponse as Co, LogoutURLOptions as Cp, List as Cr, PermissionDeletedEventResponse as Cs, CreateAuditLogEventOptions as Ct, DataIntegrationAccessTokenResponseAccessTokenResponse as Cu, RoleAssignment as Cv, EnvironmentRoleList as Cy, AuthenticationException as D, OrganizationRoleEventResponse as D_, DsyncUserDeletedEvent as Da, AgentBlueprintInvocableBy as Db, VaultDataCreatedEvent as Dc, FlagChange as Dd, CreateOrganizationDomainOptions as Df, UserResponse as Dg, AuthenticationEventResponse as Dh, AuthenticationOAuthFailedEvent as Di, DeleteDataIntegrationOptions as Dl, NewConnectApplicationSecretResponse as Dm, MintAgentTokenOptions as Dn, GroupMemberRemovedEventResponse as Do, WaitlistEntry as Dp, ActionAuthenticationDeniedEvent as Dr, PipesAccountConnectionAddFailedEventResponse as Ds, AuditLogsRetentionResponse as Dt, CreateDataIntegrationOptions as Du, RoleAssignmentRole as Dv, DirectoryUserWithGroupsEmail as Dy, AuthenticationErrorData as E, OrganizationRoleEvent as E_, DsyncUserCreatedEventResponse as Ea, AgentBlueprint as Eb, VaultByokKeyVerificationCompletedEventResponse as Ec, ListFlagRulesOptions as Ed, OrganizationDomainVerificationStrategy as Ef, User as Eg, AuthenticationEvent as Eh, AuthenticationMfaSucceededEventResponse as Ei, DeleteOrganizationConnectedAccountOptions as El, NewConnectApplicationSecret as Em, MintAgentDelegatedAgentTokenOptions as En, GroupMemberRemovedEvent as Eo, SerializedListWaitlistEntriesOptions as Ep, GenerateLinkIntent as Er, PipesAccountConnectionAddFailedEvent as Es, AuditLogsRetention as Et, OrganizationConnectedAccountState as Eu, RoleAssignmentResponse as Ev, DirectoryUserWithGroupsState as Ey, WebhookEndpointStatus as F, ListEffectivePermissionsOptions as F_, EventName as Fa, SerializedUpdateAgentBlueprintOptions as Fb, VaultDekDecryptedEvent as Fc, EvaluationResource as Fd, SerializedUserApiKeyWithValue as Ff, OauthTokensResponse as Fg, AuthenticateWithRefreshTokenPublicClientOptions as Fh, AuthenticationPasswordFailedEvent as Fi, DataIntegrationsListResponseWire as Fl, CreateApplicationOptions as Fm, ListAgentInstanceSessionsOptions as Fn, InvitationResentEventResponse as Fo, ListSessionsOptions as Fp, AgentBlueprintUpdatedEvent as Fr, PipesAccountConnectionReauthorizationNeededEventResponse as Fs, AuditLogExportState as Ft, DataIntegrationCredentialsInputResponse as Fu, SerializedListResourcesForMembershipOptions as Fv, DirectoryMetadata as Fy, VaultObjectResponse as G, RemoveGroupRoleAssignmentsOptions as G_, FeatureFlagRuleUpdatedContextResponse as Ga, CryptoProvider as Gb, VaultMetadataReadEvent as Gc, LegacyFlagTargetResponse as Gd, AuthMethod as Gf, ConnectionSamlCertificateRenewedEventResponseData as Gg, SerializedAuthenticateWithOrganizationSelectionOptions as Gh, AuthenticationSSOStartedEvent as Gi, DataIntegrationsListResponseDataConnectedAccountConnectionRole as Gl, ConnectApplicationM2MResponse as Gm, ActionContext as Gn, OrganizationDeletedResponse as Go, OrganizationMembershipStatus as Gp, AgentRegistrationClaimAttemptCreatedEvent as Gr, PipesConnectedAccountResponse as Gs, RadarListEntryAlreadyPresentResponse as Gt, DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner as Gu, ListAuthorizationResourcesOptions as Gv, AgentBlueprintEventResponseData as Gy, ObjectVersion as H, SerializedGroupRoleAssignmentEntry as H_, FeatureFlagRuleContext as Ha, RequestOptions as Hb, VaultKekCreatedEventResponse as Hc, FlagTargetResourceResponse as Hd, UpdateUserOptions as Hf, ConnectionSamlCertificateRenewalRequiredEventData as Hg, SerializedAuthenticateWithPasswordOptions as Hh, AuthenticationReauthenticationSucceededEventResponse as Hi, DataIntegrationsListResponseDataConnectedAccountWarning as Hl, CreateApplicationClientSecretOptions as Hm, AuthenticationActionResponseData as Hn, OrganizationCreatedEvent as Ho, BaseOrganizationMembershipResponse as Hp, AgentInstanceSessionCreatedEventResponse as Hr, PipesConnectedAccountDisconnectedEventResponse as Hs, Challenge as Ht, DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner as Hu, DeleteAuthorizationResourceByExternalIdOptions as Hv, AgentBlueprintDeletedEventData as Hy, UpdateWebhookEndpointEvents as I, BaseGroupRoleAssignmentEntry as I_, EventResponse as Ia, UpdateAgentBlueprintOptions as Ib, VaultDekDecryptedEventResponse as Ic, LegacyEvaluationContext as Id, UserApiKeyWithValue as If, ListConnectionsOptions as Ig, SerializedAuthenticateWithRefreshTokenPublicClientOptions as Ih, AuthenticationPasswordFailedEventResponse as Ii, DataIntegrationsListResponseData as Il, CreateM2MApplication as Im, SerializedAgentInstanceSession as In, InvitationRevokedEvent as Io, SerializedListSessionsOptions as Ip, AgentBlueprintUpdatedEventResponse as Ir, PipesConnectedAccount as Is, AuditLogExportOptions as It, DataIntegrationCredentialsInputType as Iu, AuthorizationCheckOptions as Iv, DirectoryMetadataResponse as Iy, Actor as J, RemoveGroupRoleAssignmentsOptionsWithResourceId as J_, FeatureFlagsFlagCreatedEvent as Ja, VaultNamesListedEventResponse as Jc, CreateFlagTargetOptions as Jd, SessionStatus as Jf, SamlCertificateRenewed as Jg, SerializedAuthenticateWithRadarSmsChallengeOptions as Jh, AuthenticationSSOSucceededEventResponse as Ji, DataIntegrationsGetUserTokenRequest as Jl, ConnectApplicationResponse as Jm, UserDataPayload as Jn, OrganizationDomainDeletedEvent as Jo, ListGroupsForOrganizationMembershipOptions as Jp, AgentRegistrationClaimCompletedEventResponse as Jr, PipesConnectionFailedResponse as Js, RadarStandaloneResponseWire as Jt, ConnectedAccountWarning as Ju, AuthorizationResourceResponse as Jv, AgentInstanceSessionEventData as Jy, ObjectMetadata as K, RemoveGroupRoleAssignmentsOptionsForOrganization as K_, FeatureFlagUpdatedContext as Ka, VaultMetadataReadEventResponse as Kc, FlagRule as Kd, Session as Kf, SamlCertificateRenewalRequired as Kg, AuthenticateUserWithRadarSmsChallengeCredentials as Kh, AuthenticationSSOStartedEventResponse as Ki, DataIntegrationsListResponseDataConnectedAccountAuthMethod as Kl, ConnectApplicationOAuth as Km, ActionPayload as Kn, OrganizationDomainCreatedEvent as Ko, ListInvitationsOptions as Kp, AgentRegistrationClaimAttemptCreatedEventResponse as Kr, PipesConnectedAccountState as Ks, RadarListEntryAlreadyPresentResponseWire as Kt, ConnectedAccount as Ku, SerializedListAuthorizationResourcesOptions as Kv, AgentInstanceSessionCreatedEventData as Ky, UpdateWebhookEndpointStatus as L, GroupRoleAssignmentEntry as L_, FeatureFlagActor as La, PaginationOptions as Lb, VaultDekReadEvent as Lc, TypedEvaluationContext as Ld, SerializedUserApiKey as Lf, SerializedListConnectionsOptions as Lg, AuthenticateUserWithRefreshTokenCredentials as Lh, AuthenticationPasswordSucceededEvent as Li, DataIntegrationsListResponseDataResponse as Ll, CreateM2MApplicationResponse as Lm, SerializedListAgentInstanceSessionsOptions as Ln, InvitationRevokedEventResponse as Lo, ListOrganizationMembershipsOptions as Lp, AgentInstanceCreatedEvent as Lr, PipesConnectedAccountConnectedEvent as Ls, SerializedAuditLogExportOptions as Lt, CreateDataIntegrationCredentialOptions as Lu, AuthorizationCheckOptionsWithResourceExternalId as Lv, DirectoryMetadataUser as Ly, Webhooks as M, RoleList as M_, EmailVerificationCreatedEventResponse as Ma, SerializedAgentBlueprintInvocableBy as Mb, VaultDataReadEventResponse as Mc, FeatureFlag as Md, WaitlistResponse as Mf, Profile as Mg, AuthenticateUserWithTotpCredentials as Mh, AuthenticationPasskeyFailedEventResponse as Mi, DataIntegrationsUpsertApiKeyRequestResponse as Ml, ExternalAuthCompleteResponseWire as Mm, SerializedMintAgentTokenOptions as Mn, InvitationCreatedEvent as Mo, ListUserApiKeysOptions as Mp, AgentBlueprintCreatedEventResponse as Mr, PipesAccountConnectionDisconnectedEvent as Ms, AuditLogTargetSchema as Mt, CustomProviderDefinitionResponse as Mu, ListResourcesForMembershipOptions as Mv, DirectorySyncGetGroupOptions as My, WebhookEndpoint as N, RoleResponse as N_, Event as Na, SerializedAgentBlueprintSessionSettings as Nb, VaultDataUpdatedEvent as Nc, FeatureFlagResponse as Nd, SerializedVerifyEmailOptions as Nf, ProfileResponse as Ng, AuthenticateWithTotpOptions as Nh, AuthenticationPasskeySucceededEvent as Ni, DataIntegrationsUpsertApiKeyRequestConnectionOwner as Nl, DeleteClientSecretOptions as Nm, AgentInstanceSession as Nn, InvitationCreatedEventResponse as No, SerializedListUserApiKeysOptions as Np, AgentBlueprintDeletedEvent as Nr, PipesAccountConnectionDisconnectedEventResponse as Ns, AuditLogExport as Nt, CustomProviderDefinitionAuthenticateVia as Nu, ListResourcesForMembershipOptionsWithParentExternalId as Nv, DirectoryState as Ny, isAuthenticationErrorData as O, OrganizationRoleResponse as O_, DsyncUserDeletedEventResponse as Oa, AgentBlueprintSessionSettings as Ob, VaultDataCreatedEventResponse as Oc, FlagPollCondition as Od, SerializedCreateOrganizationDomainOptions as Of, Impersonator as Og, AuthenticationEventSso as Oh, AuthenticationOAuthFailedEventResponse as Oi, DataIntegrationsUpsertClientCredentialsRequest as Ol, ListApplicationsOptions as Om, MintAutonomousAgentTokenOptions as On, GroupUpdatedEvent as Oo, WaitlistEntryResponse as Op, ActionAuthenticationDeniedEventResponse as Or, PipesAccountConnectionConnectedEvent as Os, AuditLogActorSchema as Ot, CreateDataIntegration as Ou, RoleAssignmentSource as Ov, DirectoryUserWithGroupsEmailResponse as Oy, WebhookEndpointResponse as P, ListEffectivePermissionsByExternalIdOptions as P_, EventBase as Pa, SerializedCreateAgentBlueprintOptions as Pb, VaultDataUpdatedEventResponse as Pc, EvaluationContext as Pd, VerifyEmailOptions as Pf, OauthTokens as Pg, SerializedAuthenticateWithTotpOptions as Ph, AuthenticationPasskeySucceededEventResponse as Pi, DataIntegrationsListResponse as Pl, DeleteApplicationOptions as Pm, AgentInstanceSessionStatus as Pn, InvitationResentEvent as Po, ListUserFeatureFlagsOptions as Pp, AgentBlueprintDeletedEventResponse as Pr, PipesAccountConnectionReauthorizationNeededEvent as Ps, AuditLogExportResponse as Pt, DataIntegrationCredentialsInput as Pu, ListResourcesForMembershipOptionsWithParentId as Pv, DirectoryStateResponse as Py, UpdateObjectEntity as Q, CreateGroupRoleAssignmentOptions as Q_, FeatureFlagsFlagRuleCreatedEvent as Qa, WaitlistUserCreatedEventResponse as Qc, ResourceExportEventResponseData as Qd, SendRadarSmsChallengeResponseResponse as Qf, ConnectionDomain as Qg, AuthenticateUserWithMagicAuthCredentials as Qh, ConnectionActivatedEventResponse as Qi, DataIntegrationResponse as Ql, UserConsentOption as Qm, Organization as Qn, OrganizationDomainVerificationFailedEvent as Qo, InvitationEventResponse as Qp, AgentRegistrationCredentialIssuedEventResponse as Qr, ResourceExportCompletedEventResponse as Qs, RadarListAction as Qt, ConnectedAccountConnectionRole as Qu, SerializedCreateAuthorizationResourceOptions as Qv, AgentRegistrationClaimCompletedEventData as Qy, CreateWebhookEndpointEvents as R, GroupRoleAssignmentEntryForOrganization as R_, FeatureFlagContext as Ra, HttpClient as Rb, VaultDekReadEventResponse as Rc, CreateRuleWithTargetsOptions as Rd, UserApiKey as Rf, GetProfileAndTokenOptions as Rg, AuthenticateWithRefreshTokenOptions as Rh, AuthenticationPasswordSucceededEventResponse as Ri, DataIntegrationsListResponseDataOwnership as Rl, CreateOAuthApplication as Rm, AutoPaginatable as Rn, KnownEvent as Ro, SerializedListOrganizationMembershipsOptions as Rp, AgentInstanceCreatedEventResponse as Rr, PipesConnectedAccountConnectedEventResponse as Rs, VerifyResponse as Rt, DataIntegrationsVendCredentialsRequest as Ru, AuthorizationCheckOptionsWithResourceId as Rv, DirectoryMetadataUserResponse as Ry, NoApiKeyProvidedException as S, DirectoryUserResponse as S_, DsyncTokenCreatedEventResponse as Sa, AgentInstanceType as Sb, UserUpdatedEventResponse as Sc, RuntimeClientOptions as Sd, OrganizationDomainVerificationFailedResponse as Sf, AuthenticationResponse as Sg, TotpWithSecrets as Sh, AuthenticationMagicAuthSucceededEventResponse as Si, GetAccessTokenOptions as Sl, ExchangeTokenOptions as Sm, LinkClaimAttemptToExternalUserOptions as Sn, GroupMemberAddedEvent as So, MagicAuthResponse as Sp, PatchOptions as Sr, PermissionDeletedEvent as Ss, AuditLogTarget as St, DataIntegrationAccessTokenResponseAccessToken as Su, SerializedListRoleAssignmentsOptions as Sv, EnvironmentRole as Sy, AuthenticationErrorCode as T, ListOrganizationRolesResponse as T_, DsyncUserCreatedEvent as Ta, SerializedListAgentInstancesOptions as Tb, VaultByokKeyVerificationCompletedEvent as Tc, ListFlagTargetsOptions as Td, OrganizationDomainState as Tf, CreateUserResponseResponse as Tg, SmsResponse as Th, AuthenticationMfaSucceededEvent as Ti, DeleteOrganizationDataIntegrationOptions as Tl, UpdateApplicationOptions as Tm, AgentToken as Tn, GroupMemberEventResponseData as To, ListWaitlistEntriesOptions as Tp, GetOptions as Tr, PermissionUpdatedEventResponse as Ts, SerializedCreateAuditLogEventOptions as Tt, CreateOrganizationConnectedAccountOptions as Tu, RoleAssignmentResourceResponse as Tv, EnvironmentRoleResponse as Ty, ObjectVersionResponse as U, SerializedReplaceGroupRoleAssignmentsOptions as U_, FeatureFlagRuleContextResponse as Ua, ResponseHeaderValue as Ub, VaultKekDeletedEvent as Uc, FlagTargetResponse as Ud, SerializedUpdateOrganizationMembershipOptions as Uf, ConnectionSamlCertificateRenewalRequiredEventResponseData as Ug, AuthenticateUserWithOrganizationSelectionCredentials as Uh, AuthenticationSSOFailedEvent as Ui, DataIntegrationsListResponseDataConnectedAccountWarningResponse as Ul, ConnectApplication as Um, ResponsePayload as Un, OrganizationCreatedResponse as Uo, OrganizationMembership as Up, AgentInstanceSessionRevokedEvent as Ur, PipesConnectedAccountReauthorizationNeededEvent as Us, ChallengeResponse as Ut, CreateDataIntegrationAuthMethods as Uu, UpdateAuthorizationResourceByExternalIdOptions as Uv, AgentBlueprintDeletedEventResponseData as Uy, ObjectSummaryResponse as V, ReplaceGroupRoleAssignmentsOptions as V_, FeatureFlagEventResponseData as Va, RequestHeaders as Vb, VaultKekCreatedEvent as Vc, FlagTargetResource as Vd, SerializedUpdateUserOptions as Vf, ConnectionEventConnectionResponse as Vg, AuthenticateWithPasswordOptions as Vh, AuthenticationReauthenticationSucceededEvent as Vi, DataIntegrationsListResponseDataConnectedAccountResponse as Vl, RedirectUriInputResponse as Vm, Actions as Vn, MagicAuthCreatedEventResponse as Vo, BaseOrganizationMembership as Vp, AgentInstanceSessionCreatedEvent as Vr, PipesConnectedAccountDisconnectedEvent as Vs, EnrollFactorOptions as Vt, CreateDataIntegrationClientCredentialOptions as Vu, DeleteAuthorizationResourceOptions as Vv, DeleteDirectoryOptions as Vy, VaultObject as W, BaseRemoveGroupRoleAssignmentsOptions as W_, FeatureFlagRuleUpdatedContext as Wa, ResponseHeaders as Wb, VaultKekDeletedEventResponse as Wc, LegacyFlagTarget as Wd, UpdateOrganizationMembershipOptions as Wf, ConnectionSamlCertificateRenewedEventData as Wg, AuthenticateWithOrganizationSelectionOptions as Wh, AuthenticationSSOFailedEventResponse as Wi, DataIntegrationsListResponseDataConnectedAccountState as Wl, ConnectApplicationM2M as Wm, UserRegistrationActionResponseData as Wn, OrganizationDeletedEvent as Wo, OrganizationMembershipResponse as Wp, AgentInstanceSessionRevokedEventResponse as Wr, PipesConnectedAccountReauthorizationNeededEventResponse as Ws, ChallengeFactorOptions as Wt, CreateDataIntegrationApiKeyOptions as Wu, GetAuthorizationResourceByExternalIdOptions as Wv, AgentBlueprintEventData as Wy, CreateDataKeyResponse as X, RemoveGroupRoleAssignmentOptions as X_, FeatureFlagsFlagDeletedEvent as Xa, WaitlistUserApprovedEventResponse as Xc, AddFlagTargetOptions as Xd, SendRadarSmsChallengeOptions as Xf, SamlCertificateType as Xg, AuthenticateWithRadarEmailChallengeOptions as Xh, AuthenticationSSOTimedOutEventResponse as Xi, DataIntegrationsGetUserTokenRequestConnectionOwner as Xl, ConnectApplicationRedirectUriResponse as Xm, SerializedUpdateOrganizationOptions as Xn, OrganizationDomainUpdatedEvent as Xo, Invitation as Xp, AgentRegistrationCreatedEventResponse as Xr, RadarChallengeCreatedEventResponse as Xs, RadarStandaloneResponseControl as Xt, ConnectedAccountState as Xu, CreateOptionsWithParentExternalId as Xv, AgentRegistrationClaimAttemptCreatedEventData as Xy, ActorResponse as Y, SerializedRemoveGroupRoleAssignmentsOptions as Y_, FeatureFlagsFlagCreatedEventResponse as Ya, WaitlistUserApprovedEvent as Yc, CreateFlagRuleOptions as Yd, SendVerificationEmailOptions as Yf, SamlCertificateRenewedResponse as Yg, AuthenticateUserWithRadarEmailChallengeCredentials as Yh, AuthenticationSSOTimedOutEvent as Yi, DataIntegrationsGetUserTokenRequestResponse as Yl, ConnectApplicationRedirectUri as Ym, UserRegistrationActionPayload as Yn, OrganizationDomainDeletedEventResponse as Yo, ListAuthFactorsOptions as Yp, AgentRegistrationCreatedEvent as Yr, RadarChallengeCreatedEvent as Ys, RadarStandaloneResponseBlocklistType as Yt, ConnectedAccountWarningResponse as Yu, CreateAuthorizationResourceOptions as Yv, AgentInstanceSessionEventResponseData as Yy, CreateDataKeyResponseWire as Z, BaseCreateGroupRoleAssignmentOptions as Z_, FeatureFlagsFlagDeletedEventResponse as Za, WaitlistUserCreatedEvent as Zc, ResourceExportEventData as Zd, SendRadarSmsChallengeResponse as Zf, Connection as Zg, SerializedAuthenticateWithRadarEmailChallengeOptions as Zh, ConnectionActivatedEvent as Zi, DataIntegration as Zl, CompleteOAuth2Options as Zm, UpdateOrganizationOptions as Zn, OrganizationDomainUpdatedEventResponse as Zo, InvitationEvent as Zp, AgentRegistrationCredentialIssuedEvent as Zr, ResourceExportCompletedEvent as Zs, RadarStandaloneResponseVerdict as Zt, ConnectedAccountInputState as Zu, CreateOptionsWithParentResourceId as Zv, AgentRegistrationClaimAttemptCreatedEventResponseData as Zy, UnauthorizedException as _, EventDirectoryResponse as __, DsyncGroupUserAddedEvent as _a, SerializedAgentIdentity as _b, UserCreatedEvent as _c, SerializedCreateGroupOptions as _d, SerializedApiKeyPreviousAttributes as _f, AuthenticateWithSessionCookieOptions as _g, FactorType as _h, AuthenticationEmailVerificationSucceededEvent as _i, PipesOwnership as _l, SerializedCreateOrganizationMembershipOptions as _m, ValidateAgentAccessTokenOptions as _n, FlagUpdatedEventResponse as _o, CreateMagicAuthResponse as _p, WorkOSResponseError as _r, PasswordResetCreatedEventResponse as _s, CreateAuditLogSchemaOptions as _t, DataIntegrationAuthorizeUrlResponse as _u, SerializedAssignRoleOptions as _v, SetEnvironmentRolePermissionsOptions as _y, PublicWorkOS as a, SlimRoleResponse as a_, ConnectionSamlCertificateRenewedEvent as aa, AgentRegistrationCredentialIssuedEventResponseData as ab, RoleCreatedEvent as ac, ApiKeyInstallation as ad, ActionUserRegistrationDeniedEventResponseData as af, SerializedAuthenticateWithCodeAndVerifierOptions as ag, ApplicationCredentialsListItemResponse as ah, AgentRegistrationRefreshedEvent as ai, UpdateOrganizationConnectedAccountOptions as al, EmailVerificationEventResponse as am, PasswordlessSession as an, FeatureFlagsFlagTargetCreatedEventResponse as ao, ResetPasswordOptions as ap, DeleteItContactOptions as ar, OrganizationMembershipDeletedResponse as as, CreateDataKeyOptions as at, DataIntegrationFinishConnectionResponseWire as au, GroupRoleAssignment as av, SerializedCreatePermissionOptions as ay, OauthException as b, DefaultCustomAttributes as b_, DsyncGroupUserRemovedEventResponse as ba, SerializedAgentRegistrationClaimCompletion as bb, UserDeletedEventResponse as bc, RuntimeClientStats as bd, SerializedApiKey as bf, UserManagementAccessToken as bg, Totp as bh, AuthenticationMagicAuthFailedEventResponse as bi, GetOrganizationConnectedAccountOptions as bl, AuthorizedConnectApplication as bm, ClaimAttemptOrganization as bn, GroupDeletedEvent as bo, MagicAuthEvent as bp, PutOptions as br, PermissionCreatedEvent as bs, SerializedCreateAuditLogSchemaOptions as bt, DataIntegrationAccessTokenResponse as bu, SerializedListRoleAssignmentsForResourceOptions as bv, CreateEnvironmentRoleOptions as by, PortalLinkResponseWire as c, ListGroupsInDirectoryOptions as c_, DsyncActivatedEventResponse as ca, AgentRegistrationMethod as cb, RoleDeletedEventResponse as cc, UpdateGroupOptions as cd, ValidateApiKeyResponse as cf, SerializedAuthenticateWithCodeOptions as cg, AuthenticationRadarRiskDetectedEventData as ch, AgentRegistrationRevokedEventResponse as ci, UpdateDataIntegrationResponse as cl, SerializedCreateWaitlistEntryOptions as cm, SerializedListEventOptions as cn, FeatureFlagsFlagUpdatedEvent as co, SerializedResendInvitationOptions as cp, ListItContactsOptions as cr, OrganizationRoleCreatedEvent as cs, CreateTokenOptions as ct, DataIntegrationCustomProviderAuthenticateVia as cu, BaseRemoveRoleOptions as cv, RemoveOrganizationRolePermissionOptions as cy, IntentOptions as d, SerializedListDirectoriesOptions as d_, DsyncGroupCreatedEvent as da, AgentIdentity as db, SessionCreatedEvent as dc, ListGroupOrganizationMembershipsOptions as dd, SerializedCreatedApiKey as df, SerializedAuthenticatePublicClientBase as dg, AuthenticationFactorResponse as dh, ApiKeyRevokedEvent as di, UpdateCustomProviderDefinition as dl, CreateUserApiKeyOptions as dm, AgentCredentialValidation as dn, FlagCreatedEventResponse as do, RetryableRefreshSessionFailureReason as dp, SerializedInviteItContactOptions as dr, OrganizationRoleDeletedEventResponse as ds, CookieSession as dt, DataIntegrationCredentialsResponseError as du, RemoveRoleOptionsWithResourceId as dv, SerializedUpdateOrganizationRoleOptions as dy, ConnectionState as e_, ConnectionDeactivatedEventResponse as ea, AgentRegistrationCreatedEventData as eb, ResourceExportCreatedEventResponse as ec, AuthorizeDataIntegrationOptions as ed, RadarChallengeCreatedEventData as ef, SerializedAuthenticateWithMagicAuthOptions as eg, UserConsentOptionChoice as eh, AgentRegistrationDeletedEventResponse as ei, WaitlistUserDeniedEventResponse as el, Identity as em, RadarStandaloneAssessRequestAction as en, FeatureFlagsFlagRuleDeletedEvent as eo, SendInvitationOptions as ep, ListOrganizationsOptions as er, OrganizationDomainVerifiedEvent as es, ReadObjectOptions as et, DataIntegrationOwnership as eu, CreateGroupRoleAssignmentOptionsWithResourceExternalId as ev, UpdateAuthorizationResourceOptions as ey, IntentOptionsResponse as f, GetUserOptions as f_, DsyncGroupCreatedEventResponse as fa, AgentRegistration as fb, SessionCreatedEventResponse as fc, Group as fd, CreateOrganizationApiKeyOptions as ff, SerializedAuthenticateWithOptionsBase as fg, AuthenticationFactorType as fh, ApiKeyRevokedEventResponse as fi, UpdateCustomProviderDefinitionResponse as fl, CreateUserApiKeyRequestOptions as fm, InvalidAgentCredential as fn, FlagDeletedEvent as fo, TerminalRefreshSessionFailureReason as fp, CreateOrganizationOptions as fr, OrganizationRoleUpdatedEvent as fs, UpdateOrganizationAuditLogsRetentionOptions as ft, DataIntegrationVendedCredential as fu, SerializedRemoveRoleOptions as fv, UpdateOrganizationRoleOptions as fy, UnprocessableEntityException as g, EventDirectory as g_, DsyncGroupUpdatedEventResponse as ga, AgentRegistrationStatus as gb, UnknownEventResponse as gc, CreateGroupOptions as gd, ApiKeyUpdatedEventData as gf, AuthenticateWithSessionCookieFailureReason as gg, FactorResponse as gh, AuthenticationEmailVerificationFailedEventResponse as gi, ListDataIntegrationsOptions as gl, CreateOrganizationMembershipOptions as gm, ValidAgentCredential as gn, FlagUpdatedEvent as go, PasswordResetResponse as gp, DomainDataState as gr, PasswordResetCreatedEvent as gs, GetOrganizationAuditLogsRetentionOptions as gt, DataIntegrationCredentialType as gu, BaseAssignRoleOptions as gv, AddEnvironmentRolePermissionOptions as gy, CreateRuleWithTargetsError as h, GetDirectoryGroupOptions as h_, DsyncGroupUpdatedEvent as ha, AgentRegistrationKind as hb, UnknownEvent as hc, DeleteGroupOptions as hd, ApiKeyPreviousAttributes as hf, AuthenticateWithSessionCookieFailedResponse as hg, Factor as hh, AuthenticationEmailVerificationFailedEvent as hi, ListOrganizationDataProvidersOptions as hl, SerializedCreatePasswordResetOptions as hm, SerializedValidateAgentCredentialOptions as hn, FlagRuleUpdatedEventResponse as ho, PasswordResetEventResponse as hp, DomainData as hr, OrganizationUpdatedResponse as hs, UpdateAuditLogsRetentionRetentionPeriod as ht, DataIntegrationCredentialResponse as hu, AssignRoleOptionsWithResourceId as hv, OrganizationRole as hy, PublicUserManagement as i, SlimRole as i_, ConnectionSamlCertificateRenewalRequiredEventResponse as ia, AgentRegistrationCredentialIssuedEventData as ib, ResourceExportFailedEventResponse as ic, DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner as id, ActionUserRegistrationDeniedEventData as if, AuthenticateWithCodeAndVerifierOptions as ig, ApplicationCredentialsListItem as ih, AgentRegistrationOrganizationSwitchedEventResponse as ii, UpdateUserConnectedAccountOptions as il, EmailVerificationEvent as im, SerializedCreatePasswordlessSessionOptions as in, FeatureFlagsFlagTargetCreatedEvent as io, serializeRevokeSessionOptions as ip, CreateItContactOptions as ir, OrganizationMembershipDeleted as is, DecryptDataKeyResponse as it, DataIntegrationFinishConnectionResponse as iu, ListGroupRoleAssignmentsOptions as iv, CreatePermissionOptions as iy, ApiKeyRequiredException as j, RoleEventResponse as j_, EmailVerificationCreatedEvent as ja, SerializedAgentBlueprint as jb, VaultDataReadEvent as jc, FlagPollRule as jd, Waitlist as jf, ProfileAndTokenResponse as jg, AuthenticationEventType as jh, AuthenticationPasskeyFailedEvent as ji, DataIntegrationsUpsertApiKeyRequest as jl, ExternalAuthCompleteResponse as jm, SerializedAgentToken as jn, InvitationAcceptedEventResponse as jo, SerializedListUsersOptions as jp, AgentBlueprintCreatedEvent as jr, PipesAccountConnectionConnectionFailedEventResponse as js, AuditLogSchemaResponse as jt, CustomProviderDefinition as ju, ListMembershipsForResourceOptions as jv, DirectoryTokenResponse as jy, GenericServerException as k, Role as k_, DsyncUserUpdatedEvent as ka, CreateAgentBlueprintOptions as kb, VaultDataDeletedEvent as kc, FlagPollEntry as kd, WaitlistUserEventData as kf, ImpersonatorResponse as kg, AuthenticationEventSsoResponse as kh, AuthenticationOAuthSucceededEvent as ki, DataIntegrationsUpsertClientCredentialsRequestResponse as kl, ListApplicationClientSecretsOptions as km, MintUserDelegatedAgentTokenOptions as kn, GroupUpdatedEventResponse as ko, WaitlistEntryState as kp, ActionUserRegistrationDeniedEvent as kr, PipesAccountConnectionConnectedEventResponse as ks, AuditLogSchema as kt, CreateDataIntegrationResponse as ku, RoleAssignmentSourceResponse as kv, DirectoryType as ky, GenerateLink as l, ListDirectoryUsersOptions as l_, DsyncDeletedEvent as la, AgentRegistrationOrganizationSwitchedEventData as lb, RoleUpdatedEvent as lc, RemoveGroupOrganizationMembershipOptions as ld, ListOrganizationApiKeysOptions as lf, AuthenticateWithOptionsBase as lg, AuthenticationRadarRiskDetectedEventResponseData as lh, ApiKeyCreatedEvent as li, UpdateDataIntegrationClientCredentialsOptions as ll, CreateUserOptions as lm, AgentAccessTokenClaims as ln, FeatureFlagsFlagUpdatedEventResponse as lo, RefreshSessionFailureReason as lp, RevokeItContactOptions as lr, OrganizationRoleCreatedEventResponse as ls, WidgetSessionTokenScopes as lt, DataIntegrationCredentialsResponse as lu, RemoveRoleOptions as lv, AddOrganizationRolePermissionOptions as ly, SSOIntentOptionsResponse as m, GetDirectoryOptions as m_, DsyncGroupDeletedEventResponse as ma, AgentRegistrationClaimCompletion as mb, SessionRevokedEventResponse as mc, GetGroupOptions as md, SerializedCreateOrganizationApiKeyOptions as mf, AccessTokenClaims as mg, AuthenticationFactorWithSecretsResponse as mh, ApiKeyUpdatedEventResponse as mi, ListUserDataProvidersOptions as ml, CreatePasswordResetOptions as mm, SerializedAgentCredentialValidation as mn, FlagRuleUpdatedEvent as mo, PasswordResetEvent as mp, SerializedCreateOrganizationOptions as mr, OrganizationUpdatedEvent as ms, UpdateAuditLogsRetentionResponse as mt, DataIntegrationCredential as mu, AssignRoleOptionsWithResourceExternalId as mv, SerializedCreateOrganizationRoleOptions as my, PublicClientOptions as n, SSOAuthorizationURLOptions as n_, ConnectionDeletedEventResponse as na, AgentRegistrationCredentialDetail as nb, ResourceExportDownloadedEventResponse as nc, DataIntegrationsGetDataIntegrationAuthorizeUrlRequestResponse as nd, ActionAuthenticationDeniedEventData as nf, AuthenticateWithEmailVerificationOptions as ng, UserObject as nh, AgentRegistrationExpiredEventResponse as ni, DataKeyPair as nl, SerializedEnrollUserInMfaFactorOptions as nm, SendSessionResponse as nn, FeatureFlagsFlagRuleUpdatedEvent as no, RevokeSessionOptions as np, ItContact as nr, OrganizationMembershipCreated as ns, CreateObjectOptions as nt, DataIntegrationInstallationResponse as nu, SerializedCreateGroupRoleAssignmentOptions as nv, SerializedUpdatePermissionOptions as ny, createWorkOS as o, ListUsersInDirectoryOptions as o_, ConnectionSamlCertificateRenewedEventResponse as oa, AgentRegistrationLifecycleEventData as ob, RoleCreatedEventResponse as oc, ApiKeyInstallationResponse as od, SerializedValidateApiKeyResponse as of, AuthenticateUserWithCodeCredentials as og, PKCEAuthorizationURLResult as oh, AgentRegistrationRefreshedEventResponse as oi, UpdateDataIntegrationOptions as ol, EmailVerificationResponse as om, PasswordlessSessionResponse as on, FeatureFlagsFlagTargetDeletedEvent as oo, SerializedResetPasswordOptions as op, InviteItContactOptions as or, OrganizationMembershipUpdated as os, WidgetSessionTokenResponse as ot, DataIntegrationCustomProvider as ou, GroupRoleAssignmentResponse as ov, Permission as oy, SSOIntentOptions as p, GetDirectoryUserOptions as p_, DsyncGroupDeletedEvent as pa, AgentRegistrationClaim as pb, SessionRevokedEvent as pc, GroupResponse as pd, CreateOrganizationApiKeyRequestOptions as pf, WithResolvedClientId as pg, AuthenticationFactorWithSecrets as ph, ApiKeyUpdatedEvent as pi, UpdateCustomProviderDefinitionAuthenticateVia as pl, SerializedCreateUserApiKeyOptions as pm, SerializedAgentAccessTokenClaims as pn, FlagDeletedEventResponse as po, PasswordReset as pp, CreateOrganizationRequestOptions as pr, OrganizationRoleUpdatedEventResponse as ps, UpdateAuditLogsRetention as pt, DataIntegrationVendedCredentialResponse as pu, AssignRoleOptions as pv, CreateOrganizationRoleOptions as py, ObjectMetadataResponse as q, RemoveGroupRoleAssignmentsOptionsWithResourceExternalId as q_, FeatureFlagUpdatedContextResponse as qa, VaultNamesListedEvent as qc, FlagRuleResponse as qd, SessionResponse as qf, SamlCertificateRenewalRequiredResponse as qg, AuthenticateWithRadarSmsChallengeOptions as qh, AuthenticationSSOSucceededEvent as qi, DataIntegrationsListResponseDataAuthMethods as ql, ConnectApplicationOAuthResponse as qm, UserData as qn, OrganizationDomainCreatedEventResponse as qo, SerializedListInvitationsOptions as qp, AgentRegistrationClaimCompletedEvent as qr, PipesConnectionFailed as qs, RadarStandaloneResponse as qt, ConnectedAccountResponse as qu, AuthorizationResource as qv, AgentInstanceSessionCreatedEventResponseData as qy, PublicSSO as r, SSOPKCEAuthorizationURLResult as r_, ConnectionSamlCertificateRenewalRequiredEvent as ra, AgentRegistrationCredentialDetailResponse as rb, ResourceExportFailedEvent as rc, DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent as rd, ActionAuthenticationDeniedEventResponseData as rf, SerializedAuthenticateWithEmailVerificationOptions as rg, UserObjectResponse as rh, AgentRegistrationOrganizationSwitchedEvent as ri, KeyContext as rl, EmailVerification as rm, CreatePasswordlessSessionOptions as rn, FeatureFlagsFlagRuleUpdatedEventResponse as ro, SerializedRevokeSessionOptions as rp, ItContactResponse as rr, OrganizationMembershipCreatedResponse as rs, DecryptDataKeyOptions as rt, DataIntegrationInstallationConnectionRole as ru, GetGroupRoleAssignmentOptions as rv, UpdatePermissionOptions as ry, PortalLinkResponse as s, ListDirectoryGroupsOptions as s_, DsyncActivatedEvent as sa, AgentRegistrationLifecycleEventResponseData as sb, RoleDeletedEvent as sc, SerializedUpdateGroupOptions as sd, ValidateApiKeyOptions as sf, AuthenticateWithCodeOptions as sg, UserManagementAuthorizationURLOptions as sh, AgentRegistrationRevokedEvent as si, UpdateDataIntegration as sl, CreateWaitlistEntryOptions as sm, ListEventOptions as sn, FeatureFlagsFlagTargetDeletedEventResponse as so, ResendInvitationOptions as sp, ItContactIntent as sr, OrganizationMembershipUpdatedResponse as ss, WidgetSessionTokenResponseWire as st, DataIntegrationCustomProviderResponse as su, RemoveRoleAssignmentOptions as sv, PermissionResponse as sy, ConfidentialClientOptions as t, ConnectionType as t_, ConnectionDeletedEvent as ta, AgentRegistrationCreatedEventResponseData as tb, ResourceExportDownloadedEvent as tc, DataIntegrationsGetDataIntegrationAuthorizeUrlRequest as td, RadarChallengeCreatedEventResponseData as tf, AuthenticateUserWithEmailVerificationCredentials as tg, UserConsentOptionChoiceResponse as th, AgentRegistrationExpiredEvent as ti, DataKey as tl, EnrollAuthFactorOptions as tm, RadarStandaloneAssessRequestAuthMethod as tn, FeatureFlagsFlagRuleDeletedEventResponse as to, SerializedSendInvitationOptions as tp, ListOrganizationFeatureFlagsOptions as tr, OrganizationDomainVerifiedEventResponse as ts, CreateObjectEntity as tt, DataIntegrationInstallation as tu, CreateGroupRoleAssignmentOptionsWithResourceId as tv, ListPermissionsOptions as ty, GenerateLinkResponse as u, ListDirectoriesOptions as u_, DsyncDeletedEventResponse as ua, AgentRegistrationOrganizationSwitchedEventResponseData as ub, RoleUpdatedEventResponse as uc, ListGroupsOptions as ud, CreatedApiKey as uf, AuthenticateWithSessionOptions as ug, AuthenticationFactor as uh, ApiKeyCreatedEventResponse as ui, UpdateDataIntegrationApiKeyOptions as ul, SerializedCreateUserOptions as um, AgentCredentialType as un, FlagCreatedEvent as uo, RefreshSessionResponse as up, SerializedCreateItContactOptions as ur, OrganizationRoleDeletedEvent as us, FeatureFlagsRuntimeClient as ut, DataIntegrationCredentialsResponseWire as uu, RemoveRoleOptionsWithResourceExternalId as uv, SetOrganizationRolePermissionsOptions as uy, SignatureVerificationException as v, Directory as v_, DsyncGroupUserAddedEventResponse as va, SerializedAgentRegistration as vb, UserCreatedEventResponse as vc, AddGroupOrganizationMembershipOptions as vd, SerializedApiKeyUpdatedEventData as vf, AuthenticateWithSessionCookieSuccessResponse as vg, FactorWithSecrets as vh, AuthenticationEmailVerificationSucceededEventResponse as vi, GetUserConnectedAccountOptions as vl, CreateMagicAuthOptions as vm, ValidateAgentApiKeyOptions as vn, GroupCreatedEvent as vo, CreateMagicAuthResponseResponse as vp, WorkOSOptions as vr, PasswordResetSucceededEvent as vs, CreateAuditLogSchemaRequestOptions as vt, DataIntegrationAuthorizeUrlResponseWire as vu, ListRoleAssignmentsForResourceByExternalIdOptions as vv, SerializedUpdateEnvironmentRoleOptions as vy, BadRequestException as w, DirectoryUserWithGroupsResponse as w_, DsyncTokenRevokedEventResponse as wa, SerializedAgentInstance as wb, VaultByokKeyDeletedEventResponse as wc, ListFeatureFlagsOptions as wd, OrganizationDomainResponse as wf, CreateUserResponse as wg, Sms as wh, AuthenticationMfaFailedEventResponse as wi, DeleteUserConnectedAccountOptions as wl, TokenExchangeResponseResponse as wm, SerializedLinkClaimAttemptToExternalUserOptions as wn, GroupMemberEventData as wo, Locale as wp, ListResponse as wr, PermissionUpdatedEvent as ws, CreateAuditLogEventRequestOptions as wt, CreateUserConnectedAccountOptions as wu, RoleAssignmentResource as wv, EnvironmentRoleListResponse as wy, NotFoundException as x, DirectoryUser as x_, DsyncTokenCreatedEvent as xa, AgentInstance as xb, UserUpdatedEvent as xc, RuntimeClientLogger as xd, OrganizationDomainVerificationFailed as xf, AuthenticationMethod as xg, TotpResponse as xh, AuthenticationMagicAuthSucceededEvent as xi, GetDataIntegrationOptions as xl, AuthorizedConnectApplicationResponse as xm, ClaimAttemptResponse as xn, GroupDeletedEventResponse as xo, MagicAuthEventResponse as xp, PostOptions as xr, PermissionCreatedEventResponse as xs, AuditLogActor as xt, DataIntegrationAccessTokenResponseWire as xu, ListRoleAssignmentsOptions as xv, SerializedCreateEnvironmentRoleOptions as xy, RateLimitExceededException as y, DirectoryResponse as y_, DsyncGroupUserRemovedEvent as ya, SerializedAgentRegistrationClaim as yb, UserDeletedEvent as yc, SerializedAddGroupOrganizationMembershipOptions as yd, ApiKey as yf, SessionCookieData as yg, FactorWithSecretsResponse as yh, AuthenticationMagicAuthFailedEvent as yi, GetOrganizationDataIntegrationOptions as yl, SerializedCreateMagicAuthOptions as ym, ValidateAgentCredentialOptions as yn, GroupCreatedEventResponse as yo, MagicAuth as yp, UnprocessableEntityError as yr, PasswordResetSucceededEventResponse as ys, CreateAuditLogSchemaResponse as yt, DataIntegrationAuthMethods as yu, ListRoleAssignmentsForResourceOptions as yv, UpdateEnvironmentRoleOptions as yy, WorkOS as z, GroupRoleAssignmentEntryWithResourceExternalId as z_, FeatureFlagContextResponse as za, HttpClientInterface as zb, VaultDekRekeyedEvent as zc, CreateRuleWithTargetsResult as zd, SerializedUpdateUserPasswordOptions as zf, GetProfileOptions as zg, SerializedAuthenticateWithRefreshTokenOptions as zh, AuthenticationRadarRiskDetectedEvent as zi, DataIntegrationsListResponseDataConnectionOwner as zl, CreateOAuthApplicationResponse as zm, PKCE as zn, KnownEventResponse as zo, AuthorizationOrganizationMembership as zp, AgentInstanceDeletedEvent as zr, PipesConnectedAccountConnectionFailedEvent as zs, VerifyResponseResponse as zt, DataIntegrationsVendCredentialsRequestResponse as zu, AuthorizationCheckResult as zv, DirectoryGroup as zy };
13277
- //# sourceMappingURL=factory-xvKEp07N.d.cts.map
12819
+ export { UpdateObjectOptions as $, ListGroupsInDirectoryOptions as $_, FeatureFlagsFlagRuleCreatedEventResponse as $a, AgentRegistrationMethod as $b, WaitlistUserDeniedEvent as $c, AddGroupOrganizationMembershipOptions as $d, SerializedApiKeyUpdatedEventData as $f, SerializedAuthenticateWithOptionsBase as $g, AuthenticationFactorType as $h, ConnectionDeactivatedEvent as $i, DataIntegrationsGetUserTokenRequestConnectionOwner as $l, CreateMagicAuthOptions as $m, OrganizationResponse as $n, OrganizationDomainVerificationFailedEventResponse as $o, CreateMagicAuthResponseResponse as $p, AgentRegistrationDeletedEvent as $r, ResourceExportCreatedEvent as $s, RadarListType as $t, DataIntegrationCredentialsInputType as $u, BaseRemoveRoleOptions as $v, RemoveOrganizationRolePermissionOptions as $y, WorkOSErrorData as A, ConnectionSamlCertificateRenewalRequiredEventResponseData as A_, DsyncUserUpdatedEventResponse as Aa, DirectoryGroup as Ab, VaultDataDeletedEventResponse as Ac, ApiKeyInstallationResponse as Ad, CreateFlagRuleOptions as Af, AuthenticateUserWithOrganizationSelectionCredentials as Ag, ConnectApplication as Ah, AuthenticationOAuthSucceededEventResponse as Ai, DeleteDataIntegrationOptions as Al, ListAuthFactorsOptions as Am, RefreshAgentTokenOptions as An, InvitationAcceptedEvent as Ao, SendVerificationEmailOptions as Ap, ActionUserRegistrationDeniedEventResponse as Ar, PipesAccountConnectionConnectionFailedEvent as As, AuditLogSchemaMetadata as At, DataIntegrationAuthorizeUrlResponseWire as Au, GroupRoleAssignmentEntryWithResourceExternalId as Av, HttpClientInterface as Ax, AuthorizationCheckResult as Ay, ObjectSummary as B, ConnectionResponse as B_, FeatureFlagEventData as Ba, AgentInstanceSessionEventResponseData as Bb, VaultDekRekeyedEventResponse as Bc, RemoveGroupOrganizationMembershipOptions as Bd, ActionUserRegistrationDeniedEventResponseData as Bf, AuthenticateWithMagicAuthOptions as Bg, UserConsentOptionResponse as Bh, AuthenticationRadarRiskDetectedEventResponse as Bi, DataIntegrationsListResponseDataResponse as Bl, EmailVerificationEventResponse as Bm, PKCEPair as Bn, MagicAuthCreatedEvent as Bo, ResetPasswordOptions as Bp, AgentInstanceDeletedEventResponse as Br, PipesConnectedAccountConnectionFailedEventResponse as Bs, VerifyChallengeOptions as Bt, CreateOrganizationConnectedAccountState as Bu, SerializedRemoveGroupRoleAssignmentsOptions as Bv, CreateAuthorizationResourceOptions as By, ConflictException as C, ListConnectionsOptions as C_, DsyncTokenRevokedEvent as Ca, DirectorySyncGetGroupOptions as Cb, VaultByokKeyDeletedEvent as Cc, ConnectedAccountAuthMethod as Cd, FlagTargetResourceResponse as Cf, SerializedAuthenticateWithRefreshTokenPublicClientOptions as Cg, CreateM2MApplication as Ch, AuthenticationMfaFailedEvent as Ci, GetOrganizationConnectedAccountOptions as Cl, BaseOrganizationMembershipResponse as Cm, SerializedClaimAttemptResponse as Cn, GroupMemberAddedEventResponse as Co, UpdateUserOptions as Cp, List as Cr, PermissionDeletedEventResponse as Cs, CreateAuditLogEventOptions as Ct, DataIntegrationCredentialsDto as Cu, RoleList as Cv, SerializedAgentBlueprintInvocableBy as Cx, ListResourcesForMembershipOptions as Cy, AuthenticationException as D, ConnectionEventConnection as D_, DsyncUserDeletedEvent as Da, DirectoryMetadataResponse as Db, VaultDataCreatedEvent as Dc, DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent as Dd, FlagRule as Df, AuthenticateUserWithPasswordCredentials as Dg, RedirectUriInput as Dh, AuthenticationOAuthFailedEvent as Di, DeleteUserConnectedAccountOptions as Dl, ListInvitationsOptions as Dm, MintAgentTokenOptions as Dn, GroupMemberRemovedEventResponse as Do, Session as Dp, ActionAuthenticationDeniedEvent as Dr, PipesAccountConnectionAddFailedEventResponse as Ds, AuditLogsRetentionResponse as Dt, DataIntegrationCredentialResponse as Du, BaseGroupRoleAssignmentEntry as Dv, UpdateAgentBlueprintOptions as Dx, AuthorizationCheckOptions as Dy, AuthenticationErrorData as E, GetProfileOptions as E_, DsyncUserCreatedEventResponse as Ea, DirectoryMetadata as Eb, VaultByokKeyVerificationCompletedEventResponse as Ec, DataIntegrationsGetDataIntegrationAuthorizeUrlRequestResponse as Ed, LegacyFlagTargetResponse as Ef, SerializedAuthenticateWithRefreshTokenOptions as Eg, CreateOAuthApplicationResponse as Eh, AuthenticationMfaSucceededEventResponse as Ei, FinishConnectionOptions as El, OrganizationMembershipStatus as Em, MintAgentDelegatedAgentTokenOptions as En, GroupMemberRemovedEvent as Eo, AuthMethod as Ep, GenerateLinkIntent as Er, PipesAccountConnectionAddFailedEvent as Es, AuditLogsRetention as Et, DataIntegrationCredential as Eu, ListEffectivePermissionsOptions as Ev, SerializedUpdateAgentBlueprintOptions as Ex, SerializedListResourcesForMembershipOptions as Ey, WebhookEndpointStatus as F, SamlCertificateRenewed as F_, EventName as Fa, AgentBlueprintEventData as Fb, VaultDekDecryptedEvent as Fc, UserOrganizationMembershipBaseListDataStatus as Fd, RadarChallengeCreatedEventData as Ff, SerializedAuthenticateWithRadarSmsChallengeOptions as Fg, ConnectApplicationResponse as Fh, AuthenticationPasswordFailedEvent as Fi, DataIntegrationsUpsertApiKeyRequestResponse as Fl, Identity as Fm, ListAgentInstanceSessionsOptions as Fn, InvitationResentEventResponse as Fo, SendInvitationOptions as Fp, AgentBlueprintUpdatedEvent as Fr, PipesAccountConnectionReauthorizationNeededEventResponse as Fs, AuditLogExportState as Ft, DataIntegrationAccessTokenResponseAccessToken as Fu, BaseRemoveGroupRoleAssignmentsOptions as Fv, ResponseHeaders as Fx, GetAuthorizationResourceByExternalIdOptions as Fy, VaultObjectResponse as G, AuthorizeLogout as G_, FeatureFlagRuleUpdatedContextResponse as Ga, AgentRegistrationCreatedEventData as Gb, VaultMetadataReadEvent as Gc, GetGroupOptions as Gd, CreatedApiKey as Gf, AuthenticateWithCodeAndVerifierOptions as Gg, ApplicationCredentialsListItem as Gh, AuthenticationSSOStartedEvent as Gi, DataIntegrationsListResponseDataConnectedAccountWarning as Gl, SerializedCreateUserOptions as Gm, ActionContext as Gn, OrganizationDeletedResponse as Go, RefreshSessionResponse as Gp, AgentRegistrationClaimAttemptCreatedEvent as Gr, PipesConnectedAccountResponse as Gs, RadarListEntryAlreadyPresentResponse as Gt, CreateDataIntegration as Gu, CreateGroupRoleAssignmentOptionsWithResourceExternalId as Gv, UpdateAuthorizationResourceOptions as Gy, ObjectVersion as H, ConnectionType as H_, FeatureFlagRuleContext as Ha, AgentRegistrationClaimAttemptCreatedEventResponseData as Hb, VaultKekCreatedEventResponse as Hc, ListGroupOrganizationMembershipsOptions as Hd, ValidateApiKeyOptions as Hf, AuthenticateUserWithEmailVerificationCredentials as Hg, UserConsentOptionChoiceResponse as Hh, AuthenticationReauthenticationSucceededEventResponse as Hi, DataIntegrationsListResponseDataConnectionOwner as Hl, CreateWaitlistEntryOptions as Hm, AuthenticationActionResponseData as Hn, OrganizationCreatedEvent as Ho, ResendInvitationOptions as Hp, AgentInstanceSessionCreatedEventResponse as Hr, PipesConnectedAccountDisconnectedEventResponse as Hs, Challenge as Ht, OrganizationConnectedAccountState as Hu, BaseCreateGroupRoleAssignmentOptions as Hv, CreateOptionsWithParentResourceId as Hy, UpdateWebhookEndpointEvents as I, SamlCertificateRenewedResponse as I_, EventResponse as Ia, AgentBlueprintEventResponseData as Ib, VaultDekDecryptedEventResponse as Ic, UpdateGroup as Id, RadarChallengeCreatedEventResponseData as If, AuthenticateUserWithRadarEmailChallengeCredentials as Ig, ConnectApplicationRedirectUri as Ih, AuthenticationPasswordFailedEventResponse as Ii, DataIntegrationsUpsertApiKeyRequestConnectionOwner as Il, EnrollAuthFactorOptions as Im, SerializedAgentInstanceSession as In, InvitationRevokedEvent as Io, SerializedSendInvitationOptions as Ip, AgentBlueprintUpdatedEventResponse as Ir, PipesConnectedAccount as Is, AuditLogExportOptions as It, DataIntegrationAccessTokenResponseAccessTokenResponse as Iu, RemoveGroupRoleAssignmentsOptions as Iv, CryptoProvider as Ix, ListAuthorizationResourcesOptions as Iy, Actor as J, SerializedAuthorizeLogoutOptions as J_, FeatureFlagsFlagCreatedEvent as Ja, AgentRegistrationCredentialDetailResponse as Jb, VaultNamesListedEventResponse as Jc, CreateGroupResponse as Jd, CreateOrganizationApiKeyRequestOptions as Jf, AuthenticateWithCodeOptions as Jg, UserManagementAuthorizationURLOptions as Jh, AuthenticationSSOSucceededEventResponse as Ji, DataIntegrationsListResponseDataConnectedAccountConnectionRole as Jl, SerializedCreateUserApiKeyOptions as Jm, UserDataPayload as Jn, OrganizationDomainDeletedEvent as Jo, PasswordReset as Jp, AgentRegistrationClaimCompletedEventResponse as Jr, PipesConnectionFailedResponse as Js, RadarStandaloneResponseWire as Jt, CustomProviderDefinition as Ju, GetGroupRoleAssignmentOptions as Jv, UpdatePermissionOptions as Jy, ObjectMetadata as K, AuthorizeLogoutOptions as K_, FeatureFlagUpdatedContext as Ka, AgentRegistrationCreatedEventResponseData as Kb, VaultMetadataReadEventResponse as Kc, DeleteGroupOptions as Kd, SerializedCreatedApiKey as Kf, SerializedAuthenticateWithCodeAndVerifierOptions as Kg, ApplicationCredentialsListItemResponse as Kh, AuthenticationSSOStartedEventResponse as Ki, DataIntegrationsListResponseDataConnectedAccountWarningResponse as Kl, CreateUserApiKeyOptions as Km, ActionPayload as Kn, OrganizationDomainCreatedEvent as Ko, RetryableRefreshSessionFailureReason as Kp, AgentRegistrationClaimAttemptCreatedEventResponse as Kr, PipesConnectedAccountState as Ks, RadarListEntryAlreadyPresentResponseWire as Kt, CreateDataIntegrationResponse as Ku, CreateGroupRoleAssignmentOptionsWithResourceId as Kv, ListPermissionsOptions as Ky, UpdateWebhookEndpointStatus as L, SamlCertificateType as L_, FeatureFlagActor as La, AgentInstanceSessionCreatedEventData as Lb, VaultDekReadEvent as Lc, UpdateGroupResponse as Ld, ActionAuthenticationDeniedEventData as Lf, AuthenticateWithRadarEmailChallengeOptions as Lg, ConnectApplicationRedirectUriResponse as Lh, AuthenticationPasswordSucceededEvent as Li, DataIntegrationsListResponse as Ll, SerializedEnrollUserInMfaFactorOptions as Lm, SerializedListAgentInstanceSessionsOptions as Ln, InvitationRevokedEventResponse as Lo, RevokeSessionOptions as Lp, AgentInstanceCreatedEvent as Lr, PipesConnectedAccountConnectedEvent as Ls, SerializedAuditLogExportOptions as Lt, CreateUserConnectedAccountOptions as Lu, RemoveGroupRoleAssignmentsOptionsForOrganization as Lv, SerializedListAuthorizationResourcesOptions as Ly, Webhooks as M, ConnectionSamlCertificateRenewedEventResponseData as M_, EmailVerificationCreatedEventResponse as Ma, DeleteDirectoryOptions as Mb, VaultDataReadEventResponse as Mc, SerializedAccessToken as Md, ResourceExportEventData as Mf, SerializedAuthenticateWithOrganizationSelectionOptions as Mg, ConnectApplicationM2MResponse as Mh, AuthenticationPasskeyFailedEventResponse as Mi, DataIntegrationsUpsertClientCredentialsRequestResponse as Ml, InvitationEvent as Mm, SerializedMintAgentTokenOptions as Mn, InvitationCreatedEvent as Mo, SendRadarSmsChallengeResponse as Mp, AgentBlueprintCreatedEventResponse as Mr, PipesAccountConnectionDisconnectedEvent as Ms, AuditLogTargetSchema as Mt, DataIntegrationAccessTokenResponse as Mu, ReplaceGroupRoleAssignmentsOptions as Mv, RequestHeaders as Mx, DeleteAuthorizationResourceOptions as My, WebhookEndpoint as N, SamlCertificateRenewalRequired as N_, Event as Na, AgentBlueprintDeletedEventData as Nb, VaultDataUpdatedEvent as Nc, UserOrganizationMembershipBaseListData as Nd, ResourceExportEventResponseData as Nf, AuthenticateUserWithRadarSmsChallengeCredentials as Ng, ConnectApplicationOAuth as Nh, AuthenticationPasskeySucceededEvent as Ni, DataIntegrationsUpsertClientCredentialsRequestConnectionOwner as Nl, InvitationEventResponse as Nm, AgentInstanceSession as Nn, InvitationCreatedEventResponse as No, SendRadarSmsChallengeResponseResponse as Np, AgentBlueprintDeletedEvent as Nr, PipesAccountConnectionDisconnectedEventResponse as Ns, AuditLogExport as Nt, DataIntegrationAccessTokenResponseWire as Nu, SerializedGroupRoleAssignmentEntry as Nv, RequestOptions as Nx, DeleteAuthorizationResourceByExternalIdOptions as Ny, isAuthenticationErrorData as O, ConnectionEventConnectionResponse as O_, DsyncUserDeletedEventResponse as Oa, DirectoryMetadataUser as Ob, VaultDataCreatedEventResponse as Oc, DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner as Od, FlagRuleResponse as Of, AuthenticateWithPasswordOptions as Og, RedirectUriInputResponse as Oh, AuthenticationOAuthFailedEventResponse as Oi, DeleteOrganizationDataIntegrationOptions as Ol, SerializedListInvitationsOptions as Om, MintAutonomousAgentTokenOptions as On, GroupUpdatedEvent as Oo, SessionResponse as Op, ActionAuthenticationDeniedEventResponse as Or, PipesAccountConnectionConnectedEvent as Os, AuditLogActorSchema as Ot, DataIntegrationCredentialType as Ou, GroupRoleAssignmentEntry as Ov, PaginationOptions as Ox, AuthorizationCheckOptionsWithResourceExternalId as Oy, WebhookEndpointResponse as P, SamlCertificateRenewalRequiredResponse as P_, EventBase as Pa, AgentBlueprintDeletedEventResponseData as Pb, VaultDataUpdatedEventResponse as Pc, UserOrganizationMembershipBaseListDataResponse as Pd, ResourceExportResourceType as Pf, AuthenticateWithRadarSmsChallengeOptions as Pg, ConnectApplicationOAuthResponse as Ph, AuthenticationPasskeySucceededEventResponse as Pi, DataIntegrationsUpsertApiKeyRequest as Pl, InvitationResponse as Pm, AgentInstanceSessionStatus as Pn, InvitationResentEvent as Po, SerializedSendRadarSmsChallengeOptions as Pp, AgentBlueprintDeletedEventResponse as Pr, PipesAccountConnectionReauthorizationNeededEvent as Ps, AuditLogExportResponse as Pt, DataIntegrationAccessTokenResponseError as Pu, SerializedReplaceGroupRoleAssignmentsOptions as Pv, ResponseHeaderValue as Px, UpdateAuthorizationResourceByExternalIdOptions as Py, UpdateObjectEntity as Q, ListDirectoryGroupsOptions as Q_, FeatureFlagsFlagRuleCreatedEvent as Qa, AgentRegistrationLifecycleEventResponseData as Qb, WaitlistUserCreatedEventResponse as Qc, CreateGroupMembershipResponse as Qd, SerializedApiKeyPreviousAttributes as Qf, SerializedAuthenticatePublicClientBase as Qg, AuthenticationFactorResponse as Qh, ConnectionActivatedEventResponse as Qi, DataIntegrationsGetUserTokenRequestResponse as Ql, SerializedCreateOrganizationMembershipOptions as Qm, Organization as Qn, OrganizationDomainVerificationFailedEvent as Qo, CreateMagicAuthResponse as Qp, AgentRegistrationCredentialIssuedEventResponse as Qr, ResourceExportCompletedEventResponse as Qs, RadarListAction as Qt, DataIntegrationCredentialsInputResponse as Qu, RemoveRoleAssignmentOptions as Qv, PermissionResponse as Qy, CreateWebhookEndpointEvents as R, Connection as R_, FeatureFlagContext as Ra, AgentInstanceSessionCreatedEventResponseData as Rb, VaultDekReadEventResponse as Rc, SerializedUpdateGroupOptions as Rd, ActionAuthenticationDeniedEventResponseData as Rf, SerializedAuthenticateWithRadarEmailChallengeOptions as Rg, CompleteOAuth2Options as Rh, AuthenticationPasswordSucceededEventResponse as Ri, DataIntegrationsListResponseWire as Rl, EmailVerification as Rm, AutoPaginatable as Rn, KnownEvent as Ro, SerializedRevokeSessionOptions as Rp, AgentInstanceCreatedEventResponse as Rr, PipesConnectedAccountConnectedEventResponse as Rs, VerifyResponse as Rt, CreateOrganizationConnectedAccount as Ru, RemoveGroupRoleAssignmentsOptionsWithResourceExternalId as Rv, AuthorizationResource as Ry, NoApiKeyProvidedException as S, OauthTokensResponse as S_, DsyncTokenCreatedEventResponse as Sa, DirectoryTokenResponse as Sb, UserUpdatedEventResponse as Sc, ConnectedAccountConnectionRole as Sd, FlagTargetResource as Sf, AuthenticateWithRefreshTokenPublicClientOptions as Sg, CreateApplicationOptions as Sh, AuthenticationMagicAuthSucceededEventResponse as Si, GetOrganizationDataIntegrationOptions as Sl, BaseOrganizationMembership as Sm, LinkClaimAttemptToExternalUserOptions as Sn, GroupMemberAddedEvent as So, SerializedUpdateUserOptions as Sp, PatchOptions as Sr, PermissionDeletedEvent as Ss, AuditLogTarget as St, DataIntegrationVendedCredentialResponse as Su, RoleEventResponse as Sv, SerializedAgentBlueprint as Sx, ListMembershipsForResourceOptions as Sy, AuthenticationErrorCode as T, GetProfileAndTokenOptions as T_, DsyncUserCreatedEvent as Ta, DirectoryStateResponse as Tb, VaultByokKeyVerificationCompletedEvent as Tc, DataIntegrationsGetDataIntegrationAuthorizeUrlRequest as Td, LegacyFlagTarget as Tf, AuthenticateWithRefreshTokenOptions as Tg, CreateOAuthApplication as Th, AuthenticationMfaSucceededEvent as Ti, GetAccessTokenOptions as Tl, OrganizationMembershipResponse as Tm, AgentToken as Tn, GroupMemberEventResponseData as To, UpdateOrganizationMembershipOptions as Tp, GetOptions as Tr, PermissionUpdatedEventResponse as Ts, SerializedCreateAuditLogEventOptions as Tt, DataIntegrationCredentialsType as Tu, ListEffectivePermissionsByExternalIdOptions as Tv, SerializedCreateAgentBlueprintOptions as Tx, ListResourcesForMembershipOptionsWithParentId as Ty, ObjectVersionResponse as U, SSOAuthorizationURLOptions as U_, FeatureFlagRuleContextResponse as Ua, AgentRegistrationClaimCompletedEventData as Ub, VaultKekDeletedEvent as Uc, Group as Ud, ValidateApiKeyResponse as Uf, AuthenticateWithEmailVerificationOptions as Ug, UserObject as Uh, AuthenticationSSOFailedEvent as Ui, DataIntegrationsListResponseDataConnectedAccount as Ul, SerializedCreateWaitlistEntryOptions as Um, ResponsePayload as Un, OrganizationCreatedResponse as Uo, SerializedResendInvitationOptions as Up, AgentInstanceSessionRevokedEvent as Ur, PipesConnectedAccountReauthorizationNeededEvent as Us, ChallengeResponse as Ut, CreateDataIntegrationTokenOptions as Uu, CreateGroupRoleAssignmentOptions as Uv, SerializedCreateAuthorizationResourceOptions as Uy, ObjectSummaryResponse as V, ConnectionState as V_, FeatureFlagEventResponseData as Va, AgentRegistrationClaimAttemptCreatedEventData as Vb, VaultKekCreatedEvent as Vc, ListGroupsOptions as Vd, SerializedValidateApiKeyResponse as Vf, SerializedAuthenticateWithMagicAuthOptions as Vg, UserConsentOptionChoice as Vh, AuthenticationReauthenticationSucceededEvent as Vi, DataIntegrationsListResponseDataOwnership as Vl, EmailVerificationResponse as Vm, Actions as Vn, MagicAuthCreatedEventResponse as Vo, SerializedResetPasswordOptions as Vp, AgentInstanceSessionCreatedEvent as Vr, PipesConnectedAccountDisconnectedEvent as Vs, EnrollFactorOptions as Vt, CreateOrganizationConnectedAccountOptions as Vu, RemoveGroupRoleAssignmentOptions as Vv, CreateOptionsWithParentExternalId as Vy, VaultObject as W, SSOPKCEAuthorizationURLResult as W_, FeatureFlagRuleUpdatedContext as Wa, AgentRegistrationClaimCompletedEventResponseData as Wb, VaultKekDeletedEventResponse as Wc, GroupResponse as Wd, ListOrganizationApiKeysOptions as Wf, SerializedAuthenticateWithEmailVerificationOptions as Wg, UserObjectResponse as Wh, AuthenticationSSOFailedEventResponse as Wi, DataIntegrationsListResponseDataConnectedAccountResponse as Wl, CreateUserOptions as Wm, UserRegistrationActionResponseData as Wn, OrganizationDeletedEvent as Wo, RefreshSessionFailureReason as Wp, AgentInstanceSessionRevokedEventResponse as Wr, PipesConnectedAccountReauthorizationNeededEventResponse as Ws, ChallengeFactorOptions as Wt, CreateDataIntegrationOptions as Wu, CreateGroupRoleAssignmentOptionsForOrganization as Wv, SerializedUpdateAuthorizationResourceOptions as Wy, CreateDataKeyResponse as X, SlimRoleResponse as X_, FeatureFlagsFlagDeletedEvent as Xa, AgentRegistrationCredentialIssuedEventResponseData as Xb, WaitlistUserApprovedEventResponse as Xc, SerializedCreateGroupOptions as Xd, ApiKeyPreviousAttributes as Xf, AuthenticateWithOptionsBase as Xg, AuthenticationRadarRiskDetectedEventResponseData as Xh, AuthenticationSSOTimedOutEventResponse as Xi, DataIntegrationsListResponseDataAuthMethods as Xl, SerializedCreatePasswordResetOptions as Xm, SerializedUpdateOrganizationOptions as Xn, OrganizationDomainUpdatedEvent as Xo, PasswordResetEventResponse as Xp, AgentRegistrationCreatedEventResponse as Xr, RadarChallengeCreatedEventResponse as Xs, RadarStandaloneResponseControl as Xt, CustomProviderDefinitionAuthenticateVia as Xu, GroupRoleAssignment as Xv, SerializedCreatePermissionOptions as Xy, ActorResponse as Y, SlimRole as Y_, FeatureFlagsFlagCreatedEventResponse as Ya, AgentRegistrationCredentialIssuedEventData as Yb, WaitlistUserApprovedEvent as Yc, CreateGroupOptions as Yd, SerializedCreateOrganizationApiKeyOptions as Yf, SerializedAuthenticateWithCodeOptions as Yg, AuthenticationRadarRiskDetectedEventData as Yh, AuthenticationSSOTimedOutEvent as Yi, DataIntegrationsListResponseDataConnectedAccountAuthMethod as Yl, CreatePasswordResetOptions as Ym, UserRegistrationActionPayload as Yn, OrganizationDomainDeletedEventResponse as Yo, PasswordResetEvent as Yp, AgentRegistrationCreatedEvent as Yr, RadarChallengeCreatedEvent as Ys, RadarStandaloneResponseBlocklistType as Yt, CustomProviderDefinitionResponse as Yu, ListGroupRoleAssignmentsOptions as Yv, CreatePermissionOptions as Yy, CreateDataKeyResponseWire as Z, ListUsersInDirectoryOptions as Z_, FeatureFlagsFlagDeletedEventResponse as Za, AgentRegistrationLifecycleEventData as Zb, WaitlistUserCreatedEvent as Zc, CreateGroupMembership as Zd, ApiKeyUpdatedEventData as Zf, AuthenticateWithSessionOptions as Zg, AuthenticationFactor as Zh, ConnectionActivatedEvent as Zi, DataIntegrationsGetUserTokenRequest as Zl, CreateOrganizationMembershipOptions as Zm, UpdateOrganizationOptions as Zn, OrganizationDomainUpdatedEventResponse as Zo, PasswordResetResponse as Zp, AgentRegistrationCredentialIssuedEvent as Zr, ResourceExportCompletedEvent as Zs, RadarStandaloneResponseVerdict as Zt, DataIntegrationCredentialsInput as Zu, GroupRoleAssignmentResponse as Zv, Permission as Zy, UnauthorizedException as _, ProfileAndToken as __, DsyncGroupUserAddedEvent as _a, DirectoryUserWithGroupsState as _b, UserCreatedEvent as _c, ConnectedAccountInput as _d, LegacyEvaluationContext as _f, AuthenticationEventStatus as _g, ExternalAuthCompleteResponseWire as _h, AuthenticationEmailVerificationSucceededEvent as _i, ListUserDataProvidersOptions as _l, SerializedListSessionsOptions as _m, ValidateAgentAccessTokenOptions as _n, FlagUpdatedEventResponse as _o, UserApiKeyWithValue as _p, WorkOSResponseError as _r, PasswordResetCreatedEventResponse as _s, CreateAuditLogSchemaOptions as _t, DataIntegrationCustomProviderAuthenticateVia as _u, OrganizationRoleEvent as _v, AgentBlueprint as _x, RoleAssignmentResponse as _y, PublicWorkOS as a, AuthenticateWithSessionCookieSuccessResponse as a_, ConnectionSamlCertificateRenewedEvent as aa, SerializedCreateOrganizationRoleOptions as ab, RoleCreatedEvent as ac, DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner as ad, ListFeatureFlagsOptions as af, FactorWithSecrets as ag, TokenExchangeResponseResponse as ah, AgentRegistrationRefreshedEvent as ai, UpdateOrganizationDataIntegrationOptions as al, Locale as am, PasswordlessSession as an, FeatureFlagsFlagTargetCreatedEventResponse as ao, OrganizationDomainResponse as ap, DeleteItContactOptions as ar, OrganizationMembershipDeletedResponse as as, CreateDataKeyOptions as at, DataIntegrationsCreateApiKeyConnectionRequestResponse as au, GetDirectoryOptions as av, AgentRegistrationClaimCompletion as ax, AssignRoleOptionsWithResourceExternalId as ay, OauthException as b, ProfileResponse as b_, DsyncGroupUserRemovedEventResponse as ba, DirectoryType as bb, UserDeletedEventResponse as bc, ConnectedAccountDtoResponse as bd, CreateRuleWithTargetsResult as bf, AuthenticateWithTotpOptions as bg, CreateApplicationSecret as bh, AuthenticationMagicAuthFailedEventResponse as bi, PipesOwnership as bl, AuthorizationOrganizationMembership as bm, ClaimAttemptOrganization as bn, GroupDeletedEvent as bo, SerializedUpdateUserPasswordOptions as bp, PutOptions as br, PermissionCreatedEvent as bs, SerializedCreateAuditLogSchemaOptions as bt, DataIntegrationCredentialsResponseError as bu, Role as bv, CreateAgentBlueprintOptions as bx, RoleAssignmentSourceResponse as by, PortalLinkResponseWire as c, AuthenticationMethod as c_, DsyncActivatedEventResponse as ca, SetEnvironmentRolePermissionsOptions as cb, RoleDeletedEventResponse as cc, DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner as cd, FlagChange as cf, TotpResponse as cg, UpdateOAuthApplication as ch, AgentRegistrationRevokedEventResponse as ci, UpdateDataIntegration as cl, WaitlistEntry as cm, SerializedListEventOptions as cn, FeatureFlagsFlagUpdatedEvent as co, CreateOrganizationDomainOptions as cp, ListItContactsOptions as cr, OrganizationRoleCreatedEvent as cs, CreateTokenOptions as ct, DataIntegrationState as cu, EventDirectoryResponse as cv, SerializedAgentIdentity as cx, SerializedAssignRoleOptions as cy, IntentOptions as d, CreateUserResponse as d_, DsyncGroupCreatedEvent as da, CreateEnvironmentRoleOptions as db, SessionCreatedEvent as dc, CreateConnectedAccountState as dd, FlagPollResponse as df, Sms as dg, NewConnectApplicationSecret as dh, ApiKeyRevokedEvent as di, UpdateDataIntegrationApiKeyOptions as dl, ListUsersOptions as dm, AgentCredentialValidation as dn, FlagCreatedEventResponse as do, WaitlistUserEventResponseData as dp, SerializedInviteItContactOptions as dr, OrganizationRoleDeletedEventResponse as ds, CookieSession as dt, DataIntegrationInstallationResponse as du, DefaultCustomAttributes as dv, SerializedAgentRegistrationClaimCompletion as dx, SerializedListRoleAssignmentsForResourceOptions as dy, WithResolvedClientId as e_, ConnectionDeactivatedEventResponse as ea, AddOrganizationRolePermissionOptions as eb, ResourceExportCreatedEventResponse as ec, CreateDataIntegrationCredentialOptions as ed, SerializedAddGroupOrganizationMembershipOptions as ef, AuthenticationFactorWithSecrets as eg, SerializedCreateMagicAuthOptions as eh, AgentRegistrationDeletedEventResponse as ei, WaitlistUserDeniedEventResponse as el, MagicAuth as em, RadarStandaloneAssessRequestAction as en, FeatureFlagsFlagRuleDeletedEvent as eo, ApiKey as ep, ListOrganizationsOptions as er, OrganizationDomainVerifiedEvent as es, ReadObjectOptions as et, DataIntegrationsFinishConnectionRequest as eu, ListDirectoryUsersOptions as ev, AgentRegistrationOrganizationSwitchedEventData as ex, RemoveRoleOptions as ey, IntentOptionsResponse as f, CreateUserResponseResponse as f_, DsyncGroupCreatedEventResponse as fa, SerializedCreateEnvironmentRoleOptions as fb, SessionCreatedEventResponse as fc, ConnectedAccount as fd, FlagPollRule as ff, SmsResponse as fg, NewConnectApplicationSecretResponse as fh, ApiKeyRevokedEventResponse as fi, UpdateCustomProviderDefinition as fl, SerializedListUsersOptions as fm, InvalidAgentCredential as fn, FlagDeletedEvent as fo, Waitlist as fp, CreateOrganizationOptions as fr, OrganizationRoleUpdatedEvent as fs, UpdateOrganizationAuditLogsRetentionOptions as ft, DataIntegrationInstallationConnectionRole as fu, DirectoryUser as fv, AgentInstance as fx, ListRoleAssignmentsOptions as fy, UnprocessableEntityException as g, ImpersonatorResponse as g_, DsyncGroupUpdatedEventResponse as ga, EnvironmentRoleResponse as gb, UnknownEventResponse as gc, ConnectedAccountState as gd, EvaluationResource as gf, AuthenticationEventSsoResponse as gg, ExternalAuthCompleteResponse as gh, AuthenticationEmailVerificationFailedEventResponse as gi, OrganizationConnectedAccountResponse as gl, ListSessionsOptions as gm, ValidAgentCredential as gn, FlagUpdatedEvent as go, SerializedUserApiKeyWithValue as gp, DomainDataState as gr, PasswordResetCreatedEvent as gs, GetOrganizationAuditLogsRetentionOptions as gt, DataIntegrationCustomProviderResponse as gu, ListOrganizationRolesResponse as gv, SerializedListAgentInstancesOptions as gx, RoleAssignmentResourceResponse as gy, CreateRuleWithTargetsError as h, Impersonator as h_, DsyncGroupUpdatedEvent as ha, EnvironmentRoleListResponse as hb, UnknownEvent as hc, ConnectedAccountWarningResponse as hd, EvaluationContext as hf, AuthenticationEventSso as hg, GetApplicationOptions as hh, AuthenticationEmailVerificationFailedEvent as hi, OrganizationConnectedAccount as hl, ListUserFeatureFlagsOptions as hm, SerializedValidateAgentCredentialOptions as hn, FlagRuleUpdatedEventResponse as ho, VerifyEmailOptions as hp, DomainData as hr, OrganizationUpdatedResponse as hs, UpdateAuditLogsRetentionRetentionPeriod as ht, DataIntegrationCustomProvider as hu, DirectoryUserWithGroupsResponse as hv, SerializedAgentInstance as hx, RoleAssignmentResource as hy, PublicUserManagement as i, AuthenticateWithSessionCookieOptions as i_, ConnectionSamlCertificateRenewalRequiredEventResponse as ia, CreateOrganizationRoleOptions as ib, ResourceExportFailedEventResponse as ic, CreateDataIntegrationClientCredentialOptions as id, RemoveFlagTargetOptions as if, FactorType as ig, TokenExchangeResponse as ih, AgentRegistrationOrganizationSwitchedEventResponse as ii, UpdateUserConnectedAccountOptions as il, LogoutURLOptions as im, SerializedCreatePasswordlessSessionOptions as in, FeatureFlagsFlagTargetCreatedEvent as io, OrganizationDomain as ip, CreateItContactOptions as ir, OrganizationMembershipDeleted as is, DecryptDataKeyResponse as it, DataIntegrationsCreateApiKeyConnectionRequest as iu, GetDirectoryUserOptions as iv, AgentRegistrationClaim as ix, AssignRoleOptions as iy, ApiKeyRequiredException as j, ConnectionSamlCertificateRenewedEventData as j_, EmailVerificationCreatedEvent as ja, DirectoryGroupResponse as jb, VaultDataReadEvent as jc, AccessToken as jd, AddFlagTargetOptions as jf, AuthenticateWithOrganizationSelectionOptions as jg, ConnectApplicationM2M as jh, AuthenticationPasskeyFailedEvent as ji, DataIntegrationsUpsertClientCredentialsRequest as jl, Invitation as jm, SerializedAgentToken as jn, InvitationAcceptedEventResponse as jo, SendRadarSmsChallengeOptions as jp, AgentBlueprintCreatedEvent as jr, PipesAccountConnectionConnectionFailedEventResponse as js, AuditLogSchemaResponse as jt, DataIntegrationAuthMethods as ju, GroupRoleAssignmentEntryWithResourceId as jv, HttpClientResponseInterface as jx, SerializedAuthorizationCheckOptions as jy, GenericServerException as k, ConnectionSamlCertificateRenewalRequiredEventData as k_, DsyncUserUpdatedEvent as ka, DirectoryMetadataUserResponse as kb, VaultDataDeletedEvent as kc, ApiKeyInstallation as kd, CreateFlagTargetOptions as kf, SerializedAuthenticateWithPasswordOptions as kg, CreateApplicationClientSecretOptions as kh, AuthenticationOAuthSucceededEvent as ki, DeleteOrganizationConnectedAccountOptions as kl, ListGroupsForOrganizationMembershipOptions as km, MintUserDelegatedAgentTokenOptions as kn, GroupUpdatedEventResponse as ko, SessionStatus as kp, ActionUserRegistrationDeniedEvent as kr, PipesAccountConnectionConnectedEventResponse as ks, AuditLogSchema as kt, DataIntegrationAuthorizeUrlResponse as ku, GroupRoleAssignmentEntryForOrganization as kv, HttpClient as kx, AuthorizationCheckOptionsWithResourceId as ky, GenerateLink as l, AuthenticationResponse as l_, DsyncDeletedEvent as la, SerializedUpdateEnvironmentRoleOptions as lb, RoleUpdatedEvent as lc, CreateConnectedAccount as ld, FlagPollCondition as lf, TotpWithSecrets as lg, UpdateOAuthApplicationResponse as lh, ApiKeyCreatedEvent as li, UpdateDataIntegrationResponse as ll, WaitlistEntryResponse as lm, AgentAccessTokenClaims as ln, FeatureFlagsFlagUpdatedEventResponse as lo, SerializedCreateOrganizationDomainOptions as lp, RevokeItContactOptions as lr, OrganizationRoleCreatedEventResponse as ls, WidgetSessionTokenScopes as lt, DataIntegrationOwnership as lu, Directory as lv, SerializedAgentRegistration as lx, ListRoleAssignmentsForResourceByExternalIdOptions as ly, SSOIntentOptionsResponse as m, UserResponse as m_, DsyncGroupDeletedEventResponse as ma, EnvironmentRoleList as mb, SessionRevokedEventResponse as mc, ConnectedAccountWarning as md, FeatureFlagResponse as mf, AuthenticationEventResponse as mg, ListApplicationClientSecretsOptions as mh, ApiKeyUpdatedEventResponse as mi, UpdateCustomProviderDefinitionAuthenticateVia as ml, SerializedListUserApiKeysOptions as mm, SerializedAgentCredentialValidation as mn, FlagRuleUpdatedEvent as mo, SerializedVerifyEmailOptions as mp, SerializedCreateOrganizationOptions as mr, OrganizationUpdatedEvent as ms, UpdateAuditLogsRetentionResponse as mt, DataIntegrationFinishConnectionResponseWire as mu, DirectoryUserWithGroups as mv, ListAgentInstancesOptions as mx, RoleAssignment as my, PublicClientOptions as n, AuthenticateWithSessionCookieFailedResponse as n_, ConnectionDeletedEventResponse as na, SerializedUpdateOrganizationRoleOptions as nb, ResourceExportDownloadedEventResponse as nc, DataIntegrationsVendCredentialsRequestResponse as nd, RuntimeClientLogger as nf, Factor as ng, AuthorizedConnectApplicationResponse as nh, AgentRegistrationExpiredEventResponse as ni, DataKeyPair as nl, MagicAuthEventResponse as nm, SendSessionResponse as nn, FeatureFlagsFlagRuleUpdatedEvent as no, OrganizationDomainVerificationFailed as np, ItContact as nr, OrganizationMembershipCreated as ns, CreateObjectOptions as nt, DataIntegrationsCreateClientCredentialsConnectionRequest as nu, SerializedListDirectoriesOptions as nv, AgentIdentity as nx, RemoveRoleOptionsWithResourceId as ny, createWorkOS as o, SessionCookieData as o_, ConnectionSamlCertificateRenewedEventResponse as oa, OrganizationRole as ob, RoleCreatedEventResponse as oc, CreateDataIntegrationAuthMethods as od, ListFlagTargetsOptions as of, FactorWithSecretsResponse as og, UserManagementLoginRequest as oh, AgentRegistrationRefreshedEventResponse as oi, UpdateOrganizationConnectedAccountOptions as ol, ListWaitlistEntriesOptions as om, PasswordlessSessionResponse as on, FeatureFlagsFlagTargetDeletedEvent as oo, OrganizationDomainState as op, InviteItContactOptions as or, OrganizationMembershipUpdated as os, WidgetSessionTokenResponse as ot, DataIntegration as ou, GetDirectoryGroupOptions as ov, AgentRegistrationKind as ox, AssignRoleOptionsWithResourceId as oy, SSOIntentOptions as p, User as p_, DsyncGroupDeletedEvent as pa, EnvironmentRole as pb, SessionRevokedEvent as pc, ConnectedAccountResponse as pd, FeatureFlag as pf, AuthenticationEvent as pg, ListApplicationsOptions as ph, ApiKeyUpdatedEvent as pi, UpdateCustomProviderDefinitionResponse as pl, ListUserApiKeysOptions as pm, SerializedAgentAccessTokenClaims as pn, FlagDeletedEventResponse as po, WaitlistResponse as pp, CreateOrganizationRequestOptions as pr, OrganizationRoleUpdatedEventResponse as ps, UpdateAuditLogsRetention as pt, DataIntegrationFinishConnectionResponse as pu, DirectoryUserResponse as pv, AgentInstanceType as px, SerializedListRoleAssignmentsOptions as py, ObjectMetadataResponse as q, AuthorizeLogoutResponse as q_, FeatureFlagUpdatedContextResponse as qa, AgentRegistrationCredentialDetail as qb, VaultNamesListedEvent as qc, CreateGroup as qd, CreateOrganizationApiKeyOptions as qf, AuthenticateUserWithCodeCredentials as qg, PKCEAuthorizationURLResult as qh, AuthenticationSSOSucceededEvent as qi, DataIntegrationsListResponseDataConnectedAccountState as ql, CreateUserApiKeyRequestOptions as qm, UserData as qn, OrganizationDomainCreatedEventResponse as qo, TerminalRefreshSessionFailureReason as qp, AgentRegistrationClaimCompletedEvent as qr, PipesConnectionFailed as qs, RadarStandaloneResponse as qt, CreateDataIntegrationOwnership as qu, SerializedCreateGroupRoleAssignmentOptions as qv, SerializedUpdatePermissionOptions as qy, PublicSSO as r, AuthenticateWithSessionCookieFailureReason as r_, ConnectionSamlCertificateRenewalRequiredEvent as ra, UpdateOrganizationRoleOptions as rb, ResourceExportFailedEvent as rc, DataIntegrationsVendCredentialsRequestConnectionOwner as rd, RuntimeClientOptions as rf, FactorResponse as rg, ExchangeTokenOptions as rh, AgentRegistrationOrganizationSwitchedEvent as ri, KeyContext as rl, MagicAuthResponse as rm, CreatePasswordlessSessionOptions as rn, FeatureFlagsFlagRuleUpdatedEventResponse as ro, OrganizationDomainVerificationFailedResponse as rp, ItContactResponse as rr, OrganizationMembershipCreatedResponse as rs, DecryptDataKeyOptions as rt, DataIntegrationsCreateClientCredentialsConnectionRequestResponse as ru, GetUserOptions as rv, AgentRegistration as rx, SerializedRemoveRoleOptions as ry, PortalLinkResponse as s, UserManagementAccessToken as s_, DsyncActivatedEvent as sa, AddEnvironmentRolePermissionOptions as sb, RoleDeletedEvent as sc, CreateDataIntegrationApiKeyOptions as sd, ListFlagRulesOptions as sf, Totp as sg, UserManagementLoginRequestResponse as sh, AgentRegistrationRevokedEvent as si, UpdateDataIntegrationOptions as sl, SerializedListWaitlistEntriesOptions as sm, ListEventOptions as sn, FeatureFlagsFlagTargetDeletedEventResponse as so, OrganizationDomainVerificationStrategy as sp, ItContactIntent as sr, OrganizationMembershipUpdatedResponse as ss, WidgetSessionTokenResponseWire as st, DataIntegrationResponse as su, EventDirectory as sv, AgentRegistrationStatus as sx, BaseAssignRoleOptions as sy, ConfidentialClientOptions as t, AccessTokenClaims as t_, ConnectionDeletedEvent as ta, SetOrganizationRolePermissionsOptions as tb, ResourceExportDownloadedEvent as tc, DataIntegrationsVendCredentialsRequest as td, RuntimeClientStats as tf, AuthenticationFactorWithSecretsResponse as tg, AuthorizedConnectApplication as th, AgentRegistrationExpiredEvent as ti, DataKey as tl, MagicAuthEvent as tm, RadarStandaloneAssessRequestAuthMethod as tn, FeatureFlagsFlagRuleDeletedEventResponse as to, SerializedApiKey as tp, ListOrganizationFeatureFlagsOptions as tr, OrganizationDomainVerifiedEventResponse as ts, CreateObjectEntity as tt, DataIntegrationsFinishConnectionRequestResponse as tu, ListDirectoriesOptions as tv, AgentRegistrationOrganizationSwitchedEventResponseData as tx, RemoveRoleOptionsWithResourceExternalId as ty, GenerateLinkResponse as u, AuthenticationResponseResponse as u_, DsyncDeletedEventResponse as ua, UpdateEnvironmentRoleOptions as ub, RoleUpdatedEventResponse as uc, CreateConnectedAccountResponse as ud, FlagPollEntry as uf, TotpWithSecretsResponse as ug, UpdateApplicationOptions as uh, ApiKeyCreatedEventResponse as ui, UpdateDataIntegrationClientCredentialsOptions as ul, WaitlistEntryState as um, AgentCredentialType as un, FlagCreatedEvent as uo, WaitlistUserEventData as up, SerializedCreateItContactOptions as ur, OrganizationRoleDeletedEvent as us, FeatureFlagsRuntimeClient as ut, DataIntegrationInstallation as uu, DirectoryResponse as uv, SerializedAgentRegistrationClaim as ux, ListRoleAssignmentsForResourceOptions as uy, SignatureVerificationException as v, ProfileAndTokenResponse as v_, DsyncGroupUserAddedEventResponse as va, DirectoryUserWithGroupsEmail as vb, UserCreatedEventResponse as vc, ConnectedAccountInputResponse as vd, TypedEvaluationContext as vf, AuthenticationEventType as vg, DeleteClientSecretOptions as vh, AuthenticationEmailVerificationSucceededEventResponse as vi, ListOrganizationDataProvidersOptions as vl, ListOrganizationMembershipsOptions as vm, ValidateAgentApiKeyOptions as vn, GroupCreatedEvent as vo, SerializedUserApiKey as vp, WorkOSOptions as vr, PasswordResetSucceededEvent as vs, CreateAuditLogSchemaRequestOptions as vt, DataIntegrationCredentialsResponse as vu, OrganizationRoleEventResponse as vv, AgentBlueprintInvocableBy as vx, RoleAssignmentRole as vy, BadRequestException as w, SerializedListConnectionsOptions as w_, DsyncTokenRevokedEventResponse as wa, DirectoryState as wb, VaultByokKeyDeletedEventResponse as wc, AuthorizeDataIntegrationOptions as wd, FlagTargetResponse as wf, AuthenticateUserWithRefreshTokenCredentials as wg, CreateM2MApplicationResponse as wh, AuthenticationMfaFailedEventResponse as wi, GetDataIntegrationOptions as wl, OrganizationMembership as wm, SerializedLinkClaimAttemptToExternalUserOptions as wn, GroupMemberEventData as wo, SerializedUpdateOrganizationMembershipOptions as wp, ListResponse as wr, PermissionUpdatedEvent as ws, CreateAuditLogEventRequestOptions as wt, DataIntegrationCredentialsDtoResponse as wu, RoleResponse as wv, SerializedAgentBlueprintSessionSettings as wx, ListResourcesForMembershipOptionsWithParentExternalId as wy, NotFoundException as x, OauthTokens as x_, DsyncTokenCreatedEvent as xa, DirectoryToken as xb, UserUpdatedEvent as xc, ConnectedAccountInputState as xd, FlagTarget as xf, SerializedAuthenticateWithTotpOptions as xg, CreateApplicationSecretResponse as xh, AuthenticationMagicAuthSucceededEvent as xi, GetUserConnectedAccountOptions as xl, AuthorizationOrganizationMembershipResponse as xm, ClaimAttemptResponse as xn, GroupDeletedEventResponse as xo, UpdateUserPasswordOptions as xp, PostOptions as xr, PermissionCreatedEventResponse as xs, AuditLogActor as xt, DataIntegrationVendedCredential as xu, RoleEvent as xv, ListAgentBlueprintsOptions as xx, ListMembershipsForResourceByExternalIdOptions as xy, RateLimitExceededException as y, Profile as y_, DsyncGroupUserRemovedEvent as ya, DirectoryUserWithGroupsEmailResponse as yb, UserDeletedEvent as yc, ConnectedAccountDto as yd, CreateRuleWithTargetsOptions as yf, AuthenticateUserWithTotpCredentials as yg, DeleteApplicationOptions as yh, AuthenticationMagicAuthFailedEvent as yi, ListDataIntegrationsOptions as yl, SerializedListOrganizationMembershipsOptions as ym, ValidateAgentCredentialOptions as yn, GroupCreatedEventResponse as yo, UserApiKey as yp, UnprocessableEntityError as yr, PasswordResetSucceededEventResponse as ys, CreateAuditLogSchemaResponse as yt, DataIntegrationCredentialsResponseWire as yu, OrganizationRoleResponse as yv, AgentBlueprintSessionSettings as yx, RoleAssignmentSource as yy, WorkOS as z, ConnectionDomain as z_, FeatureFlagContextResponse as za, AgentInstanceSessionEventData as zb, VaultDekRekeyedEvent as zc, UpdateGroupOptions as zd, ActionUserRegistrationDeniedEventData as zf, AuthenticateUserWithMagicAuthCredentials as zg, UserConsentOption as zh, AuthenticationRadarRiskDetectedEvent as zi, DataIntegrationsListResponseData as zl, EmailVerificationEvent as zm, PKCE as zn, KnownEventResponse as zo, serializeRevokeSessionOptions as zp, AgentInstanceDeletedEvent as zr, PipesConnectedAccountConnectionFailedEvent as zs, VerifyResponseResponse as zt, CreateOrganizationConnectedAccountResponse as zu, RemoveGroupRoleAssignmentsOptionsWithResourceId as zv, AuthorizationResourceResponse as zy };