@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
@@ -17,160 +17,131 @@ declare const MemberActionsItem: {
17
17
  readonly "revoke-membership": "revoke-membership";
18
18
  };
19
19
  type MemberActions = MemberActionsItem[];
20
- type MemberProfilePictureUrl = string | null;
21
- type MemberFirstName = string | null;
22
- type MemberLastName = string | null;
23
- type MemberLastActivityAt = string | null;
24
- type MemberIsLoggedInUser = true | null;
25
- type MemberRolesOneOfItemDescription = string | null;
26
- type MemberRolesOneOfItem = {
20
+ type MemberRoles = {
27
21
  name: string;
28
22
  slug: string;
29
- description?: MemberRolesOneOfItemDescription;
30
- };
31
- type MemberRoles = MemberRolesOneOfItem[] | null;
23
+ /** @nullable */
24
+ description?: string | null;
25
+ }[] | null;
32
26
  interface Member {
33
27
  id: string;
34
28
  email: string;
35
29
  emailVerified: boolean;
36
- profilePictureUrl?: MemberProfilePictureUrl;
37
- firstName?: MemberFirstName;
38
- lastName?: MemberLastName;
30
+ /** @nullable */
31
+ profilePictureUrl?: string | null;
32
+ /** @nullable */
33
+ firstName?: string | null;
34
+ /** @nullable */
35
+ lastName?: string | null;
39
36
  /** An ISO 8601 timestamp. */
40
37
  createdAt: string;
41
- lastActivityAt?: MemberLastActivityAt;
38
+ /** @nullable */
39
+ lastActivityAt?: string | null;
42
40
  status: MemberStatus;
43
41
  actions: MemberActions;
44
- isLoggedInUser?: MemberIsLoggedInUser;
42
+ isLoggedInUser?: true | null;
45
43
  roles?: MemberRoles;
46
44
  }
47
- /**
48
- * An object ID that defines your place in the list. When the ID is not present, you are at the start of the list.
49
- */
50
- type ListMetadataBefore = string | null;
51
- /**
52
- * An object ID that defines your place in the list. When the ID is not present, you are at the end of the list.
53
- */
54
- type ListMetadataAfter = string | null;
55
45
  interface ListMetadata {
56
- /** An object ID that defines your place in the list. When the ID is not present, you are at the start of the list. */
57
- before: ListMetadataBefore;
58
- /** An object ID that defines your place in the list. When the ID is not present, you are at the end of the list. */
59
- after: ListMetadataAfter;
46
+ /**
47
+ * An object ID that defines your place in the list. When the ID is not present, you are at the start of the list.
48
+ * @nullable
49
+ */
50
+ before: string | null;
51
+ /**
52
+ * An object ID that defines your place in the list. When the ID is not present, you are at the end of the list.
53
+ * @nullable
54
+ */
55
+ after: string | null;
60
56
  }
61
- type MemberRoleDescription = string | null;
62
57
  interface MemberRole {
63
58
  name: string;
64
59
  slug: string;
65
60
  default: boolean;
66
- description?: MemberRoleDescription;
61
+ /** @nullable */
62
+ description?: string | null;
67
63
  }
68
64
  interface RolesAndConfigResponse {
69
65
  roles: MemberRole[];
70
66
  multipleRolesEnabled: boolean;
71
67
  }
72
- type OrganizationInfoFavicon = string | null;
73
68
  interface OrganizationInfo {
74
69
  id: string;
75
70
  name: string;
76
71
  current: boolean;
77
- favicon?: OrganizationInfoFavicon;
72
+ /** @nullable */
73
+ favicon?: string | null;
78
74
  }
79
75
  interface OrganizationsResponse {
80
76
  data: OrganizationInfo[];
81
77
  }
82
- type OAuthProfileEmail = string | null;
83
- type OAuthProfileFirstName = string | null;
84
- type OAuthProfileLastName = string | null;
85
- type OAuthProfileProfilePictureUrl = string | null;
86
- type OAuthProfileLastLoginAt = string | null;
87
78
  interface OAuthProfile {
88
79
  id: string;
89
- email?: OAuthProfileEmail;
90
- firstName?: OAuthProfileFirstName;
91
- lastName?: OAuthProfileLastName;
92
- profilePictureUrl?: OAuthProfileProfilePictureUrl;
93
- lastLoginAt?: OAuthProfileLastLoginAt;
80
+ /** @nullable */
81
+ email?: string | null;
82
+ /** @nullable */
83
+ firstName?: string | null;
84
+ /** @nullable */
85
+ lastName?: string | null;
86
+ /** @nullable */
87
+ profilePictureUrl?: string | null;
88
+ /** @nullable */
89
+ lastLoginAt?: string | null;
94
90
  }
95
- type MeFirstName = string | null;
96
- type MeLastName = string | null;
97
- type MeLocale = string | null;
98
- type MeProfilePictureUrl = string | null;
99
- type MeOauthProfilesOneOf = {
91
+ type MeOauthProfiles = {
100
92
  AppleOAuth?: OAuthProfile;
101
93
  GithubOAuth?: OAuthProfile;
102
94
  GoogleOAuth?: OAuthProfile;
103
95
  MicrosoftOAuth?: OAuthProfile;
104
- };
105
- type MeOauthProfiles = MeOauthProfilesOneOf | null;
96
+ } | null;
106
97
  interface Me {
107
98
  id: string;
108
99
  email: string;
109
- firstName?: MeFirstName;
110
- lastName?: MeLastName;
111
- locale?: MeLocale;
112
- profilePictureUrl?: MeProfilePictureUrl;
100
+ /** @nullable */
101
+ firstName?: string | null;
102
+ /** @nullable */
103
+ lastName?: string | null;
104
+ /** @nullable */
105
+ locale?: string | null;
106
+ /** @nullable */
107
+ profilePictureUrl?: string | null;
113
108
  oauthProfiles?: MeOauthProfiles;
114
109
  }
