@goauthentik/api 2023.6.1-1691242648 → 2023.6.1-1692308915
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/dist/apis/CoreApi.d.ts +1 -1
- package/dist/apis/CoreApi.js +1 -1
- package/dist/apis/StagesApi.d.ts +1 -0
- package/dist/apis/StagesApi.js +3 -0
- package/dist/esm/apis/CoreApi.d.ts +1 -1
- package/dist/esm/apis/CoreApi.js +1 -1
- package/dist/esm/apis/StagesApi.d.ts +1 -0
- package/dist/esm/apis/StagesApi.js +3 -0
- package/dist/esm/models/AuthenticatorStaticStage.d.ts +6 -0
- package/dist/esm/models/AuthenticatorStaticStage.js +2 -0
- package/dist/esm/models/AuthenticatorStaticStageRequest.d.ts +6 -0
- package/dist/esm/models/AuthenticatorStaticStageRequest.js +2 -0
- package/dist/esm/models/PatchedAuthenticatorStaticStageRequest.d.ts +6 -0
- package/dist/esm/models/PatchedAuthenticatorStaticStageRequest.js +2 -0
- package/dist/models/AuthenticatorStaticStage.d.ts +6 -0
- package/dist/models/AuthenticatorStaticStage.js +2 -0
- package/dist/models/AuthenticatorStaticStageRequest.d.ts +6 -0
- package/dist/models/AuthenticatorStaticStageRequest.js +2 -0
- package/dist/models/PatchedAuthenticatorStaticStageRequest.d.ts +6 -0
- package/dist/models/PatchedAuthenticatorStaticStageRequest.js +2 -0
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +2 -2
- package/src/apis/StagesApi.ts +5 -0
- package/src/models/AuthenticatorStaticStage.ts +8 -0
- package/src/models/AuthenticatorStaticStageRequest.ts +8 -0
- package/src/models/PatchedAuthenticatorStaticStageRequest.ts +8 -0
package/dist/apis/CoreApi.d.ts
CHANGED
package/dist/apis/CoreApi.js
CHANGED
|
@@ -1824,7 +1824,7 @@ class CoreApi extends runtime.BaseAPI {
|
|
|
1824
1824
|
if (requestParameters.search !== undefined) {
|
|
1825
1825
|
queryParameters['search'] = requestParameters.search;
|
|
1826
1826
|
}
|
|
1827
|
-
if (requestParameters.type
|
|
1827
|
+
if (requestParameters.type) {
|
|
1828
1828
|
queryParameters['type'] = requestParameters.type;
|
|
1829
1829
|
}
|
|
1830
1830
|
if (requestParameters.username !== undefined) {
|
package/dist/apis/StagesApi.d.ts
CHANGED
package/dist/apis/StagesApi.js
CHANGED
|
@@ -929,6 +929,9 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
929
929
|
if (requestParameters.tokenCount !== undefined) {
|
|
930
930
|
queryParameters['token_count'] = requestParameters.tokenCount;
|
|
931
931
|
}
|
|
932
|
+
if (requestParameters.tokenLength !== undefined) {
|
|
933
|
+
queryParameters['token_length'] = requestParameters.tokenLength;
|
|
934
|
+
}
|
|
932
935
|
const headerParameters = {};
|
|
933
936
|
if (this.configuration && this.configuration.apiKey) {
|
|
934
937
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
package/dist/esm/apis/CoreApi.js
CHANGED
|
@@ -1821,7 +1821,7 @@ export class CoreApi extends runtime.BaseAPI {
|
|
|
1821
1821
|
if (requestParameters.search !== undefined) {
|
|
1822
1822
|
queryParameters['search'] = requestParameters.search;
|
|
1823
1823
|
}
|
|
1824
|
-
if (requestParameters.type
|
|
1824
|
+
if (requestParameters.type) {
|
|
1825
1825
|
queryParameters['type'] = requestParameters.type;
|
|
1826
1826
|
}
|
|
1827
1827
|
if (requestParameters.username !== undefined) {
|
|
@@ -926,6 +926,9 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
926
926
|
if (requestParameters.tokenCount !== undefined) {
|
|
927
927
|
queryParameters['token_count'] = requestParameters.tokenCount;
|
|
928
928
|
}
|
|
929
|
+
if (requestParameters.tokenLength !== undefined) {
|
|
930
|
+
queryParameters['token_length'] = requestParameters.tokenLength;
|
|
931
|
+
}
|
|
929
932
|
const headerParameters = {};
|
|
930
933
|
if (this.configuration && this.configuration.apiKey) {
|
|
931
934
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
@@ -76,6 +76,12 @@ export interface AuthenticatorStaticStage {
|
|
|
76
76
|
* @memberof AuthenticatorStaticStage
|
|
77
77
|
*/
|
|
78
78
|
tokenCount?: number;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof AuthenticatorStaticStage
|
|
83
|
+
*/
|
|
84
|
+
tokenLength?: number;
|
|
79
85
|
}
|
|
80
86
|
/**
|
|
81
87
|
* Check if a given object implements the AuthenticatorStaticStage interface.
|
|
@@ -44,6 +44,7 @@ export function AuthenticatorStaticStageFromJSONTyped(json, ignoreDiscriminator)
|
|
|
44
44
|
'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
45
45
|
'friendlyName': !exists(json, 'friendly_name') ? undefined : json['friendly_name'],
|
|
46
46
|
'tokenCount': !exists(json, 'token_count') ? undefined : json['token_count'],
|
|
47
|
+
'tokenLength': !exists(json, 'token_length') ? undefined : json['token_length'],
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
export function AuthenticatorStaticStageToJSON(value) {
|
|
@@ -59,5 +60,6 @@ export function AuthenticatorStaticStageToJSON(value) {
|
|
|
59
60
|
'configure_flow': value.configureFlow,
|
|
60
61
|
'friendly_name': value.friendlyName,
|
|
61
62
|
'token_count': value.tokenCount,
|
|
63
|
+
'token_length': value.tokenLength,
|
|
62
64
|
};
|
|
63
65
|
}
|
|
@@ -46,6 +46,12 @@ export interface AuthenticatorStaticStageRequest {
|
|
|
46
46
|
* @memberof AuthenticatorStaticStageRequest
|
|
47
47
|
*/
|
|
48
48
|
tokenCount?: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof AuthenticatorStaticStageRequest
|
|
53
|
+
*/
|
|
54
|
+
tokenLength?: number;
|
|
49
55
|
}
|
|
50
56
|
/**
|
|
51
57
|
* Check if a given object implements the AuthenticatorStaticStageRequest interface.
|
|
@@ -34,6 +34,7 @@ export function AuthenticatorStaticStageRequestFromJSONTyped(json, ignoreDiscrim
|
|
|
34
34
|
'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
35
35
|
'friendlyName': !exists(json, 'friendly_name') ? undefined : json['friendly_name'],
|
|
36
36
|
'tokenCount': !exists(json, 'token_count') ? undefined : json['token_count'],
|
|
37
|
+
'tokenLength': !exists(json, 'token_length') ? undefined : json['token_length'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
export function AuthenticatorStaticStageRequestToJSON(value) {
|
|
@@ -49,5 +50,6 @@ export function AuthenticatorStaticStageRequestToJSON(value) {
|
|
|
49
50
|
'configure_flow': value.configureFlow,
|
|
50
51
|
'friendly_name': value.friendlyName,
|
|
51
52
|
'token_count': value.tokenCount,
|
|
53
|
+
'token_length': value.tokenLength,
|
|
52
54
|
};
|
|
53
55
|
}
|
|
@@ -46,6 +46,12 @@ export interface PatchedAuthenticatorStaticStageRequest {
|
|
|
46
46
|
* @memberof PatchedAuthenticatorStaticStageRequest
|
|
47
47
|
*/
|
|
48
48
|
tokenCount?: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof PatchedAuthenticatorStaticStageRequest
|
|
53
|
+
*/
|
|
54
|
+
tokenLength?: number;
|
|
49
55
|
}
|
|
50
56
|
/**
|
|
51
57
|
* Check if a given object implements the PatchedAuthenticatorStaticStageRequest interface.
|
|
@@ -33,6 +33,7 @@ export function PatchedAuthenticatorStaticStageRequestFromJSONTyped(json, ignore
|
|
|
33
33
|
'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
34
34
|
'friendlyName': !exists(json, 'friendly_name') ? undefined : json['friendly_name'],
|
|
35
35
|
'tokenCount': !exists(json, 'token_count') ? undefined : json['token_count'],
|
|
36
|
+
'tokenLength': !exists(json, 'token_length') ? undefined : json['token_length'],
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function PatchedAuthenticatorStaticStageRequestToJSON(value) {
|
|
@@ -48,5 +49,6 @@ export function PatchedAuthenticatorStaticStageRequestToJSON(value) {
|
|
|
48
49
|
'configure_flow': value.configureFlow,
|
|
49
50
|
'friendly_name': value.friendlyName,
|
|
50
51
|
'token_count': value.tokenCount,
|
|
52
|
+
'token_length': value.tokenLength,
|
|
51
53
|
};
|
|
52
54
|
}
|
|
@@ -76,6 +76,12 @@ export interface AuthenticatorStaticStage {
|
|
|
76
76
|
* @memberof AuthenticatorStaticStage
|
|
77
77
|
*/
|
|
78
78
|
tokenCount?: number;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof AuthenticatorStaticStage
|
|
83
|
+
*/
|
|
84
|
+
tokenLength?: number;
|
|
79
85
|
}
|
|
80
86
|
/**
|
|
81
87
|
* Check if a given object implements the AuthenticatorStaticStage interface.
|
|
@@ -49,6 +49,7 @@ function AuthenticatorStaticStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'configureFlow': !(0, runtime_1.exists)(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
50
50
|
'friendlyName': !(0, runtime_1.exists)(json, 'friendly_name') ? undefined : json['friendly_name'],
|
|
51
51
|
'tokenCount': !(0, runtime_1.exists)(json, 'token_count') ? undefined : json['token_count'],
|
|
52
|
+
'tokenLength': !(0, runtime_1.exists)(json, 'token_length') ? undefined : json['token_length'],
|
|
52
53
|
};
|
|
53
54
|
}
|
|
54
55
|
exports.AuthenticatorStaticStageFromJSONTyped = AuthenticatorStaticStageFromJSONTyped;
|
|
@@ -65,6 +66,7 @@ function AuthenticatorStaticStageToJSON(value) {
|
|
|
65
66
|
'configure_flow': value.configureFlow,
|
|
66
67
|
'friendly_name': value.friendlyName,
|
|
67
68
|
'token_count': value.tokenCount,
|
|
69
|
+
'token_length': value.tokenLength,
|
|
68
70
|
};
|
|
69
71
|
}
|
|
70
72
|
exports.AuthenticatorStaticStageToJSON = AuthenticatorStaticStageToJSON;
|
|
@@ -46,6 +46,12 @@ export interface AuthenticatorStaticStageRequest {
|
|
|
46
46
|
* @memberof AuthenticatorStaticStageRequest
|
|
47
47
|
*/
|
|
48
48
|
tokenCount?: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof AuthenticatorStaticStageRequest
|
|
53
|
+
*/
|
|
54
|
+
tokenLength?: number;
|
|
49
55
|
}
|
|
50
56
|
/**
|
|
51
57
|
* Check if a given object implements the AuthenticatorStaticStageRequest interface.
|
|
@@ -39,6 +39,7 @@ function AuthenticatorStaticStageRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
39
39
|
'configureFlow': !(0, runtime_1.exists)(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
40
40
|
'friendlyName': !(0, runtime_1.exists)(json, 'friendly_name') ? undefined : json['friendly_name'],
|
|
41
41
|
'tokenCount': !(0, runtime_1.exists)(json, 'token_count') ? undefined : json['token_count'],
|
|
42
|
+
'tokenLength': !(0, runtime_1.exists)(json, 'token_length') ? undefined : json['token_length'],
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
45
|
exports.AuthenticatorStaticStageRequestFromJSONTyped = AuthenticatorStaticStageRequestFromJSONTyped;
|
|
@@ -55,6 +56,7 @@ function AuthenticatorStaticStageRequestToJSON(value) {
|
|
|
55
56
|
'configure_flow': value.configureFlow,
|
|
56
57
|
'friendly_name': value.friendlyName,
|
|
57
58
|
'token_count': value.tokenCount,
|
|
59
|
+
'token_length': value.tokenLength,
|
|
58
60
|
};
|
|
59
61
|
}
|
|
60
62
|
exports.AuthenticatorStaticStageRequestToJSON = AuthenticatorStaticStageRequestToJSON;
|
|
@@ -46,6 +46,12 @@ export interface PatchedAuthenticatorStaticStageRequest {
|
|
|
46
46
|
* @memberof PatchedAuthenticatorStaticStageRequest
|
|
47
47
|
*/
|
|
48
48
|
tokenCount?: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof PatchedAuthenticatorStaticStageRequest
|
|
53
|
+
*/
|
|
54
|
+
tokenLength?: number;
|
|
49
55
|
}
|
|
50
56
|
/**
|
|
51
57
|
* Check if a given object implements the PatchedAuthenticatorStaticStageRequest interface.
|
|
@@ -38,6 +38,7 @@ function PatchedAuthenticatorStaticStageRequestFromJSONTyped(json, ignoreDiscrim
|
|
|
38
38
|
'configureFlow': !(0, runtime_1.exists)(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
39
39
|
'friendlyName': !(0, runtime_1.exists)(json, 'friendly_name') ? undefined : json['friendly_name'],
|
|
40
40
|
'tokenCount': !(0, runtime_1.exists)(json, 'token_count') ? undefined : json['token_count'],
|
|
41
|
+
'tokenLength': !(0, runtime_1.exists)(json, 'token_length') ? undefined : json['token_length'],
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
exports.PatchedAuthenticatorStaticStageRequestFromJSONTyped = PatchedAuthenticatorStaticStageRequestFromJSONTyped;
|
|
@@ -54,6 +55,7 @@ function PatchedAuthenticatorStaticStageRequestToJSON(value) {
|
|
|
54
55
|
'configure_flow': value.configureFlow,
|
|
55
56
|
'friendly_name': value.friendlyName,
|
|
56
57
|
'token_count': value.tokenCount,
|
|
58
|
+
'token_length': value.tokenLength,
|
|
57
59
|
};
|
|
58
60
|
}
|
|
59
61
|
exports.PatchedAuthenticatorStaticStageRequestToJSON = PatchedAuthenticatorStaticStageRequestToJSON;
|
package/package.json
CHANGED
package/src/apis/CoreApi.ts
CHANGED
|
@@ -415,7 +415,7 @@ export interface CoreUsersListRequest {
|
|
|
415
415
|
path?: string;
|
|
416
416
|
pathStartswith?: string;
|
|
417
417
|
search?: string;
|
|
418
|
-
type?: CoreUsersListTypeEnum
|
|
418
|
+
type?: Array<CoreUsersListTypeEnum>;
|
|
419
419
|
username?: string;
|
|
420
420
|
uuid?: string;
|
|
421
421
|
}
|
|
@@ -2507,7 +2507,7 @@ export class CoreApi extends runtime.BaseAPI {
|
|
|
2507
2507
|
queryParameters['search'] = requestParameters.search;
|
|
2508
2508
|
}
|
|
2509
2509
|
|
|
2510
|
-
if (requestParameters.type
|
|
2510
|
+
if (requestParameters.type) {
|
|
2511
2511
|
queryParameters['type'] = requestParameters.type;
|
|
2512
2512
|
}
|
|
2513
2513
|
|
package/src/apis/StagesApi.ts
CHANGED
|
@@ -437,6 +437,7 @@ export interface StagesAuthenticatorStaticListRequest {
|
|
|
437
437
|
search?: string;
|
|
438
438
|
stageUuid?: string;
|
|
439
439
|
tokenCount?: number;
|
|
440
|
+
tokenLength?: number;
|
|
440
441
|
}
|
|
441
442
|
|
|
442
443
|
export interface StagesAuthenticatorStaticPartialUpdateRequest {
|
|
@@ -2161,6 +2162,10 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
2161
2162
|
queryParameters['token_count'] = requestParameters.tokenCount;
|
|
2162
2163
|
}
|
|
2163
2164
|
|
|
2165
|
+
if (requestParameters.tokenLength !== undefined) {
|
|
2166
|
+
queryParameters['token_length'] = requestParameters.tokenLength;
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2164
2169
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2165
2170
|
|
|
2166
2171
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -86,6 +86,12 @@ export interface AuthenticatorStaticStage {
|
|
|
86
86
|
* @memberof AuthenticatorStaticStage
|
|
87
87
|
*/
|
|
88
88
|
tokenCount?: number;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {number}
|
|
92
|
+
* @memberof AuthenticatorStaticStage
|
|
93
|
+
*/
|
|
94
|
+
tokenLength?: number;
|
|
89
95
|
}
|
|
90
96
|
|
|
91
97
|
/**
|
|
@@ -123,6 +129,7 @@ export function AuthenticatorStaticStageFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
123
129
|
'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
124
130
|
'friendlyName': !exists(json, 'friendly_name') ? undefined : json['friendly_name'],
|
|
125
131
|
'tokenCount': !exists(json, 'token_count') ? undefined : json['token_count'],
|
|
132
|
+
'tokenLength': !exists(json, 'token_length') ? undefined : json['token_length'],
|
|
126
133
|
};
|
|
127
134
|
}
|
|
128
135
|
|
|
@@ -140,6 +147,7 @@ export function AuthenticatorStaticStageToJSON(value?: AuthenticatorStaticStage
|
|
|
140
147
|
'configure_flow': value.configureFlow,
|
|
141
148
|
'friendly_name': value.friendlyName,
|
|
142
149
|
'token_count': value.tokenCount,
|
|
150
|
+
'token_length': value.tokenLength,
|
|
143
151
|
};
|
|
144
152
|
}
|
|
145
153
|
|
|
@@ -56,6 +56,12 @@ export interface AuthenticatorStaticStageRequest {
|
|
|
56
56
|
* @memberof AuthenticatorStaticStageRequest
|
|
57
57
|
*/
|
|
58
58
|
tokenCount?: number;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof AuthenticatorStaticStageRequest
|
|
63
|
+
*/
|
|
64
|
+
tokenLength?: number;
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
/**
|
|
@@ -83,6 +89,7 @@ export function AuthenticatorStaticStageRequestFromJSONTyped(json: any, ignoreDi
|
|
|
83
89
|
'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
84
90
|
'friendlyName': !exists(json, 'friendly_name') ? undefined : json['friendly_name'],
|
|
85
91
|
'tokenCount': !exists(json, 'token_count') ? undefined : json['token_count'],
|
|
92
|
+
'tokenLength': !exists(json, 'token_length') ? undefined : json['token_length'],
|
|
86
93
|
};
|
|
87
94
|
}
|
|
88
95
|
|
|
@@ -100,6 +107,7 @@ export function AuthenticatorStaticStageRequestToJSON(value?: AuthenticatorStati
|
|
|
100
107
|
'configure_flow': value.configureFlow,
|
|
101
108
|
'friendly_name': value.friendlyName,
|
|
102
109
|
'token_count': value.tokenCount,
|
|
110
|
+
'token_length': value.tokenLength,
|
|
103
111
|
};
|
|
104
112
|
}
|
|
105
113
|
|
|
@@ -56,6 +56,12 @@ export interface PatchedAuthenticatorStaticStageRequest {
|
|
|
56
56
|
* @memberof PatchedAuthenticatorStaticStageRequest
|
|
57
57
|
*/
|
|
58
58
|
tokenCount?: number;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof PatchedAuthenticatorStaticStageRequest
|
|
63
|
+
*/
|
|
64
|
+
tokenLength?: number;
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
/**
|
|
@@ -82,6 +88,7 @@ export function PatchedAuthenticatorStaticStageRequestFromJSONTyped(json: any, i
|
|
|
82
88
|
'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
83
89
|
'friendlyName': !exists(json, 'friendly_name') ? undefined : json['friendly_name'],
|
|
84
90
|
'tokenCount': !exists(json, 'token_count') ? undefined : json['token_count'],
|
|
91
|
+
'tokenLength': !exists(json, 'token_length') ? undefined : json['token_length'],
|
|
85
92
|
};
|
|
86
93
|
}
|
|
87
94
|
|
|
@@ -99,6 +106,7 @@ export function PatchedAuthenticatorStaticStageRequestToJSON(value?: PatchedAuth
|
|
|
99
106
|
'configure_flow': value.configureFlow,
|
|
100
107
|
'friendly_name': value.friendlyName,
|
|
101
108
|
'token_count': value.tokenCount,
|
|
109
|
+
'token_length': value.tokenLength,
|
|
102
110
|
};
|
|
103
111
|
}
|
|
104
112
|
|