@idunion/tl-sdk 0.0.35 → 0.0.37
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 +7 -6
- package/api.js +4 -3
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -199,7 +199,7 @@ export interface Tlr {
|
|
|
199
199
|
'tlId': string;
|
|
200
200
|
'tlName': string;
|
|
201
201
|
/**
|
|
202
|
-
* Denotes the Trust List record trust status. -
|
|
202
|
+
* 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
203
|
*/
|
|
204
204
|
'status': TlrStatusEnum;
|
|
205
205
|
'accreditedFor'?: Array<AccreditedFor>;
|
|
@@ -207,9 +207,10 @@ export interface Tlr {
|
|
|
207
207
|
'isRoot': boolean;
|
|
208
208
|
}
|
|
209
209
|
export declare const TlrStatusEnum: {
|
|
210
|
-
readonly
|
|
211
|
-
readonly Verified: "verified";
|
|
210
|
+
readonly Onboarded: "onboarded";
|
|
212
211
|
readonly Trusted: "trusted";
|
|
212
|
+
readonly Revoked: "revoked";
|
|
213
|
+
readonly Expired: "expired";
|
|
213
214
|
};
|
|
214
215
|
export type TlrStatusEnum = typeof TlrStatusEnum[keyof typeof TlrStatusEnum];
|
|
215
216
|
export interface TlrList {
|
|
@@ -226,7 +227,7 @@ export interface VerificationMethod {
|
|
|
226
227
|
/**
|
|
227
228
|
* DateTimeStamp string specifying when the verification method MUST NOT be used.
|
|
228
229
|
*/
|
|
229
|
-
'revoked'
|
|
230
|
+
'revoked'?: string;
|
|
230
231
|
}
|
|
231
232
|
export interface VerificationMethodCreatePayload {
|
|
232
233
|
[key: string]: any;
|
|
@@ -238,12 +239,12 @@ export interface VerificationMethodCreatePayload {
|
|
|
238
239
|
'type': string;
|
|
239
240
|
}
|
|
240
241
|
export interface VerificationMethodPatchPayload {
|
|
241
|
-
'controller'
|
|
242
|
+
'controller'?: string;
|
|
242
243
|
'id': string;
|
|
243
244
|
/**
|
|
244
245
|
* DateTimeStamp string specifying when the verification method MUST NOT be used.
|
|
245
246
|
*/
|
|
246
|
-
'revoked'
|
|
247
|
+
'revoked'?: string;
|
|
247
248
|
}
|
|
248
249
|
export interface VpResponse {
|
|
249
250
|
/**
|
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
|