diff --git a/web/src/pages/providers/ldap/LDAPProviderForm.ts b/web/src/pages/providers/ldap/LDAPProviderForm.ts index 304c8ffe7..492c461ba 100644 --- a/web/src/pages/providers/ldap/LDAPProviderForm.ts +++ b/web/src/pages/providers/ldap/LDAPProviderForm.ts @@ -1,4 +1,4 @@ -import { FlowDesignationEnum, FlowsApi, ProvidersApi, LDAPProvider, CoreApi } from "authentik-api"; +import { FlowDesignationEnum, FlowsApi, ProvidersApi, LDAPProvider, CoreApi, FlowsInstancesListDesignationEnum } from "authentik-api"; import { t } from "@lingui/macro"; import { customElement } from "lit-element"; import { html, TemplateResult } from "lit-html"; @@ -55,7 +55,7 @@ export class LDAPProviderFormPage extends ModelForm { ${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({ ordering: "pk", - designation: FlowDesignationEnum.Authorization, + designation: FlowsInstancesListDesignationEnum.Authorization, }).then(flows => { return flows.results.map(flow => { return html``; diff --git a/web/src/pages/providers/proxy/ProxyProviderForm.ts b/web/src/pages/providers/proxy/ProxyProviderForm.ts index 9d9c85929..e1aa9cb4c 100644 --- a/web/src/pages/providers/proxy/ProxyProviderForm.ts +++ b/web/src/pages/providers/proxy/ProxyProviderForm.ts @@ -1,4 +1,4 @@ -import { CryptoApi, FlowDesignationEnum, FlowsApi, ProvidersApi, ProxyProvider } from "authentik-api"; +import { CryptoApi, FlowDesignationEnum, FlowsApi, FlowsInstancesListDesignationEnum, ProvidersApi, ProxyProvider } from "authentik-api"; import { t } from "@lingui/macro"; import { customElement, property } from "lit-element"; import { html, TemplateResult } from "lit-html"; @@ -105,7 +105,7 @@ export class ProxyProviderFormPage extends ModelForm { ${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({ ordering: "pk", - designation: FlowDesignationEnum.Authorization, + designation: FlowsInstancesListDesignationEnum.Authorization, }).then(flows => { return flows.results.map(flow => { return html``; diff --git a/web/src/pages/providers/saml/SAMLProviderImportForm.ts b/web/src/pages/providers/saml/SAMLProviderImportForm.ts index 9b04da89e..ab02339db 100644 --- a/web/src/pages/providers/saml/SAMLProviderImportForm.ts +++ b/web/src/pages/providers/saml/SAMLProviderImportForm.ts @@ -1,4 +1,4 @@ -import { FlowDesignationEnum, FlowsApi, ProvidersApi, SAMLProvider } from "authentik-api"; +import { FlowDesignationEnum, FlowsApi, FlowsInstancesListDesignationEnum, ProvidersApi, SAMLProvider } from "authentik-api"; import { t } from "@lingui/macro"; import { customElement } from "lit-element"; import { html, TemplateResult } from "lit-html"; @@ -43,7 +43,7 @@ export class SAMLProviderImportForm extends Form { ${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({ ordering: "pk", - designation: FlowDesignationEnum.Authentication, + designation: FlowsInstancesListDesignationEnum.Authentication, }).then(flows => { return flows.results.map(flow => { let selected = this.instance?.authenticationFlow === flow.pk; @@ -250,7 +250,7 @@ export class OAuthSourceForm extends ModelForm { ${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({ ordering: "pk", - designation: FlowDesignationEnum.Authentication, + designation: FlowsInstancesListDesignationEnum.Authentication, }).then(flows => { return flows.results.map(flow => { let selected = this.instance?.authenticationFlow === flow.pk; @@ -201,7 +201,7 @@ export class PlexSourceForm extends ModelForm { ${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({ ordering: "pk", - designation: FlowDesignationEnum.StageConfiguration, + designation: FlowsInstancesListDesignationEnum.StageConfiguration, }).then(flows => { return flows.results.map(flow => { let selected = this.instance?.preAuthenticationFlow === flow.pk; @@ -238,7 +238,7 @@ export class SAMLSourceForm extends ModelForm { ${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({ ordering: "pk", - designation: FlowDesignationEnum.Enrollment, + designation: FlowsInstancesListDesignationEnum.Enrollment, }).then(flows => { return flows.results.map(flow => { let selected = this.instance?.enrollmentFlow === flow.pk; diff --git a/web/src/pages/stages/authenticator_static/AuthenticatorStaticStageForm.ts b/web/src/pages/stages/authenticator_static/AuthenticatorStaticStageForm.ts index 8aee2b761..523a1656f 100644 --- a/web/src/pages/stages/authenticator_static/AuthenticatorStaticStageForm.ts +++ b/web/src/pages/stages/authenticator_static/AuthenticatorStaticStageForm.ts @@ -1,4 +1,4 @@ -import { FlowDesignationEnum, FlowsApi, AuthenticatorStaticStage, StagesApi } from "authentik-api"; +import { FlowDesignationEnum, FlowsApi, AuthenticatorStaticStage, StagesApi, FlowsInstancesListDesignationEnum } from "authentik-api"; import { t } from "@lingui/macro"; import { customElement } from "lit-element"; import { html, TemplateResult } from "lit-html"; @@ -69,7 +69,7 @@ export class AuthenticatorStaticStageForm extends ModelForm--------- ${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({ ordering: "pk", - designation: FlowDesignationEnum.StageConfiguration, + designation: FlowsInstancesListDesignationEnum.StageConfiguration, }).then(flows => { return flows.results.map(flow => { let selected = this.instance?.configureFlow === flow.pk; diff --git a/web/src/pages/stages/authenticator_totp/AuthenticatorTOTPStageForm.ts b/web/src/pages/stages/authenticator_totp/AuthenticatorTOTPStageForm.ts index 9ea2ad4f1..3cb921037 100644 --- a/web/src/pages/stages/authenticator_totp/AuthenticatorTOTPStageForm.ts +++ b/web/src/pages/stages/authenticator_totp/AuthenticatorTOTPStageForm.ts @@ -1,4 +1,4 @@ -import { FlowDesignationEnum, FlowsApi, AuthenticatorTOTPStage, StagesApi } from "authentik-api"; +import { FlowDesignationEnum, FlowsApi, AuthenticatorTOTPStage, StagesApi, FlowsInstancesListDesignationEnum } from "authentik-api"; import { t } from "@lingui/macro"; import { customElement } from "lit-element"; import { html, TemplateResult } from "lit-html"; @@ -75,7 +75,7 @@ export class AuthenticatorTOTPStageForm extends ModelForm--------- ${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({ ordering: "pk", - designation: FlowDesignationEnum.StageConfiguration, + designation: FlowsInstancesListDesignationEnum.StageConfiguration, }).then(flows => { return flows.results.map(flow => { let selected = this.instance?.configureFlow === flow.pk; diff --git a/web/src/pages/stages/identification/IdentificationStageForm.ts b/web/src/pages/stages/identification/IdentificationStageForm.ts index e87675ee1..1cd1691b1 100644 --- a/web/src/pages/stages/identification/IdentificationStageForm.ts +++ b/web/src/pages/stages/identification/IdentificationStageForm.ts @@ -1,4 +1,4 @@ -import { FlowDesignationEnum, FlowsApi, IdentificationStage, UserFieldsEnum, StagesApi } from "authentik-api"; +import { FlowDesignationEnum, FlowsApi, IdentificationStage, UserFieldsEnum, StagesApi, FlowsInstancesListDesignationEnum } from "authentik-api"; import { t } from "@lingui/macro"; import { customElement } from "lit-element"; import { html, TemplateResult } from "lit-html"; @@ -101,7 +101,7 @@ export class IdentificationStageForm extends ModelForm--------- ${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({ ordering: "pk", - designation: FlowDesignationEnum.Enrollment, + designation: FlowsInstancesListDesignationEnum.Enrollment, }).then(flows => { return flows.results.map(flow => { const selected = this.instance?.enrollmentFlow === flow.pk; @@ -118,7 +118,7 @@ export class IdentificationStageForm extends ModelForm--------- ${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({ ordering: "pk", - designation: FlowDesignationEnum.Recovery, + designation: FlowsInstancesListDesignationEnum.Recovery, }).then(flows => { return flows.results.map(flow => { const selected = this.instance?.recoveryFlow === flow.pk; diff --git a/web/src/pages/stages/password/PasswordStageForm.ts b/web/src/pages/stages/password/PasswordStageForm.ts index 2a0b68d31..a4bfa97df 100644 --- a/web/src/pages/stages/password/PasswordStageForm.ts +++ b/web/src/pages/stages/password/PasswordStageForm.ts @@ -1,4 +1,4 @@ -import { FlowDesignationEnum, FlowsApi, PasswordStage, BackendsEnum, StagesApi } from "authentik-api"; +import { FlowDesignationEnum, FlowsApi, PasswordStage, BackendsEnum, StagesApi, FlowsInstancesListDesignationEnum } from "authentik-api"; import { t } from "@lingui/macro"; import { customElement } from "lit-element"; import { html, TemplateResult } from "lit-html"; @@ -85,7 +85,7 @@ export class PasswordStageForm extends ModelForm { ${until(new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({ ordering: "pk", - designation: FlowDesignationEnum.StageConfiguration, + designation: FlowsInstancesListDesignationEnum.StageConfiguration, }).then(flows => { return flows.results.map(flow => { let selected = this.instance?.configureFlow === flow.pk;