1 export const getSAMLConfigs = () => ({
2 url: 'core/v4/saml/configs',
6 export const getSAMLStaticInfo = () => ({
7 url: 'core/v4/saml/sp/info',
11 export const setupSAMLUrl = (data: { DomainID: string; MetadataURL: string }) => ({
12 url: 'core/v4/saml/setup/url',
17 export const setupSAMLXml = (data: { DomainID: string; XML: string }) => ({
18 url: 'core/v4/saml/setup/xml',
23 export const setupSAMLFields = (data: {
29 url: 'core/v4/saml/setup/fields',
34 export const updateSAMLConfig = (
43 url: `core/v4/saml/configs/${uid}/fields`,
48 export const removeSAMLConfig = (uid: string) => ({
49 url: `core/v4/saml/configs/${uid}/delete`,
53 export const getSCIMInfo = () => ({
54 url: 'core/v4/organizations/scim',
58 export const setupSCIM = (data: { Password: string }) => ({
59 url: 'core/v4/organizations/scim',
64 export const updateSCIM = (data: { State: 1; Password: string } | { State: 0 }) => ({
65 url: 'core/v4/organizations/scim',