@goauthentik/api 2024.2.2-1712833564 → 2024.2.2-1712922569
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/apis/AdminApi.js +60 -20
- package/dist/apis/AuthenticatorsApi.js +372 -124
- package/dist/apis/CoreApi.js +372 -124
- package/dist/apis/CryptoApi.js +60 -20
- package/dist/apis/EnterpriseApi.js +60 -20
- package/dist/apis/EventsApi.js +210 -70
- package/dist/apis/FlowsApi.js +150 -50
- package/dist/apis/ManagedApi.js +54 -18
- package/dist/apis/Oauth2Api.js +72 -24
- package/dist/apis/OutpostsApi.js +210 -70
- package/dist/apis/PoliciesApi.js +366 -122
- package/dist/apis/PropertymappingsApi.js +288 -96
- package/dist/apis/ProvidersApi.js +360 -120
- package/dist/apis/RacApi.js +78 -26
- package/dist/apis/RbacApi.js +102 -34
- package/dist/apis/RootApi.js +6 -2
- package/dist/apis/SchemaApi.js +6 -2
- package/dist/apis/SourcesApi.js +414 -138
- package/dist/apis/StagesApi.js +1002 -334
- package/dist/esm/apis/AdminApi.js +60 -20
- package/dist/esm/apis/AuthenticatorsApi.js +372 -124
- package/dist/esm/apis/CoreApi.js +372 -124
- package/dist/esm/apis/CryptoApi.js +60 -20
- package/dist/esm/apis/EnterpriseApi.js +60 -20
- package/dist/esm/apis/EventsApi.js +210 -70
- package/dist/esm/apis/FlowsApi.js +150 -50
- package/dist/esm/apis/ManagedApi.js +54 -18
- package/dist/esm/apis/Oauth2Api.js +72 -24
- package/dist/esm/apis/OutpostsApi.js +210 -70
- package/dist/esm/apis/PoliciesApi.js +366 -122
- package/dist/esm/apis/PropertymappingsApi.js +288 -96
- package/dist/esm/apis/ProvidersApi.js +360 -120
- package/dist/esm/apis/RacApi.js +78 -26
- package/dist/esm/apis/RbacApi.js +102 -34
- package/dist/esm/apis/RootApi.js +6 -2
- package/dist/esm/apis/SchemaApi.js +6 -2
- package/dist/esm/apis/SourcesApi.js +414 -138
- package/dist/esm/apis/StagesApi.js +1002 -334
- package/dist/esm/models/AuthenticatorValidateStage.d.ts +13 -0
- package/dist/esm/models/AuthenticatorValidateStage.js +5 -0
- package/dist/esm/models/AuthenticatorValidateStageRequest.d.ts +6 -0
- package/dist/esm/models/AuthenticatorValidateStageRequest.js +2 -0
- package/dist/esm/models/PatchedAuthenticatorValidateStageRequest.d.ts +6 -0
- package/dist/esm/models/PatchedAuthenticatorValidateStageRequest.js +2 -0
- package/dist/models/AuthenticatorValidateStage.d.ts +13 -0
- package/dist/models/AuthenticatorValidateStage.js +5 -0
- package/dist/models/AuthenticatorValidateStageRequest.d.ts +6 -0
- package/dist/models/AuthenticatorValidateStageRequest.js +2 -0
- package/dist/models/PatchedAuthenticatorValidateStageRequest.d.ts +6 -0
- package/dist/models/PatchedAuthenticatorValidateStageRequest.js +2 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +70 -30
- package/src/apis/AuthenticatorsApi.ts +434 -186
- package/src/apis/CoreApi.ts +434 -186
- package/src/apis/CryptoApi.ts +70 -30
- package/src/apis/EnterpriseApi.ts +70 -30
- package/src/apis/EventsApi.ts +245 -105
- package/src/apis/FlowsApi.ts +175 -75
- package/src/apis/ManagedApi.ts +63 -27
- package/src/apis/Oauth2Api.ts +84 -36
- package/src/apis/OutpostsApi.ts +245 -105
- package/src/apis/PoliciesApi.ts +427 -183
- package/src/apis/PropertymappingsApi.ts +336 -144
- package/src/apis/ProvidersApi.ts +420 -180
- package/src/apis/RacApi.ts +91 -39
- package/src/apis/RbacApi.ts +119 -51
- package/src/apis/RootApi.ts +7 -3
- package/src/apis/SchemaApi.ts +7 -3
- package/src/apis/SourcesApi.ts +483 -207
- package/src/apis/StagesApi.ts +1169 -501
- package/src/models/AuthenticatorValidateStage.ts +22 -0
- package/src/models/AuthenticatorValidateStageRequest.ts +8 -0
- package/src/models/PatchedAuthenticatorValidateStageRequest.ts +8 -0
@@ -37,6 +37,12 @@ import {
|
|
37
37
|
UserVerificationEnumFromJSONTyped,
|
38
38
|
UserVerificationEnumToJSON,
|
39
39
|
} from './UserVerificationEnum';
|
40
|
+
import type { WebAuthnDeviceType } from './WebAuthnDeviceType';
|
41
|
+
import {
|
42
|
+
WebAuthnDeviceTypeFromJSON,
|
43
|
+
WebAuthnDeviceTypeFromJSONTyped,
|
44
|
+
WebAuthnDeviceTypeToJSON,
|
45
|
+
} from './WebAuthnDeviceType';
|
40
46
|
|
41
47
|
/**
|
42
48
|
* AuthenticatorValidateStage Serializer
|
@@ -116,6 +122,18 @@ export interface AuthenticatorValidateStage {
|
|
116
122
|
* @memberof AuthenticatorValidateStage
|
117
123
|
*/
|
118
124
|
webauthnUserVerification?: UserVerificationEnum;
|
125
|
+
/**
|
126
|
+
*
|
127
|
+
* @type {Array<string>}
|
128
|
+
* @memberof AuthenticatorValidateStage
|
129
|
+
*/
|
130
|
+
webauthnAllowedDeviceTypes?: Array<string>;
|
131
|
+
/**
|
132
|
+
*
|
133
|
+
* @type {Array<WebAuthnDeviceType>}
|
134
|
+
* @memberof AuthenticatorValidateStage
|
135
|
+
*/
|
136
|
+
readonly webauthnAllowedDeviceTypesObj: Array<WebAuthnDeviceType>;
|
119
137
|
}
|
120
138
|
|
121
139
|
/**
|
@@ -129,6 +147,7 @@ export function instanceOfAuthenticatorValidateStage(value: object): boolean {
|
|
129
147
|
isInstance = isInstance && "verboseName" in value;
|
130
148
|
isInstance = isInstance && "verboseNamePlural" in value;
|
131
149
|
isInstance = isInstance && "metaModelName" in value;
|
150
|
+
isInstance = isInstance && "webauthnAllowedDeviceTypesObj" in value;
|
132
151
|
|
133
152
|
return isInstance;
|
134
153
|
}
|
@@ -155,6 +174,8 @@ export function AuthenticatorValidateStageFromJSONTyped(json: any, ignoreDiscrim
|
|
155
174
|
'configurationStages': !exists(json, 'configuration_stages') ? undefined : json['configuration_stages'],
|
156
175
|
'lastAuthThreshold': !exists(json, 'last_auth_threshold') ? undefined : json['last_auth_threshold'],
|
157
176
|
'webauthnUserVerification': !exists(json, 'webauthn_user_verification') ? undefined : UserVerificationEnumFromJSON(json['webauthn_user_verification']),
|
177
|
+
'webauthnAllowedDeviceTypes': !exists(json, 'webauthn_allowed_device_types') ? undefined : json['webauthn_allowed_device_types'],
|
178
|
+
'webauthnAllowedDeviceTypesObj': ((json['webauthn_allowed_device_types_obj'] as Array<any>).map(WebAuthnDeviceTypeFromJSON)),
|
158
179
|
};
|
159
180
|
}
|
160
181
|
|
@@ -174,6 +195,7 @@ export function AuthenticatorValidateStageToJSON(value?: AuthenticatorValidateSt
|
|
174
195
|
'configuration_stages': value.configurationStages,
|
175
196
|
'last_auth_threshold': value.lastAuthThreshold,
|
176
197
|
'webauthn_user_verification': UserVerificationEnumToJSON(value.webauthnUserVerification),
|
198
|
+
'webauthn_allowed_device_types': value.webauthnAllowedDeviceTypes,
|
177
199
|
};
|
178
200
|
}
|
179
201
|
|
@@ -86,6 +86,12 @@ export interface AuthenticatorValidateStageRequest {
|
|
86
86
|
* @memberof AuthenticatorValidateStageRequest
|
87
87
|
*/
|
88
88
|
webauthnUserVerification?: UserVerificationEnum;
|
89
|
+
/**
|
90
|
+
*
|
91
|
+
* @type {Array<string>}
|
92
|
+
* @memberof AuthenticatorValidateStageRequest
|
93
|
+
*/
|
94
|
+
webauthnAllowedDeviceTypes?: Array<string>;
|
89
95
|
}
|
90
96
|
|
91
97
|
/**
|
@@ -115,6 +121,7 @@ export function AuthenticatorValidateStageRequestFromJSONTyped(json: any, ignore
|
|
115
121
|
'configurationStages': !exists(json, 'configuration_stages') ? undefined : json['configuration_stages'],
|
116
122
|
'lastAuthThreshold': !exists(json, 'last_auth_threshold') ? undefined : json['last_auth_threshold'],
|
117
123
|
'webauthnUserVerification': !exists(json, 'webauthn_user_verification') ? undefined : UserVerificationEnumFromJSON(json['webauthn_user_verification']),
|
124
|
+
'webauthnAllowedDeviceTypes': !exists(json, 'webauthn_allowed_device_types') ? undefined : json['webauthn_allowed_device_types'],
|
118
125
|
};
|
119
126
|
}
|
120
127
|
|
@@ -134,6 +141,7 @@ export function AuthenticatorValidateStageRequestToJSON(value?: AuthenticatorVal
|
|
134
141
|
'configuration_stages': value.configurationStages,
|
135
142
|
'last_auth_threshold': value.lastAuthThreshold,
|
136
143
|
'webauthn_user_verification': UserVerificationEnumToJSON(value.webauthnUserVerification),
|
144
|
+
'webauthn_allowed_device_types': value.webauthnAllowedDeviceTypes,
|
137
145
|
};
|
138
146
|
}
|
139
147
|
|
@@ -86,6 +86,12 @@ export interface PatchedAuthenticatorValidateStageRequest {
|
|
86
86
|
* @memberof PatchedAuthenticatorValidateStageRequest
|
87
87
|
*/
|
88
88
|
webauthnUserVerification?: UserVerificationEnum;
|
89
|
+
/**
|
90
|
+
*
|
91
|
+
* @type {Array<string>}
|
92
|
+
* @memberof PatchedAuthenticatorValidateStageRequest
|
93
|
+
*/
|
94
|
+
webauthnAllowedDeviceTypes?: Array<string>;
|
89
95
|
}
|
90
96
|
|
91
97
|
/**
|
@@ -114,6 +120,7 @@ export function PatchedAuthenticatorValidateStageRequestFromJSONTyped(json: any,
|
|
114
120
|
'configurationStages': !exists(json, 'configuration_stages') ? undefined : json['configuration_stages'],
|
115
121
|
'lastAuthThreshold': !exists(json, 'last_auth_threshold') ? undefined : json['last_auth_threshold'],
|
116
122
|
'webauthnUserVerification': !exists(json, 'webauthn_user_verification') ? undefined : UserVerificationEnumFromJSON(json['webauthn_user_verification']),
|
123
|
+
'webauthnAllowedDeviceTypes': !exists(json, 'webauthn_allowed_device_types') ? undefined : json['webauthn_allowed_device_types'],
|
117
124
|
};
|
118
125
|
}
|
119
126
|
|
@@ -133,6 +140,7 @@ export function PatchedAuthenticatorValidateStageRequestToJSON(value?: PatchedAu
|
|
133
140
|
'configuration_stages': value.configurationStages,
|
134
141
|
'last_auth_threshold': value.lastAuthThreshold,
|
135
142
|
'webauthn_user_verification': UserVerificationEnumToJSON(value.webauthnUserVerification),
|
143
|
+
'webauthn_allowed_device_types': value.webauthnAllowedDeviceTypes,
|
136
144
|
};
|
137
145
|
}
|
138
146
|
|