@riocrypto/common 1.0.2491 → 1.0.2495

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/index.d.ts CHANGED
@@ -454,6 +454,13 @@ export * from "./types/mexico-invoicing-method";
454
454
  export * from "./types/auth-kyc-status";
455
455
  export * from "./types/order-log";
456
456
  export * from "./types/fill";
457
+ export * from "./types/compliance-chat-history";
458
+ export * from "./types/compliance-rule";
459
+ export * from "./types/compliance-rule-result";
460
+ export * from "./types/compliance-rule-result-status";
461
+ export * from "./types/compliance-rule-outcome";
462
+ export * from "./types/compliance-session";
463
+ export * from "./types/compliance-session-status";
457
464
  export * from "./types/position";
458
465
  export * from "./types/residual";
459
466
  export * from "./types/liquidity-sourcing-plan";
package/build/index.js CHANGED
@@ -470,6 +470,13 @@ __exportStar(require("./types/mexico-invoicing-method"), exports);
470
470
  __exportStar(require("./types/auth-kyc-status"), exports);
471
471
  __exportStar(require("./types/order-log"), exports);
472
472
  __exportStar(require("./types/fill"), exports);
473
+ __exportStar(require("./types/compliance-chat-history"), exports);
474
+ __exportStar(require("./types/compliance-rule"), exports);
475
+ __exportStar(require("./types/compliance-rule-result"), exports);
476
+ __exportStar(require("./types/compliance-rule-result-status"), exports);
477
+ __exportStar(require("./types/compliance-rule-outcome"), exports);
478
+ __exportStar(require("./types/compliance-session"), exports);
479
+ __exportStar(require("./types/compliance-session-status"), exports);
473
480
  __exportStar(require("./types/position"), exports);
474
481
  __exportStar(require("./types/residual"), exports);
475
482
  __exportStar(require("./types/liquidity-sourcing-plan"), exports);
@@ -0,0 +1,9 @@
1
+ export interface ComplianceChatHistory {
2
+ id: string;
3
+ sessionId: string;
4
+ sequenceNumber: number;
5
+ createdAt: Date;
6
+ text: string;
7
+ isBot: boolean;
8
+ blobId: number;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export declare enum ComplianceRuleOutcome {
2
+ Pass = "pass",
3
+ Alert = "alert",
4
+ Error = "error",
5
+ Warning = "warning",
6
+ Review = "review"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComplianceRuleOutcome = void 0;
4
+ var ComplianceRuleOutcome;
5
+ (function (ComplianceRuleOutcome) {
6
+ ComplianceRuleOutcome["Pass"] = "pass";
7
+ ComplianceRuleOutcome["Alert"] = "alert";
8
+ ComplianceRuleOutcome["Error"] = "error";
9
+ ComplianceRuleOutcome["Warning"] = "warning";
10
+ ComplianceRuleOutcome["Review"] = "review";
11
+ })(ComplianceRuleOutcome = exports.ComplianceRuleOutcome || (exports.ComplianceRuleOutcome = {}));
@@ -0,0 +1,7 @@
1
+ export declare enum ComplianceRuleResultStatus {
2
+ Pending = "pending",
3
+ Running = "running",
4
+ Completed = "completed",
5
+ Failed = "failed",
6
+ InProgress = "in_progress"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComplianceRuleResultStatus = void 0;
4
+ var ComplianceRuleResultStatus;
5
+ (function (ComplianceRuleResultStatus) {
6
+ ComplianceRuleResultStatus["Pending"] = "pending";
7
+ ComplianceRuleResultStatus["Running"] = "running";
8
+ ComplianceRuleResultStatus["Completed"] = "completed";
9
+ ComplianceRuleResultStatus["Failed"] = "failed";
10
+ ComplianceRuleResultStatus["InProgress"] = "in_progress";
11
+ })(ComplianceRuleResultStatus = exports.ComplianceRuleResultStatus || (exports.ComplianceRuleResultStatus = {}));
@@ -0,0 +1,13 @@
1
+ import { ComplianceRuleResultStatus } from "./compliance-rule-result-status";
2
+ import { ComplianceRuleOutcome } from "./compliance-rule-outcome";
3
+ export interface ComplianceRuleResult {
4
+ id: string;
5
+ sessionId: string;
6
+ ruleId: string;
7
+ name: string;
8
+ status: ComplianceRuleResultStatus;
9
+ prompt: string;
10
+ data?: string;
11
+ details?: string;
12
+ outcome?: ComplianceRuleOutcome;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export interface ComplianceRule {
2
+ id: string;
3
+ country: string;
4
+ name: string;
5
+ prompt: string;
6
+ ruleType: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export declare enum ComplianceSessionStatus {
2
+ Running = "running",
3
+ Completed = "completed",
4
+ Failed = "failed",
5
+ Terminated = "terminated"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComplianceSessionStatus = void 0;
4
+ var ComplianceSessionStatus;
5
+ (function (ComplianceSessionStatus) {
6
+ ComplianceSessionStatus["Running"] = "running";
7
+ ComplianceSessionStatus["Completed"] = "completed";
8
+ ComplianceSessionStatus["Failed"] = "failed";
9
+ ComplianceSessionStatus["Terminated"] = "terminated";
10
+ })(ComplianceSessionStatus = exports.ComplianceSessionStatus || (exports.ComplianceSessionStatus = {}));
@@ -0,0 +1,11 @@
1
+ import { ComplianceSessionStatus } from "./compliance-session-status";
2
+ export interface ComplianceSession {
3
+ id: string;
4
+ userId: string;
5
+ createdAt: Date;
6
+ country: string;
7
+ message: string;
8
+ status: ComplianceSessionStatus;
9
+ transcript: string;
10
+ modelName: string;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,5 +3,6 @@ export interface LiquiditySourcingSettings {
3
3
  mxnEnabled: boolean;
4
4
  usdcEnabled: boolean;
5
5
  usdtEnabled: boolean;
6
+ eurcEnabled: boolean;
6
7
  updatedAt: Date;
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2491",
3
+ "version": "1.0.2495",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",