@heliofi/common 0.2.121 → 0.2.123
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/dist/src/domain/constants/deposits.d.ts +8 -0
- package/dist/src/domain/constants/deposits.js +14 -0
- package/dist/src/domain/constants/deposits.js.map +1 -0
- package/dist/src/domain/model/decent-swap/entities/DecentAppFeeOverride.d.ts +5 -0
- package/dist/src/domain/model/decent-swap/entities/DecentAppFeeOverride.js +3 -0
- package/dist/src/domain/model/decent-swap/entities/DecentAppFeeOverride.js.map +1 -0
- package/dist/src/domain/model/decent-swap/entities/DecentTransactionStatus.d.ts +1 -0
- package/dist/src/domain/model/decent-swap/entities/GetRoutesOptions.d.ts +2 -2
- package/dist/src/domain/model/decent-swap/entities/index.d.ts +1 -0
- package/dist/src/domain/model/decent-swap/entities/index.js +1 -0
- package/dist/src/domain/model/decent-swap/entities/index.js.map +1 -1
- package/dist/src/domain/model/deposit/dtos/createDeposit.dto.d.ts +1 -0
- package/dist/src/domain/model/deposit/dtos/createDeposit.dto.js +8 -0
- package/dist/src/domain/model/deposit/dtos/createDeposit.dto.js.map +1 -1
- package/dist/src/domain/model/deposit/entities/Deposit.entity.d.ts +2 -1
- package/dist/src/domain/model/deposit/entities/Deposit.entity.js.map +1 -1
- package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.d.ts +9 -0
- package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.js +8 -0
- package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.js.map +1 -0
- package/dist/src/domain/model/recent-sweep-attempt/entities/index.d.ts +1 -0
- package/dist/src/domain/model/recent-sweep-attempt/entities/index.js +18 -0
- package/dist/src/domain/model/recent-sweep-attempt/entities/index.js.map +1 -0
- package/dist/src/domain/model/recent-sweep-attempt/index.d.ts +1 -0
- package/dist/src/domain/model/recent-sweep-attempt/index.js +18 -0
- package/dist/src/domain/model/recent-sweep-attempt/index.js.map +1 -0
- package/dist/src/domain/model/sweep-attempt/entities/RecentSweepAttempt.d.ts +9 -0
- package/dist/src/domain/model/sweep-attempt/entities/RecentSweepAttempt.js +8 -0
- package/dist/src/domain/model/sweep-attempt/entities/RecentSweepAttempt.js.map +1 -0
- package/dist/src/domain/model/sweep-attempt/entities/index.d.ts +1 -0
- package/dist/src/domain/model/sweep-attempt/entities/index.js +18 -0
- package/dist/src/domain/model/sweep-attempt/entities/index.js.map +1 -0
- package/dist/src/domain/model/sweep-attempt/index.d.ts +1 -0
- package/dist/src/domain/model/sweep-attempt/index.js +18 -0
- package/dist/src/domain/model/sweep-attempt/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DepositSweepErrorType = exports.DepositSweepStatus = void 0;
|
|
4
|
+
var DepositSweepStatus;
|
|
5
|
+
(function (DepositSweepStatus) {
|
|
6
|
+
DepositSweepStatus["SWEEPING"] = "SWEEPING";
|
|
7
|
+
DepositSweepStatus["ERROR"] = "ERROR";
|
|
8
|
+
DepositSweepStatus["COMPLETED"] = "COMPLETED";
|
|
9
|
+
})(DepositSweepStatus || (exports.DepositSweepStatus = DepositSweepStatus = {}));
|
|
10
|
+
var DepositSweepErrorType;
|
|
11
|
+
(function (DepositSweepErrorType) {
|
|
12
|
+
DepositSweepErrorType["LOW_BALANCE"] = "LOW_BALANCE";
|
|
13
|
+
})(DepositSweepErrorType || (exports.DepositSweepErrorType = DepositSweepErrorType = {}));
|
|
14
|
+
//# sourceMappingURL=deposits.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deposits.js","sourceRoot":"","sources":["../../../../src/domain/constants/deposits.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,2CAAqB,CAAA;IACrB,qCAAe,CAAA;IACf,6CAAuB,CAAA;AACzB,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B;AAED,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC/B,oDAA2B,CAAA;AAC7B,CAAC,EAFW,qBAAqB,qCAArB,qBAAqB,QAEhC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DecentAppFeeOverride.js","sourceRoot":"","sources":["../../../../../../src/domain/model/decent-swap/entities/DecentAppFeeOverride.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DecentSwapOptions } from './SwapOptions';
|
|
2
2
|
import { DecentChainId } from './DecentChainId';
|
|
3
|
-
import {
|
|
3
|
+
import { DecentAppFeeOverride } from './DecentAppFeeOverride';
|
|
4
4
|
export interface GetRoutesOptions {
|
|
5
5
|
sender: string;
|
|
6
6
|
srcChainId: DecentChainId;
|
|
@@ -11,5 +11,5 @@ export interface GetRoutesOptions {
|
|
|
11
11
|
swapDirection?: DecentSwapOptions;
|
|
12
12
|
recipient?: string;
|
|
13
13
|
amount?: string;
|
|
14
|
-
appFees?:
|
|
14
|
+
appFees?: DecentAppFeeOverride[];
|
|
15
15
|
}
|
|
@@ -21,4 +21,5 @@ __exportStar(require("./GetPathOptions"), exports);
|
|
|
21
21
|
__exportStar(require("./GetRoutesOptions"), exports);
|
|
22
22
|
__exportStar(require("./SwapOptions"), exports);
|
|
23
23
|
__exportStar(require("./DecentChainId"), exports);
|
|
24
|
+
__exportStar(require("./DecentAppFeeOverride"), exports);
|
|
24
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/decent-swap/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,oDAAkC;AAClC,4DAA0C;AAC1C,mDAAiC;AACjC,qDAAmC;AACnC,gDAA8B;AAC9B,kDAAgC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/decent-swap/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,oDAAkC;AAClC,4DAA0C;AAC1C,mDAAiC;AACjC,qDAAmC;AACnC,gDAA8B;AAC9B,kDAAgC;AAChC,yDAAuC"}
|
|
@@ -12,6 +12,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.CreateDepositDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
class CreateDepositDto {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.isCardPaymentEnabled = true;
|
|
17
|
+
}
|
|
15
18
|
}
|
|
16
19
|
exports.CreateDepositDto = CreateDepositDto;
|
|
17
20
|
__decorate([
|
|
@@ -33,4 +36,9 @@ __decorate([
|
|
|
33
36
|
(0, class_validator_1.ArrayMaxSize)(1),
|
|
34
37
|
__metadata("design:type", Array)
|
|
35
38
|
], CreateDepositDto.prototype, "currencyIds", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsBoolean)(),
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
__metadata("design:type", Boolean)
|
|
43
|
+
], CreateDepositDto.prototype, "isCardPaymentEnabled", void 0);
|
|
36
44
|
//# sourceMappingURL=createDeposit.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDeposit.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/createDeposit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"createDeposit.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/createDeposit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDASyB;AAEzB,MAAa,gBAAgB;IAA7B;QAmBE,yBAAoB,GAAa,IAAI,CAAC;IACxC,CAAC;CAAA;AApBD,4CAoBC;AAhBC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;8CACF;AAKb;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;qDACM;AAMrB;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,8BAAY,EAAC,CAAC,CAAC;;qDACM;AAItB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACyB"}
|
|
@@ -3,8 +3,9 @@ import { Platform } from '../../../constants';
|
|
|
3
3
|
export declare class DepositEntity extends Entity {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
6
|
-
platform: Platform;
|
|
7
6
|
description?: string;
|
|
7
|
+
platform: Platform;
|
|
8
|
+
isCardPaymentEnabled?: boolean;
|
|
8
9
|
createdAt: string;
|
|
9
10
|
updatedAt: string;
|
|
10
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Deposit.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/Deposit.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,aAAc,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"Deposit.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/Deposit.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,aAAc,SAAQ,eAAM;CAcxC;AAdD,sCAcC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Entity } from '../../entity';
|
|
2
|
+
import { DepositSweepErrorType, DepositSweepStatus } from '../../../constants';
|
|
3
|
+
export declare class RecentSweepAttempt extends Entity {
|
|
4
|
+
id: string;
|
|
5
|
+
depositCustomerId: string;
|
|
6
|
+
status: DepositSweepStatus;
|
|
7
|
+
errorType?: DepositSweepErrorType;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RecentSweepAttempt = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class RecentSweepAttempt extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.RecentSweepAttempt = RecentSweepAttempt;
|
|
8
|
+
//# sourceMappingURL=RecentSweepAttempt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecentSweepAttempt.js","sourceRoot":"","sources":["../../../../../../src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,kBAAmB,SAAQ,eAAM;CAU7C;AAVD,gDAUC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RecentSweepAttempt';
|
|
@@ -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("./RecentSweepAttempt"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/recent-sweep-attempt/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './entities';
|
|
@@ -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("./entities"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/recent-sweep-attempt/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Entity } from '../../entity';
|
|
2
|
+
import { DepositSweepErrorType, DepositSweepStatus } from '../../../constants';
|
|
3
|
+
export declare class SweepAttempt extends Entity {
|
|
4
|
+
id: string;
|
|
5
|
+
depositCustomerId: string;
|
|
6
|
+
status: DepositSweepStatus;
|
|
7
|
+
errorType?: DepositSweepErrorType;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SweepAttempt = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class SweepAttempt extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.SweepAttempt = SweepAttempt;
|
|
8
|
+
//# sourceMappingURL=RecentSweepAttempt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecentSweepAttempt.js","sourceRoot":"","sources":["../../../../../../src/domain/model/sweep-attempt/entities/RecentSweepAttempt.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,YAAa,SAAQ,eAAM;CAUvC;AAVD,oCAUC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RecentSweepAttempt';
|
|
@@ -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("./RecentSweepAttempt"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/sweep-attempt/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './entities';
|
|
@@ -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("./entities"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/sweep-attempt/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|