@sovity.de/edc-client 3.3.0 → 4.0.1
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/EdcClient.d.ts +1 -2
- package/dist/generated/apis/UIApi.d.ts +12 -1
- package/dist/generated/apis/UseCaseApi.d.ts +12 -1
- package/dist/generated/apis/index.d.ts +0 -1
- package/dist/generated/models/AssetEntryDto.d.ts +28 -0
- package/dist/generated/models/AssetRequestDto.d.ts +28 -0
- package/dist/generated/models/AtomicConstraintDto.d.ts +45 -0
- package/dist/generated/models/ContractAgreementTransferRequest.d.ts +41 -0
- package/dist/generated/models/ContractAgreementTransferRequestParams.d.ts +36 -0
- package/dist/generated/models/ContractDefinitionRequestDto.d.ts +45 -0
- package/dist/generated/models/CreateOfferingDto.d.ts +35 -0
- package/dist/generated/models/CriterionDto.d.ts +32 -0
- package/dist/generated/models/DataAddressDto.d.ts +22 -0
- package/dist/generated/models/ExpressionDto.d.ts +61 -0
- package/dist/generated/models/IdResponseDto.d.ts +26 -0
- package/dist/generated/models/PermissionDto.d.ts +21 -0
- package/dist/generated/models/PolicyDefinitionRequestDto.d.ts +27 -0
- package/dist/generated/models/PolicyDto.d.ts +9 -2
- package/dist/generated/models/index.d.ts +13 -15
- package/dist/sovity-edc-client.js +537 -645
- package/dist/sovity-edc-client.js.map +1 -1
- package/dist/sovity-edc-client.umd.cjs +1 -1
- package/dist/sovity-edc-client.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/dist/generated/apis/BrokerServerApi.d.ts +0 -40
- package/dist/generated/models/CatalogPageQuery.d.ts +0 -48
- package/dist/generated/models/CatalogPageResult.d.ts +0 -42
- package/dist/generated/models/CatalogPageSortingItem.d.ts +0 -35
- package/dist/generated/models/CnfFilter.d.ts +0 -21
- package/dist/generated/models/CnfFilterAttribute.d.ts +0 -33
- package/dist/generated/models/CnfFilterItem.d.ts +0 -26
- package/dist/generated/models/CnfFilterValue.d.ts +0 -21
- package/dist/generated/models/CnfFilterValueAttribute.d.ts +0 -26
- package/dist/generated/models/ConnectorListEntry.d.ts +0 -64
- package/dist/generated/models/ConnectorPageQuery.d.ts +0 -40
- package/dist/generated/models/ConnectorPageResult.d.ts +0 -35
- package/dist/generated/models/ConnectorPageSortingItem.d.ts +0 -34
- package/dist/generated/models/DataOfferListEntry.d.ts +0 -73
- package/dist/generated/models/DataOfferListEntryContractOffer.d.ts +0 -39
- package/dist/generated/models/PaginationMetadata.d.ts +0 -38
package/dist/EdcClient.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ConfigurationParameters, EnterpriseEditionApi, UIApi, UseCaseApi } from './generated';
|
|
2
2
|
/**
|
|
3
3
|
* API Client for our sovity EDC
|
|
4
4
|
*/
|
|
@@ -6,7 +6,6 @@ export interface EdcClient {
|
|
|
6
6
|
uiApi: UIApi;
|
|
7
7
|
useCaseApi: UseCaseApi;
|
|
8
8
|
enterpriseEditionApi: EnterpriseEditionApi;
|
|
9
|
-
brokerServerApi: BrokerServerApi;
|
|
10
9
|
}
|
|
11
10
|
/**
|
|
12
11
|
* Configure & Build new EDC Client
|
|
@@ -9,8 +9,11 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { ContractAgreementPage, TransferHistoryPage } from '../models';
|
|
12
|
+
import type { ContractAgreementPage, ContractAgreementTransferRequest, IdResponseDto, TransferHistoryPage } from '../models';
|
|
13
13
|
import * as runtime from '../runtime';
|
|
14
|
+
export interface InitiateTransferRequest {
|
|
15
|
+
contractAgreementTransferRequest?: ContractAgreementTransferRequest;
|
|
16
|
+
}
|
|
14
17
|
/**
|
|
15
18
|
*
|
|
16
19
|
*/
|
|
@@ -23,6 +26,14 @@ export declare class UIApi extends runtime.BaseAPI {
|
|
|
23
26
|
* Collect all data for Contract Agreement Page
|
|
24
27
|
*/
|
|
25
28
|
contractAgreementEndpoint(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContractAgreementPage>;
|
|
29
|
+
/**
|
|
30
|
+
* Initiate a Transfer Process
|
|
31
|
+
*/
|
|
32
|
+
initiateTransferRaw(requestParameters: InitiateTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponseDto>>;
|
|
33
|
+
/**
|
|
34
|
+
* Initiate a Transfer Process
|
|
35
|
+
*/
|
|
36
|
+
initiateTransfer(requestParameters?: InitiateTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
|
|
26
37
|
/**
|
|
27
38
|
*/
|
|
28
39
|
transferHistoryPageEndpointRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TransferHistoryPage>>;
|
|
@@ -9,12 +9,23 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { KpiResult } from '../models';
|
|
12
|
+
import type { CreateOfferingDto, KpiResult } from '../models';
|
|
13
13
|
import * as runtime from '../runtime';
|
|
14
|
+
export interface CreateOfferEndpointRequest {
|
|
15
|
+
createOfferingDto?: CreateOfferingDto;
|
|
16
|
+
}
|
|
14
17
|
/**
|
|
15
18
|
*
|
|
16
19
|
*/
|
|
17
20
|
export declare class UseCaseApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Creates an offer
|
|
23
|
+
*/
|
|
24
|
+
createOfferEndpointRaw(requestParameters: CreateOfferEndpointRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
25
|
+
/**
|
|
26
|
+
* Creates an offer
|
|
27
|
+
*/
|
|
28
|
+
createOfferEndpoint(requestParameters?: CreateOfferEndpointRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
18
29
|
/**
|
|
19
30
|
* List available functions in policies, prohibitions and obligations.
|
|
20
31
|
*/
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { AssetRequestDto } from './AssetRequestDto';
|
|
2
|
+
import type { DataAddressDto } from './DataAddressDto';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @interface AssetEntryDto
|
|
7
|
+
*/
|
|
8
|
+
export interface AssetEntryDto {
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @type {AssetRequestDto}
|
|
12
|
+
* @memberof AssetEntryDto
|
|
13
|
+
*/
|
|
14
|
+
asset: AssetRequestDto;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @type {DataAddressDto}
|
|
18
|
+
* @memberof AssetEntryDto
|
|
19
|
+
*/
|
|
20
|
+
dataAddress: DataAddressDto;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AssetEntryDto interface.
|
|
24
|
+
*/
|
|
25
|
+
export declare function instanceOfAssetEntryDto(value: object): boolean;
|
|
26
|
+
export declare function AssetEntryDtoFromJSON(json: any): AssetEntryDto;
|
|
27
|
+
export declare function AssetEntryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetEntryDto;
|
|
28
|
+
export declare function AssetEntryDtoToJSON(value?: AssetEntryDto | null): any;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @export
|
|
4
|
+
* @interface AssetRequestDto
|
|
5
|
+
*/
|
|
6
|
+
export interface AssetRequestDto {
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof AssetRequestDto
|
|
11
|
+
*/
|
|
12
|
+
id?: string;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @type {{ [key: string]: object; }}
|
|
16
|
+
* @memberof AssetRequestDto
|
|
17
|
+
*/
|
|
18
|
+
properties: {
|
|
19
|
+
[key: string]: object;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AssetRequestDto interface.
|
|
24
|
+
*/
|
|
25
|
+
export declare function instanceOfAssetRequestDto(value: object): boolean;
|
|
26
|
+
export declare function AssetRequestDtoFromJSON(json: any): AssetRequestDto;
|
|
27
|
+
export declare function AssetRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetRequestDto;
|
|
28
|
+
export declare function AssetRequestDtoToJSON(value?: AssetRequestDto | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type-Safe OpenAPI generator friendly Constraint DTO that supports an opinionated subset of the original EDC Constraint Entity.
|
|
3
|
+
* @export
|
|
4
|
+
* @interface AtomicConstraintDto
|
|
5
|
+
*/
|
|
6
|
+
export interface AtomicConstraintDto {
|
|
7
|
+
/**
|
|
8
|
+
* Left part of the constraint.
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof AtomicConstraintDto
|
|
11
|
+
*/
|
|
12
|
+
leftExpression: string;
|
|
13
|
+
/**
|
|
14
|
+
* Operator for constraints
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof AtomicConstraintDto
|
|
17
|
+
*/
|
|
18
|
+
operator: AtomicConstraintDtoOperatorEnum;
|
|
19
|
+
/**
|
|
20
|
+
* Right part of the constraint.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AtomicConstraintDto
|
|
23
|
+
*/
|
|
24
|
+
rightExpression: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
export declare const AtomicConstraintDtoOperatorEnum: {
|
|
30
|
+
readonly Eq: "EQ";
|
|
31
|
+
readonly Neq: "NEQ";
|
|
32
|
+
readonly Gt: "GT";
|
|
33
|
+
readonly Geq: "GEQ";
|
|
34
|
+
readonly Lt: "LT";
|
|
35
|
+
readonly Leq: "LEQ";
|
|
36
|
+
readonly In: "IN";
|
|
37
|
+
};
|
|
38
|
+
export type AtomicConstraintDtoOperatorEnum = (typeof AtomicConstraintDtoOperatorEnum)[keyof typeof AtomicConstraintDtoOperatorEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the AtomicConstraintDto interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfAtomicConstraintDto(value: object): boolean;
|
|
43
|
+
export declare function AtomicConstraintDtoFromJSON(json: any): AtomicConstraintDto;
|
|
44
|
+
export declare function AtomicConstraintDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AtomicConstraintDto;
|
|
45
|
+
export declare function AtomicConstraintDtoToJSON(value?: AtomicConstraintDto | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { ContractAgreementTransferRequestParams } from './ContractAgreementTransferRequestParams';
|
|
2
|
+
/**
|
|
3
|
+
* Required data for starting a Contract Agreement's Transfer Process
|
|
4
|
+
* @export
|
|
5
|
+
* @interface ContractAgreementTransferRequest
|
|
6
|
+
*/
|
|
7
|
+
export interface ContractAgreementTransferRequest {
|
|
8
|
+
/**
|
|
9
|
+
* Type of Transfer Request
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof ContractAgreementTransferRequest
|
|
12
|
+
*/
|
|
13
|
+
type: ContractAgreementTransferRequestTypeEnum;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @type {ContractAgreementTransferRequestParams}
|
|
17
|
+
* @memberof ContractAgreementTransferRequest
|
|
18
|
+
*/
|
|
19
|
+
params?: ContractAgreementTransferRequestParams;
|
|
20
|
+
/**
|
|
21
|
+
* For type CUSTOM_JSON: Custom Transfer Process Create Dto JSON
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ContractAgreementTransferRequest
|
|
24
|
+
*/
|
|
25
|
+
customJson?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
export declare const ContractAgreementTransferRequestTypeEnum: {
|
|
31
|
+
readonly ParamsOnly: "PARAMS_ONLY";
|
|
32
|
+
readonly CustomJson: "CUSTOM_JSON";
|
|
33
|
+
};
|
|
34
|
+
export type ContractAgreementTransferRequestTypeEnum = (typeof ContractAgreementTransferRequestTypeEnum)[keyof typeof ContractAgreementTransferRequestTypeEnum];
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the ContractAgreementTransferRequest interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfContractAgreementTransferRequest(value: object): boolean;
|
|
39
|
+
export declare function ContractAgreementTransferRequestFromJSON(json: any): ContractAgreementTransferRequest;
|
|
40
|
+
export declare function ContractAgreementTransferRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractAgreementTransferRequest;
|
|
41
|
+
export declare function ContractAgreementTransferRequestToJSON(value?: ContractAgreementTransferRequest | null): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* For type PARAMS_ONLY: Required data for starting a Transfer Process
|
|
3
|
+
* @export
|
|
4
|
+
* @interface ContractAgreementTransferRequestParams
|
|
5
|
+
*/
|
|
6
|
+
export interface ContractAgreementTransferRequestParams {
|
|
7
|
+
/**
|
|
8
|
+
* Contract Agreement ID
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof ContractAgreementTransferRequestParams
|
|
11
|
+
*/
|
|
12
|
+
contractAgreementId: string;
|
|
13
|
+
/**
|
|
14
|
+
* Data Sink / Data Address
|
|
15
|
+
* @type {{ [key: string]: string; }}
|
|
16
|
+
* @memberof ContractAgreementTransferRequestParams
|
|
17
|
+
*/
|
|
18
|
+
dataSinkProperties: {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Additional properties to add to the transfer process, e.g. for parameterized HTTP Data Sources.
|
|
23
|
+
* @type {{ [key: string]: string; }}
|
|
24
|
+
* @memberof ContractAgreementTransferRequestParams
|
|
25
|
+
*/
|
|
26
|
+
properties: {
|
|
27
|
+
[key: string]: string;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ContractAgreementTransferRequestParams interface.
|
|
32
|
+
*/
|
|
33
|
+
export declare function instanceOfContractAgreementTransferRequestParams(value: object): boolean;
|
|
34
|
+
export declare function ContractAgreementTransferRequestParamsFromJSON(json: any): ContractAgreementTransferRequestParams;
|
|
35
|
+
export declare function ContractAgreementTransferRequestParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractAgreementTransferRequestParams;
|
|
36
|
+
export declare function ContractAgreementTransferRequestParamsToJSON(value?: ContractAgreementTransferRequestParams | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { CriterionDto } from './CriterionDto';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @export
|
|
5
|
+
* @interface ContractDefinitionRequestDto
|
|
6
|
+
*/
|
|
7
|
+
export interface ContractDefinitionRequestDto {
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof ContractDefinitionRequestDto
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof ContractDefinitionRequestDto
|
|
18
|
+
*/
|
|
19
|
+
accessPolicyId: string;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ContractDefinitionRequestDto
|
|
24
|
+
*/
|
|
25
|
+
contractPolicyId: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<CriterionDto>}
|
|
29
|
+
* @memberof ContractDefinitionRequestDto
|
|
30
|
+
*/
|
|
31
|
+
criteria: Array<CriterionDto>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof ContractDefinitionRequestDto
|
|
36
|
+
*/
|
|
37
|
+
validity?: number;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the ContractDefinitionRequestDto interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfContractDefinitionRequestDto(value: object): boolean;
|
|
43
|
+
export declare function ContractDefinitionRequestDtoFromJSON(json: any): ContractDefinitionRequestDto;
|
|
44
|
+
export declare function ContractDefinitionRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractDefinitionRequestDto;
|
|
45
|
+
export declare function ContractDefinitionRequestDtoToJSON(value?: ContractDefinitionRequestDto | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { AssetEntryDto } from './AssetEntryDto';
|
|
2
|
+
import type { ContractDefinitionRequestDto } from './ContractDefinitionRequestDto';
|
|
3
|
+
import type { PolicyDefinitionRequestDto } from './PolicyDefinitionRequestDto';
|
|
4
|
+
/**
|
|
5
|
+
* Necessary data for creating an offer
|
|
6
|
+
* @export
|
|
7
|
+
* @interface CreateOfferingDto
|
|
8
|
+
*/
|
|
9
|
+
export interface CreateOfferingDto {
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type {AssetEntryDto}
|
|
13
|
+
* @memberof CreateOfferingDto
|
|
14
|
+
*/
|
|
15
|
+
assetEntry?: AssetEntryDto;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @type {PolicyDefinitionRequestDto}
|
|
19
|
+
* @memberof CreateOfferingDto
|
|
20
|
+
*/
|
|
21
|
+
policyDefinitionRequest?: PolicyDefinitionRequestDto;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {ContractDefinitionRequestDto}
|
|
25
|
+
* @memberof CreateOfferingDto
|
|
26
|
+
*/
|
|
27
|
+
contractDefinitionRequest?: ContractDefinitionRequestDto;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the CreateOfferingDto interface.
|
|
31
|
+
*/
|
|
32
|
+
export declare function instanceOfCreateOfferingDto(value: object): boolean;
|
|
33
|
+
export declare function CreateOfferingDtoFromJSON(json: any): CreateOfferingDto;
|
|
34
|
+
export declare function CreateOfferingDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOfferingDto;
|
|
35
|
+
export declare function CreateOfferingDtoToJSON(value?: CreateOfferingDto | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @export
|
|
4
|
+
* @interface CriterionDto
|
|
5
|
+
*/
|
|
6
|
+
export interface CriterionDto {
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @type {object}
|
|
10
|
+
* @memberof CriterionDto
|
|
11
|
+
*/
|
|
12
|
+
operandLeft: object;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof CriterionDto
|
|
17
|
+
*/
|
|
18
|
+
operator: string;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {object}
|
|
22
|
+
* @memberof CriterionDto
|
|
23
|
+
*/
|
|
24
|
+
operandRight?: object;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the CriterionDto interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfCriterionDto(value: object): boolean;
|
|
30
|
+
export declare function CriterionDtoFromJSON(json: any): CriterionDto;
|
|
31
|
+
export declare function CriterionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CriterionDto;
|
|
32
|
+
export declare function CriterionDtoToJSON(value?: CriterionDto | null): any;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @export
|
|
4
|
+
* @interface DataAddressDto
|
|
5
|
+
*/
|
|
6
|
+
export interface DataAddressDto {
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @type {{ [key: string]: string; }}
|
|
10
|
+
* @memberof DataAddressDto
|
|
11
|
+
*/
|
|
12
|
+
properties: {
|
|
13
|
+
[key: string]: string;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the DataAddressDto interface.
|
|
18
|
+
*/
|
|
19
|
+
export declare function instanceOfDataAddressDto(value: object): boolean;
|
|
20
|
+
export declare function DataAddressDtoFromJSON(json: any): DataAddressDto;
|
|
21
|
+
export declare function DataAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataAddressDto;
|
|
22
|
+
export declare function DataAddressDtoToJSON(value?: DataAddressDto | null): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { AtomicConstraintDto } from './AtomicConstraintDto';
|
|
2
|
+
/**
|
|
3
|
+
* Possible constraints for the permission
|
|
4
|
+
* @export
|
|
5
|
+
* @interface ExpressionDto
|
|
6
|
+
*/
|
|
7
|
+
export interface ExpressionDto {
|
|
8
|
+
/**
|
|
9
|
+
* Expression types:
|
|
10
|
+
* * `EMPTY` - No constraints for the policy
|
|
11
|
+
* * `ATOMIC_CONSTRAINT` - A single constraint for the policy
|
|
12
|
+
* * `AND` - Several constraints, all of which must be respected
|
|
13
|
+
* * `OR` - Several constraints, of which at least one must be respected
|
|
14
|
+
* * `XOR` - Several constraints, of which exactly one must be respected
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof ExpressionDto
|
|
17
|
+
*/
|
|
18
|
+
type?: ExpressionDtoTypeEnum;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {AtomicConstraintDto}
|
|
22
|
+
* @memberof ExpressionDto
|
|
23
|
+
*/
|
|
24
|
+
atomicConstraint?: AtomicConstraintDto;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<ExpressionDto>}
|
|
28
|
+
* @memberof ExpressionDto
|
|
29
|
+
*/
|
|
30
|
+
and?: Array<ExpressionDto>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<ExpressionDto>}
|
|
34
|
+
* @memberof ExpressionDto
|
|
35
|
+
*/
|
|
36
|
+
or?: Array<ExpressionDto>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<ExpressionDto>}
|
|
40
|
+
* @memberof ExpressionDto
|
|
41
|
+
*/
|
|
42
|
+
xor?: Array<ExpressionDto>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const ExpressionDtoTypeEnum: {
|
|
48
|
+
readonly Empty: "EMPTY";
|
|
49
|
+
readonly AtomicConstraint: "ATOMIC_CONSTRAINT";
|
|
50
|
+
readonly And: "AND";
|
|
51
|
+
readonly Or: "OR";
|
|
52
|
+
readonly Xor: "XOR";
|
|
53
|
+
};
|
|
54
|
+
export type ExpressionDtoTypeEnum = (typeof ExpressionDtoTypeEnum)[keyof typeof ExpressionDtoTypeEnum];
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the ExpressionDto interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfExpressionDto(value: object): boolean;
|
|
59
|
+
export declare function ExpressionDtoFromJSON(json: any): ExpressionDto;
|
|
60
|
+
export declare function ExpressionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExpressionDto;
|
|
61
|
+
export declare function ExpressionDtoToJSON(value?: ExpressionDto | null): any;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @export
|
|
4
|
+
* @interface IdResponseDto
|
|
5
|
+
*/
|
|
6
|
+
export interface IdResponseDto {
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @type {number}
|
|
10
|
+
* @memberof IdResponseDto
|
|
11
|
+
*/
|
|
12
|
+
createdAt?: number;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof IdResponseDto
|
|
17
|
+
*/
|
|
18
|
+
id?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the IdResponseDto interface.
|
|
22
|
+
*/
|
|
23
|
+
export declare function instanceOfIdResponseDto(value: object): boolean;
|
|
24
|
+
export declare function IdResponseDtoFromJSON(json: any): IdResponseDto;
|
|
25
|
+
export declare function IdResponseDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdResponseDto;
|
|
26
|
+
export declare function IdResponseDtoToJSON(value?: IdResponseDto | null): any;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ExpressionDto } from './ExpressionDto';
|
|
2
|
+
/**
|
|
3
|
+
* Permission for this policy
|
|
4
|
+
* @export
|
|
5
|
+
* @interface PermissionDto
|
|
6
|
+
*/
|
|
7
|
+
export interface PermissionDto {
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @type {ExpressionDto}
|
|
11
|
+
* @memberof PermissionDto
|
|
12
|
+
*/
|
|
13
|
+
constraints: ExpressionDto;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PermissionDto interface.
|
|
17
|
+
*/
|
|
18
|
+
export declare function instanceOfPermissionDto(value: object): boolean;
|
|
19
|
+
export declare function PermissionDtoFromJSON(json: any): PermissionDto;
|
|
20
|
+
export declare function PermissionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionDto;
|
|
21
|
+
export declare function PermissionDtoToJSON(value?: PermissionDto | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { PolicyDto } from './PolicyDto';
|
|
2
|
+
/**
|
|
3
|
+
* Data for creating a policy definition request
|
|
4
|
+
* @export
|
|
5
|
+
* @interface PolicyDefinitionRequestDto
|
|
6
|
+
*/
|
|
7
|
+
export interface PolicyDefinitionRequestDto {
|
|
8
|
+
/**
|
|
9
|
+
* ID chosen by the user
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof PolicyDefinitionRequestDto
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @type {PolicyDto}
|
|
17
|
+
* @memberof PolicyDefinitionRequestDto
|
|
18
|
+
*/
|
|
19
|
+
policy: PolicyDto;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PolicyDefinitionRequestDto interface.
|
|
23
|
+
*/
|
|
24
|
+
export declare function instanceOfPolicyDefinitionRequestDto(value: object): boolean;
|
|
25
|
+
export declare function PolicyDefinitionRequestDtoFromJSON(json: any): PolicyDefinitionRequestDto;
|
|
26
|
+
export declare function PolicyDefinitionRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PolicyDefinitionRequestDto;
|
|
27
|
+
export declare function PolicyDefinitionRequestDtoToJSON(value?: PolicyDefinitionRequestDto | null): any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PermissionDto } from './PermissionDto';
|
|
1
2
|
/**
|
|
2
3
|
* Type-Safe OpenAPI generator friendly Policy DTO that supports an opinionated subset of the original EDC Policy Entity.
|
|
3
4
|
* @export
|
|
@@ -6,10 +7,16 @@
|
|
|
6
7
|
export interface PolicyDto {
|
|
7
8
|
/**
|
|
8
9
|
* Legacy JSON as built by the Management API. Will be replaced in the future by a type-safe variant without polymorphisms that can be used for our generated clients.
|
|
9
|
-
* @type {
|
|
10
|
+
* @type {string}
|
|
10
11
|
* @memberof PolicyDto
|
|
11
12
|
*/
|
|
12
|
-
legacyPolicy
|
|
13
|
+
legacyPolicy?: string;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @type {PermissionDto}
|
|
17
|
+
* @memberof PolicyDto
|
|
18
|
+
*/
|
|
19
|
+
permission?: PermissionDto;
|
|
13
20
|
}
|
|
14
21
|
/**
|
|
15
22
|
* Check if a given object implements the PolicyDto interface.
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
export * from './AssetDto';
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './CnfFilter';
|
|
6
|
-
export * from './CnfFilterAttribute';
|
|
7
|
-
export * from './CnfFilterItem';
|
|
8
|
-
export * from './CnfFilterValue';
|
|
9
|
-
export * from './CnfFilterValueAttribute';
|
|
2
|
+
export * from './AssetEntryDto';
|
|
3
|
+
export * from './AssetRequestDto';
|
|
4
|
+
export * from './AtomicConstraintDto';
|
|
10
5
|
export * from './ConnectorLimits';
|
|
11
|
-
export * from './ConnectorListEntry';
|
|
12
|
-
export * from './ConnectorPageQuery';
|
|
13
|
-
export * from './ConnectorPageResult';
|
|
14
|
-
export * from './ConnectorPageSortingItem';
|
|
15
6
|
export * from './ContractAgreementCard';
|
|
16
7
|
export * from './ContractAgreementPage';
|
|
17
8
|
export * from './ContractAgreementTransferProcess';
|
|
18
|
-
export * from './
|
|
19
|
-
export * from './
|
|
9
|
+
export * from './ContractAgreementTransferRequest';
|
|
10
|
+
export * from './ContractAgreementTransferRequestParams';
|
|
11
|
+
export * from './ContractDefinitionRequestDto';
|
|
12
|
+
export * from './CreateOfferingDto';
|
|
13
|
+
export * from './CriterionDto';
|
|
14
|
+
export * from './DataAddressDto';
|
|
15
|
+
export * from './ExpressionDto';
|
|
16
|
+
export * from './IdResponseDto';
|
|
20
17
|
export * from './KpiResult';
|
|
21
|
-
export * from './
|
|
18
|
+
export * from './PermissionDto';
|
|
19
|
+
export * from './PolicyDefinitionRequestDto';
|
|
22
20
|
export * from './PolicyDto';
|
|
23
21
|
export * from './StoredFile';
|
|
24
22
|
export * from './TransferHistoryEntry';
|