@workos-inc/widgets 1.9.0 → 1.10.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.
Files changed (85) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/cjs/admin-portal-audit-log-streaming.client.cjs +167 -0
  3. package/dist/cjs/admin-portal-audit-log-streaming.client.cjs.map +1 -0
  4. package/dist/cjs/admin-portal-audit-log-streaming.client.d.cts +26 -0
  5. package/dist/cjs/admin-portal-domain-verification.client.cjs.map +1 -1
  6. package/dist/cjs/admin-portal-sso-connection.client.cjs +4 -7
  7. package/dist/cjs/admin-portal-sso-connection.client.cjs.map +1 -1
  8. package/dist/cjs/api/api-provider.cjs.map +1 -1
  9. package/dist/cjs/api/api-provider.d.cts +1 -1
  10. package/dist/cjs/api/endpoint.cjs +176 -285
  11. package/dist/cjs/api/endpoint.cjs.map +1 -1
  12. package/dist/cjs/api/endpoint.d.cts +345 -379
  13. package/dist/cjs/directory-sync.client.cjs +16 -3
  14. package/dist/cjs/directory-sync.client.cjs.map +1 -1
  15. package/dist/cjs/experimental/api/fetch.cjs +42 -183
  16. package/dist/cjs/experimental/api/fetch.cjs.map +1 -1
  17. package/dist/cjs/experimental/api/fetch.d.cts +325 -369
  18. package/dist/cjs/experimental/api/react-query.cjs +151 -263
  19. package/dist/cjs/experimental/api/react-query.cjs.map +1 -1
  20. package/dist/cjs/experimental/api/react-query.d.cts +380 -370
  21. package/dist/cjs/experimental/api/swr.cjs +84 -183
  22. package/dist/cjs/experimental/api/swr.cjs.map +1 -1
  23. package/dist/cjs/experimental/api/swr.d.cts +356 -408
  24. package/dist/cjs/index.cjs +11 -0
  25. package/dist/cjs/index.cjs.map +1 -1
  26. package/dist/cjs/index.d.cts +2 -0
  27. package/dist/cjs/lib/add-mfa-dialog.cjs +18 -16
  28. package/dist/cjs/lib/add-mfa-dialog.cjs.map +1 -1
  29. package/dist/cjs/lib/admin-portal-audit-log-streaming.cjs +321 -0
  30. package/dist/cjs/lib/admin-portal-audit-log-streaming.cjs.map +1 -0
  31. package/dist/cjs/lib/admin-portal-audit-log-streaming.d.cts +54 -0
  32. package/dist/cjs/lib/admin-portal-sso-connection.cjs +0 -8
  33. package/dist/cjs/lib/admin-portal-sso-connection.cjs.map +1 -1
  34. package/dist/cjs/lib/admin-portal-sso-connection.d.cts +1 -2
  35. package/dist/cjs/lib/audit-log-stream-icons.cjs +63 -0
  36. package/dist/cjs/lib/audit-log-stream-icons.cjs.map +1 -0
  37. package/dist/cjs/lib/audit-log-stream-icons.d.cts +5 -0
  38. package/dist/cjs/lib/identity-providers.d.cts +2 -2
  39. package/dist/cjs/lib/provider-icon.cjs.map +1 -1
  40. package/dist/cjs/lib/provider-icon.d.cts +2 -2
  41. package/dist/cjs/workos-widgets.client.cjs +13 -1
  42. package/dist/cjs/workos-widgets.client.cjs.map +1 -1
  43. package/dist/esm/admin-portal-audit-log-streaming.client.d.ts +26 -0
  44. package/dist/esm/admin-portal-audit-log-streaming.client.js +153 -0
  45. package/dist/esm/admin-portal-audit-log-streaming.client.js.map +1 -0
  46. package/dist/esm/admin-portal-domain-verification.client.js +2 -2
  47. package/dist/esm/admin-portal-domain-verification.client.js.map +1 -1
  48. package/dist/esm/admin-portal-sso-connection.client.js +6 -9
  49. package/dist/esm/admin-portal-sso-connection.client.js.map +1 -1
  50. package/dist/esm/api/api-provider.d.ts +1 -1
  51. package/dist/esm/api/api-provider.js.map +1 -1
  52. package/dist/esm/api/endpoint.d.ts +345 -379
  53. package/dist/esm/api/endpoint.js +168 -265
  54. package/dist/esm/api/endpoint.js.map +1 -1
  55. package/dist/esm/directory-sync.client.js +16 -3
  56. package/dist/esm/directory-sync.client.js.map +1 -1
  57. package/dist/esm/experimental/api/fetch.d.ts +325 -369
  58. package/dist/esm/experimental/api/fetch.js +38 -163
  59. package/dist/esm/experimental/api/fetch.js.map +1 -1
  60. package/dist/esm/experimental/api/react-query.d.ts +380 -370
  61. package/dist/esm/experimental/api/react-query.js +141 -243
  62. package/dist/esm/experimental/api/react-query.js.map +1 -1
  63. package/dist/esm/experimental/api/swr.d.ts +356 -408
  64. package/dist/esm/experimental/api/swr.js +76 -163
  65. package/dist/esm/experimental/api/swr.js.map +1 -1
  66. package/dist/esm/index.d.ts +2 -0
  67. package/dist/esm/index.js +12 -0
  68. package/dist/esm/index.js.map +1 -1
  69. package/dist/esm/lib/add-mfa-dialog.js +18 -16
  70. package/dist/esm/lib/add-mfa-dialog.js.map +1 -1
  71. package/dist/esm/lib/admin-portal-audit-log-streaming.d.ts +54 -0
  72. package/dist/esm/lib/admin-portal-audit-log-streaming.js +290 -0
  73. package/dist/esm/lib/admin-portal-audit-log-streaming.js.map +1 -0
  74. package/dist/esm/lib/admin-portal-sso-connection.d.ts +1 -2
  75. package/dist/esm/lib/admin-portal-sso-connection.js +0 -8
  76. package/dist/esm/lib/admin-portal-sso-connection.js.map +1 -1
  77. package/dist/esm/lib/audit-log-stream-icons.d.ts +5 -0
  78. package/dist/esm/lib/audit-log-stream-icons.js +39 -0
  79. package/dist/esm/lib/audit-log-stream-icons.js.map +1 -0
  80. package/dist/esm/lib/identity-providers.d.ts +2 -2
  81. package/dist/esm/lib/provider-icon.d.ts +2 -2
  82. package/dist/esm/lib/provider-icon.js.map +1 -1
  83. package/dist/esm/workos-widgets.client.js +13 -1
  84. package/dist/esm/workos-widgets.client.js.map +1 -1
  85. package/package.json +2 -2
@@ -20,160 +20,131 @@ declare const MemberActionsItem: {
20
20
  readonly "revoke-membership": "revoke-membership";
21
21
  };
22
22
  type MemberActions = MemberActionsItem[];
23
- type MemberProfilePictureUrl = string | null;
24
- type MemberFirstName = string | null;
25
- type MemberLastName = string | null;
26
- type MemberLastActivityAt = string | null;
27
- type MemberIsLoggedInUser = true | null;
28
- type MemberRolesOneOfItemDescription = string | null;
29
- type MemberRolesOneOfItem = {
23
+ type MemberRoles = {
30
24
  name: string;
31
25
  slug: string;
32
- description?: MemberRolesOneOfItemDescription;
33
- };
34
- type MemberRoles = MemberRolesOneOfItem[] | null;
26
+ /** @nullable */
27
+ description?: string | null;
28
+ }[] | null;
35
29
  interface Member {
36
30
  id: string;
37
31
  email: string;
38
32
  emailVerified: boolean;
39
- profilePictureUrl?: MemberProfilePictureUrl;
40
- firstName?: MemberFirstName;
41
- lastName?: MemberLastName;
33
+ /** @nullable */
34
+ profilePictureUrl?: string | null;
35
+ /** @nullable */
36
+ firstName?: string | null;
37
+ /** @nullable */
38
+ lastName?: string | null;
42
39
  /** An ISO 8601 timestamp. */
43
40
  createdAt: string;
44
- lastActivityAt?: MemberLastActivityAt;
41
+ /** @nullable */
42
+ lastActivityAt?: string | null;
45
43
  status: MemberStatus;
46
44
  actions: MemberActions;
47
- isLoggedInUser?: MemberIsLoggedInUser;
45
+ isLoggedInUser?: true | null;
48
46
  roles?: MemberRoles;
49
47
  }
50
- /**
51
- * An object ID that defines your place in the list. When the ID is not present, you are at the start of the list.
52
- */
53
- type ListMetadataBefore = string | null;
54
- /**
55
- * An object ID that defines your place in the list. When the ID is not present, you are at the end of the list.
56
- */
57
- type ListMetadataAfter = string | null;
58
48
  interface ListMetadata {
59
- /** An object ID that defines your place in the list. When the ID is not present, you are at the start of the list. */
60
- before: ListMetadataBefore;
61
- /** An object ID that defines your place in the list. When the ID is not present, you are at the end of the list. */
62
- after: ListMetadataAfter;
49
+ /**
50
+ * An object ID that defines your place in the list. When the ID is not present, you are at the start of the list.
51
+ * @nullable
52
+ */
53
+ before: string | null;
54
+ /**
55
+ * An object ID that defines your place in the list. When the ID is not present, you are at the end of the list.
56
+ * @nullable
57
+ */
58
+ after: string | null;
63
59
  }
64
- type MemberRoleDescription = string | null;
65
60
  interface MemberRole {
66
61
  name: string;
67
62
  slug: string;
68
63
  default: boolean;
69
- description?: MemberRoleDescription;
64
+ /** @nullable */
65
+ description?: string | null;
70
66
  }
71
67
  interface RolesAndConfigResponse {
72
68
  roles: MemberRole[];
73
69
  multipleRolesEnabled: boolean;
74
70
  }
75
- type OrganizationInfoFavicon = string | null;
76
71
  interface OrganizationInfo {
77
72
  id: string;
78
73
  name: string;
79
74
  current: boolean;
80
- favicon?: OrganizationInfoFavicon;
75
+ /** @nullable */
76
+ favicon?: string | null;
81
77
  }
82
78
  interface OrganizationsResponse {
83
79
  data: OrganizationInfo[];
84
80
  }
85
- type OAuthProfileEmail = string | null;
86
- type OAuthProfileFirstName = string | null;
87
- type OAuthProfileLastName = string | null;
88
- type OAuthProfileProfilePictureUrl = string | null;
89
- type OAuthProfileLastLoginAt = string | null;
90
81
  interface OAuthProfile {
91
82
  id: string;
92
- email?: OAuthProfileEmail;
93
- firstName?: OAuthProfileFirstName;
94
- lastName?: OAuthProfileLastName;
95
- profilePictureUrl?: OAuthProfileProfilePictureUrl;
96
- lastLoginAt?: OAuthProfileLastLoginAt;
83
+ /** @nullable */
84
+ email?: string | null;
85
+ /** @nullable */
86
+ firstName?: string | null;
87
+ /** @nullable */
88
+ lastName?: string | null;
89
+ /** @nullable */
90
+ profilePictureUrl?: string | null;
91
+ /** @nullable */
92
+ lastLoginAt?: string | null;
97
93
  }
98
- type MeFirstName = string | null;
99
- type MeLastName = string | null;
100
- type MeLocale = string | null;
101
- type MeProfilePictureUrl = string | null;
102
- type MeOauthProfilesOneOf = {
94
+ type MeOauthProfiles = {
103
95
  AppleOAuth?: OAuthProfile;
104
96
  GithubOAuth?: OAuthProfile;
105
97
  GoogleOAuth?: OAuthProfile;
106
98
  MicrosoftOAuth?: OAuthProfile;
107
- };
108
- type MeOauthProfiles = MeOauthProfilesOneOf | null;
99
+ } | null;
109
100
  interface Me {
110
101
  id: string;
111
102
  email: string;
112
- firstName?: MeFirstName;
113
- lastName?: MeLastName;
114
- locale?: MeLocale;
115
- profilePictureUrl?: MeProfilePictureUrl;
103
+ /** @nullable */
104
+ firstName?: string | null;
105
+ /** @nullable */
106
+ lastName?: string | null;
107
+ /** @nullable */
108
+ locale?: string | null;
109
+ /** @nullable */
110
+ profilePictureUrl?: string | null;
116
111
  oauthProfiles?: MeOauthProfiles;
117
112
  }
