@riocrypto/common 1.0.1295 → 1.0.1296
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/build/events/identity-verification-failed-event.d.ts +2 -1
- package/build/events/identity-verification-in-review-event.d.ts +2 -1
- package/build/events/identity-verification-passed-event.d.ts +2 -1
- package/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/types/KYC.d.ts +11 -0
- package/build/types/KYC.js +2 -0
- package/package.json +1 -1
|
@@ -4,7 +4,8 @@ import { Subjects } from "./subjects";
|
|
|
4
4
|
export interface IdentityVerificationFailedEvent {
|
|
5
5
|
subject: Subjects.IdentityVerificationFailed;
|
|
6
6
|
data: {
|
|
7
|
-
userId
|
|
7
|
+
userId?: string;
|
|
8
|
+
uboId?: string;
|
|
8
9
|
type: IdentityVerificationType;
|
|
9
10
|
country: CountryOfOrigin;
|
|
10
11
|
};
|
|
@@ -4,7 +4,8 @@ import { Subjects } from "./subjects";
|
|
|
4
4
|
export interface IdentityVerificationInReviewEvent {
|
|
5
5
|
subject: Subjects.IdentityVerificationInReview;
|
|
6
6
|
data: {
|
|
7
|
-
userId
|
|
7
|
+
userId?: string;
|
|
8
|
+
uboId?: string;
|
|
8
9
|
type: IdentityVerificationType;
|
|
9
10
|
country: CountryOfOrigin;
|
|
10
11
|
};
|
|
@@ -4,7 +4,8 @@ import { Subjects } from "./subjects";
|
|
|
4
4
|
export interface IdentityVerificationPassedEvent {
|
|
5
5
|
subject: Subjects.IdentityVerificationPassed;
|
|
6
6
|
data: {
|
|
7
|
-
userId
|
|
7
|
+
userId?: string;
|
|
8
|
+
uboId?: string;
|
|
8
9
|
type: IdentityVerificationType;
|
|
9
10
|
country: CountryOfOrigin;
|
|
10
11
|
};
|
package/build/index.d.ts
CHANGED
|
@@ -212,6 +212,7 @@ export * from "./types/UBO-input";
|
|
|
212
212
|
export * from "./types/UBO-update";
|
|
213
213
|
export * from "./types/immigration-status";
|
|
214
214
|
export * from "./types/IdentityVerificationType";
|
|
215
|
+
export * from "./types/KYC";
|
|
215
216
|
export * from "./classes/Asset";
|
|
216
217
|
export * from "./classes/KYCFieldClass";
|
|
217
218
|
export * from "./classes/KYCFileClass";
|
package/build/index.js
CHANGED
|
@@ -228,6 +228,7 @@ __exportStar(require("./types/UBO-input"), exports);
|
|
|
228
228
|
__exportStar(require("./types/UBO-update"), exports);
|
|
229
229
|
__exportStar(require("./types/immigration-status"), exports);
|
|
230
230
|
__exportStar(require("./types/IdentityVerificationType"), exports);
|
|
231
|
+
__exportStar(require("./types/KYC"), exports);
|
|
231
232
|
__exportStar(require("./classes/Asset"), exports);
|
|
232
233
|
__exportStar(require("./classes/KYCFieldClass"), exports);
|
|
233
234
|
__exportStar(require("./classes/KYCFileClass"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IdentityVerificationType } from "./IdentityVerificationType";
|
|
2
|
+
export interface KYC {
|
|
3
|
+
id: string;
|
|
4
|
+
type: IdentityVerificationType;
|
|
5
|
+
userId?: string;
|
|
6
|
+
uboId?: string;
|
|
7
|
+
provider: string;
|
|
8
|
+
providerId: string;
|
|
9
|
+
result: string;
|
|
10
|
+
lastChecked: Date;
|
|
11
|
+
}
|