@sovity.de/edc-client 6.0.0 → 7.1.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
|
|
@@ -911,6 +737,11 @@ export declare interface EdcClientOptions {
|
|
|
911
737
|
configOverrides?: Partial<ConfigurationParameters>;
|
|
912
738
|
}
|
|
913
739
|
|
|
740
|
+
export declare interface EditAssetMetadataRequest {
|
|
741
|
+
assetId: string;
|
|
742
|
+
uiAssetEditMetadataRequest?: UiAssetEditMetadataRequest;
|
|
743
|
+
}
|
|
744
|
+
|
|
914
745
|
/**
|
|
915
746
|
*
|
|
916
747
|
*/
|
|
@@ -955,75 +786,6 @@ export declare interface ErrorContext {
|
|
|
955
786
|
|
|
956
787
|
export declare function exists(json: any, key: string): boolean;
|
|
957
788
|
|
|
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
789
|
export declare type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
|
|
1028
790
|
|
|
1029
791
|
export declare class FetchError extends Error {
|
|
@@ -1178,21 +940,11 @@ export declare type InitOverrideFunction = (requestContext: {
|
|
|
1178
940
|
context: RequestOpts;
|
|
1179
941
|
}) => Promise<RequestInit>;
|
|
1180
942
|
|
|
1181
|
-
/**
|
|
1182
|
-
* Check if a given object implements the AssetEntryDto interface.
|
|
1183
|
-
*/
|
|
1184
|
-
export declare function instanceOfAssetEntryDto(value: object): boolean;
|
|
1185
|
-
|
|
1186
943
|
/**
|
|
1187
944
|
* Check if a given object implements the AssetPage interface.
|
|
1188
945
|
*/
|
|
1189
946
|
export declare function instanceOfAssetPage(value: object): boolean;
|
|
1190
947
|
|
|
1191
|
-
/**
|
|
1192
|
-
* Check if a given object implements the AtomicConstraintDto interface.
|
|
1193
|
-
*/
|
|
1194
|
-
export declare function instanceOfAtomicConstraintDto(value: object): boolean;
|
|
1195
|
-
|
|
1196
948
|
/**
|
|
1197
949
|
* Check if a given object implements the ConnectorLimits interface.
|
|
1198
950
|
*/
|
|
@@ -1228,11 +980,6 @@ export declare function instanceOfContractDefinitionPage(value: object): boolean
|
|
|
1228
980
|
*/
|
|
1229
981
|
export declare function instanceOfContractDefinitionRequest(value: object): boolean;
|
|
1230
982
|
|
|
1231
|
-
/**
|
|
1232
|
-
* Check if a given object implements the ContractDefinitionRequestDto interface.
|
|
1233
|
-
*/
|
|
1234
|
-
export declare function instanceOfContractDefinitionRequestDto(value: object): boolean;
|
|
1235
|
-
|
|
1236
983
|
/**
|
|
1237
984
|
* Check if a given object implements the ContractNegotiationRequest interface.
|
|
1238
985
|
*/
|
|
@@ -1243,16 +990,6 @@ export declare function instanceOfContractNegotiationRequest(value: object): boo
|
|
|
1243
990
|
*/
|
|
1244
991
|
export declare function instanceOfContractNegotiationState(value: object): boolean;
|
|
1245
992
|
|
|
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
993
|
/**
|
|
1257
994
|
* Check if a given object implements the DashboardDapsConfig interface.
|
|
1258
995
|
*/
|
|
@@ -1273,11 +1010,6 @@ export declare function instanceOfDashboardPage(value: object): boolean;
|
|
|
1273
1010
|
*/
|
|
1274
1011
|
export declare function instanceOfDashboardTransferAmounts(value: object): boolean;
|
|
1275
1012
|
|
|
1276
|
-
/**
|
|
1277
|
-
* Check if a given object implements the ExpressionDto interface.
|
|
1278
|
-
*/
|
|
1279
|
-
export declare function instanceOfExpressionDto(value: object): boolean;
|
|
1280
|
-
|
|
1281
1013
|
/**
|
|
1282
1014
|
* Check if a given object implements the IdResponseDto interface.
|
|
1283
1015
|
*/
|
|
@@ -1298,11 +1030,6 @@ export declare function instanceOfInitiateTransferRequest(value: object): boolea
|
|
|
1298
1030
|
*/
|
|
1299
1031
|
export declare function instanceOfKpiResult(value: object): boolean;
|
|
1300
1032
|
|
|
1301
|
-
/**
|
|
1302
|
-
* Check if a given object implements the PermissionDto interface.
|
|
1303
|
-
*/
|
|
1304
|
-
export declare function instanceOfPermissionDto(value: object): boolean;
|
|
1305
|
-
|
|
1306
1033
|
/**
|
|
1307
1034
|
* Check if a given object implements the PolicyDefinitionCreateRequest interface.
|
|
1308
1035
|
*/
|
|
@@ -1318,16 +1045,6 @@ export declare function instanceOfPolicyDefinitionDto(value: object): boolean;
|
|
|
1318
1045
|
*/
|
|
1319
1046
|
export declare function instanceOfPolicyDefinitionPage(value: object): boolean;
|
|
1320
1047
|
|
|
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
1048
|
/**
|
|
1332
1049
|
* Check if a given object implements the TransferHistoryEntry interface.
|
|
1333
1050
|
*/
|
|
@@ -1358,6 +1075,11 @@ export declare function instanceOfUiAsset(value: object): boolean;
|
|
|
1358
1075
|
*/
|
|
1359
1076
|
export declare function instanceOfUiAssetCreateRequest(value: object): boolean;
|
|
1360
1077
|
|
|
1078
|
+
/**
|
|
1079
|
+
* Check if a given object implements the UiAssetEditMetadataRequest interface.
|
|
1080
|
+
*/
|
|
1081
|
+
export declare function instanceOfUiAssetEditMetadataRequest(value: object): boolean;
|
|
1082
|
+
|
|
1361
1083
|
/**
|
|
1362
1084
|
* Check if a given object implements the UiContractNegotiation interface.
|
|
1363
1085
|
*/
|
|
@@ -1493,26 +1215,6 @@ export declare function OperatorDtoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
1493
1215
|
|
|
1494
1216
|
export declare function OperatorDtoToJSON(value?: OperatorDto | null): any;
|
|
1495
1217
|
|
|
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
1218
|
/**
|
|
1517
1219
|
* Data for creating a Policy Definition
|
|
1518
1220
|
* @export
|
|
@@ -1585,58 +1287,6 @@ export declare function PolicyDefinitionPageFromJSONTyped(json: any, ignoreDiscr
|
|
|
1585
1287
|
|
|
1586
1288
|
export declare function PolicyDefinitionPageToJSON(value?: PolicyDefinitionPage | null): any;
|
|
1587
1289
|
|
|
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
1290
|
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
1641
1291
|
|
|
1642
1292
|
export declare interface RequestContext {
|
|
@@ -1770,6 +1420,12 @@ export declare interface TransferHistoryEntry {
|
|
|
1770
1420
|
* @memberof TransferHistoryEntry
|
|
1771
1421
|
*/
|
|
1772
1422
|
counterPartyConnectorEndpoint: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* Other Connector's Participant ID
|
|
1425
|
+
* @type {string}
|
|
1426
|
+
* @memberof TransferHistoryEntry
|
|
1427
|
+
*/
|
|
1428
|
+
counterPartyParticipantId: string;
|
|
1773
1429
|
/**
|
|
1774
1430
|
* Asset Name
|
|
1775
1431
|
* @type {string}
|
|
@@ -1948,6 +1604,14 @@ export declare class UIApi extends runtime.BaseAPI {
|
|
|
1948
1604
|
* Delete a Policy Definition
|
|
1949
1605
|
*/
|
|
1950
1606
|
deletePolicyDefinition(requestParameters: DeletePolicyDefinitionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
|
|
1607
|
+
/**
|
|
1608
|
+
* Updates an Asset\'s metadata
|
|
1609
|
+
*/
|
|
1610
|
+
editAssetMetadataRaw(requestParameters: EditAssetMetadataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponseDto>>;
|
|
1611
|
+
/**
|
|
1612
|
+
* Updates an Asset\'s metadata
|
|
1613
|
+
*/
|
|
1614
|
+
editAssetMetadata(requestParameters: EditAssetMetadataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
|
|
1951
1615
|
/**
|
|
1952
1616
|
* Collect all data for Asset Page
|
|
1953
1617
|
*/
|
|
@@ -2089,11 +1753,23 @@ export declare interface UiAsset {
|
|
|
2089
1753
|
*/
|
|
2090
1754
|
language?: string;
|
|
2091
1755
|
/**
|
|
2092
|
-
* Asset Description
|
|
1756
|
+
* Asset Description. Supports markdown.
|
|
2093
1757
|
* @type {string}
|
|
2094
1758
|
* @memberof UiAsset
|
|
2095
1759
|
*/
|
|
2096
1760
|
description?: string;
|
|
1761
|
+
/**
|
|
1762
|
+
* Asset Description Short Text generated from description. Contains no markdown.
|
|
1763
|
+
* @type {string}
|
|
1764
|
+
* @memberof UiAsset
|
|
1765
|
+
*/
|
|
1766
|
+
descriptionShortText?: string;
|
|
1767
|
+
/**
|
|
1768
|
+
* Flag that indicates whether this asset is created by this connector.
|
|
1769
|
+
* @type {boolean}
|
|
1770
|
+
* @memberof UiAsset
|
|
1771
|
+
*/
|
|
1772
|
+
isOwnConnector: boolean;
|
|
2097
1773
|
/**
|
|
2098
1774
|
* Asset Homepage
|
|
2099
1775
|
* @type {string}
|
|
@@ -2368,6 +2044,136 @@ export declare function UiAssetCreateRequestFromJSONTyped(json: any, ignoreDiscr
|
|
|
2368
2044
|
|
|
2369
2045
|
export declare function UiAssetCreateRequestToJSON(value?: UiAssetCreateRequest | null): any;
|
|
2370
2046
|
|
|
2047
|
+
/**
|
|
2048
|
+
* Data for editing an asset.
|
|
2049
|
+
* @export
|
|
2050
|
+
* @interface UiAssetEditMetadataRequest
|
|
2051
|
+
*/
|
|
2052
|
+
export declare interface UiAssetEditMetadataRequest {
|
|
2053
|
+
/**
|
|
2054
|
+
* Asset Title
|
|
2055
|
+
* @type {string}
|
|
2056
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2057
|
+
*/
|
|
2058
|
+
title?: string;
|
|
2059
|
+
/**
|
|
2060
|
+
* Asset Language
|
|
2061
|
+
* @type {string}
|
|
2062
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2063
|
+
*/
|
|
2064
|
+
language?: string;
|
|
2065
|
+
/**
|
|
2066
|
+
* Asset Description
|
|
2067
|
+
* @type {string}
|
|
2068
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2069
|
+
*/
|
|
2070
|
+
description?: string;
|
|
2071
|
+
/**
|
|
2072
|
+
* Asset Homepage
|
|
2073
|
+
* @type {string}
|
|
2074
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2075
|
+
*/
|
|
2076
|
+
publisherHomepage?: string;
|
|
2077
|
+
/**
|
|
2078
|
+
* License URL
|
|
2079
|
+
* @type {string}
|
|
2080
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2081
|
+
*/
|
|
2082
|
+
licenseUrl?: string;
|
|
2083
|
+
/**
|
|
2084
|
+
* Version
|
|
2085
|
+
* @type {string}
|
|
2086
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2087
|
+
*/
|
|
2088
|
+
version?: string;
|
|
2089
|
+
/**
|
|
2090
|
+
* Asset Keywords
|
|
2091
|
+
* @type {Array<string>}
|
|
2092
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2093
|
+
*/
|
|
2094
|
+
keywords?: Array<string>;
|
|
2095
|
+
/**
|
|
2096
|
+
* Asset MediaType
|
|
2097
|
+
* @type {string}
|
|
2098
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2099
|
+
*/
|
|
2100
|
+
mediaType?: string;
|
|
2101
|
+
/**
|
|
2102
|
+
* Landing Page URL
|
|
2103
|
+
* @type {string}
|
|
2104
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2105
|
+
*/
|
|
2106
|
+
landingPageUrl?: string;
|
|
2107
|
+
/**
|
|
2108
|
+
* Data Category
|
|
2109
|
+
* @type {string}
|
|
2110
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2111
|
+
*/
|
|
2112
|
+
dataCategory?: string;
|
|
2113
|
+
/**
|
|
2114
|
+
* Data Subcategory
|
|
2115
|
+
* @type {string}
|
|
2116
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2117
|
+
*/
|
|
2118
|
+
dataSubcategory?: string;
|
|
2119
|
+
/**
|
|
2120
|
+
* Data Model
|
|
2121
|
+
* @type {string}
|
|
2122
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2123
|
+
*/
|
|
2124
|
+
dataModel?: string;
|
|
2125
|
+
/**
|
|
2126
|
+
* Geo-Reference Method
|
|
2127
|
+
* @type {string}
|
|
2128
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2129
|
+
*/
|
|
2130
|
+
geoReferenceMethod?: string;
|
|
2131
|
+
/**
|
|
2132
|
+
* Transport Mode
|
|
2133
|
+
* @type {string}
|
|
2134
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2135
|
+
*/
|
|
2136
|
+
transportMode?: string;
|
|
2137
|
+
/**
|
|
2138
|
+
* Custom Asset Properties (that are strings)
|
|
2139
|
+
* @type {{ [key: string]: string; }}
|
|
2140
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2141
|
+
*/
|
|
2142
|
+
additionalProperties?: {
|
|
2143
|
+
[key: string]: string;
|
|
2144
|
+
};
|
|
2145
|
+
/**
|
|
2146
|
+
* Custom Asset Properties (that are not strings but other JSON values)
|
|
2147
|
+
* @type {{ [key: string]: string; }}
|
|
2148
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2149
|
+
*/
|
|
2150
|
+
additionalJsonProperties?: {
|
|
2151
|
+
[key: string]: string;
|
|
2152
|
+
};
|
|
2153
|
+
/**
|
|
2154
|
+
* Private Asset Properties (that are strings)
|
|
2155
|
+
* @type {{ [key: string]: string; }}
|
|
2156
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2157
|
+
*/
|
|
2158
|
+
privateProperties?: {
|
|
2159
|
+
[key: string]: string;
|
|
2160
|
+
};
|
|
2161
|
+
/**
|
|
2162
|
+
* Private Asset Properties (that are not strings but other JSON values)
|
|
2163
|
+
* @type {{ [key: string]: string; }}
|
|
2164
|
+
* @memberof UiAssetEditMetadataRequest
|
|
2165
|
+
*/
|
|
2166
|
+
privateJsonProperties?: {
|
|
2167
|
+
[key: string]: string;
|
|
2168
|
+
};
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
export declare function UiAssetEditMetadataRequestFromJSON(json: any): UiAssetEditMetadataRequest;
|
|
2172
|
+
|
|
2173
|
+
export declare function UiAssetEditMetadataRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiAssetEditMetadataRequest;
|
|
2174
|
+
|
|
2175
|
+
export declare function UiAssetEditMetadataRequestToJSON(value?: UiAssetEditMetadataRequest | null): any;
|
|
2176
|
+
|
|
2371
2177
|
export declare function UiAssetFromJSON(json: any): UiAsset;
|
|
2372
2178
|
|
|
2373
2179
|
export declare function UiAssetFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiAsset;
|
|
@@ -2713,14 +2519,6 @@ export declare function UiPolicyToJSON(value?: UiPolicy | null): any;
|
|
|
2713
2519
|
*
|
|
2714
2520
|
*/
|
|
2715
2521
|
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
2522
|
/**
|
|
2725
2523
|
* Basic KPIs about the running EDC Connector.
|
|
2726
2524
|
*/
|