@riocrypto/common 1.0.2291 → 1.0.2293

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.
@@ -0,0 +1,9 @@
1
+ import { BulkBankPaymentStatus } from "../types/bulk-bank-payment-status";
2
+ import { Subjects } from "./subjects";
3
+ export interface AsyncBulkBankPaymentIncorrectAmountPaidEvent {
4
+ subject: Subjects.AsyncBulkBankPaymentIncorrectAmountPaid;
5
+ data: {
6
+ id: string;
7
+ status: BulkBankPaymentStatus;
8
+ };
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { BulkCryptoPaymentStatus } from "../types/bulk-crypto-payment-status";
2
+ import { Subjects } from "./subjects";
3
+ export interface AsyncBulkCryptoPaymentIncorrectAmountPaidEvent {
4
+ subject: Subjects.AsyncBulkCryptoPaymentIncorrectAmountPaid;
5
+ data: {
6
+ id: string;
7
+ status: BulkCryptoPaymentStatus;
8
+ };
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { BulkBankPaymentStatus } from "../types/bulk-bank-payment-status";
2
+ import { Subjects } from "./subjects";
3
+ export interface BulkBankPaymentIncorrectAmountPaidEvent {
4
+ subject: Subjects.BulkBankPaymentCompleted;
5
+ data: {
6
+ id: string;
7
+ status: BulkBankPaymentStatus;
8
+ };
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { BulkCryptoPaymentStatus } from "../types/bulk-crypto-payment-status";
2
+ import { Subjects } from "./subjects";
3
+ export interface BulkCryptoPaymentIncorrectAmountPaidEvent {
4
+ subject: Subjects.BulkCryptoPaymentIncorrectAmountPaid;
5
+ data: {
6
+ id: string;
7
+ status: BulkCryptoPaymentStatus;
8
+ };
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,5 +3,6 @@ export interface BulkCryptoPayoutCompletedEvent {
3
3
  subject: Subjects.BulkCryptoPayoutCompleted;
4
4
  data: {
5
5
  id: string;
6
+ isManual?: boolean;
6
7
  };
7
8
  }
@@ -75,7 +75,9 @@ export declare enum Subjects {
75
75
  BulkBankPaymentCreated = "bulkBankPayment:created",
76
76
  BulkBankPaymentCancelled = "bulkBankPayment:cancelled",
77
77
  BulkBankPaymentCompleted = "bulkBankPayment:completed",
78
+ BulkBankPaymentIncorrectAmountPaid = "bulkBankPayment:incorrectAmountPaid",
78
79
  AsyncBulkBankPaymentCompleted = "asyncBulkBankPayment:completed",
80
+ AsyncBulkBankPaymentIncorrectAmountPaid = "asyncBulkBankPayment:incorrectAmountPaid",
79
81
  BulkBankPayoutCompleted = "bulkBankPayout:completed",
80
82
  BulkBankPayoutFailed = "bulkBankPayout:failed",
81
83
  BulkBankPayoutUpdated = "bulkBankPayout:updated",
@@ -88,12 +90,14 @@ export declare enum Subjects {
88
90
  AsyncBulkCryptoPayoutUpdated = "asyncBulkCryptoPayout:updated",
89
91
  BulkCryptoPayoutUpdated = "bulkCryptoPayout:updated",
90
92
  BulkCryptoPaymentCompleted = "bulkCryptoPayment:completed",
93
+ BulkCryptoPaymentIncorrectAmountPaid = "bulkCryptoPayment:incorrectAmountPaid",
91
94
  BulkCryptoPayoutCompleted = "bulkCryptoPayout:completed",
92
95
  BulkCryptoPayoutFailed = "bulkCryptoPayout:failed",
93
96
  AsyncBulkCryptoPayoutCompleted = "asyncBulkCryptoPayout:completed",
94
97
  AsyncBulkCryptoPayoutFailed = "asyncBulkCryptoPayout:failed",
95
98
  BulkCryptoPaymentCancelled = "bulkCryptoPayment:cancelled",
96
99
  AsyncBulkCryptoPaymentCompleted = "asyncBulkCryptoPayment:completed",
100
+ AsyncBulkCryptoPaymentIncorrectAmountPaid = "asyncBulkCryptoPayment:incorrectAmountPaid",
97
101
  BankPaymentCompleted = "bankPayment:completed",
98
102
  BankPaymentMismatch = "bankPayment:mismatch",
99
103
  AsyncBankPaymentMismatch = "asyncBankPayment:mismatch",
@@ -79,7 +79,9 @@ var Subjects;
79
79
  Subjects["BulkBankPaymentCreated"] = "bulkBankPayment:created";
80
80
  Subjects["BulkBankPaymentCancelled"] = "bulkBankPayment:cancelled";
81
81
  Subjects["BulkBankPaymentCompleted"] = "bulkBankPayment:completed";
82
+ Subjects["BulkBankPaymentIncorrectAmountPaid"] = "bulkBankPayment:incorrectAmountPaid";
82
83
  Subjects["AsyncBulkBankPaymentCompleted"] = "asyncBulkBankPayment:completed";
84
+ Subjects["AsyncBulkBankPaymentIncorrectAmountPaid"] = "asyncBulkBankPayment:incorrectAmountPaid";
83
85
  Subjects["BulkBankPayoutCompleted"] = "bulkBankPayout:completed";
84
86
  Subjects["BulkBankPayoutFailed"] = "bulkBankPayout:failed";
85
87
  Subjects["BulkBankPayoutUpdated"] = "bulkBankPayout:updated";
@@ -92,12 +94,14 @@ var Subjects;
92
94
  Subjects["AsyncBulkCryptoPayoutUpdated"] = "asyncBulkCryptoPayout:updated";
93
95
  Subjects["BulkCryptoPayoutUpdated"] = "bulkCryptoPayout:updated";
94
96
  Subjects["BulkCryptoPaymentCompleted"] = "bulkCryptoPayment:completed";
97
+ Subjects["BulkCryptoPaymentIncorrectAmountPaid"] = "bulkCryptoPayment:incorrectAmountPaid";
95
98
  Subjects["BulkCryptoPayoutCompleted"] = "bulkCryptoPayout:completed";
96
99
  Subjects["BulkCryptoPayoutFailed"] = "bulkCryptoPayout:failed";
97
100
  Subjects["AsyncBulkCryptoPayoutCompleted"] = "asyncBulkCryptoPayout:completed";
98
101
  Subjects["AsyncBulkCryptoPayoutFailed"] = "asyncBulkCryptoPayout:failed";
99
102
  Subjects["BulkCryptoPaymentCancelled"] = "bulkCryptoPayment:cancelled";
100
103
  Subjects["AsyncBulkCryptoPaymentCompleted"] = "asyncBulkCryptoPayment:completed";
104
+ Subjects["AsyncBulkCryptoPaymentIncorrectAmountPaid"] = "asyncBulkCryptoPayment:incorrectAmountPaid";
101
105
  Subjects["BankPaymentCompleted"] = "bankPayment:completed";
102
106
  Subjects["BankPaymentMismatch"] = "bankPayment:mismatch";
103
107
  Subjects["AsyncBankPaymentMismatch"] = "asyncBankPayment:mismatch";
package/build/index.d.ts CHANGED
@@ -210,6 +210,10 @@ export * from "./events/bulk-bank-payout-updated-event";
210
210
  export * from "./events/bulk-crypto-payout-updated-event";
211
211
  export * from "./events/async-bulk-crypto-payout-updated-event";
212
212
  export * from "./events/async-bulk-bank-payout-updated-event";
213
+ export * from "./events/bulk-crypto-payment-incorrect-amount-paid-event";
214
+ export * from "./events/bulk-bank-payment-incorrect-amount-paid-event";
215
+ export * from "./events/async-bulk-crypto-payment-incorrect-amount-paid-event";
216
+ export * from "./events/async-bulk-bank-payment-incorrect-amount-paid-event";
213
217
  export * from "./types/auth-payload";
214
218
  export * from "./types/admin-auth-payload";
215
219
  export * from "./types/admin-auth";
package/build/index.js CHANGED
@@ -226,6 +226,10 @@ __exportStar(require("./events/bulk-bank-payout-updated-event"), exports);
226
226
  __exportStar(require("./events/bulk-crypto-payout-updated-event"), exports);
227
227
  __exportStar(require("./events/async-bulk-crypto-payout-updated-event"), exports);
228
228
  __exportStar(require("./events/async-bulk-bank-payout-updated-event"), exports);
229
+ __exportStar(require("./events/bulk-crypto-payment-incorrect-amount-paid-event"), exports);
230
+ __exportStar(require("./events/bulk-bank-payment-incorrect-amount-paid-event"), exports);
231
+ __exportStar(require("./events/async-bulk-crypto-payment-incorrect-amount-paid-event"), exports);
232
+ __exportStar(require("./events/async-bulk-bank-payment-incorrect-amount-paid-event"), exports);
229
233
  __exportStar(require("./types/auth-payload"), exports);
230
234
  __exportStar(require("./types/admin-auth-payload"), exports);
231
235
  __exportStar(require("./types/admin-auth"), exports);
@@ -1,5 +1,6 @@
1
1
  export declare enum TWAPSessionStatus {
2
2
  Running = "running",
3
+ MissingSettlements = "missingSettlements",
3
4
  Completed = "complete",
4
5
  Failed = "failed"
5
6
  }
@@ -4,6 +4,7 @@ exports.TWAPSessionStatus = void 0;
4
4
  var TWAPSessionStatus;
5
5
  (function (TWAPSessionStatus) {
6
6
  TWAPSessionStatus["Running"] = "running";
7
+ TWAPSessionStatus["MissingSettlements"] = "missingSettlements";
7
8
  TWAPSessionStatus["Completed"] = "complete";
8
9
  TWAPSessionStatus["Failed"] = "failed";
9
10
  })(TWAPSessionStatus = exports.TWAPSessionStatus || (exports.TWAPSessionStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2291",
3
+ "version": "1.0.2293",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",