@eudiplo/sdk-core 1.15.2 → 1.18.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.
@@ -742,10 +742,14 @@ var createClient = (config = {}) => {
742
742
  case "arrayBuffer":
743
743
  case "blob":
744
744
  case "formData":
745
- case "json":
746
745
  case "text":
747
746
  data = await response[parseAs]();
748
747
  break;
748
+ case "json": {
749
+ const text = await response.text();
750
+ data = text ? JSON.parse(text) : {};
751
+ break;
752
+ }
749
753
  case "stream":
750
754
  return opts.responseStyle === "data" ? response.body : {
751
755
  data: response.body,
@@ -927,6 +931,11 @@ var clientControllerGetClientSecret = (options) => (options.client ?? client).ge
927
931
  url: "/client/{id}/secret",
928
932
  ...options
929
933
  });
934
+ var clientControllerRotateClientSecret = (options) => (options.client ?? client).post({
935
+ security: [{ scheme: "bearer", type: "http" }],
936
+ url: "/client/{id}/rotate-secret",
937
+ ...options
938
+ });
930
939
  var keyControllerGetKeys = (options) => (options?.client ?? client).get({
931
940
  security: [{ scheme: "bearer", type: "http" }],
932
941
  url: "/key",
@@ -1146,6 +1155,14 @@ var credentialConfigControllerUpdateCredentialConfiguration = (options) => (opti
1146
1155
  }
1147
1156
  });
1148
1157
  var oid4VciControllerCredential = (options) => (options.client ?? client).post({ url: "/{tenantId}/vci/credential", ...options });
1158
+ var oid4VciControllerDeferredCredential = (options) => (options.client ?? client).post({
1159
+ url: "/{tenantId}/vci/deferred_credential",
1160
+ ...options,
1161
+ headers: {
1162
+ "Content-Type": "application/json",
1163
+ ...options.headers
1164
+ }
1165
+ });
1149
1166
  var oid4VciControllerNotifications = (options) => (options.client ?? client).post({
1150
1167
  url: "/{tenantId}/vci/notification",
1151
1168
  ...options,
@@ -1173,6 +1190,18 @@ var authorizeControllerAuthorizationChallengeEndpoint = (options) => (options.cl
1173
1190
  ...options.headers
1174
1191
  }
1175
1192
  });
1193
+ var interactiveAuthorizationControllerInteractiveAuthorization = (options) => (options.client ?? client).post({
1194
+ url: "/{tenantId}/authorize/interactive",
1195
+ ...options,
1196
+ headers: {
1197
+ "Content-Type": "application/json",
1198
+ ...options.headers
1199
+ }
1200
+ });
1201
+ var interactiveAuthorizationControllerCompleteWebAuth = (options) => (options.client ?? client).post({
1202
+ url: "/{tenantId}/authorize/interactive/complete-web-auth/{authSession}",
1203
+ ...options
1204
+ });
1176
1205
  var credentialOfferControllerGetOffer = (options) => (options.client ?? client).post({
1177
1206
  security: [{ scheme: "bearer", type: "http" }],
1178
1207
  url: "/issuer/offer",
@@ -1182,6 +1211,24 @@ var credentialOfferControllerGetOffer = (options) => (options.client ?? client).
1182
1211
  ...options.headers
1183
1212
  }
1184
1213
  });
1214
+ var deferredControllerCompleteDeferred = (options) => (options.client ?? client).post({
1215
+ security: [{ scheme: "bearer", type: "http" }],
1216
+ url: "/issuer/deferred/{transactionId}/complete",
1217
+ ...options,
1218
+ headers: {
1219
+ "Content-Type": "application/json",
1220
+ ...options.headers
1221
+ }
1222
+ });
1223
+ var deferredControllerFailDeferred = (options) => (options.client ?? client).post({
1224
+ security: [{ scheme: "bearer", type: "http" }],
1225
+ url: "/issuer/deferred/{transactionId}/fail",
1226
+ ...options,
1227
+ headers: {
1228
+ "Content-Type": "application/json",
1229
+ ...options.headers
1230
+ }
1231
+ });
1185
1232
  var oid4VciMetadataControllerVct = (options) => (options.client ?? client).get({ url: "/{tenantId}/credentials-metadata/vct/{id}", ...options });
1186
1233
  var wellKnownControllerIssuerMetadata0 = (options) => (options.client ?? client).get({ url: "/.well-known/openid-credential-issuer/{tenantId}", ...options });
1187
1234
  var wellKnownControllerIssuerMetadata1 = (options) => (options.client ?? client).get({ url: "/{tenantId}/.well-known/openid-credential-issuer", ...options });
