@triveria/wallet 0.0.203 → 0.0.204
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 +52 -0
- package/api.js +2 -1
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -238,6 +238,12 @@ export interface CredentialIssuanceInit {
|
|
|
238
238
|
* @memberof CredentialIssuanceInit
|
|
239
239
|
*/
|
|
240
240
|
'idTokenRequestId'?: string;
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @type {IssuanceRequirementsToVerify}
|
|
244
|
+
* @memberof CredentialIssuanceInit
|
|
245
|
+
*/
|
|
246
|
+
'issuanceRequirementsToVerify'?: IssuanceRequirementsToVerify;
|
|
241
247
|
}
|
|
242
248
|
/**
|
|
243
249
|
*
|
|
@@ -287,6 +293,7 @@ export declare const CredentialIssuerDefinitionCredentialIssuerEnum: {
|
|
|
287
293
|
readonly CtRevocable: "CtRevocable";
|
|
288
294
|
readonly IssuanceQueue: "IssuanceQueue";
|
|
289
295
|
readonly VpDriven: "VPDriven";
|
|
296
|
+
readonly CredentialRequirements: "CredentialRequirements";
|
|
290
297
|
};
|
|
291
298
|
export type CredentialIssuerDefinitionCredentialIssuerEnum = typeof CredentialIssuerDefinitionCredentialIssuerEnum[keyof typeof CredentialIssuerDefinitionCredentialIssuerEnum];
|
|
292
299
|
/**
|
|
@@ -874,6 +881,32 @@ export interface EvidenceItem {
|
|
|
874
881
|
*/
|
|
875
882
|
'type': Array<string>;
|
|
876
883
|
}
|
|
884
|
+
/**
|
|
885
|
+
* Presented credential field that will be matched
|
|
886
|
+
* @export
|
|
887
|
+
* @interface FieldsToVerify
|
|
888
|
+
*/
|
|
889
|
+
export interface FieldsToVerify {
|
|
890
|
+
/**
|
|
891
|
+
* JSON Path of the field
|
|
892
|
+
* @type {string}
|
|
893
|
+
* @memberof FieldsToVerify
|
|
894
|
+
*/
|
|
895
|
+
'path': string;
|
|
896
|
+
/**
|
|
897
|
+
*
|
|
898
|
+
* @type {FieldsToVerifyValue}
|
|
899
|
+
* @memberof FieldsToVerify
|
|
900
|
+
*/
|
|
901
|
+
'value': FieldsToVerifyValue;
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* Required value of the field
|
|
905
|
+
* @export
|
|
906
|
+
* @interface FieldsToVerifyValue
|
|
907
|
+
*/
|
|
908
|
+
export interface FieldsToVerifyValue {
|
|
909
|
+
}
|
|
877
910
|
/**
|
|
878
911
|
* Health status of the system
|
|
879
912
|
* @export
|
|
@@ -1136,6 +1169,25 @@ export declare const InteractionAuthorizationRequirementsRequirementTypeEnum: {
|
|
|
1136
1169
|
readonly Pin: "pin";
|
|
1137
1170
|
};
|
|
1138
1171
|
export type InteractionAuthorizationRequirementsRequirementTypeEnum = typeof InteractionAuthorizationRequirementsRequirementTypeEnum[keyof typeof InteractionAuthorizationRequirementsRequirementTypeEnum];
|
|
1172
|
+
/**
|
|
1173
|
+
*
|
|
1174
|
+
* @export
|
|
1175
|
+
* @interface IssuanceRequirementsToVerify
|
|
1176
|
+
*/
|
|
1177
|
+
export interface IssuanceRequirementsToVerify {
|
|
1178
|
+
/**
|
|
1179
|
+
* ID of the verifier used for the verification of presented credential.
|
|
1180
|
+
* @type {string}
|
|
1181
|
+
* @memberof IssuanceRequirementsToVerify
|
|
1182
|
+
*/
|
|
1183
|
+
'credentialVerifierId': string;
|
|
1184
|
+
/**
|
|
1185
|
+
*
|
|
1186
|
+
* @type {Array<FieldsToVerify>}
|
|
1187
|
+
* @memberof IssuanceRequirementsToVerify
|
|
1188
|
+
*/
|
|
1189
|
+
'verifiedFields': Array<FieldsToVerify>;
|
|
1190
|
+
}
|
|
1139
1191
|
/**
|
|
1140
1192
|
*
|
|
1141
1193
|
* @export
|
package/api.js
CHANGED
|
@@ -49,7 +49,8 @@ exports.CredentialIssuerDefinitionCredentialIssuerEnum = {
|
|
|
49
49
|
CtWalletSame: 'CtWalletSame',
|
|
50
50
|
CtRevocable: 'CtRevocable',
|
|
51
51
|
IssuanceQueue: 'IssuanceQueue',
|
|
52
|
-
VpDriven: 'VPDriven'
|
|
52
|
+
VpDriven: 'VPDriven',
|
|
53
|
+
CredentialRequirements: 'CredentialRequirements'
|
|
53
54
|
};
|
|
54
55
|
exports.CredentialMetadataInteractionEnum = {
|
|
55
56
|
Issuance: 'issuance',
|