@sovity.de/edc-client 5.0.0 → 7.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.
@@ -3,42 +3,6 @@ export declare interface ApiResponse<T> {
3
3
  value(): Promise<T>;
4
4
  }
5
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
6
  /**
43
7
  * All data for the Asset Page
44
8
  * @export
@@ -59,38 +23,6 @@ export declare function AssetPageFromJSONTyped(json: any, ignoreDiscriminator: b
59
23
 
60
24
  export declare function AssetPageToJSON(value?: AssetPage | null): any;
61
25
 
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
26
  /**
95
27
  * sovity EDC API Wrapper
96
28
  * 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.
@@ -449,44 +381,6 @@ export declare interface ContractDefinitionRequest {
449
381
  assetSelector: Array<UiCriterion>;
450
382
  }
451
383
 
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
384
  export declare function ContractDefinitionRequestFromJSON(json: any): ContractDefinitionRequest;
491
385
 
492
386
  export declare function ContractDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractDefinitionRequest;
@@ -595,78 +489,10 @@ export declare interface CreateContractDefinitionRequest {
595
489
  contractDefinitionRequest?: ContractDefinitionRequest;
596
490
  }
597
491
 
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
492
  export declare interface CreatePolicyDefinitionRequest {
635
493
  policyDefinitionCreateRequest?: PolicyDefinitionCreateRequest;
636
494
  }
637
495
 
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
496
  /**
671
497
  * DAPS Config
672
498
  * @export
@@ -955,75 +781,6 @@ export declare interface ErrorContext {
955
781
 
956
782
  export declare function exists(json: any, key: string): boolean;
957
783
 
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
784
  export declare type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
1028
785
 
1029
786
  export declare class FetchError extends Error {
@@ -1178,21 +935,11 @@ export declare type InitOverrideFunction = (requestContext: {
1178
935
  context: RequestOpts;
1179
936
  }) => Promise<RequestInit>;
1180
937
 
1181
- /**
1182
- * Check if a given object implements the AssetEntryDto interface.
1183
- */
1184
- export declare function instanceOfAssetEntryDto(value: object): boolean;
1185
-
1186
938
  /**
1187
939
  * Check if a given object implements the AssetPage interface.
1188
940
  */
1189
941
  export declare function instanceOfAssetPage(value: object): boolean;
1190
942
 
1191
- /**
1192
- * Check if a given object implements the AtomicConstraintDto interface.
1193
- */
1194
- export declare function instanceOfAtomicConstraintDto(value: object): boolean;
1195
-
1196
943
  /**
1197
944
  * Check if a given object implements the ConnectorLimits interface.
1198
945
  */
@@ -1228,11 +975,6 @@ export declare function instanceOfContractDefinitionPage(value: object): boolean
1228
975
  */
1229
976
  export declare function instanceOfContractDefinitionRequest(value: object): boolean;
1230
977
 
1231
- /**
1232
- * Check if a given object implements the ContractDefinitionRequestDto interface.
1233
- */
1234
- export declare function instanceOfContractDefinitionRequestDto(value: object): boolean;
1235
-
1236
978
  /**
1237
979
  * Check if a given object implements the ContractNegotiationRequest interface.
1238
980
  */
@@ -1243,16 +985,6 @@ export declare function instanceOfContractNegotiationRequest(value: object): boo
1243
985
  */
1244
986
  export declare function instanceOfContractNegotiationState(value: object): boolean;
1245
987
 
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
988
  /**
1257
989
  * Check if a given object implements the DashboardDapsConfig interface.
1258
990
  */
@@ -1273,11 +1005,6 @@ export declare function instanceOfDashboardPage(value: object): boolean;
1273
1005
  */
1274
1006
  export declare function instanceOfDashboardTransferAmounts(value: object): boolean;
1275
1007
 
1276
- /**
1277
- * Check if a given object implements the ExpressionDto interface.
1278
- */
1279
- export declare function instanceOfExpressionDto(value: object): boolean;
1280
-
1281
1008
  /**
1282
1009
  * Check if a given object implements the IdResponseDto interface.
1283
1010
  */
@@ -1298,11 +1025,6 @@ export declare function instanceOfInitiateTransferRequest(value: object): boolea
1298
1025
  */
1299
1026
  export declare function instanceOfKpiResult(value: object): boolean;
1300
1027
 
1301
- /**
1302
- * Check if a given object implements the PermissionDto interface.
1303
- */
1304
- export declare function instanceOfPermissionDto(value: object): boolean;
1305
-
1306
1028
  /**
1307
1029
  * Check if a given object implements the PolicyDefinitionCreateRequest interface.
1308
1030
  */
@@ -1318,16 +1040,6 @@ export declare function instanceOfPolicyDefinitionDto(value: object): boolean;
1318
1040
  */
1319
1041
  export declare function instanceOfPolicyDefinitionPage(value: object): boolean;
1320
1042
 
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
1043
  /**
1332
1044
  * Check if a given object implements the TransferHistoryEntry interface.
1333
1045
  */
@@ -1493,26 +1205,6 @@ export declare function OperatorDtoFromJSONTyped(json: any, ignoreDiscriminator:
1493
1205
 
1494
1206
  export declare function OperatorDtoToJSON(value?: OperatorDto | null): any;
1495
1207
 
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
1208
  /**
1517
1209
  * Data for creating a Policy Definition
1518
1210
  * @export
@@ -1585,58 +1277,6 @@ export declare function PolicyDefinitionPageFromJSONTyped(json: any, ignoreDiscr
1585
1277
 
1586
1278
  export declare function PolicyDefinitionPageToJSON(value?: PolicyDefinitionPage | null): any;
1587
1279
 
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
1280
  export declare function querystring(params: HTTPQuery, prefix?: string): string;
1641
1281
 
1642
1282
  export declare interface RequestContext {
@@ -1770,6 +1410,12 @@ export declare interface TransferHistoryEntry {
1770
1410
  * @memberof TransferHistoryEntry
1771
1411
  */
1772
1412
  counterPartyConnectorEndpoint: string;
1413
+ /**
1414
+ * Other Connector's Participant ID
1415
+ * @type {string}
1416
+ * @memberof TransferHistoryEntry
1417
+ */
1418
+ counterPartyParticipantId: string;
1773
1419
  /**
1774
1420
  * Asset Name
1775
1421
  * @type {string}
@@ -2713,14 +2359,6 @@ export declare function UiPolicyToJSON(value?: UiPolicy | null): any;
2713
2359
  *
2714
2360
  */
2715
2361
  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
2362
  /**
2725
2363
  * Basic KPIs about the running EDC Connector.
2726
2364
  */