@workos-inc/widgets 1.8.2 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/dist/cjs/api/api-provider.cjs.map +1 -1
- package/dist/cjs/api/api-provider.d.cts +1 -1
- package/dist/cjs/api/endpoint.cjs +702 -623
- package/dist/cjs/api/endpoint.cjs.map +1 -1
- package/dist/cjs/api/endpoint.d.cts +810 -729
- package/dist/cjs/directory-sync.client.cjs +143 -0
- package/dist/cjs/directory-sync.client.cjs.map +1 -0
- package/dist/cjs/directory-sync.client.d.cts +26 -0
- package/dist/cjs/experimental/api/fetch.cjs +309 -252
- package/dist/cjs/experimental/api/fetch.cjs.map +1 -1
- package/dist/cjs/experimental/api/fetch.d.cts +809 -731
- package/dist/cjs/experimental/api/react-query.cjs +695 -613
- package/dist/cjs/experimental/api/react-query.cjs.map +1 -1
- package/dist/cjs/experimental/api/react-query.d.cts +1355 -1250
- package/dist/cjs/experimental/api/swr.cjs +660 -583
- package/dist/cjs/experimental/api/swr.cjs.map +1 -1
- package/dist/cjs/experimental/api/swr.d.cts +1307 -1212
- package/dist/cjs/index.cjs +5 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +2 -0
- package/dist/cjs/lib/api-keys/api-keys-context.cjs +1 -1
- package/dist/cjs/lib/api-keys/api-keys-context.cjs.map +1 -1
- package/dist/cjs/lib/api-keys/api-keys-table.cjs +7 -5
- package/dist/cjs/lib/api-keys/api-keys-table.cjs.map +1 -1
- package/dist/cjs/lib/directory-sync.cjs +288 -0
- package/dist/cjs/lib/directory-sync.cjs.map +1 -0
- package/dist/cjs/lib/directory-sync.d.cts +72 -0
- package/dist/cjs/lib/identity-providers.cjs +57 -1
- package/dist/cjs/lib/identity-providers.cjs.map +1 -1
- package/dist/cjs/lib/identity-providers.d.cts +5 -3
- package/dist/cjs/lib/pipes.cjs +9 -9
- package/dist/cjs/lib/pipes.cjs.map +1 -1
- package/dist/cjs/lib/reset-mfa-dialog.cjs +2 -1
- package/dist/cjs/lib/reset-mfa-dialog.cjs.map +1 -1
- package/dist/cjs/lib/use-permissions.cjs.map +1 -1
- package/dist/cjs/lib/use-permissions.d.cts +1 -1
- package/dist/cjs/lib/users-management-context.cjs +1 -1
- package/dist/cjs/lib/users-management-context.cjs.map +1 -1
- package/dist/cjs/lib/users-management.cjs +3 -3
- package/dist/cjs/lib/users-management.cjs.map +1 -1
- package/dist/cjs/lib/utils.cjs +9 -0
- package/dist/cjs/lib/utils.cjs.map +1 -1
- package/dist/cjs/lib/utils.d.cts +16 -2
- package/dist/esm/api/api-provider.d.ts +1 -1
- package/dist/esm/api/api-provider.js.map +1 -1
- package/dist/esm/api/endpoint.d.ts +810 -729
- package/dist/esm/api/endpoint.js +691 -618
- package/dist/esm/api/endpoint.js.map +1 -1
- package/dist/esm/directory-sync.client.d.ts +26 -0
- package/dist/esm/directory-sync.client.js +121 -0
- package/dist/esm/directory-sync.client.js.map +1 -0
- package/dist/esm/experimental/api/fetch.d.ts +809 -731
- package/dist/esm/experimental/api/fetch.js +300 -247
- package/dist/esm/experimental/api/fetch.js.map +1 -1
- package/dist/esm/experimental/api/react-query.d.ts +1355 -1250
- package/dist/esm/experimental/api/react-query.js +683 -608
- package/dist/esm/experimental/api/react-query.js.map +1 -1
- package/dist/esm/experimental/api/swr.d.ts +1307 -1212
- package/dist/esm/experimental/api/swr.js +649 -578
- package/dist/esm/experimental/api/swr.js.map +1 -1
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lib/api-keys/api-keys-context.js +1 -1
- package/dist/esm/lib/api-keys/api-keys-context.js.map +1 -1
- package/dist/esm/lib/api-keys/api-keys-table.js +7 -5
- package/dist/esm/lib/api-keys/api-keys-table.js.map +1 -1
- package/dist/esm/lib/directory-sync.d.ts +72 -0
- package/dist/esm/lib/directory-sync.js +259 -0
- package/dist/esm/lib/directory-sync.js.map +1 -0
- package/dist/esm/lib/identity-providers.d.ts +5 -3
- package/dist/esm/lib/identity-providers.js +55 -1
- package/dist/esm/lib/identity-providers.js.map +1 -1
- package/dist/esm/lib/pipes.js +9 -10
- package/dist/esm/lib/pipes.js.map +1 -1
- package/dist/esm/lib/reset-mfa-dialog.js +2 -1
- package/dist/esm/lib/reset-mfa-dialog.js.map +1 -1
- package/dist/esm/lib/use-permissions.d.ts +1 -1
- package/dist/esm/lib/use-permissions.js.map +1 -1
- package/dist/esm/lib/users-management-context.js +1 -1
- package/dist/esm/lib/users-management-context.js.map +1 -1
- package/dist/esm/lib/users-management.js +5 -4
- package/dist/esm/lib/users-management.js.map +1 -1
- package/dist/esm/lib/utils.d.ts +16 -2
- package/dist/esm/lib/utils.js +8 -0
- package/dist/esm/lib/utils.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { UseQueryOptions, DataTag, QueryKey, DefinedInitialDataOptions,
|
|
2
|
-
import {
|
|
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,101 +9,107 @@ declare const MemberStatus: {
|
|
|
8
9
|
readonly InviteRevoked: "InviteRevoked";
|
|
9
10
|
readonly NoInvite: "NoInvite";
|
|
10
11
|
};
|
|
11
|
-
type
|
|
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 =
|
|
19
|
-
type
|
|
19
|
+
type MemberActions = MemberActionsItem[];
|
|
20
|
+
type MemberProfilePictureUrl = string | null;
|
|
21
|
+
type MemberFirstName = string | null;
|
|
22
|
+
type MemberLastName = string | null;
|
|
23
|
+
type MemberLastActivityAt = string | null;
|
|
24
|
+
type MemberIsLoggedInUser = true | null;
|
|
25
|
+
type MemberRolesOneOfItemDescription = string | null;
|
|
26
|
+
type MemberRolesOneOfItem = {
|
|
20
27
|
name: string;
|
|
21
28
|
slug: string;
|
|
22
|
-
|
|
23
|
-
description?: string | null;
|
|
29
|
+
description?: MemberRolesOneOfItemDescription;
|
|
24
30
|
};
|
|
31
|
+
type MemberRoles = MemberRolesOneOfItem[] | null;
|
|
25
32
|
interface Member {
|
|
26
33
|
id: string;
|
|
27
34
|
email: string;
|
|
28
35
|
emailVerified: boolean;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
/** @nullable */
|
|
34
|
-
lastName?: string | null;
|
|
36
|
+
profilePictureUrl?: MemberProfilePictureUrl;
|
|
37
|
+
firstName?: MemberFirstName;
|
|
38
|
+
lastName?: MemberLastName;
|
|
39
|
+
/** An ISO 8601 timestamp. */
|
|
35
40
|
createdAt: string;
|
|
36
|
-
|
|
37
|
-
lastActivityAt?: string | null;
|
|
41
|
+
lastActivityAt?: MemberLastActivityAt;
|
|
38
42
|
status: MemberStatus;
|
|
39
43
|
actions: MemberActions;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
/** @nullable */
|
|
43
|
-
roles?: MemberRolesItem[] | null;
|
|
44
|
+
isLoggedInUser?: MemberIsLoggedInUser;
|
|
45
|
+
roles?: MemberRoles;
|
|
44
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* An object ID that defines your place in the list. When the ID is not present, you are at the start of the list.
|
|
49
|
+
*/
|
|
50
|
+
type ListMetadataBefore = string | null;
|
|
51
|
+
/**
|
|
52
|
+
* An object ID that defines your place in the list. When the ID is not present, you are at the end of the list.
|
|
53
|
+
*/
|
|
54
|
+
type ListMetadataAfter = string | null;
|
|
45
55
|
interface ListMetadata {
|
|
46
|
-
/**
|
|
47
|
-
before
|
|
48
|
-
/**
|
|
49
|
-
after
|
|
56
|
+
/** An object ID that defines your place in the list. When the ID is not present, you are at the start of the list. */
|
|
57
|
+
before: ListMetadataBefore;
|
|
58
|
+
/** An object ID that defines your place in the list. When the ID is not present, you are at the end of the list. */
|
|
59
|
+
after: ListMetadataAfter;
|
|
50
60
|
}
|
|
61
|
+
type MemberRoleDescription = string | null;
|
|
51
62
|
interface MemberRole {
|
|
52
63
|
name: string;
|
|
53
64
|
slug: string;
|
|
54
65
|
default: boolean;
|
|
55
|
-
|
|
56
|
-
description?: string | null;
|
|
66
|
+
description?: MemberRoleDescription;
|
|
57
67
|
}
|
|
58
68
|
interface RolesAndConfigResponse {
|
|
59
69
|
roles: MemberRole[];
|
|
60
70
|
multipleRolesEnabled: boolean;
|
|
61
71
|
}
|
|
72
|
+
type OrganizationInfoFavicon = string | null;
|
|
62
73
|
interface OrganizationInfo {
|
|
63
74
|
id: string;
|
|
64
75
|
name: string;
|
|
65
76
|
current: boolean;
|
|
66
|
-
|
|
67
|
-
favicon?: string | null;
|
|
77
|
+
favicon?: OrganizationInfoFavicon;
|
|
68
78
|
}
|
|
69
79
|
interface OrganizationsResponse {
|
|
70
80
|
data: OrganizationInfo[];
|
|
71
81
|
}
|
|
82
|
+
type OAuthProfileEmail = string | null;
|
|
83
|
+
type OAuthProfileFirstName = string | null;
|
|
84
|
+
type OAuthProfileLastName = string | null;
|
|
85
|
+
type OAuthProfileProfilePictureUrl = string | null;
|
|
86
|
+
type OAuthProfileLastLoginAt = string | null;
|
|
72
87
|
interface OAuthProfile {
|
|
73
88
|
id: string;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
lastName?: string | null;
|
|
80
|
-
/** @nullable */
|
|
81
|
-
profilePictureUrl?: string | null;
|
|
82
|
-
/** @nullable */
|
|
83
|
-
lastLoginAt?: string | null;
|
|
89
|
+
email?: OAuthProfileEmail;
|
|
90
|
+
firstName?: OAuthProfileFirstName;
|
|
91
|
+
lastName?: OAuthProfileLastName;
|
|
92
|
+
profilePictureUrl?: OAuthProfileProfilePictureUrl;
|
|
93
|
+
lastLoginAt?: OAuthProfileLastLoginAt;
|
|
84
94
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
type
|
|
95
|
+
type MeFirstName = string | null;
|
|
96
|
+
type MeLastName = string | null;
|
|
97
|
+
type MeLocale = string | null;
|
|
98
|
+
type MeProfilePictureUrl = string | null;
|
|
99
|
+
type MeOauthProfilesOneOf = {
|
|
89
100
|
AppleOAuth?: OAuthProfile;
|
|
90
101
|
GithubOAuth?: OAuthProfile;
|
|
91
102
|
GoogleOAuth?: OAuthProfile;
|
|
92
103
|
MicrosoftOAuth?: OAuthProfile;
|
|
93
|
-
}
|
|
104
|
+
};
|
|
105
|
+
type MeOauthProfiles = MeOauthProfilesOneOf | null;
|
|
94
106
|
interface Me {
|
|
95
107
|
id: string;
|
|
96
108
|
email: string;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
/** @nullable */
|
|
102
|
-
locale?: string | null;
|
|
103
|
-
/** @nullable */
|
|
104
|
-
profilePictureUrl?: string | null;
|
|
105
|
-
/** @nullable */
|
|
109
|
+
firstName?: MeFirstName;
|
|
110
|
+
lastName?: MeLastName;
|
|
111
|
+
locale?: MeLocale;
|
|
112
|
+
profilePictureUrl?: MeProfilePictureUrl;
|
|
106
113
|
oauthProfiles?: MeOauthProfiles;
|
|
107
114
|
}
|
|
108
115
|
type CreateTotpFactorResponseAuthenticationFactorAllOfObject = (typeof CreateTotpFactorResponseAuthenticationFactorAllOfObject)[keyof typeof CreateTotpFactorResponseAuthenticationFactorAllOfObject];
|
|
@@ -116,63 +123,54 @@ declare const CreateTotpFactorResponseAuthenticationFactorAllOfType: {
|
|
|
116
123
|
readonly totp: "totp";
|
|
117
124
|
readonly webauthn: "webauthn";
|
|
118
125
|
};
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
*/
|
|
122
|
-
type CreateTotpFactorResponseAuthenticationFactorAllOfSms = {
|
|
126
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfUserId = string | null;
|
|
127
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfSmsOneOf = {
|
|
123
128
|
phone_number: string;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
* @nullable
|
|
127
|
-
*/
|
|
129
|
+
};
|
|
130
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfSms = CreateTotpFactorResponseAuthenticationFactorAllOfSmsOneOf | null;
|
|
128
131
|
type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf = {
|
|
129
132
|
issuer: string;
|
|
130
133
|
user: string;
|
|
131
134
|
secret: string;
|
|
132
135
|
qr_code: string;
|
|
133
136
|
uri: string;
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* @nullable
|
|
137
|
-
*/
|
|
137
|
+
};
|
|
138
138
|
type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo = {
|
|
139
139
|
issuer: string;
|
|
140
140
|
user: string;
|
|
141
|
-
}
|
|
142
|
-
type CreateTotpFactorResponseAuthenticationFactorAllOfTotp = CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf | CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo;
|
|
141
|
+
};
|
|
142
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfTotp = CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf | CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo | null;
|
|
143
143
|
type CreateTotpFactorResponseAuthenticationFactorAllOf = {
|
|
144
144
|
object: CreateTotpFactorResponseAuthenticationFactorAllOfObject;
|
|
145
145
|
id: string;
|
|
146
146
|
type: CreateTotpFactorResponseAuthenticationFactorAllOfType;
|
|
147
|
-
|
|
148
|
-
user_id?: string | null;
|
|
149
|
-
/** @nullable */
|
|
147
|
+
user_id?: CreateTotpFactorResponseAuthenticationFactorAllOfUserId;
|
|
150
148
|
sms?: CreateTotpFactorResponseAuthenticationFactorAllOfSms;
|
|
151
149
|
totp?: CreateTotpFactorResponseAuthenticationFactorAllOfTotp;
|
|
152
150
|
};
|
|
153
|
-
type
|
|
151
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfOnezero = {
|
|
154
152
|
created_at: string;
|
|
155
153
|
updated_at: string;
|
|
156
154
|
};
|
|
157
|
-
type CreateTotpFactorResponseAuthenticationFactor = CreateTotpFactorResponseAuthenticationFactorAllOf &
|
|
155
|
+
type CreateTotpFactorResponseAuthenticationFactor = CreateTotpFactorResponseAuthenticationFactorAllOf & CreateTotpFactorResponseAuthenticationFactorAllOfOnezero;
|
|
158
156
|
type CreateTotpFactorResponseAuthenticationChallengeAllOfObject = (typeof CreateTotpFactorResponseAuthenticationChallengeAllOfObject)[keyof typeof CreateTotpFactorResponseAuthenticationChallengeAllOfObject];
|
|
159
157
|
declare const CreateTotpFactorResponseAuthenticationChallengeAllOfObject: {
|
|
160
158
|
readonly authentication_challenge: "authentication_challenge";
|
|
161
159
|
};
|
|
160
|
+
type CreateTotpFactorResponseAuthenticationChallengeAllOfExpiresAt = string | null;
|
|
161
|
+
type CreateTotpFactorResponseAuthenticationChallengeAllOfCode = string | null;
|
|
162
162
|
type CreateTotpFactorResponseAuthenticationChallengeAllOf = {
|
|
163
163
|
object: CreateTotpFactorResponseAuthenticationChallengeAllOfObject;
|
|
164
164
|
id: string;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
/** @nullable */
|
|
168
|
-
code?: string | null;
|
|
165
|
+
expires_at?: CreateTotpFactorResponseAuthenticationChallengeAllOfExpiresAt;
|
|
166
|
+
code?: CreateTotpFactorResponseAuthenticationChallengeAllOfCode;
|
|
169
167
|
authentication_factor_id: string;
|
|
170
168
|
};
|
|
171
|
-
type
|
|
169
|
+
type CreateTotpFactorResponseAuthenticationChallengeAllOfFive = {
|
|
172
170
|
created_at: string;
|
|
173
171
|
updated_at: string;
|
|
174
172
|
};
|
|
175
|
-
type CreateTotpFactorResponseAuthenticationChallenge = CreateTotpFactorResponseAuthenticationChallengeAllOf &
|
|
173
|
+
type CreateTotpFactorResponseAuthenticationChallenge = CreateTotpFactorResponseAuthenticationChallengeAllOf & CreateTotpFactorResponseAuthenticationChallengeAllOfFive;
|
|
176
174
|
interface CreateTotpFactorResponse {
|
|
177
175
|
authenticationFactor: CreateTotpFactorResponseAuthenticationFactor;
|
|
178
176
|
authenticationChallenge: CreateTotpFactorResponseAuthenticationChallenge;
|
|
@@ -181,57 +179,48 @@ interface VerifyTotpFactorRequest {
|
|
|
181
179
|
code: string;
|
|
182
180
|
authenticationChallengeId: string;
|
|
183
181
|
}
|
|
184
|
-
type
|
|
185
|
-
declare const
|
|
182
|
+
type AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider];
|
|
183
|
+
declare const AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider: {
|
|
186
184
|
readonly MFA: "MFA";
|
|
187
185
|
};
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
type AuthenticationInformationResponseDataVerificationMethodsMfa = {
|
|
192
|
-
provider: AuthenticationInformationResponseDataVerificationMethodsMfaProvider;
|
|
186
|
+
type AuthenticationInformationResponseDataVerificationMethodsMfaOneOfLastUsed = string | null;
|
|
187
|
+
type AuthenticationInformationResponseDataVerificationMethodsMfaOneOf = {
|
|
188
|
+
provider: AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider;
|
|
193
189
|
isSetUp: boolean;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
type
|
|
198
|
-
declare const
|
|
190
|
+
lastUsed?: AuthenticationInformationResponseDataVerificationMethodsMfaOneOfLastUsed;
|
|
191
|
+
};
|
|
192
|
+
type AuthenticationInformationResponseDataVerificationMethodsMfa = AuthenticationInformationResponseDataVerificationMethodsMfaOneOf | null;
|
|
193
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider];
|
|
194
|
+
declare const AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider: {
|
|
199
195
|
readonly Password: "Password";
|
|
200
196
|
};
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
type AuthenticationInformationResponseDataVerificationMethodsPassword = {
|
|
205
|
-
provider: AuthenticationInformationResponseDataVerificationMethodsPasswordProvider;
|
|
197
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfLastUsed = string | null;
|
|
198
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOf = {
|
|
199
|
+
provider: AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider;
|
|
206
200
|
isSetUp: boolean;
|
|
207
|
-
|
|
208
|
-
lastUsed?: string | null;
|
|
201
|
+
lastUsed?: AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfLastUsed;
|
|
209
202
|
isCurrentSession: boolean;
|
|
210
|
-
}
|
|
211
|
-
type
|
|
212
|
-
|
|
203
|
+
};
|
|
204
|
+
type AuthenticationInformationResponseDataVerificationMethodsPassword = AuthenticationInformationResponseDataVerificationMethodsPasswordOneOf | null;
|
|
205
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider];
|
|
206
|
+
declare const AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider: {
|
|
213
207
|
readonly Passkey: "Passkey";
|
|
214
208
|
};
|
|
215
|
-
type
|
|
209
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfLastUsed = string | null;
|
|
210
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfPassKeysItem = {
|
|
216
211
|
id: string;
|
|
217
212
|
};
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
*/
|
|
221
|
-
type AuthenticationInformationResponseDataVerificationMethodsPasskey = {
|
|
222
|
-
provider: AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider;
|
|
213
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOf = {
|
|
214
|
+
provider: AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider;
|
|
223
215
|
isSetUp: boolean;
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
passKeys: AuthenticationInformationResponseDataVerificationMethodsPasskeyPassKeysItem[];
|
|
216
|
+
lastUsed?: AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfLastUsed;
|
|
217
|
+
passKeys: AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfPassKeysItem[];
|
|
227
218
|
isCurrentSession: boolean;
|
|
228
|
-
}
|
|
219
|
+
};
|
|
220
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskey = AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOf | null;
|
|
229
221
|
type AuthenticationInformationResponseDataVerificationMethods = {
|
|
230
|
-
/** @nullable */
|
|
231
222
|
Mfa?: AuthenticationInformationResponseDataVerificationMethodsMfa;
|
|
232
|
-
/** @nullable */
|
|
233
223
|
Password?: AuthenticationInformationResponseDataVerificationMethodsPassword;
|
|
234
|
-
/** @nullable */
|
|
235
224
|
Passkey?: AuthenticationInformationResponseDataVerificationMethodsPasskey;
|
|
236
225
|
};
|
|
237
226
|
type AuthenticationInformationResponseDataPasswordSettings = {
|
|
@@ -259,29 +248,30 @@ interface UpdatePasswordRequest {
|
|
|
259
248
|
interface RevokeAllSessionsRequest {
|
|
260
249
|
currentSessionId: string;
|
|
261
250
|
}
|
|
251
|
+
type ActiveSessionIpAddress = string | null;
|
|
252
|
+
type ActiveSessionUserAgent = string | null;
|
|
253
|
+
type ActiveSessionOrganizationId = string | null;
|
|
254
|
+
type ActiveSessionStateExpiresAt = string | null;
|
|
262
255
|
type ActiveSessionState = {
|
|
263
256
|
tag: string;
|
|
264
|
-
|
|
265
|
-
expiresAt?: string | null;
|
|
257
|
+
expiresAt?: ActiveSessionStateExpiresAt;
|
|
266
258
|
};
|
|
267
|
-
|
|
268
|
-
* @nullable
|
|
269
|
-
*/
|
|
270
|
-
type ActiveSessionCurrentLocation = {
|
|
259
|
+
type ActiveSessionCurrentLocationOneOf = {
|
|
271
260
|
cityName: string;
|
|
272
261
|
countryISOCode: string;
|
|
273
|
-
}
|
|
262
|
+
};
|
|
263
|
+
type ActiveSessionCurrentLocation = ActiveSessionCurrentLocationOneOf | null;
|
|
264
|
+
type ActiveSessionImpersonatorUserId = string | null;
|
|
265
|
+
type ActiveSessionImpersonatorEmail = string | null;
|
|
266
|
+
type ActiveSessionImpersonationReason = string | null;
|
|
267
|
+
type ActiveSessionLastActivityAt = string | null;
|
|
274
268
|
interface ActiveSession {
|
|
275
269
|
id: string;
|
|
276
270
|
userlandUserId: string;
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
userAgent?: string | null;
|
|
281
|
-
/** @nullable */
|
|
282
|
-
organizationId?: string | null;
|
|
271
|
+
ipAddress?: ActiveSessionIpAddress;
|
|
272
|
+
userAgent?: ActiveSessionUserAgent;
|
|
273
|
+
organizationId?: ActiveSessionOrganizationId;
|
|
283
274
|
state: ActiveSessionState;
|
|
284
|
-
/** @nullable */
|
|
285
275
|
currentLocation?: ActiveSessionCurrentLocation;
|
|
286
276
|
usedSsoAuth: boolean;
|
|
287
277
|
usedPasswordAuth: boolean;
|
|
@@ -297,14 +287,10 @@ interface ActiveSession {
|
|
|
297
287
|
usedSlackOauth: boolean;
|
|
298
288
|
usedXeroOauth: boolean;
|
|
299
289
|
usedMagicAuth: boolean;
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
/** @nullable */
|
|
305
|
-
impersonationReason?: string | null;
|
|
306
|
-
/** @nullable */
|
|
307
|
-
lastActivityAt?: string | null;
|
|
290
|
+
impersonatorUserId?: ActiveSessionImpersonatorUserId;
|
|
291
|
+
impersonatorEmail?: ActiveSessionImpersonatorEmail;
|
|
292
|
+
impersonationReason?: ActiveSessionImpersonationReason;
|
|
293
|
+
lastActivityAt?: ActiveSessionLastActivityAt;
|
|
308
294
|
createdAt: string;
|
|
309
295
|
updatedAt: string;
|
|
310
296
|
}
|
|
@@ -345,17 +331,17 @@ type SettingsResponseObject = (typeof SettingsResponseObject)[keyof typeof Setti
|
|
|
345
331
|
declare const SettingsResponseObject: {
|
|
346
332
|
readonly settings: "settings";
|
|
347
333
|
};
|
|
334
|
+
type SettingsResponseLogoDarkIconPath = string | null;
|
|
335
|
+
type SettingsResponseLogoDarkPath = string | null;
|
|
336
|
+
type SettingsResponseLogoLightIconPath = string | null;
|
|
337
|
+
type SettingsResponseLogoLightPath = string | null;
|
|
348
338
|
interface SettingsResponse {
|
|
349
339
|
object: SettingsResponseObject;
|
|
350
340
|
authkitOrigin: string;
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
/** @nullable */
|
|
356
|
-
logoLightIconPath?: string | null;
|
|
357
|
-
/** @nullable */
|
|
358
|
-
logoLightPath?: string | null;
|
|
341
|
+
logoDarkIconPath?: SettingsResponseLogoDarkIconPath;
|
|
342
|
+
logoDarkPath?: SettingsResponseLogoDarkPath;
|
|
343
|
+
logoLightIconPath?: SettingsResponseLogoLightIconPath;
|
|
344
|
+
logoLightPath?: SettingsResponseLogoLightPath;
|
|
359
345
|
teamName: string;
|
|
360
346
|
}
|
|
361
347
|
type OrganizationDomainState = (typeof OrganizationDomainState)[keyof typeof OrganizationDomainState];
|
|
@@ -373,28 +359,28 @@ declare const DomainVerificationNameServer: {
|
|
|
373
359
|
readonly GoDaddy: "GoDaddy";
|
|
374
360
|
readonly Other: "Other";
|
|
375
361
|
};
|
|
362
|
+
type OrganizationDomainVerificationPrefix = string | null;
|
|
363
|
+
type OrganizationDomainVerificationToken = string | null;
|
|
364
|
+
type OrganizationDomainSubdomain = string | null;
|
|
376
365
|
interface OrganizationDomain {
|
|
377
366
|
id: string;
|
|
378
367
|
domain: string;
|
|
379
368
|
state: OrganizationDomainState;
|
|
380
369
|
nameServer: DomainVerificationNameServer;
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
verificationToken?: string | null;
|
|
385
|
-
/** @nullable */
|
|
386
|
-
subdomain?: string | null;
|
|
370
|
+
verificationPrefix?: OrganizationDomainVerificationPrefix;
|
|
371
|
+
verificationToken?: OrganizationDomainVerificationToken;
|
|
372
|
+
subdomain?: OrganizationDomainSubdomain;
|
|
387
373
|
createdAt: string;
|
|
388
374
|
}
|
|
375
|
+
type X509CertificateJSONNotBefore = string | null;
|
|
376
|
+
type X509CertificateJSONNotAfter = string | null;
|
|
377
|
+
type X509CertificateJSONLastExpiryEventSentAt = string | null;
|
|
389
378
|
interface X509CertificateJSON {
|
|
390
379
|
id: string;
|
|
391
380
|
value: string;
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
notAfter?: string | null;
|
|
396
|
-
/** @nullable */
|
|
397
|
-
lastExpiryEventSentAt?: string | null;
|
|
381
|
+
notBefore?: X509CertificateJSONNotBefore;
|
|
382
|
+
notAfter?: X509CertificateJSONNotAfter;
|
|
383
|
+
lastExpiryEventSentAt?: X509CertificateJSONLastExpiryEventSentAt;
|
|
398
384
|
}
|
|
399
385
|
type SamlSessionState = (typeof SamlSessionState)[keyof typeof SamlSessionState];
|
|
400
386
|
declare const SamlSessionState: {
|
|
@@ -521,13 +507,13 @@ type SsoConnectionAnyOfEightAllOfSix = {
|
|
|
521
507
|
};
|
|
522
508
|
type SsoConnectionAnyOfEight = SsoConnectionAnyOfEightAllOf & SsoConnectionAnyOfEightAllOfSix;
|
|
523
509
|
type SsoConnection = SsoConnectionAnyOf | SsoConnectionAnyOfEight;
|
|
510
|
+
type ListOrganizationApiKeysResponseDataLastUsedAt = string | null;
|
|
524
511
|
interface ListOrganizationApiKeysResponseData {
|
|
525
512
|
id: string;
|
|
526
513
|
name: string;
|
|
527
514
|
obfuscatedValue: string;
|
|
528
515
|
createdAt: string;
|
|
529
|
-
|
|
530
|
-
lastUsedAt?: string | null;
|
|
516
|
+
lastUsedAt?: ListOrganizationApiKeysResponseDataLastUsedAt;
|
|
531
517
|
permissions: string[];
|
|
532
518
|
}
|
|
533
519
|
type ListOrganizationApiKeysResponseListMetadata = {
|
|
@@ -536,7 +522,7 @@ type ListOrganizationApiKeysResponseListMetadata = {
|
|
|
536
522
|
};
|
|
537
523
|
interface ListOrganizationApiKeysResponse {
|
|
538
524
|
data: ListOrganizationApiKeysResponseData[];
|
|
539
|
-
|
|
525
|
+
list_metadata: ListOrganizationApiKeysResponseListMetadata;
|
|
540
526
|
}
|
|
541
527
|
interface CreateOrganizationApiKeyRequest {
|
|
542
528
|
name: string;
|
|
@@ -550,12 +536,12 @@ interface CreateOrganizationApiKeyResponse {
|
|
|
550
536
|
name: string;
|
|
551
537
|
permissions: string[];
|
|
552
538
|
}
|
|
539
|
+
type ListOrganizationApiKeyPermissionDescription = string | null;
|
|
553
540
|
interface ListOrganizationApiKeyPermission {
|
|
554
541
|
id: string;
|
|
555
542
|
slug: string;
|
|
556
543
|
name: string;
|
|
557
|
-
|
|
558
|
-
description?: string | null;
|
|
544
|
+
description?: ListOrganizationApiKeyPermissionDescription;
|
|
559
545
|
}
|
|
560
546
|
type ListOrganizationApiKeyPermissionsResponseListMetadata = {
|
|
561
547
|
before?: string;
|
|
@@ -563,32 +549,42 @@ type ListOrganizationApiKeyPermissionsResponseListMetadata = {
|
|
|
563
549
|
};
|
|
564
550
|
interface ListOrganizationApiKeyPermissionsResponse {
|
|
565
551
|
data: ListOrganizationApiKeyPermission[];
|
|
566
|
-
|
|
552
|
+
list_metadata: ListOrganizationApiKeyPermissionsResponseListMetadata;
|
|
567
553
|
}
|
|
568
|
-
declare const
|
|
554
|
+
declare const DataInstallationAllOfObject: {
|
|
569
555
|
readonly data_installation: "data_installation";
|
|
570
556
|
readonly connected_account: "connected_account";
|
|
571
557
|
};
|
|
572
|
-
|
|
558
|
+
type DataInstallationAllOfUserId = string | null;
|
|
559
|
+
type DataInstallationAllOfOrganizationId = string | null;
|
|
560
|
+
declare const DataInstallationAllOfState: {
|
|
573
561
|
readonly connected: "connected";
|
|
574
562
|
readonly needs_reauthorization: "needs_reauthorization";
|
|
575
563
|
};
|
|
576
|
-
|
|
577
|
-
object: (typeof
|
|
564
|
+
type DataInstallationAllOf = {
|
|
565
|
+
object: (typeof DataInstallationAllOfObject)[keyof typeof DataInstallationAllOfObject];
|
|
578
566
|
id: string;
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
/** @nullable */
|
|
582
|
-
organizationId?: string | null;
|
|
567
|
+
user_id?: DataInstallationAllOfUserId;
|
|
568
|
+
organization_id?: DataInstallationAllOfOrganizationId;
|
|
583
569
|
scopes: string[];
|
|
584
|
-
state: (typeof
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
}
|
|
570
|
+
state: (typeof DataInstallationAllOfState)[keyof typeof DataInstallationAllOfState];
|
|
571
|
+
created_at: string;
|
|
572
|
+
updated_at: string;
|
|
573
|
+
};
|
|
574
|
+
type DataInstallationAllOfSixUserlandUserId = string | null;
|
|
575
|
+
type DataInstallationAllOfSixOrganizationId = string | null;
|
|
576
|
+
type DataInstallationAllOfSix = {
|
|
577
|
+
userlandUserId?: DataInstallationAllOfSixUserlandUserId;
|
|
578
|
+
organizationId?: DataInstallationAllOfSixOrganizationId;
|
|
579
|
+
createdAt?: string;
|
|
580
|
+
updatedAt?: string;
|
|
581
|
+
};
|
|
582
|
+
type DataInstallation = DataInstallationAllOf & DataInstallationAllOfSix;
|
|
588
583
|
type DataIntegrationObject = (typeof DataIntegrationObject)[keyof typeof DataIntegrationObject];
|
|
589
584
|
declare const DataIntegrationObject: {
|
|
590
585
|
readonly data_integration: "data_integration";
|
|
591
586
|
};
|
|
587
|
+
type DataIntegrationDescription = string | null;
|
|
592
588
|
declare const DataIntegrationIntegrationType: {
|
|
593
589
|
readonly asana: "asana";
|
|
594
590
|
readonly box: "box";
|
|
@@ -636,19 +632,18 @@ declare const DataIntegrationCredentialsType: {
|
|
|
636
632
|
readonly shared: "shared";
|
|
637
633
|
readonly custom: "custom";
|
|
638
634
|
};
|
|
635
|
+
type DataIntegrationScopes = string[] | null;
|
|
639
636
|
type DataIntegrationInstallation = DataInstallation | null;
|
|
640
637
|
interface DataIntegration {
|
|
641
638
|
object: DataIntegrationObject;
|
|
642
639
|
id: string;
|
|
643
640
|
name: string;
|
|
644
|
-
|
|
645
|
-
description?: string | null;
|
|
641
|
+
description?: DataIntegrationDescription;
|
|
646
642
|
slug: string;
|
|
647
643
|
integrationType: (typeof DataIntegrationIntegrationType)[keyof typeof DataIntegrationIntegrationType];
|
|
648
644
|
ownership: (typeof DataIntegrationOwnership)[keyof typeof DataIntegrationOwnership];
|
|
649
645
|
credentialsType: (typeof DataIntegrationCredentialsType)[keyof typeof DataIntegrationCredentialsType];
|
|
650
|
-
|
|
651
|
-
scopes?: string[] | null;
|
|
646
|
+
scopes?: DataIntegrationScopes;
|
|
652
647
|
createdAt: string;
|
|
653
648
|
updatedAt: string;
|
|
654
649
|
installation?: DataIntegrationInstallation;
|
|
@@ -667,41 +662,151 @@ type GetDataIntegrationAuthorizeUrlResponse = GetDataIntegrationAuthorizeUrlResp
|
|
|
667
662
|
interface GetAuthorizationStatusResponse {
|
|
668
663
|
isConnecting: boolean;
|
|
669
664
|
}
|
|
670
|
-
type
|
|
665
|
+
type DirectoryType = (typeof DirectoryType)[keyof typeof DirectoryType];
|
|
666
|
+
declare const DirectoryType: {
|
|
667
|
+
readonly azure_scim_v20: "azure scim v2.0";
|
|
668
|
+
readonly bamboohr: "bamboohr";
|
|
669
|
+
readonly breathe_hr: "breathe hr";
|
|
670
|
+
readonly cezanne_hr: "cezanne hr";
|
|
671
|
+
readonly cyberark_scim_v20: "cyberark scim v2.0";
|
|
672
|
+
readonly fourth_hr: "fourth hr";
|
|
673
|
+
readonly generic_scim_v20: "generic scim v2.0";
|
|
674
|
+
readonly gsuite_directory: "gsuite directory";
|
|
675
|
+
readonly gusto: "gusto";
|
|
676
|
+
readonly hibob: "hibob";
|
|
677
|
+
readonly jump_cloud_scim_v20: "jump cloud scim v2.0";
|
|
678
|
+
readonly okta_scim_v20: "okta scim v2.0";
|
|
679
|
+
readonly onelogin_scim_v20: "onelogin scim v2.0";
|
|
680
|
+
readonly people_hr: "people hr";
|
|
681
|
+
readonly personio: "personio";
|
|
682
|
+
readonly pingfederate_scim_v20: "pingfederate scim v2.0";
|
|
683
|
+
readonly rippling: "rippling";
|
|
684
|
+
readonly rippling_scim_v20: "rippling scim v2.0";
|
|
685
|
+
readonly s3: "s3";
|
|
686
|
+
readonly sailpoint_scim_v20: "sailpoint scim v2.0";
|
|
687
|
+
readonly sftp: "sftp";
|
|
688
|
+
readonly sftp_workday: "sftp workday";
|
|
689
|
+
readonly workday: "workday";
|
|
690
|
+
};
|
|
691
|
+
type DirectoryState = (typeof DirectoryState)[keyof typeof DirectoryState];
|
|
692
|
+
declare const DirectoryState: {
|
|
693
|
+
readonly requires_type: "requires_type";
|
|
694
|
+
readonly linked: "linked";
|
|
695
|
+
readonly validating: "validating";
|
|
696
|
+
readonly invalid_credentials: "invalid_credentials";
|
|
697
|
+
readonly unlinked: "unlinked";
|
|
698
|
+
readonly deleting: "deleting";
|
|
699
|
+
};
|
|
700
|
+
interface DirectoryUsersMetadata {
|
|
701
|
+
active: number;
|
|
702
|
+
inactive: number;
|
|
703
|
+
}
|
|
704
|
+
interface DirectoryMetadata {
|
|
705
|
+
users: DirectoryUsersMetadata;
|
|
706
|
+
groups: number;
|
|
707
|
+
}
|
|
708
|
+
interface Directory {
|
|
709
|
+
id: string;
|
|
710
|
+
name: string;
|
|
711
|
+
type: DirectoryType;
|
|
712
|
+
state: DirectoryState;
|
|
713
|
+
createdAt: string;
|
|
714
|
+
updatedAt: string;
|
|
715
|
+
metadata: DirectoryMetadata;
|
|
716
|
+
}
|
|
717
|
+
interface DirectoriesResponse {
|
|
718
|
+
data: Directory[];
|
|
719
|
+
link: string;
|
|
720
|
+
}
|
|
721
|
+
type CreateOrganizationApiKey400 = {
|
|
722
|
+
message: string;
|
|
723
|
+
};
|
|
724
|
+
type CreateOrganizationApiKey403 = {
|
|
725
|
+
message: string;
|
|
726
|
+
};
|
|
727
|
+
type CreateOrganizationApiKey404 = {
|
|
728
|
+
message: string;
|
|
729
|
+
};
|
|
730
|
+
type CreateOrganizationApiKey422ErrorsItem = {
|
|
731
|
+
code: string;
|
|
732
|
+
field: string;
|
|
733
|
+
};
|
|
734
|
+
type CreateOrganizationApiKey422 = {
|
|
735
|
+
message: string;
|
|
736
|
+
errors: CreateOrganizationApiKey422ErrorsItem[];
|
|
737
|
+
};
|
|
738
|
+
type ListOrganizationApiKeysParams = {
|
|
739
|
+
limit?: number;
|
|
740
|
+
before?: string;
|
|
741
|
+
after?: string;
|
|
671
742
|
search?: string;
|
|
672
|
-
|
|
743
|
+
};
|
|
744
|
+
type ListOrganizationApiKeys400 = {
|
|
745
|
+
message: string;
|
|
746
|
+
};
|
|
747
|
+
type ListOrganizationApiKeys403 = {
|
|
748
|
+
message: string;
|
|
749
|
+
};
|
|
750
|
+
type ListOrganizationApiKeyPermissionsParams = {
|
|
751
|
+
search?: string;
|
|
752
|
+
limit?: number;
|
|
673
753
|
before?: string;
|
|
674
754
|
after?: string;
|
|
675
|
-
role?: string;
|
|
676
755
|
};
|
|
677
|
-
type
|
|
678
|
-
|
|
679
|
-
listMetadata: ListMetadata;
|
|
756
|
+
type ListOrganizationApiKeyPermissions400 = {
|
|
757
|
+
message: string;
|
|
680
758
|
};
|
|
681
|
-
type
|
|
759
|
+
type ListOrganizationApiKeyPermissions403 = {
|
|
682
760
|
message: string;
|
|
683
761
|
};
|
|
684
|
-
type
|
|
762
|
+
type DeleteOrganizationApiKey200 = {
|
|
763
|
+
success: boolean;
|
|
764
|
+
};
|
|
765
|
+
type DeleteOrganizationApiKey403 = {
|
|
685
766
|
message: string;
|
|
686
767
|
};
|
|
687
|
-
type
|
|
768
|
+
type DeleteOrganizationApiKey404 = {
|
|
688
769
|
message: string;
|
|
689
770
|
};
|
|
690
|
-
type
|
|
771
|
+
type DeleteDataInstallation200 = {
|
|
772
|
+
success: boolean;
|
|
773
|
+
};
|
|
774
|
+
type DeleteDataInstallation403 = {
|
|
691
775
|
message: string;
|
|
692
776
|
};
|
|
693
|
-
type
|
|
777
|
+
type DeleteDataInstallation404 = {
|
|
694
778
|
message: string;
|
|
695
779
|
};
|
|
696
|
-
type
|
|
780
|
+
type MyDataIntegrations403 = {
|
|
781
|
+
message: string;
|
|
782
|
+
};
|
|
783
|
+
type GetDataInstallationAuthorizationStatus400 = {
|
|
784
|
+
message: string;
|
|
785
|
+
};
|
|
786
|
+
type GetDataInstallationAuthorizationStatus403 = {
|
|
787
|
+
message: string;
|
|
788
|
+
};
|
|
789
|
+
type GetDataInstallationAuthorizationStatus404 = {
|
|
790
|
+
message: string;
|
|
791
|
+
};
|
|
792
|
+
type GetDataIntegrationAuthorizeUrlParams = {
|
|
793
|
+
requireHandoff?: boolean;
|
|
794
|
+
};
|
|
795
|
+
type GetDataIntegrationAuthorizeUrl400 = {
|
|
796
|
+
message: string;
|
|
797
|
+
};
|
|
798
|
+
type GetDataIntegrationAuthorizeUrl403 = {
|
|
697
799
|
message: string;
|
|
698
800
|
};
|
|
801
|
+
type GetDataIntegrationAuthorizeUrl404 = {
|
|
802
|
+
message: string;
|
|
803
|
+
};
|
|
804
|
+
type InviteMemberInputFirstName = string | null;
|
|
805
|
+
type InviteMemberInputLastName = string | null;
|
|
699
806
|
type InviteMemberInput = {
|
|
700
807
|
email: string;
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
/** @nullable */
|
|
704
|
-
lastName?: string | null;
|
|
808
|
+
firstName?: InviteMemberInputFirstName;
|
|
809
|
+
lastName?: InviteMemberInputLastName;
|
|
705
810
|
roles: string[];
|
|
706
811
|
};
|
|
707
812
|
type InviteMember201 = {
|
|
@@ -716,9 +821,22 @@ type InviteMember403 = {
|
|
|
716
821
|
type InviteMember404 = {
|
|
717
822
|
message: string;
|
|
718
823
|
};
|
|
824
|
+
type RevokeInvite200 = {
|
|
825
|
+
id: string;
|
|
826
|
+
success: boolean;
|
|
827
|
+
};
|
|
828
|
+
type RevokeInvite400 = {
|
|
829
|
+
message: string;
|
|
830
|
+
};
|
|
831
|
+
type RevokeInvite403 = {
|
|
832
|
+
message: string;
|
|
833
|
+
};
|
|
834
|
+
type RevokeInvite404 = {
|
|
835
|
+
message: string;
|
|
836
|
+
};
|
|
837
|
+
type ResendInvite201Id = string | null;
|
|
719
838
|
type ResendInvite201 = {
|
|
720
|
-
|
|
721
|
-
id?: string | null;
|
|
839
|
+
id?: ResendInvite201Id;
|
|
722
840
|
success: boolean;
|
|
723
841
|
};
|
|
724
842
|
type ResendInvite400 = {
|
|
@@ -733,17 +851,21 @@ type ResendInvite404 = {
|
|
|
733
851
|
type ResendInvite422 = {
|
|
734
852
|
message: string;
|
|
735
853
|
};
|
|
736
|
-
type
|
|
737
|
-
|
|
738
|
-
|
|
854
|
+
type MembersParams = {
|
|
855
|
+
search?: string;
|
|
856
|
+
limit?: string;
|
|
857
|
+
before?: string;
|
|
858
|
+
after?: string;
|
|
859
|
+
role?: string;
|
|
739
860
|
};
|
|
740
|
-
type
|
|
741
|
-
|
|
861
|
+
type Members200 = {
|
|
862
|
+
data: Member[];
|
|
863
|
+
list_metadata: ListMetadata;
|
|
742
864
|
};
|
|
743
|
-
type
|
|
865
|
+
type Members403 = {
|
|
744
866
|
message: string;
|
|
745
867
|
};
|
|
746
|
-
type
|
|
868
|
+
type Members404 = {
|
|
747
869
|
message: string;
|
|
748
870
|
};
|
|
749
871
|
type RemoveMember200 = {
|
|
@@ -784,84 +906,72 @@ type Organizations403 = {
|
|
|
784
906
|
type Organizations404 = {
|
|
785
907
|
message: string;
|
|
786
908
|
};
|
|
787
|
-
type
|
|
909
|
+
type Roles403 = {
|
|
788
910
|
message: string;
|
|
789
911
|
};
|
|
790
|
-
type
|
|
791
|
-
firstName?: string;
|
|
792
|
-
lastName?: string;
|
|
793
|
-
locale?: string;
|
|
794
|
-
};
|
|
795
|
-
type UpdateMe400 = {
|
|
912
|
+
type Roles404 = {
|
|
796
913
|
message: string;
|
|
797
914
|
};
|
|
798
|
-
type
|
|
915
|
+
type RolesAndConfig403 = {
|
|
799
916
|
message: string;
|
|
800
917
|
};
|
|
801
|
-
type
|
|
918
|
+
type RolesAndConfig404 = {
|
|
802
919
|
message: string;
|
|
803
920
|
};
|
|
804
|
-
type
|
|
921
|
+
type AuthenticationInformation403 = {
|
|
805
922
|
message: string;
|
|
806
923
|
};
|
|
807
|
-
type
|
|
924
|
+
type CreatePassword201 = {
|
|
808
925
|
success: boolean;
|
|
809
926
|
};
|
|
810
|
-
type
|
|
927
|
+
type CreatePassword400 = {
|
|
811
928
|
message: string;
|
|
812
929
|
};
|
|
813
|
-
type
|
|
930
|
+
type CreatePassword403 = {
|
|
814
931
|
message: string;
|
|
815
932
|
};
|
|
816
|
-
type
|
|
817
|
-
success: boolean;
|
|
818
|
-
};
|
|
819
|
-
type DeleteTotpFactors400 = {
|
|
933
|
+
type CreateTotpFactor400 = {
|
|
820
934
|
message: string;
|
|
821
935
|
};
|
|
822
|
-
type
|
|
936
|
+
type CreateTotpFactor403 = {
|
|
823
937
|
message: string;
|
|
824
938
|
};
|
|
825
|
-
type
|
|
939
|
+
type Me403 = {
|
|
826
940
|
message: string;
|
|
827
941
|
};
|
|
828
|
-
type
|
|
829
|
-
|
|
942
|
+
type UpdateMeInput = {
|
|
943
|
+
firstName?: string;
|
|
944
|
+
lastName?: string;
|
|
945
|
+
locale?: string;
|
|
830
946
|
};
|
|
831
|
-
type
|
|
947
|
+
type UpdateMe400 = {
|
|
832
948
|
message: string;
|
|
833
949
|
};
|
|
834
|
-
type
|
|
950
|
+
type UpdateMe403 = {
|
|
835
951
|
message: string;
|
|
836
952
|
};
|
|
837
|
-
type
|
|
838
|
-
success: boolean;
|
|
839
|
-
};
|
|
840
|
-
type UpdatePassword400 = {
|
|
953
|
+
type RegisterPasskey400 = {
|
|
841
954
|
message: string;
|
|
842
955
|
};
|
|
843
|
-
type
|
|
956
|
+
type RegisterPasskey403 = {
|
|
844
957
|
message: string;
|
|
845
958
|
};
|
|
846
|
-
type
|
|
959
|
+
type VerifyPasskey200 = {
|
|
847
960
|
success: boolean;
|
|
848
961
|
};
|
|
849
|
-
type
|
|
962
|
+
type VerifyPasskey400 = {
|
|
850
963
|
message: string;
|
|
851
964
|
};
|
|
852
|
-
type
|
|
965
|
+
type VerifyPasskey403 = {
|
|
853
966
|
message: string;
|
|
854
967
|
};
|
|
855
|
-
type
|
|
968
|
+
type DeletePasskey200 = {
|
|
856
969
|
success: boolean;
|
|
857
970
|
};
|
|
858
|
-
type
|
|
859
|
-
message: string;
|
|
860
|
-
};
|
|
861
|
-
type RevokeSession403 = {
|
|
971
|
+
type DeletePasskey400 = {
|
|
862
972
|
message: string;
|
|
863
973
|
};
|
|
864
|
-
type
|
|
974
|
+
type DeletePasskey403 = {
|
|
865
975
|
message: string;
|
|
866
976
|
};
|
|
867
977
|
type SendVerification400 = {
|
|
@@ -870,53 +980,65 @@ type SendVerification400 = {
|
|
|
870
980
|
type SendVerification403 = {
|
|
871
981
|
message: string;
|
|
872
982
|
};
|
|
873
|
-
type
|
|
983
|
+
type Sessions403 = {
|
|
874
984
|
message: string;
|
|
875
985
|
};
|
|
876
|
-
type
|
|
877
|
-
|
|
986
|
+
type RevokeAllSessions200 = {
|
|
987
|
+
success: boolean;
|
|
878
988
|
};
|
|
879
|
-
type
|
|
989
|
+
type RevokeAllSessions400 = {
|
|
880
990
|
message: string;
|
|
881
991
|
};
|
|
882
|
-
type
|
|
992
|
+
type RevokeAllSessions403 = {
|
|
883
993
|
message: string;
|
|
884
994
|
};
|
|
885
|
-
type
|
|
995
|
+
type RevokeSession200 = {
|
|
886
996
|
success: boolean;
|
|
887
997
|
};
|
|
888
|
-
type
|
|
998
|
+
type RevokeSession400 = {
|
|
889
999
|
message: string;
|
|
890
1000
|
};
|
|
891
|
-
type
|
|
1001
|
+
type RevokeSession403 = {
|
|
892
1002
|
message: string;
|
|
893
1003
|
};
|
|
894
|
-
type
|
|
1004
|
+
type DeleteTotpFactors200 = {
|
|
895
1005
|
success: boolean;
|
|
896
1006
|
};
|
|
897
|
-
type
|
|
1007
|
+
type DeleteTotpFactors400 = {
|
|
898
1008
|
message: string;
|
|
899
1009
|
};
|
|
900
|
-
type
|
|
1010
|
+
type DeleteTotpFactors403 = {
|
|
901
1011
|
message: string;
|
|
902
1012
|
};
|
|
903
|
-
type
|
|
1013
|
+
type UpdatePassword201 = {
|
|
1014
|
+
success: boolean;
|
|
1015
|
+
};
|
|
1016
|
+
type UpdatePassword400 = {
|
|
904
1017
|
message: string;
|
|
905
1018
|
};
|
|
906
|
-
type
|
|
907
|
-
|
|
1019
|
+
type UpdatePassword403 = {
|
|
1020
|
+
message: string;
|
|
908
1021
|
};
|
|
909
|
-
type
|
|
1022
|
+
type Verify400 = {
|
|
910
1023
|
message: string;
|
|
911
1024
|
};
|
|
912
|
-
type
|
|
1025
|
+
type Verify403 = {
|
|
913
1026
|
message: string;
|
|
914
1027
|
};
|
|
915
|
-
type
|
|
916
|
-
|
|
1028
|
+
type VerifyTotpFactor200 = {
|
|
1029
|
+
success: boolean;
|
|
917
1030
|
};
|
|
918
|
-
type
|
|
919
|
-
|
|
1031
|
+
type VerifyTotpFactor400 = {
|
|
1032
|
+
message: string;
|
|
1033
|
+
};
|
|
1034
|
+
type VerifyTotpFactor403 = {
|
|
1035
|
+
message: string;
|
|
1036
|
+
};
|
|
1037
|
+
type GenerateAdminPortalLinkParams = {
|
|
1038
|
+
intent: GenerateAdminPortalLinkIntent;
|
|
1039
|
+
};
|
|
1040
|
+
type GenerateAdminPortalLinkIntent = (typeof GenerateAdminPortalLinkIntent)[keyof typeof GenerateAdminPortalLinkIntent];
|
|
1041
|
+
declare const GenerateAdminPortalLinkIntent: {
|
|
920
1042
|
readonly domain_verification: "domain_verification";
|
|
921
1043
|
readonly sso: "sso";
|
|
922
1044
|
};
|
|
@@ -932,170 +1054,205 @@ type GenerateAdminPortalLink404 = {
|
|
|
932
1054
|
type GenerateAdminPortalLink500 = {
|
|
933
1055
|
message: string;
|
|
934
1056
|
};
|
|
935
|
-
type
|
|
936
|
-
|
|
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;
|
|
1057
|
+
type ListOrganizationDomains200 = {
|
|
1058
|
+
data: OrganizationDomain[];
|
|
959
1059
|
};
|
|
960
|
-
type
|
|
1060
|
+
type ListOrganizationDomains403 = {
|
|
961
1061
|
message: string;
|
|
962
|
-
errors: CreateOrganizationApiKey422ErrorsItem[];
|
|
963
|
-
};
|
|
964
|
-
type ListOrganizationApiKeysParams = {
|
|
965
|
-
limit?: number;
|
|
966
|
-
before?: string;
|
|
967
|
-
after?: string;
|
|
968
|
-
search?: string;
|
|
969
1062
|
};
|
|
970
|
-
type
|
|
1063
|
+
type ListOrganizationDomains404 = {
|
|
971
1064
|
message: string;
|
|
972
1065
|
};
|
|
973
|
-
type
|
|
1066
|
+
type DeleteOrganizationDomain403 = {
|
|
974
1067
|
message: string;
|
|
975
1068
|
};
|
|
976
|
-
type
|
|
977
|
-
search?: string;
|
|
978
|
-
limit?: number;
|
|
979
|
-
before?: string;
|
|
980
|
-
after?: string;
|
|
981
|
-
};
|
|
982
|
-
type ListOrganizationApiKeyPermissions400 = {
|
|
1069
|
+
type DeleteOrganizationDomain404 = {
|
|
983
1070
|
message: string;
|
|
984
1071
|
};
|
|
985
|
-
type
|
|
1072
|
+
type ReverifyOrganizationDomain403 = {
|
|
986
1073
|
message: string;
|
|
987
1074
|
};
|
|
988
|
-
type
|
|
989
|
-
success: boolean;
|
|
990
|
-
};
|
|
991
|
-
type DeleteOrganizationApiKey403 = {
|
|
1075
|
+
type ReverifyOrganizationDomain404 = {
|
|
992
1076
|
message: string;
|
|
993
1077
|
};
|
|
994
|
-
type
|
|
1078
|
+
type ListDirectories403 = {
|
|
995
1079
|
message: string;
|
|
996
1080
|
};
|
|
997
|
-
type
|
|
1081
|
+
type ListDirectories404 = {
|
|
998
1082
|
message: string;
|
|
999
1083
|
};
|
|
1000
|
-
type
|
|
1001
|
-
requireHandoff?: boolean;
|
|
1002
|
-
};
|
|
1003
|
-
type GetDataIntegrationAuthorizeUrl400 = {
|
|
1084
|
+
type Settings403 = {
|
|
1004
1085
|
message: string;
|
|
1005
1086
|
};
|
|
1006
|
-
|
|
1007
|
-
|
|
1087
|
+
declare const useCreateOrganizationApiKeyHook: () => (createOrganizationApiKeyRequest: BodyType<CreateOrganizationApiKeyRequest>, signal?: AbortSignal) => Promise<CreateOrganizationApiKeyResponse>;
|
|
1088
|
+
declare const useCreateOrganizationApiKeyMutationOptions: <TError = ErrorType<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>, TContext = unknown>(options?: {
|
|
1089
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
|
|
1090
|
+
data: BodyType<CreateOrganizationApiKeyRequest>;
|
|
1091
|
+
}, TContext>;
|
|
1092
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
|
|
1093
|
+
data: BodyType<CreateOrganizationApiKeyRequest>;
|
|
1094
|
+
}, TContext>;
|
|
1095
|
+
type CreateOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>>;
|
|
1096
|
+
type CreateOrganizationApiKeyMutationBody = BodyType<CreateOrganizationApiKeyRequest>;
|
|
1097
|
+
type CreateOrganizationApiKeyMutationError = ErrorType<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>;
|
|
1098
|
+
declare const useCreateOrganizationApiKey: <TError = ErrorType<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>, TContext = unknown>(options?: {
|
|
1099
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
|
|
1100
|
+
data: BodyType<CreateOrganizationApiKeyRequest>;
|
|
1101
|
+
}, TContext>;
|
|
1102
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
|
|
1103
|
+
data: BodyType<CreateOrganizationApiKeyRequest>;
|
|
1104
|
+
}, TContext>;
|
|
1105
|
+
declare const useListOrganizationApiKeysHook: () => (params?: ListOrganizationApiKeysParams, signal?: AbortSignal) => Promise<ListOrganizationApiKeysResponse>;
|
|
1106
|
+
declare const getListOrganizationApiKeysQueryKey: (params?: ListOrganizationApiKeysParams) => readonly ["/_widgets/ApiKeys/organization-api-keys", ...ListOrganizationApiKeysParams[]];
|
|
1107
|
+
declare const useListOrganizationApiKeysQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
|
|
1108
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>>;
|
|
1109
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData> & {
|
|
1110
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1008
1111
|
};
|
|
1009
|
-
type
|
|
1010
|
-
|
|
1112
|
+
type ListOrganizationApiKeysQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>>;
|
|
1113
|
+
type ListOrganizationApiKeysQueryError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>;
|
|
1114
|
+
declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params: undefined | ListOrganizationApiKeysParams, options: {
|
|
1115
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>>, "initialData">;
|
|
1116
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1117
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1011
1118
|
};
|
|
1012
|
-
|
|
1013
|
-
|
|
1119
|
+
declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
|
|
1120
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>>, "initialData">;
|
|
1121
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1122
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1014
1123
|
};
|
|
1015
|
-
|
|
1016
|
-
|
|
1124
|
+
declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
|
|
1125
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>>;
|
|
1126
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1127
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1017
1128
|
};
|
|
1018
|
-
|
|
1019
|
-
|
|
1129
|
+
declare const useListOrganizationApiKeyPermissionsHook: () => (params?: ListOrganizationApiKeyPermissionsParams, signal?: AbortSignal) => Promise<ListOrganizationApiKeyPermissionsResponse>;
|
|
1130
|
+
declare const getListOrganizationApiKeyPermissionsQueryKey: (params?: ListOrganizationApiKeyPermissionsParams) => readonly ["/_widgets/ApiKeys/permissions", ...ListOrganizationApiKeyPermissionsParams[]];
|
|
1131
|
+
declare const useListOrganizationApiKeyPermissionsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
|
|
1132
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>>;
|
|
1133
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData> & {
|
|
1134
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1020
1135
|
};
|
|
1021
|
-
type
|
|
1022
|
-
|
|
1136
|
+
type ListOrganizationApiKeyPermissionsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>>;
|
|
1137
|
+
type ListOrganizationApiKeyPermissionsQueryError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>;
|
|
1138
|
+
declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params: undefined | ListOrganizationApiKeyPermissionsParams, options: {
|
|
1139
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>>, "initialData">;
|
|
1140
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1141
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1023
1142
|
};
|
|
1024
|
-
|
|
1025
|
-
|
|
1143
|
+
declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
|
|
1144
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>>, "initialData">;
|
|
1145
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1146
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1026
1147
|
};
|
|
1027
|
-
|
|
1028
|
-
|
|
1148
|
+
declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
|
|
1149
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>>;
|
|
1150
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1151
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1029
1152
|
};
|
|
1030
|
-
declare const
|
|
1031
|
-
declare const
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
}
|
|
1153
|
+
declare const useDeleteOrganizationApiKeyHook: () => (apiKeyId: string) => Promise<DeleteOrganizationApiKey200>;
|
|
1154
|
+
declare const useDeleteOrganizationApiKeyMutationOptions: <TError = ErrorType<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>, TContext = unknown>(options?: {
|
|
1155
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
|
|
1156
|
+
apiKeyId: string;
|
|
1157
|
+
}, TContext>;
|
|
1158
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
|
|
1159
|
+
apiKeyId: string;
|
|
1160
|
+
}, TContext>;
|
|
1161
|
+
type DeleteOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>>;
|
|
1162
|
+
type DeleteOrganizationApiKeyMutationError = ErrorType<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>;
|
|
1163
|
+
declare const useDeleteOrganizationApiKey: <TError = ErrorType<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>, TContext = unknown>(options?: {
|
|
1164
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
|
|
1165
|
+
apiKeyId: string;
|
|
1166
|
+
}, TContext>;
|
|
1167
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
|
|
1168
|
+
apiKeyId: string;
|
|
1169
|
+
}, TContext>;
|
|
1170
|
+
declare const useDeleteDataInstallationHook: () => (installationId: string) => Promise<DeleteDataInstallation200>;
|
|
1171
|
+
declare const useDeleteDataInstallationMutationOptions: <TError = ErrorType<DeleteDataInstallation403 | DeleteDataInstallation404>, TContext = unknown>(options?: {
|
|
1172
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
|
|
1173
|
+
installationId: string;
|
|
1174
|
+
}, TContext>;
|
|
1175
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
|
|
1176
|
+
installationId: string;
|
|
1177
|
+
}, TContext>;
|
|
1178
|
+
type DeleteDataInstallationMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>>;
|
|
1179
|
+
type DeleteDataInstallationMutationError = ErrorType<DeleteDataInstallation403 | DeleteDataInstallation404>;
|
|
1180
|
+
declare const useDeleteDataInstallation: <TError = ErrorType<DeleteDataInstallation403 | DeleteDataInstallation404>, TContext = unknown>(options?: {
|
|
1181
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
|
|
1182
|
+
installationId: string;
|
|
1183
|
+
}, TContext>;
|
|
1184
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
|
|
1185
|
+
installationId: string;
|
|
1186
|
+
}, TContext>;
|
|
1187
|
+
declare const useMyDataIntegrationsHook: () => (signal?: AbortSignal) => Promise<DataIntegrationsResponse>;
|
|
1188
|
+
declare const getMyDataIntegrationsQueryKey: () => readonly ["/_widgets/DataIntegrations/mine"];
|
|
1189
|
+
declare const useMyDataIntegrationsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options?: {
|
|
1190
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>>;
|
|
1191
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData> & {
|
|
1035
1192
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1036
1193
|
};
|
|
1037
|
-
type
|
|
1038
|
-
type
|
|
1039
|
-
declare function
|
|
1040
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1194
|
+
type MyDataIntegrationsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>>;
|
|
1195
|
+
type MyDataIntegrationsQueryError = ErrorType<MyDataIntegrations403>;
|
|
1196
|
+
declare function useMyDataIntegrations<TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options: {
|
|
1197
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>>, "initialData">;
|
|
1041
1198
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1042
1199
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1043
1200
|
};
|
|
1044
|
-
declare function
|
|
1045
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1201
|
+
declare function useMyDataIntegrations<TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options?: {
|
|
1202
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>>, "initialData">;
|
|
1046
1203
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1047
1204
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1048
1205
|
};
|
|
1049
|
-
declare function
|
|
1050
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1206
|
+
declare function useMyDataIntegrations<TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options?: {
|
|
1207
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>>;
|
|
1051
1208
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1052
1209
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1053
1210
|
};
|
|
1054
|
-
declare const
|
|
1055
|
-
declare const
|
|
1056
|
-
declare const
|
|
1057
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1058
|
-
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1211
|
+
declare const useGetDataInstallationAuthorizationStatusHook: () => (dataIntegrationId: string, state: string, signal?: AbortSignal) => Promise<GetAuthorizationStatusResponse>;
|
|
1212
|
+
declare const getGetDataInstallationAuthorizationStatusQueryKey: (dataIntegrationId?: string, state?: string) => readonly [`/_widgets/DataIntegrations/undefined/authorization-status/${string}` | `/_widgets/DataIntegrations/${string}/authorization-status/undefined` | `/_widgets/DataIntegrations/${string}/authorization-status/${string}`];
|
|
1213
|
+
declare const useGetDataInstallationAuthorizationStatusQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
|
|
1214
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>>;
|
|
1215
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData> & {
|
|
1059
1216
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1060
1217
|
};
|
|
1061
|
-
type
|
|
1062
|
-
type
|
|
1063
|
-
declare function
|
|
1064
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1218
|
+
type GetDataInstallationAuthorizationStatusQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>>;
|
|
1219
|
+
type GetDataInstallationAuthorizationStatusQueryError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>;
|
|
1220
|
+
declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options: {
|
|
1221
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>>, "initialData">;
|
|
1065
1222
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1066
1223
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1067
1224
|
};
|
|
1068
|
-
declare function
|
|
1069
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1225
|
+
declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
|
|
1226
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>>, "initialData">;
|
|
1070
1227
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1071
1228
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1072
1229
|
};
|
|
1073
|
-
declare function
|
|
1074
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1230
|
+
declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
|
|
1231
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>>;
|
|
1075
1232
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1076
1233
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1077
1234
|
};
|
|
1078
|
-
declare const
|
|
1079
|
-
declare const
|
|
1080
|
-
declare const
|
|
1081
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1082
|
-
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1235
|
+
declare const useGetDataIntegrationAuthorizeUrlHook: () => (slug: string, params?: GetDataIntegrationAuthorizeUrlParams, signal?: AbortSignal) => Promise<GetDataIntegrationAuthorizeUrlResponse>;
|
|
1236
|
+
declare const getGetDataIntegrationAuthorizeUrlQueryKey: (slug?: string, params?: GetDataIntegrationAuthorizeUrlParams) => readonly [`/_widgets/DataIntegrations/${string}/authorize`, ...GetDataIntegrationAuthorizeUrlParams[]];
|
|
1237
|
+
declare const useGetDataIntegrationAuthorizeUrlQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
|
|
1238
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>>;
|
|
1239
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData> & {
|
|
1083
1240
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1084
1241
|
};
|
|
1085
|
-
type
|
|
1086
|
-
type
|
|
1087
|
-
declare function
|
|
1088
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1242
|
+
type GetDataIntegrationAuthorizeUrlQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>>;
|
|
1243
|
+
type GetDataIntegrationAuthorizeUrlQueryError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>;
|
|
1244
|
+
declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params: undefined | GetDataIntegrationAuthorizeUrlParams, options: {
|
|
1245
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>>, "initialData">;
|
|
1089
1246
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1090
1247
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1091
1248
|
};
|
|
1092
|
-
declare function
|
|
1093
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1249
|
+
declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
|
|
1250
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>>, "initialData">;
|
|
1094
1251
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1095
1252
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1096
1253
|
};
|
|
1097
|
-
declare function
|
|
1098
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1254
|
+
declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
|
|
1255
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>>;
|
|
1099
1256
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1100
1257
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1101
1258
|
};
|
|
@@ -1117,23 +1274,6 @@ declare const useInviteMember: <TError = ErrorType<InviteMember400 | InviteMembe
|
|
|
1117
1274
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
|
|
1118
1275
|
data: BodyType<InviteMemberInput>;
|
|
1119
1276
|
}, TContext>;
|
|
1120
|
-
declare const useResendInviteHook: () => (userId: string, signal?: AbortSignal) => Promise<ResendInvite201>;
|
|
1121
|
-
declare const useResendInviteMutationOptions: <TError = ErrorType<ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422>, TContext = unknown>(options?: {
|
|
1122
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
1123
|
-
userId: string;
|
|
1124
|
-
}, TContext>;
|
|
1125
|
-
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
1126
|
-
userId: string;
|
|
1127
|
-
}, TContext>;
|
|
1128
|
-
type ResendInviteMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>>;
|
|
1129
|
-
type ResendInviteMutationError = ErrorType<ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422>;
|
|
1130
|
-
declare const useResendInvite: <TError = ErrorType<ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422>, TContext = unknown>(options?: {
|
|
1131
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
1132
|
-
userId: string;
|
|
1133
|
-
}, TContext>;
|
|
1134
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
1135
|
-
userId: string;
|
|
1136
|
-
}, TContext>;
|
|
1137
1277
|
declare const useRevokeInviteHook: () => (userId: string) => Promise<RevokeInvite200>;
|
|
1138
1278
|
declare const useRevokeInviteMutationOptions: <TError = ErrorType<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>, TContext = unknown>(options?: {
|
|
1139
1279
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
|
|
@@ -1151,6 +1291,47 @@ declare const useRevokeInvite: <TError = ErrorType<RevokeInvite400 | RevokeInvit
|
|
|
1151
1291
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
|
|
1152
1292
|
userId: string;
|
|
1153
1293
|
}, TContext>;
|
|
1294
|
+
declare const useResendInviteHook: () => (userId: string, signal?: AbortSignal) => Promise<ResendInvite201>;
|
|
1295
|
+
declare const useResendInviteMutationOptions: <TError = ErrorType<ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422>, TContext = unknown>(options?: {
|
|
1296
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
1297
|
+
userId: string;
|
|
1298
|
+
}, TContext>;
|
|
1299
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
1300
|
+
userId: string;
|
|
1301
|
+
}, TContext>;
|
|
1302
|
+
type ResendInviteMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>>;
|
|
1303
|
+
type ResendInviteMutationError = ErrorType<ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422>;
|
|
1304
|
+
declare const useResendInvite: <TError = ErrorType<ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422>, TContext = unknown>(options?: {
|
|
1305
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
1306
|
+
userId: string;
|
|
1307
|
+
}, TContext>;
|
|
1308
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
1309
|
+
userId: string;
|
|
1310
|
+
}, TContext>;
|
|
1311
|
+
declare const useMembersHook: () => (params?: MembersParams, signal?: AbortSignal) => Promise<Members200>;
|
|
1312
|
+
declare const getMembersQueryKey: (params?: MembersParams) => readonly ["/_widgets/UserManagement/members", ...MembersParams[]];
|
|
1313
|
+
declare const useMembersQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
|
|
1314
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>>;
|
|
1315
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData> & {
|
|
1316
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1317
|
+
};
|
|
1318
|
+
type MembersQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>>;
|
|
1319
|
+
type MembersQueryError = ErrorType<Members403 | Members404>;
|
|
1320
|
+
declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params: undefined | MembersParams, options: {
|
|
1321
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMembersHook>>>>, "initialData">;
|
|
1322
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1323
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1324
|
+
};
|
|
1325
|
+
declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
|
|
1326
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMembersHook>>>>, "initialData">;
|
|
1327
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1328
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1329
|
+
};
|
|
1330
|
+
declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
|
|
1331
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>>;
|
|
1332
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1333
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1334
|
+
};
|
|
1154
1335
|
declare const useRemoveMemberHook: () => (userId: string) => Promise<RemoveMember200>;
|
|
1155
1336
|
declare const useRemoveMemberMutationOptions: <TError = ErrorType<RemoveMember400 | RemoveMember403 | RemoveMember404>, TContext = unknown>(options?: {
|
|
1156
1337
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
|
|
@@ -1204,16 +1385,115 @@ declare function useOrganizations<TData = Awaited<ReturnType<ReturnType<typeof u
|
|
|
1204
1385
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1205
1386
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1206
1387
|
};
|
|
1207
|
-
declare function useOrganizations<TData = Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError = ErrorType<Organizations403 | Organizations404>>(options?: {
|
|
1208
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>>, "initialData">;
|
|
1388
|
+
declare function useOrganizations<TData = Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError = ErrorType<Organizations403 | Organizations404>>(options?: {
|
|
1389
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>>, "initialData">;
|
|
1390
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1391
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1392
|
+
};
|
|
1393
|
+
declare function useOrganizations<TData = Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError = ErrorType<Organizations403 | Organizations404>>(options?: {
|
|
1394
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, TData>>;
|
|
1395
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1396
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1397
|
+
};
|
|
1398
|
+
declare const useRolesHook: () => (signal?: AbortSignal) => Promise<MemberRole[]>;
|
|
1399
|
+
declare const getRolesQueryKey: () => readonly ["/_widgets/UserManagement/roles"];
|
|
1400
|
+
declare const useRolesQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
|
|
1401
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>>;
|
|
1402
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData> & {
|
|
1403
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1404
|
+
};
|
|
1405
|
+
type RolesQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>>;
|
|
1406
|
+
type RolesQueryError = ErrorType<Roles403 | Roles404>;
|
|
1407
|
+
declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options: {
|
|
1408
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesHook>>>>, "initialData">;
|
|
1409
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1410
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1411
|
+
};
|
|
1412
|
+
declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
|
|
1413
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesHook>>>>, "initialData">;
|
|
1414
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1415
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1416
|
+
};
|
|
1417
|
+
declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
|
|
1418
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>>;
|
|
1419
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1420
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1421
|
+
};
|
|
1422
|
+
declare const useRolesAndConfigHook: () => (signal?: AbortSignal) => Promise<RolesAndConfigResponse>;
|
|
1423
|
+
declare const getRolesAndConfigQueryKey: () => readonly ["/_widgets/UserManagement/roles-and-config"];
|
|
1424
|
+
declare const useRolesAndConfigQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
|
|
1425
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>>;
|
|
1426
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData> & {
|
|
1427
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1428
|
+
};
|
|
1429
|
+
type RolesAndConfigQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>>;
|
|
1430
|
+
type RolesAndConfigQueryError = ErrorType<RolesAndConfig403 | RolesAndConfig404>;
|
|
1431
|
+
declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options: {
|
|
1432
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>>, "initialData">;
|
|
1433
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1434
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1435
|
+
};
|
|
1436
|
+
declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
|
|
1437
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>>, "initialData">;
|
|
1438
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1439
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1440
|
+
};
|
|
1441
|
+
declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
|
|
1442
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>>;
|
|
1443
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1444
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1445
|
+
};
|
|
1446
|
+
declare const useAuthenticationInformationHook: () => (signal?: AbortSignal) => Promise<AuthenticationInformationResponse>;
|
|
1447
|
+
declare const getAuthenticationInformationQueryKey: () => readonly ["/_widgets/UserProfile/authentication-information"];
|
|
1448
|
+
declare const useAuthenticationInformationQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError = ErrorType<AuthenticationInformation403>>(options?: {
|
|
1449
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, TData>>;
|
|
1450
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, TData> & {
|
|
1451
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1452
|
+
};
|
|
1453
|
+
type AuthenticationInformationQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>>;
|
|
1454
|
+
type AuthenticationInformationQueryError = ErrorType<AuthenticationInformation403>;
|
|
1455
|
+
declare function useAuthenticationInformation<TData = Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError = ErrorType<AuthenticationInformation403>>(options: {
|
|
1456
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>>, "initialData">;
|
|
1457
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1458
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1459
|
+
};
|
|
1460
|
+
declare function useAuthenticationInformation<TData = Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError = ErrorType<AuthenticationInformation403>>(options?: {
|
|
1461
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>>, "initialData">;
|
|
1209
1462
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1210
1463
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1211
1464
|
};
|
|
1212
|
-
declare function
|
|
1213
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1465
|
+
declare function useAuthenticationInformation<TData = Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError = ErrorType<AuthenticationInformation403>>(options?: {
|
|
1466
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, TData>>;
|
|
1214
1467
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1215
1468
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1216
1469
|
};
|
|
1470
|
+
declare const useCreatePasswordHook: () => (createPasswordRequest: BodyType<CreatePasswordRequest>, signal?: AbortSignal) => Promise<CreatePassword201>;
|
|
1471
|
+
declare const useCreatePasswordMutationOptions: <TError = ErrorType<CreatePassword400 | CreatePassword403>, TContext = unknown>(options?: {
|
|
1472
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1473
|
+
data: BodyType<CreatePasswordRequest>;
|
|
1474
|
+
}, TContext>;
|
|
1475
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1476
|
+
data: BodyType<CreatePasswordRequest>;
|
|
1477
|
+
}, TContext>;
|
|
1478
|
+
type CreatePasswordMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>>;
|
|
1479
|
+
type CreatePasswordMutationBody = BodyType<CreatePasswordRequest>;
|
|
1480
|
+
type CreatePasswordMutationError = ErrorType<CreatePassword400 | CreatePassword403>;
|
|
1481
|
+
declare const useCreatePassword: <TError = ErrorType<CreatePassword400 | CreatePassword403>, TContext = unknown>(options?: {
|
|
1482
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1483
|
+
data: BodyType<CreatePasswordRequest>;
|
|
1484
|
+
}, TContext>;
|
|
1485
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1486
|
+
data: BodyType<CreatePasswordRequest>;
|
|
1487
|
+
}, TContext>;
|
|
1488
|
+
declare const useCreateTotpFactorHook: () => (signal?: AbortSignal) => Promise<CreateTotpFactorResponse>;
|
|
1489
|
+
declare const useCreateTotpFactorMutationOptions: <TError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>, TContext = unknown>(options?: {
|
|
1490
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
|
|
1491
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
|
|
1492
|
+
type CreateTotpFactorMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>>;
|
|
1493
|
+
type CreateTotpFactorMutationError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>;
|
|
1494
|
+
declare const useCreateTotpFactor: <TError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>, TContext = unknown>(options?: {
|
|
1495
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
|
|
1496
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
|
|
1217
1497
|
declare const useMeHook: () => (signal?: AbortSignal) => Promise<Me>;
|
|
1218
1498
|
declare const getMeQueryKey: () => readonly ["/_widgets/UserProfile/me"];
|
|
1219
1499
|
declare const useMeQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options?: {
|
|
@@ -1256,102 +1536,83 @@ declare const useUpdateMe: <TError = ErrorType<UpdateMe400 | UpdateMe403>, TCont
|
|
|
1256
1536
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
|
|
1257
1537
|
data: BodyType<UpdateMeInput>;
|
|
1258
1538
|
}, TContext>;
|
|
1259
|
-
declare const
|
|
1260
|
-
declare const
|
|
1261
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1262
|
-
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1263
|
-
type
|
|
1264
|
-
type
|
|
1265
|
-
declare const
|
|
1266
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1267
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof
|
|
1268
|
-
declare const
|
|
1269
|
-
declare const
|
|
1270
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1271
|
-
data: BodyType<
|
|
1539
|
+
declare const useRegisterPasskeyHook: () => (signal?: AbortSignal) => Promise<RegisterPasskeyResponse>;
|
|
1540
|
+
declare const useRegisterPasskeyMutationOptions: <TError = ErrorType<RegisterPasskey400 | RegisterPasskey403>, TContext = unknown>(options?: {
|
|
1541
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
|
|
1542
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
|
|
1543
|
+
type RegisterPasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>>;
|
|
1544
|
+
type RegisterPasskeyMutationError = ErrorType<RegisterPasskey400 | RegisterPasskey403>;
|
|
1545
|
+
declare const useRegisterPasskey: <TError = ErrorType<RegisterPasskey400 | RegisterPasskey403>, TContext = unknown>(options?: {
|
|
1546
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
|
|
1547
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
|
|
1548
|
+
declare const useVerifyPasskeyHook: () => (verifyPasskeyRequest: BodyType<VerifyPasskeyRequest>, signal?: AbortSignal) => Promise<VerifyPasskey200>;
|
|
1549
|
+
declare const useVerifyPasskeyMutationOptions: <TError = ErrorType<VerifyPasskey400 | VerifyPasskey403>, TContext = unknown>(options?: {
|
|
1550
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
|
|
1551
|
+
data: BodyType<VerifyPasskeyRequest>;
|
|
1272
1552
|
}, TContext>;
|
|
1273
|
-
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1274
|
-
data: BodyType<
|
|
1553
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
|
|
1554
|
+
data: BodyType<VerifyPasskeyRequest>;
|
|
1275
1555
|
}, TContext>;
|
|
1276
|
-
type
|
|
1277
|
-
type
|
|
1278
|
-
type
|
|
1279
|
-
declare const
|
|
1280
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1281
|
-
data: BodyType<
|
|
1556
|
+
type VerifyPasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>>;
|
|
1557
|
+
type VerifyPasskeyMutationBody = BodyType<VerifyPasskeyRequest>;
|
|
1558
|
+
type VerifyPasskeyMutationError = ErrorType<VerifyPasskey400 | VerifyPasskey403>;
|
|
1559
|
+
declare const useVerifyPasskey: <TError = ErrorType<VerifyPasskey400 | VerifyPasskey403>, TContext = unknown>(options?: {
|
|
1560
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
|
|
1561
|
+
data: BodyType<VerifyPasskeyRequest>;
|
|
1282
1562
|
}, TContext>;
|
|
1283
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof
|
|
1284
|
-
data: BodyType<
|
|
1563
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
|
|
1564
|
+
data: BodyType<VerifyPasskeyRequest>;
|
|
1285
1565
|
}, TContext>;
|
|
1286
|
-
declare const
|
|
1287
|
-
declare const
|
|
1288
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
declare const
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
}
|
|
1566
|
+
declare const useDeletePasskeyHook: () => (passkeyId: string) => Promise<DeletePasskey200>;
|
|
1567
|
+
declare const useDeletePasskeyMutationOptions: <TError = ErrorType<DeletePasskey400 | DeletePasskey403>, TContext = unknown>(options?: {
|
|
1568
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1569
|
+
passkeyId: string;
|
|
1570
|
+
}, TContext>;
|
|
1571
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1572
|
+
passkeyId: string;
|
|
1573
|
+
}, TContext>;
|
|
1574
|
+
type DeletePasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>>;
|
|
1575
|
+
type DeletePasskeyMutationError = ErrorType<DeletePasskey400 | DeletePasskey403>;
|
|
1576
|
+
declare const useDeletePasskey: <TError = ErrorType<DeletePasskey400 | DeletePasskey403>, TContext = unknown>(options?: {
|
|
1577
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1578
|
+
passkeyId: string;
|
|
1579
|
+
}, TContext>;
|
|
1580
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1581
|
+
passkeyId: string;
|
|
1582
|
+
}, TContext>;
|
|
1583
|
+
declare const useSendVerificationHook: () => (signal?: AbortSignal) => Promise<SendVerificationResponse>;
|
|
1584
|
+
declare const useSendVerificationMutationOptions: <TError = ErrorType<SendVerification400 | SendVerification403>, TContext = unknown>(options?: {
|
|
1585
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
|
|
1586
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
|
|
1587
|
+
type SendVerificationMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>>;
|
|
1588
|
+
type SendVerificationMutationError = ErrorType<SendVerification400 | SendVerification403>;
|
|
1589
|
+
declare const useSendVerification: <TError = ErrorType<SendVerification400 | SendVerification403>, TContext = unknown>(options?: {
|
|
1590
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
|
|
1591
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
|
|
1592
|
+
declare const useSessionsHook: () => (signal?: AbortSignal) => Promise<ActiveSessionsResponse>;
|
|
1593
|
+
declare const getSessionsQueryKey: () => readonly ["/_widgets/UserProfile/sessions"];
|
|
1594
|
+
declare const useSessionsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
|
|
1595
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>>;
|
|
1596
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData> & {
|
|
1300
1597
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1301
1598
|
};
|
|
1302
|
-
type
|
|
1303
|
-
type
|
|
1304
|
-
declare function
|
|
1305
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1599
|
+
type SessionsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>>;
|
|
1600
|
+
type SessionsQueryError = ErrorType<Sessions403>;
|
|
1601
|
+
declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options: {
|
|
1602
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>>, "initialData">;
|
|
1306
1603
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1307
1604
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1308
1605
|
};
|
|
1309
|
-
declare function
|
|
1310
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1606
|
+
declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
|
|
1607
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>>, "initialData">;
|
|
1311
1608
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1312
1609
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1313
1610
|
};
|
|
1314
|
-
declare function
|
|
1315
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1611
|
+
declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
|
|
1612
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>>;
|
|
1316
1613
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1317
1614
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1318
1615
|
};
|
|
1319
|
-
declare const useCreatePasswordHook: () => (createPasswordRequest: BodyType<CreatePasswordRequest>, signal?: AbortSignal) => Promise<CreatePassword201>;
|
|
1320
|
-
declare const useCreatePasswordMutationOptions: <TError = ErrorType<CreatePassword400 | CreatePassword403>, TContext = unknown>(options?: {
|
|
1321
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1322
|
-
data: BodyType<CreatePasswordRequest>;
|
|
1323
|
-
}, TContext>;
|
|
1324
|
-
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1325
|
-
data: BodyType<CreatePasswordRequest>;
|
|
1326
|
-
}, TContext>;
|
|
1327
|
-
type CreatePasswordMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>>;
|
|
1328
|
-
type CreatePasswordMutationBody = BodyType<CreatePasswordRequest>;
|
|
1329
|
-
type CreatePasswordMutationError = ErrorType<CreatePassword400 | CreatePassword403>;
|
|
1330
|
-
declare const useCreatePassword: <TError = ErrorType<CreatePassword400 | CreatePassword403>, TContext = unknown>(options?: {
|
|
1331
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1332
|
-
data: BodyType<CreatePasswordRequest>;
|
|
1333
|
-
}, TContext>;
|
|
1334
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1335
|
-
data: BodyType<CreatePasswordRequest>;
|
|
1336
|
-
}, 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>;
|
|
1341
|
-
}, TContext>;
|
|
1342
|
-
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1343
|
-
data: BodyType<UpdatePasswordRequest>;
|
|
1344
|
-
}, 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>;
|
|
1351
|
-
}, TContext>;
|
|
1352
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1353
|
-
data: BodyType<UpdatePasswordRequest>;
|
|
1354
|
-
}, TContext>;
|
|
1355
1616
|
declare const useRevokeAllSessionsHook: () => (revokeAllSessionsRequest: BodyType<RevokeAllSessionsRequest>) => Promise<RevokeAllSessions200>;
|
|
1356
1617
|
declare const useRevokeAllSessionsMutationOptions: <TError = ErrorType<RevokeAllSessions400 | RevokeAllSessions403>, TContext = unknown>(options?: {
|
|
1357
1618
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
|
|
@@ -1387,39 +1648,33 @@ declare const useRevokeSession: <TError = ErrorType<RevokeSession400 | RevokeSes
|
|
|
1387
1648
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
|
|
1388
1649
|
sessionId: string;
|
|
1389
1650
|
}, TContext>;
|
|
1390
|
-
declare const
|
|
1391
|
-
declare const
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
declare
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
}
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
},
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
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>;
|
|
1651
|
+
declare const useDeleteTotpFactorsHook: () => () => Promise<DeleteTotpFactors200>;
|
|
1652
|
+
declare const useDeleteTotpFactorsMutationOptions: <TError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>, TContext = unknown>(options?: {
|
|
1653
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
|
|
1654
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
|
|
1655
|
+
type DeleteTotpFactorsMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>>;
|
|
1656
|
+
type DeleteTotpFactorsMutationError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>;
|
|
1657
|
+
declare const useDeleteTotpFactors: <TError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>, TContext = unknown>(options?: {
|
|
1658
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
|
|
1659
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
|
|
1660
|
+
declare const useUpdatePasswordHook: () => (updatePasswordRequest: BodyType<UpdatePasswordRequest>, signal?: AbortSignal) => Promise<UpdatePassword201>;
|
|
1661
|
+
declare const useUpdatePasswordMutationOptions: <TError = ErrorType<UpdatePassword400 | UpdatePassword403>, TContext = unknown>(options?: {
|
|
1662
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1663
|
+
data: BodyType<UpdatePasswordRequest>;
|
|
1664
|
+
}, TContext>;
|
|
1665
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1666
|
+
data: BodyType<UpdatePasswordRequest>;
|
|
1667
|
+
}, TContext>;
|
|
1668
|
+
type UpdatePasswordMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>>;
|
|
1669
|
+
type UpdatePasswordMutationBody = BodyType<UpdatePasswordRequest>;
|
|
1670
|
+
type UpdatePasswordMutationError = ErrorType<UpdatePassword400 | UpdatePassword403>;
|
|
1671
|
+
declare const useUpdatePassword: <TError = ErrorType<UpdatePassword400 | UpdatePassword403>, TContext = unknown>(options?: {
|
|
1672
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1673
|
+
data: BodyType<UpdatePasswordRequest>;
|
|
1674
|
+
}, TContext>;
|
|
1675
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1676
|
+
data: BodyType<UpdatePasswordRequest>;
|
|
1677
|
+
}, TContext>;
|
|
1423
1678
|
declare const useVerifyHook: () => (verifyRequest: BodyType<VerifyRequest>, signal?: AbortSignal) => Promise<VerifyResponse>;
|
|
1424
1679
|
declare const useVerifyMutationOptions: <TError = ErrorType<Verify400 | Verify403>, TContext = unknown>(options?: {
|
|
1425
1680
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
|
|
@@ -1436,76 +1691,43 @@ declare const useVerify: <TError = ErrorType<Verify400 | Verify403>, TContext =
|
|
|
1436
1691
|
data: BodyType<VerifyRequest>;
|
|
1437
1692
|
}, TContext>;
|
|
1438
1693
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
|
|
1439
|
-
data: BodyType<VerifyRequest>;
|
|
1440
|
-
}, TContext>;
|
|
1441
|
-
declare const
|
|
1442
|
-
declare const
|
|
1443
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1444
|
-
|
|
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>;
|
|
1694
|
+
data: BodyType<VerifyRequest>;
|
|
1695
|
+
}, TContext>;
|
|
1696
|
+
declare const useVerifyTotpFactorHook: () => (verifyTotpFactorRequest: BodyType<VerifyTotpFactorRequest>, signal?: AbortSignal) => Promise<VerifyTotpFactor200>;
|
|
1697
|
+
declare const useVerifyTotpFactorMutationOptions: <TError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>, TContext = unknown>(options?: {
|
|
1698
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
|
|
1699
|
+
data: BodyType<VerifyTotpFactorRequest>;
|
|
1454
1700
|
}, TContext>;
|
|
1455
|
-
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1456
|
-
data: BodyType<
|
|
1701
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
|
|
1702
|
+
data: BodyType<VerifyTotpFactorRequest>;
|
|
1457
1703
|
}, TContext>;
|
|
1458
|
-
type
|
|
1459
|
-
type
|
|
1460
|
-
type
|
|
1461
|
-
declare const
|
|
1462
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1463
|
-
data: BodyType<
|
|
1704
|
+
type VerifyTotpFactorMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>>;
|
|
1705
|
+
type VerifyTotpFactorMutationBody = BodyType<VerifyTotpFactorRequest>;
|
|
1706
|
+
type VerifyTotpFactorMutationError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>;
|
|
1707
|
+
declare const useVerifyTotpFactor: <TError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>, TContext = unknown>(options?: {
|
|
1708
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
|
|
1709
|
+
data: BodyType<VerifyTotpFactorRequest>;
|
|
1464
1710
|
}, TContext>;
|
|
1465
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof
|
|
1466
|
-
data: BodyType<
|
|
1711
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
|
|
1712
|
+
data: BodyType<VerifyTotpFactorRequest>;
|
|
1467
1713
|
}, TContext>;
|
|
1468
|
-
declare const
|
|
1469
|
-
declare const
|
|
1470
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1471
|
-
|
|
1714
|
+
declare const useGenerateAdminPortalLinkHook: () => (params: GenerateAdminPortalLinkParams, signal?: AbortSignal) => Promise<GenerateAdminPortalLink201>;
|
|
1715
|
+
declare const useGenerateAdminPortalLinkMutationOptions: <TError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>, TContext = unknown>(options?: {
|
|
1716
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
|
|
1717
|
+
params: GenerateAdminPortalLinkParams;
|
|
1472
1718
|
}, TContext>;
|
|
1473
|
-
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1474
|
-
|
|
1719
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
|
|
1720
|
+
params: GenerateAdminPortalLinkParams;
|
|
1475
1721
|
}, TContext>;
|
|
1476
|
-
type
|
|
1477
|
-
type
|
|
1478
|
-
declare const
|
|
1479
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1480
|
-
|
|
1722
|
+
type GenerateAdminPortalLinkMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>>;
|
|
1723
|
+
type GenerateAdminPortalLinkMutationError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>;
|
|
1724
|
+
declare const useGenerateAdminPortalLink: <TError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>, TContext = unknown>(options?: {
|
|
1725
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
|
|
1726
|
+
params: GenerateAdminPortalLinkParams;
|
|
1481
1727
|
}, TContext>;
|
|
1482
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof
|
|
1483
|
-
|
|
1728
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
|
|
1729
|
+
params: GenerateAdminPortalLinkParams;
|
|
1484
1730
|
}, 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> & {
|
|
1490
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1491
|
-
};
|
|
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">;
|
|
1496
|
-
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1497
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1498
|
-
};
|
|
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">;
|
|
1501
|
-
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1502
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1503
|
-
};
|
|
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>>;
|
|
1506
|
-
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1507
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1508
|
-
};
|
|
1509
1731
|
declare const useListOrganizationDomainsHook: () => (signal?: AbortSignal) => Promise<ListOrganizationDomains200>;
|
|
1510
1732
|
declare const getListOrganizationDomainsQueryKey: () => readonly ["/_widgets/admin-portal/organization-domains"];
|
|
1511
1733
|
declare const useListOrganizationDomainsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError = ErrorType<ListOrganizationDomains403 | ListOrganizationDomains404>>(options?: {
|
|
@@ -1530,23 +1752,6 @@ declare function useListOrganizationDomains<TData = Awaited<ReturnType<ReturnTyp
|
|
|
1530
1752
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1531
1753
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1532
1754
|
};
|
|
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
1755
|
declare const useDeleteOrganizationDomainHook: () => (domainId: string) => Promise<OrganizationDomain>;
|
|
1551
1756
|
declare const useDeleteOrganizationDomainMutationOptions: <TError = ErrorType<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>, TContext = unknown>(options?: {
|
|
1552
1757
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>, TError, {
|
|
@@ -1605,177 +1810,53 @@ declare function useListSsoConnections<TData = Awaited<ReturnType<ReturnType<typ
|
|
|
1605
1810
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1606
1811
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1607
1812
|
};
|
|
1608
|
-
declare const
|
|
1609
|
-
declare const
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
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> & {
|
|
1696
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1697
|
-
};
|
|
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">;
|
|
1702
|
-
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1703
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1704
|
-
};
|
|
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">;
|
|
1707
|
-
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1708
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1709
|
-
};
|
|
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>>;
|
|
1712
|
-
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1713
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1714
|
-
};
|
|
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> & {
|
|
1813
|
+
declare const useListDirectoriesHook: () => (signal?: AbortSignal) => Promise<DirectoriesResponse>;
|
|
1814
|
+
declare const getListDirectoriesQueryKey: () => readonly ["/_widgets/directory-sync/directories"];
|
|
1815
|
+
declare const useListDirectoriesQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError = ErrorType<ListDirectories403 | ListDirectories404>>(options?: {
|
|
1816
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError, TData>>;
|
|
1817
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError, TData> & {
|
|
1720
1818
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1721
1819
|
};
|
|
1722
|
-
type
|
|
1723
|
-
type
|
|
1724
|
-
declare function
|
|
1725
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1820
|
+
type ListDirectoriesQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>>;
|
|
1821
|
+
type ListDirectoriesQueryError = ErrorType<ListDirectories403 | ListDirectories404>;
|
|
1822
|
+
declare function useListDirectories<TData = Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError = ErrorType<ListDirectories403 | ListDirectories404>>(options: {
|
|
1823
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>>, "initialData">;
|
|
1726
1824
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1727
1825
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1728
1826
|
};
|
|
1729
|
-
declare function
|
|
1730
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1827
|
+
declare function useListDirectories<TData = Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError = ErrorType<ListDirectories403 | ListDirectories404>>(options?: {
|
|
1828
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>>, "initialData">;
|
|
1731
1829
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1732
1830
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1733
1831
|
};
|
|
1734
|
-
declare function
|
|
1735
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1832
|
+
declare function useListDirectories<TData = Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError = ErrorType<ListDirectories403 | ListDirectories404>>(options?: {
|
|
1833
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListDirectoriesHook>>>, TError, TData>>;
|
|
1736
1834
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1737
1835
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1738
1836
|
};
|
|
1739
|
-
declare const
|
|
1740
|
-
declare const
|
|
1741
|
-
declare const
|
|
1742
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1743
|
-
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1837
|
+
declare const useSettingsHook: () => (signal?: AbortSignal) => Promise<SettingsResponse>;
|
|
1838
|
+
declare const getSettingsQueryKey: () => readonly ["/_widgets/settings"];
|
|
1839
|
+
declare const useSettingsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options?: {
|
|
1840
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData>>;
|
|
1841
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData> & {
|
|
1744
1842
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1745
1843
|
};
|
|
1746
|
-
type
|
|
1747
|
-
type
|
|
1748
|
-
declare function
|
|
1749
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1844
|
+
type SettingsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>>;
|
|
1845
|
+
type SettingsQueryError = ErrorType<Settings403>;
|
|
1846
|
+
declare function useSettings<TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options: {
|
|
1847
|
+
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
1848
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1751
1849
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1752
1850
|
};
|
|
1753
|
-
declare function
|
|
1754
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1851
|
+
declare function useSettings<TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options?: {
|
|
1852
|
+
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
1853
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1756
1854
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1757
1855
|
};
|
|
1758
|
-
declare function
|
|
1759
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof
|
|
1856
|
+
declare function useSettings<TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options?: {
|
|
1857
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData>>;
|
|
1760
1858
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1761
1859
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1762
1860
|
};
|
|
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
1861
|
|
|
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 };
|
|
1862
|
+
export { type ActiveSession, type ActiveSessionCurrentLocation, type ActiveSessionCurrentLocationOneOf, type ActiveSessionImpersonationReason, type ActiveSessionImpersonatorEmail, type ActiveSessionImpersonatorUserId, type ActiveSessionIpAddress, type ActiveSessionLastActivityAt, type ActiveSessionOrganizationId, type ActiveSessionState, type ActiveSessionStateExpiresAt, type ActiveSessionUserAgent, type ActiveSessionsResponse, type AuthenticationInformation403, type AuthenticationInformationQueryError, type AuthenticationInformationQueryResult, type AuthenticationInformationResponse, type AuthenticationInformationResponseData, type AuthenticationInformationResponseDataPasswordSettings, type AuthenticationInformationResponseDataVerificationMethods, type AuthenticationInformationResponseDataVerificationMethodsMfa, type AuthenticationInformationResponseDataVerificationMethodsMfaOneOf, type AuthenticationInformationResponseDataVerificationMethodsMfaOneOfLastUsed, AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider, type AuthenticationInformationResponseDataVerificationMethodsPasskey, type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOf, type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfLastUsed, type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfPassKeysItem, AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider, type AuthenticationInformationResponseDataVerificationMethodsPassword, type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOf, type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfLastUsed, AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider, type CreateOrganizationApiKey400, type CreateOrganizationApiKey403, type CreateOrganizationApiKey404, type CreateOrganizationApiKey422, type CreateOrganizationApiKey422ErrorsItem, type CreateOrganizationApiKeyMutationBody, type CreateOrganizationApiKeyMutationError, type CreateOrganizationApiKeyMutationResult, type CreateOrganizationApiKeyRequest, type CreateOrganizationApiKeyResponse, type CreatePassword201, type CreatePassword400, type CreatePassword403, type CreatePasswordMutationBody, type CreatePasswordMutationError, type CreatePasswordMutationResult, type CreatePasswordRequest, type CreateTotpFactor400, type CreateTotpFactor403, type CreateTotpFactorMutationError, type CreateTotpFactorMutationResult, type CreateTotpFactorResponse, type CreateTotpFactorResponseAuthenticationChallenge, type CreateTotpFactorResponseAuthenticationChallengeAllOf, type CreateTotpFactorResponseAuthenticationChallengeAllOfCode, type CreateTotpFactorResponseAuthenticationChallengeAllOfExpiresAt, type CreateTotpFactorResponseAuthenticationChallengeAllOfFive, CreateTotpFactorResponseAuthenticationChallengeAllOfObject, type CreateTotpFactorResponseAuthenticationFactor, type CreateTotpFactorResponseAuthenticationFactorAllOf, CreateTotpFactorResponseAuthenticationFactorAllOfObject, type CreateTotpFactorResponseAuthenticationFactorAllOfOnezero, type CreateTotpFactorResponseAuthenticationFactorAllOfSms, type CreateTotpFactorResponseAuthenticationFactorAllOfSmsOneOf, type CreateTotpFactorResponseAuthenticationFactorAllOfTotp, type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf, type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo, CreateTotpFactorResponseAuthenticationFactorAllOfType, type CreateTotpFactorResponseAuthenticationFactorAllOfUserId, type DataInstallation, type DataInstallationAllOf, DataInstallationAllOfObject, type DataInstallationAllOfOrganizationId, type DataInstallationAllOfSix, type DataInstallationAllOfSixOrganizationId, type DataInstallationAllOfSixUserlandUserId, DataInstallationAllOfState, type DataInstallationAllOfUserId, type DataIntegration, DataIntegrationCredentialsType, type DataIntegrationDescription, type DataIntegrationInstallation, DataIntegrationIntegrationType, DataIntegrationObject, DataIntegrationOwnership, type DataIntegrationScopes, type DataIntegrationsResponse, type DeleteDataInstallation200, type DeleteDataInstallation403, type DeleteDataInstallation404, type DeleteDataInstallationMutationError, type DeleteDataInstallationMutationResult, type DeleteOrganizationApiKey200, type DeleteOrganizationApiKey403, type DeleteOrganizationApiKey404, type DeleteOrganizationApiKeyMutationError, type DeleteOrganizationApiKeyMutationResult, type DeleteOrganizationDomain403, type DeleteOrganizationDomain404, type DeleteOrganizationDomainMutationError, type DeleteOrganizationDomainMutationResult, type DeletePasskey200, type DeletePasskey400, type DeletePasskey403, type DeletePasskeyMutationError, type DeletePasskeyMutationResult, type DeleteTotpFactors200, type DeleteTotpFactors400, type DeleteTotpFactors403, type DeleteTotpFactorsMutationError, type DeleteTotpFactorsMutationResult, type DirectoriesResponse, type Directory, type DirectoryMetadata, DirectoryState, DirectoryType, type DirectoryUsersMetadata, DomainVerificationNameServer, type GenerateAdminPortalLink201, type GenerateAdminPortalLink403, type GenerateAdminPortalLink404, type GenerateAdminPortalLink500, GenerateAdminPortalLinkIntent, type GenerateAdminPortalLinkMutationError, type GenerateAdminPortalLinkMutationResult, type GenerateAdminPortalLinkParams, type GetAuthorizationStatusResponse, type GetDataInstallationAuthorizationStatus400, type GetDataInstallationAuthorizationStatus403, type GetDataInstallationAuthorizationStatus404, type GetDataInstallationAuthorizationStatusQueryError, type GetDataInstallationAuthorizationStatusQueryResult, type GetDataIntegrationAuthorizeUrl400, type GetDataIntegrationAuthorizeUrl403, type GetDataIntegrationAuthorizeUrl404, type GetDataIntegrationAuthorizeUrlParams, type GetDataIntegrationAuthorizeUrlQueryError, type GetDataIntegrationAuthorizeUrlQueryResult, type GetDataIntegrationAuthorizeUrlResponse, type GetDataIntegrationAuthorizeUrlResponseAllOf, type GetDataIntegrationAuthorizeUrlResponseAllOfTwo, type InviteMember201, type InviteMember400, type InviteMember403, type InviteMember404, type InviteMemberInput, type InviteMemberInputFirstName, type InviteMemberInputLastName, type InviteMemberMutationBody, type InviteMemberMutationError, type InviteMemberMutationResult, type ListDirectories403, type ListDirectories404, type ListDirectoriesQueryError, type ListDirectoriesQueryResult, type ListMetadata, type ListMetadataAfter, type ListMetadataBefore, type ListOrganizationApiKeyPermission, type ListOrganizationApiKeyPermissionDescription, type ListOrganizationApiKeyPermissions400, type ListOrganizationApiKeyPermissions403, type ListOrganizationApiKeyPermissionsParams, type ListOrganizationApiKeyPermissionsQueryError, type ListOrganizationApiKeyPermissionsQueryResult, type ListOrganizationApiKeyPermissionsResponse, type ListOrganizationApiKeyPermissionsResponseListMetadata, type ListOrganizationApiKeys400, type ListOrganizationApiKeys403, type ListOrganizationApiKeysParams, type ListOrganizationApiKeysQueryError, type ListOrganizationApiKeysQueryResult, type ListOrganizationApiKeysResponse, type ListOrganizationApiKeysResponseData, type ListOrganizationApiKeysResponseDataLastUsedAt, type ListOrganizationApiKeysResponseListMetadata, type ListOrganizationDomains200, type ListOrganizationDomains403, type ListOrganizationDomains404, type ListOrganizationDomainsQueryError, type ListOrganizationDomainsQueryResult, type ListSsoConnectionsQueryError, type ListSsoConnectionsQueryResult, type Me, type Me403, type MeFirstName, type MeLastName, type MeLocale, type MeOauthProfiles, type MeOauthProfilesOneOf, type MeProfilePictureUrl, type MeQueryError, type MeQueryResult, type Member, type MemberActions, MemberActionsItem, type MemberFirstName, type MemberIsLoggedInUser, type MemberLastActivityAt, type MemberLastName, type MemberProfilePictureUrl, type MemberRole, type MemberRoleDescription, type MemberRoles, type MemberRolesOneOfItem, type MemberRolesOneOfItemDescription, MemberStatus, type Members200, type Members403, type Members404, type MembersParams, type MembersQueryError, type MembersQueryResult, type MyDataIntegrations403, type MyDataIntegrationsQueryError, type MyDataIntegrationsQueryResult, type OAuthProfile, type OAuthProfileEmail, type OAuthProfileFirstName, type OAuthProfileLastLoginAt, type OAuthProfileLastName, type OAuthProfileProfilePictureUrl, OidcSessionState, type OrganizationDomain, OrganizationDomainState, type OrganizationDomainSubdomain, type OrganizationDomainVerificationPrefix, type OrganizationDomainVerificationToken, type OrganizationInfo, type OrganizationInfoFavicon, type Organizations403, type Organizations404, type OrganizationsQueryError, type OrganizationsQueryResult, type OrganizationsResponse, type RegisterPasskey400, type RegisterPasskey403, type RegisterPasskeyMutationError, type RegisterPasskeyMutationResult, type RegisterPasskeyResponse, type RegisterPasskeyResponseOptions, type RemoveMember200, type RemoveMember400, type RemoveMember403, type RemoveMember404, type RemoveMemberMutationError, type RemoveMemberMutationResult, type ResendInvite201, type ResendInvite201Id, type ResendInvite400, type ResendInvite403, type ResendInvite404, type ResendInvite422, type ResendInviteMutationError, type ResendInviteMutationResult, type ReverifyOrganizationDomain403, type ReverifyOrganizationDomain404, type ReverifyOrganizationDomainMutationError, type ReverifyOrganizationDomainMutationResult, type RevokeAllSessions200, type RevokeAllSessions400, type RevokeAllSessions403, type RevokeAllSessionsMutationBody, type RevokeAllSessionsMutationError, type RevokeAllSessionsMutationResult, type RevokeAllSessionsRequest, type RevokeInvite200, type RevokeInvite400, type RevokeInvite403, type RevokeInvite404, type RevokeInviteMutationError, type RevokeInviteMutationResult, type RevokeSession200, type RevokeSession400, type RevokeSession403, type RevokeSessionMutationError, type RevokeSessionMutationResult, type Roles403, type Roles404, type RolesAndConfig403, type RolesAndConfig404, type RolesAndConfigQueryError, type RolesAndConfigQueryResult, type RolesAndConfigResponse, type RolesQueryError, type RolesQueryResult, SamlSessionState, type SendVerification400, type SendVerification403, type SendVerificationMutationError, type SendVerificationMutationResult, type SendVerificationResponse, SendVerificationResponseType, type Sessions403, type SessionsQueryError, type SessionsQueryResult, type Settings403, type SettingsQueryError, type SettingsQueryResult, type SettingsResponse, type SettingsResponseLogoDarkIconPath, type SettingsResponseLogoDarkPath, type SettingsResponseLogoLightIconPath, type SettingsResponseLogoLightPath, SettingsResponseObject, type SsoConnection, type SsoConnectionAnyOf, type SsoConnectionAnyOfEight, type SsoConnectionAnyOfEightAllOf, type SsoConnectionAnyOfEightAllOfLastSession, SsoConnectionAnyOfEightAllOfProviderTag, type SsoConnectionAnyOfEightAllOfSix, SsoConnectionAnyOfEightAllOfState, SsoConnectionAnyOfEightAllOfType, type SsoConnectionAnyOfLastSession, type SsoConnectionAnyOfLatestExpiredCertificate, type SsoConnectionAnyOfLatestExpiringCertificate, SsoConnectionAnyOfProviderTag, SsoConnectionAnyOfState, SsoConnectionAnyOfType, type SsoConnectionSessionJSON, SsoConnectionSessionJSONState, type UpdateMe400, type UpdateMe403, type UpdateMeInput, type UpdateMeMutationBody, type UpdateMeMutationError, type UpdateMeMutationResult, type UpdateMember200, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMember422, type UpdateMemberInput, type UpdateMemberMutationBody, type UpdateMemberMutationError, type UpdateMemberMutationResult, type UpdatePassword201, type UpdatePassword400, type UpdatePassword403, type UpdatePasswordMutationBody, type UpdatePasswordMutationError, type UpdatePasswordMutationResult, type UpdatePasswordRequest, type Verify400, type Verify403, type VerifyMutationBody, type VerifyMutationError, type VerifyMutationResult, type VerifyPasskey200, type VerifyPasskey400, type VerifyPasskey403, type VerifyPasskeyMutationBody, type VerifyPasskeyMutationError, type VerifyPasskeyMutationResult, type VerifyPasskeyRequest, type VerifyPasskeyRequestResponse, type VerifyRequest, type VerifyResponse, type VerifyTotpFactor200, type VerifyTotpFactor400, type VerifyTotpFactor403, type VerifyTotpFactorMutationBody, type VerifyTotpFactorMutationError, type VerifyTotpFactorMutationResult, type VerifyTotpFactorRequest, type X509CertificateJSON, type X509CertificateJSONLastExpiryEventSentAt, type X509CertificateJSONNotAfter, type X509CertificateJSONNotBefore, getAuthenticationInformationQueryKey, getGetDataInstallationAuthorizationStatusQueryKey, getGetDataIntegrationAuthorizeUrlQueryKey, getListDirectoriesQueryKey, getListOrganizationApiKeyPermissionsQueryKey, getListOrganizationApiKeysQueryKey, getListOrganizationDomainsQueryKey, getListSsoConnectionsQueryKey, getMeQueryKey, getMembersQueryKey, getMyDataIntegrationsQueryKey, getOrganizationsQueryKey, getRolesAndConfigQueryKey, getRolesQueryKey, getSessionsQueryKey, getSettingsQueryKey, useAuthenticationInformation, useAuthenticationInformationHook, useAuthenticationInformationQueryOptions, useCreateOrganizationApiKey, useCreateOrganizationApiKeyHook, useCreateOrganizationApiKeyMutationOptions, useCreatePassword, useCreatePasswordHook, useCreatePasswordMutationOptions, useCreateTotpFactor, useCreateTotpFactorHook, useCreateTotpFactorMutationOptions, useDeleteDataInstallation, useDeleteDataInstallationHook, useDeleteDataInstallationMutationOptions, useDeleteOrganizationApiKey, useDeleteOrganizationApiKeyHook, useDeleteOrganizationApiKeyMutationOptions, useDeleteOrganizationDomain, useDeleteOrganizationDomainHook, useDeleteOrganizationDomainMutationOptions, useDeletePasskey, useDeletePasskeyHook, useDeletePasskeyMutationOptions, useDeleteTotpFactors, useDeleteTotpFactorsHook, useDeleteTotpFactorsMutationOptions, useGenerateAdminPortalLink, useGenerateAdminPortalLinkHook, useGenerateAdminPortalLinkMutationOptions, useGetDataInstallationAuthorizationStatus, useGetDataInstallationAuthorizationStatusHook, useGetDataInstallationAuthorizationStatusQueryOptions, useGetDataIntegrationAuthorizeUrl, useGetDataIntegrationAuthorizeUrlHook, useGetDataIntegrationAuthorizeUrlQueryOptions, useInviteMember, useInviteMemberHook, useInviteMemberMutationOptions, useListDirectories, useListDirectoriesHook, useListDirectoriesQueryOptions, useListOrganizationApiKeyPermissions, useListOrganizationApiKeyPermissionsHook, useListOrganizationApiKeyPermissionsQueryOptions, useListOrganizationApiKeys, useListOrganizationApiKeysHook, useListOrganizationApiKeysQueryOptions, useListOrganizationDomains, useListOrganizationDomainsHook, useListOrganizationDomainsQueryOptions, useListSsoConnections, useListSsoConnectionsHook, useListSsoConnectionsQueryOptions, useMe, useMeHook, useMeQueryOptions, useMembers, useMembersHook, useMembersQueryOptions, useMyDataIntegrations, useMyDataIntegrationsHook, useMyDataIntegrationsQueryOptions, useOrganizations, useOrganizationsHook, useOrganizationsQueryOptions, useRegisterPasskey, useRegisterPasskeyHook, useRegisterPasskeyMutationOptions, useRemoveMember, useRemoveMemberHook, useRemoveMemberMutationOptions, useResendInvite, useResendInviteHook, useResendInviteMutationOptions, useReverifyOrganizationDomain, useReverifyOrganizationDomainHook, useReverifyOrganizationDomainMutationOptions, useRevokeAllSessions, useRevokeAllSessionsHook, useRevokeAllSessionsMutationOptions, useRevokeInvite, useRevokeInviteHook, useRevokeInviteMutationOptions, useRevokeSession, useRevokeSessionHook, useRevokeSessionMutationOptions, useRoles, useRolesAndConfig, useRolesAndConfigHook, useRolesAndConfigQueryOptions, useRolesHook, useRolesQueryOptions, useSendVerification, useSendVerificationHook, useSendVerificationMutationOptions, useSessions, useSessionsHook, useSessionsQueryOptions, useSettings, useSettingsHook, useSettingsQueryOptions, useUpdateMe, useUpdateMeHook, useUpdateMeMutationOptions, useUpdateMember, useUpdateMemberHook, useUpdateMemberMutationOptions, useUpdatePassword, useUpdatePasswordHook, useUpdatePasswordMutationOptions, useVerify, useVerifyHook, useVerifyMutationOptions, useVerifyPasskey, useVerifyPasskeyHook, useVerifyPasskeyMutationOptions, useVerifyTotpFactor, useVerifyTotpFactorHook, useVerifyTotpFactorMutationOptions };
|