@sovity.de/edc-client 4.1.0 → 5.0.0

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.
Files changed (41) hide show
  1. package/README.md +3 -3
  2. package/dist/sovity-edc-client.d.ts +2748 -0
  3. package/dist/sovity-edc-client.js +1830 -591
  4. package/dist/sovity-edc-client.js.map +1 -1
  5. package/dist/sovity-edc-client.umd.cjs +1 -1
  6. package/dist/sovity-edc-client.umd.cjs.map +1 -1
  7. package/package.json +2 -2
  8. package/dist/EdcClient.d.ts +0 -22
  9. package/dist/generated/apis/EnterpriseEditionApi.d.ts +0 -52
  10. package/dist/generated/apis/UIApi.d.ts +0 -43
  11. package/dist/generated/apis/UseCaseApi.d.ts +0 -45
  12. package/dist/generated/apis/index.d.ts +0 -3
  13. package/dist/generated/index.d.ts +0 -3
  14. package/dist/generated/models/AssetDto.d.ts +0 -34
  15. package/dist/generated/models/AssetEntryDto.d.ts +0 -28
  16. package/dist/generated/models/AssetRequestDto.d.ts +0 -28
  17. package/dist/generated/models/AtomicConstraintDto.d.ts +0 -45
  18. package/dist/generated/models/ConnectorLimits.d.ts +0 -26
  19. package/dist/generated/models/ContractAgreementCard.d.ts +0 -91
  20. package/dist/generated/models/ContractAgreementPage.d.ts +0 -21
  21. package/dist/generated/models/ContractAgreementTransferProcess.d.ts +0 -39
  22. package/dist/generated/models/ContractAgreementTransferRequest.d.ts +0 -41
  23. package/dist/generated/models/ContractAgreementTransferRequestParams.d.ts +0 -36
  24. package/dist/generated/models/ContractDefinitionRequestDto.d.ts +0 -45
  25. package/dist/generated/models/CreateOfferingDto.d.ts +0 -35
  26. package/dist/generated/models/CriterionDto.d.ts +0 -32
  27. package/dist/generated/models/DataAddressDto.d.ts +0 -22
  28. package/dist/generated/models/ExpressionDto.d.ts +0 -61
  29. package/dist/generated/models/IdResponseDto.d.ts +0 -26
  30. package/dist/generated/models/KpiResult.d.ts +0 -45
  31. package/dist/generated/models/PermissionDto.d.ts +0 -21
  32. package/dist/generated/models/PolicyDefinitionRequestDto.d.ts +0 -27
  33. package/dist/generated/models/PolicyDto.d.ts +0 -27
  34. package/dist/generated/models/StoredFile.d.ts +0 -64
  35. package/dist/generated/models/TransferHistoryEntry.d.ts +0 -83
  36. package/dist/generated/models/TransferHistoryPage.d.ts +0 -21
  37. package/dist/generated/models/TransferProcessState.d.ts +0 -41
  38. package/dist/generated/models/TransferProcessStatesDto.d.ts +0 -30
  39. package/dist/generated/models/index.d.ts +0 -25
  40. package/dist/generated/runtime.d.ts +0 -182
  41. package/dist/index.d.ts +0 -2