115
- type CreateTotpFactorResponseAuthenticationFactorAllOfObject = (typeof CreateTotpFactorResponseAuthenticationFactorAllOfObject)[keyof typeof CreateTotpFactorResponseAuthenticationFactorAllOfObject];
116
- declare const CreateTotpFactorResponseAuthenticationFactorAllOfObject: {
117
- readonly authentication_factor: "authentication_factor";
118
- };
119
- type CreateTotpFactorResponseAuthenticationFactorAllOfType = (typeof CreateTotpFactorResponseAuthenticationFactorAllOfType)[keyof typeof CreateTotpFactorResponseAuthenticationFactorAllOfType];
120
- declare const CreateTotpFactorResponseAuthenticationFactorAllOfType: {
121
- readonly generic_otp: "generic_otp";
122
- readonly sms: "sms";
123
- readonly totp: "totp";
124
- readonly webauthn: "webauthn";
125
- };
126
- type CreateTotpFactorResponseAuthenticationFactorAllOfUserId = string | null;
127
- type CreateTotpFactorResponseAuthenticationFactorAllOfSmsOneOf = {
128
- phone_number: string;
129
- };
130
- type CreateTotpFactorResponseAuthenticationFactorAllOfSms = CreateTotpFactorResponseAuthenticationFactorAllOfSmsOneOf | null;
131
- type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf = {
132
- issuer: string;
133
- user: string;
134
- secret: string;
135
- qr_code: string;
136
- uri: string;
137
- };
138
- type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo = {
139
- issuer: string;
140
- user: string;
141
- };
142
- type CreateTotpFactorResponseAuthenticationFactorAllOfTotp = CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf | CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo | null;
143
- type CreateTotpFactorResponseAuthenticationFactorAllOf = {
144
- object: CreateTotpFactorResponseAuthenticationFactorAllOfObject;
110
+ type CreateTotpFactorResponseAuthenticationFactor = {
111
+ object: "authentication_factor";
145
112
  id: string;
146
- type: CreateTotpFactorResponseAuthenticationFactorAllOfType;
147
- user_id?: CreateTotpFactorResponseAuthenticationFactorAllOfUserId;
148
- sms?: CreateTotpFactorResponseAuthenticationFactorAllOfSms;
149
- totp?: CreateTotpFactorResponseAuthenticationFactorAllOfTotp;
150
- };
151
- type CreateTotpFactorResponseAuthenticationFactorAllOfOnezero = {
113
+ type: "generic_otp" | "sms" | "totp" | "webauthn";
114
+ /** @nullable */
115
+ user_id?: string | null;
116
+ sms?: {
117
+ phone_number: string;
118
+ } | null;
119
+ totp?: {
120
+ issuer: string;
121
+ user: string;
122
+ secret: string;
123
+ qr_code: string;
124
+ uri: string;
125
+ } | {
126
+ issuer: string;
127
+ user: string;
128
+ } | null;
129
+ } & {
152
130
  created_at: string;
153
131
  updated_at: string;
154
132
  };
155
- type CreateTotpFactorResponseAuthenticationFactor = CreateTotpFactorResponseAuthenticationFactorAllOf & CreateTotpFactorResponseAuthenticationFactorAllOfOnezero;
156
- type CreateTotpFactorResponseAuthenticationChallengeAllOfObject = (typeof CreateTotpFactorResponseAuthenticationChallengeAllOfObject)[keyof typeof CreateTotpFactorResponseAuthenticationChallengeAllOfObject];
157
- declare const CreateTotpFactorResponseAuthenticationChallengeAllOfObject: {
158
- readonly authentication_challenge: "authentication_challenge";
159
- };
160
- type CreateTotpFactorResponseAuthenticationChallengeAllOfExpiresAt = string | null;
161
- type CreateTotpFactorResponseAuthenticationChallengeAllOfCode = string | null;
162
- type CreateTotpFactorResponseAuthenticationChallengeAllOf = {
163
- object: CreateTotpFactorResponseAuthenticationChallengeAllOfObject;
133
+ type CreateTotpFactorResponseAuthenticationChallenge = {
134
+ object: "authentication_challenge";
164
135
  id: string;
165
- expires_at?: CreateTotpFactorResponseAuthenticationChallengeAllOfExpiresAt;
166
- code?: CreateTotpFactorResponseAuthenticationChallengeAllOfCode;
136
+ /** @nullable */
137
+ expires_at?: string | null;
138
+ /** @nullable */
139
+ code?: string | null;
167
140
  authentication_factor_id: string;
168
- };
169
- type CreateTotpFactorResponseAuthenticationChallengeAllOfFive = {
141
+ } & {
170
142
  created_at: string;
171
143
  updated_at: string;
172
144
  };
173
- type CreateTotpFactorResponseAuthenticationChallenge = CreateTotpFactorResponseAuthenticationChallengeAllOf & CreateTotpFactorResponseAuthenticationChallengeAllOfFive;
174
145
  interface CreateTotpFactorResponse {
175
146
  authenticationFactor: CreateTotpFactorResponseAuthenticationFactor;
176
147
  authenticationChallenge: CreateTotpFactorResponseAuthenticationChallenge;
@@ -179,45 +150,29 @@ interface VerifyTotpFactorRequest {
179
150
  code: string;
180
151
  authenticationChallengeId: string;
181
152
  }
182
- type AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider];
183
- declare const AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider: {
184
- readonly MFA: "MFA";
185
- };
186
- type AuthenticationInformationResponseDataVerificationMethodsMfaOneOfLastUsed = string | null;
187
- type AuthenticationInformationResponseDataVerificationMethodsMfaOneOf = {
188
- provider: AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider;
153
+ type AuthenticationInformationResponseDataVerificationMethodsMfa = {
154
+ provider: "MFA";
189
155
  isSetUp: boolean;
190
- lastUsed?: AuthenticationInformationResponseDataVerificationMethodsMfaOneOfLastUsed;
191
- };
192
- type AuthenticationInformationResponseDataVerificationMethodsMfa = AuthenticationInformationResponseDataVerificationMethodsMfaOneOf | null;
193
- type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider];
194
- declare const AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider: {
195
- readonly Password: "Password";
196
- };
197
- type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfLastUsed = string | null;
198
- type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOf = {
199
- provider: AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider;
156
+ /** @nullable */
157
+ lastUsed?: string | null;
158
+ } | null;
159
+ type AuthenticationInformationResponseDataVerificationMethodsPassword = {
160
+ provider: "Password";
200
161
  isSetUp: boolean;
201
- lastUsed?: AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfLastUsed;
162
+ /** @nullable */
163
+ lastUsed?: string | null;
202
164
  isCurrentSession: boolean;
203
- };
204
- type AuthenticationInformationResponseDataVerificationMethodsPassword = AuthenticationInformationResponseDataVerificationMethodsPasswordOneOf | null;
205
- type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider];
206
- declare const AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider: {
207
- readonly Passkey: "Passkey";
208
- };
209
- type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfLastUsed = string | null;
210
- type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfPassKeysItem = {
211
- id: string;
212
- };
213
- type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOf = {
214
- provider: AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider;
165
+ } | null;
166
+ type AuthenticationInformationResponseDataVerificationMethodsPasskey = {
167
+ provider: "Passkey";
215
168
  isSetUp: boolean;
216
- lastUsed?: AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfLastUsed;
217
- passKeys: AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfPassKeysItem[];
169
+ /** @nullable */
170
+ lastUsed?: string | null;
171
+ passKeys: {
172
+ id: string;
173
+ }[];
218
174
  isCurrentSession: boolean;
219
- };
220
- type AuthenticationInformationResponseDataVerificationMethodsPasskey = AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOf | null;
175
+ } | null;
221
176
  type AuthenticationInformationResponseDataVerificationMethods = {
222
177
  Mfa?: AuthenticationInformationResponseDataVerificationMethodsMfa;
223
178
  Password?: AuthenticationInformationResponseDataVerificationMethodsPassword;
@@ -248,29 +203,24 @@ interface UpdatePasswordRequest {
248
203
  interface RevokeAllSessionsRequest {
249
204
  currentSessionId: string;
250
205
  }
251
- type ActiveSessionIpAddress = string | null;
252
- type ActiveSessionUserAgent = string | null;
253
- type ActiveSessionOrganizationId = string | null;
254
- type ActiveSessionStateExpiresAt = string | null;
255
206
  type ActiveSessionState = {
256
207
  tag: string;
257
- expiresAt?: ActiveSessionStateExpiresAt;
208
+ /** @nullable */
209
+ expiresAt?: string | null;
258
210
  };
259
- type ActiveSessionCurrentLocationOneOf = {
211
+ type ActiveSessionCurrentLocation = {
260
212
  cityName: string;
261
213
  countryISOCode: string;
262
- };
263
- type ActiveSessionCurrentLocation = ActiveSessionCurrentLocationOneOf | null;
264
- type ActiveSessionImpersonatorUserId = string | null;
265
- type ActiveSessionImpersonatorEmail = string | null;
266
- type ActiveSessionImpersonationReason = string | null;
267
- type ActiveSessionLastActivityAt = string | null;
214
+ } | null;
268
215
  interface ActiveSession {
269
216
  id: string;
270
217
  userlandUserId: string;
271
- ipAddress?: ActiveSessionIpAddress;
272
- userAgent?: ActiveSessionUserAgent;
273
- organizationId?: ActiveSessionOrganizationId;
218
+ /** @nullable */
219
+ ipAddress?: string | null;
220
+ /** @nullable */
221
+ userAgent?: string | null;
222
+ /** @nullable */
223
+ organizationId?: string | null;
274
224
  state: ActiveSessionState;
275
225
  currentLocation?: ActiveSessionCurrentLocation;
276
226
  usedSsoAuth: boolean;
@@ -287,23 +237,23 @@ interface ActiveSession {
287
237
  usedSlackOauth: boolean;
288
238
  usedXeroOauth: boolean;
289
239
  usedMagicAuth: boolean;
290
- impersonatorUserId?: ActiveSessionImpersonatorUserId;
291
- impersonatorEmail?: ActiveSessionImpersonatorEmail;
292
- impersonationReason?: ActiveSessionImpersonationReason;
293
- lastActivityAt?: ActiveSessionLastActivityAt;
240
+ /** @nullable */
241
+ impersonatorUserId?: string | null;
242
+ /** @nullable */
243
+ impersonatorEmail?: string | null;
244
+ /** @nullable */
245
+ impersonationReason?: string | null;
246
+ /** @nullable */
247
+ lastActivityAt?: string | null;
294
248
  createdAt: string;
295
249
  updatedAt: string;
296
250
  }
297
251
  interface ActiveSessionsResponse {
298
252
  data: ActiveSession[];
299
253
  }
300
- type SendVerificationResponseType = (typeof SendVerificationResponseType)[keyof typeof SendVerificationResponseType];
301
- declare const SendVerificationResponseType: {
302
- readonly EmailVerification: "EmailVerification";
303
- };
304
254
  interface SendVerificationResponse {
305
255
  authenticationChallenge: string;
306
- type: SendVerificationResponseType;
256
+ type: "EmailVerification";
307
257
  }
308
258
  interface VerifyRequest {
309
259
  code: string;
@@ -327,21 +277,17 @@ interface VerifyPasskeyRequest {
327
277
  challengeId: string;
328
278
  response: VerifyPasskeyRequestResponse;
329
279
  }
330
- type SettingsResponseObject = (typeof SettingsResponseObject)[keyof typeof SettingsResponseObject];
331
- declare const SettingsResponseObject: {
332
- readonly settings: "settings";
333
- };
334
- type SettingsResponseLogoDarkIconPath = string | null;
335
- type SettingsResponseLogoDarkPath = string | null;
336
- type SettingsResponseLogoLightIconPath = string | null;
337
- type SettingsResponseLogoLightPath = string | null;
338
280
  interface SettingsResponse {
339
- object: SettingsResponseObject;
281
+ object: "settings";
340
282
  authkitOrigin: string;
341
- logoDarkIconPath?: SettingsResponseLogoDarkIconPath;
342
- logoDarkPath?: SettingsResponseLogoDarkPath;
343
- logoLightIconPath?: SettingsResponseLogoLightIconPath;
344
- logoLightPath?: SettingsResponseLogoLightPath;
283
+ /** @nullable */
284
+ logoDarkIconPath?: string | null;
285
+ /** @nullable */
286
+ logoDarkPath?: string | null;
287
+ /** @nullable */
288
+ logoLightIconPath?: string | null;
289
+ /** @nullable */
290
+ logoLightPath?: string | null;
345
291
  teamName: string;
346
292
  }
347
293
  type OrganizationDomainState = (typeof OrganizationDomainState)[keyof typeof OrganizationDomainState];
@@ -359,28 +305,28 @@ declare const DomainVerificationNameServer: {
359
305
  readonly GoDaddy: "GoDaddy";
360
306
  readonly Other: "Other";
361
307
  };
362
- type OrganizationDomainVerificationPrefix = string | null;
363
- type OrganizationDomainVerificationToken = string | null;
364
- type OrganizationDomainSubdomain = string | null;
365
308
  interface OrganizationDomain {
366
309
  id: string;
367
310
  domain: string;
368
311
  state: OrganizationDomainState;
369
312
  nameServer: DomainVerificationNameServer;
370
- verificationPrefix?: OrganizationDomainVerificationPrefix;
371
- verificationToken?: OrganizationDomainVerificationToken;
372
- subdomain?: OrganizationDomainSubdomain;
313
+ /** @nullable */
314
+ verificationPrefix?: string | null;
315
+ /** @nullable */
316
+ verificationToken?: string | null;
317
+ /** @nullable */
318
+ subdomain?: string | null;
373
319
  createdAt: string;
374
320
  }
375
- type X509CertificateJSONNotBefore = string | null;
376
- type X509CertificateJSONNotAfter = string | null;
377
- type X509CertificateJSONLastExpiryEventSentAt = string | null;
378
321
  interface X509CertificateJSON {
379
322
  id: string;
380
323
  value: string;
381
- notBefore?: X509CertificateJSONNotBefore;
382
- notAfter?: X509CertificateJSONNotAfter;
383
- lastExpiryEventSentAt?: X509CertificateJSONLastExpiryEventSentAt;
324
+ /** @nullable */
325
+ notBefore?: string | null;
326
+ /** @nullable */
327
+ notAfter?: string | null;
328
+ /** @nullable */
329
+ lastExpiryEventSentAt?: string | null;
384
330
  }
385
331
  type SamlSessionState = (typeof SamlSessionState)[keyof typeof SamlSessionState];
386
332
  declare const SamlSessionState: {
@@ -412,108 +358,52 @@ interface SsoConnectionSessionJSON {
412
358
  createdAt: string;
413
359
  state: (typeof SsoConnectionSessionJSONState)[keyof typeof SsoConnectionSessionJSONState];
414
360
  }
415
- type SsoConnectionAnyOfType = (typeof SsoConnectionAnyOfType)[keyof typeof SsoConnectionAnyOfType];
416
- declare const SsoConnectionAnyOfType: {
417
- readonly AdfsSaml: "AdfsSaml";
418
- readonly Auth0Saml: "Auth0Saml";
419
- readonly AzureSaml: "AzureSaml";
420
- readonly CasSaml: "CasSaml";
421
- readonly ClassLinkSaml: "ClassLinkSaml";
422
- readonly CloudflareSaml: "CloudflareSaml";
423
- readonly CyberArkSaml: "CyberArkSaml";
424
- readonly DuoSaml: "DuoSaml";
425
- readonly GenericSaml: "GenericSaml";
426
- readonly GoogleSaml: "GoogleSaml";
427
- readonly JumpCloudSaml: "JumpCloudSaml";
428
- readonly KeycloakSaml: "KeycloakSaml";
429
- readonly LastPassSaml: "LastPassSaml";
430
- readonly MiniOrangeSaml: "MiniOrangeSaml";
431
- readonly NetIqSaml: "NetIqSaml";
432
- readonly OktaSaml: "OktaSaml";
433
- readonly OneLoginSaml: "OneLoginSaml";
434
- readonly OracleSaml: "OracleSaml";
435
- readonly PingFederateSaml: "PingFederateSaml";
436
- readonly PingOneSaml: "PingOneSaml";
437
- readonly RipplingSaml: "RipplingSaml";
438
- readonly SalesforceSaml: "SalesforceSaml";
439
- readonly ShibbolethGenericSaml: "ShibbolethGenericSaml";
440
- readonly ShibbolethSaml: "ShibbolethSaml";
441
- readonly SimpleSamlPhpSaml: "SimpleSamlPhpSaml";
442
- readonly TestIdp: "TestIdp";
443
- readonly VmWareSaml: "VmWareSaml";
444
- };
445
- type SsoConnectionAnyOfState = (typeof SsoConnectionAnyOfState)[keyof typeof SsoConnectionAnyOfState];
446
- declare const SsoConnectionAnyOfState: {
447
- readonly Inactive: "Inactive";
448
- readonly Validating: "Validating";
449
- readonly Active: "Active";
450
- readonly Deleting: "Deleting";
451
- };
452
- type SsoConnectionAnyOfLatestExpiringCertificate = X509CertificateJSON | null;
453
- type SsoConnectionAnyOfLatestExpiredCertificate = X509CertificateJSON | null;
454
- type SsoConnectionAnyOfProviderTag = (typeof SsoConnectionAnyOfProviderTag)[keyof typeof SsoConnectionAnyOfProviderTag];
455
- declare const SsoConnectionAnyOfProviderTag: {
456
- readonly Saml: "Saml";
457
- };
458
- type SsoConnectionAnyOfLastSession = SsoConnectionSessionJSON | null;
459
- type SsoConnectionAnyOf = {
361
+ type SsoConnection = {
460
362
  id: string;
461
- type: SsoConnectionAnyOfType;
363
+ 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";
462
364
  name: string;
463
- state: SsoConnectionAnyOfState;
365
+ state: "Inactive" | "Validating" | "Active" | "Deleting";
464
366
  x509Certificates: X509CertificateJSON[];
465
- latestExpiringCertificate?: SsoConnectionAnyOfLatestExpiringCertificate;
466
- latestExpiredCertificate?: SsoConnectionAnyOfLatestExpiredCertificate;
367
+ latestExpiringCertificate?: X509CertificateJSON | null;
368
+ latestExpiredCertificate?: X509CertificateJSON | null;
467
369
  createdAt: string;
468
- providerTag: SsoConnectionAnyOfProviderTag;
469
- lastSession?: SsoConnectionAnyOfLastSession;
470
- };
471
- type SsoConnectionAnyOfEightAllOfState = (typeof SsoConnectionAnyOfEightAllOfState)[keyof typeof SsoConnectionAnyOfEightAllOfState];
472
- declare const SsoConnectionAnyOfEightAllOfState: {
473
- readonly Inactive: "Inactive";
474
- readonly Validating: "Validating";
475
- readonly Active: "Active";
476
- readonly Deleting: "Deleting";
477
- };
478
- type SsoConnectionAnyOfEightAllOfType = (typeof SsoConnectionAnyOfEightAllOfType)[keyof typeof SsoConnectionAnyOfEightAllOfType];
479
- declare const SsoConnectionAnyOfEightAllOfType: {
480
- readonly AdpOidc: "AdpOidc";
481
- readonly Auth0Migration: "Auth0Migration";
482
- readonly CleverOidc: "CleverOidc";
483
- readonly EntraIdOidc: "EntraIdOidc";
484
- readonly GenericOidc: "GenericOidc";
485
- readonly GoogleOidc: "GoogleOidc";
486
- readonly OktaOidc: "OktaOidc";
487
- readonly LoginGovOidc: "LoginGovOidc";
488
- };
489
- type SsoConnectionAnyOfEightAllOfProviderTag = (typeof SsoConnectionAnyOfEightAllOfProviderTag)[keyof typeof SsoConnectionAnyOfEightAllOfProviderTag];
490
- declare const SsoConnectionAnyOfEightAllOfProviderTag: {
491
- readonly OpenIdConnect: "OpenIdConnect";
492
- };
493
- type SsoConnectionAnyOfEightAllOfLastSession = SsoConnectionSessionJSON | null;
494
- type SsoConnectionAnyOfEightAllOf = {
370
+ providerTag: "Saml";
371
+ lastSession?: SsoConnectionSessionJSON | null;
372
+ } | ({
495
373
  id: string;
496
374
  name: string;
497
- state: SsoConnectionAnyOfEightAllOfState;
498
- type: SsoConnectionAnyOfEightAllOfType;
375
+ state: "Inactive" | "Validating" | "Active" | "Deleting";
376
+ type: "AdpOidc" | "Auth0Migration" | "CleverOidc" | "EntraIdOidc" | "GenericOidc" | "GoogleOidc" | "OktaOidc" | "LoginGovOidc";
499
377
  createdAt: string;
500
- providerTag: SsoConnectionAnyOfEightAllOfProviderTag;
501
- lastSession?: SsoConnectionAnyOfEightAllOfLastSession;
502
- };
503
- type SsoConnectionAnyOfEightAllOfSix = {
378
+ providerTag: "OpenIdConnect";
379
+ lastSession?: SsoConnectionSessionJSON | null;
380
+ } & {
381
+ /** @nullable */
504
382
  x509Certificates?: null;
383
+ /** @nullable */
505
384
  latestExpiringCertificate?: null;
385
+ /** @nullable */
506
386
  latestExpiredCertificate?: null;
507
- };
508
- type SsoConnectionAnyOfEight = SsoConnectionAnyOfEightAllOf & SsoConnectionAnyOfEightAllOfSix;
509
- type SsoConnection = SsoConnectionAnyOf | SsoConnectionAnyOfEight;
510
- type ListOrganizationApiKeysResponseDataLastUsedAt = string | null;
387
+ });
388
+ type AuditLogStreamState = "Active" | "Inactive" | "Error" | "Invalid";
389
+ type AuditLogStreamType = "Datadog" | "Splunk" | "S3" | "GoogleCloudStorage" | "GenericHttps" | "AzureSentinel";
390
+ interface AuditLogStreamJSON {
391
+ id: string;
392
+ state: AuditLogStreamState;
393
+ type: AuditLogStreamType;
394
+ /** @nullable */
395
+ errorMessage?: string | null;
396
+ /** @nullable */
397
+ lastSyncedEventId?: string | null;
398
+ auditLogTrailId: string;
399
+ }
511
400
  interface ListOrganizationApiKeysResponseData {
512
401
  id: string;
513
402
  name: string;
514
403
  obfuscatedValue: string;
515
404
  createdAt: string;
516
- lastUsedAt?: ListOrganizationApiKeysResponseDataLastUsedAt;
405
+ /** @nullable */
406
+ lastUsedAt?: string | null;
517
407
  permissions: string[];
518
408
  }
519
409
  type ListOrganizationApiKeysResponseListMetadata = {
@@ -536,12 +426,12 @@ interface CreateOrganizationApiKeyResponse {
536
426
  name: string;
537
427
  permissions: string[];
538
428
  }
539
- type ListOrganizationApiKeyPermissionDescription = string | null;
540
429
  interface ListOrganizationApiKeyPermission {
541
430
  id: string;
542
431
  slug: string;
543
432
  name: string;
544
- description?: ListOrganizationApiKeyPermissionDescription;
433
+ /** @nullable */
434
+ description?: string | null;
545
435
  }
546
436
  type ListOrganizationApiKeyPermissionsResponseListMetadata = {
547
437
  before?: string;
@@ -551,114 +441,49 @@ interface ListOrganizationApiKeyPermissionsResponse {
551
441
  data: ListOrganizationApiKeyPermission[];
552
442
  list_metadata: ListOrganizationApiKeyPermissionsResponseListMetadata;
553
443
  }
554
- declare const DataInstallationAllOfObject: {
555
- readonly data_installation: "data_installation";
556
- readonly connected_account: "connected_account";
557
- };
558
- type DataInstallationAllOfUserId = string | null;
559
- type DataInstallationAllOfOrganizationId = string | null;
560
- declare const DataInstallationAllOfState: {
561
- readonly connected: "connected";
562
- readonly needs_reauthorization: "needs_reauthorization";
563
- };
564
- type DataInstallationAllOf = {
565
- object: (typeof DataInstallationAllOfObject)[keyof typeof DataInstallationAllOfObject];
444
+ type DataInstallation = {
445
+ object: "data_installation" | "connected_account";
566
446
  id: string;
567
- user_id?: DataInstallationAllOfUserId;
568
- organization_id?: DataInstallationAllOfOrganizationId;
447
+ /** @nullable */
448
+ user_id?: string | null;
449
+ /** @nullable */
450
+ organization_id?: string | null;
569
451
  scopes: string[];
570
- state: (typeof DataInstallationAllOfState)[keyof typeof DataInstallationAllOfState];
452
+ state: "connected" | "needs_reauthorization";
571
453
  created_at: string;
572
454
  updated_at: string;
573
- };
574
- type DataInstallationAllOfSixUserlandUserId = string | null;
575
- type DataInstallationAllOfSixOrganizationId = string | null;
576
- type DataInstallationAllOfSix = {
577
- userlandUserId?: DataInstallationAllOfSixUserlandUserId;
578
- organizationId?: DataInstallationAllOfSixOrganizationId;
455
+ } & {
456
+ /** @nullable */
457
+ userlandUserId?: string | null;
458
+ /** @nullable */
459
+ organizationId?: string | null;
579
460
  createdAt?: string;
580
461
  updatedAt?: string;
581
462
  };
582
- type DataInstallation = DataInstallationAllOf & DataInstallationAllOfSix;
583
- type DataIntegrationObject = (typeof DataIntegrationObject)[keyof typeof DataIntegrationObject];
584
- declare const DataIntegrationObject: {
585
- readonly data_integration: "data_integration";
586
- };
587
- type DataIntegrationDescription = string | null;
588
- declare const DataIntegrationIntegrationType: {
589
- readonly asana: "asana";
590
- readonly box: "box";
591
- readonly "cal-dot-com": "cal-dot-com";
592
- readonly calendly: "calendly";
593
- readonly confluence: "confluence";
594
- readonly dropbox: "dropbox";
595
- readonly "frame-io": "frame-io";
596
- readonly front: "front";
597
- readonly github: "github";
598
- readonly gitlab: "gitlab";
599
- readonly gmail: "gmail";
600
- readonly google: "google";
601
- readonly "google-calendar": "google-calendar";
602
- readonly "google-drive": "google-drive";
603
- readonly helpscout: "helpscout";
604
- readonly hubspot: "hubspot";
605
- readonly intercom: "intercom";
606
- readonly jira: "jira";
607
- readonly linear: "linear";
608
- readonly microsoft: "microsoft";
609
- readonly "microsoft-onedrive": "microsoft-onedrive";
610
- readonly "microsoft-onenote": "microsoft-onenote";
611
- readonly "microsoft-outlook": "microsoft-outlook";
612
- readonly "microsoft-outlook-calendar": "microsoft-outlook-calendar";
613
- readonly "microsoft-sharepoint": "microsoft-sharepoint";
614
- readonly "microsoft-teams": "microsoft-teams";
615
- readonly "microsoft-todo": "microsoft-todo";
616
- readonly notion: "notion";
617
- readonly prefect: "prefect";
618
- readonly "pydantic-logfire": "pydantic-logfire";
619
- readonly salesforce: "salesforce";
620
- readonly sentry: "sentry";
621
- readonly slack: "slack";
622
- readonly snowflake: "snowflake";
623
- readonly stripe: "stripe";
624
- readonly xero: "xero";
625
- readonly zendesk: "zendesk";
626
- };
627
- declare const DataIntegrationOwnership: {
628
- readonly userland_user: "userland_user";
629
- readonly organization: "organization";
630
- };
631
- declare const DataIntegrationCredentialsType: {
632
- readonly shared: "shared";
633
- readonly custom: "custom";
634
- };
635
- type DataIntegrationScopes = string[] | null;
636
- type DataIntegrationInstallation = DataInstallation | null;
637
463
  interface DataIntegration {
638
- object: DataIntegrationObject;
464
+ object: "data_integration";
639
465
  id: string;
640
466
  name: string;
641
- description?: DataIntegrationDescription;
467
+ /** @nullable */
468
+ description?: string | null;
642
469
  slug: string;
643
- integrationType: (typeof DataIntegrationIntegrationType)[keyof typeof DataIntegrationIntegrationType];
644
- ownership: (typeof DataIntegrationOwnership)[keyof typeof DataIntegrationOwnership];
645
- credentialsType: (typeof DataIntegrationCredentialsType)[keyof typeof DataIntegrationCredentialsType];
646
- scopes?: DataIntegrationScopes;
470
+ 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";
471
+ ownership: "userland_user" | "organization";
472
+ credentialsType: "shared" | "custom";
473
+ scopes?: string[] | null;
647
474
  createdAt: string;
648
475
  updatedAt: string;
649
- installation?: DataIntegrationInstallation;
476
+ installation?: DataInstallation | null;
650
477
  }
651
478
  interface DataIntegrationsResponse {
652
479
  data: DataIntegration[];
653
480
  }
654
- type GetDataIntegrationAuthorizeUrlResponseAllOf = {
481
+ type GetDataIntegrationAuthorizeUrlResponse = {
655
482
  url: string;
656
483
  redirectToken: string;
657
- };
658
- type GetDataIntegrationAuthorizeUrlResponseAllOfTwo = {
484
+ } & {
659
485
  handoffToken?: string;
660
486
  };
661
- type GetDataIntegrationAuthorizeUrlResponse = GetDataIntegrationAuthorizeUrlResponseAllOf & GetDataIntegrationAuthorizeUrlResponseAllOfTwo;
662
487
  interface GetAuthorizationStatusResponse {
663
488
  isConnecting: boolean;
664
489
  }
@@ -712,6 +537,8 @@ interface Directory {
712
537
  state: DirectoryState;
713
538
  createdAt: string;
714
539
  updatedAt: string;
540
+ /** @nullable */
541
+ lastSyncRunAt?: string | null;
715
542
  metadata: DirectoryMetadata;
716
543
  }
717
544
  interface DirectoriesResponse {
@@ -801,12 +628,12 @@ type GetDataIntegrationAuthorizeUrl403 = {
801
628
  type GetDataIntegrationAuthorizeUrl404 = {
802
629
  message: string;
803
630
  };
804
- type InviteMemberInputFirstName = string | null;
805
- type InviteMemberInputLastName = string | null;
806
631
  type InviteMemberInput = {
807
632
  email: string;
808
- firstName?: InviteMemberInputFirstName;
809
- lastName?: InviteMemberInputLastName;
633
+ /** @nullable */
634
+ firstName?: string | null;
635
+ /** @nullable */
636
+ lastName?: string | null;
810
637
  roles: string[];
811
638
  };
812
639
  type InviteMember201 = {
@@ -834,9 +661,9 @@ type RevokeInvite403 = {
834
661
  type RevokeInvite404 = {
835
662
  message: string;
836
663
  };
837
- type ResendInvite201Id = string | null;
838
664
  type ResendInvite201 = {
839
- id?: ResendInvite201Id;
665
+ /** @nullable */
666
+ id?: string | null;
840
667
  success: boolean;
841
668
  };
842
669
  type ResendInvite400 = {
@@ -1034,6 +861,12 @@ type VerifyTotpFactor400 = {
1034
861
  type VerifyTotpFactor403 = {
1035
862
  message: string;
1036
863
  };
864
+ type GetAuditLogStream200 = AuditLogStreamJSON | {
865
+ [key: string]: unknown;
866
+ };
867
+ type GetAuditLogStream403 = {
868
+ message: string;
869
+ };
1037
870
  type GenerateAdminPortalLinkParams = {
1038
871
  intent: GenerateAdminPortalLinkIntent;
1039
872
  };
@@ -1041,6 +874,7 @@ type GenerateAdminPortalLinkIntent = (typeof GenerateAdminPortalLinkIntent)[keyo
1041
874
  declare const GenerateAdminPortalLinkIntent: {
1042
875
  readonly domain_verification: "domain_verification";
1043
876
  readonly sso: "sso";
877
+ readonly log_streams: "log_streams";
1044
878
  };
1045
879
  type GenerateAdminPortalLink201 = {
1046
880
  link: string;
@@ -1081,6 +915,12 @@ type ListDirectories403 = {
1081
915
  type ListDirectories404 = {
1082
916
  message: string;
1083
917
  };
918
+ type GetDirectory403 = {
919
+ message: string;
920
+ };
921
+ type GetDirectory404 = {
922
+ message: string;
923
+ };
1084
924
  type Settings403 = {
1085
925
  message: string;
1086
926
  };
@@ -1150,7 +990,7 @@ declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType
1150
990
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1151
991
  queryKey: DataTag<QueryKey, TData, TError>;
1152
992
  };
1153
- declare const useDeleteOrganizationApiKeyHook: () => (apiKeyId: string) => Promise<DeleteOrganizationApiKey200>;
993
+ declare const useDeleteOrganizationApiKeyHook: () => (apiKeyId: string, signal?: AbortSignal) => Promise<DeleteOrganizationApiKey200>;
1154
994
  declare const useDeleteOrganizationApiKeyMutationOptions: <TError = ErrorType<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>, TContext = unknown>(options?: {
1155
995
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
1156
996
  apiKeyId: string;
@@ -1167,7 +1007,7 @@ declare const useDeleteOrganizationApiKey: <TError = ErrorType<DeleteOrganizatio
1167
1007
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
1168
1008
  apiKeyId: string;
1169
1009
  }, TContext>;
1170
- declare const useDeleteDataInstallationHook: () => (installationId: string) => Promise<DeleteDataInstallation200>;
1010
+ declare const useDeleteDataInstallationHook: () => (installationId: string, signal?: AbortSignal) => Promise<DeleteDataInstallation200>;
1171
1011
  declare const useDeleteDataInstallationMutationOptions: <TError = ErrorType<DeleteDataInstallation403 | DeleteDataInstallation404>, TContext = unknown>(options?: {
1172
1012
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
1173
1013
  installationId: string;
@@ -1209,7 +1049,7 @@ declare function useMyDataIntegrations<TData = Awaited<ReturnType<ReturnType<typ
1209
1049
  queryKey: DataTag<QueryKey, TData, TError>;
1210
1050
  };
1211
1051
  declare const useGetDataInstallationAuthorizationStatusHook: () => (dataIntegrationId: string, state: string, signal?: AbortSignal) => Promise<GetAuthorizationStatusResponse>;
1212
- declare const getGetDataInstallationAuthorizationStatusQueryKey: (dataIntegrationId?: string, state?: string) => readonly [`/_widgets/DataIntegrations/undefined/authorization-status/${string}` | `/_widgets/DataIntegrations/${string}/authorization-status/undefined` | `/_widgets/DataIntegrations/${string}/authorization-status/${string}`];
1052
+ declare const getGetDataInstallationAuthorizationStatusQueryKey: (dataIntegrationId: string, state: string) => readonly [`/_widgets/DataIntegrations/${string}/authorization-status/${string}`];
1213
1053
  declare const useGetDataInstallationAuthorizationStatusQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
1214
1054
  query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>>;
1215
1055
  }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData> & {
@@ -1233,7 +1073,7 @@ declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<Retur
1233
1073
  queryKey: DataTag<QueryKey, TData, TError>;
1234
1074
  };
1235
1075
  declare const useGetDataIntegrationAuthorizeUrlHook: () => (slug: string, params?: GetDataIntegrationAuthorizeUrlParams, signal?: AbortSignal) => Promise<GetDataIntegrationAuthorizeUrlResponse>;
1236
- declare const getGetDataIntegrationAuthorizeUrlQueryKey: (slug?: string, params?: GetDataIntegrationAuthorizeUrlParams) => readonly [`/_widgets/DataIntegrations/${string}/authorize`, ...GetDataIntegrationAuthorizeUrlParams[]];
1076
+ declare const getGetDataIntegrationAuthorizeUrlQueryKey: (slug: string, params?: GetDataIntegrationAuthorizeUrlParams) => readonly [`/_widgets/DataIntegrations/${string}/authorize`, ...GetDataIntegrationAuthorizeUrlParams[]];
1237
1077
  declare const useGetDataIntegrationAuthorizeUrlQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
1238
1078
  query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>>;
1239
1079
  }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData> & {
@@ -1256,6 +1096,9 @@ declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<Re
1256
1096
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1257
1097
  queryKey: DataTag<QueryKey, TData, TError>;
1258
1098
  };
1099
+ /**
1100
+ * 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.
1101
+ */
1259
1102
  declare const useInviteMemberHook: () => (inviteMemberInput: BodyType<InviteMemberInput>, signal?: AbortSignal) => Promise<InviteMember201>;
1260
1103
  declare const useInviteMemberMutationOptions: <TError = ErrorType<InviteMember400 | InviteMember403 | InviteMember404>, TContext = unknown>(options?: {
1261
1104
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
@@ -1274,7 +1117,10 @@ declare const useInviteMember: <TError = ErrorType<InviteMember400 | InviteMembe
1274
1117
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
1275
1118
  data: BodyType<InviteMemberInput>;
1276
1119
  }, TContext>;
1277
- declare const useRevokeInviteHook: () => (userId: string) => Promise<RevokeInvite200>;
1120
+ /**
1121
+ * Cancels a pending invitation for the specified user, preventing them from joining the organization via that invite link.
1122
+ */
1123
+ declare const useRevokeInviteHook: () => (userId: string, signal?: AbortSignal) => Promise<RevokeInvite200>;
1278
1124
  declare const useRevokeInviteMutationOptions: <TError = ErrorType<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>, TContext = unknown>(options?: {
1279
1125
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
1280
1126
  userId: string;
@@ -1291,6 +1137,9 @@ declare const useRevokeInvite: <TError = ErrorType<RevokeInvite400 | RevokeInvit
1291
1137
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
1292
1138
  userId: string;
1293
1139
  }, TContext>;
1140
+ /**
1141
+ * Resends the pending invitation email to the specified user. Returns an error if the invitation has already been accepted or has expired.
1142
+ */
1294
1143
  declare const useResendInviteHook: () => (userId: string, signal?: AbortSignal) => Promise<ResendInvite201>;
1295
1144
  declare const useResendInviteMutationOptions: <TError = ErrorType<ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422>, TContext = unknown>(options?: {
1296
1145
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
@@ -1308,6 +1157,9 @@ declare const useResendInvite: <TError = ErrorType<ResendInvite400 | ResendInvit
1308
1157
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
1309
1158
  userId: string;
1310
1159
  }, TContext>;
1160
+ /**
1161
+ * 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.
1162
+ */
1311
1163
  declare const useMembersHook: () => (params?: MembersParams, signal?: AbortSignal) => Promise<Members200>;
1312
1164
  declare const getMembersQueryKey: (params?: MembersParams) => readonly ["/_widgets/UserManagement/members", ...MembersParams[]];
1313
1165
  declare const useMembersQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
@@ -1332,7 +1184,10 @@ declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMemb
1332
1184
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1333
1185
  queryKey: DataTag<QueryKey, TData, TError>;
1334
1186
  };
1335
- declare const useRemoveMemberHook: () => (userId: string) => Promise<RemoveMember200>;
1187
+ /**
1188
+ * Removes the specified user from the organization by revoking their membership. The user account itself is not deleted.
1189
+ */
1190
+ declare const useRemoveMemberHook: () => (userId: string, signal?: AbortSignal) => Promise<RemoveMember200>;
1336
1191
  declare const useRemoveMemberMutationOptions: <TError = ErrorType<RemoveMember400 | RemoveMember403 | RemoveMember404>, TContext = unknown>(options?: {
1337
1192
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
1338
1193
  userId: string;
@@ -1349,6 +1204,9 @@ declare const useRemoveMember: <TError = ErrorType<RemoveMember400 | RemoveMembe
1349
1204
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
1350
1205
  userId: string;
1351
1206
  }, TContext>;
1207
+ /**
1208
+ * Updates the specified member's organization membership, such as changing their assigned role.
1209
+ */
1352
1210
  declare const useUpdateMemberHook: () => (userId: string, updateMemberInput: BodyType<UpdateMemberInput>, signal?: AbortSignal) => Promise<UpdateMember200>;
1353
1211
  declare const useUpdateMemberMutationOptions: <TError = ErrorType<UpdateMember400 | UpdateMember403 | UpdateMember404 | UpdateMember422>, TContext = unknown>(options?: {
1354
1212
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMemberHook>>>, TError, {
@@ -1371,6 +1229,9 @@ declare const useUpdateMember: <TError = ErrorType<UpdateMember400 | UpdateMembe
1371
1229
  userId: string;
1372
1230
  data: BodyType<UpdateMemberInput>;
1373
1231
  }, TContext>;
1232
+ /**
1233
+ * Returns the list of organizations the authenticated user is a member of.
1234
+ */
1374
1235
  declare const useOrganizationsHook: () => (signal?: AbortSignal) => Promise<OrganizationsResponse>;
1375
1236
  declare const getOrganizationsQueryKey: () => readonly ["/_widgets/UserManagement/organizations"];
1376
1237
  declare const useOrganizationsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError = ErrorType<Organizations403 | Organizations404>>(options?: {
@@ -1395,6 +1256,9 @@ declare function useOrganizations<TData = Awaited<ReturnType<ReturnType<typeof u
1395
1256
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1396
1257
  queryKey: DataTag<QueryKey, TData, TError>;
1397
1258
  };
1259
+ /**
1260
+ * Returns the list of roles available in the organization that can be assigned to members.
1261
+ */
1398
1262
  declare const useRolesHook: () => (signal?: AbortSignal) => Promise<MemberRole[]>;
1399
1263
  declare const getRolesQueryKey: () => readonly ["/_widgets/UserManagement/roles"];
1400
1264
  declare const useRolesQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
@@ -1419,6 +1283,9 @@ declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesH
1419
1283
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1420
1284
  queryKey: DataTag<QueryKey, TData, TError>;
1421
1285
  };
1286
+ /**
1287
+ * Returns the list of roles available in the organization along with the user management configuration, such as whether role assignment is enabled.
1288
+ */
1422
1289
  declare const useRolesAndConfigHook: () => (signal?: AbortSignal) => Promise<RolesAndConfigResponse>;
1423
1290
  declare const getRolesAndConfigQueryKey: () => readonly ["/_widgets/UserManagement/roles-and-config"];
1424
1291
  declare const useRolesAndConfigQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
@@ -1443,6 +1310,9 @@ declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof
1443
1310
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1444
1311
  queryKey: DataTag<QueryKey, TData, TError>;
1445
1312
  };
1313
+ /**
1314
+ * Returns the authentication methods and MFA factors configured for the authenticated user, including enrolled TOTP factors and passkeys.
1315
+ */
1446
1316
  declare const useAuthenticationInformationHook: () => (signal?: AbortSignal) => Promise<AuthenticationInformationResponse>;
1447
1317
  declare const getAuthenticationInformationQueryKey: () => readonly ["/_widgets/UserProfile/authentication-information"];
1448
1318
  declare const useAuthenticationInformationQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError = ErrorType<AuthenticationInformation403>>(options?: {
@@ -1467,6 +1337,9 @@ declare function useAuthenticationInformation<TData = Awaited<ReturnType<ReturnT
1467
1337
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1468
1338
  queryKey: DataTag<QueryKey, TData, TError>;
1469
1339
  };
1340
+ /**
1341
+ * Sets a password for the authenticated user. Only available when the user does not already have a password configured. Requires elevated access.
1342
+ */
1470
1343
  declare const useCreatePasswordHook: () => (createPasswordRequest: BodyType<CreatePasswordRequest>, signal?: AbortSignal) => Promise<CreatePassword201>;
1471
1344
  declare const useCreatePasswordMutationOptions: <TError = ErrorType<CreatePassword400 | CreatePassword403>, TContext = unknown>(options?: {
1472
1345
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
@@ -1485,6 +1358,9 @@ declare const useCreatePassword: <TError = ErrorType<CreatePassword400 | CreateP
1485
1358
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
1486
1359
  data: BodyType<CreatePasswordRequest>;
1487
1360
  }, TContext>;
1361
+ /**
1362
+ * Initiates TOTP (authenticator app) enrollment for the authenticated user by generating a new TOTP secret and QR code. Requires elevated access.
1363
+ */
1488
1364
  declare const useCreateTotpFactorHook: () => (signal?: AbortSignal) => Promise<CreateTotpFactorResponse>;
1489
1365
  declare const useCreateTotpFactorMutationOptions: <TError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>, TContext = unknown>(options?: {
1490
1366
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
@@ -1494,6 +1370,9 @@ type CreateTotpFactorMutationError = ErrorType<CreateTotpFactor400 | CreateTotpF
1494
1370
  declare const useCreateTotpFactor: <TError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>, TContext = unknown>(options?: {
1495
1371
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
1496
1372
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
1373
+ /**
1374
+ * Returns the profile information of the currently authenticated user, including their name, email, and linked authentication factors.
1375
+ */
1497
1376
  declare const useMeHook: () => (signal?: AbortSignal) => Promise<Me>;
1498
1377
  declare const getMeQueryKey: () => readonly ["/_widgets/UserProfile/me"];
1499
1378
  declare const useMeQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options?: {
@@ -1518,6 +1397,9 @@ declare function useMe<TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>
1518
1397
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1519
1398
  queryKey: DataTag<QueryKey, TData, TError>;
1520
1399
  };
1400
+ /**
1401
+ * Updates the profile information of the currently authenticated user, such as their first name, last name, or email address.
1402
+ */
1521
1403
  declare const useUpdateMeHook: () => (updateMeInput: BodyType<UpdateMeInput>, signal?: AbortSignal) => Promise<Me>;
1522
1404
  declare const useUpdateMeMutationOptions: <TError = ErrorType<UpdateMe400 | UpdateMe403>, TContext = unknown>(options?: {
1523
1405
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
@@ -1536,6 +1418,9 @@ declare const useUpdateMe: <TError = ErrorType<UpdateMe400 | UpdateMe403>, TCont
1536
1418
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
1537
1419
  data: BodyType<UpdateMeInput>;
1538
1420
  }, TContext>;
1421
+ /**
1422
+ * Initiates passkey (WebAuthn) registration for the authenticated user by returning the credential creation options. Requires elevated access.
1423
+ */
1539
1424
  declare const useRegisterPasskeyHook: () => (signal?: AbortSignal) => Promise<RegisterPasskeyResponse>;
1540
1425
  declare const useRegisterPasskeyMutationOptions: <TError = ErrorType<RegisterPasskey400 | RegisterPasskey403>, TContext = unknown>(options?: {
1541
1426
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
@@ -1545,6 +1430,9 @@ type RegisterPasskeyMutationError = ErrorType<RegisterPasskey400 | RegisterPassk
1545
1430
  declare const useRegisterPasskey: <TError = ErrorType<RegisterPasskey400 | RegisterPasskey403>, TContext = unknown>(options?: {
1546
1431
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
1547
1432
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
1433
+ /**
1434
+ * Completes passkey (WebAuthn) registration by verifying the credential created by the authenticator. Requires elevated access.
1435
+ */
1548
1436
  declare const useVerifyPasskeyHook: () => (verifyPasskeyRequest: BodyType<VerifyPasskeyRequest>, signal?: AbortSignal) => Promise<VerifyPasskey200>;
1549
1437
  declare const useVerifyPasskeyMutationOptions: <TError = ErrorType<VerifyPasskey400 | VerifyPasskey403>, TContext = unknown>(options?: {
1550
1438
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
@@ -1563,7 +1451,10 @@ declare const useVerifyPasskey: <TError = ErrorType<VerifyPasskey400 | VerifyPas
1563
1451
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
1564
1452
  data: BodyType<VerifyPasskeyRequest>;
1565
1453
  }, TContext>;
1566
- declare const useDeletePasskeyHook: () => (passkeyId: string) => Promise<DeletePasskey200>;
1454
+ /**
1455
+ * Removes the specified passkey from the authenticated user's account. Requires elevated access.
1456
+ */
1457
+ declare const useDeletePasskeyHook: () => (passkeyId: string, signal?: AbortSignal) => Promise<DeletePasskey200>;
1567
1458
  declare const useDeletePasskeyMutationOptions: <TError = ErrorType<DeletePasskey400 | DeletePasskey403>, TContext = unknown>(options?: {
1568
1459
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
1569
1460
  passkeyId: string;
@@ -1580,6 +1471,9 @@ declare const useDeletePasskey: <TError = ErrorType<DeletePasskey400 | DeletePas
1580
1471
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
1581
1472
  passkeyId: string;
1582
1473
  }, TContext>;
1474
+ /**
1475
+ * Sends a verification email to the authenticated user to confirm their email address.
1476
+ */
1583
1477
  declare const useSendVerificationHook: () => (signal?: AbortSignal) => Promise<SendVerificationResponse>;
1584
1478
  declare const useSendVerificationMutationOptions: <TError = ErrorType<SendVerification400 | SendVerification403>, TContext = unknown>(options?: {
1585
1479
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
@@ -1589,6 +1483,9 @@ type SendVerificationMutationError = ErrorType<SendVerification400 | SendVerific
1589
1483
  declare const useSendVerification: <TError = ErrorType<SendVerification400 | SendVerification403>, TContext = unknown>(options?: {
1590
1484
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
1591
1485
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
1486
+ /**
1487
+ * Returns all currently active sessions for the authenticated user, including device and location information where available.
1488
+ */
1592
1489
  declare const useSessionsHook: () => (signal?: AbortSignal) => Promise<ActiveSessionsResponse>;
1593
1490
  declare const getSessionsQueryKey: () => readonly ["/_widgets/UserProfile/sessions"];
1594
1491
  declare const useSessionsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
@@ -1613,7 +1510,10 @@ declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSes
1613
1510
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1614
1511
  queryKey: DataTag<QueryKey, TData, TError>;
1615
1512
  };
1616
- declare const useRevokeAllSessionsHook: () => (revokeAllSessionsRequest: BodyType<RevokeAllSessionsRequest>) => Promise<RevokeAllSessions200>;
1513
+ /**
1514
+ * Revokes all active sessions for the authenticated user except optionally the current one, signing them out of all other devices.
1515
+ */
1516
+ declare const useRevokeAllSessionsHook: () => (revokeAllSessionsRequest: BodyType<RevokeAllSessionsRequest>, signal?: AbortSignal) => Promise<RevokeAllSessions200>;
1617
1517
  declare const useRevokeAllSessionsMutationOptions: <TError = ErrorType<RevokeAllSessions400 | RevokeAllSessions403>, TContext = unknown>(options?: {
1618
1518
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
1619
1519
  data: BodyType<RevokeAllSessionsRequest>;
@@ -1631,7 +1531,10 @@ declare const useRevokeAllSessions: <TError = ErrorType<RevokeAllSessions400 | R
1631
1531
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
1632
1532
  data: BodyType<RevokeAllSessionsRequest>;
1633
1533
  }, TContext>;
1634
- declare const useRevokeSessionHook: () => (sessionId: string) => Promise<RevokeSession200>;
1534
+ /**
1535
+ * Revokes a specific active session by ID, signing the user out of that particular device or browser.
1536
+ */
1537
+ declare const useRevokeSessionHook: () => (sessionId: string, signal?: AbortSignal) => Promise<RevokeSession200>;
1635
1538
  declare const useRevokeSessionMutationOptions: <TError = ErrorType<RevokeSession400 | RevokeSession403>, TContext = unknown>(options?: {
1636
1539
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
1637
1540
  sessionId: string;
@@ -1648,7 +1551,10 @@ declare const useRevokeSession: <TError = ErrorType<RevokeSession400 | RevokeSes
1648
1551
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
1649
1552
  sessionId: string;
1650
1553
  }, TContext>;
1651
- declare const useDeleteTotpFactorsHook: () => () => Promise<DeleteTotpFactors200>;
1554
+ /**
1555
+ * Removes all TOTP factors enrolled for the authenticated user, disabling authenticator app as a second factor. Requires elevated access.
1556
+ */
1557
+ declare const useDeleteTotpFactorsHook: () => (signal?: AbortSignal) => Promise<DeleteTotpFactors200>;
1652
1558
  declare const useDeleteTotpFactorsMutationOptions: <TError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>, TContext = unknown>(options?: {
1653
1559
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
1654
1560
  }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
@@ -1657,6 +1563,9 @@ type DeleteTotpFactorsMutationError = ErrorType<DeleteTotpFactors400 | DeleteTot
1657
1563
  declare const useDeleteTotpFactors: <TError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>, TContext = unknown>(options?: {
1658
1564
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
1659
1565
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
1566
+ /**
1567
+ * Changes the password for the authenticated user. Requires the current password to be supplied alongside the new password.
1568
+ */
1660
1569
  declare const useUpdatePasswordHook: () => (updatePasswordRequest: BodyType<UpdatePasswordRequest>, signal?: AbortSignal) => Promise<UpdatePassword201>;
1661
1570
  declare const useUpdatePasswordMutationOptions: <TError = ErrorType<UpdatePassword400 | UpdatePassword403>, TContext = unknown>(options?: {
1662
1571
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
@@ -1675,6 +1584,9 @@ declare const useUpdatePassword: <TError = ErrorType<UpdatePassword400 | UpdateP
1675
1584
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
1676
1585
  data: BodyType<UpdatePasswordRequest>;
1677
1586
  }, TContext>;
1587
+ /**
1588
+ * 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.
1589
+ */
1678
1590
  declare const useVerifyHook: () => (verifyRequest: BodyType<VerifyRequest>, signal?: AbortSignal) => Promise<VerifyResponse>;
1679
1591
  declare const useVerifyMutationOptions: <TError = ErrorType<Verify400 | Verify403>, TContext = unknown>(options?: {
1680
1592
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
@@ -1693,6 +1605,9 @@ declare const useVerify: <TError = ErrorType<Verify400 | Verify403>, TContext =
1693
1605
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
1694
1606
  data: BodyType<VerifyRequest>;
1695
1607
  }, TContext>;
1608
+ /**
1609
+ * Completes TOTP enrollment by verifying the one-time code generated by the authenticator app. Requires elevated access.
1610
+ */
1696
1611
  declare const useVerifyTotpFactorHook: () => (verifyTotpFactorRequest: BodyType<VerifyTotpFactorRequest>, signal?: AbortSignal) => Promise<VerifyTotpFactor200>;
1697
1612
  declare const useVerifyTotpFactorMutationOptions: <TError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>, TContext = unknown>(options?: {
1698
1613
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
@@ -1711,6 +1626,30 @@ declare const useVerifyTotpFactor: <TError = ErrorType<VerifyTotpFactor400 | Ver
1711
1626
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
1712
1627
  data: BodyType<VerifyTotpFactorRequest>;
1713
1628
  }, TContext>;
1629
+ declare const useGetAuditLogStreamHook: () => (signal?: AbortSignal) => Promise<GetAuditLogStream200>;
1630
+ declare const getGetAuditLogStreamQueryKey: () => readonly ["/_widgets/admin-portal/audit-log-stream"];
1631
+ declare const useGetAuditLogStreamQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetAuditLogStreamHook>>>, TError = ErrorType<GetAuditLogStream403>>(options?: {
1632
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetAuditLogStreamHook>>>, TError, TData>>;
1633
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetAuditLogStreamHook>>>, TError, TData> & {
1634
+ queryKey: DataTag<QueryKey, TData, TError>;
1635
+ };
1636
+ type GetAuditLogStreamQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetAuditLogStreamHook>>>>;
1637
+ type GetAuditLogStreamQueryError = ErrorType<GetAuditLogStream403>;
1638
+ declare function useGetAuditLogStream<TData = Awaited<ReturnType<ReturnType<typeof useGetAuditLogStreamHook>>>, TError = ErrorType<GetAuditLogStream403>>(options: {
1639
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetAuditLogStreamHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetAuditLogStreamHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetAuditLogStreamHook>>>>, "initialData">;
1640
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1641
+ queryKey: DataTag<QueryKey, TData, TError>;
1642
+ };
1643
+ declare function useGetAuditLogStream<TData = Awaited<ReturnType<ReturnType<typeof useGetAuditLogStreamHook>>>, TError = ErrorType<GetAuditLogStream403>>(options?: {
1644
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetAuditLogStreamHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetAuditLogStreamHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetAuditLogStreamHook>>>>, "initialData">;
1645
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1646
+ queryKey: DataTag<QueryKey, TData, TError>;
1647
+ };
1648
+ declare function useGetAuditLogStream<TData = Awaited<ReturnType<ReturnType<typeof useGetAuditLogStreamHook>>>, TError = ErrorType<GetAuditLogStream403>>(options?: {
1649
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetAuditLogStreamHook>>>, TError, TData>>;
1650
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1651
+ queryKey: DataTag<QueryKey, TData, TError>;
1652
+ };
1714
1653
  declare const useGenerateAdminPortalLinkHook: () => (params: GenerateAdminPortalLinkParams, signal?: AbortSignal) => Promise<GenerateAdminPortalLink201>;
1715
1654
  declare const useGenerateAdminPortalLinkMutationOptions: <TError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>, TContext = unknown>(options?: {
1716
1655
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
@@ -1752,7 +1691,7 @@ declare function useListOrganizationDomains<TData = Awaited<ReturnType<ReturnTyp
1752
1691
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1753
1692
  queryKey: DataTag<QueryKey, TData, TError>;
1754
1693
  };
1755
- declare const useDeleteOrganizationDomainHook: () => (domainId: string) => Promise<OrganizationDomain>;
1694
+ declare const useDeleteOrganizationDomainHook: () => (domainId: string, signal?: AbortSignal) => Promise<OrganizationDomain>;
1756
1695
  declare const useDeleteOrganizationDomainMutationOptions: <TError = ErrorType<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>, TContext = unknown>(options?: {
1757
1696
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>, TError, {
1758
1697
  domainId: string;
@@ -1834,6 +1773,33 @@ declare function useListDirectories<TData = Awaited<ReturnType<ReturnType<typeof
1834
1773
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1835
1774
  queryKey: DataTag<QueryKey, TData, TError>;
1836
1775
  };
1776
+ declare const useGetDirectoryHook: () => (directoryId: string, signal?: AbortSignal) => Promise<Directory>;
1777
+ declare const getGetDirectoryQueryKey: (directoryId: string) => readonly [`/_widgets/directory-sync/directories/${string}`];
1778
+ declare const useGetDirectoryQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetDirectoryHook>>>, TError = ErrorType<GetDirectory403 | GetDirectory404>>(directoryId: string, options?: {
1779
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDirectoryHook>>>, TError, TData>>;
1780
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDirectoryHook>>>, TError, TData> & {
1781
+ queryKey: DataTag<QueryKey, TData, TError>;
1782
+ };
1783
+ type GetDirectoryQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetDirectoryHook>>>>;
1784
+ type GetDirectoryQueryError = ErrorType<GetDirectory403 | GetDirectory404>;
1785
+ declare function useGetDirectory<TData = Awaited<ReturnType<ReturnType<typeof useGetDirectoryHook>>>, TError = ErrorType<GetDirectory403 | GetDirectory404>>(directoryId: string, options: {
1786
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDirectoryHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDirectoryHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDirectoryHook>>>>, "initialData">;
1787
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1788
+ queryKey: DataTag<QueryKey, TData, TError>;
1789
+ };
1790
+ declare function useGetDirectory<TData = Awaited<ReturnType<ReturnType<typeof useGetDirectoryHook>>>, TError = ErrorType<GetDirectory403 | GetDirectory404>>(directoryId: string, options?: {
1791
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDirectoryHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDirectoryHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDirectoryHook>>>>, "initialData">;
1792
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1793
+ queryKey: DataTag<QueryKey, TData, TError>;
1794
+ };
1795
+ declare function useGetDirectory<TData = Awaited<ReturnType<ReturnType<typeof useGetDirectoryHook>>>, TError = ErrorType<GetDirectory403 | GetDirectory404>>(directoryId: string, options?: {
1796
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDirectoryHook>>>, TError, TData>>;
1797
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1798
+ queryKey: DataTag<QueryKey, TData, TError>;
1799
+ };
1800
+ /**
1801
+ * Returns the widget settings for the current environment, including enabled authentication methods and branding configuration.
1802
+ */
1837
1803
  declare const useSettingsHook: () => (signal?: AbortSignal) => Promise<SettingsResponse>;
1838
1804
  declare const getSettingsQueryKey: () => readonly ["/_widgets/settings"];
1839
1805
  declare const useSettingsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options?: {
@@ -1859,4 +1825,4 @@ declare function useSettings<TData = Awaited<ReturnType<ReturnType<typeof useSet
1859
1825
  queryKey: DataTag<QueryKey, TData, TError>;
1860
1826
  };
1861
1827
 
1862
- 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 CreateOrganizationApiKeyMutationBody, type CreateOrganizationApiKeyMutationError, type CreateOrganizationApiKeyMutationResult, type CreateOrganizationApiKeyRequest, type CreateOrganizationApiKeyResponse, type CreatePassword201, type CreatePassword400, type CreatePassword403, type CreatePasswordMutationBody, 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 InviteMemberInput, type InviteMemberInputFirstName, type InviteMemberInputLastName, type InviteMemberMutationBody, 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 RevokeAllSessionsMutationBody, 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 UpdateMeInput, type UpdateMeMutationBody, type UpdateMeMutationError, type UpdateMeMutationResult, type UpdateMember200, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMember422, type UpdateMemberInput, type UpdateMemberMutationBody, type UpdateMemberMutationError, type UpdateMemberMutationResult, type UpdatePassword201, type UpdatePassword400, type UpdatePassword403, type UpdatePasswordMutationBody, type UpdatePasswordMutationError, type UpdatePasswordMutationResult, type UpdatePasswordRequest, type Verify400, type Verify403, type VerifyMutationBody, type VerifyMutationError, type VerifyMutationResult, type VerifyPasskey200, type VerifyPasskey400, type VerifyPasskey403, type VerifyPasskeyMutationBody, type VerifyPasskeyMutationError, type VerifyPasskeyMutationResult, type VerifyPasskeyRequest, type VerifyPasskeyRequestResponse, type VerifyRequest, type VerifyResponse, type VerifyTotpFactor200, type VerifyTotpFactor400, type VerifyTotpFactor403, type VerifyTotpFactorMutationBody, type VerifyTotpFactorMutationError, type VerifyTotpFactorMutationResult, type VerifyTotpFactorRequest, type X509CertificateJSON, type X509CertificateJSONLastExpiryEventSentAt, type X509CertificateJSONNotAfter, type X509CertificateJSONNotBefore, getAuthenticationInformationQueryKey, getGetDataInstallationAuthorizationStatusQueryKey, getGetDataIntegrationAuthorizeUrlQueryKey, getListDirectoriesQueryKey, getListOrganizationApiKeyPermissionsQueryKey, getListOrganizationApiKeysQueryKey, getListOrganizationDomainsQueryKey, getListSsoConnectionsQueryKey, getMeQueryKey, getMembersQueryKey, getMyDataIntegrationsQueryKey, getOrganizationsQueryKey, getRolesAndConfigQueryKey, getRolesQueryKey, getSessionsQueryKey, getSettingsQueryKey, useAuthenticationInformation, useAuthenticationInformationHook, useAuthenticationInformationQueryOptions, useCreateOrganizationApiKey, useCreateOrganizationApiKeyHook, useCreateOrganizationApiKeyMutationOptions, useCreatePassword, useCreatePasswordHook, useCreatePasswordMutationOptions, useCreateTotpFactor, useCreateTotpFactorHook, useCreateTotpFactorMutationOptions, useDeleteDataInstallation, useDeleteDataInstallationHook, useDeleteDataInstallationMutationOptions, useDeleteOrganizationApiKey, useDeleteOrganizationApiKeyHook, useDeleteOrganizationApiKeyMutationOptions, useDeleteOrganizationDomain, useDeleteOrganizationDomainHook, useDeleteOrganizationDomainMutationOptions, useDeletePasskey, useDeletePasskeyHook, useDeletePasskeyMutationOptions, useDeleteTotpFactors, useDeleteTotpFactorsHook, useDeleteTotpFactorsMutationOptions, useGenerateAdminPortalLink, useGenerateAdminPortalLinkHook, useGenerateAdminPortalLinkMutationOptions, useGetDataInstallationAuthorizationStatus, useGetDataInstallationAuthorizationStatusHook, useGetDataInstallationAuthorizationStatusQueryOptions, useGetDataIntegrationAuthorizeUrl, useGetDataIntegrationAuthorizeUrlHook, useGetDataIntegrationAuthorizeUrlQueryOptions, useInviteMember, useInviteMemberHook, useInviteMemberMutationOptions, useListDirectories, useListDirectoriesHook, useListDirectoriesQueryOptions, useListOrganizationApiKeyPermissions, useListOrganizationApiKeyPermissionsHook, useListOrganizationApiKeyPermissionsQueryOptions, useListOrganizationApiKeys, useListOrganizationApiKeysHook, useListOrganizationApiKeysQueryOptions, useListOrganizationDomains, useListOrganizationDomainsHook, useListOrganizationDomainsQueryOptions, useListSsoConnections, useListSsoConnectionsHook, useListSsoConnectionsQueryOptions, useMe, useMeHook, useMeQueryOptions, useMembers, useMembersHook, useMembersQueryOptions, useMyDataIntegrations, useMyDataIntegrationsHook, useMyDataIntegrationsQueryOptions, useOrganizations, useOrganizationsHook, useOrganizationsQueryOptions, useRegisterPasskey, useRegisterPasskeyHook, useRegisterPasskeyMutationOptions, useRemoveMember, useRemoveMemberHook, useRemoveMemberMutationOptions, useResendInvite, useResendInviteHook, useResendInviteMutationOptions, useReverifyOrganizationDomain, useReverifyOrganizationDomainHook, useReverifyOrganizationDomainMutationOptions, useRevokeAllSessions, useRevokeAllSessionsHook, useRevokeAllSessionsMutationOptions, useRevokeInvite, useRevokeInviteHook, useRevokeInviteMutationOptions, useRevokeSession, useRevokeSessionHook, useRevokeSessionMutationOptions, useRoles, useRolesAndConfig, useRolesAndConfigHook, useRolesAndConfigQueryOptions, useRolesHook, useRolesQueryOptions, useSendVerification, useSendVerificationHook, useSendVerificationMutationOptions, useSessions, useSessionsHook, useSessionsQueryOptions, useSettings, useSettingsHook, useSettingsQueryOptions, useUpdateMe, useUpdateMeHook, useUpdateMeMutationOptions, useUpdateMember, useUpdateMemberHook, useUpdateMemberMutationOptions, useUpdatePassword, useUpdatePasswordHook, useUpdatePasswordMutationOptions, useVerify, useVerifyHook, useVerifyMutationOptions, useVerifyPasskey, useVerifyPasskeyHook, useVerifyPasskeyMutationOptions, useVerifyTotpFactor, useVerifyTotpFactorHook, useVerifyTotpFactorMutationOptions };
1828
+ export { type ActiveSession, type ActiveSessionCurrentLocation, type ActiveSessionState, type ActiveSessionsResponse, type AuditLogStreamJSON, type AuditLogStreamState, type AuditLogStreamType, type AuthenticationInformation403, type AuthenticationInformationQueryError, 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 CreateOrganizationApiKeyMutationBody, type CreateOrganizationApiKeyMutationError, type CreateOrganizationApiKeyMutationResult, type CreateOrganizationApiKeyRequest, type CreateOrganizationApiKeyResponse, type CreatePassword201, type CreatePassword400, type CreatePassword403, type CreatePasswordMutationBody, type CreatePasswordMutationError, type CreatePasswordMutationResult, type CreatePasswordRequest, type CreateTotpFactor400, type CreateTotpFactor403, type CreateTotpFactorMutationError, type CreateTotpFactorMutationResult, type CreateTotpFactorResponse, type CreateTotpFactorResponseAuthenticationChallenge, type CreateTotpFactorResponseAuthenticationFactor, type DataInstallation, type DataIntegration, 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 GetAuditLogStream200, type GetAuditLogStream403, type GetAuditLogStreamQueryError, type GetAuditLogStreamQueryResult, 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 GetDirectory403, type GetDirectory404, type GetDirectoryQueryError, type GetDirectoryQueryResult, type InviteMember201, type InviteMember400, type InviteMember403, type InviteMember404, type InviteMemberInput, type InviteMemberMutationBody, type InviteMemberMutationError, type InviteMemberMutationResult, type ListDirectories403, type ListDirectories404, type ListDirectoriesQueryError, type ListDirectoriesQueryResult, type ListMetadata, type ListOrganizationApiKeyPermission, 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 ListOrganizationApiKeysResponseListMetadata, type ListOrganizationDomains200, type ListOrganizationDomains403, type ListOrganizationDomains404, type ListOrganizationDomainsQueryError, type ListOrganizationDomainsQueryResult, type ListSsoConnectionsQueryError, type ListSsoConnectionsQueryResult, type Me, type Me403, type MeOauthProfiles, type MeQueryError, type MeQueryResult, type Member, type MemberActions, MemberActionsItem, type MemberRole, type MemberRoles, MemberStatus, type Members200, type Members403, type Members404, type MembersParams, type MembersQueryError, type MembersQueryResult, type MyDataIntegrations403, type MyDataIntegrationsQueryError, type MyDataIntegrationsQueryResult, type OAuthProfile, OidcSessionState, type OrganizationDomain, OrganizationDomainState, type OrganizationInfo, 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 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 RevokeAllSessionsMutationBody, 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, type Sessions403, type SessionsQueryError, type SessionsQueryResult, type Settings403, type SettingsQueryError, type SettingsQueryResult, type SettingsResponse, type SsoConnection, type SsoConnectionSessionJSON, SsoConnectionSessionJSONState, type UpdateMe400, type UpdateMe403, type UpdateMeInput, type UpdateMeMutationBody, type UpdateMeMutationError, type UpdateMeMutationResult, type UpdateMember200, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMember422, type UpdateMemberInput, type UpdateMemberMutationBody, type UpdateMemberMutationError, type UpdateMemberMutationResult, type UpdatePassword201, type UpdatePassword400, type UpdatePassword403, type UpdatePasswordMutationBody, type UpdatePasswordMutationError, type UpdatePasswordMutationResult, type UpdatePasswordRequest, type Verify400, type Verify403, type VerifyMutationBody, type VerifyMutationError, type VerifyMutationResult, type VerifyPasskey200, type VerifyPasskey400, type VerifyPasskey403, type VerifyPasskeyMutationBody, type VerifyPasskeyMutationError, type VerifyPasskeyMutationResult, type VerifyPasskeyRequest, type VerifyPasskeyRequestResponse, type VerifyRequest, type VerifyResponse, type VerifyTotpFactor200, type VerifyTotpFactor400, type VerifyTotpFactor403, type VerifyTotpFactorMutationBody, type VerifyTotpFactorMutationError, type VerifyTotpFactorMutationResult, type VerifyTotpFactorRequest, type X509CertificateJSON, getAuthenticationInformationQueryKey, getGetAuditLogStreamQueryKey, getGetDataInstallationAuthorizationStatusQueryKey, getGetDataIntegrationAuthorizeUrlQueryKey, getGetDirectoryQueryKey, getListDirectoriesQueryKey, getListOrganizationApiKeyPermissionsQueryKey, getListOrganizationApiKeysQueryKey, getListOrganizationDomainsQueryKey, getListSsoConnectionsQueryKey, getMeQueryKey, getMembersQueryKey, getMyDataIntegrationsQueryKey, getOrganizationsQueryKey, getRolesAndConfigQueryKey, getRolesQueryKey, getSessionsQueryKey, getSettingsQueryKey, useAuthenticationInformation, useAuthenticationInformationHook, useAuthenticationInformationQueryOptions, useCreateOrganizationApiKey, useCreateOrganizationApiKeyHook, useCreateOrganizationApiKeyMutationOptions, useCreatePassword, useCreatePasswordHook, useCreatePasswordMutationOptions, useCreateTotpFactor, useCreateTotpFactorHook, useCreateTotpFactorMutationOptions, useDeleteDataInstallation, useDeleteDataInstallationHook, useDeleteDataInstallationMutationOptions, useDeleteOrganizationApiKey, useDeleteOrganizationApiKeyHook, useDeleteOrganizationApiKeyMutationOptions, useDeleteOrganizationDomain, useDeleteOrganizationDomainHook, useDeleteOrganizationDomainMutationOptions, useDeletePasskey, useDeletePasskeyHook, useDeletePasskeyMutationOptions, useDeleteTotpFactors, useDeleteTotpFactorsHook, useDeleteTotpFactorsMutationOptions, useGenerateAdminPortalLink, useGenerateAdminPortalLinkHook, useGenerateAdminPortalLinkMutationOptions, useGetAuditLogStream, useGetAuditLogStreamHook, useGetAuditLogStreamQueryOptions, useGetDataInstallationAuthorizationStatus, useGetDataInstallationAuthorizationStatusHook, useGetDataInstallationAuthorizationStatusQueryOptions, useGetDataIntegrationAuthorizeUrl, useGetDataIntegrationAuthorizeUrlHook, useGetDataIntegrationAuthorizeUrlQueryOptions, useGetDirectory, useGetDirectoryHook, useGetDirectoryQueryOptions, useInviteMember, useInviteMemberHook, useInviteMemberMutationOptions, useListDirectories, useListDirectoriesHook, useListDirectoriesQueryOptions, useListOrganizationApiKeyPermissions, useListOrganizationApiKeyPermissionsHook, useListOrganizationApiKeyPermissionsQueryOptions, useListOrganizationApiKeys, useListOrganizationApiKeysHook, useListOrganizationApiKeysQueryOptions, useListOrganizationDomains, useListOrganizationDomainsHook, useListOrganizationDomainsQueryOptions, useListSsoConnections, useListSsoConnectionsHook, useListSsoConnectionsQueryOptions, useMe, useMeHook, useMeQueryOptions, useMembers, useMembersHook, useMembersQueryOptions, useMyDataIntegrations, useMyDataIntegrationsHook, useMyDataIntegrationsQueryOptions, useOrganizations, useOrganizationsHook, useOrganizationsQueryOptions, useRegisterPasskey, useRegisterPasskeyHook, useRegisterPasskeyMutationOptions, useRemoveMember, useRemoveMemberHook, useRemoveMemberMutationOptions, useResendInvite, useResendInviteHook, useResendInviteMutationOptions, useReverifyOrganizationDomain, useReverifyOrganizationDomainHook, useReverifyOrganizationDomainMutationOptions, useRevokeAllSessions, useRevokeAllSessionsHook, useRevokeAllSessionsMutationOptions, useRevokeInvite, useRevokeInviteHook, useRevokeInviteMutationOptions, useRevokeSession, useRevokeSessionHook, useRevokeSessionMutationOptions, useRoles, useRolesAndConfig, useRolesAndConfigHook, useRolesAndConfigQueryOptions, useRolesHook, useRolesQueryOptions, useSendVerification, useSendVerificationHook, useSendVerificationMutationOptions, useSessions, useSessionsHook, useSessionsQueryOptions, useSettings, useSettingsHook, useSettingsQueryOptions, useUpdateMe, useUpdateMeHook, useUpdateMeMutationOptions, useUpdateMember, useUpdateMemberHook, useUpdateMemberMutationOptions, useUpdatePassword, useUpdatePasswordHook, useUpdatePasswordMutationOptions, useVerify, useVerifyHook, useVerifyMutationOptions, useVerifyPasskey, useVerifyPasskeyHook, useVerifyPasskeyMutationOptions, useVerifyTotpFactor, useVerifyTotpFactorHook, useVerifyTotpFactorMutationOptions };