@sovity.de/edc-client 3.0.1-1681718444756
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/README.md +31 -0
- package/dist/EdcClient.d.ts +8 -0
- package/dist/EdcClientOptions.d.ts +7 -0
- package/dist/buildEdcClient.d.ts +10 -0
- package/dist/generated/apis/ExampleApi.d.ts +29 -0
- package/dist/generated/apis/UIApi.d.ts +26 -0
- package/dist/generated/apis/UseCaseApi.d.ts +34 -0
- package/dist/generated/apis/index.d.ts +3 -0
- package/dist/generated/index.d.ts +3 -0
- package/dist/generated/models/Action.d.ts +44 -0
- package/dist/generated/models/AssetDto.d.ts +39 -0
- package/dist/generated/models/Constraint.d.ts +31 -0
- package/dist/generated/models/ContractAgreementDto.d.ts +59 -0
- package/dist/generated/models/ContractAgreementPage.d.ts +32 -0
- package/dist/generated/models/ContractNegotiationDto.d.ts +31 -0
- package/dist/generated/models/Duty.d.ts +76 -0
- package/dist/generated/models/ExampleItem.d.ts +31 -0
- package/dist/generated/models/ExampleQuery.d.ts +37 -0
- package/dist/generated/models/ExampleResult.d.ts +64 -0
- package/dist/generated/models/KpiResult.d.ts +56 -0
- package/dist/generated/models/Permission.d.ts +70 -0
- package/dist/generated/models/Policy.d.ts +93 -0
- package/dist/generated/models/Prohibition.d.ts +63 -0
- package/dist/generated/models/TransferProcessStatesDto.d.ts +41 -0
- package/dist/generated/models/TransferprocessDto.d.ts +31 -0
- package/dist/generated/models/index.d.ts +16 -0
- package/dist/generated/runtime.d.ts +182 -0
- package/dist/index.d.ts +4 -0
- package/dist/sovity-edc-client.js +798 -0
- package/dist/sovity-edc-client.js.map +1 -0
- package/dist/sovity-edc-client.umd.cjs +2 -0
- package/dist/sovity-edc-client.umd.cjs.map +1 -0
- package/package.json +50 -0
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<!-- PROJECT LOGO -->
|
|
2
|
+
<br />
|
|
3
|
+
<div align="center">
|
|
4
|
+
<a href="https://github.com/sovity/edc-extensions">
|
|
5
|
+
<img src="https://raw.githubusercontent.com/sovity/edc-ui/main/src/assets/images/sovity_logo.svg" alt="Logo" width="300">
|
|
6
|
+
</a>
|
|
7
|
+
|
|
8
|
+
<h3 align="center">EDC-Connector Extension:<br />API Wrapper & API Client:<br />TypeScript API Client</h3>
|
|
9
|
+
|
|
10
|
+
<p align="center">
|
|
11
|
+
<a href="https://github.com/sovity/edc-extensions/issues/new?template=bug_report.md">Report Bug</a>
|
|
12
|
+
·
|
|
13
|
+
<a href="https://github.com/sovity/edc-extensions/issues/new?template=feature_request.md">Request Feature</a>
|
|
14
|
+
</p>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
## About this component
|
|
18
|
+
|
|
19
|
+
TypeScript Client Library to be imported and used in arbitrary applications like frontends or nodejs projects.
|
|
20
|
+
|
|
21
|
+
## How to install
|
|
22
|
+
|
|
23
|
+
See `@sovity/edc-client` on [npm.pkg.github.com](https://github.com/sovity/edc-extensions/pkgs/npm/edc-client).
|
|
24
|
+
|
|
25
|
+
## License
|
|
26
|
+
|
|
27
|
+
Apache License 2.0 - see [LICENSE](../../LICENSE)
|
|
28
|
+
|
|
29
|
+
## Contact
|
|
30
|
+
|
|
31
|
+
sovity GmbH - contact@sovity.de
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EdcClientOptions } from "./EdcClientOptions";
|
|
2
|
+
import { ExampleApi, UseCaseApi } from "./generated";
|
|
3
|
+
/**
|
|
4
|
+
* Configure & Build new EDC Client
|
|
5
|
+
* @param opts opts
|
|
6
|
+
*/
|
|
7
|
+
export declare function buildEdcClient(opts: EdcClientOptions): {
|
|
8
|
+
exampleApi: ExampleApi;
|
|
9
|
+
useCaseApi: UseCaseApi;
|
|
10
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper KPI API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { ExampleQuery, ExampleResult } from '../models';
|
|
14
|
+
export interface ExampleEndpointRequest {
|
|
15
|
+
exampleQuery?: ExampleQuery;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class ExampleApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Dummy endpoint that showcases how to document with our OpenAPI Code Generation.
|
|
23
|
+
*/
|
|
24
|
+
exampleEndpointRaw(requestParameters: ExampleEndpointRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExampleResult>>;
|
|
25
|
+
/**
|
|
26
|
+
* Dummy endpoint that showcases how to document with our OpenAPI Code Generation.
|
|
27
|
+
*/
|
|
28
|
+
exampleEndpoint(requestParameters?: ExampleEndpointRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExampleResult>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper KPI API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { ContractAgreementPage } from '../models';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare class UIApi extends runtime.BaseAPI {
|
|
18
|
+
/**
|
|
19
|
+
* Collect all data for Contract Agreement Page
|
|
20
|
+
*/
|
|
21
|
+
contractAgreementEndpointRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContractAgreementPage>>;
|
|
22
|
+
/**
|
|
23
|
+
* Collect all data for Contract Agreement Page
|
|
24
|
+
*/
|
|
25
|
+
contractAgreementEndpoint(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContractAgreementPage>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper KPI API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { KpiResult } from '../models';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare class UseCaseApi extends runtime.BaseAPI {
|
|
18
|
+
/**
|
|
19
|
+
* List available functions in policies, prohibitions and obligations.
|
|
20
|
+
*/
|
|
21
|
+
getSupportedFunctionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<string>>>;
|
|
22
|
+
/**
|
|
23
|
+
* List available functions in policies, prohibitions and obligations.
|
|
24
|
+
*/
|
|
25
|
+
getSupportedFunctions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>>;
|
|
26
|
+
/**
|
|
27
|
+
* Basic KPIs about the running EDC Connector.
|
|
28
|
+
*/
|
|
29
|
+
kpiEndpointRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<KpiResult>>;
|
|
30
|
+
/**
|
|
31
|
+
* Basic KPIs about the running EDC Connector.
|
|
32
|
+
*/
|
|
33
|
+
kpiEndpoint(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<KpiResult>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper KPI API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
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 { Constraint } from './Constraint';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Action
|
|
17
|
+
*/
|
|
18
|
+
export interface Action {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Action
|
|
23
|
+
*/
|
|
24
|
+
type?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Action
|
|
29
|
+
*/
|
|
30
|
+
includedIn?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Constraint}
|
|
34
|
+
* @memberof Action
|
|
35
|
+
*/
|
|
36
|
+
constraint?: Constraint;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the Action interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfAction(value: object): boolean;
|
|
42
|
+
export declare function ActionFromJSON(json: any): Action;
|
|
43
|
+
export declare function ActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Action;
|
|
44
|
+
export declare function ActionToJSON(value?: Action | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper KPI API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
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
|
+
* AssetDto
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AssetDto
|
|
16
|
+
*/
|
|
17
|
+
export interface AssetDto {
|
|
18
|
+
/**
|
|
19
|
+
* ID of asset
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AssetDto
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Asset properties
|
|
26
|
+
* @type {{ [key: string]: string; }}
|
|
27
|
+
* @memberof AssetDto
|
|
28
|
+
*/
|
|
29
|
+
properties?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the AssetDto interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfAssetDto(value: object): boolean;
|
|
37
|
+
export declare function AssetDtoFromJSON(json: any): AssetDto;
|
|
38
|
+
export declare function AssetDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetDto;
|
|
39
|
+
export declare function AssetDtoToJSON(value?: AssetDto | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper KPI API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Constraint
|
|
16
|
+
*/
|
|
17
|
+
export interface Constraint {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Constraint
|
|
22
|
+
*/
|
|
23
|
+
edctype: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the Constraint interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfConstraint(value: object): boolean;
|
|
29
|
+
export declare function ConstraintFromJSON(json: any): Constraint;
|
|
30
|
+
export declare function ConstraintFromJSONTyped(json: any, ignoreDiscriminator: boolean): Constraint;
|
|
31
|
+
export declare function ConstraintToJSON(value?: Constraint | null): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper KPI API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
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 { AssetDto } from './AssetDto';
|
|
13
|
+
import type { ContractNegotiationDto } from './ContractNegotiationDto';
|
|
14
|
+
import type { Policy } from './Policy';
|
|
15
|
+
import type { TransferprocessDto } from './TransferprocessDto';
|
|
16
|
+
/**
|
|
17
|
+
* status-defining Contract-Agreements
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ContractAgreementDto
|
|
20
|
+
*/
|
|
21
|
+
export interface ContractAgreementDto {
|
|
22
|
+
/**
|
|
23
|
+
* Contract-Agreement Dto
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ContractAgreementDto
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {AssetDto}
|
|
31
|
+
* @memberof ContractAgreementDto
|
|
32
|
+
*/
|
|
33
|
+
asset?: AssetDto;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Policy}
|
|
37
|
+
* @memberof ContractAgreementDto
|
|
38
|
+
*/
|
|
39
|
+
policy?: Policy;
|
|
40
|
+
/**
|
|
41
|
+
* EDC Contract-Agreement contract negotiations
|
|
42
|
+
* @type {Array<ContractNegotiationDto>}
|
|
43
|
+
* @memberof ContractAgreementDto
|
|
44
|
+
*/
|
|
45
|
+
contractNegotiations?: Array<ContractNegotiationDto>;
|
|
46
|
+
/**
|
|
47
|
+
* EDC Contract-Agreement transfer processes
|
|
48
|
+
* @type {Array<TransferprocessDto>}
|
|
49
|
+
* @memberof ContractAgreementDto
|
|
50
|
+
*/
|
|
51
|
+
transferProcesses?: Array<TransferprocessDto>;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the ContractAgreementDto interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfContractAgreementDto(value: object): boolean;
|
|
57
|
+
export declare function ContractAgreementDtoFromJSON(json: any): ContractAgreementDto;
|
|
58
|
+
export declare function ContractAgreementDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractAgreementDto;
|
|
59
|
+
export declare function ContractAgreementDtoToJSON(value?: ContractAgreementDto | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper KPI API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
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 { ContractAgreementDto } from './ContractAgreementDto';
|
|
13
|
+
/**
|
|
14
|
+
* All data required for our UI's Contract Agreement Page.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ContractAgreementPage
|
|
17
|
+
*/
|
|
18
|
+
export interface ContractAgreementPage {
|
|
19
|
+
/**
|
|
20
|
+
* EDC Contract-Agreements
|
|
21
|
+
* @type {Array<ContractAgreementDto>}
|
|
22
|
+
* @memberof ContractAgreementPage
|
|
23
|
+
*/
|
|
24
|
+
contractAgreements?: Array<ContractAgreementDto>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ContractAgreementPage interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfContractAgreementPage(value: object): boolean;
|
|
30
|
+
export declare function ContractAgreementPageFromJSON(json: any): ContractAgreementPage;
|
|
31
|
+
export declare function ContractAgreementPageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractAgreementPage;
|
|
32
|
+
export declare function ContractAgreementPageToJSON(value?: ContractAgreementPage | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper KPI API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
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
|
+
* ContractNegotiationDto
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ContractNegotiationDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ContractNegotiationDto {
|
|
18
|
+
/**
|
|
19
|
+
* ID of contract negotiation
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ContractNegotiationDto
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ContractNegotiationDto interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfContractNegotiationDto(value: object): boolean;
|
|
29
|
+
export declare function ContractNegotiationDtoFromJSON(json: any): ContractNegotiationDto;
|
|
30
|
+
export declare function ContractNegotiationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractNegotiationDto;
|
|
31
|
+
export declare function ContractNegotiationDtoToJSON(value?: ContractNegotiationDto | null): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper KPI API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
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 { Action } from './Action';
|
|
13
|
+
import type { Constraint } from './Constraint';
|
|
14
|
+
import type { Permission } from './Permission';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface Duty
|
|
19
|
+
*/
|
|
20
|
+
export interface Duty {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof Duty
|
|
25
|
+
*/
|
|
26
|
+
uid?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof Duty
|
|
31
|
+
*/
|
|
32
|
+
target?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {Action}
|
|
36
|
+
* @memberof Duty
|
|
37
|
+
*/
|
|
38
|
+
action?: Action;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof Duty
|
|
43
|
+
*/
|
|
44
|
+
assignee?: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof Duty
|
|
49
|
+
*/
|
|
50
|
+
assigner?: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Array<Constraint>}
|
|
54
|
+
* @memberof Duty
|
|
55
|
+
*/
|
|
56
|
+
constraints?: Array<Constraint>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Permission}
|
|
60
|
+
* @memberof Duty
|
|
61
|
+
*/
|
|
62
|
+
parentPermission?: Permission;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {Duty}
|
|
66
|
+
* @memberof Duty
|
|
67
|
+
*/
|
|
68
|
+
consequence?: Duty;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the Duty interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfDuty(value: object): boolean;
|
|
74
|
+
export declare function DutyFromJSON(json: any): Duty;
|
|
75
|
+
export declare function DutyFromJSONTyped(json: any, ignoreDiscriminator: boolean): Duty;
|
|
76
|
+
export declare function DutyToJSON(value?: Duty | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper KPI API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
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
|
+
* Example nested object.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ExampleItem
|
|
16
|
+
*/
|
|
17
|
+
export interface ExampleItem {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExampleItem
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ExampleItem interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfExampleItem(value: object): boolean;
|
|
29
|
+
export declare function ExampleItemFromJSON(json: any): ExampleItem;
|
|
30
|
+
export declare function ExampleItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExampleItem;
|
|
31
|
+
export declare function ExampleItemToJSON(value?: ExampleItem | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper KPI API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
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
|
+
* This is the query of the example endpoint.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ExampleQuery
|
|
16
|
+
*/
|
|
17
|
+
export interface ExampleQuery {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExampleQuery
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof ExampleQuery
|
|
28
|
+
*/
|
|
29
|
+
myNestedList: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ExampleQuery interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfExampleQuery(value: object): boolean;
|
|
35
|
+
export declare function ExampleQueryFromJSON(json: any): ExampleQuery;
|
|
36
|
+
export declare function ExampleQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExampleQuery;
|
|
37
|
+
export declare function ExampleQueryToJSON(value?: ExampleQuery | null): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper KPI API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
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 { ExampleItem } from './ExampleItem';
|
|
13
|
+
/**
|
|
14
|
+
* This is the result of the example endpoint.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ExampleResult
|
|
17
|
+
*/
|
|
18
|
+
export interface ExampleResult {
|
|
19
|
+
/**
|
|
20
|
+
* Some name field
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ExampleResult
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ExampleItem}
|
|
28
|
+
* @memberof ExampleResult
|
|
29
|
+
*/
|
|
30
|
+
myNestedItem: ExampleItem;
|
|
31
|
+
/**
|
|
32
|
+
* Some array of nested objects
|
|
33
|
+
* @type {Array<ExampleItem>}
|
|
34
|
+
* @memberof ExampleResult
|
|
35
|
+
*/
|
|
36
|
+
myNestedList: Array<ExampleItem>;
|
|
37
|
+
/**
|
|
38
|
+
* Configured IDS Endpoint
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ExampleResult
|
|
41
|
+
*/
|
|
42
|
+
idsEndpoint: string;
|
|
43
|
+
/**
|
|
44
|
+
* Example enum to test enum documentation.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ExampleResult
|
|
47
|
+
*/
|
|
48
|
+
myEnum?: ExampleResultMyEnumEnum;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @export
|
|
52
|
+
*/
|
|
53
|
+
export declare const ExampleResultMyEnumEnum: {
|
|
54
|
+
readonly First: "FIRST";
|
|
55
|
+
readonly Second: "SECOND";
|
|
56
|
+
};
|
|
57
|
+
export type ExampleResultMyEnumEnum = typeof ExampleResultMyEnumEnum[keyof typeof ExampleResultMyEnumEnum];
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the ExampleResult interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfExampleResult(value: object): boolean;
|
|
62
|
+
export declare function ExampleResultFromJSON(json: any): ExampleResult;
|
|
63
|
+
export declare function ExampleResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExampleResult;
|
|
64
|
+
export declare function ExampleResultToJSON(value?: ExampleResult | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper KPI API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
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 { TransferProcessStatesDto } from './TransferProcessStatesDto';
|
|
13
|
+
/**
|
|
14
|
+
* EDC-status-defining KPIs
|
|
15
|
+
* @export
|
|
16
|
+
* @interface KpiResult
|
|
17
|
+
*/
|
|
18
|
+
export interface KpiResult {
|
|
19
|
+
/**
|
|
20
|
+
* Counts of assets
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof KpiResult
|
|
23
|
+
*/
|
|
24
|
+
assetsCount: number;
|
|
25
|
+
/**
|
|
26
|
+
* Counts of policies
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof KpiResult
|
|
29
|
+
*/
|
|
30
|
+
policiesCount: number;
|
|
31
|
+
/**
|
|
32
|
+
* Counts of contract definitions
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof KpiResult
|
|
35
|
+
*/
|
|
36
|
+
contractDefinitionsCount: number;
|
|
37
|
+
/**
|
|
38
|
+
* Counts of contract agreements
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof KpiResult
|
|
41
|
+
*/
|
|
42
|
+
contractAgreementsCount: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {TransferProcessStatesDto}
|
|
46
|
+
* @memberof KpiResult
|
|
47
|
+
*/
|
|
48
|
+
transferProcessDto: TransferProcessStatesDto;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the KpiResult interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfKpiResult(value: object): boolean;
|
|
54
|
+
export declare function KpiResultFromJSON(json: any): KpiResult;
|
|
55
|
+
export declare function KpiResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): KpiResult;
|
|
56
|
+
export declare function KpiResultToJSON(value?: KpiResult | null): any;
|