@@ -1,32 +0,0 @@
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;
@@ -1,22 +0,0 @@
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;
@@ -1,61 +0,0 @@
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;
@@ -1,26 +0,0 @@
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;
@@ -1,45 +0,0 @@
1
- import type { TransferProcessStatesDto } from './TransferProcessStatesDto';
2
- /**
3
- * EDC-status-defining KPIs
4
- * @export
5
- * @interface KpiResult
6
- */
7
- export interface KpiResult {
8
- /**
9
- * Counts of assets
10
- * @type {number}
11
- * @memberof KpiResult
12
- */
13
- assetsCount: number;
14
- /**
15
- * Counts of policies
16
- * @type {number}
17
- * @memberof KpiResult
18
- */
19
- policiesCount: number;
20
- /**
21
- * Counts of contract definitions
22
- * @type {number}
23
- * @memberof KpiResult
24
- */
25
- contractDefinitionsCount: number;
26
- /**
27
- * Counts of contract agreements
28
- * @type {number}
29
- * @memberof KpiResult
30
- */
31
- contractAgreementsCount: number;
32
- /**
33
- *
34
- * @type {TransferProcessStatesDto}
35
- * @memberof KpiResult
36
- */
37
- transferProcessDto: TransferProcessStatesDto;
38
- }
39
- /**
40
- * Check if a given object implements the KpiResult interface.
41
- */
42
- export declare function instanceOfKpiResult(value: object): boolean;
43
- export declare function KpiResultFromJSON(json: any): KpiResult;
44
- export declare function KpiResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): KpiResult;
45
- export declare function KpiResultToJSON(value?: KpiResult | null): any;
@@ -1,21 +0,0 @@
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;
@@ -1,27 +0,0 @@
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,27 +0,0 @@
1
- import type { PermissionDto } from './PermissionDto';
2
- /**
3
- * Type-Safe OpenAPI generator friendly Policy DTO that supports an opinionated subset of the original EDC Policy Entity.
4
- * @export
5
- * @interface PolicyDto
6
- */
7
- export interface PolicyDto {
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.
10
- * @type {string}
11
- * @memberof PolicyDto
12
- */
13
- legacyPolicy?: string;
14
- /**
15
- *
16
- * @type {PermissionDto}
17
- * @memberof PolicyDto
18
- */
19
- permission?: PermissionDto;
20
- }
21
- /**
22
- * Check if a given object implements the PolicyDto interface.
23
- */
24
- export declare function instanceOfPolicyDto(value: object): boolean;
25
- export declare function PolicyDtoFromJSON(json: any): PolicyDto;
26
- export declare function PolicyDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PolicyDto;
27
- export declare function PolicyDtoToJSON(value?: PolicyDto | null): any;
@@ -1,64 +0,0 @@
1
- /**
2
- * Represents a stored file in the file storage extension
3
- * @export
4
- * @interface StoredFile
5
- */
6
- export interface StoredFile {
7
- /**
8
- * Identifier of the StoredFile object
9
- * @type {string}
10
- * @memberof StoredFile
11
- */
12
- storedFileId: string;
13
- /**
14
- * The name of file.
15
- * @type {string}
16
- * @memberof StoredFile
17
- */
18
- fileName: string;
19
- /**
20
- * The extension of the file.
21
- * @type {string}
22
- * @memberof StoredFile
23
- */
24
- fileExtension: string;
25
- /**
26
- * The media type of the file.
27
- * @type {string}
28
- * @memberof StoredFile
29
- */
30
- mediaType: string;
31
- /**
32
- * Size of the file in bytes.
33
- * @type {string}
34
- * @memberof StoredFile
35
- */
36
- byteSize: string;
37
- /**
38
- * Map containing the asset properties of the stored file.<br> An empty map is set as a response to a file storage request. <br> Only upon a asset creation request the asset properties are set.
39
- * @type {{ [key: string]: string; }}
40
- * @memberof StoredFile
41
- */
42
- assetProperties: {
43
- [key: string]: string;
44
- };
45
- /**
46
- * Creation date of the StoredFile object.
47
- * @type {Date}
48
- * @memberof StoredFile
49
- */
50
- creationDate: Date;
51
- /**
52
- * Date of the last modification of the StoredFile object.
53
- * @type {Date}
54
- * @memberof StoredFile
55
- */
56
- lastModifiedDate: Date;
57
- }
58
- /**
59
- * Check if a given object implements the StoredFile interface.
60
- */
61
- export declare function instanceOfStoredFile(value: object): boolean;
62
- export declare function StoredFileFromJSON(json: any): StoredFile;
63
- export declare function StoredFileFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoredFile;
64
- export declare function StoredFileToJSON(value?: StoredFile | null): any;
@@ -1,83 +0,0 @@
1
- import type { TransferProcessState } from './TransferProcessState';
2
- /**
3
- * Transfer History Entry for Transfer History Page
4
- * @export
5
- * @interface TransferHistoryEntry
6
- */
7
- export interface TransferHistoryEntry {
8
- /**
9
- * Transfer Process ID
10
- * @type {string}
11
- * @memberof TransferHistoryEntry
12
- */
13
- transferProcessId: string;
14
- /**
15
- * Created Date
16
- * @type {Date}
17
- * @memberof TransferHistoryEntry
18
- */
19
- createdDate: Date;
20
- /**
21
- * Last Change Date
22
- * @type {Date}
23
- * @memberof TransferHistoryEntry
24
- */
25
- lastUpdatedDate: Date;
26
- /**
27
- *
28
- * @type {TransferProcessState}
29
- * @memberof TransferHistoryEntry
30
- */
31
- state: TransferProcessState;
32
- /**
33
- * Contract Agreement ID
34
- * @type {string}
35
- * @memberof TransferHistoryEntry
36
- */
37
- contractAgreementId: string;
38
- /**
39
- * Whether the contract agreement is incoming or outgoing
40
- * @type {string}
41
- * @memberof TransferHistoryEntry
42
- */
43
- direction: TransferHistoryEntryDirectionEnum;
44
- /**
45
- * Other Connector's Endpoint
46
- * @type {string}
47
- * @memberof TransferHistoryEntry
48
- */
49
- counterPartyConnectorEndpoint: string;
50
- /**
51
- * Asset Name
52
- * @type {string}
53
- * @memberof TransferHistoryEntry
54
- */
55
- assetName: string;
56
- /**
57
- * Asset ID
58
- * @type {string}
59
- * @memberof TransferHistoryEntry
60
- */
61
- assetId: string;
62
- /**
63
- * Error Message
64
- * @type {string}
65
- * @memberof TransferHistoryEntry
66
- */
67
- errorMessage?: string;
68
- }
69
- /**
70
- * @export
71
- */
72
- export declare const TransferHistoryEntryDirectionEnum: {
73
- readonly Consuming: "CONSUMING";
74
- readonly Providing: "PROVIDING";
75
- };
76
- export type TransferHistoryEntryDirectionEnum = (typeof TransferHistoryEntryDirectionEnum)[keyof typeof TransferHistoryEntryDirectionEnum];
77
- /**
78
- * Check if a given object implements the TransferHistoryEntry interface.
79
- */
80
- export declare function instanceOfTransferHistoryEntry(value: object): boolean;
81
- export declare function TransferHistoryEntryFromJSON(json: any): TransferHistoryEntry;
82
- export declare function TransferHistoryEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransferHistoryEntry;
83
- export declare function TransferHistoryEntryToJSON(value?: TransferHistoryEntry | null): any;
@@ -1,21 +0,0 @@
1
- import type { TransferHistoryEntry } from './TransferHistoryEntry';
2
- /**
3
- *
4
- * @export
5
- * @interface TransferHistoryPage
6
- */
7
- export interface TransferHistoryPage {
8
- /**
9
- * Transfer History Page Entries
10
- * @type {Array<TransferHistoryEntry>}
11
- * @memberof TransferHistoryPage
12
- */
13
- transferEntries: Array<TransferHistoryEntry>;
14
- }
15
- /**
16
- * Check if a given object implements the TransferHistoryPage interface.
17
- */
18
- export declare function instanceOfTransferHistoryPage(value: object): boolean;
19
- export declare function TransferHistoryPageFromJSON(json: any): TransferHistoryPage;
20
- export declare function TransferHistoryPageFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransferHistoryPage;
21
- export declare function TransferHistoryPageToJSON(value?: TransferHistoryPage | null): any;
@@ -1,41 +0,0 @@
1
- /**
2
- * Transfer Process State interpreted
3
- * @export
4
- * @interface TransferProcessState
5
- */
6
- export interface TransferProcessState {
7
- /**
8
- * State name or 'CUSTOM'. State names only exist for original EDC Transfer Process States.
9
- * @type {string}
10
- * @memberof TransferProcessState
11
- */
12
- name: string;
13
- /**
14
- * State code
15
- * @type {number}
16
- * @memberof TransferProcessState
17
- */
18
- code: number;
19
- /**
20
- * Simplified Transfer Process State to be used in UI
21
- * @type {string}
22
- * @memberof TransferProcessState
23
- */
24
- simplifiedState: TransferProcessStateSimplifiedStateEnum;
25
- }
26
- /**
27
- * @export
28
- */
29
- export declare const TransferProcessStateSimplifiedStateEnum: {
30
- readonly Running: "RUNNING";
31
- readonly Ok: "OK";
32
- readonly Error: "ERROR";
33
- };
34
- export type TransferProcessStateSimplifiedStateEnum = (typeof TransferProcessStateSimplifiedStateEnum)[keyof typeof TransferProcessStateSimplifiedStateEnum];
35
- /**
36
- * Check if a given object implements the TransferProcessState interface.
37
- */
38
- export declare function instanceOfTransferProcessState(value: object): boolean;
39
- export declare function TransferProcessStateFromJSON(json: any): TransferProcessState;
40
- export declare function TransferProcessStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransferProcessState;
41
- export declare function TransferProcessStateToJSON(value?: TransferProcessState | null): any;
@@ -1,30 +0,0 @@
1
- /**
2
- * Counts of incoming and outgoing TransferProcesses and status
3
- * @export
4
- * @interface TransferProcessStatesDto
5
- */
6
- export interface TransferProcessStatesDto {
7
- /**
8
- * States and count of incoming transferprocess counts
9
- * @type {{ [key: string]: number; }}
10
- * @memberof TransferProcessStatesDto
11
- */
12
- incomingTransferProcessCounts: {
13
- [key: string]: number;
14
- };
15
- /**
16
- * States and counts of outgoing transferprocess counts
17
- * @type {{ [key: string]: number; }}
18
- * @memberof TransferProcessStatesDto
19
- */
20
- outgoingTransferProcessCounts: {
21
- [key: string]: number;
22
- };
23
- }
24
- /**
25
- * Check if a given object implements the TransferProcessStatesDto interface.
26
- */
27
- export declare function instanceOfTransferProcessStatesDto(value: object): boolean;
28
- export declare function TransferProcessStatesDtoFromJSON(json: any): TransferProcessStatesDto;
29
- export declare function TransferProcessStatesDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransferProcessStatesDto;
30
- export declare function TransferProcessStatesDtoToJSON(value?: TransferProcessStatesDto | null): any;
@@ -1,25 +0,0 @@
1
- export * from './AssetDto';
2
- export * from './AssetEntryDto';
3
- export * from './AssetRequestDto';
4
- export * from './AtomicConstraintDto';
5
- export * from './ConnectorLimits';
6
- export * from './ContractAgreementCard';
7
- export * from './ContractAgreementPage';
8
- export * from './ContractAgreementTransferProcess';
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';
17
- export * from './KpiResult';
18
- export * from './PermissionDto';
19
- export * from './PolicyDefinitionRequestDto';
20
- export * from './PolicyDto';
21
- export * from './StoredFile';
22
- export * from './TransferHistoryEntry';
23
- export * from './TransferHistoryPage';
24
- export * from './TransferProcessState';
25
- export * from './TransferProcessStatesDto';