@triveria/wallet 0.0.295 → 0.0.297

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/api.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Triveria Wallet API
3
- * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
3
+ * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, MSO Mdoc, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC, SD-JWT-VC and MSO Mdoc formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.0
6
6
  *
@@ -151,6 +151,10 @@ export interface CredentialIssuerDefinition {
151
151
  * JSON paths of credential claims which will support being disclosed partially.
152
152
  */
153
153
  'disclosableClaims'?: Array<string>;
154
+ /**
155
+ * When true, credential issuance for this issuer requires the wallet to present a valid EUDI Wallet Instance Attestation (WIA, TS3). The issuer verifies the WIA signature, expiry, status and key binding before issuing. Defaults to false (no WIA check).
156
+ */
157
+ 'requiresWalletInstanceAttestation'?: boolean;
154
158
  }
155
159
  export declare const CredentialIssuerDefinitionCredentialIssuerEnum: {
156
160
  readonly CtWalletSame: "CtWalletSame";
@@ -1122,6 +1126,18 @@ export interface WalletPatchPayload {
1122
1126
  [key: string]: any;
1123
1127
  };
1124
1128
  }
1129
+ export interface WalletProviderCertificateRequest {
1130
+ /**
1131
+ * PEM-encoded certificate chain (leaf first) issued for the provider key.
1132
+ */
1133
+ 'certificate_chain': Array<string>;
1134
+ }
1135
+ export interface WalletProviderCsrResponse {
1136
+ /**
1137
+ * PEM-encoded PKCS#10 certificate signing request.
1138
+ */
1139
+ 'csr': string;
1140
+ }
1125
1141
  export interface WmpAcceptInvitationPayload {
1126
1142
  /**
1127
1143
  * URL of the invitation JWT
@@ -1609,6 +1625,19 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1609
1625
  * @throws {RequiredError}
1610
1626
  */
1611
1627
  walletPatch: (walletId: string, walletPatchPayload?: WalletPatchPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1628
+ /**
1629
+ * Installs the externally-issued certificate chain for the Wallet Provider key. Requires the `admin` role. After this succeeds the Wallet Provider can sign WIAs with an x5c header.
1630
+ * @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
1631
+ * @param {*} [options] Override http request option.
1632
+ * @throws {RequiredError}
1633
+ */
1634
+ walletProviderCertificateImport: (walletProviderCertificateRequest?: WalletProviderCertificateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1635
+ /**
1636
+ * Generates a PKCS#10 certificate signing request (CSR) for the Wallet Provider key used to sign Wallet Instance Attestations. Requires the `admin` role. The provider key is generated on first call if it does not exist yet.
1637
+ * @param {*} [options] Override http request option.
1638
+ * @throws {RequiredError}
1639
+ */
1640
+ walletProviderCsrGenerate: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1612
1641
  /**
1613
1642
  * Retrieves the result of a credential verification session identified by the verifier state. Called by the verifier after a holder has presented credentials in response to a `VerifierInitUrlCreate` request. Returns 204 if the holder has not yet presented.
1614
1643
  * @param {string} walletId Wallet ID
@@ -2137,6 +2166,19 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2137
2166
  * @throws {RequiredError}
2138
2167
  */
2139
2168
  walletPatch(walletId: string, walletPatchPayload?: WalletPatchPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletIdObject>>;
2169
+ /**
2170
+ * Installs the externally-issued certificate chain for the Wallet Provider key. Requires the `admin` role. After this succeeds the Wallet Provider can sign WIAs with an x5c header.
2171
+ * @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
2172
+ * @param {*} [options] Override http request option.
2173
+ * @throws {RequiredError}
2174
+ */
2175
+ walletProviderCertificateImport(walletProviderCertificateRequest?: WalletProviderCertificateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2176
+ /**
2177
+ * Generates a PKCS#10 certificate signing request (CSR) for the Wallet Provider key used to sign Wallet Instance Attestations. Requires the `admin` role. The provider key is generated on first call if it does not exist yet.
2178
+ * @param {*} [options] Override http request option.
2179
+ * @throws {RequiredError}
2180
+ */
2181
+ walletProviderCsrGenerate(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletProviderCsrResponse>>;
2140
2182
  /**
2141
2183
  * Retrieves the result of a credential verification session identified by the verifier state. Called by the verifier after a holder has presented credentials in response to a `VerifierInitUrlCreate` request. Returns 204 if the holder has not yet presented.
2142
2184
  * @param {string} walletId Wallet ID
@@ -2665,6 +2707,19 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2665
2707
  * @throws {RequiredError}
2666
2708
  */
2667
2709
  walletPatch(walletId: string, walletPatchPayload?: WalletPatchPayload, options?: RawAxiosRequestConfig): AxiosPromise<WalletIdObject>;
2710
+ /**
2711
+ * Installs the externally-issued certificate chain for the Wallet Provider key. Requires the `admin` role. After this succeeds the Wallet Provider can sign WIAs with an x5c header.
2712
+ * @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
2713
+ * @param {*} [options] Override http request option.
2714
+ * @throws {RequiredError}
2715
+ */
2716
+ walletProviderCertificateImport(walletProviderCertificateRequest?: WalletProviderCertificateRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2717
+ /**
2718
+ * Generates a PKCS#10 certificate signing request (CSR) for the Wallet Provider key used to sign Wallet Instance Attestations. Requires the `admin` role. The provider key is generated on first call if it does not exist yet.
2719
+ * @param {*} [options] Override http request option.
2720
+ * @throws {RequiredError}
2721
+ */
2722
+ walletProviderCsrGenerate(options?: RawAxiosRequestConfig): AxiosPromise<WalletProviderCsrResponse>;
2668
2723
  /**
2669
2724
  * Retrieves the result of a credential verification session identified by the verifier state. Called by the verifier after a holder has presented credentials in response to a `VerifierInitUrlCreate` request. Returns 204 if the holder has not yet presented.
2670
2725
  * @param {string} walletId Wallet ID
@@ -3193,6 +3248,19 @@ export declare class DefaultApi extends BaseAPI {
3193
3248
  * @throws {RequiredError}
3194
3249
  */
3195
3250
  walletPatch(walletId: string, walletPatchPayload?: WalletPatchPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdObject, any, {}>>;
3251
+ /**
3252
+ * Installs the externally-issued certificate chain for the Wallet Provider key. Requires the `admin` role. After this succeeds the Wallet Provider can sign WIAs with an x5c header.
3253
+ * @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
3254
+ * @param {*} [options] Override http request option.
3255
+ * @throws {RequiredError}
3256
+ */
3257
+ walletProviderCertificateImport(walletProviderCertificateRequest?: WalletProviderCertificateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
3258
+ /**
3259
+ * Generates a PKCS#10 certificate signing request (CSR) for the Wallet Provider key used to sign Wallet Instance Attestations. Requires the `admin` role. The provider key is generated on first call if it does not exist yet.
3260
+ * @param {*} [options] Override http request option.
3261
+ * @throws {RequiredError}
3262
+ */
3263
+ walletProviderCsrGenerate(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletProviderCsrResponse, any, {}>>;
3196
3264
  /**
3197
3265
  * Retrieves the result of a credential verification session identified by the verifier state. Called by the verifier after a holder has presented credentials in response to a `VerifierInitUrlCreate` request. Returns 204 if the holder has not yet presented.
3198
3266
  * @param {string} walletId Wallet ID
package/api.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Triveria Wallet API
6
- * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
6
+ * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, MSO Mdoc, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC, SD-JWT-VC and MSO Mdoc formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0.0
9
9
  *
@@ -1427,7 +1427,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1427
1427
  localVarHeaderParameter['Content-Type'] = 'application/json';
1428
1428
  localVarHeaderParameter['Accept'] = 'application/json';
1429
1429
  if (walletId != null) {
1430
- localVarHeaderParameter['wallet_id'] = String(walletId);
1430
+ localVarHeaderParameter['wallet-id'] = String(walletId);
1431
1431
  }
1432
1432
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1433
1433
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -1464,7 +1464,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1464
1464
  localVarHeaderParameter['Content-Type'] = 'application/json';
1465
1465
  localVarHeaderParameter['Accept'] = 'application/json';
1466
1466
  if (walletId != null) {
1467
- localVarHeaderParameter['wallet_id'] = String(walletId);
1467
+ localVarHeaderParameter['wallet-id'] = String(walletId);
1468
1468
  }
1469
1469
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1470
1470
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -1501,7 +1501,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1501
1501
  localVarHeaderParameter['Content-Type'] = 'application/json';
1502
1502
  localVarHeaderParameter['Accept'] = 'application/json';
1503
1503
  if (walletId != null) {
1504
- localVarHeaderParameter['wallet_id'] = String(walletId);
1504
+ localVarHeaderParameter['wallet-id'] = String(walletId);
1505
1505
  }
1506
1506
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1507
1507
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -1538,7 +1538,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1538
1538
  localVarHeaderParameter['Content-Type'] = 'application/json';
1539
1539
  localVarHeaderParameter['Accept'] = 'application/json';
1540
1540
  if (walletId != null) {
1541
- localVarHeaderParameter['wallet_id'] = String(walletId);
1541
+ localVarHeaderParameter['wallet-id'] = String(walletId);
1542
1542
  }
1543
1543
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1544
1544
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -1575,7 +1575,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1575
1575
  localVarHeaderParameter['Content-Type'] = 'application/json';
1576
1576
  localVarHeaderParameter['Accept'] = 'application/json';
1577
1577
  if (walletId != null) {
1578
- localVarHeaderParameter['wallet_id'] = String(walletId);
1578
+ localVarHeaderParameter['wallet-id'] = String(walletId);
1579
1579
  }
1580
1580
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1581
1581
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -1612,7 +1612,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1612
1612
  localVarHeaderParameter['Content-Type'] = 'application/json';
1613
1613
  localVarHeaderParameter['Accept'] = 'application/json';
1614
1614
  if (walletId != null) {
1615
- localVarHeaderParameter['wallet_id'] = String(walletId);
1615
+ localVarHeaderParameter['wallet-id'] = String(walletId);
1616
1616
  }
1617
1617
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1618
1618
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2115,6 +2115,65 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2115
2115
  options: localVarRequestOptions,
2116
2116
  };
2117
2117
  }),
2118
+ /**
2119
+ * Installs the externally-issued certificate chain for the Wallet Provider key. Requires the `admin` role. After this succeeds the Wallet Provider can sign WIAs with an x5c header.
2120
+ * @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
2121
+ * @param {*} [options] Override http request option.
2122
+ * @throws {RequiredError}
2123
+ */
2124
+ walletProviderCertificateImport: (walletProviderCertificateRequest_1, ...args_1) => __awaiter(this, [walletProviderCertificateRequest_1, ...args_1], void 0, function* (walletProviderCertificateRequest, options = {}) {
2125
+ const localVarPath = `/admin/wallet-provider/certificate`;
2126
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2127
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2128
+ let baseOptions;
2129
+ if (configuration) {
2130
+ baseOptions = configuration.baseOptions;
2131
+ }
2132
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2133
+ const localVarHeaderParameter = {};
2134
+ const localVarQueryParameter = {};
2135
+ // authentication accessToken required
2136
+ // http bearer authentication required
2137
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2138
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2139
+ localVarHeaderParameter['Accept'] = 'application/json';
2140
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2141
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2142
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2143
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(walletProviderCertificateRequest, localVarRequestOptions, configuration);
2144
+ return {
2145
+ url: (0, common_1.toPathString)(localVarUrlObj),
2146
+ options: localVarRequestOptions,
2147
+ };
2148
+ }),
2149
+ /**
2150
+ * Generates a PKCS#10 certificate signing request (CSR) for the Wallet Provider key used to sign Wallet Instance Attestations. Requires the `admin` role. The provider key is generated on first call if it does not exist yet.
2151
+ * @param {*} [options] Override http request option.
2152
+ * @throws {RequiredError}
2153
+ */
2154
+ walletProviderCsrGenerate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2155
+ const localVarPath = `/admin/wallet-provider/csr`;
2156
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2157
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2158
+ let baseOptions;
2159
+ if (configuration) {
2160
+ baseOptions = configuration.baseOptions;
2161
+ }
2162
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2163
+ const localVarHeaderParameter = {};
2164
+ const localVarQueryParameter = {};
2165
+ // authentication accessToken required
2166
+ // http bearer authentication required
2167
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2168
+ localVarHeaderParameter['Accept'] = 'application/json';
2169
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2170
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2171
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2172
+ return {
2173
+ url: (0, common_1.toPathString)(localVarUrlObj),
2174
+ options: localVarRequestOptions,
2175
+ };
2176
+ }),
2118
2177
  /**
2119
2178
  * Retrieves the result of a credential verification session identified by the verifier state. Called by the verifier after a holder has presented credentials in response to a `VerifierInitUrlCreate` request. Returns 204 if the holder has not yet presented.
2120
2179
  * @param {string} walletId Wallet ID
@@ -2312,7 +2371,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2312
2371
  localVarHeaderParameter['Content-Type'] = 'application/json';
2313
2372
  localVarHeaderParameter['Accept'] = 'application/json';
2314
2373
  if (walletId != null) {
2315
- localVarHeaderParameter['walletId'] = String(walletId);
2374
+ localVarHeaderParameter['wallet-id'] = String(walletId);
2316
2375
  }
2317
2376
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2318
2377
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2347,7 +2406,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2347
2406
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2348
2407
  localVarHeaderParameter['Accept'] = 'application/json';
2349
2408
  if (walletId != null) {
2350
- localVarHeaderParameter['walletId'] = String(walletId);
2409
+ localVarHeaderParameter['wallet-id'] = String(walletId);
2351
2410
  }
2352
2411
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2353
2412
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2385,7 +2444,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2385
2444
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2386
2445
  localVarHeaderParameter['Accept'] = 'application/json';
2387
2446
  if (walletId != null) {
2388
- localVarHeaderParameter['walletId'] = String(walletId);
2447
+ localVarHeaderParameter['wallet-id'] = String(walletId);
2389
2448
  }
2390
2449
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2391
2450
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2419,7 +2478,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2419
2478
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2420
2479
  localVarHeaderParameter['Accept'] = 'application/json';
2421
2480
  if (walletId != null) {
2422
- localVarHeaderParameter['walletId'] = String(walletId);
2481
+ localVarHeaderParameter['wallet-id'] = String(walletId);
2423
2482
  }
2424
2483
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2425
2484
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2457,7 +2516,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2457
2516
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2458
2517
  localVarHeaderParameter['Accept'] = 'application/json';
2459
2518
  if (walletId != null) {
2460
- localVarHeaderParameter['walletId'] = String(walletId);
2519
+ localVarHeaderParameter['wallet-id'] = String(walletId);
2461
2520
  }
2462
2521
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2463
2522
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2495,7 +2554,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2495
2554
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2496
2555
  localVarHeaderParameter['Accept'] = 'application/json';
2497
2556
  if (walletId != null) {
2498
- localVarHeaderParameter['walletId'] = String(walletId);
2557
+ localVarHeaderParameter['wallet-id'] = String(walletId);
2499
2558
  }
2500
2559
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2501
2560
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2533,7 +2592,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2533
2592
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2534
2593
  localVarHeaderParameter['Accept'] = 'application/json';
2535
2594
  if (walletId != null) {
2536
- localVarHeaderParameter['walletId'] = String(walletId);
2595
+ localVarHeaderParameter['wallet-id'] = String(walletId);
2537
2596
  }
2538
2597
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2539
2598
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2573,7 +2632,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2573
2632
  }
2574
2633
  localVarHeaderParameter['Accept'] = 'application/json';
2575
2634
  if (walletId != null) {
2576
- localVarHeaderParameter['walletId'] = String(walletId);
2635
+ localVarHeaderParameter['wallet-id'] = String(walletId);
2577
2636
  }
2578
2637
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2579
2638
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2611,7 +2670,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2611
2670
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2612
2671
  localVarHeaderParameter['Accept'] = 'application/json';
2613
2672
  if (walletId != null) {
2614
- localVarHeaderParameter['walletId'] = String(walletId);
2673
+ localVarHeaderParameter['wallet-id'] = String(walletId);
2615
2674
  }
2616
2675
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2617
2676
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -3442,6 +3501,35 @@ const DefaultApiFp = function (configuration) {
3442
3501
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3443
3502
  });
3444
3503
  },
3504
+ /**
3505
+ * Installs the externally-issued certificate chain for the Wallet Provider key. Requires the `admin` role. After this succeeds the Wallet Provider can sign WIAs with an x5c header.
3506
+ * @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
3507
+ * @param {*} [options] Override http request option.
3508
+ * @throws {RequiredError}
3509
+ */
3510
+ walletProviderCertificateImport(walletProviderCertificateRequest, options) {
3511
+ return __awaiter(this, void 0, void 0, function* () {
3512
+ var _a, _b, _c;
3513
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.walletProviderCertificateImport(walletProviderCertificateRequest, options);
3514
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3515
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletProviderCertificateImport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3516
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3517
+ });
3518
+ },
3519
+ /**
3520
+ * Generates a PKCS#10 certificate signing request (CSR) for the Wallet Provider key used to sign Wallet Instance Attestations. Requires the `admin` role. The provider key is generated on first call if it does not exist yet.
3521
+ * @param {*} [options] Override http request option.
3522
+ * @throws {RequiredError}
3523
+ */
3524
+ walletProviderCsrGenerate(options) {
3525
+ return __awaiter(this, void 0, void 0, function* () {
3526
+ var _a, _b, _c;
3527
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.walletProviderCsrGenerate(options);
3528
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3529
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletProviderCsrGenerate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3530
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3531
+ });
3532
+ },
3445
3533
  /**
3446
3534
  * Retrieves the result of a credential verification session identified by the verifier state. Called by the verifier after a holder has presented credentials in response to a `VerifierInitUrlCreate` request. Returns 204 if the holder has not yet presented.
3447
3535
  * @param {string} walletId Wallet ID
@@ -4184,6 +4272,23 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4184
4272
  walletPatch(walletId, walletPatchPayload, options) {
4185
4273
  return localVarFp.walletPatch(walletId, walletPatchPayload, options).then((request) => request(axios, basePath));
4186
4274
  },
4275
+ /**
4276
+ * Installs the externally-issued certificate chain for the Wallet Provider key. Requires the `admin` role. After this succeeds the Wallet Provider can sign WIAs with an x5c header.
4277
+ * @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
4278
+ * @param {*} [options] Override http request option.
4279
+ * @throws {RequiredError}
4280
+ */
4281
+ walletProviderCertificateImport(walletProviderCertificateRequest, options) {
4282
+ return localVarFp.walletProviderCertificateImport(walletProviderCertificateRequest, options).then((request) => request(axios, basePath));
4283
+ },
4284
+ /**
4285
+ * Generates a PKCS#10 certificate signing request (CSR) for the Wallet Provider key used to sign Wallet Instance Attestations. Requires the `admin` role. The provider key is generated on first call if it does not exist yet.
4286
+ * @param {*} [options] Override http request option.
4287
+ * @throws {RequiredError}
4288
+ */
4289
+ walletProviderCsrGenerate(options) {
4290
+ return localVarFp.walletProviderCsrGenerate(options).then((request) => request(axios, basePath));
4291
+ },
4187
4292
  /**
4188
4293
  * Retrieves the result of a credential verification session identified by the verifier state. Called by the verifier after a holder has presented credentials in response to a `VerifierInitUrlCreate` request. Returns 204 if the holder has not yet presented.
4189
4294
  * @param {string} walletId Wallet ID
@@ -4840,6 +4945,23 @@ class DefaultApi extends base_1.BaseAPI {
4840
4945
  walletPatch(walletId, walletPatchPayload, options) {
4841
4946
  return (0, exports.DefaultApiFp)(this.configuration).walletPatch(walletId, walletPatchPayload, options).then((request) => request(this.axios, this.basePath));
4842
4947
  }
4948
+ /**
4949
+ * Installs the externally-issued certificate chain for the Wallet Provider key. Requires the `admin` role. After this succeeds the Wallet Provider can sign WIAs with an x5c header.
4950
+ * @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
4951
+ * @param {*} [options] Override http request option.
4952
+ * @throws {RequiredError}
4953
+ */
4954
+ walletProviderCertificateImport(walletProviderCertificateRequest, options) {
4955
+ return (0, exports.DefaultApiFp)(this.configuration).walletProviderCertificateImport(walletProviderCertificateRequest, options).then((request) => request(this.axios, this.basePath));
4956
+ }
4957
+ /**
4958
+ * Generates a PKCS#10 certificate signing request (CSR) for the Wallet Provider key used to sign Wallet Instance Attestations. Requires the `admin` role. The provider key is generated on first call if it does not exist yet.
4959
+ * @param {*} [options] Override http request option.
4960
+ * @throws {RequiredError}
4961
+ */
4962
+ walletProviderCsrGenerate(options) {
4963
+ return (0, exports.DefaultApiFp)(this.configuration).walletProviderCsrGenerate(options).then((request) => request(this.axios, this.basePath));
4964
+ }
4843
4965
  /**
4844
4966
  * Retrieves the result of a credential verification session identified by the verifier state. Called by the verifier after a holder has presented credentials in response to a `VerifierInitUrlCreate` request. Returns 204 if the holder has not yet presented.
4845
4967
  * @param {string} walletId Wallet ID
package/base.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Triveria Wallet API
3
- * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
3
+ * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, MSO Mdoc, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC, SD-JWT-VC and MSO Mdoc formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.0
6
6
  *
package/base.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Triveria Wallet API
6
- * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
6
+ * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, MSO Mdoc, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC, SD-JWT-VC and MSO Mdoc formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0.0
9
9
  *
package/common.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Triveria Wallet API
3
- * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
3
+ * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, MSO Mdoc, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC, SD-JWT-VC and MSO Mdoc formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.0
6
6
  *
package/common.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Triveria Wallet API
6
- * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
6
+ * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, MSO Mdoc, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC, SD-JWT-VC and MSO Mdoc formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0.0
9
9
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Triveria Wallet API
3
- * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
3
+ * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, MSO Mdoc, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC, SD-JWT-VC and MSO Mdoc formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.0
6
6
  *
package/configuration.js CHANGED
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /**
4
4
  * Triveria Wallet API
5
- * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
5
+ * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, MSO Mdoc, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC, SD-JWT-VC and MSO Mdoc formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  *
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Triveria Wallet API
3
- * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
3
+ * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, MSO Mdoc, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC, SD-JWT-VC and MSO Mdoc formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.0
6
6
  *
package/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Triveria Wallet API
6
- * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
6
+ * Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, MSO Mdoc, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC, SD-JWT-VC and MSO Mdoc formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0.0
9
9
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.295",
4
+ "version": "0.0.297",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {