@candesk/contracts 6.8.0 → 6.9.0

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.
@@ -1,2 +1,3 @@
1
1
  export * from './auth';
2
+ export * from './kyc';
2
3
  export * from './queues';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./auth"), exports);
18
+ __exportStar(require("./kyc"), exports);
18
19
  __exportStar(require("./queues"), exports);
@@ -0,0 +1,2 @@
1
+ export * from './kyc.events';
2
+ export * from './verification-completed.interface';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./kyc.events"), exports);
18
+ __exportStar(require("./verification-completed.interface"), exports);
@@ -0,0 +1,3 @@
1
+ export declare const KYC_EVENTS: {
2
+ readonly VERIFICATION_COMPLETED: 'kyc.verification.completed';
3
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KYC_EVENTS = void 0;
4
+ exports.KYC_EVENTS = {
5
+ VERIFICATION_COMPLETED: 'kyc.verification.completed'
6
+ };
@@ -0,0 +1,5 @@
1
+ export type VerificationResult = 'VERIFIED' | 'REJECTED' | 'MISMATCH' | 'DUPLICATE';
2
+ export interface VerificationCompletedEvent {
3
+ email: string;
4
+ result: VerificationResult;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candesk/contracts",
3
- "version": "6.8.0",
3
+ "version": "6.9.0",
4
4
  "description": "Protobuf contracts for CanDesk microservices",
5
5
  "author": {
6
6
  "name": "Alexander Schulz",