@@ -1191,6 +1238,7 @@ var wellKnownControllerGetJwks0 = (options) => (options.client ?? client).get({
1191
1238
  var wellKnownControllerGetJwks1 = (options) => (options.client ?? client).get({ url: "/{tenantId}/.well-known/jwks.json", ...options });
1192
1239
  var oid4VpControllerGetRequestWithSession = (options) => (options.client ?? client).get({ url: "/{session}/oid4vp/request", ...options });
1193
1240
  var oid4VpControllerGetPostRequestWithSession = (options) => (options.client ?? client).post({ url: "/{session}/oid4vp/request", ...options });
1241
+ var oid4VpControllerGetRequestNoRedirectWithSession = (options) => (options.client ?? client).get({ url: "/{session}/oid4vp/request/no-redirect", ...options });
1194
1242
  var oid4VpControllerGetResponse = (options) => (options.client ?? client).post({
1195
1243
  url: "/{session}/oid4vp",
1196
1244
  ...options,
@@ -1199,6 +1247,43 @@ var oid4VpControllerGetResponse = (options) => (options.client ?? client).post({
1199
1247
  ...options.headers
1200
1248
  }
1201
1249
  });
1250
+ var registrarControllerDeleteConfig = (options) => (options?.client ?? client).delete({
1251
+ security: [{ scheme: "bearer", type: "http" }],
1252
+ url: "/registrar/config",
1253
+ ...options
1254
+ });
1255
+ var registrarControllerGetConfig = (options) => (options?.client ?? client).get({
1256
+ security: [{ scheme: "bearer", type: "http" }],
1257
+ url: "/registrar/config",
1258
+ ...options
1259
+ });
1260
+ var registrarControllerUpdateConfig = (options) => (options.client ?? client).patch({
1261
+ security: [{ scheme: "bearer", type: "http" }],
1262
+ url: "/registrar/config",
1263
+ ...options,
1264
+ headers: {
1265
+ "Content-Type": "application/json",
1266
+ ...options.headers
1267
+ }
1268
+ });
1269
+ var registrarControllerCreateConfig = (options) => (options.client ?? client).post({
1270
+ security: [{ scheme: "bearer", type: "http" }],
1271
+ url: "/registrar/config",
1272
+ ...options,
1273
+ headers: {
1274
+ "Content-Type": "application/json",
1275
+ ...options.headers
1276
+ }
1277
+ });
1278
+ var registrarControllerCreateAccessCertificate = (options) => (options.client ?? client).post({
1279
+ security: [{ scheme: "bearer", type: "http" }],
1280
+ url: "/registrar/access-certificate",
1281
+ ...options,
1282
+ headers: {
1283
+ "Content-Type": "application/json",
1284
+ ...options.headers
1285
+ }
1286
+ });
1202
1287
  var presentationManagementControllerConfiguration = (options) => (options?.client ?? client).get({
1203
1288
  security: [{ scheme: "bearer", type: "http" }],
1204
1289
  url: "/verifier/config",
@@ -1232,6 +1317,26 @@ var presentationManagementControllerUpdateConfiguration = (options) => (options.
1232
1317
  ...options.headers
1233
1318
  }
1234
1319
  });
1320
+ var cacheControllerGetStats = (options) => (options?.client ?? client).get({
1321
+ security: [{ scheme: "bearer", type: "http" }],
1322
+ url: "/cache/stats",
1323
+ ...options
1324
+ });
1325
+ var cacheControllerClearAllCaches = (options) => (options?.client ?? client).delete({
1326
+ security: [{ scheme: "bearer", type: "http" }],
1327
+ url: "/cache",
1328
+ ...options
1329
+ });
1330
+ var cacheControllerClearTrustListCache = (options) => (options?.client ?? client).delete({
1331
+ security: [{ scheme: "bearer", type: "http" }],
1332
+ url: "/cache/trust-list",
1333
+ ...options
1334
+ });
1335
+ var cacheControllerClearStatusListCache = (options) => (options?.client ?? client).delete({
1336
+ security: [{ scheme: "bearer", type: "http" }],
1337
+ url: "/cache/status-list",
1338
+ ...options
1339
+ });
1235
1340
  var trustListControllerGetAllTrustLists = (options) => (options?.client ?? client).get({
1236
1341
  security: [{ scheme: "bearer", type: "http" }],
1237
1342
  url: "/trust-list",
@@ -1302,6 +1407,6 @@ var storageControllerUpload = (options) => (options.client ?? client).post({
1302
1407
  });
1303
1408
  var storageControllerDownload = (options) => (options.client ?? client).get({ url: "/storage/{key}", ...options });
1304
1409
 
1305
- export { appControllerMain, authControllerGetGlobalJwks, authControllerGetOAuth2Token, authControllerGetOidcDiscovery, authorizeControllerAuthorizationChallengeEndpoint, authorizeControllerAuthorize, authorizeControllerPar, authorizeControllerToken, certControllerAddCertificate, certControllerDeleteCertificate, certControllerExportConfig, certControllerGetCertificate, certControllerGetCertificates, certControllerUpdateCertificate, client, clientControllerCreateClient, clientControllerDeleteClient, clientControllerGetClient, clientControllerGetClientSecret, clientControllerGetClients, clientControllerUpdateClient, credentialConfigControllerDeleteIssuanceConfiguration, credentialConfigControllerGetConfigById, credentialConfigControllerGetConfigs, credentialConfigControllerStoreCredentialConfiguration, credentialConfigControllerUpdateCredentialConfiguration, credentialOfferControllerGetOffer, healthControllerCheck, issuanceConfigControllerGetIssuanceConfigurations, issuanceConfigControllerStoreIssuanceConfiguration, keyControllerAddKey, keyControllerDeleteKey, keyControllerGetKey, keyControllerGetKeys, keyControllerUpdateKey, oid4VciControllerCredential, oid4VciControllerNonce, oid4VciControllerNotifications, oid4VciMetadataControllerVct, oid4VpControllerGetPostRequestWithSession, oid4VpControllerGetRequestWithSession, oid4VpControllerGetResponse, presentationManagementControllerConfiguration, presentationManagementControllerDeleteConfiguration, presentationManagementControllerGetConfiguration, presentationManagementControllerStorePresentationConfig, presentationManagementControllerUpdateConfiguration, prometheusControllerIndex, sessionConfigControllerGetConfig, sessionConfigControllerResetConfig, sessionConfigControllerUpdateConfig, sessionControllerDeleteSession, sessionControllerGetAllSessions, sessionControllerGetSession, sessionControllerRevokeAll, statusListConfigControllerGetConfig, statusListConfigControllerResetConfig, statusListConfigControllerUpdateConfig, statusListControllerGetList, statusListControllerGetStatusListAggregation, statusListManagementControllerCreateList, statusListManagementControllerDeleteList, statusListManagementControllerGetList, statusListManagementControllerGetLists, statusListManagementControllerUpdateList, storageControllerDownload, storageControllerUpload, tenantControllerDeleteTenant, tenantControllerGetTenant, tenantControllerGetTenants, tenantControllerInitTenant, tenantControllerUpdateTenant, trustListControllerCreateTrustList, trustListControllerDeleteTrustList, trustListControllerExportTrustList, trustListControllerGetAllTrustLists, trustListControllerGetTrustList, trustListControllerGetTrustListVersion, trustListControllerGetTrustListVersions, trustListControllerUpdateTrustList, trustListPublicControllerGetTrustListJwt, verifierOfferControllerGetOffer, wellKnownControllerAuthzMetadata0, wellKnownControllerAuthzMetadata1, wellKnownControllerGetJwks0, wellKnownControllerGetJwks1, wellKnownControllerIssuerMetadata0, wellKnownControllerIssuerMetadata1 };
1410
+ export { appControllerMain, authControllerGetGlobalJwks, authControllerGetOAuth2Token, authControllerGetOidcDiscovery, authorizeControllerAuthorizationChallengeEndpoint, authorizeControllerAuthorize, authorizeControllerPar, authorizeControllerToken, cacheControllerClearAllCaches, cacheControllerClearStatusListCache, cacheControllerClearTrustListCache, cacheControllerGetStats, certControllerAddCertificate, certControllerDeleteCertificate, certControllerExportConfig, certControllerGetCertificate, certControllerGetCertificates, certControllerUpdateCertificate, clientControllerCreateClient, clientControllerDeleteClient, clientControllerGetClient, clientControllerGetClientSecret, clientControllerGetClients, clientControllerRotateClientSecret, clientControllerUpdateClient, credentialConfigControllerDeleteIssuanceConfiguration, credentialConfigControllerGetConfigById, credentialConfigControllerGetConfigs, credentialConfigControllerStoreCredentialConfiguration, credentialConfigControllerUpdateCredentialConfiguration, credentialOfferControllerGetOffer, deferredControllerCompleteDeferred, deferredControllerFailDeferred, healthControllerCheck, interactiveAuthorizationControllerCompleteWebAuth, interactiveAuthorizationControllerInteractiveAuthorization, issuanceConfigControllerGetIssuanceConfigurations, issuanceConfigControllerStoreIssuanceConfiguration, keyControllerAddKey, keyControllerDeleteKey, keyControllerGetKey, keyControllerGetKeys, keyControllerUpdateKey, oid4VciControllerCredential, oid4VciControllerDeferredCredential, oid4VciControllerNonce, oid4VciControllerNotifications, oid4VciMetadataControllerVct, oid4VpControllerGetPostRequestWithSession, oid4VpControllerGetRequestNoRedirectWithSession, oid4VpControllerGetRequestWithSession, oid4VpControllerGetResponse, presentationManagementControllerConfiguration, presentationManagementControllerDeleteConfiguration, presentationManagementControllerGetConfiguration, presentationManagementControllerStorePresentationConfig, presentationManagementControllerUpdateConfiguration, prometheusControllerIndex, registrarControllerCreateAccessCertificate, registrarControllerCreateConfig, registrarControllerDeleteConfig, registrarControllerGetConfig, registrarControllerUpdateConfig, sessionConfigControllerGetConfig, sessionConfigControllerResetConfig, sessionConfigControllerUpdateConfig, sessionControllerDeleteSession, sessionControllerGetAllSessions, sessionControllerGetSession, sessionControllerRevokeAll, statusListConfigControllerGetConfig, statusListConfigControllerResetConfig, statusListConfigControllerUpdateConfig, statusListControllerGetList, statusListControllerGetStatusListAggregation, statusListManagementControllerCreateList, statusListManagementControllerDeleteList, statusListManagementControllerGetList, statusListManagementControllerGetLists, statusListManagementControllerUpdateList, storageControllerDownload, storageControllerUpload, tenantControllerDeleteTenant, tenantControllerGetTenant, tenantControllerGetTenants, tenantControllerInitTenant, tenantControllerUpdateTenant, trustListControllerCreateTrustList, trustListControllerDeleteTrustList, trustListControllerExportTrustList, trustListControllerGetAllTrustLists, trustListControllerGetTrustList, trustListControllerGetTrustListVersion, trustListControllerGetTrustListVersions, trustListControllerUpdateTrustList, trustListPublicControllerGetTrustListJwt, verifierOfferControllerGetOffer, wellKnownControllerAuthzMetadata0, wellKnownControllerAuthzMetadata1, wellKnownControllerGetJwks0, wellKnownControllerGetJwks1, wellKnownControllerIssuerMetadata0, wellKnownControllerIssuerMetadata1 };
1306
1411
  //# sourceMappingURL=index.mjs.map
1307
1412
  //# sourceMappingURL=index.mjs.map
package/dist/index.d.mts CHANGED
@@ -1,8 +1,41 @@
1
- import { S as Session } from './client.gen-CU56lLgT.mjs';
2
- export { A as AllowListPolicy, a as ApiKeyConfig, b as AppControllerMainData, c as AppControllerMainResponses, d as AttestationBasedPolicy, e as AuthControllerGetGlobalJwksData, f as AuthControllerGetGlobalJwksResponses, g as AuthControllerGetOAuth2TokenData, h as AuthControllerGetOAuth2TokenErrors, i as AuthControllerGetOAuth2TokenResponse, j as AuthControllerGetOAuth2TokenResponses, k as AuthControllerGetOidcDiscoveryData, l as AuthControllerGetOidcDiscoveryResponses, m as AuthenticationMethodAuth, n as AuthenticationMethodNone, o as AuthenticationMethodPresentation, p as AuthenticationUrlConfig, q as AuthorizationResponse, r as AuthorizeControllerAuthorizationChallengeEndpointData, s as AuthorizeControllerAuthorizationChallengeEndpointResponses, t as AuthorizeControllerAuthorizeData, u as AuthorizeControllerAuthorizeResponses, v as AuthorizeControllerParData, w as AuthorizeControllerParResponse, x as AuthorizeControllerParResponses, y as AuthorizeControllerTokenData, z as AuthorizeControllerTokenResponse, B as AuthorizeControllerTokenResponses, C as AuthorizeQueries, D as CertControllerAddCertificateData, E as CertControllerAddCertificateResponse, F as CertControllerAddCertificateResponses, G as CertControllerDeleteCertificateData, H as CertControllerDeleteCertificateResponses, I as CertControllerExportConfigData, J as CertControllerExportConfigResponse, K as CertControllerExportConfigResponses, L as CertControllerGetCertificateData, M as CertControllerGetCertificateResponse, N as CertControllerGetCertificateResponses, O as CertControllerGetCertificatesData, P as CertControllerGetCertificatesResponse, Q as CertControllerGetCertificatesResponses, R as CertControllerUpdateCertificateData, T as CertControllerUpdateCertificateResponses, U as CertEntity, V as CertImportDto, W as CertResponseDto, X as CertUpdateDto, Y as CertUsageEntity, Z as Claim, _ as ClaimsQuery, $ as ClientControllerCreateClientData, a0 as ClientControllerCreateClientResponse, a1 as ClientControllerCreateClientResponses, a2 as ClientControllerDeleteClientData, a3 as ClientControllerDeleteClientResponses, a4 as ClientControllerGetClientData, a5 as ClientControllerGetClientResponse, a6 as ClientControllerGetClientResponses, a7 as ClientControllerGetClientSecretData, a8 as ClientControllerGetClientSecretResponse, a9 as ClientControllerGetClientSecretResponses, aa as ClientControllerGetClientsData, ab as ClientControllerGetClientsResponse, ac as ClientControllerGetClientsResponses, ad as ClientControllerUpdateClientData, ae as ClientControllerUpdateClientResponse, af as ClientControllerUpdateClientResponses, ag as ClientCredentialsDto, ah as ClientEntity, ai as ClientOptions, aj as ClientSecretResponseDto, ak as CreateClientDto, al as CreateStatusListDto, am as CreateTenantDto, an as CredentialConfig, ao as CredentialConfigControllerDeleteIssuanceConfigurationData, ap as CredentialConfigControllerDeleteIssuanceConfigurationResponses, aq as CredentialConfigControllerGetConfigByIdData, ar as CredentialConfigControllerGetConfigByIdResponse, as as CredentialConfigControllerGetConfigByIdResponses, at as CredentialConfigControllerGetConfigsData, au as CredentialConfigControllerGetConfigsResponse, av as CredentialConfigControllerGetConfigsResponses, aw as CredentialConfigControllerStoreCredentialConfigurationData, ax as CredentialConfigControllerStoreCredentialConfigurationResponse, ay as CredentialConfigControllerStoreCredentialConfigurationResponses, az as CredentialConfigControllerUpdateCredentialConfigurationData, aA as CredentialConfigControllerUpdateCredentialConfigurationResponse, aB as CredentialConfigControllerUpdateCredentialConfigurationResponses, aC as CredentialConfigCreate, aD as CredentialConfigUpdate, aE as CredentialOfferControllerGetOfferData, aF as CredentialOfferControllerGetOfferResponse, aG as CredentialOfferControllerGetOfferResponses, aH as CredentialQuery, aI as CredentialSetQuery, aJ as Dcql, aK as Display, aL as DisplayImage, aM as DisplayInfo, aN as DisplayLogo, aO as EcPublic, aP as EmbeddedDisclosurePolicy, aQ as FileUploadDto, aR as HealthControllerCheckData, aS as HealthControllerCheckError, aT as HealthControllerCheckErrors, aU as HealthControllerCheckResponse, aV as HealthControllerCheckResponses, aW as ImportTenantDto, aX as IssuanceConfig, aY as IssuanceConfigControllerGetIssuanceConfigurationsData, aZ as IssuanceConfigControllerGetIssuanceConfigurationsResponse, a_ as IssuanceConfigControllerGetIssuanceConfigurationsResponses, a$ as IssuanceConfigControllerStoreIssuanceConfigurationData, b0 as IssuanceConfigControllerStoreIssuanceConfigurationResponse, b1 as IssuanceConfigControllerStoreIssuanceConfigurationResponses, b2 as IssuanceDto, b3 as IssuerMetadataCredentialConfig, b4 as JwksResponseDto, b5 as Key, b6 as KeyControllerAddKeyData, b7 as KeyControllerAddKeyResponses, b8 as KeyControllerDeleteKeyData, b9 as KeyControllerDeleteKeyResponses, ba as KeyControllerGetKeyData, bb as KeyControllerGetKeyResponse, bc as KeyControllerGetKeyResponses, bd as KeyControllerGetKeysData, be as KeyControllerGetKeysResponse, bf as KeyControllerGetKeysResponses, bg as KeyControllerUpdateKeyData, bh as KeyControllerUpdateKeyResponses, bi as KeyEntity, bj as KeyImportDto, bk as NoneTrustPolicy, bl as NotificationRequestDto, bm as OfferRequestDto, bn as OfferResponse, bo as Oid4VciControllerCredentialData, bp as Oid4VciControllerCredentialResponses, bq as Oid4VciControllerNonceData, br as Oid4VciControllerNonceResponses, bs as Oid4VciControllerNotificationsData, bt as Oid4VciControllerNotificationsResponses, bu as Oid4VciMetadataControllerVctData, bv as Oid4VciMetadataControllerVctResponse, bw as Oid4VciMetadataControllerVctResponses, bx as Oid4VpControllerGetPostRequestWithSessionData, by as Oid4VpControllerGetPostRequestWithSessionResponse, bz as Oid4VpControllerGetPostRequestWithSessionResponses, bA as Oid4VpControllerGetRequestWithSessionData, bB as Oid4VpControllerGetRequestWithSessionResponse, bC as Oid4VpControllerGetRequestWithSessionResponses, bD as Oid4VpControllerGetResponseData, bE as Oid4VpControllerGetResponseResponse, bF as Oid4VpControllerGetResponseResponses, bG as ParResponseDto, bH as PolicyCredential, bI as PresentationAttachment, bJ as PresentationConfig, bK as PresentationConfigCreateDto, bL as PresentationConfigUpdateDto, bM as PresentationDuringIssuanceConfig, bN as PresentationManagementControllerConfigurationData, bO as PresentationManagementControllerConfigurationResponse, bP as PresentationManagementControllerConfigurationResponses, bQ as PresentationManagementControllerDeleteConfigurationData, bR as PresentationManagementControllerDeleteConfigurationResponses, bS as PresentationManagementControllerGetConfigurationData, bT as PresentationManagementControllerGetConfigurationResponse, bU as PresentationManagementControllerGetConfigurationResponses, bV as PresentationManagementControllerStorePresentationConfigData, bW as PresentationManagementControllerStorePresentationConfigResponse, bX as PresentationManagementControllerStorePresentationConfigResponses, bY as PresentationManagementControllerUpdateConfigurationData, bZ as PresentationManagementControllerUpdateConfigurationResponse, b_ as PresentationManagementControllerUpdateConfigurationResponses, b$ as PresentationRequest, c0 as PrometheusControllerIndexData, c1 as PrometheusControllerIndexResponses, c2 as RegistrationCertificateRequest, c3 as RoleDto, c4 as RootOfTrustPolicy, c5 as SchemaResponse, c6 as SessionConfigControllerGetConfigData, c7 as SessionConfigControllerGetConfigResponse, c8 as SessionConfigControllerGetConfigResponses, c9 as SessionConfigControllerResetConfigData, ca as SessionConfigControllerResetConfigResponses, cb as SessionConfigControllerUpdateConfigData, cc as SessionConfigControllerUpdateConfigResponse, cd as SessionConfigControllerUpdateConfigResponses, ce as SessionControllerDeleteSessionData, cf as SessionControllerDeleteSessionResponses, cg as SessionControllerGetAllSessionsData, ch as SessionControllerGetAllSessionsResponse, ci as SessionControllerGetAllSessionsResponses, cj as SessionControllerGetSessionData, ck as SessionControllerGetSessionResponse, cl as SessionControllerGetSessionResponses, cm as SessionControllerRevokeAllData, cn as SessionControllerRevokeAllResponses, co as SessionStorageConfig, cp as StatusListAggregationDto, cq as StatusListConfig, cr as StatusListConfigControllerGetConfigData, cs as StatusListConfigControllerGetConfigResponse, ct as StatusListConfigControllerGetConfigResponses, cu as StatusListConfigControllerResetConfigData, cv as StatusListConfigControllerResetConfigResponse, cw as StatusListConfigControllerResetConfigResponses, cx as StatusListConfigControllerUpdateConfigData, cy as StatusListConfigControllerUpdateConfigResponse, cz as StatusListConfigControllerUpdateConfigResponses, cA as StatusListControllerGetListData, cB as StatusListControllerGetListResponse, cC as StatusListControllerGetListResponses, cD as StatusListControllerGetStatusListAggregationData, cE as StatusListControllerGetStatusListAggregationResponse, cF as StatusListControllerGetStatusListAggregationResponses, cG as StatusListImportDto, cH as StatusListManagementControllerCreateListData, cI as StatusListManagementControllerCreateListResponse, cJ as StatusListManagementControllerCreateListResponses, cK as StatusListManagementControllerDeleteListData, cL as StatusListManagementControllerDeleteListResponse, cM as StatusListManagementControllerDeleteListResponses, cN as StatusListManagementControllerGetListData, cO as StatusListManagementControllerGetListResponse, cP as StatusListManagementControllerGetListResponses, cQ as StatusListManagementControllerGetListsData, cR as StatusListManagementControllerGetListsResponse, cS as StatusListManagementControllerGetListsResponses, cT as StatusListManagementControllerUpdateListData, cU as StatusListManagementControllerUpdateListResponse, cV as StatusListManagementControllerUpdateListResponses, cW as StatusListResponseDto, cX as StatusUpdateDto, cY as StorageControllerDownloadData, cZ as StorageControllerDownloadResponses, c_ as StorageControllerUploadData, c$ as StorageControllerUploadResponse, d0 as StorageControllerUploadResponses, d1 as TenantControllerDeleteTenantData, d2 as TenantControllerDeleteTenantResponses, d3 as TenantControllerGetTenantData, d4 as TenantControllerGetTenantResponse, d5 as TenantControllerGetTenantResponses, d6 as TenantControllerGetTenantsData, d7 as TenantControllerGetTenantsResponse, d8 as TenantControllerGetTenantsResponses, d9 as TenantControllerInitTenantData, da as TenantControllerInitTenantResponses, db as TenantControllerUpdateTenantData, dc as TenantControllerUpdateTenantResponse, dd as TenantControllerUpdateTenantResponses, de as TenantEntity, df as TokenResponse, dg as TrustList, dh as TrustListControllerCreateTrustListData, di as TrustListControllerCreateTrustListResponse, dj as TrustListControllerCreateTrustListResponses, dk as TrustListControllerDeleteTrustListData, dl as TrustListControllerDeleteTrustListResponses, dm as TrustListControllerExportTrustListData, dn as TrustListControllerExportTrustListResponse, dp as TrustListControllerExportTrustListResponses, dq as TrustListControllerGetAllTrustListsData, dr as TrustListControllerGetAllTrustListsResponse, ds as TrustListControllerGetAllTrustListsResponses, dt as TrustListControllerGetTrustListData, du as TrustListControllerGetTrustListResponse, dv as TrustListControllerGetTrustListResponses, dw as TrustListControllerGetTrustListVersionData, dx as TrustListControllerGetTrustListVersionResponse, dy as TrustListControllerGetTrustListVersionResponses, dz as TrustListControllerGetTrustListVersionsData, dA as TrustListControllerGetTrustListVersionsResponse, dB as TrustListControllerGetTrustListVersionsResponses, dC as TrustListControllerUpdateTrustListData, dD as TrustListControllerUpdateTrustListResponse, dE as TrustListControllerUpdateTrustListResponses, dF as TrustListCreateDto, dG as TrustListPublicControllerGetTrustListJwtData, dH as TrustListPublicControllerGetTrustListJwtResponse, dI as TrustListPublicControllerGetTrustListJwtResponses, dJ as TrustListVersion, dK as TrustedAuthorityQuery, dL as UpdateClientDto, dM as UpdateKeyDto, dN as UpdateSessionConfigDto, dO as UpdateStatusListConfigDto, dP as UpdateStatusListDto, dQ as UpdateTenantDto, dR as Vct, dS as VerifierOfferControllerGetOfferData, dT as VerifierOfferControllerGetOfferResponse, dU as VerifierOfferControllerGetOfferResponses, dV as WebHookAuthConfigHeader, dW as WebHookAuthConfigNone, dX as WebhookConfig, dY as WellKnownControllerAuthzMetadata0Data, dZ as WellKnownControllerAuthzMetadata0Responses, d_ as WellKnownControllerAuthzMetadata1Data, d$ as WellKnownControllerAuthzMetadata1Responses, e0 as WellKnownControllerGetJwks0Data, e1 as WellKnownControllerGetJwks0Response, e2 as WellKnownControllerGetJwks0Responses, e3 as WellKnownControllerGetJwks1Data, e4 as WellKnownControllerGetJwks1Response, e5 as WellKnownControllerGetJwks1Responses, e6 as WellKnownControllerIssuerMetadata0Data, e7 as WellKnownControllerIssuerMetadata0Response, e8 as WellKnownControllerIssuerMetadata0Responses, e9 as WellKnownControllerIssuerMetadata1Data, ea as WellKnownControllerIssuerMetadata1Response, eb as WellKnownControllerIssuerMetadata1Responses, ec as client } from './client.gen-CU56lLgT.mjs';
3
- export { Options, appControllerMain, authControllerGetGlobalJwks, authControllerGetOAuth2Token, authControllerGetOidcDiscovery, authorizeControllerAuthorizationChallengeEndpoint, authorizeControllerAuthorize, authorizeControllerPar, authorizeControllerToken, certControllerAddCertificate, certControllerDeleteCertificate, certControllerExportConfig, certControllerGetCertificate, certControllerGetCertificates, certControllerUpdateCertificate, clientControllerCreateClient, clientControllerDeleteClient, clientControllerGetClient, clientControllerGetClientSecret, clientControllerGetClients, clientControllerUpdateClient, credentialConfigControllerDeleteIssuanceConfiguration, credentialConfigControllerGetConfigById, credentialConfigControllerGetConfigs, credentialConfigControllerStoreCredentialConfiguration, credentialConfigControllerUpdateCredentialConfiguration, credentialOfferControllerGetOffer, healthControllerCheck, issuanceConfigControllerGetIssuanceConfigurations, issuanceConfigControllerStoreIssuanceConfiguration, keyControllerAddKey, keyControllerDeleteKey, keyControllerGetKey, keyControllerGetKeys, keyControllerUpdateKey, oid4VciControllerCredential, oid4VciControllerNonce, oid4VciControllerNotifications, oid4VciMetadataControllerVct, oid4VpControllerGetPostRequestWithSession, oid4VpControllerGetRequestWithSession, oid4VpControllerGetResponse, presentationManagementControllerConfiguration, presentationManagementControllerDeleteConfiguration, presentationManagementControllerGetConfiguration, presentationManagementControllerStorePresentationConfig, presentationManagementControllerUpdateConfiguration, prometheusControllerIndex, sessionConfigControllerGetConfig, sessionConfigControllerResetConfig, sessionConfigControllerUpdateConfig, sessionControllerDeleteSession, sessionControllerGetAllSessions, sessionControllerGetSession, sessionControllerRevokeAll, statusListConfigControllerGetConfig, statusListConfigControllerResetConfig, statusListConfigControllerUpdateConfig, statusListControllerGetList, statusListControllerGetStatusListAggregation, statusListManagementControllerCreateList, statusListManagementControllerDeleteList, statusListManagementControllerGetList, statusListManagementControllerGetLists, statusListManagementControllerUpdateList, storageControllerDownload, storageControllerUpload, tenantControllerDeleteTenant, tenantControllerGetTenant, tenantControllerGetTenants, tenantControllerInitTenant, tenantControllerUpdateTenant, trustListControllerCreateTrustList, trustListControllerDeleteTrustList, trustListControllerExportTrustList, trustListControllerGetAllTrustLists, trustListControllerGetTrustList, trustListControllerGetTrustListVersion, trustListControllerGetTrustListVersions, trustListControllerUpdateTrustList, trustListPublicControllerGetTrustListJwt, verifierOfferControllerGetOffer, wellKnownControllerAuthzMetadata0, wellKnownControllerAuthzMetadata1, wellKnownControllerGetJwks0, wellKnownControllerGetJwks1, wellKnownControllerIssuerMetadata0, wellKnownControllerIssuerMetadata1 } from './api/index.mjs';
4
- import './types.gen-CIiveH8G.mjs';
1
+ import { S as Session } from './types.gen-M31b0SZB.mjs';
2
+ export { A as AllowListPolicy, a as ApiKeyConfig, b as AppControllerMainData, c as AppControllerMainResponses, d as AttestationBasedPolicy, e as AuthControllerGetGlobalJwksData, f as AuthControllerGetGlobalJwksResponses, g as AuthControllerGetOAuth2TokenData, h as AuthControllerGetOAuth2TokenErrors, i as AuthControllerGetOAuth2TokenResponse, j as AuthControllerGetOAuth2TokenResponses, k as AuthControllerGetOidcDiscoveryData, l as AuthControllerGetOidcDiscoveryResponses, m as AuthenticationMethodAuth, n as AuthenticationMethodNone, o as AuthenticationMethodPresentation, p as AuthenticationUrlConfig, q as AuthorizationResponse, r as AuthorizeControllerAuthorizationChallengeEndpointData, s as AuthorizeControllerAuthorizationChallengeEndpointResponses, t as AuthorizeControllerAuthorizeData, u as AuthorizeControllerAuthorizeResponses, v as AuthorizeControllerParData, w as AuthorizeControllerParResponse, x as AuthorizeControllerParResponses, y as AuthorizeControllerTokenData, z as AuthorizeControllerTokenResponse, B as AuthorizeControllerTokenResponses, C as AuthorizeQueries, D as CacheControllerClearAllCachesData, E as CacheControllerClearAllCachesResponse, F as CacheControllerClearAllCachesResponses, G as CacheControllerClearStatusListCacheData, H as CacheControllerClearStatusListCacheResponse, I as CacheControllerClearStatusListCacheResponses, J as CacheControllerClearTrustListCacheData, K as CacheControllerClearTrustListCacheResponse, L as CacheControllerClearTrustListCacheResponses, M as CacheControllerGetStatsData, N as CacheControllerGetStatsResponses, O as CertControllerAddCertificateData, P as CertControllerAddCertificateResponse, Q as CertControllerAddCertificateResponses, R as CertControllerDeleteCertificateData, T as CertControllerDeleteCertificateResponses, U as CertControllerExportConfigData, V as CertControllerExportConfigResponse, W as CertControllerExportConfigResponses, X as CertControllerGetCertificateData, Y as CertControllerGetCertificateResponse, Z as CertControllerGetCertificateResponses, _ as CertControllerGetCertificatesData, $ as CertControllerGetCertificatesResponse, a0 as CertControllerGetCertificatesResponses, a1 as CertControllerUpdateCertificateData, a2 as CertControllerUpdateCertificateResponses, a3 as CertEntity, a4 as CertImportDto, a5 as CertResponseDto, a6 as CertUpdateDto, a7 as CertUsageEntity, a8 as Claim, a9 as ClaimsQuery, aa as ClientControllerCreateClientData, ab as ClientControllerCreateClientResponse, ac as ClientControllerCreateClientResponses, ad as ClientControllerDeleteClientData, ae as ClientControllerDeleteClientResponses, af as ClientControllerGetClientData, ag as ClientControllerGetClientResponse, ah as ClientControllerGetClientResponses, ai as ClientControllerGetClientSecretData, aj as ClientControllerGetClientSecretResponse, ak as ClientControllerGetClientSecretResponses, al as ClientControllerGetClientsData, am as ClientControllerGetClientsResponse, an as ClientControllerGetClientsResponses, ao as ClientControllerRotateClientSecretData, ap as ClientControllerRotateClientSecretResponse, aq as ClientControllerRotateClientSecretResponses, ar as ClientControllerUpdateClientData, as as ClientControllerUpdateClientResponse, at as ClientControllerUpdateClientResponses, au as ClientCredentialsDto, av as ClientEntity, aw as ClientOptions, ax as ClientSecretResponseDto, ay as CompleteDeferredDto, az as CreateAccessCertificateDto, aA as CreateClientDto, aB as CreateRegistrarConfigDto, aC as CreateStatusListDto, aD as CreateTenantDto, aE as CredentialConfig, aF as CredentialConfigControllerDeleteIssuanceConfigurationData, aG as CredentialConfigControllerDeleteIssuanceConfigurationResponses, aH as CredentialConfigControllerGetConfigByIdData, aI as CredentialConfigControllerGetConfigByIdResponse, aJ as CredentialConfigControllerGetConfigByIdResponses, aK as CredentialConfigControllerGetConfigsData, aL as CredentialConfigControllerGetConfigsResponse, aM as CredentialConfigControllerGetConfigsResponses, aN as CredentialConfigControllerStoreCredentialConfigurationData, aO as CredentialConfigControllerStoreCredentialConfigurationResponse, aP as CredentialConfigControllerStoreCredentialConfigurationResponses, aQ as CredentialConfigControllerUpdateCredentialConfigurationData, aR as CredentialConfigControllerUpdateCredentialConfigurationResponse, aS as CredentialConfigControllerUpdateCredentialConfigurationResponses, aT as CredentialConfigCreate, aU as CredentialConfigUpdate, aV as CredentialOfferControllerGetOfferData, aW as CredentialOfferControllerGetOfferResponse, aX as CredentialOfferControllerGetOfferResponses, aY as CredentialQuery, aZ as CredentialSetQuery, a_ as Dcql, a$ as DeferredControllerCompleteDeferredData, b0 as DeferredControllerCompleteDeferredErrors, b1 as DeferredControllerCompleteDeferredResponse, b2 as DeferredControllerCompleteDeferredResponses, b3 as DeferredControllerFailDeferredData, b4 as DeferredControllerFailDeferredErrors, b5 as DeferredControllerFailDeferredResponse, b6 as DeferredControllerFailDeferredResponses, b7 as DeferredCredentialRequestDto, b8 as DeferredOperationResponse, b9 as Display, ba as DisplayImage, bb as DisplayInfo, bc as DisplayLogo, bd as EcPublic, be as EmbeddedDisclosurePolicy, bf as FailDeferredDto, bg as FileUploadDto, bh as HealthControllerCheckData, bi as HealthControllerCheckError, bj as HealthControllerCheckErrors, bk as HealthControllerCheckResponse, bl as HealthControllerCheckResponses, bm as IaeActionOpenid4VpPresentation, bn as IaeActionRedirectToWeb, bo as ImportTenantDto, bp as InteractiveAuthorizationCodeResponseDto, bq as InteractiveAuthorizationControllerCompleteWebAuthData, br as InteractiveAuthorizationControllerCompleteWebAuthErrors, bs as InteractiveAuthorizationControllerCompleteWebAuthResponses, bt as InteractiveAuthorizationControllerInteractiveAuthorizationData, bu as InteractiveAuthorizationControllerInteractiveAuthorizationError, bv as InteractiveAuthorizationControllerInteractiveAuthorizationErrors, bw as InteractiveAuthorizationControllerInteractiveAuthorizationResponse, bx as InteractiveAuthorizationControllerInteractiveAuthorizationResponses, by as InteractiveAuthorizationErrorResponseDto, bz as InteractiveAuthorizationRequestDto, bA as IssuanceConfig, bB as IssuanceConfigControllerGetIssuanceConfigurationsData, bC as IssuanceConfigControllerGetIssuanceConfigurationsResponse, bD as IssuanceConfigControllerGetIssuanceConfigurationsResponses, bE as IssuanceConfigControllerStoreIssuanceConfigurationData, bF as IssuanceConfigControllerStoreIssuanceConfigurationResponse, bG as IssuanceConfigControllerStoreIssuanceConfigurationResponses, bH as IssuanceDto, bI as IssuerMetadataCredentialConfig, bJ as JwksResponseDto, bK as Key, bL as KeyControllerAddKeyData, bM as KeyControllerAddKeyResponses, bN as KeyControllerDeleteKeyData, bO as KeyControllerDeleteKeyResponses, bP as KeyControllerGetKeyData, bQ as KeyControllerGetKeyResponse, bR as KeyControllerGetKeyResponses, bS as KeyControllerGetKeysData, bT as KeyControllerGetKeysResponse, bU as KeyControllerGetKeysResponses, bV as KeyControllerUpdateKeyData, bW as KeyControllerUpdateKeyResponses, bX as KeyEntity, bY as KeyImportDto, bZ as NoneTrustPolicy, b_ as NotificationRequestDto, b$ as OfferRequestDto, c0 as OfferResponse, c1 as Oid4VciControllerCredentialData, c2 as Oid4VciControllerCredentialResponse, c3 as Oid4VciControllerCredentialResponses, c4 as Oid4VciControllerDeferredCredentialData, c5 as Oid4VciControllerDeferredCredentialResponses, c6 as Oid4VciControllerNonceData, c7 as Oid4VciControllerNonceResponses, c8 as Oid4VciControllerNotificationsData, c9 as Oid4VciControllerNotificationsResponses, ca as Oid4VciMetadataControllerVctData, cb as Oid4VciMetadataControllerVctResponse, cc as Oid4VciMetadataControllerVctResponses, cd as Oid4VpControllerGetPostRequestWithSessionData, ce as Oid4VpControllerGetPostRequestWithSessionResponse, cf as Oid4VpControllerGetPostRequestWithSessionResponses, cg as Oid4VpControllerGetRequestNoRedirectWithSessionData, ch as Oid4VpControllerGetRequestNoRedirectWithSessionResponse, ci as Oid4VpControllerGetRequestNoRedirectWithSessionResponses, cj as Oid4VpControllerGetRequestWithSessionData, ck as Oid4VpControllerGetRequestWithSessionResponse, cl as Oid4VpControllerGetRequestWithSessionResponses, cm as Oid4VpControllerGetResponseData, cn as Oid4VpControllerGetResponseResponse, co as Oid4VpControllerGetResponseResponses, cp as ParResponseDto, cq as PolicyCredential, cr as PresentationAttachment, cs as PresentationConfig, ct as PresentationConfigCreateDto, cu as PresentationConfigUpdateDto, cv as PresentationDuringIssuanceConfig, cw as PresentationManagementControllerConfigurationData, cx as PresentationManagementControllerConfigurationResponse, cy as PresentationManagementControllerConfigurationResponses, cz as PresentationManagementControllerDeleteConfigurationData, cA as PresentationManagementControllerDeleteConfigurationResponses, cB as PresentationManagementControllerGetConfigurationData, cC as PresentationManagementControllerGetConfigurationResponse, cD as PresentationManagementControllerGetConfigurationResponses, cE as PresentationManagementControllerStorePresentationConfigData, cF as PresentationManagementControllerStorePresentationConfigResponse, cG as PresentationManagementControllerStorePresentationConfigResponses, cH as PresentationManagementControllerUpdateConfigurationData, cI as PresentationManagementControllerUpdateConfigurationResponse, cJ as PresentationManagementControllerUpdateConfigurationResponses, cK as PresentationRequest, cL as PrometheusControllerIndexData, cM as PrometheusControllerIndexResponses, cN as RegistrarConfigEntity, cO as RegistrarControllerCreateAccessCertificateData, cP as RegistrarControllerCreateAccessCertificateErrors, cQ as RegistrarControllerCreateAccessCertificateResponse, cR as RegistrarControllerCreateAccessCertificateResponses, cS as RegistrarControllerCreateConfigData, cT as RegistrarControllerCreateConfigErrors, cU as RegistrarControllerCreateConfigResponse, cV as RegistrarControllerCreateConfigResponses, cW as RegistrarControllerDeleteConfigData, cX as RegistrarControllerDeleteConfigResponse, cY as RegistrarControllerDeleteConfigResponses, cZ as RegistrarControllerGetConfigData, c_ as RegistrarControllerGetConfigErrors, c$ as RegistrarControllerGetConfigResponse, d0 as RegistrarControllerGetConfigResponses, d1 as RegistrarControllerUpdateConfigData, d2 as RegistrarControllerUpdateConfigErrors, d3 as RegistrarControllerUpdateConfigResponse, d4 as RegistrarControllerUpdateConfigResponses, d5 as RegistrationCertificateRequest, d6 as RoleDto, d7 as RootOfTrustPolicy, d8 as SchemaResponse, d9 as SessionConfigControllerGetConfigData, da as SessionConfigControllerGetConfigResponse, db as SessionConfigControllerGetConfigResponses, dc as SessionConfigControllerResetConfigData, dd as SessionConfigControllerResetConfigResponses, de as SessionConfigControllerUpdateConfigData, df as SessionConfigControllerUpdateConfigResponse, dg as SessionConfigControllerUpdateConfigResponses, dh as SessionControllerDeleteSessionData, di as SessionControllerDeleteSessionResponses, dj as SessionControllerGetAllSessionsData, dk as SessionControllerGetAllSessionsResponse, dl as SessionControllerGetAllSessionsResponses, dm as SessionControllerGetSessionData, dn as SessionControllerGetSessionResponse, dp as SessionControllerGetSessionResponses, dq as SessionControllerRevokeAllData, dr as SessionControllerRevokeAllResponses, ds as SessionStorageConfig, dt as StatusListAggregationDto, du as StatusListConfig, dv as StatusListConfigControllerGetConfigData, dw as StatusListConfigControllerGetConfigResponse, dx as StatusListConfigControllerGetConfigResponses, dy as StatusListConfigControllerResetConfigData, dz as StatusListConfigControllerResetConfigResponse, dA as StatusListConfigControllerResetConfigResponses, dB as StatusListConfigControllerUpdateConfigData, dC as StatusListConfigControllerUpdateConfigResponse, dD as StatusListConfigControllerUpdateConfigResponses, dE as StatusListControllerGetListData, dF as StatusListControllerGetListResponse, dG as StatusListControllerGetListResponses, dH as StatusListControllerGetStatusListAggregationData, dI as StatusListControllerGetStatusListAggregationResponse, dJ as StatusListControllerGetStatusListAggregationResponses, dK as StatusListImportDto, dL as StatusListManagementControllerCreateListData, dM as StatusListManagementControllerCreateListResponse, dN as StatusListManagementControllerCreateListResponses, dO as StatusListManagementControllerDeleteListData, dP as StatusListManagementControllerDeleteListResponse, dQ as StatusListManagementControllerDeleteListResponses, dR as StatusListManagementControllerGetListData, dS as StatusListManagementControllerGetListResponse, dT as StatusListManagementControllerGetListResponses, dU as StatusListManagementControllerGetListsData, dV as StatusListManagementControllerGetListsResponse, dW as StatusListManagementControllerGetListsResponses, dX as StatusListManagementControllerUpdateListData, dY as StatusListManagementControllerUpdateListResponse, dZ as StatusListManagementControllerUpdateListResponses, d_ as StatusListResponseDto, d$ as StatusUpdateDto, e0 as StorageControllerDownloadData, e1 as StorageControllerDownloadResponses, e2 as StorageControllerUploadData, e3 as StorageControllerUploadResponse, e4 as StorageControllerUploadResponses, e5 as TenantControllerDeleteTenantData, e6 as TenantControllerDeleteTenantResponses, e7 as TenantControllerGetTenantData, e8 as TenantControllerGetTenantResponse, e9 as TenantControllerGetTenantResponses, ea as TenantControllerGetTenantsData, eb as TenantControllerGetTenantsResponse, ec as TenantControllerGetTenantsResponses, ed as TenantControllerInitTenantData, ee as TenantControllerInitTenantResponse, ef as TenantControllerInitTenantResponses, eg as TenantControllerUpdateTenantData, eh as TenantControllerUpdateTenantResponse, ei as TenantControllerUpdateTenantResponses, ej as TenantEntity, ek as TokenResponse, el as TransactionData, em as TrustList, en as TrustListControllerCreateTrustListData, eo as TrustListControllerCreateTrustListResponse, ep as TrustListControllerCreateTrustListResponses, eq as TrustListControllerDeleteTrustListData, er as TrustListControllerDeleteTrustListResponses, es as TrustListControllerExportTrustListData, et as TrustListControllerExportTrustListResponse, eu as TrustListControllerExportTrustListResponses, ev as TrustListControllerGetAllTrustListsData, ew as TrustListControllerGetAllTrustListsResponse, ex as TrustListControllerGetAllTrustListsResponses, ey as TrustListControllerGetTrustListData, ez as TrustListControllerGetTrustListResponse, eA as TrustListControllerGetTrustListResponses, eB as TrustListControllerGetTrustListVersionData, eC as TrustListControllerGetTrustListVersionResponse, eD as TrustListControllerGetTrustListVersionResponses, eE as TrustListControllerGetTrustListVersionsData, eF as TrustListControllerGetTrustListVersionsResponse, eG as TrustListControllerGetTrustListVersionsResponses, eH as TrustListControllerUpdateTrustListData, eI as TrustListControllerUpdateTrustListResponse, eJ as TrustListControllerUpdateTrustListResponses, eK as TrustListCreateDto, eL as TrustListPublicControllerGetTrustListJwtData, eM as TrustListPublicControllerGetTrustListJwtResponse, eN as TrustListPublicControllerGetTrustListJwtResponses, eO as TrustListVersion, eP as TrustedAuthorityQuery, eQ as UpdateClientDto, eR as UpdateKeyDto, eS as UpdateRegistrarConfigDto, eT as UpdateSessionConfigDto, eU as UpdateStatusListConfigDto, eV as UpdateStatusListDto, eW as UpdateTenantDto, eX as Vct, eY as VerifierOfferControllerGetOfferData, eZ as VerifierOfferControllerGetOfferResponse, e_ as VerifierOfferControllerGetOfferResponses, e$ as WebHookAuthConfigHeader, f0 as WebHookAuthConfigNone, f1 as WebhookConfig, f2 as WellKnownControllerAuthzMetadata0Data, f3 as WellKnownControllerAuthzMetadata0Responses, f4 as WellKnownControllerAuthzMetadata1Data, f5 as WellKnownControllerAuthzMetadata1Responses, f6 as WellKnownControllerGetJwks0Data, f7 as WellKnownControllerGetJwks0Response, f8 as WellKnownControllerGetJwks0Responses, f9 as WellKnownControllerGetJwks1Data, fa as WellKnownControllerGetJwks1Response, fb as WellKnownControllerGetJwks1Responses, fc as WellKnownControllerIssuerMetadata0Data, fd as WellKnownControllerIssuerMetadata0Response, fe as WellKnownControllerIssuerMetadata0Responses, ff as WellKnownControllerIssuerMetadata1Data, fg as WellKnownControllerIssuerMetadata1Response, fh as WellKnownControllerIssuerMetadata1Responses } from './types.gen-M31b0SZB.mjs';
3
+ export { client } from './api/client.gen.mjs';
4
+ export { Options, appControllerMain, authControllerGetGlobalJwks, authControllerGetOAuth2Token, authControllerGetOidcDiscovery, authorizeControllerAuthorizationChallengeEndpoint, authorizeControllerAuthorize, authorizeControllerPar, authorizeControllerToken, cacheControllerClearAllCaches, cacheControllerClearStatusListCache, cacheControllerClearTrustListCache, cacheControllerGetStats, certControllerAddCertificate, certControllerDeleteCertificate, certControllerExportConfig, certControllerGetCertificate, certControllerGetCertificates, certControllerUpdateCertificate, clientControllerCreateClient, clientControllerDeleteClient, clientControllerGetClient, clientControllerGetClientSecret, clientControllerGetClients, clientControllerRotateClientSecret, clientControllerUpdateClient, credentialConfigControllerDeleteIssuanceConfiguration, credentialConfigControllerGetConfigById, credentialConfigControllerGetConfigs, credentialConfigControllerStoreCredentialConfiguration, credentialConfigControllerUpdateCredentialConfiguration, credentialOfferControllerGetOffer, deferredControllerCompleteDeferred, deferredControllerFailDeferred, healthControllerCheck, interactiveAuthorizationControllerCompleteWebAuth, interactiveAuthorizationControllerInteractiveAuthorization, issuanceConfigControllerGetIssuanceConfigurations, issuanceConfigControllerStoreIssuanceConfiguration, keyControllerAddKey, keyControllerDeleteKey, keyControllerGetKey, keyControllerGetKeys, keyControllerUpdateKey, oid4VciControllerCredential, oid4VciControllerDeferredCredential, oid4VciControllerNonce, oid4VciControllerNotifications, oid4VciMetadataControllerVct, oid4VpControllerGetPostRequestWithSession, oid4VpControllerGetRequestNoRedirectWithSession, oid4VpControllerGetRequestWithSession, oid4VpControllerGetResponse, presentationManagementControllerConfiguration, presentationManagementControllerDeleteConfiguration, presentationManagementControllerGetConfiguration, presentationManagementControllerStorePresentationConfig, presentationManagementControllerUpdateConfiguration, prometheusControllerIndex, registrarControllerCreateAccessCertificate, registrarControllerCreateConfig, registrarControllerDeleteConfig, registrarControllerGetConfig, registrarControllerUpdateConfig, sessionConfigControllerGetConfig, sessionConfigControllerResetConfig, sessionConfigControllerUpdateConfig, sessionControllerDeleteSession, sessionControllerGetAllSessions, sessionControllerGetSession, sessionControllerRevokeAll, statusListConfigControllerGetConfig, statusListConfigControllerResetConfig, statusListConfigControllerUpdateConfig, statusListControllerGetList, statusListControllerGetStatusListAggregation, statusListManagementControllerCreateList, statusListManagementControllerDeleteList, statusListManagementControllerGetList, statusListManagementControllerGetLists, statusListManagementControllerUpdateList, storageControllerDownload, storageControllerUpload, tenantControllerDeleteTenant, tenantControllerGetTenant, tenantControllerGetTenants, tenantControllerInitTenant, tenantControllerUpdateTenant, trustListControllerCreateTrustList, trustListControllerDeleteTrustList, trustListControllerExportTrustList, trustListControllerGetAllTrustLists, trustListControllerGetTrustList, trustListControllerGetTrustListVersion, trustListControllerGetTrustListVersions, trustListControllerUpdateTrustList, trustListPublicControllerGetTrustListJwt, verifierOfferControllerGetOffer, wellKnownControllerAuthzMetadata0, wellKnownControllerAuthzMetadata1, wellKnownControllerGetJwks0, wellKnownControllerGetJwks1, wellKnownControllerIssuerMetadata0, wellKnownControllerIssuerMetadata1 } from './api/index.mjs';
5
+ import './types.gen-DDunhhsd.mjs';
5
6
 
7
+ /**
8
+ * Digital Credential response from the browser API
9
+ */
10
+ interface DigitalCredentialResponse {
11
+ data: {
12
+ response?: string;
13
+ error?: string;
14
+ error_description?: string;
15
+ };
16
+ }
17
+ /**
18
+ * Result of a DC API presentation
19
+ */
20
+ interface DcApiPresentationResult {
21
+ /** The verified credentials from the presentation */
22
+ credentials?: Array<Record<string, unknown>>;
23
+ /** The raw response from the verifier */
24
+ response: unknown;
25
+ /** Redirect URI if provided by the verifier */
26
+ redirectUri?: string;
27
+ }
28
+ /**
29
+ * Options for DC API presentation
30
+ */
31
+ interface DcApiPresentationOptions {
32
+ /** Whether to return the full credential data in the response (default: true) */
33
+ sendResponse?: boolean;
34
+ }
35
+ /**
36
+ * Check if the Digital Credentials API is available in the current browser
37
+ */
38
+ declare function isDcApiAvailable(): boolean;
6
39
  /**
7
40
  * Configuration options for the EudiploClient
8
41
  */
@@ -39,8 +72,8 @@ interface IssuanceOfferOptions {
39
72
  credentialConfigurationIds: string[];
40
73
  /** Claims to include in the credentials (keyed by config ID) */
41
74
  claims?: Record<string, Record<string, unknown>>;
42
- /** Response type: 'qrcode' returns a data URL, 'uri' returns the offer URI */
43
- responseType?: 'qrcode' | 'uri' | 'dc-api';
75
+ /** Response type: 'uri' returns the offer URI, 'dc-api' for Digital Credentials API */
76
+ responseType?: 'uri' | 'dc-api';
44
77
  /** Transaction code for pre-authorized flow */
45
78
  txCode?: string;
46
79
  /** Flow type (default: 'pre_authorized_code') */
@@ -52,8 +85,8 @@ interface IssuanceOfferOptions {
52
85
  interface PresentationRequestOptions {
53
86
  /** ID of the presentation configuration */
54
87
  configId: string;
55
- /** Response type: 'qrcode' returns a data URL, 'uri' returns the request URI */
56
- responseType?: 'qrcode' | 'uri' | 'dc-api';
88
+ /** Response type: 'uri' returns the request URI, 'dc-api' for Digital Credentials API */
89
+ responseType?: 'uri' | 'dc-api';
57
90
  /** Optional redirect URI after presentation completes */
58
91
  redirectUri?: string;
59
92
  }
@@ -61,9 +94,22 @@ interface PresentationRequestOptions {
61
94
  * Result of creating an offer or request
62
95
  */
63
96
  interface OfferResult {
64
- /** The URI to encode in a QR code or use directly */
97
+ /**
98
+ * URI for same-device flow.
99
+ * Use when the wallet is on the same device as the browser.
100
+ * For presentation requests: After presentation, the wallet will redirect the user back to the verifier.
101
+ * For issuance offers: The wallet opens and receives the credential.
102
+ */
65
103
  uri: string;
66
- /** Session ID for polling */
104
+ /**
105
+ * URI for cross-device flow (e.g., QR code scanned by another device).
106
+ * Use when the wallet is on a different device than the browser.
107
+ * No redirect happens after presentation - poll the session for status updates.
108
+ *
109
+ * Only available for presentation requests. For issuance, use `uri` for both flows.
110
+ */
111
+ crossDeviceUri?: string;
112
+ /** Session ID for polling status updates */
67
113
  sessionId: string;
68
114
  }
69
115
  /**
@@ -90,7 +136,7 @@ interface OfferResult {
90
136
  * ```
91
137
  */
92
138
  declare class EudiploClient {
93
- private config;
139
+ private readonly config;
94
140
  private accessToken?;
95
141
  private tokenExpiresAt?;
96
142
  private refreshPromise?;
@@ -122,14 +168,26 @@ declare class EudiploClient {
122
168
  /**
123
169
  * Create a presentation request (for verification).
124
170
  *
125
- * @example
171
+ * Returns two URIs:
172
+ * - `uri`: For same-device flow (wallet on same device, redirect after completion)
173
+ * - `crossDeviceUri`: For cross-device flow (QR code, no redirect, poll for status)
174
+ *
175
+ * @example Same-device flow (wallet app on user's device)
126
176
  * ```typescript
127
- * // Age verification
128
177
  * const { uri, sessionId } = await client.createPresentationRequest({
129
- * configId: 'age-over-18'
178
+ * configId: 'age-over-18',
179
+ * redirectUri: 'https://example.com/callback'
130
180
  * });
181
+ * // Redirect user to uri - wallet will redirect back after completion
182
+ * window.location.href = uri;
183
+ * ```
131
184
  *
132
- * // Show QR code, wait for wallet to respond
185
+ * @example Cross-device flow (QR code scanned by separate device)
186
+ * ```typescript
187
+ * const { crossDeviceUri, sessionId } = await client.createPresentationRequest({
188
+ * configId: 'age-over-18'
189
+ * });
190
+ * // Display crossDeviceUri as QR code, then poll for completion
133
191
  * const session = await client.waitForSession(sessionId);
134
192
  * ```
135
193
  */
@@ -163,6 +221,54 @@ declare class EudiploClient {
163
221
  * Get the configured base URL
164
222
  */
165
223
  getBaseUrl(): string;
224
+ /**
225
+ * Create a presentation request configured for DC API usage.
226
+ * Returns a session with the signed request object needed for DC API.
227
+ *
228
+ * @example
229
+ * ```typescript
230
+ * const session = await client.createDcApiPresentationRequest({
231
+ * configId: 'age-over-18'
232
+ * });
233
+ *
234
+ * // Use the requestObject with the DC API
235
+ * const result = await client.submitDcApiPresentation(session);
236
+ * ```
237
+ */
238
+ createDcApiPresentationRequest(options: Omit<PresentationRequestOptions, 'responseType'>): Promise<Session>;
239
+ /**
240
+ * Submit a presentation using the Digital Credentials API.
241
+ * This method handles the browser DC API call and submits the response to the verifier.
242
+ *
243
+ * @example
244
+ * ```typescript
245
+ * // Check if DC API is available
246
+ * if (!isDcApiAvailable()) {
247
+ * throw new Error('DC API not supported in this browser');
248
+ * }
249
+ *
250
+ * const session = await client.createDcApiPresentationRequest({
251
+ * configId: 'age-over-18'
252
+ * });
253
+ *
254
+ * const result = await client.submitDcApiPresentation(session);
255
+ * console.log('Verified credentials:', result.credentials);
256
+ * ```
257
+ */
258
+ submitDcApiPresentation(session: Session, options?: DcApiPresentationOptions): Promise<DcApiPresentationResult>;
259
+ /**
260
+ * Convenience method to create a presentation request and immediately
261
+ * submit it using the Digital Credentials API.
262
+ *
263
+ * @example
264
+ * ```typescript
265
+ * const result = await client.verifyWithDcApi({
266
+ * configId: 'age-over-18'
267
+ * });
268
+ * console.log('Verified:', result.credentials);
269
+ * ```
270
+ */
271
+ verifyWithDcApi(options: Omit<PresentationRequestOptions, 'responseType'>, dcOptions?: DcApiPresentationOptions): Promise<DcApiPresentationResult>;
166
272
  }
167
273
  /**
168
274
  * Credentials for EUDIPLO authentication
@@ -295,5 +401,174 @@ declare function issueAndWait(options: IssueOptions & {
295
401
  /** Called with the URI when available - use to display QR code */
296
402
  onUri: (uri: string) => void;
297
403
  }): Promise<Session>;
404
+ /**
405
+ * Options for DC API verification
406
+ */
407
+ interface DcApiVerifyOptions extends EudiploCredentials {
408
+ /** Presentation configuration ID */
409
+ configId: string;
410
+ /** Optional redirect URI */
411
+ redirectUri?: string;
412
+ /** Whether to return full credential data (default: true) */
413
+ sendResponse?: boolean;
414
+ }
415
+ /**
416
+ * Verify a credential using the Digital Credentials API (browser-native flow).
417
+ * This is the simplest way to verify credentials when the DC API is available.
418
+ *
419
+ * @example
420
+ * ```typescript
421
+ * import { verifyWithDcApi, isDcApiAvailable } from '@eudiplo/sdk-core';
422
+ *
423
+ * if (isDcApiAvailable()) {
424
+ * const result = await verifyWithDcApi({
425
+ * baseUrl: 'https://eudiplo.example.com',
426
+ * clientId: 'demo',
427
+ * clientSecret: 'secret',
428
+ * configId: 'age-over-18'
429
+ * });
430
+ * console.log('Verified!', result.credentials);
431
+ * } else {
432
+ * // Fall back to QR code flow
433
+ * const { uri } = await verify({ ... });
434
+ * }
435
+ * ```
436
+ */
437
+ declare function verifyWithDcApi(options: DcApiVerifyOptions): Promise<DcApiPresentationResult>;
438
+ /**
439
+ * Create a presentation request for DC API and get the session.
440
+ * Use this when you need more control over the DC API flow.
441
+ *
442
+ * @example
443
+ * ```typescript
444
+ * import { createDcApiRequest, submitDcApiPresentation, isDcApiAvailable } from '@eudiplo/sdk-core';
445
+ *
446
+ * if (isDcApiAvailable()) {
447
+ * const { session, submit } = await createDcApiRequest({
448
+ * baseUrl: 'https://eudiplo.example.com',
449
+ * clientId: 'demo',
450
+ * clientSecret: 'secret',
451
+ * configId: 'age-over-18'
452
+ * });
453
+ *
454
+ * // Show some UI, then submit when user is ready
455
+ * const result = await submit();
456
+ * console.log('Verified!', result.credentials);
457
+ * }
458
+ * ```
459
+ */
460
+ declare function createDcApiRequest(options: DcApiVerifyOptions): Promise<{
461
+ session: Session;
462
+ submit: (dcOptions?: DcApiPresentationOptions) => Promise<DcApiPresentationResult>;
463
+ }>;
464
+ /**
465
+ * Data returned from server to browser for DC API flow
466
+ */
467
+ interface DcApiRequestData {
468
+ /** The signed JWT request object to pass to the DC API */
469
+ requestObject: string;
470
+ /** Session ID for tracking */
471
+ sessionId: string;
472
+ /** The response_uri where wallet responses should be submitted */
473
+ responseUri: string;
474
+ }
475
+ /**
476
+ * Wallet response data from the DC API to send back to server
477
+ */
478
+ interface DcApiWalletResponse {
479
+ /** The encrypted VP token response from the wallet */
480
+ response?: string;
481
+ /** Error code if the wallet returned an error */
482
+ error?: string;
483
+ /** Error description if available */
484
+ error_description?: string;
485
+ }
486
+ /**
487
+ * SERVER-SIDE: Create a DC API request and return the data needed by the browser.
488
+ * Use this on your server where credentials are stored securely.
489
+ *
490
+ * @example
491
+ * ```typescript
492
+ * // On your server (e.g., Express/Next.js API route)
493
+ * import { createDcApiRequestForBrowser } from '@eudiplo/sdk-core';
494
+ *
495
+ * app.post('/api/start-verification', async (req, res) => {
496
+ * const requestData = await createDcApiRequestForBrowser({
497
+ * baseUrl: 'https://eudiplo.example.com',
498
+ * clientId: process.env.EUDIPLO_CLIENT_ID, // Safe on server
499
+ * clientSecret: process.env.EUDIPLO_SECRET, // Safe on server
500
+ * configId: 'age-over-18',
501
+ * });
502
+ *
503
+ * // Send only the safe data to the browser
504
+ * res.json(requestData);
505
+ * });
506
+ * ```
507
+ */
508
+ declare function createDcApiRequestForBrowser(options: DcApiVerifyOptions): Promise<DcApiRequestData>;
509
+ /**
510
+ * BROWSER-SIDE: Call the Digital Credentials API with a request from your server.
511
+ * This function runs in the browser and invokes the native DC API.
512
+ *
513
+ * @example
514
+ * ```typescript
515
+ * // In your browser code
516
+ * import { callDcApi, isDcApiAvailable } from '@eudiplo/sdk-core';
517
+ *
518
+ * // Get request data from your server
519
+ * const requestData = await fetch('/api/start-verification', { method: 'POST' })
520
+ * .then(r => r.json());
521
+ *
522
+ * if (isDcApiAvailable()) {
523
+ * // This calls the browser's native Digital Credentials API
524
+ * const walletResponse = await callDcApi(requestData.requestObject);
525
+ *
526
+ * // Send the wallet response back to your server for verification
527
+ * const result = await fetch('/api/complete-verification', {
528
+ * method: 'POST',
529
+ * headers: { 'Content-Type': 'application/json' },
530
+ * body: JSON.stringify({
531
+ * sessionId: requestData.sessionId,
532
+ * walletResponse,
533
+ * }),
534
+ * }).then(r => r.json());
535
+ * }
536
+ * ```
537
+ */
538
+ declare function callDcApi(requestObject: string): Promise<DcApiWalletResponse>;
539
+ /**
540
+ * SERVER-SIDE: Submit the wallet response to EUDIPLO and get verified credentials.
541
+ * Use this on your server after receiving the wallet response from the browser.
542
+ *
543
+ * @example
544
+ * ```typescript
545
+ * // On your server
546
+ * import { submitDcApiWalletResponse } from '@eudiplo/sdk-core';
547
+ *
548
+ * app.post('/api/complete-verification', async (req, res) => {
549
+ * const { sessionId, walletResponse } = req.body;
550
+ *
551
+ * // You stored the responseUri when creating the request, or pass it from client
552
+ * const result = await submitDcApiWalletResponse({
553
+ * responseUri: storedResponseUri, // or from request
554
+ * walletResponse,
555
+ * sendResponse: true, // Get verified claims back
556
+ * });
557
+ *
558
+ * // result.credentials contains the verified data
559
+ * res.json(result);
560
+ * });
561
+ * ```
562
+ */
563
+ declare function submitDcApiWalletResponse(options: {
564
+ /** The response_uri from the request (from DcApiRequestData.responseUri) */
565
+ responseUri: string;
566
+ /** The wallet response from callDcApi() */
567
+ walletResponse: DcApiWalletResponse;
568
+ /** Whether to return full credential data (default: true) */
569
+ sendResponse?: boolean;
570
+ /** Custom fetch implementation (optional) */
571
+ fetch?: typeof fetch;
572
+ }): Promise<DcApiPresentationResult>;
298
573
 
299
- export { EudiploClient, type EudiploClientConfig, type EudiploCredentials, type FlowResult, type IssuanceOfferOptions, type IssueOptions, type OfferResult, type PresentationRequestOptions, Session, type SessionPollingOptions, type VerifyOptions, issue, issueAndWait, verify, verifyAndWait };
574
+ export { type DcApiPresentationOptions, type DcApiPresentationResult, type DcApiRequestData, type DcApiVerifyOptions, type DcApiWalletResponse, type DigitalCredentialResponse, EudiploClient, type EudiploClientConfig, type EudiploCredentials, type FlowResult, type IssuanceOfferOptions, type IssueOptions, type OfferResult, type PresentationRequestOptions, Session, type SessionPollingOptions, type VerifyOptions, callDcApi, createDcApiRequest, createDcApiRequestForBrowser, isDcApiAvailable, issue, issueAndWait, submitDcApiWalletResponse, verify, verifyAndWait, verifyWithDcApi };