@workos-inc/widgets 1.9.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/admin-portal-domain-verification.client.cjs.map +1 -1
- package/dist/cjs/admin-portal-sso-connection.client.cjs +4 -7
- package/dist/cjs/admin-portal-sso-connection.client.cjs.map +1 -1
- package/dist/cjs/api/endpoint.cjs +176 -285
- package/dist/cjs/api/endpoint.cjs.map +1 -1
- package/dist/cjs/api/endpoint.d.cts +345 -379
- package/dist/cjs/directory-sync.client.cjs +16 -3
- package/dist/cjs/directory-sync.client.cjs.map +1 -1
- package/dist/cjs/experimental/api/fetch.cjs +42 -183
- package/dist/cjs/experimental/api/fetch.cjs.map +1 -1
- package/dist/cjs/experimental/api/fetch.d.cts +325 -369
- package/dist/cjs/experimental/api/react-query.cjs +151 -263
- package/dist/cjs/experimental/api/react-query.cjs.map +1 -1
- package/dist/cjs/experimental/api/react-query.d.cts +380 -370
- package/dist/cjs/experimental/api/swr.cjs +84 -183
- package/dist/cjs/experimental/api/swr.cjs.map +1 -1
- package/dist/cjs/experimental/api/swr.d.cts +356 -408
- package/dist/cjs/lib/add-mfa-dialog.cjs +18 -16
- package/dist/cjs/lib/add-mfa-dialog.cjs.map +1 -1
- package/dist/cjs/lib/admin-portal-sso-connection.cjs +0 -8
- package/dist/cjs/lib/admin-portal-sso-connection.cjs.map +1 -1
- package/dist/cjs/lib/admin-portal-sso-connection.d.cts +1 -2
- package/dist/cjs/lib/identity-providers.d.cts +2 -2
- package/dist/cjs/lib/provider-icon.cjs.map +1 -1
- package/dist/cjs/lib/provider-icon.d.cts +2 -2
- package/dist/cjs/workos-widgets.client.cjs +13 -1
- package/dist/cjs/workos-widgets.client.cjs.map +1 -1
- package/dist/esm/admin-portal-domain-verification.client.js +2 -2
- package/dist/esm/admin-portal-domain-verification.client.js.map +1 -1
- package/dist/esm/admin-portal-sso-connection.client.js +6 -9
- package/dist/esm/admin-portal-sso-connection.client.js.map +1 -1
- package/dist/esm/api/endpoint.d.ts +345 -379
- package/dist/esm/api/endpoint.js +168 -265
- package/dist/esm/api/endpoint.js.map +1 -1
- package/dist/esm/directory-sync.client.js +16 -3
- package/dist/esm/directory-sync.client.js.map +1 -1
- package/dist/esm/experimental/api/fetch.d.ts +325 -369
- package/dist/esm/experimental/api/fetch.js +38 -163
- package/dist/esm/experimental/api/fetch.js.map +1 -1
- package/dist/esm/experimental/api/react-query.d.ts +380 -370
- package/dist/esm/experimental/api/react-query.js +141 -243
- package/dist/esm/experimental/api/react-query.js.map +1 -1
- package/dist/esm/experimental/api/swr.d.ts +356 -408
- package/dist/esm/experimental/api/swr.js +76 -163
- package/dist/esm/experimental/api/swr.js.map +1 -1
- package/dist/esm/lib/add-mfa-dialog.js +18 -16
- package/dist/esm/lib/add-mfa-dialog.js.map +1 -1
- package/dist/esm/lib/admin-portal-sso-connection.d.ts +1 -2
- package/dist/esm/lib/admin-portal-sso-connection.js +0 -8
- package/dist/esm/lib/admin-portal-sso-connection.js.map +1 -1
- package/dist/esm/lib/identity-providers.d.ts +2 -2
- package/dist/esm/lib/provider-icon.d.ts +2 -2
- package/dist/esm/lib/provider-icon.js.map +1 -1
- package/dist/esm/workos-widgets.client.js +13 -1
- package/dist/esm/workos-widgets.client.js.map +1 -1
- package/package.json +4 -4
package/dist/esm/api/endpoint.js
CHANGED
|
@@ -15,33 +15,6 @@ const MemberActionsItem = {
|
|
|
15
15
|
"revoke-invite": "revoke-invite",
|
|
16
16
|
"revoke-membership": "revoke-membership"
|
|
17
17
|
};
|
|
18
|
-
const CreateTotpFactorResponseAuthenticationFactorAllOfObject = {
|
|
19
|
-
authentication_factor: "authentication_factor"
|
|
20
|
-
};
|
|
21
|
-
const CreateTotpFactorResponseAuthenticationFactorAllOfType = {
|
|
22
|
-
generic_otp: "generic_otp",
|
|
23
|
-
sms: "sms",
|
|
24
|
-
totp: "totp",
|
|
25
|
-
webauthn: "webauthn"
|
|
26
|
-
};
|
|
27
|
-
const CreateTotpFactorResponseAuthenticationChallengeAllOfObject = {
|
|
28
|
-
authentication_challenge: "authentication_challenge"
|
|
29
|
-
};
|
|
30
|
-
const AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider = {
|
|
31
|
-
MFA: "MFA"
|
|
32
|
-
};
|
|
33
|
-
const AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider = {
|
|
34
|
-
Password: "Password"
|
|
35
|
-
};
|
|
36
|
-
const AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider = {
|
|
37
|
-
Passkey: "Passkey"
|
|
38
|
-
};
|
|
39
|
-
const SendVerificationResponseType = {
|
|
40
|
-
EmailVerification: "EmailVerification"
|
|
41
|
-
};
|
|
42
|
-
const SettingsResponseObject = {
|
|
43
|
-
settings: "settings"
|
|
44
|
-
};
|
|
45
18
|
const OrganizationDomainState = {
|
|
46
19
|
Failed: "Failed",
|
|
47
20
|
LegacyVerified: "LegacyVerified",
|
|
@@ -74,121 +47,6 @@ const SsoConnectionSessionJSONState = {
|
|
|
74
47
|
...SamlSessionState,
|
|
75
48
|
...OidcSessionState
|
|
76
49
|
};
|
|
77
|
-
const SsoConnectionAnyOfType = {
|
|
78
|
-
AdfsSaml: "AdfsSaml",
|
|
79
|
-
Auth0Saml: "Auth0Saml",
|
|
80
|
-
AzureSaml: "AzureSaml",
|
|
81
|
-
CasSaml: "CasSaml",
|
|
82
|
-
ClassLinkSaml: "ClassLinkSaml",
|
|
83
|
-
CloudflareSaml: "CloudflareSaml",
|
|
84
|
-
CyberArkSaml: "CyberArkSaml",
|
|
85
|
-
DuoSaml: "DuoSaml",
|
|
86
|
-
GenericSaml: "GenericSaml",
|
|
87
|
-
GoogleSaml: "GoogleSaml",
|
|
88
|
-
JumpCloudSaml: "JumpCloudSaml",
|
|
89
|
-
KeycloakSaml: "KeycloakSaml",
|
|
90
|
-
LastPassSaml: "LastPassSaml",
|
|
91
|
-
MiniOrangeSaml: "MiniOrangeSaml",
|
|
92
|
-
NetIqSaml: "NetIqSaml",
|
|
93
|
-
OktaSaml: "OktaSaml",
|
|
94
|
-
OneLoginSaml: "OneLoginSaml",
|
|
95
|
-
OracleSaml: "OracleSaml",
|
|
96
|
-
PingFederateSaml: "PingFederateSaml",
|
|
97
|
-
PingOneSaml: "PingOneSaml",
|
|
98
|
-
RipplingSaml: "RipplingSaml",
|
|
99
|
-
SalesforceSaml: "SalesforceSaml",
|
|
100
|
-
ShibbolethGenericSaml: "ShibbolethGenericSaml",
|
|
101
|
-
ShibbolethSaml: "ShibbolethSaml",
|
|
102
|
-
SimpleSamlPhpSaml: "SimpleSamlPhpSaml",
|
|
103
|
-
TestIdp: "TestIdp",
|
|
104
|
-
VmWareSaml: "VmWareSaml"
|
|
105
|
-
};
|
|
106
|
-
const SsoConnectionAnyOfState = {
|
|
107
|
-
Inactive: "Inactive",
|
|
108
|
-
Validating: "Validating",
|
|
109
|
-
Active: "Active",
|
|
110
|
-
Deleting: "Deleting"
|
|
111
|
-
};
|
|
112
|
-
const SsoConnectionAnyOfProviderTag = {
|
|
113
|
-
Saml: "Saml"
|
|
114
|
-
};
|
|
115
|
-
const SsoConnectionAnyOfEightAllOfState = {
|
|
116
|
-
Inactive: "Inactive",
|
|
117
|
-
Validating: "Validating",
|
|
118
|
-
Active: "Active",
|
|
119
|
-
Deleting: "Deleting"
|
|
120
|
-
};
|
|
121
|
-
const SsoConnectionAnyOfEightAllOfType = {
|
|
122
|
-
AdpOidc: "AdpOidc",
|
|
123
|
-
Auth0Migration: "Auth0Migration",
|
|
124
|
-
CleverOidc: "CleverOidc",
|
|
125
|
-
EntraIdOidc: "EntraIdOidc",
|
|
126
|
-
GenericOidc: "GenericOidc",
|
|
127
|
-
GoogleOidc: "GoogleOidc",
|
|
128
|
-
OktaOidc: "OktaOidc",
|
|
129
|
-
LoginGovOidc: "LoginGovOidc"
|
|
130
|
-
};
|
|
131
|
-
const SsoConnectionAnyOfEightAllOfProviderTag = {
|
|
132
|
-
OpenIdConnect: "OpenIdConnect"
|
|
133
|
-
};
|
|
134
|
-
const DataInstallationAllOfObject = {
|
|
135
|
-
data_installation: "data_installation",
|
|
136
|
-
connected_account: "connected_account"
|
|
137
|
-
};
|
|
138
|
-
const DataInstallationAllOfState = {
|
|
139
|
-
connected: "connected",
|
|
140
|
-
needs_reauthorization: "needs_reauthorization"
|
|
141
|
-
};
|
|
142
|
-
const DataIntegrationObject = {
|
|
143
|
-
data_integration: "data_integration"
|
|
144
|
-
};
|
|
145
|
-
const DataIntegrationIntegrationType = {
|
|
146
|
-
asana: "asana",
|
|
147
|
-
box: "box",
|
|
148
|
-
"cal-dot-com": "cal-dot-com",
|
|
149
|
-
calendly: "calendly",
|
|
150
|
-
confluence: "confluence",
|
|
151
|
-
dropbox: "dropbox",
|
|
152
|
-
"frame-io": "frame-io",
|
|
153
|
-
front: "front",
|
|
154
|
-
github: "github",
|
|
155
|
-
gitlab: "gitlab",
|
|
156
|
-
gmail: "gmail",
|
|
157
|
-
google: "google",
|
|
158
|
-
"google-calendar": "google-calendar",
|
|
159
|
-
"google-drive": "google-drive",
|
|
160
|
-
helpscout: "helpscout",
|
|
161
|
-
hubspot: "hubspot",
|
|
162
|
-
intercom: "intercom",
|
|
163
|
-
jira: "jira",
|
|
164
|
-
linear: "linear",
|
|
165
|
-
microsoft: "microsoft",
|
|
166
|
-
"microsoft-onedrive": "microsoft-onedrive",
|
|
167
|
-
"microsoft-onenote": "microsoft-onenote",
|
|
168
|
-
"microsoft-outlook": "microsoft-outlook",
|
|
169
|
-
"microsoft-outlook-calendar": "microsoft-outlook-calendar",
|
|
170
|
-
"microsoft-sharepoint": "microsoft-sharepoint",
|
|
171
|
-
"microsoft-teams": "microsoft-teams",
|
|
172
|
-
"microsoft-todo": "microsoft-todo",
|
|
173
|
-
notion: "notion",
|
|
174
|
-
prefect: "prefect",
|
|
175
|
-
"pydantic-logfire": "pydantic-logfire",
|
|
176
|
-
salesforce: "salesforce",
|
|
177
|
-
sentry: "sentry",
|
|
178
|
-
slack: "slack",
|
|
179
|
-
snowflake: "snowflake",
|
|
180
|
-
stripe: "stripe",
|
|
181
|
-
xero: "xero",
|
|
182
|
-
zendesk: "zendesk"
|
|
183
|
-
};
|
|
184
|
-
const DataIntegrationOwnership = {
|
|
185
|
-
userland_user: "userland_user",
|
|
186
|
-
organization: "organization"
|
|
187
|
-
};
|
|
188
|
-
const DataIntegrationCredentialsType = {
|
|
189
|
-
shared: "shared",
|
|
190
|
-
custom: "custom"
|
|
191
|
-
};
|
|
192
50
|
const DirectoryType = {
|
|
193
51
|
azure_scim_v20: "azure scim v2.0",
|
|
194
52
|
bamboohr: "bamboohr",
|
|
@@ -224,7 +82,8 @@ const DirectoryState = {
|
|
|
224
82
|
};
|
|
225
83
|
const GenerateAdminPortalLinkIntent = {
|
|
226
84
|
domain_verification: "domain_verification",
|
|
227
|
-
sso: "sso"
|
|
85
|
+
sso: "sso",
|
|
86
|
+
log_streams: "log_streams"
|
|
228
87
|
};
|
|
229
88
|
const useCreateOrganizationApiKeyHook = () => {
|
|
230
89
|
const createOrganizationApiKey = useWidgetsApiClient();
|
|
@@ -252,8 +111,10 @@ const useCreateOrganizationApiKeyMutationOptions = (options) => {
|
|
|
252
111
|
return { mutationFn, ...mutationOptions };
|
|
253
112
|
};
|
|
254
113
|
const useCreateOrganizationApiKey = (options, queryClient) => {
|
|
255
|
-
|
|
256
|
-
|
|
114
|
+
return useMutation(
|
|
115
|
+
useCreateOrganizationApiKeyMutationOptions(options),
|
|
116
|
+
queryClient
|
|
117
|
+
);
|
|
257
118
|
};
|
|
258
119
|
const useListOrganizationApiKeysHook = () => {
|
|
259
120
|
const listOrganizationApiKeys = useWidgetsApiClient();
|
|
@@ -290,8 +151,7 @@ const useListOrganizationApiKeysQueryOptions = (params, options) => {
|
|
|
290
151
|
function useListOrganizationApiKeys(params, options, queryClient) {
|
|
291
152
|
const queryOptions = useListOrganizationApiKeysQueryOptions(params, options);
|
|
292
153
|
const query = useQuery(queryOptions, queryClient);
|
|
293
|
-
query
|
|
294
|
-
return query;
|
|
154
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
295
155
|
}
|
|
296
156
|
const useListOrganizationApiKeyPermissionsHook = () => {
|
|
297
157
|
const listOrganizationApiKeyPermissions = useWidgetsApiClient();
|
|
@@ -331,16 +191,16 @@ function useListOrganizationApiKeyPermissions(params, options, queryClient) {
|
|
|
331
191
|
options
|
|
332
192
|
);
|
|
333
193
|
const query = useQuery(queryOptions, queryClient);
|
|
334
|
-
query
|
|
335
|
-
return query;
|
|
194
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
336
195
|
}
|
|
337
196
|
const useDeleteOrganizationApiKeyHook = () => {
|
|
338
197
|
const deleteOrganizationApiKey = useWidgetsApiClient();
|
|
339
198
|
return useCallback(
|
|
340
|
-
(apiKeyId) => {
|
|
199
|
+
(apiKeyId, signal) => {
|
|
341
200
|
return deleteOrganizationApiKey({
|
|
342
201
|
url: `/_widgets/ApiKeys/${apiKeyId}`,
|
|
343
|
-
method: "DELETE"
|
|
202
|
+
method: "DELETE",
|
|
203
|
+
signal
|
|
344
204
|
});
|
|
345
205
|
},
|
|
346
206
|
[deleteOrganizationApiKey]
|
|
@@ -357,16 +217,19 @@ const useDeleteOrganizationApiKeyMutationOptions = (options) => {
|
|
|
357
217
|
return { mutationFn, ...mutationOptions };
|
|
358
218
|
};
|
|
359
219
|
const useDeleteOrganizationApiKey = (options, queryClient) => {
|
|
360
|
-
|
|
361
|
-
|
|
220
|
+
return useMutation(
|
|
221
|
+
useDeleteOrganizationApiKeyMutationOptions(options),
|
|
222
|
+
queryClient
|
|
223
|
+
);
|
|
362
224
|
};
|
|
363
225
|
const useDeleteDataInstallationHook = () => {
|
|
364
226
|
const deleteDataInstallation = useWidgetsApiClient();
|
|
365
227
|
return useCallback(
|
|
366
|
-
(installationId) => {
|
|
228
|
+
(installationId, signal) => {
|
|
367
229
|
return deleteDataInstallation({
|
|
368
230
|
url: `/_widgets/DataIntegrations/installations/${installationId}`,
|
|
369
|
-
method: "DELETE"
|
|
231
|
+
method: "DELETE",
|
|
232
|
+
signal
|
|
370
233
|
});
|
|
371
234
|
},
|
|
372
235
|
[deleteDataInstallation]
|
|
@@ -383,8 +246,10 @@ const useDeleteDataInstallationMutationOptions = (options) => {
|
|
|
383
246
|
return { mutationFn, ...mutationOptions };
|
|
384
247
|
};
|
|
385
248
|
const useDeleteDataInstallation = (options, queryClient) => {
|
|
386
|
-
|
|
387
|
-
|
|
249
|
+
return useMutation(
|
|
250
|
+
useDeleteDataInstallationMutationOptions(options),
|
|
251
|
+
queryClient
|
|
252
|
+
);
|
|
388
253
|
};
|
|
389
254
|
const useMyDataIntegrationsHook = () => {
|
|
390
255
|
const myDataIntegrations = useWidgetsApiClient();
|
|
@@ -417,8 +282,7 @@ const useMyDataIntegrationsQueryOptions = (options) => {
|
|
|
417
282
|
function useMyDataIntegrations(options, queryClient) {
|
|
418
283
|
const queryOptions = useMyDataIntegrationsQueryOptions(options);
|
|
419
284
|
const query = useQuery(queryOptions, queryClient);
|
|
420
|
-
query
|
|
421
|
-
return query;
|
|
285
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
422
286
|
}
|
|
423
287
|
const useGetDataInstallationAuthorizationStatusHook = () => {
|
|
424
288
|
const getDataInstallationAuthorizationStatus = useWidgetsApiClient();
|
|
@@ -457,8 +321,7 @@ function useGetDataInstallationAuthorizationStatus(dataIntegrationId, state, opt
|
|
|
457
321
|
options
|
|
458
322
|
);
|
|
459
323
|
const query = useQuery(queryOptions, queryClient);
|
|
460
|
-
query
|
|
461
|
-
return query;
|
|
324
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
462
325
|
}
|
|
463
326
|
const useGetDataIntegrationAuthorizeUrlHook = () => {
|
|
464
327
|
const getDataIntegrationAuthorizeUrl = useWidgetsApiClient();
|
|
@@ -499,8 +362,7 @@ function useGetDataIntegrationAuthorizeUrl(slug, params, options, queryClient) {
|
|
|
499
362
|
options
|
|
500
363
|
);
|
|
501
364
|
const query = useQuery(queryOptions, queryClient);
|
|
502
|
-
query
|
|
503
|
-
return query;
|
|
365
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
504
366
|
}
|
|
505
367
|
const useInviteMemberHook = () => {
|
|
506
368
|
const inviteMember = useWidgetsApiClient();
|
|
@@ -528,16 +390,16 @@ const useInviteMemberMutationOptions = (options) => {
|
|
|
528
390
|
return { mutationFn, ...mutationOptions };
|
|
529
391
|
};
|
|
530
392
|
const useInviteMember = (options, queryClient) => {
|
|
531
|
-
|
|
532
|
-
return useMutation(mutationOptions, queryClient);
|
|
393
|
+
return useMutation(useInviteMemberMutationOptions(options), queryClient);
|
|
533
394
|
};
|
|
534
395
|
const useRevokeInviteHook = () => {
|
|
535
396
|
const revokeInvite = useWidgetsApiClient();
|
|
536
397
|
return useCallback(
|
|
537
|
-
(userId) => {
|
|
398
|
+
(userId, signal) => {
|
|
538
399
|
return revokeInvite({
|
|
539
400
|
url: `/_widgets/UserManagement/invites/${userId}`,
|
|
540
|
-
method: "DELETE"
|
|
401
|
+
method: "DELETE",
|
|
402
|
+
signal
|
|
541
403
|
});
|
|
542
404
|
},
|
|
543
405
|
[revokeInvite]
|
|
@@ -554,8 +416,7 @@ const useRevokeInviteMutationOptions = (options) => {
|
|
|
554
416
|
return { mutationFn, ...mutationOptions };
|
|
555
417
|
};
|
|
556
418
|
const useRevokeInvite = (options, queryClient) => {
|
|
557
|
-
|
|
558
|
-
return useMutation(mutationOptions, queryClient);
|
|
419
|
+
return useMutation(useRevokeInviteMutationOptions(options), queryClient);
|
|
559
420
|
};
|
|
560
421
|
const useResendInviteHook = () => {
|
|
561
422
|
const resendInvite = useWidgetsApiClient();
|
|
@@ -581,8 +442,7 @@ const useResendInviteMutationOptions = (options) => {
|
|
|
581
442
|
return { mutationFn, ...mutationOptions };
|
|
582
443
|
};
|
|
583
444
|
const useResendInvite = (options, queryClient) => {
|
|
584
|
-
|
|
585
|
-
return useMutation(mutationOptions, queryClient);
|
|
445
|
+
return useMutation(useResendInviteMutationOptions(options), queryClient);
|
|
586
446
|
};
|
|
587
447
|
const useMembersHook = () => {
|
|
588
448
|
const members = useWidgetsApiClient();
|
|
@@ -619,16 +479,16 @@ const useMembersQueryOptions = (params, options) => {
|
|
|
619
479
|
function useMembers(params, options, queryClient) {
|
|
620
480
|
const queryOptions = useMembersQueryOptions(params, options);
|
|
621
481
|
const query = useQuery(queryOptions, queryClient);
|
|
622
|
-
query
|
|
623
|
-
return query;
|
|
482
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
624
483
|
}
|
|
625
484
|
const useRemoveMemberHook = () => {
|
|
626
485
|
const removeMember = useWidgetsApiClient();
|
|
627
486
|
return useCallback(
|
|
628
|
-
(userId) => {
|
|
487
|
+
(userId, signal) => {
|
|
629
488
|
return removeMember({
|
|
630
489
|
url: `/_widgets/UserManagement/members/${userId}`,
|
|
631
|
-
method: "DELETE"
|
|
490
|
+
method: "DELETE",
|
|
491
|
+
signal
|
|
632
492
|
});
|
|
633
493
|
},
|
|
634
494
|
[removeMember]
|
|
@@ -645,8 +505,7 @@ const useRemoveMemberMutationOptions = (options) => {
|
|
|
645
505
|
return { mutationFn, ...mutationOptions };
|
|
646
506
|
};
|
|
647
507
|
const useRemoveMember = (options, queryClient) => {
|
|
648
|
-
|
|
649
|
-
return useMutation(mutationOptions, queryClient);
|
|
508
|
+
return useMutation(useRemoveMemberMutationOptions(options), queryClient);
|
|
650
509
|
};
|
|
651
510
|
const useUpdateMemberHook = () => {
|
|
652
511
|
const updateMember = useWidgetsApiClient();
|
|
@@ -674,8 +533,7 @@ const useUpdateMemberMutationOptions = (options) => {
|
|
|
674
533
|
return { mutationFn, ...mutationOptions };
|
|
675
534
|
};
|
|
676
535
|
const useUpdateMember = (options, queryClient) => {
|
|
677
|
-
|
|
678
|
-
return useMutation(mutationOptions, queryClient);
|
|
536
|
+
return useMutation(useUpdateMemberMutationOptions(options), queryClient);
|
|
679
537
|
};
|
|
680
538
|
const useOrganizationsHook = () => {
|
|
681
539
|
const organizations = useWidgetsApiClient();
|
|
@@ -708,8 +566,7 @@ const useOrganizationsQueryOptions = (options) => {
|
|
|
708
566
|
function useOrganizations(options, queryClient) {
|
|
709
567
|
const queryOptions = useOrganizationsQueryOptions(options);
|
|
710
568
|
const query = useQuery(queryOptions, queryClient);
|
|
711
|
-
query
|
|
712
|
-
return query;
|
|
569
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
713
570
|
}
|
|
714
571
|
const useRolesHook = () => {
|
|
715
572
|
const roles = useWidgetsApiClient();
|
|
@@ -742,8 +599,7 @@ const useRolesQueryOptions = (options) => {
|
|
|
742
599
|
function useRoles(options, queryClient) {
|
|
743
600
|
const queryOptions = useRolesQueryOptions(options);
|
|
744
601
|
const query = useQuery(queryOptions, queryClient);
|
|
745
|
-
query
|
|
746
|
-
return query;
|
|
602
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
747
603
|
}
|
|
748
604
|
const useRolesAndConfigHook = () => {
|
|
749
605
|
const rolesAndConfig = useWidgetsApiClient();
|
|
@@ -776,8 +632,7 @@ const useRolesAndConfigQueryOptions = (options) => {
|
|
|
776
632
|
function useRolesAndConfig(options, queryClient) {
|
|
777
633
|
const queryOptions = useRolesAndConfigQueryOptions(options);
|
|
778
634
|
const query = useQuery(queryOptions, queryClient);
|
|
779
|
-
query
|
|
780
|
-
return query;
|
|
635
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
781
636
|
}
|
|
782
637
|
const useAuthenticationInformationHook = () => {
|
|
783
638
|
const authenticationInformation = useWidgetsApiClient();
|
|
@@ -810,8 +665,7 @@ const useAuthenticationInformationQueryOptions = (options) => {
|
|
|
810
665
|
function useAuthenticationInformation(options, queryClient) {
|
|
811
666
|
const queryOptions = useAuthenticationInformationQueryOptions(options);
|
|
812
667
|
const query = useQuery(queryOptions, queryClient);
|
|
813
|
-
query
|
|
814
|
-
return query;
|
|
668
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
815
669
|
}
|
|
816
670
|
const useCreatePasswordHook = () => {
|
|
817
671
|
const createPassword = useWidgetsApiClient();
|
|
@@ -839,8 +693,7 @@ const useCreatePasswordMutationOptions = (options) => {
|
|
|
839
693
|
return { mutationFn, ...mutationOptions };
|
|
840
694
|
};
|
|
841
695
|
const useCreatePassword = (options, queryClient) => {
|
|
842
|
-
|
|
843
|
-
return useMutation(mutationOptions, queryClient);
|
|
696
|
+
return useMutation(useCreatePasswordMutationOptions(options), queryClient);
|
|
844
697
|
};
|
|
845
698
|
const useCreateTotpFactorHook = () => {
|
|
846
699
|
const createTotpFactor = useWidgetsApiClient();
|
|
@@ -865,8 +718,7 @@ const useCreateTotpFactorMutationOptions = (options) => {
|
|
|
865
718
|
return { mutationFn, ...mutationOptions };
|
|
866
719
|
};
|
|
867
720
|
const useCreateTotpFactor = (options, queryClient) => {
|
|
868
|
-
|
|
869
|
-
return useMutation(mutationOptions, queryClient);
|
|
721
|
+
return useMutation(useCreateTotpFactorMutationOptions(options), queryClient);
|
|
870
722
|
};
|
|
871
723
|
const useMeHook = () => {
|
|
872
724
|
const me = useWidgetsApiClient();
|
|
@@ -895,8 +747,7 @@ const useMeQueryOptions = (options) => {
|
|
|
895
747
|
function useMe(options, queryClient) {
|
|
896
748
|
const queryOptions = useMeQueryOptions(options);
|
|
897
749
|
const query = useQuery(queryOptions, queryClient);
|
|
898
|
-
query
|
|
899
|
-
return query;
|
|
750
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
900
751
|
}
|
|
901
752
|
const useUpdateMeHook = () => {
|
|
902
753
|
const updateMe = useWidgetsApiClient();
|
|
@@ -924,8 +775,7 @@ const useUpdateMeMutationOptions = (options) => {
|
|
|
924
775
|
return { mutationFn, ...mutationOptions };
|
|
925
776
|
};
|
|
926
777
|
const useUpdateMe = (options, queryClient) => {
|
|
927
|
-
|
|
928
|
-
return useMutation(mutationOptions, queryClient);
|
|
778
|
+
return useMutation(useUpdateMeMutationOptions(options), queryClient);
|
|
929
779
|
};
|
|
930
780
|
const useRegisterPasskeyHook = () => {
|
|
931
781
|
const registerPasskey = useWidgetsApiClient();
|
|
@@ -950,8 +800,7 @@ const useRegisterPasskeyMutationOptions = (options) => {
|
|
|
950
800
|
return { mutationFn, ...mutationOptions };
|
|
951
801
|
};
|
|
952
802
|
const useRegisterPasskey = (options, queryClient) => {
|
|
953
|
-
|
|
954
|
-
return useMutation(mutationOptions, queryClient);
|
|
803
|
+
return useMutation(useRegisterPasskeyMutationOptions(options), queryClient);
|
|
955
804
|
};
|
|
956
805
|
const useVerifyPasskeyHook = () => {
|
|
957
806
|
const verifyPasskey = useWidgetsApiClient();
|
|
@@ -979,16 +828,16 @@ const useVerifyPasskeyMutationOptions = (options) => {
|
|
|
979
828
|
return { mutationFn, ...mutationOptions };
|
|
980
829
|
};
|
|
981
830
|
const useVerifyPasskey = (options, queryClient) => {
|
|
982
|
-
|
|
983
|
-
return useMutation(mutationOptions, queryClient);
|
|
831
|
+
return useMutation(useVerifyPasskeyMutationOptions(options), queryClient);
|
|
984
832
|
};
|
|
985
833
|
const useDeletePasskeyHook = () => {
|
|
986
834
|
const deletePasskey = useWidgetsApiClient();
|
|
987
835
|
return useCallback(
|
|
988
|
-
(passkeyId) => {
|
|
836
|
+
(passkeyId, signal) => {
|
|
989
837
|
return deletePasskey({
|
|
990
838
|
url: `/_widgets/UserProfile/passkeys/${passkeyId}`,
|
|
991
|
-
method: "DELETE"
|
|
839
|
+
method: "DELETE",
|
|
840
|
+
signal
|
|
992
841
|
});
|
|
993
842
|
},
|
|
994
843
|
[deletePasskey]
|
|
@@ -1005,8 +854,7 @@ const useDeletePasskeyMutationOptions = (options) => {
|
|
|
1005
854
|
return { mutationFn, ...mutationOptions };
|
|
1006
855
|
};
|
|
1007
856
|
const useDeletePasskey = (options, queryClient) => {
|
|
1008
|
-
|
|
1009
|
-
return useMutation(mutationOptions, queryClient);
|
|
857
|
+
return useMutation(useDeletePasskeyMutationOptions(options), queryClient);
|
|
1010
858
|
};
|
|
1011
859
|
const useSendVerificationHook = () => {
|
|
1012
860
|
const sendVerification = useWidgetsApiClient();
|
|
@@ -1031,8 +879,7 @@ const useSendVerificationMutationOptions = (options) => {
|
|
|
1031
879
|
return { mutationFn, ...mutationOptions };
|
|
1032
880
|
};
|
|
1033
881
|
const useSendVerification = (options, queryClient) => {
|
|
1034
|
-
|
|
1035
|
-
return useMutation(mutationOptions, queryClient);
|
|
882
|
+
return useMutation(useSendVerificationMutationOptions(options), queryClient);
|
|
1036
883
|
};
|
|
1037
884
|
const useSessionsHook = () => {
|
|
1038
885
|
const sessions = useWidgetsApiClient();
|
|
@@ -1065,18 +912,18 @@ const useSessionsQueryOptions = (options) => {
|
|
|
1065
912
|
function useSessions(options, queryClient) {
|
|
1066
913
|
const queryOptions = useSessionsQueryOptions(options);
|
|
1067
914
|
const query = useQuery(queryOptions, queryClient);
|
|
1068
|
-
query
|
|
1069
|
-
return query;
|
|
915
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1070
916
|
}
|
|
1071
917
|
const useRevokeAllSessionsHook = () => {
|
|
1072
918
|
const revokeAllSessions = useWidgetsApiClient();
|
|
1073
919
|
return useCallback(
|
|
1074
|
-
(revokeAllSessionsRequest) => {
|
|
920
|
+
(revokeAllSessionsRequest, signal) => {
|
|
1075
921
|
return revokeAllSessions({
|
|
1076
922
|
url: `/_widgets/UserProfile/sessions/revoke-all`,
|
|
1077
923
|
method: "DELETE",
|
|
1078
924
|
headers: { "Content-Type": "application/json" },
|
|
1079
|
-
data: revokeAllSessionsRequest
|
|
925
|
+
data: revokeAllSessionsRequest,
|
|
926
|
+
signal
|
|
1080
927
|
});
|
|
1081
928
|
},
|
|
1082
929
|
[revokeAllSessions]
|
|
@@ -1093,16 +940,16 @@ const useRevokeAllSessionsMutationOptions = (options) => {
|
|
|
1093
940
|
return { mutationFn, ...mutationOptions };
|
|
1094
941
|
};
|
|
1095
942
|
const useRevokeAllSessions = (options, queryClient) => {
|
|
1096
|
-
|
|
1097
|
-
return useMutation(mutationOptions, queryClient);
|
|
943
|
+
return useMutation(useRevokeAllSessionsMutationOptions(options), queryClient);
|
|
1098
944
|
};
|
|
1099
945
|
const useRevokeSessionHook = () => {
|
|
1100
946
|
const revokeSession = useWidgetsApiClient();
|
|
1101
947
|
return useCallback(
|
|
1102
|
-
(sessionId) => {
|
|
948
|
+
(sessionId, signal) => {
|
|
1103
949
|
return revokeSession({
|
|
1104
950
|
url: `/_widgets/UserProfile/sessions/revoke/${sessionId}`,
|
|
1105
|
-
method: "DELETE"
|
|
951
|
+
method: "DELETE",
|
|
952
|
+
signal
|
|
1106
953
|
});
|
|
1107
954
|
},
|
|
1108
955
|
[revokeSession]
|
|
@@ -1119,17 +966,20 @@ const useRevokeSessionMutationOptions = (options) => {
|
|
|
1119
966
|
return { mutationFn, ...mutationOptions };
|
|
1120
967
|
};
|
|
1121
968
|
const useRevokeSession = (options, queryClient) => {
|
|
1122
|
-
|
|
1123
|
-
return useMutation(mutationOptions, queryClient);
|
|
969
|
+
return useMutation(useRevokeSessionMutationOptions(options), queryClient);
|
|
1124
970
|
};
|
|
1125
971
|
const useDeleteTotpFactorsHook = () => {
|
|
1126
972
|
const deleteTotpFactors = useWidgetsApiClient();
|
|
1127
|
-
return useCallback(
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
973
|
+
return useCallback(
|
|
974
|
+
(signal) => {
|
|
975
|
+
return deleteTotpFactors({
|
|
976
|
+
url: `/_widgets/UserProfile/totp-factors`,
|
|
977
|
+
method: "DELETE",
|
|
978
|
+
signal
|
|
979
|
+
});
|
|
980
|
+
},
|
|
981
|
+
[deleteTotpFactors]
|
|
982
|
+
);
|
|
1133
983
|
};
|
|
1134
984
|
const useDeleteTotpFactorsMutationOptions = (options) => {
|
|
1135
985
|
const mutationKey = ["deleteTotpFactors"];
|
|
@@ -1141,8 +991,7 @@ const useDeleteTotpFactorsMutationOptions = (options) => {
|
|
|
1141
991
|
return { mutationFn, ...mutationOptions };
|
|
1142
992
|
};
|
|
1143
993
|
const useDeleteTotpFactors = (options, queryClient) => {
|
|
1144
|
-
|
|
1145
|
-
return useMutation(mutationOptions, queryClient);
|
|
994
|
+
return useMutation(useDeleteTotpFactorsMutationOptions(options), queryClient);
|
|
1146
995
|
};
|
|
1147
996
|
const useUpdatePasswordHook = () => {
|
|
1148
997
|
const updatePassword = useWidgetsApiClient();
|
|
@@ -1170,8 +1019,7 @@ const useUpdatePasswordMutationOptions = (options) => {
|
|
|
1170
1019
|
return { mutationFn, ...mutationOptions };
|
|
1171
1020
|
};
|
|
1172
1021
|
const useUpdatePassword = (options, queryClient) => {
|
|
1173
|
-
|
|
1174
|
-
return useMutation(mutationOptions, queryClient);
|
|
1022
|
+
return useMutation(useUpdatePasswordMutationOptions(options), queryClient);
|
|
1175
1023
|
};
|
|
1176
1024
|
const useVerifyHook = () => {
|
|
1177
1025
|
const verify = useWidgetsApiClient();
|
|
@@ -1199,8 +1047,7 @@ const useVerifyMutationOptions = (options) => {
|
|
|
1199
1047
|
return { mutationFn, ...mutationOptions };
|
|
1200
1048
|
};
|
|
1201
1049
|
const useVerify = (options, queryClient) => {
|
|
1202
|
-
|
|
1203
|
-
return useMutation(mutationOptions, queryClient);
|
|
1050
|
+
return useMutation(useVerifyMutationOptions(options), queryClient);
|
|
1204
1051
|
};
|
|
1205
1052
|
const useVerifyTotpFactorHook = () => {
|
|
1206
1053
|
const verifyTotpFactor = useWidgetsApiClient();
|
|
@@ -1228,9 +1075,41 @@ const useVerifyTotpFactorMutationOptions = (options) => {
|
|
|
1228
1075
|
return { mutationFn, ...mutationOptions };
|
|
1229
1076
|
};
|
|
1230
1077
|
const useVerifyTotpFactor = (options, queryClient) => {
|
|
1231
|
-
|
|
1232
|
-
return useMutation(mutationOptions, queryClient);
|
|
1078
|
+
return useMutation(useVerifyTotpFactorMutationOptions(options), queryClient);
|
|
1233
1079
|
};
|
|
1080
|
+
const useGetAuditLogStreamHook = () => {
|
|
1081
|
+
const getAuditLogStream = useWidgetsApiClient();
|
|
1082
|
+
return useCallback(
|
|
1083
|
+
(signal) => {
|
|
1084
|
+
return getAuditLogStream({
|
|
1085
|
+
url: `/_widgets/admin-portal/audit-log-stream`,
|
|
1086
|
+
method: "GET",
|
|
1087
|
+
signal
|
|
1088
|
+
});
|
|
1089
|
+
},
|
|
1090
|
+
[getAuditLogStream]
|
|
1091
|
+
);
|
|
1092
|
+
};
|
|
1093
|
+
const getGetAuditLogStreamQueryKey = () => {
|
|
1094
|
+
return [`/_widgets/admin-portal/audit-log-stream`];
|
|
1095
|
+
};
|
|
1096
|
+
const useGetAuditLogStreamQueryOptions = (options) => {
|
|
1097
|
+
const { query: queryOptions } = options ?? {};
|
|
1098
|
+
const queryKey = queryOptions?.queryKey ?? getGetAuditLogStreamQueryKey();
|
|
1099
|
+
const getAuditLogStream = useGetAuditLogStreamHook();
|
|
1100
|
+
const queryFn = ({ signal }) => getAuditLogStream(signal);
|
|
1101
|
+
const customOptions = useWidgetsApiQueryOptions({
|
|
1102
|
+
...queryOptions,
|
|
1103
|
+
queryKey,
|
|
1104
|
+
queryFn
|
|
1105
|
+
});
|
|
1106
|
+
return customOptions;
|
|
1107
|
+
};
|
|
1108
|
+
function useGetAuditLogStream(options, queryClient) {
|
|
1109
|
+
const queryOptions = useGetAuditLogStreamQueryOptions(options);
|
|
1110
|
+
const query = useQuery(queryOptions, queryClient);
|
|
1111
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1112
|
+
}
|
|
1234
1113
|
const useGenerateAdminPortalLinkHook = () => {
|
|
1235
1114
|
const generateAdminPortalLink = useWidgetsApiClient();
|
|
1236
1115
|
return useCallback(
|
|
@@ -1256,8 +1135,10 @@ const useGenerateAdminPortalLinkMutationOptions = (options) => {
|
|
|
1256
1135
|
return { mutationFn, ...mutationOptions };
|
|
1257
1136
|
};
|
|
1258
1137
|
const useGenerateAdminPortalLink = (options, queryClient) => {
|
|
1259
|
-
|
|
1260
|
-
|
|
1138
|
+
return useMutation(
|
|
1139
|
+
useGenerateAdminPortalLinkMutationOptions(options),
|
|
1140
|
+
queryClient
|
|
1141
|
+
);
|
|
1261
1142
|
};
|
|
1262
1143
|
const useListOrganizationDomainsHook = () => {
|
|
1263
1144
|
const listOrganizationDomains = useWidgetsApiClient();
|
|
@@ -1290,16 +1171,16 @@ const useListOrganizationDomainsQueryOptions = (options) => {
|
|
|
1290
1171
|
function useListOrganizationDomains(options, queryClient) {
|
|
1291
1172
|
const queryOptions = useListOrganizationDomainsQueryOptions(options);
|
|
1292
1173
|
const query = useQuery(queryOptions, queryClient);
|
|
1293
|
-
query
|
|
1294
|
-
return query;
|
|
1174
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1295
1175
|
}
|
|
1296
1176
|
const useDeleteOrganizationDomainHook = () => {
|
|
1297
1177
|
const deleteOrganizationDomain = useWidgetsApiClient();
|
|
1298
1178
|
return useCallback(
|
|
1299
|
-
(domainId) => {
|
|
1179
|
+
(domainId, signal) => {
|
|
1300
1180
|
return deleteOrganizationDomain({
|
|
1301
1181
|
url: `/_widgets/admin-portal/organization-domains/${domainId}`,
|
|
1302
|
-
method: "DELETE"
|
|
1182
|
+
method: "DELETE",
|
|
1183
|
+
signal
|
|
1303
1184
|
});
|
|
1304
1185
|
},
|
|
1305
1186
|
[deleteOrganizationDomain]
|
|
@@ -1316,8 +1197,10 @@ const useDeleteOrganizationDomainMutationOptions = (options) => {
|
|
|
1316
1197
|
return { mutationFn, ...mutationOptions };
|
|
1317
1198
|
};
|
|
1318
1199
|
const useDeleteOrganizationDomain = (options, queryClient) => {
|
|
1319
|
-
|
|
1320
|
-
|
|
1200
|
+
return useMutation(
|
|
1201
|
+
useDeleteOrganizationDomainMutationOptions(options),
|
|
1202
|
+
queryClient
|
|
1203
|
+
);
|
|
1321
1204
|
};
|
|
1322
1205
|
const useReverifyOrganizationDomainHook = () => {
|
|
1323
1206
|
const reverifyOrganizationDomain = useWidgetsApiClient();
|
|
@@ -1343,8 +1226,10 @@ const useReverifyOrganizationDomainMutationOptions = (options) => {
|
|
|
1343
1226
|
return { mutationFn, ...mutationOptions };
|
|
1344
1227
|
};
|
|
1345
1228
|
const useReverifyOrganizationDomain = (options, queryClient) => {
|
|
1346
|
-
|
|
1347
|
-
|
|
1229
|
+
return useMutation(
|
|
1230
|
+
useReverifyOrganizationDomainMutationOptions(options),
|
|
1231
|
+
queryClient
|
|
1232
|
+
);
|
|
1348
1233
|
};
|
|
1349
1234
|
const useListSsoConnectionsHook = () => {
|
|
1350
1235
|
const listSsoConnections = useWidgetsApiClient();
|
|
@@ -1377,8 +1262,7 @@ const useListSsoConnectionsQueryOptions = (options) => {
|
|
|
1377
1262
|
function useListSsoConnections(options, queryClient) {
|
|
1378
1263
|
const queryOptions = useListSsoConnectionsQueryOptions(options);
|
|
1379
1264
|
const query = useQuery(queryOptions, queryClient);
|
|
1380
|
-
query
|
|
1381
|
-
return query;
|
|
1265
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1382
1266
|
}
|
|
1383
1267
|
const useListDirectoriesHook = () => {
|
|
1384
1268
|
const listDirectories = useWidgetsApiClient();
|
|
@@ -1411,8 +1295,40 @@ const useListDirectoriesQueryOptions = (options) => {
|
|
|
1411
1295
|
function useListDirectories(options, queryClient) {
|
|
1412
1296
|
const queryOptions = useListDirectoriesQueryOptions(options);
|
|
1413
1297
|
const query = useQuery(queryOptions, queryClient);
|
|
1414
|
-
query
|
|
1415
|
-
|
|
1298
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1299
|
+
}
|
|
1300
|
+
const useGetDirectoryHook = () => {
|
|
1301
|
+
const getDirectory = useWidgetsApiClient();
|
|
1302
|
+
return useCallback(
|
|
1303
|
+
(directoryId, signal) => {
|
|
1304
|
+
return getDirectory({
|
|
1305
|
+
url: `/_widgets/directory-sync/directories/${directoryId}`,
|
|
1306
|
+
method: "GET",
|
|
1307
|
+
signal
|
|
1308
|
+
});
|
|
1309
|
+
},
|
|
1310
|
+
[getDirectory]
|
|
1311
|
+
);
|
|
1312
|
+
};
|
|
1313
|
+
const getGetDirectoryQueryKey = (directoryId) => {
|
|
1314
|
+
return [`/_widgets/directory-sync/directories/${directoryId}`];
|
|
1315
|
+
};
|
|
1316
|
+
const useGetDirectoryQueryOptions = (directoryId, options) => {
|
|
1317
|
+
const { query: queryOptions } = options ?? {};
|
|
1318
|
+
const queryKey = queryOptions?.queryKey ?? getGetDirectoryQueryKey(directoryId);
|
|
1319
|
+
const getDirectory = useGetDirectoryHook();
|
|
1320
|
+
const queryFn = ({ signal }) => getDirectory(directoryId, signal);
|
|
1321
|
+
const customOptions = useWidgetsApiQueryOptions({
|
|
1322
|
+
...queryOptions,
|
|
1323
|
+
queryKey,
|
|
1324
|
+
queryFn
|
|
1325
|
+
});
|
|
1326
|
+
return customOptions;
|
|
1327
|
+
};
|
|
1328
|
+
function useGetDirectory(directoryId, options, queryClient) {
|
|
1329
|
+
const queryOptions = useGetDirectoryQueryOptions(directoryId, options);
|
|
1330
|
+
const query = useQuery(queryOptions, queryClient);
|
|
1331
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1416
1332
|
}
|
|
1417
1333
|
const useSettingsHook = () => {
|
|
1418
1334
|
const settings = useWidgetsApiClient();
|
|
@@ -1441,22 +1357,9 @@ const useSettingsQueryOptions = (options) => {
|
|
|
1441
1357
|
function useSettings(options, queryClient) {
|
|
1442
1358
|
const queryOptions = useSettingsQueryOptions(options);
|
|
1443
1359
|
const query = useQuery(queryOptions, queryClient);
|
|
1444
|
-
query
|
|
1445
|
-
return query;
|
|
1360
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1446
1361
|
}
|
|
1447
1362
|
export {
|
|
1448
|
-
AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider,
|
|
1449
|
-
AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider,
|
|
1450
|
-
AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider,
|
|
1451
|
-
CreateTotpFactorResponseAuthenticationChallengeAllOfObject,
|
|
1452
|
-
CreateTotpFactorResponseAuthenticationFactorAllOfObject,
|
|
1453
|
-
CreateTotpFactorResponseAuthenticationFactorAllOfType,
|
|
1454
|
-
DataInstallationAllOfObject,
|
|
1455
|
-
DataInstallationAllOfState,
|
|
1456
|
-
DataIntegrationCredentialsType,
|
|
1457
|
-
DataIntegrationIntegrationType,
|
|
1458
|
-
DataIntegrationObject,
|
|
1459
|
-
DataIntegrationOwnership,
|
|
1460
1363
|
DirectoryState,
|
|
1461
1364
|
DirectoryType,
|
|
1462
1365
|
DomainVerificationNameServer,
|
|
@@ -1466,18 +1369,12 @@ export {
|
|
|
1466
1369
|
OidcSessionState,
|
|
1467
1370
|
OrganizationDomainState,
|
|
1468
1371
|
SamlSessionState,
|
|
1469
|
-
SendVerificationResponseType,
|
|
1470
|
-
SettingsResponseObject,
|
|
1471
|
-
SsoConnectionAnyOfEightAllOfProviderTag,
|
|
1472
|
-
SsoConnectionAnyOfEightAllOfState,
|
|
1473
|
-
SsoConnectionAnyOfEightAllOfType,
|
|
1474
|
-
SsoConnectionAnyOfProviderTag,
|
|
1475
|
-
SsoConnectionAnyOfState,
|
|
1476
|
-
SsoConnectionAnyOfType,
|
|
1477
1372
|
SsoConnectionSessionJSONState,
|
|
1478
1373
|
getAuthenticationInformationQueryKey,
|
|
1374
|
+
getGetAuditLogStreamQueryKey,
|
|
1479
1375
|
getGetDataInstallationAuthorizationStatusQueryKey,
|
|
1480
1376
|
getGetDataIntegrationAuthorizeUrlQueryKey,
|
|
1377
|
+
getGetDirectoryQueryKey,
|
|
1481
1378
|
getListDirectoriesQueryKey,
|
|
1482
1379
|
getListOrganizationApiKeyPermissionsQueryKey,
|
|
1483
1380
|
getListOrganizationApiKeysQueryKey,
|
|
@@ -1521,12 +1418,18 @@ export {
|
|
|
1521
1418
|
useGenerateAdminPortalLink,
|
|
1522
1419
|
useGenerateAdminPortalLinkHook,
|
|
1523
1420
|
useGenerateAdminPortalLinkMutationOptions,
|
|
1421
|
+
useGetAuditLogStream,
|
|
1422
|
+
useGetAuditLogStreamHook,
|
|
1423
|
+
useGetAuditLogStreamQueryOptions,
|
|
1524
1424
|
useGetDataInstallationAuthorizationStatus,
|
|
1525
1425
|
useGetDataInstallationAuthorizationStatusHook,
|
|
1526
1426
|
useGetDataInstallationAuthorizationStatusQueryOptions,
|
|
1527
1427
|
useGetDataIntegrationAuthorizeUrl,
|
|
1528
1428
|
useGetDataIntegrationAuthorizeUrlHook,
|
|
1529
1429
|
useGetDataIntegrationAuthorizeUrlQueryOptions,
|
|
1430
|
+
useGetDirectory,
|
|
1431
|
+
useGetDirectoryHook,
|
|
1432
|
+
useGetDirectoryQueryOptions,
|
|
1530
1433
|
useInviteMember,
|
|
1531
1434
|
useInviteMemberHook,
|
|
1532
1435
|
useInviteMemberMutationOptions,
|