@sovity.de/edc-client 4.2.1 → 6.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 +1794 -590
  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 -52
  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
@@ -0,0 +1,2748 @@
1
+ export declare interface ApiResponse<T> {
2
+ raw: Response;
3
+ value(): Promise<T>;
4
+ }
5
+
6
+ /**
7
+ *
8
+ * @export
9
+ * @interface AssetEntryDto
10
+ */
11
+ export declare interface AssetEntryDto {
12
+ /**
13
+ *
14
+ * @type {string}
15
+ * @memberof AssetEntryDto
16
+ */
17
+ assetRequestId: string;
18
+ /**
19
+ *
20
+ * @type {{ [key: string]: object; }}
21
+ * @memberof AssetEntryDto
22
+ */
23
+ assetRequestProperties?: {
24
+ [key: string]: object;
25
+ };
26
+ /**
27
+ * At least a property 'type' must be set
28
+ * @type {{ [key: string]: string; }}
29
+ * @memberof AssetEntryDto
30
+ */
31
+ dataAddressProperties: {
32
+ [key: string]: string;
33
+ };
34
+ }
35
+
36
+ export declare function AssetEntryDtoFromJSON(json: any): AssetEntryDto;
37
+
38
+ export declare function AssetEntryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetEntryDto;
39
+
40
+ export declare function AssetEntryDtoToJSON(value?: AssetEntryDto | null): any;
41
+
42
+ /**
43
+ * All data for the Asset Page
44
+ * @export
45
+ * @interface AssetPage
46
+ */
47
+ export declare interface AssetPage {
48
+ /**
49
+ * Visible Assets
50
+ * @type {Array<UiAsset>}
51
+ * @memberof AssetPage
52
+ */
53
+ assets: Array<UiAsset>;
54
+ }
55
+
56
+ export declare function AssetPageFromJSON(json: any): AssetPage;
57
+
58
+ export declare function AssetPageFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetPage;
59
+
60
+ export declare function AssetPageToJSON(value?: AssetPage | null): any;
61
+
62
+ /**
63
+ * Type-Safe OpenAPI generator friendly Constraint DTO that supports an opinionated subset of the original EDC Constraint Entity.
64
+ * @export
65
+ * @interface AtomicConstraintDto
66
+ */
67
+ export declare interface AtomicConstraintDto {
68
+ /**
69
+ * Left part of the constraint.
70
+ * @type {string}
71
+ * @memberof AtomicConstraintDto
72
+ */
73
+ leftExpression: string;
74
+ /**
75
+ *
76
+ * @type {OperatorDto}
77
+ * @memberof AtomicConstraintDto
78
+ */
79
+ operator: OperatorDto;
80
+ /**
81
+ * Right part of the constraint.
82
+ * @type {string}
83
+ * @memberof AtomicConstraintDto
84
+ */
85
+ rightExpression: string;
86
+ }
87
+
88
+ export declare function AtomicConstraintDtoFromJSON(json: any): AtomicConstraintDto;
89
+
90
+ export declare function AtomicConstraintDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AtomicConstraintDto;
91
+
92
+ export declare function AtomicConstraintDtoToJSON(value?: AtomicConstraintDto | null): any;
93
+
94
+ /**
95
+ * sovity EDC API Wrapper
96
+ * 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.
97
+ *
98
+ * The version of the OpenAPI document: 0.0.0
99
+ * Contact: contact@sovity.de
100
+ *
101
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
102
+ * https://openapi-generator.tech
103
+ * Do not edit the class manually.
104
+ */
105
+ export declare const BASE_PATH: string;
106
+
107
+ /**
108
+ * This is the base class for all generated API classes.
109
+ */
110
+ export declare class BaseAPI {
111
+ protected configuration: Configuration;
112
+ private static readonly jsonRegex;
113
+ private middleware;
114
+ constructor(configuration?: Configuration);
115
+ withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
116
+ withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
117
+ withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
118
+ /**
119
+ * Check if the given MIME is a JSON MIME.
120
+ * JSON MIME examples:
121
+ * application/json
122
+ * application/json; charset=UTF8
123
+ * APPLICATION/JSON
124
+ * application/vnd.company+json
125
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
126
+ * @return True if the given MIME is JSON, false otherwise.
127
+ */
128
+ protected isJsonMime(mime: string | null | undefined): boolean;
129
+ protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
130
+ private createFetchParams;
131
+ private fetchApi;
132
+ /**
133
+ * Create a shallow clone of `this` by constructing a new instance
134
+ * and then shallow cloning data members.
135
+ */
136
+ private clone;
137
+ }
138
+
139
+ export declare class BlobApiResponse {
140
+ raw: Response;
141
+ constructor(raw: Response);
142
+ value(): Promise<Blob>;
143
+ }
144
+
145
+ /**
146
+ * Configure & Build new EDC Client
147
+ * @param opts opts
148
+ */
149
+ export declare function buildEdcClient(opts: EdcClientOptions): EdcClient;
150
+
151
+ export declare function canConsumeForm(consumes: Consume[]): boolean;
152
+
153
+ export declare const COLLECTION_FORMATS: {
154
+ csv: string;
155
+ ssv: string;
156
+ tsv: string;
157
+ pipes: string;
158
+ };
159
+
160
+ export declare class Configuration {
161
+ private configuration;
162
+ constructor(configuration?: ConfigurationParameters);
163
+ set config(configuration: Configuration);
164
+ get basePath(): string;
165
+ get fetchApi(): FetchAPI | undefined;
166
+ get middleware(): Middleware[];
167
+ get queryParamsStringify(): (params: HTTPQuery) => string;
168
+ get username(): string | undefined;
169
+ get password(): string | undefined;
170
+ get apiKey(): ((name: string) => string) | undefined;
171
+ get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
172
+ get headers(): HTTPHeaders | undefined;
173
+ get credentials(): RequestCredentials | undefined;
174
+ }
175
+
176
+ export declare interface ConfigurationParameters {
177
+ basePath?: string;
178
+ fetchApi?: FetchAPI;
179
+ middleware?: Middleware[];
180
+ queryParamsStringify?: (params: HTTPQuery) => string;
181
+ username?: string;
182
+ password?: string;
183
+ apiKey?: string | ((name: string) => string);
184
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
185
+ headers?: HTTPHeaders;
186
+ credentials?: RequestCredentials;
187
+ }
188
+
189
+ /**
190
+ * Available and used resources of a connector.
191
+ * @export
192
+ * @interface ConnectorLimits
193
+ */
194
+ export declare interface ConnectorLimits {
195
+ /**
196
+ * Current amount of active consuming contract agreements.
197
+ * @type {number}
198
+ * @memberof ConnectorLimits
199
+ */
200
+ numActiveConsumingContractAgreements: number;
201
+ /**
202
+ * Maximum amount of active consuming contract agreements. A value of 'null' or a negative value means that there are no limit.
203
+ * @type {number}
204
+ * @memberof ConnectorLimits
205
+ */
206
+ maxActiveConsumingContractAgreements?: number;
207
+ }
208
+
209
+ export declare function ConnectorLimitsFromJSON(json: any): ConnectorLimits;
210
+
211
+ export declare function ConnectorLimitsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectorLimits;
212
+
213
+ export declare function ConnectorLimitsToJSON(value?: ConnectorLimits | null): any;
214
+
215
+ export declare interface Consume {
216
+ contentType: string;
217
+ }
218
+
219
+ /**
220
+ * Contract Agreement for Contract Agreement Page
221
+ * @export
222
+ * @interface ContractAgreementCard
223
+ */
224
+ export declare interface ContractAgreementCard {
225
+ /**
226
+ * Contract Agreement ID
227
+ * @type {string}
228
+ * @memberof ContractAgreementCard
229
+ */
230
+ contractAgreementId: string;
231
+ /**
232
+ * Contract Negotiation ID
233
+ * @type {string}
234
+ * @memberof ContractAgreementCard
235
+ */
236
+ contractNegotiationId: string;
237
+ /**
238
+ *
239
+ * @type {ContractAgreementDirection}
240
+ * @memberof ContractAgreementCard
241
+ */
242
+ direction: ContractAgreementDirection;
243
+ /**
244
+ * Other Connector's Endpoint
245
+ * @type {string}
246
+ * @memberof ContractAgreementCard
247
+ */
248
+ counterPartyAddress: string;
249
+ /**
250
+ * Other Connector's ID
251
+ * @type {string}
252
+ * @memberof ContractAgreementCard
253
+ */
254
+ counterPartyId: string;
255
+ /**
256
+ * Contract Agreements Signing Date
257
+ * @type {Date}
258
+ * @memberof ContractAgreementCard
259
+ */
260
+ contractSigningDate: Date;
261
+ /**
262
+ *
263
+ * @type {UiAsset}
264
+ * @memberof ContractAgreementCard
265
+ */
266
+ asset: UiAsset;
267
+ /**
268
+ *
269
+ * @type {UiPolicy}
270
+ * @memberof ContractAgreementCard
271
+ */
272
+ contractPolicy: UiPolicy;
273
+ /**
274
+ * Contract Agreement's Transfer Processes
275
+ * @type {Array<ContractAgreementTransferProcess>}
276
+ * @memberof ContractAgreementCard
277
+ */
278
+ transferProcesses: Array<ContractAgreementTransferProcess>;
279
+ }
280
+
281
+ export declare function ContractAgreementCardFromJSON(json: any): ContractAgreementCard;
282
+
283
+ export declare function ContractAgreementCardFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractAgreementCard;
284
+
285
+ export declare function ContractAgreementCardToJSON(value?: ContractAgreementCard | null): any;
286
+
287
+ /**
288
+ * Whether the contract agreement is incoming or outgoing
289
+ * @export
290
+ */
291
+ export declare const ContractAgreementDirection: {
292
+ readonly Consuming: "CONSUMING";
293
+ readonly Providing: "PROVIDING";
294
+ };
295
+
296
+ export declare type ContractAgreementDirection = (typeof ContractAgreementDirection)[keyof typeof ContractAgreementDirection];
297
+
298
+ export declare function ContractAgreementDirectionFromJSON(json: any): ContractAgreementDirection;
299
+
300
+ export declare function ContractAgreementDirectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractAgreementDirection;
301
+
302
+ export declare function ContractAgreementDirectionToJSON(value?: ContractAgreementDirection | null): any;
303
+
304
+ /**
305
+ *
306
+ * @export
307
+ * @interface ContractAgreementPage
308
+ */
309
+ export declare interface ContractAgreementPage {
310
+ /**
311
+ * Contract Agreement Cards
312
+ * @type {Array<ContractAgreementCard>}
313
+ * @memberof ContractAgreementPage
314
+ */
315
+ contractAgreements: Array<ContractAgreementCard>;
316
+ }
317
+
318
+ export declare function ContractAgreementPageFromJSON(json: any): ContractAgreementPage;
319
+
320
+ export declare function ContractAgreementPageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractAgreementPage;
321
+
322
+ export declare function ContractAgreementPageToJSON(value?: ContractAgreementPage | null): any;
323
+
324
+ /**
325
+ * A Contract Agreement's Transfer Process
326
+ * @export
327
+ * @interface ContractAgreementTransferProcess
328
+ */
329
+ export declare interface ContractAgreementTransferProcess {
330
+ /**
331
+ * Transfer Process ID
332
+ * @type {string}
333
+ * @memberof ContractAgreementTransferProcess
334
+ */
335
+ transferProcessId: string;
336
+ /**
337
+ * Last Change Date
338
+ * @type {Date}
339
+ * @memberof ContractAgreementTransferProcess
340
+ */
341
+ lastUpdatedDate: Date;
342
+ /**
343
+ *
344
+ * @type {TransferProcessState}
345
+ * @memberof ContractAgreementTransferProcess
346
+ */
347
+ state: TransferProcessState;
348
+ /**
349
+ * Error Message
350
+ * @type {string}
351
+ * @memberof ContractAgreementTransferProcess
352
+ */
353
+ errorMessage?: string;
354
+ }
355
+
356
+ export declare function ContractAgreementTransferProcessFromJSON(json: any): ContractAgreementTransferProcess;
357
+
358
+ export declare function ContractAgreementTransferProcessFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractAgreementTransferProcess;
359
+
360
+ export declare function ContractAgreementTransferProcessToJSON(value?: ContractAgreementTransferProcess | null): any;
361
+
362
+ /**
363
+ * Contract Definition List Entry for Contract Definition Page
364
+ * @export
365
+ * @interface ContractDefinitionEntry
366
+ */
367
+ export declare interface ContractDefinitionEntry {
368
+ /**
369
+ * Contract Definition ID
370
+ * @type {string}
371
+ * @memberof ContractDefinitionEntry
372
+ */
373
+ contractDefinitionId: string;
374
+ /**
375
+ * Access Policy ID
376
+ * @type {string}
377
+ * @memberof ContractDefinitionEntry
378
+ */
379
+ accessPolicyId: string;
380
+ /**
381
+ * Contract Policy ID
382
+ * @type {string}
383
+ * @memberof ContractDefinitionEntry
384
+ */
385
+ contractPolicyId: string;
386
+ /**
387
+ * Criteria for the contract
388
+ * @type {Array<UiCriterion>}
389
+ * @memberof ContractDefinitionEntry
390
+ */
391
+ assetSelector: Array<UiCriterion>;
392
+ }
393
+
394
+ export declare function ContractDefinitionEntryFromJSON(json: any): ContractDefinitionEntry;
395
+
396
+ export declare function ContractDefinitionEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractDefinitionEntry;
397
+
398
+ export declare function ContractDefinitionEntryToJSON(value?: ContractDefinitionEntry | null): any;
399
+
400
+ /**
401
+ * All data for the Contract Definition Page
402
+ * @export
403
+ * @interface ContractDefinitionPage
404
+ */
405
+ export declare interface ContractDefinitionPage {
406
+ /**
407
+ * Contract Definition Entries
408
+ * @type {Array<ContractDefinitionEntry>}
409
+ * @memberof ContractDefinitionPage
410
+ */
411
+ contractDefinitions: Array<ContractDefinitionEntry>;
412
+ }
413
+
414
+ export declare function ContractDefinitionPageFromJSON(json: any): ContractDefinitionPage;
415
+
416
+ export declare function ContractDefinitionPageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractDefinitionPage;
417
+
418
+ export declare function ContractDefinitionPageToJSON(value?: ContractDefinitionPage | null): any;
419
+
420
+ /**
421
+ * Data for creating a Contract Definition
422
+ * @export
423
+ * @interface ContractDefinitionRequest
424
+ */
425
+ export declare interface ContractDefinitionRequest {
426
+ /**
427
+ * Contract Definition ID
428
+ * @type {string}
429
+ * @memberof ContractDefinitionRequest
430
+ */
431
+ contractDefinitionId: string;
432
+ /**
433
+ * Contract Policy ID
434
+ * @type {string}
435
+ * @memberof ContractDefinitionRequest
436
+ */
437
+ contractPolicyId: string;
438
+ /**
439
+ * Access Policy ID
440
+ * @type {string}
441
+ * @memberof ContractDefinitionRequest
442
+ */
443
+ accessPolicyId: string;
444
+ /**
445
+ * List of Criteria for the contract
446
+ * @type {Array<UiCriterion>}
447
+ * @memberof ContractDefinitionRequest
448
+ */
449
+ assetSelector: Array<UiCriterion>;
450
+ }
451
+
452
+ /**
453
+ *
454
+ * @export
455
+ * @interface ContractDefinitionRequestDto
456
+ */
457
+ export declare interface ContractDefinitionRequestDto {
458
+ /**
459
+ *
460
+ * @type {string}
461
+ * @memberof ContractDefinitionRequestDto
462
+ */
463
+ id?: string;
464
+ /**
465
+ *
466
+ * @type {string}
467
+ * @memberof ContractDefinitionRequestDto
468
+ */
469
+ accessPolicyId: string;
470
+ /**
471
+ *
472
+ * @type {string}
473
+ * @memberof ContractDefinitionRequestDto
474
+ */
475
+ contractPolicyId: string;
476
+ /**
477
+ *
478
+ * @type {Array<CriterionDto>}
479
+ * @memberof ContractDefinitionRequestDto
480
+ */
481
+ assetsSelector: Array<CriterionDto>;
482
+ }
483
+
484
+ export declare function ContractDefinitionRequestDtoFromJSON(json: any): ContractDefinitionRequestDto;
485
+
486
+ export declare function ContractDefinitionRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractDefinitionRequestDto;
487
+
488
+ export declare function ContractDefinitionRequestDtoToJSON(value?: ContractDefinitionRequestDto | null): any;
489
+
490
+ export declare function ContractDefinitionRequestFromJSON(json: any): ContractDefinitionRequest;
491
+
492
+ export declare function ContractDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractDefinitionRequest;
493
+
494
+ export declare function ContractDefinitionRequestToJSON(value?: ContractDefinitionRequest | null): any;
495
+
496
+ /**
497
+ * Data for initiating a Contract Negotiation
498
+ * @export
499
+ * @interface ContractNegotiationRequest
500
+ */
501
+ export declare interface ContractNegotiationRequest {
502
+ /**
503
+ * Counter Party Address
504
+ * @type {string}
505
+ * @memberof ContractNegotiationRequest
506
+ */
507
+ counterPartyAddress: string;
508
+ /**
509
+ * Counter Party Participant ID
510
+ * @type {string}
511
+ * @memberof ContractNegotiationRequest
512
+ */
513
+ counterPartyParticipantId: string;
514
+ /**
515
+ * Contract Offer Dto
516
+ * @type {string}
517
+ * @memberof ContractNegotiationRequest
518
+ */
519
+ contractOfferId: string;
520
+ /**
521
+ * Policy JsonLd
522
+ * @type {string}
523
+ * @memberof ContractNegotiationRequest
524
+ */
525
+ policyJsonLd: string;
526
+ /**
527
+ * Asset ID
528
+ * @type {string}
529
+ * @memberof ContractNegotiationRequest
530
+ */
531
+ assetId: string;
532
+ }
533
+
534
+ export declare function ContractNegotiationRequestFromJSON(json: any): ContractNegotiationRequest;
535
+
536
+ export declare function ContractNegotiationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractNegotiationRequest;
537
+
538
+ export declare function ContractNegotiationRequestToJSON(value?: ContractNegotiationRequest | null): any;
539
+
540
+ /**
541
+ * Simplified Contract Negotiation State to be used in UI
542
+ * @export
543
+ */
544
+ export declare const ContractNegotiationSimplifiedState: {
545
+ readonly InProgress: "IN_PROGRESS";
546
+ readonly Agreed: "AGREED";
547
+ readonly Terminated: "TERMINATED";
548
+ };
549
+
550
+ export declare type ContractNegotiationSimplifiedState = (typeof ContractNegotiationSimplifiedState)[keyof typeof ContractNegotiationSimplifiedState];
551
+
552
+ export declare function ContractNegotiationSimplifiedStateFromJSON(json: any): ContractNegotiationSimplifiedState;
553
+
554
+ export declare function ContractNegotiationSimplifiedStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractNegotiationSimplifiedState;
555
+
556
+ export declare function ContractNegotiationSimplifiedStateToJSON(value?: ContractNegotiationSimplifiedState | null): any;
557
+
558
+ /**
559
+ * Contract Negotiation State interpreted
560
+ * @export
561
+ * @interface ContractNegotiationState
562
+ */
563
+ export declare interface ContractNegotiationState {
564
+ /**
565
+ * State name or 'CUSTOM'. State names only exist for original EDC Contract Negotiation States.
566
+ * @type {string}
567
+ * @memberof ContractNegotiationState
568
+ */
569
+ name: string;
570
+ /**
571
+ * State code
572
+ * @type {number}
573
+ * @memberof ContractNegotiationState
574
+ */
575
+ code: number;
576
+ /**
577
+ *
578
+ * @type {ContractNegotiationSimplifiedState}
579
+ * @memberof ContractNegotiationState
580
+ */
581
+ simplifiedState: ContractNegotiationSimplifiedState;
582
+ }
583
+
584
+ export declare function ContractNegotiationStateFromJSON(json: any): ContractNegotiationState;
585
+
586
+ export declare function ContractNegotiationStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractNegotiationState;
587
+
588
+ export declare function ContractNegotiationStateToJSON(value?: ContractNegotiationState | null): any;
589
+
590
+ export declare interface CreateAssetRequest {
591
+ uiAssetCreateRequest?: UiAssetCreateRequest;
592
+ }
593
+
594
+ export declare interface CreateContractDefinitionRequest {
595
+ contractDefinitionRequest?: ContractDefinitionRequest;
596
+ }
597
+
598
+ /**
599
+ * Necessary data for creating an offer
600
+ * @export
601
+ * @interface CreateOfferingDto
602
+ */
603
+ export declare interface CreateOfferingDto {
604
+ /**
605
+ *
606
+ * @type {AssetEntryDto}
607
+ * @memberof CreateOfferingDto
608
+ */
609
+ assetEntry?: AssetEntryDto;
610
+ /**
611
+ *
612
+ * @type {PolicyDefinitionRequestDto}
613
+ * @memberof CreateOfferingDto
614
+ */
615
+ policyDefinitionRequest?: PolicyDefinitionRequestDto;
616
+ /**
617
+ *
618
+ * @type {ContractDefinitionRequestDto}
619
+ * @memberof CreateOfferingDto
620
+ */
621
+ contractDefinitionRequest?: ContractDefinitionRequestDto;
622
+ }
623
+
624
+ export declare function CreateOfferingDtoFromJSON(json: any): CreateOfferingDto;
625
+
626
+ export declare function CreateOfferingDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOfferingDto;
627
+
628
+ export declare function CreateOfferingDtoToJSON(value?: CreateOfferingDto | null): any;
629
+
630
+ export declare interface CreateOfferRequest {
631
+ createOfferingDto?: CreateOfferingDto;
632
+ }
633
+
634
+ export declare interface CreatePolicyDefinitionRequest {
635
+ policyDefinitionCreateRequest?: PolicyDefinitionCreateRequest;
636
+ }
637
+
638
+ /**
639
+ *
640
+ * @export
641
+ * @interface CriterionDto
642
+ */
643
+ export declare interface CriterionDto {
644
+ /**
645
+ *
646
+ * @type {object}
647
+ * @memberof CriterionDto
648
+ */
649
+ operandLeft: object;
650
+ /**
651
+ *
652
+ * @type {string}
653
+ * @memberof CriterionDto
654
+ */
655
+ operator: string;
656
+ /**
657
+ *
658
+ * @type {object}
659
+ * @memberof CriterionDto
660
+ */
661
+ operandRight?: object;
662
+ }
663
+
664
+ export declare function CriterionDtoFromJSON(json: any): CriterionDto;
665
+
666
+ export declare function CriterionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CriterionDto;
667
+
668
+ export declare function CriterionDtoToJSON(value?: CriterionDto | null): any;
669
+
670
+ /**
671
+ * DAPS Config
672
+ * @export
673
+ * @interface DashboardDapsConfig
674
+ */
675
+ export declare interface DashboardDapsConfig {
676
+ /**
677
+ * Your Connector's DAPS Token URL
678
+ * @type {string}
679
+ * @memberof DashboardDapsConfig
680
+ */
681
+ tokenUrl: string;
682
+ /**
683
+ * Your Connector's DAPS JWKS URL
684
+ * @type {string}
685
+ * @memberof DashboardDapsConfig
686
+ */
687
+ jwksUrl: string;
688
+ }
689
+
690
+ export declare function DashboardDapsConfigFromJSON(json: any): DashboardDapsConfig;
691
+
692
+ export declare function DashboardDapsConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardDapsConfig;
693
+
694
+ export declare function DashboardDapsConfigToJSON(value?: DashboardDapsConfig | null): any;
695
+
696
+ /**
697
+ * Managed Identity Wallet (MIW) Config
698
+ * @export
699
+ * @interface DashboardMiwConfig
700
+ */
701
+ export declare interface DashboardMiwConfig {
702
+ /**
703
+ * Your Connector's MIW's URL
704
+ * @type {string}
705
+ * @memberof DashboardMiwConfig
706
+ */
707
+ url: string;
708
+ /**
709
+ * Your Connector's MIW's Token URL
710
+ * @type {string}
711
+ * @memberof DashboardMiwConfig
712
+ */
713
+ tokenUrl: string;
714
+ /**
715
+ * Your Connector's MIW's Authority ID
716
+ * @type {string}
717
+ * @memberof DashboardMiwConfig
718
+ */
719
+ authorityId: string;
720
+ }
721
+
722
+ export declare function DashboardMiwConfigFromJSON(json: any): DashboardMiwConfig;
723
+
724
+ export declare function DashboardMiwConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardMiwConfig;
725
+
726
+ export declare function DashboardMiwConfigToJSON(value?: DashboardMiwConfig | null): any;
727
+
728
+ /**
729
+ *
730
+ * @export
731
+ * @interface DashboardPage
732
+ */
733
+ export declare interface DashboardPage {
734
+ /**
735
+ * Number of Assets
736
+ * @type {number}
737
+ * @memberof DashboardPage
738
+ */
739
+ numAssets: number;
740
+ /**
741
+ * Number of Policies
742
+ * @type {number}
743
+ * @memberof DashboardPage
744
+ */
745
+ numPolicies: number;
746
+ /**
747
+ * Number of Contract Definitions
748
+ * @type {number}
749
+ * @memberof DashboardPage
750
+ */
751
+ numContractDefinitions: number;
752
+ /**
753
+ * Number of consuming Contract Agreements
754
+ * @type {number}
755
+ * @memberof DashboardPage
756
+ */
757
+ numContractAgreementsConsuming: number;
758
+ /**
759
+ * Number of providing Contract Agreements
760
+ * @type {number}
761
+ * @memberof DashboardPage
762
+ */
763
+ numContractAgreementsProviding: number;
764
+ /**
765
+ *
766
+ * @type {DashboardTransferAmounts}
767
+ * @memberof DashboardPage
768
+ */
769
+ transferProcessesConsuming: DashboardTransferAmounts;
770
+ /**
771
+ *
772
+ * @type {DashboardTransferAmounts}
773
+ * @memberof DashboardPage
774
+ */
775
+ transferProcessesProviding: DashboardTransferAmounts;
776
+ /**
777
+ * Your Connector's Connector Endpoint
778
+ * @type {string}
779
+ * @memberof DashboardPage
780
+ */
781
+ connectorEndpoint: string;
782
+ /**
783
+ * Your Connector's Participant ID
784
+ * @type {string}
785
+ * @memberof DashboardPage
786
+ */
787
+ connectorParticipantId: string;
788
+ /**
789
+ * Your Connector's Title
790
+ * @type {string}
791
+ * @memberof DashboardPage
792
+ */
793
+ connectorTitle: string;
794
+ /**
795
+ * Your Connector's Description
796
+ * @type {string}
797
+ * @memberof DashboardPage
798
+ */
799
+ connectorDescription: string;
800
+ /**
801
+ * Your Organization Homepage
802
+ * @type {string}
803
+ * @memberof DashboardPage
804
+ */
805
+ connectorCuratorUrl: string;
806
+ /**
807
+ * Your Organization Name
808
+ * @type {string}
809
+ * @memberof DashboardPage
810
+ */
811
+ connectorCuratorName: string;
812
+ /**
813
+ * Your Connector's Maintainer's Organization Homepage
814
+ * @type {string}
815
+ * @memberof DashboardPage
816
+ */
817
+ connectorMaintainerUrl: string;
818
+ /**
819
+ * Your Connector's Maintainer's Organization Name
820
+ * @type {string}
821
+ * @memberof DashboardPage
822
+ */
823
+ connectorMaintainerName: string;
824
+ /**
825
+ *
826
+ * @type {DashboardDapsConfig}
827
+ * @memberof DashboardPage
828
+ */
829
+ connectorDapsConfig?: DashboardDapsConfig;
830
+ /**
831
+ *
832
+ * @type {DashboardMiwConfig}
833
+ * @memberof DashboardPage
834
+ */
835
+ connectorMiwConfig?: DashboardMiwConfig;
836
+ }
837
+
838
+ export declare function DashboardPageFromJSON(json: any): DashboardPage;
839
+
840
+ export declare function DashboardPageFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardPage;
841
+
842
+ export declare function DashboardPageToJSON(value?: DashboardPage | null): any;
843
+
844
+ /**
845
+ * Providing Transfer Process Amounts
846
+ * @export
847
+ * @interface DashboardTransferAmounts
848
+ */
849
+ export declare interface DashboardTransferAmounts {
850
+ /**
851
+ * Number of Transfer Processes
852
+ * @type {number}
853
+ * @memberof DashboardTransferAmounts
854
+ */
855
+ numTotal: number;
856
+ /**
857
+ * Number of running Transfer Processes
858
+ * @type {number}
859
+ * @memberof DashboardTransferAmounts
860
+ */
861
+ numRunning: number;
862
+ /**
863
+ * Number of successful Transfer Processes
864
+ * @type {number}
865
+ * @memberof DashboardTransferAmounts
866
+ */
867
+ numOk: number;
868
+ /**
869
+ * Number of failed Transfer Processes
870
+ * @type {number}
871
+ * @memberof DashboardTransferAmounts
872
+ */
873
+ numError: number;
874
+ }
875
+
876
+ export declare function DashboardTransferAmountsFromJSON(json: any): DashboardTransferAmounts;
877
+
878
+ export declare function DashboardTransferAmountsFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardTransferAmounts;
879
+
880
+ export declare function DashboardTransferAmountsToJSON(value?: DashboardTransferAmounts | null): any;
881
+
882
+ export declare const DefaultConfig: Configuration;
883
+
884
+ export declare interface DeleteAssetRequest {
885
+ assetId: string;
886
+ }
887
+
888
+ export declare interface DeleteContractDefinitionRequest {
889
+ contractDefinitionId: string;
890
+ }
891
+
892
+ export declare interface DeletePolicyDefinitionRequest {
893
+ policyId: string;
894
+ }
895
+
896
+ /**
897
+ * API Client for our sovity EDC
898
+ */
899
+ export declare interface EdcClient {
900
+ uiApi: UIApi;
901
+ useCaseApi: UseCaseApi;
902
+ enterpriseEditionApi: EnterpriseEditionApi;
903
+ }
904
+
905
+ /**
906
+ * Options for instantiating an EDC API Client
907
+ */
908
+ export declare interface EdcClientOptions {
909
+ managementApiUrl: string;
910
+ managementApiKey?: string;
911
+ configOverrides?: Partial<ConfigurationParameters>;
912
+ }
913
+
914
+ /**
915
+ *
916
+ */
917
+ export declare class EnterpriseEditionApi extends runtime.BaseAPI {
918
+ /**
919
+ * Available and used resources of a connector.
920
+ */
921
+ connectorLimitsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConnectorLimits>>;
922
+ /**
923
+ * Available and used resources of a connector.
924
+ */
925
+ connectorLimits(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConnectorLimits>;
926
+ /**
927
+ * Creates an asset using the uploaded file as data source.
928
+ * Create an asset from an uploaded file.
929
+ */
930
+ fileUploadCreateAssetRaw(requestParameters: FileUploadCreateAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
931
+ /**
932
+ * Creates an asset using the uploaded file as data source.
933
+ * Create an asset from an uploaded file.
934
+ */
935
+ fileUploadCreateAsset(requestParameters: FileUploadCreateAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
936
+ /**
937
+ * Requests a Blob URL with a SAS Token so that the UI can directly upload the file to the Azure Blob Storage. Returns the Blob ID / Token.
938
+ * Requests a Blob for file upload.
939
+ */
940
+ fileUploadRequestSasTokenRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
941
+ /**
942
+ * Requests a Blob URL with a SAS Token so that the UI can directly upload the file to the Azure Blob Storage. Returns the Blob ID / Token.
943
+ * Requests a Blob for file upload.
944
+ */
945
+ fileUploadRequestSasToken(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
946
+ }
947
+
948
+ export declare interface ErrorContext {
949
+ fetch: FetchAPI;
950
+ url: string;
951
+ init: RequestInit;
952
+ error: unknown;
953
+ response?: Response;
954
+ }
955
+
956
+ export declare function exists(json: any, key: string): boolean;
957
+
958
+ /**
959
+ * Possible constraints for the permission
960
+ * @export
961
+ * @interface ExpressionDto
962
+ */
963
+ export declare interface ExpressionDto {
964
+ /**
965
+ *
966
+ * @type {ExpressionType}
967
+ * @memberof ExpressionDto
968
+ */
969
+ type?: ExpressionType;
970
+ /**
971
+ *
972
+ * @type {AtomicConstraintDto}
973
+ * @memberof ExpressionDto
974
+ */
975
+ atomicConstraint?: AtomicConstraintDto;
976
+ /**
977
+ *
978
+ * @type {Array<ExpressionDto>}
979
+ * @memberof ExpressionDto
980
+ */
981
+ and?: Array<ExpressionDto>;
982
+ /**
983
+ *
984
+ * @type {Array<ExpressionDto>}
985
+ * @memberof ExpressionDto
986
+ */
987
+ or?: Array<ExpressionDto>;
988
+ /**
989
+ *
990
+ * @type {Array<ExpressionDto>}
991
+ * @memberof ExpressionDto
992
+ */
993
+ xor?: Array<ExpressionDto>;
994
+ }
995
+
996
+ export declare function ExpressionDtoFromJSON(json: any): ExpressionDto;
997
+
998
+ export declare function ExpressionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExpressionDto;
999
+
1000
+ export declare function ExpressionDtoToJSON(value?: ExpressionDto | null): any;
1001
+
1002
+ /**
1003
+ * Expression types:
1004
+ * * `EMPTY` - No constraints for the policy
1005
+ * * `ATOMIC_CONSTRAINT` - A single constraint for the policy
1006
+ * * `AND` - Several constraints, all of which must be respected
1007
+ * * `OR` - Several constraints, of which at least one must be respected
1008
+ * * `XOR` - Several constraints, of which exactly one must be respected
1009
+ * @export
1010
+ */
1011
+ export declare const ExpressionType: {
1012
+ readonly Empty: "EMPTY";
1013
+ readonly AtomicConstraint: "ATOMIC_CONSTRAINT";
1014
+ readonly And: "AND";
1015
+ readonly Or: "OR";
1016
+ readonly Xor: "XOR";
1017
+ };
1018
+
1019
+ export declare type ExpressionType = (typeof ExpressionType)[keyof typeof ExpressionType];
1020
+
1021
+ export declare function ExpressionTypeFromJSON(json: any): ExpressionType;
1022
+
1023
+ export declare function ExpressionTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExpressionType;
1024
+
1025
+ export declare function ExpressionTypeToJSON(value?: ExpressionType | null): any;
1026
+
1027
+ export declare type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
1028
+
1029
+ export declare class FetchError extends Error {
1030
+ cause: Error;
1031
+ name: 'FetchError';
1032
+ constructor(cause: Error, msg?: string);
1033
+ }
1034
+
1035
+ export declare interface FetchParams {
1036
+ url: string;
1037
+ init: RequestInit;
1038
+ }
1039
+
1040
+ export declare interface FileUploadCreateAssetRequest {
1041
+ blobId: string;
1042
+ uiAssetCreateRequest: UiAssetCreateRequest;
1043
+ }
1044
+
1045
+ export declare interface GetCatalogPageDataOffersRequest {
1046
+ connectorEndpoint?: string;
1047
+ }
1048
+
1049
+ export declare interface GetContractNegotiationRequest {
1050
+ contractNegotiationId: string;
1051
+ }
1052
+
1053
+ export declare interface GetTransferProcessAssetRequest {
1054
+ transferProcessId: string;
1055
+ }
1056
+
1057
+ export declare type HTTPBody = Json | FormData | URLSearchParams;
1058
+
1059
+ export declare type HTTPHeaders = {
1060
+ [key: string]: string;
1061
+ };
1062
+
1063
+ export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
1064
+
1065
+ export declare type HTTPQuery = {
1066
+ [key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
1067
+ };
1068
+
1069
+ export declare type HTTPRequestInit = {
1070
+ headers?: HTTPHeaders;
1071
+ method: HTTPMethod;
1072
+ credentials?: RequestCredentials;
1073
+ body?: HTTPBody;
1074
+ };
1075
+
1076
+ /**
1077
+ * Marks the operation as successful
1078
+ * @export
1079
+ * @interface IdResponseDto
1080
+ */
1081
+ export declare interface IdResponseDto {
1082
+ /**
1083
+ * ID
1084
+ * @type {string}
1085
+ * @memberof IdResponseDto
1086
+ */
1087
+ id: string;
1088
+ /**
1089
+ * Change Date
1090
+ * @type {Date}
1091
+ * @memberof IdResponseDto
1092
+ */
1093
+ lastUpdatedDate: Date;
1094
+ }
1095
+
1096
+ export declare function IdResponseDtoFromJSON(json: any): IdResponseDto;
1097
+
1098
+ export declare function IdResponseDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdResponseDto;
1099
+
1100
+ export declare function IdResponseDtoToJSON(value?: IdResponseDto | null): any;
1101
+
1102
+ export declare interface InitiateContractNegotiationRequest {
1103
+ contractNegotiationRequest?: ContractNegotiationRequest;
1104
+ }
1105
+
1106
+ export declare interface InitiateCustomTransferOperationRequest {
1107
+ initiateCustomTransferRequest?: InitiateCustomTransferRequest;
1108
+ }
1109
+
1110
+ /**
1111
+ * Required data for starting a Contract Agreement's Transfer Process
1112
+ * @export
1113
+ * @interface InitiateCustomTransferRequest
1114
+ */
1115
+ export declare interface InitiateCustomTransferRequest {
1116
+ /**
1117
+ * Contract Agreement ID
1118
+ * @type {string}
1119
+ * @memberof InitiateCustomTransferRequest
1120
+ */
1121
+ contractAgreementId: string;
1122
+ /**
1123
+ * Partial TransferProcessRequestJsonLd JSON-LD. Fields participantId, connectorEndpoint, assetId and contractId can be omitted, they will be overridden with information from the contract.
1124
+ * @type {string}
1125
+ * @memberof InitiateCustomTransferRequest
1126
+ */
1127
+ transferProcessRequestJsonLd: string;
1128
+ }
1129
+
1130
+ export declare function InitiateCustomTransferRequestFromJSON(json: any): InitiateCustomTransferRequest;
1131
+
1132
+ export declare function InitiateCustomTransferRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InitiateCustomTransferRequest;
1133
+
1134
+ export declare function InitiateCustomTransferRequestToJSON(value?: InitiateCustomTransferRequest | null): any;
1135
+
1136
+ export declare interface InitiateTransferOperationRequest {
1137
+ initiateTransferRequest?: InitiateTransferRequest;
1138
+ }
1139
+
1140
+ /**
1141
+ * For type PARAMS_ONLY: Required data for starting a Transfer Process
1142
+ * @export
1143
+ * @interface InitiateTransferRequest
1144
+ */
1145
+ export declare interface InitiateTransferRequest {
1146
+ /**
1147
+ * Contract Agreement ID
1148
+ * @type {string}
1149
+ * @memberof InitiateTransferRequest
1150
+ */
1151
+ contractAgreementId: string;
1152
+ /**
1153
+ * Data Sink / Data Address
1154
+ * @type {{ [key: string]: string; }}
1155
+ * @memberof InitiateTransferRequest
1156
+ */
1157
+ dataSinkProperties: {
1158
+ [key: string]: string;
1159
+ };
1160
+ /**
1161
+ * Additional transfer process properties. These are not passed to the consumer EDC
1162
+ * @type {{ [key: string]: string; }}
1163
+ * @memberof InitiateTransferRequest
1164
+ */
1165
+ transferProcessProperties: {
1166
+ [key: string]: string;
1167
+ };
1168
+ }
1169
+
1170
+ export declare function InitiateTransferRequestFromJSON(json: any): InitiateTransferRequest;
1171
+
1172
+ export declare function InitiateTransferRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InitiateTransferRequest;
1173
+
1174
+ export declare function InitiateTransferRequestToJSON(value?: InitiateTransferRequest | null): any;
1175
+
1176
+ export declare type InitOverrideFunction = (requestContext: {
1177
+ init: HTTPRequestInit;
1178
+ context: RequestOpts;
1179
+ }) => Promise<RequestInit>;
1180
+
1181
+ /**
1182
+ * Check if a given object implements the AssetEntryDto interface.
1183
+ */
1184
+ export declare function instanceOfAssetEntryDto(value: object): boolean;
1185
+
1186
+ /**
1187
+ * Check if a given object implements the AssetPage interface.
1188
+ */
1189
+ export declare function instanceOfAssetPage(value: object): boolean;
1190
+
1191
+ /**
1192
+ * Check if a given object implements the AtomicConstraintDto interface.
1193
+ */
1194
+ export declare function instanceOfAtomicConstraintDto(value: object): boolean;
1195
+
1196
+ /**
1197
+ * Check if a given object implements the ConnectorLimits interface.
1198
+ */
1199
+ export declare function instanceOfConnectorLimits(value: object): boolean;
1200
+
1201
+ /**
1202
+ * Check if a given object implements the ContractAgreementCard interface.
1203
+ */
1204
+ export declare function instanceOfContractAgreementCard(value: object): boolean;
1205
+
1206
+ /**
1207
+ * Check if a given object implements the ContractAgreementPage interface.
1208
+ */
1209
+ export declare function instanceOfContractAgreementPage(value: object): boolean;
1210
+
1211
+ /**
1212
+ * Check if a given object implements the ContractAgreementTransferProcess interface.
1213
+ */
1214
+ export declare function instanceOfContractAgreementTransferProcess(value: object): boolean;
1215
+
1216
+ /**
1217
+ * Check if a given object implements the ContractDefinitionEntry interface.
1218
+ */
1219
+ export declare function instanceOfContractDefinitionEntry(value: object): boolean;
1220
+
1221
+ /**
1222
+ * Check if a given object implements the ContractDefinitionPage interface.
1223
+ */
1224
+ export declare function instanceOfContractDefinitionPage(value: object): boolean;
1225
+
1226
+ /**
1227
+ * Check if a given object implements the ContractDefinitionRequest interface.
1228
+ */
1229
+ export declare function instanceOfContractDefinitionRequest(value: object): boolean;
1230
+
1231
+ /**
1232
+ * Check if a given object implements the ContractDefinitionRequestDto interface.
1233
+ */
1234
+ export declare function instanceOfContractDefinitionRequestDto(value: object): boolean;
1235
+
1236
+ /**
1237
+ * Check if a given object implements the ContractNegotiationRequest interface.
1238
+ */
1239
+ export declare function instanceOfContractNegotiationRequest(value: object): boolean;
1240
+
1241
+ /**
1242
+ * Check if a given object implements the ContractNegotiationState interface.
1243
+ */
1244
+ export declare function instanceOfContractNegotiationState(value: object): boolean;
1245
+
1246
+ /**
1247
+ * Check if a given object implements the CreateOfferingDto interface.
1248
+ */
1249
+ export declare function instanceOfCreateOfferingDto(value: object): boolean;
1250
+
1251
+ /**
1252
+ * Check if a given object implements the CriterionDto interface.
1253
+ */
1254
+ export declare function instanceOfCriterionDto(value: object): boolean;
1255
+
1256
+ /**
1257
+ * Check if a given object implements the DashboardDapsConfig interface.
1258
+ */
1259
+ export declare function instanceOfDashboardDapsConfig(value: object): boolean;
1260
+
1261
+ /**
1262
+ * Check if a given object implements the DashboardMiwConfig interface.
1263
+ */
1264
+ export declare function instanceOfDashboardMiwConfig(value: object): boolean;
1265
+
1266
+ /**
1267
+ * Check if a given object implements the DashboardPage interface.
1268
+ */
1269
+ export declare function instanceOfDashboardPage(value: object): boolean;
1270
+
1271
+ /**
1272
+ * Check if a given object implements the DashboardTransferAmounts interface.
1273
+ */
1274
+ export declare function instanceOfDashboardTransferAmounts(value: object): boolean;
1275
+
1276
+ /**
1277
+ * Check if a given object implements the ExpressionDto interface.
1278
+ */
1279
+ export declare function instanceOfExpressionDto(value: object): boolean;
1280
+
1281
+ /**
1282
+ * Check if a given object implements the IdResponseDto interface.
1283
+ */
1284
+ export declare function instanceOfIdResponseDto(value: object): boolean;
1285
+
1286
+ /**
1287
+ * Check if a given object implements the InitiateCustomTransferRequest interface.
1288
+ */
1289
+ export declare function instanceOfInitiateCustomTransferRequest(value: object): boolean;
1290
+
1291
+ /**
1292
+ * Check if a given object implements the InitiateTransferRequest interface.
1293
+ */
1294
+ export declare function instanceOfInitiateTransferRequest(value: object): boolean;
1295
+
1296
+ /**
1297
+ * Check if a given object implements the KpiResult interface.
1298
+ */
1299
+ export declare function instanceOfKpiResult(value: object): boolean;
1300
+
1301
+ /**
1302
+ * Check if a given object implements the PermissionDto interface.
1303
+ */
1304
+ export declare function instanceOfPermissionDto(value: object): boolean;
1305
+
1306
+ /**
1307
+ * Check if a given object implements the PolicyDefinitionCreateRequest interface.
1308
+ */
1309
+ export declare function instanceOfPolicyDefinitionCreateRequest(value: object): boolean;
1310
+
1311
+ /**
1312
+ * Check if a given object implements the PolicyDefinitionDto interface.
1313
+ */
1314
+ export declare function instanceOfPolicyDefinitionDto(value: object): boolean;
1315
+
1316
+ /**
1317
+ * Check if a given object implements the PolicyDefinitionPage interface.
1318
+ */
1319
+ export declare function instanceOfPolicyDefinitionPage(value: object): boolean;
1320
+
1321
+ /**
1322
+ * Check if a given object implements the PolicyDefinitionRequestDto interface.
1323
+ */
1324
+ export declare function instanceOfPolicyDefinitionRequestDto(value: object): boolean;
1325
+
1326
+ /**
1327
+ * Check if a given object implements the PolicyDto interface.
1328
+ */
1329
+ export declare function instanceOfPolicyDto(value: object): boolean;
1330
+
1331
+ /**
1332
+ * Check if a given object implements the TransferHistoryEntry interface.
1333
+ */
1334
+ export declare function instanceOfTransferHistoryEntry(value: object): boolean;
1335
+
1336
+ /**
1337
+ * Check if a given object implements the TransferHistoryPage interface.
1338
+ */
1339
+ export declare function instanceOfTransferHistoryPage(value: object): boolean;
1340
+
1341
+ /**
1342
+ * Check if a given object implements the TransferProcessState interface.
1343
+ */
1344
+ export declare function instanceOfTransferProcessState(value: object): boolean;
1345
+
1346
+ /**
1347
+ * Check if a given object implements the TransferProcessStatesDto interface.
1348
+ */
1349
+ export declare function instanceOfTransferProcessStatesDto(value: object): boolean;
1350
+
1351
+ /**
1352
+ * Check if a given object implements the UiAsset interface.
1353
+ */
1354
+ export declare function instanceOfUiAsset(value: object): boolean;
1355
+
1356
+ /**
1357
+ * Check if a given object implements the UiAssetCreateRequest interface.
1358
+ */
1359
+ export declare function instanceOfUiAssetCreateRequest(value: object): boolean;
1360
+
1361
+ /**
1362
+ * Check if a given object implements the UiContractNegotiation interface.
1363
+ */
1364
+ export declare function instanceOfUiContractNegotiation(value: object): boolean;
1365
+
1366
+ /**
1367
+ * Check if a given object implements the UiContractOffer interface.
1368
+ */
1369
+ export declare function instanceOfUiContractOffer(value: object): boolean;
1370
+
1371
+ /**
1372
+ * Check if a given object implements the UiCriterion interface.
1373
+ */
1374
+ export declare function instanceOfUiCriterion(value: object): boolean;
1375
+
1376
+ /**
1377
+ * Check if a given object implements the UiCriterionLiteral interface.
1378
+ */
1379
+ export declare function instanceOfUiCriterionLiteral(value: object): boolean;
1380
+
1381
+ /**
1382
+ * Check if a given object implements the UiDataOffer interface.
1383
+ */
1384
+ export declare function instanceOfUiDataOffer(value: object): boolean;
1385
+
1386
+ /**
1387
+ * Check if a given object implements the UiPolicy interface.
1388
+ */
1389
+ export declare function instanceOfUiPolicy(value: object): boolean;
1390
+
1391
+ /**
1392
+ * Check if a given object implements the UiPolicyConstraint interface.
1393
+ */
1394
+ export declare function instanceOfUiPolicyConstraint(value: object): boolean;
1395
+
1396
+ /**
1397
+ * Check if a given object implements the UiPolicyCreateRequest interface.
1398
+ */
1399
+ export declare function instanceOfUiPolicyCreateRequest(value: object): boolean;
1400
+
1401
+ /**
1402
+ * Check if a given object implements the UiPolicyLiteral interface.
1403
+ */
1404
+ export declare function instanceOfUiPolicyLiteral(value: object): boolean;
1405
+
1406
+ export declare type Json = any;
1407
+
1408
+ export declare class JSONApiResponse<T> {
1409
+ raw: Response;
1410
+ private transformer;
1411
+ constructor(raw: Response, transformer?: ResponseTransformer<T>);
1412
+ value(): Promise<T>;
1413
+ }
1414
+
1415
+ /**
1416
+ * EDC-status-defining KPIs
1417
+ * @export
1418
+ * @interface KpiResult
1419
+ */
1420
+ export declare interface KpiResult {
1421
+ /**
1422
+ * Counts of assets
1423
+ * @type {number}
1424
+ * @memberof KpiResult
1425
+ */
1426
+ assetsCount: number;
1427
+ /**
1428
+ * Counts of policies
1429
+ * @type {number}
1430
+ * @memberof KpiResult
1431
+ */
1432
+ policiesCount: number;
1433
+ /**
1434
+ * Counts of contract definitions
1435
+ * @type {number}
1436
+ * @memberof KpiResult
1437
+ */
1438
+ contractDefinitionsCount: number;
1439
+ /**
1440
+ * Counts of contract agreements
1441
+ * @type {number}
1442
+ * @memberof KpiResult
1443
+ */
1444
+ contractAgreementsCount: number;
1445
+ /**
1446
+ *
1447
+ * @type {TransferProcessStatesDto}
1448
+ * @memberof KpiResult
1449
+ */
1450
+ transferProcessDto: TransferProcessStatesDto;
1451
+ }
1452
+
1453
+ export declare function KpiResultFromJSON(json: any): KpiResult;
1454
+
1455
+ export declare function KpiResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): KpiResult;
1456
+
1457
+ export declare function KpiResultToJSON(value?: KpiResult | null): any;
1458
+
1459
+ export declare function mapValues(data: any, fn: (item: any) => any): {};
1460
+
1461
+ export declare interface Middleware {
1462
+ pre?(context: RequestContext): Promise<FetchParams | void>;
1463
+ post?(context: ResponseContext): Promise<Response | void>;
1464
+ onError?(context: ErrorContext): Promise<Response | void>;
1465
+ }
1466
+
1467
+ export declare type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
1468
+
1469
+ /**
1470
+ * Operator for policies
1471
+ * @export
1472
+ */
1473
+ export declare const OperatorDto: {
1474
+ readonly Eq: "EQ";
1475
+ readonly Neq: "NEQ";
1476
+ readonly Gt: "GT";
1477
+ readonly Geq: "GEQ";
1478
+ readonly Lt: "LT";
1479
+ readonly Leq: "LEQ";
1480
+ readonly In: "IN";
1481
+ readonly HasPart: "HAS_PART";
1482
+ readonly IsA: "IS_A";
1483
+ readonly IsAllOf: "IS_ALL_OF";
1484
+ readonly IsAnyOf: "IS_ANY_OF";
1485
+ readonly IsNoneOf: "IS_NONE_OF";
1486
+ };
1487
+
1488
+ export declare type OperatorDto = (typeof OperatorDto)[keyof typeof OperatorDto];
1489
+
1490
+ export declare function OperatorDtoFromJSON(json: any): OperatorDto;
1491
+
1492
+ export declare function OperatorDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): OperatorDto;
1493
+
1494
+ export declare function OperatorDtoToJSON(value?: OperatorDto | null): any;
1495
+
1496
+ /**
1497
+ * Permission for this policy
1498
+ * @export
1499
+ * @interface PermissionDto
1500
+ */
1501
+ export declare interface PermissionDto {
1502
+ /**
1503
+ *
1504
+ * @type {ExpressionDto}
1505
+ * @memberof PermissionDto
1506
+ */
1507
+ constraints: ExpressionDto;
1508
+ }
1509
+
1510
+ export declare function PermissionDtoFromJSON(json: any): PermissionDto;
1511
+
1512
+ export declare function PermissionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionDto;
1513
+
1514
+ export declare function PermissionDtoToJSON(value?: PermissionDto | null): any;
1515
+
1516
+ /**
1517
+ * Data for creating a Policy Definition
1518
+ * @export
1519
+ * @interface PolicyDefinitionCreateRequest
1520
+ */
1521
+ export declare interface PolicyDefinitionCreateRequest {
1522
+ /**
1523
+ * Policy Definition ID
1524
+ * @type {string}
1525
+ * @memberof PolicyDefinitionCreateRequest
1526
+ */
1527
+ policyDefinitionId: string;
1528
+ /**
1529
+ *
1530
+ * @type {UiPolicyCreateRequest}
1531
+ * @memberof PolicyDefinitionCreateRequest
1532
+ */
1533
+ policy: UiPolicyCreateRequest;
1534
+ }
1535
+
1536
+ export declare function PolicyDefinitionCreateRequestFromJSON(json: any): PolicyDefinitionCreateRequest;
1537
+
1538
+ export declare function PolicyDefinitionCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PolicyDefinitionCreateRequest;
1539
+
1540
+ export declare function PolicyDefinitionCreateRequestToJSON(value?: PolicyDefinitionCreateRequest | null): any;
1541
+
1542
+ /**
1543
+ * Policy Definition as required for the Policy Definition Page
1544
+ * @export
1545
+ * @interface PolicyDefinitionDto
1546
+ */
1547
+ export declare interface PolicyDefinitionDto {
1548
+ /**
1549
+ * Policy Definition ID
1550
+ * @type {string}
1551
+ * @memberof PolicyDefinitionDto
1552
+ */
1553
+ policyDefinitionId: string;
1554
+ /**
1555
+ *
1556
+ * @type {UiPolicy}
1557
+ * @memberof PolicyDefinitionDto
1558
+ */
1559
+ policy: UiPolicy;
1560
+ }
1561
+
1562
+ export declare function PolicyDefinitionDtoFromJSON(json: any): PolicyDefinitionDto;
1563
+
1564
+ export declare function PolicyDefinitionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PolicyDefinitionDto;
1565
+
1566
+ export declare function PolicyDefinitionDtoToJSON(value?: PolicyDefinitionDto | null): any;
1567
+
1568
+ /**
1569
+ * All data for the policy definition page as required by the UI
1570
+ * @export
1571
+ * @interface PolicyDefinitionPage
1572
+ */
1573
+ export declare interface PolicyDefinitionPage {
1574
+ /**
1575
+ * Policy Definition Entries
1576
+ * @type {Array<PolicyDefinitionDto>}
1577
+ * @memberof PolicyDefinitionPage
1578
+ */
1579
+ policies: Array<PolicyDefinitionDto>;
1580
+ }
1581
+
1582
+ export declare function PolicyDefinitionPageFromJSON(json: any): PolicyDefinitionPage;
1583
+
1584
+ export declare function PolicyDefinitionPageFromJSONTyped(json: any, ignoreDiscriminator: boolean): PolicyDefinitionPage;
1585
+
1586
+ export declare function PolicyDefinitionPageToJSON(value?: PolicyDefinitionPage | null): any;
1587
+
1588
+ /**
1589
+ * Data for creating a policy definition request
1590
+ * @export
1591
+ * @interface PolicyDefinitionRequestDto
1592
+ */
1593
+ export declare interface PolicyDefinitionRequestDto {
1594
+ /**
1595
+ * ID chosen by the user
1596
+ * @type {string}
1597
+ * @memberof PolicyDefinitionRequestDto
1598
+ */
1599
+ id: string;
1600
+ /**
1601
+ *
1602
+ * @type {PolicyDto}
1603
+ * @memberof PolicyDefinitionRequestDto
1604
+ */
1605
+ policy: PolicyDto;
1606
+ }
1607
+
1608
+ export declare function PolicyDefinitionRequestDtoFromJSON(json: any): PolicyDefinitionRequestDto;
1609
+
1610
+ export declare function PolicyDefinitionRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PolicyDefinitionRequestDto;
1611
+
1612
+ export declare function PolicyDefinitionRequestDtoToJSON(value?: PolicyDefinitionRequestDto | null): any;
1613
+
1614
+ /**
1615
+ * Type-Safe OpenAPI generator friendly Policy DTO that supports an opinionated subset of the original EDC Policy Entity.
1616
+ * @export
1617
+ * @interface PolicyDto
1618
+ */
1619
+ export declare interface PolicyDto {
1620
+ /**
1621
+ * 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.
1622
+ * @type {string}
1623
+ * @memberof PolicyDto
1624
+ */
1625
+ legacyPolicy: string;
1626
+ /**
1627
+ *
1628
+ * @type {PermissionDto}
1629
+ * @memberof PolicyDto
1630
+ */
1631
+ permission: PermissionDto;
1632
+ }
1633
+
1634
+ export declare function PolicyDtoFromJSON(json: any): PolicyDto;
1635
+
1636
+ export declare function PolicyDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PolicyDto;
1637
+
1638
+ export declare function PolicyDtoToJSON(value?: PolicyDto | null): any;
1639
+
1640
+ export declare function querystring(params: HTTPQuery, prefix?: string): string;
1641
+
1642
+ export declare interface RequestContext {
1643
+ fetch: FetchAPI;
1644
+ url: string;
1645
+ init: RequestInit;
1646
+ }
1647
+
1648
+ export declare interface RequestOpts {
1649
+ path: string;
1650
+ method: HTTPMethod;
1651
+ headers: HTTPHeaders;
1652
+ query?: HTTPQuery;
1653
+ body?: HTTPBody;
1654
+ }
1655
+
1656
+ export declare class RequiredError extends Error {
1657
+ field: string;
1658
+ name: 'RequiredError';
1659
+ constructor(field: string, msg?: string);
1660
+ }
1661
+
1662
+ export declare interface ResponseContext {
1663
+ fetch: FetchAPI;
1664
+ url: string;
1665
+ init: RequestInit;
1666
+ response: Response;
1667
+ }
1668
+
1669
+ export declare class ResponseError extends Error {
1670
+ response: Response;
1671
+ name: 'ResponseError';
1672
+ constructor(response: Response, msg?: string);
1673
+ }
1674
+
1675
+ export declare interface ResponseTransformer<T> {
1676
+ (json: any): T;
1677
+ }
1678
+
1679
+ declare namespace runtime {
1680
+ export {
1681
+ exists,
1682
+ querystring,
1683
+ mapValues,
1684
+ canConsumeForm,
1685
+ BASE_PATH,
1686
+ ConfigurationParameters,
1687
+ Configuration,
1688
+ DefaultConfig,
1689
+ BaseAPI,
1690
+ ResponseError,
1691
+ FetchError,
1692
+ RequiredError,
1693
+ COLLECTION_FORMATS,
1694
+ FetchAPI,
1695
+ Json,
1696
+ HTTPMethod,
1697
+ HTTPHeaders,
1698
+ HTTPQuery,
1699
+ HTTPBody,
1700
+ HTTPRequestInit,
1701
+ ModelPropertyNaming,
1702
+ InitOverrideFunction,
1703
+ FetchParams,
1704
+ RequestOpts,
1705
+ Consume,
1706
+ RequestContext,
1707
+ ResponseContext,
1708
+ ErrorContext,
1709
+ Middleware,
1710
+ ApiResponse,
1711
+ ResponseTransformer,
1712
+ JSONApiResponse,
1713
+ VoidApiResponse,
1714
+ BlobApiResponse,
1715
+ TextApiResponse
1716
+ }
1717
+ }
1718
+
1719
+ export declare class TextApiResponse {
1720
+ raw: Response;
1721
+ constructor(raw: Response);
1722
+ value(): Promise<string>;
1723
+ }
1724
+
1725
+ /**
1726
+ * Transfer History Entry for Transfer History Page
1727
+ * @export
1728
+ * @interface TransferHistoryEntry
1729
+ */
1730
+ export declare interface TransferHistoryEntry {
1731
+ /**
1732
+ * Transfer Process ID
1733
+ * @type {string}
1734
+ * @memberof TransferHistoryEntry
1735
+ */
1736
+ transferProcessId: string;
1737
+ /**
1738
+ * Created Date
1739
+ * @type {Date}
1740
+ * @memberof TransferHistoryEntry
1741
+ */
1742
+ createdDate: Date;
1743
+ /**
1744
+ * Last Change Date
1745
+ * @type {Date}
1746
+ * @memberof TransferHistoryEntry
1747
+ */
1748
+ lastUpdatedDate: Date;
1749
+ /**
1750
+ *
1751
+ * @type {TransferProcessState}
1752
+ * @memberof TransferHistoryEntry
1753
+ */
1754
+ state: TransferProcessState;
1755
+ /**
1756
+ * Contract Agreement ID
1757
+ * @type {string}
1758
+ * @memberof TransferHistoryEntry
1759
+ */
1760
+ contractAgreementId: string;
1761
+ /**
1762
+ *
1763
+ * @type {ContractAgreementDirection}
1764
+ * @memberof TransferHistoryEntry
1765
+ */
1766
+ direction: ContractAgreementDirection;
1767
+ /**
1768
+ * Other Connector's Endpoint
1769
+ * @type {string}
1770
+ * @memberof TransferHistoryEntry
1771
+ */
1772
+ counterPartyConnectorEndpoint: string;
1773
+ /**
1774
+ * Asset Name
1775
+ * @type {string}
1776
+ * @memberof TransferHistoryEntry
1777
+ */
1778
+ assetName: string;
1779
+ /**
1780
+ * Asset ID
1781
+ * @type {string}
1782
+ * @memberof TransferHistoryEntry
1783
+ */
1784
+ assetId: string;
1785
+ /**
1786
+ * Error Message
1787
+ * @type {string}
1788
+ * @memberof TransferHistoryEntry
1789
+ */
1790
+ errorMessage?: string;
1791
+ }
1792
+
1793
+ export declare function TransferHistoryEntryFromJSON(json: any): TransferHistoryEntry;
1794
+
1795
+ export declare function TransferHistoryEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransferHistoryEntry;
1796
+
1797
+ export declare function TransferHistoryEntryToJSON(value?: TransferHistoryEntry | null): any;
1798
+
1799
+ /**
1800
+ *
1801
+ * @export
1802
+ * @interface TransferHistoryPage
1803
+ */
1804
+ export declare interface TransferHistoryPage {
1805
+ /**
1806
+ * Transfer History Page Entries
1807
+ * @type {Array<TransferHistoryEntry>}
1808
+ * @memberof TransferHistoryPage
1809
+ */
1810
+ transferEntries: Array<TransferHistoryEntry>;
1811
+ }
1812
+
1813
+ export declare function TransferHistoryPageFromJSON(json: any): TransferHistoryPage;
1814
+
1815
+ export declare function TransferHistoryPageFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransferHistoryPage;
1816
+
1817
+ export declare function TransferHistoryPageToJSON(value?: TransferHistoryPage | null): any;
1818
+
1819
+ /**
1820
+ * Simplified Transfer Process State to be used in UI
1821
+ * @export
1822
+ */
1823
+ export declare const TransferProcessSimplifiedState: {
1824
+ readonly Running: "RUNNING";
1825
+ readonly Ok: "OK";
1826
+ readonly Error: "ERROR";
1827
+ };
1828
+
1829
+ export declare type TransferProcessSimplifiedState = (typeof TransferProcessSimplifiedState)[keyof typeof TransferProcessSimplifiedState];
1830
+
1831
+ export declare function TransferProcessSimplifiedStateFromJSON(json: any): TransferProcessSimplifiedState;
1832
+
1833
+ export declare function TransferProcessSimplifiedStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransferProcessSimplifiedState;
1834
+
1835
+ export declare function TransferProcessSimplifiedStateToJSON(value?: TransferProcessSimplifiedState | null): any;
1836
+
1837
+ /**
1838
+ * Transfer Process State interpreted
1839
+ * @export
1840
+ * @interface TransferProcessState
1841
+ */
1842
+ export declare interface TransferProcessState {
1843
+ /**
1844
+ * State name or 'CUSTOM'. State names only exist for original EDC Transfer Process States.
1845
+ * @type {string}
1846
+ * @memberof TransferProcessState
1847
+ */
1848
+ name: string;
1849
+ /**
1850
+ * State code
1851
+ * @type {number}
1852
+ * @memberof TransferProcessState
1853
+ */
1854
+ code: number;
1855
+ /**
1856
+ *
1857
+ * @type {TransferProcessSimplifiedState}
1858
+ * @memberof TransferProcessState
1859
+ */
1860
+ simplifiedState: TransferProcessSimplifiedState;
1861
+ }
1862
+
1863
+ export declare function TransferProcessStateFromJSON(json: any): TransferProcessState;
1864
+
1865
+ export declare function TransferProcessStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransferProcessState;
1866
+
1867
+ /**
1868
+ * Counts of incoming and outgoing TransferProcesses and status
1869
+ * @export
1870
+ * @interface TransferProcessStatesDto
1871
+ */
1872
+ export declare interface TransferProcessStatesDto {
1873
+ /**
1874
+ * States and count of incoming transferprocess counts
1875
+ * @type {{ [key: string]: number; }}
1876
+ * @memberof TransferProcessStatesDto
1877
+ */
1878
+ incomingTransferProcessCounts: {
1879
+ [key: string]: number;
1880
+ };
1881
+ /**
1882
+ * States and counts of outgoing transferprocess counts
1883
+ * @type {{ [key: string]: number; }}
1884
+ * @memberof TransferProcessStatesDto
1885
+ */
1886
+ outgoingTransferProcessCounts: {
1887
+ [key: string]: number;
1888
+ };
1889
+ }
1890
+
1891
+ export declare function TransferProcessStatesDtoFromJSON(json: any): TransferProcessStatesDto;
1892
+
1893
+ export declare function TransferProcessStatesDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransferProcessStatesDto;
1894
+
1895
+ export declare function TransferProcessStatesDtoToJSON(value?: TransferProcessStatesDto | null): any;
1896
+
1897
+ export declare function TransferProcessStateToJSON(value?: TransferProcessState | null): any;
1898
+
1899
+ /**
1900
+ *
1901
+ */
1902
+ export declare class UIApi extends runtime.BaseAPI {
1903
+ /**
1904
+ * Create a new Asset
1905
+ */
1906
+ createAssetRaw(requestParameters: CreateAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponseDto>>;
1907
+ /**
1908
+ * Create a new Asset
1909
+ */
1910
+ createAsset(requestParameters?: CreateAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
1911
+ /**
1912
+ * Create a new Contract Definition
1913
+ */
1914
+ createContractDefinitionRaw(requestParameters: CreateContractDefinitionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponseDto>>;
1915
+ /**
1916
+ * Create a new Contract Definition
1917
+ */
1918
+ createContractDefinition(requestParameters?: CreateContractDefinitionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
1919
+ /**
1920
+ * Create a new Policy Definition
1921
+ */
1922
+ createPolicyDefinitionRaw(requestParameters: CreatePolicyDefinitionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponseDto>>;
1923
+ /**
1924
+ * Create a new Policy Definition
1925
+ */
1926
+ createPolicyDefinition(requestParameters?: CreatePolicyDefinitionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
1927
+ /**
1928
+ * Delete an Asset
1929
+ */
1930
+ deleteAssetRaw(requestParameters: DeleteAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponseDto>>;
1931
+ /**
1932
+ * Delete an Asset
1933
+ */
1934
+ deleteAsset(requestParameters: DeleteAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
1935
+ /**
1936
+ * Delete a Contract Definition
1937
+ */
1938
+ deleteContractDefinitionRaw(requestParameters: DeleteContractDefinitionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponseDto>>;
1939
+ /**
1940
+ * Delete a Contract Definition
1941
+ */
1942
+ deleteContractDefinition(requestParameters: DeleteContractDefinitionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
1943
+ /**
1944
+ * Delete a Policy Definition
1945
+ */
1946
+ deletePolicyDefinitionRaw(requestParameters: DeletePolicyDefinitionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponseDto>>;
1947
+ /**
1948
+ * Delete a Policy Definition
1949
+ */
1950
+ deletePolicyDefinition(requestParameters: DeletePolicyDefinitionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
1951
+ /**
1952
+ * Collect all data for Asset Page
1953
+ */
1954
+ getAssetPageRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AssetPage>>;
1955
+ /**
1956
+ * Collect all data for Asset Page
1957
+ */
1958
+ getAssetPage(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AssetPage>;
1959
+ /**
1960
+ * Fetch a connector\'s data offers
1961
+ */
1962
+ getCatalogPageDataOffersRaw(requestParameters: GetCatalogPageDataOffersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UiDataOffer>>>;
1963
+ /**
1964
+ * Fetch a connector\'s data offers
1965
+ */
1966
+ getCatalogPageDataOffers(requestParameters?: GetCatalogPageDataOffersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UiDataOffer>>;
1967
+ /**
1968
+ * Collect all data for the Contract Agreement Page
1969
+ */
1970
+ getContractAgreementPageRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContractAgreementPage>>;
1971
+ /**
1972
+ * Collect all data for the Contract Agreement Page
1973
+ */
1974
+ getContractAgreementPage(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContractAgreementPage>;
1975
+ /**
1976
+ * Collect all data for Contract Definition Page
1977
+ */
1978
+ getContractDefinitionPageRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContractDefinitionPage>>;
1979
+ /**
1980
+ * Collect all data for Contract Definition Page
1981
+ */
1982
+ getContractDefinitionPage(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContractDefinitionPage>;
1983
+ /**
1984
+ * Get Contract Negotiation Information
1985
+ */
1986
+ getContractNegotiationRaw(requestParameters: GetContractNegotiationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UiContractNegotiation>>;
1987
+ /**
1988
+ * Get Contract Negotiation Information
1989
+ */
1990
+ getContractNegotiation(requestParameters: GetContractNegotiationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UiContractNegotiation>;
1991
+ /**
1992
+ * Collect all data for the Dashboard Page
1993
+ */
1994
+ getDashboardPageRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DashboardPage>>;
1995
+ /**
1996
+ * Collect all data for the Dashboard Page
1997
+ */
1998
+ getDashboardPage(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DashboardPage>;
1999
+ /**
2000
+ * Collect all data for Policy Definition Page
2001
+ */
2002
+ getPolicyDefinitionPageRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PolicyDefinitionPage>>;
2003
+ /**
2004
+ * Collect all data for Policy Definition Page
2005
+ */
2006
+ getPolicyDefinitionPage(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PolicyDefinitionPage>;
2007
+ /**
2008
+ * Collect all data for the Transfer History Page
2009
+ */
2010
+ getTransferHistoryPageRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TransferHistoryPage>>;
2011
+ /**
2012
+ * Collect all data for the Transfer History Page
2013
+ */
2014
+ getTransferHistoryPage(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TransferHistoryPage>;
2015
+ /**
2016
+ * Queries a transfer process\' asset
2017
+ */
2018
+ getTransferProcessAssetRaw(requestParameters: GetTransferProcessAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UiAsset>>;
2019
+ /**
2020
+ * Queries a transfer process\' asset
2021
+ */
2022
+ getTransferProcessAsset(requestParameters: GetTransferProcessAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UiAsset>;
2023
+ /**
2024
+ * Initiate a new Contract Negotiation
2025
+ */
2026
+ initiateContractNegotiationRaw(requestParameters: InitiateContractNegotiationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UiContractNegotiation>>;
2027
+ /**
2028
+ * Initiate a new Contract Negotiation
2029
+ */
2030
+ initiateContractNegotiation(requestParameters?: InitiateContractNegotiationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UiContractNegotiation>;
2031
+ /**
2032
+ * Initiate a Transfer Process via a custom Transfer Process JSON-LD. Fields such as connectorId, assetId, providerConnectorId, providerConnectorAddress will be set automatically.
2033
+ */
2034
+ initiateCustomTransferRaw(requestParameters: InitiateCustomTransferOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponseDto>>;
2035
+ /**
2036
+ * Initiate a Transfer Process via a custom Transfer Process JSON-LD. Fields such as connectorId, assetId, providerConnectorId, providerConnectorAddress will be set automatically.
2037
+ */
2038
+ initiateCustomTransfer(requestParameters?: InitiateCustomTransferOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
2039
+ /**
2040
+ * Initiate a Transfer Process
2041
+ */
2042
+ initiateTransferRaw(requestParameters: InitiateTransferOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponseDto>>;
2043
+ /**
2044
+ * Initiate a Transfer Process
2045
+ */
2046
+ initiateTransfer(requestParameters?: InitiateTransferOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
2047
+ }
2048
+
2049
+ /**
2050
+ * Type-Safe Asset Metadata as needed by our UI
2051
+ * @export
2052
+ * @interface UiAsset
2053
+ */
2054
+ export declare interface UiAsset {
2055
+ /**
2056
+ * Asset Id
2057
+ * @type {string}
2058
+ * @memberof UiAsset
2059
+ */
2060
+ assetId: string;
2061
+ /**
2062
+ * Providing Connector's Connector Endpoint
2063
+ * @type {string}
2064
+ * @memberof UiAsset
2065
+ */
2066
+ connectorEndpoint: string;
2067
+ /**
2068
+ * Providing Connector's Participant ID
2069
+ * @type {string}
2070
+ * @memberof UiAsset
2071
+ */
2072
+ participantId: string;
2073
+ /**
2074
+ * Asset Title
2075
+ * @type {string}
2076
+ * @memberof UiAsset
2077
+ */
2078
+ title: string;
2079
+ /**
2080
+ * Asset Organization Name
2081
+ * @type {string}
2082
+ * @memberof UiAsset
2083
+ */
2084
+ creatorOrganizationName: string;
2085
+ /**
2086
+ * Asset Language
2087
+ * @type {string}
2088
+ * @memberof UiAsset
2089
+ */
2090
+ language?: string;
2091
+ /**
2092
+ * Asset Description
2093
+ * @type {string}
2094
+ * @memberof UiAsset
2095
+ */
2096
+ description?: string;
2097
+ /**
2098
+ * Asset Homepage
2099
+ * @type {string}
2100
+ * @memberof UiAsset
2101
+ */
2102
+ publisherHomepage?: string;
2103
+ /**
2104
+ * License URL
2105
+ * @type {string}
2106
+ * @memberof UiAsset
2107
+ */
2108
+ licenseUrl?: string;
2109
+ /**
2110
+ * Version
2111
+ * @type {string}
2112
+ * @memberof UiAsset
2113
+ */
2114
+ version?: string;
2115
+ /**
2116
+ * Asset Keywords
2117
+ * @type {Array<string>}
2118
+ * @memberof UiAsset
2119
+ */
2120
+ keywords?: Array<string>;
2121
+ /**
2122
+ * Asset MediaType
2123
+ * @type {string}
2124
+ * @memberof UiAsset
2125
+ */
2126
+ mediaType?: string;
2127
+ /**
2128
+ * Homepage URL associated with the Asset
2129
+ * @type {string}
2130
+ * @memberof UiAsset
2131
+ */
2132
+ landingPageUrl?: string;
2133
+ /**
2134
+ * HTTP Datasource Hints Proxy Method
2135
+ * @type {boolean}
2136
+ * @memberof UiAsset
2137
+ */
2138
+ httpDatasourceHintsProxyMethod?: boolean;
2139
+ /**
2140
+ * HTTP Datasource Hints Proxy Path
2141
+ * @type {boolean}
2142
+ * @memberof UiAsset
2143
+ */
2144
+ httpDatasourceHintsProxyPath?: boolean;
2145
+ /**
2146
+ * HTTP Datasource Hints Proxy Query Params
2147
+ * @type {boolean}
2148
+ * @memberof UiAsset
2149
+ */
2150
+ httpDatasourceHintsProxyQueryParams?: boolean;
2151
+ /**
2152
+ * HTTP Datasource Hints Proxy Body
2153
+ * @type {boolean}
2154
+ * @memberof UiAsset
2155
+ */
2156
+ httpDatasourceHintsProxyBody?: boolean;
2157
+ /**
2158
+ * Data Category
2159
+ * @type {string}
2160
+ * @memberof UiAsset
2161
+ */
2162
+ dataCategory?: string;
2163
+ /**
2164
+ * Data Subcategory
2165
+ * @type {string}
2166
+ * @memberof UiAsset
2167
+ */
2168
+ dataSubcategory?: string;
2169
+ /**
2170
+ * Data Model
2171
+ * @type {string}
2172
+ * @memberof UiAsset
2173
+ */
2174
+ dataModel?: string;
2175
+ /**
2176
+ * Geo-Reference Method
2177
+ * @type {string}
2178
+ * @memberof UiAsset
2179
+ */
2180
+ geoReferenceMethod?: string;
2181
+ /**
2182
+ * Transport Mode
2183
+ * @type {string}
2184
+ * @memberof UiAsset
2185
+ */
2186
+ transportMode?: string;
2187
+ /**
2188
+ * Unhandled Asset Properties (that were strings)
2189
+ * @type {{ [key: string]: string; }}
2190
+ * @memberof UiAsset
2191
+ */
2192
+ additionalProperties?: {
2193
+ [key: string]: string;
2194
+ };
2195
+ /**
2196
+ * Unhandled Asset Properties (that were not strings but other JSON values)
2197
+ * @type {{ [key: string]: string; }}
2198
+ * @memberof UiAsset
2199
+ */
2200
+ additionalJsonProperties?: {
2201
+ [key: string]: string;
2202
+ };
2203
+ /**
2204
+ * Private Asset Properties (that were strings)
2205
+ * @type {{ [key: string]: string; }}
2206
+ * @memberof UiAsset
2207
+ */
2208
+ privateProperties?: {
2209
+ [key: string]: string;
2210
+ };
2211
+ /**
2212
+ * Private Asset Properties (that were not strings but other JSON values)
2213
+ * @type {{ [key: string]: string; }}
2214
+ * @memberof UiAsset
2215
+ */
2216
+ privateJsonProperties?: {
2217
+ [key: string]: string;
2218
+ };
2219
+ /**
2220
+ * Contains the entire asset in the JSON-LD format
2221
+ * @type {string}
2222
+ * @memberof UiAsset
2223
+ */
2224
+ assetJsonLd?: string;
2225
+ }
2226
+
2227
+ /**
2228
+ * Type-Safe OpenAPI generator friendly Asset Create DTO that supports an opinionated subset of the original EDC Asset Entity.
2229
+ * @export
2230
+ * @interface UiAssetCreateRequest
2231
+ */
2232
+ export declare interface UiAssetCreateRequest {
2233
+ /**
2234
+ * Asset Id
2235
+ * @type {string}
2236
+ * @memberof UiAssetCreateRequest
2237
+ */
2238
+ id: string;
2239
+ /**
2240
+ * Asset Title
2241
+ * @type {string}
2242
+ * @memberof UiAssetCreateRequest
2243
+ */
2244
+ title?: string;
2245
+ /**
2246
+ * Asset Language
2247
+ * @type {string}
2248
+ * @memberof UiAssetCreateRequest
2249
+ */
2250
+ language?: string;
2251
+ /**
2252
+ * Asset Description
2253
+ * @type {string}
2254
+ * @memberof UiAssetCreateRequest
2255
+ */
2256
+ description?: string;
2257
+ /**
2258
+ * Asset Homepage
2259
+ * @type {string}
2260
+ * @memberof UiAssetCreateRequest
2261
+ */
2262
+ publisherHomepage?: string;
2263
+ /**
2264
+ * License URL
2265
+ * @type {string}
2266
+ * @memberof UiAssetCreateRequest
2267
+ */
2268
+ licenseUrl?: string;
2269
+ /**
2270
+ * Version
2271
+ * @type {string}
2272
+ * @memberof UiAssetCreateRequest
2273
+ */
2274
+ version?: string;
2275
+ /**
2276
+ * Asset Keywords
2277
+ * @type {Array<string>}
2278
+ * @memberof UiAssetCreateRequest
2279
+ */
2280
+ keywords?: Array<string>;
2281
+ /**
2282
+ * Asset MediaType
2283
+ * @type {string}
2284
+ * @memberof UiAssetCreateRequest
2285
+ */
2286
+ mediaType?: string;
2287
+ /**
2288
+ * Landing Page URL
2289
+ * @type {string}
2290
+ * @memberof UiAssetCreateRequest
2291
+ */
2292
+ landingPageUrl?: string;
2293
+ /**
2294
+ * Data Category
2295
+ * @type {string}
2296
+ * @memberof UiAssetCreateRequest
2297
+ */
2298
+ dataCategory?: string;
2299
+ /**
2300
+ * Data Subcategory
2301
+ * @type {string}
2302
+ * @memberof UiAssetCreateRequest
2303
+ */
2304
+ dataSubcategory?: string;
2305
+ /**
2306
+ * Data Model
2307
+ * @type {string}
2308
+ * @memberof UiAssetCreateRequest
2309
+ */
2310
+ dataModel?: string;
2311
+ /**
2312
+ * Geo-Reference Method
2313
+ * @type {string}
2314
+ * @memberof UiAssetCreateRequest
2315
+ */
2316
+ geoReferenceMethod?: string;
2317
+ /**
2318
+ * Transport Mode
2319
+ * @type {string}
2320
+ * @memberof UiAssetCreateRequest
2321
+ */
2322
+ transportMode?: string;
2323
+ /**
2324
+ * Data Address
2325
+ * @type {{ [key: string]: string; }}
2326
+ * @memberof UiAssetCreateRequest
2327
+ */
2328
+ dataAddressProperties: {
2329
+ [key: string]: string;
2330
+ };
2331
+ /**
2332
+ * Custom Asset Properties (that are strings)
2333
+ * @type {{ [key: string]: string; }}
2334
+ * @memberof UiAssetCreateRequest
2335
+ */
2336
+ additionalProperties?: {
2337
+ [key: string]: string;
2338
+ };
2339
+ /**
2340
+ * Custom Asset Properties (that are not strings but other JSON values)
2341
+ * @type {{ [key: string]: string; }}
2342
+ * @memberof UiAssetCreateRequest
2343
+ */
2344
+ additionalJsonProperties?: {
2345
+ [key: string]: string;
2346
+ };
2347
+ /**
2348
+ * Private Asset Properties (that are strings)
2349
+ * @type {{ [key: string]: string; }}
2350
+ * @memberof UiAssetCreateRequest
2351
+ */
2352
+ privateProperties?: {
2353
+ [key: string]: string;
2354
+ };
2355
+ /**
2356
+ * Private Asset Properties (that are not strings but other JSON values)
2357
+ * @type {{ [key: string]: string; }}
2358
+ * @memberof UiAssetCreateRequest
2359
+ */
2360
+ privateJsonProperties?: {
2361
+ [key: string]: string;
2362
+ };
2363
+ }
2364
+
2365
+ export declare function UiAssetCreateRequestFromJSON(json: any): UiAssetCreateRequest;
2366
+
2367
+ export declare function UiAssetCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiAssetCreateRequest;
2368
+
2369
+ export declare function UiAssetCreateRequestToJSON(value?: UiAssetCreateRequest | null): any;
2370
+
2371
+ export declare function UiAssetFromJSON(json: any): UiAsset;
2372
+
2373
+ export declare function UiAssetFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiAsset;
2374
+
2375
+ export declare function UiAssetToJSON(value?: UiAsset | null): any;
2376
+
2377
+ /**
2378
+ * Contract Negotiation Information
2379
+ * @export
2380
+ * @interface UiContractNegotiation
2381
+ */
2382
+ export declare interface UiContractNegotiation {
2383
+ /**
2384
+ * Contract Negotiation Id
2385
+ * @type {string}
2386
+ * @memberof UiContractNegotiation
2387
+ */
2388
+ contractNegotiationId: string;
2389
+ /**
2390
+ * Contract Negotiation Creation Time
2391
+ * @type {Date}
2392
+ * @memberof UiContractNegotiation
2393
+ */
2394
+ createdAt: Date;
2395
+ /**
2396
+ * Contract Agreement Id
2397
+ * @type {string}
2398
+ * @memberof UiContractNegotiation
2399
+ */
2400
+ contractAgreementId?: string;
2401
+ /**
2402
+ *
2403
+ * @type {ContractNegotiationState}
2404
+ * @memberof UiContractNegotiation
2405
+ */
2406
+ state: ContractNegotiationState;
2407
+ }
2408
+
2409
+ export declare function UiContractNegotiationFromJSON(json: any): UiContractNegotiation;
2410
+
2411
+ export declare function UiContractNegotiationFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiContractNegotiation;
2412
+
2413
+ export declare function UiContractNegotiationToJSON(value?: UiContractNegotiation | null): any;
2414
+
2415
+ /**
2416
+ * Catalog Data Offer's Contract Offer as required by the UI
2417
+ * @export
2418
+ * @interface UiContractOffer
2419
+ */
2420
+ export declare interface UiContractOffer {
2421
+ /**
2422
+ * Contract Offer ID
2423
+ * @type {string}
2424
+ * @memberof UiContractOffer
2425
+ */
2426
+ contractOfferId: string;
2427
+ /**
2428
+ *
2429
+ * @type {UiPolicy}
2430
+ * @memberof UiContractOffer
2431
+ */
2432
+ policy: UiPolicy;
2433
+ }
2434
+
2435
+ export declare function UiContractOfferFromJSON(json: any): UiContractOffer;
2436
+
2437
+ export declare function UiContractOfferFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiContractOffer;
2438
+
2439
+ export declare function UiContractOfferToJSON(value?: UiContractOffer | null): any;
2440
+
2441
+ /**
2442
+ * Contract Definition Criterion as supported by the UI
2443
+ * @export
2444
+ * @interface UiCriterion
2445
+ */
2446
+ export declare interface UiCriterion {
2447
+ /**
2448
+ * Left Operand
2449
+ * @type {string}
2450
+ * @memberof UiCriterion
2451
+ */
2452
+ operandLeft: string;
2453
+ /**
2454
+ *
2455
+ * @type {UiCriterionOperator}
2456
+ * @memberof UiCriterion
2457
+ */
2458
+ operator: UiCriterionOperator;
2459
+ /**
2460
+ *
2461
+ * @type {UiCriterionLiteral}
2462
+ * @memberof UiCriterion
2463
+ */
2464
+ operandRight: UiCriterionLiteral;
2465
+ }
2466
+
2467
+ export declare function UiCriterionFromJSON(json: any): UiCriterion;
2468
+
2469
+ export declare function UiCriterionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiCriterion;
2470
+
2471
+ /**
2472
+ * Criterion Literal
2473
+ * @export
2474
+ * @interface UiCriterionLiteral
2475
+ */
2476
+ export declare interface UiCriterionLiteral {
2477
+ /**
2478
+ *
2479
+ * @type {UiCriterionLiteralType}
2480
+ * @memberof UiCriterionLiteral
2481
+ */
2482
+ type?: UiCriterionLiteralType;
2483
+ /**
2484
+ * Only for type VALUE. The single value representation.
2485
+ * @type {string}
2486
+ * @memberof UiCriterionLiteral
2487
+ */
2488
+ value?: string;
2489
+ /**
2490
+ * Only for type VALUE_LIST. List of values, e.g. for the IN-Operator.
2491
+ * @type {Array<string>}
2492
+ * @memberof UiCriterionLiteral
2493
+ */
2494
+ valueList?: Array<string>;
2495
+ }
2496
+
2497
+ export declare function UiCriterionLiteralFromJSON(json: any): UiCriterionLiteral;
2498
+
2499
+ export declare function UiCriterionLiteralFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiCriterionLiteral;
2500
+
2501
+ export declare function UiCriterionLiteralToJSON(value?: UiCriterionLiteral | null): any;
2502
+
2503
+ /**
2504
+ * Value type of an asset selector criterion right expression value
2505
+ * @export
2506
+ */
2507
+ export declare const UiCriterionLiteralType: {
2508
+ readonly Value: "VALUE";
2509
+ readonly ValueList: "VALUE_LIST";
2510
+ };
2511
+
2512
+ export declare type UiCriterionLiteralType = (typeof UiCriterionLiteralType)[keyof typeof UiCriterionLiteralType];
2513
+
2514
+ export declare function UiCriterionLiteralTypeFromJSON(json: any): UiCriterionLiteralType;
2515
+
2516
+ export declare function UiCriterionLiteralTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiCriterionLiteralType;
2517
+
2518
+ export declare function UiCriterionLiteralTypeToJSON(value?: UiCriterionLiteralType | null): any;
2519
+
2520
+ /**
2521
+ * Operator for constraints
2522
+ * @export
2523
+ */
2524
+ export declare const UiCriterionOperator: {
2525
+ readonly Eq: "EQ";
2526
+ readonly In: "IN";
2527
+ readonly Like: "LIKE";
2528
+ };
2529
+
2530
+ export declare type UiCriterionOperator = (typeof UiCriterionOperator)[keyof typeof UiCriterionOperator];
2531
+
2532
+ export declare function UiCriterionOperatorFromJSON(json: any): UiCriterionOperator;
2533
+
2534
+ export declare function UiCriterionOperatorFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiCriterionOperator;
2535
+
2536
+ export declare function UiCriterionOperatorToJSON(value?: UiCriterionOperator | null): any;
2537
+
2538
+ export declare function UiCriterionToJSON(value?: UiCriterion | null): any;
2539
+
2540
+ /**
2541
+ * Catalog Data Offer as required by the UI
2542
+ * @export
2543
+ * @interface UiDataOffer
2544
+ */
2545
+ export declare interface UiDataOffer {
2546
+ /**
2547
+ * Connector Endpoint
2548
+ * @type {string}
2549
+ * @memberof UiDataOffer
2550
+ */
2551
+ endpoint: string;
2552
+ /**
2553
+ * Participant ID. Required for initiating transfers.
2554
+ * @type {string}
2555
+ * @memberof UiDataOffer
2556
+ */
2557
+ participantId: string;
2558
+ /**
2559
+ *
2560
+ * @type {UiAsset}
2561
+ * @memberof UiDataOffer
2562
+ */
2563
+ asset: UiAsset;
2564
+ /**
2565
+ * Available Contract Offers
2566
+ * @type {Array<UiContractOffer>}
2567
+ * @memberof UiDataOffer
2568
+ */
2569
+ contractOffers: Array<UiContractOffer>;
2570
+ }
2571
+
2572
+ export declare function UiDataOfferFromJSON(json: any): UiDataOffer;
2573
+
2574
+ export declare function UiDataOfferFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiDataOffer;
2575
+
2576
+ export declare function UiDataOfferToJSON(value?: UiDataOffer | null): any;
2577
+
2578
+ /**
2579
+ * Type-Safe OpenAPI generator friendly Policy DTO as needed by our UI
2580
+ * @export
2581
+ * @interface UiPolicy
2582
+ */
2583
+ export declare interface UiPolicy {
2584
+ /**
2585
+ * EDC Policy JSON-LD. This is required because the EDC requires the full policy when initiating contract negotiations.
2586
+ * @type {string}
2587
+ * @memberof UiPolicy
2588
+ */
2589
+ policyJsonLd: string;
2590
+ /**
2591
+ * Conjunction of required expressions for the policy to evaluate to TRUE.
2592
+ * @type {Array<UiPolicyConstraint>}
2593
+ * @memberof UiPolicy
2594
+ */
2595
+ constraints?: Array<UiPolicyConstraint>;
2596
+ /**
2597
+ * When trying to reduce the policy JSON-LD to our opinionated subset of functionalities, many fields and functionalities are unsupported. Should any discrepancies occur during the mapping process, we'll collect them here.
2598
+ * @type {Array<string>}
2599
+ * @memberof UiPolicy
2600
+ */
2601
+ errors: Array<string>;
2602
+ }
2603
+
2604
+ /**
2605
+ * ODRL AtomicConstraint as supported by our UI
2606
+ * @export
2607
+ * @interface UiPolicyConstraint
2608
+ */
2609
+ export declare interface UiPolicyConstraint {
2610
+ /**
2611
+ * Left side of the expression.
2612
+ * @type {string}
2613
+ * @memberof UiPolicyConstraint
2614
+ */
2615
+ left: string;
2616
+ /**
2617
+ *
2618
+ * @type {OperatorDto}
2619
+ * @memberof UiPolicyConstraint
2620
+ */
2621
+ operator: OperatorDto;
2622
+ /**
2623
+ *
2624
+ * @type {UiPolicyLiteral}
2625
+ * @memberof UiPolicyConstraint
2626
+ */
2627
+ right: UiPolicyLiteral;
2628
+ }
2629
+
2630
+ export declare function UiPolicyConstraintFromJSON(json: any): UiPolicyConstraint;
2631
+
2632
+ export declare function UiPolicyConstraintFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiPolicyConstraint;
2633
+
2634
+ export declare function UiPolicyConstraintToJSON(value?: UiPolicyConstraint | null): any;
2635
+
2636
+ /**
2637
+ * Type-Safe OpenAPI generator friendly Policy Create DTO that supports an opinionated subset of the original EDC Policy Entity.
2638
+ * @export
2639
+ * @interface UiPolicyCreateRequest
2640
+ */
2641
+ export declare interface UiPolicyCreateRequest {
2642
+ /**
2643
+ * Conjunction of required expressions for the policy to evaluate to TRUE.
2644
+ * @type {Array<UiPolicyConstraint>}
2645
+ * @memberof UiPolicyCreateRequest
2646
+ */
2647
+ constraints?: Array<UiPolicyConstraint>;
2648
+ }
2649
+
2650
+ export declare function UiPolicyCreateRequestFromJSON(json: any): UiPolicyCreateRequest;
2651
+
2652
+ export declare function UiPolicyCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiPolicyCreateRequest;
2653
+
2654
+ export declare function UiPolicyCreateRequestToJSON(value?: UiPolicyCreateRequest | null): any;
2655
+
2656
+ export declare function UiPolicyFromJSON(json: any): UiPolicy;
2657
+
2658
+ export declare function UiPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiPolicy;
2659
+
2660
+ /**
2661
+ * Sum type: A String, a list of Strings or a generic JSON value.
2662
+ * @export
2663
+ * @interface UiPolicyLiteral
2664
+ */
2665
+ export declare interface UiPolicyLiteral {
2666
+ /**
2667
+ *
2668
+ * @type {UiPolicyLiteralType}
2669
+ * @memberof UiPolicyLiteral
2670
+ */
2671
+ type: UiPolicyLiteralType;
2672
+ /**
2673
+ * Only for types STRING and JSON
2674
+ * @type {string}
2675
+ * @memberof UiPolicyLiteral
2676
+ */
2677
+ value?: string;
2678
+ /**
2679
+ * Only for type STRING_LIST
2680
+ * @type {Array<string>}
2681
+ * @memberof UiPolicyLiteral
2682
+ */
2683
+ valueList?: Array<string>;
2684
+ }
2685
+
2686
+ export declare function UiPolicyLiteralFromJSON(json: any): UiPolicyLiteral;
2687
+
2688
+ export declare function UiPolicyLiteralFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiPolicyLiteral;
2689
+
2690
+ export declare function UiPolicyLiteralToJSON(value?: UiPolicyLiteral | null): any;
2691
+
2692
+ /**
2693
+ * Supported Types of values for the right hand side of an expression
2694
+ * @export
2695
+ */
2696
+ export declare const UiPolicyLiteralType: {
2697
+ readonly String: "STRING";
2698
+ readonly StringList: "STRING_LIST";
2699
+ readonly Json: "JSON";
2700
+ };
2701
+
2702
+ export declare type UiPolicyLiteralType = (typeof UiPolicyLiteralType)[keyof typeof UiPolicyLiteralType];
2703
+
2704
+ export declare function UiPolicyLiteralTypeFromJSON(json: any): UiPolicyLiteralType;
2705
+
2706
+ export declare function UiPolicyLiteralTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiPolicyLiteralType;
2707
+
2708
+ export declare function UiPolicyLiteralTypeToJSON(value?: UiPolicyLiteralType | null): any;
2709
+
2710
+ export declare function UiPolicyToJSON(value?: UiPolicy | null): any;
2711
+
2712
+ /**
2713
+ *
2714
+ */
2715
+ export declare class UseCaseApi extends runtime.BaseAPI {
2716
+ /**
2717
+ * Creates a new data offer, consisting of an asset, a policy definition and a contract definition.
2718
+ */
2719
+ createOfferRaw(requestParameters: CreateOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
2720
+ /**
2721
+ * Creates a new data offer, consisting of an asset, a policy definition and a contract definition.
2722
+ */
2723
+ createOffer(requestParameters?: CreateOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
2724
+ /**
2725
+ * Basic KPIs about the running EDC Connector.
2726
+ */
2727
+ getKpisRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<KpiResult>>;
2728
+ /**
2729
+ * Basic KPIs about the running EDC Connector.
2730
+ */
2731
+ getKpis(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<KpiResult>;
2732
+ /**
2733
+ * List available functions in policies, prohibitions and obligations.
2734
+ */
2735
+ getSupportedFunctionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<string>>>;
2736
+ /**
2737
+ * List available functions in policies, prohibitions and obligations.
2738
+ */
2739
+ getSupportedFunctions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>>;
2740
+ }
2741
+
2742
+ export declare class VoidApiResponse {
2743
+ raw: Response;
2744
+ constructor(raw: Response);
2745
+ value(): Promise<void>;
2746
+ }
2747
+
2748
+ export { }