@triveria/wallet 0.0.296 → 0.0.298
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 +133 -8
- package/api.js +154 -12
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -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";
|
|
@@ -1103,6 +1107,9 @@ export declare const WalletNotificationEventType: {
|
|
|
1103
1107
|
readonly WmpCredentialOffer: "wmp.credential_offer";
|
|
1104
1108
|
readonly WmpCredentialVerificationRequest: "wmp.credential_verification_request";
|
|
1105
1109
|
readonly WmpError: "wmp.error";
|
|
1110
|
+
readonly WmpMessage: "wmp.message";
|
|
1111
|
+
readonly WmpIdentityAssertionRequest: "wmp.identity_assertion_request";
|
|
1112
|
+
readonly WmpIdentityAssertionReceived: "wmp.identity_assertion_received";
|
|
1106
1113
|
};
|
|
1107
1114
|
export type WalletNotificationEventType = typeof WalletNotificationEventType[keyof typeof WalletNotificationEventType];
|
|
1108
1115
|
export interface WalletNotificationHistory {
|
|
@@ -1122,12 +1129,49 @@ export interface WalletPatchPayload {
|
|
|
1122
1129
|
[key: string]: any;
|
|
1123
1130
|
};
|
|
1124
1131
|
}
|
|
1132
|
+
export interface WalletProviderCertificateRequest {
|
|
1133
|
+
/**
|
|
1134
|
+
* PEM-encoded certificate chain (leaf first) issued for the provider key.
|
|
1135
|
+
*/
|
|
1136
|
+
'certificate_chain': Array<string>;
|
|
1137
|
+
}
|
|
1138
|
+
export interface WalletProviderCsrResponse {
|
|
1139
|
+
/**
|
|
1140
|
+
* PEM-encoded PKCS#10 certificate signing request.
|
|
1141
|
+
*/
|
|
1142
|
+
'csr': string;
|
|
1143
|
+
}
|
|
1125
1144
|
export interface WmpAcceptInvitationPayload {
|
|
1126
1145
|
/**
|
|
1127
1146
|
* URL of the invitation JWT
|
|
1128
1147
|
*/
|
|
1129
1148
|
'invitationUrl': string;
|
|
1130
1149
|
}
|
|
1150
|
+
/**
|
|
1151
|
+
* Open (authenticate) the session after the identity assertion exchange.
|
|
1152
|
+
*/
|
|
1153
|
+
export interface WmpAuthenticateSession {
|
|
1154
|
+
'type': WmpAuthenticateSessionTypeEnum;
|
|
1155
|
+
/**
|
|
1156
|
+
* Set true to mark the session fully authenticated and open it for traffic.
|
|
1157
|
+
*/
|
|
1158
|
+
'authenticated': boolean;
|
|
1159
|
+
}
|
|
1160
|
+
export declare const WmpAuthenticateSessionTypeEnum: {
|
|
1161
|
+
readonly Authenticate: "authenticate";
|
|
1162
|
+
};
|
|
1163
|
+
export type WmpAuthenticateSessionTypeEnum = typeof WmpAuthenticateSessionTypeEnum[keyof typeof WmpAuthenticateSessionTypeEnum];
|
|
1164
|
+
/**
|
|
1165
|
+
* @type WmpClientRequestBody
|
|
1166
|
+
* Action to take on a pending WMP client request, discriminated by `type`: `process` an offer/verification request, `identity_assertion` to present a credential, or `authenticate` to open the session.
|
|
1167
|
+
*/
|
|
1168
|
+
export type WmpClientRequestBody = {
|
|
1169
|
+
type: 'authenticate';
|
|
1170
|
+
} & WmpAuthenticateSession | {
|
|
1171
|
+
type: 'identity_assertion';
|
|
1172
|
+
} & WmpProvideIdentityAssertion | {
|
|
1173
|
+
type: 'process';
|
|
1174
|
+
} & WmpProcessClientRequest;
|
|
1131
1175
|
export interface WmpCreateInvitationResponse {
|
|
1132
1176
|
/**
|
|
1133
1177
|
* URL at which the invitation can be downloaded
|
|
@@ -1178,7 +1222,32 @@ export interface WmpNotification {
|
|
|
1178
1222
|
'invitationUrl'?: string;
|
|
1179
1223
|
'id': string;
|
|
1180
1224
|
'error'?: string;
|
|
1225
|
+
'identityAssertion'?: CredentialWrapper;
|
|
1226
|
+
}
|
|
1227
|
+
/**
|
|
1228
|
+
* Process a pending credential offer or verification request identified by the path id.
|
|
1229
|
+
*/
|
|
1230
|
+
export interface WmpProcessClientRequest {
|
|
1231
|
+
'type': WmpProcessClientRequestTypeEnum;
|
|
1181
1232
|
}
|
|
1233
|
+
export declare const WmpProcessClientRequestTypeEnum: {
|
|
1234
|
+
readonly Process: "process";
|
|
1235
|
+
};
|
|
1236
|
+
export type WmpProcessClientRequestTypeEnum = typeof WmpProcessClientRequestTypeEnum[keyof typeof WmpProcessClientRequestTypeEnum];
|
|
1237
|
+
/**
|
|
1238
|
+
* Provide a credential to present as the identity assertion for the session.
|
|
1239
|
+
*/
|
|
1240
|
+
export interface WmpProvideIdentityAssertion {
|
|
1241
|
+
'type': WmpProvideIdentityAssertionTypeEnum;
|
|
1242
|
+
/**
|
|
1243
|
+
* Id of the wallet credential to present as the identity assertion VP.
|
|
1244
|
+
*/
|
|
1245
|
+
'credentialId': string;
|
|
1246
|
+
}
|
|
1247
|
+
export declare const WmpProvideIdentityAssertionTypeEnum: {
|
|
1248
|
+
readonly IdentityAssertion: "identity_assertion";
|
|
1249
|
+
};
|
|
1250
|
+
export type WmpProvideIdentityAssertionTypeEnum = typeof WmpProvideIdentityAssertionTypeEnum[keyof typeof WmpProvideIdentityAssertionTypeEnum];
|
|
1182
1251
|
export interface WmpRequest {
|
|
1183
1252
|
'type': WmpRequestType;
|
|
1184
1253
|
'requestUrl': string;
|
|
@@ -1609,6 +1678,19 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1609
1678
|
* @throws {RequiredError}
|
|
1610
1679
|
*/
|
|
1611
1680
|
walletPatch: (walletId: string, walletPatchPayload?: WalletPatchPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1681
|
+
/**
|
|
1682
|
+
* 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.
|
|
1683
|
+
* @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
|
|
1684
|
+
* @param {*} [options] Override http request option.
|
|
1685
|
+
* @throws {RequiredError}
|
|
1686
|
+
*/
|
|
1687
|
+
walletProviderCertificateImport: (walletProviderCertificateRequest?: WalletProviderCertificateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1688
|
+
/**
|
|
1689
|
+
* 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.
|
|
1690
|
+
* @param {*} [options] Override http request option.
|
|
1691
|
+
* @throws {RequiredError}
|
|
1692
|
+
*/
|
|
1693
|
+
walletProviderCsrGenerate: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1612
1694
|
/**
|
|
1613
1695
|
* 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
1696
|
* @param {string} walletId Wallet ID
|
|
@@ -1664,13 +1746,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1664
1746
|
*/
|
|
1665
1747
|
wmpClientGetPendingRequests: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1666
1748
|
/**
|
|
1667
|
-
*
|
|
1749
|
+
* Acts on a pending WMP client request identified by `request_id`. The body\'s `type` selects the action: `process` a credential offer / verification request (returns its authorization requirements), `identity_assertion` to present a credential as the session identity assertion, or `authenticate` to open the session after the assertion exchange.
|
|
1668
1750
|
* @param {string} walletId
|
|
1669
1751
|
* @param {string} requestId
|
|
1752
|
+
* @param {WmpClientRequestBody} wmpClientRequestBody
|
|
1670
1753
|
* @param {*} [options] Override http request option.
|
|
1671
1754
|
* @throws {RequiredError}
|
|
1672
1755
|
*/
|
|
1673
|
-
wmpClientProcessRequest: (walletId: string, requestId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1756
|
+
wmpClientProcessRequest: (walletId: string, requestId: string, wmpClientRequestBody: WmpClientRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1674
1757
|
/**
|
|
1675
1758
|
* Creates a WMP (Wallet Messaging Protocol) invitation URL that can be shared with another wallet to establish a secure peer-to-peer communication channel. Issuers and verifiers use this to connect with holder wallets for direct credential delivery and verification without requiring QR codes or redirects on each interaction.
|
|
1676
1759
|
* @param {string} walletId
|
|
@@ -2137,6 +2220,19 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2137
2220
|
* @throws {RequiredError}
|
|
2138
2221
|
*/
|
|
2139
2222
|
walletPatch(walletId: string, walletPatchPayload?: WalletPatchPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletIdObject>>;
|
|
2223
|
+
/**
|
|
2224
|
+
* 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.
|
|
2225
|
+
* @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
|
|
2226
|
+
* @param {*} [options] Override http request option.
|
|
2227
|
+
* @throws {RequiredError}
|
|
2228
|
+
*/
|
|
2229
|
+
walletProviderCertificateImport(walletProviderCertificateRequest?: WalletProviderCertificateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2230
|
+
/**
|
|
2231
|
+
* 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.
|
|
2232
|
+
* @param {*} [options] Override http request option.
|
|
2233
|
+
* @throws {RequiredError}
|
|
2234
|
+
*/
|
|
2235
|
+
walletProviderCsrGenerate(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletProviderCsrResponse>>;
|
|
2140
2236
|
/**
|
|
2141
2237
|
* 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
2238
|
* @param {string} walletId Wallet ID
|
|
@@ -2192,13 +2288,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2192
2288
|
*/
|
|
2193
2289
|
wmpClientGetPendingRequests(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WmpRequest>>>;
|
|
2194
2290
|
/**
|
|
2195
|
-
*
|
|
2291
|
+
* Acts on a pending WMP client request identified by `request_id`. The body\'s `type` selects the action: `process` a credential offer / verification request (returns its authorization requirements), `identity_assertion` to present a credential as the session identity assertion, or `authenticate` to open the session after the assertion exchange.
|
|
2196
2292
|
* @param {string} walletId
|
|
2197
2293
|
* @param {string} requestId
|
|
2294
|
+
* @param {WmpClientRequestBody} wmpClientRequestBody
|
|
2198
2295
|
* @param {*} [options] Override http request option.
|
|
2199
2296
|
* @throws {RequiredError}
|
|
2200
2297
|
*/
|
|
2201
|
-
wmpClientProcessRequest(walletId: string, requestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InteractionAuthorizationRequirements>>;
|
|
2298
|
+
wmpClientProcessRequest(walletId: string, requestId: string, wmpClientRequestBody: WmpClientRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InteractionAuthorizationRequirements>>;
|
|
2202
2299
|
/**
|
|
2203
2300
|
* Creates a WMP (Wallet Messaging Protocol) invitation URL that can be shared with another wallet to establish a secure peer-to-peer communication channel. Issuers and verifiers use this to connect with holder wallets for direct credential delivery and verification without requiring QR codes or redirects on each interaction.
|
|
2204
2301
|
* @param {string} walletId
|
|
@@ -2665,6 +2762,19 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2665
2762
|
* @throws {RequiredError}
|
|
2666
2763
|
*/
|
|
2667
2764
|
walletPatch(walletId: string, walletPatchPayload?: WalletPatchPayload, options?: RawAxiosRequestConfig): AxiosPromise<WalletIdObject>;
|
|
2765
|
+
/**
|
|
2766
|
+
* 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.
|
|
2767
|
+
* @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
|
|
2768
|
+
* @param {*} [options] Override http request option.
|
|
2769
|
+
* @throws {RequiredError}
|
|
2770
|
+
*/
|
|
2771
|
+
walletProviderCertificateImport(walletProviderCertificateRequest?: WalletProviderCertificateRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2772
|
+
/**
|
|
2773
|
+
* 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.
|
|
2774
|
+
* @param {*} [options] Override http request option.
|
|
2775
|
+
* @throws {RequiredError}
|
|
2776
|
+
*/
|
|
2777
|
+
walletProviderCsrGenerate(options?: RawAxiosRequestConfig): AxiosPromise<WalletProviderCsrResponse>;
|
|
2668
2778
|
/**
|
|
2669
2779
|
* 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
2780
|
* @param {string} walletId Wallet ID
|
|
@@ -2720,13 +2830,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2720
2830
|
*/
|
|
2721
2831
|
wmpClientGetPendingRequests(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<WmpRequest>>;
|
|
2722
2832
|
/**
|
|
2723
|
-
*
|
|
2833
|
+
* Acts on a pending WMP client request identified by `request_id`. The body\'s `type` selects the action: `process` a credential offer / verification request (returns its authorization requirements), `identity_assertion` to present a credential as the session identity assertion, or `authenticate` to open the session after the assertion exchange.
|
|
2724
2834
|
* @param {string} walletId
|
|
2725
2835
|
* @param {string} requestId
|
|
2836
|
+
* @param {WmpClientRequestBody} wmpClientRequestBody
|
|
2726
2837
|
* @param {*} [options] Override http request option.
|
|
2727
2838
|
* @throws {RequiredError}
|
|
2728
2839
|
*/
|
|
2729
|
-
wmpClientProcessRequest(walletId: string, requestId: string, options?: RawAxiosRequestConfig): AxiosPromise<InteractionAuthorizationRequirements>;
|
|
2840
|
+
wmpClientProcessRequest(walletId: string, requestId: string, wmpClientRequestBody: WmpClientRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<InteractionAuthorizationRequirements>;
|
|
2730
2841
|
/**
|
|
2731
2842
|
* Creates a WMP (Wallet Messaging Protocol) invitation URL that can be shared with another wallet to establish a secure peer-to-peer communication channel. Issuers and verifiers use this to connect with holder wallets for direct credential delivery and verification without requiring QR codes or redirects on each interaction.
|
|
2732
2843
|
* @param {string} walletId
|
|
@@ -3193,6 +3304,19 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3193
3304
|
* @throws {RequiredError}
|
|
3194
3305
|
*/
|
|
3195
3306
|
walletPatch(walletId: string, walletPatchPayload?: WalletPatchPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdObject, any, {}>>;
|
|
3307
|
+
/**
|
|
3308
|
+
* 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.
|
|
3309
|
+
* @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
|
|
3310
|
+
* @param {*} [options] Override http request option.
|
|
3311
|
+
* @throws {RequiredError}
|
|
3312
|
+
*/
|
|
3313
|
+
walletProviderCertificateImport(walletProviderCertificateRequest?: WalletProviderCertificateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3314
|
+
/**
|
|
3315
|
+
* 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.
|
|
3316
|
+
* @param {*} [options] Override http request option.
|
|
3317
|
+
* @throws {RequiredError}
|
|
3318
|
+
*/
|
|
3319
|
+
walletProviderCsrGenerate(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletProviderCsrResponse, any, {}>>;
|
|
3196
3320
|
/**
|
|
3197
3321
|
* 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
3322
|
* @param {string} walletId Wallet ID
|
|
@@ -3248,13 +3372,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3248
3372
|
*/
|
|
3249
3373
|
wmpClientGetPendingRequests(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WmpRequest[], any, {}>>;
|
|
3250
3374
|
/**
|
|
3251
|
-
*
|
|
3375
|
+
* Acts on a pending WMP client request identified by `request_id`. The body\'s `type` selects the action: `process` a credential offer / verification request (returns its authorization requirements), `identity_assertion` to present a credential as the session identity assertion, or `authenticate` to open the session after the assertion exchange.
|
|
3252
3376
|
* @param {string} walletId
|
|
3253
3377
|
* @param {string} requestId
|
|
3378
|
+
* @param {WmpClientRequestBody} wmpClientRequestBody
|
|
3254
3379
|
* @param {*} [options] Override http request option.
|
|
3255
3380
|
* @throws {RequiredError}
|
|
3256
3381
|
*/
|
|
3257
|
-
wmpClientProcessRequest(walletId: string, requestId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InteractionAuthorizationRequirements, any, {}>>;
|
|
3382
|
+
wmpClientProcessRequest(walletId: string, requestId: string, wmpClientRequestBody: WmpClientRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InteractionAuthorizationRequirements, any, {}>>;
|
|
3258
3383
|
/**
|
|
3259
3384
|
* Creates a WMP (Wallet Messaging Protocol) invitation URL that can be shared with another wallet to establish a secure peer-to-peer communication channel. Issuers and verifiers use this to connect with holder wallets for direct credential delivery and verification without requiring QR codes or redirects on each interaction.
|
|
3260
3385
|
* @param {string} walletId
|
package/api.js
CHANGED
|
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.WmpEntityListEntityTypeEnum = exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.XadesSignatureType = exports.WmpRequestType = exports.WalletNotificationEventType = exports.WalletCapability = exports.TrustFrameworkType = exports.SystemImpactStatusEnum = exports.SigningKeyIdentifier = exports.RevokeAccreditationRequestTypeEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.OidcRevisionOidc4vpEnum = exports.OidcRevisionOidc4vciEnum = exports.ObjectVerticalAlignment = exports.ObjectHorizontalAlignment = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.EntityAccreditationRequestTypeEnum = exports.DocumentSignatureValidityVerificationResultEnum = exports.DeferredStatusEnum = exports.CredentialPropertyToVerify = exports.CredentialNotificationEventTypeEnum = exports.CredentialMetadataStatusEnum = exports.CredentialMetadataInteractionEnum = exports.CredentialIssuerDefinitionAuthorizationEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialFormat = exports.AccreditationRequestTypeEnum = void 0;
|
|
28
|
+
exports.WmpEntityListEntityTypeEnum = exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.XadesSignatureType = exports.WmpRequestType = exports.WmpProvideIdentityAssertionTypeEnum = exports.WmpProcessClientRequestTypeEnum = exports.WmpAuthenticateSessionTypeEnum = exports.WalletNotificationEventType = exports.WalletCapability = exports.TrustFrameworkType = exports.SystemImpactStatusEnum = exports.SigningKeyIdentifier = exports.RevokeAccreditationRequestTypeEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.OidcRevisionOidc4vpEnum = exports.OidcRevisionOidc4vciEnum = exports.ObjectVerticalAlignment = exports.ObjectHorizontalAlignment = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.EntityAccreditationRequestTypeEnum = exports.DocumentSignatureValidityVerificationResultEnum = exports.DeferredStatusEnum = exports.CredentialPropertyToVerify = exports.CredentialNotificationEventTypeEnum = exports.CredentialMetadataStatusEnum = exports.CredentialMetadataInteractionEnum = exports.CredentialIssuerDefinitionAuthorizationEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialFormat = exports.AccreditationRequestTypeEnum = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -188,6 +188,18 @@ exports.WalletNotificationEventType = {
|
|
|
188
188
|
WmpCredentialOffer: 'wmp.credential_offer',
|
|
189
189
|
WmpCredentialVerificationRequest: 'wmp.credential_verification_request',
|
|
190
190
|
WmpError: 'wmp.error',
|
|
191
|
+
WmpMessage: 'wmp.message',
|
|
192
|
+
WmpIdentityAssertionRequest: 'wmp.identity_assertion_request',
|
|
193
|
+
WmpIdentityAssertionReceived: 'wmp.identity_assertion_received',
|
|
194
|
+
};
|
|
195
|
+
exports.WmpAuthenticateSessionTypeEnum = {
|
|
196
|
+
Authenticate: 'authenticate',
|
|
197
|
+
};
|
|
198
|
+
exports.WmpProcessClientRequestTypeEnum = {
|
|
199
|
+
Process: 'process',
|
|
200
|
+
};
|
|
201
|
+
exports.WmpProvideIdentityAssertionTypeEnum = {
|
|
202
|
+
IdentityAssertion: 'identity_assertion',
|
|
191
203
|
};
|
|
192
204
|
exports.WmpRequestType = {
|
|
193
205
|
CredentialOffer: 'credentialOffer',
|
|
@@ -2115,6 +2127,65 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2115
2127
|
options: localVarRequestOptions,
|
|
2116
2128
|
};
|
|
2117
2129
|
}),
|
|
2130
|
+
/**
|
|
2131
|
+
* 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.
|
|
2132
|
+
* @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
|
|
2133
|
+
* @param {*} [options] Override http request option.
|
|
2134
|
+
* @throws {RequiredError}
|
|
2135
|
+
*/
|
|
2136
|
+
walletProviderCertificateImport: (walletProviderCertificateRequest_1, ...args_1) => __awaiter(this, [walletProviderCertificateRequest_1, ...args_1], void 0, function* (walletProviderCertificateRequest, options = {}) {
|
|
2137
|
+
const localVarPath = `/admin/wallet-provider/certificate`;
|
|
2138
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2139
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2140
|
+
let baseOptions;
|
|
2141
|
+
if (configuration) {
|
|
2142
|
+
baseOptions = configuration.baseOptions;
|
|
2143
|
+
}
|
|
2144
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2145
|
+
const localVarHeaderParameter = {};
|
|
2146
|
+
const localVarQueryParameter = {};
|
|
2147
|
+
// authentication accessToken required
|
|
2148
|
+
// http bearer authentication required
|
|
2149
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2150
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2151
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2152
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2153
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2154
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2155
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(walletProviderCertificateRequest, localVarRequestOptions, configuration);
|
|
2156
|
+
return {
|
|
2157
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2158
|
+
options: localVarRequestOptions,
|
|
2159
|
+
};
|
|
2160
|
+
}),
|
|
2161
|
+
/**
|
|
2162
|
+
* 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.
|
|
2163
|
+
* @param {*} [options] Override http request option.
|
|
2164
|
+
* @throws {RequiredError}
|
|
2165
|
+
*/
|
|
2166
|
+
walletProviderCsrGenerate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2167
|
+
const localVarPath = `/admin/wallet-provider/csr`;
|
|
2168
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2169
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2170
|
+
let baseOptions;
|
|
2171
|
+
if (configuration) {
|
|
2172
|
+
baseOptions = configuration.baseOptions;
|
|
2173
|
+
}
|
|
2174
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2175
|
+
const localVarHeaderParameter = {};
|
|
2176
|
+
const localVarQueryParameter = {};
|
|
2177
|
+
// authentication accessToken required
|
|
2178
|
+
// http bearer authentication required
|
|
2179
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2180
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2181
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2182
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2183
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2184
|
+
return {
|
|
2185
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2186
|
+
options: localVarRequestOptions,
|
|
2187
|
+
};
|
|
2188
|
+
}),
|
|
2118
2189
|
/**
|
|
2119
2190
|
* 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
2191
|
* @param {string} walletId Wallet ID
|
|
@@ -2358,17 +2429,20 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2358
2429
|
};
|
|
2359
2430
|
}),
|
|
2360
2431
|
/**
|
|
2361
|
-
*
|
|
2432
|
+
* Acts on a pending WMP client request identified by `request_id`. The body\'s `type` selects the action: `process` a credential offer / verification request (returns its authorization requirements), `identity_assertion` to present a credential as the session identity assertion, or `authenticate` to open the session after the assertion exchange.
|
|
2362
2433
|
* @param {string} walletId
|
|
2363
2434
|
* @param {string} requestId
|
|
2435
|
+
* @param {WmpClientRequestBody} wmpClientRequestBody
|
|
2364
2436
|
* @param {*} [options] Override http request option.
|
|
2365
2437
|
* @throws {RequiredError}
|
|
2366
2438
|
*/
|
|
2367
|
-
wmpClientProcessRequest: (walletId_1, requestId_1, ...args_1) => __awaiter(this, [walletId_1, requestId_1, ...args_1], void 0, function* (walletId, requestId, options = {}) {
|
|
2439
|
+
wmpClientProcessRequest: (walletId_1, requestId_1, wmpClientRequestBody_1, ...args_1) => __awaiter(this, [walletId_1, requestId_1, wmpClientRequestBody_1, ...args_1], void 0, function* (walletId, requestId, wmpClientRequestBody, options = {}) {
|
|
2368
2440
|
// verify required parameter 'walletId' is not null or undefined
|
|
2369
2441
|
(0, common_1.assertParamExists)('wmpClientProcessRequest', 'walletId', walletId);
|
|
2370
2442
|
// verify required parameter 'requestId' is not null or undefined
|
|
2371
2443
|
(0, common_1.assertParamExists)('wmpClientProcessRequest', 'requestId', requestId);
|
|
2444
|
+
// verify required parameter 'wmpClientRequestBody' is not null or undefined
|
|
2445
|
+
(0, common_1.assertParamExists)('wmpClientProcessRequest', 'wmpClientRequestBody', wmpClientRequestBody);
|
|
2372
2446
|
const localVarPath = `/wmp/client/requests/{request_id}`
|
|
2373
2447
|
.replace('{request_id}', encodeURIComponent(String(requestId)));
|
|
2374
2448
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -2383,6 +2457,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2383
2457
|
// authentication accessToken required
|
|
2384
2458
|
// http bearer authentication required
|
|
2385
2459
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2460
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2386
2461
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2387
2462
|
if (walletId != null) {
|
|
2388
2463
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
@@ -2390,6 +2465,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2390
2465
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2391
2466
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2392
2467
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2468
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(wmpClientRequestBody, localVarRequestOptions, configuration);
|
|
2393
2469
|
return {
|
|
2394
2470
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2395
2471
|
options: localVarRequestOptions,
|
|
@@ -3442,6 +3518,35 @@ const DefaultApiFp = function (configuration) {
|
|
|
3442
3518
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3443
3519
|
});
|
|
3444
3520
|
},
|
|
3521
|
+
/**
|
|
3522
|
+
* 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.
|
|
3523
|
+
* @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
|
|
3524
|
+
* @param {*} [options] Override http request option.
|
|
3525
|
+
* @throws {RequiredError}
|
|
3526
|
+
*/
|
|
3527
|
+
walletProviderCertificateImport(walletProviderCertificateRequest, options) {
|
|
3528
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3529
|
+
var _a, _b, _c;
|
|
3530
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletProviderCertificateImport(walletProviderCertificateRequest, options);
|
|
3531
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3532
|
+
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;
|
|
3533
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3534
|
+
});
|
|
3535
|
+
},
|
|
3536
|
+
/**
|
|
3537
|
+
* 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.
|
|
3538
|
+
* @param {*} [options] Override http request option.
|
|
3539
|
+
* @throws {RequiredError}
|
|
3540
|
+
*/
|
|
3541
|
+
walletProviderCsrGenerate(options) {
|
|
3542
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3543
|
+
var _a, _b, _c;
|
|
3544
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletProviderCsrGenerate(options);
|
|
3545
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3546
|
+
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;
|
|
3547
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3548
|
+
});
|
|
3549
|
+
},
|
|
3445
3550
|
/**
|
|
3446
3551
|
* 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
3552
|
* @param {string} walletId Wallet ID
|
|
@@ -3553,16 +3658,17 @@ const DefaultApiFp = function (configuration) {
|
|
|
3553
3658
|
});
|
|
3554
3659
|
},
|
|
3555
3660
|
/**
|
|
3556
|
-
*
|
|
3661
|
+
* Acts on a pending WMP client request identified by `request_id`. The body\'s `type` selects the action: `process` a credential offer / verification request (returns its authorization requirements), `identity_assertion` to present a credential as the session identity assertion, or `authenticate` to open the session after the assertion exchange.
|
|
3557
3662
|
* @param {string} walletId
|
|
3558
3663
|
* @param {string} requestId
|
|
3664
|
+
* @param {WmpClientRequestBody} wmpClientRequestBody
|
|
3559
3665
|
* @param {*} [options] Override http request option.
|
|
3560
3666
|
* @throws {RequiredError}
|
|
3561
3667
|
*/
|
|
3562
|
-
wmpClientProcessRequest(walletId, requestId, options) {
|
|
3668
|
+
wmpClientProcessRequest(walletId, requestId, wmpClientRequestBody, options) {
|
|
3563
3669
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3564
3670
|
var _a, _b, _c;
|
|
3565
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.wmpClientProcessRequest(walletId, requestId, options);
|
|
3671
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.wmpClientProcessRequest(walletId, requestId, wmpClientRequestBody, options);
|
|
3566
3672
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3567
3673
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.wmpClientProcessRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3568
3674
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4184,6 +4290,23 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4184
4290
|
walletPatch(walletId, walletPatchPayload, options) {
|
|
4185
4291
|
return localVarFp.walletPatch(walletId, walletPatchPayload, options).then((request) => request(axios, basePath));
|
|
4186
4292
|
},
|
|
4293
|
+
/**
|
|
4294
|
+
* 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.
|
|
4295
|
+
* @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
|
|
4296
|
+
* @param {*} [options] Override http request option.
|
|
4297
|
+
* @throws {RequiredError}
|
|
4298
|
+
*/
|
|
4299
|
+
walletProviderCertificateImport(walletProviderCertificateRequest, options) {
|
|
4300
|
+
return localVarFp.walletProviderCertificateImport(walletProviderCertificateRequest, options).then((request) => request(axios, basePath));
|
|
4301
|
+
},
|
|
4302
|
+
/**
|
|
4303
|
+
* 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.
|
|
4304
|
+
* @param {*} [options] Override http request option.
|
|
4305
|
+
* @throws {RequiredError}
|
|
4306
|
+
*/
|
|
4307
|
+
walletProviderCsrGenerate(options) {
|
|
4308
|
+
return localVarFp.walletProviderCsrGenerate(options).then((request) => request(axios, basePath));
|
|
4309
|
+
},
|
|
4187
4310
|
/**
|
|
4188
4311
|
* 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
4312
|
* @param {string} walletId Wallet ID
|
|
@@ -4253,14 +4376,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4253
4376
|
return localVarFp.wmpClientGetPendingRequests(walletId, options).then((request) => request(axios, basePath));
|
|
4254
4377
|
},
|
|
4255
4378
|
/**
|
|
4256
|
-
*
|
|
4379
|
+
* Acts on a pending WMP client request identified by `request_id`. The body\'s `type` selects the action: `process` a credential offer / verification request (returns its authorization requirements), `identity_assertion` to present a credential as the session identity assertion, or `authenticate` to open the session after the assertion exchange.
|
|
4257
4380
|
* @param {string} walletId
|
|
4258
4381
|
* @param {string} requestId
|
|
4382
|
+
* @param {WmpClientRequestBody} wmpClientRequestBody
|
|
4259
4383
|
* @param {*} [options] Override http request option.
|
|
4260
4384
|
* @throws {RequiredError}
|
|
4261
4385
|
*/
|
|
4262
|
-
wmpClientProcessRequest(walletId, requestId, options) {
|
|
4263
|
-
return localVarFp.wmpClientProcessRequest(walletId, requestId, options).then((request) => request(axios, basePath));
|
|
4386
|
+
wmpClientProcessRequest(walletId, requestId, wmpClientRequestBody, options) {
|
|
4387
|
+
return localVarFp.wmpClientProcessRequest(walletId, requestId, wmpClientRequestBody, options).then((request) => request(axios, basePath));
|
|
4264
4388
|
},
|
|
4265
4389
|
/**
|
|
4266
4390
|
* Creates a WMP (Wallet Messaging Protocol) invitation URL that can be shared with another wallet to establish a secure peer-to-peer communication channel. Issuers and verifiers use this to connect with holder wallets for direct credential delivery and verification without requiring QR codes or redirects on each interaction.
|
|
@@ -4840,6 +4964,23 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4840
4964
|
walletPatch(walletId, walletPatchPayload, options) {
|
|
4841
4965
|
return (0, exports.DefaultApiFp)(this.configuration).walletPatch(walletId, walletPatchPayload, options).then((request) => request(this.axios, this.basePath));
|
|
4842
4966
|
}
|
|
4967
|
+
/**
|
|
4968
|
+
* 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.
|
|
4969
|
+
* @param {WalletProviderCertificateRequest} [walletProviderCertificateRequest]
|
|
4970
|
+
* @param {*} [options] Override http request option.
|
|
4971
|
+
* @throws {RequiredError}
|
|
4972
|
+
*/
|
|
4973
|
+
walletProviderCertificateImport(walletProviderCertificateRequest, options) {
|
|
4974
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletProviderCertificateImport(walletProviderCertificateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4975
|
+
}
|
|
4976
|
+
/**
|
|
4977
|
+
* 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.
|
|
4978
|
+
* @param {*} [options] Override http request option.
|
|
4979
|
+
* @throws {RequiredError}
|
|
4980
|
+
*/
|
|
4981
|
+
walletProviderCsrGenerate(options) {
|
|
4982
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletProviderCsrGenerate(options).then((request) => request(this.axios, this.basePath));
|
|
4983
|
+
}
|
|
4843
4984
|
/**
|
|
4844
4985
|
* 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
4986
|
* @param {string} walletId Wallet ID
|
|
@@ -4909,14 +5050,15 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4909
5050
|
return (0, exports.DefaultApiFp)(this.configuration).wmpClientGetPendingRequests(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
4910
5051
|
}
|
|
4911
5052
|
/**
|
|
4912
|
-
*
|
|
5053
|
+
* Acts on a pending WMP client request identified by `request_id`. The body\'s `type` selects the action: `process` a credential offer / verification request (returns its authorization requirements), `identity_assertion` to present a credential as the session identity assertion, or `authenticate` to open the session after the assertion exchange.
|
|
4913
5054
|
* @param {string} walletId
|
|
4914
5055
|
* @param {string} requestId
|
|
5056
|
+
* @param {WmpClientRequestBody} wmpClientRequestBody
|
|
4915
5057
|
* @param {*} [options] Override http request option.
|
|
4916
5058
|
* @throws {RequiredError}
|
|
4917
5059
|
*/
|
|
4918
|
-
wmpClientProcessRequest(walletId, requestId, options) {
|
|
4919
|
-
return (0, exports.DefaultApiFp)(this.configuration).wmpClientProcessRequest(walletId, requestId, options).then((request) => request(this.axios, this.basePath));
|
|
5060
|
+
wmpClientProcessRequest(walletId, requestId, wmpClientRequestBody, options) {
|
|
5061
|
+
return (0, exports.DefaultApiFp)(this.configuration).wmpClientProcessRequest(walletId, requestId, wmpClientRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
4920
5062
|
}
|
|
4921
5063
|
/**
|
|
4922
5064
|
* Creates a WMP (Wallet Messaging Protocol) invitation URL that can be shared with another wallet to establish a secure peer-to-peer communication channel. Issuers and verifiers use this to connect with holder wallets for direct credential delivery and verification without requiring QR codes or redirects on each interaction.
|