@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
|
@@ -14,14 +14,12 @@
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @enum {string}
|
|
18
17
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
})(UserVerificationEnum || (UserVerificationEnum = {}));
|
|
18
|
+
export const UserVerificationEnum = {
|
|
19
|
+
Required: 'required',
|
|
20
|
+
Preferred: 'preferred',
|
|
21
|
+
Discouraged: 'discouraged'
|
|
22
|
+
};
|
|
25
23
|
export function UserVerificationEnumFromJSON(json) {
|
|
26
24
|
return UserVerificationEnumFromJSONTyped(json, false);
|
|
27
25
|
}
|
|
@@ -390,6 +390,7 @@ export * from './Tenant';
|
|
|
390
390
|
export * from './TenantRequest';
|
|
391
391
|
export * from './Token';
|
|
392
392
|
export * from './TokenRequest';
|
|
393
|
+
export * from './TokenSetKeyRequest';
|
|
393
394
|
export * from './TokenView';
|
|
394
395
|
export * from './TypeCreate';
|
|
395
396
|
export * from './UsedBy';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -392,6 +392,7 @@ export * from './Tenant';
|
|
|
392
392
|
export * from './TenantRequest';
|
|
393
393
|
export * from './Token';
|
|
394
394
|
export * from './TokenRequest';
|
|
395
|
+
export * from './TokenSetKeyRequest';
|
|
395
396
|
export * from './TokenView';
|
|
396
397
|
export * from './TypeCreate';
|
|
397
398
|
export * from './UsedBy';
|
package/dist/esm/runtime.js
CHANGED
|
@@ -85,6 +85,7 @@ export class BaseAPI {
|
|
|
85
85
|
? context.body
|
|
86
86
|
: JSON.stringify(context.body);
|
|
87
87
|
const headers = Object.assign({}, this.configuration.headers, context.headers);
|
|
88
|
+
Object.keys(headers).forEach(key => headers[key] === undefined ? delete headers[key] : {});
|
|
88
89
|
const init = Object.assign({ method: context.method, headers: headers, body, credentials: this.configuration.credentials }, initOverrides);
|
|
89
90
|
return { url, init };
|
|
90
91
|
}
|
package/dist/models/AppEnum.d.ts
CHANGED
|
@@ -12,56 +12,56 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Admin
|
|
19
|
-
Api
|
|
20
|
-
Crypto
|
|
21
|
-
Events
|
|
22
|
-
Flows
|
|
23
|
-
Lib
|
|
24
|
-
Outposts
|
|
25
|
-
PoliciesDummy
|
|
26
|
-
PoliciesEventMatcher
|
|
27
|
-
PoliciesExpiry
|
|
28
|
-
PoliciesExpression
|
|
29
|
-
PoliciesHibp
|
|
30
|
-
PoliciesPassword
|
|
31
|
-
PoliciesReputation
|
|
32
|
-
Policies
|
|
33
|
-
ProvidersLdap
|
|
34
|
-
ProvidersOauth2
|
|
35
|
-
ProvidersProxy
|
|
36
|
-
ProvidersSaml
|
|
37
|
-
Recovery
|
|
38
|
-
SourcesLdap
|
|
39
|
-
SourcesOauth
|
|
40
|
-
SourcesPlex
|
|
41
|
-
SourcesSaml
|
|
42
|
-
StagesAuthenticatorDuo
|
|
43
|
-
StagesAuthenticatorSms
|
|
44
|
-
StagesAuthenticatorStatic
|
|
45
|
-
StagesAuthenticatorTotp
|
|
46
|
-
StagesAuthenticatorValidate
|
|
47
|
-
StagesAuthenticatorWebauthn
|
|
48
|
-
StagesCaptcha
|
|
49
|
-
StagesConsent
|
|
50
|
-
StagesDeny
|
|
51
|
-
StagesDummy
|
|
52
|
-
StagesEmail
|
|
53
|
-
StagesIdentification
|
|
54
|
-
StagesInvitation
|
|
55
|
-
StagesPassword
|
|
56
|
-
StagesPrompt
|
|
57
|
-
StagesUserDelete
|
|
58
|
-
StagesUserLogin
|
|
59
|
-
StagesUserLogout
|
|
60
|
-
StagesUserWrite
|
|
61
|
-
Tenants
|
|
62
|
-
Managed
|
|
63
|
-
Core
|
|
64
|
-
}
|
|
16
|
+
export declare const AppEnum: {
|
|
17
|
+
readonly Admin: "authentik.admin";
|
|
18
|
+
readonly Api: "authentik.api";
|
|
19
|
+
readonly Crypto: "authentik.crypto";
|
|
20
|
+
readonly Events: "authentik.events";
|
|
21
|
+
readonly Flows: "authentik.flows";
|
|
22
|
+
readonly Lib: "authentik.lib";
|
|
23
|
+
readonly Outposts: "authentik.outposts";
|
|
24
|
+
readonly PoliciesDummy: "authentik.policies.dummy";
|
|
25
|
+
readonly PoliciesEventMatcher: "authentik.policies.event_matcher";
|
|
26
|
+
readonly PoliciesExpiry: "authentik.policies.expiry";
|
|
27
|
+
readonly PoliciesExpression: "authentik.policies.expression";
|
|
28
|
+
readonly PoliciesHibp: "authentik.policies.hibp";
|
|
29
|
+
readonly PoliciesPassword: "authentik.policies.password";
|
|
30
|
+
readonly PoliciesReputation: "authentik.policies.reputation";
|
|
31
|
+
readonly Policies: "authentik.policies";
|
|
32
|
+
readonly ProvidersLdap: "authentik.providers.ldap";
|
|
33
|
+
readonly ProvidersOauth2: "authentik.providers.oauth2";
|
|
34
|
+
readonly ProvidersProxy: "authentik.providers.proxy";
|
|
35
|
+
readonly ProvidersSaml: "authentik.providers.saml";
|
|
36
|
+
readonly Recovery: "authentik.recovery";
|
|
37
|
+
readonly SourcesLdap: "authentik.sources.ldap";
|
|
38
|
+
readonly SourcesOauth: "authentik.sources.oauth";
|
|
39
|
+
readonly SourcesPlex: "authentik.sources.plex";
|
|
40
|
+
readonly SourcesSaml: "authentik.sources.saml";
|
|
41
|
+
readonly StagesAuthenticatorDuo: "authentik.stages.authenticator_duo";
|
|
42
|
+
readonly StagesAuthenticatorSms: "authentik.stages.authenticator_sms";
|
|
43
|
+
readonly StagesAuthenticatorStatic: "authentik.stages.authenticator_static";
|
|
44
|
+
readonly StagesAuthenticatorTotp: "authentik.stages.authenticator_totp";
|
|
45
|
+
readonly StagesAuthenticatorValidate: "authentik.stages.authenticator_validate";
|
|
46
|
+
readonly StagesAuthenticatorWebauthn: "authentik.stages.authenticator_webauthn";
|
|
47
|
+
readonly StagesCaptcha: "authentik.stages.captcha";
|
|
48
|
+
readonly StagesConsent: "authentik.stages.consent";
|
|
49
|
+
readonly StagesDeny: "authentik.stages.deny";
|
|
50
|
+
readonly StagesDummy: "authentik.stages.dummy";
|
|
51
|
+
readonly StagesEmail: "authentik.stages.email";
|
|
52
|
+
readonly StagesIdentification: "authentik.stages.identification";
|
|
53
|
+
readonly StagesInvitation: "authentik.stages.invitation";
|
|
54
|
+
readonly StagesPassword: "authentik.stages.password";
|
|
55
|
+
readonly StagesPrompt: "authentik.stages.prompt";
|
|
56
|
+
readonly StagesUserDelete: "authentik.stages.user_delete";
|
|
57
|
+
readonly StagesUserLogin: "authentik.stages.user_login";
|
|
58
|
+
readonly StagesUserLogout: "authentik.stages.user_logout";
|
|
59
|
+
readonly StagesUserWrite: "authentik.stages.user_write";
|
|
60
|
+
readonly Tenants: "authentik.tenants";
|
|
61
|
+
readonly Managed: "authentik.managed";
|
|
62
|
+
readonly Core: "authentik.core";
|
|
63
|
+
};
|
|
64
|
+
export declare type AppEnum = typeof AppEnum[keyof typeof AppEnum];
|
|
65
65
|
export declare function AppEnumFromJSON(json: any): AppEnum;
|
|
66
66
|
export declare function AppEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppEnum;
|
|
67
67
|
export declare function AppEnumToJSON(value?: AppEnum | null): any;
|
package/dist/models/AppEnum.js
CHANGED
|
@@ -17,57 +17,55 @@ exports.AppEnumToJSON = exports.AppEnumFromJSONTyped = exports.AppEnumFromJSON =
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @enum {string}
|
|
21
20
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
})(AppEnum = exports.AppEnum || (exports.AppEnum = {}));
|
|
21
|
+
exports.AppEnum = {
|
|
22
|
+
Admin: 'authentik.admin',
|
|
23
|
+
Api: 'authentik.api',
|
|
24
|
+
Crypto: 'authentik.crypto',
|
|
25
|
+
Events: 'authentik.events',
|
|
26
|
+
Flows: 'authentik.flows',
|
|
27
|
+
Lib: 'authentik.lib',
|
|
28
|
+
Outposts: 'authentik.outposts',
|
|
29
|
+
PoliciesDummy: 'authentik.policies.dummy',
|
|
30
|
+
PoliciesEventMatcher: 'authentik.policies.event_matcher',
|
|
31
|
+
PoliciesExpiry: 'authentik.policies.expiry',
|
|
32
|
+
PoliciesExpression: 'authentik.policies.expression',
|
|
33
|
+
PoliciesHibp: 'authentik.policies.hibp',
|
|
34
|
+
PoliciesPassword: 'authentik.policies.password',
|
|
35
|
+
PoliciesReputation: 'authentik.policies.reputation',
|
|
36
|
+
Policies: 'authentik.policies',
|
|
37
|
+
ProvidersLdap: 'authentik.providers.ldap',
|
|
38
|
+
ProvidersOauth2: 'authentik.providers.oauth2',
|
|
39
|
+
ProvidersProxy: 'authentik.providers.proxy',
|
|
40
|
+
ProvidersSaml: 'authentik.providers.saml',
|
|
41
|
+
Recovery: 'authentik.recovery',
|
|
42
|
+
SourcesLdap: 'authentik.sources.ldap',
|
|
43
|
+
SourcesOauth: 'authentik.sources.oauth',
|
|
44
|
+
SourcesPlex: 'authentik.sources.plex',
|
|
45
|
+
SourcesSaml: 'authentik.sources.saml',
|
|
46
|
+
StagesAuthenticatorDuo: 'authentik.stages.authenticator_duo',
|
|
47
|
+
StagesAuthenticatorSms: 'authentik.stages.authenticator_sms',
|
|
48
|
+
StagesAuthenticatorStatic: 'authentik.stages.authenticator_static',
|
|
49
|
+
StagesAuthenticatorTotp: 'authentik.stages.authenticator_totp',
|
|
50
|
+
StagesAuthenticatorValidate: 'authentik.stages.authenticator_validate',
|
|
51
|
+
StagesAuthenticatorWebauthn: 'authentik.stages.authenticator_webauthn',
|
|
52
|
+
StagesCaptcha: 'authentik.stages.captcha',
|
|
53
|
+
StagesConsent: 'authentik.stages.consent',
|
|
54
|
+
StagesDeny: 'authentik.stages.deny',
|
|
55
|
+
StagesDummy: 'authentik.stages.dummy',
|
|
56
|
+
StagesEmail: 'authentik.stages.email',
|
|
57
|
+
StagesIdentification: 'authentik.stages.identification',
|
|
58
|
+
StagesInvitation: 'authentik.stages.invitation',
|
|
59
|
+
StagesPassword: 'authentik.stages.password',
|
|
60
|
+
StagesPrompt: 'authentik.stages.prompt',
|
|
61
|
+
StagesUserDelete: 'authentik.stages.user_delete',
|
|
62
|
+
StagesUserLogin: 'authentik.stages.user_login',
|
|
63
|
+
StagesUserLogout: 'authentik.stages.user_logout',
|
|
64
|
+
StagesUserWrite: 'authentik.stages.user_write',
|
|
65
|
+
Tenants: 'authentik.tenants',
|
|
66
|
+
Managed: 'authentik.managed',
|
|
67
|
+
Core: 'authentik.core'
|
|
68
|
+
};
|
|
71
69
|
function AppEnumFromJSON(json) {
|
|
72
70
|
return AppEnumFromJSONTyped(json, false);
|
|
73
71
|
}
|
|
@@ -30,7 +30,7 @@ function ApplicationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'name': json['name'],
|
|
31
31
|
'slug': json['slug'],
|
|
32
32
|
'provider': !runtime_1.exists(json, 'provider') ? undefined : json['provider'],
|
|
33
|
-
'providerObj':
|
|
33
|
+
'providerObj': Provider_1.ProviderFromJSON(json['provider_obj']),
|
|
34
34
|
'launchUrl': json['launch_url'],
|
|
35
35
|
'metaLaunchUrl': !runtime_1.exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
|
|
36
36
|
'metaIcon': json['meta_icon'],
|
|
@@ -52,7 +52,6 @@ function ApplicationToJSON(value) {
|
|
|
52
52
|
'name': value.name,
|
|
53
53
|
'slug': value.slug,
|
|
54
54
|
'provider': value.provider,
|
|
55
|
-
'provider_obj': Provider_1.ProviderToJSON(value.providerObj),
|
|
56
55
|
'meta_launch_url': value.metaLaunchUrl,
|
|
57
56
|
'meta_description': value.metaDescription,
|
|
58
57
|
'meta_publisher': value.metaPublisher,
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { PolicyEngineMode } from './PolicyEngineMode';
|
|
13
|
-
import { ProviderRequest } from './ProviderRequest';
|
|
14
13
|
/**
|
|
15
14
|
* Application Serializer
|
|
16
15
|
* @export
|
|
@@ -35,12 +34,6 @@ export interface ApplicationRequest {
|
|
|
35
34
|
* @memberof ApplicationRequest
|
|
36
35
|
*/
|
|
37
36
|
provider?: number | null;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {ProviderRequest}
|
|
41
|
-
* @memberof ApplicationRequest
|
|
42
|
-
*/
|
|
43
|
-
providerObj?: ProviderRequest;
|
|
44
37
|
/**
|
|
45
38
|
*
|
|
46
39
|
* @type {string}
|
|
@@ -16,7 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.ApplicationRequestToJSON = exports.ApplicationRequestFromJSONTyped = exports.ApplicationRequestFromJSON = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const PolicyEngineMode_1 = require("./PolicyEngineMode");
|
|
19
|
-
const ProviderRequest_1 = require("./ProviderRequest");
|
|
20
19
|
function ApplicationRequestFromJSON(json) {
|
|
21
20
|
return ApplicationRequestFromJSONTyped(json, false);
|
|
22
21
|
}
|
|
@@ -29,7 +28,6 @@ function ApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
28
|
'name': json['name'],
|
|
30
29
|
'slug': json['slug'],
|
|
31
30
|
'provider': !runtime_1.exists(json, 'provider') ? undefined : json['provider'],
|
|
32
|
-
'providerObj': !runtime_1.exists(json, 'provider_obj') ? undefined : ProviderRequest_1.ProviderRequestFromJSON(json['provider_obj']),
|
|
33
31
|
'metaLaunchUrl': !runtime_1.exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
|
|
34
32
|
'metaDescription': !runtime_1.exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
35
33
|
'metaPublisher': !runtime_1.exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
@@ -49,7 +47,6 @@ function ApplicationRequestToJSON(value) {
|
|
|
49
47
|
'name': value.name,
|
|
50
48
|
'slug': value.slug,
|
|
51
49
|
'provider': value.provider,
|
|
52
|
-
'provider_obj': ProviderRequest_1.ProviderRequestToJSON(value.providerObj),
|
|
53
50
|
'meta_launch_url': value.metaLaunchUrl,
|
|
54
51
|
'meta_description': value.metaDescription,
|
|
55
52
|
'meta_publisher': value.metaPublisher,
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Basic
|
|
19
|
-
Bearer
|
|
20
|
-
}
|
|
16
|
+
export declare const AuthTypeEnum: {
|
|
17
|
+
readonly Basic: "basic";
|
|
18
|
+
readonly Bearer: "bearer";
|
|
19
|
+
};
|
|
20
|
+
export declare type AuthTypeEnum = typeof AuthTypeEnum[keyof typeof AuthTypeEnum];
|
|
21
21
|
export declare function AuthTypeEnumFromJSON(json: any): AuthTypeEnum;
|
|
22
22
|
export declare function AuthTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthTypeEnum;
|
|
23
23
|
export declare function AuthTypeEnumToJSON(value?: AuthTypeEnum | null): any;
|
|
@@ -17,13 +17,11 @@ exports.AuthTypeEnumToJSON = exports.AuthTypeEnumFromJSONTyped = exports.AuthTyp
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @enum {string}
|
|
21
20
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(AuthTypeEnum = exports.AuthTypeEnum || (exports.AuthTypeEnum = {}));
|
|
21
|
+
exports.AuthTypeEnum = {
|
|
22
|
+
Basic: 'basic',
|
|
23
|
+
Bearer: 'bearer'
|
|
24
|
+
};
|
|
27
25
|
function AuthTypeEnumFromJSON(json) {
|
|
28
26
|
return AuthTypeEnumFromJSONTyped(json, false);
|
|
29
27
|
}
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Platform
|
|
19
|
-
CrossPlatform
|
|
20
|
-
}
|
|
16
|
+
export declare const AuthenticatorAttachmentEnum: {
|
|
17
|
+
readonly Platform: "platform";
|
|
18
|
+
readonly CrossPlatform: "cross-platform";
|
|
19
|
+
};
|
|
20
|
+
export declare type AuthenticatorAttachmentEnum = typeof AuthenticatorAttachmentEnum[keyof typeof AuthenticatorAttachmentEnum];
|
|
21
21
|
export declare function AuthenticatorAttachmentEnumFromJSON(json: any): AuthenticatorAttachmentEnum;
|
|
22
22
|
export declare function AuthenticatorAttachmentEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorAttachmentEnum;
|
|
23
23
|
export declare function AuthenticatorAttachmentEnumToJSON(value?: AuthenticatorAttachmentEnum | null): any;
|
|
@@ -17,13 +17,11 @@ exports.AuthenticatorAttachmentEnumToJSON = exports.AuthenticatorAttachmentEnumF
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @enum {string}
|
|
21
20
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(AuthenticatorAttachmentEnum = exports.AuthenticatorAttachmentEnum || (exports.AuthenticatorAttachmentEnum = {}));
|
|
21
|
+
exports.AuthenticatorAttachmentEnum = {
|
|
22
|
+
Platform: 'platform',
|
|
23
|
+
CrossPlatform: 'cross-platform'
|
|
24
|
+
};
|
|
27
25
|
function AuthenticatorAttachmentEnumFromJSON(json) {
|
|
28
26
|
return AuthenticatorAttachmentEnumFromJSONTyped(json, false);
|
|
29
27
|
}
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
CoreAuthInbuiltBackend
|
|
19
|
-
CoreAuthTokenBackend
|
|
20
|
-
SourcesLdapAuthLdapBackend
|
|
21
|
-
}
|
|
16
|
+
export declare const BackendsEnum: {
|
|
17
|
+
readonly CoreAuthInbuiltBackend: "authentik.core.auth.InbuiltBackend";
|
|
18
|
+
readonly CoreAuthTokenBackend: "authentik.core.auth.TokenBackend";
|
|
19
|
+
readonly SourcesLdapAuthLdapBackend: "authentik.sources.ldap.auth.LDAPBackend";
|
|
20
|
+
};
|
|
21
|
+
export declare type BackendsEnum = typeof BackendsEnum[keyof typeof BackendsEnum];
|
|
22
22
|
export declare function BackendsEnumFromJSON(json: any): BackendsEnum;
|
|
23
23
|
export declare function BackendsEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackendsEnum;
|
|
24
24
|
export declare function BackendsEnumToJSON(value?: BackendsEnum | null): any;
|
|
@@ -17,14 +17,12 @@ exports.BackendsEnumToJSON = exports.BackendsEnumFromJSONTyped = exports.Backend
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @enum {string}
|
|
21
20
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
})(BackendsEnum = exports.BackendsEnum || (exports.BackendsEnum = {}));
|
|
21
|
+
exports.BackendsEnum = {
|
|
22
|
+
CoreAuthInbuiltBackend: 'authentik.core.auth.InbuiltBackend',
|
|
23
|
+
CoreAuthTokenBackend: 'authentik.core.auth.TokenBackend',
|
|
24
|
+
SourcesLdapAuthLdapBackend: 'authentik.sources.ldap.auth.LDAPBackend'
|
|
25
|
+
};
|
|
28
26
|
function BackendsEnumFromJSON(json) {
|
|
29
27
|
return BackendsEnumFromJSONTyped(json, false);
|
|
30
28
|
}
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Redirect
|
|
19
|
-
Post
|
|
20
|
-
PostAuto
|
|
21
|
-
}
|
|
16
|
+
export declare const BindingTypeEnum: {
|
|
17
|
+
readonly Redirect: "REDIRECT";
|
|
18
|
+
readonly Post: "POST";
|
|
19
|
+
readonly PostAuto: "POST_AUTO";
|
|
20
|
+
};
|
|
21
|
+
export declare type BindingTypeEnum = typeof BindingTypeEnum[keyof typeof BindingTypeEnum];
|
|
22
22
|
export declare function BindingTypeEnumFromJSON(json: any): BindingTypeEnum;
|
|
23
23
|
export declare function BindingTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BindingTypeEnum;
|
|
24
24
|
export declare function BindingTypeEnumToJSON(value?: BindingTypeEnum | null): any;
|
|
@@ -17,14 +17,12 @@ exports.BindingTypeEnumToJSON = exports.BindingTypeEnumFromJSONTyped = exports.B
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @enum {string}
|
|
21
20
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
})(BindingTypeEnum = exports.BindingTypeEnum || (exports.BindingTypeEnum = {}));
|
|
21
|
+
exports.BindingTypeEnum = {
|
|
22
|
+
Redirect: 'REDIRECT',
|
|
23
|
+
Post: 'POST',
|
|
24
|
+
PostAuto: 'POST_AUTO'
|
|
25
|
+
};
|
|
28
26
|
function BindingTypeEnumFromJSON(json) {
|
|
29
27
|
return BindingTypeEnumFromJSONTyped(json, false);
|
|
30
28
|
}
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
SaveMedia
|
|
19
|
-
GeoIp
|
|
20
|
-
}
|
|
16
|
+
export declare const CapabilitiesEnum: {
|
|
17
|
+
readonly SaveMedia: "can_save_media";
|
|
18
|
+
readonly GeoIp: "can_geo_ip";
|
|
19
|
+
};
|
|
20
|
+
export declare type CapabilitiesEnum = typeof CapabilitiesEnum[keyof typeof CapabilitiesEnum];
|
|
21
21
|
export declare function CapabilitiesEnumFromJSON(json: any): CapabilitiesEnum;
|
|
22
22
|
export declare function CapabilitiesEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): CapabilitiesEnum;
|
|
23
23
|
export declare function CapabilitiesEnumToJSON(value?: CapabilitiesEnum | null): any;
|
|
@@ -17,13 +17,11 @@ exports.CapabilitiesEnumToJSON = exports.CapabilitiesEnumFromJSONTyped = exports
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @enum {string}
|
|
21
20
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(CapabilitiesEnum = exports.CapabilitiesEnum || (exports.CapabilitiesEnum = {}));
|
|
21
|
+
exports.CapabilitiesEnum = {
|
|
22
|
+
SaveMedia: 'can_save_media',
|
|
23
|
+
GeoIp: 'can_geo_ip'
|
|
24
|
+
};
|
|
27
25
|
function CapabilitiesEnumFromJSON(json) {
|
|
28
26
|
return CapabilitiesEnumFromJSONTyped(json, false);
|
|
29
27
|
}
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Native
|
|
19
|
-
Shell
|
|
20
|
-
Redirect
|
|
21
|
-
}
|
|
16
|
+
export declare const ChallengeChoices: {
|
|
17
|
+
readonly Native: "native";
|
|
18
|
+
readonly Shell: "shell";
|
|
19
|
+
readonly Redirect: "redirect";
|
|
20
|
+
};
|
|
21
|
+
export declare type ChallengeChoices = typeof ChallengeChoices[keyof typeof ChallengeChoices];
|
|
22
22
|
export declare function ChallengeChoicesFromJSON(json: any): ChallengeChoices;
|
|
23
23
|
export declare function ChallengeChoicesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChallengeChoices;
|
|
24
24
|
export declare function ChallengeChoicesToJSON(value?: ChallengeChoices | null): any;
|
|
@@ -17,14 +17,12 @@ exports.ChallengeChoicesToJSON = exports.ChallengeChoicesFromJSONTyped = exports
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @enum {string}
|
|
21
20
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
})(ChallengeChoices = exports.ChallengeChoices || (exports.ChallengeChoices = {}));
|
|
21
|
+
exports.ChallengeChoices = {
|
|
22
|
+
Native: 'native',
|
|
23
|
+
Shell: 'shell',
|
|
24
|
+
Redirect: 'redirect'
|
|
25
|
+
};
|
|
28
26
|
function ChallengeChoicesFromJSON(json) {
|
|
29
27
|
return ChallengeChoicesFromJSONTyped(json, false);
|
|
30
28
|
}
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Confidential
|
|
19
|
-
Public
|
|
20
|
-
}
|
|
16
|
+
export declare const ClientTypeEnum: {
|
|
17
|
+
readonly Confidential: "confidential";
|
|
18
|
+
readonly Public: "public";
|
|
19
|
+
};
|
|
20
|
+
export declare type ClientTypeEnum = typeof ClientTypeEnum[keyof typeof ClientTypeEnum];
|
|
21
21
|
export declare function ClientTypeEnumFromJSON(json: any): ClientTypeEnum;
|
|
22
22
|
export declare function ClientTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClientTypeEnum;
|
|
23
23
|
export declare function ClientTypeEnumToJSON(value?: ClientTypeEnum | null): any;
|
|
@@ -17,13 +17,11 @@ exports.ClientTypeEnumToJSON = exports.ClientTypeEnumFromJSONTyped = exports.Cli
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @enum {string}
|
|
21
20
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(ClientTypeEnum = exports.ClientTypeEnum || (exports.ClientTypeEnum = {}));
|
|
21
|
+
exports.ClientTypeEnum = {
|
|
22
|
+
Confidential: 'confidential',
|
|
23
|
+
Public: 'public'
|
|
24
|
+
};
|
|
27
25
|
function ClientTypeEnumFromJSON(json) {
|
|
28
26
|
return ClientTypeEnumFromJSONTyped(json, false);
|
|
29
27
|
}
|