@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
|
@@ -12,33 +12,6 @@ const MemberActionsItem = {
|
|
|
12
12
|
"revoke-invite": "revoke-invite",
|
|
13
13
|
"revoke-membership": "revoke-membership"
|
|
14
14
|
};
|
|
15
|
-
const CreateTotpFactorResponseAuthenticationFactorAllOfObject = {
|
|
16
|
-
authentication_factor: "authentication_factor"
|
|
17
|
-
};
|
|
18
|
-
const CreateTotpFactorResponseAuthenticationFactorAllOfType = {
|
|
19
|
-
generic_otp: "generic_otp",
|
|
20
|
-
sms: "sms",
|
|
21
|
-
totp: "totp",
|
|
22
|
-
webauthn: "webauthn"
|
|
23
|
-
};
|
|
24
|
-
const CreateTotpFactorResponseAuthenticationChallengeAllOfObject = {
|
|
25
|
-
authentication_challenge: "authentication_challenge"
|
|
26
|
-
};
|
|
27
|
-
const AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider = {
|
|
28
|
-
MFA: "MFA"
|
|
29
|
-
};
|
|
30
|
-
const AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider = {
|
|
31
|
-
Password: "Password"
|
|
32
|
-
};
|
|
33
|
-
const AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider = {
|
|
34
|
-
Passkey: "Passkey"
|
|
35
|
-
};
|
|
36
|
-
const SendVerificationResponseType = {
|
|
37
|
-
EmailVerification: "EmailVerification"
|
|
38
|
-
};
|
|
39
|
-
const SettingsResponseObject = {
|
|
40
|
-
settings: "settings"
|
|
41
|
-
};
|
|
42
15
|
const OrganizationDomainState = {
|
|
43
16
|
Failed: "Failed",
|
|
44
17
|
LegacyVerified: "LegacyVerified",
|
|
@@ -71,121 +44,6 @@ const SsoConnectionSessionJSONState = {
|
|
|
71
44
|
...SamlSessionState,
|
|
72
45
|
...OidcSessionState
|
|
73
46
|
};
|
|
74
|
-
const SsoConnectionAnyOfType = {
|
|
75
|
-
AdfsSaml: "AdfsSaml",
|
|
76
|
-
Auth0Saml: "Auth0Saml",
|
|
77
|
-
AzureSaml: "AzureSaml",
|
|
78
|
-
CasSaml: "CasSaml",
|
|
79
|
-
ClassLinkSaml: "ClassLinkSaml",
|
|
80
|
-
CloudflareSaml: "CloudflareSaml",
|
|
81
|
-
CyberArkSaml: "CyberArkSaml",
|
|
82
|
-
DuoSaml: "DuoSaml",
|
|
83
|
-
GenericSaml: "GenericSaml",
|
|
84
|
-
GoogleSaml: "GoogleSaml",
|
|
85
|
-
JumpCloudSaml: "JumpCloudSaml",
|
|
86
|
-
KeycloakSaml: "KeycloakSaml",
|
|
87
|
-
LastPassSaml: "LastPassSaml",
|
|
88
|
-
MiniOrangeSaml: "MiniOrangeSaml",
|
|
89
|
-
NetIqSaml: "NetIqSaml",
|
|
90
|
-
OktaSaml: "OktaSaml",
|
|
91
|
-
OneLoginSaml: "OneLoginSaml",
|
|
92
|
-
OracleSaml: "OracleSaml",
|
|
93
|
-
PingFederateSaml: "PingFederateSaml",
|
|
94
|
-
PingOneSaml: "PingOneSaml",
|
|
95
|
-
RipplingSaml: "RipplingSaml",
|
|
96
|
-
SalesforceSaml: "SalesforceSaml",
|
|
97
|
-
ShibbolethGenericSaml: "ShibbolethGenericSaml",
|
|
98
|
-
ShibbolethSaml: "ShibbolethSaml",
|
|
99
|
-
SimpleSamlPhpSaml: "SimpleSamlPhpSaml",
|
|
100
|
-
TestIdp: "TestIdp",
|
|
101
|
-
VmWareSaml: "VmWareSaml"
|
|
102
|
-
};
|
|
103
|
-
const SsoConnectionAnyOfState = {
|
|
104
|
-
Inactive: "Inactive",
|
|
105
|
-
Validating: "Validating",
|
|
106
|
-
Active: "Active",
|
|
107
|
-
Deleting: "Deleting"
|
|
108
|
-
};
|
|
109
|
-
const SsoConnectionAnyOfProviderTag = {
|
|
110
|
-
Saml: "Saml"
|
|
111
|
-
};
|
|
112
|
-
const SsoConnectionAnyOfEightAllOfState = {
|
|
113
|
-
Inactive: "Inactive",
|
|
114
|
-
Validating: "Validating",
|
|
115
|
-
Active: "Active",
|
|
116
|
-
Deleting: "Deleting"
|
|
117
|
-
};
|
|
118
|
-
const SsoConnectionAnyOfEightAllOfType = {
|
|
119
|
-
AdpOidc: "AdpOidc",
|
|
120
|
-
Auth0Migration: "Auth0Migration",
|
|
121
|
-
CleverOidc: "CleverOidc",
|
|
122
|
-
EntraIdOidc: "EntraIdOidc",
|
|
123
|
-
GenericOidc: "GenericOidc",
|
|
124
|
-
GoogleOidc: "GoogleOidc",
|
|
125
|
-
OktaOidc: "OktaOidc",
|
|
126
|
-
LoginGovOidc: "LoginGovOidc"
|
|
127
|
-
};
|
|
128
|
-
const SsoConnectionAnyOfEightAllOfProviderTag = {
|
|
129
|
-
OpenIdConnect: "OpenIdConnect"
|
|
130
|
-
};
|
|
131
|
-
const DataInstallationAllOfObject = {
|
|
132
|
-
data_installation: "data_installation",
|
|
133
|
-
connected_account: "connected_account"
|
|
134
|
-
};
|
|
135
|
-
const DataInstallationAllOfState = {
|
|
136
|
-
connected: "connected",
|
|
137
|
-
needs_reauthorization: "needs_reauthorization"
|
|
138
|
-
};
|
|
139
|
-
const DataIntegrationObject = {
|
|
140
|
-
data_integration: "data_integration"
|
|
141
|
-
};
|
|
142
|
-
const DataIntegrationIntegrationType = {
|
|
143
|
-
asana: "asana",
|
|
144
|
-
box: "box",
|
|
145
|
-
"cal-dot-com": "cal-dot-com",
|
|
146
|
-
calendly: "calendly",
|
|
147
|
-
confluence: "confluence",
|
|
148
|
-
dropbox: "dropbox",
|
|
149
|
-
"frame-io": "frame-io",
|
|
150
|
-
front: "front",
|
|
151
|
-
github: "github",
|
|
152
|
-
gitlab: "gitlab",
|
|
153
|
-
gmail: "gmail",
|
|
154
|
-
google: "google",
|
|
155
|
-
"google-calendar": "google-calendar",
|
|
156
|
-
"google-drive": "google-drive",
|
|
157
|
-
helpscout: "helpscout",
|
|
158
|
-
hubspot: "hubspot",
|
|
159
|
-
intercom: "intercom",
|
|
160
|
-
jira: "jira",
|
|
161
|
-
linear: "linear",
|
|
162
|
-
microsoft: "microsoft",
|
|
163
|
-
"microsoft-onedrive": "microsoft-onedrive",
|
|
164
|
-
"microsoft-onenote": "microsoft-onenote",
|
|
165
|
-
"microsoft-outlook": "microsoft-outlook",
|
|
166
|
-
"microsoft-outlook-calendar": "microsoft-outlook-calendar",
|
|
167
|
-
"microsoft-sharepoint": "microsoft-sharepoint",
|
|
168
|
-
"microsoft-teams": "microsoft-teams",
|
|
169
|
-
"microsoft-todo": "microsoft-todo",
|
|
170
|
-
notion: "notion",
|
|
171
|
-
prefect: "prefect",
|
|
172
|
-
"pydantic-logfire": "pydantic-logfire",
|
|
173
|
-
salesforce: "salesforce",
|
|
174
|
-
sentry: "sentry",
|
|
175
|
-
slack: "slack",
|
|
176
|
-
snowflake: "snowflake",
|
|
177
|
-
stripe: "stripe",
|
|
178
|
-
xero: "xero",
|
|
179
|
-
zendesk: "zendesk"
|
|
180
|
-
};
|
|
181
|
-
const DataIntegrationOwnership = {
|
|
182
|
-
userland_user: "userland_user",
|
|
183
|
-
organization: "organization"
|
|
184
|
-
};
|
|
185
|
-
const DataIntegrationCredentialsType = {
|
|
186
|
-
shared: "shared",
|
|
187
|
-
custom: "custom"
|
|
188
|
-
};
|
|
189
47
|
const DirectoryType = {
|
|
190
48
|
azure_scim_v20: "azure scim v2.0",
|
|
191
49
|
bamboohr: "bamboohr",
|
|
@@ -221,7 +79,8 @@ const DirectoryState = {
|
|
|
221
79
|
};
|
|
222
80
|
const GenerateAdminPortalLinkIntent = {
|
|
223
81
|
domain_verification: "domain_verification",
|
|
224
|
-
sso: "sso"
|
|
82
|
+
sso: "sso",
|
|
83
|
+
log_streams: "log_streams"
|
|
225
84
|
};
|
|
226
85
|
const getCreateOrganizationApiKeyUrl = () => {
|
|
227
86
|
return `https://api.workos.com/_widgets/ApiKeys/organization-api-keys`;
|
|
@@ -251,8 +110,10 @@ const getCreateOrganizationApiKeyMutationOptions = (options) => {
|
|
|
251
110
|
return { mutationFn, ...mutationOptions };
|
|
252
111
|
};
|
|
253
112
|
const useCreateOrganizationApiKey = (options, queryClient) => {
|
|
254
|
-
|
|
255
|
-
|
|
113
|
+
return useMutation(
|
|
114
|
+
getCreateOrganizationApiKeyMutationOptions(options),
|
|
115
|
+
queryClient
|
|
116
|
+
);
|
|
256
117
|
};
|
|
257
118
|
const getListOrganizationApiKeysUrl = (params) => {
|
|
258
119
|
const normalizedParams = new URLSearchParams();
|
|
@@ -292,8 +153,7 @@ const getListOrganizationApiKeysQueryOptions = (params, options) => {
|
|
|
292
153
|
function useListOrganizationApiKeys(params, options, queryClient) {
|
|
293
154
|
const queryOptions = getListOrganizationApiKeysQueryOptions(params, options);
|
|
294
155
|
const query = useQuery(queryOptions, queryClient);
|
|
295
|
-
query
|
|
296
|
-
return query;
|
|
156
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
297
157
|
}
|
|
298
158
|
const getListOrganizationApiKeyPermissionsUrl = (params) => {
|
|
299
159
|
const normalizedParams = new URLSearchParams();
|
|
@@ -336,8 +196,7 @@ function useListOrganizationApiKeyPermissions(params, options, queryClient) {
|
|
|
336
196
|
options
|
|
337
197
|
);
|
|
338
198
|
const query = useQuery(queryOptions, queryClient);
|
|
339
|
-
query
|
|
340
|
-
return query;
|
|
199
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
341
200
|
}
|
|
342
201
|
const getDeleteOrganizationApiKeyUrl = (apiKeyId) => {
|
|
343
202
|
return `https://api.workos.com/_widgets/ApiKeys/${apiKeyId}`;
|
|
@@ -365,8 +224,10 @@ const getDeleteOrganizationApiKeyMutationOptions = (options) => {
|
|
|
365
224
|
return { mutationFn, ...mutationOptions };
|
|
366
225
|
};
|
|
367
226
|
const useDeleteOrganizationApiKey = (options, queryClient) => {
|
|
368
|
-
|
|
369
|
-
|
|
227
|
+
return useMutation(
|
|
228
|
+
getDeleteOrganizationApiKeyMutationOptions(options),
|
|
229
|
+
queryClient
|
|
230
|
+
);
|
|
370
231
|
};
|
|
371
232
|
const getDeleteDataInstallationUrl = (installationId) => {
|
|
372
233
|
return `https://api.workos.com/_widgets/DataIntegrations/installations/${installationId}`;
|
|
@@ -394,8 +255,10 @@ const getDeleteDataInstallationMutationOptions = (options) => {
|
|
|
394
255
|
return { mutationFn, ...mutationOptions };
|
|
395
256
|
};
|
|
396
257
|
const useDeleteDataInstallation = (options, queryClient) => {
|
|
397
|
-
|
|
398
|
-
|
|
258
|
+
return useMutation(
|
|
259
|
+
getDeleteDataInstallationMutationOptions(options),
|
|
260
|
+
queryClient
|
|
261
|
+
);
|
|
399
262
|
};
|
|
400
263
|
const getMyDataIntegrationsUrl = () => {
|
|
401
264
|
return `https://api.workos.com/_widgets/DataIntegrations/mine`;
|
|
@@ -425,8 +288,7 @@ const getMyDataIntegrationsQueryOptions = (options) => {
|
|
|
425
288
|
function useMyDataIntegrations(options, queryClient) {
|
|
426
289
|
const queryOptions = getMyDataIntegrationsQueryOptions(options);
|
|
427
290
|
const query = useQuery(queryOptions, queryClient);
|
|
428
|
-
query
|
|
429
|
-
return query;
|
|
291
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
430
292
|
}
|
|
431
293
|
const getGetDataInstallationAuthorizationStatusUrl = (dataIntegrationId, state) => {
|
|
432
294
|
return `https://api.workos.com/_widgets/DataIntegrations/${dataIntegrationId}/authorization-status/${state}`;
|
|
@@ -473,8 +335,7 @@ function useGetDataInstallationAuthorizationStatus(dataIntegrationId, state, opt
|
|
|
473
335
|
options
|
|
474
336
|
);
|
|
475
337
|
const query = useQuery(queryOptions, queryClient);
|
|
476
|
-
query
|
|
477
|
-
return query;
|
|
338
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
478
339
|
}
|
|
479
340
|
const getGetDataIntegrationAuthorizeUrlUrl = (slug, params) => {
|
|
480
341
|
const normalizedParams = new URLSearchParams();
|
|
@@ -523,8 +384,7 @@ function useGetDataIntegrationAuthorizeUrl(slug, params, options, queryClient) {
|
|
|
523
384
|
options
|
|
524
385
|
);
|
|
525
386
|
const query = useQuery(queryOptions, queryClient);
|
|
526
|
-
query
|
|
527
|
-
return query;
|
|
387
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
528
388
|
}
|
|
529
389
|
const getInviteMemberUrl = () => {
|
|
530
390
|
return `https://api.workos.com/_widgets/UserManagement/invite-user`;
|
|
@@ -554,8 +414,7 @@ const getInviteMemberMutationOptions = (options) => {
|
|
|
554
414
|
return { mutationFn, ...mutationOptions };
|
|
555
415
|
};
|
|
556
416
|
const useInviteMember = (options, queryClient) => {
|
|
557
|
-
|
|
558
|
-
return useMutation(mutationOptions, queryClient);
|
|
417
|
+
return useMutation(getInviteMemberMutationOptions(options), queryClient);
|
|
559
418
|
};
|
|
560
419
|
const getRevokeInviteUrl = (userId) => {
|
|
561
420
|
return `https://api.workos.com/_widgets/UserManagement/invites/${userId}`;
|
|
@@ -583,8 +442,7 @@ const getRevokeInviteMutationOptions = (options) => {
|
|
|
583
442
|
return { mutationFn, ...mutationOptions };
|
|
584
443
|
};
|
|
585
444
|
const useRevokeInvite = (options, queryClient) => {
|
|
586
|
-
|
|
587
|
-
return useMutation(mutationOptions, queryClient);
|
|
445
|
+
return useMutation(getRevokeInviteMutationOptions(options), queryClient);
|
|
588
446
|
};
|
|
589
447
|
const getResendInviteUrl = (userId) => {
|
|
590
448
|
return `https://api.workos.com/_widgets/UserManagement/invites/${userId}/resend`;
|
|
@@ -612,8 +470,7 @@ const getResendInviteMutationOptions = (options) => {
|
|
|
612
470
|
return { mutationFn, ...mutationOptions };
|
|
613
471
|
};
|
|
614
472
|
const useResendInvite = (options, queryClient) => {
|
|
615
|
-
|
|
616
|
-
return useMutation(mutationOptions, queryClient);
|
|
473
|
+
return useMutation(getResendInviteMutationOptions(options), queryClient);
|
|
617
474
|
};
|
|
618
475
|
const getMembersUrl = (params) => {
|
|
619
476
|
const normalizedParams = new URLSearchParams();
|
|
@@ -651,8 +508,7 @@ const getMembersQueryOptions = (params, options) => {
|
|
|
651
508
|
function useMembers(params, options, queryClient) {
|
|
652
509
|
const queryOptions = getMembersQueryOptions(params, options);
|
|
653
510
|
const query = useQuery(queryOptions, queryClient);
|
|
654
|
-
query
|
|
655
|
-
return query;
|
|
511
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
656
512
|
}
|
|
657
513
|
const getRemoveMemberUrl = (userId) => {
|
|
658
514
|
return `https://api.workos.com/_widgets/UserManagement/members/${userId}`;
|
|
@@ -680,8 +536,7 @@ const getRemoveMemberMutationOptions = (options) => {
|
|
|
680
536
|
return { mutationFn, ...mutationOptions };
|
|
681
537
|
};
|
|
682
538
|
const useRemoveMember = (options, queryClient) => {
|
|
683
|
-
|
|
684
|
-
return useMutation(mutationOptions, queryClient);
|
|
539
|
+
return useMutation(getRemoveMemberMutationOptions(options), queryClient);
|
|
685
540
|
};
|
|
686
541
|
const getUpdateMemberUrl = (userId) => {
|
|
687
542
|
return `https://api.workos.com/_widgets/UserManagement/members/${userId}`;
|
|
@@ -711,8 +566,7 @@ const getUpdateMemberMutationOptions = (options) => {
|
|
|
711
566
|
return { mutationFn, ...mutationOptions };
|
|
712
567
|
};
|
|
713
568
|
const useUpdateMember = (options, queryClient) => {
|
|
714
|
-
|
|
715
|
-
return useMutation(mutationOptions, queryClient);
|
|
569
|
+
return useMutation(getUpdateMemberMutationOptions(options), queryClient);
|
|
716
570
|
};
|
|
717
571
|
const getOrganizationsUrl = () => {
|
|
718
572
|
return `https://api.workos.com/_widgets/UserManagement/organizations`;
|
|
@@ -746,8 +600,7 @@ const getOrganizationsQueryOptions = (options) => {
|
|
|
746
600
|
function useOrganizations(options, queryClient) {
|
|
747
601
|
const queryOptions = getOrganizationsQueryOptions(options);
|
|
748
602
|
const query = useQuery(queryOptions, queryClient);
|
|
749
|
-
query
|
|
750
|
-
return query;
|
|
603
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
751
604
|
}
|
|
752
605
|
const getRolesUrl = () => {
|
|
753
606
|
return `https://api.workos.com/_widgets/UserManagement/roles`;
|
|
@@ -775,8 +628,7 @@ const getRolesQueryOptions = (options) => {
|
|
|
775
628
|
function useRoles(options, queryClient) {
|
|
776
629
|
const queryOptions = getRolesQueryOptions(options);
|
|
777
630
|
const query = useQuery(queryOptions, queryClient);
|
|
778
|
-
query
|
|
779
|
-
return query;
|
|
631
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
780
632
|
}
|
|
781
633
|
const getRolesAndConfigUrl = () => {
|
|
782
634
|
return `https://api.workos.com/_widgets/UserManagement/roles-and-config`;
|
|
@@ -810,8 +662,7 @@ const getRolesAndConfigQueryOptions = (options) => {
|
|
|
810
662
|
function useRolesAndConfig(options, queryClient) {
|
|
811
663
|
const queryOptions = getRolesAndConfigQueryOptions(options);
|
|
812
664
|
const query = useQuery(queryOptions, queryClient);
|
|
813
|
-
query
|
|
814
|
-
return query;
|
|
665
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
815
666
|
}
|
|
816
667
|
const getAuthenticationInformationUrl = () => {
|
|
817
668
|
return `https://api.workos.com/_widgets/UserProfile/authentication-information`;
|
|
@@ -843,8 +694,7 @@ const getAuthenticationInformationQueryOptions = (options) => {
|
|
|
843
694
|
function useAuthenticationInformation(options, queryClient) {
|
|
844
695
|
const queryOptions = getAuthenticationInformationQueryOptions(options);
|
|
845
696
|
const query = useQuery(queryOptions, queryClient);
|
|
846
|
-
query
|
|
847
|
-
return query;
|
|
697
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
848
698
|
}
|
|
849
699
|
const getCreatePasswordUrl = () => {
|
|
850
700
|
return `https://api.workos.com/_widgets/UserProfile/create-password`;
|
|
@@ -874,8 +724,7 @@ const getCreatePasswordMutationOptions = (options) => {
|
|
|
874
724
|
return { mutationFn, ...mutationOptions };
|
|
875
725
|
};
|
|
876
726
|
const useCreatePassword = (options, queryClient) => {
|
|
877
|
-
|
|
878
|
-
return useMutation(mutationOptions, queryClient);
|
|
727
|
+
return useMutation(getCreatePasswordMutationOptions(options), queryClient);
|
|
879
728
|
};
|
|
880
729
|
const getCreateTotpFactorUrl = () => {
|
|
881
730
|
return `https://api.workos.com/_widgets/UserProfile/create-totp-factor`;
|
|
@@ -902,8 +751,7 @@ const getCreateTotpFactorMutationOptions = (options) => {
|
|
|
902
751
|
return { mutationFn, ...mutationOptions };
|
|
903
752
|
};
|
|
904
753
|
const useCreateTotpFactor = (options, queryClient) => {
|
|
905
|
-
|
|
906
|
-
return useMutation(mutationOptions, queryClient);
|
|
754
|
+
return useMutation(getCreateTotpFactorMutationOptions(options), queryClient);
|
|
907
755
|
};
|
|
908
756
|
const getMeUrl = () => {
|
|
909
757
|
return `https://api.workos.com/_widgets/UserProfile/me`;
|
|
@@ -929,8 +777,7 @@ const getMeQueryOptions = (options) => {
|
|
|
929
777
|
function useMe(options, queryClient) {
|
|
930
778
|
const queryOptions = getMeQueryOptions(options);
|
|
931
779
|
const query = useQuery(queryOptions, queryClient);
|
|
932
|
-
query
|
|
933
|
-
return query;
|
|
780
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
934
781
|
}
|
|
935
782
|
const getUpdateMeUrl = () => {
|
|
936
783
|
return `https://api.workos.com/_widgets/UserProfile/me`;
|
|
@@ -956,8 +803,7 @@ const getUpdateMeMutationOptions = (options) => {
|
|
|
956
803
|
return { mutationFn, ...mutationOptions };
|
|
957
804
|
};
|
|
958
805
|
const useUpdateMe = (options, queryClient) => {
|
|
959
|
-
|
|
960
|
-
return useMutation(mutationOptions, queryClient);
|
|
806
|
+
return useMutation(getUpdateMeMutationOptions(options), queryClient);
|
|
961
807
|
};
|
|
962
808
|
const getRegisterPasskeyUrl = () => {
|
|
963
809
|
return `https://api.workos.com/_widgets/UserProfile/passkeys`;
|
|
@@ -984,8 +830,7 @@ const getRegisterPasskeyMutationOptions = (options) => {
|
|
|
984
830
|
return { mutationFn, ...mutationOptions };
|
|
985
831
|
};
|
|
986
832
|
const useRegisterPasskey = (options, queryClient) => {
|
|
987
|
-
|
|
988
|
-
return useMutation(mutationOptions, queryClient);
|
|
833
|
+
return useMutation(getRegisterPasskeyMutationOptions(options), queryClient);
|
|
989
834
|
};
|
|
990
835
|
const getVerifyPasskeyUrl = () => {
|
|
991
836
|
return `https://api.workos.com/_widgets/UserProfile/passkeys/verify`;
|
|
@@ -1015,8 +860,7 @@ const getVerifyPasskeyMutationOptions = (options) => {
|
|
|
1015
860
|
return { mutationFn, ...mutationOptions };
|
|
1016
861
|
};
|
|
1017
862
|
const useVerifyPasskey = (options, queryClient) => {
|
|
1018
|
-
|
|
1019
|
-
return useMutation(mutationOptions, queryClient);
|
|
863
|
+
return useMutation(getVerifyPasskeyMutationOptions(options), queryClient);
|
|
1020
864
|
};
|
|
1021
865
|
const getDeletePasskeyUrl = (passkeyId) => {
|
|
1022
866
|
return `https://api.workos.com/_widgets/UserProfile/passkeys/${passkeyId}`;
|
|
@@ -1044,8 +888,7 @@ const getDeletePasskeyMutationOptions = (options) => {
|
|
|
1044
888
|
return { mutationFn, ...mutationOptions };
|
|
1045
889
|
};
|
|
1046
890
|
const useDeletePasskey = (options, queryClient) => {
|
|
1047
|
-
|
|
1048
|
-
return useMutation(mutationOptions, queryClient);
|
|
891
|
+
return useMutation(getDeletePasskeyMutationOptions(options), queryClient);
|
|
1049
892
|
};
|
|
1050
893
|
const getSendVerificationUrl = () => {
|
|
1051
894
|
return `https://api.workos.com/_widgets/UserProfile/send-verification`;
|
|
@@ -1072,8 +915,7 @@ const getSendVerificationMutationOptions = (options) => {
|
|
|
1072
915
|
return { mutationFn, ...mutationOptions };
|
|
1073
916
|
};
|
|
1074
917
|
const useSendVerification = (options, queryClient) => {
|
|
1075
|
-
|
|
1076
|
-
return useMutation(mutationOptions, queryClient);
|
|
918
|
+
return useMutation(getSendVerificationMutationOptions(options), queryClient);
|
|
1077
919
|
};
|
|
1078
920
|
const getSessionsUrl = () => {
|
|
1079
921
|
return `https://api.workos.com/_widgets/UserProfile/sessions`;
|
|
@@ -1101,8 +943,7 @@ const getSessionsQueryOptions = (options) => {
|
|
|
1101
943
|
function useSessions(options, queryClient) {
|
|
1102
944
|
const queryOptions = getSessionsQueryOptions(options);
|
|
1103
945
|
const query = useQuery(queryOptions, queryClient);
|
|
1104
|
-
query
|
|
1105
|
-
return query;
|
|
946
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1106
947
|
}
|
|
1107
948
|
const getRevokeAllSessionsUrl = () => {
|
|
1108
949
|
return `https://api.workos.com/_widgets/UserProfile/sessions/revoke-all`;
|
|
@@ -1132,8 +973,7 @@ const getRevokeAllSessionsMutationOptions = (options) => {
|
|
|
1132
973
|
return { mutationFn, ...mutationOptions };
|
|
1133
974
|
};
|
|
1134
975
|
const useRevokeAllSessions = (options, queryClient) => {
|
|
1135
|
-
|
|
1136
|
-
return useMutation(mutationOptions, queryClient);
|
|
976
|
+
return useMutation(getRevokeAllSessionsMutationOptions(options), queryClient);
|
|
1137
977
|
};
|
|
1138
978
|
const getRevokeSessionUrl = (sessionId) => {
|
|
1139
979
|
return `https://api.workos.com/_widgets/UserProfile/sessions/revoke/${sessionId}`;
|
|
@@ -1161,8 +1001,7 @@ const getRevokeSessionMutationOptions = (options) => {
|
|
|
1161
1001
|
return { mutationFn, ...mutationOptions };
|
|
1162
1002
|
};
|
|
1163
1003
|
const useRevokeSession = (options, queryClient) => {
|
|
1164
|
-
|
|
1165
|
-
return useMutation(mutationOptions, queryClient);
|
|
1004
|
+
return useMutation(getRevokeSessionMutationOptions(options), queryClient);
|
|
1166
1005
|
};
|
|
1167
1006
|
const getDeleteTotpFactorsUrl = () => {
|
|
1168
1007
|
return `https://api.workos.com/_widgets/UserProfile/totp-factors`;
|
|
@@ -1189,8 +1028,7 @@ const getDeleteTotpFactorsMutationOptions = (options) => {
|
|
|
1189
1028
|
return { mutationFn, ...mutationOptions };
|
|
1190
1029
|
};
|
|
1191
1030
|
const useDeleteTotpFactors = (options, queryClient) => {
|
|
1192
|
-
|
|
1193
|
-
return useMutation(mutationOptions, queryClient);
|
|
1031
|
+
return useMutation(getDeleteTotpFactorsMutationOptions(options), queryClient);
|
|
1194
1032
|
};
|
|
1195
1033
|
const getUpdatePasswordUrl = () => {
|
|
1196
1034
|
return `https://api.workos.com/_widgets/UserProfile/update-password`;
|
|
@@ -1220,8 +1058,7 @@ const getUpdatePasswordMutationOptions = (options) => {
|
|
|
1220
1058
|
return { mutationFn, ...mutationOptions };
|
|
1221
1059
|
};
|
|
1222
1060
|
const useUpdatePassword = (options, queryClient) => {
|
|
1223
|
-
|
|
1224
|
-
return useMutation(mutationOptions, queryClient);
|
|
1061
|
+
return useMutation(getUpdatePasswordMutationOptions(options), queryClient);
|
|
1225
1062
|
};
|
|
1226
1063
|
const getVerifyUrl = () => {
|
|
1227
1064
|
return `https://api.workos.com/_widgets/UserProfile/verify`;
|
|
@@ -1247,8 +1084,7 @@ const getVerifyMutationOptions = (options) => {
|
|
|
1247
1084
|
return { mutationFn, ...mutationOptions };
|
|
1248
1085
|
};
|
|
1249
1086
|
const useVerify = (options, queryClient) => {
|
|
1250
|
-
|
|
1251
|
-
return useMutation(mutationOptions, queryClient);
|
|
1087
|
+
return useMutation(getVerifyMutationOptions(options), queryClient);
|
|
1252
1088
|
};
|
|
1253
1089
|
const getVerifyTotpFactorUrl = () => {
|
|
1254
1090
|
return `https://api.workos.com/_widgets/UserProfile/verify-totp-factor`;
|
|
@@ -1278,9 +1114,40 @@ const getVerifyTotpFactorMutationOptions = (options) => {
|
|
|
1278
1114
|
return { mutationFn, ...mutationOptions };
|
|
1279
1115
|
};
|
|
1280
1116
|
const useVerifyTotpFactor = (options, queryClient) => {
|
|
1281
|
-
|
|
1282
|
-
|
|
1117
|
+
return useMutation(getVerifyTotpFactorMutationOptions(options), queryClient);
|
|
1118
|
+
};
|
|
1119
|
+
const getGetAuditLogStreamUrl = () => {
|
|
1120
|
+
return `https://api.workos.com/_widgets/admin-portal/audit-log-stream`;
|
|
1283
1121
|
};
|
|
1122
|
+
const getAuditLogStream = async (options) => {
|
|
1123
|
+
const res = await fetch(getGetAuditLogStreamUrl(), {
|
|
1124
|
+
...options,
|
|
1125
|
+
method: "GET"
|
|
1126
|
+
});
|
|
1127
|
+
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
1128
|
+
const data = body ? JSON.parse(body) : {};
|
|
1129
|
+
return {
|
|
1130
|
+
data,
|
|
1131
|
+
status: res.status,
|
|
1132
|
+
headers: res.headers
|
|
1133
|
+
};
|
|
1134
|
+
};
|
|
1135
|
+
const getGetAuditLogStreamQueryKey = () => {
|
|
1136
|
+
return [
|
|
1137
|
+
`https://api.workos.com/_widgets/admin-portal/audit-log-stream`
|
|
1138
|
+
];
|
|
1139
|
+
};
|
|
1140
|
+
const getGetAuditLogStreamQueryOptions = (options) => {
|
|
1141
|
+
const { query: queryOptions, fetch: fetchOptions } = options ?? {};
|
|
1142
|
+
const queryKey = queryOptions?.queryKey ?? getGetAuditLogStreamQueryKey();
|
|
1143
|
+
const queryFn = ({ signal }) => getAuditLogStream({ signal, ...fetchOptions });
|
|
1144
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
1145
|
+
};
|
|
1146
|
+
function useGetAuditLogStream(options, queryClient) {
|
|
1147
|
+
const queryOptions = getGetAuditLogStreamQueryOptions(options);
|
|
1148
|
+
const query = useQuery(queryOptions, queryClient);
|
|
1149
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1150
|
+
}
|
|
1284
1151
|
const getGenerateAdminPortalLinkUrl = (params) => {
|
|
1285
1152
|
const normalizedParams = new URLSearchParams();
|
|
1286
1153
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1314,8 +1181,10 @@ const getGenerateAdminPortalLinkMutationOptions = (options) => {
|
|
|
1314
1181
|
return { mutationFn, ...mutationOptions };
|
|
1315
1182
|
};
|
|
1316
1183
|
const useGenerateAdminPortalLink = (options, queryClient) => {
|
|
1317
|
-
|
|
1318
|
-
|
|
1184
|
+
return useMutation(
|
|
1185
|
+
getGenerateAdminPortalLinkMutationOptions(options),
|
|
1186
|
+
queryClient
|
|
1187
|
+
);
|
|
1319
1188
|
};
|
|
1320
1189
|
const getListOrganizationDomainsUrl = () => {
|
|
1321
1190
|
return `https://api.workos.com/_widgets/admin-portal/organization-domains`;
|
|
@@ -1347,8 +1216,7 @@ const getListOrganizationDomainsQueryOptions = (options) => {
|
|
|
1347
1216
|
function useListOrganizationDomains(options, queryClient) {
|
|
1348
1217
|
const queryOptions = getListOrganizationDomainsQueryOptions(options);
|
|
1349
1218
|
const query = useQuery(queryOptions, queryClient);
|
|
1350
|
-
query
|
|
1351
|
-
return query;
|
|
1219
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1352
1220
|
}
|
|
1353
1221
|
const getDeleteOrganizationDomainUrl = (domainId) => {
|
|
1354
1222
|
return `https://api.workos.com/_widgets/admin-portal/organization-domains/${domainId}`;
|
|
@@ -1376,8 +1244,10 @@ const getDeleteOrganizationDomainMutationOptions = (options) => {
|
|
|
1376
1244
|
return { mutationFn, ...mutationOptions };
|
|
1377
1245
|
};
|
|
1378
1246
|
const useDeleteOrganizationDomain = (options, queryClient) => {
|
|
1379
|
-
|
|
1380
|
-
|
|
1247
|
+
return useMutation(
|
|
1248
|
+
getDeleteOrganizationDomainMutationOptions(options),
|
|
1249
|
+
queryClient
|
|
1250
|
+
);
|
|
1381
1251
|
};
|
|
1382
1252
|
const getReverifyOrganizationDomainUrl = (domainId) => {
|
|
1383
1253
|
return `https://api.workos.com/_widgets/admin-portal/organization-domains/${domainId}/reverify`;
|
|
@@ -1405,8 +1275,10 @@ const getReverifyOrganizationDomainMutationOptions = (options) => {
|
|
|
1405
1275
|
return { mutationFn, ...mutationOptions };
|
|
1406
1276
|
};
|
|
1407
1277
|
const useReverifyOrganizationDomain = (options, queryClient) => {
|
|
1408
|
-
|
|
1409
|
-
|
|
1278
|
+
return useMutation(
|
|
1279
|
+
getReverifyOrganizationDomainMutationOptions(options),
|
|
1280
|
+
queryClient
|
|
1281
|
+
);
|
|
1410
1282
|
};
|
|
1411
1283
|
const getListSsoConnectionsUrl = () => {
|
|
1412
1284
|
return `https://api.workos.com/_widgets/admin-portal/sso-connections`;
|
|
@@ -1438,8 +1310,7 @@ const getListSsoConnectionsQueryOptions = (options) => {
|
|
|
1438
1310
|
function useListSsoConnections(options, queryClient) {
|
|
1439
1311
|
const queryOptions = getListSsoConnectionsQueryOptions(options);
|
|
1440
1312
|
const query = useQuery(queryOptions, queryClient);
|
|
1441
|
-
query
|
|
1442
|
-
return query;
|
|
1313
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1443
1314
|
}
|
|
1444
1315
|
const getListDirectoriesUrl = () => {
|
|
1445
1316
|
return `https://api.workos.com/_widgets/directory-sync/directories`;
|
|
@@ -1473,8 +1344,46 @@ const getListDirectoriesQueryOptions = (options) => {
|
|
|
1473
1344
|
function useListDirectories(options, queryClient) {
|
|
1474
1345
|
const queryOptions = getListDirectoriesQueryOptions(options);
|
|
1475
1346
|
const query = useQuery(queryOptions, queryClient);
|
|
1476
|
-
query
|
|
1477
|
-
|
|
1347
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1348
|
+
}
|
|
1349
|
+
const getGetDirectoryUrl = (directoryId) => {
|
|
1350
|
+
return `https://api.workos.com/_widgets/directory-sync/directories/${directoryId}`;
|
|
1351
|
+
};
|
|
1352
|
+
const getDirectory = async (directoryId, options) => {
|
|
1353
|
+
const res = await fetch(getGetDirectoryUrl(directoryId), {
|
|
1354
|
+
...options,
|
|
1355
|
+
method: "GET"
|
|
1356
|
+
});
|
|
1357
|
+
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
1358
|
+
const data = body ? JSON.parse(body) : {};
|
|
1359
|
+
return {
|
|
1360
|
+
data,
|
|
1361
|
+
status: res.status,
|
|
1362
|
+
headers: res.headers
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
1365
|
+
const getGetDirectoryQueryKey = (directoryId) => {
|
|
1366
|
+
return [
|
|
1367
|
+
`https://api.workos.com/_widgets/directory-sync/directories/${directoryId}`
|
|
1368
|
+
];
|
|
1369
|
+
};
|
|
1370
|
+
const getGetDirectoryQueryOptions = (directoryId, options) => {
|
|
1371
|
+
const { query: queryOptions, fetch: fetchOptions } = options ?? {};
|
|
1372
|
+
const queryKey = queryOptions?.queryKey ?? getGetDirectoryQueryKey(directoryId);
|
|
1373
|
+
const queryFn = ({
|
|
1374
|
+
signal
|
|
1375
|
+
}) => getDirectory(directoryId, { signal, ...fetchOptions });
|
|
1376
|
+
return {
|
|
1377
|
+
queryKey,
|
|
1378
|
+
queryFn,
|
|
1379
|
+
enabled: !!directoryId,
|
|
1380
|
+
...queryOptions
|
|
1381
|
+
};
|
|
1382
|
+
};
|
|
1383
|
+
function useGetDirectory(directoryId, options, queryClient) {
|
|
1384
|
+
const queryOptions = getGetDirectoryQueryOptions(directoryId, options);
|
|
1385
|
+
const query = useQuery(queryOptions, queryClient);
|
|
1386
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1478
1387
|
}
|
|
1479
1388
|
const getSettingsUrl = () => {
|
|
1480
1389
|
return `https://api.workos.com/_widgets/settings`;
|
|
@@ -1502,22 +1411,9 @@ const getSettingsQueryOptions = (options) => {
|
|
|
1502
1411
|
function useSettings(options, queryClient) {
|
|
1503
1412
|
const queryOptions = getSettingsQueryOptions(options);
|
|
1504
1413
|
const query = useQuery(queryOptions, queryClient);
|
|
1505
|
-
query
|
|
1506
|
-
return query;
|
|
1414
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1507
1415
|
}
|
|
1508
1416
|
export {
|
|
1509
|
-
AuthenticationInformationResponseDataVerificationMethodsMfaOneOfProvider,
|
|
1510
|
-
AuthenticationInformationResponseDataVerificationMethodsPasskeyOneOfProvider,
|
|
1511
|
-
AuthenticationInformationResponseDataVerificationMethodsPasswordOneOfProvider,
|
|
1512
|
-
CreateTotpFactorResponseAuthenticationChallengeAllOfObject,
|
|
1513
|
-
CreateTotpFactorResponseAuthenticationFactorAllOfObject,
|
|
1514
|
-
CreateTotpFactorResponseAuthenticationFactorAllOfType,
|
|
1515
|
-
DataInstallationAllOfObject,
|
|
1516
|
-
DataInstallationAllOfState,
|
|
1517
|
-
DataIntegrationCredentialsType,
|
|
1518
|
-
DataIntegrationIntegrationType,
|
|
1519
|
-
DataIntegrationObject,
|
|
1520
|
-
DataIntegrationOwnership,
|
|
1521
1417
|
DirectoryState,
|
|
1522
1418
|
DirectoryType,
|
|
1523
1419
|
DomainVerificationNameServer,
|
|
@@ -1527,14 +1423,6 @@ export {
|
|
|
1527
1423
|
OidcSessionState,
|
|
1528
1424
|
OrganizationDomainState,
|
|
1529
1425
|
SamlSessionState,
|
|
1530
|
-
SendVerificationResponseType,
|
|
1531
|
-
SettingsResponseObject,
|
|
1532
|
-
SsoConnectionAnyOfEightAllOfProviderTag,
|
|
1533
|
-
SsoConnectionAnyOfEightAllOfState,
|
|
1534
|
-
SsoConnectionAnyOfEightAllOfType,
|
|
1535
|
-
SsoConnectionAnyOfProviderTag,
|
|
1536
|
-
SsoConnectionAnyOfState,
|
|
1537
|
-
SsoConnectionAnyOfType,
|
|
1538
1426
|
SsoConnectionSessionJSONState,
|
|
1539
1427
|
authenticationInformation,
|
|
1540
1428
|
createOrganizationApiKey,
|
|
@@ -1546,6 +1434,7 @@ export {
|
|
|
1546
1434
|
deletePasskey,
|
|
1547
1435
|
deleteTotpFactors,
|
|
1548
1436
|
generateAdminPortalLink,
|
|
1437
|
+
getAuditLogStream,
|
|
1549
1438
|
getAuthenticationInformationQueryKey,
|
|
1550
1439
|
getAuthenticationInformationQueryOptions,
|
|
1551
1440
|
getAuthenticationInformationUrl,
|
|
@@ -1567,14 +1456,21 @@ export {
|
|
|
1567
1456
|
getDeletePasskeyUrl,
|
|
1568
1457
|
getDeleteTotpFactorsMutationOptions,
|
|
1569
1458
|
getDeleteTotpFactorsUrl,
|
|
1459
|
+
getDirectory,
|
|
1570
1460
|
getGenerateAdminPortalLinkMutationOptions,
|
|
1571
1461
|
getGenerateAdminPortalLinkUrl,
|
|
1462
|
+
getGetAuditLogStreamQueryKey,
|
|
1463
|
+
getGetAuditLogStreamQueryOptions,
|
|
1464
|
+
getGetAuditLogStreamUrl,
|
|
1572
1465
|
getGetDataInstallationAuthorizationStatusQueryKey,
|
|
1573
1466
|
getGetDataInstallationAuthorizationStatusQueryOptions,
|
|
1574
1467
|
getGetDataInstallationAuthorizationStatusUrl,
|
|
1575
1468
|
getGetDataIntegrationAuthorizeUrlQueryKey,
|
|
1576
1469
|
getGetDataIntegrationAuthorizeUrlQueryOptions,
|
|
1577
1470
|
getGetDataIntegrationAuthorizeUrlUrl,
|
|
1471
|
+
getGetDirectoryQueryKey,
|
|
1472
|
+
getGetDirectoryQueryOptions,
|
|
1473
|
+
getGetDirectoryUrl,
|
|
1578
1474
|
getInviteMemberMutationOptions,
|
|
1579
1475
|
getInviteMemberUrl,
|
|
1580
1476
|
getListDirectoriesQueryKey,
|
|
@@ -1679,8 +1575,10 @@ export {
|
|
|
1679
1575
|
useDeletePasskey,
|
|
1680
1576
|
useDeleteTotpFactors,
|
|
1681
1577
|
useGenerateAdminPortalLink,
|
|
1578
|
+
useGetAuditLogStream,
|
|
1682
1579
|
useGetDataInstallationAuthorizationStatus,
|
|
1683
1580
|
useGetDataIntegrationAuthorizeUrl,
|
|
1581
|
+
useGetDirectory,
|
|
1684
1582
|
useInviteMember,
|
|
1685
1583
|
useListDirectories,
|
|
1686
1584
|
useListOrganizationApiKeyPermissions,
|