@goauthentik/api 2023.10.5-1703167718 → 2023.10.5-1703968412
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 +17 -0
- package/dist/apis/PropertymappingsApi.d.ts +85 -1
- package/dist/apis/PropertymappingsApi.js +240 -0
- package/dist/apis/ProvidersApi.d.ts +85 -1
- package/dist/apis/ProvidersApi.js +240 -0
- package/dist/apis/RacApi.d.ts +103 -0
- package/dist/apis/RacApi.js +276 -0
- package/dist/apis/RbacApi.d.ts +6 -0
- package/dist/apis/RbacApi.js +6 -0
- package/dist/apis/SchemaApi.d.ts +0 -1
- package/dist/apis/SchemaApi.js +0 -1
- package/dist/apis/StagesApi.d.ts +24 -0
- package/dist/apis/StagesApi.js +27 -1
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/PropertymappingsApi.d.ts +85 -1
- package/dist/esm/apis/PropertymappingsApi.js +241 -1
- package/dist/esm/apis/ProvidersApi.d.ts +85 -1
- package/dist/esm/apis/ProvidersApi.js +241 -1
- package/dist/esm/apis/RacApi.d.ts +103 -0
- package/dist/esm/apis/RacApi.js +272 -0
- package/dist/esm/apis/RbacApi.d.ts +6 -0
- package/dist/esm/apis/RbacApi.js +6 -0
- package/dist/esm/apis/SchemaApi.d.ts +0 -1
- package/dist/esm/apis/SchemaApi.js +0 -1
- package/dist/esm/apis/StagesApi.d.ts +24 -0
- package/dist/esm/apis/StagesApi.js +26 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AppEnum.d.ts +2 -0
- package/dist/esm/models/AppEnum.js +2 -0
- package/dist/esm/models/AuthModeEnum.d.ts +25 -0
- package/dist/esm/models/AuthModeEnum.js +32 -0
- package/dist/esm/models/Endpoint.d.ts +89 -0
- package/dist/esm/models/Endpoint.js +69 -0
- package/dist/esm/models/EndpointRequest.d.ts +69 -0
- package/dist/esm/models/EndpointRequest.js +62 -0
- package/dist/esm/models/GeoipBindingEnum.d.ts +29 -0
- package/dist/esm/models/GeoipBindingEnum.js +36 -0
- package/dist/esm/models/ModelEnum.d.ts +6 -0
- package/dist/esm/models/ModelEnum.js +6 -0
- package/dist/esm/models/ModelRequest.d.ts +3 -0
- package/dist/esm/models/ModelRequest.js +5 -0
- package/dist/esm/models/NetworkBindingEnum.d.ts +29 -0
- package/dist/esm/models/NetworkBindingEnum.js +36 -0
- package/dist/esm/models/OutpostTypeEnum.d.ts +2 -0
- package/dist/esm/models/OutpostTypeEnum.js +2 -0
- package/dist/esm/models/PaginatedEndpointList.d.ts +39 -0
- package/dist/esm/models/PaginatedEndpointList.js +48 -0
- package/dist/esm/models/PaginatedRACPropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedRACPropertyMappingList.js +48 -0
- package/dist/esm/models/PaginatedRACProviderList.d.ts +39 -0
- package/dist/esm/models/PaginatedRACProviderList.js +48 -0
- package/dist/esm/models/PatchedEndpointRequest.d.ts +69 -0
- package/dist/esm/models/PatchedEndpointRequest.js +57 -0
- package/dist/esm/models/PatchedRACPropertyMappingRequest.d.ts +51 -0
- package/dist/esm/models/PatchedRACPropertyMappingRequest.js +49 -0
- package/dist/esm/models/PatchedRACProviderRequest.d.ts +61 -0
- package/dist/esm/models/PatchedRACProviderRequest.js +53 -0
- package/dist/esm/models/PatchedUserLoginStageRequest.d.ts +14 -0
- package/dist/esm/models/PatchedUserLoginStageRequest.js +6 -0
- package/dist/esm/models/ProtocolEnum.d.ts +27 -0
- package/dist/esm/models/ProtocolEnum.js +34 -0
- package/dist/esm/models/ProviderModelEnum.d.ts +2 -0
- package/dist/esm/models/ProviderModelEnum.js +2 -0
- package/dist/esm/models/ProviderTypeEnum.d.ts +2 -2
- package/dist/esm/models/ProviderTypeEnum.js +2 -2
- package/dist/esm/models/RACPropertyMapping.d.ts +81 -0
- package/dist/esm/models/RACPropertyMapping.js +61 -0
- package/dist/esm/models/RACPropertyMappingRequest.d.ts +51 -0
- package/dist/esm/models/RACPropertyMappingRequest.js +51 -0
- package/dist/esm/models/RACProvider.d.ts +121 -0
- package/dist/esm/models/RACProvider.js +75 -0
- package/dist/esm/models/RACProviderRequest.d.ts +61 -0
- package/dist/esm/models/RACProviderRequest.js +55 -0
- 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 +16 -0
- package/dist/esm/models/index.js +16 -0
- package/dist/models/AppEnum.d.ts +2 -0
- package/dist/models/AppEnum.js +2 -0
- package/dist/models/AuthModeEnum.d.ts +25 -0
- package/dist/models/AuthModeEnum.js +38 -0
- package/dist/models/Endpoint.d.ts +89 -0
- package/dist/models/Endpoint.js +76 -0
- package/dist/models/EndpointRequest.d.ts +69 -0
- package/dist/models/EndpointRequest.js +69 -0
- package/dist/models/GeoipBindingEnum.d.ts +29 -0
- package/dist/models/GeoipBindingEnum.js +42 -0
- package/dist/models/ModelEnum.d.ts +6 -0
- package/dist/models/ModelEnum.js +6 -0
- package/dist/models/ModelRequest.d.ts +3 -0
- package/dist/models/ModelRequest.js +5 -0
- package/dist/models/NetworkBindingEnum.d.ts +29 -0
- package/dist/models/NetworkBindingEnum.js +42 -0
- package/dist/models/OutpostTypeEnum.d.ts +2 -0
- package/dist/models/OutpostTypeEnum.js +2 -0
- package/dist/models/PaginatedEndpointList.d.ts +39 -0
- package/dist/models/PaginatedEndpointList.js +55 -0
- package/dist/models/PaginatedRACPropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedRACPropertyMappingList.js +55 -0
- package/dist/models/PaginatedRACProviderList.d.ts +39 -0
- package/dist/models/PaginatedRACProviderList.js +55 -0
- package/dist/models/PatchedEndpointRequest.d.ts +69 -0
- package/dist/models/PatchedEndpointRequest.js +64 -0
- package/dist/models/PatchedRACPropertyMappingRequest.d.ts +51 -0
- package/dist/models/PatchedRACPropertyMappingRequest.js +56 -0
- package/dist/models/PatchedRACProviderRequest.d.ts +61 -0
- package/dist/models/PatchedRACProviderRequest.js +60 -0
- package/dist/models/PatchedUserLoginStageRequest.d.ts +14 -0
- package/dist/models/PatchedUserLoginStageRequest.js +6 -0
- package/dist/models/ProtocolEnum.d.ts +27 -0
- package/dist/models/ProtocolEnum.js +40 -0
- package/dist/models/ProviderModelEnum.d.ts +2 -0
- package/dist/models/ProviderModelEnum.js +2 -0
- package/dist/models/ProviderTypeEnum.d.ts +2 -2
- package/dist/models/ProviderTypeEnum.js +2 -2
- package/dist/models/RACPropertyMapping.d.ts +81 -0
- package/dist/models/RACPropertyMapping.js +68 -0
- package/dist/models/RACPropertyMappingRequest.d.ts +51 -0
- package/dist/models/RACPropertyMappingRequest.js +58 -0
- package/dist/models/RACProvider.d.ts +121 -0
- package/dist/models/RACProvider.js +82 -0
- package/dist/models/RACProviderRequest.d.ts +61 -0
- package/dist/models/RACProviderRequest.js +62 -0
- 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 +16 -0
- package/dist/models/index.js +16 -0
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +317 -0
- package/src/apis/ProvidersApi.ts +317 -0
- package/src/apis/RacApi.ts +358 -0
- package/src/apis/RbacApi.ts +6 -0
- package/src/apis/SchemaApi.ts +0 -1
- package/src/apis/StagesApi.ts +32 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AppEnum.ts +2 -0
- package/src/models/AuthModeEnum.ts +40 -0
- package/src/models/Endpoint.ts +162 -0
- package/src/models/EndpointRequest.ts +131 -0
- package/src/models/GeoipBindingEnum.ts +44 -0
- package/src/models/ModelEnum.ts +6 -0
- package/src/models/ModelRequest.ts +12 -1
- package/src/models/NetworkBindingEnum.ts +44 -0
- package/src/models/OutpostTypeEnum.ts +2 -0
- package/src/models/PaginatedEndpointList.ts +88 -0
- package/src/models/PaginatedRACPropertyMappingList.ts +88 -0
- package/src/models/PaginatedRACProviderList.ts +88 -0
- package/src/models/PatchedEndpointRequest.ts +126 -0
- package/src/models/PatchedRACPropertyMappingRequest.ts +89 -0
- package/src/models/PatchedRACProviderRequest.ts +105 -0
- package/src/models/PatchedUserLoginStageRequest.ts +28 -0
- package/src/models/ProtocolEnum.ts +42 -0
- package/src/models/ProviderModelEnum.ts +2 -0
- package/src/models/ProviderTypeEnum.ts +2 -2
- package/src/models/RACPropertyMapping.ts +131 -0
- package/src/models/RACPropertyMappingRequest.ts +91 -0
- package/src/models/RACProvider.ts +187 -0
- package/src/models/RACProviderRequest.ts +107 -0
- package/src/models/UserLoginStage.ts +28 -0
- package/src/models/UserLoginStageRequest.ts +28 -0
- package/src/models/index.ts +16 -0
|
@@ -0,0 +1,187 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* RACProvider Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RACProvider
|
|
20
|
+
*/
|
|
21
|
+
export interface RACProvider {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof RACProvider
|
|
26
|
+
*/
|
|
27
|
+
readonly pk: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof RACProvider
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* Flow used for authentication when the associated application is accessed by an un-authenticated user.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof RACProvider
|
|
38
|
+
*/
|
|
39
|
+
authenticationFlow?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* Flow used when authorizing this provider.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof RACProvider
|
|
44
|
+
*/
|
|
45
|
+
authorizationFlow: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Array<string>}
|
|
49
|
+
* @memberof RACProvider
|
|
50
|
+
*/
|
|
51
|
+
propertyMappings?: Array<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Get object component so that we know how to edit the object
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof RACProvider
|
|
56
|
+
*/
|
|
57
|
+
readonly component: string;
|
|
58
|
+
/**
|
|
59
|
+
* Internal application name, used in URLs.
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof RACProvider
|
|
62
|
+
*/
|
|
63
|
+
readonly assignedApplicationSlug: string;
|
|
64
|
+
/**
|
|
65
|
+
* Application's display Name.
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof RACProvider
|
|
68
|
+
*/
|
|
69
|
+
readonly assignedApplicationName: string;
|
|
70
|
+
/**
|
|
71
|
+
* Internal application name, used in URLs.
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof RACProvider
|
|
74
|
+
*/
|
|
75
|
+
readonly assignedBackchannelApplicationSlug: string;
|
|
76
|
+
/**
|
|
77
|
+
* Application's display Name.
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof RACProvider
|
|
80
|
+
*/
|
|
81
|
+
readonly assignedBackchannelApplicationName: string;
|
|
82
|
+
/**
|
|
83
|
+
* Return object's verbose_name
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof RACProvider
|
|
86
|
+
*/
|
|
87
|
+
readonly verboseName: string;
|
|
88
|
+
/**
|
|
89
|
+
* Return object's plural verbose_name
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof RACProvider
|
|
92
|
+
*/
|
|
93
|
+
readonly verboseNamePlural: string;
|
|
94
|
+
/**
|
|
95
|
+
* Return internal model name
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof RACProvider
|
|
98
|
+
*/
|
|
99
|
+
readonly metaModelName: string;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {any}
|
|
103
|
+
* @memberof RACProvider
|
|
104
|
+
*/
|
|
105
|
+
settings?: any | null;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {Array<string>}
|
|
109
|
+
* @memberof RACProvider
|
|
110
|
+
*/
|
|
111
|
+
readonly outpostSet: Array<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof RACProvider
|
|
116
|
+
*/
|
|
117
|
+
connectionExpiry?: string;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Check if a given object implements the RACProvider interface.
|
|
122
|
+
*/
|
|
123
|
+
export function instanceOfRACProvider(value: object): boolean {
|
|
124
|
+
let isInstance = true;
|
|
125
|
+
isInstance = isInstance && "pk" in value;
|
|
126
|
+
isInstance = isInstance && "name" in value;
|
|
127
|
+
isInstance = isInstance && "authorizationFlow" in value;
|
|
128
|
+
isInstance = isInstance && "component" in value;
|
|
129
|
+
isInstance = isInstance && "assignedApplicationSlug" in value;
|
|
130
|
+
isInstance = isInstance && "assignedApplicationName" in value;
|
|
131
|
+
isInstance = isInstance && "assignedBackchannelApplicationSlug" in value;
|
|
132
|
+
isInstance = isInstance && "assignedBackchannelApplicationName" in value;
|
|
133
|
+
isInstance = isInstance && "verboseName" in value;
|
|
134
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
|
135
|
+
isInstance = isInstance && "metaModelName" in value;
|
|
136
|
+
isInstance = isInstance && "outpostSet" in value;
|
|
137
|
+
|
|
138
|
+
return isInstance;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export function RACProviderFromJSON(json: any): RACProvider {
|
|
142
|
+
return RACProviderFromJSONTyped(json, false);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export function RACProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACProvider {
|
|
146
|
+
if ((json === undefined) || (json === null)) {
|
|
147
|
+
return json;
|
|
148
|
+
}
|
|
149
|
+
return {
|
|
150
|
+
|
|
151
|
+
'pk': json['pk'],
|
|
152
|
+
'name': json['name'],
|
|
153
|
+
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
154
|
+
'authorizationFlow': json['authorization_flow'],
|
|
155
|
+
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
|
156
|
+
'component': json['component'],
|
|
157
|
+
'assignedApplicationSlug': json['assigned_application_slug'],
|
|
158
|
+
'assignedApplicationName': json['assigned_application_name'],
|
|
159
|
+
'assignedBackchannelApplicationSlug': json['assigned_backchannel_application_slug'],
|
|
160
|
+
'assignedBackchannelApplicationName': json['assigned_backchannel_application_name'],
|
|
161
|
+
'verboseName': json['verbose_name'],
|
|
162
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
|
163
|
+
'metaModelName': json['meta_model_name'],
|
|
164
|
+
'settings': !exists(json, 'settings') ? undefined : json['settings'],
|
|
165
|
+
'outpostSet': json['outpost_set'],
|
|
166
|
+
'connectionExpiry': !exists(json, 'connection_expiry') ? undefined : json['connection_expiry'],
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export function RACProviderToJSON(value?: RACProvider | null): any {
|
|
171
|
+
if (value === undefined) {
|
|
172
|
+
return undefined;
|
|
173
|
+
}
|
|
174
|
+
if (value === null) {
|
|
175
|
+
return null;
|
|
176
|
+
}
|
|
177
|
+
return {
|
|
178
|
+
|
|
179
|
+
'name': value.name,
|
|
180
|
+
'authentication_flow': value.authenticationFlow,
|
|
181
|
+
'authorization_flow': value.authorizationFlow,
|
|
182
|
+
'property_mappings': value.propertyMappings,
|
|
183
|
+
'settings': value.settings,
|
|
184
|
+
'connection_expiry': value.connectionExpiry,
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
|
|
@@ -0,0 +1,107 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* RACProvider Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RACProviderRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface RACProviderRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof RACProviderRequest
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* Flow used for authentication when the associated application is accessed by an un-authenticated user.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof RACProviderRequest
|
|
32
|
+
*/
|
|
33
|
+
authenticationFlow?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Flow used when authorizing this provider.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof RACProviderRequest
|
|
38
|
+
*/
|
|
39
|
+
authorizationFlow: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<string>}
|
|
43
|
+
* @memberof RACProviderRequest
|
|
44
|
+
*/
|
|
45
|
+
propertyMappings?: Array<string>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {any}
|
|
49
|
+
* @memberof RACProviderRequest
|
|
50
|
+
*/
|
|
51
|
+
settings?: any | null;
|
|
52
|
+
/**
|
|
53
|
+
* Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof RACProviderRequest
|
|
56
|
+
*/
|
|
57
|
+
connectionExpiry?: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the RACProviderRequest interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfRACProviderRequest(value: object): boolean {
|
|
64
|
+
let isInstance = true;
|
|
65
|
+
isInstance = isInstance && "name" in value;
|
|
66
|
+
isInstance = isInstance && "authorizationFlow" in value;
|
|
67
|
+
|
|
68
|
+
return isInstance;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function RACProviderRequestFromJSON(json: any): RACProviderRequest {
|
|
72
|
+
return RACProviderRequestFromJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function RACProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACProviderRequest {
|
|
76
|
+
if ((json === undefined) || (json === null)) {
|
|
77
|
+
return json;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'name': json['name'],
|
|
82
|
+
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
83
|
+
'authorizationFlow': json['authorization_flow'],
|
|
84
|
+
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
|
85
|
+
'settings': !exists(json, 'settings') ? undefined : json['settings'],
|
|
86
|
+
'connectionExpiry': !exists(json, 'connection_expiry') ? undefined : json['connection_expiry'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function RACProviderRequestToJSON(value?: RACProviderRequest | null): any {
|
|
91
|
+
if (value === undefined) {
|
|
92
|
+
return undefined;
|
|
93
|
+
}
|
|
94
|
+
if (value === null) {
|
|
95
|
+
return null;
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
|
|
99
|
+
'name': value.name,
|
|
100
|
+
'authentication_flow': value.authenticationFlow,
|
|
101
|
+
'authorization_flow': value.authorizationFlow,
|
|
102
|
+
'property_mappings': value.propertyMappings,
|
|
103
|
+
'settings': value.settings,
|
|
104
|
+
'connection_expiry': value.connectionExpiry,
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
@@ -19,6 +19,18 @@ import {
|
|
|
19
19
|
FlowSetFromJSONTyped,
|
|
20
20
|
FlowSetToJSON,
|
|
21
21
|
} from './FlowSet';
|
|
22
|
+
import type { GeoipBindingEnum } from './GeoipBindingEnum';
|
|
23
|
+
import {
|
|
24
|
+
GeoipBindingEnumFromJSON,
|
|
25
|
+
GeoipBindingEnumFromJSONTyped,
|
|
26
|
+
GeoipBindingEnumToJSON,
|
|
27
|
+
} from './GeoipBindingEnum';
|
|
28
|
+
import type { NetworkBindingEnum } from './NetworkBindingEnum';
|
|
29
|
+
import {
|
|
30
|
+
NetworkBindingEnumFromJSON,
|
|
31
|
+
NetworkBindingEnumFromJSONTyped,
|
|
32
|
+
NetworkBindingEnumToJSON,
|
|
33
|
+
} from './NetworkBindingEnum';
|
|
22
34
|
|
|
23
35
|
/**
|
|
24
36
|
* UserLoginStage Serializer
|
|
@@ -86,6 +98,18 @@ export interface UserLoginStage {
|
|
|
86
98
|
* @memberof UserLoginStage
|
|
87
99
|
*/
|
|
88
100
|
rememberMeOffset?: string;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {NetworkBindingEnum}
|
|
104
|
+
* @memberof UserLoginStage
|
|
105
|
+
*/
|
|
106
|
+
networkBinding?: NetworkBindingEnum;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {GeoipBindingEnum}
|
|
110
|
+
* @memberof UserLoginStage
|
|
111
|
+
*/
|
|
112
|
+
geoipBinding?: GeoipBindingEnum;
|
|
89
113
|
}
|
|
90
114
|
|
|
91
115
|
/**
|
|
@@ -123,6 +147,8 @@ export function UserLoginStageFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
123
147
|
'sessionDuration': !exists(json, 'session_duration') ? undefined : json['session_duration'],
|
|
124
148
|
'terminateOtherSessions': !exists(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
|
|
125
149
|
'rememberMeOffset': !exists(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
|
|
150
|
+
'networkBinding': !exists(json, 'network_binding') ? undefined : NetworkBindingEnumFromJSON(json['network_binding']),
|
|
151
|
+
'geoipBinding': !exists(json, 'geoip_binding') ? undefined : GeoipBindingEnumFromJSON(json['geoip_binding']),
|
|
126
152
|
};
|
|
127
153
|
}
|
|
128
154
|
|
|
@@ -140,6 +166,8 @@ export function UserLoginStageToJSON(value?: UserLoginStage | null): any {
|
|
|
140
166
|
'session_duration': value.sessionDuration,
|
|
141
167
|
'terminate_other_sessions': value.terminateOtherSessions,
|
|
142
168
|
'remember_me_offset': value.rememberMeOffset,
|
|
169
|
+
'network_binding': NetworkBindingEnumToJSON(value.networkBinding),
|
|
170
|
+
'geoip_binding': GeoipBindingEnumToJSON(value.geoipBinding),
|
|
143
171
|
};
|
|
144
172
|
}
|
|
145
173
|
|
|
@@ -19,6 +19,18 @@ import {
|
|
|
19
19
|
FlowSetRequestFromJSONTyped,
|
|
20
20
|
FlowSetRequestToJSON,
|
|
21
21
|
} from './FlowSetRequest';
|
|
22
|
+
import type { GeoipBindingEnum } from './GeoipBindingEnum';
|
|
23
|
+
import {
|
|
24
|
+
GeoipBindingEnumFromJSON,
|
|
25
|
+
GeoipBindingEnumFromJSONTyped,
|
|
26
|
+
GeoipBindingEnumToJSON,
|
|
27
|
+
} from './GeoipBindingEnum';
|
|
28
|
+
import type { NetworkBindingEnum } from './NetworkBindingEnum';
|
|
29
|
+
import {
|
|
30
|
+
NetworkBindingEnumFromJSON,
|
|
31
|
+
NetworkBindingEnumFromJSONTyped,
|
|
32
|
+
NetworkBindingEnumToJSON,
|
|
33
|
+
} from './NetworkBindingEnum';
|
|
22
34
|
|
|
23
35
|
/**
|
|
24
36
|
* UserLoginStage Serializer
|
|
@@ -56,6 +68,18 @@ export interface UserLoginStageRequest {
|
|
|
56
68
|
* @memberof UserLoginStageRequest
|
|
57
69
|
*/
|
|
58
70
|
rememberMeOffset?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {NetworkBindingEnum}
|
|
74
|
+
* @memberof UserLoginStageRequest
|
|
75
|
+
*/
|
|
76
|
+
networkBinding?: NetworkBindingEnum;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {GeoipBindingEnum}
|
|
80
|
+
* @memberof UserLoginStageRequest
|
|
81
|
+
*/
|
|
82
|
+
geoipBinding?: GeoipBindingEnum;
|
|
59
83
|
}
|
|
60
84
|
|
|
61
85
|
/**
|
|
@@ -83,6 +107,8 @@ export function UserLoginStageRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
83
107
|
'sessionDuration': !exists(json, 'session_duration') ? undefined : json['session_duration'],
|
|
84
108
|
'terminateOtherSessions': !exists(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
|
|
85
109
|
'rememberMeOffset': !exists(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
|
|
110
|
+
'networkBinding': !exists(json, 'network_binding') ? undefined : NetworkBindingEnumFromJSON(json['network_binding']),
|
|
111
|
+
'geoipBinding': !exists(json, 'geoip_binding') ? undefined : GeoipBindingEnumFromJSON(json['geoip_binding']),
|
|
86
112
|
};
|
|
87
113
|
}
|
|
88
114
|
|
|
@@ -100,6 +126,8 @@ export function UserLoginStageRequestToJSON(value?: UserLoginStageRequest | null
|
|
|
100
126
|
'session_duration': value.sessionDuration,
|
|
101
127
|
'terminate_other_sessions': value.terminateOtherSessions,
|
|
102
128
|
'remember_me_offset': value.rememberMeOffset,
|
|
129
|
+
'network_binding': NetworkBindingEnumToJSON(value.networkBinding),
|
|
130
|
+
'geoip_binding': GeoipBindingEnumToJSON(value.geoipBinding),
|
|
103
131
|
};
|
|
104
132
|
}
|
|
105
133
|
|
package/src/models/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './AppleChallengeResponseRequest';
|
|
|
7
7
|
export * from './AppleLoginChallenge';
|
|
8
8
|
export * from './Application';
|
|
9
9
|
export * from './ApplicationRequest';
|
|
10
|
+
export * from './AuthModeEnum';
|
|
10
11
|
export * from './AuthTypeEnum';
|
|
11
12
|
export * from './AuthenticateWebAuthnStage';
|
|
12
13
|
export * from './AuthenticateWebAuthnStageRequest';
|
|
@@ -100,6 +101,8 @@ export * from './EmailChallenge';
|
|
|
100
101
|
export * from './EmailChallengeResponseRequest';
|
|
101
102
|
export * from './EmailStage';
|
|
102
103
|
export * from './EmailStageRequest';
|
|
104
|
+
export * from './Endpoint';
|
|
105
|
+
export * from './EndpointRequest';
|
|
103
106
|
export * from './ErrorDetail';
|
|
104
107
|
export * from './ErrorReportingConfig';
|
|
105
108
|
export * from './Event';
|
|
@@ -130,6 +133,7 @@ export * from './FlowStageBinding';
|
|
|
130
133
|
export * from './FlowStageBindingRequest';
|
|
131
134
|
export * from './FooterLink';
|
|
132
135
|
export * from './GenericError';
|
|
136
|
+
export * from './GeoipBindingEnum';
|
|
133
137
|
export * from './Group';
|
|
134
138
|
export * from './GroupMember';
|
|
135
139
|
export * from './GroupMemberRequest';
|
|
@@ -170,6 +174,7 @@ export * from './Metadata';
|
|
|
170
174
|
export * from './ModelEnum';
|
|
171
175
|
export * from './ModelRequest';
|
|
172
176
|
export * from './NameIdPolicyEnum';
|
|
177
|
+
export * from './NetworkBindingEnum';
|
|
173
178
|
export * from './NotConfiguredActionEnum';
|
|
174
179
|
export * from './Notification';
|
|
175
180
|
export * from './NotificationRequest';
|
|
@@ -214,6 +219,7 @@ export * from './PaginatedDummyPolicyList';
|
|
|
214
219
|
export * from './PaginatedDummyStageList';
|
|
215
220
|
export * from './PaginatedDuoDeviceList';
|
|
216
221
|
export * from './PaginatedEmailStageList';
|
|
222
|
+
export * from './PaginatedEndpointList';
|
|
217
223
|
export * from './PaginatedEventList';
|
|
218
224
|
export * from './PaginatedEventMatcherPolicyList';
|
|
219
225
|
export * from './PaginatedExpiringBaseGrantModelList';
|
|
@@ -253,6 +259,8 @@ export * from './PaginatedPropertyMappingList';
|
|
|
253
259
|
export * from './PaginatedProviderList';
|
|
254
260
|
export * from './PaginatedProxyOutpostConfigList';
|
|
255
261
|
export * from './PaginatedProxyProviderList';
|
|
262
|
+
export * from './PaginatedRACPropertyMappingList';
|
|
263
|
+
export * from './PaginatedRACProviderList';
|
|
256
264
|
export * from './PaginatedRadiusOutpostConfigList';
|
|
257
265
|
export * from './PaginatedRadiusProviderList';
|
|
258
266
|
export * from './PaginatedReputationList';
|
|
@@ -311,6 +319,7 @@ export * from './PatchedDummyPolicyRequest';
|
|
|
311
319
|
export * from './PatchedDummyStageRequest';
|
|
312
320
|
export * from './PatchedDuoDeviceRequest';
|
|
313
321
|
export * from './PatchedEmailStageRequest';
|
|
322
|
+
export * from './PatchedEndpointRequest';
|
|
314
323
|
export * from './PatchedEventMatcherPolicyRequest';
|
|
315
324
|
export * from './PatchedEventRequest';
|
|
316
325
|
export * from './PatchedExpressionPolicyRequest';
|
|
@@ -342,6 +351,8 @@ export * from './PatchedPolicyBindingRequest';
|
|
|
342
351
|
export * from './PatchedPromptRequest';
|
|
343
352
|
export * from './PatchedPromptStageRequest';
|
|
344
353
|
export * from './PatchedProxyProviderRequest';
|
|
354
|
+
export * from './PatchedRACPropertyMappingRequest';
|
|
355
|
+
export * from './PatchedRACProviderRequest';
|
|
345
356
|
export * from './PatchedRadiusProviderRequest';
|
|
346
357
|
export * from './PatchedReputationPolicyRequest';
|
|
347
358
|
export * from './PatchedRoleRequest';
|
|
@@ -390,6 +401,7 @@ export * from './PromptTypeEnum';
|
|
|
390
401
|
export * from './PropertyMapping';
|
|
391
402
|
export * from './PropertyMappingPreview';
|
|
392
403
|
export * from './PropertyMappingTestResult';
|
|
404
|
+
export * from './ProtocolEnum';
|
|
393
405
|
export * from './Provider';
|
|
394
406
|
export * from './ProviderEnum';
|
|
395
407
|
export * from './ProviderModelEnum';
|
|
@@ -399,6 +411,10 @@ export * from './ProxyMode';
|
|
|
399
411
|
export * from './ProxyOutpostConfig';
|
|
400
412
|
export * from './ProxyProvider';
|
|
401
413
|
export * from './ProxyProviderRequest';
|
|
414
|
+
export * from './RACPropertyMapping';
|
|
415
|
+
export * from './RACPropertyMappingRequest';
|
|
416
|
+
export * from './RACProvider';
|
|
417
|
+
export * from './RACProviderRequest';
|
|
402
418
|
export * from './RadiusOutpostConfig';
|
|
403
419
|
export * from './RadiusProvider';
|
|
404
420
|
export * from './RadiusProviderRequest';
|