@workos-inc/widgets 1.5.1 → 1.6.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 +11 -0
- package/dist/cjs/admin-portal-domain-verification.client.cjs +32 -17
- package/dist/cjs/admin-portal-domain-verification.client.cjs.map +1 -1
- package/dist/cjs/admin-portal-domain-verification.client.d.cts +3 -2
- package/dist/cjs/{admin-portal-sso-connection-client.cjs → admin-portal-sso-connection.client.cjs} +58 -31
- package/dist/cjs/admin-portal-sso-connection.client.cjs.map +1 -0
- package/dist/cjs/admin-portal-sso-connection.client.d.cts +16 -0
- package/dist/cjs/api/api-provider.cjs +1 -1
- 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 +62 -2
- package/dist/cjs/api/endpoint.cjs.map +1 -1
- package/dist/cjs/api/endpoint.d.cts +62 -1
- package/dist/cjs/{api-keys-client.cjs → api-keys.client.cjs} +42 -25
- package/dist/cjs/api-keys.client.cjs.map +1 -0
- package/dist/cjs/api-keys.client.d.cts +15 -0
- package/dist/cjs/index.cjs +9 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +6 -2
- package/dist/cjs/lib/admin-portal-domain-verification.cjs +33 -34
- package/dist/cjs/lib/admin-portal-domain-verification.cjs.map +1 -1
- package/dist/cjs/lib/admin-portal-domain-verification.d.cts +10 -6
- package/dist/cjs/lib/admin-portal-sso-connection.cjs +79 -79
- package/dist/cjs/lib/admin-portal-sso-connection.cjs.map +1 -1
- package/dist/cjs/lib/admin-portal-sso-connection.d.cts +13 -6
- package/dist/cjs/lib/api-keys/api-keys.cjs +70 -66
- package/dist/cjs/lib/api-keys/api-keys.cjs.map +1 -1
- package/dist/cjs/lib/api-keys/api-keys.d.cts +16 -8
- package/dist/cjs/lib/constants.cjs +5 -2
- package/dist/cjs/lib/constants.cjs.map +1 -1
- package/dist/cjs/lib/constants.d.cts +2 -1
- package/dist/cjs/lib/elevated-access.cjs.map +1 -1
- package/dist/cjs/lib/empty-state.cjs +24 -8
- package/dist/cjs/lib/empty-state.cjs.map +1 -1
- package/dist/cjs/lib/empty-state.d.cts +6 -2
- package/dist/cjs/lib/generic-error.cjs +33 -24
- package/dist/cjs/lib/generic-error.cjs.map +1 -1
- package/dist/cjs/lib/generic-error.d.cts +5 -2
- package/dist/cjs/lib/identity-providers.cjs +2 -1
- package/dist/cjs/lib/identity-providers.cjs.map +1 -1
- package/dist/cjs/lib/identity-providers.d.cts +2 -2
- package/dist/cjs/lib/oauth-icons.cjs +12 -7
- package/dist/cjs/lib/oauth-icons.cjs.map +1 -1
- package/dist/cjs/lib/oauth-icons.d.cts +7 -3
- package/dist/cjs/lib/organization-switcher.cjs +62 -9
- package/dist/cjs/lib/organization-switcher.cjs.map +1 -1
- package/dist/cjs/lib/organization-switcher.d.cts +12 -9
- package/dist/cjs/lib/otp-input.cjs +1 -1
- package/dist/cjs/lib/otp-input.cjs.map +1 -1
- package/dist/cjs/lib/pipes.cjs +343 -0
- package/dist/cjs/lib/pipes.cjs.map +1 -0
- package/dist/cjs/lib/pipes.d.cts +19 -0
- package/dist/cjs/lib/provider-icon.cjs +0 -6
- package/dist/cjs/lib/provider-icon.cjs.map +1 -1
- package/dist/cjs/lib/provider-icon.d.cts +4 -1
- package/dist/cjs/lib/save-button.cjs.map +1 -1
- package/dist/cjs/lib/user-profile.cjs +77 -83
- package/dist/cjs/lib/user-profile.cjs.map +1 -1
- package/dist/cjs/lib/user-profile.d.cts +11 -7
- package/dist/cjs/lib/user-security.cjs +30 -24
- package/dist/cjs/lib/user-security.cjs.map +1 -1
- package/dist/cjs/lib/user-security.d.cts +10 -7
- package/dist/cjs/lib/user-sessions.cjs +19 -9
- package/dist/cjs/lib/user-sessions.cjs.map +1 -1
- package/dist/cjs/lib/user-sessions.d.cts +10 -6
- package/dist/cjs/lib/users-management.cjs +224 -216
- package/dist/cjs/lib/users-management.cjs.map +1 -1
- package/dist/cjs/lib/users-management.d.cts +10 -7
- package/dist/cjs/lib/utils.cjs +43 -0
- package/dist/cjs/lib/utils.cjs.map +1 -1
- package/dist/cjs/lib/utils.d.cts +29 -2
- package/dist/cjs/organization-switcher.client.cjs +45 -16
- package/dist/cjs/organization-switcher.client.cjs.map +1 -1
- package/dist/cjs/organization-switcher.client.d.cts +2 -1
- package/dist/cjs/pipes.client.cjs +64 -0
- package/dist/cjs/pipes.client.cjs.map +1 -0
- package/dist/cjs/pipes.client.d.cts +15 -0
- package/dist/cjs/user-profile.client.cjs +27 -10
- package/dist/cjs/user-profile.client.cjs.map +1 -1
- package/dist/cjs/user-profile.client.d.cts +4 -3
- package/dist/cjs/user-security.client.cjs +27 -10
- package/dist/cjs/user-security.client.cjs.map +1 -1
- package/dist/cjs/user-security.client.d.cts +3 -2
- package/dist/cjs/user-sessions.client.cjs +34 -16
- package/dist/cjs/user-sessions.client.cjs.map +1 -1
- package/dist/cjs/user-sessions.client.d.cts +4 -2
- package/dist/cjs/users-management.client.cjs +35 -18
- package/dist/cjs/users-management.client.cjs.map +1 -1
- package/dist/cjs/users-management.client.d.cts +3 -2
- package/dist/cjs/workos-widgets.client.cjs +7 -12
- package/dist/cjs/workos-widgets.client.cjs.map +1 -1
- package/dist/css/lib/provider-icon.css +16 -11
- package/dist/esm/admin-portal-domain-verification.client.d.ts +3 -2
- package/dist/esm/admin-portal-domain-verification.client.js +31 -17
- package/dist/esm/admin-portal-domain-verification.client.js.map +1 -1
- package/dist/esm/admin-portal-sso-connection.client.d.ts +16 -0
- package/dist/esm/{admin-portal-sso-connection-client.js → admin-portal-sso-connection.client.js} +57 -31
- package/dist/esm/admin-portal-sso-connection.client.js.map +1 -0
- package/dist/esm/api/api-provider.d.ts +1 -1
- package/dist/esm/api/api-provider.js +1 -1
- package/dist/esm/api/api-provider.js.map +1 -1
- package/dist/esm/api/endpoint.d.ts +62 -1
- package/dist/esm/api/endpoint.js +56 -2
- package/dist/esm/api/endpoint.js.map +1 -1
- package/dist/esm/api-keys.client.d.ts +15 -0
- package/dist/esm/api-keys.client.js +75 -0
- package/dist/esm/api-keys.client.js.map +1 -0
- package/dist/esm/index.d.ts +6 -2
- package/dist/esm/index.js +9 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lib/admin-portal-domain-verification.d.ts +10 -6
- package/dist/esm/lib/admin-portal-domain-verification.js +33 -34
- package/dist/esm/lib/admin-portal-domain-verification.js.map +1 -1
- package/dist/esm/lib/admin-portal-sso-connection.d.ts +13 -6
- package/dist/esm/lib/admin-portal-sso-connection.js +83 -80
- package/dist/esm/lib/admin-portal-sso-connection.js.map +1 -1
- package/dist/esm/lib/api-keys/api-keys.d.ts +16 -8
- package/dist/esm/lib/api-keys/api-keys.js +69 -54
- package/dist/esm/lib/api-keys/api-keys.js.map +1 -1
- package/dist/esm/lib/constants.d.ts +2 -1
- package/dist/esm/lib/constants.js +3 -1
- package/dist/esm/lib/constants.js.map +1 -1
- package/dist/esm/lib/elevated-access.js.map +1 -1
- package/dist/esm/lib/empty-state.d.ts +6 -2
- package/dist/esm/lib/empty-state.js +24 -8
- package/dist/esm/lib/empty-state.js.map +1 -1
- package/dist/esm/lib/generic-error.d.ts +5 -2
- package/dist/esm/lib/generic-error.js +33 -24
- package/dist/esm/lib/generic-error.js.map +1 -1
- package/dist/esm/lib/identity-providers.d.ts +2 -2
- package/dist/esm/lib/identity-providers.js +2 -1
- package/dist/esm/lib/identity-providers.js.map +1 -1
- package/dist/esm/lib/oauth-icons.d.ts +7 -3
- package/dist/esm/lib/oauth-icons.js +11 -6
- package/dist/esm/lib/oauth-icons.js.map +1 -1
- package/dist/esm/lib/organization-switcher.d.ts +12 -9
- package/dist/esm/lib/organization-switcher.js +54 -9
- package/dist/esm/lib/organization-switcher.js.map +1 -1
- package/dist/esm/lib/otp-input.js +1 -1
- package/dist/esm/lib/otp-input.js.map +1 -1
- package/dist/esm/lib/pipes.d.ts +19 -0
- package/dist/esm/lib/pipes.js +334 -0
- package/dist/esm/lib/pipes.js.map +1 -0
- package/dist/esm/lib/provider-icon.d.ts +4 -1
- package/dist/esm/lib/provider-icon.js +0 -8
- package/dist/esm/lib/provider-icon.js.map +1 -1
- package/dist/esm/lib/save-button.js.map +1 -1
- package/dist/esm/lib/user-profile.d.ts +11 -7
- package/dist/esm/lib/user-profile.js +82 -75
- package/dist/esm/lib/user-profile.js.map +1 -1
- package/dist/esm/lib/user-security.d.ts +10 -7
- package/dist/esm/lib/user-security.js +34 -25
- package/dist/esm/lib/user-security.js.map +1 -1
- package/dist/esm/lib/user-sessions.d.ts +10 -6
- package/dist/esm/lib/user-sessions.js +20 -9
- package/dist/esm/lib/user-sessions.js.map +1 -1
- package/dist/esm/lib/users-management.d.ts +10 -7
- package/dist/esm/lib/users-management.js +230 -217
- package/dist/esm/lib/users-management.js.map +1 -1
- package/dist/esm/lib/utils.d.ts +29 -2
- package/dist/esm/lib/utils.js +46 -1
- package/dist/esm/lib/utils.js.map +1 -1
- package/dist/esm/organization-switcher.client.d.ts +2 -1
- package/dist/esm/organization-switcher.client.js +44 -16
- package/dist/esm/organization-switcher.client.js.map +1 -1
- package/dist/esm/pipes.client.d.ts +15 -0
- package/dist/esm/pipes.client.js +42 -0
- package/dist/esm/pipes.client.js.map +1 -0
- package/dist/esm/user-profile.client.d.ts +4 -3
- package/dist/esm/user-profile.client.js +26 -10
- package/dist/esm/user-profile.client.js.map +1 -1
- package/dist/esm/user-security.client.d.ts +3 -2
- package/dist/esm/user-security.client.js +26 -10
- package/dist/esm/user-security.client.js.map +1 -1
- package/dist/esm/user-sessions.client.d.ts +4 -2
- package/dist/esm/user-sessions.client.js +33 -16
- package/dist/esm/user-sessions.client.js.map +1 -1
- package/dist/esm/users-management.client.d.ts +3 -2
- package/dist/esm/users-management.client.js +34 -18
- package/dist/esm/users-management.client.js.map +1 -1
- package/dist/esm/workos-widgets.client.js +7 -12
- package/dist/esm/workos-widgets.client.js.map +1 -1
- package/package.json +17 -10
- package/dist/cjs/admin-portal-sso-connection-client.cjs.map +0 -1
- package/dist/cjs/admin-portal-sso-connection-client.d.cts +0 -12
- package/dist/cjs/api-keys-client.cjs.map +0 -1
- package/dist/cjs/api-keys-client.d.cts +0 -10
- package/dist/esm/admin-portal-sso-connection-client.d.ts +0 -12
- package/dist/esm/admin-portal-sso-connection-client.js.map +0 -1
- package/dist/esm/api-keys-client.d.ts +0 -10
- package/dist/esm/api-keys-client.js +0 -60
- package/dist/esm/api-keys-client.js.map +0 -1
|
@@ -341,6 +341,23 @@ interface VerifyPasskeyRequest {
|
|
|
341
341
|
challengeId: string;
|
|
342
342
|
response: VerifyPasskeyRequestResponse;
|
|
343
343
|
}
|
|
344
|
+
type SettingsResponseObject = (typeof SettingsResponseObject)[keyof typeof SettingsResponseObject];
|
|
345
|
+
declare const SettingsResponseObject: {
|
|
346
|
+
readonly settings: "settings";
|
|
347
|
+
};
|
|
348
|
+
interface SettingsResponse {
|
|
349
|
+
object: SettingsResponseObject;
|
|
350
|
+
authkitOrigin: string;
|
|
351
|
+
/** @nullable */
|
|
352
|
+
logoDarkIconPath?: string | null;
|
|
353
|
+
/** @nullable */
|
|
354
|
+
logoDarkPath?: string | null;
|
|
355
|
+
/** @nullable */
|
|
356
|
+
logoLightIconPath?: string | null;
|
|
357
|
+
/** @nullable */
|
|
358
|
+
logoLightPath?: string | null;
|
|
359
|
+
teamName: string;
|
|
360
|
+
}
|
|
344
361
|
type OrganizationDomainState = (typeof OrganizationDomainState)[keyof typeof OrganizationDomainState];
|
|
345
362
|
declare const OrganizationDomainState: {
|
|
346
363
|
readonly Failed: "Failed";
|
|
@@ -385,6 +402,7 @@ declare const SamlSessionState: {
|
|
|
385
402
|
readonly Failed: "Failed";
|
|
386
403
|
readonly Started: "Started";
|
|
387
404
|
readonly Successful: "Successful";
|
|
405
|
+
readonly Timedout: "Timedout";
|
|
388
406
|
};
|
|
389
407
|
type OidcSessionState = (typeof OidcSessionState)[keyof typeof OidcSessionState];
|
|
390
408
|
declare const OidcSessionState: {
|
|
@@ -393,6 +411,7 @@ declare const OidcSessionState: {
|
|
|
393
411
|
readonly Successful: "Successful";
|
|
394
412
|
readonly Failed: "Failed";
|
|
395
413
|
readonly Terminated: "Terminated";
|
|
414
|
+
readonly Timedout: "Timedout";
|
|
396
415
|
};
|
|
397
416
|
declare const SsoConnectionSessionJSONState: {
|
|
398
417
|
readonly Started: "Started";
|
|
@@ -400,6 +419,7 @@ declare const SsoConnectionSessionJSONState: {
|
|
|
400
419
|
readonly Successful: "Successful";
|
|
401
420
|
readonly Failed: "Failed";
|
|
402
421
|
readonly Terminated: "Terminated";
|
|
422
|
+
readonly Timedout: "Timedout";
|
|
403
423
|
};
|
|
404
424
|
interface SsoConnectionSessionJSON {
|
|
405
425
|
id: string;
|
|
@@ -473,6 +493,7 @@ type SsoConnectionAnyOfEightAllOfType = (typeof SsoConnectionAnyOfEightAllOfType
|
|
|
473
493
|
declare const SsoConnectionAnyOfEightAllOfType: {
|
|
474
494
|
readonly AdpOidc: "AdpOidc";
|
|
475
495
|
readonly Auth0Migration: "Auth0Migration";
|
|
496
|
+
readonly CleverOidc: "CleverOidc";
|
|
476
497
|
readonly EntraIdOidc: "EntraIdOidc";
|
|
477
498
|
readonly GenericOidc: "GenericOidc";
|
|
478
499
|
readonly GoogleOidc: "GoogleOidc";
|
|
@@ -571,6 +592,7 @@ declare const DataIntegrationObject: {
|
|
|
571
592
|
declare const DataIntegrationIntegrationType: {
|
|
572
593
|
readonly asana: "asana";
|
|
573
594
|
readonly box: "box";
|
|
595
|
+
readonly confluence: "confluence";
|
|
574
596
|
readonly dropbox: "dropbox";
|
|
575
597
|
readonly github: "github";
|
|
576
598
|
readonly gitlab: "gitlab";
|
|
@@ -580,10 +602,17 @@ declare const DataIntegrationIntegrationType: {
|
|
|
580
602
|
readonly "google-drive": "google-drive";
|
|
581
603
|
readonly hubspot: "hubspot";
|
|
582
604
|
readonly intercom: "intercom";
|
|
605
|
+
readonly jira: "jira";
|
|
583
606
|
readonly linear: "linear";
|
|
584
607
|
readonly microsoft: "microsoft";
|
|
608
|
+
readonly "microsoft-onedrive": "microsoft-onedrive";
|
|
609
|
+
readonly "microsoft-outlook": "microsoft-outlook";
|
|
610
|
+
readonly "microsoft-outlook-calendar": "microsoft-outlook-calendar";
|
|
585
611
|
readonly notion: "notion";
|
|
612
|
+
readonly prefect: "prefect";
|
|
613
|
+
readonly "pydantic-logfire": "pydantic-logfire";
|
|
586
614
|
readonly salesforce: "salesforce";
|
|
615
|
+
readonly sentry: "sentry";
|
|
587
616
|
readonly slack: "slack";
|
|
588
617
|
readonly stripe: "stripe";
|
|
589
618
|
readonly zendesk: "zendesk";
|
|
@@ -592,6 +621,10 @@ declare const DataIntegrationOwnership: {
|
|
|
592
621
|
readonly userland_user: "userland_user";
|
|
593
622
|
readonly organization: "organization";
|
|
594
623
|
};
|
|
624
|
+
declare const DataIntegrationCredentialsType: {
|
|
625
|
+
readonly shared: "shared";
|
|
626
|
+
readonly custom: "custom";
|
|
627
|
+
};
|
|
595
628
|
type DataIntegrationInstallation = DataInstallation | null;
|
|
596
629
|
interface DataIntegration {
|
|
597
630
|
object: DataIntegrationObject;
|
|
@@ -602,6 +635,7 @@ interface DataIntegration {
|
|
|
602
635
|
slug: string;
|
|
603
636
|
integrationType: (typeof DataIntegrationIntegrationType)[keyof typeof DataIntegrationIntegrationType];
|
|
604
637
|
ownership: (typeof DataIntegrationOwnership)[keyof typeof DataIntegrationOwnership];
|
|
638
|
+
credentialsType: (typeof DataIntegrationCredentialsType)[keyof typeof DataIntegrationCredentialsType];
|
|
605
639
|
/** @nullable */
|
|
606
640
|
scopes?: string[] | null;
|
|
607
641
|
createdAt: string;
|
|
@@ -844,6 +878,9 @@ type DeletePasskey400 = {
|
|
|
844
878
|
type DeletePasskey403 = {
|
|
845
879
|
message: string;
|
|
846
880
|
};
|
|
881
|
+
type Settings403 = {
|
|
882
|
+
message: string;
|
|
883
|
+
};
|
|
847
884
|
type ListOrganizationDomains200 = {
|
|
848
885
|
data: OrganizationDomain[];
|
|
849
886
|
};
|
|
@@ -1412,6 +1449,30 @@ declare const useDeletePasskey: <TError = ErrorType<DeletePasskey400 | DeletePas
|
|
|
1412
1449
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1413
1450
|
passkeyId: string;
|
|
1414
1451
|
}, TContext>;
|
|
1452
|
+
declare const useSettingsHook: () => (signal?: AbortSignal) => Promise<SettingsResponse>;
|
|
1453
|
+
declare const getSettingsQueryKey: () => readonly ["/_widgets/settings"];
|
|
1454
|
+
declare const useSettingsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options?: {
|
|
1455
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData>>;
|
|
1456
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData> & {
|
|
1457
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1458
|
+
};
|
|
1459
|
+
type SettingsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>>;
|
|
1460
|
+
type SettingsQueryError = ErrorType<Settings403>;
|
|
1461
|
+
declare function useSettings<TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options: {
|
|
1462
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>>, "initialData">;
|
|
1463
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1464
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1465
|
+
};
|
|
1466
|
+
declare function useSettings<TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options?: {
|
|
1467
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>>, "initialData">;
|
|
1468
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1469
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1470
|
+
};
|
|
1471
|
+
declare function useSettings<TData = Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError = ErrorType<Settings403>>(options?: {
|
|
1472
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSettingsHook>>>, TError, TData>>;
|
|
1473
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1474
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1475
|
+
};
|
|
1415
1476
|
declare const useListOrganizationDomainsHook: () => (signal?: AbortSignal) => Promise<ListOrganizationDomains200>;
|
|
1416
1477
|
declare const getListOrganizationDomainsQueryKey: () => readonly ["/_widgets/admin-portal/organization-domains"];
|
|
1417
1478
|
declare const useListOrganizationDomainsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError = ErrorType<ListOrganizationDomains403 | ListOrganizationDomains404>>(options?: {
|
|
@@ -1684,4 +1745,4 @@ declare const useDeleteDataInstallation: <TError = ErrorType<DeleteDataInstallat
|
|
|
1684
1745
|
installationId: string;
|
|
1685
1746
|
}, TContext>;
|
|
1686
1747
|
|
|
1687
|
-
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 CreateOrganizationApiKeyMutationBody, type CreateOrganizationApiKeyMutationError, type CreateOrganizationApiKeyMutationResult, type CreateOrganizationApiKeyRequest, type CreateOrganizationApiKeyResponse, type CreatePassword201, type CreatePassword400, type CreatePassword403, type CreatePasswordMutationBody, type CreatePasswordMutationError, type CreatePasswordMutationResult, type CreatePasswordRequest, type CreateTotpFactor400, type CreateTotpFactor403, type CreateTotpFactorMutationError, type CreateTotpFactorMutationResult, type CreateTotpFactorResponse, type CreateTotpFactorResponseAuthenticationChallenge, type CreateTotpFactorResponseAuthenticationChallengeAllOf, CreateTotpFactorResponseAuthenticationChallengeAllOfObject, type CreateTotpFactorResponseAuthenticationChallengeAllOfThree, type CreateTotpFactorResponseAuthenticationFactor, type CreateTotpFactorResponseAuthenticationFactorAllOf, type CreateTotpFactorResponseAuthenticationFactorAllOfEight, CreateTotpFactorResponseAuthenticationFactorAllOfObject, type CreateTotpFactorResponseAuthenticationFactorAllOfSms, type CreateTotpFactorResponseAuthenticationFactorAllOfTotp, type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf, type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo, CreateTotpFactorResponseAuthenticationFactorAllOfType, type DataInstallation, DataInstallationObject, DataInstallationState, type DataIntegration, 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 GetDataIntegrationAuthorizeUrlQueryError, type GetDataIntegrationAuthorizeUrlQueryResult, type GetDataIntegrationAuthorizeUrlResponse, type InviteMember201, type InviteMember400, type InviteMember403, type InviteMember404, type InviteMemberInput, type InviteMemberMutationBody, type InviteMemberMutationError, type InviteMemberMutationResult, type ListMetadata, type ListOrganizationApiKeyPermission, type ListOrganizationApiKeyPermissions400, type ListOrganizationApiKeyPermissions403, type ListOrganizationApiKeyPermissionsParams, type ListOrganizationApiKeyPermissionsQueryError, type ListOrganizationApiKeyPermissionsQueryResult, type ListOrganizationApiKeyPermissionsResponse, type ListOrganizationApiKeyPermissionsResponseListMetadata, type ListOrganizationApiKeys400, type ListOrganizationApiKeys403, type ListOrganizationApiKeysParams, type ListOrganizationApiKeysQueryError, type ListOrganizationApiKeysQueryResult, type ListOrganizationApiKeysResponse, type ListOrganizationApiKeysResponseData, type ListOrganizationApiKeysResponseListMetadata, type ListOrganizationDomains200, type ListOrganizationDomains403, type ListOrganizationDomains404, type ListOrganizationDomainsQueryError, type ListOrganizationDomainsQueryResult, type ListSsoConnectionsQueryError, type ListSsoConnectionsQueryResult, type Me, type Me403, type MeOauthProfiles, type MeQueryError, type MeQueryResult, type Member, type MemberActions, MemberActionsItem, type MemberRole, type MemberRolesItem, MemberStatus, type Members200, type Members403, type Members404, type MembersParams, type MembersQueryError, type MembersQueryResult, type MyDataIntegrations403, type MyDataIntegrationsQueryError, type MyDataIntegrationsQueryResult, type OAuthProfile, OidcSessionState, type OrganizationDomain, OrganizationDomainState, type OrganizationInfo, type Organizations403, type Organizations404, type OrganizationsQueryError, type OrganizationsQueryResult, type OrganizationsResponse, type RegisterPasskey400, type RegisterPasskey403, type RegisterPasskeyMutationError, type RegisterPasskeyMutationResult, type RegisterPasskeyResponse, type RegisterPasskeyResponseOptions, type RemoveMember200, type RemoveMember400, type RemoveMember403, type RemoveMember404, type RemoveMemberMutationError, type RemoveMemberMutationResult, type ResendInvite201, type ResendInvite400, type ResendInvite403, type ResendInvite404, type ResendInviteMutationError, type ResendInviteMutationResult, type ReverifyOrganizationDomain403, type ReverifyOrganizationDomain404, type ReverifyOrganizationDomainMutationError, type ReverifyOrganizationDomainMutationResult, type RevokeAllSessions200, type RevokeAllSessions400, type RevokeAllSessions403, type RevokeAllSessionsMutationBody, type RevokeAllSessionsMutationError, type RevokeAllSessionsMutationResult, type RevokeAllSessionsRequest, type RevokeInvite200, type RevokeInvite400, type RevokeInvite403, type RevokeInvite404, type RevokeInviteMutationError, type RevokeInviteMutationResult, type RevokeSession200, type RevokeSession400, type RevokeSession403, type RevokeSessionMutationError, type RevokeSessionMutationResult, type Roles403, type Roles404, type RolesAndConfig403, type RolesAndConfig404, type RolesAndConfigQueryError, type RolesAndConfigQueryResult, type RolesAndConfigResponse, type RolesQueryError, type RolesQueryResult, SamlSessionState, type SendVerification400, type SendVerification403, type SendVerificationMutationError, type SendVerificationMutationResult, type SendVerificationResponse, SendVerificationResponseType, type Sessions403, type SessionsQueryError, type SessionsQueryResult, type SsoConnection, type SsoConnectionAnyOf, type SsoConnectionAnyOfEight, type SsoConnectionAnyOfEightAllOf, type SsoConnectionAnyOfEightAllOfLastSession, SsoConnectionAnyOfEightAllOfProviderTag, type SsoConnectionAnyOfEightAllOfSix, SsoConnectionAnyOfEightAllOfState, SsoConnectionAnyOfEightAllOfType, type SsoConnectionAnyOfLastSession, type SsoConnectionAnyOfLatestExpiredCertificate, type SsoConnectionAnyOfLatestExpiringCertificate, SsoConnectionAnyOfProviderTag, SsoConnectionAnyOfState, SsoConnectionAnyOfType, type SsoConnectionSessionJSON, SsoConnectionSessionJSONState, type UpdateMe400, type UpdateMe403, type UpdateMeInput, type UpdateMeMutationBody, type UpdateMeMutationError, type UpdateMeMutationResult, type UpdateMember200, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMemberInput, type UpdateMemberMutationBody, type UpdateMemberMutationError, type UpdateMemberMutationResult, type UpdatePassword201, type UpdatePassword400, type UpdatePassword403, type UpdatePasswordMutationBody, type UpdatePasswordMutationError, type UpdatePasswordMutationResult, type UpdatePasswordRequest, type Verify400, type Verify403, type VerifyMutationBody, type VerifyMutationError, type VerifyMutationResult, type VerifyPasskey200, type VerifyPasskey400, type VerifyPasskey403, type VerifyPasskeyMutationBody, type VerifyPasskeyMutationError, type VerifyPasskeyMutationResult, type VerifyPasskeyRequest, type VerifyPasskeyRequestResponse, type VerifyRequest, type VerifyResponse, type VerifyTotpFactor200, type VerifyTotpFactor400, type VerifyTotpFactor403, type VerifyTotpFactorMutationBody, type VerifyTotpFactorMutationError, type VerifyTotpFactorMutationResult, type VerifyTotpFactorRequest, type X509CertificateJSON, getAuthenticationInformationQueryKey, getGetDataInstallationAuthorizationStatusQueryKey, getGetDataIntegrationAuthorizeUrlQueryKey, getListOrganizationApiKeyPermissionsQueryKey, getListOrganizationApiKeysQueryKey, getListOrganizationDomainsQueryKey, getListSsoConnectionsQueryKey, getMeQueryKey, getMembersQueryKey, getMyDataIntegrationsQueryKey, getOrganizationsQueryKey, getRolesAndConfigQueryKey, getRolesQueryKey, getSessionsQueryKey, useAuthenticationInformation, useAuthenticationInformationHook, useAuthenticationInformationQueryOptions, useCreateOrganizationApiKey, useCreateOrganizationApiKeyHook, useCreateOrganizationApiKeyMutationOptions, useCreatePassword, useCreatePasswordHook, useCreatePasswordMutationOptions, useCreateTotpFactor, useCreateTotpFactorHook, useCreateTotpFactorMutationOptions, useDeleteDataInstallation, useDeleteDataInstallationHook, useDeleteDataInstallationMutationOptions, useDeleteOrganizationApiKey, useDeleteOrganizationApiKeyHook, useDeleteOrganizationApiKeyMutationOptions, useDeleteOrganizationDomain, useDeleteOrganizationDomainHook, useDeleteOrganizationDomainMutationOptions, useDeletePasskey, useDeletePasskeyHook, useDeletePasskeyMutationOptions, useDeleteTotpFactors, useDeleteTotpFactorsHook, useDeleteTotpFactorsMutationOptions, useGenerateAdminPortalLink, useGenerateAdminPortalLinkHook, useGenerateAdminPortalLinkMutationOptions, useGetDataInstallationAuthorizationStatus, useGetDataInstallationAuthorizationStatusHook, useGetDataInstallationAuthorizationStatusQueryOptions, useGetDataIntegrationAuthorizeUrl, useGetDataIntegrationAuthorizeUrlHook, useGetDataIntegrationAuthorizeUrlQueryOptions, useInviteMember, useInviteMemberHook, useInviteMemberMutationOptions, useListOrganizationApiKeyPermissions, useListOrganizationApiKeyPermissionsHook, useListOrganizationApiKeyPermissionsQueryOptions, useListOrganizationApiKeys, useListOrganizationApiKeysHook, useListOrganizationApiKeysQueryOptions, useListOrganizationDomains, useListOrganizationDomainsHook, useListOrganizationDomainsQueryOptions, useListSsoConnections, useListSsoConnectionsHook, useListSsoConnectionsQueryOptions, useMe, useMeHook, useMeQueryOptions, useMembers, useMembersHook, useMembersQueryOptions, useMyDataIntegrations, useMyDataIntegrationsHook, useMyDataIntegrationsQueryOptions, useOrganizations, useOrganizationsHook, useOrganizationsQueryOptions, useRegisterPasskey, useRegisterPasskeyHook, useRegisterPasskeyMutationOptions, useRemoveMember, useRemoveMemberHook, useRemoveMemberMutationOptions, useResendInvite, useResendInviteHook, useResendInviteMutationOptions, useReverifyOrganizationDomain, useReverifyOrganizationDomainHook, useReverifyOrganizationDomainMutationOptions, useRevokeAllSessions, useRevokeAllSessionsHook, useRevokeAllSessionsMutationOptions, useRevokeInvite, useRevokeInviteHook, useRevokeInviteMutationOptions, useRevokeSession, useRevokeSessionHook, useRevokeSessionMutationOptions, useRoles, useRolesAndConfig, useRolesAndConfigHook, useRolesAndConfigQueryOptions, useRolesHook, useRolesQueryOptions, useSendVerification, useSendVerificationHook, useSendVerificationMutationOptions, useSessions, useSessionsHook, useSessionsQueryOptions, useUpdateMe, useUpdateMeHook, useUpdateMeMutationOptions, useUpdateMember, useUpdateMemberHook, useUpdateMemberMutationOptions, useUpdatePassword, useUpdatePasswordHook, useUpdatePasswordMutationOptions, useVerify, useVerifyHook, useVerifyMutationOptions, useVerifyPasskey, useVerifyPasskeyHook, useVerifyPasskeyMutationOptions, useVerifyTotpFactor, useVerifyTotpFactorHook, useVerifyTotpFactorMutationOptions };
|
|
1748
|
+
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 CreateOrganizationApiKeyMutationBody, type CreateOrganizationApiKeyMutationError, type CreateOrganizationApiKeyMutationResult, type CreateOrganizationApiKeyRequest, type CreateOrganizationApiKeyResponse, type CreatePassword201, type CreatePassword400, type CreatePassword403, type CreatePasswordMutationBody, type CreatePasswordMutationError, type CreatePasswordMutationResult, type CreatePasswordRequest, type CreateTotpFactor400, type CreateTotpFactor403, type CreateTotpFactorMutationError, type CreateTotpFactorMutationResult, type CreateTotpFactorResponse, type CreateTotpFactorResponseAuthenticationChallenge, type CreateTotpFactorResponseAuthenticationChallengeAllOf, CreateTotpFactorResponseAuthenticationChallengeAllOfObject, type CreateTotpFactorResponseAuthenticationChallengeAllOfThree, type CreateTotpFactorResponseAuthenticationFactor, type CreateTotpFactorResponseAuthenticationFactorAllOf, type CreateTotpFactorResponseAuthenticationFactorAllOfEight, CreateTotpFactorResponseAuthenticationFactorAllOfObject, type CreateTotpFactorResponseAuthenticationFactorAllOfSms, type CreateTotpFactorResponseAuthenticationFactorAllOfTotp, type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf, type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo, CreateTotpFactorResponseAuthenticationFactorAllOfType, type DataInstallation, DataInstallationObject, DataInstallationState, type DataIntegration, DataIntegrationCredentialsType, type DataIntegrationInstallation, DataIntegrationIntegrationType, DataIntegrationObject, DataIntegrationOwnership, type DataIntegrationsResponse, type DeleteDataInstallation200, type DeleteDataInstallation403, type DeleteDataInstallation404, type DeleteDataInstallationMutationError, type DeleteDataInstallationMutationResult, type DeleteOrganizationApiKey200, type DeleteOrganizationApiKey403, type DeleteOrganizationApiKey404, type DeleteOrganizationApiKeyMutationError, type DeleteOrganizationApiKeyMutationResult, type DeleteOrganizationDomain403, type DeleteOrganizationDomain404, type DeleteOrganizationDomainMutationError, type DeleteOrganizationDomainMutationResult, type DeletePasskey200, type DeletePasskey400, type DeletePasskey403, type DeletePasskeyMutationError, type DeletePasskeyMutationResult, type DeleteTotpFactors200, type DeleteTotpFactors400, type DeleteTotpFactors403, type DeleteTotpFactorsMutationError, type DeleteTotpFactorsMutationResult, DomainVerificationNameServer, type GenerateAdminPortalLink201, type GenerateAdminPortalLink403, type GenerateAdminPortalLink404, type GenerateAdminPortalLink500, GenerateAdminPortalLinkIntent, type GenerateAdminPortalLinkMutationError, type GenerateAdminPortalLinkMutationResult, type GenerateAdminPortalLinkParams, type GetAuthorizationStatusResponse, type GetDataInstallationAuthorizationStatus400, type GetDataInstallationAuthorizationStatus403, type GetDataInstallationAuthorizationStatus404, type GetDataInstallationAuthorizationStatusQueryError, type GetDataInstallationAuthorizationStatusQueryResult, type GetDataIntegrationAuthorizeUrl400, type GetDataIntegrationAuthorizeUrl403, type GetDataIntegrationAuthorizeUrl404, type GetDataIntegrationAuthorizeUrlQueryError, type GetDataIntegrationAuthorizeUrlQueryResult, type GetDataIntegrationAuthorizeUrlResponse, type InviteMember201, type InviteMember400, type InviteMember403, type InviteMember404, type InviteMemberInput, type InviteMemberMutationBody, type InviteMemberMutationError, type InviteMemberMutationResult, type ListMetadata, type ListOrganizationApiKeyPermission, type ListOrganizationApiKeyPermissions400, type ListOrganizationApiKeyPermissions403, type ListOrganizationApiKeyPermissionsParams, type ListOrganizationApiKeyPermissionsQueryError, type ListOrganizationApiKeyPermissionsQueryResult, type ListOrganizationApiKeyPermissionsResponse, type ListOrganizationApiKeyPermissionsResponseListMetadata, type ListOrganizationApiKeys400, type ListOrganizationApiKeys403, type ListOrganizationApiKeysParams, type ListOrganizationApiKeysQueryError, type ListOrganizationApiKeysQueryResult, type ListOrganizationApiKeysResponse, type ListOrganizationApiKeysResponseData, type ListOrganizationApiKeysResponseListMetadata, type ListOrganizationDomains200, type ListOrganizationDomains403, type ListOrganizationDomains404, type ListOrganizationDomainsQueryError, type ListOrganizationDomainsQueryResult, type ListSsoConnectionsQueryError, type ListSsoConnectionsQueryResult, type Me, type Me403, type MeOauthProfiles, type MeQueryError, type MeQueryResult, type Member, type MemberActions, MemberActionsItem, type MemberRole, type MemberRolesItem, MemberStatus, type Members200, type Members403, type Members404, type MembersParams, type MembersQueryError, type MembersQueryResult, type MyDataIntegrations403, type MyDataIntegrationsQueryError, type MyDataIntegrationsQueryResult, type OAuthProfile, OidcSessionState, type OrganizationDomain, OrganizationDomainState, type OrganizationInfo, type Organizations403, type Organizations404, type OrganizationsQueryError, type OrganizationsQueryResult, type OrganizationsResponse, type RegisterPasskey400, type RegisterPasskey403, type RegisterPasskeyMutationError, type RegisterPasskeyMutationResult, type RegisterPasskeyResponse, type RegisterPasskeyResponseOptions, type RemoveMember200, type RemoveMember400, type RemoveMember403, type RemoveMember404, type RemoveMemberMutationError, type RemoveMemberMutationResult, type ResendInvite201, type ResendInvite400, type ResendInvite403, type ResendInvite404, type ResendInviteMutationError, type ResendInviteMutationResult, type ReverifyOrganizationDomain403, type ReverifyOrganizationDomain404, type ReverifyOrganizationDomainMutationError, type ReverifyOrganizationDomainMutationResult, type RevokeAllSessions200, type RevokeAllSessions400, type RevokeAllSessions403, type RevokeAllSessionsMutationBody, type RevokeAllSessionsMutationError, type RevokeAllSessionsMutationResult, type RevokeAllSessionsRequest, type RevokeInvite200, type RevokeInvite400, type RevokeInvite403, type RevokeInvite404, type RevokeInviteMutationError, type RevokeInviteMutationResult, type RevokeSession200, type RevokeSession400, type RevokeSession403, type RevokeSessionMutationError, type RevokeSessionMutationResult, type Roles403, type Roles404, type RolesAndConfig403, type RolesAndConfig404, type RolesAndConfigQueryError, type RolesAndConfigQueryResult, type RolesAndConfigResponse, type RolesQueryError, type RolesQueryResult, SamlSessionState, type SendVerification400, type SendVerification403, type SendVerificationMutationError, type SendVerificationMutationResult, type SendVerificationResponse, SendVerificationResponseType, type Sessions403, type SessionsQueryError, type SessionsQueryResult, type Settings403, type SettingsQueryError, type SettingsQueryResult, type SettingsResponse, SettingsResponseObject, type SsoConnection, type SsoConnectionAnyOf, type SsoConnectionAnyOfEight, type SsoConnectionAnyOfEightAllOf, type SsoConnectionAnyOfEightAllOfLastSession, SsoConnectionAnyOfEightAllOfProviderTag, type SsoConnectionAnyOfEightAllOfSix, SsoConnectionAnyOfEightAllOfState, SsoConnectionAnyOfEightAllOfType, type SsoConnectionAnyOfLastSession, type SsoConnectionAnyOfLatestExpiredCertificate, type SsoConnectionAnyOfLatestExpiringCertificate, SsoConnectionAnyOfProviderTag, SsoConnectionAnyOfState, SsoConnectionAnyOfType, type SsoConnectionSessionJSON, SsoConnectionSessionJSONState, type UpdateMe400, type UpdateMe403, type UpdateMeInput, type UpdateMeMutationBody, type UpdateMeMutationError, type UpdateMeMutationResult, type UpdateMember200, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMemberInput, type UpdateMemberMutationBody, type UpdateMemberMutationError, type UpdateMemberMutationResult, type UpdatePassword201, type UpdatePassword400, type UpdatePassword403, type UpdatePasswordMutationBody, type UpdatePasswordMutationError, type UpdatePasswordMutationResult, type UpdatePasswordRequest, type Verify400, type Verify403, type VerifyMutationBody, type VerifyMutationError, type VerifyMutationResult, type VerifyPasskey200, type VerifyPasskey400, type VerifyPasskey403, type VerifyPasskeyMutationBody, type VerifyPasskeyMutationError, type VerifyPasskeyMutationResult, type VerifyPasskeyRequest, type VerifyPasskeyRequestResponse, type VerifyRequest, type VerifyResponse, type VerifyTotpFactor200, type VerifyTotpFactor400, type VerifyTotpFactor403, type VerifyTotpFactorMutationBody, type VerifyTotpFactorMutationError, type VerifyTotpFactorMutationResult, type VerifyTotpFactorRequest, type X509CertificateJSON, getAuthenticationInformationQueryKey, getGetDataInstallationAuthorizationStatusQueryKey, getGetDataIntegrationAuthorizeUrlQueryKey, getListOrganizationApiKeyPermissionsQueryKey, getListOrganizationApiKeysQueryKey, getListOrganizationDomainsQueryKey, getListSsoConnectionsQueryKey, getMeQueryKey, getMembersQueryKey, getMyDataIntegrationsQueryKey, getOrganizationsQueryKey, getRolesAndConfigQueryKey, getRolesQueryKey, getSessionsQueryKey, getSettingsQueryKey, useAuthenticationInformation, useAuthenticationInformationHook, useAuthenticationInformationQueryOptions, useCreateOrganizationApiKey, useCreateOrganizationApiKeyHook, useCreateOrganizationApiKeyMutationOptions, useCreatePassword, useCreatePasswordHook, useCreatePasswordMutationOptions, useCreateTotpFactor, useCreateTotpFactorHook, useCreateTotpFactorMutationOptions, useDeleteDataInstallation, useDeleteDataInstallationHook, useDeleteDataInstallationMutationOptions, useDeleteOrganizationApiKey, useDeleteOrganizationApiKeyHook, useDeleteOrganizationApiKeyMutationOptions, useDeleteOrganizationDomain, useDeleteOrganizationDomainHook, useDeleteOrganizationDomainMutationOptions, useDeletePasskey, useDeletePasskeyHook, useDeletePasskeyMutationOptions, useDeleteTotpFactors, useDeleteTotpFactorsHook, useDeleteTotpFactorsMutationOptions, useGenerateAdminPortalLink, useGenerateAdminPortalLinkHook, useGenerateAdminPortalLinkMutationOptions, useGetDataInstallationAuthorizationStatus, useGetDataInstallationAuthorizationStatusHook, useGetDataInstallationAuthorizationStatusQueryOptions, useGetDataIntegrationAuthorizeUrl, useGetDataIntegrationAuthorizeUrlHook, useGetDataIntegrationAuthorizeUrlQueryOptions, useInviteMember, useInviteMemberHook, useInviteMemberMutationOptions, useListOrganizationApiKeyPermissions, useListOrganizationApiKeyPermissionsHook, useListOrganizationApiKeyPermissionsQueryOptions, useListOrganizationApiKeys, useListOrganizationApiKeysHook, useListOrganizationApiKeysQueryOptions, useListOrganizationDomains, useListOrganizationDomainsHook, useListOrganizationDomainsQueryOptions, useListSsoConnections, useListSsoConnectionsHook, useListSsoConnectionsQueryOptions, useMe, useMeHook, useMeQueryOptions, useMembers, useMembersHook, useMembersQueryOptions, useMyDataIntegrations, useMyDataIntegrationsHook, useMyDataIntegrationsQueryOptions, useOrganizations, useOrganizationsHook, useOrganizationsQueryOptions, useRegisterPasskey, useRegisterPasskeyHook, useRegisterPasskeyMutationOptions, useRemoveMember, useRemoveMemberHook, useRemoveMemberMutationOptions, useResendInvite, useResendInviteHook, useResendInviteMutationOptions, useReverifyOrganizationDomain, useReverifyOrganizationDomainHook, useReverifyOrganizationDomainMutationOptions, useRevokeAllSessions, useRevokeAllSessionsHook, useRevokeAllSessionsMutationOptions, useRevokeInvite, useRevokeInviteHook, useRevokeInviteMutationOptions, useRevokeSession, useRevokeSessionHook, useRevokeSessionMutationOptions, useRoles, useRolesAndConfig, useRolesAndConfigHook, useRolesAndConfigQueryOptions, useRolesHook, useRolesQueryOptions, useSendVerification, useSendVerificationHook, useSendVerificationMutationOptions, useSessions, useSessionsHook, useSessionsQueryOptions, useSettings, useSettingsHook, useSettingsQueryOptions, useUpdateMe, useUpdateMeHook, useUpdateMeMutationOptions, useUpdateMember, useUpdateMemberHook, useUpdateMemberMutationOptions, useUpdatePassword, useUpdatePasswordHook, useUpdatePasswordMutationOptions, useVerify, useVerifyHook, useVerifyMutationOptions, useVerifyPasskey, useVerifyPasskeyHook, useVerifyPasskeyMutationOptions, useVerifyTotpFactor, useVerifyTotpFactorHook, useVerifyTotpFactorMutationOptions };
|
|
@@ -19,59 +19,76 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
var api_keys_client_exports = {};
|
|
21
21
|
__export(api_keys_client_exports, {
|
|
22
|
-
ApiKeys: () => ApiKeys
|
|
22
|
+
ApiKeys: () => ApiKeys,
|
|
23
|
+
ApiKeysError: () => import_api_keys.ApiKeysError,
|
|
24
|
+
ApiKeysLoading: () => import_api_keys.ApiKeysLoading
|
|
23
25
|
});
|
|
24
26
|
module.exports = __toCommonJS(api_keys_client_exports);
|
|
25
27
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
26
28
|
var import_api_provider = require("./api/api-provider.js");
|
|
27
|
-
var import_api_keys_table = require("./lib/api-keys/api-keys-table.js");
|
|
28
29
|
var import_widgets_context = require("./lib/widgets-context.js");
|
|
29
30
|
var import_api_keys = require("./lib/api-keys/api-keys.js");
|
|
30
31
|
var import_endpoint = require("./api/endpoint.js");
|
|
31
|
-
var import_generic_error = require("./lib/generic-error.js");
|
|
32
32
|
var import_error_boundary = require("./lib/error-boundary.js");
|
|
33
33
|
var import_use_permissions = require("./lib/use-permissions.js");
|
|
34
34
|
var import_api_keys_context = require("./lib/api-keys/api-keys-context.js");
|
|
35
35
|
var import_api_key = require("./lib/api/api-key.js");
|
|
36
|
-
var import_api_keys_search_provider = require("./lib/api-keys/api-keys-search-provider.js");
|
|
37
36
|
var import_create_api_key = require("./lib/api-keys/create-api-key.js");
|
|
38
|
-
const ApiKeys = ({ authToken }) => {
|
|
37
|
+
const ApiKeys = ({ authToken, ...domProps }) => {
|
|
39
38
|
const baseUrl = (0, import_widgets_context.useWorkOsApiUrl)();
|
|
40
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
41
|
-
|
|
39
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
40
|
+
import_error_boundary.ErrorBoundary,
|
|
42
41
|
{
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
fallbackRender: ({ error }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_api_keys.ApiKeysError, { ...domProps, error }),
|
|
43
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
44
|
+
import_api_provider.ApiProvider,
|
|
45
|
+
{
|
|
46
|
+
widgetType: "api-keys",
|
|
47
|
+
authToken,
|
|
48
|
+
baseUrl,
|
|
49
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_api_keys_context.ApiKeysContextProvider, { children: [
|
|
50
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_create_api_key.CreateApiKeyDialog, {}),
|
|
51
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ApiKeysImpl, { ...domProps })
|
|
52
|
+
] })
|
|
53
|
+
}
|
|
54
|
+
)
|
|
50
55
|
}
|
|
51
|
-
)
|
|
56
|
+
);
|
|
52
57
|
};
|
|
53
|
-
const
|
|
58
|
+
const ApiKeysImpl = (props) => {
|
|
54
59
|
const isApiReady = (0, import_api_provider.useApiReady)();
|
|
55
60
|
const apiKeys = (0, import_api_key.useApiKeys)();
|
|
56
61
|
const { state } = (0, import_api_keys_context.useApiKeysContext)();
|
|
57
62
|
(0, import_endpoint.useListOrganizationApiKeyPermissions)({ limit: 100 });
|
|
58
63
|
const permissionsQuery = (0, import_use_permissions.usePermissions)("widgets:api-keys:manage");
|
|
59
64
|
if (!isApiReady || apiKeys.isLoading || permissionsQuery.isLoading) {
|
|
60
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_api_keys.ApiKeysLoading, {});
|
|
65
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_api_keys.ApiKeysLoading, { ...props });
|
|
61
66
|
}
|
|
62
67
|
if (permissionsQuery.isError || apiKeys.isError) {
|
|
63
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
68
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
69
|
+
import_api_keys.ApiKeysError,
|
|
70
|
+
{
|
|
71
|
+
error: permissionsQuery.error || apiKeys.error,
|
|
72
|
+
...props
|
|
73
|
+
}
|
|
74
|
+
);
|
|
64
75
|
}
|
|
65
76
|
if (apiKeys.isSuccess) {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
77
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
78
|
+
import_api_keys.ApiKeys,
|
|
79
|
+
{
|
|
80
|
+
apiKeys: apiKeys.data,
|
|
81
|
+
searchQuery: state.searchQuery,
|
|
82
|
+
...props
|
|
83
|
+
}
|
|
84
|
+
);
|
|
70
85
|
}
|
|
71
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
86
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_api_keys.ApiKeysError, { error: apiKeys.error, ...props });
|
|
72
87
|
};
|
|
73
88
|
// Annotate the CommonJS export names for ESM import in node:
|
|
74
89
|
0 && (module.exports = {
|
|
75
|
-
ApiKeys
|
|
90
|
+
ApiKeys,
|
|
91
|
+
ApiKeysError,
|
|
92
|
+
ApiKeysLoading
|
|
76
93
|
});
|
|
77
|
-
//# sourceMappingURL=api-keys
|
|
94
|
+
//# sourceMappingURL=api-keys.client.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/api-keys.client.tsx"],"sourcesContent":["\"use client\";\nimport { ApiProvider, AuthToken, useApiReady } from \"./api/api-provider.js\";\nimport { useWorkOsApiUrl } from \"./lib/widgets-context.js\";\nimport {\n ApiKeysLoading,\n ApiKeys as ApiKeysPresentational,\n ApiKeysError,\n} from \"./lib/api-keys/api-keys.js\";\nimport type {\n ApiKeysLoadingProps,\n ApiKeysErrorProps,\n} from \"./lib/api-keys/api-keys.js\";\nimport { useListOrganizationApiKeyPermissions } from \"./api/endpoint.js\";\nimport * as React from \"react\";\nimport { ErrorBoundary } from \"./lib/error-boundary.js\";\nimport { usePermissions } from \"./lib/use-permissions.js\";\nimport {\n ApiKeysContextProvider,\n useApiKeysContext,\n} from \"./lib/api-keys/api-keys-context.js\";\nimport { useApiKeys } from \"./lib/api/api-key.js\";\nimport { CreateApiKeyDialog } from \"./lib/api-keys/create-api-key.js\";\nimport type { WidgetRootDomProps } from \"./lib/utils.js\";\n\ninterface ApiKeysProps extends WidgetRootDomProps {\n authToken: AuthToken;\n}\n\nconst ApiKeys: React.FC<ApiKeysProps> = ({ authToken, ...domProps }) => {\n const baseUrl = useWorkOsApiUrl();\n return (\n <ErrorBoundary\n fallbackRender={({ error }) => (\n <ApiKeysError {...domProps} error={error} />\n )}\n >\n <ApiProvider\n widgetType=\"api-keys\"\n authToken={authToken}\n baseUrl={baseUrl}\n >\n <ApiKeysContextProvider>\n <CreateApiKeyDialog />\n <ApiKeysImpl {...domProps} />\n </ApiKeysContextProvider>\n </ApiProvider>\n </ErrorBoundary>\n );\n};\n\nconst ApiKeysImpl = (props: WidgetRootDomProps) => {\n const isApiReady = useApiReady();\n const apiKeys = useApiKeys();\n const { state } = useApiKeysContext();\n useListOrganizationApiKeyPermissions({ limit: 100 });\n const permissionsQuery = usePermissions(\"widgets:api-keys:manage\");\n\n if (!isApiReady || apiKeys.isLoading || permissionsQuery.isLoading) {\n return <ApiKeysLoading {...props} />;\n }\n\n if (permissionsQuery.isError || apiKeys.isError) {\n return (\n <ApiKeysError\n error={permissionsQuery.error || apiKeys.error}\n {...props}\n />\n );\n }\n\n if (apiKeys.isSuccess) {\n return (\n <ApiKeysPresentational\n apiKeys={apiKeys.data}\n searchQuery={state.searchQuery}\n {...props}\n />\n );\n }\n\n return <ApiKeysError error={apiKeys.error} {...props} />;\n};\n\nexport type { ApiKeysProps, ApiKeysLoadingProps, ApiKeysErrorProps };\nexport { ApiKeys, ApiKeysLoading, ApiKeysError };\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiCQ;AAhCR,0BAAoD;AACpD,6BAAgC;AAChC,sBAIO;AAKP,sBAAqD;AAErD,4BAA8B;AAC9B,6BAA+B;AAC/B,8BAGO;AACP,qBAA2B;AAC3B,4BAAmC;AAOnC,MAAM,UAAkC,CAAC,EAAE,WAAW,GAAG,SAAS,MAAM;AACtE,QAAM,cAAU,wCAAgB;AAChC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,gBAAgB,CAAC,EAAE,MAAM,MACvB,4CAAC,gCAAc,GAAG,UAAU,OAAc;AAAA,MAG5C;AAAA,QAAC;AAAA;AAAA,UACC,YAAW;AAAA,UACX;AAAA,UACA;AAAA,UAEA,uDAAC,kDACC;AAAA,wDAAC,4CAAmB;AAAA,YACpB,4CAAC,eAAa,GAAG,UAAU;AAAA,aAC7B;AAAA;AAAA,MACF;AAAA;AAAA,EACF;AAEJ;AAEA,MAAM,cAAc,CAAC,UAA8B;AACjD,QAAM,iBAAa,iCAAY;AAC/B,QAAM,cAAU,2BAAW;AAC3B,QAAM,EAAE,MAAM,QAAI,2CAAkB;AACpC,4DAAqC,EAAE,OAAO,IAAI,CAAC;AACnD,QAAM,uBAAmB,uCAAe,yBAAyB;AAEjE,MAAI,CAAC,cAAc,QAAQ,aAAa,iBAAiB,WAAW;AAClE,WAAO,4CAAC,kCAAgB,GAAG,OAAO;AAAA,EACpC;AAEA,MAAI,iBAAiB,WAAW,QAAQ,SAAS;AAC/C,WACE;AAAA,MAAC;AAAA;AAAA,QACC,OAAO,iBAAiB,SAAS,QAAQ;AAAA,QACxC,GAAG;AAAA;AAAA,IACN;AAAA,EAEJ;AAEA,MAAI,QAAQ,WAAW;AACrB,WACE;AAAA,MAAC,gBAAAA;AAAA,MAAA;AAAA,QACC,SAAS,QAAQ;AAAA,QACjB,aAAa,MAAM;AAAA,QAClB,GAAG;AAAA;AAAA,IACN;AAAA,EAEJ;AAEA,SAAO,4CAAC,gCAAa,OAAO,QAAQ,OAAQ,GAAG,OAAO;AACxD;","names":["ApiKeysPresentational"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AuthToken } from './api/api-provider.cjs';
|
|
2
|
+
export { ApiKeysError, ApiKeysErrorProps, ApiKeysLoading, ApiKeysLoadingProps } from './lib/api-keys/api-keys.cjs';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { WidgetRootDomProps } from './lib/utils.cjs';
|
|
5
|
+
import 'react/jsx-runtime';
|
|
6
|
+
import './api/endpoint.cjs';
|
|
7
|
+
import '@tanstack/react-query';
|
|
8
|
+
import './api/widgets-api-client.cjs';
|
|
9
|
+
|
|
10
|
+
interface ApiKeysProps extends WidgetRootDomProps {
|
|
11
|
+
authToken: AuthToken;
|
|
12
|
+
}
|
|
13
|
+
declare const ApiKeys: React.FC<ApiKeysProps>;
|
|
14
|
+
|
|
15
|
+
export { ApiKeys, type ApiKeysProps };
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -23,8 +23,11 @@ __export(index_exports, {
|
|
|
23
23
|
AdminPortalSsoConnection: () => import_admin_portal_sso_connection_client.AdminPortalSsoConnection,
|
|
24
24
|
AdminPortalSsoConnectionLoading: () => import_admin_portal_sso_connection_client.AdminPortalSsoConnectionLoading,
|
|
25
25
|
ApiKeys: () => import_api_keys_client.ApiKeys,
|
|
26
|
+
ApiKeysLoading: () => import_api_keys_client.ApiKeysLoading,
|
|
26
27
|
OrganizationSwitcher: () => import_organization_switcher_client.OrganizationSwitcher,
|
|
27
28
|
OrganizationSwitcherLoading: () => import_organization_switcher_client.OrganizationSwitcherLoading,
|
|
29
|
+
Pipes: () => import_pipes_client.Pipes,
|
|
30
|
+
PipesLoading: () => import_pipes_client.PipesLoading,
|
|
28
31
|
UserProfile: () => import_user_profile_client.UserProfile,
|
|
29
32
|
UserProfileLoading: () => import_user_profile_client.UserProfileLoading,
|
|
30
33
|
UserSecurity: () => import_user_security_client.UserSecurity,
|
|
@@ -38,13 +41,14 @@ __export(index_exports, {
|
|
|
38
41
|
module.exports = __toCommonJS(index_exports);
|
|
39
42
|
var import_workos_widgets_client = require("./workos-widgets.client.js");
|
|
40
43
|
var import_organization_switcher_client = require("./organization-switcher.client.js");
|
|
41
|
-
var import_admin_portal_sso_connection_client = require("./admin-portal-sso-connection
|
|
44
|
+
var import_admin_portal_sso_connection_client = require("./admin-portal-sso-connection.client.js");
|
|
42
45
|
var import_user_profile_client = require("./user-profile.client.js");
|
|
43
46
|
var import_user_security_client = require("./user-security.client.js");
|
|
44
47
|
var import_user_sessions_client = require("./user-sessions.client.js");
|
|
45
48
|
var import_users_management_client = require("./users-management.client.js");
|
|
46
49
|
var import_admin_portal_domain_verification_client = require("./admin-portal-domain-verification.client.js");
|
|
47
|
-
var import_api_keys_client = require("./api-keys
|
|
50
|
+
var import_api_keys_client = require("./api-keys.client.js");
|
|
51
|
+
var import_pipes_client = require("./pipes.client.js");
|
|
48
52
|
// Annotate the CommonJS export names for ESM import in node:
|
|
49
53
|
0 && (module.exports = {
|
|
50
54
|
AdminPortalDomainVerification,
|
|
@@ -52,8 +56,11 @@ var import_api_keys_client = require("./api-keys-client.js");
|
|
|
52
56
|
AdminPortalSsoConnection,
|
|
53
57
|
AdminPortalSsoConnectionLoading,
|
|
54
58
|
ApiKeys,
|
|
59
|
+
ApiKeysLoading,
|
|
55
60
|
OrganizationSwitcher,
|
|
56
61
|
OrganizationSwitcherLoading,
|
|
62
|
+
Pipes,
|
|
63
|
+
PipesLoading,
|
|
57
64
|
UserProfile,
|
|
58
65
|
UserProfileLoading,
|
|
59
66
|
UserSecurity,
|
package/dist/cjs/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export {\n WorkOsWidgets,\n type WorkOsWidgetsProps,\n} from \"./workos-widgets.client.js\";\nexport {\n OrganizationSwitcher,\n OrganizationSwitcherLoading,\n type OrganizationSwitcherProps,\n} from \"./organization-switcher.client.js\";\nexport {\n AdminPortalSsoConnection,\n AdminPortalSsoConnectionLoading,\n type AdminPortalSsoConnectionProps,\n} from \"./admin-portal-sso-connection
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export {\n WorkOsWidgets,\n type WorkOsWidgetsProps,\n} from \"./workos-widgets.client.js\";\nexport {\n OrganizationSwitcher,\n OrganizationSwitcherLoading,\n type OrganizationSwitcherProps,\n} from \"./organization-switcher.client.js\";\nexport {\n AdminPortalSsoConnection,\n AdminPortalSsoConnectionLoading,\n type AdminPortalSsoConnectionProps,\n} from \"./admin-portal-sso-connection.client.js\";\nexport {\n UserProfile,\n UserProfileLoading,\n type UserProfileProps,\n} from \"./user-profile.client.js\";\nexport {\n UserSecurity,\n UserSecurityLoading,\n type UserSecurityProps,\n} from \"./user-security.client.js\";\nexport {\n UserSessions,\n UserSessionsLoading,\n type UserSessionsProps,\n} from \"./user-sessions.client.js\";\nexport {\n UsersManagement,\n UsersManagementLoading,\n type UsersManagementProps,\n} from \"./users-management.client.js\";\nexport {\n AdminPortalDomainVerification,\n AdminPortalDomainVerificationLoading,\n type AdminPortalDomainVerificationProps,\n} from \"./admin-portal-domain-verification.client.js\";\nexport {\n ApiKeys,\n ApiKeysLoading,\n type ApiKeysProps,\n} from \"./api-keys.client.js\";\nexport { Pipes, PipesLoading, type PipesProps } from \"./pipes.client.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mCAGO;AACP,0CAIO;AACP,gDAIO;AACP,iCAIO;AACP,kCAIO;AACP,kCAIO;AACP,qCAIO;AACP,qDAIO;AACP,6BAIO;AACP,0BAAqD;","names":[]}
|
package/dist/cjs/index.d.cts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
export { WorkOsWidgets, WorkOsWidgetsProps } from './workos-widgets.client.cjs';
|
|
2
2
|
export { OrganizationSwitcher, OrganizationSwitcherProps } from './organization-switcher.client.cjs';
|
|
3
|
-
export { AdminPortalSsoConnection, AdminPortalSsoConnectionProps } from './admin-portal-sso-connection
|
|
3
|
+
export { AdminPortalSsoConnection, AdminPortalSsoConnectionProps } from './admin-portal-sso-connection.client.cjs';
|
|
4
4
|
export { UserProfile, UserProfileProps } from './user-profile.client.cjs';
|
|
5
5
|
export { UserSecurity, UserSecurityProps } from './user-security.client.cjs';
|
|
6
6
|
export { UserSessions, UserSessionsProps } from './user-sessions.client.cjs';
|
|
7
7
|
export { UsersManagement, UsersManagementProps } from './users-management.client.cjs';
|
|
8
8
|
export { AdminPortalDomainVerification, AdminPortalDomainVerificationProps } from './admin-portal-domain-verification.client.cjs';
|
|
9
|
-
export { ApiKeys, ApiKeysProps } from './api-keys
|
|
9
|
+
export { ApiKeys, ApiKeysProps } from './api-keys.client.cjs';
|
|
10
|
+
export { Pipes, PipesProps } from './pipes.client.cjs';
|
|
10
11
|
export { OrganizationSwitcherLoading } from './lib/organization-switcher.cjs';
|
|
11
12
|
export { AdminPortalSsoConnectionLoading } from './lib/admin-portal-sso-connection.cjs';
|
|
12
13
|
export { UserProfileLoading } from './lib/user-profile.cjs';
|
|
@@ -14,6 +15,8 @@ export { UserSecurityLoading } from './lib/user-security.cjs';
|
|
|
14
15
|
export { UserSessionsLoading } from './lib/user-sessions.cjs';
|
|
15
16
|
export { UsersManagementLoading } from './lib/users-management.cjs';
|
|
16
17
|
export { AdminPortalDomainVerificationLoading } from './lib/admin-portal-domain-verification.cjs';
|
|
18
|
+
export { ApiKeysLoading } from './lib/api-keys/api-keys.cjs';
|
|
19
|
+
export { PipesLoading } from './lib/pipes.cjs';
|
|
17
20
|
import '@radix-ui/themes/props';
|
|
18
21
|
import '@tanstack/react-query';
|
|
19
22
|
import 'react';
|
|
@@ -21,6 +24,7 @@ import './lib/elements.cjs';
|
|
|
21
24
|
import '@radix-ui/themes';
|
|
22
25
|
import './api/api-provider.cjs';
|
|
23
26
|
import 'react/jsx-runtime';
|
|
27
|
+
import './lib/utils.cjs';
|
|
24
28
|
import './api/endpoint.cjs';
|
|
25
29
|
import './api/widgets-api-client.cjs';
|
|
26
30
|
import './lib/identity-providers.cjs';
|
|
@@ -42,47 +42,40 @@ var import_generic_error = require("./generic-error.js");
|
|
|
42
42
|
var import_react_icons = require("@radix-ui/react-icons");
|
|
43
43
|
var CardList = __toESM(require("./card-list.js"), 1);
|
|
44
44
|
var import_domain_item = require("./domain-item.js");
|
|
45
|
-
var
|
|
45
|
+
var import_utils = require("./utils.js");
|
|
46
46
|
const AdminPortalDomainVerification = ({
|
|
47
47
|
organizationDomains,
|
|
48
48
|
onAddDomain,
|
|
49
49
|
onDeleteDomain,
|
|
50
50
|
onReverifyDomain,
|
|
51
|
-
isPending = false
|
|
51
|
+
isPending = false,
|
|
52
|
+
...domProps
|
|
52
53
|
}) => {
|
|
53
54
|
if (organizationDomains.length === 0) {
|
|
54
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
55
|
-
import_themes.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_icons.ExternalLinkIcon, {})
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
|
-
)
|
|
75
|
-
] })
|
|
76
|
-
}
|
|
77
|
-
);
|
|
55
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes.Card, { size: "2", ...getWidgetRootDomProps("resolved", domProps), children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_themes.Flex, { direction: "row", justify: "between", align: "center", children: [
|
|
56
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes.Text, { size: "2", color: "gray", children: "You haven't added any verified domains yet." }),
|
|
57
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
58
|
+
import_themes.Button,
|
|
59
|
+
{
|
|
60
|
+
variant: "outline",
|
|
61
|
+
color: "gray",
|
|
62
|
+
loading: isPending,
|
|
63
|
+
disabled: isPending,
|
|
64
|
+
onClick: onAddDomain,
|
|
65
|
+
children: [
|
|
66
|
+
"Add domain ",
|
|
67
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_icons.ExternalLinkIcon, {})
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
)
|
|
71
|
+
] }) });
|
|
78
72
|
}
|
|
79
73
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
80
74
|
import_themes.Flex,
|
|
81
75
|
{
|
|
82
76
|
direction: "column",
|
|
83
77
|
gap: "4",
|
|
84
|
-
|
|
85
|
-
"data-woswidgets-widget-id": "admin-portal-domain-verification",
|
|
78
|
+
...getWidgetRootDomProps("resolved", domProps),
|
|
86
79
|
children: [
|
|
87
80
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(CardList.Root, { children: organizationDomains.map((domain) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CardList.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
88
81
|
import_domain_item.DomainItem,
|
|
@@ -110,8 +103,8 @@ const AdminPortalDomainVerification = ({
|
|
|
110
103
|
}
|
|
111
104
|
);
|
|
112
105
|
};
|
|
113
|
-
const AdminPortalDomainVerificationLoading = () => {
|
|
114
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes.Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_themes.Flex, { gap: "4", align: "center", children: [
|
|
106
|
+
const AdminPortalDomainVerificationLoading = (domProps) => {
|
|
107
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes.Card, { size: "2", ...getWidgetRootDomProps("loading", domProps), children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_themes.Flex, { gap: "4", align: "center", children: [
|
|
115
108
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_elements.Skeleton, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icon_panel.IconPanel, {}) }),
|
|
116
109
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_themes.Flex, { direction: "column", children: [
|
|
117
110
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes.Text, { size: "2", highContrast: true, weight: "bold", as: "p", mb: "-2px", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_elements.Skeleton, { children: "Domain name" }) }),
|
|
@@ -119,10 +112,16 @@ const AdminPortalDomainVerificationLoading = () => {
|
|
|
119
112
|
] })
|
|
120
113
|
] }) });
|
|
121
114
|
};
|
|
122
|
-
|
|
123
|
-
error
|
|
124
|
-
}
|
|
125
|
-
|
|
115
|
+
const AdminPortalDomainVerificationError = ({ error, ...domProps }) => {
|
|
116
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes.Card, { size: "2", ...getWidgetRootDomProps("error", domProps), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_generic_error.GenericError, { error }) });
|
|
117
|
+
};
|
|
118
|
+
function getWidgetRootDomProps(state, domProps) {
|
|
119
|
+
return (0, import_utils.getDomProps)({
|
|
120
|
+
...domProps,
|
|
121
|
+
isWidgetRoot: true,
|
|
122
|
+
widgetId: "admin-portal-domain-verification",
|
|
123
|
+
widgetState: state
|
|
124
|
+
});
|
|
126
125
|
}
|
|
127
126
|
// Annotate the CommonJS export names for ESM import in node:
|
|
128
127
|
0 && (module.exports = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/lib/admin-portal-domain-verification.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Box, Button, Card, Flex, Text } from \"@radix-ui/themes\";\nimport { Skeleton } from \"./elements.js\";\nimport { IconPanel } from \"./icon-panel.js\";\nimport { GenericError } from \"./generic-error.js\";\nimport { ExternalLinkIcon } from \"@radix-ui/react-icons\";\nimport * as CardList from \"./card-list.js\";\nimport { OrganizationDomain } from \"../api/endpoint.js\";\nimport { DomainItem } from \"./domain-item.js\";\
|
|
1
|
+
{"version":3,"sources":["../../../src/lib/admin-portal-domain-verification.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Box, Button, Card, Flex, Text } from \"@radix-ui/themes\";\nimport { Skeleton } from \"./elements.js\";\nimport { IconPanel } from \"./icon-panel.js\";\nimport { GenericError } from \"./generic-error.js\";\nimport { ExternalLinkIcon } from \"@radix-ui/react-icons\";\nimport * as CardList from \"./card-list.js\";\nimport { OrganizationDomain } from \"../api/endpoint.js\";\nimport { DomainItem } from \"./domain-item.js\";\nimport { getDomProps } from \"./utils.js\";\nimport type { WidgetRootDomProps, WidgetRootState } from \"./utils.js\";\n\ninterface AdminPortalDomainVerificationProps extends WidgetRootDomProps {\n organizationDomains: OrganizationDomain[];\n onAddDomain: () => void;\n onDeleteDomain: (domainId: string) => void;\n onReverifyDomain: (domainId: string) => void;\n isPending?: boolean;\n}\n\nconst AdminPortalDomainVerification = ({\n organizationDomains,\n onAddDomain,\n onDeleteDomain,\n onReverifyDomain,\n isPending = false,\n ...domProps\n}: AdminPortalDomainVerificationProps) => {\n if (organizationDomains.length === 0) {\n return (\n <Card size=\"2\" {...getWidgetRootDomProps(\"resolved\", domProps)}>\n <Flex direction=\"row\" justify=\"between\" align=\"center\">\n <Text size=\"2\" color=\"gray\">\n You haven't added any verified domains yet.\n </Text>\n <Button\n variant=\"outline\"\n color=\"gray\"\n loading={isPending}\n disabled={isPending}\n onClick={onAddDomain}\n >\n Add domain <ExternalLinkIcon />\n </Button>\n </Flex>\n </Card>\n );\n }\n\n return (\n <Flex\n direction=\"column\"\n gap=\"4\"\n {...getWidgetRootDomProps(\"resolved\", domProps)}\n >\n <CardList.Root>\n {organizationDomains.map((domain) => (\n <CardList.Item key={domain.id}>\n <DomainItem\n domain={domain}\n onDeleteDomain={onDeleteDomain}\n onReverifyDomain={onReverifyDomain}\n />\n </CardList.Item>\n ))}\n </CardList.Root>\n\n <Box>\n <Button\n loading={isPending}\n disabled={isPending}\n color=\"gray\"\n variant=\"outline\"\n onClick={onAddDomain}\n >\n Add domain <ExternalLinkIcon />\n </Button>\n </Box>\n </Flex>\n );\n};\n\ninterface AdminPortalDomainVerificationLoadingProps\n extends WidgetRootDomProps {}\n\nconst AdminPortalDomainVerificationLoading: React.FC<\n AdminPortalDomainVerificationLoadingProps\n> = (domProps) => {\n return (\n <Card size=\"2\" {...getWidgetRootDomProps(\"loading\", domProps)}>\n <Flex gap=\"4\" align=\"center\">\n <Skeleton>\n <IconPanel />\n </Skeleton>\n\n <Flex direction=\"column\">\n <Text size=\"2\" highContrast weight=\"bold\" as=\"p\" mb=\"-2px\">\n <Skeleton>Domain name</Skeleton>\n </Text>\n\n <Text size=\"2\" color=\"gray\" as=\"p\">\n <Skeleton>Added recently</Skeleton>\n </Text>\n </Flex>\n </Flex>\n </Card>\n );\n};\n\ninterface AdminPortalDomainVerificationErrorProps extends WidgetRootDomProps {\n error: unknown;\n}\n\nconst AdminPortalDomainVerificationError: React.FC<\n AdminPortalDomainVerificationErrorProps\n> = ({ error, ...domProps }) => {\n return (\n <Card size=\"2\" {...getWidgetRootDomProps(\"error\", domProps)}>\n <GenericError error={error} />\n </Card>\n );\n};\n\nfunction getWidgetRootDomProps(\n state: WidgetRootState,\n domProps: WidgetRootDomProps,\n) {\n return getDomProps({\n ...domProps,\n isWidgetRoot: true,\n widgetId: \"admin-portal-domain-verification\",\n widgetState: state,\n });\n}\n\nexport type {\n AdminPortalDomainVerificationProps,\n AdminPortalDomainVerificationLoadingProps,\n AdminPortalDomainVerificationErrorProps,\n};\nexport {\n AdminPortalDomainVerification,\n AdminPortalDomainVerificationLoading,\n AdminPortalDomainVerificationError,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAkCU;AA/BV,oBAA8C;AAC9C,sBAAyB;AACzB,wBAA0B;AAC1B,2BAA6B;AAC7B,yBAAiC;AACjC,eAA0B;AAE1B,yBAA2B;AAC3B,mBAA4B;AAW5B,MAAM,gCAAgC,CAAC;AAAA,EACrC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,YAAY;AAAA,EACZ,GAAG;AACL,MAA0C;AACxC,MAAI,oBAAoB,WAAW,GAAG;AACpC,WACE,4CAAC,sBAAK,MAAK,KAAK,GAAG,sBAAsB,YAAY,QAAQ,GAC3D,uDAAC,sBAAK,WAAU,OAAM,SAAQ,WAAU,OAAM,UAC5C;AAAA,kDAAC,sBAAK,MAAK,KAAI,OAAM,QAAO,yDAE5B;AAAA,MACA;AAAA,QAAC;AAAA;AAAA,UACC,SAAQ;AAAA,UACR,OAAM;AAAA,UACN,SAAS;AAAA,UACT,UAAU;AAAA,UACV,SAAS;AAAA,UACV;AAAA;AAAA,YACY,4CAAC,uCAAiB;AAAA;AAAA;AAAA,MAC/B;AAAA,OACF,GACF;AAAA,EAEJ;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAU;AAAA,MACV,KAAI;AAAA,MACH,GAAG,sBAAsB,YAAY,QAAQ;AAAA,MAE9C;AAAA,oDAAC,SAAS,MAAT,EACE,8BAAoB,IAAI,CAAC,WACxB,4CAAC,SAAS,MAAT,EACC;AAAA,UAAC;AAAA;AAAA,YACC;AAAA,YACA;AAAA,YACA;AAAA;AAAA,QACF,KALkB,OAAO,EAM3B,CACD,GACH;AAAA,QAEA,4CAAC,qBACC;AAAA,UAAC;AAAA;AAAA,YACC,SAAS;AAAA,YACT,UAAU;AAAA,YACV,OAAM;AAAA,YACN,SAAQ;AAAA,YACR,SAAS;AAAA,YACV;AAAA;AAAA,cACY,4CAAC,uCAAiB;AAAA;AAAA;AAAA,QAC/B,GACF;AAAA;AAAA;AAAA,EACF;AAEJ;AAKA,MAAM,uCAEF,CAAC,aAAa;AAChB,SACE,4CAAC,sBAAK,MAAK,KAAK,GAAG,sBAAsB,WAAW,QAAQ,GAC1D,uDAAC,sBAAK,KAAI,KAAI,OAAM,UAClB;AAAA,gDAAC,4BACC,sDAAC,+BAAU,GACb;AAAA,IAEA,6CAAC,sBAAK,WAAU,UACd;AAAA,kDAAC,sBAAK,MAAK,KAAI,cAAY,MAAC,QAAO,QAAO,IAAG,KAAI,IAAG,QAClD,sDAAC,4BAAS,yBAAW,GACvB;AAAA,MAEA,4CAAC,sBAAK,MAAK,KAAI,OAAM,QAAO,IAAG,KAC7B,sDAAC,4BAAS,4BAAc,GAC1B;AAAA,OACF;AAAA,KACF,GACF;AAEJ;AAMA,MAAM,qCAEF,CAAC,EAAE,OAAO,GAAG,SAAS,MAAM;AAC9B,SACE,4CAAC,sBAAK,MAAK,KAAK,GAAG,sBAAsB,SAAS,QAAQ,GACxD,sDAAC,qCAAa,OAAc,GAC9B;AAEJ;AAEA,SAAS,sBACP,OACA,UACA;AACA,aAAO,0BAAY;AAAA,IACjB,GAAG;AAAA,IACH,cAAc;AAAA,IACd,UAAU;AAAA,IACV,aAAa;AAAA,EACf,CAAC;AACH;","names":[]}
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { OrganizationDomain } from '../api/endpoint.cjs';
|
|
4
|
+
import { WidgetRootDomProps } from './utils.cjs';
|
|
4
5
|
import '@tanstack/react-query';
|
|
5
6
|
import '../api/widgets-api-client.cjs';
|
|
6
7
|
|
|
7
|
-
interface AdminPortalDomainVerificationProps {
|
|
8
|
+
interface AdminPortalDomainVerificationProps extends WidgetRootDomProps {
|
|
8
9
|
organizationDomains: OrganizationDomain[];
|
|
9
10
|
onAddDomain: () => void;
|
|
10
11
|
onDeleteDomain: (domainId: string) => void;
|
|
11
12
|
onReverifyDomain: (domainId: string) => void;
|
|
12
13
|
isPending?: boolean;
|
|
13
14
|
}
|
|
14
|
-
declare const AdminPortalDomainVerification: ({ organizationDomains, onAddDomain, onDeleteDomain, onReverifyDomain, isPending, }: AdminPortalDomainVerificationProps) => react_jsx_runtime.JSX.Element;
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
declare const AdminPortalDomainVerification: ({ organizationDomains, onAddDomain, onDeleteDomain, onReverifyDomain, isPending, ...domProps }: AdminPortalDomainVerificationProps) => react_jsx_runtime.JSX.Element;
|
|
16
|
+
interface AdminPortalDomainVerificationLoadingProps extends WidgetRootDomProps {
|
|
17
|
+
}
|
|
18
|
+
declare const AdminPortalDomainVerificationLoading: React.FC<AdminPortalDomainVerificationLoadingProps>;
|
|
19
|
+
interface AdminPortalDomainVerificationErrorProps extends WidgetRootDomProps {
|
|
17
20
|
error: unknown;
|
|
18
|
-
}
|
|
21
|
+
}
|
|
22
|
+
declare const AdminPortalDomainVerificationError: React.FC<AdminPortalDomainVerificationErrorProps>;
|
|
19
23
|
|
|
20
|
-
export { AdminPortalDomainVerification, AdminPortalDomainVerificationError, AdminPortalDomainVerificationLoading };
|
|
24
|
+
export { AdminPortalDomainVerification, AdminPortalDomainVerificationError, type AdminPortalDomainVerificationErrorProps, AdminPortalDomainVerificationLoading, type AdminPortalDomainVerificationLoadingProps, type AdminPortalDomainVerificationProps };
|