@goauthentik/api 2022.9.0-1665485003 → 2022.9.0-1665741204
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/StagesApi.d.ts +1 -0
- package/dist/apis/StagesApi.js +3 -0
- package/dist/esm/apis/StagesApi.d.ts +1 -0
- package/dist/esm/apis/StagesApi.js +3 -0
- package/dist/esm/models/AuthenticatorSMSStage.d.ts +6 -0
- package/dist/esm/models/AuthenticatorSMSStage.js +2 -0
- package/dist/esm/models/AuthenticatorSMSStageRequest.d.ts +6 -0
- package/dist/esm/models/AuthenticatorSMSStageRequest.js +2 -0
- package/dist/esm/models/PatchedAuthenticatorSMSStageRequest.d.ts +6 -0
- package/dist/esm/models/PatchedAuthenticatorSMSStageRequest.js +2 -0
- package/dist/models/AuthenticatorSMSStage.d.ts +6 -0
- package/dist/models/AuthenticatorSMSStage.js +2 -0
- package/dist/models/AuthenticatorSMSStageRequest.d.ts +6 -0
- package/dist/models/AuthenticatorSMSStageRequest.js +2 -0
- package/dist/models/PatchedAuthenticatorSMSStageRequest.d.ts +6 -0
- package/dist/models/PatchedAuthenticatorSMSStageRequest.js +2 -0
- package/package.json +1 -1
- package/src/apis/StagesApi.ts +5 -0
- package/src/models/AuthenticatorSMSStage.ts +8 -0
- package/src/models/AuthenticatorSMSStageRequest.ts +8 -0
- package/src/models/PatchedAuthenticatorSMSStageRequest.ts +8 -0
package/dist/apis/StagesApi.d.ts
CHANGED
package/dist/apis/StagesApi.js
CHANGED
|
@@ -650,6 +650,9 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
650
650
|
if (requestParameters.fromNumber !== undefined) {
|
|
651
651
|
queryParameters['from_number'] = requestParameters.fromNumber;
|
|
652
652
|
}
|
|
653
|
+
if (requestParameters.mapping !== undefined) {
|
|
654
|
+
queryParameters['mapping'] = requestParameters.mapping;
|
|
655
|
+
}
|
|
653
656
|
if (requestParameters.name !== undefined) {
|
|
654
657
|
queryParameters['name'] = requestParameters.name;
|
|
655
658
|
}
|
|
@@ -647,6 +647,9 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
647
647
|
if (requestParameters.fromNumber !== undefined) {
|
|
648
648
|
queryParameters['from_number'] = requestParameters.fromNumber;
|
|
649
649
|
}
|
|
650
|
+
if (requestParameters.mapping !== undefined) {
|
|
651
|
+
queryParameters['mapping'] = requestParameters.mapping;
|
|
652
|
+
}
|
|
650
653
|
if (requestParameters.name !== undefined) {
|
|
651
654
|
queryParameters['name'] = requestParameters.name;
|
|
652
655
|
}
|
|
@@ -108,6 +108,12 @@ export interface AuthenticatorSMSStage {
|
|
|
108
108
|
* @memberof AuthenticatorSMSStage
|
|
109
109
|
*/
|
|
110
110
|
verifyOnly?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Optionally modify the payload being sent to custom providers.
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof AuthenticatorSMSStage
|
|
115
|
+
*/
|
|
116
|
+
mapping?: string | null;
|
|
111
117
|
}
|
|
112
118
|
export declare function AuthenticatorSMSStageFromJSON(json: any): AuthenticatorSMSStage;
|
|
113
119
|
export declare function AuthenticatorSMSStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorSMSStage;
|
|
@@ -38,6 +38,7 @@ export function AuthenticatorSMSStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'authPassword': !exists(json, 'auth_password') ? undefined : json['auth_password'],
|
|
39
39
|
'authType': !exists(json, 'auth_type') ? undefined : AuthTypeEnumFromJSON(json['auth_type']),
|
|
40
40
|
'verifyOnly': !exists(json, 'verify_only') ? undefined : json['verify_only'],
|
|
41
|
+
'mapping': !exists(json, 'mapping') ? undefined : json['mapping'],
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
export function AuthenticatorSMSStageToJSON(value) {
|
|
@@ -58,5 +59,6 @@ export function AuthenticatorSMSStageToJSON(value) {
|
|
|
58
59
|
'auth_password': value.authPassword,
|
|
59
60
|
'auth_type': AuthTypeEnumToJSON(value.authType),
|
|
60
61
|
'verify_only': value.verifyOnly,
|
|
62
|
+
'mapping': value.mapping,
|
|
61
63
|
};
|
|
62
64
|
}
|
|
@@ -78,6 +78,12 @@ export interface AuthenticatorSMSStageRequest {
|
|
|
78
78
|
* @memberof AuthenticatorSMSStageRequest
|
|
79
79
|
*/
|
|
80
80
|
verifyOnly?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Optionally modify the payload being sent to custom providers.
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof AuthenticatorSMSStageRequest
|
|
85
|
+
*/
|
|
86
|
+
mapping?: string | null;
|
|
81
87
|
}
|
|
82
88
|
export declare function AuthenticatorSMSStageRequestFromJSON(json: any): AuthenticatorSMSStageRequest;
|
|
83
89
|
export declare function AuthenticatorSMSStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorSMSStageRequest;
|
|
@@ -33,6 +33,7 @@ export function AuthenticatorSMSStageRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
33
33
|
'authPassword': !exists(json, 'auth_password') ? undefined : json['auth_password'],
|
|
34
34
|
'authType': !exists(json, 'auth_type') ? undefined : AuthTypeEnumFromJSON(json['auth_type']),
|
|
35
35
|
'verifyOnly': !exists(json, 'verify_only') ? undefined : json['verify_only'],
|
|
36
|
+
'mapping': !exists(json, 'mapping') ? undefined : json['mapping'],
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function AuthenticatorSMSStageRequestToJSON(value) {
|
|
@@ -53,5 +54,6 @@ export function AuthenticatorSMSStageRequestToJSON(value) {
|
|
|
53
54
|
'auth_password': value.authPassword,
|
|
54
55
|
'auth_type': AuthTypeEnumToJSON(value.authType),
|
|
55
56
|
'verify_only': value.verifyOnly,
|
|
57
|
+
'mapping': value.mapping,
|
|
56
58
|
};
|
|
57
59
|
}
|
|
@@ -78,6 +78,12 @@ export interface PatchedAuthenticatorSMSStageRequest {
|
|
|
78
78
|
* @memberof PatchedAuthenticatorSMSStageRequest
|
|
79
79
|
*/
|
|
80
80
|
verifyOnly?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Optionally modify the payload being sent to custom providers.
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof PatchedAuthenticatorSMSStageRequest
|
|
85
|
+
*/
|
|
86
|
+
mapping?: string | null;
|
|
81
87
|
}
|
|
82
88
|
export declare function PatchedAuthenticatorSMSStageRequestFromJSON(json: any): PatchedAuthenticatorSMSStageRequest;
|
|
83
89
|
export declare function PatchedAuthenticatorSMSStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedAuthenticatorSMSStageRequest;
|
|
@@ -33,6 +33,7 @@ export function PatchedAuthenticatorSMSStageRequestFromJSONTyped(json, ignoreDis
|
|
|
33
33
|
'authPassword': !exists(json, 'auth_password') ? undefined : json['auth_password'],
|
|
34
34
|
'authType': !exists(json, 'auth_type') ? undefined : AuthTypeEnumFromJSON(json['auth_type']),
|
|
35
35
|
'verifyOnly': !exists(json, 'verify_only') ? undefined : json['verify_only'],
|
|
36
|
+
'mapping': !exists(json, 'mapping') ? undefined : json['mapping'],
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function PatchedAuthenticatorSMSStageRequestToJSON(value) {
|
|
@@ -53,5 +54,6 @@ export function PatchedAuthenticatorSMSStageRequestToJSON(value) {
|
|
|
53
54
|
'auth_password': value.authPassword,
|
|
54
55
|
'auth_type': AuthTypeEnumToJSON(value.authType),
|
|
55
56
|
'verify_only': value.verifyOnly,
|
|
57
|
+
'mapping': value.mapping,
|
|
56
58
|
};
|
|
57
59
|
}
|
|
@@ -108,6 +108,12 @@ export interface AuthenticatorSMSStage {
|
|
|
108
108
|
* @memberof AuthenticatorSMSStage
|
|
109
109
|
*/
|
|
110
110
|
verifyOnly?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Optionally modify the payload being sent to custom providers.
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof AuthenticatorSMSStage
|
|
115
|
+
*/
|
|
116
|
+
mapping?: string | null;
|
|
111
117
|
}
|
|
112
118
|
export declare function AuthenticatorSMSStageFromJSON(json: any): AuthenticatorSMSStage;
|
|
113
119
|
export declare function AuthenticatorSMSStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorSMSStage;
|
|
@@ -42,6 +42,7 @@ function AuthenticatorSMSStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'authPassword': !(0, runtime_1.exists)(json, 'auth_password') ? undefined : json['auth_password'],
|
|
43
43
|
'authType': !(0, runtime_1.exists)(json, 'auth_type') ? undefined : (0, AuthTypeEnum_1.AuthTypeEnumFromJSON)(json['auth_type']),
|
|
44
44
|
'verifyOnly': !(0, runtime_1.exists)(json, 'verify_only') ? undefined : json['verify_only'],
|
|
45
|
+
'mapping': !(0, runtime_1.exists)(json, 'mapping') ? undefined : json['mapping'],
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
exports.AuthenticatorSMSStageFromJSONTyped = AuthenticatorSMSStageFromJSONTyped;
|
|
@@ -63,6 +64,7 @@ function AuthenticatorSMSStageToJSON(value) {
|
|
|
63
64
|
'auth_password': value.authPassword,
|
|
64
65
|
'auth_type': (0, AuthTypeEnum_1.AuthTypeEnumToJSON)(value.authType),
|
|
65
66
|
'verify_only': value.verifyOnly,
|
|
67
|
+
'mapping': value.mapping,
|
|
66
68
|
};
|
|
67
69
|
}
|
|
68
70
|
exports.AuthenticatorSMSStageToJSON = AuthenticatorSMSStageToJSON;
|
|
@@ -78,6 +78,12 @@ export interface AuthenticatorSMSStageRequest {
|
|
|
78
78
|
* @memberof AuthenticatorSMSStageRequest
|
|
79
79
|
*/
|
|
80
80
|
verifyOnly?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Optionally modify the payload being sent to custom providers.
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof AuthenticatorSMSStageRequest
|
|
85
|
+
*/
|
|
86
|
+
mapping?: string | null;
|
|
81
87
|
}
|
|
82
88
|
export declare function AuthenticatorSMSStageRequestFromJSON(json: any): AuthenticatorSMSStageRequest;
|
|
83
89
|
export declare function AuthenticatorSMSStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorSMSStageRequest;
|
|
@@ -37,6 +37,7 @@ function AuthenticatorSMSStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'authPassword': !(0, runtime_1.exists)(json, 'auth_password') ? undefined : json['auth_password'],
|
|
38
38
|
'authType': !(0, runtime_1.exists)(json, 'auth_type') ? undefined : (0, AuthTypeEnum_1.AuthTypeEnumFromJSON)(json['auth_type']),
|
|
39
39
|
'verifyOnly': !(0, runtime_1.exists)(json, 'verify_only') ? undefined : json['verify_only'],
|
|
40
|
+
'mapping': !(0, runtime_1.exists)(json, 'mapping') ? undefined : json['mapping'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
exports.AuthenticatorSMSStageRequestFromJSONTyped = AuthenticatorSMSStageRequestFromJSONTyped;
|
|
@@ -58,6 +59,7 @@ function AuthenticatorSMSStageRequestToJSON(value) {
|
|
|
58
59
|
'auth_password': value.authPassword,
|
|
59
60
|
'auth_type': (0, AuthTypeEnum_1.AuthTypeEnumToJSON)(value.authType),
|
|
60
61
|
'verify_only': value.verifyOnly,
|
|
62
|
+
'mapping': value.mapping,
|
|
61
63
|
};
|
|
62
64
|
}
|
|
63
65
|
exports.AuthenticatorSMSStageRequestToJSON = AuthenticatorSMSStageRequestToJSON;
|
|
@@ -78,6 +78,12 @@ export interface PatchedAuthenticatorSMSStageRequest {
|
|
|
78
78
|
* @memberof PatchedAuthenticatorSMSStageRequest
|
|
79
79
|
*/
|
|
80
80
|
verifyOnly?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Optionally modify the payload being sent to custom providers.
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof PatchedAuthenticatorSMSStageRequest
|
|
85
|
+
*/
|
|
86
|
+
mapping?: string | null;
|
|
81
87
|
}
|
|
82
88
|
export declare function PatchedAuthenticatorSMSStageRequestFromJSON(json: any): PatchedAuthenticatorSMSStageRequest;
|
|
83
89
|
export declare function PatchedAuthenticatorSMSStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedAuthenticatorSMSStageRequest;
|
|
@@ -37,6 +37,7 @@ function PatchedAuthenticatorSMSStageRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
37
37
|
'authPassword': !(0, runtime_1.exists)(json, 'auth_password') ? undefined : json['auth_password'],
|
|
38
38
|
'authType': !(0, runtime_1.exists)(json, 'auth_type') ? undefined : (0, AuthTypeEnum_1.AuthTypeEnumFromJSON)(json['auth_type']),
|
|
39
39
|
'verifyOnly': !(0, runtime_1.exists)(json, 'verify_only') ? undefined : json['verify_only'],
|
|
40
|
+
'mapping': !(0, runtime_1.exists)(json, 'mapping') ? undefined : json['mapping'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
exports.PatchedAuthenticatorSMSStageRequestFromJSONTyped = PatchedAuthenticatorSMSStageRequestFromJSONTyped;
|
|
@@ -58,6 +59,7 @@ function PatchedAuthenticatorSMSStageRequestToJSON(value) {
|
|
|
58
59
|
'auth_password': value.authPassword,
|
|
59
60
|
'auth_type': (0, AuthTypeEnum_1.AuthTypeEnumToJSON)(value.authType),
|
|
60
61
|
'verify_only': value.verifyOnly,
|
|
62
|
+
'mapping': value.mapping,
|
|
61
63
|
};
|
|
62
64
|
}
|
|
63
65
|
exports.PatchedAuthenticatorSMSStageRequestToJSON = PatchedAuthenticatorSMSStageRequestToJSON;
|
package/package.json
CHANGED
package/src/apis/StagesApi.ts
CHANGED
|
@@ -384,6 +384,7 @@ export interface StagesAuthenticatorSmsListRequest {
|
|
|
384
384
|
authType?: StagesAuthenticatorSmsListAuthTypeEnum;
|
|
385
385
|
configureFlow?: string;
|
|
386
386
|
fromNumber?: string;
|
|
387
|
+
mapping?: string;
|
|
387
388
|
name?: string;
|
|
388
389
|
ordering?: string;
|
|
389
390
|
page?: number;
|
|
@@ -1819,6 +1820,10 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
1819
1820
|
queryParameters['from_number'] = requestParameters.fromNumber;
|
|
1820
1821
|
}
|
|
1821
1822
|
|
|
1823
|
+
if (requestParameters.mapping !== undefined) {
|
|
1824
|
+
queryParameters['mapping'] = requestParameters.mapping;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1822
1827
|
if (requestParameters.name !== undefined) {
|
|
1823
1828
|
queryParameters['name'] = requestParameters.name;
|
|
1824
1829
|
}
|
|
@@ -128,6 +128,12 @@ export interface AuthenticatorSMSStage {
|
|
|
128
128
|
* @memberof AuthenticatorSMSStage
|
|
129
129
|
*/
|
|
130
130
|
verifyOnly?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Optionally modify the payload being sent to custom providers.
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof AuthenticatorSMSStage
|
|
135
|
+
*/
|
|
136
|
+
mapping?: string | null;
|
|
131
137
|
}
|
|
132
138
|
|
|
133
139
|
export function AuthenticatorSMSStageFromJSON(json: any): AuthenticatorSMSStage {
|
|
@@ -155,6 +161,7 @@ export function AuthenticatorSMSStageFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
155
161
|
'authPassword': !exists(json, 'auth_password') ? undefined : json['auth_password'],
|
|
156
162
|
'authType': !exists(json, 'auth_type') ? undefined : AuthTypeEnumFromJSON(json['auth_type']),
|
|
157
163
|
'verifyOnly': !exists(json, 'verify_only') ? undefined : json['verify_only'],
|
|
164
|
+
'mapping': !exists(json, 'mapping') ? undefined : json['mapping'],
|
|
158
165
|
};
|
|
159
166
|
}
|
|
160
167
|
|
|
@@ -177,6 +184,7 @@ export function AuthenticatorSMSStageToJSON(value?: AuthenticatorSMSStage | null
|
|
|
177
184
|
'auth_password': value.authPassword,
|
|
178
185
|
'auth_type': AuthTypeEnumToJSON(value.authType),
|
|
179
186
|
'verify_only': value.verifyOnly,
|
|
187
|
+
'mapping': value.mapping,
|
|
180
188
|
};
|
|
181
189
|
}
|
|
182
190
|
|
|
@@ -98,6 +98,12 @@ export interface AuthenticatorSMSStageRequest {
|
|
|
98
98
|
* @memberof AuthenticatorSMSStageRequest
|
|
99
99
|
*/
|
|
100
100
|
verifyOnly?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Optionally modify the payload being sent to custom providers.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof AuthenticatorSMSStageRequest
|
|
105
|
+
*/
|
|
106
|
+
mapping?: string | null;
|
|
101
107
|
}
|
|
102
108
|
|
|
103
109
|
export function AuthenticatorSMSStageRequestFromJSON(json: any): AuthenticatorSMSStageRequest {
|
|
@@ -120,6 +126,7 @@ export function AuthenticatorSMSStageRequestFromJSONTyped(json: any, ignoreDiscr
|
|
|
120
126
|
'authPassword': !exists(json, 'auth_password') ? undefined : json['auth_password'],
|
|
121
127
|
'authType': !exists(json, 'auth_type') ? undefined : AuthTypeEnumFromJSON(json['auth_type']),
|
|
122
128
|
'verifyOnly': !exists(json, 'verify_only') ? undefined : json['verify_only'],
|
|
129
|
+
'mapping': !exists(json, 'mapping') ? undefined : json['mapping'],
|
|
123
130
|
};
|
|
124
131
|
}
|
|
125
132
|
|
|
@@ -142,6 +149,7 @@ export function AuthenticatorSMSStageRequestToJSON(value?: AuthenticatorSMSStage
|
|
|
142
149
|
'auth_password': value.authPassword,
|
|
143
150
|
'auth_type': AuthTypeEnumToJSON(value.authType),
|
|
144
151
|
'verify_only': value.verifyOnly,
|
|
152
|
+
'mapping': value.mapping,
|
|
145
153
|
};
|
|
146
154
|
}
|
|
147
155
|
|
|
@@ -98,6 +98,12 @@ export interface PatchedAuthenticatorSMSStageRequest {
|
|
|
98
98
|
* @memberof PatchedAuthenticatorSMSStageRequest
|
|
99
99
|
*/
|
|
100
100
|
verifyOnly?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Optionally modify the payload being sent to custom providers.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof PatchedAuthenticatorSMSStageRequest
|
|
105
|
+
*/
|
|
106
|
+
mapping?: string | null;
|
|
101
107
|
}
|
|
102
108
|
|
|
103
109
|
export function PatchedAuthenticatorSMSStageRequestFromJSON(json: any): PatchedAuthenticatorSMSStageRequest {
|
|
@@ -120,6 +126,7 @@ export function PatchedAuthenticatorSMSStageRequestFromJSONTyped(json: any, igno
|
|
|
120
126
|
'authPassword': !exists(json, 'auth_password') ? undefined : json['auth_password'],
|
|
121
127
|
'authType': !exists(json, 'auth_type') ? undefined : AuthTypeEnumFromJSON(json['auth_type']),
|
|
122
128
|
'verifyOnly': !exists(json, 'verify_only') ? undefined : json['verify_only'],
|
|
129
|
+
'mapping': !exists(json, 'mapping') ? undefined : json['mapping'],
|
|
123
130
|
};
|
|
124
131
|
}
|
|
125
132
|
|
|
@@ -142,6 +149,7 @@ export function PatchedAuthenticatorSMSStageRequestToJSON(value?: PatchedAuthent
|
|
|
142
149
|
'auth_password': value.authPassword,
|
|
143
150
|
'auth_type': AuthTypeEnumToJSON(value.authType),
|
|
144
151
|
'verify_only': value.verifyOnly,
|
|
152
|
+
'mapping': value.mapping,
|
|
145
153
|
};
|
|
146
154
|
}
|
|
147
155
|
|