@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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sovity.de/edc-client",
3
- "version": "4.1.0",
3
+ "version": "5.0.0",
4
4
  "description": "TypeScript API Client for our EDC API Wrapper.",
5
5
  "author": "sovity GmbH",
6
6
  "license": "Apache-2.0",
@@ -26,7 +26,7 @@
26
26
  "type": "module",
27
27
  "main": "./dist/sovity-edc-client.umd.cjs",
28
28
  "module": "./dist/sovity-edc-client.js",
29
- "types": "./dist/index.d.ts",
29
+ "types": "./dist/sovity-edc-client.d.ts",
30
30
  "exports": {
31
31
  ".": {
32
32
  "import": "./dist/sovity-edc-client.js",
@@ -1,22 +0,0 @@
1
- import { ConfigurationParameters, EnterpriseEditionApi, UIApi, UseCaseApi } from './generated';
2
- /**
3
- * API Client for our sovity EDC
4
- */
5
- export interface EdcClient {
6
- uiApi: UIApi;
7
- useCaseApi: UseCaseApi;
8
- enterpriseEditionApi: EnterpriseEditionApi;
9
- }
10
- /**
11
- * Configure & Build new EDC Client
12
- * @param opts opts
13
- */
14
- export declare function buildEdcClient(opts: EdcClientOptions): EdcClient;
15
- /**
16
- * Options for instantiating an EDC API Client
17
- */
18
- export interface EdcClientOptions {
19
- managementApiUrl: string;
20
- managementApiKey?: string;
21
- configOverrides?: Partial<ConfigurationParameters>;
22
- }
@@ -1,52 +0,0 @@
1
- /**
2
- * sovity EDC API Wrapper
3
- * sovity\'s EDC API Wrapper contains a selection of APIs for multiple consumers, e.g. our EDC UI API, our generic Use Case API, our Commercial APIs, etc. We bundled these APIs, so we can have an easier time generating our API Client Libraries.
4
- *
5
- * The version of the OpenAPI document: 0.0.0
6
- * Contact: contact@sovity.de
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 { ConnectorLimits, StoredFile } from '../models';
13
- import * as runtime from '../runtime';
14
- export interface CreateStoredFileAssetRequest {
15
- storedFileId: string;
16
- requestBody: {
17
- [key: string]: string;
18
- };
19
- }
20
- /**
21
- *
22
- */
23
- export declare class EnterpriseEditionApi extends runtime.BaseAPI {
24
- /**
25
- * Available and used resources of a connector.
26
- */
27
- connectorLimitsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConnectorLimits>>;
28
- /**
29
- * Available and used resources of a connector.
30
- */
31
- connectorLimits(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConnectorLimits>;
32
- /**
33
- * Create an asset using the stored file as data source.
34
- * Create a file storage asset.
35
- */
36
- createStoredFileAssetRaw(requestParameters: CreateStoredFileAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StoredFile>>;
37
- /**
38
- * Create an asset using the stored file as data source.
39
- * Create a file storage asset.
40
- */
41
- createStoredFileAsset(requestParameters: CreateStoredFileAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StoredFile>;
42
- /**
43
- * Get all files stored in file storage
44
- * Get all stored files.
45
- */
46
- listStoredFilesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<StoredFile>>>;
47
- /**
48
- * Get all files stored in file storage
49
- * Get all stored files.
50
- */
51
- listStoredFiles(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<StoredFile>>;
52
- }
@@ -1,43 +0,0 @@
1
- /**
2
- * sovity EDC API Wrapper
3
- * sovity\'s EDC API Wrapper contains a selection of APIs for multiple consumers, e.g. our EDC UI API, our generic Use Case API, our Commercial APIs, etc. We bundled these APIs, so we can have an easier time generating our API Client Libraries.
4
- *
5
- * The version of the OpenAPI document: 0.0.0
6
- * Contact: contact@sovity.de
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 { ContractAgreementPage, ContractAgreementTransferRequest, IdResponseDto, TransferHistoryPage } from '../models';
13
- import * as runtime from '../runtime';
14
- export interface InitiateTransferRequest {
15
- contractAgreementTransferRequest?: ContractAgreementTransferRequest;
16
- }
17
- /**
18
- *
19
- */
20
- export declare class UIApi extends runtime.BaseAPI {
21
- /**
22
- * Collect all data for Contract Agreement Page
23
- */
24
- contractAgreementEndpointRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContractAgreementPage>>;
25
- /**
26
- * Collect all data for Contract Agreement Page
27
- */
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>;
43
- }
@@ -1,45 +0,0 @@
1
- /**
2
- * sovity EDC API Wrapper
3
- * sovity\'s EDC API Wrapper contains a selection of APIs for multiple consumers, e.g. our EDC UI API, our generic Use Case API, our Commercial APIs, etc. We bundled these APIs, so we can have an easier time generating our API Client Libraries.
4
- *
5
- * The version of the OpenAPI document: 0.0.0
6
- * Contact: contact@sovity.de
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 { CreateOfferingDto, KpiResult } from '../models';
13
- import * as runtime from '../runtime';
14
- export interface CreateOfferEndpointRequest {
15
- createOfferingDto?: CreateOfferingDto;
16
- }
17
- /**
18
- *
19
- */
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>;
29
- /**
30
- * List available functions in policies, prohibitions and obligations.
31
- */
32
- getSupportedFunctionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<string>>>;
33
- /**
34
- * List available functions in policies, prohibitions and obligations.
35
- */
36
- getSupportedFunctions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>>;
37
- /**
38
- * Basic KPIs about the running EDC Connector.
39
- */
40
- kpiEndpointRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<KpiResult>>;
41
- /**
42
- * Basic KPIs about the running EDC Connector.
43
- */
44
- kpiEndpoint(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<KpiResult>;
45
- }
@@ -1,3 +0,0 @@
1
- export * from './EnterpriseEditionApi';
2
- export * from './UIApi';
3
- export * from './UseCaseApi';
@@ -1,3 +0,0 @@
1
- export * from './runtime';
2
- export * from './apis';
3
- export * from './models';
@@ -1,34 +0,0 @@
1
- /**
2
- * Asset Details
3
- * @export
4
- * @interface AssetDto
5
- */
6
- export interface AssetDto {
7
- /**
8
- * ID of asset
9
- * @type {string}
10
- * @memberof AssetDto
11
- */
12
- assetId: string;
13
- /**
14
- * Creation Date of asset
15
- * @type {Date}
16
- * @memberof AssetDto
17
- */
18
- createdAt: Date;
19
- /**
20
- * Asset properties
21
- * @type {{ [key: string]: string; }}
22
- * @memberof AssetDto
23
- */
24
- properties: {
25
- [key: string]: string;
26
- };
27
- }
28
- /**
29
- * Check if a given object implements the AssetDto interface.
30
- */
31
- export declare function instanceOfAssetDto(value: object): boolean;
32
- export declare function AssetDtoFromJSON(json: any): AssetDto;
33
- export declare function AssetDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetDto;
34
- export declare function AssetDtoToJSON(value?: AssetDto | null): any;
@@ -1,28 +0,0 @@
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;
@@ -1,28 +0,0 @@
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;
@@ -1,45 +0,0 @@
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;
@@ -1,26 +0,0 @@
1
- /**
2
- * Available and used resources of a connector.
3
- * @export
4
- * @interface ConnectorLimits
5
- */
6
- export interface ConnectorLimits {
7
- /**
8
- * Current amount of active consuming contract agreements.
9
- * @type {number}
10
- * @memberof ConnectorLimits
11
- */
12
- numActiveConsumingContractAgreements: number;
13
- /**
14
- * Maximum amount of active consuming contract agreements. A value of 'null' or a negative value means that there are no limit.
15
- * @type {number}
16
- * @memberof ConnectorLimits
17
- */
18
- maxActiveConsumingContractAgreements?: number;
19
- }
20
- /**
21
- * Check if a given object implements the ConnectorLimits interface.
22
- */
23
- export declare function instanceOfConnectorLimits(value: object): boolean;
24
- export declare function ConnectorLimitsFromJSON(json: any): ConnectorLimits;
25
- export declare function ConnectorLimitsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectorLimits;
26
- export declare function ConnectorLimitsToJSON(value?: ConnectorLimits | null): any;
@@ -1,91 +0,0 @@
1
- import type { AssetDto } from './AssetDto';
2
- import type { ContractAgreementTransferProcess } from './ContractAgreementTransferProcess';
3
- import type { PolicyDto } from './PolicyDto';
4
- /**
5
- * Contract Agreement for Contract Agreement Page
6
- * @export
7
- * @interface ContractAgreementCard
8
- */
9
- export interface ContractAgreementCard {
10
- /**
11
- * Contract Agreement ID
12
- * @type {string}
13
- * @memberof ContractAgreementCard
14
- */
15
- contractAgreementId: string;
16
- /**
17
- * Contract Negotiation ID
18
- * @type {string}
19
- * @memberof ContractAgreementCard
20
- */
21
- contractNegotiationId: string;
22
- /**
23
- * Whether the contract agreement is incoming or outgoing
24
- * @type {string}
25
- * @memberof ContractAgreementCard
26
- */
27
- direction: ContractAgreementCardDirectionEnum;
28
- /**
29
- * Other Connector's Endpoint
30
- * @type {string}
31
- * @memberof ContractAgreementCard
32
- */
33
- counterPartyAddress: string;
34
- /**
35
- * Other Connector's ID
36
- * @type {string}
37
- * @memberof ContractAgreementCard
38
- */
39
- counterPartyId: string;
40
- /**
41
- * Contract Agreements Signing Date
42
- * @type {Date}
43
- * @memberof ContractAgreementCard
44
- */
45
- contractSigningDate: Date;
46
- /**
47
- * Contract Agreements Start Date
48
- * @type {Date}
49
- * @memberof ContractAgreementCard
50
- */
51
- contractStartDate: Date;
52
- /**
53
- * Contract Agreements End Date
54
- * @type {Date}
55
- * @memberof ContractAgreementCard
56
- */
57
- contractEndDate: Date;
58
- /**
59
- *
60
- * @type {AssetDto}
61
- * @memberof ContractAgreementCard
62
- */
63
- asset: AssetDto;
64
- /**
65
- *
66
- * @type {PolicyDto}
67
- * @memberof ContractAgreementCard
68
- */
69
- contractPolicy: PolicyDto;
70
- /**
71
- * Contract Agreement's Transfer Processes
72
- * @type {Array<ContractAgreementTransferProcess>}
73
- * @memberof ContractAgreementCard
74
- */
75
- transferProcesses: Array<ContractAgreementTransferProcess>;
76
- }
77
- /**
78
- * @export
79
- */
80
- export declare const ContractAgreementCardDirectionEnum: {
81
- readonly Consuming: "CONSUMING";
82
- readonly Providing: "PROVIDING";
83
- };
84
- export type ContractAgreementCardDirectionEnum = (typeof ContractAgreementCardDirectionEnum)[keyof typeof ContractAgreementCardDirectionEnum];
85
- /**
86
- * Check if a given object implements the ContractAgreementCard interface.
87
- */
88
- export declare function instanceOfContractAgreementCard(value: object): boolean;
89
- export declare function ContractAgreementCardFromJSON(json: any): ContractAgreementCard;
90
- export declare function ContractAgreementCardFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractAgreementCard;
91
- export declare function ContractAgreementCardToJSON(value?: ContractAgreementCard | null): any;
@@ -1,21 +0,0 @@
1
- import type { ContractAgreementCard } from './ContractAgreementCard';
2
- /**
3
- *
4
- * @export
5
- * @interface ContractAgreementPage
6
- */
7
- export interface ContractAgreementPage {
8
- /**
9
- * Contract Agreement Cards
10
- * @type {Array<ContractAgreementCard>}
11
- * @memberof ContractAgreementPage
12
- */
13
- contractAgreements: Array<ContractAgreementCard>;
14
- }
15
- /**
16
- * Check if a given object implements the ContractAgreementPage interface.
17
- */
18
- export declare function instanceOfContractAgreementPage(value: object): boolean;
19
- export declare function ContractAgreementPageFromJSON(json: any): ContractAgreementPage;
20
- export declare function ContractAgreementPageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractAgreementPage;
21
- export declare function ContractAgreementPageToJSON(value?: ContractAgreementPage | null): any;
@@ -1,39 +0,0 @@
1
- import type { TransferProcessState } from './TransferProcessState';
2
- /**
3
- * A Contract Agreement's Transfer Process
4
- * @export
5
- * @interface ContractAgreementTransferProcess
6
- */
7
- export interface ContractAgreementTransferProcess {
8
- /**
9
- * Transfer Process ID
10
- * @type {string}
11
- * @memberof ContractAgreementTransferProcess
12
- */
13
- transferProcessId: string;
14
- /**
15
- * Last Change Date
16
- * @type {Date}
17
- * @memberof ContractAgreementTransferProcess
18
- */
19
- lastUpdatedDate: Date;
20
- /**
21
- *
22
- * @type {TransferProcessState}
23
- * @memberof ContractAgreementTransferProcess
24
- */
25
- state: TransferProcessState;
26
- /**
27
- * Error Message
28
- * @type {string}
29
- * @memberof ContractAgreementTransferProcess
30
- */
31
- errorMessage?: string;
32
- }
33
- /**
34
- * Check if a given object implements the ContractAgreementTransferProcess interface.
35
- */
36
- export declare function instanceOfContractAgreementTransferProcess(value: object): boolean;
37
- export declare function ContractAgreementTransferProcessFromJSON(json: any): ContractAgreementTransferProcess;
38
- export declare function ContractAgreementTransferProcessFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractAgreementTransferProcess;
39
- export declare function ContractAgreementTransferProcessToJSON(value?: ContractAgreementTransferProcess | null): any;
@@ -1,41 +0,0 @@
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;
@@ -1,36 +0,0 @@
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;
@@ -1,45 +0,0 @@
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;
@@ -1,35 +0,0 @@
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;