@eudiplo/sdk-core 4.1.0 → 4.3.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/dist/api/client/client.gen.d.mts +1 -1
- package/dist/api/client/client.gen.d.ts +1 -1
- package/dist/api/client/client.gen.js +91 -103
- package/dist/api/client/client.gen.mjs +91 -103
- package/dist/api/client/index.d.mts +1 -1
- package/dist/api/client/index.d.ts +1 -1
- package/dist/api/client/index.js +91 -103
- package/dist/api/client/index.mjs +91 -103
- package/dist/api/client/types.gen.d.mts +1 -1
- package/dist/api/client/types.gen.d.ts +1 -1
- package/dist/api/client.gen.d.mts +2 -2
- package/dist/api/client.gen.d.ts +2 -2
- package/dist/api/client.gen.js +91 -103
- package/dist/api/client.gen.mjs +91 -103
- package/dist/api/index.d.mts +118 -45
- package/dist/api/index.d.ts +118 -45
- package/dist/api/index.js +279 -143
- package/dist/api/index.mjs +260 -144
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +279 -143
- package/dist/index.mjs +260 -144
- package/dist/{types.gen-CVkHMB8b.d.mts → types.gen-DKrNRB-E.d.mts} +9 -3
- package/dist/{types.gen-CVkHMB8b.d.ts → types.gen-DKrNRB-E.d.ts} +9 -3
- package/dist/{types.gen-CVLCgolx.d.mts → types.gen-DWk5kPkH.d.mts} +928 -241
- package/dist/{types.gen-CVLCgolx.d.ts → types.gen-DWk5kPkH.d.ts} +928 -241
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -665,132 +665,121 @@ var createClient = (config = {}) => {
|
|
|
665
665
|
return { opts: resolvedOpts, url };
|
|
666
666
|
};
|
|
667
667
|
const request = async (options) => {
|
|
668
|
-
const
|
|
669
|
-
const
|
|
670
|
-
|
|
671
|
-
...opts,
|
|
672
|
-
body: getValidRequestBody(opts)
|
|
673
|
-
};
|
|
674
|
-
let request2 = new Request(url, requestInit);
|
|
675
|
-
for (const fn of interceptors.request.fns) {
|
|
676
|
-
if (fn) {
|
|
677
|
-
request2 = await fn(request2, opts);
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
const _fetch = opts.fetch;
|
|
668
|
+
const throwOnError = options.throwOnError ?? _config.throwOnError;
|
|
669
|
+
const responseStyle = options.responseStyle ?? _config.responseStyle;
|
|
670
|
+
let request2;
|
|
681
671
|
let response;
|
|
682
672
|
try {
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
673
|
+
const { opts, url } = await beforeRequest(options);
|
|
674
|
+
const requestInit = {
|
|
675
|
+
redirect: "follow",
|
|
676
|
+
...opts,
|
|
677
|
+
body: getValidRequestBody(opts)
|
|
678
|
+
};
|
|
679
|
+
request2 = new Request(url, requestInit);
|
|
680
|
+
for (const fn of interceptors.request.fns) {
|
|
687
681
|
if (fn) {
|
|
688
|
-
|
|
689
|
-
error2,
|
|
690
|
-
void 0,
|
|
691
|
-
request2,
|
|
692
|
-
opts
|
|
693
|
-
);
|
|
682
|
+
request2 = await fn(request2, opts);
|
|
694
683
|
}
|
|
695
684
|
}
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
685
|
+
const _fetch = opts.fetch;
|
|
686
|
+
response = await _fetch(request2);
|
|
687
|
+
for (const fn of interceptors.response.fns) {
|
|
688
|
+
if (fn) {
|
|
689
|
+
response = await fn(response, request2, opts);
|
|
690
|
+
}
|
|
699
691
|
}
|
|
700
|
-
|
|
701
|
-
error: finalError2,
|
|
692
|
+
const result = {
|
|
702
693
|
request: request2,
|
|
703
|
-
response
|
|
694
|
+
response
|
|
704
695
|
};
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
696
|
+
if (response.ok) {
|
|
697
|
+
const parseAs = (opts.parseAs === "auto" ? getParseAs(response.headers.get("Content-Type")) : opts.parseAs) ?? "json";
|
|
698
|
+
if (response.status === 204 || response.headers.get("Content-Length") === "0") {
|
|
699
|
+
let emptyData;
|
|
700
|
+
switch (parseAs) {
|
|
701
|
+
case "arrayBuffer":
|
|
702
|
+
case "blob":
|
|
703
|
+
case "text":
|
|
704
|
+
emptyData = await response[parseAs]();
|
|
705
|
+
break;
|
|
706
|
+
case "formData":
|
|
707
|
+
emptyData = new FormData();
|
|
708
|
+
break;
|
|
709
|
+
case "stream":
|
|
710
|
+
emptyData = response.body;
|
|
711
|
+
break;
|
|
712
|
+
case "json":
|
|
713
|
+
default:
|
|
714
|
+
emptyData = {};
|
|
715
|
+
break;
|
|
716
|
+
}
|
|
717
|
+
return opts.responseStyle === "data" ? emptyData : {
|
|
718
|
+
data: emptyData,
|
|
719
|
+
...result
|
|
720
|
+
};
|
|
721
|
+
}
|
|
722
|
+
let data;
|
|
719
723
|
switch (parseAs) {
|
|
720
724
|
case "arrayBuffer":
|
|
721
725
|
case "blob":
|
|
726
|
+
case "formData":
|
|
722
727
|
case "text":
|
|
723
|
-
|
|
728
|
+
data = await response[parseAs]();
|
|
724
729
|
break;
|
|
725
|
-
case "
|
|
726
|
-
|
|
730
|
+
case "json": {
|
|
731
|
+
const text = await response.text();
|
|
732
|
+
data = text ? JSON.parse(text) : {};
|
|
727
733
|
break;
|
|
734
|
+
}
|
|
728
735
|
case "stream":
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
emptyData = {};
|
|
734
|
-
break;
|
|
736
|
+
return opts.responseStyle === "data" ? response.body : {
|
|
737
|
+
data: response.body,
|
|
738
|
+
...result
|
|
739
|
+
};
|
|
735
740
|
}
|
|
736
|
-
|
|
737
|
-
|
|
741
|
+
if (parseAs === "json") {
|
|
742
|
+
if (opts.responseValidator) {
|
|
743
|
+
await opts.responseValidator(data);
|
|
744
|
+
}
|
|
745
|
+
if (opts.responseTransformer) {
|
|
746
|
+
data = await opts.responseTransformer(data);
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
return opts.responseStyle === "data" ? data : {
|
|
750
|
+
data,
|
|
738
751
|
...result
|
|
739
752
|
};
|
|
740
753
|
}
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
case "text":
|
|
747
|
-
data = await response[parseAs]();
|
|
748
|
-
break;
|
|
749
|
-
case "json": {
|
|
750
|
-
const text = await response.text();
|
|
751
|
-
data = text ? JSON.parse(text) : {};
|
|
752
|
-
break;
|
|
753
|
-
}
|
|
754
|
-
case "stream":
|
|
755
|
-
return opts.responseStyle === "data" ? response.body : {
|
|
756
|
-
data: response.body,
|
|
757
|
-
...result
|
|
758
|
-
};
|
|
754
|
+
const textError = await response.text();
|
|
755
|
+
let jsonError;
|
|
756
|
+
try {
|
|
757
|
+
jsonError = JSON.parse(textError);
|
|
758
|
+
} catch {
|
|
759
759
|
}
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
if (
|
|
765
|
-
|
|
760
|
+
throw jsonError ?? textError;
|
|
761
|
+
} catch (error) {
|
|
762
|
+
let finalError = error;
|
|
763
|
+
for (const fn of interceptors.error.fns) {
|
|
764
|
+
if (fn) {
|
|
765
|
+
finalError = await fn(
|
|
766
|
+
finalError,
|
|
767
|
+
response,
|
|
768
|
+
request2,
|
|
769
|
+
options
|
|
770
|
+
);
|
|
766
771
|
}
|
|
767
772
|
}
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
};
|
|
772
|
-
}
|
|
773
|
-
const textError = await response.text();
|
|
774
|
-
let jsonError;
|
|
775
|
-
try {
|
|
776
|
-
jsonError = JSON.parse(textError);
|
|
777
|
-
} catch {
|
|
778
|
-
}
|
|
779
|
-
const error = jsonError ?? textError;
|
|
780
|
-
let finalError = error;
|
|
781
|
-
for (const fn of interceptors.error.fns) {
|
|
782
|
-
if (fn) {
|
|
783
|
-
finalError = await fn(error, response, request2, opts);
|
|
773
|
+
finalError = finalError || {};
|
|
774
|
+
if (throwOnError) {
|
|
775
|
+
throw finalError;
|
|
784
776
|
}
|
|
777
|
+
return responseStyle === "data" ? void 0 : {
|
|
778
|
+
error: finalError,
|
|
779
|
+
request: request2,
|
|
780
|
+
response
|
|
781
|
+
};
|
|
785
782
|
}
|
|
786
|
-
finalError = finalError || {};
|
|
787
|
-
if (opts.throwOnError) {
|
|
788
|
-
throw finalError;
|
|
789
|
-
}
|
|
790
|
-
return opts.responseStyle === "data" ? void 0 : {
|
|
791
|
-
error: finalError,
|
|
792
|
-
...result
|
|
793
|
-
};
|
|
794
783
|
};
|
|
795
784
|
const makeMethodFn = (method) => (options) => request({ ...options, method });
|
|
796
785
|
const makeSseFn = (method) => async (options) => {
|
|
@@ -798,7 +787,6 @@ var createClient = (config = {}) => {
|
|
|
798
787
|
return createSseClient({
|
|
799
788
|
...opts,
|
|
800
789
|
body: opts.body,
|
|
801
|
-
headers: opts.headers,
|
|
802
790
|
method,
|
|
803
791
|
onRequest: async (url2, init) => {
|
|
804
792
|
let request2 = new Request(url2, init);
|
|
@@ -1036,6 +1024,39 @@ var sessionConfigControllerUpdateConfig = (options) => (options.client ?? client
|
|
|
1036
1024
|
}
|
|
1037
1025
|
});
|
|
1038
1026
|
var sessionEventsControllerSubscribeToSessionEvents = (options) => (options.client ?? client).get({ url: "/api/session/{id}/events", ...options });
|
|
1027
|
+
var userControllerGetUsers = (options) => (options?.client ?? client).get({
|
|
1028
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1029
|
+
url: "/api/user",
|
|
1030
|
+
...options
|
|
1031
|
+
});
|
|
1032
|
+
var userControllerCreateUser = (options) => (options.client ?? client).post({
|
|
1033
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1034
|
+
url: "/api/user",
|
|
1035
|
+
...options,
|
|
1036
|
+
headers: {
|
|
1037
|
+
"Content-Type": "application/json",
|
|
1038
|
+
...options.headers
|
|
1039
|
+
}
|
|
1040
|
+
});
|
|
1041
|
+
var userControllerDeleteUser = (options) => (options.client ?? client).delete({
|
|
1042
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1043
|
+
url: "/api/user/{id}",
|
|
1044
|
+
...options
|
|
1045
|
+
});
|
|
1046
|
+
var userControllerGetUser = (options) => (options.client ?? client).get({
|
|
1047
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1048
|
+
url: "/api/user/{id}",
|
|
1049
|
+
...options
|
|
1050
|
+
});
|
|
1051
|
+
var userControllerUpdateUser = (options) => (options.client ?? client).patch({
|
|
1052
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1053
|
+
url: "/api/user/{id}",
|
|
1054
|
+
...options,
|
|
1055
|
+
headers: {
|
|
1056
|
+
"Content-Type": "application/json",
|
|
1057
|
+
...options.headers
|
|
1058
|
+
}
|
|
1059
|
+
});
|
|
1039
1060
|
var issuanceConfigControllerGetIssuanceConfigurations = (options) => (options?.client ?? client).get({
|
|
1040
1061
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1041
1062
|
url: "/api/issuer/config",
|
|
@@ -1083,6 +1104,24 @@ var credentialConfigControllerUpdateCredentialConfiguration = (options) => (opti
|
|
|
1083
1104
|
...options.headers
|
|
1084
1105
|
}
|
|
1085
1106
|
});
|
|
1107
|
+
var credentialConfigControllerSignSchemaMetaConfig = (options) => (options.client ?? client).post({
|
|
1108
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1109
|
+
url: "/api/issuer/credentials/schema-metadata/sign",
|
|
1110
|
+
...options,
|
|
1111
|
+
headers: {
|
|
1112
|
+
"Content-Type": "application/json",
|
|
1113
|
+
...options.headers
|
|
1114
|
+
}
|
|
1115
|
+
});
|
|
1116
|
+
var credentialConfigControllerSignVersionSchemaMetaConfig = (options) => (options.client ?? client).post({
|
|
1117
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1118
|
+
url: "/api/issuer/credentials/schema-metadata/sign-version",
|
|
1119
|
+
...options,
|
|
1120
|
+
headers: {
|
|
1121
|
+
"Content-Type": "application/json",
|
|
1122
|
+
...options.headers
|
|
1123
|
+
}
|
|
1124
|
+
});
|
|
1086
1125
|
var attributeProviderControllerGetAll = (options) => (options?.client ?? client).get({
|
|
1087
1126
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1088
1127
|
url: "/api/issuer/attribute-providers",
|
|
@@ -1149,6 +1188,54 @@ var webhookEndpointControllerUpdate = (options) => (options.client ?? client).pa
|
|
|
1149
1188
|
...options.headers
|
|
1150
1189
|
}
|
|
1151
1190
|
});
|
|
1191
|
+
var trustListControllerGetAllTrustLists = (options) => (options?.client ?? client).get({
|
|
1192
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1193
|
+
url: "/api/trust-list",
|
|
1194
|
+
...options
|
|
1195
|
+
});
|
|
1196
|
+
var trustListControllerCreateTrustList = (options) => (options.client ?? client).post({
|
|
1197
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1198
|
+
url: "/api/trust-list",
|
|
1199
|
+
...options,
|
|
1200
|
+
headers: {
|
|
1201
|
+
"Content-Type": "application/json",
|
|
1202
|
+
...options.headers
|
|
1203
|
+
}
|
|
1204
|
+
});
|
|
1205
|
+
var trustListControllerDeleteTrustList = (options) => (options.client ?? client).delete({
|
|
1206
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1207
|
+
url: "/api/trust-list/{id}",
|
|
1208
|
+
...options
|
|
1209
|
+
});
|
|
1210
|
+
var trustListControllerGetTrustList = (options) => (options.client ?? client).get({
|
|
1211
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1212
|
+
url: "/api/trust-list/{id}",
|
|
1213
|
+
...options
|
|
1214
|
+
});
|
|
1215
|
+
var trustListControllerUpdateTrustList = (options) => (options.client ?? client).put({
|
|
1216
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1217
|
+
url: "/api/trust-list/{id}",
|
|
1218
|
+
...options,
|
|
1219
|
+
headers: {
|
|
1220
|
+
"Content-Type": "application/json",
|
|
1221
|
+
...options.headers
|
|
1222
|
+
}
|
|
1223
|
+
});
|
|
1224
|
+
var trustListControllerExportTrustList = (options) => (options.client ?? client).get({
|
|
1225
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1226
|
+
url: "/api/trust-list/{id}/export",
|
|
1227
|
+
...options
|
|
1228
|
+
});
|
|
1229
|
+
var trustListControllerGetTrustListVersions = (options) => (options.client ?? client).get({
|
|
1230
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1231
|
+
url: "/api/trust-list/{id}/versions",
|
|
1232
|
+
...options
|
|
1233
|
+
});
|
|
1234
|
+
var trustListControllerGetTrustListVersion = (options) => (options.client ?? client).get({
|
|
1235
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1236
|
+
url: "/api/trust-list/{id}/versions/{versionId}",
|
|
1237
|
+
...options
|
|
1238
|
+
});
|
|
1152
1239
|
var presentationManagementControllerConfiguration = (options) => (options?.client ?? client).get({
|
|
1153
1240
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1154
1241
|
url: "/api/verifier/config",
|
|
@@ -1172,6 +1259,20 @@ var presentationManagementControllerResolveIssuerMetadata = (options) => (option
|
|
|
1172
1259
|
...options.headers
|
|
1173
1260
|
}
|
|
1174
1261
|
});
|
|
1262
|
+
var presentationManagementControllerResolveSchemaMetadata = (options) => (options.client ?? client).post({
|
|
1263
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1264
|
+
url: "/api/verifier/config/schema-metadata/resolve",
|
|
1265
|
+
...options,
|
|
1266
|
+
headers: {
|
|
1267
|
+
"Content-Type": "application/json",
|
|
1268
|
+
...options.headers
|
|
1269
|
+
}
|
|
1270
|
+
});
|
|
1271
|
+
var presentationManagementControllerListSchemaMetadataCatalog = (options) => (options?.client ?? client).get({
|
|
1272
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1273
|
+
url: "/api/verifier/config/schema-metadata/catalog",
|
|
1274
|
+
...options
|
|
1275
|
+
});
|
|
1175
1276
|
var presentationManagementControllerDeleteConfiguration = (options) => (options.client ?? client).delete({
|
|
1176
1277
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1177
1278
|
url: "/api/verifier/config/{id}",
|
|
@@ -1253,80 +1354,95 @@ var registrarControllerCreateAccessCertificate = (options) => (options.client ??
|
|
|
1253
1354
|
...options.headers
|
|
1254
1355
|
}
|
|
1255
1356
|
});
|
|
1256
|
-
var
|
|
1357
|
+
var schemaMetadataControllerGetVocabularies = (options) => (options?.client ?? client).get({
|
|
1257
1358
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1258
|
-
url: "/api/
|
|
1259
|
-
...options
|
|
1260
|
-
headers: {
|
|
1261
|
-
"Content-Type": "application/json",
|
|
1262
|
-
...options.headers
|
|
1263
|
-
}
|
|
1359
|
+
url: "/api/schema-metadata/vocabularies",
|
|
1360
|
+
...options
|
|
1264
1361
|
});
|
|
1265
|
-
var
|
|
1362
|
+
var schemaMetadataControllerFindAll = (options) => (options?.client ?? client).get({
|
|
1266
1363
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1267
|
-
url: "/api/
|
|
1268
|
-
...options
|
|
1269
|
-
headers: {
|
|
1270
|
-
"Content-Type": "application/json",
|
|
1271
|
-
...options.headers
|
|
1272
|
-
}
|
|
1364
|
+
url: "/api/schema-metadata",
|
|
1365
|
+
...options
|
|
1273
1366
|
});
|
|
1274
|
-
var
|
|
1367
|
+
var schemaMetadataControllerFindOne = (options) => (options.client ?? client).get({
|
|
1275
1368
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1276
|
-
url: "/api/
|
|
1277
|
-
...options
|
|
1278
|
-
headers: {
|
|
1279
|
-
"Content-Type": "application/json",
|
|
1280
|
-
...options.headers
|
|
1281
|
-
}
|
|
1369
|
+
url: "/api/schema-metadata/{id}",
|
|
1370
|
+
...options
|
|
1282
1371
|
});
|
|
1283
|
-
var
|
|
1372
|
+
var schemaMetadataControllerRemove = (options) => (options.client ?? client).delete({
|
|
1284
1373
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1285
|
-
url: "/api/
|
|
1374
|
+
url: "/api/schema-metadata/{id}/versions/{version}",
|
|
1286
1375
|
...options
|
|
1287
1376
|
});
|
|
1288
|
-
var
|
|
1377
|
+
var schemaMetadataControllerUpdate = (options) => (options.client ?? client).patch({
|
|
1289
1378
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1290
|
-
url: "/api/
|
|
1379
|
+
url: "/api/schema-metadata/{id}/versions/{version}",
|
|
1291
1380
|
...options,
|
|
1292
1381
|
headers: {
|
|
1293
1382
|
"Content-Type": "application/json",
|
|
1294
1383
|
...options.headers
|
|
1295
1384
|
}
|
|
1296
1385
|
});
|
|
1297
|
-
var
|
|
1386
|
+
var schemaMetadataControllerGetLatest = (options) => (options.client ?? client).get({
|
|
1298
1387
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1299
|
-
url: "/api/
|
|
1388
|
+
url: "/api/schema-metadata/{id}/latest",
|
|
1300
1389
|
...options
|
|
1301
1390
|
});
|
|
1302
|
-
var
|
|
1391
|
+
var schemaMetadataControllerGetVersions = (options) => (options.client ?? client).get({
|
|
1303
1392
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1304
|
-
url: "/api/
|
|
1393
|
+
url: "/api/schema-metadata/{id}/versions",
|
|
1305
1394
|
...options
|
|
1306
1395
|
});
|
|
1307
|
-
var
|
|
1396
|
+
var schemaMetadataControllerGetJwt = (options) => (options.client ?? client).get({
|
|
1308
1397
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1309
|
-
url: "/api/
|
|
1398
|
+
url: "/api/schema-metadata/{id}/versions/{version}/jwt",
|
|
1399
|
+
...options
|
|
1400
|
+
});
|
|
1401
|
+
var schemaMetadataControllerExport = (options) => (options.client ?? client).get({
|
|
1402
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1403
|
+
url: "/api/schema-metadata/{id}/versions/{version}/export",
|
|
1404
|
+
...options
|
|
1405
|
+
});
|
|
1406
|
+
var schemaMetadataControllerGetSchema = (options) => (options.client ?? client).get({
|
|
1407
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1408
|
+
url: "/api/schema-metadata/{id}/versions/{version}/schemas/{format}",
|
|
1409
|
+
...options
|
|
1410
|
+
});
|
|
1411
|
+
var schemaMetadataControllerDeprecateVersion = (options) => (options.client ?? client).patch({
|
|
1412
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1413
|
+
url: "/api/schema-metadata/{id}/versions/{version}/deprecation",
|
|
1310
1414
|
...options,
|
|
1311
1415
|
headers: {
|
|
1312
1416
|
"Content-Type": "application/json",
|
|
1313
1417
|
...options.headers
|
|
1314
1418
|
}
|
|
1315
1419
|
});
|
|
1316
|
-
var
|
|
1420
|
+
var credentialOfferControllerGetOffer = (options) => (options.client ?? client).post({
|
|
1317
1421
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1318
|
-
url: "/api/
|
|
1319
|
-
...options
|
|
1422
|
+
url: "/api/issuer/offer",
|
|
1423
|
+
...options,
|
|
1424
|
+
headers: {
|
|
1425
|
+
"Content-Type": "application/json",
|
|
1426
|
+
...options.headers
|
|
1427
|
+
}
|
|
1320
1428
|
});
|
|
1321
|
-
var
|
|
1429
|
+
var deferredControllerCompleteDeferred = (options) => (options.client ?? client).post({
|
|
1322
1430
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1323
|
-
url: "/api/
|
|
1324
|
-
...options
|
|
1431
|
+
url: "/api/issuer/deferred/{transactionId}/complete",
|
|
1432
|
+
...options,
|
|
1433
|
+
headers: {
|
|
1434
|
+
"Content-Type": "application/json",
|
|
1435
|
+
...options.headers
|
|
1436
|
+
}
|
|
1325
1437
|
});
|
|
1326
|
-
var
|
|
1438
|
+
var deferredControllerFailDeferred = (options) => (options.client ?? client).post({
|
|
1327
1439
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1328
|
-
url: "/api/
|
|
1329
|
-
...options
|
|
1440
|
+
url: "/api/issuer/deferred/{transactionId}/fail",
|
|
1441
|
+
...options,
|
|
1442
|
+
headers: {
|
|
1443
|
+
"Content-Type": "application/json",
|
|
1444
|
+
...options.headers
|
|
1445
|
+
}
|
|
1330
1446
|
});
|
|
1331
1447
|
var keyChainControllerGetProviders = (options) => (options?.client ?? client).get({
|
|
1332
1448
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -2046,6 +2162,6 @@ async function submitDcApiWalletResponse(options) {
|
|
|
2046
2162
|
};
|
|
2047
2163
|
}
|
|
2048
2164
|
|
|
2049
|
-
export { EudiploClient, appControllerGetFrontendConfig, appControllerGetVersion, attributeProviderControllerCreate, attributeProviderControllerDelete, attributeProviderControllerGetAll, attributeProviderControllerGetById, attributeProviderControllerUpdate, cacheControllerClearAllCaches, cacheControllerClearStatusListCache, cacheControllerClearTrustListCache, cacheControllerGetStats, callDcApi, client, clientControllerCreateClient, clientControllerDeleteClient, clientControllerGetClient, clientControllerGetClientSecret, clientControllerGetClients, clientControllerRotateClientSecret, clientControllerUpdateClient, createDcApiRequest, createDcApiRequestForBrowser, credentialConfigControllerDeleteIssuanceConfiguration, credentialConfigControllerGetConfigById, credentialConfigControllerGetConfigs, credentialConfigControllerStoreCredentialConfiguration, credentialConfigControllerUpdateCredentialConfiguration, credentialOfferControllerGetOffer, deferredControllerCompleteDeferred, deferredControllerFailDeferred, isDcApiAvailable, issuanceConfigControllerGetIssuanceConfigurations, issuanceConfigControllerStoreIssuanceConfiguration, issue, issueAndWait, keyChainControllerCreate, keyChainControllerDelete, keyChainControllerExport, keyChainControllerGetAll, keyChainControllerGetById, keyChainControllerGetProviders, keyChainControllerImport, keyChainControllerRotate, keyChainControllerUpdate, presentationManagementControllerConfiguration, presentationManagementControllerDeleteConfiguration, presentationManagementControllerGetConfiguration, presentationManagementControllerReissueRegistrationCertificate, presentationManagementControllerResolveIssuerMetadata, presentationManagementControllerStorePresentationConfig, presentationManagementControllerUpdateConfiguration, registrarControllerCreateAccessCertificate, registrarControllerCreateConfig, registrarControllerDeleteConfig, registrarControllerGetConfig, registrarControllerUpdateConfig, sessionConfigControllerGetConfig, sessionConfigControllerResetConfig, sessionConfigControllerUpdateConfig, sessionControllerDeleteSession, sessionControllerGetAllSessions, sessionControllerGetSession, sessionControllerGetSessionLogs, sessionControllerRevokeAll, sessionEventsControllerSubscribeToSessionEvents, statusListConfigControllerGetConfig, statusListConfigControllerResetConfig, statusListConfigControllerUpdateConfig, statusListManagementControllerCreateList, statusListManagementControllerDeleteList, statusListManagementControllerGetList, statusListManagementControllerGetLists, statusListManagementControllerUpdateList, storageControllerUpload, submitDcApiWalletResponse, tenantControllerDeleteTenant, tenantControllerGetTenant, tenantControllerGetTenants, tenantControllerInitTenant, tenantControllerUpdateTenant, trustListControllerCreateTrustList, trustListControllerDeleteTrustList, trustListControllerExportTrustList, trustListControllerGetAllTrustLists, trustListControllerGetTrustList, trustListControllerGetTrustListVersion, trustListControllerGetTrustListVersions, trustListControllerUpdateTrustList, verifierOfferControllerGetOffer, verify, verifyAndWait, verifyWithDcApi, webhookEndpointControllerCreate, webhookEndpointControllerDelete, webhookEndpointControllerGetAll, webhookEndpointControllerGetById, webhookEndpointControllerUpdate };
|
|
2165
|
+
export { EudiploClient, appControllerGetFrontendConfig, appControllerGetVersion, attributeProviderControllerCreate, attributeProviderControllerDelete, attributeProviderControllerGetAll, attributeProviderControllerGetById, attributeProviderControllerUpdate, cacheControllerClearAllCaches, cacheControllerClearStatusListCache, cacheControllerClearTrustListCache, cacheControllerGetStats, callDcApi, client, clientControllerCreateClient, clientControllerDeleteClient, clientControllerGetClient, clientControllerGetClientSecret, clientControllerGetClients, clientControllerRotateClientSecret, clientControllerUpdateClient, createDcApiRequest, createDcApiRequestForBrowser, credentialConfigControllerDeleteIssuanceConfiguration, credentialConfigControllerGetConfigById, credentialConfigControllerGetConfigs, credentialConfigControllerSignSchemaMetaConfig, credentialConfigControllerSignVersionSchemaMetaConfig, credentialConfigControllerStoreCredentialConfiguration, credentialConfigControllerUpdateCredentialConfiguration, credentialOfferControllerGetOffer, deferredControllerCompleteDeferred, deferredControllerFailDeferred, isDcApiAvailable, issuanceConfigControllerGetIssuanceConfigurations, issuanceConfigControllerStoreIssuanceConfiguration, issue, issueAndWait, keyChainControllerCreate, keyChainControllerDelete, keyChainControllerExport, keyChainControllerGetAll, keyChainControllerGetById, keyChainControllerGetProviders, keyChainControllerImport, keyChainControllerRotate, keyChainControllerUpdate, presentationManagementControllerConfiguration, presentationManagementControllerDeleteConfiguration, presentationManagementControllerGetConfiguration, presentationManagementControllerListSchemaMetadataCatalog, presentationManagementControllerReissueRegistrationCertificate, presentationManagementControllerResolveIssuerMetadata, presentationManagementControllerResolveSchemaMetadata, presentationManagementControllerStorePresentationConfig, presentationManagementControllerUpdateConfiguration, registrarControllerCreateAccessCertificate, registrarControllerCreateConfig, registrarControllerDeleteConfig, registrarControllerGetConfig, registrarControllerUpdateConfig, schemaMetadataControllerDeprecateVersion, schemaMetadataControllerExport, schemaMetadataControllerFindAll, schemaMetadataControllerFindOne, schemaMetadataControllerGetJwt, schemaMetadataControllerGetLatest, schemaMetadataControllerGetSchema, schemaMetadataControllerGetVersions, schemaMetadataControllerGetVocabularies, schemaMetadataControllerRemove, schemaMetadataControllerUpdate, sessionConfigControllerGetConfig, sessionConfigControllerResetConfig, sessionConfigControllerUpdateConfig, sessionControllerDeleteSession, sessionControllerGetAllSessions, sessionControllerGetSession, sessionControllerGetSessionLogs, sessionControllerRevokeAll, sessionEventsControllerSubscribeToSessionEvents, statusListConfigControllerGetConfig, statusListConfigControllerResetConfig, statusListConfigControllerUpdateConfig, statusListManagementControllerCreateList, statusListManagementControllerDeleteList, statusListManagementControllerGetList, statusListManagementControllerGetLists, statusListManagementControllerUpdateList, storageControllerUpload, submitDcApiWalletResponse, tenantControllerDeleteTenant, tenantControllerGetTenant, tenantControllerGetTenants, tenantControllerInitTenant, tenantControllerUpdateTenant, trustListControllerCreateTrustList, trustListControllerDeleteTrustList, trustListControllerExportTrustList, trustListControllerGetAllTrustLists, trustListControllerGetTrustList, trustListControllerGetTrustListVersion, trustListControllerGetTrustListVersions, trustListControllerUpdateTrustList, userControllerCreateUser, userControllerDeleteUser, userControllerGetUser, userControllerGetUsers, userControllerUpdateUser, verifierOfferControllerGetOffer, verify, verifyAndWait, verifyWithDcApi, webhookEndpointControllerCreate, webhookEndpointControllerDelete, webhookEndpointControllerGetAll, webhookEndpointControllerGetById, webhookEndpointControllerUpdate };
|
|
2050
2166
|
//# sourceMappingURL=index.mjs.map
|
|
2051
2167
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -193,7 +193,11 @@ type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> =
|
|
|
193
193
|
};
|
|
194
194
|
|
|
195
195
|
declare const mergeHeaders: (...headers: Array<Required<Config>["headers"] | undefined>) => Headers;
|
|
196
|
-
type ErrInterceptor<Err, Res, Req, Options> = (error: Err,
|
|
196
|
+
type ErrInterceptor<Err, Res, Req, Options> = (error: Err,
|
|
197
|
+
/** response may be undefined due to a network error where no response object is produced */
|
|
198
|
+
response: Res | undefined,
|
|
199
|
+
/** request may be undefined, because error may be from building the request object itself */
|
|
200
|
+
request: Req | undefined, options: Options) => Err | Promise<Err>;
|
|
197
201
|
type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
|
|
198
202
|
type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
|
|
199
203
|
declare class Interceptors<Interceptor> {
|
|
@@ -287,8 +291,10 @@ type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boole
|
|
|
287
291
|
data: undefined;
|
|
288
292
|
error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
|
|
289
293
|
}) & {
|
|
290
|
-
request
|
|
291
|
-
|
|
294
|
+
/** request may be undefined, because error may be from building the request object itself */
|
|
295
|
+
request?: Request;
|
|
296
|
+
/** response may be undefined, because error may be from building the request object itself or from a network error */
|
|
297
|
+
response?: Response;
|
|
292
298
|
}>;
|
|
293
299
|
interface ClientOptions {
|
|
294
300
|
baseUrl?: string;
|
|
@@ -193,7 +193,11 @@ type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> =
|
|
|
193
193
|
};
|
|
194
194
|
|
|
195
195
|
declare const mergeHeaders: (...headers: Array<Required<Config>["headers"] | undefined>) => Headers;
|
|
196
|
-
type ErrInterceptor<Err, Res, Req, Options> = (error: Err,
|
|
196
|
+
type ErrInterceptor<Err, Res, Req, Options> = (error: Err,
|
|
197
|
+
/** response may be undefined due to a network error where no response object is produced */
|
|
198
|
+
response: Res | undefined,
|
|
199
|
+
/** request may be undefined, because error may be from building the request object itself */
|
|
200
|
+
request: Req | undefined, options: Options) => Err | Promise<Err>;
|
|
197
201
|
type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
|
|
198
202
|
type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
|
|
199
203
|
declare class Interceptors<Interceptor> {
|
|
@@ -287,8 +291,10 @@ type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boole
|
|
|
287
291
|
data: undefined;
|
|
288
292
|
error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
|
|
289
293
|
}) & {
|
|
290
|
-
request
|
|
291
|
-
|
|
294
|
+
/** request may be undefined, because error may be from building the request object itself */
|
|
295
|
+
request?: Request;
|
|
296
|
+
/** response may be undefined, because error may be from building the request object itself or from a network error */
|
|
297
|
+
response?: Response;
|
|
292
298
|
}>;
|
|
293
299
|
interface ClientOptions {
|
|
294
300
|
baseUrl?: string;
|