118
- type CreateTotpFactorResponseAuthenticationFactorAllOfObject = (typeof CreateTotpFactorResponseAuthenticationFactorAllOfObject)[keyof typeof CreateTotpFactorResponseAuthenticationFactorAllOfObject];
119
- declare const CreateTotpFactorResponseAuthenticationFactorAllOfObject: {
120
- readonly authentication_factor: "authentication_factor";
121
- };
122
- type CreateTotpFactorResponseAuthenticationFactorAllOfType = (typeof CreateTotpFactorResponseAuthenticationFactorAllOfType)[keyof typeof CreateTotpFactorResponseAuthenticationFactorAllOfType];
123
- declare const CreateTotpFactorResponseAuthenticationFactorAllOfType: {
124
- readonly generic_otp: "generic_otp";
125
- readonly sms: "sms";
126
- readonly totp: "totp";
127
- readonly webauthn: "webauthn";
128
- };
129
- type CreateTotpFactorResponseAuthenticationFactorAllOfUserId = string | null;
130
- type CreateTotpFactorResponseAuthenticationFactorAllOfSmsOneOf = {
131
- phone_number: string;
132
- };
133
- type CreateTotpFactorResponseAuthenticationFactorAllOfSms = CreateTotpFactorResponseAuthenticationFactorAllOfSmsOneOf | null;
134
- type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf = {
135
- issuer: string;
136
- user: string;
137
- secret: string;
138
- qr_code: string;
139
- uri: string;
140
- };
141
- type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo = {
142
- issuer: string;
143
- user: string;
144
- };
145
- type CreateTotpFactorResponseAuthenticationFactorAllOfTotp = CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf | CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo | null;
146
- type CreateTotpFactorResponseAuthenticationFactorAllOf = {
147
- object: CreateTotpFactorResponseAuthenticationFactorAllOfObject;
113
+ type CreateTotpFactorResponseAuthenticationFactor = {
114
+ object: "authentication_factor";
148
115
  id: string;
149
- type: CreateTotpFactorResponseAuthenticationFactorAllOfType;
150
- user_id?: CreateTotpFactorResponseAuthenticationFactorAllOfUserId;
151
- sms?: CreateTotpFactorResponseAuthenticationFactorAllOfSms;
152
- totp?: CreateTotpFactorResponseAuthenticationFactorAllOfTotp;
153
- };
154
- type CreateTotpFactorResponseAuthenticationFactorAllOfOnezero = {
116
+ type: "generic_otp" | "sms" | "totp" | "webauthn";
117
+ /** @nullable */
118
+ user_id?: string | null;
119
+ sms?: {
120
+ phone_number: string;
121
+ } | null;
122
+ totp?: {
123
+ issuer: string;
124
+ user: string;
125
+ secret: string;
126
+ qr_code: string;
127
+ uri: string;
128
+ } | {
129
+ issuer: string;
130
+ user: string;
131
+ } | null;
132
+ } & {
155
133
  created_at: string;
156
134
  updated_at: string;
157
135
  };
158
- type CreateTotpFactorResponseAuthenticationFactor = CreateTotpFactorResponseAuthenticationFactorAllOf & CreateTotpFactorResponseAuthenticationFactorAllOfOnezero;
159
- type CreateTotpFactorResponseAuthenticationChallengeAllOfObject = (typeof CreateTotpFactorResponseAuthenticationChallengeAllOfObject)[keyof typeof CreateTotpFactorResponseAuthenticationChallengeAllOfObject];
160
- declare const CreateTotpFactorResponseAuthenticationChallengeAllOfObject: {
161
- readonly authentication_challenge: "authentication_challenge";
162
- };
163
- type CreateTotpFactorResponseAuthenticationChallengeAllOfExpiresAt = string | null;
164
- type CreateTotpFactorResponseAuthenticationChallengeAllOfCode = string | null;
165
- type CreateTotpFactorResponseAuthenticationChallengeAllOf = {
166
- object: CreateTotpFactorResponseAuthenticationChallengeAllOfObject;
136
+ type CreateTotpFactorResponseAuthenticationChallenge = {
137
+ object: "authentication_challenge";
167
138
  id: string;
168
- expires_at?: CreateTotpFactorResponseAuthenticationChallengeAllOfExpiresAt;
169
- code?: CreateTotpFactorResponseAuthenticationChallengeAllOfCode;
139
+ /** @nullable */
140
+ expires_at?: string | null;
141
+ /** @nullable */
142
+ code?: string | null;
170
143
  authentication_factor_id: string;
171
- };
172
- type CreateTotpFactorResponseAuthenticationChallengeAllOfFive = {
144
+ } & {
173
145
  created_at: string;
174
146
  updated_at: string;
175
147
  };
176
- type CreateTotpFactorResponseAuthenticationChallenge = CreateTotpFactorResponseAuthenticationChallengeAllOf & CreateTotpFactorResponseAuthenticationChallengeAllOfFive;
177
148
  interface CreateTotpFactorResponse {
178
149
  authenticationFactor: CreateTotpFactorResponseAuthenticationFactor;
179
150
  authenticationChallenge: CreateTotpFactorResponseAuthenticationChallenge;
@@ -182,45 +153,29 @@ interface VerifyTotpFactorRequest {
182
153
  code: string;
183
154
  authenticationChallengeId: string;
184
155
  }
185
- type AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider];
186
- declare const AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider: {
187
- readonly MFA: "MFA";
188
- };
189
- type AuthenticationInformationResponseDataVerificationMethodsMfaOneOfLastUsed = string | null;
190
- type AuthenticationInformationResponseDataVerificationMethodsMfaOneOf = {
191
- provider: AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider;
156
+ type AuthenticationInformationResponseDataVerificationMethodsMfa = {
157
+ provider: "MFA";
192
158
  isSetUp: boolean;
193
- lastUsed?: AuthenticationInformationResponseDataVerificationMethodsMfaOneOfLastUsed;
194
- };
195
- type AuthenticationInformationResponseDataVerificationMethodsMfa = AuthenticationInformationResponseDataVerificationMethodsMfaOneOf | null;
196
- type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider];
197
- declare const AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider: {
198
- readonly Password: "Password";
199
- };
200
- type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfLastUsed = string | null;
201
- type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOf = {
202
- provider: AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider;
159
+ /** @nullable */
160
+ lastUsed?: string | null;
161
+ } | null;
162
+ type AuthenticationInformationResponseDataVerificationMethodsPassword = {
163
+ provider: "Password";
203
164
  isSetUp: boolean;
204
- lastUsed?: AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfLastUsed;
165
+ /** @nullable */
166
+ lastUsed?: string | null;
205
167
  isCurrentSession: boolean;
206
- };
207
- type AuthenticationInformationResponseDataVerificationMethodsPassword = AuthenticationInformationResponseDataVerificationMethodsPasswordOneOf | null;
208
- type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider];
209
- declare const AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider: {
210
- readonly Passkey: "Passkey";
211
- };
212
- type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfLastUsed = string | null;
213
- type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfPassKeysItem = {
214
- id: string;
215
- };
216
- type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOf = {
217
- provider: AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider;
168
+ } | null;
169
+ type AuthenticationInformationResponseDataVerificationMethodsPasskey = {
170
+ provider: "Passkey";
218
171
  isSetUp: boolean;
219
- lastUsed?: AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfLastUsed;
220
- passKeys: AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfPassKeysItem[];
172
+ /** @nullable */
173
+ lastUsed?: string | null;
174
+ passKeys: {
175
+ id: string;
176
+ }[];
221
177
  isCurrentSession: boolean;
222
- };
223
- type AuthenticationInformationResponseDataVerificationMethodsPasskey = AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOf | null;
178
+ } | null;
224
179
  type AuthenticationInformationResponseDataVerificationMethods = {
225
180
  Mfa?: AuthenticationInformationResponseDataVerificationMethodsMfa;
226
181
  Password?: AuthenticationInformationResponseDataVerificationMethodsPassword;
@@ -251,29 +206,24 @@ interface UpdatePasswordRequest {
251
206
  interface RevokeAllSessionsRequest {
252
207
  currentSessionId: string;
253
208
  }
254
- type ActiveSessionIpAddress = string | null;
255
- type ActiveSessionUserAgent = string | null;
256
- type ActiveSessionOrganizationId = string | null;
257
- type ActiveSessionStateExpiresAt = string | null;
258
209
  type ActiveSessionState = {
259
210
  tag: string;
260
- expiresAt?: ActiveSessionStateExpiresAt;
211
+ /** @nullable */
212
+ expiresAt?: string | null;
261
213
  };
262
- type ActiveSessionCurrentLocationOneOf = {
214
+ type ActiveSessionCurrentLocation = {
263
215
  cityName: string;
264
216
  countryISOCode: string;
265
- };
266
- type ActiveSessionCurrentLocation = ActiveSessionCurrentLocationOneOf | null;
267
- type ActiveSessionImpersonatorUserId = string | null;
268
- type ActiveSessionImpersonatorEmail = string | null;
269
- type ActiveSessionImpersonationReason = string | null;
270
- type ActiveSessionLastActivityAt = string | null;
217
+ } | null;
271
218
  interface ActiveSession {
272
219
  id: string;
273
220
  userlandUserId: string;
274
- ipAddress?: ActiveSessionIpAddress;
275
- userAgent?: ActiveSessionUserAgent;
276
- organizationId?: ActiveSessionOrganizationId;
221
+ /** @nullable */
222
+ ipAddress?: string | null;
223
+ /** @nullable */
224
+ userAgent?: string | null;
225
+ /** @nullable */
226
+ organizationId?: string | null;
277
227
  state: ActiveSessionState;
278
228
  currentLocation?: ActiveSessionCurrentLocation;
279
229
  usedSsoAuth: boolean;
@@ -290,23 +240,23 @@ interface ActiveSession {
290
240
  usedSlackOauth: boolean;
291
241
  usedXeroOauth: boolean;
292
242
  usedMagicAuth: boolean;
293
- impersonatorUserId?: ActiveSessionImpersonatorUserId;
294
- impersonatorEmail?: ActiveSessionImpersonatorEmail;
295
- impersonationReason?: ActiveSessionImpersonationReason;
296
- lastActivityAt?: ActiveSessionLastActivityAt;
243
+ /** @nullable */
244
+ impersonatorUserId?: string | null;
245
+ /** @nullable */
246
+ impersonatorEmail?: string | null;
247
+ /** @nullable */
248
+ impersonationReason?: string | null;
249
+ /** @nullable */
250
+ lastActivityAt?: string | null;
297
251
  createdAt: string;
298
252
  updatedAt: string;
299
253
  }
300
254
  interface ActiveSessionsResponse {
301
255
  data: ActiveSession[];
302
256
  }
303
- type SendVerificationResponseType = (typeof SendVerificationResponseType)[keyof typeof SendVerificationResponseType];
304
- declare const SendVerificationResponseType: {
305
- readonly EmailVerification: "EmailVerification";
306
- };
307
257
  interface SendVerificationResponse {
308
258
  authenticationChallenge: string;
309
- type: SendVerificationResponseType;
259
+ type: "EmailVerification";
310
260
  }
311
261
  interface VerifyRequest {
312
262
  code: string;
@@ -330,21 +280,17 @@ interface VerifyPasskeyRequest {
330
280
  challengeId: string;
331
281
  response: VerifyPasskeyRequestResponse;
332
282
  }
333
- type SettingsResponseObject = (typeof SettingsResponseObject)[keyof typeof SettingsResponseObject];
334
- declare const SettingsResponseObject: {
335
- readonly settings: "settings";
336
- };
337
- type SettingsResponseLogoDarkIconPath = string | null;
338
- type SettingsResponseLogoDarkPath = string | null;
339
- type SettingsResponseLogoLightIconPath = string | null;
340
- type SettingsResponseLogoLightPath = string | null;
341
283
  interface SettingsResponse {
342
- object: SettingsResponseObject;
284
+ object: "settings";
343
285
  authkitOrigin: string;
344
- logoDarkIconPath?: SettingsResponseLogoDarkIconPath;
345
- logoDarkPath?: SettingsResponseLogoDarkPath;
346
- logoLightIconPath?: SettingsResponseLogoLightIconPath;
347
- logoLightPath?: SettingsResponseLogoLightPath;
286
+ /** @nullable */
287
+ logoDarkIconPath?: string | null;
288
+ /** @nullable */
289
+ logoDarkPath?: string | null;
290
+ /** @nullable */
291
+ logoLightIconPath?: string | null;
292
+ /** @nullable */
293
+ logoLightPath?: string | null;
348
294
  teamName: string;
349
295
  }
350
296
  type OrganizationDomainState = (typeof OrganizationDomainState)[keyof typeof OrganizationDomainState];
@@ -362,28 +308,28 @@ declare const DomainVerificationNameServer: {
362
308
  readonly GoDaddy: "GoDaddy";
363
309
  readonly Other: "Other";
364
310
  };
365
- type OrganizationDomainVerificationPrefix = string | null;
366
- type OrganizationDomainVerificationToken = string | null;
367
- type OrganizationDomainSubdomain = string | null;
368
311
  interface OrganizationDomain {
369
312
  id: string;
370
313
  domain: string;
371
314
  state: OrganizationDomainState;
372
315
  nameServer: DomainVerificationNameServer;
373
- verificationPrefix?: OrganizationDomainVerificationPrefix;
374
- verificationToken?: OrganizationDomainVerificationToken;
375
- subdomain?: OrganizationDomainSubdomain;
316
+ /** @nullable */
317
+ verificationPrefix?: string | null;
318
+ /** @nullable */
319
+ verificationToken?: string | null;
320
+ /** @nullable */
321
+ subdomain?: string | null;
376
322
  createdAt: string;
377
323
  }
378
- type X509CertificateJSONNotBefore = string | null;
379
- type X509CertificateJSONNotAfter = string | null;
380
- type X509CertificateJSONLastExpiryEventSentAt = string | null;
381
324
  interface X509CertificateJSON {
382
325
  id: string;
383
326
  value: string;
384
- notBefore?: X509CertificateJSONNotBefore;
385
- notAfter?: X509CertificateJSONNotAfter;
386
- lastExpiryEventSentAt?: X509CertificateJSONLastExpiryEventSentAt;
327
+ /** @nullable */
328
+ notBefore?: string | null;
329
+ /** @nullable */
330
+ notAfter?: string | null;
331
+ /** @nullable */
332
+ lastExpiryEventSentAt?: string | null;
387
333
  }
388
334
  type SamlSessionState = (typeof SamlSessionState)[keyof typeof SamlSessionState];
389
335
  declare const SamlSessionState: {
@@ -415,108 +361,52 @@ interface SsoConnectionSessionJSON {
415
361
  createdAt: string;
416
362
  state: (typeof SsoConnectionSessionJSONState)[keyof typeof SsoConnectionSessionJSONState];
417
363
  }
418
- type SsoConnectionAnyOfType = (typeof SsoConnectionAnyOfType)[keyof typeof SsoConnectionAnyOfType];
419
- declare const SsoConnectionAnyOfType: {
420
- readonly AdfsSaml: "AdfsSaml";
421
- readonly Auth0Saml: "Auth0Saml";
422
- readonly AzureSaml: "AzureSaml";
423
- readonly CasSaml: "CasSaml";
424
- readonly ClassLinkSaml: "ClassLinkSaml";
425
- readonly CloudflareSaml: "CloudflareSaml";
426
- readonly CyberArkSaml: "CyberArkSaml";
427
- readonly DuoSaml: "DuoSaml";
428
- readonly GenericSaml: "GenericSaml";
429
- readonly GoogleSaml: "GoogleSaml";
430
- readonly JumpCloudSaml: "JumpCloudSaml";
431
- readonly KeycloakSaml: "KeycloakSaml";
432
- readonly LastPassSaml: "LastPassSaml";
433
- readonly MiniOrangeSaml: "MiniOrangeSaml";
434
- readonly NetIqSaml: "NetIqSaml";
435
- readonly OktaSaml: "OktaSaml";
436
- readonly OneLoginSaml: "OneLoginSaml";
437
- readonly OracleSaml: "OracleSaml";
438
- readonly PingFederateSaml: "PingFederateSaml";
439
- readonly PingOneSaml: "PingOneSaml";
440
- readonly RipplingSaml: "RipplingSaml";
441
- readonly SalesforceSaml: "SalesforceSaml";
442
- readonly ShibbolethGenericSaml: "ShibbolethGenericSaml";
443
- readonly ShibbolethSaml: "ShibbolethSaml";
444
- readonly SimpleSamlPhpSaml: "SimpleSamlPhpSaml";
445
- readonly TestIdp: "TestIdp";
446
- readonly VmWareSaml: "VmWareSaml";
447
- };
448
- type SsoConnectionAnyOfState = (typeof SsoConnectionAnyOfState)[keyof typeof SsoConnectionAnyOfState];
449
- declare const SsoConnectionAnyOfState: {
450
- readonly Inactive: "Inactive";
451
- readonly Validating: "Validating";
452
- readonly Active: "Active";
453
- readonly Deleting: "Deleting";
454
- };
455
- type SsoConnectionAnyOfLatestExpiringCertificate = X509CertificateJSON | null;
456
- type SsoConnectionAnyOfLatestExpiredCertificate = X509CertificateJSON | null;
457
- type SsoConnectionAnyOfProviderTag = (typeof SsoConnectionAnyOfProviderTag)[keyof typeof SsoConnectionAnyOfProviderTag];
458
- declare const SsoConnectionAnyOfProviderTag: {
459
- readonly Saml: "Saml";
460
- };
461
- type SsoConnectionAnyOfLastSession = SsoConnectionSessionJSON | null;
462
- type SsoConnectionAnyOf = {
364
+ type SsoConnection = {
463
365
  id: string;
464
- type: SsoConnectionAnyOfType;
366
+ type: "AdfsSaml" | "Auth0Saml" | "AzureSaml" | "CasSaml" | "ClassLinkSaml" | "CloudflareSaml" | "CyberArkSaml" | "DuoSaml" | "GenericSaml" | "GoogleSaml" | "JumpCloudSaml" | "KeycloakSaml" | "LastPassSaml" | "MiniOrangeSaml" | "NetIqSaml" | "OktaSaml" | "OneLoginSaml" | "OracleSaml" | "PingFederateSaml" | "PingOneSaml" | "RipplingSaml" | "SalesforceSaml" | "ShibbolethGenericSaml" | "ShibbolethSaml" | "SimpleSamlPhpSaml" | "TestIdp" | "VmWareSaml";
465
367
  name: string;
466
- state: SsoConnectionAnyOfState;
368
+ state: "Inactive" | "Validating" | "Active" | "Deleting";
467
369
  x509Certificates: X509CertificateJSON[];
468
- latestExpiringCertificate?: SsoConnectionAnyOfLatestExpiringCertificate;
469
- latestExpiredCertificate?: SsoConnectionAnyOfLatestExpiredCertificate;
370
+ latestExpiringCertificate?: X509CertificateJSON | null;
371
+ latestExpiredCertificate?: X509CertificateJSON | null;
470
372
  createdAt: string;
471
- providerTag: SsoConnectionAnyOfProviderTag;
472
- lastSession?: SsoConnectionAnyOfLastSession;
473
- };
474
- type SsoConnectionAnyOfEightAllOfState = (typeof SsoConnectionAnyOfEightAllOfState)[keyof typeof SsoConnectionAnyOfEightAllOfState];
475
- declare const SsoConnectionAnyOfEightAllOfState: {
476
- readonly Inactive: "Inactive";
477
- readonly Validating: "Validating";
478
- readonly Active: "Active";
479
- readonly Deleting: "Deleting";
480
- };
481
- type SsoConnectionAnyOfEightAllOfType = (typeof SsoConnectionAnyOfEightAllOfType)[keyof typeof SsoConnectionAnyOfEightAllOfType];
482
- declare const SsoConnectionAnyOfEightAllOfType: {
483
- readonly AdpOidc: "AdpOidc";
484
- readonly Auth0Migration: "Auth0Migration";
485
- readonly CleverOidc: "CleverOidc";
486
- readonly EntraIdOidc: "EntraIdOidc";
487
- readonly GenericOidc: "GenericOidc";
488
- readonly GoogleOidc: "GoogleOidc";
489
- readonly OktaOidc: "OktaOidc";
490
- readonly LoginGovOidc: "LoginGovOidc";
491
- };
492
- type SsoConnectionAnyOfEightAllOfProviderTag = (typeof SsoConnectionAnyOfEightAllOfProviderTag)[keyof typeof SsoConnectionAnyOfEightAllOfProviderTag];
493
- declare const SsoConnectionAnyOfEightAllOfProviderTag: {
494
- readonly OpenIdConnect: "OpenIdConnect";
495
- };
496
- type SsoConnectionAnyOfEightAllOfLastSession = SsoConnectionSessionJSON | null;
497
- type SsoConnectionAnyOfEightAllOf = {
373
+ providerTag: "Saml";
374
+ lastSession?: SsoConnectionSessionJSON | null;
375
+ } | ({
498
376
  id: string;
499
377
  name: string;
500
- state: SsoConnectionAnyOfEightAllOfState;
501
- type: SsoConnectionAnyOfEightAllOfType;
378
+ state: "Inactive" | "Validating" | "Active" | "Deleting";
379
+ type: "AdpOidc" | "Auth0Migration" | "CleverOidc" | "EntraIdOidc" | "GenericOidc" | "GoogleOidc" | "OktaOidc" | "LoginGovOidc";
502
380
  createdAt: string;
503
- providerTag: SsoConnectionAnyOfEightAllOfProviderTag;
504
- lastSession?: SsoConnectionAnyOfEightAllOfLastSession;
505
- };
506
- type SsoConnectionAnyOfEightAllOfSix = {
381
+ providerTag: "OpenIdConnect";
382
+ lastSession?: SsoConnectionSessionJSON | null;
383
+ } & {
384
+ /** @nullable */
507
385
  x509Certificates?: null;
386
+ /** @nullable */
508
387
  latestExpiringCertificate?: null;
388
+ /** @nullable */
509
389
  latestExpiredCertificate?: null;
510
- };
511
- type SsoConnectionAnyOfEight = SsoConnectionAnyOfEightAllOf & SsoConnectionAnyOfEightAllOfSix;
512
- type SsoConnection = SsoConnectionAnyOf | SsoConnectionAnyOfEight;
513
- type ListOrganizationApiKeysResponseDataLastUsedAt = string | null;
390
+ });
391
+ type AuditLogStreamState = "Active" | "Inactive" | "Error" | "Invalid";
392
+ type AuditLogStreamType = "Datadog" | "Splunk" | "S3" | "GoogleCloudStorage" | "GenericHttps" | "AzureSentinel";
393
+ interface AuditLogStreamJSON {
394
+ id: string;
395
+ state: AuditLogStreamState;
396
+ type: AuditLogStreamType;
397
+ /** @nullable */
398
+ errorMessage?: string | null;
399
+ /** @nullable */
400
+ lastSyncedEventId?: string | null;
401
+ auditLogTrailId: string;
402
+ }
514
403
  interface ListOrganizationApiKeysResponseData {
515
404
  id: string;
516
405
  name: string;
517
406
  obfuscatedValue: string;
518
407
  createdAt: string;
519
- lastUsedAt?: ListOrganizationApiKeysResponseDataLastUsedAt;
408
+ /** @nullable */
409
+ lastUsedAt?: string | null;
520
410
  permissions: string[];
521
411
  }
522
412
  type ListOrganizationApiKeysResponseListMetadata = {
@@ -539,12 +429,12 @@ interface CreateOrganizationApiKeyResponse {
539
429
  name: string;
540
430
  permissions: string[];
541
431
  }
542
- type ListOrganizationApiKeyPermissionDescription = string | null;
543
432
  interface ListOrganizationApiKeyPermission {
544
433
  id: string;
545
434
  slug: string;
546
435
  name: string;
547
- description?: ListOrganizationApiKeyPermissionDescription;
436
+ /** @nullable */
437
+ description?: string | null;
548
438
  }
549
439
  type ListOrganizationApiKeyPermissionsResponseListMetadata = {
550
440
  before?: string;
@@ -554,114 +444,49 @@ interface ListOrganizationApiKeyPermissionsResponse {
554
444
  data: ListOrganizationApiKeyPermission[];
555
445
  list_metadata: ListOrganizationApiKeyPermissionsResponseListMetadata;
556
446
  }
557
- declare const DataInstallationAllOfObject: {
558
- readonly data_installation: "data_installation";
559
- readonly connected_account: "connected_account";
560
- };
561
- type DataInstallationAllOfUserId = string | null;
562
- type DataInstallationAllOfOrganizationId = string | null;
563
- declare const DataInstallationAllOfState: {
564
- readonly connected: "connected";
565
- readonly needs_reauthorization: "needs_reauthorization";
566
- };
567
- type DataInstallationAllOf = {
568
- object: (typeof DataInstallationAllOfObject)[keyof typeof DataInstallationAllOfObject];
447
+ type DataInstallation = {
448
+ object: "data_installation" | "connected_account";
569
449
  id: string;
570
- user_id?: DataInstallationAllOfUserId;
571
- organization_id?: DataInstallationAllOfOrganizationId;
450
+ /** @nullable */
451
+ user_id?: string | null;
452
+ /** @nullable */
453
+ organization_id?: string | null;
572
454
  scopes: string[];
573
- state: (typeof DataInstallationAllOfState)[keyof typeof DataInstallationAllOfState];
455
+ state: "connected" | "needs_reauthorization";
574
456
  created_at: string;
575
457
  updated_at: string;
576
- };
577
- type DataInstallationAllOfSixUserlandUserId = string | null;
578
- type DataInstallationAllOfSixOrganizationId = string | null;
579
- type DataInstallationAllOfSix = {
580
- userlandUserId?: DataInstallationAllOfSixUserlandUserId;
581
- organizationId?: DataInstallationAllOfSixOrganizationId;
458
+ } & {
459
+ /** @nullable */
460
+ userlandUserId?: string | null;
461
+ /** @nullable */
462
+ organizationId?: string | null;
582
463
  createdAt?: string;
583
464
  updatedAt?: string;
584
465
  };
585
- type DataInstallation = DataInstallationAllOf & DataInstallationAllOfSix;
586
- type DataIntegrationObject = (typeof DataIntegrationObject)[keyof typeof DataIntegrationObject];
587
- declare const DataIntegrationObject: {
588
- readonly data_integration: "data_integration";
589
- };
590
- type DataIntegrationDescription = string | null;
591
- declare const DataIntegrationIntegrationType: {
592
- readonly asana: "asana";
593
- readonly box: "box";
594
- readonly "cal-dot-com": "cal-dot-com";
595
- readonly calendly: "calendly";
596
- readonly confluence: "confluence";
597
- readonly dropbox: "dropbox";
598
- readonly "frame-io": "frame-io";
599
- readonly front: "front";
600
- readonly github: "github";
601
- readonly gitlab: "gitlab";
602
- readonly gmail: "gmail";
603
- readonly google: "google";
604
- readonly "google-calendar": "google-calendar";
605
- readonly "google-drive": "google-drive";
606
- readonly helpscout: "helpscout";
607
- readonly hubspot: "hubspot";
608
- readonly intercom: "intercom";
609
- readonly jira: "jira";
610
- readonly linear: "linear";
611
- readonly microsoft: "microsoft";
612
- readonly "microsoft-onedrive": "microsoft-onedrive";
613
- readonly "microsoft-onenote": "microsoft-onenote";
614
- readonly "microsoft-outlook": "microsoft-outlook";
615
- readonly "microsoft-outlook-calendar": "microsoft-outlook-calendar";
616
- readonly "microsoft-sharepoint": "microsoft-sharepoint";
617
- readonly "microsoft-teams": "microsoft-teams";
618
- readonly "microsoft-todo": "microsoft-todo";
619
- readonly notion: "notion";
620
- readonly prefect: "prefect";
621
- readonly "pydantic-logfire": "pydantic-logfire";
622
- readonly salesforce: "salesforce";
623
- readonly sentry: "sentry";
624
- readonly slack: "slack";
625
- readonly snowflake: "snowflake";
626
- readonly stripe: "stripe";
627
- readonly xero: "xero";
628
- readonly zendesk: "zendesk";
629
- };
630
- declare const DataIntegrationOwnership: {
631
- readonly userland_user: "userland_user";
632
- readonly organization: "organization";
633
- };
634
- declare const DataIntegrationCredentialsType: {
635
- readonly shared: "shared";
636
- readonly custom: "custom";
637
- };
638
- type DataIntegrationScopes = string[] | null;
639
- type DataIntegrationInstallation = DataInstallation | null;
640
466
  interface DataIntegration {
641
- object: DataIntegrationObject;
467
+ object: "data_integration";
642
468
  id: string;
643
469
  name: string;
644
- description?: DataIntegrationDescription;
470
+ /** @nullable */
471
+ description?: string | null;
645
472
  slug: string;
646
- integrationType: (typeof DataIntegrationIntegrationType)[keyof typeof DataIntegrationIntegrationType];
647
- ownership: (typeof DataIntegrationOwnership)[keyof typeof DataIntegrationOwnership];
648
- credentialsType: (typeof DataIntegrationCredentialsType)[keyof typeof DataIntegrationCredentialsType];
649
- scopes?: DataIntegrationScopes;
473
+ integrationType: "asana" | "box" | "cal-dot-com" | "calendly" | "confluence" | "dropbox" | "frame-io" | "front" | "github" | "gitlab" | "gmail" | "google" | "google-calendar" | "google-drive" | "helpscout" | "hubspot" | "intercom" | "jira" | "linear" | "microsoft" | "microsoft-onedrive" | "microsoft-onenote" | "microsoft-outlook" | "microsoft-outlook-calendar" | "microsoft-sharepoint" | "microsoft-teams" | "microsoft-todo" | "notion" | "prefect" | "pydantic-logfire" | "salesforce" | "sentry" | "slack" | "snowflake" | "stripe" | "xero" | "zendesk";
474
+ ownership: "userland_user" | "organization";
475
+ credentialsType: "shared" | "custom";
476
+ scopes?: string[] | null;
650
477
  createdAt: string;
651
478
  updatedAt: string;
652
- installation?: DataIntegrationInstallation;
479
+ installation?: DataInstallation | null;
653
480
  }
654
481
  interface DataIntegrationsResponse {
655
482
  data: DataIntegration[];
656
483
  }
657
- type GetDataIntegrationAuthorizeUrlResponseAllOf = {
484
+ type GetDataIntegrationAuthorizeUrlResponse = {
658
485
  url: string;
659
486
  redirectToken: string;
660
- };
661
- type GetDataIntegrationAuthorizeUrlResponseAllOfTwo = {
487
+ } & {
662
488
  handoffToken?: string;
663
489
  };
664
- type GetDataIntegrationAuthorizeUrlResponse = GetDataIntegrationAuthorizeUrlResponseAllOf & GetDataIntegrationAuthorizeUrlResponseAllOfTwo;
665
490
  interface GetAuthorizationStatusResponse {
666
491
  isConnecting: boolean;
667
492
  }
@@ -715,6 +540,8 @@ interface Directory {
715
540
  state: DirectoryState;
716
541
  createdAt: string;
717
542
  updatedAt: string;
543
+ /** @nullable */
544
+ lastSyncRunAt?: string | null;
718
545
  metadata: DirectoryMetadata;
719
546
  }
720
547
  interface DirectoriesResponse {
@@ -804,12 +631,12 @@ type GetDataIntegrationAuthorizeUrl403 = {
804
631
  type GetDataIntegrationAuthorizeUrl404 = {
805
632
  message: string;
806
633
  };
807
- type InviteMemberBodyFirstName = string | null;
808
- type InviteMemberBodyLastName = string | null;
809
634
  type InviteMemberBody = {
810
635
  email: string;
811
- firstName?: InviteMemberBodyFirstName;
812
- lastName?: InviteMemberBodyLastName;
636
+ /** @nullable */
637
+ firstName?: string | null;
638
+ /** @nullable */
639
+ lastName?: string | null;
813
640
  roles: string[];
814
641
  };
815
642
  type InviteMember201 = {
@@ -837,9 +664,9 @@ type RevokeInvite403 = {
837
664
  type RevokeInvite404 = {
838
665
  message: string;
839
666
  };
840
- type ResendInvite201Id = string | null;
841
667
  type ResendInvite201 = {
842
- id?: ResendInvite201Id;
668
+ /** @nullable */
669
+ id?: string | null;
843
670
  success: boolean;
844
671
  };
845
672
  type ResendInvite400 = {
@@ -1037,6 +864,12 @@ type VerifyTotpFactor400 = {
1037
864
  type VerifyTotpFactor403 = {
1038
865
  message: string;
1039
866
  };
867
+ type GetAuditLogStream200 = AuditLogStreamJSON | {
868
+ [key: string]: unknown;
869
+ };
870
+ type GetAuditLogStream403 = {
871
+ message: string;
872
+ };
1040
873
  type GenerateAdminPortalLinkParams = {
1041
874
  intent: GenerateAdminPortalLinkIntent;
1042
875
  };
@@ -1044,6 +877,7 @@ type GenerateAdminPortalLinkIntent = (typeof GenerateAdminPortalLinkIntent)[keyo
1044
877
  declare const GenerateAdminPortalLinkIntent: {
1045
878
  readonly domain_verification: "domain_verification";
1046
879
  readonly sso: "sso";
880
+ readonly log_streams: "log_streams";
1047
881
  };
1048
882
  type GenerateAdminPortalLink201 = {
1049
883
  link: string;
@@ -1084,6 +918,12 @@ type ListDirectories403 = {
1084
918
  type ListDirectories404 = {
1085
919
  message: string;
1086
920
  };
921
+ type GetDirectory403 = {
922
+ message: string;
923
+ };
924
+ type GetDirectory404 = {
925
+ message: string;
926
+ };
1087
927
  type Settings403 = {
1088
928
  message: string;
1089
929
  };
@@ -1121,7 +961,6 @@ declare const getCreateOrganizationApiKeyMutationFetcher: (options?: RequestInit
1121
961
  }) => Promise<createOrganizationApiKeyResponse>;
1122
962
  declare const getCreateOrganizationApiKeyMutationKey: () => readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys"];
1123
963
  type CreateOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof createOrganizationApiKey>>>;
1124
- type CreateOrganizationApiKeyMutationError = Promise<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>;
1125
964
  declare const useCreateOrganizationApiKey: <TError = Promise<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>>(options?: {
1126
965
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createOrganizationApiKey>>, TError, Key, CreateOrganizationApiKeyRequest, Awaited<ReturnType<typeof createOrganizationApiKey>>> & {
1127
966
  swrKey?: string;
@@ -1158,7 +997,6 @@ declare const getListOrganizationApiKeysUrl: (params?: ListOrganizationApiKeysPa
1158
997
  declare const listOrganizationApiKeys: (params?: ListOrganizationApiKeysParams, options?: RequestInit) => Promise<listOrganizationApiKeysResponse>;
1159
998
  declare const getListOrganizationApiKeysKey: (params?: ListOrganizationApiKeysParams) => readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys", ...ListOrganizationApiKeysParams[]];
1160
999
  type ListOrganizationApiKeysQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizationApiKeys>>>;
1161
- type ListOrganizationApiKeysQueryError = Promise<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>;
1162
1000
  declare const useListOrganizationApiKeys: <TError = Promise<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
1163
1001
  swr?: SWRConfiguration<Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError> & {
1164
1002
  swrKey?: Key;
@@ -1196,7 +1034,6 @@ declare const getListOrganizationApiKeyPermissionsUrl: (params?: ListOrganizatio
1196
1034
  declare const listOrganizationApiKeyPermissions: (params?: ListOrganizationApiKeyPermissionsParams, options?: RequestInit) => Promise<listOrganizationApiKeyPermissionsResponse>;
1197
1035
  declare const getListOrganizationApiKeyPermissionsKey: (params?: ListOrganizationApiKeyPermissionsParams) => readonly ["https://api.workos.com/_widgets/ApiKeys/permissions", ...ListOrganizationApiKeyPermissionsParams[]];
1198
1036
  type ListOrganizationApiKeyPermissionsQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>>;
1199
- type ListOrganizationApiKeyPermissionsQueryError = Promise<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>;
1200
1037
  declare const useListOrganizationApiKeyPermissions: <TError = Promise<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
1201
1038
  swr?: SWRConfiguration<Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>, TError> & {
1202
1039
  swrKey?: Key;
@@ -1237,7 +1074,6 @@ declare const getDeleteOrganizationApiKeyMutationFetcher: (apiKeyId: string, opt
1237
1074
  }) => Promise<deleteOrganizationApiKeyResponse>;
1238
1075
  declare const getDeleteOrganizationApiKeyMutationKey: (apiKeyId: string) => readonly [`https://api.workos.com/_widgets/ApiKeys/${string}`];
1239
1076
  type DeleteOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOrganizationApiKey>>>;
1240
- type DeleteOrganizationApiKeyMutationError = Promise<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>;
1241
1077
  declare const useDeleteOrganizationApiKey: <TError = Promise<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>>(apiKeyId: string, options?: {
1242
1078
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteOrganizationApiKey>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteOrganizationApiKey>>> & {
1243
1079
  swrKey?: string;
@@ -1277,7 +1113,6 @@ declare const getDeleteDataInstallationMutationFetcher: (installationId: string,
1277
1113
  }) => Promise<deleteDataInstallationResponse>;
1278
1114
  declare const getDeleteDataInstallationMutationKey: (installationId: string) => readonly [`https://api.workos.com/_widgets/DataIntegrations/installations/${string}`];
1279
1115
  type DeleteDataInstallationMutationResult = NonNullable<Awaited<ReturnType<typeof deleteDataInstallation>>>;
1280
- type DeleteDataInstallationMutationError = Promise<DeleteDataInstallation403 | DeleteDataInstallation404>;
1281
1116
  declare const useDeleteDataInstallation: <TError = Promise<DeleteDataInstallation403 | DeleteDataInstallation404>>(installationId: string, options?: {
1282
1117
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteDataInstallation>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteDataInstallation>>> & {
1283
1118
  swrKey?: string;
@@ -1310,7 +1145,6 @@ declare const getMyDataIntegrationsUrl: () => string;
1310
1145
  declare const myDataIntegrations: (options?: RequestInit) => Promise<myDataIntegrationsResponse>;
1311
1146
  declare const getMyDataIntegrationsKey: () => readonly ["https://api.workos.com/_widgets/DataIntegrations/mine"];
1312
1147
  type MyDataIntegrationsQueryResult = NonNullable<Awaited<ReturnType<typeof myDataIntegrations>>>;
1313
- type MyDataIntegrationsQueryError = Promise<MyDataIntegrations403>;
1314
1148
  declare const useMyDataIntegrations: <TError = Promise<MyDataIntegrations403>>(options?: {
1315
1149
  swr?: SWRConfiguration<Awaited<ReturnType<typeof myDataIntegrations>>, TError> & {
1316
1150
  swrKey?: Key;
@@ -1352,7 +1186,6 @@ declare const getGetDataInstallationAuthorizationStatusUrl: (dataIntegrationId:
1352
1186
  declare const getDataInstallationAuthorizationStatus: (dataIntegrationId: string, state: string, options?: RequestInit) => Promise<getDataInstallationAuthorizationStatusResponse>;
1353
1187
  declare const getGetDataInstallationAuthorizationStatusKey: (dataIntegrationId: string, state: string) => readonly [`https://api.workos.com/_widgets/DataIntegrations/${string}/authorization-status/${string}`];
1354
1188
  type GetDataInstallationAuthorizationStatusQueryResult = NonNullable<Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>>;
1355
- type GetDataInstallationAuthorizationStatusQueryError = Promise<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>;
1356
1189
  declare const useGetDataInstallationAuthorizationStatus: <TError = Promise<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
1357
1190
  swr?: SWRConfiguration<Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>, TError> & {
1358
1191
  swrKey?: Key;
@@ -1394,7 +1227,6 @@ declare const getGetDataIntegrationAuthorizeUrlUrl: (slug: string, params?: GetD
1394
1227
  declare const getDataIntegrationAuthorizeUrl: (slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: RequestInit) => Promise<getDataIntegrationAuthorizeUrlResponse>;
1395
1228
  declare const getGetDataIntegrationAuthorizeUrlKey: (slug: string, params?: GetDataIntegrationAuthorizeUrlParams) => readonly [`https://api.workos.com/_widgets/DataIntegrations/${string}/authorize`, ...GetDataIntegrationAuthorizeUrlParams[]];
1396
1229
  type GetDataIntegrationAuthorizeUrlQueryResult = NonNullable<Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>>;
1397
- type GetDataIntegrationAuthorizeUrlQueryError = Promise<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>;
1398
1230
  declare const useGetDataIntegrationAuthorizeUrl: <TError = Promise<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
1399
1231
  swr?: SWRConfiguration<Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>, TError> & {
1400
1232
  swrKey?: Key;
@@ -1409,6 +1241,9 @@ declare const useGetDataIntegrationAuthorizeUrl: <TError = Promise<GetDataIntegr
1409
1241
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1410
1242
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
1411
1243
  };
1244
+ /**
1245
+ * Sends an invitation email to a user to join the organization. If the user does not have an account, they will be prompted to create one upon accepting.
1246
+ */
1412
1247
  type inviteMemberResponse201 = {
1413
1248
  data: InviteMember201;
1414
1249
  status: 201;
@@ -1439,7 +1274,6 @@ declare const getInviteMemberMutationFetcher: (options?: RequestInit) => (_: Key
1439
1274
  }) => Promise<inviteMemberResponse>;
1440
1275
  declare const getInviteMemberMutationKey: () => readonly ["https://api.workos.com/_widgets/UserManagement/invite-user"];
1441
1276
  type InviteMemberMutationResult = NonNullable<Awaited<ReturnType<typeof inviteMember>>>;
1442
- type InviteMemberMutationError = Promise<InviteMember400 | InviteMember403 | InviteMember404>;
1443
1277
  declare const useInviteMember: <TError = Promise<InviteMember400 | InviteMember403 | InviteMember404>>(options?: {
1444
1278
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof inviteMember>>, TError, Key, InviteMemberBody, Awaited<ReturnType<typeof inviteMember>>> & {
1445
1279
  swrKey?: string;
@@ -1453,6 +1287,9 @@ declare const useInviteMember: <TError = Promise<InviteMember400 | InviteMember4
1453
1287
  data: inviteMemberResponse | undefined;
1454
1288
  swrKey: string | readonly ["https://api.workos.com/_widgets/UserManagement/invite-user"];
1455
1289
  };
1290
+ /**
1291
+ * Cancels a pending invitation for the specified user, preventing them from joining the organization via that invite link.
1292
+ */
1456
1293
  type revokeInviteResponse200 = {
1457
1294
  data: RevokeInvite200;
1458
1295
  status: 200;
@@ -1483,7 +1320,6 @@ declare const getRevokeInviteMutationFetcher: (userId: string, options?: Request
1483
1320
  }) => Promise<revokeInviteResponse>;
1484
1321
  declare const getRevokeInviteMutationKey: (userId: string) => readonly [`https://api.workos.com/_widgets/UserManagement/invites/${string}`];
1485
1322
  type RevokeInviteMutationResult = NonNullable<Awaited<ReturnType<typeof revokeInvite>>>;
1486
- type RevokeInviteMutationError = Promise<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>;
1487
1323
  declare const useRevokeInvite: <TError = Promise<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>>(userId: string, options?: {
1488
1324
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof revokeInvite>>, TError, Key, Arguments, Awaited<ReturnType<typeof revokeInvite>>> & {
1489
1325
  swrKey?: string;
@@ -1497,6 +1333,9 @@ declare const useRevokeInvite: <TError = Promise<RevokeInvite400 | RevokeInvite4
1497
1333
  data: revokeInviteResponse | undefined;
1498
1334
  swrKey: string | readonly [`https://api.workos.com/_widgets/UserManagement/invites/${string}`];
1499
1335
  };
1336
+ /**
1337
+ * Resends the pending invitation email to the specified user. Returns an error if the invitation has already been accepted or has expired.
1338
+ */
1500
1339
  type resendInviteResponse201 = {
1501
1340
  data: ResendInvite201;
1502
1341
  status: 201;
@@ -1531,7 +1370,6 @@ declare const getResendInviteMutationFetcher: (userId: string, options?: Request
1531
1370
  }) => Promise<resendInviteResponse>;
1532
1371
  declare const getResendInviteMutationKey: (userId: string) => readonly [`https://api.workos.com/_widgets/UserManagement/invites/${string}/resend`];
1533
1372
  type ResendInviteMutationResult = NonNullable<Awaited<ReturnType<typeof resendInvite>>>;
1534
- type ResendInviteMutationError = Promise<ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422>;
1535
1373
  declare const useResendInvite: <TError = Promise<ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422>>(userId: string, options?: {
1536
1374
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof resendInvite>>, TError, Key, Arguments, Awaited<ReturnType<typeof resendInvite>>> & {
1537
1375
  swrKey?: string;
@@ -1545,6 +1383,9 @@ declare const useResendInvite: <TError = Promise<ResendInvite400 | ResendInvite4
1545
1383
  data: resendInviteResponse | undefined;
1546
1384
  swrKey: string | readonly [`https://api.workos.com/_widgets/UserManagement/invites/${string}/resend`];
1547
1385
  };
1386
+ /**
1387
+ * Returns a paginated list of members belonging to the organization. Supports filtering by search term and role, and cursor-based pagination via before/after parameters.
1388
+ */
1548
1389
  type membersResponse200 = {
1549
1390
  data: Members200;
1550
1391
  status: 200;
@@ -1568,7 +1409,6 @@ declare const getMembersUrl: (params?: MembersParams) => string;
1568
1409
  declare const members: (params?: MembersParams, options?: RequestInit) => Promise<membersResponse>;
1569
1410
  declare const getMembersKey: (params?: MembersParams) => readonly ["https://api.workos.com/_widgets/UserManagement/members", ...MembersParams[]];
1570
1411
  type MembersQueryResult = NonNullable<Awaited<ReturnType<typeof members>>>;
1571
- type MembersQueryError = Promise<Members403 | Members404>;
1572
1412
  declare const useMembers: <TError = Promise<Members403 | Members404>>(params?: MembersParams, options?: {
1573
1413
  swr?: SWRConfiguration<Awaited<ReturnType<typeof members>>, TError> & {
1574
1414
  swrKey?: Key;
@@ -1583,6 +1423,9 @@ declare const useMembers: <TError = Promise<Members403 | Members404>>(params?: M
1583
1423
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1584
1424
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
1585
1425
  };
1426
+ /**
1427
+ * Removes the specified user from the organization by revoking their membership. The user account itself is not deleted.
1428
+ */
1586
1429
  type removeMemberResponse200 = {
1587
1430
  data: RemoveMember200;
1588
1431
  status: 200;
@@ -1613,7 +1456,6 @@ declare const getRemoveMemberMutationFetcher: (userId: string, options?: Request
1613
1456
  }) => Promise<removeMemberResponse>;
1614
1457
  declare const getRemoveMemberMutationKey: (userId: string) => readonly [`https://api.workos.com/_widgets/UserManagement/members/${string}`];
1615
1458
  type RemoveMemberMutationResult = NonNullable<Awaited<ReturnType<typeof removeMember>>>;
1616
- type RemoveMemberMutationError = Promise<RemoveMember400 | RemoveMember403 | RemoveMember404>;
1617
1459
  declare const useRemoveMember: <TError = Promise<RemoveMember400 | RemoveMember403 | RemoveMember404>>(userId: string, options?: {
1618
1460
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof removeMember>>, TError, Key, Arguments, Awaited<ReturnType<typeof removeMember>>> & {
1619
1461
  swrKey?: string;
@@ -1627,6 +1469,9 @@ declare const useRemoveMember: <TError = Promise<RemoveMember400 | RemoveMember4
1627
1469
  data: removeMemberResponse | undefined;
1628
1470
  swrKey: string | readonly [`https://api.workos.com/_widgets/UserManagement/members/${string}`];
1629
1471
  };
1472
+ /**
1473
+ * Updates the specified member's organization membership, such as changing their assigned role.
1474
+ */
1630
1475
  type updateMemberResponse200 = {
1631
1476
  data: UpdateMember200;
1632
1477
  status: 200;
@@ -1661,7 +1506,6 @@ declare const getUpdateMemberMutationFetcher: (userId: string, options?: Request
1661
1506
  }) => Promise<updateMemberResponse>;
1662
1507
  declare const getUpdateMemberMutationKey: (userId: string) => readonly [`https://api.workos.com/_widgets/UserManagement/members/${string}`];
1663
1508
  type UpdateMemberMutationResult = NonNullable<Awaited<ReturnType<typeof updateMember>>>;
1664
- type UpdateMemberMutationError = Promise<UpdateMember400 | UpdateMember403 | UpdateMember404 | UpdateMember422>;
1665
1509
  declare const useUpdateMember: <TError = Promise<UpdateMember400 | UpdateMember403 | UpdateMember404 | UpdateMember422>>(userId: string, options?: {
1666
1510
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateMember>>, TError, Key, UpdateMemberBody, Awaited<ReturnType<typeof updateMember>>> & {
1667
1511
  swrKey?: string;
@@ -1675,6 +1519,9 @@ declare const useUpdateMember: <TError = Promise<UpdateMember400 | UpdateMember4
1675
1519
  data: updateMemberResponse | undefined;
1676
1520
  swrKey: string | readonly [`https://api.workos.com/_widgets/UserManagement/members/${string}`];
1677
1521
  };
1522
+ /**
1523
+ * Returns the list of organizations the authenticated user is a member of.
1524
+ */
1678
1525
  type organizationsResponse200 = {
1679
1526
  data: OrganizationsResponse;
1680
1527
  status: 200;
@@ -1698,7 +1545,6 @@ declare const getOrganizationsUrl: () => string;
1698
1545
  declare const organizations: (options?: RequestInit) => Promise<organizationsResponse>;
1699
1546
  declare const getOrganizationsKey: () => readonly ["https://api.workos.com/_widgets/UserManagement/organizations"];
1700
1547
  type OrganizationsQueryResult = NonNullable<Awaited<ReturnType<typeof organizations>>>;
1701
- type OrganizationsQueryError = Promise<Organizations403 | Organizations404>;
1702
1548
  declare const useOrganizations: <TError = Promise<Organizations403 | Organizations404>>(options?: {
1703
1549
  swr?: SWRConfiguration<Awaited<ReturnType<typeof organizations>>, TError> & {
1704
1550
  swrKey?: Key;
@@ -1713,6 +1559,9 @@ declare const useOrganizations: <TError = Promise<Organizations403 | Organizatio
1713
1559
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1714
1560
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
1715
1561
  };
1562
+ /**
1563
+ * Returns the list of roles available in the organization that can be assigned to members.
1564
+ */
1716
1565
  type rolesResponse200 = {
1717
1566
  data: MemberRole[];
1718
1567
  status: 200;
@@ -1736,7 +1585,6 @@ declare const getRolesUrl: () => string;
1736
1585
  declare const roles: (options?: RequestInit) => Promise<rolesResponse>;
1737
1586
  declare const getRolesKey: () => readonly ["https://api.workos.com/_widgets/UserManagement/roles"];
1738
1587
  type RolesQueryResult = NonNullable<Awaited<ReturnType<typeof roles>>>;
1739
- type RolesQueryError = Promise<Roles403 | Roles404>;
1740
1588
  declare const useRoles: <TError = Promise<Roles403 | Roles404>>(options?: {
1741
1589
  swr?: SWRConfiguration<Awaited<ReturnType<typeof roles>>, TError> & {
1742
1590
  swrKey?: Key;
@@ -1751,6 +1599,9 @@ declare const useRoles: <TError = Promise<Roles403 | Roles404>>(options?: {
1751
1599
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1752
1600
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
1753
1601
  };
1602
+ /**
1603
+ * Returns the list of roles available in the organization along with the user management configuration, such as whether role assignment is enabled.
1604
+ */
1754
1605
  type rolesAndConfigResponse200 = {
1755
1606
  data: RolesAndConfigResponse;
1756
1607
  status: 200;
@@ -1774,7 +1625,6 @@ declare const getRolesAndConfigUrl: () => string;
1774
1625
  declare const rolesAndConfig: (options?: RequestInit) => Promise<rolesAndConfigResponse>;
1775
1626
  declare const getRolesAndConfigKey: () => readonly ["https://api.workos.com/_widgets/UserManagement/roles-and-config"];
1776
1627
  type RolesAndConfigQueryResult = NonNullable<Awaited<ReturnType<typeof rolesAndConfig>>>;
1777
- type RolesAndConfigQueryError = Promise<RolesAndConfig403 | RolesAndConfig404>;
1778
1628
  declare const useRolesAndConfig: <TError = Promise<RolesAndConfig403 | RolesAndConfig404>>(options?: {
1779
1629
  swr?: SWRConfiguration<Awaited<ReturnType<typeof rolesAndConfig>>, TError> & {
1780
1630
  swrKey?: Key;
@@ -1789,6 +1639,9 @@ declare const useRolesAndConfig: <TError = Promise<RolesAndConfig403 | RolesAndC
1789
1639
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1790
1640
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
1791
1641
  };
1642
+ /**
1643
+ * Returns the authentication methods and MFA factors configured for the authenticated user, including enrolled TOTP factors and passkeys.
1644
+ */
1792
1645
  type authenticationInformationResponse200 = {
1793
1646
  data: AuthenticationInformationResponse;
1794
1647
  status: 200;
@@ -1808,7 +1661,6 @@ declare const getAuthenticationInformationUrl: () => string;
1808
1661
  declare const authenticationInformation: (options?: RequestInit) => Promise<authenticationInformationResponse>;
1809
1662
  declare const getAuthenticationInformationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/authentication-information"];
1810
1663
  type AuthenticationInformationQueryResult = NonNullable<Awaited<ReturnType<typeof authenticationInformation>>>;
1811
- type AuthenticationInformationQueryError = Promise<AuthenticationInformation403>;
1812
1664
  declare const useAuthenticationInformation: <TError = Promise<AuthenticationInformation403>>(options?: {
1813
1665
  swr?: SWRConfiguration<Awaited<ReturnType<typeof authenticationInformation>>, TError> & {
1814
1666
  swrKey?: Key;
@@ -1823,6 +1675,9 @@ declare const useAuthenticationInformation: <TError = Promise<AuthenticationInfo
1823
1675
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1824
1676
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
1825
1677
  };
1678
+ /**
1679
+ * Sets a password for the authenticated user. Only available when the user does not already have a password configured. Requires elevated access.
1680
+ */
1826
1681
  type createPasswordResponse201 = {
1827
1682
  data: CreatePassword201;
1828
1683
  status: 201;
@@ -1849,7 +1704,6 @@ declare const getCreatePasswordMutationFetcher: (options?: RequestInit) => (_: K
1849
1704
  }) => Promise<createPasswordResponse>;
1850
1705
  declare const getCreatePasswordMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/create-password"];
1851
1706
  type CreatePasswordMutationResult = NonNullable<Awaited<ReturnType<typeof createPassword>>>;
1852
- type CreatePasswordMutationError = Promise<CreatePassword400 | CreatePassword403>;
1853
1707
  declare const useCreatePassword: <TError = Promise<CreatePassword400 | CreatePassword403>>(options?: {
1854
1708
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createPassword>>, TError, Key, CreatePasswordRequest, Awaited<ReturnType<typeof createPassword>>> & {
1855
1709
  swrKey?: string;
@@ -1863,6 +1717,9 @@ declare const useCreatePassword: <TError = Promise<CreatePassword400 | CreatePas
1863
1717
  data: createPasswordResponse | undefined;
1864
1718
  swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/create-password"];
1865
1719
  };
1720
+ /**
1721
+ * Initiates TOTP (authenticator app) enrollment for the authenticated user by generating a new TOTP secret and QR code. Requires elevated access.
1722
+ */
1866
1723
  type createTotpFactorResponse201 = {
1867
1724
  data: CreateTotpFactorResponse;
1868
1725
  status: 201;
@@ -1889,7 +1746,6 @@ declare const getCreateTotpFactorMutationFetcher: (options?: RequestInit) => (_:
1889
1746
  }) => Promise<createTotpFactorResponse>;
1890
1747
  declare const getCreateTotpFactorMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/create-totp-factor"];
1891
1748
  type CreateTotpFactorMutationResult = NonNullable<Awaited<ReturnType<typeof createTotpFactor>>>;
1892
- type CreateTotpFactorMutationError = Promise<CreateTotpFactor400 | CreateTotpFactor403>;
1893
1749
  declare const useCreateTotpFactor: <TError = Promise<CreateTotpFactor400 | CreateTotpFactor403>>(options?: {
1894
1750
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createTotpFactor>>, TError, Key, Arguments, Awaited<ReturnType<typeof createTotpFactor>>> & {
1895
1751
  swrKey?: string;
@@ -1903,6 +1759,9 @@ declare const useCreateTotpFactor: <TError = Promise<CreateTotpFactor400 | Creat
1903
1759
  data: createTotpFactorResponse | undefined;
1904
1760
  swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/create-totp-factor"];
1905
1761
  };
1762
+ /**
1763
+ * Returns the profile information of the currently authenticated user, including their name, email, and linked authentication factors.
1764
+ */
1906
1765
  type meResponse200 = {
1907
1766
  data: Me;
1908
1767
  status: 200;
@@ -1922,7 +1781,6 @@ declare const getMeUrl: () => string;
1922
1781
  declare const me: (options?: RequestInit) => Promise<meResponse>;
1923
1782
  declare const getMeKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/me"];
1924
1783
  type MeQueryResult = NonNullable<Awaited<ReturnType<typeof me>>>;
1925
- type MeQueryError = Promise<Me403>;
1926
1784
  declare const useMe: <TError = Promise<Me403>>(options?: {
1927
1785
  swr?: SWRConfiguration<Awaited<ReturnType<typeof me>>, TError> & {
1928
1786
  swrKey?: Key;
@@ -1937,6 +1795,9 @@ declare const useMe: <TError = Promise<Me403>>(options?: {
1937
1795
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1938
1796
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
1939
1797
  };
1798
+ /**
1799
+ * Updates the profile information of the currently authenticated user, such as their first name, last name, or email address.
1800
+ */
1940
1801
  type updateMeResponse200 = {
1941
1802
  data: Me;
1942
1803
  status: 200;
@@ -1963,7 +1824,6 @@ declare const getUpdateMeMutationFetcher: (options?: RequestInit) => (_: Key, {
1963
1824
  }) => Promise<updateMeResponse>;
1964
1825
  declare const getUpdateMeMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/me"];
1965
1826
  type UpdateMeMutationResult = NonNullable<Awaited<ReturnType<typeof updateMe>>>;
1966
- type UpdateMeMutationError = Promise<UpdateMe400 | UpdateMe403>;
1967
1827
  declare const useUpdateMe: <TError = Promise<UpdateMe400 | UpdateMe403>>(options?: {
1968
1828
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateMe>>, TError, Key, UpdateMeBody, Awaited<ReturnType<typeof updateMe>>> & {
1969
1829
  swrKey?: string;
@@ -1977,6 +1837,9 @@ declare const useUpdateMe: <TError = Promise<UpdateMe400 | UpdateMe403>>(options
1977
1837
  data: updateMeResponse | undefined;
1978
1838
  swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/me"];
1979
1839
  };
1840
+ /**
1841
+ * Initiates passkey (WebAuthn) registration for the authenticated user by returning the credential creation options. Requires elevated access.
1842
+ */
1980
1843
  type registerPasskeyResponse201 = {
1981
1844
  data: RegisterPasskeyResponse;
1982
1845
  status: 201;
@@ -2003,7 +1866,6 @@ declare const getRegisterPasskeyMutationFetcher: (options?: RequestInit) => (_:
2003
1866
  }) => Promise<registerPasskeyResponse>;
2004
1867
  declare const getRegisterPasskeyMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/passkeys"];
2005
1868
  type RegisterPasskeyMutationResult = NonNullable<Awaited<ReturnType<typeof registerPasskey>>>;
2006
- type RegisterPasskeyMutationError = Promise<RegisterPasskey400 | RegisterPasskey403>;
2007
1869
  declare const useRegisterPasskey: <TError = Promise<RegisterPasskey400 | RegisterPasskey403>>(options?: {
2008
1870
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof registerPasskey>>, TError, Key, Arguments, Awaited<ReturnType<typeof registerPasskey>>> & {
2009
1871
  swrKey?: string;
@@ -2017,6 +1879,9 @@ declare const useRegisterPasskey: <TError = Promise<RegisterPasskey400 | Registe
2017
1879
  data: registerPasskeyResponse | undefined;
2018
1880
  swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/passkeys"];
2019
1881
  };
1882
+ /**
1883
+ * Completes passkey (WebAuthn) registration by verifying the credential created by the authenticator. Requires elevated access.
1884
+ */
2020
1885
  type verifyPasskeyResponse200 = {
2021
1886
  data: VerifyPasskey200;
2022
1887
  status: 200;
@@ -2043,7 +1908,6 @@ declare const getVerifyPasskeyMutationFetcher: (options?: RequestInit) => (_: Ke
2043
1908
  }) => Promise<verifyPasskeyResponse>;
2044
1909
  declare const getVerifyPasskeyMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/passkeys/verify"];
2045
1910
  type VerifyPasskeyMutationResult = NonNullable<Awaited<ReturnType<typeof verifyPasskey>>>;
2046
- type VerifyPasskeyMutationError = Promise<VerifyPasskey400 | VerifyPasskey403>;
2047
1911
  declare const useVerifyPasskey: <TError = Promise<VerifyPasskey400 | VerifyPasskey403>>(options?: {
2048
1912
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof verifyPasskey>>, TError, Key, VerifyPasskeyRequest, Awaited<ReturnType<typeof verifyPasskey>>> & {
2049
1913
  swrKey?: string;
@@ -2057,6 +1921,9 @@ declare const useVerifyPasskey: <TError = Promise<VerifyPasskey400 | VerifyPassk
2057
1921
  data: verifyPasskeyResponse | undefined;
2058
1922
  swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/passkeys/verify"];
2059
1923
  };
1924
+ /**
1925
+ * Removes the specified passkey from the authenticated user's account. Requires elevated access.
1926
+ */
2060
1927
  type deletePasskeyResponse200 = {
2061
1928
  data: DeletePasskey200;
2062
1929
  status: 200;
@@ -2083,7 +1950,6 @@ declare const getDeletePasskeyMutationFetcher: (passkeyId: string, options?: Req
2083
1950
  }) => Promise<deletePasskeyResponse>;
2084
1951
  declare const getDeletePasskeyMutationKey: (passkeyId: string) => readonly [`https://api.workos.com/_widgets/UserProfile/passkeys/${string}`];
2085
1952
  type DeletePasskeyMutationResult = NonNullable<Awaited<ReturnType<typeof deletePasskey>>>;
2086
- type DeletePasskeyMutationError = Promise<DeletePasskey400 | DeletePasskey403>;
2087
1953
  declare const useDeletePasskey: <TError = Promise<DeletePasskey400 | DeletePasskey403>>(passkeyId: string, options?: {
2088
1954
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deletePasskey>>, TError, Key, Arguments, Awaited<ReturnType<typeof deletePasskey>>> & {
2089
1955
  swrKey?: string;
@@ -2097,6 +1963,9 @@ declare const useDeletePasskey: <TError = Promise<DeletePasskey400 | DeletePassk
2097
1963
  data: deletePasskeyResponse | undefined;
2098
1964
  swrKey: string | readonly [`https://api.workos.com/_widgets/UserProfile/passkeys/${string}`];
2099
1965
  };
1966
+ /**
1967
+ * Sends a verification email to the authenticated user to confirm their email address.
1968
+ */
2100
1969
  type sendVerificationResponse200 = {
2101
1970
  data: SendVerificationResponse;
2102
1971
  status: 200;
@@ -2123,7 +1992,6 @@ declare const getSendVerificationMutationFetcher: (options?: RequestInit) => (_:
2123
1992
  }) => Promise<sendVerificationResponse>;
2124
1993
  declare const getSendVerificationMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/send-verification"];
2125
1994
  type SendVerificationMutationResult = NonNullable<Awaited<ReturnType<typeof sendVerification>>>;
2126
- type SendVerificationMutationError = Promise<SendVerification400 | SendVerification403>;
2127
1995
  declare const useSendVerification: <TError = Promise<SendVerification400 | SendVerification403>>(options?: {
2128
1996
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof sendVerification>>, TError, Key, Arguments, Awaited<ReturnType<typeof sendVerification>>> & {
2129
1997
  swrKey?: string;
@@ -2137,6 +2005,9 @@ declare const useSendVerification: <TError = Promise<SendVerification400 | SendV
2137
2005
  data: sendVerificationResponse | undefined;
2138
2006
  swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/send-verification"];
2139
2007
  };
2008
+ /**
2009
+ * Returns all currently active sessions for the authenticated user, including device and location information where available.
2010
+ */
2140
2011
  type sessionsResponse200 = {
2141
2012
  data: ActiveSessionsResponse;
2142
2013
  status: 200;
@@ -2156,7 +2027,6 @@ declare const getSessionsUrl: () => string;
2156
2027
  declare const sessions: (options?: RequestInit) => Promise<sessionsResponse>;
2157
2028
  declare const getSessionsKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/sessions"];
2158
2029
  type SessionsQueryResult = NonNullable<Awaited<ReturnType<typeof sessions>>>;
2159
- type SessionsQueryError = Promise<Sessions403>;
2160
2030
  declare const useSessions: <TError = Promise<Sessions403>>(options?: {
2161
2031
  swr?: SWRConfiguration<Awaited<ReturnType<typeof sessions>>, TError> & {
2162
2032
  swrKey?: Key;
@@ -2171,6 +2041,9 @@ declare const useSessions: <TError = Promise<Sessions403>>(options?: {
2171
2041
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
2172
2042
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
2173
2043
  };
2044
+ /**
2045
+ * Revokes all active sessions for the authenticated user except optionally the current one, signing them out of all other devices.
2046
+ */
2174
2047
  type revokeAllSessionsResponse200 = {
2175
2048
  data: RevokeAllSessions200;
2176
2049
  status: 200;
@@ -2197,7 +2070,6 @@ declare const getRevokeAllSessionsMutationFetcher: (options?: RequestInit) => (_
2197
2070
  }) => Promise<revokeAllSessionsResponse>;
2198
2071
  declare const getRevokeAllSessionsMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/sessions/revoke-all"];
2199
2072
  type RevokeAllSessionsMutationResult = NonNullable<Awaited<ReturnType<typeof revokeAllSessions>>>;
2200
- type RevokeAllSessionsMutationError = Promise<RevokeAllSessions400 | RevokeAllSessions403>;
2201
2073
  declare const useRevokeAllSessions: <TError = Promise<RevokeAllSessions400 | RevokeAllSessions403>>(options?: {
2202
2074
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof revokeAllSessions>>, TError, Key, RevokeAllSessionsRequest, Awaited<ReturnType<typeof revokeAllSessions>>> & {
2203
2075
  swrKey?: string;
@@ -2211,6 +2083,9 @@ declare const useRevokeAllSessions: <TError = Promise<RevokeAllSessions400 | Rev
2211
2083
  data: revokeAllSessionsResponse | undefined;
2212
2084
  swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/sessions/revoke-all"];
2213
2085
  };
2086
+ /**
2087
+ * Revokes a specific active session by ID, signing the user out of that particular device or browser.
2088
+ */
2214
2089
  type revokeSessionResponse200 = {
2215
2090
  data: RevokeSession200;
2216
2091
  status: 200;
@@ -2237,7 +2112,6 @@ declare const getRevokeSessionMutationFetcher: (sessionId: string, options?: Req
2237
2112
  }) => Promise<revokeSessionResponse>;
2238
2113
  declare const getRevokeSessionMutationKey: (sessionId: string) => readonly [`https://api.workos.com/_widgets/UserProfile/sessions/revoke/${string}`];
2239
2114
  type RevokeSessionMutationResult = NonNullable<Awaited<ReturnType<typeof revokeSession>>>;
2240
- type RevokeSessionMutationError = Promise<RevokeSession400 | RevokeSession403>;
2241
2115
  declare const useRevokeSession: <TError = Promise<RevokeSession400 | RevokeSession403>>(sessionId: string, options?: {
2242
2116
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof revokeSession>>, TError, Key, Arguments, Awaited<ReturnType<typeof revokeSession>>> & {
2243
2117
  swrKey?: string;
@@ -2251,6 +2125,9 @@ declare const useRevokeSession: <TError = Promise<RevokeSession400 | RevokeSessi
2251
2125
  data: revokeSessionResponse | undefined;
2252
2126
  swrKey: string | readonly [`https://api.workos.com/_widgets/UserProfile/sessions/revoke/${string}`];
2253
2127
  };
2128
+ /**
2129
+ * Removes all TOTP factors enrolled for the authenticated user, disabling authenticator app as a second factor. Requires elevated access.
2130
+ */
2254
2131
  type deleteTotpFactorsResponse200 = {
2255
2132
  data: DeleteTotpFactors200;
2256
2133
  status: 200;
@@ -2277,7 +2154,6 @@ declare const getDeleteTotpFactorsMutationFetcher: (options?: RequestInit) => (_
2277
2154
  }) => Promise<deleteTotpFactorsResponse>;
2278
2155
  declare const getDeleteTotpFactorsMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/totp-factors"];
2279
2156
  type DeleteTotpFactorsMutationResult = NonNullable<Awaited<ReturnType<typeof deleteTotpFactors>>>;
2280
- type DeleteTotpFactorsMutationError = Promise<DeleteTotpFactors400 | DeleteTotpFactors403>;
2281
2157
  declare const useDeleteTotpFactors: <TError = Promise<DeleteTotpFactors400 | DeleteTotpFactors403>>(options?: {
2282
2158
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteTotpFactors>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteTotpFactors>>> & {
2283
2159
  swrKey?: string;
@@ -2291,6 +2167,9 @@ declare const useDeleteTotpFactors: <TError = Promise<DeleteTotpFactors400 | Del
2291
2167
  data: deleteTotpFactorsResponse | undefined;
2292
2168
  swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/totp-factors"];
2293
2169
  };
2170
+ /**
2171
+ * Changes the password for the authenticated user. Requires the current password to be supplied alongside the new password.
2172
+ */
2294
2173
  type updatePasswordResponse201 = {
2295
2174
  data: UpdatePassword201;
2296
2175
  status: 201;
@@ -2317,7 +2196,6 @@ declare const getUpdatePasswordMutationFetcher: (options?: RequestInit) => (_: K
2317
2196
  }) => Promise<updatePasswordResponse>;
2318
2197
  declare const getUpdatePasswordMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/update-password"];
2319
2198
  type UpdatePasswordMutationResult = NonNullable<Awaited<ReturnType<typeof updatePassword>>>;
2320
- type UpdatePasswordMutationError = Promise<UpdatePassword400 | UpdatePassword403>;
2321
2199
  declare const useUpdatePassword: <TError = Promise<UpdatePassword400 | UpdatePassword403>>(options?: {
2322
2200
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updatePassword>>, TError, Key, UpdatePasswordRequest, Awaited<ReturnType<typeof updatePassword>>> & {
2323
2201
  swrKey?: string;
@@ -2331,6 +2209,9 @@ declare const useUpdatePassword: <TError = Promise<UpdatePassword400 | UpdatePas
2331
2209
  data: updatePasswordResponse | undefined;
2332
2210
  swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/update-password"];
2333
2211
  };
2212
+ /**
2213
+ * Verifies the email address of the authenticated user using the code sent via the send-verification endpoint. On success, returns an elevated access token that grants access to sensitive operations such as MFA enrollment and passkey management.
2214
+ */
2334
2215
  type verifyResponse200 = {
2335
2216
  data: VerifyResponse;
2336
2217
  status: 200;
@@ -2357,7 +2238,6 @@ declare const getVerifyMutationFetcher: (options?: RequestInit) => (_: Key, { ar
2357
2238
  }) => Promise<verifyResponse>;
2358
2239
  declare const getVerifyMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/verify"];
2359
2240
  type VerifyMutationResult = NonNullable<Awaited<ReturnType<typeof verify>>>;
2360
- type VerifyMutationError = Promise<Verify400 | Verify403>;
2361
2241
  declare const useVerify: <TError = Promise<Verify400 | Verify403>>(options?: {
2362
2242
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof verify>>, TError, Key, VerifyRequest, Awaited<ReturnType<typeof verify>>> & {
2363
2243
  swrKey?: string;
@@ -2371,6 +2251,9 @@ declare const useVerify: <TError = Promise<Verify400 | Verify403>>(options?: {
2371
2251
  data: verifyResponse | undefined;
2372
2252
  swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/verify"];
2373
2253
  };
2254
+ /**
2255
+ * Completes TOTP enrollment by verifying the one-time code generated by the authenticator app. Requires elevated access.
2256
+ */
2374
2257
  type verifyTotpFactorResponse200 = {
2375
2258
  data: VerifyTotpFactor200;
2376
2259
  status: 200;
@@ -2397,7 +2280,6 @@ declare const getVerifyTotpFactorMutationFetcher: (options?: RequestInit) => (_:
2397
2280
  }) => Promise<verifyTotpFactorResponse>;
2398
2281
  declare const getVerifyTotpFactorMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/verify-totp-factor"];
2399
2282
  type VerifyTotpFactorMutationResult = NonNullable<Awaited<ReturnType<typeof verifyTotpFactor>>>;
2400
- type VerifyTotpFactorMutationError = Promise<VerifyTotpFactor400 | VerifyTotpFactor403>;
2401
2283
  declare const useVerifyTotpFactor: <TError = Promise<VerifyTotpFactor400 | VerifyTotpFactor403>>(options?: {
2402
2284
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof verifyTotpFactor>>, TError, Key, VerifyTotpFactorRequest, Awaited<ReturnType<typeof verifyTotpFactor>>> & {
2403
2285
  swrKey?: string;
@@ -2411,6 +2293,39 @@ declare const useVerifyTotpFactor: <TError = Promise<VerifyTotpFactor400 | Verif
2411
2293
  data: verifyTotpFactorResponse | undefined;
2412
2294
  swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/verify-totp-factor"];
2413
2295
  };
2296
+ type getAuditLogStreamResponse200 = {
2297
+ data: GetAuditLogStream200;
2298
+ status: 200;
2299
+ };
2300
+ type getAuditLogStreamResponse403 = {
2301
+ data: GetAuditLogStream403;
2302
+ status: 403;
2303
+ };
2304
+ type getAuditLogStreamResponseSuccess = getAuditLogStreamResponse200 & {
2305
+ headers: Headers;
2306
+ };
2307
+ type getAuditLogStreamResponseError = getAuditLogStreamResponse403 & {
2308
+ headers: Headers;
2309
+ };
2310
+ type getAuditLogStreamResponse = getAuditLogStreamResponseSuccess | getAuditLogStreamResponseError;
2311
+ declare const getGetAuditLogStreamUrl: () => string;
2312
+ declare const getAuditLogStream: (options?: RequestInit) => Promise<getAuditLogStreamResponse>;
2313
+ declare const getGetAuditLogStreamKey: () => readonly ["https://api.workos.com/_widgets/admin-portal/audit-log-stream"];
2314
+ type GetAuditLogStreamQueryResult = NonNullable<Awaited<ReturnType<typeof getAuditLogStream>>>;
2315
+ declare const useGetAuditLogStream: <TError = Promise<GetAuditLogStream403>>(options?: {
2316
+ swr?: SWRConfiguration<Awaited<ReturnType<typeof getAuditLogStream>>, TError> & {
2317
+ swrKey?: Key;
2318
+ enabled?: boolean;
2319
+ };
2320
+ fetch?: RequestInit;
2321
+ }) => {
2322
+ data: getAuditLogStreamResponse | undefined;
2323
+ error: TError | undefined;
2324
+ mutate: swr.KeyedMutator<getAuditLogStreamResponse>;
2325
+ isValidating: boolean;
2326
+ isLoading: swr__internal.IsLoadingResponse<Data, Config>;
2327
+ swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
2328
+ };
2414
2329
  type generateAdminPortalLinkResponse201 = {
2415
2330
  data: GenerateAdminPortalLink201;
2416
2331
  status: 201;
@@ -2441,7 +2356,6 @@ declare const getGenerateAdminPortalLinkMutationFetcher: (params: GenerateAdminP
2441
2356
  }) => Promise<generateAdminPortalLinkResponse>;
2442
2357
  declare const getGenerateAdminPortalLinkMutationKey: (params: GenerateAdminPortalLinkParams) => readonly ["https://api.workos.com/_widgets/admin-portal/generate-link", ...GenerateAdminPortalLinkParams[]];
2443
2358
  type GenerateAdminPortalLinkMutationResult = NonNullable<Awaited<ReturnType<typeof generateAdminPortalLink>>>;
2444
- type GenerateAdminPortalLinkMutationError = Promise<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>;
2445
2359
  declare const useGenerateAdminPortalLink: <TError = Promise<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>>(params: GenerateAdminPortalLinkParams, options?: {
2446
2360
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof generateAdminPortalLink>>, TError, Key, Arguments, Awaited<ReturnType<typeof generateAdminPortalLink>>> & {
2447
2361
  swrKey?: string;
@@ -2478,7 +2392,6 @@ declare const getListOrganizationDomainsUrl: () => string;
2478
2392
  declare const listOrganizationDomains: (options?: RequestInit) => Promise<listOrganizationDomainsResponse>;
2479
2393
  declare const getListOrganizationDomainsKey: () => readonly ["https://api.workos.com/_widgets/admin-portal/organization-domains"];
2480
2394
  type ListOrganizationDomainsQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizationDomains>>>;
2481
- type ListOrganizationDomainsQueryError = Promise<ListOrganizationDomains403 | ListOrganizationDomains404>;
2482
2395
  declare const useListOrganizationDomains: <TError = Promise<ListOrganizationDomains403 | ListOrganizationDomains404>>(options?: {
2483
2396
  swr?: SWRConfiguration<Awaited<ReturnType<typeof listOrganizationDomains>>, TError> & {
2484
2397
  swrKey?: Key;
@@ -2519,7 +2432,6 @@ declare const getDeleteOrganizationDomainMutationFetcher: (domainId: string, opt
2519
2432
  }) => Promise<deleteOrganizationDomainResponse>;
2520
2433
  declare const getDeleteOrganizationDomainMutationKey: (domainId: string) => readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}`];
2521
2434
  type DeleteOrganizationDomainMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOrganizationDomain>>>;
2522
- type DeleteOrganizationDomainMutationError = Promise<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>;
2523
2435
  declare const useDeleteOrganizationDomain: <TError = Promise<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>>(domainId: string, options?: {
2524
2436
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteOrganizationDomain>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteOrganizationDomain>>> & {
2525
2437
  swrKey?: string;
@@ -2559,7 +2471,6 @@ declare const getReverifyOrganizationDomainMutationFetcher: (domainId: string, o
2559
2471
  }) => Promise<reverifyOrganizationDomainResponse>;
2560
2472
  declare const getReverifyOrganizationDomainMutationKey: (domainId: string) => readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}/reverify`];
2561
2473
  type ReverifyOrganizationDomainMutationResult = NonNullable<Awaited<ReturnType<typeof reverifyOrganizationDomain>>>;
2562
- type ReverifyOrganizationDomainMutationError = Promise<ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404>;
2563
2474
  declare const useReverifyOrganizationDomain: <TError = Promise<ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404>>(domainId: string, options?: {
2564
2475
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof reverifyOrganizationDomain>>, TError, Key, Arguments, Awaited<ReturnType<typeof reverifyOrganizationDomain>>> & {
2565
2476
  swrKey?: string;
@@ -2585,7 +2496,6 @@ declare const getListSsoConnectionsUrl: () => string;
2585
2496
  declare const listSsoConnections: (options?: RequestInit) => Promise<listSsoConnectionsResponse>;
2586
2497
  declare const getListSsoConnectionsKey: () => readonly ["https://api.workos.com/_widgets/admin-portal/sso-connections"];
2587
2498
  type ListSsoConnectionsQueryResult = NonNullable<Awaited<ReturnType<typeof listSsoConnections>>>;
2588
- type ListSsoConnectionsQueryError = Promise<unknown>;
2589
2499
  declare const useListSsoConnections: <TError = Promise<unknown>>(options?: {
2590
2500
  swr?: SWRConfiguration<Awaited<ReturnType<typeof listSsoConnections>>, TError> & {
2591
2501
  swrKey?: Key;
@@ -2627,7 +2537,6 @@ declare const getListDirectoriesUrl: () => string;
2627
2537
  declare const listDirectories: (options?: RequestInit) => Promise<listDirectoriesResponse>;
2628
2538
  declare const getListDirectoriesKey: () => readonly ["https://api.workos.com/_widgets/directory-sync/directories"];
2629
2539
  type ListDirectoriesQueryResult = NonNullable<Awaited<ReturnType<typeof listDirectories>>>;
2630
- type ListDirectoriesQueryError = Promise<ListDirectories403 | ListDirectories404>;
2631
2540
  declare const useListDirectories: <TError = Promise<ListDirectories403 | ListDirectories404>>(options?: {
2632
2541
  swr?: SWRConfiguration<Awaited<ReturnType<typeof listDirectories>>, TError> & {
2633
2542
  swrKey?: Key;
@@ -2642,6 +2551,46 @@ declare const useListDirectories: <TError = Promise<ListDirectories403 | ListDir
2642
2551
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
2643
2552
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
2644
2553
  };
2554
+ type getDirectoryResponse200 = {
2555
+ data: Directory;
2556
+ status: 200;
2557
+ };
2558
+ type getDirectoryResponse403 = {
2559
+ data: GetDirectory403;
2560
+ status: 403;
2561
+ };
2562
+ type getDirectoryResponse404 = {
2563
+ data: GetDirectory404;
2564
+ status: 404;
2565
+ };
2566
+ type getDirectoryResponseSuccess = getDirectoryResponse200 & {
2567
+ headers: Headers;
2568
+ };
2569
+ type getDirectoryResponseError = (getDirectoryResponse403 | getDirectoryResponse404) & {
2570
+ headers: Headers;
2571
+ };
2572
+ type getDirectoryResponse = getDirectoryResponseSuccess | getDirectoryResponseError;
2573
+ declare const getGetDirectoryUrl: (directoryId: string) => string;
2574
+ declare const getDirectory: (directoryId: string, options?: RequestInit) => Promise<getDirectoryResponse>;
2575
+ declare const getGetDirectoryKey: (directoryId: string) => readonly [`https://api.workos.com/_widgets/directory-sync/directories/${string}`];
2576
+ type GetDirectoryQueryResult = NonNullable<Awaited<ReturnType<typeof getDirectory>>>;
2577
+ declare const useGetDirectory: <TError = Promise<GetDirectory403 | GetDirectory404>>(directoryId: string, options?: {
2578
+ swr?: SWRConfiguration<Awaited<ReturnType<typeof getDirectory>>, TError> & {
2579
+ swrKey?: Key;
2580
+ enabled?: boolean;
2581
+ };
2582
+ fetch?: RequestInit;
2583
+ }) => {
2584
+ data: getDirectoryResponse | undefined;
2585
+ error: TError | undefined;
2586
+ mutate: swr.KeyedMutator<getDirectoryResponse>;
2587
+ isValidating: boolean;
2588
+ isLoading: swr__internal.IsLoadingResponse<Data, Config>;
2589
+ swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
2590
+ };
2591
+ /**
2592
+ * Returns the widget settings for the current environment, including enabled authentication methods and branding configuration.
2593
+ */
2645
2594
  type settingsResponse200 = {
2646
2595
  data: SettingsResponse;
2647
2596
  status: 200;
@@ -2661,7 +2610,6 @@ declare const getSettingsUrl: () => string;
2661
2610
  declare const settings: (options?: RequestInit) => Promise<settingsResponse>;
2662
2611
  declare const getSettingsKey: () => readonly ["https://api.workos.com/_widgets/settings"];
2663
2612
  type SettingsQueryResult = NonNullable<Awaited<ReturnType<typeof settings>>>;
2664
- type SettingsQueryError = Promise<Settings403>;
2665
2613
  declare const useSettings: <TError = Promise<Settings403>>(options?: {
2666
2614
  swr?: SWRConfiguration<Awaited<ReturnType<typeof settings>>, TError> & {
2667
2615
  swrKey?: Key;
@@ -2677,4 +2625,4 @@ declare const useSettings: <TError = Promise<Settings403>>(options?: {
2677
2625
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
2678
2626
  };
2679
2627
 
2680
- export { type ActiveSession, type ActiveSessionCurrentLocation, type ActiveSessionCurrentLocationOneOf, type ActiveSessionImpersonationReason, type ActiveSessionImpersonatorEmail, type ActiveSessionImpersonatorUserId, type ActiveSessionIpAddress, type ActiveSessionLastActivityAt, type ActiveSessionOrganizationId, type ActiveSessionState, type ActiveSessionStateExpiresAt, type ActiveSessionUserAgent, type ActiveSessionsResponse, type AuthenticationInformation403, type AuthenticationInformationQueryError, type AuthenticationInformationQueryResult, type AuthenticationInformationResponse, type AuthenticationInformationResponseData, type AuthenticationInformationResponseDataPasswordSettings, type AuthenticationInformationResponseDataVerificationMethods, type AuthenticationInformationResponseDataVerificationMethodsMfa, type AuthenticationInformationResponseDataVerificationMethodsMfaOneOf, type AuthenticationInformationResponseDataVerificationMethodsMfaOneOfLastUsed, AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider, type AuthenticationInformationResponseDataVerificationMethodsPasskey, type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOf, type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfLastUsed, type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfPassKeysItem, AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider, type AuthenticationInformationResponseDataVerificationMethodsPassword, type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOf, type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfLastUsed, AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider, type CreateOrganizationApiKey400, type CreateOrganizationApiKey403, type CreateOrganizationApiKey404, type CreateOrganizationApiKey422, type CreateOrganizationApiKey422ErrorsItem, type CreateOrganizationApiKeyMutationError, type CreateOrganizationApiKeyMutationResult, type CreateOrganizationApiKeyRequest, type CreateOrganizationApiKeyResponse, type CreatePassword201, type CreatePassword400, type CreatePassword403, type CreatePasswordMutationError, type CreatePasswordMutationResult, type CreatePasswordRequest, type CreateTotpFactor400, type CreateTotpFactor403, type CreateTotpFactorMutationError, type CreateTotpFactorMutationResult, type CreateTotpFactorResponse, type CreateTotpFactorResponseAuthenticationChallenge, type CreateTotpFactorResponseAuthenticationChallengeAllOf, type CreateTotpFactorResponseAuthenticationChallengeAllOfCode, type CreateTotpFactorResponseAuthenticationChallengeAllOfExpiresAt, type CreateTotpFactorResponseAuthenticationChallengeAllOfFive, CreateTotpFactorResponseAuthenticationChallengeAllOfObject, type CreateTotpFactorResponseAuthenticationFactor, type CreateTotpFactorResponseAuthenticationFactorAllOf, CreateTotpFactorResponseAuthenticationFactorAllOfObject, type CreateTotpFactorResponseAuthenticationFactorAllOfOnezero, type CreateTotpFactorResponseAuthenticationFactorAllOfSms, type CreateTotpFactorResponseAuthenticationFactorAllOfSmsOneOf, type CreateTotpFactorResponseAuthenticationFactorAllOfTotp, type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf, type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo, CreateTotpFactorResponseAuthenticationFactorAllOfType, type CreateTotpFactorResponseAuthenticationFactorAllOfUserId, type DataInstallation, type DataInstallationAllOf, DataInstallationAllOfObject, type DataInstallationAllOfOrganizationId, type DataInstallationAllOfSix, type DataInstallationAllOfSixOrganizationId, type DataInstallationAllOfSixUserlandUserId, DataInstallationAllOfState, type DataInstallationAllOfUserId, type DataIntegration, DataIntegrationCredentialsType, type DataIntegrationDescription, type DataIntegrationInstallation, DataIntegrationIntegrationType, DataIntegrationObject, DataIntegrationOwnership, type DataIntegrationScopes, type DataIntegrationsResponse, type DeleteDataInstallation200, type DeleteDataInstallation403, type DeleteDataInstallation404, type DeleteDataInstallationMutationError, type DeleteDataInstallationMutationResult, type DeleteOrganizationApiKey200, type DeleteOrganizationApiKey403, type DeleteOrganizationApiKey404, type DeleteOrganizationApiKeyMutationError, type DeleteOrganizationApiKeyMutationResult, type DeleteOrganizationDomain403, type DeleteOrganizationDomain404, type DeleteOrganizationDomainMutationError, type DeleteOrganizationDomainMutationResult, type DeletePasskey200, type DeletePasskey400, type DeletePasskey403, type DeletePasskeyMutationError, type DeletePasskeyMutationResult, type DeleteTotpFactors200, type DeleteTotpFactors400, type DeleteTotpFactors403, type DeleteTotpFactorsMutationError, type DeleteTotpFactorsMutationResult, type DirectoriesResponse, type Directory, type DirectoryMetadata, DirectoryState, DirectoryType, type DirectoryUsersMetadata, DomainVerificationNameServer, type GenerateAdminPortalLink201, type GenerateAdminPortalLink403, type GenerateAdminPortalLink404, type GenerateAdminPortalLink500, GenerateAdminPortalLinkIntent, type GenerateAdminPortalLinkMutationError, type GenerateAdminPortalLinkMutationResult, type GenerateAdminPortalLinkParams, type GetAuthorizationStatusResponse, type GetDataInstallationAuthorizationStatus400, type GetDataInstallationAuthorizationStatus403, type GetDataInstallationAuthorizationStatus404, type GetDataInstallationAuthorizationStatusQueryError, type GetDataInstallationAuthorizationStatusQueryResult, type GetDataIntegrationAuthorizeUrl400, type GetDataIntegrationAuthorizeUrl403, type GetDataIntegrationAuthorizeUrl404, type GetDataIntegrationAuthorizeUrlParams, type GetDataIntegrationAuthorizeUrlQueryError, type GetDataIntegrationAuthorizeUrlQueryResult, type GetDataIntegrationAuthorizeUrlResponse, type GetDataIntegrationAuthorizeUrlResponseAllOf, type GetDataIntegrationAuthorizeUrlResponseAllOfTwo, type InviteMember201, type InviteMember400, type InviteMember403, type InviteMember404, type InviteMemberBody, type InviteMemberBodyFirstName, type InviteMemberBodyLastName, type InviteMemberMutationError, type InviteMemberMutationResult, type ListDirectories403, type ListDirectories404, type ListDirectoriesQueryError, type ListDirectoriesQueryResult, type ListMetadata, type ListMetadataAfter, type ListMetadataBefore, type ListOrganizationApiKeyPermission, type ListOrganizationApiKeyPermissionDescription, type ListOrganizationApiKeyPermissions400, type ListOrganizationApiKeyPermissions403, type ListOrganizationApiKeyPermissionsParams, type ListOrganizationApiKeyPermissionsQueryError, type ListOrganizationApiKeyPermissionsQueryResult, type ListOrganizationApiKeyPermissionsResponse, type ListOrganizationApiKeyPermissionsResponseListMetadata, type ListOrganizationApiKeys400, type ListOrganizationApiKeys403, type ListOrganizationApiKeysParams, type ListOrganizationApiKeysQueryError, type ListOrganizationApiKeysQueryResult, type ListOrganizationApiKeysResponse, type ListOrganizationApiKeysResponseData, type ListOrganizationApiKeysResponseDataLastUsedAt, type ListOrganizationApiKeysResponseListMetadata, type ListOrganizationDomains200, type ListOrganizationDomains403, type ListOrganizationDomains404, type ListOrganizationDomainsQueryError, type ListOrganizationDomainsQueryResult, type ListSsoConnectionsQueryError, type ListSsoConnectionsQueryResult, type Me, type Me403, type MeFirstName, type MeLastName, type MeLocale, type MeOauthProfiles, type MeOauthProfilesOneOf, type MeProfilePictureUrl, type MeQueryError, type MeQueryResult, type Member, type MemberActions, MemberActionsItem, type MemberFirstName, type MemberIsLoggedInUser, type MemberLastActivityAt, type MemberLastName, type MemberProfilePictureUrl, type MemberRole, type MemberRoleDescription, type MemberRoles, type MemberRolesOneOfItem, type MemberRolesOneOfItemDescription, MemberStatus, type Members200, type Members403, type Members404, type MembersParams, type MembersQueryError, type MembersQueryResult, type MyDataIntegrations403, type MyDataIntegrationsQueryError, type MyDataIntegrationsQueryResult, type OAuthProfile, type OAuthProfileEmail, type OAuthProfileFirstName, type OAuthProfileLastLoginAt, type OAuthProfileLastName, type OAuthProfileProfilePictureUrl, OidcSessionState, type OrganizationDomain, OrganizationDomainState, type OrganizationDomainSubdomain, type OrganizationDomainVerificationPrefix, type OrganizationDomainVerificationToken, type OrganizationInfo, type OrganizationInfoFavicon, type Organizations403, type Organizations404, type OrganizationsQueryError, type OrganizationsQueryResult, type OrganizationsResponse, type RegisterPasskey400, type RegisterPasskey403, type RegisterPasskeyMutationError, type RegisterPasskeyMutationResult, type RegisterPasskeyResponse, type RegisterPasskeyResponseOptions, type RemoveMember200, type RemoveMember400, type RemoveMember403, type RemoveMember404, type RemoveMemberMutationError, type RemoveMemberMutationResult, type ResendInvite201, type ResendInvite201Id, type ResendInvite400, type ResendInvite403, type ResendInvite404, type ResendInvite422, type ResendInviteMutationError, type ResendInviteMutationResult, type ReverifyOrganizationDomain403, type ReverifyOrganizationDomain404, type ReverifyOrganizationDomainMutationError, type ReverifyOrganizationDomainMutationResult, type RevokeAllSessions200, type RevokeAllSessions400, type RevokeAllSessions403, type RevokeAllSessionsMutationError, type RevokeAllSessionsMutationResult, type RevokeAllSessionsRequest, type RevokeInvite200, type RevokeInvite400, type RevokeInvite403, type RevokeInvite404, type RevokeInviteMutationError, type RevokeInviteMutationResult, type RevokeSession200, type RevokeSession400, type RevokeSession403, type RevokeSessionMutationError, type RevokeSessionMutationResult, type Roles403, type Roles404, type RolesAndConfig403, type RolesAndConfig404, type RolesAndConfigQueryError, type RolesAndConfigQueryResult, type RolesAndConfigResponse, type RolesQueryError, type RolesQueryResult, SamlSessionState, type SendVerification400, type SendVerification403, type SendVerificationMutationError, type SendVerificationMutationResult, type SendVerificationResponse, SendVerificationResponseType, type Sessions403, type SessionsQueryError, type SessionsQueryResult, type Settings403, type SettingsQueryError, type SettingsQueryResult, type SettingsResponse, type SettingsResponseLogoDarkIconPath, type SettingsResponseLogoDarkPath, type SettingsResponseLogoLightIconPath, type SettingsResponseLogoLightPath, SettingsResponseObject, type SsoConnection, type SsoConnectionAnyOf, type SsoConnectionAnyOfEight, type SsoConnectionAnyOfEightAllOf, type SsoConnectionAnyOfEightAllOfLastSession, SsoConnectionAnyOfEightAllOfProviderTag, type SsoConnectionAnyOfEightAllOfSix, SsoConnectionAnyOfEightAllOfState, SsoConnectionAnyOfEightAllOfType, type SsoConnectionAnyOfLastSession, type SsoConnectionAnyOfLatestExpiredCertificate, type SsoConnectionAnyOfLatestExpiringCertificate, SsoConnectionAnyOfProviderTag, SsoConnectionAnyOfState, SsoConnectionAnyOfType, type SsoConnectionSessionJSON, SsoConnectionSessionJSONState, type UpdateMe400, type UpdateMe403, type UpdateMeBody, type UpdateMeMutationError, type UpdateMeMutationResult, type UpdateMember200, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMember422, type UpdateMemberBody, type UpdateMemberMutationError, type UpdateMemberMutationResult, type UpdatePassword201, type UpdatePassword400, type UpdatePassword403, type UpdatePasswordMutationError, type UpdatePasswordMutationResult, type UpdatePasswordRequest, type Verify400, type Verify403, type VerifyMutationError, type VerifyMutationResult, type VerifyPasskey200, type VerifyPasskey400, type VerifyPasskey403, type VerifyPasskeyMutationError, type VerifyPasskeyMutationResult, type VerifyPasskeyRequest, type VerifyPasskeyRequestResponse, type VerifyRequest, type VerifyResponse, type VerifyTotpFactor200, type VerifyTotpFactor400, type VerifyTotpFactor403, type VerifyTotpFactorMutationError, type VerifyTotpFactorMutationResult, type VerifyTotpFactorRequest, type X509CertificateJSON, type X509CertificateJSONLastExpiryEventSentAt, type X509CertificateJSONNotAfter, type X509CertificateJSONNotBefore, authenticationInformation, type authenticationInformationResponse, type authenticationInformationResponse200, type authenticationInformationResponse403, type authenticationInformationResponseError, type authenticationInformationResponseSuccess, createOrganizationApiKey, type createOrganizationApiKeyResponse, type createOrganizationApiKeyResponse201, type createOrganizationApiKeyResponse400, type createOrganizationApiKeyResponse403, type createOrganizationApiKeyResponse404, type createOrganizationApiKeyResponse422, type createOrganizationApiKeyResponseError, type createOrganizationApiKeyResponseSuccess, createPassword, type createPasswordResponse, type createPasswordResponse201, type createPasswordResponse400, type createPasswordResponse403, type createPasswordResponseError, type createPasswordResponseSuccess, createTotpFactor, type createTotpFactorResponse, type createTotpFactorResponse201, type createTotpFactorResponse400, type createTotpFactorResponse403, type createTotpFactorResponseError, type createTotpFactorResponseSuccess, deleteDataInstallation, type deleteDataInstallationResponse, type deleteDataInstallationResponse200, type deleteDataInstallationResponse403, type deleteDataInstallationResponse404, type deleteDataInstallationResponseError, type deleteDataInstallationResponseSuccess, deleteOrganizationApiKey, type deleteOrganizationApiKeyResponse, type deleteOrganizationApiKeyResponse200, type deleteOrganizationApiKeyResponse403, type deleteOrganizationApiKeyResponse404, type deleteOrganizationApiKeyResponseError, type deleteOrganizationApiKeyResponseSuccess, deleteOrganizationDomain, type deleteOrganizationDomainResponse, type deleteOrganizationDomainResponse200, type deleteOrganizationDomainResponse403, type deleteOrganizationDomainResponse404, type deleteOrganizationDomainResponseError, type deleteOrganizationDomainResponseSuccess, deletePasskey, type deletePasskeyResponse, type deletePasskeyResponse200, type deletePasskeyResponse400, type deletePasskeyResponse403, type deletePasskeyResponseError, type deletePasskeyResponseSuccess, deleteTotpFactors, type deleteTotpFactorsResponse, type deleteTotpFactorsResponse200, type deleteTotpFactorsResponse400, type deleteTotpFactorsResponse403, type deleteTotpFactorsResponseError, type deleteTotpFactorsResponseSuccess, generateAdminPortalLink, type generateAdminPortalLinkResponse, type generateAdminPortalLinkResponse201, type generateAdminPortalLinkResponse403, type generateAdminPortalLinkResponse404, type generateAdminPortalLinkResponse500, type generateAdminPortalLinkResponseError, type generateAdminPortalLinkResponseSuccess, getAuthenticationInformationKey, getAuthenticationInformationUrl, getCreateOrganizationApiKeyMutationFetcher, getCreateOrganizationApiKeyMutationKey, getCreateOrganizationApiKeyUrl, getCreatePasswordMutationFetcher, getCreatePasswordMutationKey, getCreatePasswordUrl, getCreateTotpFactorMutationFetcher, getCreateTotpFactorMutationKey, getCreateTotpFactorUrl, getDataInstallationAuthorizationStatus, type getDataInstallationAuthorizationStatusResponse, type getDataInstallationAuthorizationStatusResponse200, type getDataInstallationAuthorizationStatusResponse400, type getDataInstallationAuthorizationStatusResponse403, type getDataInstallationAuthorizationStatusResponse404, type getDataInstallationAuthorizationStatusResponseError, type getDataInstallationAuthorizationStatusResponseSuccess, getDataIntegrationAuthorizeUrl, type getDataIntegrationAuthorizeUrlResponse, type getDataIntegrationAuthorizeUrlResponse200, type getDataIntegrationAuthorizeUrlResponse400, type getDataIntegrationAuthorizeUrlResponse403, type getDataIntegrationAuthorizeUrlResponse404, type getDataIntegrationAuthorizeUrlResponseError, type getDataIntegrationAuthorizeUrlResponseSuccess, getDeleteDataInstallationMutationFetcher, getDeleteDataInstallationMutationKey, getDeleteDataInstallationUrl, getDeleteOrganizationApiKeyMutationFetcher, getDeleteOrganizationApiKeyMutationKey, getDeleteOrganizationApiKeyUrl, getDeleteOrganizationDomainMutationFetcher, getDeleteOrganizationDomainMutationKey, getDeleteOrganizationDomainUrl, getDeletePasskeyMutationFetcher, getDeletePasskeyMutationKey, getDeletePasskeyUrl, getDeleteTotpFactorsMutationFetcher, getDeleteTotpFactorsMutationKey, getDeleteTotpFactorsUrl, getGenerateAdminPortalLinkMutationFetcher, getGenerateAdminPortalLinkMutationKey, getGenerateAdminPortalLinkUrl, getGetDataInstallationAuthorizationStatusKey, getGetDataInstallationAuthorizationStatusUrl, getGetDataIntegrationAuthorizeUrlKey, getGetDataIntegrationAuthorizeUrlUrl, getInviteMemberMutationFetcher, getInviteMemberMutationKey, getInviteMemberUrl, getListDirectoriesKey, getListDirectoriesUrl, getListOrganizationApiKeyPermissionsKey, getListOrganizationApiKeyPermissionsUrl, getListOrganizationApiKeysKey, getListOrganizationApiKeysUrl, getListOrganizationDomainsKey, getListOrganizationDomainsUrl, getListSsoConnectionsKey, getListSsoConnectionsUrl, getMeKey, getMeUrl, getMembersKey, getMembersUrl, getMyDataIntegrationsKey, getMyDataIntegrationsUrl, getOrganizationsKey, getOrganizationsUrl, getRegisterPasskeyMutationFetcher, getRegisterPasskeyMutationKey, getRegisterPasskeyUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getResendInviteMutationFetcher, getResendInviteMutationKey, getResendInviteUrl, getReverifyOrganizationDomainMutationFetcher, getReverifyOrganizationDomainMutationKey, getReverifyOrganizationDomainUrl, getRevokeAllSessionsMutationFetcher, getRevokeAllSessionsMutationKey, getRevokeAllSessionsUrl, getRevokeInviteMutationFetcher, getRevokeInviteMutationKey, getRevokeInviteUrl, getRevokeSessionMutationFetcher, getRevokeSessionMutationKey, getRevokeSessionUrl, getRolesAndConfigKey, getRolesAndConfigUrl, getRolesKey, getRolesUrl, getSendVerificationMutationFetcher, getSendVerificationMutationKey, getSendVerificationUrl, getSessionsKey, getSessionsUrl, getSettingsKey, getSettingsUrl, getUpdateMeMutationFetcher, getUpdateMeMutationKey, getUpdateMeUrl, getUpdateMemberMutationFetcher, getUpdateMemberMutationKey, getUpdateMemberUrl, getUpdatePasswordMutationFetcher, getUpdatePasswordMutationKey, getUpdatePasswordUrl, getVerifyMutationFetcher, getVerifyMutationKey, getVerifyPasskeyMutationFetcher, getVerifyPasskeyMutationKey, getVerifyPasskeyUrl, getVerifyTotpFactorMutationFetcher, getVerifyTotpFactorMutationKey, getVerifyTotpFactorUrl, getVerifyUrl, inviteMember, type inviteMemberResponse, type inviteMemberResponse201, type inviteMemberResponse400, type inviteMemberResponse403, type inviteMemberResponse404, type inviteMemberResponseError, type inviteMemberResponseSuccess, listDirectories, type listDirectoriesResponse, type listDirectoriesResponse200, type listDirectoriesResponse403, type listDirectoriesResponse404, type listDirectoriesResponseError, type listDirectoriesResponseSuccess, listOrganizationApiKeyPermissions, type listOrganizationApiKeyPermissionsResponse, type listOrganizationApiKeyPermissionsResponse200, type listOrganizationApiKeyPermissionsResponse400, type listOrganizationApiKeyPermissionsResponse403, type listOrganizationApiKeyPermissionsResponseError, type listOrganizationApiKeyPermissionsResponseSuccess, listOrganizationApiKeys, type listOrganizationApiKeysResponse, type listOrganizationApiKeysResponse200, type listOrganizationApiKeysResponse400, type listOrganizationApiKeysResponse403, type listOrganizationApiKeysResponseError, type listOrganizationApiKeysResponseSuccess, listOrganizationDomains, type listOrganizationDomainsResponse, type listOrganizationDomainsResponse200, type listOrganizationDomainsResponse403, type listOrganizationDomainsResponse404, type listOrganizationDomainsResponseError, type listOrganizationDomainsResponseSuccess, listSsoConnections, type listSsoConnectionsResponse, type listSsoConnectionsResponse200, type listSsoConnectionsResponseSuccess, me, type meResponse, type meResponse200, type meResponse403, type meResponseError, type meResponseSuccess, members, type membersResponse, type membersResponse200, type membersResponse403, type membersResponse404, type membersResponseError, type membersResponseSuccess, myDataIntegrations, type myDataIntegrationsResponse, type myDataIntegrationsResponse200, type myDataIntegrationsResponse403, type myDataIntegrationsResponseError, type myDataIntegrationsResponseSuccess, organizations, type organizationsResponse, type organizationsResponse200, type organizationsResponse403, type organizationsResponse404, type organizationsResponseError, type organizationsResponseSuccess, registerPasskey, type registerPasskeyResponse, type registerPasskeyResponse201, type registerPasskeyResponse400, type registerPasskeyResponse403, type registerPasskeyResponseError, type registerPasskeyResponseSuccess, removeMember, type removeMemberResponse, type removeMemberResponse200, type removeMemberResponse400, type removeMemberResponse403, type removeMemberResponse404, type removeMemberResponseError, type removeMemberResponseSuccess, resendInvite, type resendInviteResponse, type resendInviteResponse201, type resendInviteResponse400, type resendInviteResponse403, type resendInviteResponse404, type resendInviteResponse422, type resendInviteResponseError, type resendInviteResponseSuccess, reverifyOrganizationDomain, type reverifyOrganizationDomainResponse, type reverifyOrganizationDomainResponse200, type reverifyOrganizationDomainResponse403, type reverifyOrganizationDomainResponse404, type reverifyOrganizationDomainResponseError, type reverifyOrganizationDomainResponseSuccess, revokeAllSessions, type revokeAllSessionsResponse, type revokeAllSessionsResponse200, type revokeAllSessionsResponse400, type revokeAllSessionsResponse403, type revokeAllSessionsResponseError, type revokeAllSessionsResponseSuccess, revokeInvite, type revokeInviteResponse, type revokeInviteResponse200, type revokeInviteResponse400, type revokeInviteResponse403, type revokeInviteResponse404, type revokeInviteResponseError, type revokeInviteResponseSuccess, revokeSession, type revokeSessionResponse, type revokeSessionResponse200, type revokeSessionResponse400, type revokeSessionResponse403, type revokeSessionResponseError, type revokeSessionResponseSuccess, roles, rolesAndConfig, type rolesAndConfigResponse, type rolesAndConfigResponse200, type rolesAndConfigResponse403, type rolesAndConfigResponse404, type rolesAndConfigResponseError, type rolesAndConfigResponseSuccess, type rolesResponse, type rolesResponse200, type rolesResponse403, type rolesResponse404, type rolesResponseError, type rolesResponseSuccess, sendVerification, type sendVerificationResponse, type sendVerificationResponse200, type sendVerificationResponse400, type sendVerificationResponse403, type sendVerificationResponseError, type sendVerificationResponseSuccess, sessions, type sessionsResponse, type sessionsResponse200, type sessionsResponse403, type sessionsResponseError, type sessionsResponseSuccess, settings, type settingsResponse, type settingsResponse200, type settingsResponse403, type settingsResponseError, type settingsResponseSuccess, updateMe, type updateMeResponse, type updateMeResponse200, type updateMeResponse400, type updateMeResponse403, type updateMeResponseError, type updateMeResponseSuccess, updateMember, type updateMemberResponse, type updateMemberResponse200, type updateMemberResponse400, type updateMemberResponse403, type updateMemberResponse404, type updateMemberResponse422, type updateMemberResponseError, type updateMemberResponseSuccess, updatePassword, type updatePasswordResponse, type updatePasswordResponse201, type updatePasswordResponse400, type updatePasswordResponse403, type updatePasswordResponseError, type updatePasswordResponseSuccess, useAuthenticationInformation, useCreateOrganizationApiKey, useCreatePassword, useCreateTotpFactor, useDeleteDataInstallation, useDeleteOrganizationApiKey, useDeleteOrganizationDomain, useDeletePasskey, useDeleteTotpFactors, useGenerateAdminPortalLink, useGetDataInstallationAuthorizationStatus, useGetDataIntegrationAuthorizeUrl, useInviteMember, useListDirectories, useListOrganizationApiKeyPermissions, useListOrganizationApiKeys, useListOrganizationDomains, useListSsoConnections, useMe, useMembers, useMyDataIntegrations, useOrganizations, useRegisterPasskey, useRemoveMember, useResendInvite, useReverifyOrganizationDomain, useRevokeAllSessions, useRevokeInvite, useRevokeSession, useRoles, useRolesAndConfig, useSendVerification, useSessions, useSettings, useUpdateMe, useUpdateMember, useUpdatePassword, useVerify, useVerifyPasskey, useVerifyTotpFactor, verify, verifyPasskey, type verifyPasskeyResponse, type verifyPasskeyResponse200, type verifyPasskeyResponse400, type verifyPasskeyResponse403, type verifyPasskeyResponseError, type verifyPasskeyResponseSuccess, type verifyResponse, type verifyResponse200, type verifyResponse400, type verifyResponse403, type verifyResponseError, type verifyResponseSuccess, verifyTotpFactor, type verifyTotpFactorResponse, type verifyTotpFactorResponse200, type verifyTotpFactorResponse400, type verifyTotpFactorResponse403, type verifyTotpFactorResponseError, type verifyTotpFactorResponseSuccess };
2628
+ export { type ActiveSession, type ActiveSessionCurrentLocation, type ActiveSessionState, type ActiveSessionsResponse, type AuditLogStreamJSON, type AuditLogStreamState, type AuditLogStreamType, type AuthenticationInformation403, type AuthenticationInformationQueryResult, type AuthenticationInformationResponse, type AuthenticationInformationResponseData, type AuthenticationInformationResponseDataPasswordSettings, type AuthenticationInformationResponseDataVerificationMethods, type AuthenticationInformationResponseDataVerificationMethodsMfa, type AuthenticationInformationResponseDataVerificationMethodsPasskey, type AuthenticationInformationResponseDataVerificationMethodsPassword, type CreateOrganizationApiKey400, type CreateOrganizationApiKey403, type CreateOrganizationApiKey404, type CreateOrganizationApiKey422, type CreateOrganizationApiKey422ErrorsItem, type CreateOrganizationApiKeyMutationResult, type CreateOrganizationApiKeyRequest, type CreateOrganizationApiKeyResponse, type CreatePassword201, type CreatePassword400, type CreatePassword403, type CreatePasswordMutationResult, type CreatePasswordRequest, type CreateTotpFactor400, type CreateTotpFactor403, type CreateTotpFactorMutationResult, type CreateTotpFactorResponse, type CreateTotpFactorResponseAuthenticationChallenge, type CreateTotpFactorResponseAuthenticationFactor, type DataInstallation, type DataIntegration, type DataIntegrationsResponse, type DeleteDataInstallation200, type DeleteDataInstallation403, type DeleteDataInstallation404, type DeleteDataInstallationMutationResult, type DeleteOrganizationApiKey200, type DeleteOrganizationApiKey403, type DeleteOrganizationApiKey404, type DeleteOrganizationApiKeyMutationResult, type DeleteOrganizationDomain403, type DeleteOrganizationDomain404, type DeleteOrganizationDomainMutationResult, type DeletePasskey200, type DeletePasskey400, type DeletePasskey403, type DeletePasskeyMutationResult, type DeleteTotpFactors200, type DeleteTotpFactors400, type DeleteTotpFactors403, type DeleteTotpFactorsMutationResult, type DirectoriesResponse, type Directory, type DirectoryMetadata, DirectoryState, DirectoryType, type DirectoryUsersMetadata, DomainVerificationNameServer, type GenerateAdminPortalLink201, type GenerateAdminPortalLink403, type GenerateAdminPortalLink404, type GenerateAdminPortalLink500, GenerateAdminPortalLinkIntent, type GenerateAdminPortalLinkMutationResult, type GenerateAdminPortalLinkParams, type GetAuditLogStream200, type GetAuditLogStream403, type GetAuditLogStreamQueryResult, type GetAuthorizationStatusResponse, type GetDataInstallationAuthorizationStatus400, type GetDataInstallationAuthorizationStatus403, type GetDataInstallationAuthorizationStatus404, type GetDataInstallationAuthorizationStatusQueryResult, type GetDataIntegrationAuthorizeUrl400, type GetDataIntegrationAuthorizeUrl403, type GetDataIntegrationAuthorizeUrl404, type GetDataIntegrationAuthorizeUrlParams, type GetDataIntegrationAuthorizeUrlQueryResult, type GetDataIntegrationAuthorizeUrlResponse, type GetDirectory403, type GetDirectory404, type GetDirectoryQueryResult, type InviteMember201, type InviteMember400, type InviteMember403, type InviteMember404, type InviteMemberBody, type InviteMemberMutationResult, type ListDirectories403, type ListDirectories404, type ListDirectoriesQueryResult, type ListMetadata, type ListOrganizationApiKeyPermission, type ListOrganizationApiKeyPermissions400, type ListOrganizationApiKeyPermissions403, type ListOrganizationApiKeyPermissionsParams, type ListOrganizationApiKeyPermissionsQueryResult, type ListOrganizationApiKeyPermissionsResponse, type ListOrganizationApiKeyPermissionsResponseListMetadata, type ListOrganizationApiKeys400, type ListOrganizationApiKeys403, type ListOrganizationApiKeysParams, type ListOrganizationApiKeysQueryResult, type ListOrganizationApiKeysResponse, type ListOrganizationApiKeysResponseData, type ListOrganizationApiKeysResponseListMetadata, type ListOrganizationDomains200, type ListOrganizationDomains403, type ListOrganizationDomains404, type ListOrganizationDomainsQueryResult, type ListSsoConnectionsQueryResult, type Me, type Me403, type MeOauthProfiles, type MeQueryResult, type Member, type MemberActions, MemberActionsItem, type MemberRole, type MemberRoles, MemberStatus, type Members200, type Members403, type Members404, type MembersParams, type MembersQueryResult, type MyDataIntegrations403, type MyDataIntegrationsQueryResult, type OAuthProfile, OidcSessionState, type OrganizationDomain, OrganizationDomainState, type OrganizationInfo, type Organizations403, type Organizations404, type OrganizationsQueryResult, type OrganizationsResponse, type RegisterPasskey400, type RegisterPasskey403, type RegisterPasskeyMutationResult, type RegisterPasskeyResponse, type RegisterPasskeyResponseOptions, type RemoveMember200, type RemoveMember400, type RemoveMember403, type RemoveMember404, type RemoveMemberMutationResult, type ResendInvite201, type ResendInvite400, type ResendInvite403, type ResendInvite404, type ResendInvite422, type ResendInviteMutationResult, type ReverifyOrganizationDomain403, type ReverifyOrganizationDomain404, type ReverifyOrganizationDomainMutationResult, type RevokeAllSessions200, type RevokeAllSessions400, type RevokeAllSessions403, type RevokeAllSessionsMutationResult, type RevokeAllSessionsRequest, type RevokeInvite200, type RevokeInvite400, type RevokeInvite403, type RevokeInvite404, type RevokeInviteMutationResult, type RevokeSession200, type RevokeSession400, type RevokeSession403, type RevokeSessionMutationResult, type Roles403, type Roles404, type RolesAndConfig403, type RolesAndConfig404, type RolesAndConfigQueryResult, type RolesAndConfigResponse, type RolesQueryResult, SamlSessionState, type SendVerification400, type SendVerification403, type SendVerificationMutationResult, type SendVerificationResponse, type Sessions403, type SessionsQueryResult, type Settings403, type SettingsQueryResult, type SettingsResponse, type SsoConnection, type SsoConnectionSessionJSON, SsoConnectionSessionJSONState, type UpdateMe400, type UpdateMe403, type UpdateMeBody, type UpdateMeMutationResult, type UpdateMember200, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMember422, type UpdateMemberBody, type UpdateMemberMutationResult, type UpdatePassword201, type UpdatePassword400, type UpdatePassword403, type UpdatePasswordMutationResult, type UpdatePasswordRequest, type Verify400, type Verify403, type VerifyMutationResult, type VerifyPasskey200, type VerifyPasskey400, type VerifyPasskey403, type VerifyPasskeyMutationResult, type VerifyPasskeyRequest, type VerifyPasskeyRequestResponse, type VerifyRequest, type VerifyResponse, type VerifyTotpFactor200, type VerifyTotpFactor400, type VerifyTotpFactor403, type VerifyTotpFactorMutationResult, type VerifyTotpFactorRequest, type X509CertificateJSON, authenticationInformation, type authenticationInformationResponse, type authenticationInformationResponse200, type authenticationInformationResponse403, type authenticationInformationResponseError, type authenticationInformationResponseSuccess, createOrganizationApiKey, type createOrganizationApiKeyResponse, type createOrganizationApiKeyResponse201, type createOrganizationApiKeyResponse400, type createOrganizationApiKeyResponse403, type createOrganizationApiKeyResponse404, type createOrganizationApiKeyResponse422, type createOrganizationApiKeyResponseError, type createOrganizationApiKeyResponseSuccess, createPassword, type createPasswordResponse, type createPasswordResponse201, type createPasswordResponse400, type createPasswordResponse403, type createPasswordResponseError, type createPasswordResponseSuccess, createTotpFactor, type createTotpFactorResponse, type createTotpFactorResponse201, type createTotpFactorResponse400, type createTotpFactorResponse403, type createTotpFactorResponseError, type createTotpFactorResponseSuccess, deleteDataInstallation, type deleteDataInstallationResponse, type deleteDataInstallationResponse200, type deleteDataInstallationResponse403, type deleteDataInstallationResponse404, type deleteDataInstallationResponseError, type deleteDataInstallationResponseSuccess, deleteOrganizationApiKey, type deleteOrganizationApiKeyResponse, type deleteOrganizationApiKeyResponse200, type deleteOrganizationApiKeyResponse403, type deleteOrganizationApiKeyResponse404, type deleteOrganizationApiKeyResponseError, type deleteOrganizationApiKeyResponseSuccess, deleteOrganizationDomain, type deleteOrganizationDomainResponse, type deleteOrganizationDomainResponse200, type deleteOrganizationDomainResponse403, type deleteOrganizationDomainResponse404, type deleteOrganizationDomainResponseError, type deleteOrganizationDomainResponseSuccess, deletePasskey, type deletePasskeyResponse, type deletePasskeyResponse200, type deletePasskeyResponse400, type deletePasskeyResponse403, type deletePasskeyResponseError, type deletePasskeyResponseSuccess, deleteTotpFactors, type deleteTotpFactorsResponse, type deleteTotpFactorsResponse200, type deleteTotpFactorsResponse400, type deleteTotpFactorsResponse403, type deleteTotpFactorsResponseError, type deleteTotpFactorsResponseSuccess, generateAdminPortalLink, type generateAdminPortalLinkResponse, type generateAdminPortalLinkResponse201, type generateAdminPortalLinkResponse403, type generateAdminPortalLinkResponse404, type generateAdminPortalLinkResponse500, type generateAdminPortalLinkResponseError, type generateAdminPortalLinkResponseSuccess, getAuditLogStream, type getAuditLogStreamResponse, type getAuditLogStreamResponse200, type getAuditLogStreamResponse403, type getAuditLogStreamResponseError, type getAuditLogStreamResponseSuccess, getAuthenticationInformationKey, getAuthenticationInformationUrl, getCreateOrganizationApiKeyMutationFetcher, getCreateOrganizationApiKeyMutationKey, getCreateOrganizationApiKeyUrl, getCreatePasswordMutationFetcher, getCreatePasswordMutationKey, getCreatePasswordUrl, getCreateTotpFactorMutationFetcher, getCreateTotpFactorMutationKey, getCreateTotpFactorUrl, getDataInstallationAuthorizationStatus, type getDataInstallationAuthorizationStatusResponse, type getDataInstallationAuthorizationStatusResponse200, type getDataInstallationAuthorizationStatusResponse400, type getDataInstallationAuthorizationStatusResponse403, type getDataInstallationAuthorizationStatusResponse404, type getDataInstallationAuthorizationStatusResponseError, type getDataInstallationAuthorizationStatusResponseSuccess, getDataIntegrationAuthorizeUrl, type getDataIntegrationAuthorizeUrlResponse, type getDataIntegrationAuthorizeUrlResponse200, type getDataIntegrationAuthorizeUrlResponse400, type getDataIntegrationAuthorizeUrlResponse403, type getDataIntegrationAuthorizeUrlResponse404, type getDataIntegrationAuthorizeUrlResponseError, type getDataIntegrationAuthorizeUrlResponseSuccess, getDeleteDataInstallationMutationFetcher, getDeleteDataInstallationMutationKey, getDeleteDataInstallationUrl, getDeleteOrganizationApiKeyMutationFetcher, getDeleteOrganizationApiKeyMutationKey, getDeleteOrganizationApiKeyUrl, getDeleteOrganizationDomainMutationFetcher, getDeleteOrganizationDomainMutationKey, getDeleteOrganizationDomainUrl, getDeletePasskeyMutationFetcher, getDeletePasskeyMutationKey, getDeletePasskeyUrl, getDeleteTotpFactorsMutationFetcher, getDeleteTotpFactorsMutationKey, getDeleteTotpFactorsUrl, getDirectory, type getDirectoryResponse, type getDirectoryResponse200, type getDirectoryResponse403, type getDirectoryResponse404, type getDirectoryResponseError, type getDirectoryResponseSuccess, getGenerateAdminPortalLinkMutationFetcher, getGenerateAdminPortalLinkMutationKey, getGenerateAdminPortalLinkUrl, getGetAuditLogStreamKey, getGetAuditLogStreamUrl, getGetDataInstallationAuthorizationStatusKey, getGetDataInstallationAuthorizationStatusUrl, getGetDataIntegrationAuthorizeUrlKey, getGetDataIntegrationAuthorizeUrlUrl, getGetDirectoryKey, getGetDirectoryUrl, getInviteMemberMutationFetcher, getInviteMemberMutationKey, getInviteMemberUrl, getListDirectoriesKey, getListDirectoriesUrl, getListOrganizationApiKeyPermissionsKey, getListOrganizationApiKeyPermissionsUrl, getListOrganizationApiKeysKey, getListOrganizationApiKeysUrl, getListOrganizationDomainsKey, getListOrganizationDomainsUrl, getListSsoConnectionsKey, getListSsoConnectionsUrl, getMeKey, getMeUrl, getMembersKey, getMembersUrl, getMyDataIntegrationsKey, getMyDataIntegrationsUrl, getOrganizationsKey, getOrganizationsUrl, getRegisterPasskeyMutationFetcher, getRegisterPasskeyMutationKey, getRegisterPasskeyUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getResendInviteMutationFetcher, getResendInviteMutationKey, getResendInviteUrl, getReverifyOrganizationDomainMutationFetcher, getReverifyOrganizationDomainMutationKey, getReverifyOrganizationDomainUrl, getRevokeAllSessionsMutationFetcher, getRevokeAllSessionsMutationKey, getRevokeAllSessionsUrl, getRevokeInviteMutationFetcher, getRevokeInviteMutationKey, getRevokeInviteUrl, getRevokeSessionMutationFetcher, getRevokeSessionMutationKey, getRevokeSessionUrl, getRolesAndConfigKey, getRolesAndConfigUrl, getRolesKey, getRolesUrl, getSendVerificationMutationFetcher, getSendVerificationMutationKey, getSendVerificationUrl, getSessionsKey, getSessionsUrl, getSettingsKey, getSettingsUrl, getUpdateMeMutationFetcher, getUpdateMeMutationKey, getUpdateMeUrl, getUpdateMemberMutationFetcher, getUpdateMemberMutationKey, getUpdateMemberUrl, getUpdatePasswordMutationFetcher, getUpdatePasswordMutationKey, getUpdatePasswordUrl, getVerifyMutationFetcher, getVerifyMutationKey, getVerifyPasskeyMutationFetcher, getVerifyPasskeyMutationKey, getVerifyPasskeyUrl, getVerifyTotpFactorMutationFetcher, getVerifyTotpFactorMutationKey, getVerifyTotpFactorUrl, getVerifyUrl, inviteMember, type inviteMemberResponse, type inviteMemberResponse201, type inviteMemberResponse400, type inviteMemberResponse403, type inviteMemberResponse404, type inviteMemberResponseError, type inviteMemberResponseSuccess, listDirectories, type listDirectoriesResponse, type listDirectoriesResponse200, type listDirectoriesResponse403, type listDirectoriesResponse404, type listDirectoriesResponseError, type listDirectoriesResponseSuccess, listOrganizationApiKeyPermissions, type listOrganizationApiKeyPermissionsResponse, type listOrganizationApiKeyPermissionsResponse200, type listOrganizationApiKeyPermissionsResponse400, type listOrganizationApiKeyPermissionsResponse403, type listOrganizationApiKeyPermissionsResponseError, type listOrganizationApiKeyPermissionsResponseSuccess, listOrganizationApiKeys, type listOrganizationApiKeysResponse, type listOrganizationApiKeysResponse200, type listOrganizationApiKeysResponse400, type listOrganizationApiKeysResponse403, type listOrganizationApiKeysResponseError, type listOrganizationApiKeysResponseSuccess, listOrganizationDomains, type listOrganizationDomainsResponse, type listOrganizationDomainsResponse200, type listOrganizationDomainsResponse403, type listOrganizationDomainsResponse404, type listOrganizationDomainsResponseError, type listOrganizationDomainsResponseSuccess, listSsoConnections, type listSsoConnectionsResponse, type listSsoConnectionsResponse200, type listSsoConnectionsResponseSuccess, me, type meResponse, type meResponse200, type meResponse403, type meResponseError, type meResponseSuccess, members, type membersResponse, type membersResponse200, type membersResponse403, type membersResponse404, type membersResponseError, type membersResponseSuccess, myDataIntegrations, type myDataIntegrationsResponse, type myDataIntegrationsResponse200, type myDataIntegrationsResponse403, type myDataIntegrationsResponseError, type myDataIntegrationsResponseSuccess, organizations, type organizationsResponse, type organizationsResponse200, type organizationsResponse403, type organizationsResponse404, type organizationsResponseError, type organizationsResponseSuccess, registerPasskey, type registerPasskeyResponse, type registerPasskeyResponse201, type registerPasskeyResponse400, type registerPasskeyResponse403, type registerPasskeyResponseError, type registerPasskeyResponseSuccess, removeMember, type removeMemberResponse, type removeMemberResponse200, type removeMemberResponse400, type removeMemberResponse403, type removeMemberResponse404, type removeMemberResponseError, type removeMemberResponseSuccess, resendInvite, type resendInviteResponse, type resendInviteResponse201, type resendInviteResponse400, type resendInviteResponse403, type resendInviteResponse404, type resendInviteResponse422, type resendInviteResponseError, type resendInviteResponseSuccess, reverifyOrganizationDomain, type reverifyOrganizationDomainResponse, type reverifyOrganizationDomainResponse200, type reverifyOrganizationDomainResponse403, type reverifyOrganizationDomainResponse404, type reverifyOrganizationDomainResponseError, type reverifyOrganizationDomainResponseSuccess, revokeAllSessions, type revokeAllSessionsResponse, type revokeAllSessionsResponse200, type revokeAllSessionsResponse400, type revokeAllSessionsResponse403, type revokeAllSessionsResponseError, type revokeAllSessionsResponseSuccess, revokeInvite, type revokeInviteResponse, type revokeInviteResponse200, type revokeInviteResponse400, type revokeInviteResponse403, type revokeInviteResponse404, type revokeInviteResponseError, type revokeInviteResponseSuccess, revokeSession, type revokeSessionResponse, type revokeSessionResponse200, type revokeSessionResponse400, type revokeSessionResponse403, type revokeSessionResponseError, type revokeSessionResponseSuccess, roles, rolesAndConfig, type rolesAndConfigResponse, type rolesAndConfigResponse200, type rolesAndConfigResponse403, type rolesAndConfigResponse404, type rolesAndConfigResponseError, type rolesAndConfigResponseSuccess, type rolesResponse, type rolesResponse200, type rolesResponse403, type rolesResponse404, type rolesResponseError, type rolesResponseSuccess, sendVerification, type sendVerificationResponse, type sendVerificationResponse200, type sendVerificationResponse400, type sendVerificationResponse403, type sendVerificationResponseError, type sendVerificationResponseSuccess, sessions, type sessionsResponse, type sessionsResponse200, type sessionsResponse403, type sessionsResponseError, type sessionsResponseSuccess, settings, type settingsResponse, type settingsResponse200, type settingsResponse403, type settingsResponseError, type settingsResponseSuccess, updateMe, type updateMeResponse, type updateMeResponse200, type updateMeResponse400, type updateMeResponse403, type updateMeResponseError, type updateMeResponseSuccess, updateMember, type updateMemberResponse, type updateMemberResponse200, type updateMemberResponse400, type updateMemberResponse403, type updateMemberResponse404, type updateMemberResponse422, type updateMemberResponseError, type updateMemberResponseSuccess, updatePassword, type updatePasswordResponse, type updatePasswordResponse201, type updatePasswordResponse400, type updatePasswordResponse403, type updatePasswordResponseError, type updatePasswordResponseSuccess, useAuthenticationInformation, useCreateOrganizationApiKey, useCreatePassword, useCreateTotpFactor, useDeleteDataInstallation, useDeleteOrganizationApiKey, useDeleteOrganizationDomain, useDeletePasskey, useDeleteTotpFactors, useGenerateAdminPortalLink, useGetAuditLogStream, useGetDataInstallationAuthorizationStatus, useGetDataIntegrationAuthorizeUrl, useGetDirectory, useInviteMember, useListDirectories, useListOrganizationApiKeyPermissions, useListOrganizationApiKeys, useListOrganizationDomains, useListSsoConnections, useMe, useMembers, useMyDataIntegrations, useOrganizations, useRegisterPasskey, useRemoveMember, useResendInvite, useReverifyOrganizationDomain, useRevokeAllSessions, useRevokeInvite, useRevokeSession, useRoles, useRolesAndConfig, useSendVerification, useSessions, useSettings, useUpdateMe, useUpdateMember, useUpdatePassword, useVerify, useVerifyPasskey, useVerifyTotpFactor, verify, verifyPasskey, type verifyPasskeyResponse, type verifyPasskeyResponse200, type verifyPasskeyResponse400, type verifyPasskeyResponse403, type verifyPasskeyResponseError, type verifyPasskeyResponseSuccess, type verifyResponse, type verifyResponse200, type verifyResponse400, type verifyResponse403, type verifyResponseError, type verifyResponseSuccess, verifyTotpFactor, type verifyTotpFactorResponse, type verifyTotpFactorResponse200, type verifyTotpFactorResponse400, type verifyTotpFactorResponse403, type verifyTotpFactorResponseError, type verifyTotpFactorResponseSuccess };