@workos-inc/widgets 1.8.2 → 1.9.1

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 (113) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cjs/admin-portal-domain-verification.client.cjs.map +1 -1
  3. package/dist/cjs/admin-portal-sso-connection.client.cjs +4 -7
  4. package/dist/cjs/admin-portal-sso-connection.client.cjs.map +1 -1
  5. package/dist/cjs/api/api-provider.cjs.map +1 -1
  6. package/dist/cjs/api/api-provider.d.cts +1 -1
  7. package/dist/cjs/api/endpoint.cjs +741 -771
  8. package/dist/cjs/api/endpoint.cjs.map +1 -1
  9. package/dist/cjs/api/endpoint.d.cts +860 -813
  10. package/dist/cjs/directory-sync.client.cjs +156 -0
  11. package/dist/cjs/directory-sync.client.cjs.map +1 -0
  12. package/dist/cjs/directory-sync.client.d.cts +26 -0
  13. package/dist/cjs/experimental/api/fetch.cjs +327 -411
  14. package/dist/cjs/experimental/api/fetch.cjs.map +1 -1
  15. package/dist/cjs/experimental/api/fetch.d.cts +832 -798
  16. package/dist/cjs/experimental/api/react-query.cjs +747 -777
  17. package/dist/cjs/experimental/api/react-query.cjs.map +1 -1
  18. package/dist/cjs/experimental/api/react-query.d.cts +1378 -1263
  19. package/dist/cjs/experimental/api/swr.cjs +720 -742
  20. package/dist/cjs/experimental/api/swr.cjs.map +1 -1
  21. package/dist/cjs/experimental/api/swr.d.cts +1218 -1175
  22. package/dist/cjs/index.cjs +5 -0
  23. package/dist/cjs/index.cjs.map +1 -1
  24. package/dist/cjs/index.d.cts +2 -0
  25. package/dist/cjs/lib/add-mfa-dialog.cjs +18 -16
  26. package/dist/cjs/lib/add-mfa-dialog.cjs.map +1 -1
  27. package/dist/cjs/lib/admin-portal-sso-connection.cjs +0 -8
  28. package/dist/cjs/lib/admin-portal-sso-connection.cjs.map +1 -1
  29. package/dist/cjs/lib/admin-portal-sso-connection.d.cts +1 -2
  30. package/dist/cjs/lib/api-keys/api-keys-context.cjs +1 -1
  31. package/dist/cjs/lib/api-keys/api-keys-context.cjs.map +1 -1
  32. package/dist/cjs/lib/api-keys/api-keys-table.cjs +7 -5
  33. package/dist/cjs/lib/api-keys/api-keys-table.cjs.map +1 -1
  34. package/dist/cjs/lib/directory-sync.cjs +288 -0
  35. package/dist/cjs/lib/directory-sync.cjs.map +1 -0
  36. package/dist/cjs/lib/directory-sync.d.cts +72 -0
  37. package/dist/cjs/lib/identity-providers.cjs +57 -1
  38. package/dist/cjs/lib/identity-providers.cjs.map +1 -1
  39. package/dist/cjs/lib/identity-providers.d.cts +5 -3
  40. package/dist/cjs/lib/pipes.cjs +9 -9
  41. package/dist/cjs/lib/pipes.cjs.map +1 -1
  42. package/dist/cjs/lib/provider-icon.cjs.map +1 -1
  43. package/dist/cjs/lib/provider-icon.d.cts +2 -2
  44. package/dist/cjs/lib/reset-mfa-dialog.cjs +2 -1
  45. package/dist/cjs/lib/reset-mfa-dialog.cjs.map +1 -1
  46. package/dist/cjs/lib/use-permissions.cjs.map +1 -1
  47. package/dist/cjs/lib/use-permissions.d.cts +1 -1
  48. package/dist/cjs/lib/users-management-context.cjs +1 -1
  49. package/dist/cjs/lib/users-management-context.cjs.map +1 -1
  50. package/dist/cjs/lib/users-management.cjs +3 -3
  51. package/dist/cjs/lib/users-management.cjs.map +1 -1
  52. package/dist/cjs/lib/utils.cjs +9 -0
  53. package/dist/cjs/lib/utils.cjs.map +1 -1
  54. package/dist/cjs/lib/utils.d.cts +16 -2
  55. package/dist/cjs/workos-widgets.client.cjs +13 -1
  56. package/dist/cjs/workos-widgets.client.cjs.map +1 -1
  57. package/dist/esm/admin-portal-domain-verification.client.js +2 -2
  58. package/dist/esm/admin-portal-domain-verification.client.js.map +1 -1
  59. package/dist/esm/admin-portal-sso-connection.client.js +6 -9
  60. package/dist/esm/admin-portal-sso-connection.client.js.map +1 -1
  61. package/dist/esm/api/api-provider.d.ts +1 -1
  62. package/dist/esm/api/api-provider.js.map +1 -1
  63. package/dist/esm/api/endpoint.d.ts +860 -813
  64. package/dist/esm/api/endpoint.js +727 -751
  65. package/dist/esm/api/endpoint.js.map +1 -1
  66. package/dist/esm/directory-sync.client.d.ts +26 -0
  67. package/dist/esm/directory-sync.client.js +134 -0
  68. package/dist/esm/directory-sync.client.js.map +1 -0
  69. package/dist/esm/experimental/api/fetch.d.ts +832 -798
  70. package/dist/esm/experimental/api/fetch.js +319 -391
  71. package/dist/esm/experimental/api/fetch.js.map +1 -1
  72. package/dist/esm/experimental/api/react-query.d.ts +1378 -1263
  73. package/dist/esm/experimental/api/react-query.js +730 -757
  74. package/dist/esm/experimental/api/react-query.js.map +1 -1
  75. package/dist/esm/experimental/api/swr.d.ts +1218 -1175
  76. package/dist/esm/experimental/api/swr.js +706 -722
  77. package/dist/esm/experimental/api/swr.js.map +1 -1
  78. package/dist/esm/index.d.ts +2 -0
  79. package/dist/esm/index.js +6 -0
  80. package/dist/esm/index.js.map +1 -1
  81. package/dist/esm/lib/add-mfa-dialog.js +18 -16
  82. package/dist/esm/lib/add-mfa-dialog.js.map +1 -1
  83. package/dist/esm/lib/admin-portal-sso-connection.d.ts +1 -2
  84. package/dist/esm/lib/admin-portal-sso-connection.js +0 -8
  85. package/dist/esm/lib/admin-portal-sso-connection.js.map +1 -1
  86. package/dist/esm/lib/api-keys/api-keys-context.js +1 -1
  87. package/dist/esm/lib/api-keys/api-keys-context.js.map +1 -1
  88. package/dist/esm/lib/api-keys/api-keys-table.js +7 -5
  89. package/dist/esm/lib/api-keys/api-keys-table.js.map +1 -1
  90. package/dist/esm/lib/directory-sync.d.ts +72 -0
  91. package/dist/esm/lib/directory-sync.js +259 -0
  92. package/dist/esm/lib/directory-sync.js.map +1 -0
  93. package/dist/esm/lib/identity-providers.d.ts +5 -3
  94. package/dist/esm/lib/identity-providers.js +55 -1
  95. package/dist/esm/lib/identity-providers.js.map +1 -1
  96. package/dist/esm/lib/pipes.js +9 -10
  97. package/dist/esm/lib/pipes.js.map +1 -1
  98. package/dist/esm/lib/provider-icon.d.ts +2 -2
  99. package/dist/esm/lib/provider-icon.js.map +1 -1
  100. package/dist/esm/lib/reset-mfa-dialog.js +2 -1
  101. package/dist/esm/lib/reset-mfa-dialog.js.map +1 -1
  102. package/dist/esm/lib/use-permissions.d.ts +1 -1
  103. package/dist/esm/lib/use-permissions.js.map +1 -1
  104. package/dist/esm/lib/users-management-context.js +1 -1
  105. package/dist/esm/lib/users-management-context.js.map +1 -1
  106. package/dist/esm/lib/users-management.js +5 -4
  107. package/dist/esm/lib/users-management.js.map +1 -1
  108. package/dist/esm/lib/utils.d.ts +16 -2
  109. package/dist/esm/lib/utils.js +8 -0
  110. package/dist/esm/lib/utils.js.map +1 -1
  111. package/dist/esm/workos-widgets.client.js +13 -1
  112. package/dist/esm/workos-widgets.client.js.map +1 -1
  113. package/package.json +2 -2
