@eudiplo/sdk-core 8.0.2 → 8.1.0-main.21c667e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1155,7 +1155,11 @@ var sessionConfigControllerUpdateConfig = (options) => (options.client ?? client
1155
1155
  ...options.headers
1156
1156
  }
1157
1157
  });
1158
- var sessionEventsControllerSubscribeToSessionEvents = (options) => (options.client ?? client).sse.get({ url: "/api/session/{id}/events", ...options });
1158
+ var sessionEventsControllerSubscribeToSessionEvents = (options) => (options.client ?? client).sse.get({
1159
+ security: [{ scheme: "bearer", type: "http" }],
1160
+ url: "/api/session/{id}/events",
1161
+ ...options
1162
+ });
1159
1163
  var statusListConfigControllerResetConfig = (options) => (options?.client ?? client).delete({
1160
1164
  security: [{ scheme: "bearer", type: "http" }],
1161
1165
  url: "/api/status-list-config",
@@ -1592,16 +1596,31 @@ var configPortabilityControllerPlanArchive = (options) => (options?.client ?? cl
1592
1596
  url: "/api/config-bundles/plan/archive",
1593
1597
  ...options
1594
1598
  });
1595
- var configPortabilityControllerImport = (options) => (options?.client ?? client).post({
1599
+ var configPortabilityControllerImport = (options) => (options.client ?? client).post({
1596
1600
  security: [{ scheme: "bearer", type: "http" }],
1597
1601
  url: "/api/config-bundles/import",
1598
1602
  ...options
1599
1603
  });
1600
- var configPortabilityControllerImportArchive = (options) => (options?.client ?? client).post({
1604
+ var configPortabilityControllerImportArchive = (options) => (options.client ?? client).post({
1601
1605
  security: [{ scheme: "bearer", type: "http" }],
1602
1606
  url: "/api/config-bundles/import/archive",
1603
1607
  ...options
1604
1608
  });
1609
+ var configPortabilityControllerOperations = (options) => (options?.client ?? client).get({
1610
+ security: [{ scheme: "bearer", type: "http" }],
1611
+ url: "/api/config-bundles/operations",
1612
+ ...options
1613
+ });
1614
+ var configPortabilityControllerOperation = (options) => (options.client ?? client).get({
1615
+ security: [{ scheme: "bearer", type: "http" }],
1616
+ url: "/api/config-bundles/operations/{id}",
1617
+ ...options
1618
+ });
1619
+ var configPortabilityControllerAcknowledgeInterruption = (options) => (options.client ?? client).post({
1620
+ security: [{ scheme: "bearer", type: "http" }],
1621
+ url: "/api/config-bundles/operations/{id}/acknowledge-interruption",
1622
+ ...options
1623
+ });
1605
1624
  var configPortabilityControllerUpgrade = (options) => (options?.client ?? client).post({
1606
1625
  security: [{ scheme: "bearer", type: "http" }],
1607
1626
  url: "/api/config-bundles/documents/upgrade",
@@ -1652,6 +1671,14 @@ function mapDcApiPresentationResult(result) {
1652
1671
  redirectUri: result?.redirect_uri
1653
1672
  };
1654
1673
  }
1674
+ function isTerminalStatus(status) {
1675
+ return status === "completed" || status === "expired" || status === "failed";
1676
+ }
1677
+ function withoutTrailingSlashes(url) {
1678
+ let end = url.length;
1679
+ while (end > 0 && url[end - 1] === "/") end--;
1680
+ return url.slice(0, end);
1681
+ }
1655
1682
  var EudiploClient = class {
1656
1683
  config;
1657
1684
  accessToken;
@@ -1660,10 +1687,12 @@ var EudiploClient = class {
1660
1687
  constructor(config) {
1661
1688
  this.config = {
1662
1689
  autoRefresh: true,
1663
- ...config
1690
+ ...config,
1691
+ // Hand-written URLs append paths with a leading slash.
1692
+ baseUrl: withoutTrailingSlashes(config.baseUrl)
1664
1693
  };
1665
1694
  client.setConfig({
1666
- baseUrl: config.baseUrl,
1695
+ baseUrl: this.config.baseUrl,
1667
1696
  fetch: config.fetch
1668
1697
  });
1669
1698
  }
@@ -1896,17 +1925,16 @@ var EudiploClient = class {
1896
1925
  /**
1897
1926
  * Subscribe to real-time session status updates via Server-Sent Events.
1898
1927
  *
1899
- * This is more efficient than polling and provides instant updates.
1900
- * The connection remains open until closed or the session reaches a terminal state.
1928
+ * The stream is read with `fetch` and the client's access token in the
1929
+ * `Authorization` header, so it works in browsers and in Node.js 18+. The
1930
+ * first event carries the current status; the stream ends after a terminal
1931
+ * status. Failed connections are retried up to three times in total.
1901
1932
  *
1902
1933
  * @example
1903
1934
  * ```typescript
1904
1935
  * const subscription = await client.subscribeToSession(sessionId, {
1905
1936
  * onStatusChange: (event) => {
1906
1937
  * console.log(`Status: ${event.status}`);
1907
- * if (['completed', 'expired', 'failed'].includes(event.status)) {
1908
- * subscription.close();
1909
- * }
1910
1938
  * },
1911
1939
  * onError: (error) => console.error('SSE error:', error)
1912
1940
  * });
@@ -1916,41 +1944,38 @@ var EudiploClient = class {
1916
1944
  * ```
1917
1945
  */
1918
1946
  async subscribeToSession(sessionId, options = {}) {
1919
- await this.ensureAuthenticated();
1920
- const token = this.accessToken;
1921
- if (!token) {
1922
- throw new Error("No access token available");
1923
- }
1924
- if (typeof EventSource === "undefined") {
1925
- throw new Error(
1926
- "EventSource is not available in this environment. Use polling with waitForSession() instead, or provide a polyfill."
1927
- );
1928
- }
1929
- const url = `${this.config.baseUrl}/session/${sessionId}/events?token=${encodeURIComponent(token)}`;
1930
- const eventSource = new EventSource(url);
1931
- eventSource.onopen = () => {
1932
- options.onOpen?.();
1947
+ const abort = new AbortController();
1948
+ const report = (error) => {
1949
+ if (!abort.signal.aborted) {
1950
+ options.onError?.(error instanceof Error ? error : new Error(String(error)));
1951
+ }
1933
1952
  };
1934
- eventSource.onmessage = (event) => {
1953
+ const stream = await this.sessionEvents(sessionId, abort.signal, report);
1954
+ void (async () => {
1955
+ let opened = false;
1935
1956
  try {
1936
- const data = JSON.parse(event.data);
1937
- options.onStatusChange?.(data);
1957
+ for await (const event of stream) {
1958
+ if (!opened) {
1959
+ opened = true;
1960
+ options.onOpen?.();
1961
+ }
1962
+ options.onStatusChange?.(event);
1963
+ if (isTerminalStatus(event.status)) return;
1964
+ }
1965
+ report(new Error(`Session event stream for ${sessionId} ended before a final status`));
1938
1966
  } catch (error) {
1939
- options.onError?.(new Error(`Failed to parse SSE event: ${error}`));
1967
+ report(error);
1940
1968
  }
1941
- };
1942
- eventSource.onerror = () => {
1943
- options.onError?.(new Error("SSE connection error"));
1944
- };
1969
+ })();
1945
1970
  return {
1946
- close: () => eventSource.close()
1971
+ close: () => abort.abort()
1947
1972
  };
1948
1973
  }
1949
1974
  /**
1950
1975
  * Subscribe to session and wait for completion via SSE.
1951
1976
  *
1952
1977
  * Returns a Promise that resolves when the session completes,
1953
- * or rejects if it fails/expires.
1978
+ * or rejects if it fails/expires or the stream cannot be read.
1954
1979
  *
1955
1980
  * @example
1956
1981
  * ```typescript
@@ -1963,27 +1988,33 @@ var EudiploClient = class {
1963
1988
  * ```
1964
1989
  */
1965
1990
  async waitForSessionWithSse(sessionId, options = {}) {
1966
- return new Promise(async (resolve, reject) => {
1967
- try {
1968
- const subscription = await this.subscribeToSession(sessionId, {
1969
- onStatusChange: (event) => {
1970
- options.onStatusChange?.(event);
1971
- if (event.status === "completed") {
1972
- subscription.close();
1973
- resolve(event);
1974
- } else if (event.status === "expired" || event.status === "failed") {
1975
- subscription.close();
1976
- reject(new Error(`Session ${event.status}: ${sessionId}`));
1977
- }
1978
- },
1979
- onError: (error) => {
1980
- console.warn("SSE connection error, reconnecting...", error);
1981
- }
1982
- });
1983
- } catch (error) {
1984
- reject(error);
1991
+ let lastError;
1992
+ const stream = await this.sessionEvents(sessionId, void 0, (error) => {
1993
+ lastError = error;
1994
+ });
1995
+ for await (const event of stream) {
1996
+ options.onStatusChange?.(event);
1997
+ if (event.status === "completed") return event;
1998
+ if (isTerminalStatus(event.status)) {
1999
+ throw new Error(`Session ${event.status}: ${sessionId}`);
1985
2000
  }
2001
+ }
2002
+ throw new Error(
2003
+ `Session event stream for ${sessionId} ended before a final status` + (lastError ? `: ${lastError instanceof Error ? lastError.message : String(lastError)}` : "")
2004
+ );
2005
+ }
2006
+ /** Opens the event stream of a session with the current access token. */
2007
+ async sessionEvents(sessionId, signal, onError) {
2008
+ await this.ensureAuthenticated();
2009
+ const { stream } = await sessionEventsControllerSubscribeToSessionEvents({
2010
+ path: { id: sessionId },
2011
+ signal,
2012
+ // The stream starts with the current status, so a reconnect misses
2013
+ // nothing. 401, 403 and 404 do not go away, so stop retrying soon.
2014
+ sseMaxRetryAttempts: 3,
2015
+ onSseError: onError
1986
2016
  });
2017
+ return stream;
1987
2018
  }
1988
2019
  /**
1989
2020
  * Get the current access token (for advanced usage)
@@ -2034,7 +2065,7 @@ var EudiploClient = class {
2034
2065
  return session;
2035
2066
  }
2036
2067
  const nonceOrId = session.walletNonce ?? session.id;
2037
- const requestObjectUrl = `${this.config.baseUrl}/api/presentations/${encodeURIComponent(nonceOrId)}/oid4vp/request`;
2068
+ const requestObjectUrl = `${this.config.baseUrl}/presentations/${encodeURIComponent(nonceOrId)}/oid4vp/request`;
2038
2069
  const fetchImpl = this.config.fetch ?? fetch;
2039
2070
  const requestObjectResponse = await fetchImpl(requestObjectUrl, {
2040
2071
  method: "GET",
@@ -2459,10 +2490,13 @@ exports.clientControllerGetClient = clientControllerGetClient;
2459
2490
  exports.clientControllerGetClients = clientControllerGetClients;
2460
2491
  exports.clientControllerRotateClientSecret = clientControllerRotateClientSecret;
2461
2492
  exports.clientControllerUpdateClient = clientControllerUpdateClient;
2493
+ exports.configPortabilityControllerAcknowledgeInterruption = configPortabilityControllerAcknowledgeInterruption;
2462
2494
  exports.configPortabilityControllerDetach = configPortabilityControllerDetach;
2463
2495
  exports.configPortabilityControllerExport = configPortabilityControllerExport;
2464
2496
  exports.configPortabilityControllerImport = configPortabilityControllerImport;
2465
2497
  exports.configPortabilityControllerImportArchive = configPortabilityControllerImportArchive;
2498
+ exports.configPortabilityControllerOperation = configPortabilityControllerOperation;
2499
+ exports.configPortabilityControllerOperations = configPortabilityControllerOperations;
2466
2500
  exports.configPortabilityControllerPlan = configPortabilityControllerPlan;
2467
2501
  exports.configPortabilityControllerPlanArchive = configPortabilityControllerPlanArchive;
2468
2502
  exports.configPortabilityControllerResources = configPortabilityControllerResources;
package/dist/index.mjs CHANGED
@@ -1153,7 +1153,11 @@ var sessionConfigControllerUpdateConfig = (options) => (options.client ?? client
1153
1153
  ...options.headers
1154
1154
  }
1155
1155
  });
1156
- var sessionEventsControllerSubscribeToSessionEvents = (options) => (options.client ?? client).sse.get({ url: "/api/session/{id}/events", ...options });
1156
+ var sessionEventsControllerSubscribeToSessionEvents = (options) => (options.client ?? client).sse.get({
1157
+ security: [{ scheme: "bearer", type: "http" }],
1158
+ url: "/api/session/{id}/events",
1159
+ ...options
1160
+ });
1157
1161
  var statusListConfigControllerResetConfig = (options) => (options?.client ?? client).delete({
1158
1162
  security: [{ scheme: "bearer", type: "http" }],
1159
1163
  url: "/api/status-list-config",
@@ -1590,16 +1594,31 @@ var configPortabilityControllerPlanArchive = (options) => (options?.client ?? cl
1590
1594
  url: "/api/config-bundles/plan/archive",
1591
1595
  ...options
1592
1596
  });
1593
- var configPortabilityControllerImport = (options) => (options?.client ?? client).post({
1597
+ var configPortabilityControllerImport = (options) => (options.client ?? client).post({
1594
1598
  security: [{ scheme: "bearer", type: "http" }],
1595
1599
  url: "/api/config-bundles/import",
1596
1600
  ...options
1597
1601
  });
1598
- var configPortabilityControllerImportArchive = (options) => (options?.client ?? client).post({
1602
+ var configPortabilityControllerImportArchive = (options) => (options.client ?? client).post({
1599
1603
  security: [{ scheme: "bearer", type: "http" }],
1600
1604
  url: "/api/config-bundles/import/archive",
1601
1605
  ...options
1602
1606
  });
1607
+ var configPortabilityControllerOperations = (options) => (options?.client ?? client).get({
1608
+ security: [{ scheme: "bearer", type: "http" }],
1609
+ url: "/api/config-bundles/operations",
1610
+ ...options
1611
+ });
1612
+ var configPortabilityControllerOperation = (options) => (options.client ?? client).get({
1613
+ security: [{ scheme: "bearer", type: "http" }],
1614
+ url: "/api/config-bundles/operations/{id}",
1615
+ ...options
1616
+ });
1617
+ var configPortabilityControllerAcknowledgeInterruption = (options) => (options.client ?? client).post({
1618
+ security: [{ scheme: "bearer", type: "http" }],
1619
+ url: "/api/config-bundles/operations/{id}/acknowledge-interruption",
1620
+ ...options
1621
+ });
1603
1622
  var configPortabilityControllerUpgrade = (options) => (options?.client ?? client).post({
1604
1623
  security: [{ scheme: "bearer", type: "http" }],
1605
1624
  url: "/api/config-bundles/documents/upgrade",
@@ -1650,6 +1669,14 @@ function mapDcApiPresentationResult(result) {
1650
1669
  redirectUri: result?.redirect_uri
1651
1670
  };
1652
1671
  }
1672
+ function isTerminalStatus(status) {
1673
+ return status === "completed" || status === "expired" || status === "failed";
1674
+ }
1675
+ function withoutTrailingSlashes(url) {
1676
+ let end = url.length;
1677
+ while (end > 0 && url[end - 1] === "/") end--;
1678
+ return url.slice(0, end);
1679
+ }
1653
1680
  var EudiploClient = class {
1654
1681
  config;
1655
1682
  accessToken;
@@ -1658,10 +1685,12 @@ var EudiploClient = class {
1658
1685
  constructor(config) {
1659
1686
  this.config = {
1660
1687
  autoRefresh: true,
1661
- ...config
1688
+ ...config,
1689
+ // Hand-written URLs append paths with a leading slash.
1690
+ baseUrl: withoutTrailingSlashes(config.baseUrl)
1662
1691
  };
1663
1692
  client.setConfig({
1664
- baseUrl: config.baseUrl,
1693
+ baseUrl: this.config.baseUrl,
1665
1694
  fetch: config.fetch
1666
1695
  });
1667
1696
  }
@@ -1894,17 +1923,16 @@ var EudiploClient = class {
1894
1923
  /**
1895
1924
  * Subscribe to real-time session status updates via Server-Sent Events.
1896
1925
  *
1897
- * This is more efficient than polling and provides instant updates.
1898
- * The connection remains open until closed or the session reaches a terminal state.
1926
+ * The stream is read with `fetch` and the client's access token in the
1927
+ * `Authorization` header, so it works in browsers and in Node.js 18+. The
1928
+ * first event carries the current status; the stream ends after a terminal
1929
+ * status. Failed connections are retried up to three times in total.
1899
1930
  *
1900
1931
  * @example
1901
1932
  * ```typescript
1902
1933
  * const subscription = await client.subscribeToSession(sessionId, {
1903
1934
  * onStatusChange: (event) => {
1904
1935
  * console.log(`Status: ${event.status}`);
1905
- * if (['completed', 'expired', 'failed'].includes(event.status)) {
1906
- * subscription.close();
1907
- * }
1908
1936
  * },
1909
1937
  * onError: (error) => console.error('SSE error:', error)
1910
1938
  * });
@@ -1914,41 +1942,38 @@ var EudiploClient = class {
1914
1942
  * ```
1915
1943
  */
1916
1944
  async subscribeToSession(sessionId, options = {}) {
1917
- await this.ensureAuthenticated();
1918
- const token = this.accessToken;
1919
- if (!token) {
1920
- throw new Error("No access token available");
1921
- }
1922
- if (typeof EventSource === "undefined") {
1923
- throw new Error(
1924
- "EventSource is not available in this environment. Use polling with waitForSession() instead, or provide a polyfill."
1925
- );
1926
- }
1927
- const url = `${this.config.baseUrl}/session/${sessionId}/events?token=${encodeURIComponent(token)}`;
1928
- const eventSource = new EventSource(url);
1929
- eventSource.onopen = () => {
1930
- options.onOpen?.();
1945
+ const abort = new AbortController();
1946
+ const report = (error) => {
1947
+ if (!abort.signal.aborted) {
1948
+ options.onError?.(error instanceof Error ? error : new Error(String(error)));
1949
+ }
1931
1950
  };
1932
- eventSource.onmessage = (event) => {
1951
+ const stream = await this.sessionEvents(sessionId, abort.signal, report);
1952
+ void (async () => {
1953
+ let opened = false;
1933
1954
  try {
1934
- const data = JSON.parse(event.data);
1935
- options.onStatusChange?.(data);
1955
+ for await (const event of stream) {
1956
+ if (!opened) {
1957
+ opened = true;
1958
+ options.onOpen?.();
1959
+ }
1960
+ options.onStatusChange?.(event);
1961
+ if (isTerminalStatus(event.status)) return;
1962
+ }
1963
+ report(new Error(`Session event stream for ${sessionId} ended before a final status`));
1936
1964
  } catch (error) {
1937
- options.onError?.(new Error(`Failed to parse SSE event: ${error}`));
1965
+ report(error);
1938
1966
  }
1939
- };
1940
- eventSource.onerror = () => {
1941
- options.onError?.(new Error("SSE connection error"));
1942
- };
1967
+ })();
1943
1968
  return {
1944
- close: () => eventSource.close()
1969
+ close: () => abort.abort()
1945
1970
  };
1946
1971
  }
1947
1972
  /**
1948
1973
  * Subscribe to session and wait for completion via SSE.
1949
1974
  *
1950
1975
  * Returns a Promise that resolves when the session completes,
1951
- * or rejects if it fails/expires.
1976
+ * or rejects if it fails/expires or the stream cannot be read.
1952
1977
  *
1953
1978
  * @example
1954
1979
  * ```typescript
@@ -1961,27 +1986,33 @@ var EudiploClient = class {
1961
1986
  * ```
1962
1987
  */
1963
1988
  async waitForSessionWithSse(sessionId, options = {}) {
1964
- return new Promise(async (resolve, reject) => {
1965
- try {
1966
- const subscription = await this.subscribeToSession(sessionId, {
1967
- onStatusChange: (event) => {
1968
- options.onStatusChange?.(event);
1969
- if (event.status === "completed") {
1970
- subscription.close();
1971
- resolve(event);
1972
- } else if (event.status === "expired" || event.status === "failed") {
1973
- subscription.close();
1974
- reject(new Error(`Session ${event.status}: ${sessionId}`));
1975
- }
1976
- },
1977
- onError: (error) => {
1978
- console.warn("SSE connection error, reconnecting...", error);
1979
- }
1980
- });
1981
- } catch (error) {
1982
- reject(error);
1989
+ let lastError;
1990
+ const stream = await this.sessionEvents(sessionId, void 0, (error) => {
1991
+ lastError = error;
1992
+ });
1993
+ for await (const event of stream) {
1994
+ options.onStatusChange?.(event);
1995
+ if (event.status === "completed") return event;
1996
+ if (isTerminalStatus(event.status)) {
1997
+ throw new Error(`Session ${event.status}: ${sessionId}`);
1983
1998
  }
1999
+ }
2000
+ throw new Error(
2001
+ `Session event stream for ${sessionId} ended before a final status` + (lastError ? `: ${lastError instanceof Error ? lastError.message : String(lastError)}` : "")
2002
+ );
2003
+ }
2004
+ /** Opens the event stream of a session with the current access token. */
2005
+ async sessionEvents(sessionId, signal, onError) {
2006
+ await this.ensureAuthenticated();
2007
+ const { stream } = await sessionEventsControllerSubscribeToSessionEvents({
2008
+ path: { id: sessionId },
2009
+ signal,
2010
+ // The stream starts with the current status, so a reconnect misses
2011
+ // nothing. 401, 403 and 404 do not go away, so stop retrying soon.
2012
+ sseMaxRetryAttempts: 3,
2013
+ onSseError: onError
1984
2014
  });
2015
+ return stream;
1985
2016
  }
1986
2017
  /**
1987
2018
  * Get the current access token (for advanced usage)
@@ -2032,7 +2063,7 @@ var EudiploClient = class {
2032
2063
  return session;
2033
2064
  }
2034
2065
  const nonceOrId = session.walletNonce ?? session.id;
2035
- const requestObjectUrl = `${this.config.baseUrl}/api/presentations/${encodeURIComponent(nonceOrId)}/oid4vp/request`;
2066
+ const requestObjectUrl = `${this.config.baseUrl}/presentations/${encodeURIComponent(nonceOrId)}/oid4vp/request`;
2036
2067
  const fetchImpl = this.config.fetch ?? fetch;
2037
2068
  const requestObjectResponse = await fetchImpl(requestObjectUrl, {
2038
2069
  method: "GET",
@@ -2427,6 +2458,6 @@ function deriveRuntimeArtifacts(fields) {
2427
2458
  };
2428
2459
  }
2429
2460
 
2430
- export { EudiploClient, appControllerGetFrontendConfig, appControllerGetVersion, attributeProviderControllerCreate, attributeProviderControllerDelete, attributeProviderControllerGetAll, attributeProviderControllerGetById, attributeProviderControllerUpdate, auditLogControllerGetAuditLogs, authControllerGetOAuth2Token, buildClaims, buildClaimsByNamespace, buildClaimsMetadata, buildDisclosureFrame, buildJsonSchema, cacheControllerClearAllCaches, cacheControllerClearStatusListCache, cacheControllerClearTrustListCache, cacheControllerGetStats, chainedAsVpControllerAuthorize, chainedAsVpControllerPar, chainedAsVpControllerToken, chainedAsVpControllerVpCallback, client, clientControllerCreateClient, clientControllerDeleteClient, clientControllerGetClient, clientControllerGetClients, clientControllerRotateClientSecret, clientControllerUpdateClient, configPortabilityControllerDetach, configPortabilityControllerExport, configPortabilityControllerImport, configPortabilityControllerImportArchive, configPortabilityControllerPlan, configPortabilityControllerPlanArchive, configPortabilityControllerResources, configPortabilityControllerUpgrade, credentialConfigControllerDeleteIssuanceConfiguration, credentialConfigControllerGetConfigById, credentialConfigControllerGetConfigs, credentialConfigControllerStoreCredentialConfiguration, credentialConfigControllerUpdateCredentialConfiguration, credentialOfferControllerGetOffer, deferredControllerCompleteDeferred, deferredControllerFailDeferred, deriveRuntimeArtifacts, flattenFields, isDcApiAvailable, issuanceConfigControllerGetIssuanceConfigurations, issuanceConfigControllerReissueRegistrationCertificate, issuanceConfigControllerStoreIssuanceConfiguration, keyChainControllerCreate, keyChainControllerDelete, keyChainControllerDeleteTenantKmsConfig, keyChainControllerExport, keyChainControllerGetAll, keyChainControllerGetById, keyChainControllerGetProviders, keyChainControllerGetProvidersHealth, keyChainControllerGetTenantKmsConfig, keyChainControllerImport, keyChainControllerRotate, keyChainControllerUpdate, keyChainControllerUpdateTenantKmsConfig, presentationManagementControllerConfiguration, presentationManagementControllerDeleteConfiguration, presentationManagementControllerGetConfiguration, presentationManagementControllerListSchemaMetadataCatalog, presentationManagementControllerReissueRegistrationCertificate, presentationManagementControllerResolveIssuerMetadata, presentationManagementControllerResolveSchemaMetadata, presentationManagementControllerResolveSchemaMetadataJwt, presentationManagementControllerStorePresentationConfig, presentationManagementControllerUpdateConfiguration, registrarControllerCreateAccessCertificate, registrarControllerCreateConfig, registrarControllerDeleteConfig, registrarControllerGetConfig, registrarControllerUpdateConfig, schemaMetadataControllerDeprecateVersion, schemaMetadataControllerFindAll, schemaMetadataControllerFindOne, schemaMetadataControllerGetJwt, schemaMetadataControllerGetLatest, schemaMetadataControllerGetMine, schemaMetadataControllerGetSchema, schemaMetadataControllerGetVersions, schemaMetadataControllerGetVocabularies, schemaMetadataControllerPublishSchemaMetadata, schemaMetadataControllerPublishSchemaMetadataVersion, schemaMetadataControllerRemove, schemaMetadataControllerUpdate, sessionConfigControllerGetConfig, sessionConfigControllerResetConfig, sessionConfigControllerUpdateConfig, sessionControllerDeleteSession, sessionControllerGetAllSessions, sessionControllerGetSession, sessionControllerGetSessionLogs, sessionControllerRevokeAll, sessionEventsControllerSubscribeToSessionEvents, statusListConfigControllerGetConfig, statusListConfigControllerResetConfig, statusListConfigControllerUpdateConfig, statusListManagementControllerCreateList, statusListManagementControllerDeleteList, statusListManagementControllerGetList, statusListManagementControllerGetLists, statusListManagementControllerUpdateList, storageControllerUpload, tenantControllerDeleteTenant, tenantControllerGetTenant, tenantControllerGetTenants, tenantControllerInitTenant, tenantControllerUpdateTenant, trustListControllerCreateTrustList, trustListControllerDeleteTrustList, trustListControllerExportTrustList, trustListControllerGetAllTrustLists, trustListControllerGetTrustList, trustListControllerGetTrustListVersion, trustListControllerGetTrustListVersions, trustListControllerUpdateTrustList, userControllerCreateUser, userControllerDeleteUser, userControllerGetUser, userControllerGetUsers, userControllerUpdateUser, verifierOfferControllerGetOffer, webhookEndpointControllerCreate, webhookEndpointControllerDelete, webhookEndpointControllerGetAll, webhookEndpointControllerGetById, webhookEndpointControllerUpdate };
2461
+ export { EudiploClient, appControllerGetFrontendConfig, appControllerGetVersion, attributeProviderControllerCreate, attributeProviderControllerDelete, attributeProviderControllerGetAll, attributeProviderControllerGetById, attributeProviderControllerUpdate, auditLogControllerGetAuditLogs, authControllerGetOAuth2Token, buildClaims, buildClaimsByNamespace, buildClaimsMetadata, buildDisclosureFrame, buildJsonSchema, cacheControllerClearAllCaches, cacheControllerClearStatusListCache, cacheControllerClearTrustListCache, cacheControllerGetStats, chainedAsVpControllerAuthorize, chainedAsVpControllerPar, chainedAsVpControllerToken, chainedAsVpControllerVpCallback, client, clientControllerCreateClient, clientControllerDeleteClient, clientControllerGetClient, clientControllerGetClients, clientControllerRotateClientSecret, clientControllerUpdateClient, configPortabilityControllerAcknowledgeInterruption, configPortabilityControllerDetach, configPortabilityControllerExport, configPortabilityControllerImport, configPortabilityControllerImportArchive, configPortabilityControllerOperation, configPortabilityControllerOperations, configPortabilityControllerPlan, configPortabilityControllerPlanArchive, configPortabilityControllerResources, configPortabilityControllerUpgrade, credentialConfigControllerDeleteIssuanceConfiguration, credentialConfigControllerGetConfigById, credentialConfigControllerGetConfigs, credentialConfigControllerStoreCredentialConfiguration, credentialConfigControllerUpdateCredentialConfiguration, credentialOfferControllerGetOffer, deferredControllerCompleteDeferred, deferredControllerFailDeferred, deriveRuntimeArtifacts, flattenFields, isDcApiAvailable, issuanceConfigControllerGetIssuanceConfigurations, issuanceConfigControllerReissueRegistrationCertificate, issuanceConfigControllerStoreIssuanceConfiguration, keyChainControllerCreate, keyChainControllerDelete, keyChainControllerDeleteTenantKmsConfig, keyChainControllerExport, keyChainControllerGetAll, keyChainControllerGetById, keyChainControllerGetProviders, keyChainControllerGetProvidersHealth, keyChainControllerGetTenantKmsConfig, keyChainControllerImport, keyChainControllerRotate, keyChainControllerUpdate, keyChainControllerUpdateTenantKmsConfig, presentationManagementControllerConfiguration, presentationManagementControllerDeleteConfiguration, presentationManagementControllerGetConfiguration, presentationManagementControllerListSchemaMetadataCatalog, presentationManagementControllerReissueRegistrationCertificate, presentationManagementControllerResolveIssuerMetadata, presentationManagementControllerResolveSchemaMetadata, presentationManagementControllerResolveSchemaMetadataJwt, presentationManagementControllerStorePresentationConfig, presentationManagementControllerUpdateConfiguration, registrarControllerCreateAccessCertificate, registrarControllerCreateConfig, registrarControllerDeleteConfig, registrarControllerGetConfig, registrarControllerUpdateConfig, schemaMetadataControllerDeprecateVersion, schemaMetadataControllerFindAll, schemaMetadataControllerFindOne, schemaMetadataControllerGetJwt, schemaMetadataControllerGetLatest, schemaMetadataControllerGetMine, schemaMetadataControllerGetSchema, schemaMetadataControllerGetVersions, schemaMetadataControllerGetVocabularies, schemaMetadataControllerPublishSchemaMetadata, schemaMetadataControllerPublishSchemaMetadataVersion, schemaMetadataControllerRemove, schemaMetadataControllerUpdate, sessionConfigControllerGetConfig, sessionConfigControllerResetConfig, sessionConfigControllerUpdateConfig, sessionControllerDeleteSession, sessionControllerGetAllSessions, sessionControllerGetSession, sessionControllerGetSessionLogs, sessionControllerRevokeAll, sessionEventsControllerSubscribeToSessionEvents, statusListConfigControllerGetConfig, statusListConfigControllerResetConfig, statusListConfigControllerUpdateConfig, statusListManagementControllerCreateList, statusListManagementControllerDeleteList, statusListManagementControllerGetList, statusListManagementControllerGetLists, statusListManagementControllerUpdateList, storageControllerUpload, tenantControllerDeleteTenant, tenantControllerGetTenant, tenantControllerGetTenants, tenantControllerInitTenant, tenantControllerUpdateTenant, trustListControllerCreateTrustList, trustListControllerDeleteTrustList, trustListControllerExportTrustList, trustListControllerGetAllTrustLists, trustListControllerGetTrustList, trustListControllerGetTrustListVersion, trustListControllerGetTrustListVersions, trustListControllerUpdateTrustList, userControllerCreateUser, userControllerDeleteUser, userControllerGetUser, userControllerGetUsers, userControllerUpdateUser, verifierOfferControllerGetOffer, webhookEndpointControllerCreate, webhookEndpointControllerDelete, webhookEndpointControllerGetAll, webhookEndpointControllerGetById, webhookEndpointControllerUpdate };
2431
2462
  //# sourceMappingURL=index.mjs.map
2432
2463
  //# sourceMappingURL=index.mjs.map