@goauthentik/api 2023.10.5-1703167718 → 2023.10.5-1703290840
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/dist/apis/StagesApi.d.ts +24 -0
- package/dist/apis/StagesApi.js +27 -1
- package/dist/esm/apis/StagesApi.d.ts +24 -0
- package/dist/esm/apis/StagesApi.js +26 -0
- package/dist/esm/models/GeoipBindingEnum.d.ts +29 -0
- package/dist/esm/models/GeoipBindingEnum.js +36 -0
- package/dist/esm/models/NetworkBindingEnum.d.ts +29 -0
- package/dist/esm/models/NetworkBindingEnum.js +36 -0
- package/dist/esm/models/PatchedUserLoginStageRequest.d.ts +14 -0
- package/dist/esm/models/PatchedUserLoginStageRequest.js +6 -0
- package/dist/esm/models/ProviderTypeEnum.d.ts +2 -2
- package/dist/esm/models/ProviderTypeEnum.js +2 -2
- package/dist/esm/models/UserLoginStage.d.ts +14 -0
- package/dist/esm/models/UserLoginStage.js +6 -0
- package/dist/esm/models/UserLoginStageRequest.d.ts +14 -0
- package/dist/esm/models/UserLoginStageRequest.js +6 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/models/GeoipBindingEnum.d.ts +29 -0
- package/dist/models/GeoipBindingEnum.js +42 -0
- package/dist/models/NetworkBindingEnum.d.ts +29 -0
- package/dist/models/NetworkBindingEnum.js +42 -0
- package/dist/models/PatchedUserLoginStageRequest.d.ts +14 -0
- package/dist/models/PatchedUserLoginStageRequest.js +6 -0
- package/dist/models/ProviderTypeEnum.d.ts +2 -2
- package/dist/models/ProviderTypeEnum.js +2 -2
- package/dist/models/UserLoginStage.d.ts +14 -0
- package/dist/models/UserLoginStage.js +6 -0
- package/dist/models/UserLoginStageRequest.d.ts +14 -0
- package/dist/models/UserLoginStageRequest.js +6 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/apis/StagesApi.ts +32 -0
- package/src/models/GeoipBindingEnum.ts +44 -0
- package/src/models/NetworkBindingEnum.ts +44 -0
- package/src/models/PatchedUserLoginStageRequest.ts +28 -0
- package/src/models/ProviderTypeEnum.ts +2 -2
- package/src/models/UserLoginStage.ts +28 -0
- package/src/models/UserLoginStageRequest.ts +28 -0
- package/src/models/index.ts +2 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -153,6 +153,7 @@ src/models/FlowStageBinding.ts
|
|
|
153
153
|
src/models/FlowStageBindingRequest.ts
|
|
154
154
|
src/models/FooterLink.ts
|
|
155
155
|
src/models/GenericError.ts
|
|
156
|
+
src/models/GeoipBindingEnum.ts
|
|
156
157
|
src/models/Group.ts
|
|
157
158
|
src/models/GroupMember.ts
|
|
158
159
|
src/models/GroupMemberRequest.ts
|
|
@@ -193,6 +194,7 @@ src/models/Metadata.ts
|
|
|
193
194
|
src/models/ModelEnum.ts
|
|
194
195
|
src/models/ModelRequest.ts
|
|
195
196
|
src/models/NameIdPolicyEnum.ts
|
|
197
|
+
src/models/NetworkBindingEnum.ts
|
|
196
198
|
src/models/NotConfiguredActionEnum.ts
|
|
197
199
|
src/models/Notification.ts
|
|
198
200
|
src/models/NotificationRequest.ts
|
package/dist/apis/StagesApi.d.ts
CHANGED
|
@@ -607,7 +607,9 @@ export interface StagesUserLoginDestroyRequest {
|
|
|
607
607
|
stageUuid: string;
|
|
608
608
|
}
|
|
609
609
|
export interface StagesUserLoginListRequest {
|
|
610
|
+
geoipBinding?: StagesUserLoginListGeoipBindingEnum;
|
|
610
611
|
name?: string;
|
|
612
|
+
networkBinding?: StagesUserLoginListNetworkBindingEnum;
|
|
611
613
|
ordering?: string;
|
|
612
614
|
page?: number;
|
|
613
615
|
pageSize?: number;
|
|
@@ -2062,6 +2064,28 @@ export declare const StagesPromptPromptsListTypeEnum: {
|
|
|
2062
2064
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
2063
2065
|
};
|
|
2064
2066
|
export type StagesPromptPromptsListTypeEnum = typeof StagesPromptPromptsListTypeEnum[keyof typeof StagesPromptPromptsListTypeEnum];
|
|
2067
|
+
/**
|
|
2068
|
+
* @export
|
|
2069
|
+
*/
|
|
2070
|
+
export declare const StagesUserLoginListGeoipBindingEnum: {
|
|
2071
|
+
readonly BindContinent: "bind_continent";
|
|
2072
|
+
readonly BindContinentCountry: "bind_continent_country";
|
|
2073
|
+
readonly BindContinentCountryCity: "bind_continent_country_city";
|
|
2074
|
+
readonly NoBinding: "no_binding";
|
|
2075
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
2076
|
+
};
|
|
2077
|
+
export type StagesUserLoginListGeoipBindingEnum = typeof StagesUserLoginListGeoipBindingEnum[keyof typeof StagesUserLoginListGeoipBindingEnum];
|
|
2078
|
+
/**
|
|
2079
|
+
* @export
|
|
2080
|
+
*/
|
|
2081
|
+
export declare const StagesUserLoginListNetworkBindingEnum: {
|
|
2082
|
+
readonly BindAsn: "bind_asn";
|
|
2083
|
+
readonly BindAsnNetwork: "bind_asn_network";
|
|
2084
|
+
readonly BindAsnNetworkIp: "bind_asn_network_ip";
|
|
2085
|
+
readonly NoBinding: "no_binding";
|
|
2086
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
2087
|
+
};
|
|
2088
|
+
export type StagesUserLoginListNetworkBindingEnum = typeof StagesUserLoginListNetworkBindingEnum[keyof typeof StagesUserLoginListNetworkBindingEnum];
|
|
2065
2089
|
/**
|
|
2066
2090
|
* @export
|
|
2067
2091
|
*/
|
package/dist/apis/StagesApi.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.StagesUserWriteListUserTypeEnum = exports.StagesUserWriteListUserCreationModeEnum = exports.StagesPromptPromptsListTypeEnum = exports.StagesConsentListModeEnum = exports.StagesAuthenticatorWebauthnListUserVerificationEnum = exports.StagesAuthenticatorWebauthnListResidentKeyRequirementEnum = exports.StagesAuthenticatorWebauthnListAuthenticatorAttachmentEnum = exports.StagesAuthenticatorValidateListNotConfiguredActionEnum = exports.StagesAuthenticatorTotpListDigitsEnum = exports.StagesAuthenticatorSmsListProviderEnum = exports.StagesAuthenticatorSmsListAuthTypeEnum = exports.StagesApi = void 0;
|
|
25
|
+
exports.StagesUserWriteListUserTypeEnum = exports.StagesUserWriteListUserCreationModeEnum = exports.StagesUserLoginListNetworkBindingEnum = exports.StagesUserLoginListGeoipBindingEnum = exports.StagesPromptPromptsListTypeEnum = exports.StagesConsentListModeEnum = exports.StagesAuthenticatorWebauthnListUserVerificationEnum = exports.StagesAuthenticatorWebauthnListResidentKeyRequirementEnum = exports.StagesAuthenticatorWebauthnListAuthenticatorAttachmentEnum = exports.StagesAuthenticatorValidateListNotConfiguredActionEnum = exports.StagesAuthenticatorTotpListDigitsEnum = exports.StagesAuthenticatorSmsListProviderEnum = exports.StagesAuthenticatorSmsListAuthTypeEnum = exports.StagesApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
27
|
const models_1 = require("../models");
|
|
28
28
|
/**
|
|
@@ -4935,9 +4935,15 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
4935
4935
|
stagesUserLoginListRaw(requestParameters, initOverrides) {
|
|
4936
4936
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4937
4937
|
const queryParameters = {};
|
|
4938
|
+
if (requestParameters.geoipBinding !== undefined) {
|
|
4939
|
+
queryParameters['geoip_binding'] = requestParameters.geoipBinding;
|
|
4940
|
+
}
|
|
4938
4941
|
if (requestParameters.name !== undefined) {
|
|
4939
4942
|
queryParameters['name'] = requestParameters.name;
|
|
4940
4943
|
}
|
|
4944
|
+
if (requestParameters.networkBinding !== undefined) {
|
|
4945
|
+
queryParameters['network_binding'] = requestParameters.networkBinding;
|
|
4946
|
+
}
|
|
4941
4947
|
if (requestParameters.ordering !== undefined) {
|
|
4942
4948
|
queryParameters['ordering'] = requestParameters.ordering;
|
|
4943
4949
|
}
|
|
@@ -5704,6 +5710,26 @@ exports.StagesPromptPromptsListTypeEnum = {
|
|
|
5704
5710
|
Username: 'username',
|
|
5705
5711
|
UnknownDefaultOpenApi: '11184809'
|
|
5706
5712
|
};
|
|
5713
|
+
/**
|
|
5714
|
+
* @export
|
|
5715
|
+
*/
|
|
5716
|
+
exports.StagesUserLoginListGeoipBindingEnum = {
|
|
5717
|
+
BindContinent: 'bind_continent',
|
|
5718
|
+
BindContinentCountry: 'bind_continent_country',
|
|
5719
|
+
BindContinentCountryCity: 'bind_continent_country_city',
|
|
5720
|
+
NoBinding: 'no_binding',
|
|
5721
|
+
UnknownDefaultOpenApi: '11184809'
|
|
5722
|
+
};
|
|
5723
|
+
/**
|
|
5724
|
+
* @export
|
|
5725
|
+
*/
|
|
5726
|
+
exports.StagesUserLoginListNetworkBindingEnum = {
|
|
5727
|
+
BindAsn: 'bind_asn',
|
|
5728
|
+
BindAsnNetwork: 'bind_asn_network',
|
|
5729
|
+
BindAsnNetworkIp: 'bind_asn_network_ip',
|
|
5730
|
+
NoBinding: 'no_binding',
|
|
5731
|
+
UnknownDefaultOpenApi: '11184809'
|
|
5732
|
+
};
|
|
5707
5733
|
/**
|
|
5708
5734
|
* @export
|
|
5709
5735
|
*/
|
|
@@ -607,7 +607,9 @@ export interface StagesUserLoginDestroyRequest {
|
|
|
607
607
|
stageUuid: string;
|
|
608
608
|
}
|
|
609
609
|
export interface StagesUserLoginListRequest {
|
|
610
|
+
geoipBinding?: StagesUserLoginListGeoipBindingEnum;
|
|
610
611
|
name?: string;
|
|
612
|
+
networkBinding?: StagesUserLoginListNetworkBindingEnum;
|
|
611
613
|
ordering?: string;
|
|
612
614
|
page?: number;
|
|
613
615
|
pageSize?: number;
|
|
@@ -2062,6 +2064,28 @@ export declare const StagesPromptPromptsListTypeEnum: {
|
|
|
2062
2064
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
2063
2065
|
};
|
|
2064
2066
|
export type StagesPromptPromptsListTypeEnum = typeof StagesPromptPromptsListTypeEnum[keyof typeof StagesPromptPromptsListTypeEnum];
|
|
2067
|
+
/**
|
|
2068
|
+
* @export
|
|
2069
|
+
*/
|
|
2070
|
+
export declare const StagesUserLoginListGeoipBindingEnum: {
|
|
2071
|
+
readonly BindContinent: "bind_continent";
|
|
2072
|
+
readonly BindContinentCountry: "bind_continent_country";
|
|
2073
|
+
readonly BindContinentCountryCity: "bind_continent_country_city";
|
|
2074
|
+
readonly NoBinding: "no_binding";
|
|
2075
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
2076
|
+
};
|
|
2077
|
+
export type StagesUserLoginListGeoipBindingEnum = typeof StagesUserLoginListGeoipBindingEnum[keyof typeof StagesUserLoginListGeoipBindingEnum];
|
|
2078
|
+
/**
|
|
2079
|
+
* @export
|
|
2080
|
+
*/
|
|
2081
|
+
export declare const StagesUserLoginListNetworkBindingEnum: {
|
|
2082
|
+
readonly BindAsn: "bind_asn";
|
|
2083
|
+
readonly BindAsnNetwork: "bind_asn_network";
|
|
2084
|
+
readonly BindAsnNetworkIp: "bind_asn_network_ip";
|
|
2085
|
+
readonly NoBinding: "no_binding";
|
|
2086
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
2087
|
+
};
|
|
2088
|
+
export type StagesUserLoginListNetworkBindingEnum = typeof StagesUserLoginListNetworkBindingEnum[keyof typeof StagesUserLoginListNetworkBindingEnum];
|
|
2065
2089
|
/**
|
|
2066
2090
|
* @export
|
|
2067
2091
|
*/
|
|
@@ -4932,9 +4932,15 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
4932
4932
|
stagesUserLoginListRaw(requestParameters, initOverrides) {
|
|
4933
4933
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4934
4934
|
const queryParameters = {};
|
|
4935
|
+
if (requestParameters.geoipBinding !== undefined) {
|
|
4936
|
+
queryParameters['geoip_binding'] = requestParameters.geoipBinding;
|
|
4937
|
+
}
|
|
4935
4938
|
if (requestParameters.name !== undefined) {
|
|
4936
4939
|
queryParameters['name'] = requestParameters.name;
|
|
4937
4940
|
}
|
|
4941
|
+
if (requestParameters.networkBinding !== undefined) {
|
|
4942
|
+
queryParameters['network_binding'] = requestParameters.networkBinding;
|
|
4943
|
+
}
|
|
4938
4944
|
if (requestParameters.ordering !== undefined) {
|
|
4939
4945
|
queryParameters['ordering'] = requestParameters.ordering;
|
|
4940
4946
|
}
|
|
@@ -5700,6 +5706,26 @@ export const StagesPromptPromptsListTypeEnum = {
|
|
|
5700
5706
|
Username: 'username',
|
|
5701
5707
|
UnknownDefaultOpenApi: '11184809'
|
|
5702
5708
|
};
|
|
5709
|
+
/**
|
|
5710
|
+
* @export
|
|
5711
|
+
*/
|
|
5712
|
+
export const StagesUserLoginListGeoipBindingEnum = {
|
|
5713
|
+
BindContinent: 'bind_continent',
|
|
5714
|
+
BindContinentCountry: 'bind_continent_country',
|
|
5715
|
+
BindContinentCountryCity: 'bind_continent_country_city',
|
|
5716
|
+
NoBinding: 'no_binding',
|
|
5717
|
+
UnknownDefaultOpenApi: '11184809'
|
|
5718
|
+
};
|
|
5719
|
+
/**
|
|
5720
|
+
* @export
|
|
5721
|
+
*/
|
|
5722
|
+
export const StagesUserLoginListNetworkBindingEnum = {
|
|
5723
|
+
BindAsn: 'bind_asn',
|
|
5724
|
+
BindAsnNetwork: 'bind_asn_network',
|
|
5725
|
+
BindAsnNetworkIp: 'bind_asn_network_ip',
|
|
5726
|
+
NoBinding: 'no_binding',
|
|
5727
|
+
UnknownDefaultOpenApi: '11184809'
|
|
5728
|
+
};
|
|
5703
5729
|
/**
|
|
5704
5730
|
* @export
|
|
5705
5731
|
*/
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
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
|
+
* * `no_binding` - No Binding
|
|
14
|
+
* * `bind_continent` - Bind Continent
|
|
15
|
+
* * `bind_continent_country` - Bind Continent Country
|
|
16
|
+
* * `bind_continent_country_city` - Bind Continent Country City
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare const GeoipBindingEnum: {
|
|
20
|
+
readonly NoBinding: "no_binding";
|
|
21
|
+
readonly BindContinent: "bind_continent";
|
|
22
|
+
readonly BindContinentCountry: "bind_continent_country";
|
|
23
|
+
readonly BindContinentCountryCity: "bind_continent_country_city";
|
|
24
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
25
|
+
};
|
|
26
|
+
export type GeoipBindingEnum = typeof GeoipBindingEnum[keyof typeof GeoipBindingEnum];
|
|
27
|
+
export declare function GeoipBindingEnumFromJSON(json: any): GeoipBindingEnum;
|
|
28
|
+
export declare function GeoipBindingEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeoipBindingEnum;
|
|
29
|
+
export declare function GeoipBindingEnumToJSON(value?: GeoipBindingEnum | null): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
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
|
+
/**
|
|
15
|
+
* * `no_binding` - No Binding
|
|
16
|
+
* * `bind_continent` - Bind Continent
|
|
17
|
+
* * `bind_continent_country` - Bind Continent Country
|
|
18
|
+
* * `bind_continent_country_city` - Bind Continent Country City
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export const GeoipBindingEnum = {
|
|
22
|
+
NoBinding: 'no_binding',
|
|
23
|
+
BindContinent: 'bind_continent',
|
|
24
|
+
BindContinentCountry: 'bind_continent_country',
|
|
25
|
+
BindContinentCountryCity: 'bind_continent_country_city',
|
|
26
|
+
UnknownDefaultOpenApi: '11184809'
|
|
27
|
+
};
|
|
28
|
+
export function GeoipBindingEnumFromJSON(json) {
|
|
29
|
+
return GeoipBindingEnumFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function GeoipBindingEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
export function GeoipBindingEnumToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
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
|
+
* * `no_binding` - No Binding
|
|
14
|
+
* * `bind_asn` - Bind Asn
|
|
15
|
+
* * `bind_asn_network` - Bind Asn Network
|
|
16
|
+
* * `bind_asn_network_ip` - Bind Asn Network Ip
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare const NetworkBindingEnum: {
|
|
20
|
+
readonly NoBinding: "no_binding";
|
|
21
|
+
readonly BindAsn: "bind_asn";
|
|
22
|
+
readonly BindAsnNetwork: "bind_asn_network";
|
|
23
|
+
readonly BindAsnNetworkIp: "bind_asn_network_ip";
|
|
24
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
25
|
+
};
|
|
26
|
+
export type NetworkBindingEnum = typeof NetworkBindingEnum[keyof typeof NetworkBindingEnum];
|
|
27
|
+
export declare function NetworkBindingEnumFromJSON(json: any): NetworkBindingEnum;
|
|
28
|
+
export declare function NetworkBindingEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): NetworkBindingEnum;
|
|
29
|
+
export declare function NetworkBindingEnumToJSON(value?: NetworkBindingEnum | null): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
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
|
+
/**
|
|
15
|
+
* * `no_binding` - No Binding
|
|
16
|
+
* * `bind_asn` - Bind Asn
|
|
17
|
+
* * `bind_asn_network` - Bind Asn Network
|
|
18
|
+
* * `bind_asn_network_ip` - Bind Asn Network Ip
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export const NetworkBindingEnum = {
|
|
22
|
+
NoBinding: 'no_binding',
|
|
23
|
+
BindAsn: 'bind_asn',
|
|
24
|
+
BindAsnNetwork: 'bind_asn_network',
|
|
25
|
+
BindAsnNetworkIp: 'bind_asn_network_ip',
|
|
26
|
+
UnknownDefaultOpenApi: '11184809'
|
|
27
|
+
};
|
|
28
|
+
export function NetworkBindingEnumFromJSON(json) {
|
|
29
|
+
return NetworkBindingEnumFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function NetworkBindingEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
export function NetworkBindingEnumToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { FlowSetRequest } from './FlowSetRequest';
|
|
13
|
+
import type { GeoipBindingEnum } from './GeoipBindingEnum';
|
|
14
|
+
import type { NetworkBindingEnum } from './NetworkBindingEnum';
|
|
13
15
|
/**
|
|
14
16
|
* UserLoginStage Serializer
|
|
15
17
|
* @export
|
|
@@ -46,6 +48,18 @@ export interface PatchedUserLoginStageRequest {
|
|
|
46
48
|
* @memberof PatchedUserLoginStageRequest
|
|
47
49
|
*/
|
|
48
50
|
rememberMeOffset?: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {NetworkBindingEnum}
|
|
54
|
+
* @memberof PatchedUserLoginStageRequest
|
|
55
|
+
*/
|
|
56
|
+
networkBinding?: NetworkBindingEnum;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {GeoipBindingEnum}
|
|
60
|
+
* @memberof PatchedUserLoginStageRequest
|
|
61
|
+
*/
|
|
62
|
+
geoipBinding?: GeoipBindingEnum;
|
|
49
63
|
}
|
|
50
64
|
/**
|
|
51
65
|
* Check if a given object implements the PatchedUserLoginStageRequest interface.
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { FlowSetRequestFromJSON, FlowSetRequestToJSON, } from './FlowSetRequest';
|
|
16
|
+
import { GeoipBindingEnumFromJSON, GeoipBindingEnumToJSON, } from './GeoipBindingEnum';
|
|
17
|
+
import { NetworkBindingEnumFromJSON, NetworkBindingEnumToJSON, } from './NetworkBindingEnum';
|
|
16
18
|
/**
|
|
17
19
|
* Check if a given object implements the PatchedUserLoginStageRequest interface.
|
|
18
20
|
*/
|
|
@@ -33,6 +35,8 @@ export function PatchedUserLoginStageRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
33
35
|
'sessionDuration': !exists(json, 'session_duration') ? undefined : json['session_duration'],
|
|
34
36
|
'terminateOtherSessions': !exists(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
|
|
35
37
|
'rememberMeOffset': !exists(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
|
|
38
|
+
'networkBinding': !exists(json, 'network_binding') ? undefined : NetworkBindingEnumFromJSON(json['network_binding']),
|
|
39
|
+
'geoipBinding': !exists(json, 'geoip_binding') ? undefined : GeoipBindingEnumFromJSON(json['geoip_binding']),
|
|
36
40
|
};
|
|
37
41
|
}
|
|
38
42
|
export function PatchedUserLoginStageRequestToJSON(value) {
|
|
@@ -48,5 +52,7 @@ export function PatchedUserLoginStageRequestToJSON(value) {
|
|
|
48
52
|
'session_duration': value.sessionDuration,
|
|
49
53
|
'terminate_other_sessions': value.terminateOtherSessions,
|
|
50
54
|
'remember_me_offset': value.rememberMeOffset,
|
|
55
|
+
'network_binding': NetworkBindingEnumToJSON(value.networkBinding),
|
|
56
|
+
'geoip_binding': GeoipBindingEnumToJSON(value.geoipBinding),
|
|
51
57
|
};
|
|
52
58
|
}
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* * `apple` - Apple
|
|
14
|
+
* * `openidconnect` - OpenID Connect
|
|
14
15
|
* * `azuread` - Azure AD
|
|
15
16
|
* * `discord` - Discord
|
|
16
17
|
* * `facebook` - Facebook
|
|
17
18
|
* * `github` - GitHub
|
|
18
19
|
* * `google` - Google
|
|
19
20
|
* * `mailcow` - Mailcow
|
|
20
|
-
* * `openidconnect` - OpenID Connect
|
|
21
21
|
* * `okta` - Okta
|
|
22
22
|
* * `patreon` - Patreon
|
|
23
23
|
* * `reddit` - Reddit
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
*/
|
|
28
28
|
export declare const ProviderTypeEnum: {
|
|
29
29
|
readonly Apple: "apple";
|
|
30
|
+
readonly Openidconnect: "openidconnect";
|
|
30
31
|
readonly Azuread: "azuread";
|
|
31
32
|
readonly Discord: "discord";
|
|
32
33
|
readonly Facebook: "facebook";
|
|
33
34
|
readonly Github: "github";
|
|
34
35
|
readonly Google: "google";
|
|
35
36
|
readonly Mailcow: "mailcow";
|
|
36
|
-
readonly Openidconnect: "openidconnect";
|
|
37
37
|
readonly Okta: "okta";
|
|
38
38
|
readonly Patreon: "patreon";
|
|
39
39
|
readonly Reddit: "reddit";
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* * `apple` - Apple
|
|
16
|
+
* * `openidconnect` - OpenID Connect
|
|
16
17
|
* * `azuread` - Azure AD
|
|
17
18
|
* * `discord` - Discord
|
|
18
19
|
* * `facebook` - Facebook
|
|
19
20
|
* * `github` - GitHub
|
|
20
21
|
* * `google` - Google
|
|
21
22
|
* * `mailcow` - Mailcow
|
|
22
|
-
* * `openidconnect` - OpenID Connect
|
|
23
23
|
* * `okta` - Okta
|
|
24
24
|
* * `patreon` - Patreon
|
|
25
25
|
* * `reddit` - Reddit
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
*/
|
|
30
30
|
export const ProviderTypeEnum = {
|
|
31
31
|
Apple: 'apple',
|
|
32
|
+
Openidconnect: 'openidconnect',
|
|
32
33
|
Azuread: 'azuread',
|
|
33
34
|
Discord: 'discord',
|
|
34
35
|
Facebook: 'facebook',
|
|
35
36
|
Github: 'github',
|
|
36
37
|
Google: 'google',
|
|
37
38
|
Mailcow: 'mailcow',
|
|
38
|
-
Openidconnect: 'openidconnect',
|
|
39
39
|
Okta: 'okta',
|
|
40
40
|
Patreon: 'patreon',
|
|
41
41
|
Reddit: 'reddit',
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { FlowSet } from './FlowSet';
|
|
13
|
+
import type { GeoipBindingEnum } from './GeoipBindingEnum';
|
|
14
|
+
import type { NetworkBindingEnum } from './NetworkBindingEnum';
|
|
13
15
|
/**
|
|
14
16
|
* UserLoginStage Serializer
|
|
15
17
|
* @export
|
|
@@ -76,6 +78,18 @@ export interface UserLoginStage {
|
|
|
76
78
|
* @memberof UserLoginStage
|
|
77
79
|
*/
|
|
78
80
|
rememberMeOffset?: string;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {NetworkBindingEnum}
|
|
84
|
+
* @memberof UserLoginStage
|
|
85
|
+
*/
|
|
86
|
+
networkBinding?: NetworkBindingEnum;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {GeoipBindingEnum}
|
|
90
|
+
* @memberof UserLoginStage
|
|
91
|
+
*/
|
|
92
|
+
geoipBinding?: GeoipBindingEnum;
|
|
79
93
|
}
|
|
80
94
|
/**
|
|
81
95
|
* Check if a given object implements the UserLoginStage interface.
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { FlowSetFromJSON, FlowSetToJSON, } from './FlowSet';
|
|
16
|
+
import { GeoipBindingEnumFromJSON, GeoipBindingEnumToJSON, } from './GeoipBindingEnum';
|
|
17
|
+
import { NetworkBindingEnumFromJSON, NetworkBindingEnumToJSON, } from './NetworkBindingEnum';
|
|
16
18
|
/**
|
|
17
19
|
* Check if a given object implements the UserLoginStage interface.
|
|
18
20
|
*/
|
|
@@ -44,6 +46,8 @@ export function UserLoginStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
46
|
'sessionDuration': !exists(json, 'session_duration') ? undefined : json['session_duration'],
|
|
45
47
|
'terminateOtherSessions': !exists(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
|
|
46
48
|
'rememberMeOffset': !exists(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
|
|
49
|
+
'networkBinding': !exists(json, 'network_binding') ? undefined : NetworkBindingEnumFromJSON(json['network_binding']),
|
|
50
|
+
'geoipBinding': !exists(json, 'geoip_binding') ? undefined : GeoipBindingEnumFromJSON(json['geoip_binding']),
|
|
47
51
|
};
|
|
48
52
|
}
|
|
49
53
|
export function UserLoginStageToJSON(value) {
|
|
@@ -59,5 +63,7 @@ export function UserLoginStageToJSON(value) {
|
|
|
59
63
|
'session_duration': value.sessionDuration,
|
|
60
64
|
'terminate_other_sessions': value.terminateOtherSessions,
|
|
61
65
|
'remember_me_offset': value.rememberMeOffset,
|
|
66
|
+
'network_binding': NetworkBindingEnumToJSON(value.networkBinding),
|
|
67
|
+
'geoip_binding': GeoipBindingEnumToJSON(value.geoipBinding),
|
|
62
68
|
};
|
|
63
69
|
}
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { FlowSetRequest } from './FlowSetRequest';
|
|
13
|
+
import type { GeoipBindingEnum } from './GeoipBindingEnum';
|
|
14
|
+
import type { NetworkBindingEnum } from './NetworkBindingEnum';
|
|
13
15
|
/**
|
|
14
16
|
* UserLoginStage Serializer
|
|
15
17
|
* @export
|
|
@@ -46,6 +48,18 @@ export interface UserLoginStageRequest {
|
|
|
46
48
|
* @memberof UserLoginStageRequest
|
|
47
49
|
*/
|
|
48
50
|
rememberMeOffset?: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {NetworkBindingEnum}
|
|
54
|
+
* @memberof UserLoginStageRequest
|
|
55
|
+
*/
|
|
56
|
+
networkBinding?: NetworkBindingEnum;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {GeoipBindingEnum}
|
|
60
|
+
* @memberof UserLoginStageRequest
|
|
61
|
+
*/
|
|
62
|
+
geoipBinding?: GeoipBindingEnum;
|
|
49
63
|
}
|
|
50
64
|
/**
|
|
51
65
|
* Check if a given object implements the UserLoginStageRequest interface.
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { FlowSetRequestFromJSON, FlowSetRequestToJSON, } from './FlowSetRequest';
|
|
16
|
+
import { GeoipBindingEnumFromJSON, GeoipBindingEnumToJSON, } from './GeoipBindingEnum';
|
|
17
|
+
import { NetworkBindingEnumFromJSON, NetworkBindingEnumToJSON, } from './NetworkBindingEnum';
|
|
16
18
|
/**
|
|
17
19
|
* Check if a given object implements the UserLoginStageRequest interface.
|
|
18
20
|
*/
|
|
@@ -34,6 +36,8 @@ export function UserLoginStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
36
|
'sessionDuration': !exists(json, 'session_duration') ? undefined : json['session_duration'],
|
|
35
37
|
'terminateOtherSessions': !exists(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
|
|
36
38
|
'rememberMeOffset': !exists(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
|
|
39
|
+
'networkBinding': !exists(json, 'network_binding') ? undefined : NetworkBindingEnumFromJSON(json['network_binding']),
|
|
40
|
+
'geoipBinding': !exists(json, 'geoip_binding') ? undefined : GeoipBindingEnumFromJSON(json['geoip_binding']),
|
|
37
41
|
};
|
|
38
42
|
}
|
|
39
43
|
export function UserLoginStageRequestToJSON(value) {
|
|
@@ -49,5 +53,7 @@ export function UserLoginStageRequestToJSON(value) {
|
|
|
49
53
|
'session_duration': value.sessionDuration,
|
|
50
54
|
'terminate_other_sessions': value.terminateOtherSessions,
|
|
51
55
|
'remember_me_offset': value.rememberMeOffset,
|
|
56
|
+
'network_binding': NetworkBindingEnumToJSON(value.networkBinding),
|
|
57
|
+
'geoip_binding': GeoipBindingEnumToJSON(value.geoipBinding),
|
|
52
58
|
};
|
|
53
59
|
}
|
|
@@ -128,6 +128,7 @@ export * from './FlowStageBinding';
|
|
|
128
128
|
export * from './FlowStageBindingRequest';
|
|
129
129
|
export * from './FooterLink';
|
|
130
130
|
export * from './GenericError';
|
|
131
|
+
export * from './GeoipBindingEnum';
|
|
131
132
|
export * from './Group';
|
|
132
133
|
export * from './GroupMember';
|
|
133
134
|
export * from './GroupMemberRequest';
|
|
@@ -168,6 +169,7 @@ export * from './Metadata';
|
|
|
168
169
|
export * from './ModelEnum';
|
|
169
170
|
export * from './ModelRequest';
|
|
170
171
|
export * from './NameIdPolicyEnum';
|
|
172
|
+
export * from './NetworkBindingEnum';
|
|
171
173
|
export * from './NotConfiguredActionEnum';
|
|
172
174
|
export * from './Notification';
|
|
173
175
|
export * from './NotificationRequest';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -130,6 +130,7 @@ export * from './FlowStageBinding';
|
|
|
130
130
|
export * from './FlowStageBindingRequest';
|
|
131
131
|
export * from './FooterLink';
|
|
132
132
|
export * from './GenericError';
|
|
133
|
+
export * from './GeoipBindingEnum';
|
|
133
134
|
export * from './Group';
|
|
134
135
|
export * from './GroupMember';
|
|
135
136
|
export * from './GroupMemberRequest';
|
|
@@ -170,6 +171,7 @@ export * from './Metadata';
|
|
|
170
171
|
export * from './ModelEnum';
|
|
171
172
|
export * from './ModelRequest';
|
|
172
173
|
export * from './NameIdPolicyEnum';
|
|
174
|
+
export * from './NetworkBindingEnum';
|
|
173
175
|
export * from './NotConfiguredActionEnum';
|
|
174
176
|
export * from './Notification';
|
|
175
177
|
export * from './NotificationRequest';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
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
|
+
* * `no_binding` - No Binding
|
|
14
|
+
* * `bind_continent` - Bind Continent
|
|
15
|
+
* * `bind_continent_country` - Bind Continent Country
|
|
16
|
+
* * `bind_continent_country_city` - Bind Continent Country City
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare const GeoipBindingEnum: {
|
|
20
|
+
readonly NoBinding: "no_binding";
|
|
21
|
+
readonly BindContinent: "bind_continent";
|
|
22
|
+
readonly BindContinentCountry: "bind_continent_country";
|
|
23
|
+
readonly BindContinentCountryCity: "bind_continent_country_city";
|
|
24
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
25
|
+
};
|
|
26
|
+
export type GeoipBindingEnum = typeof GeoipBindingEnum[keyof typeof GeoipBindingEnum];
|
|
27
|
+
export declare function GeoipBindingEnumFromJSON(json: any): GeoipBindingEnum;
|
|
28
|
+
export declare function GeoipBindingEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeoipBindingEnum;
|
|
29
|
+
export declare function GeoipBindingEnumToJSON(value?: GeoipBindingEnum | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.GeoipBindingEnumToJSON = exports.GeoipBindingEnumFromJSONTyped = exports.GeoipBindingEnumFromJSON = exports.GeoipBindingEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* * `no_binding` - No Binding
|
|
19
|
+
* * `bind_continent` - Bind Continent
|
|
20
|
+
* * `bind_continent_country` - Bind Continent Country
|
|
21
|
+
* * `bind_continent_country_city` - Bind Continent Country City
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
exports.GeoipBindingEnum = {
|
|
25
|
+
NoBinding: 'no_binding',
|
|
26
|
+
BindContinent: 'bind_continent',
|
|
27
|
+
BindContinentCountry: 'bind_continent_country',
|
|
28
|
+
BindContinentCountryCity: 'bind_continent_country_city',
|
|
29
|
+
UnknownDefaultOpenApi: '11184809'
|
|
30
|
+
};
|
|
31
|
+
function GeoipBindingEnumFromJSON(json) {
|
|
32
|
+
return GeoipBindingEnumFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
exports.GeoipBindingEnumFromJSON = GeoipBindingEnumFromJSON;
|
|
35
|
+
function GeoipBindingEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
exports.GeoipBindingEnumFromJSONTyped = GeoipBindingEnumFromJSONTyped;
|
|
39
|
+
function GeoipBindingEnumToJSON(value) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
exports.GeoipBindingEnumToJSON = GeoipBindingEnumToJSON;
|