@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,9 +1,10 @@
|
|
|
1
|
-
import * as swr_mutation from 'swr/mutation';
|
|
2
|
-
import { SWRMutationConfiguration } from 'swr/mutation';
|
|
3
1
|
import * as swr__internal from 'swr/_internal';
|
|
4
2
|
import * as swr from 'swr';
|
|
5
|
-
import {
|
|
3
|
+
import { Key, SWRConfiguration, Arguments } from 'swr';
|
|
4
|
+
import * as swr_mutation from 'swr/mutation';
|
|
5
|
+
import { SWRMutationConfiguration } from 'swr/mutation';
|
|
6
6
|
|
|
7
|
+
type MemberStatus = (typeof MemberStatus)[keyof typeof MemberStatus];
|
|
7
8
|
declare const MemberStatus: {
|
|
8
9
|
readonly Active: "Active";
|
|
9
10
|
readonly Invited: "Invited";
|
|
@@ -11,101 +12,107 @@ declare const MemberStatus: {
|
|
|
11
12
|
readonly InviteRevoked: "InviteRevoked";
|
|
12
13
|
readonly NoInvite: "NoInvite";
|
|
13
14
|
};
|
|
14
|
-
type
|
|
15
|
+
type MemberActionsItem = (typeof MemberActionsItem)[keyof typeof MemberActionsItem];
|
|
15
16
|
declare const MemberActionsItem: {
|
|
16
17
|
readonly "edit-role": "edit-role";
|
|
17
18
|
readonly "resend-invite": "resend-invite";
|
|
18
19
|
readonly "revoke-invite": "revoke-invite";
|
|
19
20
|
readonly "revoke-membership": "revoke-membership";
|
|
20
21
|
};
|
|
21
|
-
type MemberActions =
|
|
22
|
-
type
|
|
22
|
+
type MemberActions = MemberActionsItem[];
|
|
23
|
+
type MemberProfilePictureUrl = string | null;
|
|
24
|
+
type MemberFirstName = string | null;
|
|
25
|
+
type MemberLastName = string | null;
|
|
26
|
+
type MemberLastActivityAt = string | null;
|
|
27
|
+
type MemberIsLoggedInUser = true | null;
|
|
28
|
+
type MemberRolesOneOfItemDescription = string | null;
|
|
29
|
+
type MemberRolesOneOfItem = {
|
|
23
30
|
name: string;
|
|
24
31
|
slug: string;
|
|
25
|
-
|
|
26
|
-
description?: string | null;
|
|
32
|
+
description?: MemberRolesOneOfItemDescription;
|
|
27
33
|
};
|
|
34
|
+
type MemberRoles = MemberRolesOneOfItem[] | null;
|
|
28
35
|
interface Member {
|
|
29
36
|
id: string;
|
|
30
37
|
email: string;
|
|
31
38
|
emailVerified: boolean;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
/** @nullable */
|
|
37
|
-
lastName?: string | null;
|
|
39
|
+
profilePictureUrl?: MemberProfilePictureUrl;
|
|
40
|
+
firstName?: MemberFirstName;
|
|
41
|
+
lastName?: MemberLastName;
|
|
42
|
+
/** An ISO 8601 timestamp. */
|
|
38
43
|
createdAt: string;
|
|
39
|
-
|
|
40
|
-
lastActivityAt?: string | null;
|
|
44
|
+
lastActivityAt?: MemberLastActivityAt;
|
|
41
45
|
status: MemberStatus;
|
|
42
46
|
actions: MemberActions;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
/** @nullable */
|
|
46
|
-
roles?: MemberRolesItem[] | null;
|
|
47
|
+
isLoggedInUser?: MemberIsLoggedInUser;
|
|
48
|
+
roles?: MemberRoles;
|
|
47
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* An object ID that defines your place in the list. When the ID is not present, you are at the start of the list.
|
|
52
|
+
*/
|
|
53
|
+
type ListMetadataBefore = string | null;
|
|
54
|
+
/**
|
|
55
|
+
* An object ID that defines your place in the list. When the ID is not present, you are at the end of the list.
|
|
56
|
+
*/
|
|
57
|
+
type ListMetadataAfter = string | null;
|
|
48
58
|
interface ListMetadata {
|
|
49
|
-
/**
|
|
50
|
-
before
|
|
51
|
-
/**
|
|
52
|
-
after
|
|
59
|
+
/** An object ID that defines your place in the list. When the ID is not present, you are at the start of the list. */
|
|
60
|
+
before: ListMetadataBefore;
|
|
61
|
+
/** An object ID that defines your place in the list. When the ID is not present, you are at the end of the list. */
|
|
62
|
+
after: ListMetadataAfter;
|
|
53
63
|
}
|
|
64
|
+
type MemberRoleDescription = string | null;
|
|
54
65
|
interface MemberRole {
|
|
55
66
|
name: string;
|
|
56
67
|
slug: string;
|
|
57
68
|
default: boolean;
|
|
58
|
-
|
|
59
|
-
description?: string | null;
|
|
69
|
+
description?: MemberRoleDescription;
|
|
60
70
|
}
|
|
61
71
|
interface RolesAndConfigResponse {
|
|
62
72
|
roles: MemberRole[];
|
|
63
73
|
multipleRolesEnabled: boolean;
|
|
64
74
|
}
|
|
75
|
+
type OrganizationInfoFavicon = string | null;
|
|
65
76
|
interface OrganizationInfo {
|
|
66
77
|
id: string;
|
|
67
78
|
name: string;
|
|
68
79
|
current: boolean;
|
|
69
|
-
|
|
70
|
-
favicon?: string | null;
|
|
80
|
+
favicon?: OrganizationInfoFavicon;
|
|
71
81
|
}
|
|
72
82
|
interface OrganizationsResponse {
|
|
73
83
|
data: OrganizationInfo[];
|
|
74
84
|
}
|
|
85
|
+
type OAuthProfileEmail = string | null;
|
|
86
|
+
type OAuthProfileFirstName = string | null;
|
|
87
|
+
type OAuthProfileLastName = string | null;
|
|
88
|
+
type OAuthProfileProfilePictureUrl = string | null;
|
|
89
|
+
type OAuthProfileLastLoginAt = string | null;
|
|
75
90
|
interface OAuthProfile {
|
|
76
91
|
id: string;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
lastName?: string | null;
|
|
83
|
-
/** @nullable */
|
|
84
|
-
profilePictureUrl?: string | null;
|
|
85
|
-
/** @nullable */
|
|
86
|
-
lastLoginAt?: string | null;
|
|
92
|
+
email?: OAuthProfileEmail;
|
|
93
|
+
firstName?: OAuthProfileFirstName;
|
|
94
|
+
lastName?: OAuthProfileLastName;
|
|
95
|
+
profilePictureUrl?: OAuthProfileProfilePictureUrl;
|
|
96
|
+
lastLoginAt?: OAuthProfileLastLoginAt;
|
|
87
97
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
type
|
|
98
|
+
type MeFirstName = string | null;
|
|
99
|
+
type MeLastName = string | null;
|
|
100
|
+
type MeLocale = string | null;
|
|
101
|
+
type MeProfilePictureUrl = string | null;
|
|
102
|
+
type MeOauthProfilesOneOf = {
|
|
92
103
|
AppleOAuth?: OAuthProfile;
|
|
93
104
|
GithubOAuth?: OAuthProfile;
|
|
94
105
|
GoogleOAuth?: OAuthProfile;
|
|
95
106
|
MicrosoftOAuth?: OAuthProfile;
|
|
96
|
-
}
|
|
107
|
+
};
|
|
108
|
+
type MeOauthProfiles = MeOauthProfilesOneOf | null;
|
|
97
109
|
interface Me {
|
|
98
110
|
id: string;
|
|
99
111
|
email: string;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
/** @nullable */
|
|
105
|
-
locale?: string | null;
|
|
106
|
-
/** @nullable */
|
|
107
|
-
profilePictureUrl?: string | null;
|
|
108
|
-
/** @nullable */
|
|
112
|
+
firstName?: MeFirstName;
|
|
113
|
+
lastName?: MeLastName;
|
|
114
|
+
locale?: MeLocale;
|
|
115
|
+
profilePictureUrl?: MeProfilePictureUrl;
|
|
109
116
|
oauthProfiles?: MeOauthProfiles;
|
|
110
117
|
}
|
|
111
118
|
type CreateTotpFactorResponseAuthenticationFactorAllOfObject = (typeof CreateTotpFactorResponseAuthenticationFactorAllOfObject)[keyof typeof CreateTotpFactorResponseAuthenticationFactorAllOfObject];
|
|
@@ -119,63 +126,54 @@ declare const CreateTotpFactorResponseAuthenticationFactorAllOfType: {
|
|
|
119
126
|
readonly totp: "totp";
|
|
120
127
|
readonly webauthn: "webauthn";
|
|
121
128
|
};
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
*/
|
|
125
|
-
type CreateTotpFactorResponseAuthenticationFactorAllOfSms = {
|
|
129
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfUserId = string | null;
|
|
130
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfSmsOneOf = {
|
|
126
131
|
phone_number: string;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
* @nullable
|
|
130
|
-
*/
|
|
132
|
+
};
|
|
133
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfSms = CreateTotpFactorResponseAuthenticationFactorAllOfSmsOneOf | null;
|
|
131
134
|
type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf = {
|
|
132
135
|
issuer: string;
|
|
133
136
|
user: string;
|
|
134
137
|
secret: string;
|
|
135
138
|
qr_code: string;
|
|
136
139
|
uri: string;
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* @nullable
|
|
140
|
-
*/
|
|
140
|
+
};
|
|
141
141
|
type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo = {
|
|
142
142
|
issuer: string;
|
|
143
143
|
user: string;
|
|
144
|
-
}
|
|
145
|
-
type CreateTotpFactorResponseAuthenticationFactorAllOfTotp = CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf | CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo;
|
|
144
|
+
};
|
|
145
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfTotp = CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf | CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo | null;
|
|
146
146
|
type CreateTotpFactorResponseAuthenticationFactorAllOf = {
|
|
147
147
|
object: CreateTotpFactorResponseAuthenticationFactorAllOfObject;
|
|
148
148
|
id: string;
|
|
149
149
|
type: CreateTotpFactorResponseAuthenticationFactorAllOfType;
|
|
150
|
-
|
|
151
|
-
user_id?: string | null;
|
|
152
|
-
/** @nullable */
|
|
150
|
+
user_id?: CreateTotpFactorResponseAuthenticationFactorAllOfUserId;
|
|
153
151
|
sms?: CreateTotpFactorResponseAuthenticationFactorAllOfSms;
|
|
154
152
|
totp?: CreateTotpFactorResponseAuthenticationFactorAllOfTotp;
|
|
155
153
|
};
|
|
156
|
-
type
|
|
154
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfOnezero = {
|
|
157
155
|
created_at: string;
|
|
158
156
|
updated_at: string;
|
|
159
157
|
};
|
|
160
|
-
type CreateTotpFactorResponseAuthenticationFactor = CreateTotpFactorResponseAuthenticationFactorAllOf &
|
|
158
|
+
type CreateTotpFactorResponseAuthenticationFactor = CreateTotpFactorResponseAuthenticationFactorAllOf & CreateTotpFactorResponseAuthenticationFactorAllOfOnezero;
|
|
161
159
|
type CreateTotpFactorResponseAuthenticationChallengeAllOfObject = (typeof CreateTotpFactorResponseAuthenticationChallengeAllOfObject)[keyof typeof CreateTotpFactorResponseAuthenticationChallengeAllOfObject];
|
|
162
160
|
declare const CreateTotpFactorResponseAuthenticationChallengeAllOfObject: {
|
|
163
161
|
readonly authentication_challenge: "authentication_challenge";
|
|
164
162
|
};
|
|
163
|
+
type CreateTotpFactorResponseAuthenticationChallengeAllOfExpiresAt = string | null;
|
|
164
|
+
type CreateTotpFactorResponseAuthenticationChallengeAllOfCode = string | null;
|
|
165
165
|
type CreateTotpFactorResponseAuthenticationChallengeAllOf = {
|
|
166
166
|
object: CreateTotpFactorResponseAuthenticationChallengeAllOfObject;
|
|
167
167
|
id: string;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
/** @nullable */
|
|
171
|
-
code?: string | null;
|
|
168
|
+
expires_at?: CreateTotpFactorResponseAuthenticationChallengeAllOfExpiresAt;
|
|
169
|
+
code?: CreateTotpFactorResponseAuthenticationChallengeAllOfCode;
|
|
172
170
|
authentication_factor_id: string;
|
|
173
171
|
};
|
|
174
|
-
type
|
|
172
|
+
type CreateTotpFactorResponseAuthenticationChallengeAllOfFive = {
|
|
175
173
|
created_at: string;
|
|
176
174
|
updated_at: string;
|
|
177
175
|
};
|
|
178
|
-
type CreateTotpFactorResponseAuthenticationChallenge = CreateTotpFactorResponseAuthenticationChallengeAllOf &
|
|
176
|
+
type CreateTotpFactorResponseAuthenticationChallenge = CreateTotpFactorResponseAuthenticationChallengeAllOf & CreateTotpFactorResponseAuthenticationChallengeAllOfFive;
|
|
179
177
|
interface CreateTotpFactorResponse {
|
|
180
178
|
authenticationFactor: CreateTotpFactorResponseAuthenticationFactor;
|
|
181
179
|
authenticationChallenge: CreateTotpFactorResponseAuthenticationChallenge;
|
|
@@ -184,57 +182,48 @@ interface VerifyTotpFactorRequest {
|
|
|
184
182
|
code: string;
|
|
185
183
|
authenticationChallengeId: string;
|
|
186
184
|
}
|
|
187
|
-
type
|
|
188
|
-
declare const
|
|
185
|
+
type AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider];
|
|
186
|
+
declare const AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider: {
|
|
189
187
|
readonly MFA: "MFA";
|
|
190
188
|
};
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
type AuthenticationInformationResponseDataVerificationMethodsMfa = {
|
|
195
|
-
provider: AuthenticationInformationResponseDataVerificationMethodsMfaProvider;
|
|
189
|
+
type AuthenticationInformationResponseDataVerificationMethodsMfaOneOfLastUsed = string | null;
|
|
190
|
+
type AuthenticationInformationResponseDataVerificationMethodsMfaOneOf = {
|
|
191
|
+
provider: AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider;
|
|
196
192
|
isSetUp: boolean;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
type
|
|
201
|
-
declare const
|
|
193
|
+
lastUsed?: AuthenticationInformationResponseDataVerificationMethodsMfaOneOfLastUsed;
|
|
194
|
+
};
|
|
195
|
+
type AuthenticationInformationResponseDataVerificationMethodsMfa = AuthenticationInformationResponseDataVerificationMethodsMfaOneOf | null;
|
|
196
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider];
|
|
197
|
+
declare const AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider: {
|
|
202
198
|
readonly Password: "Password";
|
|
203
199
|
};
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
type AuthenticationInformationResponseDataVerificationMethodsPassword = {
|
|
208
|
-
provider: AuthenticationInformationResponseDataVerificationMethodsPasswordProvider;
|
|
200
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfLastUsed = string | null;
|
|
201
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOf = {
|
|
202
|
+
provider: AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider;
|
|
209
203
|
isSetUp: boolean;
|
|
210
|
-
|
|
211
|
-
lastUsed?: string | null;
|
|
204
|
+
lastUsed?: AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfLastUsed;
|
|
212
205
|
isCurrentSession: boolean;
|
|
213
|
-
}
|
|
214
|
-
type
|
|
215
|
-
|
|
206
|
+
};
|
|
207
|
+
type AuthenticationInformationResponseDataVerificationMethodsPassword = AuthenticationInformationResponseDataVerificationMethodsPasswordOneOf | null;
|
|
208
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider];
|
|
209
|
+
declare const AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider: {
|
|
216
210
|
readonly Passkey: "Passkey";
|
|
217
211
|
};
|
|
218
|
-
type
|
|
212
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfLastUsed = string | null;
|
|
213
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfPassKeysItem = {
|
|
219
214
|
id: string;
|
|
220
215
|
};
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
*/
|
|
224
|
-
type AuthenticationInformationResponseDataVerificationMethodsPasskey = {
|
|
225
|
-
provider: AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider;
|
|
216
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOf = {
|
|
217
|
+
provider: AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider;
|
|
226
218
|
isSetUp: boolean;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
passKeys: AuthenticationInformationResponseDataVerificationMethodsPasskeyPassKeysItem[];
|
|
219
|
+
lastUsed?: AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfLastUsed;
|
|
220
|
+
passKeys: AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfPassKeysItem[];
|
|
230
221
|
isCurrentSession: boolean;
|
|
231
|
-
}
|
|
222
|
+
};
|
|
223
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskey = AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOf | null;
|
|
232
224
|
type AuthenticationInformationResponseDataVerificationMethods = {
|
|
233
|
-
/** @nullable */
|
|
234
225
|
Mfa?: AuthenticationInformationResponseDataVerificationMethodsMfa;
|
|
235
|
-
/** @nullable */
|
|
236
226
|
Password?: AuthenticationInformationResponseDataVerificationMethodsPassword;
|
|
237
|
-
/** @nullable */
|
|
238
227
|
Passkey?: AuthenticationInformationResponseDataVerificationMethodsPasskey;
|
|
239
228
|
};
|
|
240
229
|
type AuthenticationInformationResponseDataPasswordSettings = {
|
|
@@ -262,29 +251,30 @@ interface UpdatePasswordRequest {
|
|
|
262
251
|
interface RevokeAllSessionsRequest {
|
|
263
252
|
currentSessionId: string;
|
|
264
253
|
}
|
|
254
|
+
type ActiveSessionIpAddress = string | null;
|
|
255
|
+
type ActiveSessionUserAgent = string | null;
|
|
256
|
+
type ActiveSessionOrganizationId = string | null;
|
|
257
|
+
type ActiveSessionStateExpiresAt = string | null;
|
|
265
258
|
type ActiveSessionState = {
|
|
266
259
|
tag: string;
|
|
267
|
-
|
|
268
|
-
expiresAt?: string | null;
|
|
260
|
+
expiresAt?: ActiveSessionStateExpiresAt;
|
|
269
261
|
};
|
|
270
|
-
|
|
271
|
-
* @nullable
|
|
272
|
-
*/
|
|
273
|
-
type ActiveSessionCurrentLocation = {
|
|
262
|
+
type ActiveSessionCurrentLocationOneOf = {
|
|
274
263
|
cityName: string;
|
|
275
264
|
countryISOCode: string;
|
|
276
|
-
}
|
|
265
|
+
};
|
|
266
|
+
type ActiveSessionCurrentLocation = ActiveSessionCurrentLocationOneOf | null;
|
|
267
|
+
type ActiveSessionImpersonatorUserId = string | null;
|
|
268
|
+
type ActiveSessionImpersonatorEmail = string | null;
|
|
269
|
+
type ActiveSessionImpersonationReason = string | null;
|
|
270
|
+
type ActiveSessionLastActivityAt = string | null;
|
|
277
271
|
interface ActiveSession {
|
|
278
272
|
id: string;
|
|
279
273
|
userlandUserId: string;
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
userAgent?: string | null;
|
|
284
|
-
/** @nullable */
|
|
285
|
-
organizationId?: string | null;
|
|
274
|
+
ipAddress?: ActiveSessionIpAddress;
|
|
275
|
+
userAgent?: ActiveSessionUserAgent;
|
|
276
|
+
organizationId?: ActiveSessionOrganizationId;
|
|
286
277
|
state: ActiveSessionState;
|
|
287
|
-
/** @nullable */
|
|
288
278
|
currentLocation?: ActiveSessionCurrentLocation;
|
|
289
279
|
usedSsoAuth: boolean;
|
|
290
280
|
usedPasswordAuth: boolean;
|
|
@@ -300,14 +290,10 @@ interface ActiveSession {
|
|
|
300
290
|
usedSlackOauth: boolean;
|
|
301
291
|
usedXeroOauth: boolean;
|
|
302
292
|
usedMagicAuth: boolean;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
/** @nullable */
|
|
308
|
-
impersonationReason?: string | null;
|
|
309
|
-
/** @nullable */
|
|
310
|
-
lastActivityAt?: string | null;
|
|
293
|
+
impersonatorUserId?: ActiveSessionImpersonatorUserId;
|
|
294
|
+
impersonatorEmail?: ActiveSessionImpersonatorEmail;
|
|
295
|
+
impersonationReason?: ActiveSessionImpersonationReason;
|
|
296
|
+
lastActivityAt?: ActiveSessionLastActivityAt;
|
|
311
297
|
createdAt: string;
|
|
312
298
|
updatedAt: string;
|
|
313
299
|
}
|
|
@@ -348,17 +334,17 @@ type SettingsResponseObject = (typeof SettingsResponseObject)[keyof typeof Setti
|
|
|
348
334
|
declare const SettingsResponseObject: {
|
|
349
335
|
readonly settings: "settings";
|
|
350
336
|
};
|
|
337
|
+
type SettingsResponseLogoDarkIconPath = string | null;
|
|
338
|
+
type SettingsResponseLogoDarkPath = string | null;
|
|
339
|
+
type SettingsResponseLogoLightIconPath = string | null;
|
|
340
|
+
type SettingsResponseLogoLightPath = string | null;
|
|
351
341
|
interface SettingsResponse {
|
|
352
342
|
object: SettingsResponseObject;
|
|
353
343
|
authkitOrigin: string;
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
/** @nullable */
|
|
359
|
-
logoLightIconPath?: string | null;
|
|
360
|
-
/** @nullable */
|
|
361
|
-
logoLightPath?: string | null;
|
|
344
|
+
logoDarkIconPath?: SettingsResponseLogoDarkIconPath;
|
|
345
|
+
logoDarkPath?: SettingsResponseLogoDarkPath;
|
|
346
|
+
logoLightIconPath?: SettingsResponseLogoLightIconPath;
|
|
347
|
+
logoLightPath?: SettingsResponseLogoLightPath;
|
|
362
348
|
teamName: string;
|
|
363
349
|
}
|
|
364
350
|
type OrganizationDomainState = (typeof OrganizationDomainState)[keyof typeof OrganizationDomainState];
|
|
@@ -376,28 +362,28 @@ declare const DomainVerificationNameServer: {
|
|
|
376
362
|
readonly GoDaddy: "GoDaddy";
|
|
377
363
|
readonly Other: "Other";
|
|
378
364
|
};
|
|
365
|
+
type OrganizationDomainVerificationPrefix = string | null;
|
|
366
|
+
type OrganizationDomainVerificationToken = string | null;
|
|
367
|
+
type OrganizationDomainSubdomain = string | null;
|
|
379
368
|
interface OrganizationDomain {
|
|
380
369
|
id: string;
|
|
381
370
|
domain: string;
|
|
382
371
|
state: OrganizationDomainState;
|
|
383
372
|
nameServer: DomainVerificationNameServer;
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
verificationToken?: string | null;
|
|
388
|
-
/** @nullable */
|
|
389
|
-
subdomain?: string | null;
|
|
373
|
+
verificationPrefix?: OrganizationDomainVerificationPrefix;
|
|
374
|
+
verificationToken?: OrganizationDomainVerificationToken;
|
|
375
|
+
subdomain?: OrganizationDomainSubdomain;
|
|
390
376
|
createdAt: string;
|
|
391
377
|
}
|
|
378
|
+
type X509CertificateJSONNotBefore = string | null;
|
|
379
|
+
type X509CertificateJSONNotAfter = string | null;
|
|
380
|
+
type X509CertificateJSONLastExpiryEventSentAt = string | null;
|
|
392
381
|
interface X509CertificateJSON {
|
|
393
382
|
id: string;
|
|
394
383
|
value: string;
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
notAfter?: string | null;
|
|
399
|
-
/** @nullable */
|
|
400
|
-
lastExpiryEventSentAt?: string | null;
|
|
384
|
+
notBefore?: X509CertificateJSONNotBefore;
|
|
385
|
+
notAfter?: X509CertificateJSONNotAfter;
|
|
386
|
+
lastExpiryEventSentAt?: X509CertificateJSONLastExpiryEventSentAt;
|
|
401
387
|
}
|
|
402
388
|
type SamlSessionState = (typeof SamlSessionState)[keyof typeof SamlSessionState];
|
|
403
389
|
declare const SamlSessionState: {
|
|
@@ -524,13 +510,13 @@ type SsoConnectionAnyOfEightAllOfSix = {
|
|
|
524
510
|
};
|
|
525
511
|
type SsoConnectionAnyOfEight = SsoConnectionAnyOfEightAllOf & SsoConnectionAnyOfEightAllOfSix;
|
|
526
512
|
type SsoConnection = SsoConnectionAnyOf | SsoConnectionAnyOfEight;
|
|
513
|
+
type ListOrganizationApiKeysResponseDataLastUsedAt = string | null;
|
|
527
514
|
interface ListOrganizationApiKeysResponseData {
|
|
528
515
|
id: string;
|
|
529
516
|
name: string;
|
|
530
517
|
obfuscatedValue: string;
|
|
531
518
|
createdAt: string;
|
|
532
|
-
|
|
533
|
-
lastUsedAt?: string | null;
|
|
519
|
+
lastUsedAt?: ListOrganizationApiKeysResponseDataLastUsedAt;
|
|
534
520
|
permissions: string[];
|
|
535
521
|
}
|
|
536
522
|
type ListOrganizationApiKeysResponseListMetadata = {
|
|
@@ -539,7 +525,7 @@ type ListOrganizationApiKeysResponseListMetadata = {
|
|
|
539
525
|
};
|
|
540
526
|
interface ListOrganizationApiKeysResponse {
|
|
541
527
|
data: ListOrganizationApiKeysResponseData[];
|
|
542
|
-
|
|
528
|
+
list_metadata: ListOrganizationApiKeysResponseListMetadata;
|
|
543
529
|
}
|
|
544
530
|
interface CreateOrganizationApiKeyRequest {
|
|
545
531
|
name: string;
|
|
@@ -553,12 +539,12 @@ interface CreateOrganizationApiKeyResponse {
|
|
|
553
539
|
name: string;
|
|
554
540
|
permissions: string[];
|
|
555
541
|
}
|
|
542
|
+
type ListOrganizationApiKeyPermissionDescription = string | null;
|
|
556
543
|
interface ListOrganizationApiKeyPermission {
|
|
557
544
|
id: string;
|
|
558
545
|
slug: string;
|
|
559
546
|
name: string;
|
|
560
|
-
|
|
561
|
-
description?: string | null;
|
|
547
|
+
description?: ListOrganizationApiKeyPermissionDescription;
|
|
562
548
|
}
|
|
563
549
|
type ListOrganizationApiKeyPermissionsResponseListMetadata = {
|
|
564
550
|
before?: string;
|
|
@@ -566,32 +552,42 @@ type ListOrganizationApiKeyPermissionsResponseListMetadata = {
|
|
|
566
552
|
};
|
|
567
553
|
interface ListOrganizationApiKeyPermissionsResponse {
|
|
568
554
|
data: ListOrganizationApiKeyPermission[];
|
|
569
|
-
|
|
555
|
+
list_metadata: ListOrganizationApiKeyPermissionsResponseListMetadata;
|
|
570
556
|
}
|
|
571
|
-
declare const
|
|
557
|
+
declare const DataInstallationAllOfObject: {
|
|
572
558
|
readonly data_installation: "data_installation";
|
|
573
559
|
readonly connected_account: "connected_account";
|
|
574
560
|
};
|
|
575
|
-
|
|
561
|
+
type DataInstallationAllOfUserId = string | null;
|
|
562
|
+
type DataInstallationAllOfOrganizationId = string | null;
|
|
563
|
+
declare const DataInstallationAllOfState: {
|
|
576
564
|
readonly connected: "connected";
|
|
577
565
|
readonly needs_reauthorization: "needs_reauthorization";
|
|
578
566
|
};
|
|
579
|
-
|
|
580
|
-
object: (typeof
|
|
567
|
+
type DataInstallationAllOf = {
|
|
568
|
+
object: (typeof DataInstallationAllOfObject)[keyof typeof DataInstallationAllOfObject];
|
|
581
569
|
id: string;
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
/** @nullable */
|
|
585
|
-
organizationId?: string | null;
|
|
570
|
+
user_id?: DataInstallationAllOfUserId;
|
|
571
|
+
organization_id?: DataInstallationAllOfOrganizationId;
|
|
586
572
|
scopes: string[];
|
|
587
|
-
state: (typeof
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
}
|
|
573
|
+
state: (typeof DataInstallationAllOfState)[keyof typeof DataInstallationAllOfState];
|
|
574
|
+
created_at: string;
|
|
575
|
+
updated_at: string;
|
|
576
|
+
};
|
|
577
|
+
type DataInstallationAllOfSixUserlandUserId = string | null;
|
|
578
|
+
type DataInstallationAllOfSixOrganizationId = string | null;
|
|
579
|
+
type DataInstallationAllOfSix = {
|
|
580
|
+
userlandUserId?: DataInstallationAllOfSixUserlandUserId;
|
|
581
|
+
organizationId?: DataInstallationAllOfSixOrganizationId;
|
|
582
|
+
createdAt?: string;
|
|
583
|
+
updatedAt?: string;
|
|
584
|
+
};
|
|
585
|
+
type DataInstallation = DataInstallationAllOf & DataInstallationAllOfSix;
|
|
591
586
|
type DataIntegrationObject = (typeof DataIntegrationObject)[keyof typeof DataIntegrationObject];
|
|
592
587
|
declare const DataIntegrationObject: {
|
|
593
588
|
readonly data_integration: "data_integration";
|
|
594
589
|
};
|
|
590
|
+
type DataIntegrationDescription = string | null;
|
|
595
591
|
declare const DataIntegrationIntegrationType: {
|
|
596
592
|
readonly asana: "asana";
|
|
597
593
|
readonly box: "box";
|
|
@@ -639,19 +635,18 @@ declare const DataIntegrationCredentialsType: {
|
|
|
639
635
|
readonly shared: "shared";
|
|
640
636
|
readonly custom: "custom";
|
|
641
637
|
};
|
|
638
|
+
type DataIntegrationScopes = string[] | null;
|
|
642
639
|
type DataIntegrationInstallation = DataInstallation | null;
|
|
643
640
|
interface DataIntegration {
|
|
644
641
|
object: DataIntegrationObject;
|
|
645
642
|
id: string;
|
|
646
643
|
name: string;
|
|
647
|
-
|
|
648
|
-
description?: string | null;
|
|
644
|
+
description?: DataIntegrationDescription;
|
|
649
645
|
slug: string;
|
|
650
646
|
integrationType: (typeof DataIntegrationIntegrationType)[keyof typeof DataIntegrationIntegrationType];
|
|
651
647
|
ownership: (typeof DataIntegrationOwnership)[keyof typeof DataIntegrationOwnership];
|
|
652
648
|
credentialsType: (typeof DataIntegrationCredentialsType)[keyof typeof DataIntegrationCredentialsType];
|
|
653
|
-
|
|
654
|
-
scopes?: string[] | null;
|
|
649
|
+
scopes?: DataIntegrationScopes;
|
|
655
650
|
createdAt: string;
|
|
656
651
|
updatedAt: string;
|
|
657
652
|
installation?: DataIntegrationInstallation;
|
|
@@ -670,41 +665,151 @@ type GetDataIntegrationAuthorizeUrlResponse = GetDataIntegrationAuthorizeUrlResp
|
|
|
670
665
|
interface GetAuthorizationStatusResponse {
|
|
671
666
|
isConnecting: boolean;
|
|
672
667
|
}
|
|
673
|
-
type
|
|
668
|
+
type DirectoryType = (typeof DirectoryType)[keyof typeof DirectoryType];
|
|
669
|
+
declare const DirectoryType: {
|
|
670
|
+
readonly azure_scim_v20: "azure scim v2.0";
|
|
671
|
+
readonly bamboohr: "bamboohr";
|
|
672
|
+
readonly breathe_hr: "breathe hr";
|
|
673
|
+
readonly cezanne_hr: "cezanne hr";
|
|
674
|
+
readonly cyberark_scim_v20: "cyberark scim v2.0";
|
|
675
|
+
readonly fourth_hr: "fourth hr";
|
|
676
|
+
readonly generic_scim_v20: "generic scim v2.0";
|
|
677
|
+
readonly gsuite_directory: "gsuite directory";
|
|
678
|
+
readonly gusto: "gusto";
|
|
679
|
+
readonly hibob: "hibob";
|
|
680
|
+
readonly jump_cloud_scim_v20: "jump cloud scim v2.0";
|
|
681
|
+
readonly okta_scim_v20: "okta scim v2.0";
|
|
682
|
+
readonly onelogin_scim_v20: "onelogin scim v2.0";
|
|
683
|
+
readonly people_hr: "people hr";
|
|
684
|
+
readonly personio: "personio";
|
|
685
|
+
readonly pingfederate_scim_v20: "pingfederate scim v2.0";
|
|
686
|
+
readonly rippling: "rippling";
|
|
687
|
+
readonly rippling_scim_v20: "rippling scim v2.0";
|
|
688
|
+
readonly s3: "s3";
|
|
689
|
+
readonly sailpoint_scim_v20: "sailpoint scim v2.0";
|
|
690
|
+
readonly sftp: "sftp";
|
|
691
|
+
readonly sftp_workday: "sftp workday";
|
|
692
|
+
readonly workday: "workday";
|
|
693
|
+
};
|
|
694
|
+
type DirectoryState = (typeof DirectoryState)[keyof typeof DirectoryState];
|
|
695
|
+
declare const DirectoryState: {
|
|
696
|
+
readonly requires_type: "requires_type";
|
|
697
|
+
readonly linked: "linked";
|
|
698
|
+
readonly validating: "validating";
|
|
699
|
+
readonly invalid_credentials: "invalid_credentials";
|
|
700
|
+
readonly unlinked: "unlinked";
|
|
701
|
+
readonly deleting: "deleting";
|
|
702
|
+
};
|
|
703
|
+
interface DirectoryUsersMetadata {
|
|
704
|
+
active: number;
|
|
705
|
+
inactive: number;
|
|
706
|
+
}
|
|
707
|
+
interface DirectoryMetadata {
|
|
708
|
+
users: DirectoryUsersMetadata;
|
|
709
|
+
groups: number;
|
|
710
|
+
}
|
|
711
|
+
interface Directory {
|
|
712
|
+
id: string;
|
|
713
|
+
name: string;
|
|
714
|
+
type: DirectoryType;
|
|
715
|
+
state: DirectoryState;
|
|
716
|
+
createdAt: string;
|
|
717
|
+
updatedAt: string;
|
|
718
|
+
metadata: DirectoryMetadata;
|
|
719
|
+
}
|
|
720
|
+
interface DirectoriesResponse {
|
|
721
|
+
data: Directory[];
|
|
722
|
+
link: string;
|
|
723
|
+
}
|
|
724
|
+
type CreateOrganizationApiKey400 = {
|
|
725
|
+
message: string;
|
|
726
|
+
};
|
|
727
|
+
type CreateOrganizationApiKey403 = {
|
|
728
|
+
message: string;
|
|
729
|
+
};
|
|
730
|
+
type CreateOrganizationApiKey404 = {
|
|
731
|
+
message: string;
|
|
732
|
+
};
|
|
733
|
+
type CreateOrganizationApiKey422ErrorsItem = {
|
|
734
|
+
code: string;
|
|
735
|
+
field: string;
|
|
736
|
+
};
|
|
737
|
+
type CreateOrganizationApiKey422 = {
|
|
738
|
+
message: string;
|
|
739
|
+
errors: CreateOrganizationApiKey422ErrorsItem[];
|
|
740
|
+
};
|
|
741
|
+
type ListOrganizationApiKeysParams = {
|
|
742
|
+
limit?: number;
|
|
743
|
+
before?: string;
|
|
744
|
+
after?: string;
|
|
674
745
|
search?: string;
|
|
675
|
-
|
|
746
|
+
};
|
|
747
|
+
type ListOrganizationApiKeys400 = {
|
|
748
|
+
message: string;
|
|
749
|
+
};
|
|
750
|
+
type ListOrganizationApiKeys403 = {
|
|
751
|
+
message: string;
|
|
752
|
+
};
|
|
753
|
+
type ListOrganizationApiKeyPermissionsParams = {
|
|
754
|
+
search?: string;
|
|
755
|
+
limit?: number;
|
|
676
756
|
before?: string;
|
|
677
757
|
after?: string;
|
|
678
|
-
role?: string;
|
|
679
758
|
};
|
|
680
|
-
type
|
|
681
|
-
|
|
682
|
-
listMetadata: ListMetadata;
|
|
759
|
+
type ListOrganizationApiKeyPermissions400 = {
|
|
760
|
+
message: string;
|
|
683
761
|
};
|
|
684
|
-
type
|
|
762
|
+
type ListOrganizationApiKeyPermissions403 = {
|
|
685
763
|
message: string;
|
|
686
764
|
};
|
|
687
|
-
type
|
|
765
|
+
type DeleteOrganizationApiKey200 = {
|
|
766
|
+
success: boolean;
|
|
767
|
+
};
|
|
768
|
+
type DeleteOrganizationApiKey403 = {
|
|
688
769
|
message: string;
|
|
689
770
|
};
|
|
690
|
-
type
|
|
771
|
+
type DeleteOrganizationApiKey404 = {
|
|
691
772
|
message: string;
|
|
692
773
|
};
|
|
693
|
-
type
|
|
774
|
+
type DeleteDataInstallation200 = {
|
|
775
|
+
success: boolean;
|
|
776
|
+
};
|
|
777
|
+
type DeleteDataInstallation403 = {
|
|
694
778
|
message: string;
|
|
695
779
|
};
|
|
696
|
-
type
|
|
780
|
+
type DeleteDataInstallation404 = {
|
|
697
781
|
message: string;
|
|
698
782
|
};
|
|
699
|
-
type
|
|
783
|
+
type MyDataIntegrations403 = {
|
|
784
|
+
message: string;
|
|
785
|
+
};
|
|
786
|
+
type GetDataInstallationAuthorizationStatus400 = {
|
|
787
|
+
message: string;
|
|
788
|
+
};
|
|
789
|
+
type GetDataInstallationAuthorizationStatus403 = {
|
|
700
790
|
message: string;
|
|
701
791
|
};
|
|
792
|
+
type GetDataInstallationAuthorizationStatus404 = {
|
|
793
|
+
message: string;
|
|
794
|
+
};
|
|
795
|
+
type GetDataIntegrationAuthorizeUrlParams = {
|
|
796
|
+
requireHandoff?: boolean;
|
|
797
|
+
};
|
|
798
|
+
type GetDataIntegrationAuthorizeUrl400 = {
|
|
799
|
+
message: string;
|
|
800
|
+
};
|
|
801
|
+
type GetDataIntegrationAuthorizeUrl403 = {
|
|
802
|
+
message: string;
|
|
803
|
+
};
|
|
804
|
+
type GetDataIntegrationAuthorizeUrl404 = {
|
|
805
|
+
message: string;
|
|
806
|
+
};
|
|
807
|
+
type InviteMemberBodyFirstName = string | null;
|
|
808
|
+
type InviteMemberBodyLastName = string | null;
|
|
702
809
|
type InviteMemberBody = {
|
|
703
810
|
email: string;
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
/** @nullable */
|
|
707
|
-
lastName?: string | null;
|
|
811
|
+
firstName?: InviteMemberBodyFirstName;
|
|
812
|
+
lastName?: InviteMemberBodyLastName;
|
|
708
813
|
roles: string[];
|
|
709
814
|
};
|
|
710
815
|
type InviteMember201 = {
|
|
@@ -719,9 +824,22 @@ type InviteMember403 = {
|
|
|
719
824
|
type InviteMember404 = {
|
|
720
825
|
message: string;
|
|
721
826
|
};
|
|
827
|
+
type RevokeInvite200 = {
|
|
828
|
+
id: string;
|
|
829
|
+
success: boolean;
|
|
830
|
+
};
|
|
831
|
+
type RevokeInvite400 = {
|
|
832
|
+
message: string;
|
|
833
|
+
};
|
|
834
|
+
type RevokeInvite403 = {
|
|
835
|
+
message: string;
|
|
836
|
+
};
|
|
837
|
+
type RevokeInvite404 = {
|
|
838
|
+
message: string;
|
|
839
|
+
};
|
|
840
|
+
type ResendInvite201Id = string | null;
|
|
722
841
|
type ResendInvite201 = {
|
|
723
|
-
|
|
724
|
-
id?: string | null;
|
|
842
|
+
id?: ResendInvite201Id;
|
|
725
843
|
success: boolean;
|
|
726
844
|
};
|
|
727
845
|
type ResendInvite400 = {
|
|
@@ -736,17 +854,21 @@ type ResendInvite404 = {
|
|
|
736
854
|
type ResendInvite422 = {
|
|
737
855
|
message: string;
|
|
738
856
|
};
|
|
739
|
-
type
|
|
740
|
-
|
|
741
|
-
|
|
857
|
+
type MembersParams = {
|
|
858
|
+
search?: string;
|
|
859
|
+
limit?: string;
|
|
860
|
+
before?: string;
|
|
861
|
+
after?: string;
|
|
862
|
+
role?: string;
|
|
742
863
|
};
|
|
743
|
-
type
|
|
744
|
-
|
|
864
|
+
type Members200 = {
|
|
865
|
+
data: Member[];
|
|
866
|
+
list_metadata: ListMetadata;
|
|
745
867
|
};
|
|
746
|
-
type
|
|
868
|
+
type Members403 = {
|
|
747
869
|
message: string;
|
|
748
870
|
};
|
|
749
|
-
type
|
|
871
|
+
type Members404 = {
|
|
750
872
|
message: string;
|
|
751
873
|
};
|
|
752
874
|
type RemoveMember200 = {
|
|
@@ -787,84 +909,72 @@ type Organizations403 = {
|
|
|
787
909
|
type Organizations404 = {
|
|
788
910
|
message: string;
|
|
789
911
|
};
|
|
790
|
-
type
|
|
912
|
+
type Roles403 = {
|
|
791
913
|
message: string;
|
|
792
914
|
};
|
|
793
|
-
type
|
|
794
|
-
firstName?: string;
|
|
795
|
-
lastName?: string;
|
|
796
|
-
locale?: string;
|
|
797
|
-
};
|
|
798
|
-
type UpdateMe400 = {
|
|
915
|
+
type Roles404 = {
|
|
799
916
|
message: string;
|
|
800
917
|
};
|
|
801
|
-
type
|
|
918
|
+
type RolesAndConfig403 = {
|
|
802
919
|
message: string;
|
|
803
920
|
};
|
|
804
|
-
type
|
|
921
|
+
type RolesAndConfig404 = {
|
|
805
922
|
message: string;
|
|
806
923
|
};
|
|
807
|
-
type
|
|
924
|
+
type AuthenticationInformation403 = {
|
|
808
925
|
message: string;
|
|
809
926
|
};
|
|
810
|
-
type
|
|
927
|
+
type CreatePassword201 = {
|
|
811
928
|
success: boolean;
|
|
812
929
|
};
|
|
813
|
-
type
|
|
930
|
+
type CreatePassword400 = {
|
|
814
931
|
message: string;
|
|
815
932
|
};
|
|
816
|
-
type
|
|
933
|
+
type CreatePassword403 = {
|
|
817
934
|
message: string;
|
|
818
935
|
};
|
|
819
|
-
type
|
|
820
|
-
success: boolean;
|
|
821
|
-
};
|
|
822
|
-
type DeleteTotpFactors400 = {
|
|
936
|
+
type CreateTotpFactor400 = {
|
|
823
937
|
message: string;
|
|
824
938
|
};
|
|
825
|
-
type
|
|
939
|
+
type CreateTotpFactor403 = {
|
|
826
940
|
message: string;
|
|
827
941
|
};
|
|
828
|
-
type
|
|
942
|
+
type Me403 = {
|
|
829
943
|
message: string;
|
|
830
944
|
};
|
|
831
|
-
type
|
|
832
|
-
|
|
945
|
+
type UpdateMeBody = {
|
|
946
|
+
firstName?: string;
|
|
947
|
+
lastName?: string;
|
|
948
|
+
locale?: string;
|
|
833
949
|
};
|
|
834
|
-
type
|
|
950
|
+
type UpdateMe400 = {
|
|
835
951
|
message: string;
|
|
836
952
|
};
|
|
837
|
-
type
|
|
953
|
+
type UpdateMe403 = {
|
|
838
954
|
message: string;
|
|
839
955
|
};
|
|
840
|
-
type
|
|
841
|
-
success: boolean;
|
|
842
|
-
};
|
|
843
|
-
type UpdatePassword400 = {
|
|
956
|
+
type RegisterPasskey400 = {
|
|
844
957
|
message: string;
|
|
845
958
|
};
|
|
846
|
-
type
|
|
959
|
+
type RegisterPasskey403 = {
|
|
847
960
|
message: string;
|
|
848
961
|
};
|
|
849
|
-
type
|
|
962
|
+
type VerifyPasskey200 = {
|
|
850
963
|
success: boolean;
|
|
851
964
|
};
|
|
852
|
-
type
|
|
965
|
+
type VerifyPasskey400 = {
|
|
853
966
|
message: string;
|
|
854
967
|
};
|
|
855
|
-
type
|
|
968
|
+
type VerifyPasskey403 = {
|
|
856
969
|
message: string;
|
|
857
970
|
};
|
|
858
|
-
type
|
|
971
|
+
type DeletePasskey200 = {
|
|
859
972
|
success: boolean;
|
|
860
973
|
};
|
|
861
|
-
type
|
|
862
|
-
message: string;
|
|
863
|
-
};
|
|
864
|
-
type RevokeSession403 = {
|
|
974
|
+
type DeletePasskey400 = {
|
|
865
975
|
message: string;
|
|
866
976
|
};
|
|
867
|
-
type
|
|
977
|
+
type DeletePasskey403 = {
|
|
868
978
|
message: string;
|
|
869
979
|
};
|
|
870
980
|
type SendVerification400 = {
|
|
@@ -873,50 +983,62 @@ type SendVerification400 = {
|
|
|
873
983
|
type SendVerification403 = {
|
|
874
984
|
message: string;
|
|
875
985
|
};
|
|
876
|
-
type
|
|
986
|
+
type Sessions403 = {
|
|
877
987
|
message: string;
|
|
878
988
|
};
|
|
879
|
-
type
|
|
880
|
-
|
|
989
|
+
type RevokeAllSessions200 = {
|
|
990
|
+
success: boolean;
|
|
881
991
|
};
|
|
882
|
-
type
|
|
992
|
+
type RevokeAllSessions400 = {
|
|
883
993
|
message: string;
|
|
884
994
|
};
|
|
885
|
-
type
|
|
995
|
+
type RevokeAllSessions403 = {
|
|
886
996
|
message: string;
|
|
887
997
|
};
|
|
888
|
-
type
|
|
998
|
+
type RevokeSession200 = {
|
|
889
999
|
success: boolean;
|
|
890
1000
|
};
|
|
891
|
-
type
|
|
1001
|
+
type RevokeSession400 = {
|
|
892
1002
|
message: string;
|
|
893
1003
|
};
|
|
894
|
-
type
|
|
1004
|
+
type RevokeSession403 = {
|
|
895
1005
|
message: string;
|
|
896
1006
|
};
|
|
897
|
-
type
|
|
1007
|
+
type DeleteTotpFactors200 = {
|
|
898
1008
|
success: boolean;
|
|
899
1009
|
};
|
|
900
|
-
type
|
|
1010
|
+
type DeleteTotpFactors400 = {
|
|
901
1011
|
message: string;
|
|
902
1012
|
};
|
|
903
|
-
type
|
|
1013
|
+
type DeleteTotpFactors403 = {
|
|
904
1014
|
message: string;
|
|
905
1015
|
};
|
|
906
|
-
type
|
|
1016
|
+
type UpdatePassword201 = {
|
|
1017
|
+
success: boolean;
|
|
1018
|
+
};
|
|
1019
|
+
type UpdatePassword400 = {
|
|
907
1020
|
message: string;
|
|
908
1021
|
};
|
|
909
|
-
type
|
|
910
|
-
|
|
1022
|
+
type UpdatePassword403 = {
|
|
1023
|
+
message: string;
|
|
911
1024
|
};
|
|
912
|
-
type
|
|
1025
|
+
type Verify400 = {
|
|
913
1026
|
message: string;
|
|
914
1027
|
};
|
|
915
|
-
type
|
|
1028
|
+
type Verify403 = {
|
|
916
1029
|
message: string;
|
|
917
1030
|
};
|
|
918
|
-
type
|
|
919
|
-
|
|
1031
|
+
type VerifyTotpFactor200 = {
|
|
1032
|
+
success: boolean;
|
|
1033
|
+
};
|
|
1034
|
+
type VerifyTotpFactor400 = {
|
|
1035
|
+
message: string;
|
|
1036
|
+
};
|
|
1037
|
+
type VerifyTotpFactor403 = {
|
|
1038
|
+
message: string;
|
|
1039
|
+
};
|
|
1040
|
+
type GenerateAdminPortalLinkParams = {
|
|
1041
|
+
intent: GenerateAdminPortalLinkIntent;
|
|
920
1042
|
};
|
|
921
1043
|
type GenerateAdminPortalLinkIntent = (typeof GenerateAdminPortalLinkIntent)[keyof typeof GenerateAdminPortalLinkIntent];
|
|
922
1044
|
declare const GenerateAdminPortalLinkIntent: {
|
|
@@ -935,306 +1057,401 @@ type GenerateAdminPortalLink404 = {
|
|
|
935
1057
|
type GenerateAdminPortalLink500 = {
|
|
936
1058
|
message: string;
|
|
937
1059
|
};
|
|
938
|
-
type
|
|
939
|
-
|
|
940
|
-
};
|
|
941
|
-
type DeleteOrganizationDomain404 = {
|
|
942
|
-
message: string;
|
|
943
|
-
};
|
|
944
|
-
type ReverifyOrganizationDomain403 = {
|
|
945
|
-
message: string;
|
|
946
|
-
};
|
|
947
|
-
type ReverifyOrganizationDomain404 = {
|
|
948
|
-
message: string;
|
|
949
|
-
};
|
|
950
|
-
type CreateOrganizationApiKey400 = {
|
|
951
|
-
message: string;
|
|
952
|
-
};
|
|
953
|
-
type CreateOrganizationApiKey403 = {
|
|
954
|
-
message: string;
|
|
955
|
-
};
|
|
956
|
-
type CreateOrganizationApiKey404 = {
|
|
957
|
-
message: string;
|
|
958
|
-
};
|
|
959
|
-
type CreateOrganizationApiKey422ErrorsItem = {
|
|
960
|
-
code: string;
|
|
961
|
-
field: string;
|
|
962
|
-
};
|
|
963
|
-
type CreateOrganizationApiKey422 = {
|
|
964
|
-
message: string;
|
|
965
|
-
errors: CreateOrganizationApiKey422ErrorsItem[];
|
|
966
|
-
};
|
|
967
|
-
type ListOrganizationApiKeysParams = {
|
|
968
|
-
limit?: number;
|
|
969
|
-
before?: string;
|
|
970
|
-
after?: string;
|
|
971
|
-
search?: string;
|
|
972
|
-
};
|
|
973
|
-
type ListOrganizationApiKeys400 = {
|
|
974
|
-
message: string;
|
|
975
|
-
};
|
|
976
|
-
type ListOrganizationApiKeys403 = {
|
|
977
|
-
message: string;
|
|
978
|
-
};
|
|
979
|
-
type ListOrganizationApiKeyPermissionsParams = {
|
|
980
|
-
search?: string;
|
|
981
|
-
limit?: number;
|
|
982
|
-
before?: string;
|
|
983
|
-
after?: string;
|
|
984
|
-
};
|
|
985
|
-
type ListOrganizationApiKeyPermissions400 = {
|
|
986
|
-
message: string;
|
|
987
|
-
};
|
|
988
|
-
type ListOrganizationApiKeyPermissions403 = {
|
|
989
|
-
message: string;
|
|
990
|
-
};
|
|
991
|
-
type DeleteOrganizationApiKey200 = {
|
|
992
|
-
success: boolean;
|
|
993
|
-
};
|
|
994
|
-
type DeleteOrganizationApiKey403 = {
|
|
995
|
-
message: string;
|
|
1060
|
+
type ListOrganizationDomains200 = {
|
|
1061
|
+
data: OrganizationDomain[];
|
|
996
1062
|
};
|
|
997
|
-
type
|
|
1063
|
+
type ListOrganizationDomains403 = {
|
|
998
1064
|
message: string;
|
|
999
1065
|
};
|
|
1000
|
-
type
|
|
1066
|
+
type ListOrganizationDomains404 = {
|
|
1001
1067
|
message: string;
|
|
1002
1068
|
};
|
|
1003
|
-
type
|
|
1004
|
-
requireHandoff?: boolean;
|
|
1005
|
-
};
|
|
1006
|
-
type GetDataIntegrationAuthorizeUrl400 = {
|
|
1069
|
+
type DeleteOrganizationDomain403 = {
|
|
1007
1070
|
message: string;
|
|
1008
1071
|
};
|
|
1009
|
-
type
|
|
1072
|
+
type DeleteOrganizationDomain404 = {
|
|
1010
1073
|
message: string;
|
|
1011
1074
|
};
|
|
1012
|
-
type
|
|
1075
|
+
type ReverifyOrganizationDomain403 = {
|
|
1013
1076
|
message: string;
|
|
1014
1077
|
};
|
|
1015
|
-
type
|
|
1078
|
+
type ReverifyOrganizationDomain404 = {
|
|
1016
1079
|
message: string;
|
|
1017
1080
|
};
|
|
1018
|
-
type
|
|
1081
|
+
type ListDirectories403 = {
|
|
1019
1082
|
message: string;
|
|
1020
1083
|
};
|
|
1021
|
-
type
|
|
1084
|
+
type ListDirectories404 = {
|
|
1022
1085
|
message: string;
|
|
1023
1086
|
};
|
|
1024
|
-
type
|
|
1025
|
-
success: boolean;
|
|
1026
|
-
};
|
|
1027
|
-
type DeleteDataInstallation403 = {
|
|
1087
|
+
type Settings403 = {
|
|
1028
1088
|
message: string;
|
|
1029
1089
|
};
|
|
1030
|
-
type
|
|
1031
|
-
|
|
1090
|
+
type createOrganizationApiKeyResponse201 = {
|
|
1091
|
+
data: CreateOrganizationApiKeyResponse;
|
|
1092
|
+
status: 201;
|
|
1032
1093
|
};
|
|
1033
|
-
type
|
|
1034
|
-
data:
|
|
1035
|
-
status:
|
|
1094
|
+
type createOrganizationApiKeyResponse400 = {
|
|
1095
|
+
data: CreateOrganizationApiKey400;
|
|
1096
|
+
status: 400;
|
|
1036
1097
|
};
|
|
1037
|
-
type
|
|
1038
|
-
data:
|
|
1098
|
+
type createOrganizationApiKeyResponse403 = {
|
|
1099
|
+
data: CreateOrganizationApiKey403;
|
|
1039
1100
|
status: 403;
|
|
1040
1101
|
};
|
|
1041
|
-
type
|
|
1042
|
-
data:
|
|
1102
|
+
type createOrganizationApiKeyResponse404 = {
|
|
1103
|
+
data: CreateOrganizationApiKey404;
|
|
1043
1104
|
status: 404;
|
|
1044
1105
|
};
|
|
1045
|
-
type
|
|
1106
|
+
type createOrganizationApiKeyResponse422 = {
|
|
1107
|
+
data: CreateOrganizationApiKey422;
|
|
1108
|
+
status: 422;
|
|
1109
|
+
};
|
|
1110
|
+
type createOrganizationApiKeyResponseSuccess = createOrganizationApiKeyResponse201 & {
|
|
1046
1111
|
headers: Headers;
|
|
1047
1112
|
};
|
|
1048
|
-
type
|
|
1113
|
+
type createOrganizationApiKeyResponseError = (createOrganizationApiKeyResponse400 | createOrganizationApiKeyResponse403 | createOrganizationApiKeyResponse404 | createOrganizationApiKeyResponse422) & {
|
|
1049
1114
|
headers: Headers;
|
|
1050
1115
|
};
|
|
1051
|
-
type
|
|
1052
|
-
declare const
|
|
1053
|
-
declare const
|
|
1054
|
-
declare const
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
declare const
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1116
|
+
type createOrganizationApiKeyResponse = createOrganizationApiKeyResponseSuccess | createOrganizationApiKeyResponseError;
|
|
1117
|
+
declare const getCreateOrganizationApiKeyUrl: () => string;
|
|
1118
|
+
declare const createOrganizationApiKey: (createOrganizationApiKeyRequest: CreateOrganizationApiKeyRequest, options?: RequestInit) => Promise<createOrganizationApiKeyResponse>;
|
|
1119
|
+
declare const getCreateOrganizationApiKeyMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
|
|
1120
|
+
arg: CreateOrganizationApiKeyRequest;
|
|
1121
|
+
}) => Promise<createOrganizationApiKeyResponse>;
|
|
1122
|
+
declare const getCreateOrganizationApiKeyMutationKey: () => readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys"];
|
|
1123
|
+
type CreateOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof createOrganizationApiKey>>>;
|
|
1124
|
+
type CreateOrganizationApiKeyMutationError = Promise<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>;
|
|
1125
|
+
declare const useCreateOrganizationApiKey: <TError = Promise<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>>(options?: {
|
|
1126
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createOrganizationApiKey>>, TError, Key, CreateOrganizationApiKeyRequest, Awaited<ReturnType<typeof createOrganizationApiKey>>> & {
|
|
1127
|
+
swrKey?: string;
|
|
1061
1128
|
};
|
|
1062
1129
|
fetch?: RequestInit;
|
|
1063
1130
|
}) => {
|
|
1064
|
-
|
|
1131
|
+
isMutating: boolean;
|
|
1132
|
+
trigger: swr_mutation.TriggerWithArgs<createOrganizationApiKeyResponse, TError, string | readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys"], CreateOrganizationApiKeyRequest>;
|
|
1133
|
+
reset: () => void;
|
|
1065
1134
|
error: TError | undefined;
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
1069
|
-
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
1135
|
+
data: createOrganizationApiKeyResponse | undefined;
|
|
1136
|
+
swrKey: string | readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys"];
|
|
1070
1137
|
};
|
|
1071
|
-
type
|
|
1072
|
-
data:
|
|
1138
|
+
type listOrganizationApiKeysResponse200 = {
|
|
1139
|
+
data: ListOrganizationApiKeysResponse;
|
|
1073
1140
|
status: 200;
|
|
1074
1141
|
};
|
|
1075
|
-
type
|
|
1076
|
-
data:
|
|
1077
|
-
status:
|
|
1142
|
+
type listOrganizationApiKeysResponse400 = {
|
|
1143
|
+
data: ListOrganizationApiKeys400;
|
|
1144
|
+
status: 400;
|
|
1078
1145
|
};
|
|
1079
|
-
type
|
|
1080
|
-
data:
|
|
1081
|
-
status:
|
|
1146
|
+
type listOrganizationApiKeysResponse403 = {
|
|
1147
|
+
data: ListOrganizationApiKeys403;
|
|
1148
|
+
status: 403;
|
|
1082
1149
|
};
|
|
1083
|
-
type
|
|
1150
|
+
type listOrganizationApiKeysResponseSuccess = listOrganizationApiKeysResponse200 & {
|
|
1084
1151
|
headers: Headers;
|
|
1085
1152
|
};
|
|
1086
|
-
type
|
|
1153
|
+
type listOrganizationApiKeysResponseError = (listOrganizationApiKeysResponse400 | listOrganizationApiKeysResponse403) & {
|
|
1087
1154
|
headers: Headers;
|
|
1088
1155
|
};
|
|
1089
|
-
type
|
|
1090
|
-
declare const
|
|
1091
|
-
declare const
|
|
1092
|
-
declare const
|
|
1093
|
-
type
|
|
1094
|
-
type
|
|
1095
|
-
declare const
|
|
1096
|
-
swr?: SWRConfiguration<Awaited<ReturnType<typeof
|
|
1156
|
+
type listOrganizationApiKeysResponse = listOrganizationApiKeysResponseSuccess | listOrganizationApiKeysResponseError;
|
|
1157
|
+
declare const getListOrganizationApiKeysUrl: (params?: ListOrganizationApiKeysParams) => string;
|
|
1158
|
+
declare const listOrganizationApiKeys: (params?: ListOrganizationApiKeysParams, options?: RequestInit) => Promise<listOrganizationApiKeysResponse>;
|
|
1159
|
+
declare const getListOrganizationApiKeysKey: (params?: ListOrganizationApiKeysParams) => readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys", ...ListOrganizationApiKeysParams[]];
|
|
1160
|
+
type ListOrganizationApiKeysQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizationApiKeys>>>;
|
|
1161
|
+
type ListOrganizationApiKeysQueryError = Promise<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>;
|
|
1162
|
+
declare const useListOrganizationApiKeys: <TError = Promise<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
|
|
1163
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError> & {
|
|
1097
1164
|
swrKey?: Key;
|
|
1098
1165
|
enabled?: boolean;
|
|
1099
1166
|
};
|
|
1100
1167
|
fetch?: RequestInit;
|
|
1101
1168
|
}) => {
|
|
1102
|
-
data:
|
|
1169
|
+
data: listOrganizationApiKeysResponse | undefined;
|
|
1103
1170
|
error: TError | undefined;
|
|
1104
|
-
mutate: swr.KeyedMutator<
|
|
1171
|
+
mutate: swr.KeyedMutator<listOrganizationApiKeysResponse>;
|
|
1105
1172
|
isValidating: boolean;
|
|
1106
1173
|
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
1107
1174
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
1108
1175
|
};
|
|
1109
|
-
type
|
|
1110
|
-
data:
|
|
1176
|
+
type listOrganizationApiKeyPermissionsResponse200 = {
|
|
1177
|
+
data: ListOrganizationApiKeyPermissionsResponse;
|
|
1111
1178
|
status: 200;
|
|
1112
1179
|
};
|
|
1113
|
-
type
|
|
1114
|
-
data:
|
|
1115
|
-
status:
|
|
1180
|
+
type listOrganizationApiKeyPermissionsResponse400 = {
|
|
1181
|
+
data: ListOrganizationApiKeyPermissions400;
|
|
1182
|
+
status: 400;
|
|
1116
1183
|
};
|
|
1117
|
-
type
|
|
1118
|
-
data:
|
|
1119
|
-
status:
|
|
1184
|
+
type listOrganizationApiKeyPermissionsResponse403 = {
|
|
1185
|
+
data: ListOrganizationApiKeyPermissions403;
|
|
1186
|
+
status: 403;
|
|
1120
1187
|
};
|
|
1121
|
-
type
|
|
1188
|
+
type listOrganizationApiKeyPermissionsResponseSuccess = listOrganizationApiKeyPermissionsResponse200 & {
|
|
1122
1189
|
headers: Headers;
|
|
1123
1190
|
};
|
|
1124
|
-
type
|
|
1191
|
+
type listOrganizationApiKeyPermissionsResponseError = (listOrganizationApiKeyPermissionsResponse400 | listOrganizationApiKeyPermissionsResponse403) & {
|
|
1125
1192
|
headers: Headers;
|
|
1126
1193
|
};
|
|
1127
|
-
type
|
|
1128
|
-
declare const
|
|
1129
|
-
declare const
|
|
1130
|
-
declare const
|
|
1131
|
-
type
|
|
1132
|
-
type
|
|
1133
|
-
declare const
|
|
1134
|
-
swr?: SWRConfiguration<Awaited<ReturnType<typeof
|
|
1194
|
+
type listOrganizationApiKeyPermissionsResponse = listOrganizationApiKeyPermissionsResponseSuccess | listOrganizationApiKeyPermissionsResponseError;
|
|
1195
|
+
declare const getListOrganizationApiKeyPermissionsUrl: (params?: ListOrganizationApiKeyPermissionsParams) => string;
|
|
1196
|
+
declare const listOrganizationApiKeyPermissions: (params?: ListOrganizationApiKeyPermissionsParams, options?: RequestInit) => Promise<listOrganizationApiKeyPermissionsResponse>;
|
|
1197
|
+
declare const getListOrganizationApiKeyPermissionsKey: (params?: ListOrganizationApiKeyPermissionsParams) => readonly ["https://api.workos.com/_widgets/ApiKeys/permissions", ...ListOrganizationApiKeyPermissionsParams[]];
|
|
1198
|
+
type ListOrganizationApiKeyPermissionsQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>>;
|
|
1199
|
+
type ListOrganizationApiKeyPermissionsQueryError = Promise<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>;
|
|
1200
|
+
declare const useListOrganizationApiKeyPermissions: <TError = Promise<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
|
|
1201
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof listOrganizationApiKeyPermissions>>, TError> & {
|
|
1135
1202
|
swrKey?: Key;
|
|
1136
1203
|
enabled?: boolean;
|
|
1137
1204
|
};
|
|
1138
1205
|
fetch?: RequestInit;
|
|
1139
1206
|
}) => {
|
|
1140
|
-
data:
|
|
1207
|
+
data: listOrganizationApiKeyPermissionsResponse | undefined;
|
|
1141
1208
|
error: TError | undefined;
|
|
1142
|
-
mutate: swr.KeyedMutator<
|
|
1209
|
+
mutate: swr.KeyedMutator<listOrganizationApiKeyPermissionsResponse>;
|
|
1143
1210
|
isValidating: boolean;
|
|
1144
1211
|
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
1145
1212
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
1146
1213
|
};
|
|
1147
|
-
type
|
|
1148
|
-
data:
|
|
1149
|
-
status:
|
|
1150
|
-
};
|
|
1151
|
-
type inviteMemberResponse400 = {
|
|
1152
|
-
data: InviteMember400;
|
|
1153
|
-
status: 400;
|
|
1214
|
+
type deleteOrganizationApiKeyResponse200 = {
|
|
1215
|
+
data: DeleteOrganizationApiKey200;
|
|
1216
|
+
status: 200;
|
|
1154
1217
|
};
|
|
1155
|
-
type
|
|
1156
|
-
data:
|
|
1218
|
+
type deleteOrganizationApiKeyResponse403 = {
|
|
1219
|
+
data: DeleteOrganizationApiKey403;
|
|
1157
1220
|
status: 403;
|
|
1158
1221
|
};
|
|
1159
|
-
type
|
|
1160
|
-
data:
|
|
1222
|
+
type deleteOrganizationApiKeyResponse404 = {
|
|
1223
|
+
data: DeleteOrganizationApiKey404;
|
|
1161
1224
|
status: 404;
|
|
1162
1225
|
};
|
|
1163
|
-
type
|
|
1226
|
+
type deleteOrganizationApiKeyResponseSuccess = deleteOrganizationApiKeyResponse200 & {
|
|
1164
1227
|
headers: Headers;
|
|
1165
1228
|
};
|
|
1166
|
-
type
|
|
1229
|
+
type deleteOrganizationApiKeyResponseError = (deleteOrganizationApiKeyResponse403 | deleteOrganizationApiKeyResponse404) & {
|
|
1167
1230
|
headers: Headers;
|
|
1168
1231
|
};
|
|
1169
|
-
type
|
|
1170
|
-
declare const
|
|
1171
|
-
declare const
|
|
1172
|
-
declare const
|
|
1173
|
-
arg:
|
|
1174
|
-
}) => Promise<
|
|
1175
|
-
declare const
|
|
1176
|
-
type
|
|
1177
|
-
type
|
|
1178
|
-
declare const
|
|
1179
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof
|
|
1232
|
+
type deleteOrganizationApiKeyResponse = deleteOrganizationApiKeyResponseSuccess | deleteOrganizationApiKeyResponseError;
|
|
1233
|
+
declare const getDeleteOrganizationApiKeyUrl: (apiKeyId: string) => string;
|
|
1234
|
+
declare const deleteOrganizationApiKey: (apiKeyId: string, options?: RequestInit) => Promise<deleteOrganizationApiKeyResponse>;
|
|
1235
|
+
declare const getDeleteOrganizationApiKeyMutationFetcher: (apiKeyId: string, options?: RequestInit) => (_: Key, __: {
|
|
1236
|
+
arg: Arguments;
|
|
1237
|
+
}) => Promise<deleteOrganizationApiKeyResponse>;
|
|
1238
|
+
declare const getDeleteOrganizationApiKeyMutationKey: (apiKeyId: string) => readonly [`https://api.workos.com/_widgets/ApiKeys/${string}`];
|
|
1239
|
+
type DeleteOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOrganizationApiKey>>>;
|
|
1240
|
+
type DeleteOrganizationApiKeyMutationError = Promise<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>;
|
|
1241
|
+
declare const useDeleteOrganizationApiKey: <TError = Promise<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>>(apiKeyId: string, options?: {
|
|
1242
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteOrganizationApiKey>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteOrganizationApiKey>>> & {
|
|
1180
1243
|
swrKey?: string;
|
|
1181
1244
|
};
|
|
1182
1245
|
fetch?: RequestInit;
|
|
1183
1246
|
}) => {
|
|
1184
1247
|
isMutating: boolean;
|
|
1185
|
-
trigger: swr_mutation.
|
|
1248
|
+
trigger: swr_mutation.TriggerWithOptionsArgs<deleteOrganizationApiKeyResponse, TError, string | readonly [`https://api.workos.com/_widgets/ApiKeys/${string}`], Arguments>;
|
|
1186
1249
|
reset: () => void;
|
|
1187
1250
|
error: TError | undefined;
|
|
1188
|
-
data:
|
|
1189
|
-
swrKey: string | readonly [
|
|
1251
|
+
data: deleteOrganizationApiKeyResponse | undefined;
|
|
1252
|
+
swrKey: string | readonly [`https://api.workos.com/_widgets/ApiKeys/${string}`];
|
|
1190
1253
|
};
|
|
1191
|
-
type
|
|
1192
|
-
data:
|
|
1193
|
-
status:
|
|
1254
|
+
type deleteDataInstallationResponse200 = {
|
|
1255
|
+
data: DeleteDataInstallation200;
|
|
1256
|
+
status: 200;
|
|
1194
1257
|
};
|
|
1195
|
-
type
|
|
1196
|
-
data:
|
|
1258
|
+
type deleteDataInstallationResponse403 = {
|
|
1259
|
+
data: DeleteDataInstallation403;
|
|
1260
|
+
status: 403;
|
|
1261
|
+
};
|
|
1262
|
+
type deleteDataInstallationResponse404 = {
|
|
1263
|
+
data: DeleteDataInstallation404;
|
|
1264
|
+
status: 404;
|
|
1265
|
+
};
|
|
1266
|
+
type deleteDataInstallationResponseSuccess = deleteDataInstallationResponse200 & {
|
|
1267
|
+
headers: Headers;
|
|
1268
|
+
};
|
|
1269
|
+
type deleteDataInstallationResponseError = (deleteDataInstallationResponse403 | deleteDataInstallationResponse404) & {
|
|
1270
|
+
headers: Headers;
|
|
1271
|
+
};
|
|
1272
|
+
type deleteDataInstallationResponse = deleteDataInstallationResponseSuccess | deleteDataInstallationResponseError;
|
|
1273
|
+
declare const getDeleteDataInstallationUrl: (installationId: string) => string;
|
|
1274
|
+
declare const deleteDataInstallation: (installationId: string, options?: RequestInit) => Promise<deleteDataInstallationResponse>;
|
|
1275
|
+
declare const getDeleteDataInstallationMutationFetcher: (installationId: string, options?: RequestInit) => (_: Key, __: {
|
|
1276
|
+
arg: Arguments;
|
|
1277
|
+
}) => Promise<deleteDataInstallationResponse>;
|
|
1278
|
+
declare const getDeleteDataInstallationMutationKey: (installationId: string) => readonly [`https://api.workos.com/_widgets/DataIntegrations/installations/${string}`];
|
|
1279
|
+
type DeleteDataInstallationMutationResult = NonNullable<Awaited<ReturnType<typeof deleteDataInstallation>>>;
|
|
1280
|
+
type DeleteDataInstallationMutationError = Promise<DeleteDataInstallation403 | DeleteDataInstallation404>;
|
|
1281
|
+
declare const useDeleteDataInstallation: <TError = Promise<DeleteDataInstallation403 | DeleteDataInstallation404>>(installationId: string, options?: {
|
|
1282
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteDataInstallation>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteDataInstallation>>> & {
|
|
1283
|
+
swrKey?: string;
|
|
1284
|
+
};
|
|
1285
|
+
fetch?: RequestInit;
|
|
1286
|
+
}) => {
|
|
1287
|
+
isMutating: boolean;
|
|
1288
|
+
trigger: swr_mutation.TriggerWithOptionsArgs<deleteDataInstallationResponse, TError, string | readonly [`https://api.workos.com/_widgets/DataIntegrations/installations/${string}`], Arguments>;
|
|
1289
|
+
reset: () => void;
|
|
1290
|
+
error: TError | undefined;
|
|
1291
|
+
data: deleteDataInstallationResponse | undefined;
|
|
1292
|
+
swrKey: string | readonly [`https://api.workos.com/_widgets/DataIntegrations/installations/${string}`];
|
|
1293
|
+
};
|
|
1294
|
+
type myDataIntegrationsResponse200 = {
|
|
1295
|
+
data: DataIntegrationsResponse;
|
|
1296
|
+
status: 200;
|
|
1297
|
+
};
|
|
1298
|
+
type myDataIntegrationsResponse403 = {
|
|
1299
|
+
data: MyDataIntegrations403;
|
|
1300
|
+
status: 403;
|
|
1301
|
+
};
|
|
1302
|
+
type myDataIntegrationsResponseSuccess = myDataIntegrationsResponse200 & {
|
|
1303
|
+
headers: Headers;
|
|
1304
|
+
};
|
|
1305
|
+
type myDataIntegrationsResponseError = myDataIntegrationsResponse403 & {
|
|
1306
|
+
headers: Headers;
|
|
1307
|
+
};
|
|
1308
|
+
type myDataIntegrationsResponse = myDataIntegrationsResponseSuccess | myDataIntegrationsResponseError;
|
|
1309
|
+
declare const getMyDataIntegrationsUrl: () => string;
|
|
1310
|
+
declare const myDataIntegrations: (options?: RequestInit) => Promise<myDataIntegrationsResponse>;
|
|
1311
|
+
declare const getMyDataIntegrationsKey: () => readonly ["https://api.workos.com/_widgets/DataIntegrations/mine"];
|
|
1312
|
+
type MyDataIntegrationsQueryResult = NonNullable<Awaited<ReturnType<typeof myDataIntegrations>>>;
|
|
1313
|
+
type MyDataIntegrationsQueryError = Promise<MyDataIntegrations403>;
|
|
1314
|
+
declare const useMyDataIntegrations: <TError = Promise<MyDataIntegrations403>>(options?: {
|
|
1315
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof myDataIntegrations>>, TError> & {
|
|
1316
|
+
swrKey?: Key;
|
|
1317
|
+
enabled?: boolean;
|
|
1318
|
+
};
|
|
1319
|
+
fetch?: RequestInit;
|
|
1320
|
+
}) => {
|
|
1321
|
+
data: myDataIntegrationsResponse | undefined;
|
|
1322
|
+
error: TError | undefined;
|
|
1323
|
+
mutate: swr.KeyedMutator<myDataIntegrationsResponse>;
|
|
1324
|
+
isValidating: boolean;
|
|
1325
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
1326
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
1327
|
+
};
|
|
1328
|
+
type getDataInstallationAuthorizationStatusResponse200 = {
|
|
1329
|
+
data: GetAuthorizationStatusResponse;
|
|
1330
|
+
status: 200;
|
|
1331
|
+
};
|
|
1332
|
+
type getDataInstallationAuthorizationStatusResponse400 = {
|
|
1333
|
+
data: GetDataInstallationAuthorizationStatus400;
|
|
1197
1334
|
status: 400;
|
|
1198
1335
|
};
|
|
1199
|
-
type
|
|
1200
|
-
data:
|
|
1336
|
+
type getDataInstallationAuthorizationStatusResponse403 = {
|
|
1337
|
+
data: GetDataInstallationAuthorizationStatus403;
|
|
1201
1338
|
status: 403;
|
|
1202
1339
|
};
|
|
1203
|
-
type
|
|
1204
|
-
data:
|
|
1340
|
+
type getDataInstallationAuthorizationStatusResponse404 = {
|
|
1341
|
+
data: GetDataInstallationAuthorizationStatus404;
|
|
1205
1342
|
status: 404;
|
|
1206
1343
|
};
|
|
1207
|
-
type
|
|
1208
|
-
|
|
1209
|
-
status: 422;
|
|
1344
|
+
type getDataInstallationAuthorizationStatusResponseSuccess = getDataInstallationAuthorizationStatusResponse200 & {
|
|
1345
|
+
headers: Headers;
|
|
1210
1346
|
};
|
|
1211
|
-
type
|
|
1347
|
+
type getDataInstallationAuthorizationStatusResponseError = (getDataInstallationAuthorizationStatusResponse400 | getDataInstallationAuthorizationStatusResponse403 | getDataInstallationAuthorizationStatusResponse404) & {
|
|
1212
1348
|
headers: Headers;
|
|
1213
1349
|
};
|
|
1214
|
-
type
|
|
1350
|
+
type getDataInstallationAuthorizationStatusResponse = getDataInstallationAuthorizationStatusResponseSuccess | getDataInstallationAuthorizationStatusResponseError;
|
|
1351
|
+
declare const getGetDataInstallationAuthorizationStatusUrl: (dataIntegrationId: string, state: string) => string;
|
|
1352
|
+
declare const getDataInstallationAuthorizationStatus: (dataIntegrationId: string, state: string, options?: RequestInit) => Promise<getDataInstallationAuthorizationStatusResponse>;
|
|
1353
|
+
declare const getGetDataInstallationAuthorizationStatusKey: (dataIntegrationId: string, state: string) => readonly [`https://api.workos.com/_widgets/DataIntegrations/${string}/authorization-status/${string}`];
|
|
1354
|
+
type GetDataInstallationAuthorizationStatusQueryResult = NonNullable<Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>>;
|
|
1355
|
+
type GetDataInstallationAuthorizationStatusQueryError = Promise<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>;
|
|
1356
|
+
declare const useGetDataInstallationAuthorizationStatus: <TError = Promise<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
|
|
1357
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof getDataInstallationAuthorizationStatus>>, TError> & {
|
|
1358
|
+
swrKey?: Key;
|
|
1359
|
+
enabled?: boolean;
|
|
1360
|
+
};
|
|
1361
|
+
fetch?: RequestInit;
|
|
1362
|
+
}) => {
|
|
1363
|
+
data: getDataInstallationAuthorizationStatusResponse | undefined;
|
|
1364
|
+
error: TError | undefined;
|
|
1365
|
+
mutate: swr.KeyedMutator<getDataInstallationAuthorizationStatusResponse>;
|
|
1366
|
+
isValidating: boolean;
|
|
1367
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
1368
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
1369
|
+
};
|
|
1370
|
+
type getDataIntegrationAuthorizeUrlResponse200 = {
|
|
1371
|
+
data: GetDataIntegrationAuthorizeUrlResponse;
|
|
1372
|
+
status: 200;
|
|
1373
|
+
};
|
|
1374
|
+
type getDataIntegrationAuthorizeUrlResponse400 = {
|
|
1375
|
+
data: GetDataIntegrationAuthorizeUrl400;
|
|
1376
|
+
status: 400;
|
|
1377
|
+
};
|
|
1378
|
+
type getDataIntegrationAuthorizeUrlResponse403 = {
|
|
1379
|
+
data: GetDataIntegrationAuthorizeUrl403;
|
|
1380
|
+
status: 403;
|
|
1381
|
+
};
|
|
1382
|
+
type getDataIntegrationAuthorizeUrlResponse404 = {
|
|
1383
|
+
data: GetDataIntegrationAuthorizeUrl404;
|
|
1384
|
+
status: 404;
|
|
1385
|
+
};
|
|
1386
|
+
type getDataIntegrationAuthorizeUrlResponseSuccess = getDataIntegrationAuthorizeUrlResponse200 & {
|
|
1215
1387
|
headers: Headers;
|
|
1216
1388
|
};
|
|
1217
|
-
type
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
declare const
|
|
1224
|
-
type
|
|
1225
|
-
type
|
|
1226
|
-
declare const
|
|
1227
|
-
swr?:
|
|
1389
|
+
type getDataIntegrationAuthorizeUrlResponseError = (getDataIntegrationAuthorizeUrlResponse400 | getDataIntegrationAuthorizeUrlResponse403 | getDataIntegrationAuthorizeUrlResponse404) & {
|
|
1390
|
+
headers: Headers;
|
|
1391
|
+
};
|
|
1392
|
+
type getDataIntegrationAuthorizeUrlResponse = getDataIntegrationAuthorizeUrlResponseSuccess | getDataIntegrationAuthorizeUrlResponseError;
|
|
1393
|
+
declare const getGetDataIntegrationAuthorizeUrlUrl: (slug: string, params?: GetDataIntegrationAuthorizeUrlParams) => string;
|
|
1394
|
+
declare const getDataIntegrationAuthorizeUrl: (slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: RequestInit) => Promise<getDataIntegrationAuthorizeUrlResponse>;
|
|
1395
|
+
declare const getGetDataIntegrationAuthorizeUrlKey: (slug: string, params?: GetDataIntegrationAuthorizeUrlParams) => readonly [`https://api.workos.com/_widgets/DataIntegrations/${string}/authorize`, ...GetDataIntegrationAuthorizeUrlParams[]];
|
|
1396
|
+
type GetDataIntegrationAuthorizeUrlQueryResult = NonNullable<Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>>;
|
|
1397
|
+
type GetDataIntegrationAuthorizeUrlQueryError = Promise<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>;
|
|
1398
|
+
declare const useGetDataIntegrationAuthorizeUrl: <TError = Promise<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, params?: GetDataIntegrationAuthorizeUrlParams, options?: {
|
|
1399
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof getDataIntegrationAuthorizeUrl>>, TError> & {
|
|
1400
|
+
swrKey?: Key;
|
|
1401
|
+
enabled?: boolean;
|
|
1402
|
+
};
|
|
1403
|
+
fetch?: RequestInit;
|
|
1404
|
+
}) => {
|
|
1405
|
+
data: getDataIntegrationAuthorizeUrlResponse | undefined;
|
|
1406
|
+
error: TError | undefined;
|
|
1407
|
+
mutate: swr.KeyedMutator<getDataIntegrationAuthorizeUrlResponse>;
|
|
1408
|
+
isValidating: boolean;
|
|
1409
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
1410
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
1411
|
+
};
|
|
1412
|
+
type inviteMemberResponse201 = {
|
|
1413
|
+
data: InviteMember201;
|
|
1414
|
+
status: 201;
|
|
1415
|
+
};
|
|
1416
|
+
type inviteMemberResponse400 = {
|
|
1417
|
+
data: InviteMember400;
|
|
1418
|
+
status: 400;
|
|
1419
|
+
};
|
|
1420
|
+
type inviteMemberResponse403 = {
|
|
1421
|
+
data: InviteMember403;
|
|
1422
|
+
status: 403;
|
|
1423
|
+
};
|
|
1424
|
+
type inviteMemberResponse404 = {
|
|
1425
|
+
data: InviteMember404;
|
|
1426
|
+
status: 404;
|
|
1427
|
+
};
|
|
1428
|
+
type inviteMemberResponseSuccess = inviteMemberResponse201 & {
|
|
1429
|
+
headers: Headers;
|
|
1430
|
+
};
|
|
1431
|
+
type inviteMemberResponseError = (inviteMemberResponse400 | inviteMemberResponse403 | inviteMemberResponse404) & {
|
|
1432
|
+
headers: Headers;
|
|
1433
|
+
};
|
|
1434
|
+
type inviteMemberResponse = inviteMemberResponseSuccess | inviteMemberResponseError;
|
|
1435
|
+
declare const getInviteMemberUrl: () => string;
|
|
1436
|
+
declare const inviteMember: (inviteMemberBody: InviteMemberBody, options?: RequestInit) => Promise<inviteMemberResponse>;
|
|
1437
|
+
declare const getInviteMemberMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
|
|
1438
|
+
arg: InviteMemberBody;
|
|
1439
|
+
}) => Promise<inviteMemberResponse>;
|
|
1440
|
+
declare const getInviteMemberMutationKey: () => readonly ["https://api.workos.com/_widgets/UserManagement/invite-user"];
|
|
1441
|
+
type InviteMemberMutationResult = NonNullable<Awaited<ReturnType<typeof inviteMember>>>;
|
|
1442
|
+
type InviteMemberMutationError = Promise<InviteMember400 | InviteMember403 | InviteMember404>;
|
|
1443
|
+
declare const useInviteMember: <TError = Promise<InviteMember400 | InviteMember403 | InviteMember404>>(options?: {
|
|
1444
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof inviteMember>>, TError, Key, InviteMemberBody, Awaited<ReturnType<typeof inviteMember>>> & {
|
|
1228
1445
|
swrKey?: string;
|
|
1229
1446
|
};
|
|
1230
1447
|
fetch?: RequestInit;
|
|
1231
1448
|
}) => {
|
|
1232
1449
|
isMutating: boolean;
|
|
1233
|
-
trigger: swr_mutation.
|
|
1450
|
+
trigger: swr_mutation.TriggerWithArgs<inviteMemberResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserManagement/invite-user"], InviteMemberBody>;
|
|
1234
1451
|
reset: () => void;
|
|
1235
1452
|
error: TError | undefined;
|
|
1236
|
-
data:
|
|
1237
|
-
swrKey: string | readonly [
|
|
1453
|
+
data: inviteMemberResponse | undefined;
|
|
1454
|
+
swrKey: string | readonly ["https://api.workos.com/_widgets/UserManagement/invite-user"];
|
|
1238
1455
|
};
|
|
1239
1456
|
type revokeInviteResponse200 = {
|
|
1240
1457
|
data: RevokeInvite200;
|
|
@@ -1280,24 +1497,110 @@ declare const useRevokeInvite: <TError = Promise<RevokeInvite400 | RevokeInvite4
|
|
|
1280
1497
|
data: revokeInviteResponse | undefined;
|
|
1281
1498
|
swrKey: string | readonly [`https://api.workos.com/_widgets/UserManagement/invites/${string}`];
|
|
1282
1499
|
};
|
|
1283
|
-
type
|
|
1284
|
-
data:
|
|
1285
|
-
status:
|
|
1500
|
+
type resendInviteResponse201 = {
|
|
1501
|
+
data: ResendInvite201;
|
|
1502
|
+
status: 201;
|
|
1286
1503
|
};
|
|
1287
|
-
type
|
|
1288
|
-
data:
|
|
1504
|
+
type resendInviteResponse400 = {
|
|
1505
|
+
data: ResendInvite400;
|
|
1289
1506
|
status: 400;
|
|
1290
1507
|
};
|
|
1291
|
-
type
|
|
1292
|
-
data:
|
|
1508
|
+
type resendInviteResponse403 = {
|
|
1509
|
+
data: ResendInvite403;
|
|
1293
1510
|
status: 403;
|
|
1294
1511
|
};
|
|
1295
|
-
type
|
|
1296
|
-
data:
|
|
1512
|
+
type resendInviteResponse404 = {
|
|
1513
|
+
data: ResendInvite404;
|
|
1297
1514
|
status: 404;
|
|
1298
1515
|
};
|
|
1299
|
-
type
|
|
1300
|
-
|
|
1516
|
+
type resendInviteResponse422 = {
|
|
1517
|
+
data: ResendInvite422;
|
|
1518
|
+
status: 422;
|
|
1519
|
+
};
|
|
1520
|
+
type resendInviteResponseSuccess = resendInviteResponse201 & {
|
|
1521
|
+
headers: Headers;
|
|
1522
|
+
};
|
|
1523
|
+
type resendInviteResponseError = (resendInviteResponse400 | resendInviteResponse403 | resendInviteResponse404 | resendInviteResponse422) & {
|
|
1524
|
+
headers: Headers;
|
|
1525
|
+
};
|
|
1526
|
+
type resendInviteResponse = resendInviteResponseSuccess | resendInviteResponseError;
|
|
1527
|
+
declare const getResendInviteUrl: (userId: string) => string;
|
|
1528
|
+
declare const resendInvite: (userId: string, options?: RequestInit) => Promise<resendInviteResponse>;
|
|
1529
|
+
declare const getResendInviteMutationFetcher: (userId: string, options?: RequestInit) => (_: Key, __: {
|
|
1530
|
+
arg: Arguments;
|
|
1531
|
+
}) => Promise<resendInviteResponse>;
|
|
1532
|
+
declare const getResendInviteMutationKey: (userId: string) => readonly [`https://api.workos.com/_widgets/UserManagement/invites/${string}/resend`];
|
|
1533
|
+
type ResendInviteMutationResult = NonNullable<Awaited<ReturnType<typeof resendInvite>>>;
|
|
1534
|
+
type ResendInviteMutationError = Promise<ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422>;
|
|
1535
|
+
declare const useResendInvite: <TError = Promise<ResendInvite400 | ResendInvite403 | ResendInvite404 | ResendInvite422>>(userId: string, options?: {
|
|
1536
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof resendInvite>>, TError, Key, Arguments, Awaited<ReturnType<typeof resendInvite>>> & {
|
|
1537
|
+
swrKey?: string;
|
|
1538
|
+
};
|
|
1539
|
+
fetch?: RequestInit;
|
|
1540
|
+
}) => {
|
|
1541
|
+
isMutating: boolean;
|
|
1542
|
+
trigger: swr_mutation.TriggerWithOptionsArgs<resendInviteResponse, TError, string | readonly [`https://api.workos.com/_widgets/UserManagement/invites/${string}/resend`], Arguments>;
|
|
1543
|
+
reset: () => void;
|
|
1544
|
+
error: TError | undefined;
|
|
1545
|
+
data: resendInviteResponse | undefined;
|
|
1546
|
+
swrKey: string | readonly [`https://api.workos.com/_widgets/UserManagement/invites/${string}/resend`];
|
|
1547
|
+
};
|
|
1548
|
+
type membersResponse200 = {
|
|
1549
|
+
data: Members200;
|
|
1550
|
+
status: 200;
|
|
1551
|
+
};
|
|
1552
|
+
type membersResponse403 = {
|
|
1553
|
+
data: Members403;
|
|
1554
|
+
status: 403;
|
|
1555
|
+
};
|
|
1556
|
+
type membersResponse404 = {
|
|
1557
|
+
data: Members404;
|
|
1558
|
+
status: 404;
|
|
1559
|
+
};
|
|
1560
|
+
type membersResponseSuccess = membersResponse200 & {
|
|
1561
|
+
headers: Headers;
|
|
1562
|
+
};
|
|
1563
|
+
type membersResponseError = (membersResponse403 | membersResponse404) & {
|
|
1564
|
+
headers: Headers;
|
|
1565
|
+
};
|
|
1566
|
+
type membersResponse = membersResponseSuccess | membersResponseError;
|
|
1567
|
+
declare const getMembersUrl: (params?: MembersParams) => string;
|
|
1568
|
+
declare const members: (params?: MembersParams, options?: RequestInit) => Promise<membersResponse>;
|
|
1569
|
+
declare const getMembersKey: (params?: MembersParams) => readonly ["https://api.workos.com/_widgets/UserManagement/members", ...MembersParams[]];
|
|
1570
|
+
type MembersQueryResult = NonNullable<Awaited<ReturnType<typeof members>>>;
|
|
1571
|
+
type MembersQueryError = Promise<Members403 | Members404>;
|
|
1572
|
+
declare const useMembers: <TError = Promise<Members403 | Members404>>(params?: MembersParams, options?: {
|
|
1573
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof members>>, TError> & {
|
|
1574
|
+
swrKey?: Key;
|
|
1575
|
+
enabled?: boolean;
|
|
1576
|
+
};
|
|
1577
|
+
fetch?: RequestInit;
|
|
1578
|
+
}) => {
|
|
1579
|
+
data: membersResponse | undefined;
|
|
1580
|
+
error: TError | undefined;
|
|
1581
|
+
mutate: swr.KeyedMutator<membersResponse>;
|
|
1582
|
+
isValidating: boolean;
|
|
1583
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
1584
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
1585
|
+
};
|
|
1586
|
+
type removeMemberResponse200 = {
|
|
1587
|
+
data: RemoveMember200;
|
|
1588
|
+
status: 200;
|
|
1589
|
+
};
|
|
1590
|
+
type removeMemberResponse400 = {
|
|
1591
|
+
data: RemoveMember400;
|
|
1592
|
+
status: 400;
|
|
1593
|
+
};
|
|
1594
|
+
type removeMemberResponse403 = {
|
|
1595
|
+
data: RemoveMember403;
|
|
1596
|
+
status: 403;
|
|
1597
|
+
};
|
|
1598
|
+
type removeMemberResponse404 = {
|
|
1599
|
+
data: RemoveMember404;
|
|
1600
|
+
status: 404;
|
|
1601
|
+
};
|
|
1602
|
+
type removeMemberResponseSuccess = removeMemberResponse200 & {
|
|
1603
|
+
headers: Headers;
|
|
1301
1604
|
};
|
|
1302
1605
|
type removeMemberResponseError = (removeMemberResponse400 | removeMemberResponse403 | removeMemberResponse404) & {
|
|
1303
1606
|
headers: Headers;
|
|
@@ -1410,79 +1713,155 @@ declare const useOrganizations: <TError = Promise<Organizations403 | Organizatio
|
|
|
1410
1713
|
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
1411
1714
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
1412
1715
|
};
|
|
1413
|
-
type
|
|
1414
|
-
data:
|
|
1716
|
+
type rolesResponse200 = {
|
|
1717
|
+
data: MemberRole[];
|
|
1415
1718
|
status: 200;
|
|
1416
1719
|
};
|
|
1417
|
-
type
|
|
1418
|
-
data:
|
|
1720
|
+
type rolesResponse403 = {
|
|
1721
|
+
data: Roles403;
|
|
1419
1722
|
status: 403;
|
|
1420
1723
|
};
|
|
1421
|
-
type
|
|
1724
|
+
type rolesResponse404 = {
|
|
1725
|
+
data: Roles404;
|
|
1726
|
+
status: 404;
|
|
1727
|
+
};
|
|
1728
|
+
type rolesResponseSuccess = rolesResponse200 & {
|
|
1422
1729
|
headers: Headers;
|
|
1423
1730
|
};
|
|
1424
|
-
type
|
|
1731
|
+
type rolesResponseError = (rolesResponse403 | rolesResponse404) & {
|
|
1425
1732
|
headers: Headers;
|
|
1426
1733
|
};
|
|
1427
|
-
type
|
|
1428
|
-
declare const
|
|
1429
|
-
declare const
|
|
1430
|
-
declare const
|
|
1431
|
-
type
|
|
1432
|
-
type
|
|
1433
|
-
declare const
|
|
1434
|
-
swr?: SWRConfiguration<Awaited<ReturnType<typeof
|
|
1734
|
+
type rolesResponse = rolesResponseSuccess | rolesResponseError;
|
|
1735
|
+
declare const getRolesUrl: () => string;
|
|
1736
|
+
declare const roles: (options?: RequestInit) => Promise<rolesResponse>;
|
|
1737
|
+
declare const getRolesKey: () => readonly ["https://api.workos.com/_widgets/UserManagement/roles"];
|
|
1738
|
+
type RolesQueryResult = NonNullable<Awaited<ReturnType<typeof roles>>>;
|
|
1739
|
+
type RolesQueryError = Promise<Roles403 | Roles404>;
|
|
1740
|
+
declare const useRoles: <TError = Promise<Roles403 | Roles404>>(options?: {
|
|
1741
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof roles>>, TError> & {
|
|
1435
1742
|
swrKey?: Key;
|
|
1436
1743
|
enabled?: boolean;
|
|
1437
1744
|
};
|
|
1438
1745
|
fetch?: RequestInit;
|
|
1439
1746
|
}) => {
|
|
1440
|
-
data:
|
|
1747
|
+
data: rolesResponse | undefined;
|
|
1441
1748
|
error: TError | undefined;
|
|
1442
|
-
mutate: swr.KeyedMutator<
|
|
1749
|
+
mutate: swr.KeyedMutator<rolesResponse>;
|
|
1443
1750
|
isValidating: boolean;
|
|
1444
1751
|
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
1445
1752
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
1446
1753
|
};
|
|
1447
|
-
type
|
|
1448
|
-
data:
|
|
1754
|
+
type rolesAndConfigResponse200 = {
|
|
1755
|
+
data: RolesAndConfigResponse;
|
|
1449
1756
|
status: 200;
|
|
1450
1757
|
};
|
|
1451
|
-
type
|
|
1452
|
-
data:
|
|
1758
|
+
type rolesAndConfigResponse403 = {
|
|
1759
|
+
data: RolesAndConfig403;
|
|
1760
|
+
status: 403;
|
|
1761
|
+
};
|
|
1762
|
+
type rolesAndConfigResponse404 = {
|
|
1763
|
+
data: RolesAndConfig404;
|
|
1764
|
+
status: 404;
|
|
1765
|
+
};
|
|
1766
|
+
type rolesAndConfigResponseSuccess = rolesAndConfigResponse200 & {
|
|
1767
|
+
headers: Headers;
|
|
1768
|
+
};
|
|
1769
|
+
type rolesAndConfigResponseError = (rolesAndConfigResponse403 | rolesAndConfigResponse404) & {
|
|
1770
|
+
headers: Headers;
|
|
1771
|
+
};
|
|
1772
|
+
type rolesAndConfigResponse = rolesAndConfigResponseSuccess | rolesAndConfigResponseError;
|
|
1773
|
+
declare const getRolesAndConfigUrl: () => string;
|
|
1774
|
+
declare const rolesAndConfig: (options?: RequestInit) => Promise<rolesAndConfigResponse>;
|
|
1775
|
+
declare const getRolesAndConfigKey: () => readonly ["https://api.workos.com/_widgets/UserManagement/roles-and-config"];
|
|
1776
|
+
type RolesAndConfigQueryResult = NonNullable<Awaited<ReturnType<typeof rolesAndConfig>>>;
|
|
1777
|
+
type RolesAndConfigQueryError = Promise<RolesAndConfig403 | RolesAndConfig404>;
|
|
1778
|
+
declare const useRolesAndConfig: <TError = Promise<RolesAndConfig403 | RolesAndConfig404>>(options?: {
|
|
1779
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof rolesAndConfig>>, TError> & {
|
|
1780
|
+
swrKey?: Key;
|
|
1781
|
+
enabled?: boolean;
|
|
1782
|
+
};
|
|
1783
|
+
fetch?: RequestInit;
|
|
1784
|
+
}) => {
|
|
1785
|
+
data: rolesAndConfigResponse | undefined;
|
|
1786
|
+
error: TError | undefined;
|
|
1787
|
+
mutate: swr.KeyedMutator<rolesAndConfigResponse>;
|
|
1788
|
+
isValidating: boolean;
|
|
1789
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
1790
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
1791
|
+
};
|
|
1792
|
+
type authenticationInformationResponse200 = {
|
|
1793
|
+
data: AuthenticationInformationResponse;
|
|
1794
|
+
status: 200;
|
|
1795
|
+
};
|
|
1796
|
+
type authenticationInformationResponse403 = {
|
|
1797
|
+
data: AuthenticationInformation403;
|
|
1798
|
+
status: 403;
|
|
1799
|
+
};
|
|
1800
|
+
type authenticationInformationResponseSuccess = authenticationInformationResponse200 & {
|
|
1801
|
+
headers: Headers;
|
|
1802
|
+
};
|
|
1803
|
+
type authenticationInformationResponseError = authenticationInformationResponse403 & {
|
|
1804
|
+
headers: Headers;
|
|
1805
|
+
};
|
|
1806
|
+
type authenticationInformationResponse = authenticationInformationResponseSuccess | authenticationInformationResponseError;
|
|
1807
|
+
declare const getAuthenticationInformationUrl: () => string;
|
|
1808
|
+
declare const authenticationInformation: (options?: RequestInit) => Promise<authenticationInformationResponse>;
|
|
1809
|
+
declare const getAuthenticationInformationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/authentication-information"];
|
|
1810
|
+
type AuthenticationInformationQueryResult = NonNullable<Awaited<ReturnType<typeof authenticationInformation>>>;
|
|
1811
|
+
type AuthenticationInformationQueryError = Promise<AuthenticationInformation403>;
|
|
1812
|
+
declare const useAuthenticationInformation: <TError = Promise<AuthenticationInformation403>>(options?: {
|
|
1813
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof authenticationInformation>>, TError> & {
|
|
1814
|
+
swrKey?: Key;
|
|
1815
|
+
enabled?: boolean;
|
|
1816
|
+
};
|
|
1817
|
+
fetch?: RequestInit;
|
|
1818
|
+
}) => {
|
|
1819
|
+
data: authenticationInformationResponse | undefined;
|
|
1820
|
+
error: TError | undefined;
|
|
1821
|
+
mutate: swr.KeyedMutator<authenticationInformationResponse>;
|
|
1822
|
+
isValidating: boolean;
|
|
1823
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
1824
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
1825
|
+
};
|
|
1826
|
+
type createPasswordResponse201 = {
|
|
1827
|
+
data: CreatePassword201;
|
|
1828
|
+
status: 201;
|
|
1829
|
+
};
|
|
1830
|
+
type createPasswordResponse400 = {
|
|
1831
|
+
data: CreatePassword400;
|
|
1453
1832
|
status: 400;
|
|
1454
1833
|
};
|
|
1455
|
-
type
|
|
1456
|
-
data:
|
|
1834
|
+
type createPasswordResponse403 = {
|
|
1835
|
+
data: CreatePassword403;
|
|
1457
1836
|
status: 403;
|
|
1458
1837
|
};
|
|
1459
|
-
type
|
|
1838
|
+
type createPasswordResponseSuccess = createPasswordResponse201 & {
|
|
1460
1839
|
headers: Headers;
|
|
1461
1840
|
};
|
|
1462
|
-
type
|
|
1841
|
+
type createPasswordResponseError = (createPasswordResponse400 | createPasswordResponse403) & {
|
|
1463
1842
|
headers: Headers;
|
|
1464
1843
|
};
|
|
1465
|
-
type
|
|
1466
|
-
declare const
|
|
1467
|
-
declare const
|
|
1468
|
-
declare const
|
|
1469
|
-
arg:
|
|
1470
|
-
}) => Promise<
|
|
1471
|
-
declare const
|
|
1472
|
-
type
|
|
1473
|
-
type
|
|
1474
|
-
declare const
|
|
1475
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof
|
|
1844
|
+
type createPasswordResponse = createPasswordResponseSuccess | createPasswordResponseError;
|
|
1845
|
+
declare const getCreatePasswordUrl: () => string;
|
|
1846
|
+
declare const createPassword: (createPasswordRequest: CreatePasswordRequest, options?: RequestInit) => Promise<createPasswordResponse>;
|
|
1847
|
+
declare const getCreatePasswordMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
|
|
1848
|
+
arg: CreatePasswordRequest;
|
|
1849
|
+
}) => Promise<createPasswordResponse>;
|
|
1850
|
+
declare const getCreatePasswordMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/create-password"];
|
|
1851
|
+
type CreatePasswordMutationResult = NonNullable<Awaited<ReturnType<typeof createPassword>>>;
|
|
1852
|
+
type CreatePasswordMutationError = Promise<CreatePassword400 | CreatePassword403>;
|
|
1853
|
+
declare const useCreatePassword: <TError = Promise<CreatePassword400 | CreatePassword403>>(options?: {
|
|
1854
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createPassword>>, TError, Key, CreatePasswordRequest, Awaited<ReturnType<typeof createPassword>>> & {
|
|
1476
1855
|
swrKey?: string;
|
|
1477
1856
|
};
|
|
1478
1857
|
fetch?: RequestInit;
|
|
1479
1858
|
}) => {
|
|
1480
1859
|
isMutating: boolean;
|
|
1481
|
-
trigger: swr_mutation.TriggerWithArgs<
|
|
1860
|
+
trigger: swr_mutation.TriggerWithArgs<createPasswordResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/create-password"], CreatePasswordRequest>;
|
|
1482
1861
|
reset: () => void;
|
|
1483
1862
|
error: TError | undefined;
|
|
1484
|
-
data:
|
|
1485
|
-
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/
|
|
1863
|
+
data: createPasswordResponse | undefined;
|
|
1864
|
+
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/create-password"];
|
|
1486
1865
|
};
|
|
1487
1866
|
type createTotpFactorResponse201 = {
|
|
1488
1867
|
data: CreateTotpFactorResponse;
|
|
@@ -1524,229 +1903,303 @@ declare const useCreateTotpFactor: <TError = Promise<CreateTotpFactor400 | Creat
|
|
|
1524
1903
|
data: createTotpFactorResponse | undefined;
|
|
1525
1904
|
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/create-totp-factor"];
|
|
1526
1905
|
};
|
|
1527
|
-
type
|
|
1528
|
-
data:
|
|
1906
|
+
type meResponse200 = {
|
|
1907
|
+
data: Me;
|
|
1529
1908
|
status: 200;
|
|
1530
1909
|
};
|
|
1531
|
-
type
|
|
1532
|
-
data:
|
|
1533
|
-
status: 400;
|
|
1534
|
-
};
|
|
1535
|
-
type verifyTotpFactorResponse403 = {
|
|
1536
|
-
data: VerifyTotpFactor403;
|
|
1910
|
+
type meResponse403 = {
|
|
1911
|
+
data: Me403;
|
|
1537
1912
|
status: 403;
|
|
1538
1913
|
};
|
|
1539
|
-
type
|
|
1914
|
+
type meResponseSuccess = meResponse200 & {
|
|
1540
1915
|
headers: Headers;
|
|
1541
1916
|
};
|
|
1542
|
-
type
|
|
1917
|
+
type meResponseError = meResponse403 & {
|
|
1543
1918
|
headers: Headers;
|
|
1544
1919
|
};
|
|
1545
|
-
type
|
|
1546
|
-
declare const
|
|
1547
|
-
declare const
|
|
1548
|
-
declare const
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
declare const
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof verifyTotpFactor>>, TError, Key, VerifyTotpFactorRequest, Awaited<ReturnType<typeof verifyTotpFactor>>> & {
|
|
1556
|
-
swrKey?: string;
|
|
1920
|
+
type meResponse = meResponseSuccess | meResponseError;
|
|
1921
|
+
declare const getMeUrl: () => string;
|
|
1922
|
+
declare const me: (options?: RequestInit) => Promise<meResponse>;
|
|
1923
|
+
declare const getMeKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/me"];
|
|
1924
|
+
type MeQueryResult = NonNullable<Awaited<ReturnType<typeof me>>>;
|
|
1925
|
+
type MeQueryError = Promise<Me403>;
|
|
1926
|
+
declare const useMe: <TError = Promise<Me403>>(options?: {
|
|
1927
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof me>>, TError> & {
|
|
1928
|
+
swrKey?: Key;
|
|
1929
|
+
enabled?: boolean;
|
|
1557
1930
|
};
|
|
1558
1931
|
fetch?: RequestInit;
|
|
1559
1932
|
}) => {
|
|
1560
|
-
|
|
1561
|
-
trigger: swr_mutation.TriggerWithArgs<verifyTotpFactorResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/verify-totp-factor"], VerifyTotpFactorRequest>;
|
|
1562
|
-
reset: () => void;
|
|
1933
|
+
data: meResponse | undefined;
|
|
1563
1934
|
error: TError | undefined;
|
|
1564
|
-
|
|
1565
|
-
|
|
1935
|
+
mutate: swr.KeyedMutator<meResponse>;
|
|
1936
|
+
isValidating: boolean;
|
|
1937
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
1938
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
1566
1939
|
};
|
|
1567
|
-
type
|
|
1568
|
-
data:
|
|
1940
|
+
type updateMeResponse200 = {
|
|
1941
|
+
data: Me;
|
|
1569
1942
|
status: 200;
|
|
1570
1943
|
};
|
|
1571
|
-
type
|
|
1572
|
-
data:
|
|
1944
|
+
type updateMeResponse400 = {
|
|
1945
|
+
data: UpdateMe400;
|
|
1573
1946
|
status: 400;
|
|
1574
1947
|
};
|
|
1575
|
-
type
|
|
1576
|
-
data:
|
|
1948
|
+
type updateMeResponse403 = {
|
|
1949
|
+
data: UpdateMe403;
|
|
1577
1950
|
status: 403;
|
|
1578
1951
|
};
|
|
1579
|
-
type
|
|
1952
|
+
type updateMeResponseSuccess = updateMeResponse200 & {
|
|
1580
1953
|
headers: Headers;
|
|
1581
1954
|
};
|
|
1582
|
-
type
|
|
1955
|
+
type updateMeResponseError = (updateMeResponse400 | updateMeResponse403) & {
|
|
1583
1956
|
headers: Headers;
|
|
1584
1957
|
};
|
|
1585
|
-
type
|
|
1586
|
-
declare const
|
|
1587
|
-
declare const
|
|
1588
|
-
declare const
|
|
1589
|
-
arg:
|
|
1590
|
-
}) => Promise<
|
|
1591
|
-
declare const
|
|
1592
|
-
type
|
|
1593
|
-
type
|
|
1594
|
-
declare const
|
|
1595
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof
|
|
1958
|
+
type updateMeResponse = updateMeResponseSuccess | updateMeResponseError;
|
|
1959
|
+
declare const getUpdateMeUrl: () => string;
|
|
1960
|
+
declare const updateMe: (updateMeBody: UpdateMeBody, options?: RequestInit) => Promise<updateMeResponse>;
|
|
1961
|
+
declare const getUpdateMeMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
|
|
1962
|
+
arg: UpdateMeBody;
|
|
1963
|
+
}) => Promise<updateMeResponse>;
|
|
1964
|
+
declare const getUpdateMeMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/me"];
|
|
1965
|
+
type UpdateMeMutationResult = NonNullable<Awaited<ReturnType<typeof updateMe>>>;
|
|
1966
|
+
type UpdateMeMutationError = Promise<UpdateMe400 | UpdateMe403>;
|
|
1967
|
+
declare const useUpdateMe: <TError = Promise<UpdateMe400 | UpdateMe403>>(options?: {
|
|
1968
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateMe>>, TError, Key, UpdateMeBody, Awaited<ReturnType<typeof updateMe>>> & {
|
|
1596
1969
|
swrKey?: string;
|
|
1597
1970
|
};
|
|
1598
1971
|
fetch?: RequestInit;
|
|
1599
1972
|
}) => {
|
|
1600
1973
|
isMutating: boolean;
|
|
1601
|
-
trigger: swr_mutation.
|
|
1974
|
+
trigger: swr_mutation.TriggerWithArgs<updateMeResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/me"], UpdateMeBody>;
|
|
1602
1975
|
reset: () => void;
|
|
1603
1976
|
error: TError | undefined;
|
|
1604
|
-
data:
|
|
1605
|
-
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/
|
|
1977
|
+
data: updateMeResponse | undefined;
|
|
1978
|
+
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/me"];
|
|
1606
1979
|
};
|
|
1607
|
-
type
|
|
1608
|
-
data:
|
|
1609
|
-
status:
|
|
1980
|
+
type registerPasskeyResponse201 = {
|
|
1981
|
+
data: RegisterPasskeyResponse;
|
|
1982
|
+
status: 201;
|
|
1610
1983
|
};
|
|
1611
|
-
type
|
|
1612
|
-
data:
|
|
1984
|
+
type registerPasskeyResponse400 = {
|
|
1985
|
+
data: RegisterPasskey400;
|
|
1986
|
+
status: 400;
|
|
1987
|
+
};
|
|
1988
|
+
type registerPasskeyResponse403 = {
|
|
1989
|
+
data: RegisterPasskey403;
|
|
1613
1990
|
status: 403;
|
|
1614
1991
|
};
|
|
1615
|
-
type
|
|
1992
|
+
type registerPasskeyResponseSuccess = registerPasskeyResponse201 & {
|
|
1616
1993
|
headers: Headers;
|
|
1617
1994
|
};
|
|
1618
|
-
type
|
|
1995
|
+
type registerPasskeyResponseError = (registerPasskeyResponse400 | registerPasskeyResponse403) & {
|
|
1619
1996
|
headers: Headers;
|
|
1620
1997
|
};
|
|
1621
|
-
type
|
|
1622
|
-
declare const
|
|
1623
|
-
declare const
|
|
1624
|
-
declare const
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
declare const
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1998
|
+
type registerPasskeyResponse = registerPasskeyResponseSuccess | registerPasskeyResponseError;
|
|
1999
|
+
declare const getRegisterPasskeyUrl: () => string;
|
|
2000
|
+
declare const registerPasskey: (options?: RequestInit) => Promise<registerPasskeyResponse>;
|
|
2001
|
+
declare const getRegisterPasskeyMutationFetcher: (options?: RequestInit) => (_: Key, __: {
|
|
2002
|
+
arg: Arguments;
|
|
2003
|
+
}) => Promise<registerPasskeyResponse>;
|
|
2004
|
+
declare const getRegisterPasskeyMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/passkeys"];
|
|
2005
|
+
type RegisterPasskeyMutationResult = NonNullable<Awaited<ReturnType<typeof registerPasskey>>>;
|
|
2006
|
+
type RegisterPasskeyMutationError = Promise<RegisterPasskey400 | RegisterPasskey403>;
|
|
2007
|
+
declare const useRegisterPasskey: <TError = Promise<RegisterPasskey400 | RegisterPasskey403>>(options?: {
|
|
2008
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof registerPasskey>>, TError, Key, Arguments, Awaited<ReturnType<typeof registerPasskey>>> & {
|
|
2009
|
+
swrKey?: string;
|
|
1631
2010
|
};
|
|
1632
2011
|
fetch?: RequestInit;
|
|
1633
2012
|
}) => {
|
|
1634
|
-
|
|
2013
|
+
isMutating: boolean;
|
|
2014
|
+
trigger: swr_mutation.TriggerWithOptionsArgs<registerPasskeyResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/passkeys"], Arguments>;
|
|
2015
|
+
reset: () => void;
|
|
1635
2016
|
error: TError | undefined;
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
1639
|
-
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
2017
|
+
data: registerPasskeyResponse | undefined;
|
|
2018
|
+
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/passkeys"];
|
|
1640
2019
|
};
|
|
1641
|
-
type
|
|
1642
|
-
data:
|
|
1643
|
-
status:
|
|
2020
|
+
type verifyPasskeyResponse200 = {
|
|
2021
|
+
data: VerifyPasskey200;
|
|
2022
|
+
status: 200;
|
|
1644
2023
|
};
|
|
1645
|
-
type
|
|
1646
|
-
data:
|
|
2024
|
+
type verifyPasskeyResponse400 = {
|
|
2025
|
+
data: VerifyPasskey400;
|
|
1647
2026
|
status: 400;
|
|
1648
2027
|
};
|
|
1649
|
-
type
|
|
1650
|
-
data:
|
|
2028
|
+
type verifyPasskeyResponse403 = {
|
|
2029
|
+
data: VerifyPasskey403;
|
|
1651
2030
|
status: 403;
|
|
1652
2031
|
};
|
|
1653
|
-
type
|
|
2032
|
+
type verifyPasskeyResponseSuccess = verifyPasskeyResponse200 & {
|
|
1654
2033
|
headers: Headers;
|
|
1655
2034
|
};
|
|
1656
|
-
type
|
|
2035
|
+
type verifyPasskeyResponseError = (verifyPasskeyResponse400 | verifyPasskeyResponse403) & {
|
|
1657
2036
|
headers: Headers;
|
|
1658
2037
|
};
|
|
1659
|
-
type
|
|
1660
|
-
declare const
|
|
1661
|
-
declare const
|
|
1662
|
-
declare const
|
|
1663
|
-
arg:
|
|
1664
|
-
}) => Promise<
|
|
1665
|
-
declare const
|
|
1666
|
-
type
|
|
1667
|
-
type
|
|
1668
|
-
declare const
|
|
1669
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof
|
|
2038
|
+
type verifyPasskeyResponse = verifyPasskeyResponseSuccess | verifyPasskeyResponseError;
|
|
2039
|
+
declare const getVerifyPasskeyUrl: () => string;
|
|
2040
|
+
declare const verifyPasskey: (verifyPasskeyRequest: VerifyPasskeyRequest, options?: RequestInit) => Promise<verifyPasskeyResponse>;
|
|
2041
|
+
declare const getVerifyPasskeyMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
|
|
2042
|
+
arg: VerifyPasskeyRequest;
|
|
2043
|
+
}) => Promise<verifyPasskeyResponse>;
|
|
2044
|
+
declare const getVerifyPasskeyMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/passkeys/verify"];
|
|
2045
|
+
type VerifyPasskeyMutationResult = NonNullable<Awaited<ReturnType<typeof verifyPasskey>>>;
|
|
2046
|
+
type VerifyPasskeyMutationError = Promise<VerifyPasskey400 | VerifyPasskey403>;
|
|
2047
|
+
declare const useVerifyPasskey: <TError = Promise<VerifyPasskey400 | VerifyPasskey403>>(options?: {
|
|
2048
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof verifyPasskey>>, TError, Key, VerifyPasskeyRequest, Awaited<ReturnType<typeof verifyPasskey>>> & {
|
|
1670
2049
|
swrKey?: string;
|
|
1671
2050
|
};
|
|
1672
2051
|
fetch?: RequestInit;
|
|
1673
2052
|
}) => {
|
|
1674
2053
|
isMutating: boolean;
|
|
1675
|
-
trigger: swr_mutation.TriggerWithArgs<
|
|
2054
|
+
trigger: swr_mutation.TriggerWithArgs<verifyPasskeyResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/passkeys/verify"], VerifyPasskeyRequest>;
|
|
1676
2055
|
reset: () => void;
|
|
1677
2056
|
error: TError | undefined;
|
|
1678
|
-
data:
|
|
1679
|
-
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/
|
|
2057
|
+
data: verifyPasskeyResponse | undefined;
|
|
2058
|
+
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/passkeys/verify"];
|
|
1680
2059
|
};
|
|
1681
|
-
type
|
|
1682
|
-
data:
|
|
1683
|
-
status:
|
|
2060
|
+
type deletePasskeyResponse200 = {
|
|
2061
|
+
data: DeletePasskey200;
|
|
2062
|
+
status: 200;
|
|
1684
2063
|
};
|
|
1685
|
-
type
|
|
1686
|
-
data:
|
|
2064
|
+
type deletePasskeyResponse400 = {
|
|
2065
|
+
data: DeletePasskey400;
|
|
1687
2066
|
status: 400;
|
|
1688
2067
|
};
|
|
1689
|
-
type
|
|
1690
|
-
data:
|
|
2068
|
+
type deletePasskeyResponse403 = {
|
|
2069
|
+
data: DeletePasskey403;
|
|
1691
2070
|
status: 403;
|
|
1692
2071
|
};
|
|
1693
|
-
type
|
|
2072
|
+
type deletePasskeyResponseSuccess = deletePasskeyResponse200 & {
|
|
1694
2073
|
headers: Headers;
|
|
1695
2074
|
};
|
|
1696
|
-
type
|
|
2075
|
+
type deletePasskeyResponseError = (deletePasskeyResponse400 | deletePasskeyResponse403) & {
|
|
1697
2076
|
headers: Headers;
|
|
1698
2077
|
};
|
|
1699
|
-
type
|
|
1700
|
-
declare const
|
|
1701
|
-
declare const
|
|
1702
|
-
declare const
|
|
1703
|
-
arg:
|
|
1704
|
-
}) => Promise<
|
|
1705
|
-
declare const
|
|
1706
|
-
type
|
|
1707
|
-
type
|
|
1708
|
-
declare const
|
|
1709
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof
|
|
2078
|
+
type deletePasskeyResponse = deletePasskeyResponseSuccess | deletePasskeyResponseError;
|
|
2079
|
+
declare const getDeletePasskeyUrl: (passkeyId: string) => string;
|
|
2080
|
+
declare const deletePasskey: (passkeyId: string, options?: RequestInit) => Promise<deletePasskeyResponse>;
|
|
2081
|
+
declare const getDeletePasskeyMutationFetcher: (passkeyId: string, options?: RequestInit) => (_: Key, __: {
|
|
2082
|
+
arg: Arguments;
|
|
2083
|
+
}) => Promise<deletePasskeyResponse>;
|
|
2084
|
+
declare const getDeletePasskeyMutationKey: (passkeyId: string) => readonly [`https://api.workos.com/_widgets/UserProfile/passkeys/${string}`];
|
|
2085
|
+
type DeletePasskeyMutationResult = NonNullable<Awaited<ReturnType<typeof deletePasskey>>>;
|
|
2086
|
+
type DeletePasskeyMutationError = Promise<DeletePasskey400 | DeletePasskey403>;
|
|
2087
|
+
declare const useDeletePasskey: <TError = Promise<DeletePasskey400 | DeletePasskey403>>(passkeyId: string, options?: {
|
|
2088
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deletePasskey>>, TError, Key, Arguments, Awaited<ReturnType<typeof deletePasskey>>> & {
|
|
1710
2089
|
swrKey?: string;
|
|
1711
2090
|
};
|
|
1712
2091
|
fetch?: RequestInit;
|
|
1713
2092
|
}) => {
|
|
1714
2093
|
isMutating: boolean;
|
|
1715
|
-
trigger: swr_mutation.
|
|
2094
|
+
trigger: swr_mutation.TriggerWithOptionsArgs<deletePasskeyResponse, TError, string | readonly [`https://api.workos.com/_widgets/UserProfile/passkeys/${string}`], Arguments>;
|
|
1716
2095
|
reset: () => void;
|
|
1717
2096
|
error: TError | undefined;
|
|
1718
|
-
data:
|
|
1719
|
-
swrKey: string | readonly [
|
|
2097
|
+
data: deletePasskeyResponse | undefined;
|
|
2098
|
+
swrKey: string | readonly [`https://api.workos.com/_widgets/UserProfile/passkeys/${string}`];
|
|
1720
2099
|
};
|
|
1721
|
-
type
|
|
1722
|
-
data:
|
|
2100
|
+
type sendVerificationResponse200 = {
|
|
2101
|
+
data: SendVerificationResponse;
|
|
1723
2102
|
status: 200;
|
|
1724
2103
|
};
|
|
1725
|
-
type
|
|
1726
|
-
data:
|
|
2104
|
+
type sendVerificationResponse400 = {
|
|
2105
|
+
data: SendVerification400;
|
|
1727
2106
|
status: 400;
|
|
1728
2107
|
};
|
|
1729
|
-
type
|
|
1730
|
-
data:
|
|
2108
|
+
type sendVerificationResponse403 = {
|
|
2109
|
+
data: SendVerification403;
|
|
1731
2110
|
status: 403;
|
|
1732
2111
|
};
|
|
1733
|
-
type
|
|
2112
|
+
type sendVerificationResponseSuccess = sendVerificationResponse200 & {
|
|
1734
2113
|
headers: Headers;
|
|
1735
2114
|
};
|
|
1736
|
-
type
|
|
2115
|
+
type sendVerificationResponseError = (sendVerificationResponse400 | sendVerificationResponse403) & {
|
|
1737
2116
|
headers: Headers;
|
|
1738
2117
|
};
|
|
1739
|
-
type
|
|
1740
|
-
declare const
|
|
1741
|
-
declare const
|
|
1742
|
-
declare const
|
|
1743
|
-
arg:
|
|
1744
|
-
}) => Promise<
|
|
1745
|
-
declare const
|
|
1746
|
-
type
|
|
1747
|
-
type
|
|
1748
|
-
declare const
|
|
1749
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof
|
|
2118
|
+
type sendVerificationResponse = sendVerificationResponseSuccess | sendVerificationResponseError;
|
|
2119
|
+
declare const getSendVerificationUrl: () => string;
|
|
2120
|
+
declare const sendVerification: (options?: RequestInit) => Promise<sendVerificationResponse>;
|
|
2121
|
+
declare const getSendVerificationMutationFetcher: (options?: RequestInit) => (_: Key, __: {
|
|
2122
|
+
arg: Arguments;
|
|
2123
|
+
}) => Promise<sendVerificationResponse>;
|
|
2124
|
+
declare const getSendVerificationMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/send-verification"];
|
|
2125
|
+
type SendVerificationMutationResult = NonNullable<Awaited<ReturnType<typeof sendVerification>>>;
|
|
2126
|
+
type SendVerificationMutationError = Promise<SendVerification400 | SendVerification403>;
|
|
2127
|
+
declare const useSendVerification: <TError = Promise<SendVerification400 | SendVerification403>>(options?: {
|
|
2128
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof sendVerification>>, TError, Key, Arguments, Awaited<ReturnType<typeof sendVerification>>> & {
|
|
2129
|
+
swrKey?: string;
|
|
2130
|
+
};
|
|
2131
|
+
fetch?: RequestInit;
|
|
2132
|
+
}) => {
|
|
2133
|
+
isMutating: boolean;
|
|
2134
|
+
trigger: swr_mutation.TriggerWithOptionsArgs<sendVerificationResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/send-verification"], Arguments>;
|
|
2135
|
+
reset: () => void;
|
|
2136
|
+
error: TError | undefined;
|
|
2137
|
+
data: sendVerificationResponse | undefined;
|
|
2138
|
+
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/send-verification"];
|
|
2139
|
+
};
|
|
2140
|
+
type sessionsResponse200 = {
|
|
2141
|
+
data: ActiveSessionsResponse;
|
|
2142
|
+
status: 200;
|
|
2143
|
+
};
|
|
2144
|
+
type sessionsResponse403 = {
|
|
2145
|
+
data: Sessions403;
|
|
2146
|
+
status: 403;
|
|
2147
|
+
};
|
|
2148
|
+
type sessionsResponseSuccess = sessionsResponse200 & {
|
|
2149
|
+
headers: Headers;
|
|
2150
|
+
};
|
|
2151
|
+
type sessionsResponseError = sessionsResponse403 & {
|
|
2152
|
+
headers: Headers;
|
|
2153
|
+
};
|
|
2154
|
+
type sessionsResponse = sessionsResponseSuccess | sessionsResponseError;
|
|
2155
|
+
declare const getSessionsUrl: () => string;
|
|
2156
|
+
declare const sessions: (options?: RequestInit) => Promise<sessionsResponse>;
|
|
2157
|
+
declare const getSessionsKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/sessions"];
|
|
2158
|
+
type SessionsQueryResult = NonNullable<Awaited<ReturnType<typeof sessions>>>;
|
|
2159
|
+
type SessionsQueryError = Promise<Sessions403>;
|
|
2160
|
+
declare const useSessions: <TError = Promise<Sessions403>>(options?: {
|
|
2161
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof sessions>>, TError> & {
|
|
2162
|
+
swrKey?: Key;
|
|
2163
|
+
enabled?: boolean;
|
|
2164
|
+
};
|
|
2165
|
+
fetch?: RequestInit;
|
|
2166
|
+
}) => {
|
|
2167
|
+
data: sessionsResponse | undefined;
|
|
2168
|
+
error: TError | undefined;
|
|
2169
|
+
mutate: swr.KeyedMutator<sessionsResponse>;
|
|
2170
|
+
isValidating: boolean;
|
|
2171
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
2172
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
2173
|
+
};
|
|
2174
|
+
type revokeAllSessionsResponse200 = {
|
|
2175
|
+
data: RevokeAllSessions200;
|
|
2176
|
+
status: 200;
|
|
2177
|
+
};
|
|
2178
|
+
type revokeAllSessionsResponse400 = {
|
|
2179
|
+
data: RevokeAllSessions400;
|
|
2180
|
+
status: 400;
|
|
2181
|
+
};
|
|
2182
|
+
type revokeAllSessionsResponse403 = {
|
|
2183
|
+
data: RevokeAllSessions403;
|
|
2184
|
+
status: 403;
|
|
2185
|
+
};
|
|
2186
|
+
type revokeAllSessionsResponseSuccess = revokeAllSessionsResponse200 & {
|
|
2187
|
+
headers: Headers;
|
|
2188
|
+
};
|
|
2189
|
+
type revokeAllSessionsResponseError = (revokeAllSessionsResponse400 | revokeAllSessionsResponse403) & {
|
|
2190
|
+
headers: Headers;
|
|
2191
|
+
};
|
|
2192
|
+
type revokeAllSessionsResponse = revokeAllSessionsResponseSuccess | revokeAllSessionsResponseError;
|
|
2193
|
+
declare const getRevokeAllSessionsUrl: () => string;
|
|
2194
|
+
declare const revokeAllSessions: (revokeAllSessionsRequest: RevokeAllSessionsRequest, options?: RequestInit) => Promise<revokeAllSessionsResponse>;
|
|
2195
|
+
declare const getRevokeAllSessionsMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
|
|
2196
|
+
arg: RevokeAllSessionsRequest;
|
|
2197
|
+
}) => Promise<revokeAllSessionsResponse>;
|
|
2198
|
+
declare const getRevokeAllSessionsMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/sessions/revoke-all"];
|
|
2199
|
+
type RevokeAllSessionsMutationResult = NonNullable<Awaited<ReturnType<typeof revokeAllSessions>>>;
|
|
2200
|
+
type RevokeAllSessionsMutationError = Promise<RevokeAllSessions400 | RevokeAllSessions403>;
|
|
2201
|
+
declare const useRevokeAllSessions: <TError = Promise<RevokeAllSessions400 | RevokeAllSessions403>>(options?: {
|
|
2202
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof revokeAllSessions>>, TError, Key, RevokeAllSessionsRequest, Awaited<ReturnType<typeof revokeAllSessions>>> & {
|
|
1750
2203
|
swrKey?: string;
|
|
1751
2204
|
};
|
|
1752
2205
|
fetch?: RequestInit;
|
|
@@ -1798,79 +2251,85 @@ declare const useRevokeSession: <TError = Promise<RevokeSession400 | RevokeSessi
|
|
|
1798
2251
|
data: revokeSessionResponse | undefined;
|
|
1799
2252
|
swrKey: string | readonly [`https://api.workos.com/_widgets/UserProfile/sessions/revoke/${string}`];
|
|
1800
2253
|
};
|
|
1801
|
-
type
|
|
1802
|
-
data:
|
|
2254
|
+
type deleteTotpFactorsResponse200 = {
|
|
2255
|
+
data: DeleteTotpFactors200;
|
|
1803
2256
|
status: 200;
|
|
1804
2257
|
};
|
|
1805
|
-
type
|
|
1806
|
-
data:
|
|
2258
|
+
type deleteTotpFactorsResponse400 = {
|
|
2259
|
+
data: DeleteTotpFactors400;
|
|
2260
|
+
status: 400;
|
|
2261
|
+
};
|
|
2262
|
+
type deleteTotpFactorsResponse403 = {
|
|
2263
|
+
data: DeleteTotpFactors403;
|
|
1807
2264
|
status: 403;
|
|
1808
2265
|
};
|
|
1809
|
-
type
|
|
2266
|
+
type deleteTotpFactorsResponseSuccess = deleteTotpFactorsResponse200 & {
|
|
1810
2267
|
headers: Headers;
|
|
1811
2268
|
};
|
|
1812
|
-
type
|
|
2269
|
+
type deleteTotpFactorsResponseError = (deleteTotpFactorsResponse400 | deleteTotpFactorsResponse403) & {
|
|
1813
2270
|
headers: Headers;
|
|
1814
2271
|
};
|
|
1815
|
-
type
|
|
1816
|
-
declare const
|
|
1817
|
-
declare const
|
|
1818
|
-
declare const
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
declare const
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
2272
|
+
type deleteTotpFactorsResponse = deleteTotpFactorsResponseSuccess | deleteTotpFactorsResponseError;
|
|
2273
|
+
declare const getDeleteTotpFactorsUrl: () => string;
|
|
2274
|
+
declare const deleteTotpFactors: (options?: RequestInit) => Promise<deleteTotpFactorsResponse>;
|
|
2275
|
+
declare const getDeleteTotpFactorsMutationFetcher: (options?: RequestInit) => (_: Key, __: {
|
|
2276
|
+
arg: Arguments;
|
|
2277
|
+
}) => Promise<deleteTotpFactorsResponse>;
|
|
2278
|
+
declare const getDeleteTotpFactorsMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/totp-factors"];
|
|
2279
|
+
type DeleteTotpFactorsMutationResult = NonNullable<Awaited<ReturnType<typeof deleteTotpFactors>>>;
|
|
2280
|
+
type DeleteTotpFactorsMutationError = Promise<DeleteTotpFactors400 | DeleteTotpFactors403>;
|
|
2281
|
+
declare const useDeleteTotpFactors: <TError = Promise<DeleteTotpFactors400 | DeleteTotpFactors403>>(options?: {
|
|
2282
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteTotpFactors>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteTotpFactors>>> & {
|
|
2283
|
+
swrKey?: string;
|
|
1825
2284
|
};
|
|
1826
2285
|
fetch?: RequestInit;
|
|
1827
2286
|
}) => {
|
|
1828
|
-
|
|
2287
|
+
isMutating: boolean;
|
|
2288
|
+
trigger: swr_mutation.TriggerWithOptionsArgs<deleteTotpFactorsResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/totp-factors"], Arguments>;
|
|
2289
|
+
reset: () => void;
|
|
1829
2290
|
error: TError | undefined;
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
1833
|
-
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
2291
|
+
data: deleteTotpFactorsResponse | undefined;
|
|
2292
|
+
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/totp-factors"];
|
|
1834
2293
|
};
|
|
1835
|
-
type
|
|
1836
|
-
data:
|
|
1837
|
-
status:
|
|
2294
|
+
type updatePasswordResponse201 = {
|
|
2295
|
+
data: UpdatePassword201;
|
|
2296
|
+
status: 201;
|
|
1838
2297
|
};
|
|
1839
|
-
type
|
|
1840
|
-
data:
|
|
2298
|
+
type updatePasswordResponse400 = {
|
|
2299
|
+
data: UpdatePassword400;
|
|
1841
2300
|
status: 400;
|
|
1842
2301
|
};
|
|
1843
|
-
type
|
|
1844
|
-
data:
|
|
2302
|
+
type updatePasswordResponse403 = {
|
|
2303
|
+
data: UpdatePassword403;
|
|
1845
2304
|
status: 403;
|
|
1846
2305
|
};
|
|
1847
|
-
type
|
|
2306
|
+
type updatePasswordResponseSuccess = updatePasswordResponse201 & {
|
|
1848
2307
|
headers: Headers;
|
|
1849
2308
|
};
|
|
1850
|
-
type
|
|
2309
|
+
type updatePasswordResponseError = (updatePasswordResponse400 | updatePasswordResponse403) & {
|
|
1851
2310
|
headers: Headers;
|
|
1852
2311
|
};
|
|
1853
|
-
type
|
|
1854
|
-
declare const
|
|
1855
|
-
declare const
|
|
1856
|
-
declare const
|
|
1857
|
-
arg:
|
|
1858
|
-
}) => Promise<
|
|
1859
|
-
declare const
|
|
1860
|
-
type
|
|
1861
|
-
type
|
|
1862
|
-
declare const
|
|
1863
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof
|
|
2312
|
+
type updatePasswordResponse = updatePasswordResponseSuccess | updatePasswordResponseError;
|
|
2313
|
+
declare const getUpdatePasswordUrl: () => string;
|
|
2314
|
+
declare const updatePassword: (updatePasswordRequest: UpdatePasswordRequest, options?: RequestInit) => Promise<updatePasswordResponse>;
|
|
2315
|
+
declare const getUpdatePasswordMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
|
|
2316
|
+
arg: UpdatePasswordRequest;
|
|
2317
|
+
}) => Promise<updatePasswordResponse>;
|
|
2318
|
+
declare const getUpdatePasswordMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/update-password"];
|
|
2319
|
+
type UpdatePasswordMutationResult = NonNullable<Awaited<ReturnType<typeof updatePassword>>>;
|
|
2320
|
+
type UpdatePasswordMutationError = Promise<UpdatePassword400 | UpdatePassword403>;
|
|
2321
|
+
declare const useUpdatePassword: <TError = Promise<UpdatePassword400 | UpdatePassword403>>(options?: {
|
|
2322
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updatePassword>>, TError, Key, UpdatePasswordRequest, Awaited<ReturnType<typeof updatePassword>>> & {
|
|
1864
2323
|
swrKey?: string;
|
|
1865
2324
|
};
|
|
1866
2325
|
fetch?: RequestInit;
|
|
1867
2326
|
}) => {
|
|
1868
2327
|
isMutating: boolean;
|
|
1869
|
-
trigger: swr_mutation.
|
|
2328
|
+
trigger: swr_mutation.TriggerWithArgs<updatePasswordResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/update-password"], UpdatePasswordRequest>;
|
|
1870
2329
|
reset: () => void;
|
|
1871
2330
|
error: TError | undefined;
|
|
1872
|
-
data:
|
|
1873
|
-
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/
|
|
2331
|
+
data: updatePasswordResponse | undefined;
|
|
2332
|
+
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/update-password"];
|
|
1874
2333
|
};
|
|
1875
2334
|
type verifyResponse200 = {
|
|
1876
2335
|
data: VerifyResponse;
|
|
@@ -1912,218 +2371,66 @@ declare const useVerify: <TError = Promise<Verify400 | Verify403>>(options?: {
|
|
|
1912
2371
|
data: verifyResponse | undefined;
|
|
1913
2372
|
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/verify"];
|
|
1914
2373
|
};
|
|
1915
|
-
type
|
|
1916
|
-
data:
|
|
1917
|
-
status:
|
|
2374
|
+
type verifyTotpFactorResponse200 = {
|
|
2375
|
+
data: VerifyTotpFactor200;
|
|
2376
|
+
status: 200;
|
|
1918
2377
|
};
|
|
1919
|
-
type
|
|
1920
|
-
data:
|
|
2378
|
+
type verifyTotpFactorResponse400 = {
|
|
2379
|
+
data: VerifyTotpFactor400;
|
|
1921
2380
|
status: 400;
|
|
1922
2381
|
};
|
|
1923
|
-
type
|
|
1924
|
-
data:
|
|
2382
|
+
type verifyTotpFactorResponse403 = {
|
|
2383
|
+
data: VerifyTotpFactor403;
|
|
1925
2384
|
status: 403;
|
|
1926
2385
|
};
|
|
1927
|
-
type
|
|
2386
|
+
type verifyTotpFactorResponseSuccess = verifyTotpFactorResponse200 & {
|
|
1928
2387
|
headers: Headers;
|
|
1929
2388
|
};
|
|
1930
|
-
type
|
|
2389
|
+
type verifyTotpFactorResponseError = (verifyTotpFactorResponse400 | verifyTotpFactorResponse403) & {
|
|
1931
2390
|
headers: Headers;
|
|
1932
2391
|
};
|
|
1933
|
-
type
|
|
1934
|
-
declare const
|
|
1935
|
-
declare const
|
|
1936
|
-
declare const
|
|
1937
|
-
arg:
|
|
1938
|
-
}) => Promise<
|
|
1939
|
-
declare const
|
|
1940
|
-
type
|
|
1941
|
-
type
|
|
1942
|
-
declare const
|
|
1943
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof
|
|
2392
|
+
type verifyTotpFactorResponse = verifyTotpFactorResponseSuccess | verifyTotpFactorResponseError;
|
|
2393
|
+
declare const getVerifyTotpFactorUrl: () => string;
|
|
2394
|
+
declare const verifyTotpFactor: (verifyTotpFactorRequest: VerifyTotpFactorRequest, options?: RequestInit) => Promise<verifyTotpFactorResponse>;
|
|
2395
|
+
declare const getVerifyTotpFactorMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
|
|
2396
|
+
arg: VerifyTotpFactorRequest;
|
|
2397
|
+
}) => Promise<verifyTotpFactorResponse>;
|
|
2398
|
+
declare const getVerifyTotpFactorMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/verify-totp-factor"];
|
|
2399
|
+
type VerifyTotpFactorMutationResult = NonNullable<Awaited<ReturnType<typeof verifyTotpFactor>>>;
|
|
2400
|
+
type VerifyTotpFactorMutationError = Promise<VerifyTotpFactor400 | VerifyTotpFactor403>;
|
|
2401
|
+
declare const useVerifyTotpFactor: <TError = Promise<VerifyTotpFactor400 | VerifyTotpFactor403>>(options?: {
|
|
2402
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof verifyTotpFactor>>, TError, Key, VerifyTotpFactorRequest, Awaited<ReturnType<typeof verifyTotpFactor>>> & {
|
|
1944
2403
|
swrKey?: string;
|
|
1945
2404
|
};
|
|
1946
2405
|
fetch?: RequestInit;
|
|
1947
2406
|
}) => {
|
|
1948
2407
|
isMutating: boolean;
|
|
1949
|
-
trigger: swr_mutation.
|
|
2408
|
+
trigger: swr_mutation.TriggerWithArgs<verifyTotpFactorResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/verify-totp-factor"], VerifyTotpFactorRequest>;
|
|
1950
2409
|
reset: () => void;
|
|
1951
2410
|
error: TError | undefined;
|
|
1952
|
-
data:
|
|
1953
|
-
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/
|
|
1954
|
-
};
|
|
1955
|
-
type verifyPasskeyResponse200 = {
|
|
1956
|
-
data: VerifyPasskey200;
|
|
1957
|
-
status: 200;
|
|
2411
|
+
data: verifyTotpFactorResponse | undefined;
|
|
2412
|
+
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/verify-totp-factor"];
|
|
1958
2413
|
};
|
|
1959
|
-
type
|
|
1960
|
-
data:
|
|
1961
|
-
status:
|
|
2414
|
+
type generateAdminPortalLinkResponse201 = {
|
|
2415
|
+
data: GenerateAdminPortalLink201;
|
|
2416
|
+
status: 201;
|
|
1962
2417
|
};
|
|
1963
|
-
type
|
|
1964
|
-
data:
|
|
2418
|
+
type generateAdminPortalLinkResponse403 = {
|
|
2419
|
+
data: GenerateAdminPortalLink403;
|
|
1965
2420
|
status: 403;
|
|
1966
2421
|
};
|
|
1967
|
-
type
|
|
2422
|
+
type generateAdminPortalLinkResponse404 = {
|
|
2423
|
+
data: GenerateAdminPortalLink404;
|
|
2424
|
+
status: 404;
|
|
2425
|
+
};
|
|
2426
|
+
type generateAdminPortalLinkResponse500 = {
|
|
2427
|
+
data: GenerateAdminPortalLink500;
|
|
2428
|
+
status: 500;
|
|
2429
|
+
};
|
|
2430
|
+
type generateAdminPortalLinkResponseSuccess = generateAdminPortalLinkResponse201 & {
|
|
1968
2431
|
headers: Headers;
|
|
1969
2432
|
};
|
|
1970
|
-
type
|
|
1971
|
-
headers: Headers;
|
|
1972
|
-
};
|
|
1973
|
-
type verifyPasskeyResponse = verifyPasskeyResponseSuccess | verifyPasskeyResponseError;
|
|
1974
|
-
declare const getVerifyPasskeyUrl: () => string;
|
|
1975
|
-
declare const verifyPasskey: (verifyPasskeyRequest: VerifyPasskeyRequest, options?: RequestInit) => Promise<verifyPasskeyResponse>;
|
|
1976
|
-
declare const getVerifyPasskeyMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
|
|
1977
|
-
arg: VerifyPasskeyRequest;
|
|
1978
|
-
}) => Promise<verifyPasskeyResponse>;
|
|
1979
|
-
declare const getVerifyPasskeyMutationKey: () => readonly ["https://api.workos.com/_widgets/UserProfile/passkeys/verify"];
|
|
1980
|
-
type VerifyPasskeyMutationResult = NonNullable<Awaited<ReturnType<typeof verifyPasskey>>>;
|
|
1981
|
-
type VerifyPasskeyMutationError = Promise<VerifyPasskey400 | VerifyPasskey403>;
|
|
1982
|
-
declare const useVerifyPasskey: <TError = Promise<VerifyPasskey400 | VerifyPasskey403>>(options?: {
|
|
1983
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof verifyPasskey>>, TError, Key, VerifyPasskeyRequest, Awaited<ReturnType<typeof verifyPasskey>>> & {
|
|
1984
|
-
swrKey?: string;
|
|
1985
|
-
};
|
|
1986
|
-
fetch?: RequestInit;
|
|
1987
|
-
}) => {
|
|
1988
|
-
isMutating: boolean;
|
|
1989
|
-
trigger: swr_mutation.TriggerWithArgs<verifyPasskeyResponse, TError, string | readonly ["https://api.workos.com/_widgets/UserProfile/passkeys/verify"], VerifyPasskeyRequest>;
|
|
1990
|
-
reset: () => void;
|
|
1991
|
-
error: TError | undefined;
|
|
1992
|
-
data: verifyPasskeyResponse | undefined;
|
|
1993
|
-
swrKey: string | readonly ["https://api.workos.com/_widgets/UserProfile/passkeys/verify"];
|
|
1994
|
-
};
|
|
1995
|
-
type deletePasskeyResponse200 = {
|
|
1996
|
-
data: DeletePasskey200;
|
|
1997
|
-
status: 200;
|
|
1998
|
-
};
|
|
1999
|
-
type deletePasskeyResponse400 = {
|
|
2000
|
-
data: DeletePasskey400;
|
|
2001
|
-
status: 400;
|
|
2002
|
-
};
|
|
2003
|
-
type deletePasskeyResponse403 = {
|
|
2004
|
-
data: DeletePasskey403;
|
|
2005
|
-
status: 403;
|
|
2006
|
-
};
|
|
2007
|
-
type deletePasskeyResponseSuccess = deletePasskeyResponse200 & {
|
|
2008
|
-
headers: Headers;
|
|
2009
|
-
};
|
|
2010
|
-
type deletePasskeyResponseError = (deletePasskeyResponse400 | deletePasskeyResponse403) & {
|
|
2011
|
-
headers: Headers;
|
|
2012
|
-
};
|
|
2013
|
-
type deletePasskeyResponse = deletePasskeyResponseSuccess | deletePasskeyResponseError;
|
|
2014
|
-
declare const getDeletePasskeyUrl: (passkeyId: string) => string;
|
|
2015
|
-
declare const deletePasskey: (passkeyId: string, options?: RequestInit) => Promise<deletePasskeyResponse>;
|
|
2016
|
-
declare const getDeletePasskeyMutationFetcher: (passkeyId: string, options?: RequestInit) => (_: Key, __: {
|
|
2017
|
-
arg: Arguments;
|
|
2018
|
-
}) => Promise<deletePasskeyResponse>;
|
|
2019
|
-
declare const getDeletePasskeyMutationKey: (passkeyId: string) => readonly [`https://api.workos.com/_widgets/UserProfile/passkeys/${string}`];
|
|
2020
|
-
type DeletePasskeyMutationResult = NonNullable<Awaited<ReturnType<typeof deletePasskey>>>;
|
|
2021
|
-
type DeletePasskeyMutationError = Promise<DeletePasskey400 | DeletePasskey403>;
|
|
2022
|
-
declare const useDeletePasskey: <TError = Promise<DeletePasskey400 | DeletePasskey403>>(passkeyId: string, options?: {
|
|
2023
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deletePasskey>>, TError, Key, Arguments, Awaited<ReturnType<typeof deletePasskey>>> & {
|
|
2024
|
-
swrKey?: string;
|
|
2025
|
-
};
|
|
2026
|
-
fetch?: RequestInit;
|
|
2027
|
-
}) => {
|
|
2028
|
-
isMutating: boolean;
|
|
2029
|
-
trigger: swr_mutation.TriggerWithOptionsArgs<deletePasskeyResponse, TError, string | readonly [`https://api.workos.com/_widgets/UserProfile/passkeys/${string}`], Arguments>;
|
|
2030
|
-
reset: () => void;
|
|
2031
|
-
error: TError | undefined;
|
|
2032
|
-
data: deletePasskeyResponse | undefined;
|
|
2033
|
-
swrKey: string | readonly [`https://api.workos.com/_widgets/UserProfile/passkeys/${string}`];
|
|
2034
|
-
};
|
|
2035
|
-
type settingsResponse200 = {
|
|
2036
|
-
data: SettingsResponse;
|
|
2037
|
-
status: 200;
|
|
2038
|
-
};
|
|
2039
|
-
type settingsResponse403 = {
|
|
2040
|
-
data: Settings403;
|
|
2041
|
-
status: 403;
|
|
2042
|
-
};
|
|
2043
|
-
type settingsResponseSuccess = settingsResponse200 & {
|
|
2044
|
-
headers: Headers;
|
|
2045
|
-
};
|
|
2046
|
-
type settingsResponseError = settingsResponse403 & {
|
|
2047
|
-
headers: Headers;
|
|
2048
|
-
};
|
|
2049
|
-
type settingsResponse = settingsResponseSuccess | settingsResponseError;
|
|
2050
|
-
declare const getSettingsUrl: () => string;
|
|
2051
|
-
declare const settings: (options?: RequestInit) => Promise<settingsResponse>;
|
|
2052
|
-
declare const getSettingsKey: () => readonly ["https://api.workos.com/_widgets/settings"];
|
|
2053
|
-
type SettingsQueryResult = NonNullable<Awaited<ReturnType<typeof settings>>>;
|
|
2054
|
-
type SettingsQueryError = Promise<Settings403>;
|
|
2055
|
-
declare const useSettings: <TError = Promise<Settings403>>(options?: {
|
|
2056
|
-
swr?: SWRConfiguration<Awaited<ReturnType<typeof settings>>, TError> & {
|
|
2057
|
-
swrKey?: Key;
|
|
2058
|
-
enabled?: boolean;
|
|
2059
|
-
};
|
|
2060
|
-
fetch?: RequestInit;
|
|
2061
|
-
}) => {
|
|
2062
|
-
data: settingsResponse | undefined;
|
|
2063
|
-
error: TError | undefined;
|
|
2064
|
-
mutate: swr.KeyedMutator<settingsResponse>;
|
|
2065
|
-
isValidating: boolean;
|
|
2066
|
-
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
2067
|
-
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
2068
|
-
};
|
|
2069
|
-
type listOrganizationDomainsResponse200 = {
|
|
2070
|
-
data: ListOrganizationDomains200;
|
|
2071
|
-
status: 200;
|
|
2072
|
-
};
|
|
2073
|
-
type listOrganizationDomainsResponse403 = {
|
|
2074
|
-
data: ListOrganizationDomains403;
|
|
2075
|
-
status: 403;
|
|
2076
|
-
};
|
|
2077
|
-
type listOrganizationDomainsResponse404 = {
|
|
2078
|
-
data: ListOrganizationDomains404;
|
|
2079
|
-
status: 404;
|
|
2080
|
-
};
|
|
2081
|
-
type listOrganizationDomainsResponseSuccess = listOrganizationDomainsResponse200 & {
|
|
2082
|
-
headers: Headers;
|
|
2083
|
-
};
|
|
2084
|
-
type listOrganizationDomainsResponseError = (listOrganizationDomainsResponse403 | listOrganizationDomainsResponse404) & {
|
|
2085
|
-
headers: Headers;
|
|
2086
|
-
};
|
|
2087
|
-
type listOrganizationDomainsResponse = listOrganizationDomainsResponseSuccess | listOrganizationDomainsResponseError;
|
|
2088
|
-
declare const getListOrganizationDomainsUrl: () => string;
|
|
2089
|
-
declare const listOrganizationDomains: (options?: RequestInit) => Promise<listOrganizationDomainsResponse>;
|
|
2090
|
-
declare const getListOrganizationDomainsKey: () => readonly ["https://api.workos.com/_widgets/admin-portal/organization-domains"];
|
|
2091
|
-
type ListOrganizationDomainsQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizationDomains>>>;
|
|
2092
|
-
type ListOrganizationDomainsQueryError = Promise<ListOrganizationDomains403 | ListOrganizationDomains404>;
|
|
2093
|
-
declare const useListOrganizationDomains: <TError = Promise<ListOrganizationDomains403 | ListOrganizationDomains404>>(options?: {
|
|
2094
|
-
swr?: SWRConfiguration<Awaited<ReturnType<typeof listOrganizationDomains>>, TError> & {
|
|
2095
|
-
swrKey?: Key;
|
|
2096
|
-
enabled?: boolean;
|
|
2097
|
-
};
|
|
2098
|
-
fetch?: RequestInit;
|
|
2099
|
-
}) => {
|
|
2100
|
-
data: listOrganizationDomainsResponse | undefined;
|
|
2101
|
-
error: TError | undefined;
|
|
2102
|
-
mutate: swr.KeyedMutator<listOrganizationDomainsResponse>;
|
|
2103
|
-
isValidating: boolean;
|
|
2104
|
-
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
2105
|
-
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
2106
|
-
};
|
|
2107
|
-
type generateAdminPortalLinkResponse201 = {
|
|
2108
|
-
data: GenerateAdminPortalLink201;
|
|
2109
|
-
status: 201;
|
|
2110
|
-
};
|
|
2111
|
-
type generateAdminPortalLinkResponse403 = {
|
|
2112
|
-
data: GenerateAdminPortalLink403;
|
|
2113
|
-
status: 403;
|
|
2114
|
-
};
|
|
2115
|
-
type generateAdminPortalLinkResponse404 = {
|
|
2116
|
-
data: GenerateAdminPortalLink404;
|
|
2117
|
-
status: 404;
|
|
2118
|
-
};
|
|
2119
|
-
type generateAdminPortalLinkResponse500 = {
|
|
2120
|
-
data: GenerateAdminPortalLink500;
|
|
2121
|
-
status: 500;
|
|
2122
|
-
};
|
|
2123
|
-
type generateAdminPortalLinkResponseSuccess = generateAdminPortalLinkResponse201 & {
|
|
2124
|
-
headers: Headers;
|
|
2125
|
-
};
|
|
2126
|
-
type generateAdminPortalLinkResponseError = (generateAdminPortalLinkResponse403 | generateAdminPortalLinkResponse404 | generateAdminPortalLinkResponse500) & {
|
|
2433
|
+
type generateAdminPortalLinkResponseError = (generateAdminPortalLinkResponse403 | generateAdminPortalLinkResponse404 | generateAdminPortalLinkResponse500) & {
|
|
2127
2434
|
headers: Headers;
|
|
2128
2435
|
};
|
|
2129
2436
|
type generateAdminPortalLinkResponse = generateAdminPortalLinkResponseSuccess | generateAdminPortalLinkResponseError;
|
|
@@ -2137,449 +2444,237 @@ type GenerateAdminPortalLinkMutationResult = NonNullable<Awaited<ReturnType<type
|
|
|
2137
2444
|
type GenerateAdminPortalLinkMutationError = Promise<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>;
|
|
2138
2445
|
declare const useGenerateAdminPortalLink: <TError = Promise<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>>(params: GenerateAdminPortalLinkParams, options?: {
|
|
2139
2446
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof generateAdminPortalLink>>, TError, Key, Arguments, Awaited<ReturnType<typeof generateAdminPortalLink>>> & {
|
|
2140
|
-
swrKey?: string;
|
|
2141
|
-
};
|
|
2142
|
-
fetch?: RequestInit;
|
|
2143
|
-
}) => {
|
|
2144
|
-
isMutating: boolean;
|
|
2145
|
-
trigger: swr_mutation.TriggerWithOptionsArgs<generateAdminPortalLinkResponse, TError, string | readonly ["https://api.workos.com/_widgets/admin-portal/generate-link", ...GenerateAdminPortalLinkParams[]], Arguments>;
|
|
2146
|
-
reset: () => void;
|
|
2147
|
-
error: TError | undefined;
|
|
2148
|
-
data: generateAdminPortalLinkResponse | undefined;
|
|
2149
|
-
swrKey: string | readonly ["https://api.workos.com/_widgets/admin-portal/generate-link", ...GenerateAdminPortalLinkParams[]];
|
|
2150
|
-
};
|
|
2151
|
-
type deleteOrganizationDomainResponse200 = {
|
|
2152
|
-
data: OrganizationDomain;
|
|
2153
|
-
status: 200;
|
|
2154
|
-
};
|
|
2155
|
-
type deleteOrganizationDomainResponse403 = {
|
|
2156
|
-
data: DeleteOrganizationDomain403;
|
|
2157
|
-
status: 403;
|
|
2158
|
-
};
|
|
2159
|
-
type deleteOrganizationDomainResponse404 = {
|
|
2160
|
-
data: DeleteOrganizationDomain404;
|
|
2161
|
-
status: 404;
|
|
2162
|
-
};
|
|
2163
|
-
type deleteOrganizationDomainResponseSuccess = deleteOrganizationDomainResponse200 & {
|
|
2164
|
-
headers: Headers;
|
|
2165
|
-
};
|
|
2166
|
-
type deleteOrganizationDomainResponseError = (deleteOrganizationDomainResponse403 | deleteOrganizationDomainResponse404) & {
|
|
2167
|
-
headers: Headers;
|
|
2168
|
-
};
|
|
2169
|
-
type deleteOrganizationDomainResponse = deleteOrganizationDomainResponseSuccess | deleteOrganizationDomainResponseError;
|
|
2170
|
-
declare const getDeleteOrganizationDomainUrl: (domainId: string) => string;
|
|
2171
|
-
declare const deleteOrganizationDomain: (domainId: string, options?: RequestInit) => Promise<deleteOrganizationDomainResponse>;
|
|
2172
|
-
declare const getDeleteOrganizationDomainMutationFetcher: (domainId: string, options?: RequestInit) => (_: Key, __: {
|
|
2173
|
-
arg: Arguments;
|
|
2174
|
-
}) => Promise<deleteOrganizationDomainResponse>;
|
|
2175
|
-
declare const getDeleteOrganizationDomainMutationKey: (domainId: string) => readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}`];
|
|
2176
|
-
type DeleteOrganizationDomainMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOrganizationDomain>>>;
|
|
2177
|
-
type DeleteOrganizationDomainMutationError = Promise<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>;
|
|
2178
|
-
declare const useDeleteOrganizationDomain: <TError = Promise<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>>(domainId: string, options?: {
|
|
2179
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteOrganizationDomain>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteOrganizationDomain>>> & {
|
|
2180
|
-
swrKey?: string;
|
|
2181
|
-
};
|
|
2182
|
-
fetch?: RequestInit;
|
|
2183
|
-
}) => {
|
|
2184
|
-
isMutating: boolean;
|
|
2185
|
-
trigger: swr_mutation.TriggerWithOptionsArgs<deleteOrganizationDomainResponse, TError, string | readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}`], Arguments>;
|
|
2186
|
-
reset: () => void;
|
|
2187
|
-
error: TError | undefined;
|
|
2188
|
-
data: deleteOrganizationDomainResponse | undefined;
|
|
2189
|
-
swrKey: string | readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}`];
|
|
2190
|
-
};
|
|
2191
|
-
type reverifyOrganizationDomainResponse200 = {
|
|
2192
|
-
data: OrganizationDomain;
|
|
2193
|
-
status: 200;
|
|
2194
|
-
};
|
|
2195
|
-
type reverifyOrganizationDomainResponse403 = {
|
|
2196
|
-
data: ReverifyOrganizationDomain403;
|
|
2197
|
-
status: 403;
|
|
2198
|
-
};
|
|
2199
|
-
type reverifyOrganizationDomainResponse404 = {
|
|
2200
|
-
data: ReverifyOrganizationDomain404;
|
|
2201
|
-
status: 404;
|
|
2202
|
-
};
|
|
2203
|
-
type reverifyOrganizationDomainResponseSuccess = reverifyOrganizationDomainResponse200 & {
|
|
2204
|
-
headers: Headers;
|
|
2205
|
-
};
|
|
2206
|
-
type reverifyOrganizationDomainResponseError = (reverifyOrganizationDomainResponse403 | reverifyOrganizationDomainResponse404) & {
|
|
2207
|
-
headers: Headers;
|
|
2208
|
-
};
|
|
2209
|
-
type reverifyOrganizationDomainResponse = reverifyOrganizationDomainResponseSuccess | reverifyOrganizationDomainResponseError;
|
|
2210
|
-
declare const getReverifyOrganizationDomainUrl: (domainId: string) => string;
|
|
2211
|
-
declare const reverifyOrganizationDomain: (domainId: string, options?: RequestInit) => Promise<reverifyOrganizationDomainResponse>;
|
|
2212
|
-
declare const getReverifyOrganizationDomainMutationFetcher: (domainId: string, options?: RequestInit) => (_: Key, __: {
|
|
2213
|
-
arg: Arguments;
|
|
2214
|
-
}) => Promise<reverifyOrganizationDomainResponse>;
|
|
2215
|
-
declare const getReverifyOrganizationDomainMutationKey: (domainId: string) => readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}/reverify`];
|
|
2216
|
-
type ReverifyOrganizationDomainMutationResult = NonNullable<Awaited<ReturnType<typeof reverifyOrganizationDomain>>>;
|
|
2217
|
-
type ReverifyOrganizationDomainMutationError = Promise<ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404>;
|
|
2218
|
-
declare const useReverifyOrganizationDomain: <TError = Promise<ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404>>(domainId: string, options?: {
|
|
2219
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof reverifyOrganizationDomain>>, TError, Key, Arguments, Awaited<ReturnType<typeof reverifyOrganizationDomain>>> & {
|
|
2220
|
-
swrKey?: string;
|
|
2221
|
-
};
|
|
2222
|
-
fetch?: RequestInit;
|
|
2223
|
-
}) => {
|
|
2224
|
-
isMutating: boolean;
|
|
2225
|
-
trigger: swr_mutation.TriggerWithOptionsArgs<reverifyOrganizationDomainResponse, TError, string | readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}/reverify`], Arguments>;
|
|
2226
|
-
reset: () => void;
|
|
2227
|
-
error: TError | undefined;
|
|
2228
|
-
data: reverifyOrganizationDomainResponse | undefined;
|
|
2229
|
-
swrKey: string | readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}/reverify`];
|
|
2230
|
-
};
|
|
2231
|
-
type listSsoConnectionsResponse200 = {
|
|
2232
|
-
data: SsoConnection[];
|
|
2233
|
-
status: 200;
|
|
2234
|
-
};
|
|
2235
|
-
type listSsoConnectionsResponseSuccess = listSsoConnectionsResponse200 & {
|
|
2236
|
-
headers: Headers;
|
|
2237
|
-
};
|
|
2238
|
-
type listSsoConnectionsResponse = listSsoConnectionsResponseSuccess;
|
|
2239
|
-
declare const getListSsoConnectionsUrl: () => string;
|
|
2240
|
-
declare const listSsoConnections: (options?: RequestInit) => Promise<listSsoConnectionsResponse>;
|
|
2241
|
-
declare const getListSsoConnectionsKey: () => readonly ["https://api.workos.com/_widgets/admin-portal/sso-connections"];
|
|
2242
|
-
type ListSsoConnectionsQueryResult = NonNullable<Awaited<ReturnType<typeof listSsoConnections>>>;
|
|
2243
|
-
type ListSsoConnectionsQueryError = Promise<unknown>;
|
|
2244
|
-
declare const useListSsoConnections: <TError = Promise<unknown>>(options?: {
|
|
2245
|
-
swr?: SWRConfiguration<Awaited<ReturnType<typeof listSsoConnections>>, TError> & {
|
|
2246
|
-
swrKey?: Key;
|
|
2247
|
-
enabled?: boolean;
|
|
2248
|
-
};
|
|
2249
|
-
fetch?: RequestInit;
|
|
2250
|
-
}) => {
|
|
2251
|
-
data: (listSsoConnectionsResponse200 & {
|
|
2252
|
-
headers: Headers;
|
|
2253
|
-
}) | undefined;
|
|
2254
|
-
error: TError | undefined;
|
|
2255
|
-
mutate: swr.KeyedMutator<listSsoConnectionsResponse200 & {
|
|
2256
|
-
headers: Headers;
|
|
2257
|
-
}>;
|
|
2258
|
-
isValidating: boolean;
|
|
2259
|
-
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
2260
|
-
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
2261
|
-
};
|
|
2262
|
-
type createOrganizationApiKeyResponse201 = {
|
|
2263
|
-
data: CreateOrganizationApiKeyResponse;
|
|
2264
|
-
status: 201;
|
|
2265
|
-
};
|
|
2266
|
-
type createOrganizationApiKeyResponse400 = {
|
|
2267
|
-
data: CreateOrganizationApiKey400;
|
|
2268
|
-
status: 400;
|
|
2269
|
-
};
|
|
2270
|
-
type createOrganizationApiKeyResponse403 = {
|
|
2271
|
-
data: CreateOrganizationApiKey403;
|
|
2272
|
-
status: 403;
|
|
2273
|
-
};
|
|
2274
|
-
type createOrganizationApiKeyResponse404 = {
|
|
2275
|
-
data: CreateOrganizationApiKey404;
|
|
2276
|
-
status: 404;
|
|
2277
|
-
};
|
|
2278
|
-
type createOrganizationApiKeyResponse422 = {
|
|
2279
|
-
data: CreateOrganizationApiKey422;
|
|
2280
|
-
status: 422;
|
|
2281
|
-
};
|
|
2282
|
-
type createOrganizationApiKeyResponseSuccess = createOrganizationApiKeyResponse201 & {
|
|
2283
|
-
headers: Headers;
|
|
2284
|
-
};
|
|
2285
|
-
type createOrganizationApiKeyResponseError = (createOrganizationApiKeyResponse400 | createOrganizationApiKeyResponse403 | createOrganizationApiKeyResponse404 | createOrganizationApiKeyResponse422) & {
|
|
2286
|
-
headers: Headers;
|
|
2287
|
-
};
|
|
2288
|
-
type createOrganizationApiKeyResponse = createOrganizationApiKeyResponseSuccess | createOrganizationApiKeyResponseError;
|
|
2289
|
-
declare const getCreateOrganizationApiKeyUrl: () => string;
|
|
2290
|
-
declare const createOrganizationApiKey: (createOrganizationApiKeyRequest: CreateOrganizationApiKeyRequest, options?: RequestInit) => Promise<createOrganizationApiKeyResponse>;
|
|
2291
|
-
declare const getCreateOrganizationApiKeyMutationFetcher: (options?: RequestInit) => (_: Key, { arg }: {
|
|
2292
|
-
arg: CreateOrganizationApiKeyRequest;
|
|
2293
|
-
}) => Promise<createOrganizationApiKeyResponse>;
|
|
2294
|
-
declare const getCreateOrganizationApiKeyMutationKey: () => readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys"];
|
|
2295
|
-
type CreateOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof createOrganizationApiKey>>>;
|
|
2296
|
-
type CreateOrganizationApiKeyMutationError = Promise<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>;
|
|
2297
|
-
declare const useCreateOrganizationApiKey: <TError = Promise<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404 | CreateOrganizationApiKey422>>(options?: {
|
|
2298
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createOrganizationApiKey>>, TError, Key, CreateOrganizationApiKeyRequest, Awaited<ReturnType<typeof createOrganizationApiKey>>> & {
|
|
2299
|
-
swrKey?: string;
|
|
2300
|
-
};
|
|
2301
|
-
fetch?: RequestInit;
|
|
2302
|
-
}) => {
|
|
2303
|
-
isMutating: boolean;
|
|
2304
|
-
trigger: swr_mutation.TriggerWithArgs<createOrganizationApiKeyResponse, TError, string | readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys"], CreateOrganizationApiKeyRequest>;
|
|
2305
|
-
reset: () => void;
|
|
2306
|
-
error: TError | undefined;
|
|
2307
|
-
data: createOrganizationApiKeyResponse | undefined;
|
|
2308
|
-
swrKey: string | readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys"];
|
|
2309
|
-
};
|
|
2310
|
-
type listOrganizationApiKeysResponse200 = {
|
|
2311
|
-
data: ListOrganizationApiKeysResponse;
|
|
2312
|
-
status: 200;
|
|
2313
|
-
};
|
|
2314
|
-
type listOrganizationApiKeysResponse400 = {
|
|
2315
|
-
data: ListOrganizationApiKeys400;
|
|
2316
|
-
status: 400;
|
|
2317
|
-
};
|
|
2318
|
-
type listOrganizationApiKeysResponse403 = {
|
|
2319
|
-
data: ListOrganizationApiKeys403;
|
|
2320
|
-
status: 403;
|
|
2321
|
-
};
|
|
2322
|
-
type listOrganizationApiKeysResponseSuccess = listOrganizationApiKeysResponse200 & {
|
|
2323
|
-
headers: Headers;
|
|
2324
|
-
};
|
|
2325
|
-
type listOrganizationApiKeysResponseError = (listOrganizationApiKeysResponse400 | listOrganizationApiKeysResponse403) & {
|
|
2326
|
-
headers: Headers;
|
|
2327
|
-
};
|
|
2328
|
-
type listOrganizationApiKeysResponse = listOrganizationApiKeysResponseSuccess | listOrganizationApiKeysResponseError;
|
|
2329
|
-
declare const getListOrganizationApiKeysUrl: (params?: ListOrganizationApiKeysParams) => string;
|
|
2330
|
-
declare const listOrganizationApiKeys: (params?: ListOrganizationApiKeysParams, options?: RequestInit) => Promise<listOrganizationApiKeysResponse>;
|
|
2331
|
-
declare const getListOrganizationApiKeysKey: (params?: ListOrganizationApiKeysParams) => readonly ["https://api.workos.com/_widgets/ApiKeys/organization-api-keys", ...ListOrganizationApiKeysParams[]];
|
|
2332
|
-
type ListOrganizationApiKeysQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizationApiKeys>>>;
|
|
2333
|
-
type ListOrganizationApiKeysQueryError = Promise<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>;
|
|
2334
|
-
declare const useListOrganizationApiKeys: <TError = Promise<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
|
|
2335
|
-
swr?: SWRConfiguration<Awaited<ReturnType<typeof listOrganizationApiKeys>>, TError> & {
|
|
2336
|
-
swrKey?: Key;
|
|
2337
|
-
enabled?: boolean;
|
|
2447
|
+
swrKey?: string;
|
|
2338
2448
|
};
|
|
2339
2449
|
fetch?: RequestInit;
|
|
2340
2450
|
}) => {
|
|
2341
|
-
|
|
2451
|
+
isMutating: boolean;
|
|
2452
|
+
trigger: swr_mutation.TriggerWithOptionsArgs<generateAdminPortalLinkResponse, TError, string | readonly ["https://api.workos.com/_widgets/admin-portal/generate-link", ...GenerateAdminPortalLinkParams[]], Arguments>;
|
|
2453
|
+
reset: () => void;
|
|
2342
2454
|
error: TError | undefined;
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
2346
|
-
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
2455
|
+
data: generateAdminPortalLinkResponse | undefined;
|
|
2456
|
+
swrKey: string | readonly ["https://api.workos.com/_widgets/admin-portal/generate-link", ...GenerateAdminPortalLinkParams[]];
|
|
2347
2457
|
};
|
|
2348
|
-
type
|
|
2349
|
-
data:
|
|
2458
|
+
type listOrganizationDomainsResponse200 = {
|
|
2459
|
+
data: ListOrganizationDomains200;
|
|
2350
2460
|
status: 200;
|
|
2351
2461
|
};
|
|
2352
|
-
type
|
|
2353
|
-
data:
|
|
2354
|
-
status: 400;
|
|
2355
|
-
};
|
|
2356
|
-
type listOrganizationApiKeyPermissionsResponse403 = {
|
|
2357
|
-
data: ListOrganizationApiKeyPermissions403;
|
|
2462
|
+
type listOrganizationDomainsResponse403 = {
|
|
2463
|
+
data: ListOrganizationDomains403;
|
|
2358
2464
|
status: 403;
|
|
2359
2465
|
};
|
|
2360
|
-
type
|
|
2466
|
+
type listOrganizationDomainsResponse404 = {
|
|
2467
|
+
data: ListOrganizationDomains404;
|
|
2468
|
+
status: 404;
|
|
2469
|
+
};
|
|
2470
|
+
type listOrganizationDomainsResponseSuccess = listOrganizationDomainsResponse200 & {
|
|
2361
2471
|
headers: Headers;
|
|
2362
2472
|
};
|
|
2363
|
-
type
|
|
2473
|
+
type listOrganizationDomainsResponseError = (listOrganizationDomainsResponse403 | listOrganizationDomainsResponse404) & {
|
|
2364
2474
|
headers: Headers;
|
|
2365
2475
|
};
|
|
2366
|
-
type
|
|
2367
|
-
declare const
|
|
2368
|
-
declare const
|
|
2369
|
-
declare const
|
|
2370
|
-
type
|
|
2371
|
-
type
|
|
2372
|
-
declare const
|
|
2373
|
-
swr?: SWRConfiguration<Awaited<ReturnType<typeof
|
|
2476
|
+
type listOrganizationDomainsResponse = listOrganizationDomainsResponseSuccess | listOrganizationDomainsResponseError;
|
|
2477
|
+
declare const getListOrganizationDomainsUrl: () => string;
|
|
2478
|
+
declare const listOrganizationDomains: (options?: RequestInit) => Promise<listOrganizationDomainsResponse>;
|
|
2479
|
+
declare const getListOrganizationDomainsKey: () => readonly ["https://api.workos.com/_widgets/admin-portal/organization-domains"];
|
|
2480
|
+
type ListOrganizationDomainsQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizationDomains>>>;
|
|
2481
|
+
type ListOrganizationDomainsQueryError = Promise<ListOrganizationDomains403 | ListOrganizationDomains404>;
|
|
2482
|
+
declare const useListOrganizationDomains: <TError = Promise<ListOrganizationDomains403 | ListOrganizationDomains404>>(options?: {
|
|
2483
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof listOrganizationDomains>>, TError> & {
|
|
2374
2484
|
swrKey?: Key;
|
|
2375
2485
|
enabled?: boolean;
|
|
2376
2486
|
};
|
|
2377
2487
|
fetch?: RequestInit;
|
|
2378
2488
|
}) => {
|
|
2379
|
-
data:
|
|
2489
|
+
data: listOrganizationDomainsResponse | undefined;
|
|
2380
2490
|
error: TError | undefined;
|
|
2381
|
-
mutate: swr.KeyedMutator<
|
|
2491
|
+
mutate: swr.KeyedMutator<listOrganizationDomainsResponse>;
|
|
2382
2492
|
isValidating: boolean;
|
|
2383
2493
|
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
2384
2494
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
2385
2495
|
};
|
|
2386
|
-
type
|
|
2387
|
-
data:
|
|
2496
|
+
type deleteOrganizationDomainResponse200 = {
|
|
2497
|
+
data: OrganizationDomain;
|
|
2388
2498
|
status: 200;
|
|
2389
2499
|
};
|
|
2390
|
-
type
|
|
2391
|
-
data:
|
|
2500
|
+
type deleteOrganizationDomainResponse403 = {
|
|
2501
|
+
data: DeleteOrganizationDomain403;
|
|
2392
2502
|
status: 403;
|
|
2393
2503
|
};
|
|
2394
|
-
type
|
|
2395
|
-
data:
|
|
2504
|
+
type deleteOrganizationDomainResponse404 = {
|
|
2505
|
+
data: DeleteOrganizationDomain404;
|
|
2396
2506
|
status: 404;
|
|
2397
2507
|
};
|
|
2398
|
-
type
|
|
2508
|
+
type deleteOrganizationDomainResponseSuccess = deleteOrganizationDomainResponse200 & {
|
|
2399
2509
|
headers: Headers;
|
|
2400
2510
|
};
|
|
2401
|
-
type
|
|
2511
|
+
type deleteOrganizationDomainResponseError = (deleteOrganizationDomainResponse403 | deleteOrganizationDomainResponse404) & {
|
|
2402
2512
|
headers: Headers;
|
|
2403
2513
|
};
|
|
2404
|
-
type
|
|
2405
|
-
declare const
|
|
2406
|
-
declare const
|
|
2407
|
-
declare const
|
|
2514
|
+
type deleteOrganizationDomainResponse = deleteOrganizationDomainResponseSuccess | deleteOrganizationDomainResponseError;
|
|
2515
|
+
declare const getDeleteOrganizationDomainUrl: (domainId: string) => string;
|
|
2516
|
+
declare const deleteOrganizationDomain: (domainId: string, options?: RequestInit) => Promise<deleteOrganizationDomainResponse>;
|
|
2517
|
+
declare const getDeleteOrganizationDomainMutationFetcher: (domainId: string, options?: RequestInit) => (_: Key, __: {
|
|
2408
2518
|
arg: Arguments;
|
|
2409
|
-
}) => Promise<
|
|
2410
|
-
declare const
|
|
2411
|
-
type
|
|
2412
|
-
type
|
|
2413
|
-
declare const
|
|
2414
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof
|
|
2519
|
+
}) => Promise<deleteOrganizationDomainResponse>;
|
|
2520
|
+
declare const getDeleteOrganizationDomainMutationKey: (domainId: string) => readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}`];
|
|
2521
|
+
type DeleteOrganizationDomainMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOrganizationDomain>>>;
|
|
2522
|
+
type DeleteOrganizationDomainMutationError = Promise<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>;
|
|
2523
|
+
declare const useDeleteOrganizationDomain: <TError = Promise<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>>(domainId: string, options?: {
|
|
2524
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteOrganizationDomain>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteOrganizationDomain>>> & {
|
|
2415
2525
|
swrKey?: string;
|
|
2416
2526
|
};
|
|
2417
2527
|
fetch?: RequestInit;
|
|
2418
2528
|
}) => {
|
|
2419
2529
|
isMutating: boolean;
|
|
2420
|
-
trigger: swr_mutation.TriggerWithOptionsArgs<
|
|
2530
|
+
trigger: swr_mutation.TriggerWithOptionsArgs<deleteOrganizationDomainResponse, TError, string | readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}`], Arguments>;
|
|
2421
2531
|
reset: () => void;
|
|
2422
2532
|
error: TError | undefined;
|
|
2423
|
-
data:
|
|
2424
|
-
swrKey: string | readonly [`https://api.workos.com/_widgets/
|
|
2533
|
+
data: deleteOrganizationDomainResponse | undefined;
|
|
2534
|
+
swrKey: string | readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}`];
|
|
2425
2535
|
};
|
|
2426
|
-
type
|
|
2427
|
-
data:
|
|
2536
|
+
type reverifyOrganizationDomainResponse200 = {
|
|
2537
|
+
data: OrganizationDomain;
|
|
2428
2538
|
status: 200;
|
|
2429
2539
|
};
|
|
2430
|
-
type
|
|
2431
|
-
data:
|
|
2540
|
+
type reverifyOrganizationDomainResponse403 = {
|
|
2541
|
+
data: ReverifyOrganizationDomain403;
|
|
2432
2542
|
status: 403;
|
|
2433
2543
|
};
|
|
2434
|
-
type
|
|
2544
|
+
type reverifyOrganizationDomainResponse404 = {
|
|
2545
|
+
data: ReverifyOrganizationDomain404;
|
|
2546
|
+
status: 404;
|
|
2547
|
+
};
|
|
2548
|
+
type reverifyOrganizationDomainResponseSuccess = reverifyOrganizationDomainResponse200 & {
|
|
2435
2549
|
headers: Headers;
|
|
2436
2550
|
};
|
|
2437
|
-
type
|
|
2551
|
+
type reverifyOrganizationDomainResponseError = (reverifyOrganizationDomainResponse403 | reverifyOrganizationDomainResponse404) & {
|
|
2438
2552
|
headers: Headers;
|
|
2439
2553
|
};
|
|
2440
|
-
type
|
|
2441
|
-
declare const
|
|
2442
|
-
declare const
|
|
2443
|
-
declare const
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
declare const
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2554
|
+
type reverifyOrganizationDomainResponse = reverifyOrganizationDomainResponseSuccess | reverifyOrganizationDomainResponseError;
|
|
2555
|
+
declare const getReverifyOrganizationDomainUrl: (domainId: string) => string;
|
|
2556
|
+
declare const reverifyOrganizationDomain: (domainId: string, options?: RequestInit) => Promise<reverifyOrganizationDomainResponse>;
|
|
2557
|
+
declare const getReverifyOrganizationDomainMutationFetcher: (domainId: string, options?: RequestInit) => (_: Key, __: {
|
|
2558
|
+
arg: Arguments;
|
|
2559
|
+
}) => Promise<reverifyOrganizationDomainResponse>;
|
|
2560
|
+
declare const getReverifyOrganizationDomainMutationKey: (domainId: string) => readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}/reverify`];
|
|
2561
|
+
type ReverifyOrganizationDomainMutationResult = NonNullable<Awaited<ReturnType<typeof reverifyOrganizationDomain>>>;
|
|
2562
|
+
type ReverifyOrganizationDomainMutationError = Promise<ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404>;
|
|
2563
|
+
declare const useReverifyOrganizationDomain: <TError = Promise<ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404>>(domainId: string, options?: {
|
|
2564
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof reverifyOrganizationDomain>>, TError, Key, Arguments, Awaited<ReturnType<typeof reverifyOrganizationDomain>>> & {
|
|
2565
|
+
swrKey?: string;
|
|
2450
2566
|
};
|
|
2451
2567
|
fetch?: RequestInit;
|
|
2452
2568
|
}) => {
|
|
2453
|
-
|
|
2569
|
+
isMutating: boolean;
|
|
2570
|
+
trigger: swr_mutation.TriggerWithOptionsArgs<reverifyOrganizationDomainResponse, TError, string | readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}/reverify`], Arguments>;
|
|
2571
|
+
reset: () => void;
|
|
2454
2572
|
error: TError | undefined;
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
2458
|
-
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
2573
|
+
data: reverifyOrganizationDomainResponse | undefined;
|
|
2574
|
+
swrKey: string | readonly [`https://api.workos.com/_widgets/admin-portal/organization-domains/${string}/reverify`];
|
|
2459
2575
|
};
|
|
2460
|
-
type
|
|
2461
|
-
data:
|
|
2576
|
+
type listSsoConnectionsResponse200 = {
|
|
2577
|
+
data: SsoConnection[];
|
|
2462
2578
|
status: 200;
|
|
2463
2579
|
};
|
|
2464
|
-
type
|
|
2465
|
-
data: GetDataIntegrationAuthorizeUrl400;
|
|
2466
|
-
status: 400;
|
|
2467
|
-
};
|
|
2468
|
-
type getDataIntegrationAuthorizeUrlResponse403 = {
|
|
2469
|
-
data: GetDataIntegrationAuthorizeUrl403;
|
|
2470
|
-
status: 403;
|
|
2471
|
-
};
|
|
2472
|
-
type getDataIntegrationAuthorizeUrlResponse404 = {
|
|
2473
|
-
data: GetDataIntegrationAuthorizeUrl404;
|
|
2474
|
-
status: 404;
|
|
2475
|
-
};
|
|
2476
|
-
type getDataIntegrationAuthorizeUrlResponseSuccess = getDataIntegrationAuthorizeUrlResponse200 & {
|
|
2477
|
-
headers: Headers;
|
|
2478
|
-
};
|
|
2479
|
-
type getDataIntegrationAuthorizeUrlResponseError = (getDataIntegrationAuthorizeUrlResponse400 | getDataIntegrationAuthorizeUrlResponse403 | getDataIntegrationAuthorizeUrlResponse404) & {
|
|
2580
|
+
type listSsoConnectionsResponseSuccess = listSsoConnectionsResponse200 & {
|
|
2480
2581
|
headers: Headers;
|
|
2481
2582
|
};
|
|
2482
|
-
type
|
|
2483
|
-
declare const
|
|
2484
|
-
declare const
|
|
2485
|
-
declare const
|
|
2486
|
-
type
|
|
2487
|
-
type
|
|
2488
|
-
declare const
|
|
2489
|
-
swr?: SWRConfiguration<Awaited<ReturnType<typeof
|
|
2583
|
+
type listSsoConnectionsResponse = listSsoConnectionsResponseSuccess;
|
|
2584
|
+
declare const getListSsoConnectionsUrl: () => string;
|
|
2585
|
+
declare const listSsoConnections: (options?: RequestInit) => Promise<listSsoConnectionsResponse>;
|
|
2586
|
+
declare const getListSsoConnectionsKey: () => readonly ["https://api.workos.com/_widgets/admin-portal/sso-connections"];
|
|
2587
|
+
type ListSsoConnectionsQueryResult = NonNullable<Awaited<ReturnType<typeof listSsoConnections>>>;
|
|
2588
|
+
type ListSsoConnectionsQueryError = Promise<unknown>;
|
|
2589
|
+
declare const useListSsoConnections: <TError = Promise<unknown>>(options?: {
|
|
2590
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof listSsoConnections>>, TError> & {
|
|
2490
2591
|
swrKey?: Key;
|
|
2491
2592
|
enabled?: boolean;
|
|
2492
2593
|
};
|
|
2493
2594
|
fetch?: RequestInit;
|
|
2494
2595
|
}) => {
|
|
2495
|
-
data:
|
|
2596
|
+
data: (listSsoConnectionsResponse200 & {
|
|
2597
|
+
headers: Headers;
|
|
2598
|
+
}) | undefined;
|
|
2496
2599
|
error: TError | undefined;
|
|
2497
|
-
mutate: swr.KeyedMutator<
|
|
2600
|
+
mutate: swr.KeyedMutator<listSsoConnectionsResponse200 & {
|
|
2601
|
+
headers: Headers;
|
|
2602
|
+
}>;
|
|
2498
2603
|
isValidating: boolean;
|
|
2499
2604
|
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
2500
2605
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
2501
2606
|
};
|
|
2502
|
-
type
|
|
2503
|
-
data:
|
|
2607
|
+
type listDirectoriesResponse200 = {
|
|
2608
|
+
data: DirectoriesResponse;
|
|
2504
2609
|
status: 200;
|
|
2505
2610
|
};
|
|
2506
|
-
type
|
|
2507
|
-
data:
|
|
2508
|
-
status: 400;
|
|
2509
|
-
};
|
|
2510
|
-
type getDataInstallationAuthorizationStatusResponse403 = {
|
|
2511
|
-
data: GetDataInstallationAuthorizationStatus403;
|
|
2611
|
+
type listDirectoriesResponse403 = {
|
|
2612
|
+
data: ListDirectories403;
|
|
2512
2613
|
status: 403;
|
|
2513
2614
|
};
|
|
2514
|
-
type
|
|
2515
|
-
data:
|
|
2615
|
+
type listDirectoriesResponse404 = {
|
|
2616
|
+
data: ListDirectories404;
|
|
2516
2617
|
status: 404;
|
|
2517
2618
|
};
|
|
2518
|
-
type
|
|
2619
|
+
type listDirectoriesResponseSuccess = listDirectoriesResponse200 & {
|
|
2519
2620
|
headers: Headers;
|
|
2520
2621
|
};
|
|
2521
|
-
type
|
|
2622
|
+
type listDirectoriesResponseError = (listDirectoriesResponse403 | listDirectoriesResponse404) & {
|
|
2522
2623
|
headers: Headers;
|
|
2523
2624
|
};
|
|
2524
|
-
type
|
|
2525
|
-
declare const
|
|
2526
|
-
declare const
|
|
2527
|
-
declare const
|
|
2528
|
-
type
|
|
2529
|
-
type
|
|
2530
|
-
declare const
|
|
2531
|
-
swr?: SWRConfiguration<Awaited<ReturnType<typeof
|
|
2625
|
+
type listDirectoriesResponse = listDirectoriesResponseSuccess | listDirectoriesResponseError;
|
|
2626
|
+
declare const getListDirectoriesUrl: () => string;
|
|
2627
|
+
declare const listDirectories: (options?: RequestInit) => Promise<listDirectoriesResponse>;
|
|
2628
|
+
declare const getListDirectoriesKey: () => readonly ["https://api.workos.com/_widgets/directory-sync/directories"];
|
|
2629
|
+
type ListDirectoriesQueryResult = NonNullable<Awaited<ReturnType<typeof listDirectories>>>;
|
|
2630
|
+
type ListDirectoriesQueryError = Promise<ListDirectories403 | ListDirectories404>;
|
|
2631
|
+
declare const useListDirectories: <TError = Promise<ListDirectories403 | ListDirectories404>>(options?: {
|
|
2632
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof listDirectories>>, TError> & {
|
|
2532
2633
|
swrKey?: Key;
|
|
2533
2634
|
enabled?: boolean;
|
|
2534
2635
|
};
|
|
2535
2636
|
fetch?: RequestInit;
|
|
2536
2637
|
}) => {
|
|
2537
|
-
data:
|
|
2638
|
+
data: listDirectoriesResponse | undefined;
|
|
2538
2639
|
error: TError | undefined;
|
|
2539
|
-
mutate: swr.KeyedMutator<
|
|
2640
|
+
mutate: swr.KeyedMutator<listDirectoriesResponse>;
|
|
2540
2641
|
isValidating: boolean;
|
|
2541
2642
|
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
2542
2643
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
2543
2644
|
};
|
|
2544
|
-
type
|
|
2545
|
-
data:
|
|
2645
|
+
type settingsResponse200 = {
|
|
2646
|
+
data: SettingsResponse;
|
|
2546
2647
|
status: 200;
|
|
2547
2648
|
};
|
|
2548
|
-
type
|
|
2549
|
-
data:
|
|
2649
|
+
type settingsResponse403 = {
|
|
2650
|
+
data: Settings403;
|
|
2550
2651
|
status: 403;
|
|
2551
2652
|
};
|
|
2552
|
-
type
|
|
2553
|
-
data: DeleteDataInstallation404;
|
|
2554
|
-
status: 404;
|
|
2555
|
-
};
|
|
2556
|
-
type deleteDataInstallationResponseSuccess = deleteDataInstallationResponse200 & {
|
|
2653
|
+
type settingsResponseSuccess = settingsResponse200 & {
|
|
2557
2654
|
headers: Headers;
|
|
2558
2655
|
};
|
|
2559
|
-
type
|
|
2656
|
+
type settingsResponseError = settingsResponse403 & {
|
|
2560
2657
|
headers: Headers;
|
|
2561
2658
|
};
|
|
2562
|
-
type
|
|
2563
|
-
declare const
|
|
2564
|
-
declare const
|
|
2565
|
-
declare const
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
declare const
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteDataInstallation>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteDataInstallation>>> & {
|
|
2573
|
-
swrKey?: string;
|
|
2659
|
+
type settingsResponse = settingsResponseSuccess | settingsResponseError;
|
|
2660
|
+
declare const getSettingsUrl: () => string;
|
|
2661
|
+
declare const settings: (options?: RequestInit) => Promise<settingsResponse>;
|
|
2662
|
+
declare const getSettingsKey: () => readonly ["https://api.workos.com/_widgets/settings"];
|
|
2663
|
+
type SettingsQueryResult = NonNullable<Awaited<ReturnType<typeof settings>>>;
|
|
2664
|
+
type SettingsQueryError = Promise<Settings403>;
|
|
2665
|
+
declare const useSettings: <TError = Promise<Settings403>>(options?: {
|
|
2666
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof settings>>, TError> & {
|
|
2667
|
+
swrKey?: Key;
|
|
2668
|
+
enabled?: boolean;
|
|
2574
2669
|
};
|
|
2575
2670
|
fetch?: RequestInit;
|
|
2576
2671
|
}) => {
|
|
2577
|
-
|
|
2578
|
-
trigger: swr_mutation.TriggerWithOptionsArgs<deleteDataInstallationResponse, TError, string | readonly [`https://api.workos.com/_widgets/DataIntegrations/installations/${string}`], Arguments>;
|
|
2579
|
-
reset: () => void;
|
|
2672
|
+
data: settingsResponse | undefined;
|
|
2580
2673
|
error: TError | undefined;
|
|
2581
|
-
|
|
2582
|
-
|
|
2674
|
+
mutate: swr.KeyedMutator<settingsResponse>;
|
|
2675
|
+
isValidating: boolean;
|
|
2676
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
2677
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
2583
2678
|
};
|
|
2584
2679
|
|
|
2585
|
-
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 CreateOrganizationApiKeyMutationError, type CreateOrganizationApiKeyMutationResult, type CreateOrganizationApiKeyRequest, type CreateOrganizationApiKeyResponse, type CreatePassword201, type CreatePassword400, type CreatePassword403, type CreatePasswordMutationError, type CreatePasswordMutationResult, type CreatePasswordRequest, type CreateTotpFactor400, type CreateTotpFactor403, type CreateTotpFactorMutationError, type CreateTotpFactorMutationResult, type CreateTotpFactorResponse, type CreateTotpFactorResponseAuthenticationChallenge, type CreateTotpFactorResponseAuthenticationChallengeAllOf, 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 InviteMemberBody, 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 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 UpdateMeBody, type UpdateMeMutationError, type UpdateMeMutationResult, type UpdateMember200, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMember422, type UpdateMemberBody, type UpdateMemberMutationError, type UpdateMemberMutationResult, type UpdatePassword201, type UpdatePassword400, type UpdatePassword403, type UpdatePasswordMutationError, type UpdatePasswordMutationResult, type UpdatePasswordRequest, type Verify400, type Verify403, type VerifyMutationError, type VerifyMutationResult, type VerifyPasskey200, type VerifyPasskey400, type VerifyPasskey403, type VerifyPasskeyMutationError, type VerifyPasskeyMutationResult, type VerifyPasskeyRequest, type VerifyPasskeyRequestResponse, type VerifyRequest, type VerifyResponse, type VerifyTotpFactor200, type VerifyTotpFactor400, type VerifyTotpFactor403, type VerifyTotpFactorMutationError, type VerifyTotpFactorMutationResult, type VerifyTotpFactorRequest, type X509CertificateJSON, authenticationInformation, type authenticationInformationResponse, type authenticationInformationResponse200, type authenticationInformationResponse403, type authenticationInformationResponseError, type authenticationInformationResponseSuccess, createOrganizationApiKey, type createOrganizationApiKeyResponse, type createOrganizationApiKeyResponse201, type createOrganizationApiKeyResponse400, type createOrganizationApiKeyResponse403, type createOrganizationApiKeyResponse404, type createOrganizationApiKeyResponse422, type createOrganizationApiKeyResponseError, type createOrganizationApiKeyResponseSuccess, createPassword, type createPasswordResponse, type createPasswordResponse201, type createPasswordResponse400, type createPasswordResponse403, type createPasswordResponseError, type createPasswordResponseSuccess, createTotpFactor, type createTotpFactorResponse, type createTotpFactorResponse201, type createTotpFactorResponse400, type createTotpFactorResponse403, type createTotpFactorResponseError, type createTotpFactorResponseSuccess, deleteDataInstallation, type deleteDataInstallationResponse, type deleteDataInstallationResponse200, type deleteDataInstallationResponse403, type deleteDataInstallationResponse404, type deleteDataInstallationResponseError, type deleteDataInstallationResponseSuccess, deleteOrganizationApiKey, type deleteOrganizationApiKeyResponse, type deleteOrganizationApiKeyResponse200, type deleteOrganizationApiKeyResponse403, type deleteOrganizationApiKeyResponse404, type deleteOrganizationApiKeyResponseError, type deleteOrganizationApiKeyResponseSuccess, deleteOrganizationDomain, type deleteOrganizationDomainResponse, type deleteOrganizationDomainResponse200, type deleteOrganizationDomainResponse403, type deleteOrganizationDomainResponse404, type deleteOrganizationDomainResponseError, type deleteOrganizationDomainResponseSuccess, deletePasskey, type deletePasskeyResponse, type deletePasskeyResponse200, type deletePasskeyResponse400, type deletePasskeyResponse403, type deletePasskeyResponseError, type deletePasskeyResponseSuccess, deleteTotpFactors, type deleteTotpFactorsResponse, type deleteTotpFactorsResponse200, type deleteTotpFactorsResponse400, type deleteTotpFactorsResponse403, type deleteTotpFactorsResponseError, type deleteTotpFactorsResponseSuccess, generateAdminPortalLink, type generateAdminPortalLinkResponse, type generateAdminPortalLinkResponse201, type generateAdminPortalLinkResponse403, type generateAdminPortalLinkResponse404, type generateAdminPortalLinkResponse500, type generateAdminPortalLinkResponseError, type generateAdminPortalLinkResponseSuccess, getAuthenticationInformationKey, getAuthenticationInformationUrl, getCreateOrganizationApiKeyMutationFetcher, getCreateOrganizationApiKeyMutationKey, getCreateOrganizationApiKeyUrl, getCreatePasswordMutationFetcher, getCreatePasswordMutationKey, getCreatePasswordUrl, getCreateTotpFactorMutationFetcher, getCreateTotpFactorMutationKey, getCreateTotpFactorUrl, getDataInstallationAuthorizationStatus, type getDataInstallationAuthorizationStatusResponse, type getDataInstallationAuthorizationStatusResponse200, type getDataInstallationAuthorizationStatusResponse400, type getDataInstallationAuthorizationStatusResponse403, type getDataInstallationAuthorizationStatusResponse404, type getDataInstallationAuthorizationStatusResponseError, type getDataInstallationAuthorizationStatusResponseSuccess, getDataIntegrationAuthorizeUrl, type getDataIntegrationAuthorizeUrlResponse, type getDataIntegrationAuthorizeUrlResponse200, type getDataIntegrationAuthorizeUrlResponse400, type getDataIntegrationAuthorizeUrlResponse403, type getDataIntegrationAuthorizeUrlResponse404, type getDataIntegrationAuthorizeUrlResponseError, type getDataIntegrationAuthorizeUrlResponseSuccess, getDeleteDataInstallationMutationFetcher, getDeleteDataInstallationMutationKey, getDeleteDataInstallationUrl, getDeleteOrganizationApiKeyMutationFetcher, getDeleteOrganizationApiKeyMutationKey, getDeleteOrganizationApiKeyUrl, getDeleteOrganizationDomainMutationFetcher, getDeleteOrganizationDomainMutationKey, getDeleteOrganizationDomainUrl, getDeletePasskeyMutationFetcher, getDeletePasskeyMutationKey, getDeletePasskeyUrl, getDeleteTotpFactorsMutationFetcher, getDeleteTotpFactorsMutationKey, getDeleteTotpFactorsUrl, getGenerateAdminPortalLinkMutationFetcher, getGenerateAdminPortalLinkMutationKey, getGenerateAdminPortalLinkUrl, getGetDataInstallationAuthorizationStatusKey, getGetDataInstallationAuthorizationStatusUrl, getGetDataIntegrationAuthorizeUrlKey, getGetDataIntegrationAuthorizeUrlUrl, getInviteMemberMutationFetcher, getInviteMemberMutationKey, getInviteMemberUrl, getListOrganizationApiKeyPermissionsKey, getListOrganizationApiKeyPermissionsUrl, getListOrganizationApiKeysKey, getListOrganizationApiKeysUrl, getListOrganizationDomainsKey, getListOrganizationDomainsUrl, getListSsoConnectionsKey, getListSsoConnectionsUrl, getMeKey, getMeUrl, getMembersKey, getMembersUrl, getMyDataIntegrationsKey, getMyDataIntegrationsUrl, getOrganizationsKey, getOrganizationsUrl, getRegisterPasskeyMutationFetcher, getRegisterPasskeyMutationKey, getRegisterPasskeyUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getResendInviteMutationFetcher, getResendInviteMutationKey, getResendInviteUrl, getReverifyOrganizationDomainMutationFetcher, getReverifyOrganizationDomainMutationKey, getReverifyOrganizationDomainUrl, getRevokeAllSessionsMutationFetcher, getRevokeAllSessionsMutationKey, getRevokeAllSessionsUrl, getRevokeInviteMutationFetcher, getRevokeInviteMutationKey, getRevokeInviteUrl, getRevokeSessionMutationFetcher, getRevokeSessionMutationKey, getRevokeSessionUrl, getRolesAndConfigKey, getRolesAndConfigUrl, getRolesKey, getRolesUrl, getSendVerificationMutationFetcher, getSendVerificationMutationKey, getSendVerificationUrl, getSessionsKey, getSessionsUrl, getSettingsKey, getSettingsUrl, getUpdateMeMutationFetcher, getUpdateMeMutationKey, getUpdateMeUrl, getUpdateMemberMutationFetcher, getUpdateMemberMutationKey, getUpdateMemberUrl, getUpdatePasswordMutationFetcher, getUpdatePasswordMutationKey, getUpdatePasswordUrl, getVerifyMutationFetcher, getVerifyMutationKey, getVerifyPasskeyMutationFetcher, getVerifyPasskeyMutationKey, getVerifyPasskeyUrl, getVerifyTotpFactorMutationFetcher, getVerifyTotpFactorMutationKey, getVerifyTotpFactorUrl, getVerifyUrl, inviteMember, type inviteMemberResponse, type inviteMemberResponse201, type inviteMemberResponse400, type inviteMemberResponse403, type inviteMemberResponse404, type inviteMemberResponseError, type inviteMemberResponseSuccess, listOrganizationApiKeyPermissions, type listOrganizationApiKeyPermissionsResponse, type listOrganizationApiKeyPermissionsResponse200, type listOrganizationApiKeyPermissionsResponse400, type listOrganizationApiKeyPermissionsResponse403, type listOrganizationApiKeyPermissionsResponseError, type listOrganizationApiKeyPermissionsResponseSuccess, listOrganizationApiKeys, type listOrganizationApiKeysResponse, type listOrganizationApiKeysResponse200, type listOrganizationApiKeysResponse400, type listOrganizationApiKeysResponse403, type listOrganizationApiKeysResponseError, type listOrganizationApiKeysResponseSuccess, listOrganizationDomains, type listOrganizationDomainsResponse, type listOrganizationDomainsResponse200, type listOrganizationDomainsResponse403, type listOrganizationDomainsResponse404, type listOrganizationDomainsResponseError, type listOrganizationDomainsResponseSuccess, listSsoConnections, type listSsoConnectionsResponse, type listSsoConnectionsResponse200, type listSsoConnectionsResponseSuccess, me, type meResponse, type meResponse200, type meResponse403, type meResponseError, type meResponseSuccess, members, type membersResponse, type membersResponse200, type membersResponse403, type membersResponse404, type membersResponseError, type membersResponseSuccess, myDataIntegrations, type myDataIntegrationsResponse, type myDataIntegrationsResponse200, type myDataIntegrationsResponse403, type myDataIntegrationsResponseError, type myDataIntegrationsResponseSuccess, organizations, type organizationsResponse, type organizationsResponse200, type organizationsResponse403, type organizationsResponse404, type organizationsResponseError, type organizationsResponseSuccess, registerPasskey, type registerPasskeyResponse, type registerPasskeyResponse201, type registerPasskeyResponse400, type registerPasskeyResponse403, type registerPasskeyResponseError, type registerPasskeyResponseSuccess, removeMember, type removeMemberResponse, type removeMemberResponse200, type removeMemberResponse400, type removeMemberResponse403, type removeMemberResponse404, type removeMemberResponseError, type removeMemberResponseSuccess, resendInvite, type resendInviteResponse, type resendInviteResponse201, type resendInviteResponse400, type resendInviteResponse403, type resendInviteResponse404, type resendInviteResponse422, type resendInviteResponseError, type resendInviteResponseSuccess, reverifyOrganizationDomain, type reverifyOrganizationDomainResponse, type reverifyOrganizationDomainResponse200, type reverifyOrganizationDomainResponse403, type reverifyOrganizationDomainResponse404, type reverifyOrganizationDomainResponseError, type reverifyOrganizationDomainResponseSuccess, revokeAllSessions, type revokeAllSessionsResponse, type revokeAllSessionsResponse200, type revokeAllSessionsResponse400, type revokeAllSessionsResponse403, type revokeAllSessionsResponseError, type revokeAllSessionsResponseSuccess, revokeInvite, type revokeInviteResponse, type revokeInviteResponse200, type revokeInviteResponse400, type revokeInviteResponse403, type revokeInviteResponse404, type revokeInviteResponseError, type revokeInviteResponseSuccess, revokeSession, type revokeSessionResponse, type revokeSessionResponse200, type revokeSessionResponse400, type revokeSessionResponse403, type revokeSessionResponseError, type revokeSessionResponseSuccess, roles, rolesAndConfig, type rolesAndConfigResponse, type rolesAndConfigResponse200, type rolesAndConfigResponse403, type rolesAndConfigResponse404, type rolesAndConfigResponseError, type rolesAndConfigResponseSuccess, type rolesResponse, type rolesResponse200, type rolesResponse403, type rolesResponse404, type rolesResponseError, type rolesResponseSuccess, sendVerification, type sendVerificationResponse, type sendVerificationResponse200, type sendVerificationResponse400, type sendVerificationResponse403, type sendVerificationResponseError, type sendVerificationResponseSuccess, sessions, type sessionsResponse, type sessionsResponse200, type sessionsResponse403, type sessionsResponseError, type sessionsResponseSuccess, settings, type settingsResponse, type settingsResponse200, type settingsResponse403, type settingsResponseError, type settingsResponseSuccess, updateMe, type updateMeResponse, type updateMeResponse200, type updateMeResponse400, type updateMeResponse403, type updateMeResponseError, type updateMeResponseSuccess, updateMember, type updateMemberResponse, type updateMemberResponse200, type updateMemberResponse400, type updateMemberResponse403, type updateMemberResponse404, type updateMemberResponse422, type updateMemberResponseError, type updateMemberResponseSuccess, updatePassword, type updatePasswordResponse, type updatePasswordResponse201, type updatePasswordResponse400, type updatePasswordResponse403, type updatePasswordResponseError, type updatePasswordResponseSuccess, useAuthenticationInformation, useCreateOrganizationApiKey, useCreatePassword, useCreateTotpFactor, useDeleteDataInstallation, useDeleteOrganizationApiKey, useDeleteOrganizationDomain, useDeletePasskey, useDeleteTotpFactors, useGenerateAdminPortalLink, useGetDataInstallationAuthorizationStatus, useGetDataIntegrationAuthorizeUrl, useInviteMember, useListOrganizationApiKeyPermissions, useListOrganizationApiKeys, useListOrganizationDomains, useListSsoConnections, useMe, useMembers, useMyDataIntegrations, useOrganizations, useRegisterPasskey, useRemoveMember, useResendInvite, useReverifyOrganizationDomain, useRevokeAllSessions, useRevokeInvite, useRevokeSession, useRoles, useRolesAndConfig, useSendVerification, useSessions, useSettings, useUpdateMe, useUpdateMember, useUpdatePassword, useVerify, useVerifyPasskey, useVerifyTotpFactor, verify, verifyPasskey, type verifyPasskeyResponse, type verifyPasskeyResponse200, type verifyPasskeyResponse400, type verifyPasskeyResponse403, type verifyPasskeyResponseError, type verifyPasskeyResponseSuccess, type verifyResponse, type verifyResponse200, type verifyResponse400, type verifyResponse403, type verifyResponseError, type verifyResponseSuccess, verifyTotpFactor, type verifyTotpFactorResponse, type verifyTotpFactorResponse200, type verifyTotpFactorResponse400, type verifyTotpFactorResponse403, type verifyTotpFactorResponseError, type verifyTotpFactorResponseSuccess };
|
|
2680
|
+
export { type ActiveSession, type ActiveSessionCurrentLocation, type ActiveSessionCurrentLocationOneOf, type ActiveSessionImpersonationReason, type ActiveSessionImpersonatorEmail, type ActiveSessionImpersonatorUserId, type ActiveSessionIpAddress, type ActiveSessionLastActivityAt, type ActiveSessionOrganizationId, type ActiveSessionState, type ActiveSessionStateExpiresAt, type ActiveSessionUserAgent, type ActiveSessionsResponse, type AuthenticationInformation403, type AuthenticationInformationQueryError, type AuthenticationInformationQueryResult, type AuthenticationInformationResponse, type AuthenticationInformationResponseData, type AuthenticationInformationResponseDataPasswordSettings, type AuthenticationInformationResponseDataVerificationMethods, type AuthenticationInformationResponseDataVerificationMethodsMfa, type AuthenticationInformationResponseDataVerificationMethodsMfaOneOf, type AuthenticationInformationResponseDataVerificationMethodsMfaOneOfLastUsed, AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider, type AuthenticationInformationResponseDataVerificationMethodsPasskey, type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOf, type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfLastUsed, type AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfPassKeysItem, AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider, type AuthenticationInformationResponseDataVerificationMethodsPassword, type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOf, type AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfLastUsed, AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider, type CreateOrganizationApiKey400, type CreateOrganizationApiKey403, type CreateOrganizationApiKey404, type CreateOrganizationApiKey422, type CreateOrganizationApiKey422ErrorsItem, type CreateOrganizationApiKeyMutationError, type CreateOrganizationApiKeyMutationResult, type CreateOrganizationApiKeyRequest, type CreateOrganizationApiKeyResponse, type CreatePassword201, type CreatePassword400, type CreatePassword403, type CreatePasswordMutationError, type CreatePasswordMutationResult, type CreatePasswordRequest, type CreateTotpFactor400, type CreateTotpFactor403, type CreateTotpFactorMutationError, type CreateTotpFactorMutationResult, type CreateTotpFactorResponse, type CreateTotpFactorResponseAuthenticationChallenge, type CreateTotpFactorResponseAuthenticationChallengeAllOf, type CreateTotpFactorResponseAuthenticationChallengeAllOfCode, type CreateTotpFactorResponseAuthenticationChallengeAllOfExpiresAt, type CreateTotpFactorResponseAuthenticationChallengeAllOfFive, CreateTotpFactorResponseAuthenticationChallengeAllOfObject, type CreateTotpFactorResponseAuthenticationFactor, type CreateTotpFactorResponseAuthenticationFactorAllOf, CreateTotpFactorResponseAuthenticationFactorAllOfObject, type CreateTotpFactorResponseAuthenticationFactorAllOfOnezero, type CreateTotpFactorResponseAuthenticationFactorAllOfSms, type CreateTotpFactorResponseAuthenticationFactorAllOfSmsOneOf, type CreateTotpFactorResponseAuthenticationFactorAllOfTotp, type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf, type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo, CreateTotpFactorResponseAuthenticationFactorAllOfType, type CreateTotpFactorResponseAuthenticationFactorAllOfUserId, type DataInstallation, type DataInstallationAllOf, DataInstallationAllOfObject, type DataInstallationAllOfOrganizationId, type DataInstallationAllOfSix, type DataInstallationAllOfSixOrganizationId, type DataInstallationAllOfSixUserlandUserId, DataInstallationAllOfState, type DataInstallationAllOfUserId, type DataIntegration, DataIntegrationCredentialsType, type DataIntegrationDescription, type DataIntegrationInstallation, DataIntegrationIntegrationType, DataIntegrationObject, DataIntegrationOwnership, type DataIntegrationScopes, type DataIntegrationsResponse, type DeleteDataInstallation200, type DeleteDataInstallation403, type DeleteDataInstallation404, type DeleteDataInstallationMutationError, type DeleteDataInstallationMutationResult, type DeleteOrganizationApiKey200, type DeleteOrganizationApiKey403, type DeleteOrganizationApiKey404, type DeleteOrganizationApiKeyMutationError, type DeleteOrganizationApiKeyMutationResult, type DeleteOrganizationDomain403, type DeleteOrganizationDomain404, type DeleteOrganizationDomainMutationError, type DeleteOrganizationDomainMutationResult, type DeletePasskey200, type DeletePasskey400, type DeletePasskey403, type DeletePasskeyMutationError, type DeletePasskeyMutationResult, type DeleteTotpFactors200, type DeleteTotpFactors400, type DeleteTotpFactors403, type DeleteTotpFactorsMutationError, type DeleteTotpFactorsMutationResult, type DirectoriesResponse, type Directory, type DirectoryMetadata, DirectoryState, DirectoryType, type DirectoryUsersMetadata, DomainVerificationNameServer, type GenerateAdminPortalLink201, type GenerateAdminPortalLink403, type GenerateAdminPortalLink404, type GenerateAdminPortalLink500, GenerateAdminPortalLinkIntent, type GenerateAdminPortalLinkMutationError, type GenerateAdminPortalLinkMutationResult, type GenerateAdminPortalLinkParams, type GetAuthorizationStatusResponse, type GetDataInstallationAuthorizationStatus400, type GetDataInstallationAuthorizationStatus403, type GetDataInstallationAuthorizationStatus404, type GetDataInstallationAuthorizationStatusQueryError, type GetDataInstallationAuthorizationStatusQueryResult, type GetDataIntegrationAuthorizeUrl400, type GetDataIntegrationAuthorizeUrl403, type GetDataIntegrationAuthorizeUrl404, type GetDataIntegrationAuthorizeUrlParams, type GetDataIntegrationAuthorizeUrlQueryError, type GetDataIntegrationAuthorizeUrlQueryResult, type GetDataIntegrationAuthorizeUrlResponse, type GetDataIntegrationAuthorizeUrlResponseAllOf, type GetDataIntegrationAuthorizeUrlResponseAllOfTwo, type InviteMember201, type InviteMember400, type InviteMember403, type InviteMember404, type InviteMemberBody, type InviteMemberBodyFirstName, type InviteMemberBodyLastName, type InviteMemberMutationError, type InviteMemberMutationResult, type ListDirectories403, type ListDirectories404, type ListDirectoriesQueryError, type ListDirectoriesQueryResult, type ListMetadata, type ListMetadataAfter, type ListMetadataBefore, type ListOrganizationApiKeyPermission, type ListOrganizationApiKeyPermissionDescription, type ListOrganizationApiKeyPermissions400, type ListOrganizationApiKeyPermissions403, type ListOrganizationApiKeyPermissionsParams, type ListOrganizationApiKeyPermissionsQueryError, type ListOrganizationApiKeyPermissionsQueryResult, type ListOrganizationApiKeyPermissionsResponse, type ListOrganizationApiKeyPermissionsResponseListMetadata, type ListOrganizationApiKeys400, type ListOrganizationApiKeys403, type ListOrganizationApiKeysParams, type ListOrganizationApiKeysQueryError, type ListOrganizationApiKeysQueryResult, type ListOrganizationApiKeysResponse, type ListOrganizationApiKeysResponseData, type ListOrganizationApiKeysResponseDataLastUsedAt, type ListOrganizationApiKeysResponseListMetadata, type ListOrganizationDomains200, type ListOrganizationDomains403, type ListOrganizationDomains404, type ListOrganizationDomainsQueryError, type ListOrganizationDomainsQueryResult, type ListSsoConnectionsQueryError, type ListSsoConnectionsQueryResult, type Me, type Me403, type MeFirstName, type MeLastName, type MeLocale, type MeOauthProfiles, type MeOauthProfilesOneOf, type MeProfilePictureUrl, type MeQueryError, type MeQueryResult, type Member, type MemberActions, MemberActionsItem, type MemberFirstName, type MemberIsLoggedInUser, type MemberLastActivityAt, type MemberLastName, type MemberProfilePictureUrl, type MemberRole, type MemberRoleDescription, type MemberRoles, type MemberRolesOneOfItem, type MemberRolesOneOfItemDescription, MemberStatus, type Members200, type Members403, type Members404, type MembersParams, type MembersQueryError, type MembersQueryResult, type MyDataIntegrations403, type MyDataIntegrationsQueryError, type MyDataIntegrationsQueryResult, type OAuthProfile, type OAuthProfileEmail, type OAuthProfileFirstName, type OAuthProfileLastLoginAt, type OAuthProfileLastName, type OAuthProfileProfilePictureUrl, OidcSessionState, type OrganizationDomain, OrganizationDomainState, type OrganizationDomainSubdomain, type OrganizationDomainVerificationPrefix, type OrganizationDomainVerificationToken, type OrganizationInfo, type OrganizationInfoFavicon, type Organizations403, type Organizations404, type OrganizationsQueryError, type OrganizationsQueryResult, type OrganizationsResponse, type RegisterPasskey400, type RegisterPasskey403, type RegisterPasskeyMutationError, type RegisterPasskeyMutationResult, type RegisterPasskeyResponse, type RegisterPasskeyResponseOptions, type RemoveMember200, type RemoveMember400, type RemoveMember403, type RemoveMember404, type RemoveMemberMutationError, type RemoveMemberMutationResult, type ResendInvite201, type ResendInvite201Id, type ResendInvite400, type ResendInvite403, type ResendInvite404, type ResendInvite422, type ResendInviteMutationError, type ResendInviteMutationResult, type ReverifyOrganizationDomain403, type ReverifyOrganizationDomain404, type ReverifyOrganizationDomainMutationError, type ReverifyOrganizationDomainMutationResult, type RevokeAllSessions200, type RevokeAllSessions400, type RevokeAllSessions403, type RevokeAllSessionsMutationError, type RevokeAllSessionsMutationResult, type RevokeAllSessionsRequest, type RevokeInvite200, type RevokeInvite400, type RevokeInvite403, type RevokeInvite404, type RevokeInviteMutationError, type RevokeInviteMutationResult, type RevokeSession200, type RevokeSession400, type RevokeSession403, type RevokeSessionMutationError, type RevokeSessionMutationResult, type Roles403, type Roles404, type RolesAndConfig403, type RolesAndConfig404, type RolesAndConfigQueryError, type RolesAndConfigQueryResult, type RolesAndConfigResponse, type RolesQueryError, type RolesQueryResult, SamlSessionState, type SendVerification400, type SendVerification403, type SendVerificationMutationError, type SendVerificationMutationResult, type SendVerificationResponse, SendVerificationResponseType, type Sessions403, type SessionsQueryError, type SessionsQueryResult, type Settings403, type SettingsQueryError, type SettingsQueryResult, type SettingsResponse, type SettingsResponseLogoDarkIconPath, type SettingsResponseLogoDarkPath, type SettingsResponseLogoLightIconPath, type SettingsResponseLogoLightPath, SettingsResponseObject, type SsoConnection, type SsoConnectionAnyOf, type SsoConnectionAnyOfEight, type SsoConnectionAnyOfEightAllOf, type SsoConnectionAnyOfEightAllOfLastSession, SsoConnectionAnyOfEightAllOfProviderTag, type SsoConnectionAnyOfEightAllOfSix, SsoConnectionAnyOfEightAllOfState, SsoConnectionAnyOfEightAllOfType, type SsoConnectionAnyOfLastSession, type SsoConnectionAnyOfLatestExpiredCertificate, type SsoConnectionAnyOfLatestExpiringCertificate, SsoConnectionAnyOfProviderTag, SsoConnectionAnyOfState, SsoConnectionAnyOfType, type SsoConnectionSessionJSON, SsoConnectionSessionJSONState, type UpdateMe400, type UpdateMe403, type UpdateMeBody, type UpdateMeMutationError, type UpdateMeMutationResult, type UpdateMember200, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMember422, type UpdateMemberBody, type UpdateMemberMutationError, type UpdateMemberMutationResult, type UpdatePassword201, type UpdatePassword400, type UpdatePassword403, type UpdatePasswordMutationError, type UpdatePasswordMutationResult, type UpdatePasswordRequest, type Verify400, type Verify403, type VerifyMutationError, type VerifyMutationResult, type VerifyPasskey200, type VerifyPasskey400, type VerifyPasskey403, type VerifyPasskeyMutationError, type VerifyPasskeyMutationResult, type VerifyPasskeyRequest, type VerifyPasskeyRequestResponse, type VerifyRequest, type VerifyResponse, type VerifyTotpFactor200, type VerifyTotpFactor400, type VerifyTotpFactor403, type VerifyTotpFactorMutationError, type VerifyTotpFactorMutationResult, type VerifyTotpFactorRequest, type X509CertificateJSON, type X509CertificateJSONLastExpiryEventSentAt, type X509CertificateJSONNotAfter, type X509CertificateJSONNotBefore, authenticationInformation, type authenticationInformationResponse, type authenticationInformationResponse200, type authenticationInformationResponse403, type authenticationInformationResponseError, type authenticationInformationResponseSuccess, createOrganizationApiKey, type createOrganizationApiKeyResponse, type createOrganizationApiKeyResponse201, type createOrganizationApiKeyResponse400, type createOrganizationApiKeyResponse403, type createOrganizationApiKeyResponse404, type createOrganizationApiKeyResponse422, type createOrganizationApiKeyResponseError, type createOrganizationApiKeyResponseSuccess, createPassword, type createPasswordResponse, type createPasswordResponse201, type createPasswordResponse400, type createPasswordResponse403, type createPasswordResponseError, type createPasswordResponseSuccess, createTotpFactor, type createTotpFactorResponse, type createTotpFactorResponse201, type createTotpFactorResponse400, type createTotpFactorResponse403, type createTotpFactorResponseError, type createTotpFactorResponseSuccess, deleteDataInstallation, type deleteDataInstallationResponse, type deleteDataInstallationResponse200, type deleteDataInstallationResponse403, type deleteDataInstallationResponse404, type deleteDataInstallationResponseError, type deleteDataInstallationResponseSuccess, deleteOrganizationApiKey, type deleteOrganizationApiKeyResponse, type deleteOrganizationApiKeyResponse200, type deleteOrganizationApiKeyResponse403, type deleteOrganizationApiKeyResponse404, type deleteOrganizationApiKeyResponseError, type deleteOrganizationApiKeyResponseSuccess, deleteOrganizationDomain, type deleteOrganizationDomainResponse, type deleteOrganizationDomainResponse200, type deleteOrganizationDomainResponse403, type deleteOrganizationDomainResponse404, type deleteOrganizationDomainResponseError, type deleteOrganizationDomainResponseSuccess, deletePasskey, type deletePasskeyResponse, type deletePasskeyResponse200, type deletePasskeyResponse400, type deletePasskeyResponse403, type deletePasskeyResponseError, type deletePasskeyResponseSuccess, deleteTotpFactors, type deleteTotpFactorsResponse, type deleteTotpFactorsResponse200, type deleteTotpFactorsResponse400, type deleteTotpFactorsResponse403, type deleteTotpFactorsResponseError, type deleteTotpFactorsResponseSuccess, generateAdminPortalLink, type generateAdminPortalLinkResponse, type generateAdminPortalLinkResponse201, type generateAdminPortalLinkResponse403, type generateAdminPortalLinkResponse404, type generateAdminPortalLinkResponse500, type generateAdminPortalLinkResponseError, type generateAdminPortalLinkResponseSuccess, getAuthenticationInformationKey, getAuthenticationInformationUrl, getCreateOrganizationApiKeyMutationFetcher, getCreateOrganizationApiKeyMutationKey, getCreateOrganizationApiKeyUrl, getCreatePasswordMutationFetcher, getCreatePasswordMutationKey, getCreatePasswordUrl, getCreateTotpFactorMutationFetcher, getCreateTotpFactorMutationKey, getCreateTotpFactorUrl, getDataInstallationAuthorizationStatus, type getDataInstallationAuthorizationStatusResponse, type getDataInstallationAuthorizationStatusResponse200, type getDataInstallationAuthorizationStatusResponse400, type getDataInstallationAuthorizationStatusResponse403, type getDataInstallationAuthorizationStatusResponse404, type getDataInstallationAuthorizationStatusResponseError, type getDataInstallationAuthorizationStatusResponseSuccess, getDataIntegrationAuthorizeUrl, type getDataIntegrationAuthorizeUrlResponse, type getDataIntegrationAuthorizeUrlResponse200, type getDataIntegrationAuthorizeUrlResponse400, type getDataIntegrationAuthorizeUrlResponse403, type getDataIntegrationAuthorizeUrlResponse404, type getDataIntegrationAuthorizeUrlResponseError, type getDataIntegrationAuthorizeUrlResponseSuccess, getDeleteDataInstallationMutationFetcher, getDeleteDataInstallationMutationKey, getDeleteDataInstallationUrl, getDeleteOrganizationApiKeyMutationFetcher, getDeleteOrganizationApiKeyMutationKey, getDeleteOrganizationApiKeyUrl, getDeleteOrganizationDomainMutationFetcher, getDeleteOrganizationDomainMutationKey, getDeleteOrganizationDomainUrl, getDeletePasskeyMutationFetcher, getDeletePasskeyMutationKey, getDeletePasskeyUrl, getDeleteTotpFactorsMutationFetcher, getDeleteTotpFactorsMutationKey, getDeleteTotpFactorsUrl, getGenerateAdminPortalLinkMutationFetcher, getGenerateAdminPortalLinkMutationKey, getGenerateAdminPortalLinkUrl, getGetDataInstallationAuthorizationStatusKey, getGetDataInstallationAuthorizationStatusUrl, getGetDataIntegrationAuthorizeUrlKey, getGetDataIntegrationAuthorizeUrlUrl, getInviteMemberMutationFetcher, getInviteMemberMutationKey, getInviteMemberUrl, getListDirectoriesKey, getListDirectoriesUrl, getListOrganizationApiKeyPermissionsKey, getListOrganizationApiKeyPermissionsUrl, getListOrganizationApiKeysKey, getListOrganizationApiKeysUrl, getListOrganizationDomainsKey, getListOrganizationDomainsUrl, getListSsoConnectionsKey, getListSsoConnectionsUrl, getMeKey, getMeUrl, getMembersKey, getMembersUrl, getMyDataIntegrationsKey, getMyDataIntegrationsUrl, getOrganizationsKey, getOrganizationsUrl, getRegisterPasskeyMutationFetcher, getRegisterPasskeyMutationKey, getRegisterPasskeyUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getResendInviteMutationFetcher, getResendInviteMutationKey, getResendInviteUrl, getReverifyOrganizationDomainMutationFetcher, getReverifyOrganizationDomainMutationKey, getReverifyOrganizationDomainUrl, getRevokeAllSessionsMutationFetcher, getRevokeAllSessionsMutationKey, getRevokeAllSessionsUrl, getRevokeInviteMutationFetcher, getRevokeInviteMutationKey, getRevokeInviteUrl, getRevokeSessionMutationFetcher, getRevokeSessionMutationKey, getRevokeSessionUrl, getRolesAndConfigKey, getRolesAndConfigUrl, getRolesKey, getRolesUrl, getSendVerificationMutationFetcher, getSendVerificationMutationKey, getSendVerificationUrl, getSessionsKey, getSessionsUrl, getSettingsKey, getSettingsUrl, getUpdateMeMutationFetcher, getUpdateMeMutationKey, getUpdateMeUrl, getUpdateMemberMutationFetcher, getUpdateMemberMutationKey, getUpdateMemberUrl, getUpdatePasswordMutationFetcher, getUpdatePasswordMutationKey, getUpdatePasswordUrl, getVerifyMutationFetcher, getVerifyMutationKey, getVerifyPasskeyMutationFetcher, getVerifyPasskeyMutationKey, getVerifyPasskeyUrl, getVerifyTotpFactorMutationFetcher, getVerifyTotpFactorMutationKey, getVerifyTotpFactorUrl, getVerifyUrl, inviteMember, type inviteMemberResponse, type inviteMemberResponse201, type inviteMemberResponse400, type inviteMemberResponse403, type inviteMemberResponse404, type inviteMemberResponseError, type inviteMemberResponseSuccess, listDirectories, type listDirectoriesResponse, type listDirectoriesResponse200, type listDirectoriesResponse403, type listDirectoriesResponse404, type listDirectoriesResponseError, type listDirectoriesResponseSuccess, listOrganizationApiKeyPermissions, type listOrganizationApiKeyPermissionsResponse, type listOrganizationApiKeyPermissionsResponse200, type listOrganizationApiKeyPermissionsResponse400, type listOrganizationApiKeyPermissionsResponse403, type listOrganizationApiKeyPermissionsResponseError, type listOrganizationApiKeyPermissionsResponseSuccess, listOrganizationApiKeys, type listOrganizationApiKeysResponse, type listOrganizationApiKeysResponse200, type listOrganizationApiKeysResponse400, type listOrganizationApiKeysResponse403, type listOrganizationApiKeysResponseError, type listOrganizationApiKeysResponseSuccess, listOrganizationDomains, type listOrganizationDomainsResponse, type listOrganizationDomainsResponse200, type listOrganizationDomainsResponse403, type listOrganizationDomainsResponse404, type listOrganizationDomainsResponseError, type listOrganizationDomainsResponseSuccess, listSsoConnections, type listSsoConnectionsResponse, type listSsoConnectionsResponse200, type listSsoConnectionsResponseSuccess, me, type meResponse, type meResponse200, type meResponse403, type meResponseError, type meResponseSuccess, members, type membersResponse, type membersResponse200, type membersResponse403, type membersResponse404, type membersResponseError, type membersResponseSuccess, myDataIntegrations, type myDataIntegrationsResponse, type myDataIntegrationsResponse200, type myDataIntegrationsResponse403, type myDataIntegrationsResponseError, type myDataIntegrationsResponseSuccess, organizations, type organizationsResponse, type organizationsResponse200, type organizationsResponse403, type organizationsResponse404, type organizationsResponseError, type organizationsResponseSuccess, registerPasskey, type registerPasskeyResponse, type registerPasskeyResponse201, type registerPasskeyResponse400, type registerPasskeyResponse403, type registerPasskeyResponseError, type registerPasskeyResponseSuccess, removeMember, type removeMemberResponse, type removeMemberResponse200, type removeMemberResponse400, type removeMemberResponse403, type removeMemberResponse404, type removeMemberResponseError, type removeMemberResponseSuccess, resendInvite, type resendInviteResponse, type resendInviteResponse201, type resendInviteResponse400, type resendInviteResponse403, type resendInviteResponse404, type resendInviteResponse422, type resendInviteResponseError, type resendInviteResponseSuccess, reverifyOrganizationDomain, type reverifyOrganizationDomainResponse, type reverifyOrganizationDomainResponse200, type reverifyOrganizationDomainResponse403, type reverifyOrganizationDomainResponse404, type reverifyOrganizationDomainResponseError, type reverifyOrganizationDomainResponseSuccess, revokeAllSessions, type revokeAllSessionsResponse, type revokeAllSessionsResponse200, type revokeAllSessionsResponse400, type revokeAllSessionsResponse403, type revokeAllSessionsResponseError, type revokeAllSessionsResponseSuccess, revokeInvite, type revokeInviteResponse, type revokeInviteResponse200, type revokeInviteResponse400, type revokeInviteResponse403, type revokeInviteResponse404, type revokeInviteResponseError, type revokeInviteResponseSuccess, revokeSession, type revokeSessionResponse, type revokeSessionResponse200, type revokeSessionResponse400, type revokeSessionResponse403, type revokeSessionResponseError, type revokeSessionResponseSuccess, roles, rolesAndConfig, type rolesAndConfigResponse, type rolesAndConfigResponse200, type rolesAndConfigResponse403, type rolesAndConfigResponse404, type rolesAndConfigResponseError, type rolesAndConfigResponseSuccess, type rolesResponse, type rolesResponse200, type rolesResponse403, type rolesResponse404, type rolesResponseError, type rolesResponseSuccess, sendVerification, type sendVerificationResponse, type sendVerificationResponse200, type sendVerificationResponse400, type sendVerificationResponse403, type sendVerificationResponseError, type sendVerificationResponseSuccess, sessions, type sessionsResponse, type sessionsResponse200, type sessionsResponse403, type sessionsResponseError, type sessionsResponseSuccess, settings, type settingsResponse, type settingsResponse200, type settingsResponse403, type settingsResponseError, type settingsResponseSuccess, updateMe, type updateMeResponse, type updateMeResponse200, type updateMeResponse400, type updateMeResponse403, type updateMeResponseError, type updateMeResponseSuccess, updateMember, type updateMemberResponse, type updateMemberResponse200, type updateMemberResponse400, type updateMemberResponse403, type updateMemberResponse404, type updateMemberResponse422, type updateMemberResponseError, type updateMemberResponseSuccess, updatePassword, type updatePasswordResponse, type updatePasswordResponse201, type updatePasswordResponse400, type updatePasswordResponse403, type updatePasswordResponseError, type updatePasswordResponseSuccess, useAuthenticationInformation, useCreateOrganizationApiKey, useCreatePassword, useCreateTotpFactor, useDeleteDataInstallation, useDeleteOrganizationApiKey, useDeleteOrganizationDomain, useDeletePasskey, useDeleteTotpFactors, useGenerateAdminPortalLink, useGetDataInstallationAuthorizationStatus, useGetDataIntegrationAuthorizeUrl, useInviteMember, useListDirectories, useListOrganizationApiKeyPermissions, useListOrganizationApiKeys, useListOrganizationDomains, useListSsoConnections, useMe, useMembers, useMyDataIntegrations, useOrganizations, useRegisterPasskey, useRemoveMember, useResendInvite, useReverifyOrganizationDomain, useRevokeAllSessions, useRevokeInvite, useRevokeSession, useRoles, useRolesAndConfig, useSendVerification, useSessions, useSettings, useUpdateMe, useUpdateMember, useUpdatePassword, useVerify, useVerifyPasskey, useVerifyTotpFactor, verify, verifyPasskey, type verifyPasskeyResponse, type verifyPasskeyResponse200, type verifyPasskeyResponse400, type verifyPasskeyResponse403, type verifyPasskeyResponseError, type verifyPasskeyResponseSuccess, type verifyResponse, type verifyResponse200, type verifyResponse400, type verifyResponse403, type verifyResponseError, type verifyResponseSuccess, verifyTotpFactor, type verifyTotpFactorResponse, type verifyTotpFactorResponse200, type verifyTotpFactorResponse400, type verifyTotpFactorResponse403, type verifyTotpFactorResponseError, type verifyTotpFactorResponseSuccess };
|