@wacht/jsx 0.0.1-alpha.34 → 0.0.1-alpha.35
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/dist/index.cjs.js +761 -726
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +57 -0
- package/dist/index.es.js +10256 -9403
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ import { ProfileCompletionProps } from '@wacht/types';
|
|
|
36
36
|
import { ReactNode } from 'react';
|
|
37
37
|
import { RefAttributes } from 'react';
|
|
38
38
|
import { RoleCreate } from '@wacht/types';
|
|
39
|
+
import { SCIMTokenInfo } from '@wacht/types';
|
|
39
40
|
import { SecondFactorPolicy } from '@wacht/types';
|
|
40
41
|
import { Segment } from '@wacht/types';
|
|
41
42
|
import { Session } from '@wacht/types';
|
|
@@ -841,7 +842,12 @@ export declare const useActiveOrganization: () => {
|
|
|
841
842
|
createEnterpriseConnection: never;
|
|
842
843
|
updateEnterpriseConnection: never;
|
|
843
844
|
deleteEnterpriseConnection: never;
|
|
845
|
+
generateSCIMToken: never;
|
|
846
|
+
getSCIMToken: never;
|
|
847
|
+
revokeSCIMToken: never;
|
|
844
848
|
refetch?: undefined;
|
|
849
|
+
testEnterpriseConnectionConfig?: undefined;
|
|
850
|
+
testEnterpriseConnection?: undefined;
|
|
845
851
|
} | {
|
|
846
852
|
activeOrganization: Organization | null;
|
|
847
853
|
loading: boolean;
|
|
@@ -874,6 +880,34 @@ export declare const useActiveOrganization: () => {
|
|
|
874
880
|
createEnterpriseConnection: (payload: CreateEnterpriseConnectionPayload) => Promise<EnterpriseConnection | undefined>;
|
|
875
881
|
updateEnterpriseConnection: (connectionId: string, payload: UpdateEnterpriseConnectionPayload) => Promise<EnterpriseConnection | undefined>;
|
|
876
882
|
deleteEnterpriseConnection: (connectionId: string) => Promise<void>;
|
|
883
|
+
testEnterpriseConnectionConfig: (payload: Parameters<(organization: Organization, payload: {
|
|
884
|
+
protocol: "saml" | "oidc";
|
|
885
|
+
idp_entity_id?: string;
|
|
886
|
+
idp_sso_url?: string;
|
|
887
|
+
idp_certificate?: string;
|
|
888
|
+
oidc_issuer_url?: string;
|
|
889
|
+
oidc_client_id?: string;
|
|
890
|
+
oidc_client_secret?: string;
|
|
891
|
+
}) => Promise<{
|
|
892
|
+
success: boolean;
|
|
893
|
+
protocol: string;
|
|
894
|
+
checks: Record<string, boolean>;
|
|
895
|
+
errors?: Record<string, string>;
|
|
896
|
+
}>>[1]) => Promise<{
|
|
897
|
+
success: boolean;
|
|
898
|
+
protocol: string;
|
|
899
|
+
checks: Record<string, boolean>;
|
|
900
|
+
errors?: Record<string, string>;
|
|
901
|
+
} | null>;
|
|
902
|
+
testEnterpriseConnection: (connectionId: string) => Promise<{
|
|
903
|
+
success: boolean;
|
|
904
|
+
protocol: string;
|
|
905
|
+
checks: Record<string, boolean>;
|
|
906
|
+
errors?: Record<string, string>;
|
|
907
|
+
} | null>;
|
|
908
|
+
generateSCIMToken: (connectionId: string) => Promise<SCIMTokenInfo | undefined>;
|
|
909
|
+
getSCIMToken: (connectionId: string) => Promise<SCIMTokenInfo | undefined>;
|
|
910
|
+
revokeSCIMToken: (connectionId: string) => Promise<void>;
|
|
877
911
|
error: null;
|
|
878
912
|
};
|
|
879
913
|
|
|
@@ -1086,6 +1120,29 @@ export declare const useOrganizationList: () => {
|
|
|
1086
1120
|
createEnterpriseConnection: (organization: Organization, payload: CreateEnterpriseConnectionPayload) => Promise<EnterpriseConnection>;
|
|
1087
1121
|
updateEnterpriseConnection: (organization: Organization, connectionId: string, payload: UpdateEnterpriseConnectionPayload) => Promise<EnterpriseConnection>;
|
|
1088
1122
|
deleteEnterpriseConnection: (organization: Organization, connectionId: string) => Promise<void>;
|
|
1123
|
+
testEnterpriseConnectionConfig: (organization: Organization, payload: {
|
|
1124
|
+
protocol: "saml" | "oidc";
|
|
1125
|
+
idp_entity_id?: string;
|
|
1126
|
+
idp_sso_url?: string;
|
|
1127
|
+
idp_certificate?: string;
|
|
1128
|
+
oidc_issuer_url?: string;
|
|
1129
|
+
oidc_client_id?: string;
|
|
1130
|
+
oidc_client_secret?: string;
|
|
1131
|
+
}) => Promise<{
|
|
1132
|
+
success: boolean;
|
|
1133
|
+
protocol: string;
|
|
1134
|
+
checks: Record<string, boolean>;
|
|
1135
|
+
errors?: Record<string, string>;
|
|
1136
|
+
}>;
|
|
1137
|
+
testEnterpriseConnection: (organization: Organization, connectionId: string) => Promise<{
|
|
1138
|
+
success: boolean;
|
|
1139
|
+
protocol: string;
|
|
1140
|
+
checks: Record<string, boolean>;
|
|
1141
|
+
errors?: Record<string, string>;
|
|
1142
|
+
}>;
|
|
1143
|
+
generateSCIMToken: (organization: Organization, connectionId: string) => Promise<SCIMTokenInfo>;
|
|
1144
|
+
getSCIMToken: (organization: Organization, connectionId: string) => Promise<SCIMTokenInfo>;
|
|
1145
|
+
revokeSCIMToken: (organization: Organization, connectionId: string) => Promise<void>;
|
|
1089
1146
|
};
|
|
1090
1147
|
|
|
1091
1148
|
export declare const useOrganizationMemberships: () => {
|