@sovity.de/edc-client 7.4.2 → 7.5.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.
|
@@ -82,6 +82,143 @@ export declare function buildEdcClient(opts: EdcClientOptions): EdcClient;
|
|
|
82
82
|
|
|
83
83
|
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
84
84
|
|
|
85
|
+
/**
|
|
86
|
+
* Generic expression for filtering the data offers in the catalog
|
|
87
|
+
* @export
|
|
88
|
+
* @interface CatalogFilterExpression
|
|
89
|
+
*/
|
|
90
|
+
export declare interface CatalogFilterExpression {
|
|
91
|
+
/**
|
|
92
|
+
* Asset property name
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof CatalogFilterExpression
|
|
95
|
+
*/
|
|
96
|
+
operandLeft: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {CatalogFilterExpressionOperator}
|
|
100
|
+
* @memberof CatalogFilterExpression
|
|
101
|
+
*/
|
|
102
|
+
operator: CatalogFilterExpressionOperator;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {CatalogFilterExpressionLiteral}
|
|
106
|
+
* @memberof CatalogFilterExpression
|
|
107
|
+
*/
|
|
108
|
+
operandRight: CatalogFilterExpressionLiteral;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export declare function CatalogFilterExpressionFromJSON(json: any): CatalogFilterExpression;
|
|
112
|
+
|
|
113
|
+
export declare function CatalogFilterExpressionFromJSONTyped(json: any, ignoreDiscriminator: boolean): CatalogFilterExpression;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* FilterExpression Criterion Literal
|
|
117
|
+
* @export
|
|
118
|
+
* @interface CatalogFilterExpressionLiteral
|
|
119
|
+
*/
|
|
120
|
+
export declare interface CatalogFilterExpressionLiteral {
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {CatalogFilterExpressionLiteralType}
|
|
124
|
+
* @memberof CatalogFilterExpressionLiteral
|
|
125
|
+
*/
|
|
126
|
+
type?: CatalogFilterExpressionLiteralType;
|
|
127
|
+
/**
|
|
128
|
+
* Only for type VALUE. The single value representation.
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof CatalogFilterExpressionLiteral
|
|
131
|
+
*/
|
|
132
|
+
value?: string;
|
|
133
|
+
/**
|
|
134
|
+
* Only for type VALUE_LIST. List of values, e.g. for the IN-Operator.
|
|
135
|
+
* @type {Array<string>}
|
|
136
|
+
* @memberof CatalogFilterExpressionLiteral
|
|
137
|
+
*/
|
|
138
|
+
valueList?: Array<string>;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export declare function CatalogFilterExpressionLiteralFromJSON(json: any): CatalogFilterExpressionLiteral;
|
|
142
|
+
|
|
143
|
+
export declare function CatalogFilterExpressionLiteralFromJSONTyped(json: any, ignoreDiscriminator: boolean): CatalogFilterExpressionLiteral;
|
|
144
|
+
|
|
145
|
+
export declare function CatalogFilterExpressionLiteralToJSON(value?: CatalogFilterExpressionLiteral | null): any;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Value type of a filter expression criterion
|
|
149
|
+
* @export
|
|
150
|
+
*/
|
|
151
|
+
export declare const CatalogFilterExpressionLiteralType: {
|
|
152
|
+
readonly Value: "VALUE";
|
|
153
|
+
readonly ValueList: "VALUE_LIST";
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
export declare type CatalogFilterExpressionLiteralType = (typeof CatalogFilterExpressionLiteralType)[keyof typeof CatalogFilterExpressionLiteralType];
|
|
157
|
+
|
|
158
|
+
export declare function CatalogFilterExpressionLiteralTypeFromJSON(json: any): CatalogFilterExpressionLiteralType;
|
|
159
|
+
|
|
160
|
+
export declare function CatalogFilterExpressionLiteralTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CatalogFilterExpressionLiteralType;
|
|
161
|
+
|
|
162
|
+
export declare function CatalogFilterExpressionLiteralTypeToJSON(value?: CatalogFilterExpressionLiteralType | null): any;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Operator for filter expressions
|
|
166
|
+
* @export
|
|
167
|
+
*/
|
|
168
|
+
export declare const CatalogFilterExpressionOperator: {
|
|
169
|
+
readonly Like: "LIKE";
|
|
170
|
+
readonly Eq: "EQ";
|
|
171
|
+
readonly In: "IN";
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
export declare type CatalogFilterExpressionOperator = (typeof CatalogFilterExpressionOperator)[keyof typeof CatalogFilterExpressionOperator];
|
|
175
|
+
|
|
176
|
+
export declare function CatalogFilterExpressionOperatorFromJSON(json: any): CatalogFilterExpressionOperator;
|
|
177
|
+
|
|
178
|
+
export declare function CatalogFilterExpressionOperatorFromJSONTyped(json: any, ignoreDiscriminator: boolean): CatalogFilterExpressionOperator;
|
|
179
|
+
|
|
180
|
+
export declare function CatalogFilterExpressionOperatorToJSON(value?: CatalogFilterExpressionOperator | null): any;
|
|
181
|
+
|
|
182
|
+
export declare function CatalogFilterExpressionToJSON(value?: CatalogFilterExpression | null): any;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Catalog query parameters
|
|
186
|
+
* @export
|
|
187
|
+
* @interface CatalogQuery
|
|
188
|
+
*/
|
|
189
|
+
export declare interface CatalogQuery {
|
|
190
|
+
/**
|
|
191
|
+
* Target EDC DSP endpoint URL
|
|
192
|
+
* @type {string}
|
|
193
|
+
* @memberof CatalogQuery
|
|
194
|
+
*/
|
|
195
|
+
connectorEndpoint: string;
|
|
196
|
+
/**
|
|
197
|
+
* Limit the number of results
|
|
198
|
+
* @type {number}
|
|
199
|
+
* @memberof CatalogQuery
|
|
200
|
+
*/
|
|
201
|
+
limit?: number;
|
|
202
|
+
/**
|
|
203
|
+
* Offset for returned results, e.g. start at result 2
|
|
204
|
+
* @type {number}
|
|
205
|
+
* @memberof CatalogQuery
|
|
206
|
+
*/
|
|
207
|
+
offset?: number;
|
|
208
|
+
/**
|
|
209
|
+
* Filter expressions for catalog filtering
|
|
210
|
+
* @type {Array<CatalogFilterExpression>}
|
|
211
|
+
* @memberof CatalogQuery
|
|
212
|
+
*/
|
|
213
|
+
filterExpressions?: Array<CatalogFilterExpression>;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export declare function CatalogQueryFromJSON(json: any): CatalogQuery;
|
|
217
|
+
|
|
218
|
+
export declare function CatalogQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): CatalogQuery;
|
|
219
|
+
|
|
220
|
+
export declare function CatalogQueryToJSON(value?: CatalogQuery | null): any;
|
|
221
|
+
|
|
85
222
|
/**
|
|
86
223
|
* Credentials for connecting to the EDC via the OAuth2 "Client Credentials" flow.
|
|
87
224
|
*/
|
|
@@ -955,6 +1092,21 @@ export declare type InitOverrideFunction = (requestContext: {
|
|
|
955
1092
|
*/
|
|
956
1093
|
export declare function instanceOfAssetPage(value: object): boolean;
|
|
957
1094
|
|
|
1095
|
+
/**
|
|
1096
|
+
* Check if a given object implements the CatalogFilterExpression interface.
|
|
1097
|
+
*/
|
|
1098
|
+
export declare function instanceOfCatalogFilterExpression(value: object): boolean;
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* Check if a given object implements the CatalogFilterExpressionLiteral interface.
|
|
1102
|
+
*/
|
|
1103
|
+
export declare function instanceOfCatalogFilterExpressionLiteral(value: object): boolean;
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
* Check if a given object implements the CatalogQuery interface.
|
|
1107
|
+
*/
|
|
1108
|
+
export declare function instanceOfCatalogQuery(value: object): boolean;
|
|
1109
|
+
|
|
958
1110
|
/**
|
|
959
1111
|
* Check if a given object implements the ConnectorLimits interface.
|
|
960
1112
|
*/
|
|
@@ -1297,6 +1449,10 @@ export declare function PolicyDefinitionPageFromJSONTyped(json: any, ignoreDiscr
|
|
|
1297
1449
|
|
|
1298
1450
|
export declare function PolicyDefinitionPageToJSON(value?: PolicyDefinitionPage | null): any;
|
|
1299
1451
|
|
|
1452
|
+
export declare interface QueryCatalogRequest {
|
|
1453
|
+
catalogQuery: CatalogQuery;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1300
1456
|
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
1301
1457
|
|
|
1302
1458
|
export declare interface RequestContext {
|
|
@@ -2701,6 +2857,14 @@ export declare class UseCaseApi extends runtime.BaseAPI {
|
|
|
2701
2857
|
* List available functions in policies, prohibitions and obligations.
|
|
2702
2858
|
*/
|
|
2703
2859
|
getSupportedFunctions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>>;
|
|
2860
|
+
/**
|
|
2861
|
+
* Fetch a connector\'s data offers
|
|
2862
|
+
*/
|
|
2863
|
+
queryCatalogRaw(requestParameters: QueryCatalogRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UiDataOffer>>>;
|
|
2864
|
+
/**
|
|
2865
|
+
* Fetch a connector\'s data offers
|
|
2866
|
+
*/
|
|
2867
|
+
queryCatalog(requestParameters: QueryCatalogRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UiDataOffer>>;
|
|
2704
2868
|
}
|
|
2705
2869
|
|
|
2706
2870
|
export declare class VoidApiResponse {
|