@sovity.de/edc-client 9.0.0 → 10.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.
@@ -23,38 +23,6 @@ export declare function AssetPageFromJSONTyped(json: any, ignoreDiscriminator: b
23
23
 
24
24
  export declare function AssetPageToJSON(value?: AssetPage | null): any;
25
25
 
26
- /**
27
- * Type-Safe OpenAPI generator friendly Constraint DTO that supports an opinionated subset of the original EDC Constraint Entity.
28
- * @export
29
- * @interface AtomicConstraintDto
30
- */
31
- export declare interface AtomicConstraintDto {
32
- /**
33
- * Left part of the constraint.
34
- * @type {string}
35
- * @memberof AtomicConstraintDto
36
- */
37
- leftExpression: string;
38
- /**
39
- *
40
- * @type {OperatorDto}
41
- * @memberof AtomicConstraintDto
42
- */
43
- operator: OperatorDto;
44
- /**
45
- * Right part of the constraint.
46
- * @type {string}
47
- * @memberof AtomicConstraintDto
48
- */
49
- rightExpression: string;
50
- }
51
-
52
- export declare function AtomicConstraintDtoFromJSON(json: any): AtomicConstraintDto;
53
-
54
- export declare function AtomicConstraintDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AtomicConstraintDto;
55
-
56
- export declare function AtomicConstraintDtoToJSON(value?: AtomicConstraintDto | null): any;
57
-
58
26
  /**
59
27
  * sovity EDC API Wrapper
60
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 Edition APIs, etc. We bundled these APIs, so we can have an easier time generating our API Client Libraries.
@@ -753,17 +721,17 @@ export declare function ContractTerminatedByToJSON(value?: ContractTerminatedBy
753
721
  */
754
722
  export declare interface ContractTerminationRequest {
755
723
  /**
756
- * A short reason why this contract was terminated
724
+ * A user explanation to detail why the contract was terminated.
757
725
  * @type {string}
758
726
  * @memberof ContractTerminationRequest
759
727
  */
760
- reason: string;
728
+ detail: string;
761
729
  /**
762
- * A user explanation to detail why the contract was terminated.
730
+ * A short reason why this contract was terminated
763
731
  * @type {string}
764
732
  * @memberof ContractTerminationRequest
765
733
  */
766
- detail?: string;
734
+ reason: string;
767
735
  }
768
736
 
769
737
  export declare function ContractTerminationRequestFromJSON(json: any): ContractTerminationRequest;
@@ -801,8 +769,8 @@ export declare interface CreatePolicyDefinitionRequest {
801
769
  policyDefinitionCreateRequest?: PolicyDefinitionCreateRequest;
802
770
  }
803
771
 
804
- export declare interface CreatePolicyDefinitionUseCaseRequest {
805
- policyCreateRequest?: PolicyCreateRequest;
772
+ export declare interface CreatePolicyDefinitionV2Request {
773
+ policyDefinitionCreateDto?: PolicyDefinitionCreateDto;
806
774
  }
807
775
 
808
776
  /**
@@ -1134,61 +1102,6 @@ export declare interface ErrorContext {
1134
1102
 
1135
1103
  export declare function exists(json: any, key: string): boolean;
1136
1104
 
1137
- /**
1138
- * Represents a single atomic constraint or a multiplicity constraint. The atomicConstraint will be evaluated if the constraintType is ATOMIC_CONSTRAINT.
1139
- * @export
1140
- * @interface Expression
1141
- */
1142
- export declare interface Expression {
1143
- /**
1144
- *
1145
- * @type {ExpressionType}
1146
- * @memberof Expression
1147
- */
1148
- expressionType?: ExpressionType;
1149
- /**
1150
- * List of policy elements that are evaluated according the expressionType.
1151
- * @type {Array<Expression>}
1152
- * @memberof Expression
1153
- */
1154
- expressions?: Array<Expression>;
1155
- /**
1156
- *
1157
- * @type {AtomicConstraintDto}
1158
- * @memberof Expression
1159
- */
1160
- atomicConstraint?: AtomicConstraintDto;
1161
- }
1162
-
1163
- export declare function ExpressionFromJSON(json: any): Expression;
1164
-
1165
- export declare function ExpressionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Expression;
1166
-
1167
- export declare function ExpressionToJSON(value?: Expression | null): any;
1168
-
1169
- /**
1170
- * Expression types:
1171
- * * `ATOMIC_CONSTRAINT` - A single constraint for the policy
1172
- * * `AND` - Several constraints, all of which must be respected
1173
- * * `OR` - Several constraints, of which at least one must be respected
1174
- * * `XOR` - Several constraints, of which exactly one must be respected
1175
- * @export
1176
- */
1177
- export declare const ExpressionType: {
1178
- readonly AtomicConstraint: "ATOMIC_CONSTRAINT";
1179
- readonly And: "AND";
1180
- readonly Or: "OR";
1181
- readonly Xor: "XOR";
1182
- };
1183
-
1184
- export declare type ExpressionType = (typeof ExpressionType)[keyof typeof ExpressionType];
1185
-
1186
- export declare function ExpressionTypeFromJSON(json: any): ExpressionType;
1187
-
1188
- export declare function ExpressionTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExpressionType;
1189
-
1190
- export declare function ExpressionTypeToJSON(value?: ExpressionType | null): any;
1191
-
1192
1105
  export declare type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
1193
1106
 
1194
1107
  export declare class FetchError extends Error {
@@ -1242,6 +1155,32 @@ export declare type HTTPRequestInit = {
1242
1155
  body?: HTTPBody;
1243
1156
  };
1244
1157
 
1158
+ /**
1159
+ * Object indicates whether an ID for the given object type is already taken or not
1160
+ * @export
1161
+ * @interface IdAvailabilityResponse
1162
+ */
1163
+ export declare interface IdAvailabilityResponse {
1164
+ /**
1165
+ * ID
1166
+ * @type {string}
1167
+ * @memberof IdAvailabilityResponse
1168
+ */
1169
+ id: string;
1170
+ /**
1171
+ *
1172
+ * @type {boolean}
1173
+ * @memberof IdAvailabilityResponse
1174
+ */
1175
+ available?: boolean;
1176
+ }
1177
+
1178
+ export declare function IdAvailabilityResponseFromJSON(json: any): IdAvailabilityResponse;
1179
+
1180
+ export declare function IdAvailabilityResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdAvailabilityResponse;
1181
+
1182
+ export declare function IdAvailabilityResponseToJSON(value?: IdAvailabilityResponse | null): any;
1183
+
1245
1184
  /**
1246
1185
  * Marks the operation as successful
1247
1186
  * @export
@@ -1352,11 +1291,6 @@ export declare type InitOverrideFunction = (requestContext: {
1352
1291
  */
1353
1292
  export declare function instanceOfAssetPage(value: object): boolean;
1354
1293
 
1355
- /**
1356
- * Check if a given object implements the AtomicConstraintDto interface.
1357
- */
1358
- export declare function instanceOfAtomicConstraintDto(value: object): boolean;
1359
-
1360
1294
  /**
1361
1295
  * Check if a given object implements the CatalogFilterExpression interface.
1362
1296
  */
@@ -1453,9 +1387,9 @@ export declare function instanceOfDashboardPage(value: object): boolean;
1453
1387
  export declare function instanceOfDashboardTransferAmounts(value: object): boolean;
1454
1388
 
1455
1389
  /**
1456
- * Check if a given object implements the Expression interface.
1390
+ * Check if a given object implements the IdAvailabilityResponse interface.
1457
1391
  */
1458
- export declare function instanceOfExpression(value: object): boolean;
1392
+ export declare function instanceOfIdAvailabilityResponse(value: object): boolean;
1459
1393
 
1460
1394
  /**
1461
1395
  * Check if a given object implements the IdResponseDto interface.
@@ -1478,14 +1412,9 @@ export declare function instanceOfInitiateTransferRequest(value: object): boolea
1478
1412
  export declare function instanceOfKpiResult(value: object): boolean;
1479
1413
 
1480
1414
  /**
1481
- * Check if a given object implements the PermissionDto interface.
1415
+ * Check if a given object implements the PolicyDefinitionCreateDto interface.
1482
1416
  */
1483
- export declare function instanceOfPermissionDto(value: object): boolean;
1484
-
1485
- /**
1486
- * Check if a given object implements the PolicyCreateRequest interface.
1487
- */
1488
- export declare function instanceOfPolicyCreateRequest(value: object): boolean;
1417
+ export declare function instanceOfPolicyDefinitionCreateDto(value: object): boolean;
1489
1418
 
1490
1419
  /**
1491
1420
  * Check if a given object implements the PolicyDefinitionCreateRequest interface.
@@ -1597,11 +1526,28 @@ export declare function instanceOfUiPolicyConstraint(value: object): boolean;
1597
1526
  */
1598
1527
  export declare function instanceOfUiPolicyCreateRequest(value: object): boolean;
1599
1528
 
1529
+ /**
1530
+ * Check if a given object implements the UiPolicyExpression interface.
1531
+ */
1532
+ export declare function instanceOfUiPolicyExpression(value: object): boolean;
1533
+
1600
1534
  /**
1601
1535
  * Check if a given object implements the UiPolicyLiteral interface.
1602
1536
  */
1603
1537
  export declare function instanceOfUiPolicyLiteral(value: object): boolean;
1604
1538
 
1539
+ export declare interface IsAssetIdAvailableRequest {
1540
+ assetId: string;
1541
+ }
1542
+
1543
+ export declare interface IsContractDefinitionIdAvailableRequest {
1544
+ contractDefinitionId: string;
1545
+ }
1546
+
1547
+ export declare interface IsPolicyIdAvailableRequest {
1548
+ policyId: string;
1549
+ }
1550
+
1605
1551
  export declare type Json = any;
1606
1552
 
1607
1553
  export declare class JSONApiResponse<T> {
@@ -1666,7 +1612,7 @@ export declare interface Middleware {
1666
1612
  export declare type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
1667
1613
 
1668
1614
  /**
1669
- * Operator for policies
1615
+ * Type-Safe ODRL Policy Operator as supported by the sovity product landscape
1670
1616
  * @export
1671
1617
  */
1672
1618
  export declare const OperatorDto: {
@@ -1693,53 +1639,33 @@ export declare function OperatorDtoFromJSONTyped(json: any, ignoreDiscriminator:
1693
1639
  export declare function OperatorDtoToJSON(value?: OperatorDto | null): any;
1694
1640
 
1695
1641
  /**
1696
- * Permission description for the policy to evaluate to TRUE.
1642
+ * Create a Policy Definition
1697
1643
  * @export
1698
- * @interface PermissionDto
1644
+ * @interface PolicyDefinitionCreateDto
1699
1645
  */
1700
- export declare interface PermissionDto {
1701
- /**
1702
- *
1703
- * @type {Expression}
1704
- * @memberof PermissionDto
1705
- */
1706
- expression: Expression;
1707
- }
1708
-
1709
- export declare function PermissionDtoFromJSON(json: any): PermissionDto;
1710
-
1711
- export declare function PermissionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionDto;
1712
-
1713
- export declare function PermissionDtoToJSON(value?: PermissionDto | null): any;
1714
-
1715
- /**
1716
- * Policy Creation Request Supporting Multiplicity Constraints.
1717
- * @export
1718
- * @interface PolicyCreateRequest
1719
- */
1720
- export declare interface PolicyCreateRequest {
1646
+ export declare interface PolicyDefinitionCreateDto {
1721
1647
  /**
1722
1648
  * Policy Definition ID
1723
1649
  * @type {string}
1724
- * @memberof PolicyCreateRequest
1650
+ * @memberof PolicyDefinitionCreateDto
1725
1651
  */
1726
1652
  policyDefinitionId: string;
1727
1653
  /**
1728
1654
  *
1729
- * @type {PermissionDto}
1730
- * @memberof PolicyCreateRequest
1655
+ * @type {UiPolicyExpression}
1656
+ * @memberof PolicyDefinitionCreateDto
1731
1657
  */
1732
- permission?: PermissionDto;
1658
+ expression: UiPolicyExpression;
1733
1659
  }
1734
1660
 
1735
- export declare function PolicyCreateRequestFromJSON(json: any): PolicyCreateRequest;
1661
+ export declare function PolicyDefinitionCreateDtoFromJSON(json: any): PolicyDefinitionCreateDto;
1736
1662
 
1737
- export declare function PolicyCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PolicyCreateRequest;
1663
+ export declare function PolicyDefinitionCreateDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PolicyDefinitionCreateDto;
1738
1664
 
1739
- export declare function PolicyCreateRequestToJSON(value?: PolicyCreateRequest | null): any;
1665
+ export declare function PolicyDefinitionCreateDtoToJSON(value?: PolicyDefinitionCreateDto | null): any;
1740
1666
 
1741
1667
  /**
1742
- * Data for creating a Policy Definition
1668
+ * [Deprecated] Create a Policy Definition. Use PolicyDefinitionCreateDto
1743
1669
  * @export
1744
1670
  * @interface PolicyDefinitionCreateRequest
1745
1671
  */
@@ -1754,6 +1680,7 @@ export declare interface PolicyDefinitionCreateRequest {
1754
1680
  *
1755
1681
  * @type {UiPolicyCreateRequest}
1756
1682
  * @memberof PolicyDefinitionCreateRequest
1683
+ * @deprecated
1757
1684
  */
1758
1685
  policy: UiPolicyCreateRequest;
1759
1686
  }
@@ -2131,13 +2058,21 @@ export declare class UIApi extends runtime.BaseAPI {
2131
2058
  */
2132
2059
  createContractDefinition(requestParameters?: CreateContractDefinitionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
2133
2060
  /**
2134
- * Create a new Policy Definition
2061
+ * [Deprecated] Create a new Policy Definition from a list of constraints. Use createPolicyDefinitionV2 instead.
2135
2062
  */
2136
2063
  createPolicyDefinitionRaw(requestParameters: CreatePolicyDefinitionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponseDto>>;
2137
2064
  /**
2138
- * Create a new Policy Definition
2065
+ * [Deprecated] Create a new Policy Definition from a list of constraints. Use createPolicyDefinitionV2 instead.
2139
2066
  */
2140
2067
  createPolicyDefinition(requestParameters?: CreatePolicyDefinitionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
2068
+ /**
2069
+ * Create a new Policy Definition
2070
+ */
2071
+ createPolicyDefinitionV2Raw(requestParameters: CreatePolicyDefinitionV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponseDto>>;
2072
+ /**
2073
+ * Create a new Policy Definition
2074
+ */
2075
+ createPolicyDefinitionV2(requestParameters?: CreatePolicyDefinitionV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
2141
2076
  /**
2142
2077
  * Delete an Asset
2143
2078
  */
@@ -2266,6 +2201,30 @@ export declare class UIApi extends runtime.BaseAPI {
2266
2201
  * Initiate a Transfer Process
2267
2202
  */
2268
2203
  initiateTransfer(requestParameters?: InitiateTransferOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
2204
+ /**
2205
+ * Validates if the provided assetId is already taken
2206
+ */
2207
+ isAssetIdAvailableRaw(requestParameters: IsAssetIdAvailableRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdAvailabilityResponse>>;
2208
+ /**
2209
+ * Validates if the provided assetId is already taken
2210
+ */
2211
+ isAssetIdAvailable(requestParameters: IsAssetIdAvailableRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdAvailabilityResponse>;
2212
+ /**
2213
+ * Validates if the provided contractDefinitionId is already taken
2214
+ */
2215
+ isContractDefinitionIdAvailableRaw(requestParameters: IsContractDefinitionIdAvailableRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdAvailabilityResponse>>;
2216
+ /**
2217
+ * Validates if the provided contractDefinitionId is already taken
2218
+ */
2219
+ isContractDefinitionIdAvailable(requestParameters: IsContractDefinitionIdAvailableRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdAvailabilityResponse>;
2220
+ /**
2221
+ * Validates if the provided policyId is already taken
2222
+ */
2223
+ isPolicyIdAvailableRaw(requestParameters: IsPolicyIdAvailableRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdAvailabilityResponse>>;
2224
+ /**
2225
+ * Validates if the provided policyId is already taken
2226
+ */
2227
+ isPolicyIdAvailable(requestParameters: IsPolicyIdAvailableRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdAvailabilityResponse>;
2269
2228
  /**
2270
2229
  * Terminates a contract agreement designated by its contract agreement id.
2271
2230
  */
@@ -2277,7 +2236,7 @@ export declare class UIApi extends runtime.BaseAPI {
2277
2236
  }
2278
2237
 
2279
2238
  /**
2280
- * Type-Safe Asset Metadata as needed by our UI
2239
+ * Type-safe data offer metadata as supported by the sovity product landscape. Contains extension points.
2281
2240
  * @export
2282
2241
  * @interface UiAsset
2283
2242
  */
@@ -2537,7 +2496,7 @@ export declare interface UiAsset {
2537
2496
  }
2538
2497
 
2539
2498
  /**
2540
- * Type-Safe OpenAPI generator friendly Asset Create DTO that supports an opinionated subset of the original EDC Asset Entity.
2499
+ * Type-safe data offer metadata for creating an asset as supported by the sovity product landscape. Contains extension points.
2541
2500
  * @export
2542
2501
  * @interface UiAssetCreateRequest
2543
2502
  */
@@ -2731,7 +2690,7 @@ export declare function UiAssetCreateRequestFromJSONTyped(json: any, ignoreDiscr
2731
2690
  export declare function UiAssetCreateRequestToJSON(value?: UiAssetCreateRequest | null): any;
2732
2691
 
2733
2692
  /**
2734
- * Data for editing an asset.
2693
+ * Type-safe data offer metadata for editing an asset as supported by the sovity product landscape. Contains extension points.
2735
2694
  * @export
2736
2695
  * @interface UiAssetEditRequest
2737
2696
  */
@@ -3126,7 +3085,7 @@ export declare function UiDataOfferFromJSONTyped(json: any, ignoreDiscriminator:
3126
3085
  export declare function UiDataOfferToJSON(value?: UiDataOffer | null): any;
3127
3086
 
3128
3087
  /**
3129
- * Data Offer Data Source Model. Supports certain Data Address types but also leaves a backdoor for custom Data Address Properties.
3088
+ * Type-safe data source as supported by the sovity product landscape. Contains extension points for using custom data address properties.
3130
3089
  * @export
3131
3090
  * @interface UiDataSource
3132
3091
  */
@@ -3164,7 +3123,7 @@ export declare function UiDataSourceFromJSON(json: any): UiDataSource;
3164
3123
  export declare function UiDataSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiDataSource;
3165
3124
 
3166
3125
  /**
3167
- * Only for type HTTP_DATA
3126
+ * HTTP_DATA type Data Source.
3168
3127
  * @export
3169
3128
  * @interface UiDataSourceHttpData
3170
3129
  */
@@ -3289,7 +3248,7 @@ export declare function UiDataSourceOnRequestToJSON(value?: UiDataSourceOnReques
3289
3248
  export declare function UiDataSourceToJSON(value?: UiDataSource | null): any;
3290
3249
 
3291
3250
  /**
3292
- * Type-Safe OpenAPI generator friendly Policy DTO as needed by our UI
3251
+ * Type-Safe OpenAPI generator friendly ODLR policy subset as endorsed by sovity.
3293
3252
  * @export
3294
3253
  * @interface UiPolicy
3295
3254
  */
@@ -3301,11 +3260,11 @@ export declare interface UiPolicy {
3301
3260
  */
3302
3261
  policyJsonLd: string;
3303
3262
  /**
3304
- * Conjunction of required expressions for the policy to evaluate to TRUE.
3305
- * @type {Array<UiPolicyConstraint>}
3263
+ *
3264
+ * @type {UiPolicyExpression}
3306
3265
  * @memberof UiPolicy
3307
3266
  */
3308
- constraints?: Array<UiPolicyConstraint>;
3267
+ expression?: UiPolicyExpression;
3309
3268
  /**
3310
3269
  * 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.
3311
3270
  * @type {Array<string>}
@@ -3315,7 +3274,7 @@ export declare interface UiPolicy {
3315
3274
  }
3316
3275
 
3317
3276
  /**
3318
- * ODRL AtomicConstraint as supported by our UI
3277
+ * ODRL AtomicConstraint as supported by the sovity product landscape. For example 'a EQ b', 'c IN [d, e, f]'
3319
3278
  * @export
3320
3279
  * @interface UiPolicyConstraint
3321
3280
  */
@@ -3347,15 +3306,16 @@ export declare function UiPolicyConstraintFromJSONTyped(json: any, ignoreDiscrim
3347
3306
  export declare function UiPolicyConstraintToJSON(value?: UiPolicyConstraint | null): any;
3348
3307
 
3349
3308
  /**
3350
- * Type-Safe OpenAPI generator friendly Policy Create DTO that supports an opinionated subset of the original EDC Policy Entity.
3309
+ * [Deprecated] Conjunction of constraints (simplified UiPolicyExpression)
3351
3310
  * @export
3352
3311
  * @interface UiPolicyCreateRequest
3353
3312
  */
3354
3313
  export declare interface UiPolicyCreateRequest {
3355
3314
  /**
3356
- * Conjunction of required expressions for the policy to evaluate to TRUE.
3315
+ * Conjunction of required constraints
3357
3316
  * @type {Array<UiPolicyConstraint>}
3358
3317
  * @memberof UiPolicyCreateRequest
3318
+ * @deprecated
3359
3319
  */
3360
3320
  constraints?: Array<UiPolicyConstraint>;
3361
3321
  }
@@ -3366,6 +3326,62 @@ export declare function UiPolicyCreateRequestFromJSONTyped(json: any, ignoreDisc
3366
3326
 
3367
3327
  export declare function UiPolicyCreateRequestToJSON(value?: UiPolicyCreateRequest | null): any;
3368
3328
 
3329
+ /**
3330
+ * ODRL constraint as supported by the sovity product landscape
3331
+ * @export
3332
+ * @interface UiPolicyExpression
3333
+ */
3334
+ export declare interface UiPolicyExpression {
3335
+ /**
3336
+ *
3337
+ * @type {UiPolicyExpressionType}
3338
+ * @memberof UiPolicyExpression
3339
+ */
3340
+ type: UiPolicyExpressionType;
3341
+ /**
3342
+ * Only for types AND, OR, XONE. List of sub-expressions to be evaluated according to the expressionType.
3343
+ * @type {Array<UiPolicyExpression>}
3344
+ * @memberof UiPolicyExpression
3345
+ */
3346
+ expressions?: Array<UiPolicyExpression>;
3347
+ /**
3348
+ *
3349
+ * @type {UiPolicyConstraint}
3350
+ * @memberof UiPolicyExpression
3351
+ */
3352
+ constraint?: UiPolicyConstraint;
3353
+ }
3354
+
3355
+ export declare function UiPolicyExpressionFromJSON(json: any): UiPolicyExpression;
3356
+
3357
+ export declare function UiPolicyExpressionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiPolicyExpression;
3358
+
3359
+ export declare function UiPolicyExpressionToJSON(value?: UiPolicyExpression | null): any;
3360
+
3361
+ /**
3362
+ * Ui Policy Expression types:
3363
+ * * `CONSTRAINT` - Expression 'a=b'
3364
+ * * `AND` - Conjunction of several expressions. Evaluates to true iff all child expressions are true.
3365
+ * * `OR` - Disjunction of several expressions. Evaluates to true iff at least one child expression is true.
3366
+ * * `XONE` - XONE operation. Evaluates to true iff exactly one child expression is true.
3367
+ * @export
3368
+ */
3369
+ export declare const UiPolicyExpressionType: {
3370
+ readonly Empty: "EMPTY";
3371
+ readonly Constraint: "CONSTRAINT";
3372
+ readonly And: "AND";
3373
+ readonly Or: "OR";
3374
+ readonly Xone: "XONE";
3375
+ };
3376
+
3377
+ export declare type UiPolicyExpressionType = (typeof UiPolicyExpressionType)[keyof typeof UiPolicyExpressionType];
3378
+
3379
+ export declare function UiPolicyExpressionTypeFromJSON(json: any): UiPolicyExpressionType;
3380
+
3381
+ export declare function UiPolicyExpressionTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiPolicyExpressionType;
3382
+
3383
+ export declare function UiPolicyExpressionTypeToJSON(value?: UiPolicyExpressionType | null): any;
3384
+
3369
3385
  export declare function UiPolicyFromJSON(json: any): UiPolicy;
3370
3386
 
3371
3387
  export declare function UiPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiPolicy;
@@ -3426,14 +3442,6 @@ export declare function UiPolicyToJSON(value?: UiPolicy | null): any;
3426
3442
  *
3427
3443
  */
3428
3444
  export declare class UseCaseApi extends runtime.BaseAPI {
3429
- /**
3430
- * Create a new Policy Definition
3431
- */
3432
- createPolicyDefinitionUseCaseRaw(requestParameters: CreatePolicyDefinitionUseCaseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponseDto>>;
3433
- /**
3434
- * Create a new Policy Definition
3435
- */
3436
- createPolicyDefinitionUseCase(requestParameters?: CreatePolicyDefinitionUseCaseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponseDto>;
3437
3445
  /**
3438
3446
  * Basic KPIs about the running EDC Connector.
3439
3447
  */