@sovity.de/edc-client 4.1.0 → 5.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.
- package/README.md +3 -3
- package/dist/sovity-edc-client.d.ts +2748 -0
- package/dist/sovity-edc-client.js +1830 -591
- package/dist/sovity-edc-client.js.map +1 -1
- package/dist/sovity-edc-client.umd.cjs +1 -1
- package/dist/sovity-edc-client.umd.cjs.map +1 -1
- package/package.json +2 -2
- package/dist/EdcClient.d.ts +0 -22
- package/dist/generated/apis/EnterpriseEditionApi.d.ts +0 -52
- package/dist/generated/apis/UIApi.d.ts +0 -43
- package/dist/generated/apis/UseCaseApi.d.ts +0 -45
- package/dist/generated/apis/index.d.ts +0 -3
- package/dist/generated/index.d.ts +0 -3
- package/dist/generated/models/AssetDto.d.ts +0 -34
- package/dist/generated/models/AssetEntryDto.d.ts +0 -28
- package/dist/generated/models/AssetRequestDto.d.ts +0 -28
- package/dist/generated/models/AtomicConstraintDto.d.ts +0 -45
- package/dist/generated/models/ConnectorLimits.d.ts +0 -26
- package/dist/generated/models/ContractAgreementCard.d.ts +0 -91
- package/dist/generated/models/ContractAgreementPage.d.ts +0 -21
- package/dist/generated/models/ContractAgreementTransferProcess.d.ts +0 -39
- package/dist/generated/models/ContractAgreementTransferRequest.d.ts +0 -41
- package/dist/generated/models/ContractAgreementTransferRequestParams.d.ts +0 -36
- package/dist/generated/models/ContractDefinitionRequestDto.d.ts +0 -45
- package/dist/generated/models/CreateOfferingDto.d.ts +0 -35
- package/dist/generated/models/CriterionDto.d.ts +0 -32
- package/dist/generated/models/DataAddressDto.d.ts +0 -22
- package/dist/generated/models/ExpressionDto.d.ts +0 -61
- package/dist/generated/models/IdResponseDto.d.ts +0 -26
- package/dist/generated/models/KpiResult.d.ts +0 -45
- package/dist/generated/models/PermissionDto.d.ts +0 -21
- package/dist/generated/models/PolicyDefinitionRequestDto.d.ts +0 -27
- package/dist/generated/models/PolicyDto.d.ts +0 -27
- package/dist/generated/models/StoredFile.d.ts +0 -64
- package/dist/generated/models/TransferHistoryEntry.d.ts +0 -83
- package/dist/generated/models/TransferHistoryPage.d.ts +0 -21
- package/dist/generated/models/TransferProcessState.d.ts +0 -41
- package/dist/generated/models/TransferProcessStatesDto.d.ts +0 -30
- package/dist/generated/models/index.d.ts +0 -25
- package/dist/generated/runtime.d.ts +0 -182
- package/dist/index.d.ts +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
const
|
|
5
|
-
class
|
|
1
|
+
var k = Object.defineProperty;
|
|
2
|
+
var G = (t, e, r) => e in t ? k(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
|
+
var u = (t, e, r) => (G(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
|
+
const K = "http://localhost".replace(/\/+$/, "");
|
|
5
|
+
class T {
|
|
6
6
|
constructor(e = {}) {
|
|
7
7
|
this.configuration = e;
|
|
8
8
|
}
|
|
@@ -10,7 +10,7 @@ class S {
|
|
|
10
10
|
this.configuration = e;
|
|
11
11
|
}
|
|
12
12
|
get basePath() {
|
|
13
|
-
return this.configuration.basePath != null ? this.configuration.basePath :
|
|
13
|
+
return this.configuration.basePath != null ? this.configuration.basePath : K;
|
|
14
14
|
}
|
|
15
15
|
get fetchApi() {
|
|
16
16
|
return this.configuration.fetchApi;
|
|
@@ -19,7 +19,7 @@ class S {
|
|
|
19
19
|
return this.configuration.middleware || [];
|
|
20
20
|
}
|
|
21
21
|
get queryParamsStringify() {
|
|
22
|
-
return this.configuration.queryParamsStringify ||
|
|
22
|
+
return this.configuration.queryParamsStringify || N;
|
|
23
23
|
}
|
|
24
24
|
get username() {
|
|
25
25
|
return this.configuration.username;
|
|
@@ -44,10 +44,10 @@ class S {
|
|
|
44
44
|
return this.configuration.credentials;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
const
|
|
48
|
-
constructor(e =
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
const $ = new T(), I = class {
|
|
48
|
+
constructor(e = $) {
|
|
49
|
+
u(this, "middleware");
|
|
50
|
+
u(this, "fetchApi", async (e, r) => {
|
|
51
51
|
let n = { url: e, init: r };
|
|
52
52
|
for (const o of this.middleware)
|
|
53
53
|
o.pre && (n = await o.pre({
|
|
@@ -61,8 +61,8 @@ const R = new S(), l = class {
|
|
|
61
61
|
n.init
|
|
62
62
|
);
|
|
63
63
|
} catch (o) {
|
|
64
|
-
for (const
|
|
65
|
-
|
|
64
|
+
for (const s of this.middleware)
|
|
65
|
+
s.onError && (i = await s.onError({
|
|
66
66
|
fetch: this.fetchApi,
|
|
67
67
|
url: n.url,
|
|
68
68
|
init: n.init,
|
|
@@ -70,7 +70,7 @@ const R = new S(), l = class {
|
|
|
70
70
|
response: i ? i.clone() : void 0
|
|
71
71
|
}) || i);
|
|
72
72
|
if (i === void 0)
|
|
73
|
-
throw o instanceof Error ? new
|
|
73
|
+
throw o instanceof Error ? new B(
|
|
74
74
|
o,
|
|
75
75
|
"The request failed and the interceptors did not return an alternative response"
|
|
76
76
|
) : o;
|
|
@@ -109,7 +109,7 @@ const R = new S(), l = class {
|
|
|
109
109
|
* @return True if the given MIME is JSON, false otherwise.
|
|
110
110
|
*/
|
|
111
111
|
isJsonMime(e) {
|
|
112
|
-
return e ?
|
|
112
|
+
return e ? I.jsonRegex.test(e) : !1;
|
|
113
113
|
}
|
|
114
114
|
async request(e, r) {
|
|
115
115
|
const { url: n, init: i } = await this.createFetchParams(
|
|
@@ -118,7 +118,7 @@ const R = new S(), l = class {
|
|
|
118
118
|
), o = await this.fetchApi(n, i);
|
|
119
119
|
if (o && o.status >= 200 && o.status < 300)
|
|
120
120
|
return o;
|
|
121
|
-
throw new
|
|
121
|
+
throw new V(o, "Response returned an error code");
|
|
122
122
|
}
|
|
123
123
|
async createFetchParams(e, r) {
|
|
124
124
|
let n = this.configuration.basePath + e.path;
|
|
@@ -129,24 +129,24 @@ const R = new S(), l = class {
|
|
|
129
129
|
e.headers
|
|
130
130
|
);
|
|
131
131
|
Object.keys(i).forEach(
|
|
132
|
-
(
|
|
132
|
+
(C) => i[C] === void 0 ? delete i[C] : {}
|
|
133
133
|
);
|
|
134
|
-
const o = typeof r == "function" ? r : async () => r,
|
|
134
|
+
const o = typeof r == "function" ? r : async () => r, s = {
|
|
135
135
|
method: e.method,
|
|
136
136
|
headers: i,
|
|
137
137
|
body: e.body,
|
|
138
138
|
credentials: this.configuration.credentials
|
|
139
|
-
},
|
|
140
|
-
...
|
|
139
|
+
}, p = {
|
|
140
|
+
...s,
|
|
141
141
|
...await o({
|
|
142
|
-
init:
|
|
142
|
+
init: s,
|
|
143
143
|
context: e
|
|
144
144
|
})
|
|
145
|
-
},
|
|
146
|
-
...
|
|
147
|
-
body:
|
|
145
|
+
}, H = {
|
|
146
|
+
...p,
|
|
147
|
+
body: Q(p.body) || p.body instanceof URLSearchParams || _(p.body) ? p.body : JSON.stringify(p.body)
|
|
148
148
|
};
|
|
149
|
-
return { url: n, init:
|
|
149
|
+
return { url: n, init: H };
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
152
|
* Create a shallow clone of `this` by constructing a new instance
|
|
@@ -157,52 +157,52 @@ const R = new S(), l = class {
|
|
|
157
157
|
return r.middleware = this.middleware.slice(), r;
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
|
-
let
|
|
161
|
-
|
|
160
|
+
let l = I;
|
|
161
|
+
u(l, "jsonRegex", new RegExp(
|
|
162
162
|
"^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$",
|
|
163
163
|
"i"
|
|
164
164
|
));
|
|
165
|
-
function
|
|
165
|
+
function _(t) {
|
|
166
166
|
return typeof Blob < "u" && t instanceof Blob;
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function Q(t) {
|
|
169
169
|
return typeof FormData < "u" && t instanceof FormData;
|
|
170
170
|
}
|
|
171
|
-
class
|
|
171
|
+
class V extends Error {
|
|
172
172
|
constructor(r, n) {
|
|
173
173
|
super(n);
|
|
174
|
-
|
|
174
|
+
u(this, "name", "ResponseError");
|
|
175
175
|
this.response = r;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
class
|
|
178
|
+
class B extends Error {
|
|
179
179
|
constructor(r, n) {
|
|
180
180
|
super(n);
|
|
181
|
-
|
|
181
|
+
u(this, "name", "FetchError");
|
|
182
182
|
this.cause = r;
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
class
|
|
185
|
+
class f extends Error {
|
|
186
186
|
constructor(r, n) {
|
|
187
187
|
super(n);
|
|
188
|
-
|
|
188
|
+
u(this, "name", "RequiredError");
|
|
189
189
|
this.field = r;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
const
|
|
192
|
+
const ir = {
|
|
193
193
|
csv: ",",
|
|
194
194
|
ssv: " ",
|
|
195
195
|
tsv: " ",
|
|
196
196
|
pipes: "|"
|
|
197
197
|
};
|
|
198
|
-
function
|
|
198
|
+
function a(t, e) {
|
|
199
199
|
const r = t[e];
|
|
200
200
|
return r != null;
|
|
201
201
|
}
|
|
202
|
-
function
|
|
203
|
-
return Object.keys(t).map((r) =>
|
|
202
|
+
function N(t, e = "") {
|
|
203
|
+
return Object.keys(t).map((r) => A(r, t[r], e)).filter((r) => r.length > 0).join("&");
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function A(t, e, r = "") {
|
|
206
206
|
const n = r + (r.length ? `[${t}]` : t);
|
|
207
207
|
if (e instanceof Array) {
|
|
208
208
|
const i = e.map((o) => encodeURIComponent(String(o))).join(`&${encodeURIComponent(n)}=`);
|
|
@@ -210,21 +210,21 @@ function P(t, e, r = "") {
|
|
|
210
210
|
}
|
|
211
211
|
if (e instanceof Set) {
|
|
212
212
|
const i = Array.from(e);
|
|
213
|
-
return
|
|
213
|
+
return A(t, i, r);
|
|
214
214
|
}
|
|
215
215
|
return e instanceof Date ? `${encodeURIComponent(n)}=${encodeURIComponent(
|
|
216
216
|
e.toISOString()
|
|
217
|
-
)}` : e instanceof Object ?
|
|
217
|
+
)}` : e instanceof Object ? N(e, n) : `${encodeURIComponent(n)}=${encodeURIComponent(
|
|
218
218
|
String(e)
|
|
219
219
|
)}`;
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function or(t, e) {
|
|
222
222
|
return Object.keys(t).reduce(
|
|
223
223
|
(r, n) => ({ ...r, [n]: e(t[n]) }),
|
|
224
224
|
{}
|
|
225
225
|
);
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function ar(t) {
|
|
228
228
|
for (const e of t)
|
|
229
229
|
if (e.contentType === "multipart/form-data")
|
|
230
230
|
return !0;
|
|
@@ -238,14 +238,14 @@ class c {
|
|
|
238
238
|
return this.transformer(await this.raw.json());
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
-
class
|
|
241
|
+
class R {
|
|
242
242
|
constructor(e) {
|
|
243
243
|
this.raw = e;
|
|
244
244
|
}
|
|
245
245
|
async value() {
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
|
-
class
|
|
248
|
+
class sr {
|
|
249
249
|
constructor(e) {
|
|
250
250
|
this.raw = e;
|
|
251
251
|
}
|
|
@@ -253,7 +253,7 @@ class Xt {
|
|
|
253
253
|
return await this.raw.blob();
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
|
-
class
|
|
256
|
+
class z {
|
|
257
257
|
constructor(e) {
|
|
258
258
|
this.raw = e;
|
|
259
259
|
}
|
|
@@ -261,110 +261,166 @@ class Yt {
|
|
|
261
261
|
return await this.raw.text();
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
let e = !0;
|
|
266
|
-
return e = e && "assetId" in t, e = e && "createdAt" in t, e = e && "properties" in t, e;
|
|
267
|
-
}
|
|
268
|
-
function M(t) {
|
|
269
|
-
return U(t);
|
|
270
|
-
}
|
|
271
|
-
function U(t, e) {
|
|
272
|
-
return t == null ? t : {
|
|
273
|
-
assetId: t.assetId,
|
|
274
|
-
createdAt: new Date(t.createdAt),
|
|
275
|
-
properties: t.properties
|
|
276
|
-
};
|
|
277
|
-
}
|
|
278
|
-
function L(t) {
|
|
279
|
-
if (t !== void 0)
|
|
280
|
-
return t === null ? null : {
|
|
281
|
-
assetId: t.assetId,
|
|
282
|
-
createdAt: t.createdAt.toISOString(),
|
|
283
|
-
properties: t.properties
|
|
284
|
-
};
|
|
285
|
-
}
|
|
286
|
-
function Zt(t) {
|
|
264
|
+
function cr(t) {
|
|
287
265
|
let e = !0;
|
|
288
|
-
return e = e && "
|
|
266
|
+
return e = e && "assetRequestId" in t, e = e && "dataAddressProperties" in t, e;
|
|
289
267
|
}
|
|
290
|
-
function
|
|
291
|
-
return
|
|
268
|
+
function X(t) {
|
|
269
|
+
return Y(t);
|
|
292
270
|
}
|
|
293
|
-
function
|
|
271
|
+
function Y(t, e) {
|
|
294
272
|
return t == null ? t : {
|
|
295
|
-
|
|
296
|
-
|
|
273
|
+
assetRequestId: t.assetRequestId,
|
|
274
|
+
assetRequestProperties: a(t, "assetRequestProperties") ? t.assetRequestProperties : void 0,
|
|
275
|
+
dataAddressProperties: t.dataAddressProperties
|
|
297
276
|
};
|
|
298
277
|
}
|
|
299
|
-
function
|
|
278
|
+
function W(t) {
|
|
300
279
|
if (t !== void 0)
|
|
301
280
|
return t === null ? null : {
|
|
302
|
-
|
|
303
|
-
|
|
281
|
+
assetRequestId: t.assetRequestId,
|
|
282
|
+
assetRequestProperties: t.assetRequestProperties,
|
|
283
|
+
dataAddressProperties: t.dataAddressProperties
|
|
304
284
|
};
|
|
305
285
|
}
|
|
306
|
-
function
|
|
286
|
+
function dr(t) {
|
|
307
287
|
let e = !0;
|
|
308
|
-
return e = e && "
|
|
288
|
+
return e = e && "assetId" in t, e = e && "connectorEndpoint" in t, e = e && "participantId" in t, e = e && "title" in t, e = e && "creatorOrganizationName" in t, e;
|
|
309
289
|
}
|
|
310
|
-
function
|
|
311
|
-
return
|
|
290
|
+
function y(t) {
|
|
291
|
+
return Z(t);
|
|
312
292
|
}
|
|
313
|
-
function
|
|
293
|
+
function Z(t, e) {
|
|
314
294
|
return t == null ? t : {
|
|
315
|
-
|
|
295
|
+
assetId: t.assetId,
|
|
296
|
+
connectorEndpoint: t.connectorEndpoint,
|
|
297
|
+
participantId: t.participantId,
|
|
298
|
+
title: t.title,
|
|
299
|
+
creatorOrganizationName: t.creatorOrganizationName,
|
|
300
|
+
language: a(t, "language") ? t.language : void 0,
|
|
301
|
+
description: a(t, "description") ? t.description : void 0,
|
|
302
|
+
publisherHomepage: a(t, "publisherHomepage") ? t.publisherHomepage : void 0,
|
|
303
|
+
licenseUrl: a(t, "licenseUrl") ? t.licenseUrl : void 0,
|
|
304
|
+
version: a(t, "version") ? t.version : void 0,
|
|
305
|
+
keywords: a(t, "keywords") ? t.keywords : void 0,
|
|
306
|
+
mediaType: a(t, "mediaType") ? t.mediaType : void 0,
|
|
307
|
+
landingPageUrl: a(t, "landingPageUrl") ? t.landingPageUrl : void 0,
|
|
308
|
+
httpDatasourceHintsProxyMethod: a(
|
|
309
|
+
t,
|
|
310
|
+
"httpDatasourceHintsProxyMethod"
|
|
311
|
+
) ? t.httpDatasourceHintsProxyMethod : void 0,
|
|
312
|
+
httpDatasourceHintsProxyPath: a(
|
|
313
|
+
t,
|
|
314
|
+
"httpDatasourceHintsProxyPath"
|
|
315
|
+
) ? t.httpDatasourceHintsProxyPath : void 0,
|
|
316
|
+
httpDatasourceHintsProxyQueryParams: a(
|
|
317
|
+
t,
|
|
318
|
+
"httpDatasourceHintsProxyQueryParams"
|
|
319
|
+
) ? t.httpDatasourceHintsProxyQueryParams : void 0,
|
|
320
|
+
httpDatasourceHintsProxyBody: a(
|
|
321
|
+
t,
|
|
322
|
+
"httpDatasourceHintsProxyBody"
|
|
323
|
+
) ? t.httpDatasourceHintsProxyBody : void 0,
|
|
324
|
+
dataCategory: a(t, "dataCategory") ? t.dataCategory : void 0,
|
|
325
|
+
dataSubcategory: a(t, "dataSubcategory") ? t.dataSubcategory : void 0,
|
|
326
|
+
dataModel: a(t, "dataModel") ? t.dataModel : void 0,
|
|
327
|
+
geoReferenceMethod: a(t, "geoReferenceMethod") ? t.geoReferenceMethod : void 0,
|
|
328
|
+
transportMode: a(t, "transportMode") ? t.transportMode : void 0,
|
|
329
|
+
additionalProperties: a(t, "additionalProperties") ? t.additionalProperties : void 0,
|
|
330
|
+
additionalJsonProperties: a(t, "additionalJsonProperties") ? t.additionalJsonProperties : void 0,
|
|
331
|
+
privateProperties: a(t, "privateProperties") ? t.privateProperties : void 0,
|
|
332
|
+
privateJsonProperties: a(t, "privateJsonProperties") ? t.privateJsonProperties : void 0,
|
|
333
|
+
assetJsonLd: a(t, "assetJsonLd") ? t.assetJsonLd : void 0
|
|
316
334
|
};
|
|
317
335
|
}
|
|
318
|
-
function
|
|
336
|
+
function P(t) {
|
|
319
337
|
if (t !== void 0)
|
|
320
338
|
return t === null ? null : {
|
|
321
|
-
|
|
339
|
+
assetId: t.assetId,
|
|
340
|
+
connectorEndpoint: t.connectorEndpoint,
|
|
341
|
+
participantId: t.participantId,
|
|
342
|
+
title: t.title,
|
|
343
|
+
creatorOrganizationName: t.creatorOrganizationName,
|
|
344
|
+
language: t.language,
|
|
345
|
+
description: t.description,
|
|
346
|
+
publisherHomepage: t.publisherHomepage,
|
|
347
|
+
licenseUrl: t.licenseUrl,
|
|
348
|
+
version: t.version,
|
|
349
|
+
keywords: t.keywords,
|
|
350
|
+
mediaType: t.mediaType,
|
|
351
|
+
landingPageUrl: t.landingPageUrl,
|
|
352
|
+
httpDatasourceHintsProxyMethod: t.httpDatasourceHintsProxyMethod,
|
|
353
|
+
httpDatasourceHintsProxyPath: t.httpDatasourceHintsProxyPath,
|
|
354
|
+
httpDatasourceHintsProxyQueryParams: t.httpDatasourceHintsProxyQueryParams,
|
|
355
|
+
httpDatasourceHintsProxyBody: t.httpDatasourceHintsProxyBody,
|
|
356
|
+
dataCategory: t.dataCategory,
|
|
357
|
+
dataSubcategory: t.dataSubcategory,
|
|
358
|
+
dataModel: t.dataModel,
|
|
359
|
+
geoReferenceMethod: t.geoReferenceMethod,
|
|
360
|
+
transportMode: t.transportMode,
|
|
361
|
+
additionalProperties: t.additionalProperties,
|
|
362
|
+
additionalJsonProperties: t.additionalJsonProperties,
|
|
363
|
+
privateProperties: t.privateProperties,
|
|
364
|
+
privateJsonProperties: t.privateJsonProperties,
|
|
365
|
+
assetJsonLd: t.assetJsonLd
|
|
322
366
|
};
|
|
323
367
|
}
|
|
324
|
-
function
|
|
368
|
+
function ur(t) {
|
|
325
369
|
let e = !0;
|
|
326
|
-
return e = e && "
|
|
370
|
+
return e = e && "assets" in t, e;
|
|
327
371
|
}
|
|
328
|
-
function
|
|
329
|
-
return
|
|
372
|
+
function v(t) {
|
|
373
|
+
return j(t);
|
|
330
374
|
}
|
|
331
|
-
function
|
|
375
|
+
function j(t, e) {
|
|
332
376
|
return t == null ? t : {
|
|
333
|
-
|
|
334
|
-
dataAddress: k(t.dataAddress)
|
|
377
|
+
assets: t.assets.map(y)
|
|
335
378
|
};
|
|
336
379
|
}
|
|
337
|
-
function
|
|
380
|
+
function fr(t) {
|
|
338
381
|
if (t !== void 0)
|
|
339
382
|
return t === null ? null : {
|
|
340
|
-
|
|
341
|
-
dataAddress: B(t.dataAddress)
|
|
383
|
+
assets: t.assets.map(P)
|
|
342
384
|
};
|
|
343
385
|
}
|
|
344
|
-
const
|
|
386
|
+
const pr = {
|
|
345
387
|
Eq: "EQ",
|
|
346
388
|
Neq: "NEQ",
|
|
347
389
|
Gt: "GT",
|
|
348
390
|
Geq: "GEQ",
|
|
349
391
|
Lt: "LT",
|
|
350
392
|
Leq: "LEQ",
|
|
351
|
-
In: "IN"
|
|
393
|
+
In: "IN",
|
|
394
|
+
HasPart: "HAS_PART",
|
|
395
|
+
IsA: "IS_A",
|
|
396
|
+
IsAllOf: "IS_ALL_OF",
|
|
397
|
+
IsAnyOf: "IS_ANY_OF",
|
|
398
|
+
IsNoneOf: "IS_NONE_OF"
|
|
352
399
|
};
|
|
353
|
-
function
|
|
400
|
+
function J(t) {
|
|
401
|
+
return tt(t);
|
|
402
|
+
}
|
|
403
|
+
function tt(t, e) {
|
|
404
|
+
return t;
|
|
405
|
+
}
|
|
406
|
+
function lr(t) {
|
|
407
|
+
return t;
|
|
408
|
+
}
|
|
409
|
+
function mr(t) {
|
|
354
410
|
let e = !0;
|
|
355
411
|
return e = e && "leftExpression" in t, e = e && "operator" in t, e = e && "rightExpression" in t, e;
|
|
356
412
|
}
|
|
357
|
-
function
|
|
358
|
-
return
|
|
413
|
+
function et(t) {
|
|
414
|
+
return rt(t);
|
|
359
415
|
}
|
|
360
|
-
function
|
|
416
|
+
function rt(t, e) {
|
|
361
417
|
return t == null ? t : {
|
|
362
418
|
leftExpression: t.leftExpression,
|
|
363
|
-
operator: t.operator,
|
|
419
|
+
operator: J(t.operator),
|
|
364
420
|
rightExpression: t.rightExpression
|
|
365
421
|
};
|
|
366
422
|
}
|
|
367
|
-
function
|
|
423
|
+
function nt(t) {
|
|
368
424
|
if (t !== void 0)
|
|
369
425
|
return t === null ? null : {
|
|
370
426
|
leftExpression: t.leftExpression,
|
|
@@ -372,49 +428,73 @@ function Y(t) {
|
|
|
372
428
|
rightExpression: t.rightExpression
|
|
373
429
|
};
|
|
374
430
|
}
|
|
375
|
-
function
|
|
431
|
+
function gr(t) {
|
|
376
432
|
let e = !0;
|
|
377
433
|
return e = e && "numActiveConsumingContractAgreements" in t, e;
|
|
378
434
|
}
|
|
379
|
-
function
|
|
380
|
-
return
|
|
435
|
+
function it(t) {
|
|
436
|
+
return ot(t);
|
|
381
437
|
}
|
|
382
|
-
function
|
|
438
|
+
function ot(t, e) {
|
|
383
439
|
return t == null ? t : {
|
|
384
440
|
numActiveConsumingContractAgreements: t.numActiveConsumingContractAgreements,
|
|
385
|
-
maxActiveConsumingContractAgreements:
|
|
441
|
+
maxActiveConsumingContractAgreements: a(
|
|
386
442
|
t,
|
|
387
443
|
"maxActiveConsumingContractAgreements"
|
|
388
444
|
) ? t.maxActiveConsumingContractAgreements : void 0
|
|
389
445
|
};
|
|
390
446
|
}
|
|
391
|
-
function
|
|
447
|
+
function yr(t) {
|
|
392
448
|
if (t !== void 0)
|
|
393
449
|
return t === null ? null : {
|
|
394
450
|
numActiveConsumingContractAgreements: t.numActiveConsumingContractAgreements,
|
|
395
451
|
maxActiveConsumingContractAgreements: t.maxActiveConsumingContractAgreements
|
|
396
452
|
};
|
|
397
453
|
}
|
|
398
|
-
const
|
|
454
|
+
const Pr = {
|
|
455
|
+
Consuming: "CONSUMING",
|
|
456
|
+
Providing: "PROVIDING"
|
|
457
|
+
};
|
|
458
|
+
function q(t) {
|
|
459
|
+
return at(t);
|
|
460
|
+
}
|
|
461
|
+
function at(t, e) {
|
|
462
|
+
return t;
|
|
463
|
+
}
|
|
464
|
+
function hr(t) {
|
|
465
|
+
return t;
|
|
466
|
+
}
|
|
467
|
+
const Dr = {
|
|
399
468
|
Running: "RUNNING",
|
|
400
469
|
Ok: "OK",
|
|
401
470
|
Error: "ERROR"
|
|
402
471
|
};
|
|
403
|
-
function
|
|
472
|
+
function st(t) {
|
|
473
|
+
return ct(t);
|
|
474
|
+
}
|
|
475
|
+
function ct(t, e) {
|
|
476
|
+
return t;
|
|
477
|
+
}
|
|
478
|
+
function Ir(t) {
|
|
479
|
+
return t;
|
|
480
|
+
}
|
|
481
|
+
function Cr(t) {
|
|
404
482
|
let e = !0;
|
|
405
483
|
return e = e && "name" in t, e = e && "code" in t, e = e && "simplifiedState" in t, e;
|
|
406
484
|
}
|
|
407
|
-
function
|
|
408
|
-
return
|
|
485
|
+
function U(t) {
|
|
486
|
+
return dt(t);
|
|
409
487
|
}
|
|
410
|
-
function
|
|
488
|
+
function dt(t, e) {
|
|
411
489
|
return t == null ? t : {
|
|
412
490
|
name: t.name,
|
|
413
491
|
code: t.code,
|
|
414
|
-
simplifiedState:
|
|
492
|
+
simplifiedState: st(
|
|
493
|
+
t.simplifiedState
|
|
494
|
+
)
|
|
415
495
|
};
|
|
416
496
|
}
|
|
417
|
-
function
|
|
497
|
+
function E(t) {
|
|
418
498
|
if (t !== void 0)
|
|
419
499
|
return t === null ? null : {
|
|
420
500
|
name: t.name,
|
|
@@ -422,128 +502,137 @@ function O(t) {
|
|
|
422
502
|
simplifiedState: t.simplifiedState
|
|
423
503
|
};
|
|
424
504
|
}
|
|
425
|
-
function
|
|
505
|
+
function Or(t) {
|
|
426
506
|
let e = !0;
|
|
427
507
|
return e = e && "transferProcessId" in t, e = e && "lastUpdatedDate" in t, e = e && "state" in t, e;
|
|
428
508
|
}
|
|
429
|
-
function
|
|
430
|
-
return
|
|
509
|
+
function ut(t) {
|
|
510
|
+
return ft(t);
|
|
431
511
|
}
|
|
432
|
-
function
|
|
512
|
+
function ft(t, e) {
|
|
433
513
|
return t == null ? t : {
|
|
434
514
|
transferProcessId: t.transferProcessId,
|
|
435
515
|
lastUpdatedDate: new Date(t.lastUpdatedDate),
|
|
436
|
-
state:
|
|
437
|
-
errorMessage:
|
|
516
|
+
state: U(t.state),
|
|
517
|
+
errorMessage: a(t, "errorMessage") ? t.errorMessage : void 0
|
|
438
518
|
};
|
|
439
519
|
}
|
|
440
|
-
function
|
|
520
|
+
function pt(t) {
|
|
441
521
|
if (t !== void 0)
|
|
442
522
|
return t === null ? null : {
|
|
443
523
|
transferProcessId: t.transferProcessId,
|
|
444
524
|
lastUpdatedDate: t.lastUpdatedDate.toISOString(),
|
|
445
|
-
state:
|
|
525
|
+
state: E(t.state),
|
|
446
526
|
errorMessage: t.errorMessage
|
|
447
527
|
};
|
|
448
528
|
}
|
|
449
|
-
const
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
Or: "OR",
|
|
454
|
-
Xor: "XOR"
|
|
529
|
+
const Sr = {
|
|
530
|
+
String: "STRING",
|
|
531
|
+
StringList: "STRING_LIST",
|
|
532
|
+
Json: "JSON"
|
|
455
533
|
};
|
|
456
|
-
function
|
|
457
|
-
return
|
|
534
|
+
function lt(t) {
|
|
535
|
+
return mt(t);
|
|
458
536
|
}
|
|
459
|
-
function
|
|
460
|
-
return
|
|
537
|
+
function mt(t, e) {
|
|
538
|
+
return t;
|
|
461
539
|
}
|
|
462
|
-
function
|
|
540
|
+
function wr(t) {
|
|
541
|
+
return t;
|
|
542
|
+
}
|
|
543
|
+
function Tr(t) {
|
|
544
|
+
let e = !0;
|
|
545
|
+
return e = e && "type" in t, e;
|
|
546
|
+
}
|
|
547
|
+
function gt(t) {
|
|
548
|
+
return yt(t);
|
|
549
|
+
}
|
|
550
|
+
function yt(t, e) {
|
|
463
551
|
return t == null ? t : {
|
|
464
|
-
type:
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
or: s(t, "or") ? t.or.map(p) : void 0,
|
|
468
|
-
xor: s(t, "xor") ? t.xor.map(p) : void 0
|
|
552
|
+
type: lt(t.type),
|
|
553
|
+
value: a(t, "value") ? t.value : void 0,
|
|
554
|
+
valueList: a(t, "valueList") ? t.valueList : void 0
|
|
469
555
|
};
|
|
470
556
|
}
|
|
471
|
-
function
|
|
557
|
+
function Pt(t) {
|
|
472
558
|
if (t !== void 0)
|
|
473
559
|
return t === null ? null : {
|
|
474
560
|
type: t.type,
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
or: t.or === void 0 ? void 0 : t.or.map(m),
|
|
478
|
-
xor: t.xor === void 0 ? void 0 : t.xor.map(m)
|
|
561
|
+
value: t.value,
|
|
562
|
+
valueList: t.valueList
|
|
479
563
|
};
|
|
480
564
|
}
|
|
481
|
-
function
|
|
565
|
+
function Nr(t) {
|
|
482
566
|
let e = !0;
|
|
483
|
-
return e = e && "
|
|
567
|
+
return e = e && "left" in t, e = e && "operator" in t, e = e && "right" in t, e;
|
|
484
568
|
}
|
|
485
|
-
function
|
|
486
|
-
return
|
|
569
|
+
function F(t) {
|
|
570
|
+
return ht(t);
|
|
487
571
|
}
|
|
488
|
-
function
|
|
572
|
+
function ht(t, e) {
|
|
489
573
|
return t == null ? t : {
|
|
490
|
-
|
|
574
|
+
left: t.left,
|
|
575
|
+
operator: J(t.operator),
|
|
576
|
+
right: gt(t.right)
|
|
491
577
|
};
|
|
492
578
|
}
|
|
493
|
-
function
|
|
579
|
+
function b(t) {
|
|
494
580
|
if (t !== void 0)
|
|
495
581
|
return t === null ? null : {
|
|
496
|
-
|
|
582
|
+
left: t.left,
|
|
583
|
+
operator: t.operator,
|
|
584
|
+
right: Pt(t.right)
|
|
497
585
|
};
|
|
498
586
|
}
|
|
499
|
-
function
|
|
500
|
-
|
|
587
|
+
function Ar(t) {
|
|
588
|
+
let e = !0;
|
|
589
|
+
return e = e && "policyJsonLd" in t, e = e && "errors" in t, e;
|
|
501
590
|
}
|
|
502
|
-
function
|
|
503
|
-
return
|
|
591
|
+
function h(t) {
|
|
592
|
+
return Dt(t);
|
|
504
593
|
}
|
|
505
|
-
function
|
|
594
|
+
function Dt(t, e) {
|
|
506
595
|
return t == null ? t : {
|
|
507
|
-
|
|
508
|
-
|
|
596
|
+
policyJsonLd: t.policyJsonLd,
|
|
597
|
+
constraints: a(t, "constraints") ? t.constraints.map(
|
|
598
|
+
F
|
|
599
|
+
) : void 0,
|
|
600
|
+
errors: t.errors
|
|
509
601
|
};
|
|
510
602
|
}
|
|
511
|
-
function
|
|
603
|
+
function D(t) {
|
|
512
604
|
if (t !== void 0)
|
|
513
605
|
return t === null ? null : {
|
|
514
|
-
|
|
515
|
-
|
|
606
|
+
policyJsonLd: t.policyJsonLd,
|
|
607
|
+
constraints: t.constraints === void 0 ? void 0 : t.constraints.map(
|
|
608
|
+
b
|
|
609
|
+
),
|
|
610
|
+
errors: t.errors
|
|
516
611
|
};
|
|
517
612
|
}
|
|
518
|
-
|
|
519
|
-
Consuming: "CONSUMING",
|
|
520
|
-
Providing: "PROVIDING"
|
|
521
|
-
};
|
|
522
|
-
function pe(t) {
|
|
613
|
+
function Rr(t) {
|
|
523
614
|
let e = !0;
|
|
524
|
-
return e = e && "contractAgreementId" in t, e = e && "contractNegotiationId" in t, e = e && "direction" in t, e = e && "counterPartyAddress" in t, e = e && "counterPartyId" in t, e = e && "contractSigningDate" in t, e = e && "
|
|
615
|
+
return e = e && "contractAgreementId" in t, e = e && "contractNegotiationId" in t, e = e && "direction" in t, e = e && "counterPartyAddress" in t, e = e && "counterPartyId" in t, e = e && "contractSigningDate" in t, e = e && "asset" in t, e = e && "contractPolicy" in t, e = e && "transferProcesses" in t, e;
|
|
525
616
|
}
|
|
526
|
-
function
|
|
527
|
-
return
|
|
617
|
+
function It(t) {
|
|
618
|
+
return Ct(t);
|
|
528
619
|
}
|
|
529
|
-
function
|
|
620
|
+
function Ct(t, e) {
|
|
530
621
|
return t == null ? t : {
|
|
531
622
|
contractAgreementId: t.contractAgreementId,
|
|
532
623
|
contractNegotiationId: t.contractNegotiationId,
|
|
533
|
-
direction: t.direction,
|
|
624
|
+
direction: q(t.direction),
|
|
534
625
|
counterPartyAddress: t.counterPartyAddress,
|
|
535
626
|
counterPartyId: t.counterPartyId,
|
|
536
627
|
contractSigningDate: new Date(t.contractSigningDate),
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
asset: M(t.asset),
|
|
540
|
-
contractPolicy: w(t.contractPolicy),
|
|
628
|
+
asset: y(t.asset),
|
|
629
|
+
contractPolicy: h(t.contractPolicy),
|
|
541
630
|
transferProcesses: t.transferProcesses.map(
|
|
542
|
-
|
|
631
|
+
ut
|
|
543
632
|
)
|
|
544
633
|
};
|
|
545
634
|
}
|
|
546
|
-
function
|
|
635
|
+
function Ot(t) {
|
|
547
636
|
if (t !== void 0)
|
|
548
637
|
return t === null ? null : {
|
|
549
638
|
contractAgreementId: t.contractAgreementId,
|
|
@@ -552,315 +641,772 @@ function dt(t) {
|
|
|
552
641
|
counterPartyAddress: t.counterPartyAddress,
|
|
553
642
|
counterPartyId: t.counterPartyId,
|
|
554
643
|
contractSigningDate: t.contractSigningDate.toISOString(),
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
asset: L(t.asset),
|
|
558
|
-
contractPolicy: C(t.contractPolicy),
|
|
644
|
+
asset: P(t.asset),
|
|
645
|
+
contractPolicy: D(t.contractPolicy),
|
|
559
646
|
transferProcesses: t.transferProcesses.map(
|
|
560
|
-
|
|
647
|
+
pt
|
|
561
648
|
)
|
|
562
649
|
};
|
|
563
650
|
}
|
|
564
|
-
function
|
|
651
|
+
function Jr(t) {
|
|
565
652
|
let e = !0;
|
|
566
653
|
return e = e && "contractAgreements" in t, e;
|
|
567
654
|
}
|
|
568
|
-
function
|
|
569
|
-
return
|
|
655
|
+
function St(t) {
|
|
656
|
+
return wt(t);
|
|
570
657
|
}
|
|
571
|
-
function
|
|
658
|
+
function wt(t, e) {
|
|
572
659
|
return t == null ? t : {
|
|
573
660
|
contractAgreements: t.contractAgreements.map(
|
|
574
|
-
|
|
661
|
+
It
|
|
575
662
|
)
|
|
576
663
|
};
|
|
577
664
|
}
|
|
578
|
-
function
|
|
665
|
+
function qr(t) {
|
|
579
666
|
if (t !== void 0)
|
|
580
667
|
return t === null ? null : {
|
|
581
668
|
contractAgreements: t.contractAgreements.map(
|
|
582
|
-
|
|
669
|
+
Ot
|
|
583
670
|
)
|
|
584
671
|
};
|
|
585
672
|
}
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
}
|
|
590
|
-
function
|
|
591
|
-
return
|
|
673
|
+
const Ur = {
|
|
674
|
+
Value: "VALUE",
|
|
675
|
+
ValueList: "VALUE_LIST"
|
|
676
|
+
};
|
|
677
|
+
function Tt(t) {
|
|
678
|
+
return Nt(t);
|
|
592
679
|
}
|
|
593
|
-
function
|
|
594
|
-
return t
|
|
595
|
-
contractAgreementId: t.contractAgreementId,
|
|
596
|
-
dataSinkProperties: t.dataSinkProperties,
|
|
597
|
-
properties: t.properties
|
|
598
|
-
};
|
|
680
|
+
function Nt(t, e) {
|
|
681
|
+
return t;
|
|
599
682
|
}
|
|
600
|
-
function
|
|
601
|
-
|
|
602
|
-
return t === null ? null : {
|
|
603
|
-
contractAgreementId: t.contractAgreementId,
|
|
604
|
-
dataSinkProperties: t.dataSinkProperties,
|
|
605
|
-
properties: t.properties
|
|
606
|
-
};
|
|
683
|
+
function Er(t) {
|
|
684
|
+
return t;
|
|
607
685
|
}
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
CustomJson: "CUSTOM_JSON"
|
|
611
|
-
};
|
|
612
|
-
function De(t) {
|
|
613
|
-
let e = !0;
|
|
614
|
-
return e = e && "type" in t, e;
|
|
686
|
+
function Fr(t) {
|
|
687
|
+
return !0;
|
|
615
688
|
}
|
|
616
|
-
function
|
|
617
|
-
return
|
|
689
|
+
function At(t) {
|
|
690
|
+
return Rt(t);
|
|
618
691
|
}
|
|
619
|
-
function
|
|
692
|
+
function Rt(t, e) {
|
|
620
693
|
return t == null ? t : {
|
|
621
|
-
type: t.type,
|
|
622
|
-
|
|
623
|
-
|
|
694
|
+
type: a(t, "type") ? Tt(t.type) : void 0,
|
|
695
|
+
value: a(t, "value") ? t.value : void 0,
|
|
696
|
+
valueList: a(t, "valueList") ? t.valueList : void 0
|
|
624
697
|
};
|
|
625
698
|
}
|
|
626
|
-
function
|
|
699
|
+
function Jt(t) {
|
|
627
700
|
if (t !== void 0)
|
|
628
701
|
return t === null ? null : {
|
|
629
702
|
type: t.type,
|
|
630
|
-
|
|
631
|
-
|
|
703
|
+
value: t.value,
|
|
704
|
+
valueList: t.valueList
|
|
632
705
|
};
|
|
633
706
|
}
|
|
634
|
-
|
|
707
|
+
const br = {
|
|
708
|
+
Eq: "EQ",
|
|
709
|
+
In: "IN",
|
|
710
|
+
Like: "LIKE"
|
|
711
|
+
};
|
|
712
|
+
function qt(t) {
|
|
713
|
+
return Ut(t);
|
|
714
|
+
}
|
|
715
|
+
function Ut(t, e) {
|
|
716
|
+
return t;
|
|
717
|
+
}
|
|
718
|
+
function Lr(t) {
|
|
719
|
+
return t;
|
|
720
|
+
}
|
|
721
|
+
function Mr(t) {
|
|
635
722
|
let e = !0;
|
|
636
|
-
return e = e && "operandLeft" in t, e = e && "operator" in t, e;
|
|
723
|
+
return e = e && "operandLeft" in t, e = e && "operator" in t, e = e && "operandRight" in t, e;
|
|
637
724
|
}
|
|
638
|
-
function
|
|
639
|
-
return
|
|
725
|
+
function L(t) {
|
|
726
|
+
return Et(t);
|
|
640
727
|
}
|
|
641
|
-
function
|
|
728
|
+
function Et(t, e) {
|
|
642
729
|
return t == null ? t : {
|
|
643
730
|
operandLeft: t.operandLeft,
|
|
644
|
-
operator: t.operator,
|
|
645
|
-
operandRight:
|
|
731
|
+
operator: qt(t.operator),
|
|
732
|
+
operandRight: At(t.operandRight)
|
|
646
733
|
};
|
|
647
734
|
}
|
|
648
|
-
function
|
|
735
|
+
function M(t) {
|
|
649
736
|
if (t !== void 0)
|
|
650
737
|
return t === null ? null : {
|
|
651
738
|
operandLeft: t.operandLeft,
|
|
652
739
|
operator: t.operator,
|
|
653
|
-
operandRight: t.operandRight
|
|
740
|
+
operandRight: Jt(t.operandRight)
|
|
654
741
|
};
|
|
655
742
|
}
|
|
656
|
-
function
|
|
743
|
+
function xr(t) {
|
|
657
744
|
let e = !0;
|
|
658
|
-
return e = e && "accessPolicyId" in t, e = e && "contractPolicyId" in t, e = e && "
|
|
745
|
+
return e = e && "contractDefinitionId" in t, e = e && "accessPolicyId" in t, e = e && "contractPolicyId" in t, e = e && "assetSelector" in t, e;
|
|
659
746
|
}
|
|
660
|
-
function
|
|
661
|
-
return
|
|
747
|
+
function Ft(t) {
|
|
748
|
+
return bt(t);
|
|
662
749
|
}
|
|
663
|
-
function
|
|
750
|
+
function bt(t, e) {
|
|
664
751
|
return t == null ? t : {
|
|
665
|
-
|
|
752
|
+
contractDefinitionId: t.contractDefinitionId,
|
|
666
753
|
accessPolicyId: t.accessPolicyId,
|
|
667
754
|
contractPolicyId: t.contractPolicyId,
|
|
668
|
-
|
|
669
|
-
|
|
755
|
+
assetSelector: t.assetSelector.map(
|
|
756
|
+
L
|
|
757
|
+
)
|
|
670
758
|
};
|
|
671
759
|
}
|
|
672
|
-
function
|
|
760
|
+
function Lt(t) {
|
|
673
761
|
if (t !== void 0)
|
|
674
762
|
return t === null ? null : {
|
|
675
|
-
|
|
763
|
+
contractDefinitionId: t.contractDefinitionId,
|
|
676
764
|
accessPolicyId: t.accessPolicyId,
|
|
677
765
|
contractPolicyId: t.contractPolicyId,
|
|
678
|
-
|
|
679
|
-
|
|
766
|
+
assetSelector: t.assetSelector.map(
|
|
767
|
+
M
|
|
768
|
+
)
|
|
680
769
|
};
|
|
681
770
|
}
|
|
682
|
-
function
|
|
771
|
+
function Hr(t) {
|
|
683
772
|
let e = !0;
|
|
684
|
-
return e = e && "
|
|
773
|
+
return e = e && "contractDefinitions" in t, e;
|
|
685
774
|
}
|
|
686
|
-
function
|
|
687
|
-
return
|
|
775
|
+
function Mt(t) {
|
|
776
|
+
return xt(t);
|
|
688
777
|
}
|
|
689
|
-
function
|
|
778
|
+
function xt(t, e) {
|
|
690
779
|
return t == null ? t : {
|
|
691
|
-
|
|
692
|
-
|
|
780
|
+
contractDefinitions: t.contractDefinitions.map(
|
|
781
|
+
Ft
|
|
782
|
+
)
|
|
693
783
|
};
|
|
694
784
|
}
|
|
695
|
-
function
|
|
785
|
+
function kr(t) {
|
|
696
786
|
if (t !== void 0)
|
|
697
787
|
return t === null ? null : {
|
|
698
|
-
|
|
699
|
-
|
|
788
|
+
contractDefinitions: t.contractDefinitions.map(
|
|
789
|
+
Lt
|
|
790
|
+
)
|
|
700
791
|
};
|
|
701
792
|
}
|
|
702
|
-
function
|
|
703
|
-
|
|
793
|
+
function Gr(t) {
|
|
794
|
+
let e = !0;
|
|
795
|
+
return e = e && "contractDefinitionId" in t, e = e && "contractPolicyId" in t, e = e && "accessPolicyId" in t, e = e && "assetSelector" in t, e;
|
|
704
796
|
}
|
|
705
|
-
function
|
|
706
|
-
return
|
|
797
|
+
function Kr(t) {
|
|
798
|
+
return Ht(t);
|
|
707
799
|
}
|
|
708
|
-
function
|
|
800
|
+
function Ht(t, e) {
|
|
709
801
|
return t == null ? t : {
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
) : void 0
|
|
802
|
+
contractDefinitionId: t.contractDefinitionId,
|
|
803
|
+
contractPolicyId: t.contractPolicyId,
|
|
804
|
+
accessPolicyId: t.accessPolicyId,
|
|
805
|
+
assetSelector: t.assetSelector.map(
|
|
806
|
+
L
|
|
807
|
+
)
|
|
717
808
|
};
|
|
718
809
|
}
|
|
719
|
-
function
|
|
810
|
+
function kt(t) {
|
|
720
811
|
if (t !== void 0)
|
|
721
812
|
return t === null ? null : {
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
t.contractDefinitionRequest
|
|
813
|
+
contractDefinitionId: t.contractDefinitionId,
|
|
814
|
+
contractPolicyId: t.contractPolicyId,
|
|
815
|
+
accessPolicyId: t.accessPolicyId,
|
|
816
|
+
assetSelector: t.assetSelector.map(
|
|
817
|
+
M
|
|
728
818
|
)
|
|
729
819
|
};
|
|
730
820
|
}
|
|
731
|
-
function
|
|
732
|
-
|
|
821
|
+
function $r(t) {
|
|
822
|
+
let e = !0;
|
|
823
|
+
return e = e && "operandLeft" in t, e = e && "operator" in t, e;
|
|
733
824
|
}
|
|
734
|
-
function
|
|
735
|
-
return
|
|
825
|
+
function Gt(t) {
|
|
826
|
+
return Kt(t);
|
|
736
827
|
}
|
|
737
|
-
function
|
|
828
|
+
function Kt(t, e) {
|
|
738
829
|
return t == null ? t : {
|
|
739
|
-
|
|
740
|
-
|
|
830
|
+
operandLeft: t.operandLeft,
|
|
831
|
+
operator: t.operator,
|
|
832
|
+
operandRight: a(t, "operandRight") ? t.operandRight : void 0
|
|
741
833
|
};
|
|
742
834
|
}
|
|
743
|
-
function
|
|
835
|
+
function $t(t) {
|
|
744
836
|
if (t !== void 0)
|
|
745
837
|
return t === null ? null : {
|
|
746
|
-
|
|
747
|
-
|
|
838
|
+
operandLeft: t.operandLeft,
|
|
839
|
+
operator: t.operator,
|
|
840
|
+
operandRight: t.operandRight
|
|
748
841
|
};
|
|
749
842
|
}
|
|
750
|
-
function
|
|
843
|
+
function _r(t) {
|
|
751
844
|
let e = !0;
|
|
752
|
-
return e = e && "
|
|
845
|
+
return e = e && "accessPolicyId" in t, e = e && "contractPolicyId" in t, e = e && "assetsSelector" in t, e;
|
|
753
846
|
}
|
|
754
|
-
function
|
|
755
|
-
return
|
|
847
|
+
function _t(t) {
|
|
848
|
+
return Qt(t);
|
|
756
849
|
}
|
|
757
|
-
function
|
|
850
|
+
function Qt(t, e) {
|
|
758
851
|
return t == null ? t : {
|
|
759
|
-
|
|
760
|
-
|
|
852
|
+
id: a(t, "id") ? t.id : void 0,
|
|
853
|
+
accessPolicyId: t.accessPolicyId,
|
|
854
|
+
contractPolicyId: t.contractPolicyId,
|
|
855
|
+
assetsSelector: t.assetsSelector.map(
|
|
856
|
+
Gt
|
|
857
|
+
)
|
|
761
858
|
};
|
|
762
859
|
}
|
|
763
|
-
function
|
|
860
|
+
function Vt(t) {
|
|
764
861
|
if (t !== void 0)
|
|
765
862
|
return t === null ? null : {
|
|
766
|
-
|
|
767
|
-
|
|
863
|
+
id: t.id,
|
|
864
|
+
accessPolicyId: t.accessPolicyId,
|
|
865
|
+
contractPolicyId: t.contractPolicyId,
|
|
866
|
+
assetsSelector: t.assetsSelector.map(
|
|
867
|
+
$t
|
|
868
|
+
)
|
|
768
869
|
};
|
|
769
870
|
}
|
|
770
|
-
function
|
|
871
|
+
function Qr(t) {
|
|
771
872
|
let e = !0;
|
|
772
|
-
return e = e && "
|
|
873
|
+
return e = e && "counterPartyAddress" in t, e = e && "counterPartyParticipantId" in t, e = e && "contractOfferId" in t, e = e && "policyJsonLd" in t, e = e && "assetId" in t, e;
|
|
773
874
|
}
|
|
774
|
-
function
|
|
775
|
-
return
|
|
875
|
+
function Vr(t) {
|
|
876
|
+
return Bt(t);
|
|
776
877
|
}
|
|
777
|
-
function
|
|
878
|
+
function Bt(t, e) {
|
|
778
879
|
return t == null ? t : {
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
t.transferProcessDto
|
|
785
|
-
)
|
|
880
|
+
counterPartyAddress: t.counterPartyAddress,
|
|
881
|
+
counterPartyParticipantId: t.counterPartyParticipantId,
|
|
882
|
+
contractOfferId: t.contractOfferId,
|
|
883
|
+
policyJsonLd: t.policyJsonLd,
|
|
884
|
+
assetId: t.assetId
|
|
786
885
|
};
|
|
787
886
|
}
|
|
788
|
-
function
|
|
887
|
+
function zt(t) {
|
|
789
888
|
if (t !== void 0)
|
|
790
889
|
return t === null ? null : {
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
t.transferProcessDto
|
|
797
|
-
)
|
|
890
|
+
counterPartyAddress: t.counterPartyAddress,
|
|
891
|
+
counterPartyParticipantId: t.counterPartyParticipantId,
|
|
892
|
+
contractOfferId: t.contractOfferId,
|
|
893
|
+
policyJsonLd: t.policyJsonLd,
|
|
894
|
+
assetId: t.assetId
|
|
798
895
|
};
|
|
799
896
|
}
|
|
800
|
-
|
|
897
|
+
const Br = {
|
|
898
|
+
InProgress: "IN_PROGRESS",
|
|
899
|
+
Agreed: "AGREED",
|
|
900
|
+
Terminated: "TERMINATED"
|
|
901
|
+
};
|
|
902
|
+
function Xt(t) {
|
|
903
|
+
return Yt(t);
|
|
904
|
+
}
|
|
905
|
+
function Yt(t, e) {
|
|
906
|
+
return t;
|
|
907
|
+
}
|
|
908
|
+
function zr(t) {
|
|
909
|
+
return t;
|
|
910
|
+
}
|
|
911
|
+
function Xr(t) {
|
|
801
912
|
let e = !0;
|
|
802
|
-
return e = e && "
|
|
913
|
+
return e = e && "name" in t, e = e && "code" in t, e = e && "simplifiedState" in t, e;
|
|
803
914
|
}
|
|
804
|
-
function
|
|
805
|
-
return
|
|
915
|
+
function Wt(t) {
|
|
916
|
+
return Zt(t);
|
|
806
917
|
}
|
|
807
|
-
function
|
|
918
|
+
function Zt(t, e) {
|
|
808
919
|
return t == null ? t : {
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
assetProperties: t.assetProperties,
|
|
815
|
-
creationDate: new Date(t.creationDate),
|
|
816
|
-
lastModifiedDate: new Date(t.lastModifiedDate)
|
|
920
|
+
name: t.name,
|
|
921
|
+
code: t.code,
|
|
922
|
+
simplifiedState: Xt(
|
|
923
|
+
t.simplifiedState
|
|
924
|
+
)
|
|
817
925
|
};
|
|
818
926
|
}
|
|
819
|
-
function
|
|
927
|
+
function vt(t) {
|
|
820
928
|
if (t !== void 0)
|
|
821
929
|
return t === null ? null : {
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
mediaType: t.mediaType,
|
|
826
|
-
byteSize: t.byteSize,
|
|
827
|
-
assetProperties: t.assetProperties,
|
|
828
|
-
creationDate: t.creationDate.toISOString(),
|
|
829
|
-
lastModifiedDate: t.lastModifiedDate.toISOString()
|
|
930
|
+
name: t.name,
|
|
931
|
+
code: t.code,
|
|
932
|
+
simplifiedState: t.simplifiedState
|
|
830
933
|
};
|
|
831
934
|
}
|
|
832
|
-
const
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
935
|
+
const Yr = {
|
|
936
|
+
Empty: "EMPTY",
|
|
937
|
+
AtomicConstraint: "ATOMIC_CONSTRAINT",
|
|
938
|
+
And: "AND",
|
|
939
|
+
Or: "OR",
|
|
940
|
+
Xor: "XOR"
|
|
941
|
+
};
|
|
942
|
+
function jt(t) {
|
|
943
|
+
return te(t);
|
|
944
|
+
}
|
|
945
|
+
function te(t, e) {
|
|
946
|
+
return t;
|
|
947
|
+
}
|
|
948
|
+
function Wr(t) {
|
|
949
|
+
return t;
|
|
950
|
+
}
|
|
951
|
+
function Zr(t) {
|
|
952
|
+
return !0;
|
|
953
|
+
}
|
|
954
|
+
function m(t) {
|
|
955
|
+
return ee(t);
|
|
956
|
+
}
|
|
957
|
+
function ee(t, e) {
|
|
958
|
+
return t == null ? t : {
|
|
959
|
+
type: a(t, "type") ? jt(t.type) : void 0,
|
|
960
|
+
atomicConstraint: a(t, "atomicConstraint") ? et(t.atomicConstraint) : void 0,
|
|
961
|
+
and: a(t, "and") ? t.and.map(m) : void 0,
|
|
962
|
+
or: a(t, "or") ? t.or.map(m) : void 0,
|
|
963
|
+
xor: a(t, "xor") ? t.xor.map(m) : void 0
|
|
964
|
+
};
|
|
965
|
+
}
|
|
966
|
+
function g(t) {
|
|
967
|
+
if (t !== void 0)
|
|
968
|
+
return t === null ? null : {
|
|
969
|
+
type: t.type,
|
|
970
|
+
atomicConstraint: nt(t.atomicConstraint),
|
|
971
|
+
and: t.and === void 0 ? void 0 : t.and.map(g),
|
|
972
|
+
or: t.or === void 0 ? void 0 : t.or.map(g),
|
|
973
|
+
xor: t.xor === void 0 ? void 0 : t.xor.map(g)
|
|
974
|
+
};
|
|
975
|
+
}
|
|
976
|
+
function vr(t) {
|
|
977
|
+
let e = !0;
|
|
978
|
+
return e = e && "constraints" in t, e;
|
|
979
|
+
}
|
|
980
|
+
function re(t) {
|
|
981
|
+
return ne(t);
|
|
982
|
+
}
|
|
983
|
+
function ne(t, e) {
|
|
984
|
+
return t == null ? t : {
|
|
985
|
+
constraints: m(t.constraints)
|
|
986
|
+
};
|
|
987
|
+
}
|
|
988
|
+
function ie(t) {
|
|
989
|
+
if (t !== void 0)
|
|
990
|
+
return t === null ? null : {
|
|
991
|
+
constraints: g(t.constraints)
|
|
992
|
+
};
|
|
993
|
+
}
|
|
994
|
+
function jr(t) {
|
|
995
|
+
let e = !0;
|
|
996
|
+
return e = e && "legacyPolicy" in t, e = e && "permission" in t, e;
|
|
997
|
+
}
|
|
998
|
+
function oe(t) {
|
|
999
|
+
return ae(t);
|
|
1000
|
+
}
|
|
1001
|
+
function ae(t, e) {
|
|
1002
|
+
return t == null ? t : {
|
|
1003
|
+
legacyPolicy: t.legacyPolicy,
|
|
1004
|
+
permission: re(t.permission)
|
|
1005
|
+
};
|
|
1006
|
+
}
|
|
1007
|
+
function se(t) {
|
|
1008
|
+
if (t !== void 0)
|
|
1009
|
+
return t === null ? null : {
|
|
1010
|
+
legacyPolicy: t.legacyPolicy,
|
|
1011
|
+
permission: ie(t.permission)
|
|
1012
|
+
};
|
|
1013
|
+
}
|
|
1014
|
+
function tn(t) {
|
|
1015
|
+
let e = !0;
|
|
1016
|
+
return e = e && "id" in t, e = e && "policy" in t, e;
|
|
1017
|
+
}
|
|
1018
|
+
function ce(t) {
|
|
1019
|
+
return de(t);
|
|
1020
|
+
}
|
|
1021
|
+
function de(t, e) {
|
|
1022
|
+
return t == null ? t : {
|
|
1023
|
+
id: t.id,
|
|
1024
|
+
policy: oe(t.policy)
|
|
1025
|
+
};
|
|
1026
|
+
}
|
|
1027
|
+
function ue(t) {
|
|
1028
|
+
if (t !== void 0)
|
|
1029
|
+
return t === null ? null : {
|
|
1030
|
+
id: t.id,
|
|
1031
|
+
policy: se(t.policy)
|
|
1032
|
+
};
|
|
1033
|
+
}
|
|
1034
|
+
function en(t) {
|
|
1035
|
+
return !0;
|
|
1036
|
+
}
|
|
1037
|
+
function rn(t) {
|
|
1038
|
+
return fe(t);
|
|
1039
|
+
}
|
|
1040
|
+
function fe(t, e) {
|
|
1041
|
+
return t == null ? t : {
|
|
1042
|
+
assetEntry: a(t, "assetEntry") ? X(t.assetEntry) : void 0,
|
|
1043
|
+
policyDefinitionRequest: a(t, "policyDefinitionRequest") ? ce(
|
|
1044
|
+
t.policyDefinitionRequest
|
|
1045
|
+
) : void 0,
|
|
1046
|
+
contractDefinitionRequest: a(t, "contractDefinitionRequest") ? _t(
|
|
1047
|
+
t.contractDefinitionRequest
|
|
1048
|
+
) : void 0
|
|
1049
|
+
};
|
|
1050
|
+
}
|
|
1051
|
+
function pe(t) {
|
|
1052
|
+
if (t !== void 0)
|
|
1053
|
+
return t === null ? null : {
|
|
1054
|
+
assetEntry: W(t.assetEntry),
|
|
1055
|
+
policyDefinitionRequest: ue(
|
|
1056
|
+
t.policyDefinitionRequest
|
|
1057
|
+
),
|
|
1058
|
+
contractDefinitionRequest: Vt(
|
|
1059
|
+
t.contractDefinitionRequest
|
|
1060
|
+
)
|
|
1061
|
+
};
|
|
1062
|
+
}
|
|
1063
|
+
function nn(t) {
|
|
1064
|
+
let e = !0;
|
|
1065
|
+
return e = e && "tokenUrl" in t, e = e && "jwksUrl" in t, e;
|
|
1066
|
+
}
|
|
1067
|
+
function le(t) {
|
|
1068
|
+
return me(t);
|
|
1069
|
+
}
|
|
1070
|
+
function me(t, e) {
|
|
1071
|
+
return t == null ? t : {
|
|
1072
|
+
tokenUrl: t.tokenUrl,
|
|
1073
|
+
jwksUrl: t.jwksUrl
|
|
1074
|
+
};
|
|
1075
|
+
}
|
|
1076
|
+
function ge(t) {
|
|
1077
|
+
if (t !== void 0)
|
|
1078
|
+
return t === null ? null : {
|
|
1079
|
+
tokenUrl: t.tokenUrl,
|
|
1080
|
+
jwksUrl: t.jwksUrl
|
|
1081
|
+
};
|
|
1082
|
+
}
|
|
1083
|
+
function on(t) {
|
|
1084
|
+
let e = !0;
|
|
1085
|
+
return e = e && "url" in t, e = e && "tokenUrl" in t, e = e && "authorityId" in t, e;
|
|
1086
|
+
}
|
|
1087
|
+
function ye(t) {
|
|
1088
|
+
return Pe(t);
|
|
1089
|
+
}
|
|
1090
|
+
function Pe(t, e) {
|
|
1091
|
+
return t == null ? t : {
|
|
1092
|
+
url: t.url,
|
|
1093
|
+
tokenUrl: t.tokenUrl,
|
|
1094
|
+
authorityId: t.authorityId
|
|
1095
|
+
};
|
|
1096
|
+
}
|
|
1097
|
+
function he(t) {
|
|
1098
|
+
if (t !== void 0)
|
|
1099
|
+
return t === null ? null : {
|
|
1100
|
+
url: t.url,
|
|
1101
|
+
tokenUrl: t.tokenUrl,
|
|
1102
|
+
authorityId: t.authorityId
|
|
1103
|
+
};
|
|
1104
|
+
}
|
|
1105
|
+
function an(t) {
|
|
1106
|
+
let e = !0;
|
|
1107
|
+
return e = e && "numTotal" in t, e = e && "numRunning" in t, e = e && "numOk" in t, e = e && "numError" in t, e;
|
|
1108
|
+
}
|
|
1109
|
+
function O(t) {
|
|
1110
|
+
return De(t);
|
|
1111
|
+
}
|
|
1112
|
+
function De(t, e) {
|
|
1113
|
+
return t == null ? t : {
|
|
1114
|
+
numTotal: t.numTotal,
|
|
1115
|
+
numRunning: t.numRunning,
|
|
1116
|
+
numOk: t.numOk,
|
|
1117
|
+
numError: t.numError
|
|
1118
|
+
};
|
|
1119
|
+
}
|
|
1120
|
+
function S(t) {
|
|
1121
|
+
if (t !== void 0)
|
|
1122
|
+
return t === null ? null : {
|
|
1123
|
+
numTotal: t.numTotal,
|
|
1124
|
+
numRunning: t.numRunning,
|
|
1125
|
+
numOk: t.numOk,
|
|
1126
|
+
numError: t.numError
|
|
1127
|
+
};
|
|
1128
|
+
}
|
|
1129
|
+
function sn(t) {
|
|
1130
|
+
let e = !0;
|
|
1131
|
+
return e = e && "numAssets" in t, e = e && "numPolicies" in t, e = e && "numContractDefinitions" in t, e = e && "numContractAgreementsConsuming" in t, e = e && "numContractAgreementsProviding" in t, e = e && "transferProcessesConsuming" in t, e = e && "transferProcessesProviding" in t, e = e && "connectorEndpoint" in t, e = e && "connectorParticipantId" in t, e = e && "connectorTitle" in t, e = e && "connectorDescription" in t, e = e && "connectorCuratorUrl" in t, e = e && "connectorCuratorName" in t, e = e && "connectorMaintainerUrl" in t, e = e && "connectorMaintainerName" in t, e;
|
|
1132
|
+
}
|
|
1133
|
+
function Ie(t) {
|
|
1134
|
+
return Ce(t);
|
|
1135
|
+
}
|
|
1136
|
+
function Ce(t, e) {
|
|
1137
|
+
return t == null ? t : {
|
|
1138
|
+
numAssets: t.numAssets,
|
|
1139
|
+
numPolicies: t.numPolicies,
|
|
1140
|
+
numContractDefinitions: t.numContractDefinitions,
|
|
1141
|
+
numContractAgreementsConsuming: t.numContractAgreementsConsuming,
|
|
1142
|
+
numContractAgreementsProviding: t.numContractAgreementsProviding,
|
|
1143
|
+
transferProcessesConsuming: O(
|
|
1144
|
+
t.transferProcessesConsuming
|
|
1145
|
+
),
|
|
1146
|
+
transferProcessesProviding: O(
|
|
1147
|
+
t.transferProcessesProviding
|
|
1148
|
+
),
|
|
1149
|
+
connectorEndpoint: t.connectorEndpoint,
|
|
1150
|
+
connectorParticipantId: t.connectorParticipantId,
|
|
1151
|
+
connectorTitle: t.connectorTitle,
|
|
1152
|
+
connectorDescription: t.connectorDescription,
|
|
1153
|
+
connectorCuratorUrl: t.connectorCuratorUrl,
|
|
1154
|
+
connectorCuratorName: t.connectorCuratorName,
|
|
1155
|
+
connectorMaintainerUrl: t.connectorMaintainerUrl,
|
|
1156
|
+
connectorMaintainerName: t.connectorMaintainerName,
|
|
1157
|
+
connectorDapsConfig: a(t, "connectorDapsConfig") ? le(t.connectorDapsConfig) : void 0,
|
|
1158
|
+
connectorMiwConfig: a(t, "connectorMiwConfig") ? ye(t.connectorMiwConfig) : void 0
|
|
1159
|
+
};
|
|
1160
|
+
}
|
|
1161
|
+
function cn(t) {
|
|
1162
|
+
if (t !== void 0)
|
|
1163
|
+
return t === null ? null : {
|
|
1164
|
+
numAssets: t.numAssets,
|
|
1165
|
+
numPolicies: t.numPolicies,
|
|
1166
|
+
numContractDefinitions: t.numContractDefinitions,
|
|
1167
|
+
numContractAgreementsConsuming: t.numContractAgreementsConsuming,
|
|
1168
|
+
numContractAgreementsProviding: t.numContractAgreementsProviding,
|
|
1169
|
+
transferProcessesConsuming: S(
|
|
1170
|
+
t.transferProcessesConsuming
|
|
1171
|
+
),
|
|
1172
|
+
transferProcessesProviding: S(
|
|
1173
|
+
t.transferProcessesProviding
|
|
1174
|
+
),
|
|
1175
|
+
connectorEndpoint: t.connectorEndpoint,
|
|
1176
|
+
connectorParticipantId: t.connectorParticipantId,
|
|
1177
|
+
connectorTitle: t.connectorTitle,
|
|
1178
|
+
connectorDescription: t.connectorDescription,
|
|
1179
|
+
connectorCuratorUrl: t.connectorCuratorUrl,
|
|
1180
|
+
connectorCuratorName: t.connectorCuratorName,
|
|
1181
|
+
connectorMaintainerUrl: t.connectorMaintainerUrl,
|
|
1182
|
+
connectorMaintainerName: t.connectorMaintainerName,
|
|
1183
|
+
connectorDapsConfig: ge(
|
|
1184
|
+
t.connectorDapsConfig
|
|
1185
|
+
),
|
|
1186
|
+
connectorMiwConfig: he(t.connectorMiwConfig)
|
|
1187
|
+
};
|
|
1188
|
+
}
|
|
1189
|
+
function dn(t) {
|
|
1190
|
+
let e = !0;
|
|
1191
|
+
return e = e && "id" in t, e = e && "lastUpdatedDate" in t, e;
|
|
1192
|
+
}
|
|
1193
|
+
function d(t) {
|
|
1194
|
+
return Oe(t);
|
|
1195
|
+
}
|
|
1196
|
+
function Oe(t, e) {
|
|
1197
|
+
return t == null ? t : {
|
|
1198
|
+
id: t.id,
|
|
1199
|
+
lastUpdatedDate: new Date(t.lastUpdatedDate)
|
|
1200
|
+
};
|
|
1201
|
+
}
|
|
1202
|
+
function un(t) {
|
|
1203
|
+
if (t !== void 0)
|
|
1204
|
+
return t === null ? null : {
|
|
1205
|
+
id: t.id,
|
|
1206
|
+
lastUpdatedDate: t.lastUpdatedDate.toISOString()
|
|
1207
|
+
};
|
|
1208
|
+
}
|
|
1209
|
+
function fn(t) {
|
|
1210
|
+
let e = !0;
|
|
1211
|
+
return e = e && "contractAgreementId" in t, e = e && "transferProcessRequestJsonLd" in t, e;
|
|
1212
|
+
}
|
|
1213
|
+
function pn(t) {
|
|
1214
|
+
return Se(t);
|
|
1215
|
+
}
|
|
1216
|
+
function Se(t, e) {
|
|
1217
|
+
return t == null ? t : {
|
|
1218
|
+
contractAgreementId: t.contractAgreementId,
|
|
1219
|
+
transferProcessRequestJsonLd: t.transferProcessRequestJsonLd
|
|
1220
|
+
};
|
|
1221
|
+
}
|
|
1222
|
+
function we(t) {
|
|
1223
|
+
if (t !== void 0)
|
|
1224
|
+
return t === null ? null : {
|
|
1225
|
+
contractAgreementId: t.contractAgreementId,
|
|
1226
|
+
transferProcessRequestJsonLd: t.transferProcessRequestJsonLd
|
|
1227
|
+
};
|
|
1228
|
+
}
|
|
1229
|
+
function ln(t) {
|
|
1230
|
+
let e = !0;
|
|
1231
|
+
return e = e && "contractAgreementId" in t, e = e && "dataSinkProperties" in t, e = e && "transferProcessProperties" in t, e;
|
|
1232
|
+
}
|
|
1233
|
+
function mn(t) {
|
|
1234
|
+
return Te(t);
|
|
1235
|
+
}
|
|
1236
|
+
function Te(t, e) {
|
|
1237
|
+
return t == null ? t : {
|
|
1238
|
+
contractAgreementId: t.contractAgreementId,
|
|
1239
|
+
dataSinkProperties: t.dataSinkProperties,
|
|
1240
|
+
transferProcessProperties: t.transferProcessProperties
|
|
1241
|
+
};
|
|
1242
|
+
}
|
|
1243
|
+
function Ne(t) {
|
|
1244
|
+
if (t !== void 0)
|
|
1245
|
+
return t === null ? null : {
|
|
1246
|
+
contractAgreementId: t.contractAgreementId,
|
|
1247
|
+
dataSinkProperties: t.dataSinkProperties,
|
|
1248
|
+
transferProcessProperties: t.transferProcessProperties
|
|
1249
|
+
};
|
|
1250
|
+
}
|
|
1251
|
+
function gn(t) {
|
|
1252
|
+
let e = !0;
|
|
1253
|
+
return e = e && "incomingTransferProcessCounts" in t, e = e && "outgoingTransferProcessCounts" in t, e;
|
|
1254
|
+
}
|
|
1255
|
+
function Ae(t) {
|
|
1256
|
+
return Re(t);
|
|
1257
|
+
}
|
|
1258
|
+
function Re(t, e) {
|
|
1259
|
+
return t == null ? t : {
|
|
1260
|
+
incomingTransferProcessCounts: t.incomingTransferProcessCounts,
|
|
1261
|
+
outgoingTransferProcessCounts: t.outgoingTransferProcessCounts
|
|
1262
|
+
};
|
|
1263
|
+
}
|
|
1264
|
+
function Je(t) {
|
|
1265
|
+
if (t !== void 0)
|
|
1266
|
+
return t === null ? null : {
|
|
1267
|
+
incomingTransferProcessCounts: t.incomingTransferProcessCounts,
|
|
1268
|
+
outgoingTransferProcessCounts: t.outgoingTransferProcessCounts
|
|
1269
|
+
};
|
|
1270
|
+
}
|
|
1271
|
+
function yn(t) {
|
|
1272
|
+
let e = !0;
|
|
1273
|
+
return e = e && "assetsCount" in t, e = e && "policiesCount" in t, e = e && "contractDefinitionsCount" in t, e = e && "contractAgreementsCount" in t, e = e && "transferProcessDto" in t, e;
|
|
1274
|
+
}
|
|
1275
|
+
function qe(t) {
|
|
1276
|
+
return Ue(t);
|
|
1277
|
+
}
|
|
1278
|
+
function Ue(t, e) {
|
|
1279
|
+
return t == null ? t : {
|
|
1280
|
+
assetsCount: t.assetsCount,
|
|
1281
|
+
policiesCount: t.policiesCount,
|
|
1282
|
+
contractDefinitionsCount: t.contractDefinitionsCount,
|
|
1283
|
+
contractAgreementsCount: t.contractAgreementsCount,
|
|
1284
|
+
transferProcessDto: Ae(
|
|
1285
|
+
t.transferProcessDto
|
|
1286
|
+
)
|
|
1287
|
+
};
|
|
1288
|
+
}
|
|
1289
|
+
function Pn(t) {
|
|
1290
|
+
if (t !== void 0)
|
|
1291
|
+
return t === null ? null : {
|
|
1292
|
+
assetsCount: t.assetsCount,
|
|
1293
|
+
policiesCount: t.policiesCount,
|
|
1294
|
+
contractDefinitionsCount: t.contractDefinitionsCount,
|
|
1295
|
+
contractAgreementsCount: t.contractAgreementsCount,
|
|
1296
|
+
transferProcessDto: Je(
|
|
1297
|
+
t.transferProcessDto
|
|
1298
|
+
)
|
|
1299
|
+
};
|
|
1300
|
+
}
|
|
1301
|
+
function hn(t) {
|
|
1302
|
+
return !0;
|
|
1303
|
+
}
|
|
1304
|
+
function Ee(t) {
|
|
1305
|
+
return Fe(t);
|
|
1306
|
+
}
|
|
1307
|
+
function Fe(t, e) {
|
|
1308
|
+
return t == null ? t : {
|
|
1309
|
+
constraints: a(t, "constraints") ? t.constraints.map(
|
|
1310
|
+
F
|
|
1311
|
+
) : void 0
|
|
1312
|
+
};
|
|
1313
|
+
}
|
|
1314
|
+
function be(t) {
|
|
1315
|
+
if (t !== void 0)
|
|
1316
|
+
return t === null ? null : {
|
|
1317
|
+
constraints: t.constraints === void 0 ? void 0 : t.constraints.map(
|
|
1318
|
+
b
|
|
1319
|
+
)
|
|
1320
|
+
};
|
|
1321
|
+
}
|
|
1322
|
+
function Dn(t) {
|
|
1323
|
+
let e = !0;
|
|
1324
|
+
return e = e && "policyDefinitionId" in t, e = e && "policy" in t, e;
|
|
1325
|
+
}
|
|
1326
|
+
function In(t) {
|
|
1327
|
+
return Le(t);
|
|
1328
|
+
}
|
|
1329
|
+
function Le(t, e) {
|
|
1330
|
+
return t == null ? t : {
|
|
1331
|
+
policyDefinitionId: t.policyDefinitionId,
|
|
1332
|
+
policy: Ee(t.policy)
|
|
1333
|
+
};
|
|
1334
|
+
}
|
|
1335
|
+
function Me(t) {
|
|
1336
|
+
if (t !== void 0)
|
|
1337
|
+
return t === null ? null : {
|
|
1338
|
+
policyDefinitionId: t.policyDefinitionId,
|
|
1339
|
+
policy: be(t.policy)
|
|
1340
|
+
};
|
|
1341
|
+
}
|
|
1342
|
+
function Cn(t) {
|
|
1343
|
+
let e = !0;
|
|
1344
|
+
return e = e && "policyDefinitionId" in t, e = e && "policy" in t, e;
|
|
1345
|
+
}
|
|
1346
|
+
function xe(t) {
|
|
1347
|
+
return He(t);
|
|
1348
|
+
}
|
|
1349
|
+
function He(t, e) {
|
|
1350
|
+
return t == null ? t : {
|
|
1351
|
+
policyDefinitionId: t.policyDefinitionId,
|
|
1352
|
+
policy: h(t.policy)
|
|
1353
|
+
};
|
|
1354
|
+
}
|
|
1355
|
+
function ke(t) {
|
|
1356
|
+
if (t !== void 0)
|
|
1357
|
+
return t === null ? null : {
|
|
1358
|
+
policyDefinitionId: t.policyDefinitionId,
|
|
1359
|
+
policy: D(t.policy)
|
|
1360
|
+
};
|
|
1361
|
+
}
|
|
1362
|
+
function On(t) {
|
|
1363
|
+
let e = !0;
|
|
1364
|
+
return e = e && "policies" in t, e;
|
|
1365
|
+
}
|
|
1366
|
+
function Ge(t) {
|
|
1367
|
+
return Ke(t);
|
|
1368
|
+
}
|
|
1369
|
+
function Ke(t, e) {
|
|
1370
|
+
return t == null ? t : {
|
|
1371
|
+
policies: t.policies.map(
|
|
1372
|
+
xe
|
|
1373
|
+
)
|
|
1374
|
+
};
|
|
1375
|
+
}
|
|
1376
|
+
function Sn(t) {
|
|
1377
|
+
if (t !== void 0)
|
|
1378
|
+
return t === null ? null : {
|
|
1379
|
+
policies: t.policies.map(ke)
|
|
1380
|
+
};
|
|
1381
|
+
}
|
|
1382
|
+
function wn(t) {
|
|
1383
|
+
let e = !0;
|
|
838
1384
|
return e = e && "transferProcessId" in t, e = e && "createdDate" in t, e = e && "lastUpdatedDate" in t, e = e && "state" in t, e = e && "contractAgreementId" in t, e = e && "direction" in t, e = e && "counterPartyConnectorEndpoint" in t, e = e && "assetName" in t, e = e && "assetId" in t, e;
|
|
839
1385
|
}
|
|
840
|
-
function
|
|
841
|
-
return
|
|
1386
|
+
function $e(t) {
|
|
1387
|
+
return _e(t);
|
|
842
1388
|
}
|
|
843
|
-
function
|
|
1389
|
+
function _e(t, e) {
|
|
844
1390
|
return t == null ? t : {
|
|
845
1391
|
transferProcessId: t.transferProcessId,
|
|
846
1392
|
createdDate: new Date(t.createdDate),
|
|
847
1393
|
lastUpdatedDate: new Date(t.lastUpdatedDate),
|
|
848
|
-
state:
|
|
1394
|
+
state: U(t.state),
|
|
849
1395
|
contractAgreementId: t.contractAgreementId,
|
|
850
|
-
direction: t.direction,
|
|
1396
|
+
direction: q(t.direction),
|
|
851
1397
|
counterPartyConnectorEndpoint: t.counterPartyConnectorEndpoint,
|
|
852
1398
|
assetName: t.assetName,
|
|
853
1399
|
assetId: t.assetId,
|
|
854
|
-
errorMessage:
|
|
1400
|
+
errorMessage: a(t, "errorMessage") ? t.errorMessage : void 0
|
|
855
1401
|
};
|
|
856
1402
|
}
|
|
857
|
-
function
|
|
1403
|
+
function Qe(t) {
|
|
858
1404
|
if (t !== void 0)
|
|
859
1405
|
return t === null ? null : {
|
|
860
1406
|
transferProcessId: t.transferProcessId,
|
|
861
1407
|
createdDate: t.createdDate.toISOString(),
|
|
862
1408
|
lastUpdatedDate: t.lastUpdatedDate.toISOString(),
|
|
863
|
-
state:
|
|
1409
|
+
state: E(t.state),
|
|
864
1410
|
contractAgreementId: t.contractAgreementId,
|
|
865
1411
|
direction: t.direction,
|
|
866
1412
|
counterPartyConnectorEndpoint: t.counterPartyConnectorEndpoint,
|
|
@@ -869,36 +1415,457 @@ function Gt(t) {
|
|
|
869
1415
|
errorMessage: t.errorMessage
|
|
870
1416
|
};
|
|
871
1417
|
}
|
|
872
|
-
function
|
|
1418
|
+
function Tn(t) {
|
|
873
1419
|
let e = !0;
|
|
874
1420
|
return e = e && "transferEntries" in t, e;
|
|
875
1421
|
}
|
|
876
|
-
function
|
|
877
|
-
return
|
|
1422
|
+
function Ve(t) {
|
|
1423
|
+
return Be(t);
|
|
878
1424
|
}
|
|
879
|
-
function
|
|
1425
|
+
function Be(t, e) {
|
|
880
1426
|
return t == null ? t : {
|
|
881
1427
|
transferEntries: t.transferEntries.map(
|
|
882
|
-
|
|
1428
|
+
$e
|
|
883
1429
|
)
|
|
884
1430
|
};
|
|
885
1431
|
}
|
|
886
|
-
function
|
|
1432
|
+
function Nn(t) {
|
|
887
1433
|
if (t !== void 0)
|
|
888
1434
|
return t === null ? null : {
|
|
889
1435
|
transferEntries: t.transferEntries.map(
|
|
890
|
-
|
|
1436
|
+
Qe
|
|
891
1437
|
)
|
|
892
1438
|
};
|
|
893
1439
|
}
|
|
894
|
-
|
|
1440
|
+
function An(t) {
|
|
1441
|
+
let e = !0;
|
|
1442
|
+
return e = e && "id" in t, e = e && "dataAddressProperties" in t, e;
|
|
1443
|
+
}
|
|
1444
|
+
function Rn(t) {
|
|
1445
|
+
return ze(t);
|
|
1446
|
+
}
|
|
1447
|
+
function ze(t, e) {
|
|
1448
|
+
return t == null ? t : {
|
|
1449
|
+
id: t.id,
|
|
1450
|
+
title: a(t, "title") ? t.title : void 0,
|
|
1451
|
+
language: a(t, "language") ? t.language : void 0,
|
|
1452
|
+
description: a(t, "description") ? t.description : void 0,
|
|
1453
|
+
publisherHomepage: a(t, "publisherHomepage") ? t.publisherHomepage : void 0,
|
|
1454
|
+
licenseUrl: a(t, "licenseUrl") ? t.licenseUrl : void 0,
|
|
1455
|
+
version: a(t, "version") ? t.version : void 0,
|
|
1456
|
+
keywords: a(t, "keywords") ? t.keywords : void 0,
|
|
1457
|
+
mediaType: a(t, "mediaType") ? t.mediaType : void 0,
|
|
1458
|
+
landingPageUrl: a(t, "landingPageUrl") ? t.landingPageUrl : void 0,
|
|
1459
|
+
dataCategory: a(t, "dataCategory") ? t.dataCategory : void 0,
|
|
1460
|
+
dataSubcategory: a(t, "dataSubcategory") ? t.dataSubcategory : void 0,
|
|
1461
|
+
dataModel: a(t, "dataModel") ? t.dataModel : void 0,
|
|
1462
|
+
geoReferenceMethod: a(t, "geoReferenceMethod") ? t.geoReferenceMethod : void 0,
|
|
1463
|
+
transportMode: a(t, "transportMode") ? t.transportMode : void 0,
|
|
1464
|
+
dataAddressProperties: t.dataAddressProperties,
|
|
1465
|
+
additionalProperties: a(t, "additionalProperties") ? t.additionalProperties : void 0,
|
|
1466
|
+
additionalJsonProperties: a(t, "additionalJsonProperties") ? t.additionalJsonProperties : void 0,
|
|
1467
|
+
privateProperties: a(t, "privateProperties") ? t.privateProperties : void 0,
|
|
1468
|
+
privateJsonProperties: a(t, "privateJsonProperties") ? t.privateJsonProperties : void 0
|
|
1469
|
+
};
|
|
1470
|
+
}
|
|
1471
|
+
function x(t) {
|
|
1472
|
+
if (t !== void 0)
|
|
1473
|
+
return t === null ? null : {
|
|
1474
|
+
id: t.id,
|
|
1475
|
+
title: t.title,
|
|
1476
|
+
language: t.language,
|
|
1477
|
+
description: t.description,
|
|
1478
|
+
publisherHomepage: t.publisherHomepage,
|
|
1479
|
+
licenseUrl: t.licenseUrl,
|
|
1480
|
+
version: t.version,
|
|
1481
|
+
keywords: t.keywords,
|
|
1482
|
+
mediaType: t.mediaType,
|
|
1483
|
+
landingPageUrl: t.landingPageUrl,
|
|
1484
|
+
dataCategory: t.dataCategory,
|
|
1485
|
+
dataSubcategory: t.dataSubcategory,
|
|
1486
|
+
dataModel: t.dataModel,
|
|
1487
|
+
geoReferenceMethod: t.geoReferenceMethod,
|
|
1488
|
+
transportMode: t.transportMode,
|
|
1489
|
+
dataAddressProperties: t.dataAddressProperties,
|
|
1490
|
+
additionalProperties: t.additionalProperties,
|
|
1491
|
+
additionalJsonProperties: t.additionalJsonProperties,
|
|
1492
|
+
privateProperties: t.privateProperties,
|
|
1493
|
+
privateJsonProperties: t.privateJsonProperties
|
|
1494
|
+
};
|
|
1495
|
+
}
|
|
1496
|
+
function Jn(t) {
|
|
1497
|
+
let e = !0;
|
|
1498
|
+
return e = e && "contractNegotiationId" in t, e = e && "createdAt" in t, e = e && "state" in t, e;
|
|
1499
|
+
}
|
|
1500
|
+
function w(t) {
|
|
1501
|
+
return Xe(t);
|
|
1502
|
+
}
|
|
1503
|
+
function Xe(t, e) {
|
|
1504
|
+
return t == null ? t : {
|
|
1505
|
+
contractNegotiationId: t.contractNegotiationId,
|
|
1506
|
+
createdAt: new Date(t.createdAt),
|
|
1507
|
+
contractAgreementId: a(t, "contractAgreementId") ? t.contractAgreementId : void 0,
|
|
1508
|
+
state: Wt(t.state)
|
|
1509
|
+
};
|
|
1510
|
+
}
|
|
1511
|
+
function qn(t) {
|
|
1512
|
+
if (t !== void 0)
|
|
1513
|
+
return t === null ? null : {
|
|
1514
|
+
contractNegotiationId: t.contractNegotiationId,
|
|
1515
|
+
createdAt: t.createdAt.toISOString(),
|
|
1516
|
+
contractAgreementId: t.contractAgreementId,
|
|
1517
|
+
state: vt(t.state)
|
|
1518
|
+
};
|
|
1519
|
+
}
|
|
1520
|
+
function Un(t) {
|
|
1521
|
+
let e = !0;
|
|
1522
|
+
return e = e && "contractOfferId" in t, e = e && "policy" in t, e;
|
|
1523
|
+
}
|
|
1524
|
+
function Ye(t) {
|
|
1525
|
+
return We(t);
|
|
1526
|
+
}
|
|
1527
|
+
function We(t, e) {
|
|
1528
|
+
return t == null ? t : {
|
|
1529
|
+
contractOfferId: t.contractOfferId,
|
|
1530
|
+
policy: h(t.policy)
|
|
1531
|
+
};
|
|
1532
|
+
}
|
|
1533
|
+
function Ze(t) {
|
|
1534
|
+
if (t !== void 0)
|
|
1535
|
+
return t === null ? null : {
|
|
1536
|
+
contractOfferId: t.contractOfferId,
|
|
1537
|
+
policy: D(t.policy)
|
|
1538
|
+
};
|
|
1539
|
+
}
|
|
1540
|
+
function En(t) {
|
|
1541
|
+
let e = !0;
|
|
1542
|
+
return e = e && "endpoint" in t, e = e && "participantId" in t, e = e && "asset" in t, e = e && "contractOffers" in t, e;
|
|
1543
|
+
}
|
|
1544
|
+
function ve(t) {
|
|
1545
|
+
return je(t);
|
|
1546
|
+
}
|
|
1547
|
+
function je(t, e) {
|
|
1548
|
+
return t == null ? t : {
|
|
1549
|
+
endpoint: t.endpoint,
|
|
1550
|
+
participantId: t.participantId,
|
|
1551
|
+
asset: y(t.asset),
|
|
1552
|
+
contractOffers: t.contractOffers.map(
|
|
1553
|
+
Ye
|
|
1554
|
+
)
|
|
1555
|
+
};
|
|
1556
|
+
}
|
|
1557
|
+
function Fn(t) {
|
|
1558
|
+
if (t !== void 0)
|
|
1559
|
+
return t === null ? null : {
|
|
1560
|
+
endpoint: t.endpoint,
|
|
1561
|
+
participantId: t.participantId,
|
|
1562
|
+
asset: P(t.asset),
|
|
1563
|
+
contractOffers: t.contractOffers.map(
|
|
1564
|
+
Ze
|
|
1565
|
+
)
|
|
1566
|
+
};
|
|
1567
|
+
}
|
|
1568
|
+
class tr extends l {
|
|
1569
|
+
/**
|
|
1570
|
+
* Available and used resources of a connector.
|
|
1571
|
+
*/
|
|
1572
|
+
async connectorLimitsRaw(e) {
|
|
1573
|
+
const r = {}, n = {}, i = await this.request(
|
|
1574
|
+
{
|
|
1575
|
+
path: "/wrapper/ee/connector-limits",
|
|
1576
|
+
method: "GET",
|
|
1577
|
+
headers: n,
|
|
1578
|
+
query: r
|
|
1579
|
+
},
|
|
1580
|
+
e
|
|
1581
|
+
);
|
|
1582
|
+
return new c(
|
|
1583
|
+
i,
|
|
1584
|
+
(o) => it(o)
|
|
1585
|
+
);
|
|
1586
|
+
}
|
|
1587
|
+
/**
|
|
1588
|
+
* Available and used resources of a connector.
|
|
1589
|
+
*/
|
|
1590
|
+
async connectorLimits(e) {
|
|
1591
|
+
return await (await this.connectorLimitsRaw(e)).value();
|
|
1592
|
+
}
|
|
1593
|
+
/**
|
|
1594
|
+
* Creates an asset using the uploaded file as data source.
|
|
1595
|
+
* Create an asset from an uploaded file.
|
|
1596
|
+
*/
|
|
1597
|
+
async fileUploadCreateAssetRaw(e, r) {
|
|
1598
|
+
if (e.blobId === null || e.blobId === void 0)
|
|
1599
|
+
throw new f(
|
|
1600
|
+
"blobId",
|
|
1601
|
+
"Required parameter requestParameters.blobId was null or undefined when calling fileUploadCreateAsset."
|
|
1602
|
+
);
|
|
1603
|
+
if (e.uiAssetCreateRequest === null || e.uiAssetCreateRequest === void 0)
|
|
1604
|
+
throw new f(
|
|
1605
|
+
"uiAssetCreateRequest",
|
|
1606
|
+
"Required parameter requestParameters.uiAssetCreateRequest was null or undefined when calling fileUploadCreateAsset."
|
|
1607
|
+
);
|
|
1608
|
+
const n = {}, i = {};
|
|
1609
|
+
i["Content-Type"] = "application/json";
|
|
1610
|
+
const o = await this.request(
|
|
1611
|
+
{
|
|
1612
|
+
path: "/wrapper/ee/file-upload/blobs/{blobId}/asset".replace(
|
|
1613
|
+
"{blobId}",
|
|
1614
|
+
encodeURIComponent(String(e.blobId))
|
|
1615
|
+
),
|
|
1616
|
+
method: "POST",
|
|
1617
|
+
headers: i,
|
|
1618
|
+
query: n,
|
|
1619
|
+
body: x(
|
|
1620
|
+
e.uiAssetCreateRequest
|
|
1621
|
+
)
|
|
1622
|
+
},
|
|
1623
|
+
r
|
|
1624
|
+
);
|
|
1625
|
+
return new R(o);
|
|
1626
|
+
}
|
|
1627
|
+
/**
|
|
1628
|
+
* Creates an asset using the uploaded file as data source.
|
|
1629
|
+
* Create an asset from an uploaded file.
|
|
1630
|
+
*/
|
|
1631
|
+
async fileUploadCreateAsset(e, r) {
|
|
1632
|
+
await this.fileUploadCreateAssetRaw(e, r);
|
|
1633
|
+
}
|
|
1634
|
+
/**
|
|
1635
|
+
* 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.
|
|
1636
|
+
* Requests a Blob for file upload.
|
|
1637
|
+
*/
|
|
1638
|
+
async fileUploadRequestSasTokenRaw(e) {
|
|
1639
|
+
const r = {}, n = {}, i = await this.request(
|
|
1640
|
+
{
|
|
1641
|
+
path: "/wrapper/ee/file-upload/blobs",
|
|
1642
|
+
method: "POST",
|
|
1643
|
+
headers: n,
|
|
1644
|
+
query: r
|
|
1645
|
+
},
|
|
1646
|
+
e
|
|
1647
|
+
);
|
|
1648
|
+
return this.isJsonMime(i.headers.get("content-type")) ? new c(i) : new z(i);
|
|
1649
|
+
}
|
|
1650
|
+
/**
|
|
1651
|
+
* 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.
|
|
1652
|
+
* Requests a Blob for file upload.
|
|
1653
|
+
*/
|
|
1654
|
+
async fileUploadRequestSasToken(e) {
|
|
1655
|
+
return await (await this.fileUploadRequestSasTokenRaw(e)).value();
|
|
1656
|
+
}
|
|
1657
|
+
}
|
|
1658
|
+
class er extends l {
|
|
1659
|
+
/**
|
|
1660
|
+
* Create a new Asset
|
|
1661
|
+
*/
|
|
1662
|
+
async createAssetRaw(e, r) {
|
|
1663
|
+
const n = {}, i = {};
|
|
1664
|
+
i["Content-Type"] = "application/json";
|
|
1665
|
+
const o = await this.request(
|
|
1666
|
+
{
|
|
1667
|
+
path: "/wrapper/ui/pages/asset-page/assets",
|
|
1668
|
+
method: "POST",
|
|
1669
|
+
headers: i,
|
|
1670
|
+
query: n,
|
|
1671
|
+
body: x(
|
|
1672
|
+
e.uiAssetCreateRequest
|
|
1673
|
+
)
|
|
1674
|
+
},
|
|
1675
|
+
r
|
|
1676
|
+
);
|
|
1677
|
+
return new c(
|
|
1678
|
+
o,
|
|
1679
|
+
(s) => d(s)
|
|
1680
|
+
);
|
|
1681
|
+
}
|
|
1682
|
+
/**
|
|
1683
|
+
* Create a new Asset
|
|
1684
|
+
*/
|
|
1685
|
+
async createAsset(e = {}, r) {
|
|
1686
|
+
return await (await this.createAssetRaw(
|
|
1687
|
+
e,
|
|
1688
|
+
r
|
|
1689
|
+
)).value();
|
|
1690
|
+
}
|
|
1691
|
+
/**
|
|
1692
|
+
* Create a new Contract Definition
|
|
1693
|
+
*/
|
|
1694
|
+
async createContractDefinitionRaw(e, r) {
|
|
1695
|
+
const n = {}, i = {};
|
|
1696
|
+
i["Content-Type"] = "application/json";
|
|
1697
|
+
const o = await this.request(
|
|
1698
|
+
{
|
|
1699
|
+
path: "/wrapper/ui/pages/contract-definition-page/contract-definitions",
|
|
1700
|
+
method: "POST",
|
|
1701
|
+
headers: i,
|
|
1702
|
+
query: n,
|
|
1703
|
+
body: kt(
|
|
1704
|
+
e.contractDefinitionRequest
|
|
1705
|
+
)
|
|
1706
|
+
},
|
|
1707
|
+
r
|
|
1708
|
+
);
|
|
1709
|
+
return new c(
|
|
1710
|
+
o,
|
|
1711
|
+
(s) => d(s)
|
|
1712
|
+
);
|
|
1713
|
+
}
|
|
1714
|
+
/**
|
|
1715
|
+
* Create a new Contract Definition
|
|
1716
|
+
*/
|
|
1717
|
+
async createContractDefinition(e = {}, r) {
|
|
1718
|
+
return await (await this.createContractDefinitionRaw(
|
|
1719
|
+
e,
|
|
1720
|
+
r
|
|
1721
|
+
)).value();
|
|
1722
|
+
}
|
|
1723
|
+
/**
|
|
1724
|
+
* Create a new Policy Definition
|
|
1725
|
+
*/
|
|
1726
|
+
async createPolicyDefinitionRaw(e, r) {
|
|
1727
|
+
const n = {}, i = {};
|
|
1728
|
+
i["Content-Type"] = "application/json";
|
|
1729
|
+
const o = await this.request(
|
|
1730
|
+
{
|
|
1731
|
+
path: "/wrapper/ui/pages/policy-page/policy-definitions",
|
|
1732
|
+
method: "POST",
|
|
1733
|
+
headers: i,
|
|
1734
|
+
query: n,
|
|
1735
|
+
body: Me(
|
|
1736
|
+
e.policyDefinitionCreateRequest
|
|
1737
|
+
)
|
|
1738
|
+
},
|
|
1739
|
+
r
|
|
1740
|
+
);
|
|
1741
|
+
return new c(
|
|
1742
|
+
o,
|
|
1743
|
+
(s) => d(s)
|
|
1744
|
+
);
|
|
1745
|
+
}
|
|
895
1746
|
/**
|
|
896
|
-
*
|
|
1747
|
+
* Create a new Policy Definition
|
|
897
1748
|
*/
|
|
898
|
-
async
|
|
1749
|
+
async createPolicyDefinition(e = {}, r) {
|
|
1750
|
+
return await (await this.createPolicyDefinitionRaw(
|
|
1751
|
+
e,
|
|
1752
|
+
r
|
|
1753
|
+
)).value();
|
|
1754
|
+
}
|
|
1755
|
+
/**
|
|
1756
|
+
* Delete an Asset
|
|
1757
|
+
*/
|
|
1758
|
+
async deleteAssetRaw(e, r) {
|
|
1759
|
+
if (e.assetId === null || e.assetId === void 0)
|
|
1760
|
+
throw new f(
|
|
1761
|
+
"assetId",
|
|
1762
|
+
"Required parameter requestParameters.assetId was null or undefined when calling deleteAsset."
|
|
1763
|
+
);
|
|
1764
|
+
const n = {}, i = {}, o = await this.request(
|
|
1765
|
+
{
|
|
1766
|
+
path: "/wrapper/ui/pages/asset-page/assets/{assetId}".replace(
|
|
1767
|
+
"{assetId}",
|
|
1768
|
+
encodeURIComponent(String(e.assetId))
|
|
1769
|
+
),
|
|
1770
|
+
method: "DELETE",
|
|
1771
|
+
headers: i,
|
|
1772
|
+
query: n
|
|
1773
|
+
},
|
|
1774
|
+
r
|
|
1775
|
+
);
|
|
1776
|
+
return new c(
|
|
1777
|
+
o,
|
|
1778
|
+
(s) => d(s)
|
|
1779
|
+
);
|
|
1780
|
+
}
|
|
1781
|
+
/**
|
|
1782
|
+
* Delete an Asset
|
|
1783
|
+
*/
|
|
1784
|
+
async deleteAsset(e, r) {
|
|
1785
|
+
return await (await this.deleteAssetRaw(
|
|
1786
|
+
e,
|
|
1787
|
+
r
|
|
1788
|
+
)).value();
|
|
1789
|
+
}
|
|
1790
|
+
/**
|
|
1791
|
+
* Delete a Contract Definition
|
|
1792
|
+
*/
|
|
1793
|
+
async deleteContractDefinitionRaw(e, r) {
|
|
1794
|
+
if (e.contractDefinitionId === null || e.contractDefinitionId === void 0)
|
|
1795
|
+
throw new f(
|
|
1796
|
+
"contractDefinitionId",
|
|
1797
|
+
"Required parameter requestParameters.contractDefinitionId was null or undefined when calling deleteContractDefinition."
|
|
1798
|
+
);
|
|
1799
|
+
const n = {}, i = {}, o = await this.request(
|
|
1800
|
+
{
|
|
1801
|
+
path: "/wrapper/ui/pages/contract-definition-page/contract-definitions/{contractDefinitionId}".replace(
|
|
1802
|
+
"{contractDefinitionId}",
|
|
1803
|
+
encodeURIComponent(
|
|
1804
|
+
String(e.contractDefinitionId)
|
|
1805
|
+
)
|
|
1806
|
+
),
|
|
1807
|
+
method: "DELETE",
|
|
1808
|
+
headers: i,
|
|
1809
|
+
query: n
|
|
1810
|
+
},
|
|
1811
|
+
r
|
|
1812
|
+
);
|
|
1813
|
+
return new c(
|
|
1814
|
+
o,
|
|
1815
|
+
(s) => d(s)
|
|
1816
|
+
);
|
|
1817
|
+
}
|
|
1818
|
+
/**
|
|
1819
|
+
* Delete a Contract Definition
|
|
1820
|
+
*/
|
|
1821
|
+
async deleteContractDefinition(e, r) {
|
|
1822
|
+
return await (await this.deleteContractDefinitionRaw(
|
|
1823
|
+
e,
|
|
1824
|
+
r
|
|
1825
|
+
)).value();
|
|
1826
|
+
}
|
|
1827
|
+
/**
|
|
1828
|
+
* Delete a Policy Definition
|
|
1829
|
+
*/
|
|
1830
|
+
async deletePolicyDefinitionRaw(e, r) {
|
|
1831
|
+
if (e.policyId === null || e.policyId === void 0)
|
|
1832
|
+
throw new f(
|
|
1833
|
+
"policyId",
|
|
1834
|
+
"Required parameter requestParameters.policyId was null or undefined when calling deletePolicyDefinition."
|
|
1835
|
+
);
|
|
1836
|
+
const n = {}, i = {}, o = await this.request(
|
|
1837
|
+
{
|
|
1838
|
+
path: "/wrapper/ui/pages/policy-page/policy-definitions/{policyId}".replace(
|
|
1839
|
+
"{policyId}",
|
|
1840
|
+
encodeURIComponent(String(e.policyId))
|
|
1841
|
+
),
|
|
1842
|
+
method: "DELETE",
|
|
1843
|
+
headers: i,
|
|
1844
|
+
query: n
|
|
1845
|
+
},
|
|
1846
|
+
r
|
|
1847
|
+
);
|
|
1848
|
+
return new c(
|
|
1849
|
+
o,
|
|
1850
|
+
(s) => d(s)
|
|
1851
|
+
);
|
|
1852
|
+
}
|
|
1853
|
+
/**
|
|
1854
|
+
* Delete a Policy Definition
|
|
1855
|
+
*/
|
|
1856
|
+
async deletePolicyDefinition(e, r) {
|
|
1857
|
+
return await (await this.deletePolicyDefinitionRaw(
|
|
1858
|
+
e,
|
|
1859
|
+
r
|
|
1860
|
+
)).value();
|
|
1861
|
+
}
|
|
1862
|
+
/**
|
|
1863
|
+
* Collect all data for Asset Page
|
|
1864
|
+
*/
|
|
1865
|
+
async getAssetPageRaw(e) {
|
|
899
1866
|
const r = {}, n = {}, i = await this.request(
|
|
900
1867
|
{
|
|
901
|
-
path: "/wrapper/
|
|
1868
|
+
path: "/wrapper/ui/pages/asset-page",
|
|
902
1869
|
method: "GET",
|
|
903
1870
|
headers: n,
|
|
904
1871
|
query: r
|
|
@@ -907,68 +1874,136 @@ class kt extends f {
|
|
|
907
1874
|
);
|
|
908
1875
|
return new c(
|
|
909
1876
|
i,
|
|
910
|
-
(o) =>
|
|
1877
|
+
(o) => v(o)
|
|
911
1878
|
);
|
|
912
1879
|
}
|
|
913
1880
|
/**
|
|
914
|
-
*
|
|
1881
|
+
* Collect all data for Asset Page
|
|
915
1882
|
*/
|
|
916
|
-
async
|
|
917
|
-
return await (await this.
|
|
1883
|
+
async getAssetPage(e) {
|
|
1884
|
+
return await (await this.getAssetPageRaw(e)).value();
|
|
918
1885
|
}
|
|
919
1886
|
/**
|
|
920
|
-
*
|
|
921
|
-
* Create a file storage asset.
|
|
1887
|
+
* Fetch a connector\'s data offers
|
|
922
1888
|
*/
|
|
923
|
-
async
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
1889
|
+
async getCatalogPageDataOffersRaw(e, r) {
|
|
1890
|
+
const n = {};
|
|
1891
|
+
e.connectorEndpoint !== void 0 && (n.connectorEndpoint = e.connectorEndpoint);
|
|
1892
|
+
const i = {}, o = await this.request(
|
|
1893
|
+
{
|
|
1894
|
+
path: "/wrapper/ui/pages/catalog-page/data-offers",
|
|
1895
|
+
method: "GET",
|
|
1896
|
+
headers: i,
|
|
1897
|
+
query: n
|
|
1898
|
+
},
|
|
1899
|
+
r
|
|
1900
|
+
);
|
|
1901
|
+
return new c(
|
|
1902
|
+
o,
|
|
1903
|
+
(s) => s.map(ve)
|
|
1904
|
+
);
|
|
1905
|
+
}
|
|
1906
|
+
/**
|
|
1907
|
+
* Fetch a connector\'s data offers
|
|
1908
|
+
*/
|
|
1909
|
+
async getCatalogPageDataOffers(e = {}, r) {
|
|
1910
|
+
return await (await this.getCatalogPageDataOffersRaw(
|
|
1911
|
+
e,
|
|
1912
|
+
r
|
|
1913
|
+
)).value();
|
|
1914
|
+
}
|
|
1915
|
+
/**
|
|
1916
|
+
* Collect all data for the Contract Agreement Page
|
|
1917
|
+
*/
|
|
1918
|
+
async getContractAgreementPageRaw(e) {
|
|
1919
|
+
const r = {}, n = {}, i = await this.request(
|
|
1920
|
+
{
|
|
1921
|
+
path: "/wrapper/ui/pages/contract-agreement-page",
|
|
1922
|
+
method: "GET",
|
|
1923
|
+
headers: n,
|
|
1924
|
+
query: r
|
|
1925
|
+
},
|
|
1926
|
+
e
|
|
1927
|
+
);
|
|
1928
|
+
return new c(
|
|
1929
|
+
i,
|
|
1930
|
+
(o) => St(o)
|
|
1931
|
+
);
|
|
1932
|
+
}
|
|
1933
|
+
/**
|
|
1934
|
+
* Collect all data for the Contract Agreement Page
|
|
1935
|
+
*/
|
|
1936
|
+
async getContractAgreementPage(e) {
|
|
1937
|
+
return await (await this.getContractAgreementPageRaw(e)).value();
|
|
1938
|
+
}
|
|
1939
|
+
/**
|
|
1940
|
+
* Collect all data for Contract Definition Page
|
|
1941
|
+
*/
|
|
1942
|
+
async getContractDefinitionPageRaw(e) {
|
|
1943
|
+
const r = {}, n = {}, i = await this.request(
|
|
1944
|
+
{
|
|
1945
|
+
path: "/wrapper/ui/pages/contract-definition-page",
|
|
1946
|
+
method: "GET",
|
|
1947
|
+
headers: n,
|
|
1948
|
+
query: r
|
|
1949
|
+
},
|
|
1950
|
+
e
|
|
1951
|
+
);
|
|
1952
|
+
return new c(
|
|
1953
|
+
i,
|
|
1954
|
+
(o) => Mt(o)
|
|
1955
|
+
);
|
|
1956
|
+
}
|
|
1957
|
+
/**
|
|
1958
|
+
* Collect all data for Contract Definition Page
|
|
1959
|
+
*/
|
|
1960
|
+
async getContractDefinitionPage(e) {
|
|
1961
|
+
return await (await this.getContractDefinitionPageRaw(e)).value();
|
|
1962
|
+
}
|
|
1963
|
+
/**
|
|
1964
|
+
* Get Contract Negotiation Information
|
|
1965
|
+
*/
|
|
1966
|
+
async getContractNegotiationRaw(e, r) {
|
|
1967
|
+
if (e.contractNegotiationId === null || e.contractNegotiationId === void 0)
|
|
1968
|
+
throw new f(
|
|
1969
|
+
"contractNegotiationId",
|
|
1970
|
+
"Required parameter requestParameters.contractNegotiationId was null or undefined when calling getContractNegotiation."
|
|
933
1971
|
);
|
|
934
|
-
const n = {}, i = {}
|
|
935
|
-
i["Content-Type"] = "application/json";
|
|
936
|
-
const o = await this.request(
|
|
1972
|
+
const n = {}, i = {}, o = await this.request(
|
|
937
1973
|
{
|
|
938
|
-
path: "/wrapper/
|
|
939
|
-
"{
|
|
940
|
-
encodeURIComponent(
|
|
1974
|
+
path: "/wrapper/ui/pages/catalog-page/contract-negotiations/{contractNegotiationId}".replace(
|
|
1975
|
+
"{contractNegotiationId}",
|
|
1976
|
+
encodeURIComponent(
|
|
1977
|
+
String(e.contractNegotiationId)
|
|
1978
|
+
)
|
|
941
1979
|
),
|
|
942
|
-
method: "
|
|
1980
|
+
method: "GET",
|
|
943
1981
|
headers: i,
|
|
944
|
-
query: n
|
|
945
|
-
body: e.requestBody
|
|
1982
|
+
query: n
|
|
946
1983
|
},
|
|
947
1984
|
r
|
|
948
1985
|
);
|
|
949
1986
|
return new c(
|
|
950
1987
|
o,
|
|
951
|
-
(
|
|
1988
|
+
(s) => w(s)
|
|
952
1989
|
);
|
|
953
1990
|
}
|
|
954
1991
|
/**
|
|
955
|
-
*
|
|
956
|
-
* Create a file storage asset.
|
|
1992
|
+
* Get Contract Negotiation Information
|
|
957
1993
|
*/
|
|
958
|
-
async
|
|
959
|
-
return await (await this.
|
|
1994
|
+
async getContractNegotiation(e, r) {
|
|
1995
|
+
return await (await this.getContractNegotiationRaw(
|
|
960
1996
|
e,
|
|
961
1997
|
r
|
|
962
1998
|
)).value();
|
|
963
1999
|
}
|
|
964
2000
|
/**
|
|
965
|
-
*
|
|
966
|
-
* Get all stored files.
|
|
2001
|
+
* Collect all data for the Dashboard Page
|
|
967
2002
|
*/
|
|
968
|
-
async
|
|
2003
|
+
async getDashboardPageRaw(e) {
|
|
969
2004
|
const r = {}, n = {}, i = await this.request(
|
|
970
2005
|
{
|
|
971
|
-
path: "/wrapper/
|
|
2006
|
+
path: "/wrapper/ui/pages/dashboard-page",
|
|
972
2007
|
method: "GET",
|
|
973
2008
|
headers: n,
|
|
974
2009
|
query: r
|
|
@@ -977,25 +2012,22 @@ class kt extends f {
|
|
|
977
2012
|
);
|
|
978
2013
|
return new c(
|
|
979
2014
|
i,
|
|
980
|
-
(o) => o
|
|
2015
|
+
(o) => Ie(o)
|
|
981
2016
|
);
|
|
982
2017
|
}
|
|
983
2018
|
/**
|
|
984
|
-
*
|
|
985
|
-
* Get all stored files.
|
|
2019
|
+
* Collect all data for the Dashboard Page
|
|
986
2020
|
*/
|
|
987
|
-
async
|
|
988
|
-
return await (await this.
|
|
2021
|
+
async getDashboardPage(e) {
|
|
2022
|
+
return await (await this.getDashboardPageRaw(e)).value();
|
|
989
2023
|
}
|
|
990
|
-
}
|
|
991
|
-
class $t extends f {
|
|
992
2024
|
/**
|
|
993
|
-
* Collect all data for
|
|
2025
|
+
* Collect all data for Policy Definition Page
|
|
994
2026
|
*/
|
|
995
|
-
async
|
|
2027
|
+
async getPolicyDefinitionPageRaw(e) {
|
|
996
2028
|
const r = {}, n = {}, i = await this.request(
|
|
997
2029
|
{
|
|
998
|
-
path: "/wrapper/ui/pages/
|
|
2030
|
+
path: "/wrapper/ui/pages/policy-page",
|
|
999
2031
|
method: "GET",
|
|
1000
2032
|
headers: n,
|
|
1001
2033
|
query: r
|
|
@@ -1004,286 +2036,493 @@ class $t extends f {
|
|
|
1004
2036
|
);
|
|
1005
2037
|
return new c(
|
|
1006
2038
|
i,
|
|
1007
|
-
(o) =>
|
|
2039
|
+
(o) => Ge(o)
|
|
1008
2040
|
);
|
|
1009
2041
|
}
|
|
1010
2042
|
/**
|
|
1011
|
-
* Collect all data for
|
|
2043
|
+
* Collect all data for Policy Definition Page
|
|
1012
2044
|
*/
|
|
1013
|
-
async
|
|
1014
|
-
return await (await this.
|
|
2045
|
+
async getPolicyDefinitionPage(e) {
|
|
2046
|
+
return await (await this.getPolicyDefinitionPageRaw(e)).value();
|
|
1015
2047
|
}
|
|
1016
2048
|
/**
|
|
1017
|
-
*
|
|
2049
|
+
* Collect all data for the Transfer History Page
|
|
1018
2050
|
*/
|
|
1019
|
-
async
|
|
2051
|
+
async getTransferHistoryPageRaw(e) {
|
|
2052
|
+
const r = {}, n = {}, i = await this.request(
|
|
2053
|
+
{
|
|
2054
|
+
path: "/wrapper/ui/pages/transfer-history-page",
|
|
2055
|
+
method: "GET",
|
|
2056
|
+
headers: n,
|
|
2057
|
+
query: r
|
|
2058
|
+
},
|
|
2059
|
+
e
|
|
2060
|
+
);
|
|
2061
|
+
return new c(
|
|
2062
|
+
i,
|
|
2063
|
+
(o) => Ve(o)
|
|
2064
|
+
);
|
|
2065
|
+
}
|
|
2066
|
+
/**
|
|
2067
|
+
* Collect all data for the Transfer History Page
|
|
2068
|
+
*/
|
|
2069
|
+
async getTransferHistoryPage(e) {
|
|
2070
|
+
return await (await this.getTransferHistoryPageRaw(e)).value();
|
|
2071
|
+
}
|
|
2072
|
+
/**
|
|
2073
|
+
* Queries a transfer process\' asset
|
|
2074
|
+
*/
|
|
2075
|
+
async getTransferProcessAssetRaw(e, r) {
|
|
2076
|
+
if (e.transferProcessId === null || e.transferProcessId === void 0)
|
|
2077
|
+
throw new f(
|
|
2078
|
+
"transferProcessId",
|
|
2079
|
+
"Required parameter requestParameters.transferProcessId was null or undefined when calling getTransferProcessAsset."
|
|
2080
|
+
);
|
|
2081
|
+
const n = {}, i = {}, o = await this.request(
|
|
2082
|
+
{
|
|
2083
|
+
path: "/wrapper/ui/pages/transfer-history-page/transfer-processes/{transferProcessId}/asset".replace(
|
|
2084
|
+
"{transferProcessId}",
|
|
2085
|
+
encodeURIComponent(
|
|
2086
|
+
String(e.transferProcessId)
|
|
2087
|
+
)
|
|
2088
|
+
),
|
|
2089
|
+
method: "GET",
|
|
2090
|
+
headers: i,
|
|
2091
|
+
query: n
|
|
2092
|
+
},
|
|
2093
|
+
r
|
|
2094
|
+
);
|
|
2095
|
+
return new c(
|
|
2096
|
+
o,
|
|
2097
|
+
(s) => y(s)
|
|
2098
|
+
);
|
|
2099
|
+
}
|
|
2100
|
+
/**
|
|
2101
|
+
* Queries a transfer process\' asset
|
|
2102
|
+
*/
|
|
2103
|
+
async getTransferProcessAsset(e, r) {
|
|
2104
|
+
return await (await this.getTransferProcessAssetRaw(
|
|
2105
|
+
e,
|
|
2106
|
+
r
|
|
2107
|
+
)).value();
|
|
2108
|
+
}
|
|
2109
|
+
/**
|
|
2110
|
+
* Initiate a new Contract Negotiation
|
|
2111
|
+
*/
|
|
2112
|
+
async initiateContractNegotiationRaw(e, r) {
|
|
1020
2113
|
const n = {}, i = {};
|
|
1021
2114
|
i["Content-Type"] = "application/json";
|
|
1022
2115
|
const o = await this.request(
|
|
1023
2116
|
{
|
|
1024
|
-
path: "/wrapper/ui/pages/
|
|
2117
|
+
path: "/wrapper/ui/pages/catalog-page/contract-negotiations",
|
|
1025
2118
|
method: "POST",
|
|
1026
2119
|
headers: i,
|
|
1027
2120
|
query: n,
|
|
1028
|
-
body:
|
|
1029
|
-
e.
|
|
2121
|
+
body: zt(
|
|
2122
|
+
e.contractNegotiationRequest
|
|
1030
2123
|
)
|
|
1031
2124
|
},
|
|
1032
2125
|
r
|
|
1033
2126
|
);
|
|
1034
2127
|
return new c(
|
|
1035
2128
|
o,
|
|
1036
|
-
(
|
|
2129
|
+
(s) => w(s)
|
|
1037
2130
|
);
|
|
1038
2131
|
}
|
|
1039
2132
|
/**
|
|
1040
|
-
* Initiate a
|
|
2133
|
+
* Initiate a new Contract Negotiation
|
|
1041
2134
|
*/
|
|
1042
|
-
async
|
|
1043
|
-
return await (await this.
|
|
2135
|
+
async initiateContractNegotiation(e = {}, r) {
|
|
2136
|
+
return await (await this.initiateContractNegotiationRaw(
|
|
1044
2137
|
e,
|
|
1045
2138
|
r
|
|
1046
2139
|
)).value();
|
|
1047
2140
|
}
|
|
1048
2141
|
/**
|
|
2142
|
+
* Initiate a Transfer Process via a custom Transfer Process JSON-LD. Fields such as connectorId, assetId, providerConnectorId, providerConnectorAddress will be set automatically.
|
|
1049
2143
|
*/
|
|
1050
|
-
async
|
|
1051
|
-
const
|
|
2144
|
+
async initiateCustomTransferRaw(e, r) {
|
|
2145
|
+
const n = {}, i = {};
|
|
2146
|
+
i["Content-Type"] = "application/json";
|
|
2147
|
+
const o = await this.request(
|
|
1052
2148
|
{
|
|
1053
|
-
path: "/wrapper/ui/pages/
|
|
1054
|
-
method: "
|
|
1055
|
-
headers:
|
|
1056
|
-
query:
|
|
2149
|
+
path: "/wrapper/ui/pages/contract-agreement-page/transfers/custom",
|
|
2150
|
+
method: "POST",
|
|
2151
|
+
headers: i,
|
|
2152
|
+
query: n,
|
|
2153
|
+
body: we(
|
|
2154
|
+
e.initiateCustomTransferRequest
|
|
2155
|
+
)
|
|
1057
2156
|
},
|
|
1058
|
-
|
|
2157
|
+
r
|
|
1059
2158
|
);
|
|
1060
2159
|
return new c(
|
|
1061
|
-
|
|
1062
|
-
(
|
|
2160
|
+
o,
|
|
2161
|
+
(s) => d(s)
|
|
1063
2162
|
);
|
|
1064
2163
|
}
|
|
1065
2164
|
/**
|
|
2165
|
+
* Initiate a Transfer Process via a custom Transfer Process JSON-LD. Fields such as connectorId, assetId, providerConnectorId, providerConnectorAddress will be set automatically.
|
|
1066
2166
|
*/
|
|
1067
|
-
async
|
|
1068
|
-
return await (await this.
|
|
1069
|
-
e
|
|
2167
|
+
async initiateCustomTransfer(e = {}, r) {
|
|
2168
|
+
return await (await this.initiateCustomTransferRaw(
|
|
2169
|
+
e,
|
|
2170
|
+
r
|
|
2171
|
+
)).value();
|
|
2172
|
+
}
|
|
2173
|
+
/**
|
|
2174
|
+
* Initiate a Transfer Process
|
|
2175
|
+
*/
|
|
2176
|
+
async initiateTransferRaw(e, r) {
|
|
2177
|
+
const n = {}, i = {};
|
|
2178
|
+
i["Content-Type"] = "application/json";
|
|
2179
|
+
const o = await this.request(
|
|
2180
|
+
{
|
|
2181
|
+
path: "/wrapper/ui/pages/contract-agreement-page/transfers",
|
|
2182
|
+
method: "POST",
|
|
2183
|
+
headers: i,
|
|
2184
|
+
query: n,
|
|
2185
|
+
body: Ne(
|
|
2186
|
+
e.initiateTransferRequest
|
|
2187
|
+
)
|
|
2188
|
+
},
|
|
2189
|
+
r
|
|
2190
|
+
);
|
|
2191
|
+
return new c(
|
|
2192
|
+
o,
|
|
2193
|
+
(s) => d(s)
|
|
2194
|
+
);
|
|
2195
|
+
}
|
|
2196
|
+
/**
|
|
2197
|
+
* Initiate a Transfer Process
|
|
2198
|
+
*/
|
|
2199
|
+
async initiateTransfer(e = {}, r) {
|
|
2200
|
+
return await (await this.initiateTransferRaw(
|
|
2201
|
+
e,
|
|
2202
|
+
r
|
|
1070
2203
|
)).value();
|
|
1071
2204
|
}
|
|
1072
2205
|
}
|
|
1073
|
-
class
|
|
2206
|
+
class rr extends l {
|
|
1074
2207
|
/**
|
|
1075
|
-
* Creates an
|
|
2208
|
+
* Creates a new data offer, consisting of an asset, a policy definition and a contract definition.
|
|
1076
2209
|
*/
|
|
1077
|
-
async
|
|
2210
|
+
async createOfferRaw(e, r) {
|
|
1078
2211
|
const n = {}, i = {};
|
|
1079
2212
|
i["Content-Type"] = "application/json";
|
|
1080
2213
|
const o = await this.request(
|
|
1081
2214
|
{
|
|
1082
|
-
path: "/wrapper/use-case-api/
|
|
2215
|
+
path: "/wrapper/use-case-api/data-offer",
|
|
1083
2216
|
method: "POST",
|
|
1084
2217
|
headers: i,
|
|
1085
2218
|
query: n,
|
|
1086
|
-
body:
|
|
2219
|
+
body: pe(
|
|
1087
2220
|
e.createOfferingDto
|
|
1088
2221
|
)
|
|
1089
2222
|
},
|
|
1090
2223
|
r
|
|
1091
2224
|
);
|
|
1092
|
-
return new
|
|
2225
|
+
return new R(o);
|
|
1093
2226
|
}
|
|
1094
2227
|
/**
|
|
1095
|
-
* Creates an
|
|
2228
|
+
* Creates a new data offer, consisting of an asset, a policy definition and a contract definition.
|
|
1096
2229
|
*/
|
|
1097
|
-
async
|
|
1098
|
-
await this.
|
|
2230
|
+
async createOffer(e = {}, r) {
|
|
2231
|
+
await this.createOfferRaw(e, r);
|
|
1099
2232
|
}
|
|
1100
2233
|
/**
|
|
1101
|
-
*
|
|
2234
|
+
* Basic KPIs about the running EDC Connector.
|
|
1102
2235
|
*/
|
|
1103
|
-
async
|
|
2236
|
+
async getKpisRaw(e) {
|
|
1104
2237
|
const r = {}, n = {}, i = await this.request(
|
|
1105
2238
|
{
|
|
1106
|
-
path: "/wrapper/use-case-api/
|
|
2239
|
+
path: "/wrapper/use-case-api/kpis",
|
|
1107
2240
|
method: "GET",
|
|
1108
2241
|
headers: n,
|
|
1109
2242
|
query: r
|
|
1110
2243
|
},
|
|
1111
2244
|
e
|
|
1112
2245
|
);
|
|
1113
|
-
return new c(
|
|
2246
|
+
return new c(
|
|
2247
|
+
i,
|
|
2248
|
+
(o) => qe(o)
|
|
2249
|
+
);
|
|
1114
2250
|
}
|
|
1115
2251
|
/**
|
|
1116
|
-
*
|
|
2252
|
+
* Basic KPIs about the running EDC Connector.
|
|
1117
2253
|
*/
|
|
1118
|
-
async
|
|
1119
|
-
return await (await this.
|
|
2254
|
+
async getKpis(e) {
|
|
2255
|
+
return await (await this.getKpisRaw(e)).value();
|
|
1120
2256
|
}
|
|
1121
2257
|
/**
|
|
1122
|
-
*
|
|
2258
|
+
* List available functions in policies, prohibitions and obligations.
|
|
1123
2259
|
*/
|
|
1124
|
-
async
|
|
2260
|
+
async getSupportedFunctionsRaw(e) {
|
|
1125
2261
|
const r = {}, n = {}, i = await this.request(
|
|
1126
2262
|
{
|
|
1127
|
-
path: "/wrapper/use-case-api/
|
|
2263
|
+
path: "/wrapper/use-case-api/supported-policy-functions",
|
|
1128
2264
|
method: "GET",
|
|
1129
2265
|
headers: n,
|
|
1130
2266
|
query: r
|
|
1131
2267
|
},
|
|
1132
2268
|
e
|
|
1133
2269
|
);
|
|
1134
|
-
return new c(
|
|
1135
|
-
i,
|
|
1136
|
-
(o) => xt(o)
|
|
1137
|
-
);
|
|
2270
|
+
return new c(i);
|
|
1138
2271
|
}
|
|
1139
2272
|
/**
|
|
1140
|
-
*
|
|
2273
|
+
* List available functions in policies, prohibitions and obligations.
|
|
1141
2274
|
*/
|
|
1142
|
-
async
|
|
1143
|
-
return await (await this.
|
|
2275
|
+
async getSupportedFunctions(e) {
|
|
2276
|
+
return await (await this.getSupportedFunctionsRaw(e)).value();
|
|
1144
2277
|
}
|
|
1145
2278
|
}
|
|
1146
|
-
function
|
|
1147
|
-
const e = new
|
|
2279
|
+
function bn(t) {
|
|
2280
|
+
const e = new T({
|
|
1148
2281
|
basePath: t.managementApiUrl,
|
|
1149
2282
|
headers: {
|
|
1150
|
-
"
|
|
2283
|
+
"X-Api-Key": t.managementApiKey ?? "ApiKeyDefaultValue"
|
|
1151
2284
|
},
|
|
1152
2285
|
credentials: "same-origin",
|
|
1153
2286
|
...t.configOverrides
|
|
1154
2287
|
});
|
|
1155
2288
|
return {
|
|
1156
|
-
uiApi: new
|
|
1157
|
-
useCaseApi: new
|
|
1158
|
-
enterpriseEditionApi: new
|
|
2289
|
+
uiApi: new er(e),
|
|
2290
|
+
useCaseApi: new rr(e),
|
|
2291
|
+
enterpriseEditionApi: new tr(e)
|
|
1159
2292
|
};
|
|
1160
2293
|
}
|
|
1161
2294
|
export {
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
at as
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
2295
|
+
X as AssetEntryDtoFromJSON,
|
|
2296
|
+
Y as AssetEntryDtoFromJSONTyped,
|
|
2297
|
+
W as AssetEntryDtoToJSON,
|
|
2298
|
+
v as AssetPageFromJSON,
|
|
2299
|
+
j as AssetPageFromJSONTyped,
|
|
2300
|
+
fr as AssetPageToJSON,
|
|
2301
|
+
et as AtomicConstraintDtoFromJSON,
|
|
2302
|
+
rt as AtomicConstraintDtoFromJSONTyped,
|
|
2303
|
+
nt as AtomicConstraintDtoToJSON,
|
|
2304
|
+
K as BASE_PATH,
|
|
2305
|
+
l as BaseAPI,
|
|
2306
|
+
sr as BlobApiResponse,
|
|
2307
|
+
ir as COLLECTION_FORMATS,
|
|
2308
|
+
T as Configuration,
|
|
2309
|
+
it as ConnectorLimitsFromJSON,
|
|
2310
|
+
ot as ConnectorLimitsFromJSONTyped,
|
|
2311
|
+
yr as ConnectorLimitsToJSON,
|
|
2312
|
+
It as ContractAgreementCardFromJSON,
|
|
2313
|
+
Ct as ContractAgreementCardFromJSONTyped,
|
|
2314
|
+
Ot as ContractAgreementCardToJSON,
|
|
2315
|
+
Pr as ContractAgreementDirection,
|
|
2316
|
+
q as ContractAgreementDirectionFromJSON,
|
|
2317
|
+
at as ContractAgreementDirectionFromJSONTyped,
|
|
2318
|
+
hr as ContractAgreementDirectionToJSON,
|
|
2319
|
+
St as ContractAgreementPageFromJSON,
|
|
2320
|
+
wt as ContractAgreementPageFromJSONTyped,
|
|
2321
|
+
qr as ContractAgreementPageToJSON,
|
|
2322
|
+
ut as ContractAgreementTransferProcessFromJSON,
|
|
2323
|
+
ft as ContractAgreementTransferProcessFromJSONTyped,
|
|
2324
|
+
pt as ContractAgreementTransferProcessToJSON,
|
|
2325
|
+
Ft as ContractDefinitionEntryFromJSON,
|
|
2326
|
+
bt as ContractDefinitionEntryFromJSONTyped,
|
|
2327
|
+
Lt as ContractDefinitionEntryToJSON,
|
|
2328
|
+
Mt as ContractDefinitionPageFromJSON,
|
|
2329
|
+
xt as ContractDefinitionPageFromJSONTyped,
|
|
2330
|
+
kr as ContractDefinitionPageToJSON,
|
|
2331
|
+
_t as ContractDefinitionRequestDtoFromJSON,
|
|
2332
|
+
Qt as ContractDefinitionRequestDtoFromJSONTyped,
|
|
2333
|
+
Vt as ContractDefinitionRequestDtoToJSON,
|
|
2334
|
+
Kr as ContractDefinitionRequestFromJSON,
|
|
2335
|
+
Ht as ContractDefinitionRequestFromJSONTyped,
|
|
2336
|
+
kt as ContractDefinitionRequestToJSON,
|
|
2337
|
+
Vr as ContractNegotiationRequestFromJSON,
|
|
2338
|
+
Bt as ContractNegotiationRequestFromJSONTyped,
|
|
2339
|
+
zt as ContractNegotiationRequestToJSON,
|
|
2340
|
+
Br as ContractNegotiationSimplifiedState,
|
|
2341
|
+
Xt as ContractNegotiationSimplifiedStateFromJSON,
|
|
2342
|
+
Yt as ContractNegotiationSimplifiedStateFromJSONTyped,
|
|
2343
|
+
zr as ContractNegotiationSimplifiedStateToJSON,
|
|
2344
|
+
Wt as ContractNegotiationStateFromJSON,
|
|
2345
|
+
Zt as ContractNegotiationStateFromJSONTyped,
|
|
2346
|
+
vt as ContractNegotiationStateToJSON,
|
|
2347
|
+
rn as CreateOfferingDtoFromJSON,
|
|
2348
|
+
fe as CreateOfferingDtoFromJSONTyped,
|
|
2349
|
+
pe as CreateOfferingDtoToJSON,
|
|
2350
|
+
Gt as CriterionDtoFromJSON,
|
|
2351
|
+
Kt as CriterionDtoFromJSONTyped,
|
|
2352
|
+
$t as CriterionDtoToJSON,
|
|
2353
|
+
le as DashboardDapsConfigFromJSON,
|
|
2354
|
+
me as DashboardDapsConfigFromJSONTyped,
|
|
2355
|
+
ge as DashboardDapsConfigToJSON,
|
|
2356
|
+
ye as DashboardMiwConfigFromJSON,
|
|
2357
|
+
Pe as DashboardMiwConfigFromJSONTyped,
|
|
2358
|
+
he as DashboardMiwConfigToJSON,
|
|
2359
|
+
Ie as DashboardPageFromJSON,
|
|
2360
|
+
Ce as DashboardPageFromJSONTyped,
|
|
2361
|
+
cn as DashboardPageToJSON,
|
|
2362
|
+
O as DashboardTransferAmountsFromJSON,
|
|
2363
|
+
De as DashboardTransferAmountsFromJSONTyped,
|
|
2364
|
+
S as DashboardTransferAmountsToJSON,
|
|
2365
|
+
$ as DefaultConfig,
|
|
2366
|
+
tr as EnterpriseEditionApi,
|
|
2367
|
+
m as ExpressionDtoFromJSON,
|
|
2368
|
+
ee as ExpressionDtoFromJSONTyped,
|
|
2369
|
+
g as ExpressionDtoToJSON,
|
|
2370
|
+
Yr as ExpressionType,
|
|
2371
|
+
jt as ExpressionTypeFromJSON,
|
|
2372
|
+
te as ExpressionTypeFromJSONTyped,
|
|
2373
|
+
Wr as ExpressionTypeToJSON,
|
|
2374
|
+
B as FetchError,
|
|
2375
|
+
d as IdResponseDtoFromJSON,
|
|
2376
|
+
Oe as IdResponseDtoFromJSONTyped,
|
|
2377
|
+
un as IdResponseDtoToJSON,
|
|
2378
|
+
pn as InitiateCustomTransferRequestFromJSON,
|
|
2379
|
+
Se as InitiateCustomTransferRequestFromJSONTyped,
|
|
2380
|
+
we as InitiateCustomTransferRequestToJSON,
|
|
2381
|
+
mn as InitiateTransferRequestFromJSON,
|
|
2382
|
+
Te as InitiateTransferRequestFromJSONTyped,
|
|
2383
|
+
Ne as InitiateTransferRequestToJSON,
|
|
1222
2384
|
c as JSONApiResponse,
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
2385
|
+
qe as KpiResultFromJSON,
|
|
2386
|
+
Ue as KpiResultFromJSONTyped,
|
|
2387
|
+
Pn as KpiResultToJSON,
|
|
2388
|
+
pr as OperatorDto,
|
|
2389
|
+
J as OperatorDtoFromJSON,
|
|
2390
|
+
tt as OperatorDtoFromJSONTyped,
|
|
2391
|
+
lr as OperatorDtoToJSON,
|
|
2392
|
+
re as PermissionDtoFromJSON,
|
|
2393
|
+
ne as PermissionDtoFromJSONTyped,
|
|
2394
|
+
ie as PermissionDtoToJSON,
|
|
2395
|
+
In as PolicyDefinitionCreateRequestFromJSON,
|
|
2396
|
+
Le as PolicyDefinitionCreateRequestFromJSONTyped,
|
|
2397
|
+
Me as PolicyDefinitionCreateRequestToJSON,
|
|
2398
|
+
xe as PolicyDefinitionDtoFromJSON,
|
|
2399
|
+
He as PolicyDefinitionDtoFromJSONTyped,
|
|
2400
|
+
ke as PolicyDefinitionDtoToJSON,
|
|
2401
|
+
Ge as PolicyDefinitionPageFromJSON,
|
|
2402
|
+
Ke as PolicyDefinitionPageFromJSONTyped,
|
|
2403
|
+
Sn as PolicyDefinitionPageToJSON,
|
|
2404
|
+
ce as PolicyDefinitionRequestDtoFromJSON,
|
|
2405
|
+
de as PolicyDefinitionRequestDtoFromJSONTyped,
|
|
2406
|
+
ue as PolicyDefinitionRequestDtoToJSON,
|
|
2407
|
+
oe as PolicyDtoFromJSON,
|
|
2408
|
+
ae as PolicyDtoFromJSONTyped,
|
|
2409
|
+
se as PolicyDtoToJSON,
|
|
2410
|
+
f as RequiredError,
|
|
2411
|
+
V as ResponseError,
|
|
2412
|
+
z as TextApiResponse,
|
|
2413
|
+
$e as TransferHistoryEntryFromJSON,
|
|
2414
|
+
_e as TransferHistoryEntryFromJSONTyped,
|
|
2415
|
+
Qe as TransferHistoryEntryToJSON,
|
|
2416
|
+
Ve as TransferHistoryPageFromJSON,
|
|
2417
|
+
Be as TransferHistoryPageFromJSONTyped,
|
|
2418
|
+
Nn as TransferHistoryPageToJSON,
|
|
2419
|
+
Dr as TransferProcessSimplifiedState,
|
|
2420
|
+
st as TransferProcessSimplifiedStateFromJSON,
|
|
2421
|
+
ct as TransferProcessSimplifiedStateFromJSONTyped,
|
|
2422
|
+
Ir as TransferProcessSimplifiedStateToJSON,
|
|
2423
|
+
U as TransferProcessStateFromJSON,
|
|
2424
|
+
dt as TransferProcessStateFromJSONTyped,
|
|
2425
|
+
E as TransferProcessStateToJSON,
|
|
2426
|
+
Ae as TransferProcessStatesDtoFromJSON,
|
|
2427
|
+
Re as TransferProcessStatesDtoFromJSONTyped,
|
|
2428
|
+
Je as TransferProcessStatesDtoToJSON,
|
|
2429
|
+
er as UIApi,
|
|
2430
|
+
Rn as UiAssetCreateRequestFromJSON,
|
|
2431
|
+
ze as UiAssetCreateRequestFromJSONTyped,
|
|
2432
|
+
x as UiAssetCreateRequestToJSON,
|
|
2433
|
+
y as UiAssetFromJSON,
|
|
2434
|
+
Z as UiAssetFromJSONTyped,
|
|
2435
|
+
P as UiAssetToJSON,
|
|
2436
|
+
w as UiContractNegotiationFromJSON,
|
|
2437
|
+
Xe as UiContractNegotiationFromJSONTyped,
|
|
2438
|
+
qn as UiContractNegotiationToJSON,
|
|
2439
|
+
Ye as UiContractOfferFromJSON,
|
|
2440
|
+
We as UiContractOfferFromJSONTyped,
|
|
2441
|
+
Ze as UiContractOfferToJSON,
|
|
2442
|
+
L as UiCriterionFromJSON,
|
|
2443
|
+
Et as UiCriterionFromJSONTyped,
|
|
2444
|
+
At as UiCriterionLiteralFromJSON,
|
|
2445
|
+
Rt as UiCriterionLiteralFromJSONTyped,
|
|
2446
|
+
Jt as UiCriterionLiteralToJSON,
|
|
2447
|
+
Ur as UiCriterionLiteralType,
|
|
2448
|
+
Tt as UiCriterionLiteralTypeFromJSON,
|
|
2449
|
+
Nt as UiCriterionLiteralTypeFromJSONTyped,
|
|
2450
|
+
Er as UiCriterionLiteralTypeToJSON,
|
|
2451
|
+
br as UiCriterionOperator,
|
|
2452
|
+
qt as UiCriterionOperatorFromJSON,
|
|
2453
|
+
Ut as UiCriterionOperatorFromJSONTyped,
|
|
2454
|
+
Lr as UiCriterionOperatorToJSON,
|
|
2455
|
+
M as UiCriterionToJSON,
|
|
2456
|
+
ve as UiDataOfferFromJSON,
|
|
2457
|
+
je as UiDataOfferFromJSONTyped,
|
|
2458
|
+
Fn as UiDataOfferToJSON,
|
|
2459
|
+
F as UiPolicyConstraintFromJSON,
|
|
2460
|
+
ht as UiPolicyConstraintFromJSONTyped,
|
|
2461
|
+
b as UiPolicyConstraintToJSON,
|
|
2462
|
+
Ee as UiPolicyCreateRequestFromJSON,
|
|
2463
|
+
Fe as UiPolicyCreateRequestFromJSONTyped,
|
|
2464
|
+
be as UiPolicyCreateRequestToJSON,
|
|
2465
|
+
h as UiPolicyFromJSON,
|
|
2466
|
+
Dt as UiPolicyFromJSONTyped,
|
|
2467
|
+
gt as UiPolicyLiteralFromJSON,
|
|
2468
|
+
yt as UiPolicyLiteralFromJSONTyped,
|
|
2469
|
+
Pt as UiPolicyLiteralToJSON,
|
|
2470
|
+
Sr as UiPolicyLiteralType,
|
|
2471
|
+
lt as UiPolicyLiteralTypeFromJSON,
|
|
2472
|
+
mt as UiPolicyLiteralTypeFromJSONTyped,
|
|
2473
|
+
wr as UiPolicyLiteralTypeToJSON,
|
|
2474
|
+
D as UiPolicyToJSON,
|
|
2475
|
+
rr as UseCaseApi,
|
|
2476
|
+
R as VoidApiResponse,
|
|
2477
|
+
bn as buildEdcClient,
|
|
2478
|
+
ar as canConsumeForm,
|
|
2479
|
+
a as exists,
|
|
2480
|
+
cr as instanceOfAssetEntryDto,
|
|
2481
|
+
ur as instanceOfAssetPage,
|
|
2482
|
+
mr as instanceOfAtomicConstraintDto,
|
|
2483
|
+
gr as instanceOfConnectorLimits,
|
|
2484
|
+
Rr as instanceOfContractAgreementCard,
|
|
2485
|
+
Jr as instanceOfContractAgreementPage,
|
|
2486
|
+
Or as instanceOfContractAgreementTransferProcess,
|
|
2487
|
+
xr as instanceOfContractDefinitionEntry,
|
|
2488
|
+
Hr as instanceOfContractDefinitionPage,
|
|
2489
|
+
Gr as instanceOfContractDefinitionRequest,
|
|
2490
|
+
_r as instanceOfContractDefinitionRequestDto,
|
|
2491
|
+
Qr as instanceOfContractNegotiationRequest,
|
|
2492
|
+
Xr as instanceOfContractNegotiationState,
|
|
2493
|
+
en as instanceOfCreateOfferingDto,
|
|
2494
|
+
$r as instanceOfCriterionDto,
|
|
2495
|
+
nn as instanceOfDashboardDapsConfig,
|
|
2496
|
+
on as instanceOfDashboardMiwConfig,
|
|
2497
|
+
sn as instanceOfDashboardPage,
|
|
2498
|
+
an as instanceOfDashboardTransferAmounts,
|
|
2499
|
+
Zr as instanceOfExpressionDto,
|
|
2500
|
+
dn as instanceOfIdResponseDto,
|
|
2501
|
+
fn as instanceOfInitiateCustomTransferRequest,
|
|
2502
|
+
ln as instanceOfInitiateTransferRequest,
|
|
2503
|
+
yn as instanceOfKpiResult,
|
|
2504
|
+
vr as instanceOfPermissionDto,
|
|
2505
|
+
Dn as instanceOfPolicyDefinitionCreateRequest,
|
|
2506
|
+
Cn as instanceOfPolicyDefinitionDto,
|
|
2507
|
+
On as instanceOfPolicyDefinitionPage,
|
|
2508
|
+
tn as instanceOfPolicyDefinitionRequestDto,
|
|
2509
|
+
jr as instanceOfPolicyDto,
|
|
2510
|
+
wn as instanceOfTransferHistoryEntry,
|
|
2511
|
+
Tn as instanceOfTransferHistoryPage,
|
|
2512
|
+
Cr as instanceOfTransferProcessState,
|
|
2513
|
+
gn as instanceOfTransferProcessStatesDto,
|
|
2514
|
+
dr as instanceOfUiAsset,
|
|
2515
|
+
An as instanceOfUiAssetCreateRequest,
|
|
2516
|
+
Jn as instanceOfUiContractNegotiation,
|
|
2517
|
+
Un as instanceOfUiContractOffer,
|
|
2518
|
+
Mr as instanceOfUiCriterion,
|
|
2519
|
+
Fr as instanceOfUiCriterionLiteral,
|
|
2520
|
+
En as instanceOfUiDataOffer,
|
|
2521
|
+
Ar as instanceOfUiPolicy,
|
|
2522
|
+
Nr as instanceOfUiPolicyConstraint,
|
|
2523
|
+
hn as instanceOfUiPolicyCreateRequest,
|
|
2524
|
+
Tr as instanceOfUiPolicyLiteral,
|
|
2525
|
+
or as mapValues,
|
|
2526
|
+
N as querystring
|
|
1288
2527
|
};
|
|
1289
2528
|
//# sourceMappingURL=sovity-edc-client.js.map
|