@goauthentik/api 2023.8.3-1694462695 → 2023.8.3-1694987749
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 +4 -0
- package/dist/apis/CoreApi.d.ts +12 -1
- package/dist/apis/CoreApi.js +33 -0
- package/dist/esm/apis/CoreApi.d.ts +12 -1
- package/dist/esm/apis/CoreApi.js +34 -1
- package/dist/esm/models/ModelRequest.d.ts +38 -0
- package/dist/esm/models/ModelRequest.js +67 -0
- package/dist/esm/models/PatchedPolicyBindingRequest.d.ts +6 -0
- package/dist/esm/models/PatchedPolicyBindingRequest.js +2 -0
- package/dist/esm/models/PolicyBinding.d.ts +6 -0
- package/dist/esm/models/PolicyBinding.js +2 -0
- package/dist/esm/models/PolicyBindingRequest.d.ts +6 -0
- package/dist/esm/models/PolicyBindingRequest.js +2 -0
- package/dist/esm/models/ProviderModelEnum.d.ts +33 -0
- package/dist/esm/models/ProviderModelEnum.js +40 -0
- package/dist/esm/models/TransactionApplicationRequest.d.ts +46 -0
- package/dist/esm/models/TransactionApplicationRequest.js +52 -0
- package/dist/esm/models/TransactionApplicationResponse.d.ts +37 -0
- package/dist/esm/models/TransactionApplicationResponse.js +46 -0
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/models/ModelRequest.d.ts +38 -0
- package/dist/models/ModelRequest.js +73 -0
- package/dist/models/PatchedPolicyBindingRequest.d.ts +6 -0
- package/dist/models/PatchedPolicyBindingRequest.js +2 -0
- package/dist/models/PolicyBinding.d.ts +6 -0
- package/dist/models/PolicyBinding.js +2 -0
- package/dist/models/PolicyBindingRequest.d.ts +6 -0
- package/dist/models/PolicyBindingRequest.js +2 -0
- package/dist/models/ProviderModelEnum.d.ts +33 -0
- package/dist/models/ProviderModelEnum.js +46 -0
- package/dist/models/TransactionApplicationRequest.d.ts +46 -0
- package/dist/models/TransactionApplicationRequest.js +59 -0
- package/dist/models/TransactionApplicationResponse.d.ts +37 -0
- package/dist/models/TransactionApplicationResponse.js +53 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +47 -0
- package/src/models/ModelRequest.ts +116 -0
- package/src/models/PatchedPolicyBindingRequest.ts +8 -0
- package/src/models/PolicyBinding.ts +8 -0
- package/src/models/PolicyBindingRequest.ts +8 -0
- package/src/models/ProviderModelEnum.ts +48 -0
- package/src/models/TransactionApplicationRequest.ts +103 -0
- package/src/models/TransactionApplicationResponse.ts +75 -0
- package/src/models/index.ts +4 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -184,6 +184,7 @@ src/models/LoginMetrics.ts
|
|
|
184
184
|
src/models/LoginSource.ts
|
|
185
185
|
src/models/Metadata.ts
|
|
186
186
|
src/models/ModelEnum.ts
|
|
187
|
+
src/models/ModelRequest.ts
|
|
187
188
|
src/models/NameIdPolicyEnum.ts
|
|
188
189
|
src/models/NotConfiguredActionEnum.ts
|
|
189
190
|
src/models/Notification.ts
|
|
@@ -398,6 +399,7 @@ src/models/PropertyMappingPreview.ts
|
|
|
398
399
|
src/models/PropertyMappingTestResult.ts
|
|
399
400
|
src/models/Provider.ts
|
|
400
401
|
src/models/ProviderEnum.ts
|
|
402
|
+
src/models/ProviderModelEnum.ts
|
|
401
403
|
src/models/ProviderRequest.ts
|
|
402
404
|
src/models/ProviderTypeEnum.ts
|
|
403
405
|
src/models/ProxyMode.ts
|
|
@@ -460,6 +462,8 @@ src/models/TokenModel.ts
|
|
|
460
462
|
src/models/TokenRequest.ts
|
|
461
463
|
src/models/TokenSetKeyRequest.ts
|
|
462
464
|
src/models/TokenView.ts
|
|
465
|
+
src/models/TransactionApplicationRequest.ts
|
|
466
|
+
src/models/TransactionApplicationResponse.ts
|
|
463
467
|
src/models/TypeCreate.ts
|
|
464
468
|
src/models/UiThemeEnum.ts
|
|
465
469
|
src/models/UsedBy.ts
|
package/dist/apis/CoreApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { Application, ApplicationRequest, AuthenticatedSession, Coordinate, CurrentTenant, FilePathRequest, Group, GroupRequest, Link, PaginatedApplicationList, PaginatedAuthenticatedSessionList, PaginatedGroupList, PaginatedTenantList, PaginatedTokenList, PaginatedUserConsentList, PaginatedUserList, PatchedApplicationRequest, PatchedGroupRequest, PatchedTenantRequest, PatchedTokenRequest, PatchedUserRequest, PolicyTestResult, SessionUser, Tenant, TenantRequest, Token, TokenRequest, TokenSetKeyRequest, TokenView, UsedBy, User, UserAccountRequest, UserConsent, UserMetrics, UserPasswordSetRequest, UserPath, UserRequest, UserServiceAccountRequest, UserServiceAccountResponse } from '../models';
|
|
13
|
+
import type { Application, ApplicationRequest, AuthenticatedSession, Coordinate, CurrentTenant, FilePathRequest, Group, GroupRequest, Link, PaginatedApplicationList, PaginatedAuthenticatedSessionList, PaginatedGroupList, PaginatedTenantList, PaginatedTokenList, PaginatedUserConsentList, PaginatedUserList, PatchedApplicationRequest, PatchedGroupRequest, PatchedTenantRequest, PatchedTokenRequest, PatchedUserRequest, PolicyTestResult, SessionUser, Tenant, TenantRequest, Token, TokenRequest, TokenSetKeyRequest, TokenView, TransactionApplicationRequest, TransactionApplicationResponse, UsedBy, User, UserAccountRequest, UserConsent, UserMetrics, UserPasswordSetRequest, UserPath, UserRequest, UserServiceAccountRequest, UserServiceAccountResponse } from '../models';
|
|
14
14
|
export interface CoreApplicationsCheckAccessRetrieveRequest {
|
|
15
15
|
slug: string;
|
|
16
16
|
forUser?: number;
|
|
@@ -197,6 +197,9 @@ export interface CoreTokensUsedByListRequest {
|
|
|
197
197
|
export interface CoreTokensViewKeyRetrieveRequest {
|
|
198
198
|
identifier: string;
|
|
199
199
|
}
|
|
200
|
+
export interface CoreTransactionalApplicationsUpdateRequest {
|
|
201
|
+
transactionApplicationRequest: TransactionApplicationRequest;
|
|
202
|
+
}
|
|
200
203
|
export interface CoreUserConsentDestroyRequest {
|
|
201
204
|
id: number;
|
|
202
205
|
}
|
|
@@ -607,6 +610,14 @@ export declare class CoreApi extends runtime.BaseAPI {
|
|
|
607
610
|
* Return token key and log access
|
|
608
611
|
*/
|
|
609
612
|
coreTokensViewKeyRetrieve(requestParameters: CoreTokensViewKeyRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenView>;
|
|
613
|
+
/**
|
|
614
|
+
* Convert data into a blueprint, validate it and apply it
|
|
615
|
+
*/
|
|
616
|
+
coreTransactionalApplicationsUpdateRaw(requestParameters: CoreTransactionalApplicationsUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TransactionApplicationResponse>>;
|
|
617
|
+
/**
|
|
618
|
+
* Convert data into a blueprint, validate it and apply it
|
|
619
|
+
*/
|
|
620
|
+
coreTransactionalApplicationsUpdate(requestParameters: CoreTransactionalApplicationsUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TransactionApplicationResponse>;
|
|
610
621
|
/**
|
|
611
622
|
* UserConsent Viewset
|
|
612
623
|
*/
|
package/dist/apis/CoreApi.js
CHANGED
|
@@ -1521,6 +1521,39 @@ class CoreApi extends runtime.BaseAPI {
|
|
|
1521
1521
|
return yield response.value();
|
|
1522
1522
|
});
|
|
1523
1523
|
}
|
|
1524
|
+
/**
|
|
1525
|
+
* Convert data into a blueprint, validate it and apply it
|
|
1526
|
+
*/
|
|
1527
|
+
coreTransactionalApplicationsUpdateRaw(requestParameters, initOverrides) {
|
|
1528
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1529
|
+
if (requestParameters.transactionApplicationRequest === null || requestParameters.transactionApplicationRequest === undefined) {
|
|
1530
|
+
throw new runtime.RequiredError('transactionApplicationRequest', 'Required parameter requestParameters.transactionApplicationRequest was null or undefined when calling coreTransactionalApplicationsUpdate.');
|
|
1531
|
+
}
|
|
1532
|
+
const queryParameters = {};
|
|
1533
|
+
const headerParameters = {};
|
|
1534
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1535
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1536
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
1537
|
+
}
|
|
1538
|
+
const response = yield this.request({
|
|
1539
|
+
path: `/core/transactional/applications/`,
|
|
1540
|
+
method: 'PUT',
|
|
1541
|
+
headers: headerParameters,
|
|
1542
|
+
query: queryParameters,
|
|
1543
|
+
body: (0, models_1.TransactionApplicationRequestToJSON)(requestParameters.transactionApplicationRequest),
|
|
1544
|
+
}, initOverrides);
|
|
1545
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.TransactionApplicationResponseFromJSON)(jsonValue));
|
|
1546
|
+
});
|
|
1547
|
+
}
|
|
1548
|
+
/**
|
|
1549
|
+
* Convert data into a blueprint, validate it and apply it
|
|
1550
|
+
*/
|
|
1551
|
+
coreTransactionalApplicationsUpdate(requestParameters, initOverrides) {
|
|
1552
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1553
|
+
const response = yield this.coreTransactionalApplicationsUpdateRaw(requestParameters, initOverrides);
|
|
1554
|
+
return yield response.value();
|
|
1555
|
+
});
|
|
1556
|
+
}
|
|
1524
1557
|
/**
|
|
1525
1558
|
* UserConsent Viewset
|
|
1526
1559
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { Application, ApplicationRequest, AuthenticatedSession, Coordinate, CurrentTenant, FilePathRequest, Group, GroupRequest, Link, PaginatedApplicationList, PaginatedAuthenticatedSessionList, PaginatedGroupList, PaginatedTenantList, PaginatedTokenList, PaginatedUserConsentList, PaginatedUserList, PatchedApplicationRequest, PatchedGroupRequest, PatchedTenantRequest, PatchedTokenRequest, PatchedUserRequest, PolicyTestResult, SessionUser, Tenant, TenantRequest, Token, TokenRequest, TokenSetKeyRequest, TokenView, UsedBy, User, UserAccountRequest, UserConsent, UserMetrics, UserPasswordSetRequest, UserPath, UserRequest, UserServiceAccountRequest, UserServiceAccountResponse } from '../models';
|
|
13
|
+
import type { Application, ApplicationRequest, AuthenticatedSession, Coordinate, CurrentTenant, FilePathRequest, Group, GroupRequest, Link, PaginatedApplicationList, PaginatedAuthenticatedSessionList, PaginatedGroupList, PaginatedTenantList, PaginatedTokenList, PaginatedUserConsentList, PaginatedUserList, PatchedApplicationRequest, PatchedGroupRequest, PatchedTenantRequest, PatchedTokenRequest, PatchedUserRequest, PolicyTestResult, SessionUser, Tenant, TenantRequest, Token, TokenRequest, TokenSetKeyRequest, TokenView, TransactionApplicationRequest, TransactionApplicationResponse, UsedBy, User, UserAccountRequest, UserConsent, UserMetrics, UserPasswordSetRequest, UserPath, UserRequest, UserServiceAccountRequest, UserServiceAccountResponse } from '../models';
|
|
14
14
|
export interface CoreApplicationsCheckAccessRetrieveRequest {
|
|
15
15
|
slug: string;
|
|
16
16
|
forUser?: number;
|
|
@@ -197,6 +197,9 @@ export interface CoreTokensUsedByListRequest {
|
|
|
197
197
|
export interface CoreTokensViewKeyRetrieveRequest {
|
|
198
198
|
identifier: string;
|
|
199
199
|
}
|
|
200
|
+
export interface CoreTransactionalApplicationsUpdateRequest {
|
|
201
|
+
transactionApplicationRequest: TransactionApplicationRequest;
|
|
202
|
+
}
|
|
200
203
|
export interface CoreUserConsentDestroyRequest {
|
|
201
204
|
id: number;
|
|
202
205
|
}
|
|
@@ -607,6 +610,14 @@ export declare class CoreApi extends runtime.BaseAPI {
|
|
|
607
610
|
* Return token key and log access
|
|
608
611
|
*/
|
|
609
612
|
coreTokensViewKeyRetrieve(requestParameters: CoreTokensViewKeyRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenView>;
|
|
613
|
+
/**
|
|
614
|
+
* Convert data into a blueprint, validate it and apply it
|
|
615
|
+
*/
|
|
616
|
+
coreTransactionalApplicationsUpdateRaw(requestParameters: CoreTransactionalApplicationsUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TransactionApplicationResponse>>;
|
|
617
|
+
/**
|
|
618
|
+
* Convert data into a blueprint, validate it and apply it
|
|
619
|
+
*/
|
|
620
|
+
coreTransactionalApplicationsUpdate(requestParameters: CoreTransactionalApplicationsUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TransactionApplicationResponse>;
|
|
610
621
|
/**
|
|
611
622
|
* UserConsent Viewset
|
|
612
623
|
*/
|
package/dist/esm/apis/CoreApi.js
CHANGED
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { ApplicationFromJSON, ApplicationRequestToJSON, AuthenticatedSessionFromJSON, CoordinateFromJSON, CurrentTenantFromJSON, FilePathRequestToJSON, GroupFromJSON, GroupRequestToJSON, LinkFromJSON, PaginatedApplicationListFromJSON, PaginatedAuthenticatedSessionListFromJSON, PaginatedGroupListFromJSON, PaginatedTenantListFromJSON, PaginatedTokenListFromJSON, PaginatedUserConsentListFromJSON, PaginatedUserListFromJSON, PatchedApplicationRequestToJSON, PatchedGroupRequestToJSON, PatchedTenantRequestToJSON, PatchedTokenRequestToJSON, PatchedUserRequestToJSON, PolicyTestResultFromJSON, SessionUserFromJSON, TenantFromJSON, TenantRequestToJSON, TokenFromJSON, TokenRequestToJSON, TokenSetKeyRequestToJSON, TokenViewFromJSON, UsedByFromJSON, UserFromJSON, UserAccountRequestToJSON, UserConsentFromJSON, UserMetricsFromJSON, UserPasswordSetRequestToJSON, UserPathFromJSON, UserRequestToJSON, UserServiceAccountRequestToJSON, UserServiceAccountResponseFromJSON, } from '../models';
|
|
24
|
+
import { ApplicationFromJSON, ApplicationRequestToJSON, AuthenticatedSessionFromJSON, CoordinateFromJSON, CurrentTenantFromJSON, FilePathRequestToJSON, GroupFromJSON, GroupRequestToJSON, LinkFromJSON, PaginatedApplicationListFromJSON, PaginatedAuthenticatedSessionListFromJSON, PaginatedGroupListFromJSON, PaginatedTenantListFromJSON, PaginatedTokenListFromJSON, PaginatedUserConsentListFromJSON, PaginatedUserListFromJSON, PatchedApplicationRequestToJSON, PatchedGroupRequestToJSON, PatchedTenantRequestToJSON, PatchedTokenRequestToJSON, PatchedUserRequestToJSON, PolicyTestResultFromJSON, SessionUserFromJSON, TenantFromJSON, TenantRequestToJSON, TokenFromJSON, TokenRequestToJSON, TokenSetKeyRequestToJSON, TokenViewFromJSON, TransactionApplicationRequestToJSON, TransactionApplicationResponseFromJSON, UsedByFromJSON, UserFromJSON, UserAccountRequestToJSON, UserConsentFromJSON, UserMetricsFromJSON, UserPasswordSetRequestToJSON, UserPathFromJSON, UserRequestToJSON, UserServiceAccountRequestToJSON, UserServiceAccountResponseFromJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -1518,6 +1518,39 @@ export class CoreApi extends runtime.BaseAPI {
|
|
|
1518
1518
|
return yield response.value();
|
|
1519
1519
|
});
|
|
1520
1520
|
}
|
|
1521
|
+
/**
|
|
1522
|
+
* Convert data into a blueprint, validate it and apply it
|
|
1523
|
+
*/
|
|
1524
|
+
coreTransactionalApplicationsUpdateRaw(requestParameters, initOverrides) {
|
|
1525
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1526
|
+
if (requestParameters.transactionApplicationRequest === null || requestParameters.transactionApplicationRequest === undefined) {
|
|
1527
|
+
throw new runtime.RequiredError('transactionApplicationRequest', 'Required parameter requestParameters.transactionApplicationRequest was null or undefined when calling coreTransactionalApplicationsUpdate.');
|
|
1528
|
+
}
|
|
1529
|
+
const queryParameters = {};
|
|
1530
|
+
const headerParameters = {};
|
|
1531
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1532
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1533
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
1534
|
+
}
|
|
1535
|
+
const response = yield this.request({
|
|
1536
|
+
path: `/core/transactional/applications/`,
|
|
1537
|
+
method: 'PUT',
|
|
1538
|
+
headers: headerParameters,
|
|
1539
|
+
query: queryParameters,
|
|
1540
|
+
body: TransactionApplicationRequestToJSON(requestParameters.transactionApplicationRequest),
|
|
1541
|
+
}, initOverrides);
|
|
1542
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => TransactionApplicationResponseFromJSON(jsonValue));
|
|
1543
|
+
});
|
|
1544
|
+
}
|
|
1545
|
+
/**
|
|
1546
|
+
* Convert data into a blueprint, validate it and apply it
|
|
1547
|
+
*/
|
|
1548
|
+
coreTransactionalApplicationsUpdate(requestParameters, initOverrides) {
|
|
1549
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1550
|
+
const response = yield this.coreTransactionalApplicationsUpdateRaw(requestParameters, initOverrides);
|
|
1551
|
+
return yield response.value();
|
|
1552
|
+
});
|
|
1553
|
+
}
|
|
1521
1554
|
/**
|
|
1522
1555
|
* UserConsent Viewset
|
|
1523
1556
|
*/
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.8.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { LDAPProviderRequest } from './LDAPProviderRequest';
|
|
13
|
+
import { OAuth2ProviderRequest } from './OAuth2ProviderRequest';
|
|
14
|
+
import { ProxyProviderRequest } from './ProxyProviderRequest';
|
|
15
|
+
import { RadiusProviderRequest } from './RadiusProviderRequest';
|
|
16
|
+
import { SAMLProviderRequest } from './SAMLProviderRequest';
|
|
17
|
+
import { SCIMProviderRequest } from './SCIMProviderRequest';
|
|
18
|
+
/**
|
|
19
|
+
* @type ModelRequest
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export type ModelRequest = {
|
|
24
|
+
providerModel: 'authentik_providers_ldap.ldapprovider';
|
|
25
|
+
} & LDAPProviderRequest | {
|
|
26
|
+
providerModel: 'authentik_providers_oauth2.oauth2provider';
|
|
27
|
+
} & OAuth2ProviderRequest | {
|
|
28
|
+
providerModel: 'authentik_providers_proxy.proxyprovider';
|
|
29
|
+
} & ProxyProviderRequest | {
|
|
30
|
+
providerModel: 'authentik_providers_radius.radiusprovider';
|
|
31
|
+
} & RadiusProviderRequest | {
|
|
32
|
+
providerModel: 'authentik_providers_saml.samlprovider';
|
|
33
|
+
} & SAMLProviderRequest | {
|
|
34
|
+
providerModel: 'authentik_providers_scim.scimprovider';
|
|
35
|
+
} & SCIMProviderRequest;
|
|
36
|
+
export declare function ModelRequestFromJSON(json: any): ModelRequest;
|
|
37
|
+
export declare function ModelRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelRequest;
|
|
38
|
+
export declare function ModelRequestToJSON(value?: ModelRequest | null): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.8.3
|
|
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
|
+
import { LDAPProviderRequestFromJSONTyped, LDAPProviderRequestToJSON, } from './LDAPProviderRequest';
|
|
15
|
+
import { OAuth2ProviderRequestFromJSONTyped, OAuth2ProviderRequestToJSON, } from './OAuth2ProviderRequest';
|
|
16
|
+
import { ProxyProviderRequestFromJSONTyped, ProxyProviderRequestToJSON, } from './ProxyProviderRequest';
|
|
17
|
+
import { RadiusProviderRequestFromJSONTyped, RadiusProviderRequestToJSON, } from './RadiusProviderRequest';
|
|
18
|
+
import { SAMLProviderRequestFromJSONTyped, SAMLProviderRequestToJSON, } from './SAMLProviderRequest';
|
|
19
|
+
import { SCIMProviderRequestFromJSONTyped, SCIMProviderRequestToJSON, } from './SCIMProviderRequest';
|
|
20
|
+
export function ModelRequestFromJSON(json) {
|
|
21
|
+
return ModelRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ModelRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if ((json === undefined) || (json === null)) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
switch (json['providerModel']) {
|
|
28
|
+
case 'authentik_providers_ldap.ldapprovider':
|
|
29
|
+
return Object.assign(Object.assign({}, LDAPProviderRequestFromJSONTyped(json, true)), { providerModel: 'authentik_providers_ldap.ldapprovider' });
|
|
30
|
+
case 'authentik_providers_oauth2.oauth2provider':
|
|
31
|
+
return Object.assign(Object.assign({}, OAuth2ProviderRequestFromJSONTyped(json, true)), { providerModel: 'authentik_providers_oauth2.oauth2provider' });
|
|
32
|
+
case 'authentik_providers_proxy.proxyprovider':
|
|
33
|
+
return Object.assign(Object.assign({}, ProxyProviderRequestFromJSONTyped(json, true)), { providerModel: 'authentik_providers_proxy.proxyprovider' });
|
|
34
|
+
case 'authentik_providers_radius.radiusprovider':
|
|
35
|
+
return Object.assign(Object.assign({}, RadiusProviderRequestFromJSONTyped(json, true)), { providerModel: 'authentik_providers_radius.radiusprovider' });
|
|
36
|
+
case 'authentik_providers_saml.samlprovider':
|
|
37
|
+
return Object.assign(Object.assign({}, SAMLProviderRequestFromJSONTyped(json, true)), { providerModel: 'authentik_providers_saml.samlprovider' });
|
|
38
|
+
case 'authentik_providers_scim.scimprovider':
|
|
39
|
+
return Object.assign(Object.assign({}, SCIMProviderRequestFromJSONTyped(json, true)), { providerModel: 'authentik_providers_scim.scimprovider' });
|
|
40
|
+
default:
|
|
41
|
+
throw new Error(`No variant of ModelRequest exists with 'providerModel=${json['providerModel']}'`);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export function ModelRequestToJSON(value) {
|
|
45
|
+
if (value === undefined) {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
if (value === null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
switch (value['providerModel']) {
|
|
52
|
+
case 'authentik_providers_ldap.ldapprovider':
|
|
53
|
+
return LDAPProviderRequestToJSON(value);
|
|
54
|
+
case 'authentik_providers_oauth2.oauth2provider':
|
|
55
|
+
return OAuth2ProviderRequestToJSON(value);
|
|
56
|
+
case 'authentik_providers_proxy.proxyprovider':
|
|
57
|
+
return ProxyProviderRequestToJSON(value);
|
|
58
|
+
case 'authentik_providers_radius.radiusprovider':
|
|
59
|
+
return RadiusProviderRequestToJSON(value);
|
|
60
|
+
case 'authentik_providers_saml.samlprovider':
|
|
61
|
+
return SAMLProviderRequestToJSON(value);
|
|
62
|
+
case 'authentik_providers_scim.scimprovider':
|
|
63
|
+
return SCIMProviderRequestToJSON(value);
|
|
64
|
+
default:
|
|
65
|
+
throw new Error(`No variant of ModelRequest exists with 'providerModel=${value['providerModel']}'`);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -63,6 +63,12 @@ export interface PatchedPolicyBindingRequest {
|
|
|
63
63
|
* @memberof PatchedPolicyBindingRequest
|
|
64
64
|
*/
|
|
65
65
|
timeout?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Result if the Policy execution fails.
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof PatchedPolicyBindingRequest
|
|
70
|
+
*/
|
|
71
|
+
failureResult?: boolean;
|
|
66
72
|
}
|
|
67
73
|
/**
|
|
68
74
|
* Check if a given object implements the PatchedPolicyBindingRequest interface.
|
|
@@ -35,6 +35,7 @@ export function PatchedPolicyBindingRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
35
35
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
36
36
|
'order': !exists(json, 'order') ? undefined : json['order'],
|
|
37
37
|
'timeout': !exists(json, 'timeout') ? undefined : json['timeout'],
|
|
38
|
+
'failureResult': !exists(json, 'failure_result') ? undefined : json['failure_result'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
export function PatchedPolicyBindingRequestToJSON(value) {
|
|
@@ -53,5 +54,6 @@ export function PatchedPolicyBindingRequestToJSON(value) {
|
|
|
53
54
|
'enabled': value.enabled,
|
|
54
55
|
'order': value.order,
|
|
55
56
|
'timeout': value.timeout,
|
|
57
|
+
'failure_result': value.failureResult,
|
|
56
58
|
};
|
|
57
59
|
}
|
|
@@ -90,6 +90,12 @@ export interface PolicyBinding {
|
|
|
90
90
|
* @memberof PolicyBinding
|
|
91
91
|
*/
|
|
92
92
|
timeout?: number;
|
|
93
|
+
/**
|
|
94
|
+
* Result if the Policy execution fails.
|
|
95
|
+
* @type {boolean}
|
|
96
|
+
* @memberof PolicyBinding
|
|
97
|
+
*/
|
|
98
|
+
failureResult?: boolean;
|
|
93
99
|
}
|
|
94
100
|
/**
|
|
95
101
|
* Check if a given object implements the PolicyBinding interface.
|
|
@@ -48,6 +48,7 @@ export function PolicyBindingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
48
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
49
49
|
'order': json['order'],
|
|
50
50
|
'timeout': !exists(json, 'timeout') ? undefined : json['timeout'],
|
|
51
|
+
'failureResult': !exists(json, 'failure_result') ? undefined : json['failure_result'],
|
|
51
52
|
};
|
|
52
53
|
}
|
|
53
54
|
export function PolicyBindingToJSON(value) {
|
|
@@ -66,5 +67,6 @@ export function PolicyBindingToJSON(value) {
|
|
|
66
67
|
'enabled': value.enabled,
|
|
67
68
|
'order': value.order,
|
|
68
69
|
'timeout': value.timeout,
|
|
70
|
+
'failure_result': value.failureResult,
|
|
69
71
|
};
|
|
70
72
|
}
|
|
@@ -63,6 +63,12 @@ export interface PolicyBindingRequest {
|
|
|
63
63
|
* @memberof PolicyBindingRequest
|
|
64
64
|
*/
|
|
65
65
|
timeout?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Result if the Policy execution fails.
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof PolicyBindingRequest
|
|
70
|
+
*/
|
|
71
|
+
failureResult?: boolean;
|
|
66
72
|
}
|
|
67
73
|
/**
|
|
68
74
|
* Check if a given object implements the PolicyBindingRequest interface.
|
|
@@ -37,6 +37,7 @@ export function PolicyBindingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
38
38
|
'order': json['order'],
|
|
39
39
|
'timeout': !exists(json, 'timeout') ? undefined : json['timeout'],
|
|
40
|
+
'failureResult': !exists(json, 'failure_result') ? undefined : json['failure_result'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
export function PolicyBindingRequestToJSON(value) {
|
|
@@ -55,5 +56,6 @@ export function PolicyBindingRequestToJSON(value) {
|
|
|
55
56
|
'enabled': value.enabled,
|
|
56
57
|
'order': value.order,
|
|
57
58
|
'timeout': value.timeout,
|
|
59
|
+
'failure_result': value.failureResult,
|
|
58
60
|
};
|
|
59
61
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.8.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* * `authentik_providers_ldap.ldapprovider` - authentik_providers_ldap.ldapprovider
|
|
14
|
+
* * `authentik_providers_oauth2.oauth2provider` - authentik_providers_oauth2.oauth2provider
|
|
15
|
+
* * `authentik_providers_proxy.proxyprovider` - authentik_providers_proxy.proxyprovider
|
|
16
|
+
* * `authentik_providers_radius.radiusprovider` - authentik_providers_radius.radiusprovider
|
|
17
|
+
* * `authentik_providers_saml.samlprovider` - authentik_providers_saml.samlprovider
|
|
18
|
+
* * `authentik_providers_scim.scimprovider` - authentik_providers_scim.scimprovider
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const ProviderModelEnum: {
|
|
22
|
+
readonly LdapLdapprovider: "authentik_providers_ldap.ldapprovider";
|
|
23
|
+
readonly Oauth2Oauth2provider: "authentik_providers_oauth2.oauth2provider";
|
|
24
|
+
readonly ProxyProxyprovider: "authentik_providers_proxy.proxyprovider";
|
|
25
|
+
readonly RadiusRadiusprovider: "authentik_providers_radius.radiusprovider";
|
|
26
|
+
readonly SamlSamlprovider: "authentik_providers_saml.samlprovider";
|
|
27
|
+
readonly ScimScimprovider: "authentik_providers_scim.scimprovider";
|
|
28
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
29
|
+
};
|
|
30
|
+
export type ProviderModelEnum = typeof ProviderModelEnum[keyof typeof ProviderModelEnum];
|
|
31
|
+
export declare function ProviderModelEnumFromJSON(json: any): ProviderModelEnum;
|
|
32
|
+
export declare function ProviderModelEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderModelEnum;
|
|
33
|
+
export declare function ProviderModelEnumToJSON(value?: ProviderModelEnum | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.8.3
|
|
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
|
+
* * `authentik_providers_ldap.ldapprovider` - authentik_providers_ldap.ldapprovider
|
|
16
|
+
* * `authentik_providers_oauth2.oauth2provider` - authentik_providers_oauth2.oauth2provider
|
|
17
|
+
* * `authentik_providers_proxy.proxyprovider` - authentik_providers_proxy.proxyprovider
|
|
18
|
+
* * `authentik_providers_radius.radiusprovider` - authentik_providers_radius.radiusprovider
|
|
19
|
+
* * `authentik_providers_saml.samlprovider` - authentik_providers_saml.samlprovider
|
|
20
|
+
* * `authentik_providers_scim.scimprovider` - authentik_providers_scim.scimprovider
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export const ProviderModelEnum = {
|
|
24
|
+
LdapLdapprovider: 'authentik_providers_ldap.ldapprovider',
|
|
25
|
+
Oauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
|
|
26
|
+
ProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
|
|
27
|
+
RadiusRadiusprovider: 'authentik_providers_radius.radiusprovider',
|
|
28
|
+
SamlSamlprovider: 'authentik_providers_saml.samlprovider',
|
|
29
|
+
ScimScimprovider: 'authentik_providers_scim.scimprovider',
|
|
30
|
+
UnknownDefaultOpenApi: '11184809'
|
|
31
|
+
};
|
|
32
|
+
export function ProviderModelEnumFromJSON(json) {
|
|
33
|
+
return ProviderModelEnumFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ProviderModelEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
export function ProviderModelEnumToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.8.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApplicationRequest } from './ApplicationRequest';
|
|
13
|
+
import type { ModelRequest } from './ModelRequest';
|
|
14
|
+
import type { ProviderModelEnum } from './ProviderModelEnum';
|
|
15
|
+
/**
|
|
16
|
+
* Serializer for creating a provider and an application in one transaction
|
|
17
|
+
* @export
|
|
18
|
+
* @interface TransactionApplicationRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface TransactionApplicationRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {ApplicationRequest}
|
|
24
|
+
* @memberof TransactionApplicationRequest
|
|
25
|
+
*/
|
|
26
|
+
app: ApplicationRequest;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {ProviderModelEnum}
|
|
30
|
+
* @memberof TransactionApplicationRequest
|
|
31
|
+
*/
|
|
32
|
+
providerModel: ProviderModelEnum;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {ModelRequest}
|
|
36
|
+
* @memberof TransactionApplicationRequest
|
|
37
|
+
*/
|
|
38
|
+
provider: ModelRequest;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the TransactionApplicationRequest interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfTransactionApplicationRequest(value: object): boolean;
|
|
44
|
+
export declare function TransactionApplicationRequestFromJSON(json: any): TransactionApplicationRequest;
|
|
45
|
+
export declare function TransactionApplicationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionApplicationRequest;
|
|
46
|
+
export declare function TransactionApplicationRequestToJSON(value?: TransactionApplicationRequest | null): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.8.3
|
|
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
|
+
import { ApplicationRequestFromJSON, ApplicationRequestToJSON, } from './ApplicationRequest';
|
|
15
|
+
import { ModelRequestFromJSON, ModelRequestToJSON, } from './ModelRequest';
|
|
16
|
+
import { ProviderModelEnumFromJSON, ProviderModelEnumToJSON, } from './ProviderModelEnum';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the TransactionApplicationRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfTransactionApplicationRequest(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "app" in value;
|
|
23
|
+
isInstance = isInstance && "providerModel" in value;
|
|
24
|
+
isInstance = isInstance && "provider" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
export function TransactionApplicationRequestFromJSON(json) {
|
|
28
|
+
return TransactionApplicationRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function TransactionApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'app': ApplicationRequestFromJSON(json['app']),
|
|
36
|
+
'providerModel': ProviderModelEnumFromJSON(json['provider_model']),
|
|
37
|
+
'provider': ModelRequestFromJSON(json['provider']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function TransactionApplicationRequestToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'app': ApplicationRequestToJSON(value.app),
|
|
49
|
+
'provider_model': ProviderModelEnumToJSON(value.providerModel),
|
|
50
|
+
'provider': ModelRequestToJSON(value.provider),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.8.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Transactional creation response
|
|
14
|
+
* @export
|
|
15
|
+
* @interface TransactionApplicationResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface TransactionApplicationResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof TransactionApplicationResponse
|
|
22
|
+
*/
|
|
23
|
+
applied: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof TransactionApplicationResponse
|
|
28
|
+
*/
|
|
29
|
+
logs: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the TransactionApplicationResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfTransactionApplicationResponse(value: object): boolean;
|
|
35
|
+
export declare function TransactionApplicationResponseFromJSON(json: any): TransactionApplicationResponse;
|
|
36
|
+
export declare function TransactionApplicationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionApplicationResponse;
|
|
37
|
+
export declare function TransactionApplicationResponseToJSON(value?: TransactionApplicationResponse | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.8.3
|
|
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
|
+
* Check if a given object implements the TransactionApplicationResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfTransactionApplicationResponse(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "applied" in value;
|
|
20
|
+
isInstance = isInstance && "logs" in value;
|
|
21
|
+
return isInstance;
|
|
22
|
+
}
|
|
23
|
+
export function TransactionApplicationResponseFromJSON(json) {
|
|
24
|
+
return TransactionApplicationResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function TransactionApplicationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'applied': json['applied'],
|
|
32
|
+
'logs': json['logs'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function TransactionApplicationResponseToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'applied': value.applied,
|
|
44
|
+
'logs': value.logs,
|
|
45
|
+
};
|
|
46
|
+
}
|