@eudiplo/sdk-core 4.1.0 → 4.2.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 +25 -5
- package/dist/api/index.d.ts +25 -5
- package/dist/api/index.js +129 -103
- package/dist/api/index.mjs +125 -104
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +129 -103
- package/dist/index.mjs +125 -104
- package/dist/{types.gen-CVLCgolx.d.mts → types.gen-5zlqZUfP.d.mts} +158 -34
- package/dist/{types.gen-CVLCgolx.d.ts → types.gen-5zlqZUfP.d.ts} +158 -34
- 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/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -667,132 +667,121 @@ var createClient = (config = {}) => {
|
|
|
667
667
|
return { opts: resolvedOpts, url };
|
|
668
668
|
};
|
|
669
669
|
const request = async (options) => {
|
|
670
|
-
const
|
|
671
|
-
const
|
|
672
|
-
|
|
673
|
-
...opts,
|
|
674
|
-
body: getValidRequestBody(opts)
|
|
675
|
-
};
|
|
676
|
-
let request2 = new Request(url, requestInit);
|
|
677
|
-
for (const fn of interceptors.request.fns) {
|
|
678
|
-
if (fn) {
|
|
679
|
-
request2 = await fn(request2, opts);
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
const _fetch = opts.fetch;
|
|
670
|
+
const throwOnError = options.throwOnError ?? _config.throwOnError;
|
|
671
|
+
const responseStyle = options.responseStyle ?? _config.responseStyle;
|
|
672
|
+
let request2;
|
|
683
673
|
let response;
|
|
684
674
|
try {
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
675
|
+
const { opts, url } = await beforeRequest(options);
|
|
676
|
+
const requestInit = {
|
|
677
|
+
redirect: "follow",
|
|
678
|
+
...opts,
|
|
679
|
+
body: getValidRequestBody(opts)
|
|
680
|
+
};
|
|
681
|
+
request2 = new Request(url, requestInit);
|
|
682
|
+
for (const fn of interceptors.request.fns) {
|
|
689
683
|
if (fn) {
|
|
690
|
-
|
|
691
|
-
error2,
|
|
692
|
-
void 0,
|
|
693
|
-
request2,
|
|
694
|
-
opts
|
|
695
|
-
);
|
|
684
|
+
request2 = await fn(request2, opts);
|
|
696
685
|
}
|
|
697
686
|
}
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
687
|
+
const _fetch = opts.fetch;
|
|
688
|
+
response = await _fetch(request2);
|
|
689
|
+
for (const fn of interceptors.response.fns) {
|
|
690
|
+
if (fn) {
|
|
691
|
+
response = await fn(response, request2, opts);
|
|
692
|
+
}
|
|
701
693
|
}
|
|
702
|
-
|
|
703
|
-
error: finalError2,
|
|
694
|
+
const result = {
|
|
704
695
|
request: request2,
|
|
705
|
-
response
|
|
696
|
+
response
|
|
706
697
|
};
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
698
|
+
if (response.ok) {
|
|
699
|
+
const parseAs = (opts.parseAs === "auto" ? getParseAs(response.headers.get("Content-Type")) : opts.parseAs) ?? "json";
|
|
700
|
+
if (response.status === 204 || response.headers.get("Content-Length") === "0") {
|
|
701
|
+
let emptyData;
|
|
702
|
+
switch (parseAs) {
|
|
703
|
+
case "arrayBuffer":
|
|
704
|
+
case "blob":
|
|
705
|
+
case "text":
|
|
706
|
+
emptyData = await response[parseAs]();
|
|
707
|
+
break;
|
|
708
|
+
case "formData":
|
|
709
|
+
emptyData = new FormData();
|
|
710
|
+
break;
|
|
711
|
+
case "stream":
|
|
712
|
+
emptyData = response.body;
|
|
713
|
+
break;
|
|
714
|
+
case "json":
|
|
715
|
+
default:
|
|
716
|
+
emptyData = {};
|
|
717
|
+
break;
|
|
718
|
+
}
|
|
719
|
+
return opts.responseStyle === "data" ? emptyData : {
|
|
720
|
+
data: emptyData,
|
|
721
|
+
...result
|
|
722
|
+
};
|
|
723
|
+
}
|
|
724
|
+
let data;
|
|
721
725
|
switch (parseAs) {
|
|
722
726
|
case "arrayBuffer":
|
|
723
727
|
case "blob":
|
|
728
|
+
case "formData":
|
|
724
729
|
case "text":
|
|
725
|
-
|
|
730
|
+
data = await response[parseAs]();
|
|
726
731
|
break;
|
|
727
|
-
case "
|
|
728
|
-
|
|
732
|
+
case "json": {
|
|
733
|
+
const text = await response.text();
|
|
734
|
+
data = text ? JSON.parse(text) : {};
|
|
729
735
|
break;
|
|
736
|
+
}
|
|
730
737
|
case "stream":
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
emptyData = {};
|
|
736
|
-
break;
|
|
738
|
+
return opts.responseStyle === "data" ? response.body : {
|
|
739
|
+
data: response.body,
|
|
740
|
+
...result
|
|
741
|
+
};
|
|
737
742
|
}
|
|
738
|
-
|
|
739
|
-
|
|
743
|
+
if (parseAs === "json") {
|
|
744
|
+
if (opts.responseValidator) {
|
|
745
|
+
await opts.responseValidator(data);
|
|
746
|
+
}
|
|
747
|
+
if (opts.responseTransformer) {
|
|
748
|
+
data = await opts.responseTransformer(data);
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
return opts.responseStyle === "data" ? data : {
|
|
752
|
+
data,
|
|
740
753
|
...result
|
|
741
754
|
};
|
|
742
755
|
}
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
case "text":
|
|
749
|
-
data = await response[parseAs]();
|
|
750
|
-
break;
|
|
751
|
-
case "json": {
|
|
752
|
-
const text = await response.text();
|
|
753
|
-
data = text ? JSON.parse(text) : {};
|
|
754
|
-
break;
|
|
755
|
-
}
|
|
756
|
-
case "stream":
|
|
757
|
-
return opts.responseStyle === "data" ? response.body : {
|
|
758
|
-
data: response.body,
|
|
759
|
-
...result
|
|
760
|
-
};
|
|
756
|
+
const textError = await response.text();
|
|
757
|
+
let jsonError;
|
|
758
|
+
try {
|
|
759
|
+
jsonError = JSON.parse(textError);
|
|
760
|
+
} catch {
|
|
761
761
|
}
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
if (
|
|
767
|
-
|
|
762
|
+
throw jsonError ?? textError;
|
|
763
|
+
} catch (error) {
|
|
764
|
+
let finalError = error;
|
|
765
|
+
for (const fn of interceptors.error.fns) {
|
|
766
|
+
if (fn) {
|
|
767
|
+
finalError = await fn(
|
|
768
|
+
finalError,
|
|
769
|
+
response,
|
|
770
|
+
request2,
|
|
771
|
+
options
|
|
772
|
+
);
|
|
768
773
|
}
|
|
769
774
|
}
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
};
|
|
774
|
-
}
|
|
775
|
-
const textError = await response.text();
|
|
776
|
-
let jsonError;
|
|
777
|
-
try {
|
|
778
|
-
jsonError = JSON.parse(textError);
|
|
779
|
-
} catch {
|
|
780
|
-
}
|
|
781
|
-
const error = jsonError ?? textError;
|
|
782
|
-
let finalError = error;
|
|
783
|
-
for (const fn of interceptors.error.fns) {
|
|
784
|
-
if (fn) {
|
|
785
|
-
finalError = await fn(error, response, request2, opts);
|
|
775
|
+
finalError = finalError || {};
|
|
776
|
+
if (throwOnError) {
|
|
777
|
+
throw finalError;
|
|
786
778
|
}
|
|
779
|
+
return responseStyle === "data" ? void 0 : {
|
|
780
|
+
error: finalError,
|
|
781
|
+
request: request2,
|
|
782
|
+
response
|
|
783
|
+
};
|
|
787
784
|
}
|
|
788
|
-
finalError = finalError || {};
|
|
789
|
-
if (opts.throwOnError) {
|
|
790
|
-
throw finalError;
|
|
791
|
-
}
|
|
792
|
-
return opts.responseStyle === "data" ? void 0 : {
|
|
793
|
-
error: finalError,
|
|
794
|
-
...result
|
|
795
|
-
};
|
|
796
785
|
};
|
|
797
786
|
const makeMethodFn = (method) => (options) => request({ ...options, method });
|
|
798
787
|
const makeSseFn = (method) => async (options) => {
|
|
@@ -800,7 +789,6 @@ var createClient = (config = {}) => {
|
|
|
800
789
|
return createSseClient({
|
|
801
790
|
...opts,
|
|
802
791
|
body: opts.body,
|
|
803
|
-
headers: opts.headers,
|
|
804
792
|
method,
|
|
805
793
|
onRequest: async (url2, init) => {
|
|
806
794
|
let request2 = new Request(url2, init);
|
|
@@ -1038,6 +1026,39 @@ var sessionConfigControllerUpdateConfig = (options) => (options.client ?? client
|
|
|
1038
1026
|
}
|
|
1039
1027
|
});
|
|
1040
1028
|
var sessionEventsControllerSubscribeToSessionEvents = (options) => (options.client ?? client).get({ url: "/api/session/{id}/events", ...options });
|
|
1029
|
+
var userControllerGetUsers = (options) => (options?.client ?? client).get({
|
|
1030
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1031
|
+
url: "/api/user",
|
|
1032
|
+
...options
|
|
1033
|
+
});
|
|
1034
|
+
var userControllerCreateUser = (options) => (options.client ?? client).post({
|
|
1035
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1036
|
+
url: "/api/user",
|
|
1037
|
+
...options,
|
|
1038
|
+
headers: {
|
|
1039
|
+
"Content-Type": "application/json",
|
|
1040
|
+
...options.headers
|
|
1041
|
+
}
|
|
1042
|
+
});
|
|
1043
|
+
var userControllerDeleteUser = (options) => (options.client ?? client).delete({
|
|
1044
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1045
|
+
url: "/api/user/{id}",
|
|
1046
|
+
...options
|
|
1047
|
+
});
|
|
1048
|
+
var userControllerGetUser = (options) => (options.client ?? client).get({
|
|
1049
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1050
|
+
url: "/api/user/{id}",
|
|
1051
|
+
...options
|
|
1052
|
+
});
|
|
1053
|
+
var userControllerUpdateUser = (options) => (options.client ?? client).patch({
|
|
1054
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1055
|
+
url: "/api/user/{id}",
|
|
1056
|
+
...options,
|
|
1057
|
+
headers: {
|
|
1058
|
+
"Content-Type": "application/json",
|
|
1059
|
+
...options.headers
|
|
1060
|
+
}
|
|
1061
|
+
});
|
|
1041
1062
|
var issuanceConfigControllerGetIssuanceConfigurations = (options) => (options?.client ?? client).get({
|
|
1042
1063
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1043
1064
|
url: "/api/issuer/config",
|
|
@@ -2137,6 +2158,11 @@ exports.trustListControllerGetTrustList = trustListControllerGetTrustList;
|
|
|
2137
2158
|
exports.trustListControllerGetTrustListVersion = trustListControllerGetTrustListVersion;
|
|
2138
2159
|
exports.trustListControllerGetTrustListVersions = trustListControllerGetTrustListVersions;
|
|
2139
2160
|
exports.trustListControllerUpdateTrustList = trustListControllerUpdateTrustList;
|
|
2161
|
+
exports.userControllerCreateUser = userControllerCreateUser;
|
|
2162
|
+
exports.userControllerDeleteUser = userControllerDeleteUser;
|
|
2163
|
+
exports.userControllerGetUser = userControllerGetUser;
|
|
2164
|
+
exports.userControllerGetUsers = userControllerGetUsers;
|
|
2165
|
+
exports.userControllerUpdateUser = userControllerUpdateUser;
|
|
2140
2166
|
exports.verifierOfferControllerGetOffer = verifierOfferControllerGetOffer;
|
|
2141
2167
|
exports.verify = verify;
|
|
2142
2168
|
exports.verifyAndWait = verifyAndWait;
|
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",
|
|
@@ -2046,6 +2067,6 @@ async function submitDcApiWalletResponse(options) {
|
|
|
2046
2067
|
};
|
|
2047
2068
|
}
|
|
2048
2069
|
|
|
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 };
|
|
2070
|
+
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, userControllerCreateUser, userControllerDeleteUser, userControllerGetUser, userControllerGetUsers, userControllerUpdateUser, verifierOfferControllerGetOffer, verify, verifyAndWait, verifyWithDcApi, webhookEndpointControllerCreate, webhookEndpointControllerDelete, webhookEndpointControllerGetAll, webhookEndpointControllerGetById, webhookEndpointControllerUpdate };
|
|
2050
2071
|
//# sourceMappingURL=index.mjs.map
|
|
2051
2072
|
//# sourceMappingURL=index.mjs.map
|