@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,13 +14,11 @@
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @enum {string}
|
|
18
17
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})(SearchModeEnum || (SearchModeEnum = {}));
|
|
18
|
+
export const SearchModeEnum = {
|
|
19
|
+
Direct: 'direct',
|
|
20
|
+
Cached: 'cached'
|
|
21
|
+
};
|
|
24
22
|
export function SearchModeEnumFromJSON(json) {
|
|
25
23
|
return SearchModeEnumFromJSONTyped(json, false);
|
|
26
24
|
}
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Notice
|
|
19
|
-
Warning
|
|
20
|
-
Alert
|
|
21
|
-
}
|
|
16
|
+
export declare const SeverityEnum: {
|
|
17
|
+
readonly Notice: "notice";
|
|
18
|
+
readonly Warning: "warning";
|
|
19
|
+
readonly Alert: "alert";
|
|
20
|
+
};
|
|
21
|
+
export declare type SeverityEnum = typeof SeverityEnum[keyof typeof SeverityEnum];
|
|
22
22
|
export declare function SeverityEnumFromJSON(json: any): SeverityEnum;
|
|
23
23
|
export declare function SeverityEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeverityEnum;
|
|
24
24
|
export declare function SeverityEnumToJSON(value?: SeverityEnum | null): any;
|
|
@@ -14,14 +14,12 @@
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @enum {string}
|
|
18
17
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
})(SeverityEnum || (SeverityEnum = {}));
|
|
18
|
+
export const SeverityEnum = {
|
|
19
|
+
Notice: 'notice',
|
|
20
|
+
Warning: 'warning',
|
|
21
|
+
Alert: 'alert'
|
|
22
|
+
};
|
|
25
23
|
export function SeverityEnumFromJSON(json) {
|
|
26
24
|
return SeverityEnumFromJSONTyped(json, false);
|
|
27
25
|
}
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
_200009XmldsigrsaSha1
|
|
19
|
-
_200104XmldsigMorersaSha256
|
|
20
|
-
_200104XmldsigMorersaSha384
|
|
21
|
-
_200104XmldsigMorersaSha512
|
|
22
|
-
_200009XmldsigdsaSha1
|
|
23
|
-
}
|
|
16
|
+
export declare const SignatureAlgorithmEnum: {
|
|
17
|
+
readonly _200009XmldsigrsaSha1: "http://www.w3.org/2000/09/xmldsig#rsa-sha1";
|
|
18
|
+
readonly _200104XmldsigMorersaSha256: "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256";
|
|
19
|
+
readonly _200104XmldsigMorersaSha384: "http://www.w3.org/2001/04/xmldsig-more#rsa-sha384";
|
|
20
|
+
readonly _200104XmldsigMorersaSha512: "http://www.w3.org/2001/04/xmldsig-more#rsa-sha512";
|
|
21
|
+
readonly _200009XmldsigdsaSha1: "http://www.w3.org/2000/09/xmldsig#dsa-sha1";
|
|
22
|
+
};
|
|
23
|
+
export declare type SignatureAlgorithmEnum = typeof SignatureAlgorithmEnum[keyof typeof SignatureAlgorithmEnum];
|
|
24
24
|
export declare function SignatureAlgorithmEnumFromJSON(json: any): SignatureAlgorithmEnum;
|
|
25
25
|
export declare function SignatureAlgorithmEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignatureAlgorithmEnum;
|
|
26
26
|
export declare function SignatureAlgorithmEnumToJSON(value?: SignatureAlgorithmEnum | null): any;
|
|
@@ -14,16 +14,14 @@
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @enum {string}
|
|
18
17
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(SignatureAlgorithmEnum || (SignatureAlgorithmEnum = {}));
|
|
18
|
+
export const SignatureAlgorithmEnum = {
|
|
19
|
+
_200009XmldsigrsaSha1: 'http://www.w3.org/2000/09/xmldsig#rsa-sha1',
|
|
20
|
+
_200104XmldsigMorersaSha256: 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256',
|
|
21
|
+
_200104XmldsigMorersaSha384: 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha384',
|
|
22
|
+
_200104XmldsigMorersaSha512: 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha512',
|
|
23
|
+
_200009XmldsigdsaSha1: 'http://www.w3.org/2000/09/xmldsig#dsa-sha1'
|
|
24
|
+
};
|
|
27
25
|
export function SignatureAlgorithmEnumFromJSON(json) {
|
|
28
26
|
return SignatureAlgorithmEnumFromJSONTyped(json, false);
|
|
29
27
|
}
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Redirect
|
|
19
|
-
Post
|
|
20
|
-
}
|
|
16
|
+
export declare const SpBindingEnum: {
|
|
17
|
+
readonly Redirect: "redirect";
|
|
18
|
+
readonly Post: "post";
|
|
19
|
+
};
|
|
20
|
+
export declare type SpBindingEnum = typeof SpBindingEnum[keyof typeof SpBindingEnum];
|
|
21
21
|
export declare function SpBindingEnumFromJSON(json: any): SpBindingEnum;
|
|
22
22
|
export declare function SpBindingEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpBindingEnum;
|
|
23
23
|
export declare function SpBindingEnumToJSON(value?: SpBindingEnum | null): any;
|
|
@@ -14,13 +14,11 @@
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @enum {string}
|
|
18
17
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})(SpBindingEnum || (SpBindingEnum = {}));
|
|
18
|
+
export const SpBindingEnum = {
|
|
19
|
+
Redirect: 'redirect',
|
|
20
|
+
Post: 'post'
|
|
21
|
+
};
|
|
24
22
|
export function SpBindingEnumFromJSON(json) {
|
|
25
23
|
return SpBindingEnumFromJSONTyped(json, false);
|
|
26
24
|
}
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Successful
|
|
19
|
-
Warning
|
|
20
|
-
Error
|
|
21
|
-
Unknown
|
|
22
|
-
}
|
|
16
|
+
export declare const StatusEnum: {
|
|
17
|
+
readonly Successful: "SUCCESSFUL";
|
|
18
|
+
readonly Warning: "WARNING";
|
|
19
|
+
readonly Error: "ERROR";
|
|
20
|
+
readonly Unknown: "UNKNOWN";
|
|
21
|
+
};
|
|
22
|
+
export declare type StatusEnum = typeof StatusEnum[keyof typeof StatusEnum];
|
|
23
23
|
export declare function StatusEnumFromJSON(json: any): StatusEnum;
|
|
24
24
|
export declare function StatusEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusEnum;
|
|
25
25
|
export declare function StatusEnumToJSON(value?: StatusEnum | null): any;
|
|
@@ -14,15 +14,13 @@
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @enum {string}
|
|
18
17
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
})(StatusEnum || (StatusEnum = {}));
|
|
18
|
+
export const StatusEnum = {
|
|
19
|
+
Successful: 'SUCCESSFUL',
|
|
20
|
+
Warning: 'WARNING',
|
|
21
|
+
Error: 'ERROR',
|
|
22
|
+
Unknown: 'UNKNOWN'
|
|
23
|
+
};
|
|
26
24
|
export function StatusEnumFromJSON(json) {
|
|
27
25
|
return StatusEnumFromJSONTyped(json, false);
|
|
28
26
|
}
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
HashedUserId
|
|
19
|
-
UserUsername
|
|
20
|
-
UserEmail
|
|
21
|
-
UserUpn
|
|
22
|
-
}
|
|
16
|
+
export declare const SubModeEnum: {
|
|
17
|
+
readonly HashedUserId: "hashed_user_id";
|
|
18
|
+
readonly UserUsername: "user_username";
|
|
19
|
+
readonly UserEmail: "user_email";
|
|
20
|
+
readonly UserUpn: "user_upn";
|
|
21
|
+
};
|
|
22
|
+
export declare type SubModeEnum = typeof SubModeEnum[keyof typeof SubModeEnum];
|
|
23
23
|
export declare function SubModeEnumFromJSON(json: any): SubModeEnum;
|
|
24
24
|
export declare function SubModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubModeEnum;
|
|
25
25
|
export declare function SubModeEnumToJSON(value?: SubModeEnum | null): any;
|
|
@@ -14,15 +14,13 @@
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @enum {string}
|
|
18
17
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
})(SubModeEnum || (SubModeEnum = {}));
|
|
18
|
+
export const SubModeEnum = {
|
|
19
|
+
HashedUserId: 'hashed_user_id',
|
|
20
|
+
UserUsername: 'user_username',
|
|
21
|
+
UserEmail: 'user_email',
|
|
22
|
+
UserUpn: 'user_upn'
|
|
23
|
+
};
|
|
26
24
|
export function SubModeEnumFromJSON(json) {
|
|
27
25
|
return SubModeEnumFromJSONTyped(json, false);
|
|
28
26
|
}
|
|
@@ -93,6 +93,14 @@ export interface Tenant {
|
|
|
93
93
|
* @memberof Tenant
|
|
94
94
|
*/
|
|
95
95
|
webCertificate?: string | null;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {{ [key: string]: any; }}
|
|
99
|
+
* @memberof Tenant
|
|
100
|
+
*/
|
|
101
|
+
attributes?: {
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
};
|
|
96
104
|
}
|
|
97
105
|
export declare function TenantFromJSON(json: any): Tenant;
|
|
98
106
|
export declare function TenantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tenant;
|
|
@@ -33,6 +33,7 @@ export function TenantFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'flowUserSettings': !exists(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
|
|
34
34
|
'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
35
35
|
'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
36
|
+
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function TenantToJSON(value) {
|
|
@@ -55,5 +56,6 @@ export function TenantToJSON(value) {
|
|
|
55
56
|
'flow_user_settings': value.flowUserSettings,
|
|
56
57
|
'event_retention': value.eventRetention,
|
|
57
58
|
'web_certificate': value.webCertificate,
|
|
59
|
+
'attributes': value.attributes,
|
|
58
60
|
};
|
|
59
61
|
}
|
|
@@ -87,6 +87,14 @@ export interface TenantRequest {
|
|
|
87
87
|
* @memberof TenantRequest
|
|
88
88
|
*/
|
|
89
89
|
webCertificate?: string | null;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {{ [key: string]: any; }}
|
|
93
|
+
* @memberof TenantRequest
|
|
94
|
+
*/
|
|
95
|
+
attributes?: {
|
|
96
|
+
[key: string]: any;
|
|
97
|
+
};
|
|
90
98
|
}
|
|
91
99
|
export declare function TenantRequestFromJSON(json: any): TenantRequest;
|
|
92
100
|
export declare function TenantRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantRequest;
|
|
@@ -32,6 +32,7 @@ export function TenantRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'flowUserSettings': !exists(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
|
|
33
33
|
'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
34
34
|
'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
35
|
+
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
38
|
export function TenantRequestToJSON(value) {
|
|
@@ -54,5 +55,6 @@ export function TenantRequestToJSON(value) {
|
|
|
54
55
|
'flow_user_settings': value.flowUserSettings,
|
|
55
56
|
'event_retention': value.eventRetention,
|
|
56
57
|
'web_certificate': value.webCertificate,
|
|
58
|
+
'attributes': value.attributes,
|
|
57
59
|
};
|
|
58
60
|
}
|
package/dist/esm/models/Token.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { IntentEnumFromJSON, IntentEnumToJSON, } from './IntentEnum';
|
|
16
|
-
import { UserFromJSON,
|
|
16
|
+
import { UserFromJSON, } from './User';
|
|
17
17
|
export function TokenFromJSON(json) {
|
|
18
18
|
return TokenFromJSONTyped(json, false);
|
|
19
19
|
}
|
|
@@ -27,7 +27,7 @@ export function TokenFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
'identifier': json['identifier'],
|
|
28
28
|
'intent': !exists(json, 'intent') ? undefined : IntentEnumFromJSON(json['intent']),
|
|
29
29
|
'user': !exists(json, 'user') ? undefined : json['user'],
|
|
30
|
-
'userObj':
|
|
30
|
+
'userObj': UserFromJSON(json['user_obj']),
|
|
31
31
|
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
32
32
|
'expires': !exists(json, 'expires') ? undefined : (new Date(json['expires'])),
|
|
33
33
|
'expiring': !exists(json, 'expiring') ? undefined : json['expiring'],
|
|
@@ -45,7 +45,6 @@ export function TokenToJSON(value) {
|
|
|
45
45
|
'identifier': value.identifier,
|
|
46
46
|
'intent': IntentEnumToJSON(value.intent),
|
|
47
47
|
'user': value.user,
|
|
48
|
-
'user_obj': UserToJSON(value.userObj),
|
|
49
48
|
'description': value.description,
|
|
50
49
|
'expires': value.expires === undefined ? undefined : (value.expires.toISOString()),
|
|
51
50
|
'expiring': value.expiring,
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { IntentEnum } from './IntentEnum';
|
|
13
|
-
import { UserRequest } from './UserRequest';
|
|
14
13
|
/**
|
|
15
14
|
* Token Serializer
|
|
16
15
|
* @export
|
|
@@ -41,12 +40,6 @@ export interface TokenRequest {
|
|
|
41
40
|
* @memberof TokenRequest
|
|
42
41
|
*/
|
|
43
42
|
user?: number;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {UserRequest}
|
|
47
|
-
* @memberof TokenRequest
|
|
48
|
-
*/
|
|
49
|
-
userObj?: UserRequest;
|
|
50
43
|
/**
|
|
51
44
|
*
|
|
52
45
|
* @type {string}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { IntentEnumFromJSON, IntentEnumToJSON, } from './IntentEnum';
|
|
16
|
-
import { UserRequestFromJSON, UserRequestToJSON, } from './UserRequest';
|
|
17
16
|
export function TokenRequestFromJSON(json) {
|
|
18
17
|
return TokenRequestFromJSONTyped(json, false);
|
|
19
18
|
}
|
|
@@ -26,7 +25,6 @@ export function TokenRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
25
|
'identifier': json['identifier'],
|
|
27
26
|
'intent': !exists(json, 'intent') ? undefined : IntentEnumFromJSON(json['intent']),
|
|
28
27
|
'user': !exists(json, 'user') ? undefined : json['user'],
|
|
29
|
-
'userObj': !exists(json, 'user_obj') ? undefined : UserRequestFromJSON(json['user_obj']),
|
|
30
28
|
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
31
29
|
'expires': !exists(json, 'expires') ? undefined : (new Date(json['expires'])),
|
|
32
30
|
'expiring': !exists(json, 'expiring') ? undefined : json['expiring'],
|
|
@@ -44,7 +42,6 @@ export function TokenRequestToJSON(value) {
|
|
|
44
42
|
'identifier': value.identifier,
|
|
45
43
|
'intent': IntentEnumToJSON(value.intent),
|
|
46
44
|
'user': value.user,
|
|
47
|
-
'user_obj': UserRequestToJSON(value.userObj),
|
|
48
45
|
'description': value.description,
|
|
49
46
|
'expires': value.expires === undefined ? undefined : (value.expires.toISOString()),
|
|
50
47
|
'expiring': value.expiring,
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022.3.3
|
|
6
|
+
* Contact: hello@beryju.org
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface TokenSetKeyRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface TokenSetKeyRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TokenSetKeyRequest
|
|
22
|
+
*/
|
|
23
|
+
key: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function TokenSetKeyRequestFromJSON(json: any): TokenSetKeyRequest;
|
|
26
|
+
export declare function TokenSetKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenSetKeyRequest;
|
|
27
|
+
export declare function TokenSetKeyRequestToJSON(value?: TokenSetKeyRequest | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2022.3.3
|
|
8
|
+
* Contact: hello@beryju.org
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export function TokenSetKeyRequestFromJSON(json) {
|
|
15
|
+
return TokenSetKeyRequestFromJSONTyped(json, false);
|
|
16
|
+
}
|
|
17
|
+
export function TokenSetKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'key': json['key'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export function TokenSetKeyRequestToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'key': value.key,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Cascade
|
|
19
|
-
CascadeMany
|
|
20
|
-
SetNull
|
|
21
|
-
SetDefault
|
|
22
|
-
}
|
|
16
|
+
export declare const UsedByActionEnum: {
|
|
17
|
+
readonly Cascade: "CASCADE";
|
|
18
|
+
readonly CascadeMany: "CASCADE_MANY";
|
|
19
|
+
readonly SetNull: "SET_NULL";
|
|
20
|
+
readonly SetDefault: "SET_DEFAULT";
|
|
21
|
+
};
|
|
22
|
+
export declare type UsedByActionEnum = typeof UsedByActionEnum[keyof typeof UsedByActionEnum];
|
|
23
23
|
export declare function UsedByActionEnumFromJSON(json: any): UsedByActionEnum;
|
|
24
24
|
export declare function UsedByActionEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UsedByActionEnum;
|
|
25
25
|
export declare function UsedByActionEnumToJSON(value?: UsedByActionEnum | null): any;
|
|
@@ -14,15 +14,13 @@
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @enum {string}
|
|
18
17
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
})(UsedByActionEnum || (UsedByActionEnum = {}));
|
|
18
|
+
export const UsedByActionEnum = {
|
|
19
|
+
Cascade: 'CASCADE',
|
|
20
|
+
CascadeMany: 'CASCADE_MANY',
|
|
21
|
+
SetNull: 'SET_NULL',
|
|
22
|
+
SetDefault: 'SET_DEFAULT'
|
|
23
|
+
};
|
|
26
24
|
export function UsedByActionEnumFromJSON(json) {
|
|
27
25
|
return UsedByActionEnumFromJSONTyped(json, false);
|
|
28
26
|
}
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Email
|
|
19
|
-
Username
|
|
20
|
-
Upn
|
|
21
|
-
}
|
|
16
|
+
export declare const UserFieldsEnum: {
|
|
17
|
+
readonly Email: "email";
|
|
18
|
+
readonly Username: "username";
|
|
19
|
+
readonly Upn: "upn";
|
|
20
|
+
};
|
|
21
|
+
export declare type UserFieldsEnum = typeof UserFieldsEnum[keyof typeof UserFieldsEnum];
|
|
22
22
|
export declare function UserFieldsEnumFromJSON(json: any): UserFieldsEnum;
|
|
23
23
|
export declare function UserFieldsEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserFieldsEnum;
|
|
24
24
|
export declare function UserFieldsEnumToJSON(value?: UserFieldsEnum | null): any;
|
|
@@ -14,14 +14,12 @@
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @enum {string}
|
|
18
17
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
})(UserFieldsEnum || (UserFieldsEnum = {}));
|
|
18
|
+
export const UserFieldsEnum = {
|
|
19
|
+
Email: 'email',
|
|
20
|
+
Username: 'username',
|
|
21
|
+
Upn: 'upn'
|
|
22
|
+
};
|
|
25
23
|
export function UserFieldsEnumFromJSON(json) {
|
|
26
24
|
return UserFieldsEnumFromJSONTyped(json, false);
|
|
27
25
|
}
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Identifier
|
|
19
|
-
EmailLink
|
|
20
|
-
EmailDeny
|
|
21
|
-
UsernameLink
|
|
22
|
-
UsernameDeny
|
|
23
|
-
}
|
|
16
|
+
export declare const UserMatchingModeEnum: {
|
|
17
|
+
readonly Identifier: "identifier";
|
|
18
|
+
readonly EmailLink: "email_link";
|
|
19
|
+
readonly EmailDeny: "email_deny";
|
|
20
|
+
readonly UsernameLink: "username_link";
|
|
21
|
+
readonly UsernameDeny: "username_deny";
|
|
22
|
+
};
|
|
23
|
+
export declare type UserMatchingModeEnum = typeof UserMatchingModeEnum[keyof typeof UserMatchingModeEnum];
|
|
24
24
|
export declare function UserMatchingModeEnumFromJSON(json: any): UserMatchingModeEnum;
|
|
25
25
|
export declare function UserMatchingModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserMatchingModeEnum;
|
|
26
26
|
export declare function UserMatchingModeEnumToJSON(value?: UserMatchingModeEnum | null): any;
|
|
@@ -14,16 +14,14 @@
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @enum {string}
|
|
18
17
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(UserMatchingModeEnum || (UserMatchingModeEnum = {}));
|
|
18
|
+
export const UserMatchingModeEnum = {
|
|
19
|
+
Identifier: 'identifier',
|
|
20
|
+
EmailLink: 'email_link',
|
|
21
|
+
EmailDeny: 'email_deny',
|
|
22
|
+
UsernameLink: 'username_link',
|
|
23
|
+
UsernameDeny: 'username_deny'
|
|
24
|
+
};
|
|
27
25
|
export function UserMatchingModeEnumFromJSON(json) {
|
|
28
26
|
return UserMatchingModeEnumFromJSONTyped(json, false);
|
|
29
27
|
}
|
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { UserSelfGroups } from './UserSelfGroups';
|
|
13
13
|
/**
|
|
14
|
-
* User Serializer for information a user can retrieve about themselves
|
|
15
|
-
* update about themselves
|
|
14
|
+
* User Serializer for information a user can retrieve about themselves
|
|
16
15
|
* @export
|
|
17
16
|
* @interface UserSelf
|
|
18
17
|
*/
|
|
@@ -76,7 +75,7 @@ export interface UserSelf {
|
|
|
76
75
|
* @type {{ [key: string]: any; }}
|
|
77
76
|
* @memberof UserSelf
|
|
78
77
|
*/
|
|
79
|
-
settings
|
|
78
|
+
readonly settings: {
|
|
80
79
|
[key: string]: any;
|
|
81
80
|
};
|
|
82
81
|
}
|
|
@@ -30,7 +30,7 @@ export function UserSelfFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
31
31
|
'avatar': json['avatar'],
|
|
32
32
|
'uid': json['uid'],
|
|
33
|
-
'settings':
|
|
33
|
+
'settings': json['settings'],
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
export function UserSelfToJSON(value) {
|
|
@@ -44,6 +44,5 @@ export function UserSelfToJSON(value) {
|
|
|
44
44
|
'username': value.username,
|
|
45
45
|
'name': value.name,
|
|
46
46
|
'email': value.email,
|
|
47
|
-
'settings': value.settings,
|
|
48
47
|
};
|
|
49
48
|
}
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Required
|
|
19
|
-
Preferred
|
|
20
|
-
Discouraged
|
|
21
|
-
}
|
|
16
|
+
export declare const UserVerificationEnum: {
|
|
17
|
+
readonly Required: "required";
|
|
18
|
+
readonly Preferred: "preferred";
|
|
19
|
+
readonly Discouraged: "discouraged";
|
|
20
|
+
};
|
|
21
|
+
export declare type UserVerificationEnum = typeof UserVerificationEnum[keyof typeof UserVerificationEnum];
|
|
22
22
|
export declare function UserVerificationEnumFromJSON(json: any): UserVerificationEnum;
|
|
23
23
|
export declare function UserVerificationEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserVerificationEnum;
|
|
24
24
|
export declare function UserVerificationEnumToJSON(value?: UserVerificationEnum | null): any;
|