@idunion/tl-sdk 0.0.36 → 0.0.38
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 +8 -3
- package/api.js +4 -3
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -103,6 +103,10 @@ export interface OnboardingPayload {
|
|
|
103
103
|
* The Verifier ID that should be used to verify the onboarding credential.
|
|
104
104
|
*/
|
|
105
105
|
'verifierId': string;
|
|
106
|
+
/**
|
|
107
|
+
* Holder identifier, i.e. did:key of the holder
|
|
108
|
+
*/
|
|
109
|
+
'holderEntityId': string;
|
|
106
110
|
}
|
|
107
111
|
export interface OnboardingResponse {
|
|
108
112
|
/**
|
|
@@ -199,7 +203,7 @@ export interface Tlr {
|
|
|
199
203
|
'tlId': string;
|
|
200
204
|
'tlName': string;
|
|
201
205
|
/**
|
|
202
|
-
* Denotes the Trust List record trust status. -
|
|
206
|
+
* Denotes the Trust List record trust status. - Onboarded record is created upon onboarding VC presentation - Trusted record is created upon onboarding VC presentation that was issued by an Issuer that is verified by IDunion SCE - Revoked record is a result of the Verification Method revocation process - Expired record is when the Verification Method in use has expired, due to i.e. Onboarding VC expiration
|
|
203
207
|
*/
|
|
204
208
|
'status': TlrStatusEnum;
|
|
205
209
|
'accreditedFor'?: Array<AccreditedFor>;
|
|
@@ -207,9 +211,10 @@ export interface Tlr {
|
|
|
207
211
|
'isRoot': boolean;
|
|
208
212
|
}
|
|
209
213
|
export declare const TlrStatusEnum: {
|
|
210
|
-
readonly
|
|
211
|
-
readonly Verified: "verified";
|
|
214
|
+
readonly Onboarded: "onboarded";
|
|
212
215
|
readonly Trusted: "trusted";
|
|
216
|
+
readonly Revoked: "revoked";
|
|
217
|
+
readonly Expired: "expired";
|
|
213
218
|
};
|
|
214
219
|
export type TlrStatusEnum = typeof TlrStatusEnum[keyof typeof TlrStatusEnum];
|
|
215
220
|
export interface TlrList {
|
package/api.js
CHANGED
|
@@ -43,9 +43,10 @@ exports.OnboardingStatusStatusEnum = {
|
|
|
43
43
|
Error: 'error'
|
|
44
44
|
};
|
|
45
45
|
exports.TlrStatusEnum = {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
Onboarded: 'onboarded',
|
|
47
|
+
Trusted: 'trusted',
|
|
48
|
+
Revoked: 'revoked',
|
|
49
|
+
Expired: 'expired'
|
|
49
50
|
};
|
|
50
51
|
/**
|
|
51
52
|
* DefaultApi - axios parameter creator
|