@goauthentik/api 2022.3.3-1648933813 → 2022.3.3-1649702663
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/.openapi-generator/FILES +2 -0
- package/.openapi-generator/VERSION +1 -1
- package/dist/apis/CoreApi.d.ts +22 -10
- package/dist/apis/CoreApi.js +43 -10
- package/dist/apis/EventsApi.d.ts +24 -24
- package/dist/apis/EventsApi.js +21 -27
- package/dist/apis/FlowsApi.d.ts +27 -27
- package/dist/apis/FlowsApi.js +24 -30
- package/dist/apis/PoliciesApi.d.ts +83 -83
- package/dist/apis/PoliciesApi.js +81 -85
- package/dist/apis/ProvidersApi.d.ts +56 -56
- package/dist/apis/ProvidersApi.js +49 -63
- package/dist/apis/SchemaApi.d.ts +109 -109
- package/dist/apis/SchemaApi.js +107 -111
- package/dist/apis/SourcesApi.d.ts +88 -88
- package/dist/apis/SourcesApi.js +78 -98
- package/dist/apis/StagesApi.d.ts +78 -78
- package/dist/apis/StagesApi.js +69 -87
- package/dist/esm/apis/CoreApi.d.ts +22 -10
- package/dist/esm/apis/CoreApi.js +44 -11
- package/dist/esm/apis/EventsApi.d.ts +24 -24
- package/dist/esm/apis/EventsApi.js +21 -27
- package/dist/esm/apis/FlowsApi.d.ts +27 -27
- package/dist/esm/apis/FlowsApi.js +24 -30
- package/dist/esm/apis/PoliciesApi.d.ts +83 -83
- package/dist/esm/apis/PoliciesApi.js +81 -85
- package/dist/esm/apis/ProvidersApi.d.ts +56 -56
- package/dist/esm/apis/ProvidersApi.js +49 -63
- package/dist/esm/apis/SchemaApi.d.ts +109 -109
- package/dist/esm/apis/SchemaApi.js +107 -111
- package/dist/esm/apis/SourcesApi.d.ts +88 -88
- package/dist/esm/apis/SourcesApi.js +78 -98
- package/dist/esm/apis/StagesApi.d.ts +78 -78
- package/dist/esm/apis/StagesApi.js +69 -87
- package/dist/esm/models/AppEnum.d.ts +49 -49
- package/dist/esm/models/AppEnum.js +48 -50
- package/dist/esm/models/Application.d.ts +1 -1
- package/dist/esm/models/Application.js +2 -3
- package/dist/esm/models/ApplicationRequest.d.ts +0 -7
- package/dist/esm/models/ApplicationRequest.js +0 -3
- package/dist/esm/models/AuthTypeEnum.d.ts +5 -5
- package/dist/esm/models/AuthTypeEnum.js +4 -6
- package/dist/esm/models/AuthenticatorAttachmentEnum.d.ts +5 -5
- package/dist/esm/models/AuthenticatorAttachmentEnum.js +4 -6
- package/dist/esm/models/BackendsEnum.d.ts +6 -6
- package/dist/esm/models/BackendsEnum.js +5 -7
- package/dist/esm/models/BindingTypeEnum.d.ts +6 -6
- package/dist/esm/models/BindingTypeEnum.js +5 -7
- package/dist/esm/models/CapabilitiesEnum.d.ts +5 -5
- package/dist/esm/models/CapabilitiesEnum.js +4 -6
- package/dist/esm/models/ChallengeChoices.d.ts +6 -6
- package/dist/esm/models/ChallengeChoices.js +5 -7
- package/dist/esm/models/ClientTypeEnum.d.ts +5 -5
- package/dist/esm/models/ClientTypeEnum.js +4 -6
- package/dist/esm/models/ConsentStageModeEnum.d.ts +6 -6
- package/dist/esm/models/ConsentStageModeEnum.js +5 -7
- package/dist/esm/models/DeviceClassesEnum.d.ts +8 -8
- package/dist/esm/models/DeviceClassesEnum.js +7 -9
- package/dist/esm/models/DigestAlgorithmEnum.d.ts +7 -7
- package/dist/esm/models/DigestAlgorithmEnum.js +6 -8
- package/dist/esm/models/DigitsEnum.d.ts +5 -5
- package/dist/esm/models/DigitsEnum.js +4 -6
- package/dist/esm/models/EventActions.d.ts +30 -30
- package/dist/esm/models/EventActions.js +29 -31
- package/dist/esm/models/FlowDesignationEnum.d.ts +10 -10
- package/dist/esm/models/FlowDesignationEnum.js +9 -11
- package/dist/esm/models/IntentEnum.d.ts +7 -7
- package/dist/esm/models/IntentEnum.js +6 -8
- package/dist/esm/models/InvalidResponseActionEnum.d.ts +6 -6
- package/dist/esm/models/InvalidResponseActionEnum.js +5 -7
- package/dist/esm/models/IssuerModeEnum.d.ts +5 -5
- package/dist/esm/models/IssuerModeEnum.js +4 -6
- package/dist/esm/models/NameIdPolicyEnum.d.ts +8 -8
- package/dist/esm/models/NameIdPolicyEnum.js +7 -9
- package/dist/esm/models/NotConfiguredActionEnum.d.ts +6 -6
- package/dist/esm/models/NotConfiguredActionEnum.js +5 -7
- package/dist/esm/models/NotificationTransportModeEnum.d.ts +6 -6
- package/dist/esm/models/NotificationTransportModeEnum.js +5 -7
- package/dist/esm/models/OutpostTypeEnum.d.ts +5 -5
- package/dist/esm/models/OutpostTypeEnum.js +4 -6
- package/dist/esm/models/PatchedApplicationRequest.d.ts +0 -7
- package/dist/esm/models/PatchedApplicationRequest.js +0 -3
- package/dist/esm/models/PatchedTenantRequest.d.ts +8 -0
- package/dist/esm/models/PatchedTenantRequest.js +2 -0
- package/dist/esm/models/PatchedTokenRequest.d.ts +0 -7
- package/dist/esm/models/PatchedTokenRequest.js +0 -3
- package/dist/esm/models/PolicyEngineMode.d.ts +5 -5
- package/dist/esm/models/PolicyEngineMode.js +4 -6
- package/dist/esm/models/PromptTypeEnum.d.ts +16 -16
- package/dist/esm/models/PromptTypeEnum.js +15 -17
- package/dist/esm/models/ProviderEnum.d.ts +5 -5
- package/dist/esm/models/ProviderEnum.js +4 -6
- package/dist/esm/models/ProviderTypeEnum.d.ts +14 -14
- package/dist/esm/models/ProviderTypeEnum.js +13 -15
- package/dist/esm/models/ProxyMode.d.ts +6 -6
- package/dist/esm/models/ProxyMode.js +5 -7
- package/dist/esm/models/ResidentKeyRequirementEnum.d.ts +6 -6
- package/dist/esm/models/ResidentKeyRequirementEnum.js +5 -7
- package/dist/esm/models/SearchModeEnum.d.ts +5 -5
- package/dist/esm/models/SearchModeEnum.js +4 -6
- package/dist/esm/models/SeverityEnum.d.ts +6 -6
- package/dist/esm/models/SeverityEnum.js +5 -7
- package/dist/esm/models/SignatureAlgorithmEnum.d.ts +8 -8
- package/dist/esm/models/SignatureAlgorithmEnum.js +7 -9
- package/dist/esm/models/SpBindingEnum.d.ts +5 -5
- package/dist/esm/models/SpBindingEnum.js +4 -6
- package/dist/esm/models/StatusEnum.d.ts +7 -7
- package/dist/esm/models/StatusEnum.js +6 -8
- package/dist/esm/models/SubModeEnum.d.ts +7 -7
- package/dist/esm/models/SubModeEnum.js +6 -8
- package/dist/esm/models/Tenant.d.ts +8 -0
- package/dist/esm/models/Tenant.js +2 -0
- package/dist/esm/models/TenantRequest.d.ts +8 -0
- package/dist/esm/models/TenantRequest.js +2 -0
- package/dist/esm/models/Token.d.ts +1 -1
- package/dist/esm/models/Token.js +2 -3
- package/dist/esm/models/TokenRequest.d.ts +0 -7
- package/dist/esm/models/TokenRequest.js +0 -3
- package/dist/esm/models/TokenSetKeyRequest.d.ts +27 -0
- package/dist/esm/models/TokenSetKeyRequest.js +35 -0
- package/dist/esm/models/UsedByActionEnum.d.ts +7 -7
- package/dist/esm/models/UsedByActionEnum.js +6 -8
- package/dist/esm/models/UserFieldsEnum.d.ts +6 -6
- package/dist/esm/models/UserFieldsEnum.js +5 -7
- package/dist/esm/models/UserMatchingModeEnum.d.ts +8 -8
- package/dist/esm/models/UserMatchingModeEnum.js +7 -9
- package/dist/esm/models/UserSelf.d.ts +2 -3
- package/dist/esm/models/UserSelf.js +1 -2
- package/dist/esm/models/UserVerificationEnum.d.ts +6 -6
- package/dist/esm/models/UserVerificationEnum.js +5 -7
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/runtime.js +1 -0
- package/dist/models/AppEnum.d.ts +49 -49
- package/dist/models/AppEnum.js +48 -50
- package/dist/models/Application.d.ts +1 -1
- package/dist/models/Application.js +1 -2
- package/dist/models/ApplicationRequest.d.ts +0 -7
- package/dist/models/ApplicationRequest.js +0 -3
- package/dist/models/AuthTypeEnum.d.ts +5 -5
- package/dist/models/AuthTypeEnum.js +4 -6
- package/dist/models/AuthenticatorAttachmentEnum.d.ts +5 -5
- package/dist/models/AuthenticatorAttachmentEnum.js +4 -6
- package/dist/models/BackendsEnum.d.ts +6 -6
- package/dist/models/BackendsEnum.js +5 -7
- package/dist/models/BindingTypeEnum.d.ts +6 -6
- package/dist/models/BindingTypeEnum.js +5 -7
- package/dist/models/CapabilitiesEnum.d.ts +5 -5
- package/dist/models/CapabilitiesEnum.js +4 -6
- package/dist/models/ChallengeChoices.d.ts +6 -6
- package/dist/models/ChallengeChoices.js +5 -7
- package/dist/models/ClientTypeEnum.d.ts +5 -5
- package/dist/models/ClientTypeEnum.js +4 -6
- package/dist/models/ConsentStageModeEnum.d.ts +6 -6
- package/dist/models/ConsentStageModeEnum.js +5 -7
- package/dist/models/DeviceClassesEnum.d.ts +8 -8
- package/dist/models/DeviceClassesEnum.js +7 -9
- package/dist/models/DigestAlgorithmEnum.d.ts +7 -7
- package/dist/models/DigestAlgorithmEnum.js +6 -8
- package/dist/models/DigitsEnum.d.ts +5 -5
- package/dist/models/DigitsEnum.js +4 -6
- package/dist/models/EventActions.d.ts +30 -30
- package/dist/models/EventActions.js +29 -31
- package/dist/models/FlowDesignationEnum.d.ts +10 -10
- package/dist/models/FlowDesignationEnum.js +9 -11
- package/dist/models/IntentEnum.d.ts +7 -7
- package/dist/models/IntentEnum.js +6 -8
- package/dist/models/InvalidResponseActionEnum.d.ts +6 -6
- package/dist/models/InvalidResponseActionEnum.js +5 -7
- package/dist/models/IssuerModeEnum.d.ts +5 -5
- package/dist/models/IssuerModeEnum.js +4 -6
- package/dist/models/NameIdPolicyEnum.d.ts +8 -8
- package/dist/models/NameIdPolicyEnum.js +7 -9
- package/dist/models/NotConfiguredActionEnum.d.ts +6 -6
- package/dist/models/NotConfiguredActionEnum.js +5 -7
- package/dist/models/NotificationTransportModeEnum.d.ts +6 -6
- package/dist/models/NotificationTransportModeEnum.js +5 -7
- package/dist/models/OutpostTypeEnum.d.ts +5 -5
- package/dist/models/OutpostTypeEnum.js +4 -6
- package/dist/models/PatchedApplicationRequest.d.ts +0 -7
- package/dist/models/PatchedApplicationRequest.js +0 -3
- package/dist/models/PatchedTenantRequest.d.ts +8 -0
- package/dist/models/PatchedTenantRequest.js +2 -0
- package/dist/models/PatchedTokenRequest.d.ts +0 -7
- package/dist/models/PatchedTokenRequest.js +0 -3
- package/dist/models/PolicyEngineMode.d.ts +5 -5
- package/dist/models/PolicyEngineMode.js +4 -6
- package/dist/models/PromptTypeEnum.d.ts +16 -16
- package/dist/models/PromptTypeEnum.js +15 -17
- package/dist/models/ProviderEnum.d.ts +5 -5
- package/dist/models/ProviderEnum.js +4 -6
- package/dist/models/ProviderTypeEnum.d.ts +14 -14
- package/dist/models/ProviderTypeEnum.js +13 -15
- package/dist/models/ProxyMode.d.ts +6 -6
- package/dist/models/ProxyMode.js +5 -7
- package/dist/models/ResidentKeyRequirementEnum.d.ts +6 -6
- package/dist/models/ResidentKeyRequirementEnum.js +5 -7
- package/dist/models/SearchModeEnum.d.ts +5 -5
- package/dist/models/SearchModeEnum.js +4 -6
- package/dist/models/SeverityEnum.d.ts +6 -6
- package/dist/models/SeverityEnum.js +5 -7
- package/dist/models/SignatureAlgorithmEnum.d.ts +8 -8
- package/dist/models/SignatureAlgorithmEnum.js +7 -9
- package/dist/models/SpBindingEnum.d.ts +5 -5
- package/dist/models/SpBindingEnum.js +4 -6
- package/dist/models/StatusEnum.d.ts +7 -7
- package/dist/models/StatusEnum.js +6 -8
- package/dist/models/SubModeEnum.d.ts +7 -7
- package/dist/models/SubModeEnum.js +6 -8
- package/dist/models/Tenant.d.ts +8 -0
- package/dist/models/Tenant.js +2 -0
- package/dist/models/TenantRequest.d.ts +8 -0
- package/dist/models/TenantRequest.js +2 -0
- package/dist/models/Token.d.ts +1 -1
- package/dist/models/Token.js +1 -2
- package/dist/models/TokenRequest.d.ts +0 -7
- package/dist/models/TokenRequest.js +0 -3
- package/dist/models/TokenSetKeyRequest.d.ts +27 -0
- package/dist/models/TokenSetKeyRequest.js +41 -0
- package/dist/models/UsedByActionEnum.d.ts +7 -7
- package/dist/models/UsedByActionEnum.js +6 -8
- package/dist/models/UserFieldsEnum.d.ts +6 -6
- package/dist/models/UserFieldsEnum.js +5 -7
- package/dist/models/UserMatchingModeEnum.d.ts +8 -8
- package/dist/models/UserMatchingModeEnum.js +7 -9
- package/dist/models/UserSelf.d.ts +2 -3
- package/dist/models/UserSelf.js +1 -2
- package/dist/models/UserVerificationEnum.d.ts +6 -6
- package/dist/models/UserVerificationEnum.js +5 -7
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/runtime.js +1 -0
- package/package.json +17 -1
- package/src/apis/CoreApi.ts +58 -9
- package/src/apis/EventsApi.ts +27 -24
- package/src/apis/FlowsApi.ts +30 -27
- package/src/apis/PoliciesApi.ts +85 -83
- package/src/apis/ProvidersApi.ts +63 -56
- package/src/apis/SchemaApi.ts +111 -109
- package/src/apis/SourcesApi.ts +98 -88
- package/src/apis/StagesApi.ts +87 -78
- package/src/models/AppEnum.ts +52 -49
- package/src/models/Application.ts +2 -3
- package/src/models/ApplicationRequest.ts +0 -14
- package/src/models/AuthTypeEnum.ts +8 -5
- package/src/models/AuthenticatorAttachmentEnum.ts +8 -5
- package/src/models/BackendsEnum.ts +9 -6
- package/src/models/BindingTypeEnum.ts +9 -6
- package/src/models/CapabilitiesEnum.ts +8 -5
- package/src/models/ChallengeChoices.ts +9 -6
- package/src/models/ClientTypeEnum.ts +8 -5
- package/src/models/ConsentStageModeEnum.ts +9 -6
- package/src/models/DeviceClassesEnum.ts +11 -8
- package/src/models/DigestAlgorithmEnum.ts +10 -7
- package/src/models/DigitsEnum.ts +8 -5
- package/src/models/EventActions.ts +33 -30
- package/src/models/FlowDesignationEnum.ts +13 -10
- package/src/models/IntentEnum.ts +10 -7
- package/src/models/InvalidResponseActionEnum.ts +9 -6
- package/src/models/IssuerModeEnum.ts +8 -5
- package/src/models/NameIdPolicyEnum.ts +11 -8
- package/src/models/NotConfiguredActionEnum.ts +9 -6
- package/src/models/NotificationTransportModeEnum.ts +9 -6
- package/src/models/OutpostTypeEnum.ts +8 -5
- package/src/models/PatchedApplicationRequest.ts +0 -14
- package/src/models/PatchedTenantRequest.ts +8 -0
- package/src/models/PatchedTokenRequest.ts +0 -14
- package/src/models/PolicyEngineMode.ts +8 -5
- package/src/models/PromptTypeEnum.ts +19 -16
- package/src/models/ProviderEnum.ts +8 -5
- package/src/models/ProviderTypeEnum.ts +17 -14
- package/src/models/ProxyMode.ts +9 -6
- package/src/models/ResidentKeyRequirementEnum.ts +9 -6
- package/src/models/SearchModeEnum.ts +8 -5
- package/src/models/SeverityEnum.ts +9 -6
- package/src/models/SignatureAlgorithmEnum.ts +11 -8
- package/src/models/SpBindingEnum.ts +8 -5
- package/src/models/StatusEnum.ts +10 -7
- package/src/models/SubModeEnum.ts +10 -7
- package/src/models/Tenant.ts +8 -0
- package/src/models/TenantRequest.ts +8 -0
- package/src/models/Token.ts +2 -3
- package/src/models/TokenRequest.ts +0 -14
- package/src/models/TokenSetKeyRequest.ts +56 -0
- package/src/models/UsedByActionEnum.ts +10 -7
- package/src/models/UserFieldsEnum.ts +9 -6
- package/src/models/UserMatchingModeEnum.ts +11 -8
- package/src/models/UserSelf.ts +3 -5
- package/src/models/UserVerificationEnum.ts +9 -6
- package/src/models/index.ts +1 -0
- package/src/runtime.ts +2 -0
- package/tsconfig.esm.json +7 -1
package/src/models/AppEnum.ts
CHANGED
|
@@ -12,59 +12,62 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Admin
|
|
22
|
-
Api
|
|
23
|
-
Crypto
|
|
24
|
-
Events
|
|
25
|
-
Flows
|
|
26
|
-
Lib
|
|
27
|
-
Outposts
|
|
28
|
-
PoliciesDummy
|
|
29
|
-
PoliciesEventMatcher
|
|
30
|
-
PoliciesExpiry
|
|
31
|
-
PoliciesExpression
|
|
32
|
-
PoliciesHibp
|
|
33
|
-
PoliciesPassword
|
|
34
|
-
PoliciesReputation
|
|
35
|
-
Policies
|
|
36
|
-
ProvidersLdap
|
|
37
|
-
ProvidersOauth2
|
|
38
|
-
ProvidersProxy
|
|
39
|
-
ProvidersSaml
|
|
40
|
-
Recovery
|
|
41
|
-
SourcesLdap
|
|
42
|
-
SourcesOauth
|
|
43
|
-
SourcesPlex
|
|
44
|
-
SourcesSaml
|
|
45
|
-
StagesAuthenticatorDuo
|
|
46
|
-
StagesAuthenticatorSms
|
|
47
|
-
StagesAuthenticatorStatic
|
|
48
|
-
StagesAuthenticatorTotp
|
|
49
|
-
StagesAuthenticatorValidate
|
|
50
|
-
StagesAuthenticatorWebauthn
|
|
51
|
-
StagesCaptcha
|
|
52
|
-
StagesConsent
|
|
53
|
-
StagesDeny
|
|
54
|
-
StagesDummy
|
|
55
|
-
StagesEmail
|
|
56
|
-
StagesIdentification
|
|
57
|
-
StagesInvitation
|
|
58
|
-
StagesPassword
|
|
59
|
-
StagesPrompt
|
|
60
|
-
StagesUserDelete
|
|
61
|
-
StagesUserLogin
|
|
62
|
-
StagesUserLogout
|
|
63
|
-
StagesUserWrite
|
|
64
|
-
Tenants
|
|
65
|
-
Managed
|
|
66
|
-
Core
|
|
67
|
-
}
|
|
20
|
+
export const AppEnum = {
|
|
21
|
+
Admin: 'authentik.admin',
|
|
22
|
+
Api: 'authentik.api',
|
|
23
|
+
Crypto: 'authentik.crypto',
|
|
24
|
+
Events: 'authentik.events',
|
|
25
|
+
Flows: 'authentik.flows',
|
|
26
|
+
Lib: 'authentik.lib',
|
|
27
|
+
Outposts: 'authentik.outposts',
|
|
28
|
+
PoliciesDummy: 'authentik.policies.dummy',
|
|
29
|
+
PoliciesEventMatcher: 'authentik.policies.event_matcher',
|
|
30
|
+
PoliciesExpiry: 'authentik.policies.expiry',
|
|
31
|
+
PoliciesExpression: 'authentik.policies.expression',
|
|
32
|
+
PoliciesHibp: 'authentik.policies.hibp',
|
|
33
|
+
PoliciesPassword: 'authentik.policies.password',
|
|
34
|
+
PoliciesReputation: 'authentik.policies.reputation',
|
|
35
|
+
Policies: 'authentik.policies',
|
|
36
|
+
ProvidersLdap: 'authentik.providers.ldap',
|
|
37
|
+
ProvidersOauth2: 'authentik.providers.oauth2',
|
|
38
|
+
ProvidersProxy: 'authentik.providers.proxy',
|
|
39
|
+
ProvidersSaml: 'authentik.providers.saml',
|
|
40
|
+
Recovery: 'authentik.recovery',
|
|
41
|
+
SourcesLdap: 'authentik.sources.ldap',
|
|
42
|
+
SourcesOauth: 'authentik.sources.oauth',
|
|
43
|
+
SourcesPlex: 'authentik.sources.plex',
|
|
44
|
+
SourcesSaml: 'authentik.sources.saml',
|
|
45
|
+
StagesAuthenticatorDuo: 'authentik.stages.authenticator_duo',
|
|
46
|
+
StagesAuthenticatorSms: 'authentik.stages.authenticator_sms',
|
|
47
|
+
StagesAuthenticatorStatic: 'authentik.stages.authenticator_static',
|
|
48
|
+
StagesAuthenticatorTotp: 'authentik.stages.authenticator_totp',
|
|
49
|
+
StagesAuthenticatorValidate: 'authentik.stages.authenticator_validate',
|
|
50
|
+
StagesAuthenticatorWebauthn: 'authentik.stages.authenticator_webauthn',
|
|
51
|
+
StagesCaptcha: 'authentik.stages.captcha',
|
|
52
|
+
StagesConsent: 'authentik.stages.consent',
|
|
53
|
+
StagesDeny: 'authentik.stages.deny',
|
|
54
|
+
StagesDummy: 'authentik.stages.dummy',
|
|
55
|
+
StagesEmail: 'authentik.stages.email',
|
|
56
|
+
StagesIdentification: 'authentik.stages.identification',
|
|
57
|
+
StagesInvitation: 'authentik.stages.invitation',
|
|
58
|
+
StagesPassword: 'authentik.stages.password',
|
|
59
|
+
StagesPrompt: 'authentik.stages.prompt',
|
|
60
|
+
StagesUserDelete: 'authentik.stages.user_delete',
|
|
61
|
+
StagesUserLogin: 'authentik.stages.user_login',
|
|
62
|
+
StagesUserLogout: 'authentik.stages.user_logout',
|
|
63
|
+
StagesUserWrite: 'authentik.stages.user_write',
|
|
64
|
+
Tenants: 'authentik.tenants',
|
|
65
|
+
Managed: 'authentik.managed',
|
|
66
|
+
Core: 'authentik.core'
|
|
67
|
+
} as const;
|
|
68
|
+
|
|
69
|
+
export type AppEnum = typeof AppEnum[keyof typeof AppEnum];
|
|
70
|
+
|
|
68
71
|
|
|
69
72
|
export function AppEnumFromJSON(json: any): AppEnum {
|
|
70
73
|
return AppEnumFromJSONTyped(json, false);
|
|
@@ -61,7 +61,7 @@ export interface Application {
|
|
|
61
61
|
* @type {Provider}
|
|
62
62
|
* @memberof Application
|
|
63
63
|
*/
|
|
64
|
-
providerObj
|
|
64
|
+
readonly providerObj: Provider | null;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* @type {string}
|
|
@@ -120,7 +120,7 @@ export function ApplicationFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
120
120
|
'name': json['name'],
|
|
121
121
|
'slug': json['slug'],
|
|
122
122
|
'provider': !exists(json, 'provider') ? undefined : json['provider'],
|
|
123
|
-
'providerObj':
|
|
123
|
+
'providerObj': ProviderFromJSON(json['provider_obj']),
|
|
124
124
|
'launchUrl': json['launch_url'],
|
|
125
125
|
'metaLaunchUrl': !exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
|
|
126
126
|
'metaIcon': json['meta_icon'],
|
|
@@ -143,7 +143,6 @@ export function ApplicationToJSON(value?: Application | null): any {
|
|
|
143
143
|
'name': value.name,
|
|
144
144
|
'slug': value.slug,
|
|
145
145
|
'provider': value.provider,
|
|
146
|
-
'provider_obj': ProviderToJSON(value.providerObj),
|
|
147
146
|
'meta_launch_url': value.metaLaunchUrl,
|
|
148
147
|
'meta_description': value.metaDescription,
|
|
149
148
|
'meta_publisher': value.metaPublisher,
|
|
@@ -19,12 +19,6 @@ import {
|
|
|
19
19
|
PolicyEngineModeFromJSONTyped,
|
|
20
20
|
PolicyEngineModeToJSON,
|
|
21
21
|
} from './PolicyEngineMode';
|
|
22
|
-
import {
|
|
23
|
-
ProviderRequest,
|
|
24
|
-
ProviderRequestFromJSON,
|
|
25
|
-
ProviderRequestFromJSONTyped,
|
|
26
|
-
ProviderRequestToJSON,
|
|
27
|
-
} from './ProviderRequest';
|
|
28
22
|
|
|
29
23
|
/**
|
|
30
24
|
* Application Serializer
|
|
@@ -50,12 +44,6 @@ export interface ApplicationRequest {
|
|
|
50
44
|
* @memberof ApplicationRequest
|
|
51
45
|
*/
|
|
52
46
|
provider?: number | null;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {ProviderRequest}
|
|
56
|
-
* @memberof ApplicationRequest
|
|
57
|
-
*/
|
|
58
|
-
providerObj?: ProviderRequest;
|
|
59
47
|
/**
|
|
60
48
|
*
|
|
61
49
|
* @type {string}
|
|
@@ -101,7 +89,6 @@ export function ApplicationRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
101
89
|
'name': json['name'],
|
|
102
90
|
'slug': json['slug'],
|
|
103
91
|
'provider': !exists(json, 'provider') ? undefined : json['provider'],
|
|
104
|
-
'providerObj': !exists(json, 'provider_obj') ? undefined : ProviderRequestFromJSON(json['provider_obj']),
|
|
105
92
|
'metaLaunchUrl': !exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
|
|
106
93
|
'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
107
94
|
'metaPublisher': !exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
@@ -122,7 +109,6 @@ export function ApplicationRequestToJSON(value?: ApplicationRequest | null): any
|
|
|
122
109
|
'name': value.name,
|
|
123
110
|
'slug': value.slug,
|
|
124
111
|
'provider': value.provider,
|
|
125
|
-
'provider_obj': ProviderRequestToJSON(value.providerObj),
|
|
126
112
|
'meta_launch_url': value.metaLaunchUrl,
|
|
127
113
|
'meta_description': value.metaDescription,
|
|
128
114
|
'meta_publisher': value.metaPublisher,
|
|
@@ -12,15 +12,18 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Basic
|
|
22
|
-
Bearer
|
|
23
|
-
}
|
|
20
|
+
export const AuthTypeEnum = {
|
|
21
|
+
Basic: 'basic',
|
|
22
|
+
Bearer: 'bearer'
|
|
23
|
+
} as const;
|
|
24
|
+
|
|
25
|
+
export type AuthTypeEnum = typeof AuthTypeEnum[keyof typeof AuthTypeEnum];
|
|
26
|
+
|
|
24
27
|
|
|
25
28
|
export function AuthTypeEnumFromJSON(json: any): AuthTypeEnum {
|
|
26
29
|
return AuthTypeEnumFromJSONTyped(json, false);
|
|
@@ -12,15 +12,18 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Platform
|
|
22
|
-
CrossPlatform
|
|
23
|
-
}
|
|
20
|
+
export const AuthenticatorAttachmentEnum = {
|
|
21
|
+
Platform: 'platform',
|
|
22
|
+
CrossPlatform: 'cross-platform'
|
|
23
|
+
} as const;
|
|
24
|
+
|
|
25
|
+
export type AuthenticatorAttachmentEnum = typeof AuthenticatorAttachmentEnum[keyof typeof AuthenticatorAttachmentEnum];
|
|
26
|
+
|
|
24
27
|
|
|
25
28
|
export function AuthenticatorAttachmentEnumFromJSON(json: any): AuthenticatorAttachmentEnum {
|
|
26
29
|
return AuthenticatorAttachmentEnumFromJSONTyped(json, false);
|
|
@@ -12,16 +12,19 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
CoreAuthInbuiltBackend
|
|
22
|
-
CoreAuthTokenBackend
|
|
23
|
-
SourcesLdapAuthLdapBackend
|
|
24
|
-
}
|
|
20
|
+
export const BackendsEnum = {
|
|
21
|
+
CoreAuthInbuiltBackend: 'authentik.core.auth.InbuiltBackend',
|
|
22
|
+
CoreAuthTokenBackend: 'authentik.core.auth.TokenBackend',
|
|
23
|
+
SourcesLdapAuthLdapBackend: 'authentik.sources.ldap.auth.LDAPBackend'
|
|
24
|
+
} as const;
|
|
25
|
+
|
|
26
|
+
export type BackendsEnum = typeof BackendsEnum[keyof typeof BackendsEnum];
|
|
27
|
+
|
|
25
28
|
|
|
26
29
|
export function BackendsEnumFromJSON(json: any): BackendsEnum {
|
|
27
30
|
return BackendsEnumFromJSONTyped(json, false);
|
|
@@ -12,16 +12,19 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Redirect
|
|
22
|
-
Post
|
|
23
|
-
PostAuto
|
|
24
|
-
}
|
|
20
|
+
export const BindingTypeEnum = {
|
|
21
|
+
Redirect: 'REDIRECT',
|
|
22
|
+
Post: 'POST',
|
|
23
|
+
PostAuto: 'POST_AUTO'
|
|
24
|
+
} as const;
|
|
25
|
+
|
|
26
|
+
export type BindingTypeEnum = typeof BindingTypeEnum[keyof typeof BindingTypeEnum];
|
|
27
|
+
|
|
25
28
|
|
|
26
29
|
export function BindingTypeEnumFromJSON(json: any): BindingTypeEnum {
|
|
27
30
|
return BindingTypeEnumFromJSONTyped(json, false);
|
|
@@ -12,15 +12,18 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
SaveMedia
|
|
22
|
-
GeoIp
|
|
23
|
-
}
|
|
20
|
+
export const CapabilitiesEnum = {
|
|
21
|
+
SaveMedia: 'can_save_media',
|
|
22
|
+
GeoIp: 'can_geo_ip'
|
|
23
|
+
} as const;
|
|
24
|
+
|
|
25
|
+
export type CapabilitiesEnum = typeof CapabilitiesEnum[keyof typeof CapabilitiesEnum];
|
|
26
|
+
|
|
24
27
|
|
|
25
28
|
export function CapabilitiesEnumFromJSON(json: any): CapabilitiesEnum {
|
|
26
29
|
return CapabilitiesEnumFromJSONTyped(json, false);
|
|
@@ -12,16 +12,19 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Native
|
|
22
|
-
Shell
|
|
23
|
-
Redirect
|
|
24
|
-
}
|
|
20
|
+
export const ChallengeChoices = {
|
|
21
|
+
Native: 'native',
|
|
22
|
+
Shell: 'shell',
|
|
23
|
+
Redirect: 'redirect'
|
|
24
|
+
} as const;
|
|
25
|
+
|
|
26
|
+
export type ChallengeChoices = typeof ChallengeChoices[keyof typeof ChallengeChoices];
|
|
27
|
+
|
|
25
28
|
|
|
26
29
|
export function ChallengeChoicesFromJSON(json: any): ChallengeChoices {
|
|
27
30
|
return ChallengeChoicesFromJSONTyped(json, false);
|
|
@@ -12,15 +12,18 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Confidential
|
|
22
|
-
Public
|
|
23
|
-
}
|
|
20
|
+
export const ClientTypeEnum = {
|
|
21
|
+
Confidential: 'confidential',
|
|
22
|
+
Public: 'public'
|
|
23
|
+
} as const;
|
|
24
|
+
|
|
25
|
+
export type ClientTypeEnum = typeof ClientTypeEnum[keyof typeof ClientTypeEnum];
|
|
26
|
+
|
|
24
27
|
|
|
25
28
|
export function ClientTypeEnumFromJSON(json: any): ClientTypeEnum {
|
|
26
29
|
return ClientTypeEnumFromJSONTyped(json, false);
|
|
@@ -12,16 +12,19 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
AlwaysRequire
|
|
22
|
-
Permanent
|
|
23
|
-
Expiring
|
|
24
|
-
}
|
|
20
|
+
export const ConsentStageModeEnum = {
|
|
21
|
+
AlwaysRequire: 'always_require',
|
|
22
|
+
Permanent: 'permanent',
|
|
23
|
+
Expiring: 'expiring'
|
|
24
|
+
} as const;
|
|
25
|
+
|
|
26
|
+
export type ConsentStageModeEnum = typeof ConsentStageModeEnum[keyof typeof ConsentStageModeEnum];
|
|
27
|
+
|
|
25
28
|
|
|
26
29
|
export function ConsentStageModeEnumFromJSON(json: any): ConsentStageModeEnum {
|
|
27
30
|
return ConsentStageModeEnumFromJSONTyped(json, false);
|
|
@@ -12,18 +12,21 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Static
|
|
22
|
-
Totp
|
|
23
|
-
Webauthn
|
|
24
|
-
Duo
|
|
25
|
-
Sms
|
|
26
|
-
}
|
|
20
|
+
export const DeviceClassesEnum = {
|
|
21
|
+
Static: 'static',
|
|
22
|
+
Totp: 'totp',
|
|
23
|
+
Webauthn: 'webauthn',
|
|
24
|
+
Duo: 'duo',
|
|
25
|
+
Sms: 'sms'
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type DeviceClassesEnum = typeof DeviceClassesEnum[keyof typeof DeviceClassesEnum];
|
|
29
|
+
|
|
27
30
|
|
|
28
31
|
export function DeviceClassesEnumFromJSON(json: any): DeviceClassesEnum {
|
|
29
32
|
return DeviceClassesEnumFromJSONTyped(json, false);
|
|
@@ -12,17 +12,20 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
_200009Xmldsigsha1
|
|
22
|
-
_200104Xmlencsha256
|
|
23
|
-
_200104XmldsigMoresha384
|
|
24
|
-
_200104Xmlencsha512
|
|
25
|
-
}
|
|
20
|
+
export const DigestAlgorithmEnum = {
|
|
21
|
+
_200009Xmldsigsha1: 'http://www.w3.org/2000/09/xmldsig#sha1',
|
|
22
|
+
_200104Xmlencsha256: 'http://www.w3.org/2001/04/xmlenc#sha256',
|
|
23
|
+
_200104XmldsigMoresha384: 'http://www.w3.org/2001/04/xmldsig-more#sha384',
|
|
24
|
+
_200104Xmlencsha512: 'http://www.w3.org/2001/04/xmlenc#sha512'
|
|
25
|
+
} as const;
|
|
26
|
+
|
|
27
|
+
export type DigestAlgorithmEnum = typeof DigestAlgorithmEnum[keyof typeof DigestAlgorithmEnum];
|
|
28
|
+
|
|
26
29
|
|
|
27
30
|
export function DigestAlgorithmEnumFromJSON(json: any): DigestAlgorithmEnum {
|
|
28
31
|
return DigestAlgorithmEnumFromJSONTyped(json, false);
|
package/src/models/DigitsEnum.ts
CHANGED
|
@@ -12,15 +12,18 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
NUMBER_6
|
|
22
|
-
NUMBER_8
|
|
23
|
-
}
|
|
20
|
+
export const DigitsEnum = {
|
|
21
|
+
NUMBER_6: 6,
|
|
22
|
+
NUMBER_8: 8
|
|
23
|
+
} as const;
|
|
24
|
+
|
|
25
|
+
export type DigitsEnum = typeof DigitsEnum[keyof typeof DigitsEnum];
|
|
26
|
+
|
|
24
27
|
|
|
25
28
|
export function DigitsEnumFromJSON(json: any): DigitsEnum {
|
|
26
29
|
return DigitsEnumFromJSONTyped(json, false);
|
|
@@ -12,40 +12,43 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Login
|
|
22
|
-
LoginFailed
|
|
23
|
-
Logout
|
|
24
|
-
UserWrite
|
|
25
|
-
SuspiciousRequest
|
|
26
|
-
PasswordSet
|
|
27
|
-
SecretView
|
|
28
|
-
SecretRotate
|
|
29
|
-
InvitationUsed
|
|
30
|
-
AuthorizeApplication
|
|
31
|
-
SourceLinked
|
|
32
|
-
ImpersonationStarted
|
|
33
|
-
ImpersonationEnded
|
|
34
|
-
FlowExecution
|
|
35
|
-
PolicyExecution
|
|
36
|
-
PolicyException
|
|
37
|
-
PropertyMappingException
|
|
38
|
-
SystemTaskExecution
|
|
39
|
-
SystemTaskException
|
|
40
|
-
SystemException
|
|
41
|
-
ConfigurationError
|
|
42
|
-
ModelCreated
|
|
43
|
-
ModelUpdated
|
|
44
|
-
ModelDeleted
|
|
45
|
-
EmailSent
|
|
46
|
-
UpdateAvailable
|
|
47
|
-
Custom
|
|
48
|
-
}
|
|
20
|
+
export const EventActions = {
|
|
21
|
+
Login: 'login',
|
|
22
|
+
LoginFailed: 'login_failed',
|
|
23
|
+
Logout: 'logout',
|
|
24
|
+
UserWrite: 'user_write',
|
|
25
|
+
SuspiciousRequest: 'suspicious_request',
|
|
26
|
+
PasswordSet: 'password_set',
|
|
27
|
+
SecretView: 'secret_view',
|
|
28
|
+
SecretRotate: 'secret_rotate',
|
|
29
|
+
InvitationUsed: 'invitation_used',
|
|
30
|
+
AuthorizeApplication: 'authorize_application',
|
|
31
|
+
SourceLinked: 'source_linked',
|
|
32
|
+
ImpersonationStarted: 'impersonation_started',
|
|
33
|
+
ImpersonationEnded: 'impersonation_ended',
|
|
34
|
+
FlowExecution: 'flow_execution',
|
|
35
|
+
PolicyExecution: 'policy_execution',
|
|
36
|
+
PolicyException: 'policy_exception',
|
|
37
|
+
PropertyMappingException: 'property_mapping_exception',
|
|
38
|
+
SystemTaskExecution: 'system_task_execution',
|
|
39
|
+
SystemTaskException: 'system_task_exception',
|
|
40
|
+
SystemException: 'system_exception',
|
|
41
|
+
ConfigurationError: 'configuration_error',
|
|
42
|
+
ModelCreated: 'model_created',
|
|
43
|
+
ModelUpdated: 'model_updated',
|
|
44
|
+
ModelDeleted: 'model_deleted',
|
|
45
|
+
EmailSent: 'email_sent',
|
|
46
|
+
UpdateAvailable: 'update_available',
|
|
47
|
+
Custom: 'custom_'
|
|
48
|
+
} as const;
|
|
49
|
+
|
|
50
|
+
export type EventActions = typeof EventActions[keyof typeof EventActions];
|
|
51
|
+
|
|
49
52
|
|
|
50
53
|
export function EventActionsFromJSON(json: any): EventActions {
|
|
51
54
|
return EventActionsFromJSONTyped(json, false);
|
|
@@ -12,20 +12,23 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Authentication
|
|
22
|
-
Authorization
|
|
23
|
-
Invalidation
|
|
24
|
-
Enrollment
|
|
25
|
-
Unenrollment
|
|
26
|
-
Recovery
|
|
27
|
-
StageConfiguration
|
|
28
|
-
}
|
|
20
|
+
export const FlowDesignationEnum = {
|
|
21
|
+
Authentication: 'authentication',
|
|
22
|
+
Authorization: 'authorization',
|
|
23
|
+
Invalidation: 'invalidation',
|
|
24
|
+
Enrollment: 'enrollment',
|
|
25
|
+
Unenrollment: 'unenrollment',
|
|
26
|
+
Recovery: 'recovery',
|
|
27
|
+
StageConfiguration: 'stage_configuration'
|
|
28
|
+
} as const;
|
|
29
|
+
|
|
30
|
+
export type FlowDesignationEnum = typeof FlowDesignationEnum[keyof typeof FlowDesignationEnum];
|
|
31
|
+
|
|
29
32
|
|
|
30
33
|
export function FlowDesignationEnumFromJSON(json: any): FlowDesignationEnum {
|
|
31
34
|
return FlowDesignationEnumFromJSONTyped(json, false);
|
package/src/models/IntentEnum.ts
CHANGED
|
@@ -12,17 +12,20 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Verification
|
|
22
|
-
Api
|
|
23
|
-
Recovery
|
|
24
|
-
AppPassword
|
|
25
|
-
}
|
|
20
|
+
export const IntentEnum = {
|
|
21
|
+
Verification: 'verification',
|
|
22
|
+
Api: 'api',
|
|
23
|
+
Recovery: 'recovery',
|
|
24
|
+
AppPassword: 'app_password'
|
|
25
|
+
} as const;
|
|
26
|
+
|
|
27
|
+
export type IntentEnum = typeof IntentEnum[keyof typeof IntentEnum];
|
|
28
|
+
|
|
26
29
|
|
|
27
30
|
export function IntentEnumFromJSON(json: any): IntentEnum {
|
|
28
31
|
return IntentEnumFromJSONTyped(json, false);
|
|
@@ -12,16 +12,19 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Retry
|
|
22
|
-
Restart
|
|
23
|
-
RestartWithContext
|
|
24
|
-
}
|
|
20
|
+
export const InvalidResponseActionEnum = {
|
|
21
|
+
Retry: 'retry',
|
|
22
|
+
Restart: 'restart',
|
|
23
|
+
RestartWithContext: 'restart_with_context'
|
|
24
|
+
} as const;
|
|
25
|
+
|
|
26
|
+
export type InvalidResponseActionEnum = typeof InvalidResponseActionEnum[keyof typeof InvalidResponseActionEnum];
|
|
27
|
+
|
|
25
28
|
|
|
26
29
|
export function InvalidResponseActionEnumFromJSON(json: any): InvalidResponseActionEnum {
|
|
27
30
|
return InvalidResponseActionEnumFromJSONTyped(json, false);
|
|
@@ -12,15 +12,18 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Global
|
|
22
|
-
PerProvider
|
|
23
|
-
}
|
|
20
|
+
export const IssuerModeEnum = {
|
|
21
|
+
Global: 'global',
|
|
22
|
+
PerProvider: 'per_provider'
|
|
23
|
+
} as const;
|
|
24
|
+
|
|
25
|
+
export type IssuerModeEnum = typeof IssuerModeEnum[keyof typeof IssuerModeEnum];
|
|
26
|
+
|
|
24
27
|
|
|
25
28
|
export function IssuerModeEnumFromJSON(json: any): IssuerModeEnum {
|
|
26
29
|
return IssuerModeEnumFromJSONTyped(json, false);
|