@sovity.de/edc-client 3.2.0 → 4.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 (43) hide show
  1. package/dist/EdcClient.d.ts +1 -5
  2. package/dist/generated/apis/EnterpriseEditionApi.d.ts +0 -13
  3. package/dist/generated/apis/UIApi.d.ts +18 -1
  4. package/dist/generated/apis/UseCaseApi.d.ts +12 -1
  5. package/dist/generated/apis/index.d.ts +0 -1
  6. package/dist/generated/models/AssetEntryDto.d.ts +28 -0
  7. package/dist/generated/models/AssetRequestDto.d.ts +28 -0
  8. package/dist/generated/models/AtomicConstraintDto.d.ts +45 -0
  9. package/dist/generated/models/ContractAgreementTransferRequest.d.ts +41 -0
  10. package/dist/generated/models/ContractAgreementTransferRequestParams.d.ts +36 -0
  11. package/dist/generated/models/ContractDefinitionRequestDto.d.ts +45 -0
  12. package/dist/generated/models/CreateOfferingDto.d.ts +35 -0
  13. package/dist/generated/models/CriterionDto.d.ts +32 -0
  14. package/dist/generated/models/DataAddressDto.d.ts +22 -0
  15. package/dist/generated/models/ExpressionDto.d.ts +61 -0
  16. package/dist/generated/models/IdResponseDto.d.ts +26 -0
  17. package/dist/generated/models/PermissionDto.d.ts +21 -0
  18. package/dist/generated/models/PolicyDefinitionRequestDto.d.ts +27 -0
  19. package/dist/generated/models/PolicyDto.d.ts +9 -2
  20. package/dist/generated/models/TransferHistoryEntry.d.ts +83 -0
  21. package/dist/generated/models/TransferHistoryPage.d.ts +21 -0
  22. package/dist/generated/models/index.d.ts +15 -15
  23. package/dist/sovity-edc-client.js +661 -706
  24. package/dist/sovity-edc-client.js.map +1 -1
  25. package/dist/sovity-edc-client.umd.cjs +1 -1
  26. package/dist/sovity-edc-client.umd.cjs.map +1 -1
  27. package/package.json +1 -1
  28. package/dist/generated/apis/BrokerServerApi.d.ts +0 -40
  29. package/dist/generated/models/CatalogPageQuery.d.ts +0 -49
  30. package/dist/generated/models/CatalogPageResult.d.ts +0 -42
  31. package/dist/generated/models/CatalogPageSortingItem.d.ts +0 -36
  32. package/dist/generated/models/CnfFilter.d.ts +0 -21
  33. package/dist/generated/models/CnfFilterAttribute.d.ts +0 -33
  34. package/dist/generated/models/CnfFilterItem.d.ts +0 -26
  35. package/dist/generated/models/CnfFilterValue.d.ts +0 -21
  36. package/dist/generated/models/CnfFilterValueAttribute.d.ts +0 -26
  37. package/dist/generated/models/ConnectorListEntry.d.ts +0 -82
  38. package/dist/generated/models/ConnectorPageQuery.d.ts +0 -40
  39. package/dist/generated/models/ConnectorPageResult.d.ts +0 -35
  40. package/dist/generated/models/ConnectorPageSortingItem.d.ts +0 -34
  41. package/dist/generated/models/ContractOfferConnectorInfo.d.ts +0 -52
  42. package/dist/generated/models/ContractOfferDto.d.ts +0 -35
  43. package/dist/generated/models/PaginationMetadata.d.ts +0 -38
@@ -11,11 +11,7 @@ export interface EdcClient {
11
11
  * Configure & Build new EDC Client
12
12
  * @param opts opts
13
13
  */
14
- export declare function buildEdcClient(opts: EdcClientOptions): {
15
- uiApi: UIApi;
16
- useCaseApi: UseCaseApi;
17
- enterpriseEditionApi: EnterpriseEditionApi;
18
- };
14
+ export declare function buildEdcClient(opts: EdcClientOptions): EdcClient;
19
15
  /**
20
16
  * Options for instantiating an EDC API Client
21
17
  */
@@ -17,9 +17,6 @@ export interface CreateStoredFileAssetRequest {
17
17
  [key: string]: string;
18
18
  };
19
19
  }
20
- export interface UploadStoredFileRequest {
21
- file?: Blob;
22
- }
23
20
  /**
24
21
  *
25
22
  */
@@ -52,14 +49,4 @@ export declare class EnterpriseEditionApi extends runtime.BaseAPI {
52
49
  * Get all stored files.
53
50
  */
54
51
  listStoredFiles(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<StoredFile>>;
55
- /**
56
- * Upload a file to the file storage. <br> On a successful upload to the file storage a StoredFile object is returned. <br> The assetProperties remain empty and are only added upon a asset create request.
57
- * Upload a file.
58
- */
59
- uploadStoredFileRaw(requestParameters: UploadStoredFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StoredFile>>;
60
- /**
61
- * Upload a file to the file storage. <br> On a successful upload to the file storage a StoredFile object is returned. <br> The assetProperties remain empty and are only added upon a asset create request.
62
- * Upload a file.
63
- */
64
- uploadStoredFile(requestParameters?: UploadStoredFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StoredFile>;
65
52
  }
@@ -9,8 +9,11 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ContractAgreementPage } 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,4 +26,18 @@ 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>;
37
+ /**
38
+ */
39
+ transferHistoryPageEndpointRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TransferHistoryPage>>;
40
+ /**
41
+ */
42
+ transferHistoryPageEndpoint(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TransferHistoryPage>;
26
43
  }
@@ -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
  */
@@ -1,4 +1,3 @@
1
- export * from './BrokerServerApi';
2
1
  export * from './EnterpriseEditionApi';
3
2
  export * from './UIApi';
4
3
  export * from './UseCaseApi';
@@ -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 {object}
10
+ * @type {string}
10
11
  * @memberof PolicyDto
11
12
  */
12
- legacyPolicy: object;
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.
@@ -0,0 +1,83 @@
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;