@goauthentik/api 2021.12.3-1640118344 → 2021.12.3-1640169858
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 -0
- package/dist/apis/CoreApi.js +3 -0
- package/dist/esm/apis/CoreApi.d.ts +1 -0
- package/dist/esm/apis/CoreApi.js +3 -0
- package/dist/esm/models/PatchedTenantRequest.d.ts +6 -0
- package/dist/esm/models/PatchedTenantRequest.js +2 -0
- package/dist/esm/models/Tenant.d.ts +6 -0
- package/dist/esm/models/Tenant.js +2 -0
- package/dist/esm/models/TenantRequest.d.ts +6 -0
- package/dist/esm/models/TenantRequest.js +2 -0
- package/dist/models/PatchedTenantRequest.d.ts +6 -0
- package/dist/models/PatchedTenantRequest.js +2 -0
- package/dist/models/Tenant.d.ts +6 -0
- package/dist/models/Tenant.js +2 -0
- package/dist/models/TenantRequest.d.ts +6 -0
- package/dist/models/TenantRequest.js +2 -0
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +5 -0
- package/src/models/PatchedTenantRequest.ts +8 -0
- package/src/models/Tenant.ts +8 -0
- package/src/models/TenantRequest.ts +8 -0
package/dist/apis/CoreApi.d.ts
CHANGED
package/dist/apis/CoreApi.js
CHANGED
|
@@ -950,6 +950,9 @@ class CoreApi extends runtime.BaseAPI {
|
|
|
950
950
|
if (requestParameters.tenantUuid !== undefined) {
|
|
951
951
|
queryParameters['tenant_uuid'] = requestParameters.tenantUuid;
|
|
952
952
|
}
|
|
953
|
+
if (requestParameters.webCertificate !== undefined) {
|
|
954
|
+
queryParameters['web_certificate'] = requestParameters.webCertificate;
|
|
955
|
+
}
|
|
953
956
|
const headerParameters = {};
|
|
954
957
|
if (this.configuration && this.configuration.apiKey) {
|
|
955
958
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
package/dist/esm/apis/CoreApi.js
CHANGED
|
@@ -947,6 +947,9 @@ export class CoreApi extends runtime.BaseAPI {
|
|
|
947
947
|
if (requestParameters.tenantUuid !== undefined) {
|
|
948
948
|
queryParameters['tenant_uuid'] = requestParameters.tenantUuid;
|
|
949
949
|
}
|
|
950
|
+
if (requestParameters.webCertificate !== undefined) {
|
|
951
|
+
queryParameters['web_certificate'] = requestParameters.webCertificate;
|
|
952
|
+
}
|
|
950
953
|
const headerParameters = {};
|
|
951
954
|
if (this.configuration && this.configuration.apiKey) {
|
|
952
955
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
@@ -75,6 +75,12 @@ export interface PatchedTenantRequest {
|
|
|
75
75
|
* @memberof PatchedTenantRequest
|
|
76
76
|
*/
|
|
77
77
|
eventRetention?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Web Certificate used by the authentik Core webserver.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PatchedTenantRequest
|
|
82
|
+
*/
|
|
83
|
+
webCertificate?: string | null;
|
|
78
84
|
}
|
|
79
85
|
export declare function PatchedTenantRequestFromJSON(json: any): PatchedTenantRequest;
|
|
80
86
|
export declare function PatchedTenantRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedTenantRequest;
|
|
@@ -30,6 +30,7 @@ export function PatchedTenantRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
31
31
|
'flowUnenrollment': !exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
32
32
|
'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
33
|
+
'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
36
|
export function PatchedTenantRequestToJSON(value) {
|
|
@@ -50,5 +51,6 @@ export function PatchedTenantRequestToJSON(value) {
|
|
|
50
51
|
'flow_recovery': value.flowRecovery,
|
|
51
52
|
'flow_unenrollment': value.flowUnenrollment,
|
|
52
53
|
'event_retention': value.eventRetention,
|
|
54
|
+
'web_certificate': value.webCertificate,
|
|
53
55
|
};
|
|
54
56
|
}
|
|
@@ -81,6 +81,12 @@ export interface Tenant {
|
|
|
81
81
|
* @memberof Tenant
|
|
82
82
|
*/
|
|
83
83
|
eventRetention?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Web Certificate used by the authentik Core webserver.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof Tenant
|
|
88
|
+
*/
|
|
89
|
+
webCertificate?: string | null;
|
|
84
90
|
}
|
|
85
91
|
export declare function TenantFromJSON(json: any): Tenant;
|
|
86
92
|
export declare function TenantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tenant;
|
|
@@ -31,6 +31,7 @@ export function TenantFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
32
32
|
'flowUnenrollment': !exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
33
33
|
'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
34
|
+
'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
37
|
export function TenantToJSON(value) {
|
|
@@ -51,5 +52,6 @@ export function TenantToJSON(value) {
|
|
|
51
52
|
'flow_recovery': value.flowRecovery,
|
|
52
53
|
'flow_unenrollment': value.flowUnenrollment,
|
|
53
54
|
'event_retention': value.eventRetention,
|
|
55
|
+
'web_certificate': value.webCertificate,
|
|
54
56
|
};
|
|
55
57
|
}
|
|
@@ -75,6 +75,12 @@ export interface TenantRequest {
|
|
|
75
75
|
* @memberof TenantRequest
|
|
76
76
|
*/
|
|
77
77
|
eventRetention?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Web Certificate used by the authentik Core webserver.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof TenantRequest
|
|
82
|
+
*/
|
|
83
|
+
webCertificate?: string | null;
|
|
78
84
|
}
|
|
79
85
|
export declare function TenantRequestFromJSON(json: any): TenantRequest;
|
|
80
86
|
export declare function TenantRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantRequest;
|
|
@@ -30,6 +30,7 @@ export function TenantRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
31
31
|
'flowUnenrollment': !exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
32
32
|
'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
33
|
+
'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
36
|
export function TenantRequestToJSON(value) {
|
|
@@ -50,5 +51,6 @@ export function TenantRequestToJSON(value) {
|
|
|
50
51
|
'flow_recovery': value.flowRecovery,
|
|
51
52
|
'flow_unenrollment': value.flowUnenrollment,
|
|
52
53
|
'event_retention': value.eventRetention,
|
|
54
|
+
'web_certificate': value.webCertificate,
|
|
53
55
|
};
|
|
54
56
|
}
|
|
@@ -75,6 +75,12 @@ export interface PatchedTenantRequest {
|
|
|
75
75
|
* @memberof PatchedTenantRequest
|
|
76
76
|
*/
|
|
77
77
|
eventRetention?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Web Certificate used by the authentik Core webserver.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PatchedTenantRequest
|
|
82
|
+
*/
|
|
83
|
+
webCertificate?: string | null;
|
|
78
84
|
}
|
|
79
85
|
export declare function PatchedTenantRequestFromJSON(json: any): PatchedTenantRequest;
|
|
80
86
|
export declare function PatchedTenantRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedTenantRequest;
|
|
@@ -34,6 +34,7 @@ function PatchedTenantRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'flowRecovery': !runtime_1.exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
35
35
|
'flowUnenrollment': !runtime_1.exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
36
36
|
'eventRetention': !runtime_1.exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
37
|
+
'webCertificate': !runtime_1.exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
exports.PatchedTenantRequestFromJSONTyped = PatchedTenantRequestFromJSONTyped;
|
|
@@ -55,6 +56,7 @@ function PatchedTenantRequestToJSON(value) {
|
|
|
55
56
|
'flow_recovery': value.flowRecovery,
|
|
56
57
|
'flow_unenrollment': value.flowUnenrollment,
|
|
57
58
|
'event_retention': value.eventRetention,
|
|
59
|
+
'web_certificate': value.webCertificate,
|
|
58
60
|
};
|
|
59
61
|
}
|
|
60
62
|
exports.PatchedTenantRequestToJSON = PatchedTenantRequestToJSON;
|
package/dist/models/Tenant.d.ts
CHANGED
|
@@ -81,6 +81,12 @@ export interface Tenant {
|
|
|
81
81
|
* @memberof Tenant
|
|
82
82
|
*/
|
|
83
83
|
eventRetention?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Web Certificate used by the authentik Core webserver.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof Tenant
|
|
88
|
+
*/
|
|
89
|
+
webCertificate?: string | null;
|
|
84
90
|
}
|
|
85
91
|
export declare function TenantFromJSON(json: any): Tenant;
|
|
86
92
|
export declare function TenantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tenant;
|
package/dist/models/Tenant.js
CHANGED
|
@@ -35,6 +35,7 @@ function TenantFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'flowRecovery': !runtime_1.exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
36
36
|
'flowUnenrollment': !runtime_1.exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
37
37
|
'eventRetention': !runtime_1.exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
38
|
+
'webCertificate': !runtime_1.exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
exports.TenantFromJSONTyped = TenantFromJSONTyped;
|
|
@@ -56,6 +57,7 @@ function TenantToJSON(value) {
|
|
|
56
57
|
'flow_recovery': value.flowRecovery,
|
|
57
58
|
'flow_unenrollment': value.flowUnenrollment,
|
|
58
59
|
'event_retention': value.eventRetention,
|
|
60
|
+
'web_certificate': value.webCertificate,
|
|
59
61
|
};
|
|
60
62
|
}
|
|
61
63
|
exports.TenantToJSON = TenantToJSON;
|
|
@@ -75,6 +75,12 @@ export interface TenantRequest {
|
|
|
75
75
|
* @memberof TenantRequest
|
|
76
76
|
*/
|
|
77
77
|
eventRetention?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Web Certificate used by the authentik Core webserver.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof TenantRequest
|
|
82
|
+
*/
|
|
83
|
+
webCertificate?: string | null;
|
|
78
84
|
}
|
|
79
85
|
export declare function TenantRequestFromJSON(json: any): TenantRequest;
|
|
80
86
|
export declare function TenantRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantRequest;
|
|
@@ -34,6 +34,7 @@ function TenantRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'flowRecovery': !runtime_1.exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
35
35
|
'flowUnenrollment': !runtime_1.exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
36
36
|
'eventRetention': !runtime_1.exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
37
|
+
'webCertificate': !runtime_1.exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
exports.TenantRequestFromJSONTyped = TenantRequestFromJSONTyped;
|
|
@@ -55,6 +56,7 @@ function TenantRequestToJSON(value) {
|
|
|
55
56
|
'flow_recovery': value.flowRecovery,
|
|
56
57
|
'flow_unenrollment': value.flowUnenrollment,
|
|
57
58
|
'event_retention': value.eventRetention,
|
|
59
|
+
'web_certificate': value.webCertificate,
|
|
58
60
|
};
|
|
59
61
|
}
|
|
60
62
|
exports.TenantRequestToJSON = TenantRequestToJSON;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@goauthentik/api", "version": "2021.12.3-
|
|
1
|
+
{"name": "@goauthentik/api", "version": "2021.12.3-1640169858", "description": "OpenAPI client for @goauthentik/api", "author": "OpenAPI-Generator", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts": {"build": "tsc && tsc --project tsconfig.esm.json", "prepare": "npm run build"}, "devDependencies": {"typescript": "^3.9.5"}, "license": "GPL-3.0-only", "module": "./dist/esm/index.js", "sideEffects": false}
|
package/src/apis/CoreApi.ts
CHANGED
|
@@ -263,6 +263,7 @@ export interface CoreTenantsListRequest {
|
|
|
263
263
|
pageSize?: number;
|
|
264
264
|
search?: string;
|
|
265
265
|
tenantUuid?: string;
|
|
266
|
+
webCertificate?: string;
|
|
266
267
|
}
|
|
267
268
|
|
|
268
269
|
export interface CoreTenantsPartialUpdateRequest {
|
|
@@ -1458,6 +1459,10 @@ export class CoreApi extends runtime.BaseAPI {
|
|
|
1458
1459
|
queryParameters['tenant_uuid'] = requestParameters.tenantUuid;
|
|
1459
1460
|
}
|
|
1460
1461
|
|
|
1462
|
+
if (requestParameters.webCertificate !== undefined) {
|
|
1463
|
+
queryParameters['web_certificate'] = requestParameters.webCertificate;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1461
1466
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1462
1467
|
|
|
1463
1468
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -79,6 +79,12 @@ export interface PatchedTenantRequest {
|
|
|
79
79
|
* @memberof PatchedTenantRequest
|
|
80
80
|
*/
|
|
81
81
|
eventRetention?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Web Certificate used by the authentik Core webserver.
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof PatchedTenantRequest
|
|
86
|
+
*/
|
|
87
|
+
webCertificate?: string | null;
|
|
82
88
|
}
|
|
83
89
|
|
|
84
90
|
export function PatchedTenantRequestFromJSON(json: any): PatchedTenantRequest {
|
|
@@ -101,6 +107,7 @@ export function PatchedTenantRequestFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
101
107
|
'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
102
108
|
'flowUnenrollment': !exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
103
109
|
'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
110
|
+
'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
104
111
|
};
|
|
105
112
|
}
|
|
106
113
|
|
|
@@ -123,6 +130,7 @@ export function PatchedTenantRequestToJSON(value?: PatchedTenantRequest | null):
|
|
|
123
130
|
'flow_recovery': value.flowRecovery,
|
|
124
131
|
'flow_unenrollment': value.flowUnenrollment,
|
|
125
132
|
'event_retention': value.eventRetention,
|
|
133
|
+
'web_certificate': value.webCertificate,
|
|
126
134
|
};
|
|
127
135
|
}
|
|
128
136
|
|
package/src/models/Tenant.ts
CHANGED
|
@@ -85,6 +85,12 @@ export interface Tenant {
|
|
|
85
85
|
* @memberof Tenant
|
|
86
86
|
*/
|
|
87
87
|
eventRetention?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Web Certificate used by the authentik Core webserver.
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof Tenant
|
|
92
|
+
*/
|
|
93
|
+
webCertificate?: string | null;
|
|
88
94
|
}
|
|
89
95
|
|
|
90
96
|
export function TenantFromJSON(json: any): Tenant {
|
|
@@ -108,6 +114,7 @@ export function TenantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Te
|
|
|
108
114
|
'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
109
115
|
'flowUnenrollment': !exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
110
116
|
'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
117
|
+
'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
111
118
|
};
|
|
112
119
|
}
|
|
113
120
|
|
|
@@ -130,6 +137,7 @@ export function TenantToJSON(value?: Tenant | null): any {
|
|
|
130
137
|
'flow_recovery': value.flowRecovery,
|
|
131
138
|
'flow_unenrollment': value.flowUnenrollment,
|
|
132
139
|
'event_retention': value.eventRetention,
|
|
140
|
+
'web_certificate': value.webCertificate,
|
|
133
141
|
};
|
|
134
142
|
}
|
|
135
143
|
|
|
@@ -79,6 +79,12 @@ export interface TenantRequest {
|
|
|
79
79
|
* @memberof TenantRequest
|
|
80
80
|
*/
|
|
81
81
|
eventRetention?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Web Certificate used by the authentik Core webserver.
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof TenantRequest
|
|
86
|
+
*/
|
|
87
|
+
webCertificate?: string | null;
|
|
82
88
|
}
|
|
83
89
|
|
|
84
90
|
export function TenantRequestFromJSON(json: any): TenantRequest {
|
|
@@ -101,6 +107,7 @@ export function TenantRequestFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
101
107
|
'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
102
108
|
'flowUnenrollment': !exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
103
109
|
'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
110
|
+
'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
104
111
|
};
|
|
105
112
|
}
|
|
106
113
|
|
|
@@ -123,6 +130,7 @@ export function TenantRequestToJSON(value?: TenantRequest | null): any {
|
|
|
123
130
|
'flow_recovery': value.flowRecovery,
|
|
124
131
|
'flow_unenrollment': value.flowUnenrollment,
|
|
125
132
|
'event_retention': value.eventRetention,
|
|
133
|
+
'web_certificate': value.webCertificate,
|
|
126
134
|
};
|
|
127
135
|
}
|
|
128
136
|
|