@@ -1,6 +1,7 @@
1
- import { UseQueryOptions, DataTag, QueryKey, DefinedInitialDataOptions, QueryClient, DefinedUseQueryResult, UndefinedInitialDataOptions, UseQueryResult, UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
2
- import { ErrorType, BodyType } from './widgets-api-client.js';
1
+ import { UseMutationOptions, QueryClient, UseMutationResult, UseQueryOptions, DataTag, QueryKey, DefinedInitialDataOptions, DefinedUseQueryResult, UndefinedInitialDataOptions, UseQueryResult } from '@tanstack/react-query';
2
+ import { BodyType, ErrorType } from './widgets-api-client.js';
3
3
 
4
+ type MemberStatus = (typeof MemberStatus)[keyof typeof MemberStatus];
4
5
  declare const MemberStatus: {
5
6
  readonly Active: "Active";
6
7
  readonly Invited: "Invited";
@@ -8,20 +9,20 @@ declare const MemberStatus: {
8
9
  readonly InviteRevoked: "InviteRevoked";
9
10
  readonly NoInvite: "NoInvite";
10
11
  };
11
- type MemberStatus = (typeof MemberStatus)[keyof typeof MemberStatus];
12
+ type MemberActionsItem = (typeof MemberActionsItem)[keyof typeof MemberActionsItem];
12
13
  declare const MemberActionsItem: {
13
14
  readonly "edit-role": "edit-role";
14
15
  readonly "resend-invite": "resend-invite";
15
16
  readonly "revoke-invite": "revoke-invite";
16
17
  readonly "revoke-membership": "revoke-membership";
17
18
  };
18
- type MemberActions = (typeof MemberActionsItem)[keyof typeof MemberActionsItem][];
19
- type MemberRolesItem = {
19
+ type MemberActions = MemberActionsItem[];
20
+ type MemberRoles = {
20
21
  name: string;
21
22
  slug: string;
22
23
  /** @nullable */
23
24
  description?: string | null;
24
- };
25
+ }[] | null;
25
26
  interface Member {
26
27
  id: string;
27
28
  email: string;
@@ -32,21 +33,26 @@ interface Member {
32
33
  firstName?: string | null;
33
34
  /** @nullable */
34
35
  lastName?: string | null;
36
+ /** An ISO 8601 timestamp. */
35
37
  createdAt: string;
36
38
  /** @nullable */
37
39
  lastActivityAt?: string | null;
38
40
  status: MemberStatus;
39
41
  actions: MemberActions;
40
- /** @nullable */
41
- isLoggedInUser?: boolean | null;
42
- /** @nullable */
43
- roles?: MemberRolesItem[] | null;
42
+ isLoggedInUser?: true | null;
43
+ roles?: MemberRoles;
44
44
  }
45
45
  interface ListMetadata {
46
- /** @nullable */
47
- before?: string | null;
48
- /** @nullable */
49
- after?: string | null;
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;
50
56
  }
51
57
  interface MemberRole {
52
58
  name: string;
@@ -82,9 +88,6 @@ interface OAuthProfile {
82
88
  /** @nullable */
83
89
  lastLoginAt?: string | null;
84
90
  }
85
- /**
86
- * @nullable
87
- */
88
91
  type MeOauthProfiles = {
89
92
  AppleOAuth?: OAuthProfile;
90
93
  GithubOAuth?: OAuthProfile;
@@ -102,77 +105,43 @@ interface Me {
102
105
  locale?: string | null;
103
106
  /** @nullable */
104
107
  profilePictureUrl?: string | null;
105
- /** @nullable */
106
108
  oauthProfiles?: MeOauthProfiles;
107
109
  }
108
- type CreateTotpFactorResponseAuthenticationFactorAllOfObject = (typeof CreateTotpFactorResponseAuthenticationFactorAllOfObject)[keyof typeof CreateTotpFactorResponseAuthenticationFactorAllOfObject];
109
- declare const CreateTotpFactorResponseAuthenticationFactorAllOfObject: {
110
- readonly authentication_factor: "authentication_factor";
111
- };
112
- type CreateTotpFactorResponseAuthenticationFactorAllOfType = (typeof CreateTotpFactorResponseAuthenticationFactorAllOfType)[keyof typeof CreateTotpFactorResponseAuthenticationFactorAllOfType];
113
- declare const CreateTotpFactorResponseAuthenticationFactorAllOfType: {
114
- readonly generic_otp: "generic_otp";
115
- readonly sms: "sms";
116
- readonly totp: "totp";
117
- readonly webauthn: "webauthn";
118
- };
119
- /**
120
- * @nullable
121
- */
122
- type CreateTotpFactorResponseAuthenticationFactorAllOfSms = {
123
- phone_number: string;
124
- } | null;
125
- /**
126
- * @nullable
127
- */
128
- type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf = {
129
- issuer: string;
130
- user: string;
131
- secret: string;
132
- qr_code: string;
133
- uri: string;
134
- } | null;
135
- /**
136
- * @nullable
137
- */
138
- type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo = {
139
- issuer: string;
140
- user: string;
141
- } | null;
142
- type CreateTotpFactorResponseAuthenticationFactorAllOfTotp = CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf | CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo;
143
- type CreateTotpFactorResponseAuthenticationFactorAllOf = {
144
- object: CreateTotpFactorResponseAuthenticationFactorAllOfObject;
110
+ type CreateTotpFactorResponseAuthenticationFactor = {
111
+ object: "authentication_factor";
145
112
  id: string;
146
- type: CreateTotpFactorResponseAuthenticationFactorAllOfType;
113
+ type: "generic_otp" | "sms" | "totp" | "webauthn";
147
114
  /** @nullable */
148
115
  user_id?: string | null;
149
- /** @nullable */
150
- sms?: CreateTotpFactorResponseAuthenticationFactorAllOfSms;
151
- totp?: CreateTotpFactorResponseAuthenticationFactorAllOfTotp;
152
- };
153
- type CreateTotpFactorResponseAuthenticationFactorAllOfEight = {
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
+ } & {
154
130
  created_at: string;
155
131
  updated_at: string;
156
132
  };
157
- type CreateTotpFactorResponseAuthenticationFactor = CreateTotpFactorResponseAuthenticationFactorAllOf & CreateTotpFactorResponseAuthenticationFactorAllOfEight;
158
- type CreateTotpFactorResponseAuthenticationChallengeAllOfObject = (typeof CreateTotpFactorResponseAuthenticationChallengeAllOfObject)[keyof typeof CreateTotpFactorResponseAuthenticationChallengeAllOfObject];
159
- declare const CreateTotpFactorResponseAuthenticationChallengeAllOfObject: {
160
- readonly authentication_challenge: "authentication_challenge";
161
- };
162
- type CreateTotpFactorResponseAuthenticationChallengeAllOf = {
163
- object: CreateTotpFactorResponseAuthenticationChallengeAllOfObject;
133
+ type CreateTotpFactorResponseAuthenticationChallenge = {
134
+ object: "authentication_challenge";
164
135
  id: string;
165
136
  /** @nullable */
166
137
  expires_at?: string | null;
167
138
  /** @nullable */
168
139
  code?: string | null;
169
140
  authentication_factor_id: string;
170
- };
171
- type CreateTotpFactorResponseAuthenticationChallengeAllOfThree = {
141
+ } & {
172
142
  created_at: string;
173
143
  updated_at: string;
174
144
  };
175
- type CreateTotpFactorResponseAuthenticationChallenge = CreateTotpFactorResponseAuthenticationChallengeAllOf & CreateTotpFactorResponseAuthenticationChallengeAllOfThree;
176
145
  interface CreateTotpFactorResponse {
177
146
  authenticationFactor: CreateTotpFactorResponseAuthenticationFactor;
178
147
  authenticationChallenge: CreateTotpFactorResponseAuthenticationChallenge;
@@ -181,57 +150,32 @@ interface VerifyTotpFactorRequest {
181
150
  code: string;
182
151
  authenticationChallengeId: string;
183
152
  }
184
- type AuthenticationInformationResponseDataVerificationMethodsMfaProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsMfaProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsMfaProvider];
185
- declare const AuthenticationInformationResponseDataVerificationMethodsMfaProvider: {
186
- readonly MFA: "MFA";
187
- };
188
- /**
189
- * @nullable
190
- */
191
153
  type AuthenticationInformationResponseDataVerificationMethodsMfa = {
192
- provider: AuthenticationInformationResponseDataVerificationMethodsMfaProvider;
154
+ provider: "MFA";
193
155
  isSetUp: boolean;
194
156
  /** @nullable */
195
157
  lastUsed?: string | null;
196
158
  } | null;
197
- type AuthenticationInformationResponseDataVerificationMethodsPasswordProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsPasswordProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsPasswordProvider];
198
- declare const AuthenticationInformationResponseDataVerificationMethodsPasswordProvider: {
199
- readonly Password: "Password";
200
- };
201
- /**
202
- * @nullable
203
- */
204
159
  type AuthenticationInformationResponseDataVerificationMethodsPassword = {
205
- provider: AuthenticationInformationResponseDataVerificationMethodsPasswordProvider;
160
+ provider: "Password";
206
161
  isSetUp: boolean;
207
162
  /** @nullable */
208
163
  lastUsed?: string | null;
209
164
  isCurrentSession: boolean;
210
165
  } | null;
211
- type AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider];
212
- declare const AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider: {
213
- readonly Passkey: "Passkey";
214
- };
215
- type AuthenticationInformationResponseDataVerificationMethodsPasskeyPassKeysItem = {
216
- id: string;
217
- };
218
- /**
219
- * @nullable
220
- */
221
166
  type AuthenticationInformationResponseDataVerificationMethodsPasskey = {
222
- provider: AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider;
167
+ provider: "Passkey";
223
168
  isSetUp: boolean;
224
169
  /** @nullable */
225
170
  lastUsed?: string | null;
226
- passKeys: AuthenticationInformationResponseDataVerificationMethodsPasskeyPassKeysItem[];
171
+ passKeys: {
172
+ id: string;
173
+ }[];
227
174
  isCurrentSession: boolean;
228
175
  } | null;
229
176
  type AuthenticationInformationResponseDataVerificationMethods = {
230
- /** @nullable */
231
177
  Mfa?: AuthenticationInformationResponseDataVerificationMethodsMfa;
232
- /** @nullable */
233
178
  Password?: AuthenticationInformationResponseDataVerificationMethodsPassword;
234
- /** @nullable */
235
179
  Passkey?: AuthenticationInformationResponseDataVerificationMethodsPasskey;
236
180
  };
237
181
  type AuthenticationInformationResponseDataPasswordSettings = {
@@ -264,9 +208,6 @@ type ActiveSessionState = {
264
208
  /** @nullable */
265
209
  expiresAt?: string | null;
266
210
  };
267
- /**
268
- * @nullable
269
- */
270
211
  type ActiveSessionCurrentLocation = {
271
212
  cityName: string;
272
213
  countryISOCode: string;
@@ -281,7 +222,6 @@ interface ActiveSession {
281
222
  /** @nullable */
282
223
  organizationId?: string | null;
283
224
  state: ActiveSessionState;
284
- /** @nullable */
285
225
  currentLocation?: ActiveSessionCurrentLocation;
286
226
  usedSsoAuth: boolean;
287
227
  usedPasswordAuth: boolean;
@@ -311,13 +251,9 @@ interface ActiveSession {
311
251
  interface ActiveSessionsResponse {
312
252
  data: ActiveSession[];
313
253
  }
314
- type SendVerificationResponseType = (typeof SendVerificationResponseType)[keyof typeof SendVerificationResponseType];
315
- declare const SendVerificationResponseType: {
316
- readonly EmailVerification: "EmailVerification";
317
- };
318
254
  interface SendVerificationResponse {
319
255
  authenticationChallenge: string;
320
- type: SendVerificationResponseType;
256
+ type: "EmailVerification";
321
257
  }
322
258
  interface VerifyRequest {
323
259
  code: string;
@@ -341,12 +277,8 @@ interface VerifyPasskeyRequest {
341
277
  challengeId: string;
342
278
  response: VerifyPasskeyRequestResponse;
343
279
  }
344
- type SettingsResponseObject = (typeof SettingsResponseObject)[keyof typeof SettingsResponseObject];
345
- declare const SettingsResponseObject: {
346
- readonly settings: "settings";
347
- };
348
280
  interface SettingsResponse {
349
- object: SettingsResponseObject;
281
+ object: "settings";
350
282
  authkitOrigin: string;
351
283
  /** @nullable */
352
284
  logoDarkIconPath?: string | null;
@@ -426,101 +358,45 @@ interface SsoConnectionSessionJSON {
426
358
  createdAt: string;
427
359
  state: (typeof SsoConnectionSessionJSONState)[keyof typeof SsoConnectionSessionJSONState];
428
360
  }
429
- type SsoConnectionAnyOfType = (typeof SsoConnectionAnyOfType)[keyof typeof SsoConnectionAnyOfType];
430
- declare const SsoConnectionAnyOfType: {
431
- readonly AdfsSaml: "AdfsSaml";
432
- readonly Auth0Saml: "Auth0Saml";
433
- readonly AzureSaml: "AzureSaml";
434
- readonly CasSaml: "CasSaml";
435
- readonly ClassLinkSaml: "ClassLinkSaml";
436
- readonly CloudflareSaml: "CloudflareSaml";
437
- readonly CyberArkSaml: "CyberArkSaml";
438
- readonly DuoSaml: "DuoSaml";
439
- readonly GenericSaml: "GenericSaml";
440
- readonly GoogleSaml: "GoogleSaml";
441
- readonly JumpCloudSaml: "JumpCloudSaml";
442
- readonly KeycloakSaml: "KeycloakSaml";
443
- readonly LastPassSaml: "LastPassSaml";
444
- readonly MiniOrangeSaml: "MiniOrangeSaml";
445
- readonly NetIqSaml: "NetIqSaml";
446
- readonly OktaSaml: "OktaSaml";
447
- readonly OneLoginSaml: "OneLoginSaml";
448
- readonly OracleSaml: "OracleSaml";
449
- readonly PingFederateSaml: "PingFederateSaml";
450
- readonly PingOneSaml: "PingOneSaml";
451
- readonly RipplingSaml: "RipplingSaml";
452
- readonly SalesforceSaml: "SalesforceSaml";
453
- readonly ShibbolethGenericSaml: "ShibbolethGenericSaml";
454
- readonly ShibbolethSaml: "ShibbolethSaml";
455
- readonly SimpleSamlPhpSaml: "SimpleSamlPhpSaml";
456
- readonly TestIdp: "TestIdp";
457
- readonly VmWareSaml: "VmWareSaml";
458
- };
459
- type SsoConnectionAnyOfState = (typeof SsoConnectionAnyOfState)[keyof typeof SsoConnectionAnyOfState];
460
- declare const SsoConnectionAnyOfState: {
461
- readonly Inactive: "Inactive";
462
- readonly Validating: "Validating";
463
- readonly Active: "Active";
464
- readonly Deleting: "Deleting";
465
- };
466
- type SsoConnectionAnyOfLatestExpiringCertificate = X509CertificateJSON | null;
467
- type SsoConnectionAnyOfLatestExpiredCertificate = X509CertificateJSON | null;
468
- type SsoConnectionAnyOfProviderTag = (typeof SsoConnectionAnyOfProviderTag)[keyof typeof SsoConnectionAnyOfProviderTag];
469
- declare const SsoConnectionAnyOfProviderTag: {
470
- readonly Saml: "Saml";
471
- };
472
- type SsoConnectionAnyOfLastSession = SsoConnectionSessionJSON | null;
473
- type SsoConnectionAnyOf = {
361
+ type SsoConnection = {
474
362
  id: string;
475
- 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";
476
364
  name: string;
477
- state: SsoConnectionAnyOfState;
365
+ state: "Inactive" | "Validating" | "Active" | "Deleting";
478
366
  x509Certificates: X509CertificateJSON[];
479
- latestExpiringCertificate?: SsoConnectionAnyOfLatestExpiringCertificate;
480
- latestExpiredCertificate?: SsoConnectionAnyOfLatestExpiredCertificate;
367
+ latestExpiringCertificate?: X509CertificateJSON | null;
368
+ latestExpiredCertificate?: X509CertificateJSON | null;
481
369
  createdAt: string;
482
- providerTag: SsoConnectionAnyOfProviderTag;
483
- lastSession?: SsoConnectionAnyOfLastSession;
484
- };
485
- type SsoConnectionAnyOfEightAllOfState = (typeof SsoConnectionAnyOfEightAllOfState)[keyof typeof SsoConnectionAnyOfEightAllOfState];
486
- declare const SsoConnectionAnyOfEightAllOfState: {
487
- readonly Inactive: "Inactive";
488
- readonly Validating: "Validating";
489
- readonly Active: "Active";
490
- readonly Deleting: "Deleting";
491
- };
492
- type SsoConnectionAnyOfEightAllOfType = (typeof SsoConnectionAnyOfEightAllOfType)[keyof typeof SsoConnectionAnyOfEightAllOfType];
493
- declare const SsoConnectionAnyOfEightAllOfType: {
494
- readonly AdpOidc: "AdpOidc";
495
- readonly Auth0Migration: "Auth0Migration";
496
- readonly CleverOidc: "CleverOidc";
497
- readonly EntraIdOidc: "EntraIdOidc";
498
- readonly GenericOidc: "GenericOidc";
499
- readonly GoogleOidc: "GoogleOidc";
500
- readonly OktaOidc: "OktaOidc";
501
- readonly LoginGovOidc: "LoginGovOidc";
502
- };
503
- type SsoConnectionAnyOfEightAllOfProviderTag = (typeof SsoConnectionAnyOfEightAllOfProviderTag)[keyof typeof SsoConnectionAnyOfEightAllOfProviderTag];
504
- declare const SsoConnectionAnyOfEightAllOfProviderTag: {
505
- readonly OpenIdConnect: "OpenIdConnect";
506
- };
507
- type SsoConnectionAnyOfEightAllOfLastSession = SsoConnectionSessionJSON | null;
508
- type SsoConnectionAnyOfEightAllOf = {
370
+ providerTag: "Saml";
371
+ lastSession?: SsoConnectionSessionJSON | null;
372
+ } | ({
509
373
  id: string;
510
374
  name: string;
511
- state: SsoConnectionAnyOfEightAllOfState;
512
- type: SsoConnectionAnyOfEightAllOfType;
375
+ state: "Inactive" | "Validating" | "Active" | "Deleting";
376
+ type: "AdpOidc" | "Auth0Migration" | "CleverOidc" | "EntraIdOidc" | "GenericOidc" | "GoogleOidc" | "OktaOidc" | "LoginGovOidc";
513
377
  createdAt: string;
514
- providerTag: SsoConnectionAnyOfEightAllOfProviderTag;
515
- lastSession?: SsoConnectionAnyOfEightAllOfLastSession;
516
- };
517
- type SsoConnectionAnyOfEightAllOfSix = {
378
+ providerTag: "OpenIdConnect";
379
+ lastSession?: SsoConnectionSessionJSON | null;
380
+ } & {
381
+ /** @nullable */
518
382
  x509Certificates?: null;
383
+ /** @nullable */
519
384
  latestExpiringCertificate?: null;
385
+ /** @nullable */
520
386
  latestExpiredCertificate?: null;
521
- };
522
- type SsoConnectionAnyOfEight = SsoConnectionAnyOfEightAllOf & SsoConnectionAnyOfEightAllOfSix;
523
- type SsoConnection = SsoConnectionAnyOf | SsoConnectionAnyOfEight;
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
+ }
524
400
  interface ListOrganizationApiKeysResponseData {
525
401
  id: string;
526
402
  name: string;
@@ -536,7 +412,7 @@ type ListOrganizationApiKeysResponseListMetadata = {
536
412
  };
537
413
  interface ListOrganizationApiKeysResponse {
538
414
  data: ListOrganizationApiKeysResponseData[];
539
- listMetadata: ListOrganizationApiKeysResponseListMetadata;
415
+ list_metadata: ListOrganizationApiKeysResponseListMetadata;
540
416
  }
541
417
  interface CreateOrganizationApiKeyRequest {
542
418
  name: string;
@@ -563,137 +439,193 @@ type ListOrganizationApiKeyPermissionsResponseListMetadata = {
563
439
  };
564
440
  interface ListOrganizationApiKeyPermissionsResponse {
565
441
  data: ListOrganizationApiKeyPermission[];
566
- listMetadata: ListOrganizationApiKeyPermissionsResponseListMetadata;
442
+ list_metadata: ListOrganizationApiKeyPermissionsResponseListMetadata;
567
443
  }
568
- declare const DataInstallationObject: {
569
- readonly data_installation: "data_installation";
570
- readonly connected_account: "connected_account";
571
- };
572
- declare const DataInstallationState: {
573
- readonly connected: "connected";
574
- readonly needs_reauthorization: "needs_reauthorization";
575
- };
576
- interface DataInstallation {
577
- object: (typeof DataInstallationObject)[keyof typeof DataInstallationObject];
444
+ type DataInstallation = {
445
+ object: "data_installation" | "connected_account";
578
446
  id: string;
447
+ /** @nullable */
448
+ user_id?: string | null;
449
+ /** @nullable */
450
+ organization_id?: string | null;
451
+ scopes: string[];
452
+ state: "connected" | "needs_reauthorization";
453
+ created_at: string;
454
+ updated_at: string;
455
+ } & {
579
456
  /** @nullable */
580
457
  userlandUserId?: string | null;
581
458
  /** @nullable */
582
459
  organizationId?: string | null;
583
- scopes: string[];
584
- state: (typeof DataInstallationState)[keyof typeof DataInstallationState];
585
- createdAt: string;
586
- updatedAt: string;
587
- }
588
- type DataIntegrationObject = (typeof DataIntegrationObject)[keyof typeof DataIntegrationObject];
589
- declare const DataIntegrationObject: {
590
- readonly data_integration: "data_integration";
591
- };
592
- declare const DataIntegrationIntegrationType: {
593
- readonly asana: "asana";
594
- readonly box: "box";
595
- readonly "cal-dot-com": "cal-dot-com";
596
- readonly calendly: "calendly";
597
- readonly confluence: "confluence";
598
- readonly dropbox: "dropbox";
599
- readonly "frame-io": "frame-io";
600
- readonly front: "front";
601
- readonly github: "github";
602
- readonly gitlab: "gitlab";
603
- readonly gmail: "gmail";
604
- readonly google: "google";
605
- readonly "google-calendar": "google-calendar";
606
- readonly "google-drive": "google-drive";
607
- readonly helpscout: "helpscout";
608
- readonly hubspot: "hubspot";
609
- readonly intercom: "intercom";
610
- readonly jira: "jira";
611
- readonly linear: "linear";
612
- readonly microsoft: "microsoft";
613
- readonly "microsoft-onedrive": "microsoft-onedrive";
614
- readonly "microsoft-onenote": "microsoft-onenote";
615
- readonly "microsoft-outlook": "microsoft-outlook";
616
- readonly "microsoft-outlook-calendar": "microsoft-outlook-calendar";
617
- readonly "microsoft-sharepoint": "microsoft-sharepoint";
618
- readonly "microsoft-teams": "microsoft-teams";
619
- readonly "microsoft-todo": "microsoft-todo";
620
- readonly notion: "notion";
621
- readonly prefect: "prefect";
622
- readonly "pydantic-logfire": "pydantic-logfire";
623
- readonly salesforce: "salesforce";
624
- readonly sentry: "sentry";
625
- readonly slack: "slack";
626
- readonly snowflake: "snowflake";
627
- readonly stripe: "stripe";
628
- readonly xero: "xero";
629
- readonly zendesk: "zendesk";
630
- };
631
- declare const DataIntegrationOwnership: {
632
- readonly userland_user: "userland_user";
633
- readonly organization: "organization";
634
- };
635
- declare const DataIntegrationCredentialsType: {
636
- readonly shared: "shared";
637
- readonly custom: "custom";
638
- };
639
- type DataIntegrationInstallation = DataInstallation | null;
460
+ createdAt?: string;
461
+ updatedAt?: string;
462
+ };
640
463
  interface DataIntegration {
641
- object: DataIntegrationObject;
464
+ object: "data_integration";
642
465
  id: string;
643
466
  name: string;
644
467
  /** @nullable */
645
468
  description?: string | null;
646
469
  slug: string;
647
- integrationType: (typeof DataIntegrationIntegrationType)[keyof typeof DataIntegrationIntegrationType];
648
- ownership: (typeof DataIntegrationOwnership)[keyof typeof DataIntegrationOwnership];
649
- credentialsType: (typeof DataIntegrationCredentialsType)[keyof typeof DataIntegrationCredentialsType];
650
- /** @nullable */
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";
651
473
  scopes?: string[] | null;
652
474
  createdAt: string;
653
475
  updatedAt: string;
654
- installation?: DataIntegrationInstallation;
476
+ installation?: DataInstallation | null;
655
477
  }
656
478
  interface DataIntegrationsResponse {
657
479
  data: DataIntegration[];
658
480
  }
659
- type GetDataIntegrationAuthorizeUrlResponseAllOf = {
481
+ type GetDataIntegrationAuthorizeUrlResponse = {
660
482
  url: string;
661
483
  redirectToken: string;
662
- };
663
- type GetDataIntegrationAuthorizeUrlResponseAllOfTwo = {
484
+ } & {
664
485
  handoffToken?: string;
665
486
  };
666
- type GetDataIntegrationAuthorizeUrlResponse = GetDataIntegrationAuthorizeUrlResponseAllOf & GetDataIntegrationAuthorizeUrlResponseAllOfTwo;
667
487
  interface GetAuthorizationStatusResponse {
668
488
  isConnecting: boolean;
669
489
  }
670
- type MembersParams = {
490
+ type DirectoryType = (typeof DirectoryType)[keyof typeof DirectoryType];
491
+ declare const DirectoryType: {
492
+ readonly azure_scim_v20: "azure scim v2.0";
493
+ readonly bamboohr: "bamboohr";
494
+ readonly breathe_hr: "breathe hr";
495
+ readonly cezanne_hr: "cezanne hr";
496
+ readonly cyberark_scim_v20: "cyberark scim v2.0";
497
+ readonly fourth_hr: "fourth hr";
498
+ readonly generic_scim_v20: "generic scim v2.0";
499
+ readonly gsuite_directory: "gsuite directory";
500
+ readonly gusto: "gusto";
501
+ readonly hibob: "hibob";
502
+ readonly jump_cloud_scim_v20: "jump cloud scim v2.0";
503
+ readonly okta_scim_v20: "okta scim v2.0";
504
+ readonly onelogin_scim_v20: "onelogin scim v2.0";
505
+ readonly people_hr: "people hr";
506
+ readonly personio: "personio";
507
+ readonly pingfederate_scim_v20: "pingfederate scim v2.0";
508
+ readonly rippling: "rippling";
509
+ readonly rippling_scim_v20: "rippling scim v2.0";
510
+ readonly s3: "s3";
511
+ readonly sailpoint_scim_v20: "sailpoint scim v2.0";
512
+ readonly sftp: "sftp";
513
+ readonly sftp_workday: "sftp workday";
514
+ readonly workday: "workday";
515
+ };
516
+ type DirectoryState = (typeof DirectoryState)[keyof typeof DirectoryState];
517
+ declare const DirectoryState: {
518
+ readonly requires_type: "requires_type";
519
+ readonly linked: "linked";
520
+ readonly validating: "validating";
521
+ readonly invalid_credentials: "invalid_credentials";
522
+ readonly unlinked: "unlinked";
523
+ readonly deleting: "deleting";
524
+ };
525
+ interface DirectoryUsersMetadata {
526
+ active: number;
527
+ inactive: number;
528
+ }
529
+ interface DirectoryMetadata {
530
+ users: DirectoryUsersMetadata;
531
+ groups: number;
532
+ }
533
+ interface Directory {
534
+ id: string;
535
+ name: string;
536
+ type: DirectoryType;
537
+ state: DirectoryState;
538
+ createdAt: string;
539
+ updatedAt: string;
540
+ /** @nullable */
541
+ lastSyncRunAt?: string | null;
542
+ metadata: DirectoryMetadata;
543
+ }
544
+ interface DirectoriesResponse {
545
+ data: Directory[];
546
+ link: string;
547
+ }
548
+ type CreateOrganizationApiKey400 = {
549
+ message: string;
550
+ };
551
+ type CreateOrganizationApiKey403 = {
552
+ message: string;
553
+ };
554
+ type CreateOrganizationApiKey404 = {
555
+ message: string;
556
+ };
557
+ type CreateOrganizationApiKey422ErrorsItem = {
558
+ code: string;
559
+ field: string;
560
+ };
561
+ type CreateOrganizationApiKey422 = {
562
+ message: string;
563
+ errors: CreateOrganizationApiKey422ErrorsItem[];
564
+ };
565
+ type ListOrganizationApiKeysParams = {
566
+ limit?: number;
567
+ before?: string;
568
+ after?: string;
671
569
  search?: string;
672
- limit?: string;
570
+ };
571
+ type ListOrganizationApiKeys400 = {
572
+ message: string;
573
+ };
574
+ type ListOrganizationApiKeys403 = {
575
+ message: string;
576
+ };
577
+ type ListOrganizationApiKeyPermissionsParams = {
578
+ search?: string;
579
+ limit?: number;
673
580
  before?: string;
674
581
  after?: string;
675
- role?: string;
676
582
  };
677
- type Members200 = {
678
- data: Member[];
679
- listMetadata: ListMetadata;
583
+ type ListOrganizationApiKeyPermissions400 = {
584
+ message: string;
680
585
  };
681
- type Members403 = {
586
+ type ListOrganizationApiKeyPermissions403 = {
682
587
  message: string;
683
588
  };
684
- type Members404 = {
589
+ type DeleteOrganizationApiKey200 = {
590
+ success: boolean;
591
+ };
592
+ type DeleteOrganizationApiKey403 = {
685
593
  message: string;
686
594
  };
687
- type Roles403 = {
595
+ type DeleteOrganizationApiKey404 = {
688
596
  message: string;
689
597
  };
690
- type Roles404 = {
598
+ type DeleteDataInstallation200 = {
599
+ success: boolean;
600
+ };
601
+ type DeleteDataInstallation403 = {
691
602
  message: string;
692
603
  };
693
- type RolesAndConfig403 = {
604
+ type DeleteDataInstallation404 = {
694
605
  message: string;
695
606
  };
696
- type RolesAndConfig404 = {
607
+ type MyDataIntegrations403 = {
608
+ message: string;
609
+ };
610
+ type GetDataInstallationAuthorizationStatus400 = {
611
+ message: string;
612
+ };
613
+ type GetDataInstallationAuthorizationStatus403 = {
614
+ message: string;
615
+ };
616
+ type GetDataInstallationAuthorizationStatus404 = {
617
+ message: string;
618
+ };
619
+ type GetDataIntegrationAuthorizeUrlParams = {
620
+ requireHandoff?: boolean;
621
+ };
622
+ type GetDataIntegrationAuthorizeUrl400 = {
623
+ message: string;
624
+ };
625
+ type GetDataIntegrationAuthorizeUrl403 = {
626
+ message: string;
627
+ };
628
+ type GetDataIntegrationAuthorizeUrl404 = {
697
629
  message: string;
698
630
  };
699
631
  type InviteMemberInput = {
@@ -716,6 +648,19 @@ type InviteMember403 = {
716
648
  type InviteMember404 = {
717
649
  message: string;
718
650
  };
651
+ type RevokeInvite200 = {
652
+ id: string;
653
+ success: boolean;
654
+ };
655
+ type RevokeInvite400 = {
656
+ message: string;
657
+ };
658
+ type RevokeInvite403 = {
659
+ message: string;
660
+ };
661
+ type RevokeInvite404 = {
662
+ message: string;
663
+ };
719
664
  type ResendInvite201 = {
720
665
  /** @nullable */
721
666
  id?: string | null;
@@ -733,17 +678,21 @@ type ResendInvite404 = {
733
678
  type ResendInvite422 = {
734
679
  message: string;
735
680
  };
736
- type RevokeInvite200 = {
737
- id: string;
738
- success: boolean;
681
+ type MembersParams = {
682
+ search?: string;
683
+ limit?: string;
684
+ before?: string;
685
+ after?: string;
686
+ role?: string;
739
687
  };
740
- type RevokeInvite400 = {
741
- message: string;
688
+ type Members200 = {
689
+ data: Member[];
690
+ list_metadata: ListMetadata;
742
691
  };
743
- type RevokeInvite403 = {
692
+ type Members403 = {
744
693
  message: string;
745
694
  };
746
- type RevokeInvite404 = {
695
+ type Members404 = {
747
696
  message: string;
748
697
  };
749
698
  type RemoveMember200 = {
@@ -784,18 +733,28 @@ type Organizations403 = {
784
733
  type Organizations404 = {
785
734
  message: string;
786
735
  };
787
- type Me403 = {
736
+ type Roles403 = {
788
737
  message: string;
789
738
  };
790
- type UpdateMeInput = {
791
- firstName?: string;
792
- lastName?: string;
793
- locale?: string;
739
+ type Roles404 = {
740
+ message: string;
794
741
  };
795
- type UpdateMe400 = {
742
+ type RolesAndConfig403 = {
796
743
  message: string;
797
744
  };
798
- type UpdateMe403 = {
745
+ type RolesAndConfig404 = {
746
+ message: string;
747
+ };
748
+ type AuthenticationInformation403 = {
749
+ message: string;
750
+ };
751
+ type CreatePassword201 = {
752
+ success: boolean;
753
+ };
754
+ type CreatePassword400 = {
755
+ message: string;
756
+ };
757
+ type CreatePassword403 = {
799
758
  message: string;
800
759
  };
801
760
  type CreateTotpFactor400 = {
@@ -804,43 +763,51 @@ type CreateTotpFactor400 = {
804
763
  type CreateTotpFactor403 = {
805
764
  message: string;
806
765
  };
807
- type VerifyTotpFactor200 = {
808
- success: boolean;
766
+ type Me403 = {
767
+ message: string;
809
768
  };
810
- type VerifyTotpFactor400 = {
769
+ type UpdateMeInput = {
770
+ firstName?: string;
771
+ lastName?: string;
772
+ locale?: string;
773
+ };
774
+ type UpdateMe400 = {
811
775
  message: string;
812
776
  };
813
- type VerifyTotpFactor403 = {
777
+ type UpdateMe403 = {
814
778
  message: string;
815
779
  };
816
- type DeleteTotpFactors200 = {
817
- success: boolean;
780
+ type RegisterPasskey400 = {
781
+ message: string;
818
782
  };
819
- type DeleteTotpFactors400 = {
783
+ type RegisterPasskey403 = {
820
784
  message: string;
821
785
  };
822
- type DeleteTotpFactors403 = {
786
+ type VerifyPasskey200 = {
787
+ success: boolean;
788
+ };
789
+ type VerifyPasskey400 = {
823
790
  message: string;
824
791
  };
825
- type AuthenticationInformation403 = {
792
+ type VerifyPasskey403 = {
826
793
  message: string;
827
794
  };
828
- type CreatePassword201 = {
795
+ type DeletePasskey200 = {
829
796
  success: boolean;
830
797
  };
831
- type CreatePassword400 = {
798
+ type DeletePasskey400 = {
832
799
  message: string;
833
800
  };
834
- type CreatePassword403 = {
801
+ type DeletePasskey403 = {
835
802
  message: string;
836
803
  };
837
- type UpdatePassword201 = {
838
- success: boolean;
804
+ type SendVerification400 = {
805
+ message: string;
839
806
  };
840
- type UpdatePassword400 = {
807
+ type SendVerification403 = {
841
808
  message: string;
842
809
  };
843
- type UpdatePassword403 = {
810
+ type Sessions403 = {
844
811
  message: string;
845
812
  };
846
813
  type RevokeAllSessions200 = {
@@ -861,55 +828,43 @@ type RevokeSession400 = {
861
828
  type RevokeSession403 = {
862
829
  message: string;
863
830
  };
864
- type Sessions403 = {
865
- message: string;
866
- };
867
- type SendVerification400 = {
868
- message: string;
831
+ type DeleteTotpFactors200 = {
832
+ success: boolean;
869
833
  };
870
- type SendVerification403 = {
834
+ type DeleteTotpFactors400 = {
871
835
  message: string;
872
836
  };
873
- type Verify400 = {
837
+ type DeleteTotpFactors403 = {
874
838
  message: string;
875
839
  };
876
- type Verify403 = {
877
- message: string;
840
+ type UpdatePassword201 = {
841
+ success: boolean;
878
842
  };
879
- type RegisterPasskey400 = {
843
+ type UpdatePassword400 = {
880
844
  message: string;
881
845
  };
882
- type RegisterPasskey403 = {
846
+ type UpdatePassword403 = {
883
847
  message: string;
884
848
  };
885
- type VerifyPasskey200 = {
886
- success: boolean;
887
- };
888
- type VerifyPasskey400 = {
849
+ type Verify400 = {
889
850
  message: string;
890
851
  };
891
- type VerifyPasskey403 = {
852
+ type Verify403 = {
892
853
  message: string;
893
854
  };
894
- type DeletePasskey200 = {
855
+ type VerifyTotpFactor200 = {
895
856
  success: boolean;
896
857
  };
897
- type DeletePasskey400 = {
898
- message: string;
899
- };
900
- type DeletePasskey403 = {
858
+ type VerifyTotpFactor400 = {
901
859
  message: string;
902
860
  };
903
- type Settings403 = {
861
+ type VerifyTotpFactor403 = {
904
862
  message: string;
905
863
  };
906
- type ListOrganizationDomains200 = {
907
- data: OrganizationDomain[];
908
- };
909
- type ListOrganizationDomains403 = {
910
- message: string;
864
+ type GetAuditLogStream200 = AuditLogStreamJSON | {
865
+ [key: string]: unknown;
911
866
  };
912
- type ListOrganizationDomains404 = {
867
+ type GetAuditLogStream403 = {
913
868
  message: string;
914
869
  };
915
870
  type GenerateAdminPortalLinkParams = {
@@ -919,6 +874,7 @@ type GenerateAdminPortalLinkIntent = (typeof GenerateAdminPortalLinkIntent)[keyo
919
874
  declare const GenerateAdminPortalLinkIntent: {
920
875
  readonly domain_verification: "domain_verification";
921
876
  readonly sso: "sso";
877
+ readonly log_streams: "log_streams";
922
878
  };
923
879
  type GenerateAdminPortalLink201 = {
924
880
  link: string;
@@ -932,180 +888,224 @@ type GenerateAdminPortalLink404 = {
932
888
  type GenerateAdminPortalLink500 = {
933
889
  message: string;
934
890
  };
935
- type DeleteOrganizationDomain403 = {
936
- message: string;
937
- };
938
- type DeleteOrganizationDomain404 = {
939
- message: string;
940
- };
941
- type ReverifyOrganizationDomain403 = {
942
- message: string;
943
- };
944
- type ReverifyOrganizationDomain404 = {
945
- message: string;
946
- };
947
- type CreateOrganizationApiKey400 = {
948
- message: string;
949
- };
950
- type CreateOrganizationApiKey403 = {
951
- message: string;
952
- };
953
- type CreateOrganizationApiKey404 = {
954
- message: string;
955
- };
956
- type CreateOrganizationApiKey422ErrorsItem = {
957
- code: string;
958
- field: string;
959
- };
960
- type CreateOrganizationApiKey422 = {
961
- message: string;
962
- errors: CreateOrganizationApiKey422ErrorsItem[];
963
- };
964
- type ListOrganizationApiKeysParams = {
965
- limit?: number;
966
- before?: string;
967
- after?: string;
968
- search?: string;
969
- };
970
- type ListOrganizationApiKeys400 = {
971
- message: string;
972
- };
973
- type ListOrganizationApiKeys403 = {
974
- message: string;
975
- };
976
- type ListOrganizationApiKeyPermissionsParams = {
977
- search?: string;
978
- limit?: number;
979
- before?: string;
980
- after?: string;
981
- };
982
- type ListOrganizationApiKeyPermissions400 = {
983
- message: string;
984
- };
985
- type ListOrganizationApiKeyPermissions403 = {
986
- message: string;
987
- };
988
- type DeleteOrganizationApiKey200 = {
989
- success: boolean;
891
+ type ListOrganizationDomains200 = {
892
+ data: OrganizationDomain[];
990
893
  };
991
- type DeleteOrganizationApiKey403 = {
894
+ type ListOrganizationDomains403 = {
992
895
  message: string;
993
896
  };
994
- type DeleteOrganizationApiKey404 = {
897
+ type ListOrganizationDomains404 = {
995
898
  message: string;
996
899
  };
997
- type MyDataIntegrations403 = {
900
+ type DeleteOrganizationDomain403 = {
998
901
  message: string;
999
902
  };
1000
- type GetDataIntegrationAuthorizeUrlParams = {
1001
- requireHandoff?: boolean;
1002
- };
1003
- type GetDataIntegrationAuthorizeUrl400 = {
903
+ type DeleteOrganizationDomain404 = {
1004
904
  message: string;
1005
905
  };
1006
- type GetDataIntegrationAuthorizeUrl403 = {
906
+ type ReverifyOrganizationDomain403 = {
1007
907
  message: string;
1008
908
  };
1009
- type GetDataIntegrationAuthorizeUrl404 = {
909
+ type ReverifyOrganizationDomain404 = {
1010
910
  message: string;
1011
911
  };
1012
- type GetDataInstallationAuthorizationStatus400 = {
912
+ type ListDirectories403 = {
1013
913
  message: string;
1014
914
  };
1015
- type GetDataInstallationAuthorizationStatus403 = {
915
+ type ListDirectories404 = {
1016
916
  message: string;
1017
917
  };
1018
- type GetDataInstallationAuthorizationStatus404 = {
918
+ type GetDirectory403 = {
1019
919
  message: string;
1020
920
  };
1021
- type DeleteDataInstallation200 = {
1022
- success: boolean;
1023
- };
1024
- type DeleteDataInstallation403 = {
921
+ type GetDirectory404 = {
1025
922
  message: string;
1026
923
  };
1027
- type DeleteDataInstallation404 = {
924
+ type Settings403 = {
1028
925
  message: string;
1029
926
  };
1030
- declare const useMembersHook: () => (params?: MembersParams, signal?: AbortSignal) => Promise<Members200>;
1031
- declare const getMembersQueryKey: (params?: MembersParams) => readonly ["/_widgets/UserManagement/members", ...MembersParams[]];
1032
- declare const useMembersQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
1033
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>>;
1034
- }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData> & {
927
+ declare const useCreateOrganizationApiKeyHook: () => (createOrganizationApiKeyRequest: BodyType<CreateOrganizationApiKeyRequest>, signal?: AbortSignal) => Promise<CreateOrganizationApiKeyResponse>;
928
+ declare const useCreateOrganizationApiKeyMutationOptions: <TError = ErrorType<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>, TContext = unknown>(options?: {
929
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
930
+ data: BodyType<CreateOrganizationApiKeyRequest>;
931
+ }, TContext>;
932
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
933
+ data: BodyType<CreateOrganizationApiKeyRequest>;
934
+ }, TContext>;
935
+ type CreateOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>>;
936
+ type CreateOrganizationApiKeyMutationBody = BodyType<CreateOrganizationApiKeyRequest>;
937
+ type CreateOrganizationApiKeyMutationError = ErrorType<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>;
938
+ declare const useCreateOrganizationApiKey: <TError = ErrorType<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>, TContext = unknown>(options?: {
939
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
940
+ data: BodyType<CreateOrganizationApiKeyRequest>;
941
+ }, TContext>;
942
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
943
+ data: BodyType<CreateOrganizationApiKeyRequest>;
944
+ }, TContext>;
945
+ declare const useListOrganizationApiKeysHook: () => (params?: ListOrganizationApiKeysParams, signal?: AbortSignal) => Promise<ListOrganizationApiKeysResponse>;
946
+ declare const getListOrganizationApiKeysQueryKey: (params?: ListOrganizationApiKeysParams) => readonly ["/_widgets/ApiKeys/organization-api-keys", ...ListOrganizationApiKeysParams[]];
947
+ declare const useListOrganizationApiKeysQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
948
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>>;
949
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData> & {
1035
950
  queryKey: DataTag<QueryKey, TData, TError>;
1036
951
  };
1037
- type MembersQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>>;
1038
- type MembersQueryError = ErrorType<Members403 | Members404>;
1039
- declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params: undefined | MembersParams, options: {
1040
- query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMembersHook>>>>, "initialData">;
952
+ type ListOrganizationApiKeysQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>>;
953
+ type ListOrganizationApiKeysQueryError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>;
954
+ declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params: undefined | ListOrganizationApiKeysParams, options: {
955
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>>, "initialData">;
1041
956
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1042
957
  queryKey: DataTag<QueryKey, TData, TError>;
1043
958
  };
1044
- declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
1045
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMembersHook>>>>, "initialData">;
959
+ declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
960
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>>, "initialData">;
1046
961
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1047
962
  queryKey: DataTag<QueryKey, TData, TError>;
1048
963
  };
1049
- declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
1050
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>>;
964
+ declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
965
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>>;
1051
966
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1052
967
  queryKey: DataTag<QueryKey, TData, TError>;
1053
968
  };
1054
- declare const useRolesHook: () => (signal?: AbortSignal) => Promise<MemberRole[]>;
1055
- declare const getRolesQueryKey: () => readonly ["/_widgets/UserManagement/roles"];
1056
- declare const useRolesQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
1057
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>>;
1058
- }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData> & {
969
+ declare const useListOrganizationApiKeyPermissionsHook: () => (params?: ListOrganizationApiKeyPermissionsParams, signal?: AbortSignal) => Promise<ListOrganizationApiKeyPermissionsResponse>;
970
+ declare const getListOrganizationApiKeyPermissionsQueryKey: (params?: ListOrganizationApiKeyPermissionsParams) => readonly ["/_widgets/ApiKeys/permissions", ...ListOrganizationApiKeyPermissionsParams[]];
971
+ declare const useListOrganizationApiKeyPermissionsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
972
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>>;
973
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData> & {
1059
974
  queryKey: DataTag<QueryKey, TData, TError>;
1060
975
  };
1061
- type RolesQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>>;
1062
- type RolesQueryError = ErrorType<Roles403 | Roles404>;
1063
- declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options: {
1064
- query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesHook>>>>, "initialData">;
976
+ type ListOrganizationApiKeyPermissionsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>>;
977
+ type ListOrganizationApiKeyPermissionsQueryError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>;
978
+ declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params: undefined | ListOrganizationApiKeyPermissionsParams, options: {
979
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>>, "initialData">;
1065
980
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1066
981
  queryKey: DataTag<QueryKey, TData, TError>;
1067
982
  };
1068
- declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
1069
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesHook>>>>, "initialData">;
983
+ declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
984
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>>, "initialData">;
1070
985
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1071
986
  queryKey: DataTag<QueryKey, TData, TError>;
1072
987
  };
1073
- declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
1074
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>>;
988
+ declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
989
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>>;
1075
990
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1076
991
  queryKey: DataTag<QueryKey, TData, TError>;
1077
992
  };
1078
- declare const useRolesAndConfigHook: () => (signal?: AbortSignal) => Promise<RolesAndConfigResponse>;
1079
- declare const getRolesAndConfigQueryKey: () => readonly ["/_widgets/UserManagement/roles-and-config"];
1080
- declare const useRolesAndConfigQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
1081
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>>;
1082
- }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData> & {
993
+ declare const useDeleteOrganizationApiKeyHook: () => (apiKeyId: string, signal?: AbortSignal) => Promise<DeleteOrganizationApiKey200>;
994
+ declare const useDeleteOrganizationApiKeyMutationOptions: <TError = ErrorType<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>, TContext = unknown>(options?: {
995
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
996
+ apiKeyId: string;
997
+ }, TContext>;
998
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
999
+ apiKeyId: string;
1000
+ }, TContext>;
1001
+ type DeleteOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>>;
1002
+ type DeleteOrganizationApiKeyMutationError = ErrorType<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>;
1003
+ declare const useDeleteOrganizationApiKey: <TError = ErrorType<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>, TContext = unknown>(options?: {
1004
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
1005
+ apiKeyId: string;
1006
+ }, TContext>;
1007
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
1008
+ apiKeyId: string;
1009
+ }, TContext>;
1010
+ declare const useDeleteDataInstallationHook: () => (installationId: string, signal?: AbortSignal) => Promise<DeleteDataInstallation200>;
1011
+ declare const useDeleteDataInstallationMutationOptions: <TError = ErrorType<DeleteDataInstallation403 | DeleteDataInstallation404>, TContext = unknown>(options?: {
1012
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
1013
+ installationId: string;
1014
+ }, TContext>;
1015
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
1016
+ installationId: string;
1017
+ }, TContext>;
1018
+ type DeleteDataInstallationMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>>;
1019
+ type DeleteDataInstallationMutationError = ErrorType<DeleteDataInstallation403 | DeleteDataInstallation404>;
1020
+ declare const useDeleteDataInstallation: <TError = ErrorType<DeleteDataInstallation403 | DeleteDataInstallation404>, TContext = unknown>(options?: {
1021
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
1022
+ installationId: string;
1023
+ }, TContext>;
1024
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
1025
+ installationId: string;
1026
+ }, TContext>;
1027
+ declare const useMyDataIntegrationsHook: () => (signal?: AbortSignal) => Promise<DataIntegrationsResponse>;
1028
+ declare const getMyDataIntegrationsQueryKey: () => readonly ["/_widgets/DataIntegrations/mine"];
1029
+ declare const useMyDataIntegrationsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options?: {
1030
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>>;
1031
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData> & {
1083
1032
  queryKey: DataTag<QueryKey, TData, TError>;
1084
1033
  };
1085
- type RolesAndConfigQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>>;
1086
- type RolesAndConfigQueryError = ErrorType<RolesAndConfig403 | RolesAndConfig404>;
1087
- declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options: {
1088
- query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>>, "initialData">;
1034
+ type MyDataIntegrationsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>>;
1035
+ type MyDataIntegrationsQueryError = ErrorType<MyDataIntegrations403>;
1036
+ declare function useMyDataIntegrations<TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options: {
1037
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>>, "initialData">;
1089
1038
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1090
1039
  queryKey: DataTag<QueryKey, TData, TError>;
1091
1040
  };
1092
- declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
1093
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>>, "initialData">;
1041
+ declare function useMyDataIntegrations<TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options?: {
1042
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>>, "initialData">;
1094
1043
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1095
1044
  queryKey: DataTag<QueryKey, TData, TError>;
1096
1045
  };
1097
- declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
1098
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>>;
1046
+ declare function useMyDataIntegrations<TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options?: {
1047
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>>;
1099
1048
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1100
1049
  queryKey: DataTag<QueryKey, TData, TError>;
1101
1050
  };
1102
- declare const useInviteMemberHook: () => (inviteMemberInput: BodyType<InviteMemberInput>, signal?: AbortSignal) => Promise<InviteMember201>;
1103
- declare const useInviteMemberMutationOptions: <TError = ErrorType<InviteMember400 | InviteMember403 | InviteMember404>, TContext = unknown>(options?: {
1104
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
1105
- data: BodyType<InviteMemberInput>;
1106
- }, TContext>;
1107
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
1108
- data: BodyType<InviteMemberInput>;
1051
+ declare const useGetDataInstallationAuthorizationStatusHook: () => (dataIntegrationId: string, state: string, signal?: AbortSignal) => Promise<GetAuthorizationStatusResponse>;
1052
+ declare const getGetDataInstallationAuthorizationStatusQueryKey: (dataIntegrationId: string, state: string) => readonly [`/_widgets/DataIntegrations/${string}/authorization-status/${string}`];
1053
+ declare const useGetDataInstallationAuthorizationStatusQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
1054
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>>;
1055
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData> & {
1056
+ queryKey: DataTag<QueryKey, TData, TError>;
1057
+ };
1058
+ type GetDataInstallationAuthorizationStatusQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>>;
1059
+ type GetDataInstallationAuthorizationStatusQueryError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>;
1060
+ declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options: {
1061
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>>, "initialData">;
1062
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1063
+ queryKey: DataTag<QueryKey, TData, TError>;
1064
+ };
1065
+ declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
1066
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>>, "initialData">;
1067
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1068
+ queryKey: DataTag<QueryKey, TData, TError>;
1069
+ };
1070
+ declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
1071
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>>;
1072
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1073
+ queryKey: DataTag<QueryKey, TData, TError>;
1074
+ };
1075
+ declare const useGetDataIntegrationAuthorizeUrlHook: () => (slug: string, params?: GetDataIntegrationAuthorizeUrlParams, signal?: AbortSignal) => Promise<GetDataIntegrationAuthorizeUrlResponse>;
1076
+ declare const getGetDataIntegrationAuthorizeUrlQueryKey: (slug: string, params?: GetDataIntegrationAuthorizeUrlParams) => readonly [`/_widgets/DataIntegrations/${string}/authorize`, ...GetDataIntegrationAuthorizeUrlParams[]];
1077
+ declare const useGetDataIntegrationAuthorizeUrlQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
1078
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>>;
1079
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData> & {
1080
+ queryKey: DataTag<QueryKey, TData, TError>;
1081
+ };
1082
+ type GetDataIntegrationAuthorizeUrlQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>>;
1083
+ type GetDataIntegrationAuthorizeUrlQueryError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>;
1084
+ declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params: undefined | GetDataIntegrationAuthorizeUrlParams, options: {
1085
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>>, "initialData">;
1086
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1087
+ queryKey: DataTag<QueryKey, TData, TError>;
1088
+ };
1089
+ declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
1090
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>>, "initialData">;
1091
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1092
+ queryKey: DataTag<QueryKey, TData, TError>;
1093
+ };
1094
+ declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
1095
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>>;
1096
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1097
+ queryKey: DataTag<QueryKey, TData, TError>;
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
+ */
1102
+ declare const useInviteMemberHook: () => (inviteMemberInput: BodyType<InviteMemberInput>, signal?: AbortSignal) => Promise<InviteMember201>;
1103
+ declare const useInviteMemberMutationOptions: <TError = ErrorType<InviteMember400 | InviteMember403 | InviteMember404>, TContext = unknown>(options?: {
1104
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
1105
+ data: BodyType<InviteMemberInput>;
1106
+ }, TContext>;
1107
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
1108
+ data: BodyType<InviteMemberInput>;
1109
1109
  }, TContext>;
1110
1110
  type InviteMemberMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>>;
1111
1111
  type InviteMemberMutationBody = BodyType<InviteMemberInput>;
@@ -1117,6 +1117,29 @@ declare const useInviteMember: <TError = ErrorType<InviteMember400 | InviteMembe
1117
1117
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
1118
1118
  data: BodyType<InviteMemberInput>;
1119
1119
  }, TContext>;
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>;
1124
+ declare const useRevokeInviteMutationOptions: <TError = ErrorType<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>, TContext = unknown>(options?: {
1125
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
1126
+ userId: string;
1127
+ }, TContext>;
1128
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
1129
+ userId: string;
1130
+ }, TContext>;
1131
+ type RevokeInviteMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>>;
1132
+ type RevokeInviteMutationError = ErrorType<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>;
1133
+ declare const useRevokeInvite: <TError = ErrorType<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>, TContext = unknown>(options?: {
1134
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
1135
+ userId: string;
1136
+ }, TContext>;
1137
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
1138
+ userId: string;
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
+ */
1120
1143
  declare const useResendInviteHook: () => (userId: string, signal?: AbortSignal) => Promise<ResendInvite201>;
1121
1144
  declare const useResendInviteMutationOptions: <TError = ErrorType<ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422>, TContext = unknown>(options?: {
1122
1145
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
@@ -1134,24 +1157,37 @@ declare const useResendInvite: <TError = ErrorType<ResendInvite400 | ResendInvit
1134
1157
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
1135
1158
  userId: string;
1136
1159
  }, TContext>;
1137
- declare const useRevokeInviteHook: () => (userId: string) => Promise<RevokeInvite200>;
1138
- declare const useRevokeInviteMutationOptions: <TError = ErrorType<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>, TContext = unknown>(options?: {
1139
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
1140
- userId: string;
1141
- }, TContext>;
1142
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
1143
- userId: string;
1144
- }, TContext>;
1145
- type RevokeInviteMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>>;
1146
- type RevokeInviteMutationError = ErrorType<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>;
1147
- declare const useRevokeInvite: <TError = ErrorType<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>, TContext = unknown>(options?: {
1148
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
1149
- userId: string;
1150
- }, TContext>;
1151
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
1152
- userId: string;
1153
- }, TContext>;
1154
- declare const useRemoveMemberHook: () => (userId: string) => Promise<RemoveMember200>;
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
+ */
1163
+ declare const useMembersHook: () => (params?: MembersParams, signal?: AbortSignal) => Promise<Members200>;
1164
+ declare const getMembersQueryKey: (params?: MembersParams) => readonly ["/_widgets/UserManagement/members", ...MembersParams[]];
1165
+ declare const useMembersQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
1166
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>>;
1167
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData> & {
1168
+ queryKey: DataTag<QueryKey, TData, TError>;
1169
+ };
1170
+ type MembersQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>>;
1171
+ type MembersQueryError = ErrorType<Members403 | Members404>;
1172
+ declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params: undefined | MembersParams, options: {
1173
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMembersHook>>>>, "initialData">;
1174
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1175
+ queryKey: DataTag<QueryKey, TData, TError>;
1176
+ };
1177
+ declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
1178
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMembersHook>>>>, "initialData">;
1179
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1180
+ queryKey: DataTag<QueryKey, TData, TError>;
1181
+ };
1182
+ declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
1183
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>>;
1184
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1185
+ queryKey: DataTag<QueryKey, TData, TError>;
1186
+ };
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>;
1155
1191
  declare const useRemoveMemberMutationOptions: <TError = ErrorType<RemoveMember400 | RemoveMember403 | RemoveMember404>, TContext = unknown>(options?: {
1156
1192
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
1157
1193
  userId: string;
@@ -1168,6 +1204,9 @@ declare const useRemoveMember: <TError = ErrorType<RemoveMember400 | RemoveMembe
1168
1204
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
1169
1205
  userId: string;
1170
1206
  }, TContext>;
1207
+ /**
1208
+ * Updates the specified member's organization membership, such as changing their assigned role.
1209
+ */
1171
1210
  declare const useUpdateMemberHook: () => (userId: string, updateMemberInput: BodyType<UpdateMemberInput>, signal?: AbortSignal) => Promise<UpdateMember200>;
1172
1211
  declare const useUpdateMemberMutationOptions: <TError = ErrorType<UpdateMember400 | UpdateMember403 | UpdateMember404 | UpdateMember422>, TContext = unknown>(options?: {
1173
1212
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMemberHook>>>, TError, {
@@ -1190,6 +1229,9 @@ declare const useUpdateMember: <TError = ErrorType<UpdateMember400 | UpdateMembe
1190
1229
  userId: string;
1191
1230
  data: BodyType<UpdateMemberInput>;
1192
1231
  }, TContext>;
1232
+ /**
1233
+ * Returns the list of organizations the authenticated user is a member of.
1234
+ */
1193
1235
  declare const useOrganizationsHook: () => (signal?: AbortSignal) => Promise<OrganizationsResponse>;
1194
1236
  declare const getOrganizationsQueryKey: () => readonly ["/_widgets/UserManagement/organizations"];
1195
1237
  declare const useOrganizationsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError = ErrorType<Organizations403 | Organizations404>>(options?: {
@@ -1214,84 +1256,63 @@ declare function useOrganizations<TData = Awaited<ReturnType<ReturnType<typeof u
1214
1256
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1215
1257
  queryKey: DataTag<QueryKey, TData, TError>;
1216
1258
  };
1217
- declare const useMeHook: () => (signal?: AbortSignal) => Promise<Me>;
1218
- declare const getMeQueryKey: () => readonly ["/_widgets/UserProfile/me"];
1219
- declare const useMeQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options?: {
1220
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData>>;
1221
- }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData> & {
1259
+ /**
1260
+ * Returns the list of roles available in the organization that can be assigned to members.
1261
+ */
1262
+ declare const useRolesHook: () => (signal?: AbortSignal) => Promise<MemberRole[]>;
1263
+ declare const getRolesQueryKey: () => readonly ["/_widgets/UserManagement/roles"];
1264
+ declare const useRolesQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
1265
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>>;
1266
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData> & {
1222
1267
  queryKey: DataTag<QueryKey, TData, TError>;
1223
1268
  };
1224
- type MeQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useMeHook>>>>;
1225
- type MeQueryError = ErrorType<Me403>;
1226
- declare function useMe<TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options: {
1227
- query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMeHook>>>>, "initialData">;
1269
+ type RolesQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>>;
1270
+ type RolesQueryError = ErrorType<Roles403 | Roles404>;
1271
+ declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options: {
1272
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesHook>>>>, "initialData">;
1228
1273
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1229
1274
  queryKey: DataTag<QueryKey, TData, TError>;
1230
1275
  };
1231
- declare function useMe<TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options?: {
1232
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMeHook>>>>, "initialData">;
1276
+ declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
1277
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesHook>>>>, "initialData">;
1233
1278
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1234
1279
  queryKey: DataTag<QueryKey, TData, TError>;
1235
1280
  };
1236
- declare function useMe<TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options?: {
1237
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData>>;
1281
+ declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
1282
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>>;
1238
1283
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1239
1284
  queryKey: DataTag<QueryKey, TData, TError>;
1240
1285
  };
1241
- declare const useUpdateMeHook: () => (updateMeInput: BodyType<UpdateMeInput>, signal?: AbortSignal) => Promise<Me>;
1242
- declare const useUpdateMeMutationOptions: <TError = ErrorType<UpdateMe400 | UpdateMe403>, TContext = unknown>(options?: {
1243
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
1244
- data: BodyType<UpdateMeInput>;
1245
- }, TContext>;
1246
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
1247
- data: BodyType<UpdateMeInput>;
1248
- }, TContext>;
1249
- type UpdateMeMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>>;
1250
- type UpdateMeMutationBody = BodyType<UpdateMeInput>;
1251
- type UpdateMeMutationError = ErrorType<UpdateMe400 | UpdateMe403>;
1252
- declare const useUpdateMe: <TError = ErrorType<UpdateMe400 | UpdateMe403>, TContext = unknown>(options?: {
1253
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
1254
- data: BodyType<UpdateMeInput>;
1255
- }, TContext>;
1256
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
1257
- data: BodyType<UpdateMeInput>;
1258
- }, TContext>;
1259
- declare const useCreateTotpFactorHook: () => (signal?: AbortSignal) => Promise<CreateTotpFactorResponse>;
1260
- declare const useCreateTotpFactorMutationOptions: <TError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>, TContext = unknown>(options?: {
1261
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
1262
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
1263
- type CreateTotpFactorMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>>;
1264
- type CreateTotpFactorMutationError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>;
1265
- declare const useCreateTotpFactor: <TError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>, TContext = unknown>(options?: {
1266
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
1267
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
1268
- declare const useVerifyTotpFactorHook: () => (verifyTotpFactorRequest: BodyType<VerifyTotpFactorRequest>, signal?: AbortSignal) => Promise<VerifyTotpFactor200>;
1269
- declare const useVerifyTotpFactorMutationOptions: <TError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>, TContext = unknown>(options?: {
1270
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
1271
- data: BodyType<VerifyTotpFactorRequest>;
1272
- }, TContext>;
1273
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
1274
- data: BodyType<VerifyTotpFactorRequest>;
1275
- }, TContext>;
1276
- type VerifyTotpFactorMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>>;
1277
- type VerifyTotpFactorMutationBody = BodyType<VerifyTotpFactorRequest>;
1278
- type VerifyTotpFactorMutationError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>;
1279
- declare const useVerifyTotpFactor: <TError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>, TContext = unknown>(options?: {
1280
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
1281
- data: BodyType<VerifyTotpFactorRequest>;
1282
- }, TContext>;
1283
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
1284
- data: BodyType<VerifyTotpFactorRequest>;
1285
- }, TContext>;
1286
- declare const useDeleteTotpFactorsHook: () => () => Promise<DeleteTotpFactors200>;
1287
- declare const useDeleteTotpFactorsMutationOptions: <TError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>, TContext = unknown>(options?: {
1288
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
1289
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
1290
- type DeleteTotpFactorsMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>>;
1291
- type DeleteTotpFactorsMutationError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>;
1292
- declare const useDeleteTotpFactors: <TError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>, TContext = unknown>(options?: {
1293
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
1294
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
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
+ */
1289
+ declare const useRolesAndConfigHook: () => (signal?: AbortSignal) => Promise<RolesAndConfigResponse>;
1290
+ declare const getRolesAndConfigQueryKey: () => readonly ["/_widgets/UserManagement/roles-and-config"];
1291
+ declare const useRolesAndConfigQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
1292
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>>;
1293
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData> & {
1294
+ queryKey: DataTag<QueryKey, TData, TError>;
1295
+ };
1296
+ type RolesAndConfigQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>>;
1297
+ type RolesAndConfigQueryError = ErrorType<RolesAndConfig403 | RolesAndConfig404>;
1298
+ declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options: {
1299
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>>, "initialData">;
1300
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1301
+ queryKey: DataTag<QueryKey, TData, TError>;
1302
+ };
1303
+ declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
1304
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>>, "initialData">;
1305
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1306
+ queryKey: DataTag<QueryKey, TData, TError>;
1307
+ };
1308
+ declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
1309
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>>;
1310
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1311
+ queryKey: DataTag<QueryKey, TData, TError>;
1312
+ };
1313
+ /**
1314
+ * Returns the authentication methods and MFA factors configured for the authenticated user, including enrolled TOTP factors and passkeys.
1315
+ */
1295
1316
  declare const useAuthenticationInformationHook: () => (signal?: AbortSignal) => Promise<AuthenticationInformationResponse>;
1296
1317
  declare const getAuthenticationInformationQueryKey: () => readonly ["/_widgets/UserProfile/authentication-information"];
1297
1318
  declare const useAuthenticationInformationQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError = ErrorType<AuthenticationInformation403>>(options?: {
@@ -1316,6 +1337,9 @@ declare function useAuthenticationInformation<TData = Awaited<ReturnType<ReturnT
1316
1337
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1317
1338
  queryKey: DataTag<QueryKey, TData, TError>;
1318
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
+ */
1319
1343
  declare const useCreatePasswordHook: () => (createPasswordRequest: BodyType<CreatePasswordRequest>, signal?: AbortSignal) => Promise<CreatePassword201>;
1320
1344
  declare const useCreatePasswordMutationOptions: <TError = ErrorType<CreatePassword400 | CreatePassword403>, TContext = unknown>(options?: {
1321
1345
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
@@ -1334,25 +1358,162 @@ declare const useCreatePassword: <TError = ErrorType<CreatePassword400 | CreateP
1334
1358
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
1335
1359
  data: BodyType<CreatePasswordRequest>;
1336
1360
  }, TContext>;
1337
- declare const useUpdatePasswordHook: () => (updatePasswordRequest: BodyType<UpdatePasswordRequest>, signal?: AbortSignal) => Promise<UpdatePassword201>;
1338
- declare const useUpdatePasswordMutationOptions: <TError = ErrorType<UpdatePassword400 | UpdatePassword403>, TContext = unknown>(options?: {
1339
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
1340
- data: BodyType<UpdatePasswordRequest>;
1361
+ /**
1362
+ * Initiates TOTP (authenticator app) enrollment for the authenticated user by generating a new TOTP secret and QR code. Requires elevated access.
1363
+ */
1364
+ declare const useCreateTotpFactorHook: () => (signal?: AbortSignal) => Promise<CreateTotpFactorResponse>;
1365
+ declare const useCreateTotpFactorMutationOptions: <TError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>, TContext = unknown>(options?: {
1366
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
1367
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
1368
+ type CreateTotpFactorMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>>;
1369
+ type CreateTotpFactorMutationError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>;
1370
+ declare const useCreateTotpFactor: <TError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>, TContext = unknown>(options?: {
1371
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
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
+ */
1376
+ declare const useMeHook: () => (signal?: AbortSignal) => Promise<Me>;
1377
+ declare const getMeQueryKey: () => readonly ["/_widgets/UserProfile/me"];
1378
+ declare const useMeQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options?: {
1379
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData>>;
1380
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData> & {
1381
+ queryKey: DataTag<QueryKey, TData, TError>;
1382
+ };
1383
+ type MeQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useMeHook>>>>;
1384
+ type MeQueryError = ErrorType<Me403>;
1385
+ declare function useMe<TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options: {
1386
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMeHook>>>>, "initialData">;
1387
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1388
+ queryKey: DataTag<QueryKey, TData, TError>;
1389
+ };
1390
+ declare function useMe<TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options?: {
1391
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMeHook>>>>, "initialData">;
1392
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1393
+ queryKey: DataTag<QueryKey, TData, TError>;
1394
+ };
1395
+ declare function useMe<TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options?: {
1396
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData>>;
1397
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1398
+ queryKey: DataTag<QueryKey, TData, TError>;
1399
+ };
1400
+ /**
1401
+ * Updates the profile information of the currently authenticated user, such as their first name, last name, or email address.
1402
+ */
1403
+ declare const useUpdateMeHook: () => (updateMeInput: BodyType<UpdateMeInput>, signal?: AbortSignal) => Promise<Me>;
1404
+ declare const useUpdateMeMutationOptions: <TError = ErrorType<UpdateMe400 | UpdateMe403>, TContext = unknown>(options?: {
1405
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
1406
+ data: BodyType<UpdateMeInput>;
1341
1407
  }, TContext>;
1342
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
1343
- data: BodyType<UpdatePasswordRequest>;
1408
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
1409
+ data: BodyType<UpdateMeInput>;
1344
1410
  }, TContext>;
1345
- type UpdatePasswordMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>>;
1346
- type UpdatePasswordMutationBody = BodyType<UpdatePasswordRequest>;
1347
- type UpdatePasswordMutationError = ErrorType<UpdatePassword400 | UpdatePassword403>;
1348
- declare const useUpdatePassword: <TError = ErrorType<UpdatePassword400 | UpdatePassword403>, TContext = unknown>(options?: {
1349
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
1350
- data: BodyType<UpdatePasswordRequest>;
1411
+ type UpdateMeMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>>;
1412
+ type UpdateMeMutationBody = BodyType<UpdateMeInput>;
1413
+ type UpdateMeMutationError = ErrorType<UpdateMe400 | UpdateMe403>;
1414
+ declare const useUpdateMe: <TError = ErrorType<UpdateMe400 | UpdateMe403>, TContext = unknown>(options?: {
1415
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
1416
+ data: BodyType<UpdateMeInput>;
1351
1417
  }, TContext>;
1352
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
1353
- data: BodyType<UpdatePasswordRequest>;
1418
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
1419
+ data: BodyType<UpdateMeInput>;
1420
+ }, TContext>;
1421
+ /**
1422
+ * Initiates passkey (WebAuthn) registration for the authenticated user by returning the credential creation options. Requires elevated access.
1423
+ */
1424
+ declare const useRegisterPasskeyHook: () => (signal?: AbortSignal) => Promise<RegisterPasskeyResponse>;
1425
+ declare const useRegisterPasskeyMutationOptions: <TError = ErrorType<RegisterPasskey400 | RegisterPasskey403>, TContext = unknown>(options?: {
1426
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
1427
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
1428
+ type RegisterPasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>>;
1429
+ type RegisterPasskeyMutationError = ErrorType<RegisterPasskey400 | RegisterPasskey403>;
1430
+ declare const useRegisterPasskey: <TError = ErrorType<RegisterPasskey400 | RegisterPasskey403>, TContext = unknown>(options?: {
1431
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
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
+ */
1436
+ declare const useVerifyPasskeyHook: () => (verifyPasskeyRequest: BodyType<VerifyPasskeyRequest>, signal?: AbortSignal) => Promise<VerifyPasskey200>;
1437
+ declare const useVerifyPasskeyMutationOptions: <TError = ErrorType<VerifyPasskey400 | VerifyPasskey403>, TContext = unknown>(options?: {
1438
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
1439
+ data: BodyType<VerifyPasskeyRequest>;
1440
+ }, TContext>;
1441
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
1442
+ data: BodyType<VerifyPasskeyRequest>;
1443
+ }, TContext>;
1444
+ type VerifyPasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>>;
1445
+ type VerifyPasskeyMutationBody = BodyType<VerifyPasskeyRequest>;
1446
+ type VerifyPasskeyMutationError = ErrorType<VerifyPasskey400 | VerifyPasskey403>;
1447
+ declare const useVerifyPasskey: <TError = ErrorType<VerifyPasskey400 | VerifyPasskey403>, TContext = unknown>(options?: {
1448
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
1449
+ data: BodyType<VerifyPasskeyRequest>;
1450
+ }, TContext>;
1451
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
1452
+ data: BodyType<VerifyPasskeyRequest>;
1453
+ }, TContext>;
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>;
1458
+ declare const useDeletePasskeyMutationOptions: <TError = ErrorType<DeletePasskey400 | DeletePasskey403>, TContext = unknown>(options?: {
1459
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
1460
+ passkeyId: string;
1461
+ }, TContext>;
1462
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
1463
+ passkeyId: string;
1354
1464
  }, TContext>;
1355
- declare const useRevokeAllSessionsHook: () => (revokeAllSessionsRequest: BodyType<RevokeAllSessionsRequest>) => Promise<RevokeAllSessions200>;
1465
+ type DeletePasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>>;
1466
+ type DeletePasskeyMutationError = ErrorType<DeletePasskey400 | DeletePasskey403>;
1467
+ declare const useDeletePasskey: <TError = ErrorType<DeletePasskey400 | DeletePasskey403>, TContext = unknown>(options?: {
1468
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
1469
+ passkeyId: string;
1470
+ }, TContext>;
1471
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
1472
+ passkeyId: string;
1473
+ }, TContext>;
1474
+ /**
1475
+ * Sends a verification email to the authenticated user to confirm their email address.
1476
+ */
1477
+ declare const useSendVerificationHook: () => (signal?: AbortSignal) => Promise<SendVerificationResponse>;
1478
+ declare const useSendVerificationMutationOptions: <TError = ErrorType<SendVerification400 | SendVerification403>, TContext = unknown>(options?: {
1479
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
1480
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
1481
+ type SendVerificationMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>>;
1482
+ type SendVerificationMutationError = ErrorType<SendVerification400 | SendVerification403>;
1483
+ declare const useSendVerification: <TError = ErrorType<SendVerification400 | SendVerification403>, TContext = unknown>(options?: {
1484
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
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
+ */
1489
+ declare const useSessionsHook: () => (signal?: AbortSignal) => Promise<ActiveSessionsResponse>;
1490
+ declare const getSessionsQueryKey: () => readonly ["/_widgets/UserProfile/sessions"];
1491
+ declare const useSessionsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
1492
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>>;
1493
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData> & {
1494
+ queryKey: DataTag<QueryKey, TData, TError>;
1495
+ };
1496
+ type SessionsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>>;
1497
+ type SessionsQueryError = ErrorType<Sessions403>;
1498
+ declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options: {
1499
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>>, "initialData">;
1500
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1501
+ queryKey: DataTag<QueryKey, TData, TError>;
1502
+ };
1503
+ declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
1504
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>>, "initialData">;
1505
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1506
+ queryKey: DataTag<QueryKey, TData, TError>;
1507
+ };
1508
+ declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
1509
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>>;
1510
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1511
+ queryKey: DataTag<QueryKey, TData, TError>;
1512
+ };
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>;
1356
1517
  declare const useRevokeAllSessionsMutationOptions: <TError = ErrorType<RevokeAllSessions400 | RevokeAllSessions403>, TContext = unknown>(options?: {
1357
1518
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
1358
1519
  data: BodyType<RevokeAllSessionsRequest>;
@@ -1370,7 +1531,10 @@ declare const useRevokeAllSessions: <TError = ErrorType<RevokeAllSessions400 | R
1370
1531
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
1371
1532
  data: BodyType<RevokeAllSessionsRequest>;
1372
1533
  }, TContext>;
1373
- 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>;
1374
1538
  declare const useRevokeSessionMutationOptions: <TError = ErrorType<RevokeSession400 | RevokeSession403>, TContext = unknown>(options?: {
1375
1539
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
1376
1540
  sessionId: string;
@@ -1387,39 +1551,42 @@ declare const useRevokeSession: <TError = ErrorType<RevokeSession400 | RevokeSes
1387
1551
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
1388
1552
  sessionId: string;
1389
1553
  }, TContext>;
1390
- declare const useSessionsHook: () => (signal?: AbortSignal) => Promise<ActiveSessionsResponse>;
1391
- declare const getSessionsQueryKey: () => readonly ["/_widgets/UserProfile/sessions"];
1392
- declare const useSessionsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
1393
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>>;
1394
- }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData> & {
1395
- queryKey: DataTag<QueryKey, TData, TError>;
1396
- };
1397
- type SessionsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>>;
1398
- type SessionsQueryError = ErrorType<Sessions403>;
1399
- declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options: {
1400
- query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>>, "initialData">;
1401
- }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1402
- queryKey: DataTag<QueryKey, TData, TError>;
1403
- };
1404
- declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
1405
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>>, "initialData">;
1406
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1407
- queryKey: DataTag<QueryKey, TData, TError>;
1408
- };
1409
- declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
1410
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>>;
1411
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1412
- queryKey: DataTag<QueryKey, TData, TError>;
1413
- };
1414
- declare const useSendVerificationHook: () => (signal?: AbortSignal) => Promise<SendVerificationResponse>;
1415
- declare const useSendVerificationMutationOptions: <TError = ErrorType<SendVerification400 | SendVerification403>, TContext = unknown>(options?: {
1416
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
1417
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
1418
- type SendVerificationMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>>;
1419
- type SendVerificationMutationError = ErrorType<SendVerification400 | SendVerification403>;
1420
- declare const useSendVerification: <TError = ErrorType<SendVerification400 | SendVerification403>, TContext = unknown>(options?: {
1421
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
1422
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
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>;
1558
+ declare const useDeleteTotpFactorsMutationOptions: <TError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>, TContext = unknown>(options?: {
1559
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
1560
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
1561
+ type DeleteTotpFactorsMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>>;
1562
+ type DeleteTotpFactorsMutationError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>;
1563
+ declare const useDeleteTotpFactors: <TError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>, TContext = unknown>(options?: {
1564
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
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
+ */
1569
+ declare const useUpdatePasswordHook: () => (updatePasswordRequest: BodyType<UpdatePasswordRequest>, signal?: AbortSignal) => Promise<UpdatePassword201>;
1570
+ declare const useUpdatePasswordMutationOptions: <TError = ErrorType<UpdatePassword400 | UpdatePassword403>, TContext = unknown>(options?: {
1571
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
1572
+ data: BodyType<UpdatePasswordRequest>;
1573
+ }, TContext>;
1574
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
1575
+ data: BodyType<UpdatePasswordRequest>;
1576
+ }, TContext>;
1577
+ type UpdatePasswordMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>>;
1578
+ type UpdatePasswordMutationBody = BodyType<UpdatePasswordRequest>;
1579
+ type UpdatePasswordMutationError = ErrorType<UpdatePassword400 | UpdatePassword403>;
1580
+ declare const useUpdatePassword: <TError = ErrorType<UpdatePassword400 | UpdatePassword403>, TContext = unknown>(options?: {
1581
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
1582
+ data: BodyType<UpdatePasswordRequest>;
1583
+ }, TContext>;
1584
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
1585
+ data: BodyType<UpdatePasswordRequest>;
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
+ */
1423
1590
  declare const useVerifyHook: () => (verifyRequest: BodyType<VerifyRequest>, signal?: AbortSignal) => Promise<VerifyResponse>;
1424
1591
  declare const useVerifyMutationOptions: <TError = ErrorType<Verify400 | Verify403>, TContext = unknown>(options?: {
1425
1592
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
@@ -1438,74 +1605,68 @@ declare const useVerify: <TError = ErrorType<Verify400 | Verify403>, TContext =
1438
1605
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
1439
1606
  data: BodyType<VerifyRequest>;
1440
1607
  }, TContext>;
1441
- declare const useRegisterPasskeyHook: () => (signal?: AbortSignal) => Promise<RegisterPasskeyResponse>;
1442
- declare const useRegisterPasskeyMutationOptions: <TError = ErrorType<RegisterPasskey400 | RegisterPasskey403>, TContext = unknown>(options?: {
1443
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
1444
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
1445
- type RegisterPasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>>;
1446
- type RegisterPasskeyMutationError = ErrorType<RegisterPasskey400 | RegisterPasskey403>;
1447
- declare const useRegisterPasskey: <TError = ErrorType<RegisterPasskey400 | RegisterPasskey403>, TContext = unknown>(options?: {
1448
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
1449
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
1450
- declare const useVerifyPasskeyHook: () => (verifyPasskeyRequest: BodyType<VerifyPasskeyRequest>, signal?: AbortSignal) => Promise<VerifyPasskey200>;
1451
- declare const useVerifyPasskeyMutationOptions: <TError = ErrorType<VerifyPasskey400 | VerifyPasskey403>, TContext = unknown>(options?: {
1452
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
1453
- data: BodyType<VerifyPasskeyRequest>;
1454
- }, TContext>;
1455
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
1456
- data: BodyType<VerifyPasskeyRequest>;
1457
- }, TContext>;
1458
- type VerifyPasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>>;
1459
- type VerifyPasskeyMutationBody = BodyType<VerifyPasskeyRequest>;
1460
- type VerifyPasskeyMutationError = ErrorType<VerifyPasskey400 | VerifyPasskey403>;
1461
- declare const useVerifyPasskey: <TError = ErrorType<VerifyPasskey400 | VerifyPasskey403>, TContext = unknown>(options?: {
1462
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
1463
- data: BodyType<VerifyPasskeyRequest>;
1464
- }, TContext>;
1465
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
1466
- data: BodyType<VerifyPasskeyRequest>;
1467
- }, TContext>;
1468
- declare const useDeletePasskeyHook: () => (passkeyId: string) => Promise<DeletePasskey200>;
1469
- declare const useDeletePasskeyMutationOptions: <TError = ErrorType<DeletePasskey400 | DeletePasskey403>, TContext = unknown>(options?: {
1470
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
1471
- passkeyId: string;
1608
+ /**
1609
+ * Completes TOTP enrollment by verifying the one-time code generated by the authenticator app. Requires elevated access.
1610
+ */
1611
+ declare const useVerifyTotpFactorHook: () => (verifyTotpFactorRequest: BodyType<VerifyTotpFactorRequest>, signal?: AbortSignal) => Promise<VerifyTotpFactor200>;
1612
+ declare const useVerifyTotpFactorMutationOptions: <TError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>, TContext = unknown>(options?: {
1613
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
1614
+ data: BodyType<VerifyTotpFactorRequest>;
1472
1615
  }, TContext>;
1473
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
1474
- passkeyId: string;
1616
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
1617
+ data: BodyType<VerifyTotpFactorRequest>;
1475
1618
  }, TContext>;
1476
- type DeletePasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>>;
1477
- type DeletePasskeyMutationError = ErrorType<DeletePasskey400 | DeletePasskey403>;
1478
- declare const useDeletePasskey: <TError = ErrorType<DeletePasskey400 | DeletePasskey403>, TContext = unknown>(options?: {
1479
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
1480
- passkeyId: string;
1619
+ type VerifyTotpFactorMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>>;
1620
+ type VerifyTotpFactorMutationBody = BodyType<VerifyTotpFactorRequest>;
1621
+ type VerifyTotpFactorMutationError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>;
1622
+ declare const useVerifyTotpFactor: <TError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>, TContext = unknown>(options?: {
1623
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
1624
+ data: BodyType<VerifyTotpFactorRequest>;
1481
1625
  }, TContext>;
1482
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
1483
- passkeyId: string;
1626
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
1627
+ data: BodyType<VerifyTotpFactorRequest>;
1484
1628
  }, TContext>;
1485
- declare const useSettingsHook: () => (signal?: AbortSignal) => Promise<SettingsResponse>;
1486
- declare const getSettingsQueryKey: () => readonly ["/_widgets/settings"];
1487
- declare const useSettingsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options?: {
1488
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData>>;
1489
- }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData> & {
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> & {
1490
1634
  queryKey: DataTag<QueryKey, TData, TError>;
1491
1635
  };
1492
- type SettingsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>>;
1493
- type SettingsQueryError = ErrorType<Settings403>;
1494
- declare function useSettings<TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options: {
1495
- query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>>, "initialData">;
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">;
1496
1640
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1497
1641
  queryKey: DataTag<QueryKey, TData, TError>;
1498
1642
  };
1499
- declare function useSettings<TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options?: {
1500
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>>, "initialData">;
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">;
1501
1645
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1502
1646
  queryKey: DataTag<QueryKey, TData, TError>;
1503
1647
  };
1504
- declare function useSettings<TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options?: {
1505
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData>>;
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>>;
1506
1650
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1507
1651
  queryKey: DataTag<QueryKey, TData, TError>;
1508
1652
  };
1653
+ declare const useGenerateAdminPortalLinkHook: () => (params: GenerateAdminPortalLinkParams, signal?: AbortSignal) => Promise<GenerateAdminPortalLink201>;
1654
+ declare const useGenerateAdminPortalLinkMutationOptions: <TError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>, TContext = unknown>(options?: {
1655
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
1656
+ params: GenerateAdminPortalLinkParams;
1657
+ }, TContext>;
1658
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
1659
+ params: GenerateAdminPortalLinkParams;
1660
+ }, TContext>;
1661
+ type GenerateAdminPortalLinkMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>>;
1662
+ type GenerateAdminPortalLinkMutationError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>;
1663
+ declare const useGenerateAdminPortalLink: <TError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>, TContext = unknown>(options?: {
1664
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
1665
+ params: GenerateAdminPortalLinkParams;
1666
+ }, TContext>;
1667
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
1668
+ params: GenerateAdminPortalLinkParams;
1669
+ }, TContext>;
1509
1670
  declare const useListOrganizationDomainsHook: () => (signal?: AbortSignal) => Promise<ListOrganizationDomains200>;
1510
1671
  declare const getListOrganizationDomainsQueryKey: () => readonly ["/_widgets/admin-portal/organization-domains"];
1511
1672
  declare const useListOrganizationDomainsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError = ErrorType<ListOrganizationDomains403 | ListOrganizationDomains404>>(options?: {
@@ -1530,24 +1691,7 @@ declare function useListOrganizationDomains<TData = Awaited<ReturnType<ReturnTyp
1530
1691
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1531
1692
  queryKey: DataTag<QueryKey, TData, TError>;
1532
1693
  };
1533
- declare const useGenerateAdminPortalLinkHook: () => (params: GenerateAdminPortalLinkParams, signal?: AbortSignal) => Promise<GenerateAdminPortalLink201>;
1534
- declare const useGenerateAdminPortalLinkMutationOptions: <TError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>, TContext = unknown>(options?: {
1535
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
1536
- params: GenerateAdminPortalLinkParams;
1537
- }, TContext>;
1538
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
1539
- params: GenerateAdminPortalLinkParams;
1540
- }, TContext>;
1541
- type GenerateAdminPortalLinkMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>>;
1542
- type GenerateAdminPortalLinkMutationError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>;
1543
- declare const useGenerateAdminPortalLink: <TError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>, TContext = unknown>(options?: {
1544
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
1545
- params: GenerateAdminPortalLinkParams;
1546
- }, TContext>;
1547
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
1548
- params: GenerateAdminPortalLinkParams;
1549
- }, TContext>;
1550
- declare const useDeleteOrganizationDomainHook: () => (domainId: string) => Promise<OrganizationDomain>;
1694
+ declare const useDeleteOrganizationDomainHook: () => (domainId: string, signal?: AbortSignal) => Promise<OrganizationDomain>;
1551
1695
  declare const useDeleteOrganizationDomainMutationOptions: <TError = ErrorType<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>, TContext = unknown>(options?: {
1552
1696
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>, TError, {
1553
1697
  domainId: string;
@@ -1605,177 +1749,80 @@ declare function useListSsoConnections<TData = Awaited<ReturnType<ReturnType<typ
1605
1749
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1606
1750
  queryKey: DataTag<QueryKey, TData, TError>;
1607
1751
  };
1608
- declare const useCreateOrganizationApiKeyHook: () => (createOrganizationApiKeyRequest: BodyType<CreateOrganizationApiKeyRequest>, signal?: AbortSignal) => Promise<CreateOrganizationApiKeyResponse>;
1609
- declare const useCreateOrganizationApiKeyMutationOptions: <TError = ErrorType<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>, TContext = unknown>(options?: {
1610
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
1611
- data: BodyType<CreateOrganizationApiKeyRequest>;
1612
- }, TContext>;
1613
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
1614
- data: BodyType<CreateOrganizationApiKeyRequest>;
1615
- }, TContext>;
1616
- type CreateOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>>;
1617
- type CreateOrganizationApiKeyMutationBody = BodyType<CreateOrganizationApiKeyRequest>;
1618
- type CreateOrganizationApiKeyMutationError = ErrorType<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>;
1619
- declare const useCreateOrganizationApiKey: <TError = ErrorType<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>, TContext = unknown>(options?: {
1620
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
1621
- data: BodyType<CreateOrganizationApiKeyRequest>;
1622
- }, TContext>;
1623
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
1624
- data: BodyType<CreateOrganizationApiKeyRequest>;
1625
- }, TContext>;
1626
- declare const useListOrganizationApiKeysHook: () => (params?: ListOrganizationApiKeysParams, signal?: AbortSignal) => Promise<ListOrganizationApiKeysResponse>;
1627
- declare const getListOrganizationApiKeysQueryKey: (params?: ListOrganizationApiKeysParams) => readonly ["/_widgets/ApiKeys/organization-api-keys", ...ListOrganizationApiKeysParams[]];
1628
- declare const useListOrganizationApiKeysQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
1629
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>>;
1630
- }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData> & {
1631
- queryKey: DataTag<QueryKey, TData, TError>;
1632
- };
1633
- type ListOrganizationApiKeysQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>>;
1634
- type ListOrganizationApiKeysQueryError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>;
1635
- declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params: undefined | ListOrganizationApiKeysParams, options: {
1636
- query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>>, "initialData">;
1637
- }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1638
- queryKey: DataTag<QueryKey, TData, TError>;
1639
- };
1640
- declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
1641
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>>, "initialData">;
1642
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1643
- queryKey: DataTag<QueryKey, TData, TError>;
1644
- };
1645
- declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
1646
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>>;
1647
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1648
- queryKey: DataTag<QueryKey, TData, TError>;
1649
- };
1650
- declare const useListOrganizationApiKeyPermissionsHook: () => (params?: ListOrganizationApiKeyPermissionsParams, signal?: AbortSignal) => Promise<ListOrganizationApiKeyPermissionsResponse>;
1651
- declare const getListOrganizationApiKeyPermissionsQueryKey: (params?: ListOrganizationApiKeyPermissionsParams) => readonly ["/_widgets/ApiKeys/permissions", ...ListOrganizationApiKeyPermissionsParams[]];
1652
- declare const useListOrganizationApiKeyPermissionsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
1653
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>>;
1654
- }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData> & {
1655
- queryKey: DataTag<QueryKey, TData, TError>;
1656
- };
1657
- type ListOrganizationApiKeyPermissionsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>>;
1658
- type ListOrganizationApiKeyPermissionsQueryError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>;
1659
- declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params: undefined | ListOrganizationApiKeyPermissionsParams, options: {
1660
- query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>>, "initialData">;
1661
- }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1662
- queryKey: DataTag<QueryKey, TData, TError>;
1663
- };
1664
- declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
1665
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>>, "initialData">;
1666
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1667
- queryKey: DataTag<QueryKey, TData, TError>;
1668
- };
1669
- declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
1670
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>>;
1671
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1672
- queryKey: DataTag<QueryKey, TData, TError>;
1673
- };
1674
- declare const useDeleteOrganizationApiKeyHook: () => (apiKeyId: string) => Promise<DeleteOrganizationApiKey200>;
1675
- declare const useDeleteOrganizationApiKeyMutationOptions: <TError = ErrorType<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>, TContext = unknown>(options?: {
1676
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
1677
- apiKeyId: string;
1678
- }, TContext>;
1679
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
1680
- apiKeyId: string;
1681
- }, TContext>;
1682
- type DeleteOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>>;
1683
- type DeleteOrganizationApiKeyMutationError = ErrorType<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>;
1684
- declare const useDeleteOrganizationApiKey: <TError = ErrorType<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>, TContext = unknown>(options?: {
1685
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
1686
- apiKeyId: string;
1687
- }, TContext>;
1688
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
1689
- apiKeyId: string;
1690
- }, TContext>;
1691
- declare const useMyDataIntegrationsHook: () => (signal?: AbortSignal) => Promise<DataIntegrationsResponse>;
1692
- declare const getMyDataIntegrationsQueryKey: () => readonly ["/_widgets/DataIntegrations/mine"];
1693
- declare const useMyDataIntegrationsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options?: {
1694
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>>;
1695
- }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData> & {
1752
+ declare const useListDirectoriesHook: () => (signal?: AbortSignal) => Promise<DirectoriesResponse>;
1753
+ declare const getListDirectoriesQueryKey: () => readonly ["/_widgets/directory-sync/directories"];
1754
+ declare const useListDirectoriesQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError = ErrorType<ListDirectories403 | ListDirectories404>>(options?: {
1755
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError, TData>>;
1756
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError, TData> & {
1696
1757
  queryKey: DataTag<QueryKey, TData, TError>;
1697
1758
  };
1698
- type MyDataIntegrationsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>>;
1699
- type MyDataIntegrationsQueryError = ErrorType<MyDataIntegrations403>;
1700
- declare function useMyDataIntegrations<TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options: {
1701
- query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>>, "initialData">;
1759
+ type ListDirectoriesQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>>;
1760
+ type ListDirectoriesQueryError = ErrorType<ListDirectories403 | ListDirectories404>;
1761
+ declare function useListDirectories<TData = Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError = ErrorType<ListDirectories403 | ListDirectories404>>(options: {
1762
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>>, "initialData">;
1702
1763
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1703
1764
  queryKey: DataTag<QueryKey, TData, TError>;
1704
1765
  };
1705
- declare function useMyDataIntegrations<TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options?: {
1706
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>>, "initialData">;
1766
+ declare function useListDirectories<TData = Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError = ErrorType<ListDirectories403 | ListDirectories404>>(options?: {
1767
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>>, "initialData">;
1707
1768
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1708
1769
  queryKey: DataTag<QueryKey, TData, TError>;
1709
1770
  };
1710
- declare function useMyDataIntegrations<TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options?: {
1711
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>>;
1771
+ declare function useListDirectories<TData = Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError = ErrorType<ListDirectories403 | ListDirectories404>>(options?: {
1772
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError, TData>>;
1712
1773
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1713
1774
  queryKey: DataTag<QueryKey, TData, TError>;
1714
1775
  };
1715
- declare const useGetDataIntegrationAuthorizeUrlHook: () => (slug: string, params?: GetDataIntegrationAuthorizeUrlParams, signal?: AbortSignal) => Promise<GetDataIntegrationAuthorizeUrlResponse>;
1716
- declare const getGetDataIntegrationAuthorizeUrlQueryKey: (slug?: string, params?: GetDataIntegrationAuthorizeUrlParams) => readonly [`/_widgets/DataIntegrations/${string}/authorize`, ...GetDataIntegrationAuthorizeUrlParams[]];
1717
- declare const useGetDataIntegrationAuthorizeUrlQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
1718
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>>;
1719
- }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData> & {
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> & {
1720
1781
  queryKey: DataTag<QueryKey, TData, TError>;
1721
1782
  };
1722
- type GetDataIntegrationAuthorizeUrlQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>>;
1723
- type GetDataIntegrationAuthorizeUrlQueryError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>;
1724
- declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params: undefined | GetDataIntegrationAuthorizeUrlParams, options: {
1725
- query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>>, "initialData">;
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">;
1726
1787
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1727
1788
  queryKey: DataTag<QueryKey, TData, TError>;
1728
1789
  };
1729
- declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
1730
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>>, "initialData">;
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">;
1731
1792
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1732
1793
  queryKey: DataTag<QueryKey, TData, TError>;
1733
1794
  };
1734
- declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
1735
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>>;
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>>;
1736
1797
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1737
1798
  queryKey: DataTag<QueryKey, TData, TError>;
1738
1799
  };
1739
- declare const useGetDataInstallationAuthorizationStatusHook: () => (dataIntegrationId: string, state: string, signal?: AbortSignal) => Promise<GetAuthorizationStatusResponse>;
1740
- 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}`];
1741
- declare const useGetDataInstallationAuthorizationStatusQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
1742
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>>;
1743
- }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData> & {
1800
+ /**
1801
+ * Returns the widget settings for the current environment, including enabled authentication methods and branding configuration.
1802
+ */
1803
+ declare const useSettingsHook: () => (signal?: AbortSignal) => Promise<SettingsResponse>;
1804
+ declare const getSettingsQueryKey: () => readonly ["/_widgets/settings"];
1805
+ declare const useSettingsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options?: {
1806
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData>>;
1807
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData> & {
1744
1808
  queryKey: DataTag<QueryKey, TData, TError>;
1745
1809
  };
1746
- type GetDataInstallationAuthorizationStatusQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>>;
1747
- type GetDataInstallationAuthorizationStatusQueryError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>;
1748
- declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options: {
1749
- query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>>, "initialData">;
1810
+ type SettingsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>>;
1811
+ type SettingsQueryError = ErrorType<Settings403>;
1812
+ declare function useSettings<TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options: {
1813
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>>, "initialData">;
1750
1814
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1751
1815
  queryKey: DataTag<QueryKey, TData, TError>;
1752
1816
  };
1753
- declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
1754
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>>, "initialData">;
1817
+ declare function useSettings<TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options?: {
1818
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>>, "initialData">;
1755
1819
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1756
1820
  queryKey: DataTag<QueryKey, TData, TError>;
1757
1821
  };
1758
- declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
1759
- query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>>;
1822
+ declare function useSettings<TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options?: {
1823
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData>>;
1760
1824
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1761
1825
  queryKey: DataTag<QueryKey, TData, TError>;
1762
1826
  };
1763
- declare const useDeleteDataInstallationHook: () => (installationId: string) => Promise<DeleteDataInstallation200>;
1764
- declare const useDeleteDataInstallationMutationOptions: <TError = ErrorType<DeleteDataInstallation403 | DeleteDataInstallation404>, TContext = unknown>(options?: {
1765
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
1766
- installationId: string;
1767
- }, TContext>;
1768
- }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
1769
- installationId: string;
1770
- }, TContext>;
1771
- type DeleteDataInstallationMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>>;
1772
- type DeleteDataInstallationMutationError = ErrorType<DeleteDataInstallation403 | DeleteDataInstallation404>;
1773
- declare const useDeleteDataInstallation: <TError = ErrorType<DeleteDataInstallation403 | DeleteDataInstallation404>, TContext = unknown>(options?: {
1774
- mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
1775
- installationId: string;
1776
- }, TContext>;
1777
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
1778
- installationId: string;
1779
- }, TContext>;
1780
1827
 
1781
- export { type ActiveSession, type ActiveSessionCurrentLocation, type ActiveSessionState, type ActiveSessionsResponse, type AuthenticationInformation403, type AuthenticationInformationQueryError, type AuthenticationInformationQueryResult, type AuthenticationInformationResponse, type AuthenticationInformationResponseData, type AuthenticationInformationResponseDataPasswordSettings, type AuthenticationInformationResponseDataVerificationMethods, type AuthenticationInformationResponseDataVerificationMethodsMfa, AuthenticationInformationResponseDataVerificationMethodsMfaProvider, type AuthenticationInformationResponseDataVerificationMethodsPasskey, type AuthenticationInformationResponseDataVerificationMethodsPasskeyPassKeysItem, AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider, type AuthenticationInformationResponseDataVerificationMethodsPassword, AuthenticationInformationResponseDataVerificationMethodsPasswordProvider, 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, CreateTotpFactorResponseAuthenticationChallengeAllOfObject, type CreateTotpFactorResponseAuthenticationChallengeAllOfThree, type CreateTotpFactorResponseAuthenticationFactor, type CreateTotpFactorResponseAuthenticationFactorAllOf, type CreateTotpFactorResponseAuthenticationFactorAllOfEight, CreateTotpFactorResponseAuthenticationFactorAllOfObject, type CreateTotpFactorResponseAuthenticationFactorAllOfSms, type CreateTotpFactorResponseAuthenticationFactorAllOfTotp, type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf, type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo, CreateTotpFactorResponseAuthenticationFactorAllOfType, type DataInstallation, DataInstallationObject, DataInstallationState, type DataIntegration, DataIntegrationCredentialsType, type DataIntegrationInstallation, DataIntegrationIntegrationType, DataIntegrationObject, DataIntegrationOwnership, 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, 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 InviteMemberMutationBody, type InviteMemberMutationError, type InviteMemberMutationResult, 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 MemberRolesItem, 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, SendVerificationResponseType, type Sessions403, type SessionsQueryError, type SessionsQueryResult, type Settings403, type SettingsQueryError, type SettingsQueryResult, type SettingsResponse, 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, getAuthenticationInformationQueryKey, getGetDataInstallationAuthorizationStatusQueryKey, getGetDataIntegrationAuthorizeUrlQueryKey, 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, 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 };