@eudiplo/sdk-core 9.1.0 → 10.0.0-main.3374f3e
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 +4 -1
- package/dist/api/client/client.gen.d.mts +1 -1
- package/dist/api/client/client.gen.d.ts +1 -1
- package/dist/api/client/index.d.mts +1 -1
- package/dist/api/client/index.d.ts +1 -1
- 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 +4 -3
- package/dist/api/client.gen.d.ts +4 -3
- package/dist/api/index.d.mts +279 -211
- package/dist/api/index.d.ts +279 -211
- package/dist/api/index.js +278 -220
- package/dist/api/index.mjs +251 -200
- package/dist/index.d.mts +44 -7
- package/dist/index.d.ts +44 -7
- package/dist/index.js +463 -235
- package/dist/index.mjs +431 -215
- package/dist/{types.gen-DZ4ax15r.d.mts → types.gen-CT4QCfOf.d.mts} +2 -1
- package/dist/{types.gen-DZ4ax15r.d.ts → types.gen-CT4QCfOf.d.ts} +2 -1
- package/dist/{types.gen-DUg5S8ER.d.mts → types.gen-Cl1hgCT-.d.mts} +4911 -3372
- package/dist/{types.gen-DUg5S8ER.d.ts → types.gen-Cl1hgCT-.d.ts} +4911 -3372
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -847,6 +847,11 @@ var authControllerGetOAuth2Token = (options) => (options.client ?? client).post(
|
|
|
847
847
|
...options.headers
|
|
848
848
|
}
|
|
849
849
|
});
|
|
850
|
+
var authControllerGetCaller = (options) => (options?.client ?? client).get({
|
|
851
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
852
|
+
url: "/api/auth/me",
|
|
853
|
+
...options
|
|
854
|
+
});
|
|
850
855
|
var tenantControllerGetTenants = (options) => (options?.client ?? client).get({
|
|
851
856
|
security: [{ scheme: "bearer", type: "http" }],
|
|
852
857
|
url: "/api/tenant",
|
|
@@ -880,11 +885,35 @@ var tenantControllerUpdateTenant = (options) => (options.client ?? client).patch
|
|
|
880
885
|
...options.headers
|
|
881
886
|
}
|
|
882
887
|
});
|
|
888
|
+
var defaultAccessKeyChainControllerGet = (options) => (options?.client ?? client).get({
|
|
889
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
890
|
+
url: "/api/key-chain/access/default",
|
|
891
|
+
...options
|
|
892
|
+
});
|
|
893
|
+
var defaultAccessKeyChainControllerSet = (options) => (options.client ?? client).put({
|
|
894
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
895
|
+
url: "/api/key-chain/access/default",
|
|
896
|
+
...options,
|
|
897
|
+
headers: {
|
|
898
|
+
"Content-Type": "application/json",
|
|
899
|
+
...options.headers
|
|
900
|
+
}
|
|
901
|
+
});
|
|
883
902
|
var auditLogControllerGetAuditLogs = (options) => (options?.client ?? client).get({
|
|
884
903
|
security: [{ scheme: "bearer", type: "http" }],
|
|
885
904
|
url: "/api/admin/audit-logs",
|
|
886
905
|
...options
|
|
887
906
|
});
|
|
907
|
+
var auditLogControllerSearchAuditLogs = (options) => (options?.client ?? client).get({
|
|
908
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
909
|
+
url: "/api/admin/audit-logs/search",
|
|
910
|
+
...options
|
|
911
|
+
});
|
|
912
|
+
var auditLogControllerGetRetention = (options) => (options?.client ?? client).get({
|
|
913
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
914
|
+
url: "/api/admin/audit-logs/retention",
|
|
915
|
+
...options
|
|
916
|
+
});
|
|
888
917
|
var clientControllerGetClients = (options) => (options?.client ?? client).get({
|
|
889
918
|
security: [{ scheme: "bearer", type: "http" }],
|
|
890
919
|
url: "/api/client",
|
|
@@ -923,43 +952,6 @@ var clientControllerRotateClientSecret = (options) => (options.client ?? client)
|
|
|
923
952
|
url: "/api/client/{id}/rotate-secret",
|
|
924
953
|
...options
|
|
925
954
|
});
|
|
926
|
-
var registrarControllerDeleteConfig = (options) => (options?.client ?? client).delete({
|
|
927
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
928
|
-
url: "/api/registrar/config",
|
|
929
|
-
...options
|
|
930
|
-
});
|
|
931
|
-
var registrarControllerGetConfig = (options) => (options?.client ?? client).get({
|
|
932
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
933
|
-
url: "/api/registrar/config",
|
|
934
|
-
...options
|
|
935
|
-
});
|
|
936
|
-
var registrarControllerUpdateConfig = (options) => (options.client ?? client).patch({
|
|
937
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
938
|
-
url: "/api/registrar/config",
|
|
939
|
-
...options,
|
|
940
|
-
headers: {
|
|
941
|
-
"Content-Type": "application/json",
|
|
942
|
-
...options.headers
|
|
943
|
-
}
|
|
944
|
-
});
|
|
945
|
-
var registrarControllerCreateConfig = (options) => (options.client ?? client).post({
|
|
946
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
947
|
-
url: "/api/registrar/config",
|
|
948
|
-
...options,
|
|
949
|
-
headers: {
|
|
950
|
-
"Content-Type": "application/json",
|
|
951
|
-
...options.headers
|
|
952
|
-
}
|
|
953
|
-
});
|
|
954
|
-
var registrarControllerCreateAccessCertificate = (options) => (options.client ?? client).post({
|
|
955
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
956
|
-
url: "/api/registrar/access-certificate",
|
|
957
|
-
...options,
|
|
958
|
-
headers: {
|
|
959
|
-
"Content-Type": "application/json",
|
|
960
|
-
...options.headers
|
|
961
|
-
}
|
|
962
|
-
});
|
|
963
955
|
var userControllerGetUsers = (options) => (options?.client ?? client).get({
|
|
964
956
|
security: [{ scheme: "bearer", type: "http" }],
|
|
965
957
|
url: "/api/user",
|
|
@@ -1060,6 +1052,11 @@ var keyChainControllerExport = (options) => (options.client ?? client).get({
|
|
|
1060
1052
|
url: "/api/key-chain/{id}/export",
|
|
1061
1053
|
...options
|
|
1062
1054
|
});
|
|
1055
|
+
var keyChainControllerCreateCsr = (options) => (options.client ?? client).get({
|
|
1056
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1057
|
+
url: "/api/key-chain/{id}/csr",
|
|
1058
|
+
...options
|
|
1059
|
+
});
|
|
1063
1060
|
var keyChainControllerImport = (options) => (options.client ?? client).post({
|
|
1064
1061
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1065
1062
|
url: "/api/key-chain/import",
|
|
@@ -1107,125 +1104,6 @@ var attributeProviderControllerUpdate = (options) => (options.client ?? client).
|
|
|
1107
1104
|
...options.headers
|
|
1108
1105
|
}
|
|
1109
1106
|
});
|
|
1110
|
-
var sessionControllerGetAllSessions = (options) => (options?.client ?? client).get({
|
|
1111
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1112
|
-
url: "/api/session",
|
|
1113
|
-
...options
|
|
1114
|
-
});
|
|
1115
|
-
var sessionControllerDeleteSession = (options) => (options.client ?? client).delete({
|
|
1116
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1117
|
-
url: "/api/session/{id}",
|
|
1118
|
-
...options
|
|
1119
|
-
});
|
|
1120
|
-
var sessionControllerGetSession = (options) => (options.client ?? client).get({
|
|
1121
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1122
|
-
url: "/api/session/{id}",
|
|
1123
|
-
...options
|
|
1124
|
-
});
|
|
1125
|
-
var sessionControllerCancel = (options) => (options.client ?? client).post({
|
|
1126
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1127
|
-
url: "/api/session/{id}/cancel",
|
|
1128
|
-
...options,
|
|
1129
|
-
headers: {
|
|
1130
|
-
"Content-Type": "application/json",
|
|
1131
|
-
...options.headers
|
|
1132
|
-
}
|
|
1133
|
-
});
|
|
1134
|
-
var sessionControllerGetSessionLogs = (options) => (options.client ?? client).get({
|
|
1135
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1136
|
-
url: "/api/session/{id}/logs",
|
|
1137
|
-
...options
|
|
1138
|
-
});
|
|
1139
|
-
var sessionControllerGetCredentialStatus = (options) => (options.client ?? client).get({
|
|
1140
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1141
|
-
url: "/api/session/{id}/credential-status",
|
|
1142
|
-
...options
|
|
1143
|
-
});
|
|
1144
|
-
var sessionControllerRevokeAll = (options) => (options.client ?? client).post({
|
|
1145
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1146
|
-
url: "/api/session/revoke",
|
|
1147
|
-
...options,
|
|
1148
|
-
headers: {
|
|
1149
|
-
"Content-Type": "application/json",
|
|
1150
|
-
...options.headers
|
|
1151
|
-
}
|
|
1152
|
-
});
|
|
1153
|
-
var sessionConfigControllerResetConfig = (options) => (options?.client ?? client).delete({
|
|
1154
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1155
|
-
url: "/api/session-config",
|
|
1156
|
-
...options
|
|
1157
|
-
});
|
|
1158
|
-
var sessionConfigControllerGetConfig = (options) => (options?.client ?? client).get({
|
|
1159
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1160
|
-
url: "/api/session-config",
|
|
1161
|
-
...options
|
|
1162
|
-
});
|
|
1163
|
-
var sessionConfigControllerUpdateConfig = (options) => (options.client ?? client).put({
|
|
1164
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1165
|
-
url: "/api/session-config",
|
|
1166
|
-
...options,
|
|
1167
|
-
headers: {
|
|
1168
|
-
"Content-Type": "application/json",
|
|
1169
|
-
...options.headers
|
|
1170
|
-
}
|
|
1171
|
-
});
|
|
1172
|
-
var sessionEventsControllerSubscribeToSessionEvents = (options) => (options.client ?? client).sse.get({
|
|
1173
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1174
|
-
url: "/api/session/{id}/events",
|
|
1175
|
-
...options
|
|
1176
|
-
});
|
|
1177
|
-
var statusListConfigControllerResetConfig = (options) => (options?.client ?? client).delete({
|
|
1178
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1179
|
-
url: "/api/status-list-config",
|
|
1180
|
-
...options
|
|
1181
|
-
});
|
|
1182
|
-
var statusListConfigControllerGetConfig = (options) => (options?.client ?? client).get({
|
|
1183
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1184
|
-
url: "/api/status-list-config",
|
|
1185
|
-
...options
|
|
1186
|
-
});
|
|
1187
|
-
var statusListConfigControllerUpdateConfig = (options) => (options.client ?? client).put({
|
|
1188
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1189
|
-
url: "/api/status-list-config",
|
|
1190
|
-
...options,
|
|
1191
|
-
headers: {
|
|
1192
|
-
"Content-Type": "application/json",
|
|
1193
|
-
...options.headers
|
|
1194
|
-
}
|
|
1195
|
-
});
|
|
1196
|
-
var statusListManagementControllerGetLists = (options) => (options?.client ?? client).get({
|
|
1197
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1198
|
-
url: "/api/status-lists",
|
|
1199
|
-
...options
|
|
1200
|
-
});
|
|
1201
|
-
var statusListManagementControllerCreateList = (options) => (options.client ?? client).post({
|
|
1202
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1203
|
-
url: "/api/status-lists",
|
|
1204
|
-
...options,
|
|
1205
|
-
headers: {
|
|
1206
|
-
"Content-Type": "application/json",
|
|
1207
|
-
...options.headers
|
|
1208
|
-
}
|
|
1209
|
-
});
|
|
1210
|
-
var statusListManagementControllerDeleteList = (options) => (options.client ?? client).delete({
|
|
1211
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1212
|
-
url: "/api/status-lists/{listId}",
|
|
1213
|
-
...options
|
|
1214
|
-
});
|
|
1215
|
-
var statusListManagementControllerGetList = (options) => (options.client ?? client).get({
|
|
1216
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1217
|
-
url: "/api/status-lists/{listId}",
|
|
1218
|
-
...options
|
|
1219
|
-
});
|
|
1220
|
-
var statusListManagementControllerUpdateList = (options) => (options.client ?? client).patch({
|
|
1221
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1222
|
-
url: "/api/status-lists/{listId}",
|
|
1223
|
-
...options,
|
|
1224
|
-
headers: {
|
|
1225
|
-
"Content-Type": "application/json",
|
|
1226
|
-
...options.headers
|
|
1227
|
-
}
|
|
1228
|
-
});
|
|
1229
1107
|
var credentialConfigControllerGetConfigs = (options) => (options?.client ?? client).get({
|
|
1230
1108
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1231
1109
|
url: "/api/issuer/credentials",
|
|
@@ -1300,11 +1178,6 @@ var presentationManagementControllerResolveSchemaMetadataJwt = (options) => (opt
|
|
|
1300
1178
|
...options.headers
|
|
1301
1179
|
}
|
|
1302
1180
|
});
|
|
1303
|
-
var presentationManagementControllerListSchemaMetadataCatalog = (options) => (options?.client ?? client).get({
|
|
1304
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1305
|
-
url: "/api/verifier/config/schema-metadata/catalog",
|
|
1306
|
-
...options
|
|
1307
|
-
});
|
|
1308
1181
|
var presentationManagementControllerDeleteConfiguration = (options) => (options.client ?? client).delete({
|
|
1309
1182
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1310
1183
|
url: "/api/verifier/config/{id}",
|
|
@@ -1324,11 +1197,6 @@ var presentationManagementControllerUpdateConfiguration = (options) => (options.
|
|
|
1324
1197
|
...options.headers
|
|
1325
1198
|
}
|
|
1326
1199
|
});
|
|
1327
|
-
var presentationManagementControllerReissueRegistrationCertificate = (options) => (options.client ?? client).post({
|
|
1328
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1329
|
-
url: "/api/verifier/config/{id}/registration-cert/reissue",
|
|
1330
|
-
...options
|
|
1331
|
-
});
|
|
1332
1200
|
var trustListControllerGetAllTrustLists = (options) => (options?.client ?? client).get({
|
|
1333
1201
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1334
1202
|
url: "/api/trust-list",
|
|
@@ -1392,105 +1260,167 @@ var cacheControllerClearTrustListCache = (options) => (options?.client ?? client
|
|
|
1392
1260
|
url: "/api/cache/trust-list",
|
|
1393
1261
|
...options
|
|
1394
1262
|
});
|
|
1263
|
+
var cacheControllerForgetTrustListSequenceNumbers = (options) => (options?.client ?? client).delete({
|
|
1264
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1265
|
+
url: "/api/cache/trust-list/sequence-numbers",
|
|
1266
|
+
...options
|
|
1267
|
+
});
|
|
1395
1268
|
var cacheControllerClearStatusListCache = (options) => (options?.client ?? client).delete({
|
|
1396
1269
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1397
1270
|
url: "/api/cache/status-list",
|
|
1398
1271
|
...options
|
|
1399
1272
|
});
|
|
1400
|
-
var
|
|
1273
|
+
var federationTrustAnchorControllerGetAll = (options) => (options?.client ?? client).get({
|
|
1401
1274
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1402
|
-
url: "/api/
|
|
1275
|
+
url: "/api/federation-trust-anchor",
|
|
1403
1276
|
...options
|
|
1404
1277
|
});
|
|
1405
|
-
var
|
|
1278
|
+
var federationTrustAnchorControllerCreate = (options) => (options.client ?? client).post({
|
|
1406
1279
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1407
|
-
url: "/api/
|
|
1280
|
+
url: "/api/federation-trust-anchor",
|
|
1408
1281
|
...options,
|
|
1409
1282
|
headers: {
|
|
1410
1283
|
"Content-Type": "application/json",
|
|
1411
1284
|
...options.headers
|
|
1412
1285
|
}
|
|
1413
1286
|
});
|
|
1414
|
-
var
|
|
1287
|
+
var federationTrustAnchorControllerDelete = (options) => (options.client ?? client).delete({
|
|
1415
1288
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1416
|
-
url: "/api/
|
|
1289
|
+
url: "/api/federation-trust-anchor/{id}",
|
|
1417
1290
|
...options
|
|
1418
1291
|
});
|
|
1419
|
-
var
|
|
1292
|
+
var federationTrustAnchorControllerGetById = (options) => (options.client ?? client).get({
|
|
1420
1293
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1421
|
-
url: "/api/
|
|
1294
|
+
url: "/api/federation-trust-anchor/{id}",
|
|
1295
|
+
...options
|
|
1296
|
+
});
|
|
1297
|
+
var federationTrustAnchorControllerUpdate = (options) => (options.client ?? client).patch({
|
|
1298
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1299
|
+
url: "/api/federation-trust-anchor/{id}",
|
|
1422
1300
|
...options,
|
|
1423
1301
|
headers: {
|
|
1424
1302
|
"Content-Type": "application/json",
|
|
1425
1303
|
...options.headers
|
|
1426
1304
|
}
|
|
1427
1305
|
});
|
|
1428
|
-
var
|
|
1306
|
+
var sessionControllerGetAllSessions = (options) => (options?.client ?? client).get({
|
|
1429
1307
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1430
|
-
url: "/api/
|
|
1308
|
+
url: "/api/session",
|
|
1309
|
+
...options
|
|
1310
|
+
});
|
|
1311
|
+
var sessionControllerGetSessionStats = (options) => (options?.client ?? client).get({
|
|
1312
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1313
|
+
url: "/api/session/stats",
|
|
1314
|
+
...options
|
|
1315
|
+
});
|
|
1316
|
+
var sessionControllerDeleteSession = (options) => (options.client ?? client).delete({
|
|
1317
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1318
|
+
url: "/api/session/{id}",
|
|
1319
|
+
...options
|
|
1320
|
+
});
|
|
1321
|
+
var sessionControllerGetSession = (options) => (options.client ?? client).get({
|
|
1322
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1323
|
+
url: "/api/session/{id}",
|
|
1324
|
+
...options
|
|
1325
|
+
});
|
|
1326
|
+
var sessionControllerCancel = (options) => (options.client ?? client).post({
|
|
1327
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1328
|
+
url: "/api/session/{id}/cancel",
|
|
1431
1329
|
...options,
|
|
1432
1330
|
headers: {
|
|
1433
1331
|
"Content-Type": "application/json",
|
|
1434
1332
|
...options.headers
|
|
1435
1333
|
}
|
|
1436
1334
|
});
|
|
1437
|
-
var
|
|
1335
|
+
var sessionControllerGetSessionLogs = (options) => (options.client ?? client).get({
|
|
1438
1336
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1439
|
-
url: "/api/
|
|
1337
|
+
url: "/api/session/{id}/logs",
|
|
1440
1338
|
...options
|
|
1441
1339
|
});
|
|
1442
|
-
var
|
|
1340
|
+
var sessionControllerGetCredentialStatus = (options) => (options.client ?? client).get({
|
|
1443
1341
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1444
|
-
url: "/api/
|
|
1342
|
+
url: "/api/session/{id}/credential-status",
|
|
1445
1343
|
...options
|
|
1446
1344
|
});
|
|
1447
|
-
var
|
|
1345
|
+
var sessionControllerRevokeAll = (options) => (options.client ?? client).post({
|
|
1448
1346
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1449
|
-
url: "/api/
|
|
1450
|
-
...options
|
|
1347
|
+
url: "/api/session/revoke",
|
|
1348
|
+
...options,
|
|
1349
|
+
headers: {
|
|
1350
|
+
"Content-Type": "application/json",
|
|
1351
|
+
...options.headers
|
|
1352
|
+
}
|
|
1451
1353
|
});
|
|
1452
|
-
var
|
|
1354
|
+
var sessionConfigControllerResetConfig = (options) => (options?.client ?? client).delete({
|
|
1453
1355
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1454
|
-
url: "/api/
|
|
1356
|
+
url: "/api/session-config",
|
|
1455
1357
|
...options
|
|
1456
1358
|
});
|
|
1457
|
-
var
|
|
1359
|
+
var sessionConfigControllerGetConfig = (options) => (options?.client ?? client).get({
|
|
1458
1360
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1459
|
-
url: "/api/
|
|
1361
|
+
url: "/api/session-config",
|
|
1460
1362
|
...options
|
|
1461
1363
|
});
|
|
1462
|
-
var
|
|
1364
|
+
var sessionConfigControllerUpdateConfig = (options) => (options.client ?? client).put({
|
|
1463
1365
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1464
|
-
url: "/api/
|
|
1366
|
+
url: "/api/session-config",
|
|
1465
1367
|
...options,
|
|
1466
1368
|
headers: {
|
|
1467
1369
|
"Content-Type": "application/json",
|
|
1468
1370
|
...options.headers
|
|
1469
1371
|
}
|
|
1470
1372
|
});
|
|
1471
|
-
var
|
|
1373
|
+
var sessionEventsControllerSubscribeToSessionEvents = (options) => (options.client ?? client).sse.get({
|
|
1472
1374
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1473
|
-
url: "/api/
|
|
1375
|
+
url: "/api/session/{id}/events",
|
|
1474
1376
|
...options
|
|
1475
1377
|
});
|
|
1476
|
-
var
|
|
1378
|
+
var statusListConfigControllerResetConfig = (options) => (options?.client ?? client).delete({
|
|
1379
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1380
|
+
url: "/api/status-list-config",
|
|
1381
|
+
...options
|
|
1382
|
+
});
|
|
1383
|
+
var statusListConfigControllerGetConfig = (options) => (options?.client ?? client).get({
|
|
1384
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1385
|
+
url: "/api/status-list-config",
|
|
1386
|
+
...options
|
|
1387
|
+
});
|
|
1388
|
+
var statusListConfigControllerUpdateConfig = (options) => (options.client ?? client).put({
|
|
1389
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1390
|
+
url: "/api/status-list-config",
|
|
1391
|
+
...options,
|
|
1392
|
+
headers: {
|
|
1393
|
+
"Content-Type": "application/json",
|
|
1394
|
+
...options.headers
|
|
1395
|
+
}
|
|
1396
|
+
});
|
|
1397
|
+
var statusListManagementControllerGetLists = (options) => (options?.client ?? client).get({
|
|
1477
1398
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1478
|
-
url: "/api/
|
|
1399
|
+
url: "/api/status-lists",
|
|
1479
1400
|
...options
|
|
1480
1401
|
});
|
|
1481
|
-
var
|
|
1402
|
+
var statusListManagementControllerCreateList = (options) => (options.client ?? client).post({
|
|
1403
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1404
|
+
url: "/api/status-lists",
|
|
1405
|
+
...options,
|
|
1406
|
+
headers: {
|
|
1407
|
+
"Content-Type": "application/json",
|
|
1408
|
+
...options.headers
|
|
1409
|
+
}
|
|
1410
|
+
});
|
|
1411
|
+
var statusListManagementControllerDeleteList = (options) => (options.client ?? client).delete({
|
|
1482
1412
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1483
|
-
url: "/api/
|
|
1413
|
+
url: "/api/status-lists/{listId}",
|
|
1484
1414
|
...options
|
|
1485
1415
|
});
|
|
1486
|
-
var
|
|
1416
|
+
var statusListManagementControllerGetList = (options) => (options.client ?? client).get({
|
|
1487
1417
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1488
|
-
url: "/api/
|
|
1418
|
+
url: "/api/status-lists/{listId}",
|
|
1489
1419
|
...options
|
|
1490
1420
|
});
|
|
1491
|
-
var
|
|
1421
|
+
var statusListManagementControllerUpdateList = (options) => (options.client ?? client).patch({
|
|
1492
1422
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1493
|
-
url: "/api/
|
|
1423
|
+
url: "/api/status-lists/{listId}",
|
|
1494
1424
|
...options,
|
|
1495
1425
|
headers: {
|
|
1496
1426
|
"Content-Type": "application/json",
|
|
@@ -1530,6 +1460,20 @@ var webhookEndpointControllerUpdate = (options) => (options.client ?? client).pa
|
|
|
1530
1460
|
...options.headers
|
|
1531
1461
|
}
|
|
1532
1462
|
});
|
|
1463
|
+
var issuanceConfigControllerGetIssuanceConfigurations = (options) => (options?.client ?? client).get({
|
|
1464
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1465
|
+
url: "/api/issuer/config",
|
|
1466
|
+
...options
|
|
1467
|
+
});
|
|
1468
|
+
var issuanceConfigControllerStoreIssuanceConfiguration = (options) => (options.client ?? client).post({
|
|
1469
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1470
|
+
url: "/api/issuer/config",
|
|
1471
|
+
...options,
|
|
1472
|
+
headers: {
|
|
1473
|
+
"Content-Type": "application/json",
|
|
1474
|
+
...options.headers
|
|
1475
|
+
}
|
|
1476
|
+
});
|
|
1533
1477
|
var credentialOfferControllerGetOffer = (options) => (options.client ?? client).post({
|
|
1534
1478
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1535
1479
|
url: "/api/issuer/offer",
|
|
@@ -1566,6 +1510,103 @@ var verifierOfferControllerGetOffer = (options) => (options.client ?? client).po
|
|
|
1566
1510
|
...options.headers
|
|
1567
1511
|
}
|
|
1568
1512
|
});
|
|
1513
|
+
var oidcClientControllerList = (options) => (options?.client ?? client).get({
|
|
1514
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1515
|
+
url: "/api/verifier/oidc-clients",
|
|
1516
|
+
...options
|
|
1517
|
+
});
|
|
1518
|
+
var oidcClientControllerCreate = (options) => (options.client ?? client).post({
|
|
1519
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1520
|
+
url: "/api/verifier/oidc-clients",
|
|
1521
|
+
...options,
|
|
1522
|
+
headers: {
|
|
1523
|
+
"Content-Type": "application/json",
|
|
1524
|
+
...options.headers
|
|
1525
|
+
}
|
|
1526
|
+
});
|
|
1527
|
+
var oidcClientControllerDelete = (options) => (options.client ?? client).delete({
|
|
1528
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1529
|
+
url: "/api/verifier/oidc-clients/{id}",
|
|
1530
|
+
...options
|
|
1531
|
+
});
|
|
1532
|
+
var oidcClientControllerGet = (options) => (options.client ?? client).get({
|
|
1533
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1534
|
+
url: "/api/verifier/oidc-clients/{id}",
|
|
1535
|
+
...options
|
|
1536
|
+
});
|
|
1537
|
+
var oidcClientControllerUpdate = (options) => (options.client ?? client).patch({
|
|
1538
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1539
|
+
url: "/api/verifier/oidc-clients/{id}",
|
|
1540
|
+
...options,
|
|
1541
|
+
headers: {
|
|
1542
|
+
"Content-Type": "application/json",
|
|
1543
|
+
...options.headers
|
|
1544
|
+
}
|
|
1545
|
+
});
|
|
1546
|
+
var oidcClientControllerAddSecret = (options) => (options.client ?? client).post({
|
|
1547
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1548
|
+
url: "/api/verifier/oidc-clients/{id}/secrets",
|
|
1549
|
+
...options
|
|
1550
|
+
});
|
|
1551
|
+
var oidcClientControllerDeleteSecret = (options) => (options.client ?? client).delete({
|
|
1552
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1553
|
+
url: "/api/verifier/oidc-clients/{id}/secrets/{secretId}",
|
|
1554
|
+
...options
|
|
1555
|
+
});
|
|
1556
|
+
var oidcClientControllerUpdateSecret = (options) => (options.client ?? client).patch({
|
|
1557
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1558
|
+
url: "/api/verifier/oidc-clients/{id}/secrets/{secretId}",
|
|
1559
|
+
...options,
|
|
1560
|
+
headers: {
|
|
1561
|
+
"Content-Type": "application/json",
|
|
1562
|
+
...options.headers
|
|
1563
|
+
}
|
|
1564
|
+
});
|
|
1565
|
+
var eudiHubControllerListOrganizations = (options) => (options.client ?? client).post({
|
|
1566
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1567
|
+
url: "/api/eudi-hub/organizations",
|
|
1568
|
+
...options,
|
|
1569
|
+
headers: {
|
|
1570
|
+
"Content-Type": "application/json",
|
|
1571
|
+
...options.headers
|
|
1572
|
+
}
|
|
1573
|
+
});
|
|
1574
|
+
var eudiHubControllerRequestAccessCertificate = (options) => (options.client ?? client).post({
|
|
1575
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1576
|
+
url: "/api/eudi-hub/access-certificate",
|
|
1577
|
+
...options,
|
|
1578
|
+
headers: {
|
|
1579
|
+
"Content-Type": "application/json",
|
|
1580
|
+
...options.headers
|
|
1581
|
+
}
|
|
1582
|
+
});
|
|
1583
|
+
var eudiHubControllerOrganizationDetails = (options) => (options.client ?? client).post({
|
|
1584
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1585
|
+
url: "/api/eudi-hub/organization-details",
|
|
1586
|
+
...options,
|
|
1587
|
+
headers: {
|
|
1588
|
+
"Content-Type": "application/json",
|
|
1589
|
+
...options.headers
|
|
1590
|
+
}
|
|
1591
|
+
});
|
|
1592
|
+
var eudiHubControllerRequestPresentationRegistrationCertificate = (options) => (options.client ?? client).post({
|
|
1593
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1594
|
+
url: "/api/eudi-hub/registration-certificate/presentation",
|
|
1595
|
+
...options,
|
|
1596
|
+
headers: {
|
|
1597
|
+
"Content-Type": "application/json",
|
|
1598
|
+
...options.headers
|
|
1599
|
+
}
|
|
1600
|
+
});
|
|
1601
|
+
var eudiHubControllerRequestIssuerRegistrationCertificate = (options) => (options.client ?? client).post({
|
|
1602
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1603
|
+
url: "/api/eudi-hub/registration-certificate/issuer",
|
|
1604
|
+
...options,
|
|
1605
|
+
headers: {
|
|
1606
|
+
"Content-Type": "application/json",
|
|
1607
|
+
...options.headers
|
|
1608
|
+
}
|
|
1609
|
+
});
|
|
1569
1610
|
var storageControllerUpload = (options) => (options.client ?? client).post({
|
|
1570
1611
|
...formDataBodySerializer,
|
|
1571
1612
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -1626,6 +1667,16 @@ var configPortabilityControllerResources = (options) => (options?.client ?? clie
|
|
|
1626
1667
|
url: "/api/config-bundles/resources",
|
|
1627
1668
|
...options
|
|
1628
1669
|
});
|
|
1670
|
+
var configPortabilityControllerResourcesOfKind = (options) => (options.client ?? client).get({
|
|
1671
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1672
|
+
url: "/api/config-bundles/resources/{kind}",
|
|
1673
|
+
...options
|
|
1674
|
+
});
|
|
1675
|
+
var configPortabilityControllerExportDocument = (options) => (options.client ?? client).get({
|
|
1676
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1677
|
+
url: "/api/config-bundles/resources/{kind}/{id}/document",
|
|
1678
|
+
...options
|
|
1679
|
+
});
|
|
1629
1680
|
var configPortabilityControllerDetach = (options) => (options.client ?? client).post({
|
|
1630
1681
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1631
1682
|
url: "/api/config-bundles/resources/{kind}/{id}/detach",
|
|
@@ -2201,6 +2252,112 @@ async function submitDcApiResponse(options) {
|
|
|
2201
2252
|
return mapDcApiPresentationResult(result);
|
|
2202
2253
|
}
|
|
2203
2254
|
|
|
2255
|
+
// src/config/constraints.ts
|
|
2256
|
+
var VALUE_KEYWORDS = /* @__PURE__ */ new Set([
|
|
2257
|
+
"type",
|
|
2258
|
+
"enum",
|
|
2259
|
+
"const",
|
|
2260
|
+
"multipleOf",
|
|
2261
|
+
"maximum",
|
|
2262
|
+
"exclusiveMaximum",
|
|
2263
|
+
"minimum",
|
|
2264
|
+
"exclusiveMinimum",
|
|
2265
|
+
"maxLength",
|
|
2266
|
+
"minLength",
|
|
2267
|
+
"pattern",
|
|
2268
|
+
"maxItems",
|
|
2269
|
+
"minItems",
|
|
2270
|
+
"uniqueItems",
|
|
2271
|
+
"maxContains",
|
|
2272
|
+
"minContains",
|
|
2273
|
+
"maxProperties",
|
|
2274
|
+
"minProperties",
|
|
2275
|
+
"required",
|
|
2276
|
+
"dependentRequired",
|
|
2277
|
+
"title",
|
|
2278
|
+
"description",
|
|
2279
|
+
"default",
|
|
2280
|
+
"examples",
|
|
2281
|
+
"deprecated",
|
|
2282
|
+
"readOnly",
|
|
2283
|
+
"writeOnly",
|
|
2284
|
+
"$comment"
|
|
2285
|
+
]);
|
|
2286
|
+
var SCHEMA_KEYWORDS = /* @__PURE__ */ new Set([
|
|
2287
|
+
"items",
|
|
2288
|
+
"contains",
|
|
2289
|
+
"additionalProperties",
|
|
2290
|
+
"propertyNames",
|
|
2291
|
+
"not",
|
|
2292
|
+
"if",
|
|
2293
|
+
"then",
|
|
2294
|
+
"else",
|
|
2295
|
+
"unevaluatedItems",
|
|
2296
|
+
"unevaluatedProperties"
|
|
2297
|
+
]);
|
|
2298
|
+
var SCHEMA_LIST_KEYWORDS = /* @__PURE__ */ new Set(["prefixItems", "allOf", "anyOf", "oneOf"]);
|
|
2299
|
+
var SCHEMA_MAP_KEYWORDS = /* @__PURE__ */ new Set([
|
|
2300
|
+
"properties",
|
|
2301
|
+
"patternProperties",
|
|
2302
|
+
"dependentSchemas"
|
|
2303
|
+
]);
|
|
2304
|
+
function isPlainObject(value) {
|
|
2305
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
2306
|
+
}
|
|
2307
|
+
function pointer(path, segment) {
|
|
2308
|
+
return `${path}/${String(segment).replaceAll("~", "~0").replaceAll("/", "~1")}`;
|
|
2309
|
+
}
|
|
2310
|
+
function sanitizeSchema(value, path, removed) {
|
|
2311
|
+
if (typeof value === "boolean") {
|
|
2312
|
+
return value;
|
|
2313
|
+
}
|
|
2314
|
+
if (!isPlainObject(value)) {
|
|
2315
|
+
removed.push({ pointer: path, reason: "not-a-schema" });
|
|
2316
|
+
return void 0;
|
|
2317
|
+
}
|
|
2318
|
+
const entries = [];
|
|
2319
|
+
for (const [key, child] of Object.entries(value)) {
|
|
2320
|
+
const childPath = pointer(path, key);
|
|
2321
|
+
if (VALUE_KEYWORDS.has(key)) {
|
|
2322
|
+
entries.push([key, child]);
|
|
2323
|
+
} else if (SCHEMA_KEYWORDS.has(key)) {
|
|
2324
|
+
const schema = sanitizeSchema(child, childPath, removed);
|
|
2325
|
+
if (schema !== void 0) {
|
|
2326
|
+
entries.push([key, schema]);
|
|
2327
|
+
}
|
|
2328
|
+
} else if (SCHEMA_LIST_KEYWORDS.has(key) && Array.isArray(child)) {
|
|
2329
|
+
entries.push([
|
|
2330
|
+
key,
|
|
2331
|
+
child.map((schema, index) => sanitizeSchema(schema, pointer(childPath, index), removed)).filter((schema) => schema !== void 0)
|
|
2332
|
+
]);
|
|
2333
|
+
} else if (SCHEMA_MAP_KEYWORDS.has(key) && isPlainObject(child)) {
|
|
2334
|
+
entries.push([
|
|
2335
|
+
key,
|
|
2336
|
+
Object.fromEntries(
|
|
2337
|
+
Object.entries(child).map(
|
|
2338
|
+
([name, schema]) => [name, sanitizeSchema(schema, pointer(childPath, name), removed)]
|
|
2339
|
+
).filter(([, schema]) => schema !== void 0)
|
|
2340
|
+
)
|
|
2341
|
+
]);
|
|
2342
|
+
} else {
|
|
2343
|
+
removed.push({
|
|
2344
|
+
pointer: childPath,
|
|
2345
|
+
reason: SCHEMA_LIST_KEYWORDS.has(key) ? "not-a-list" : SCHEMA_MAP_KEYWORDS.has(key) ? "not-a-map" : "unknown-keyword"
|
|
2346
|
+
});
|
|
2347
|
+
}
|
|
2348
|
+
}
|
|
2349
|
+
return Object.fromEntries(entries);
|
|
2350
|
+
}
|
|
2351
|
+
function sanitizeConstraints(constraints) {
|
|
2352
|
+
const schema = sanitizeSchema(constraints, "", []);
|
|
2353
|
+
return isPlainObject(schema) ? schema : {};
|
|
2354
|
+
}
|
|
2355
|
+
function unsupportedConstraints(constraints) {
|
|
2356
|
+
const removed = [];
|
|
2357
|
+
sanitizeSchema(constraints, "", removed);
|
|
2358
|
+
return removed;
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2204
2361
|
// src/config/derive.ts
|
|
2205
2362
|
var JSON_SCHEMA_DRAFT_2020_12 = "https://json-schema.org/draft/2020-12/schema";
|
|
2206
2363
|
function resolveChildPath(parentPath, parentType, childPath) {
|
|
@@ -2246,8 +2403,19 @@ function segmentToKey(segment) {
|
|
|
2246
2403
|
}
|
|
2247
2404
|
return String(segment);
|
|
2248
2405
|
}
|
|
2406
|
+
function getOwn(target, key) {
|
|
2407
|
+
return Object.hasOwn(target, key) ? target[key] : void 0;
|
|
2408
|
+
}
|
|
2409
|
+
function setOwn(target, key, value) {
|
|
2410
|
+
Object.defineProperty(target, key, {
|
|
2411
|
+
value,
|
|
2412
|
+
writable: true,
|
|
2413
|
+
enumerable: true,
|
|
2414
|
+
configurable: true
|
|
2415
|
+
});
|
|
2416
|
+
}
|
|
2249
2417
|
function getOrCreateChild(target, key, nextIsArray) {
|
|
2250
|
-
const current = target
|
|
2418
|
+
const current = getOwn(target, key);
|
|
2251
2419
|
if (current !== void 0) {
|
|
2252
2420
|
if (Array.isArray(current)) {
|
|
2253
2421
|
return current;
|
|
@@ -2257,7 +2425,7 @@ function getOrCreateChild(target, key, nextIsArray) {
|
|
|
2257
2425
|
}
|
|
2258
2426
|
}
|
|
2259
2427
|
const created = nextIsArray ? [] : {};
|
|
2260
|
-
target
|
|
2428
|
+
setOwn(target, key, created);
|
|
2261
2429
|
return created;
|
|
2262
2430
|
}
|
|
2263
2431
|
function setValueAtPath(target, path, value) {
|
|
@@ -2287,7 +2455,7 @@ function setValueAtPath(target, path, value) {
|
|
|
2287
2455
|
}
|
|
2288
2456
|
const key = segmentToKey(segment);
|
|
2289
2457
|
if (isLast) {
|
|
2290
|
-
cursor
|
|
2458
|
+
setOwn(cursor, key, value);
|
|
2291
2459
|
return;
|
|
2292
2460
|
}
|
|
2293
2461
|
cursor = getOrCreateChild(cursor, key, typeof next === "number");
|
|
@@ -2331,13 +2499,15 @@ function ensureSchemaNode(root, path) {
|
|
|
2331
2499
|
}
|
|
2332
2500
|
const key = segmentToKey(segment);
|
|
2333
2501
|
cursor.properties ??= {};
|
|
2334
|
-
|
|
2335
|
-
|
|
2502
|
+
let child = getOwn(cursor.properties, key);
|
|
2503
|
+
if (!child) {
|
|
2504
|
+
child = {
|
|
2336
2505
|
type: "object",
|
|
2337
2506
|
properties: {}
|
|
2338
2507
|
};
|
|
2508
|
+
setOwn(cursor.properties, key, child);
|
|
2339
2509
|
}
|
|
2340
|
-
cursor =
|
|
2510
|
+
cursor = child;
|
|
2341
2511
|
}
|
|
2342
2512
|
return cursor;
|
|
2343
2513
|
}
|
|
@@ -2345,11 +2515,12 @@ function ensureFrameNode(root, path) {
|
|
|
2345
2515
|
let cursor = root;
|
|
2346
2516
|
for (const segment of path) {
|
|
2347
2517
|
const key = segmentToKey(segment);
|
|
2348
|
-
|
|
2518
|
+
let current = getOwn(cursor, key);
|
|
2349
2519
|
if (!current || typeof current !== "object" || Array.isArray(current)) {
|
|
2350
|
-
|
|
2520
|
+
current = {};
|
|
2521
|
+
setOwn(cursor, key, current);
|
|
2351
2522
|
}
|
|
2352
|
-
cursor =
|
|
2523
|
+
cursor = current;
|
|
2353
2524
|
}
|
|
2354
2525
|
return cursor;
|
|
2355
2526
|
}
|
|
@@ -2398,9 +2569,12 @@ function buildClaimsMetadata(fields) {
|
|
|
2398
2569
|
}
|
|
2399
2570
|
function buildLeafSchema(field) {
|
|
2400
2571
|
const schema = {
|
|
2401
|
-
...field.constraints,
|
|
2572
|
+
...sanitizeConstraints(field.constraints),
|
|
2402
2573
|
type: field.type
|
|
2403
2574
|
};
|
|
2575
|
+
if (field.format) {
|
|
2576
|
+
schema.format = field.format;
|
|
2577
|
+
}
|
|
2404
2578
|
const title = getDisplayTitle(field.display);
|
|
2405
2579
|
if (title) {
|
|
2406
2580
|
schema.title = title;
|
|
@@ -2438,8 +2612,12 @@ function buildJsonSchema(fields) {
|
|
|
2438
2612
|
}
|
|
2439
2613
|
const leafKey = segmentToKey(leafSegment ?? "");
|
|
2440
2614
|
parent.properties ??= {};
|
|
2441
|
-
const existing = parent.properties
|
|
2442
|
-
|
|
2615
|
+
const existing = getOwn(parent.properties, leafKey);
|
|
2616
|
+
setOwn(
|
|
2617
|
+
parent.properties,
|
|
2618
|
+
leafKey,
|
|
2619
|
+
existing && typeof existing === "object" && !Array.isArray(existing) ? mergeLeafSchema(existing, leafSchema) : leafSchema
|
|
2620
|
+
);
|
|
2443
2621
|
if (field.mandatory) {
|
|
2444
2622
|
addRequired(parent, leafKey);
|
|
2445
2623
|
}
|
|
@@ -2452,10 +2630,14 @@ function buildClaimsByNamespace(fields) {
|
|
|
2452
2630
|
if (!field.namespace || !Object.prototype.hasOwnProperty.call(field, "defaultValue")) {
|
|
2453
2631
|
continue;
|
|
2454
2632
|
}
|
|
2455
|
-
|
|
2456
|
-
byNamespace
|
|
2633
|
+
let namespaceTarget = getOwn(
|
|
2634
|
+
byNamespace,
|
|
2635
|
+
field.namespace
|
|
2636
|
+
);
|
|
2637
|
+
if (!namespaceTarget) {
|
|
2638
|
+
namespaceTarget = {};
|
|
2639
|
+
setOwn(byNamespace, field.namespace, namespaceTarget);
|
|
2457
2640
|
}
|
|
2458
|
-
const namespaceTarget = byNamespace[field.namespace];
|
|
2459
2641
|
const normalizedPath = field.path.length > 0 && segmentToKey(field.path[0] ?? "") === field.namespace ? field.path.slice(1) : field.path;
|
|
2460
2642
|
setValueAtPath(namespaceTarget, normalizedPath, field.defaultValue);
|
|
2461
2643
|
}
|
|
@@ -2471,6 +2653,42 @@ function deriveRuntimeArtifacts(fields) {
|
|
|
2471
2653
|
};
|
|
2472
2654
|
}
|
|
2473
2655
|
|
|
2656
|
+
// src/config/formats.ts
|
|
2657
|
+
var CLAIM_FIELD_FORMATS = ["date", "date-time"];
|
|
2658
|
+
var FULL_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
|
|
2659
|
+
var DATE_TIME = /^(\d{4}-\d{2}-\d{2})[Tt](\d{2}):(\d{2}):(\d{2})(\.\d+)?([Zz]|[+-](\d{2}):(\d{2}))$/;
|
|
2660
|
+
function daysInMonth(year, month) {
|
|
2661
|
+
if (month === 2) {
|
|
2662
|
+
const leap = year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;
|
|
2663
|
+
return leap ? 29 : 28;
|
|
2664
|
+
}
|
|
2665
|
+
return [4, 6, 9, 11].includes(month) ? 30 : 31;
|
|
2666
|
+
}
|
|
2667
|
+
function isFullDate(value) {
|
|
2668
|
+
const match = FULL_DATE.exec(value);
|
|
2669
|
+
if (!match) return false;
|
|
2670
|
+
const year = Number(match[1]);
|
|
2671
|
+
const month = Number(match[2]);
|
|
2672
|
+
const day = Number(match[3]);
|
|
2673
|
+
return month >= 1 && month <= 12 && day >= 1 && day <= daysInMonth(year, month);
|
|
2674
|
+
}
|
|
2675
|
+
function isDateTime(value) {
|
|
2676
|
+
const match = DATE_TIME.exec(value);
|
|
2677
|
+
if (!match || !isFullDate(match[1])) return false;
|
|
2678
|
+
const [hour, minute, second] = [match[2], match[3], match[4]].map(Number);
|
|
2679
|
+
if (hour > 23 || minute > 59 || second > 59) return false;
|
|
2680
|
+
if (match[7] !== void 0) {
|
|
2681
|
+
if (Number(match[7]) > 23 || Number(match[8]) > 59) return false;
|
|
2682
|
+
}
|
|
2683
|
+
return true;
|
|
2684
|
+
}
|
|
2685
|
+
var CLAIM_FIELD_FORMAT_VALIDATORS = {
|
|
2686
|
+
date: isFullDate,
|
|
2687
|
+
"date-time": isDateTime
|
|
2688
|
+
};
|
|
2689
|
+
|
|
2690
|
+
exports.CLAIM_FIELD_FORMATS = CLAIM_FIELD_FORMATS;
|
|
2691
|
+
exports.CLAIM_FIELD_FORMAT_VALIDATORS = CLAIM_FIELD_FORMAT_VALIDATORS;
|
|
2474
2692
|
exports.EudiploClient = EudiploClient;
|
|
2475
2693
|
exports.appControllerGetFrontendConfig = appControllerGetFrontendConfig;
|
|
2476
2694
|
exports.appControllerGetVersion = appControllerGetVersion;
|
|
@@ -2480,6 +2698,9 @@ exports.attributeProviderControllerGetAll = attributeProviderControllerGetAll;
|
|
|
2480
2698
|
exports.attributeProviderControllerGetById = attributeProviderControllerGetById;
|
|
2481
2699
|
exports.attributeProviderControllerUpdate = attributeProviderControllerUpdate;
|
|
2482
2700
|
exports.auditLogControllerGetAuditLogs = auditLogControllerGetAuditLogs;
|
|
2701
|
+
exports.auditLogControllerGetRetention = auditLogControllerGetRetention;
|
|
2702
|
+
exports.auditLogControllerSearchAuditLogs = auditLogControllerSearchAuditLogs;
|
|
2703
|
+
exports.authControllerGetCaller = authControllerGetCaller;
|
|
2483
2704
|
exports.authControllerGetOAuth2Token = authControllerGetOAuth2Token;
|
|
2484
2705
|
exports.buildClaims = buildClaims;
|
|
2485
2706
|
exports.buildClaimsByNamespace = buildClaimsByNamespace;
|
|
@@ -2489,6 +2710,7 @@ exports.buildJsonSchema = buildJsonSchema;
|
|
|
2489
2710
|
exports.cacheControllerClearAllCaches = cacheControllerClearAllCaches;
|
|
2490
2711
|
exports.cacheControllerClearStatusListCache = cacheControllerClearStatusListCache;
|
|
2491
2712
|
exports.cacheControllerClearTrustListCache = cacheControllerClearTrustListCache;
|
|
2713
|
+
exports.cacheControllerForgetTrustListSequenceNumbers = cacheControllerForgetTrustListSequenceNumbers;
|
|
2492
2714
|
exports.cacheControllerGetStats = cacheControllerGetStats;
|
|
2493
2715
|
exports.client = client;
|
|
2494
2716
|
exports.clientControllerCreateClient = clientControllerCreateClient;
|
|
@@ -2500,6 +2722,7 @@ exports.clientControllerUpdateClient = clientControllerUpdateClient;
|
|
|
2500
2722
|
exports.configPortabilityControllerAcknowledgeInterruption = configPortabilityControllerAcknowledgeInterruption;
|
|
2501
2723
|
exports.configPortabilityControllerDetach = configPortabilityControllerDetach;
|
|
2502
2724
|
exports.configPortabilityControllerExport = configPortabilityControllerExport;
|
|
2725
|
+
exports.configPortabilityControllerExportDocument = configPortabilityControllerExportDocument;
|
|
2503
2726
|
exports.configPortabilityControllerImport = configPortabilityControllerImport;
|
|
2504
2727
|
exports.configPortabilityControllerImportArchive = configPortabilityControllerImportArchive;
|
|
2505
2728
|
exports.configPortabilityControllerOperation = configPortabilityControllerOperation;
|
|
@@ -2509,6 +2732,7 @@ exports.configPortabilityControllerPlanArchive = configPortabilityControllerPlan
|
|
|
2509
2732
|
exports.configPortabilityControllerPlanReattach = configPortabilityControllerPlanReattach;
|
|
2510
2733
|
exports.configPortabilityControllerReattach = configPortabilityControllerReattach;
|
|
2511
2734
|
exports.configPortabilityControllerResources = configPortabilityControllerResources;
|
|
2735
|
+
exports.configPortabilityControllerResourcesOfKind = configPortabilityControllerResourcesOfKind;
|
|
2512
2736
|
exports.configPortabilityControllerUpgrade = configPortabilityControllerUpgrade;
|
|
2513
2737
|
exports.credentialConfigControllerDeleteIssuanceConfiguration = credentialConfigControllerDeleteIssuanceConfiguration;
|
|
2514
2738
|
exports.credentialConfigControllerGetConfigById = credentialConfigControllerGetConfigById;
|
|
@@ -2516,15 +2740,29 @@ exports.credentialConfigControllerGetConfigs = credentialConfigControllerGetConf
|
|
|
2516
2740
|
exports.credentialConfigControllerStoreCredentialConfiguration = credentialConfigControllerStoreCredentialConfiguration;
|
|
2517
2741
|
exports.credentialConfigControllerUpdateCredentialConfiguration = credentialConfigControllerUpdateCredentialConfiguration;
|
|
2518
2742
|
exports.credentialOfferControllerGetOffer = credentialOfferControllerGetOffer;
|
|
2743
|
+
exports.defaultAccessKeyChainControllerGet = defaultAccessKeyChainControllerGet;
|
|
2744
|
+
exports.defaultAccessKeyChainControllerSet = defaultAccessKeyChainControllerSet;
|
|
2519
2745
|
exports.deferredControllerCompleteDeferred = deferredControllerCompleteDeferred;
|
|
2520
2746
|
exports.deferredControllerFailDeferred = deferredControllerFailDeferred;
|
|
2521
2747
|
exports.deriveRuntimeArtifacts = deriveRuntimeArtifacts;
|
|
2748
|
+
exports.eudiHubControllerListOrganizations = eudiHubControllerListOrganizations;
|
|
2749
|
+
exports.eudiHubControllerOrganizationDetails = eudiHubControllerOrganizationDetails;
|
|
2750
|
+
exports.eudiHubControllerRequestAccessCertificate = eudiHubControllerRequestAccessCertificate;
|
|
2751
|
+
exports.eudiHubControllerRequestIssuerRegistrationCertificate = eudiHubControllerRequestIssuerRegistrationCertificate;
|
|
2752
|
+
exports.eudiHubControllerRequestPresentationRegistrationCertificate = eudiHubControllerRequestPresentationRegistrationCertificate;
|
|
2753
|
+
exports.federationTrustAnchorControllerCreate = federationTrustAnchorControllerCreate;
|
|
2754
|
+
exports.federationTrustAnchorControllerDelete = federationTrustAnchorControllerDelete;
|
|
2755
|
+
exports.federationTrustAnchorControllerGetAll = federationTrustAnchorControllerGetAll;
|
|
2756
|
+
exports.federationTrustAnchorControllerGetById = federationTrustAnchorControllerGetById;
|
|
2757
|
+
exports.federationTrustAnchorControllerUpdate = federationTrustAnchorControllerUpdate;
|
|
2522
2758
|
exports.flattenFields = flattenFields;
|
|
2759
|
+
exports.isDateTime = isDateTime;
|
|
2523
2760
|
exports.isDcApiAvailable = isDcApiAvailable;
|
|
2761
|
+
exports.isFullDate = isFullDate;
|
|
2524
2762
|
exports.issuanceConfigControllerGetIssuanceConfigurations = issuanceConfigControllerGetIssuanceConfigurations;
|
|
2525
|
-
exports.issuanceConfigControllerReissueRegistrationCertificate = issuanceConfigControllerReissueRegistrationCertificate;
|
|
2526
2763
|
exports.issuanceConfigControllerStoreIssuanceConfiguration = issuanceConfigControllerStoreIssuanceConfiguration;
|
|
2527
2764
|
exports.keyChainControllerCreate = keyChainControllerCreate;
|
|
2765
|
+
exports.keyChainControllerCreateCsr = keyChainControllerCreateCsr;
|
|
2528
2766
|
exports.keyChainControllerDelete = keyChainControllerDelete;
|
|
2529
2767
|
exports.keyChainControllerDeleteTenantKmsConfig = keyChainControllerDeleteTenantKmsConfig;
|
|
2530
2768
|
exports.keyChainControllerExport = keyChainControllerExport;
|
|
@@ -2537,34 +2775,22 @@ exports.keyChainControllerImport = keyChainControllerImport;
|
|
|
2537
2775
|
exports.keyChainControllerRotate = keyChainControllerRotate;
|
|
2538
2776
|
exports.keyChainControllerUpdate = keyChainControllerUpdate;
|
|
2539
2777
|
exports.keyChainControllerUpdateTenantKmsConfig = keyChainControllerUpdateTenantKmsConfig;
|
|
2778
|
+
exports.oidcClientControllerAddSecret = oidcClientControllerAddSecret;
|
|
2779
|
+
exports.oidcClientControllerCreate = oidcClientControllerCreate;
|
|
2780
|
+
exports.oidcClientControllerDelete = oidcClientControllerDelete;
|
|
2781
|
+
exports.oidcClientControllerDeleteSecret = oidcClientControllerDeleteSecret;
|
|
2782
|
+
exports.oidcClientControllerGet = oidcClientControllerGet;
|
|
2783
|
+
exports.oidcClientControllerList = oidcClientControllerList;
|
|
2784
|
+
exports.oidcClientControllerUpdate = oidcClientControllerUpdate;
|
|
2785
|
+
exports.oidcClientControllerUpdateSecret = oidcClientControllerUpdateSecret;
|
|
2540
2786
|
exports.presentationManagementControllerConfiguration = presentationManagementControllerConfiguration;
|
|
2541
2787
|
exports.presentationManagementControllerDeleteConfiguration = presentationManagementControllerDeleteConfiguration;
|
|
2542
2788
|
exports.presentationManagementControllerGetConfiguration = presentationManagementControllerGetConfiguration;
|
|
2543
|
-
exports.presentationManagementControllerListSchemaMetadataCatalog = presentationManagementControllerListSchemaMetadataCatalog;
|
|
2544
|
-
exports.presentationManagementControllerReissueRegistrationCertificate = presentationManagementControllerReissueRegistrationCertificate;
|
|
2545
2789
|
exports.presentationManagementControllerResolveIssuerMetadata = presentationManagementControllerResolveIssuerMetadata;
|
|
2546
2790
|
exports.presentationManagementControllerResolveSchemaMetadata = presentationManagementControllerResolveSchemaMetadata;
|
|
2547
2791
|
exports.presentationManagementControllerResolveSchemaMetadataJwt = presentationManagementControllerResolveSchemaMetadataJwt;
|
|
2548
2792
|
exports.presentationManagementControllerStorePresentationConfig = presentationManagementControllerStorePresentationConfig;
|
|
2549
2793
|
exports.presentationManagementControllerUpdateConfiguration = presentationManagementControllerUpdateConfiguration;
|
|
2550
|
-
exports.registrarControllerCreateAccessCertificate = registrarControllerCreateAccessCertificate;
|
|
2551
|
-
exports.registrarControllerCreateConfig = registrarControllerCreateConfig;
|
|
2552
|
-
exports.registrarControllerDeleteConfig = registrarControllerDeleteConfig;
|
|
2553
|
-
exports.registrarControllerGetConfig = registrarControllerGetConfig;
|
|
2554
|
-
exports.registrarControllerUpdateConfig = registrarControllerUpdateConfig;
|
|
2555
|
-
exports.schemaMetadataControllerDeprecateVersion = schemaMetadataControllerDeprecateVersion;
|
|
2556
|
-
exports.schemaMetadataControllerFindAll = schemaMetadataControllerFindAll;
|
|
2557
|
-
exports.schemaMetadataControllerFindOne = schemaMetadataControllerFindOne;
|
|
2558
|
-
exports.schemaMetadataControllerGetJwt = schemaMetadataControllerGetJwt;
|
|
2559
|
-
exports.schemaMetadataControllerGetLatest = schemaMetadataControllerGetLatest;
|
|
2560
|
-
exports.schemaMetadataControllerGetMine = schemaMetadataControllerGetMine;
|
|
2561
|
-
exports.schemaMetadataControllerGetSchema = schemaMetadataControllerGetSchema;
|
|
2562
|
-
exports.schemaMetadataControllerGetVersions = schemaMetadataControllerGetVersions;
|
|
2563
|
-
exports.schemaMetadataControllerGetVocabularies = schemaMetadataControllerGetVocabularies;
|
|
2564
|
-
exports.schemaMetadataControllerPublishSchemaMetadata = schemaMetadataControllerPublishSchemaMetadata;
|
|
2565
|
-
exports.schemaMetadataControllerPublishSchemaMetadataVersion = schemaMetadataControllerPublishSchemaMetadataVersion;
|
|
2566
|
-
exports.schemaMetadataControllerRemove = schemaMetadataControllerRemove;
|
|
2567
|
-
exports.schemaMetadataControllerUpdate = schemaMetadataControllerUpdate;
|
|
2568
2794
|
exports.sessionConfigControllerGetConfig = sessionConfigControllerGetConfig;
|
|
2569
2795
|
exports.sessionConfigControllerResetConfig = sessionConfigControllerResetConfig;
|
|
2570
2796
|
exports.sessionConfigControllerUpdateConfig = sessionConfigControllerUpdateConfig;
|
|
@@ -2574,6 +2800,7 @@ exports.sessionControllerGetAllSessions = sessionControllerGetAllSessions;
|
|
|
2574
2800
|
exports.sessionControllerGetCredentialStatus = sessionControllerGetCredentialStatus;
|
|
2575
2801
|
exports.sessionControllerGetSession = sessionControllerGetSession;
|
|
2576
2802
|
exports.sessionControllerGetSessionLogs = sessionControllerGetSessionLogs;
|
|
2803
|
+
exports.sessionControllerGetSessionStats = sessionControllerGetSessionStats;
|
|
2577
2804
|
exports.sessionControllerRevokeAll = sessionControllerRevokeAll;
|
|
2578
2805
|
exports.sessionEventsControllerSubscribeToSessionEvents = sessionEventsControllerSubscribeToSessionEvents;
|
|
2579
2806
|
exports.statusListConfigControllerGetConfig = statusListConfigControllerGetConfig;
|
|
@@ -2598,6 +2825,7 @@ exports.trustListControllerGetTrustList = trustListControllerGetTrustList;
|
|
|
2598
2825
|
exports.trustListControllerGetTrustListVersion = trustListControllerGetTrustListVersion;
|
|
2599
2826
|
exports.trustListControllerGetTrustListVersions = trustListControllerGetTrustListVersions;
|
|
2600
2827
|
exports.trustListControllerUpdateTrustList = trustListControllerUpdateTrustList;
|
|
2828
|
+
exports.unsupportedConstraints = unsupportedConstraints;
|
|
2601
2829
|
exports.userControllerCreateUser = userControllerCreateUser;
|
|
2602
2830
|
exports.userControllerDeleteUser = userControllerDeleteUser;
|
|
2603
2831
|
exports.userControllerGetUser = userControllerGetUser;
|