@heliofi/common 0.1.143 → 0.1.144
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/model/auth/entities/AuthUser.d.ts +10 -10
- package/dist/src/domain/model/auth/entities/AuthUser.js +3 -3
- package/dist/src/domain/model/auth/entities/index.js +19 -35
- package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.d.ts +3 -0
- package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.js +10 -0
- package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.js.map +1 -0
- package/dist/src/domain/model/blockchain/constants/index.d.ts +1 -0
- package/dist/src/domain/model/blockchain/constants/index.js +20 -35
- package/dist/src/domain/model/blockchain/constants/index.js.map +1 -1
- package/dist/src/domain/model/blockchain/entities/BaseBlockchain.entity.d.ts +7 -0
- package/dist/src/domain/model/blockchain/entities/BaseBlockchain.entity.js +8 -0
- package/dist/src/domain/model/blockchain/entities/BaseBlockchain.entity.js.map +1 -0
- package/dist/src/domain/model/blockchain/entities/Blockchain.entity.d.ts +5 -0
- package/dist/src/domain/model/blockchain/entities/Blockchain.entity.js +8 -0
- package/dist/src/domain/model/blockchain/entities/Blockchain.entity.js.map +1 -0
- package/dist/src/domain/model/blockchain/entities/index.d.ts +2 -1
- package/dist/src/domain/model/blockchain/entities/index.js +19 -34
- package/dist/src/domain/model/blockchain/entities/index.js.map +1 -1
- package/dist/src/domain/model/blockchain/index.js +20 -36
- package/dist/src/domain/model/fee/entities/FeeProperties.d.ts +6 -0
- package/dist/src/domain/model/fee/entities/FeeProperties.js +3 -0
- package/dist/src/domain/model/fee/entities/FeeProperties.js.map +1 -0
- package/dist/src/domain/model/fee/entities/index.d.ts +1 -0
- package/dist/src/domain/model/fee/entities/index.js +20 -35
- package/dist/src/domain/model/fee/entities/index.js.map +1 -1
- package/dist/src/domain/model/fee/index.js +19 -35
- package/dist/src/domain/model/invoice/entities/EnrichedInvoice.entity.js +6 -5
- package/dist/src/domain/model/invoice/entities/Invoice.entity.d.ts +9 -9
- package/dist/src/domain/model/invoice/entities/Invoice.entity.js +6 -5
- package/dist/src/domain/model/invoice/entities/index.js +20 -36
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.d.ts +8 -6
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js +6 -5
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js.map +1 -1
- package/dist/src/domain/model/invoice-tx/entities/index.js +19 -35
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.d.ts +9 -7
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.js +25 -56
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.js.map +1 -1
- package/dist/src/domain/model/paylink-tx/entities/index.js +22 -38
- package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.d.ts +11 -11
- package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.js +6 -5
- package/dist/src/domain/model/payment-request/entities/index.js +22 -38
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.d.ts +13 -11
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js +30 -65
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js.map +1 -1
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.d.ts +5 -3
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js +6 -5
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js.map +1 -1
- package/dist/src/domain/model/prepare-stream/entities/index.js +18 -34
- package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.d.ts +5 -3
- package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.js +6 -5
- package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.js.map +1 -1
- package/dist/src/domain/model/prepare-transaction/entities/index.js +20 -36
- package/dist/src/domain/model/report/entities/ReportItem.d.ts +34 -32
- package/dist/src/domain/model/report/entities/ReportItem.js +5 -4
- package/dist/src/domain/model/report/entities/ReportItem.js.map +1 -1
- package/dist/src/domain/model/report/entities/index.js +18 -34
- package/dist/src/domain/model/wallet/entities/Wallet.d.ts +3 -1
- package/dist/src/domain/model/wallet/entities/Wallet.js +6 -5
- package/dist/src/domain/model/wallet/entities/Wallet.js.map +1 -1
- package/dist/src/domain/model/wallet/entities/index.js +20 -36
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { RoleType } from '../../role';
|
|
2
|
-
import {
|
|
2
|
+
import { Wallet } from '../../wallet';
|
|
3
3
|
import { BetaFeature } from '../../feature-flags';
|
|
4
4
|
export interface JwtUserRole {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
id: string;
|
|
6
|
+
company: string;
|
|
7
|
+
type: RoleType;
|
|
8
8
|
}
|
|
9
9
|
export interface AuthUser {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
id: string;
|
|
11
|
+
roles: JwtUserRole[];
|
|
12
|
+
wallet?: Wallet;
|
|
13
|
+
email?: string;
|
|
14
|
+
isHelioXUser?: boolean;
|
|
15
|
+
enabledBetaFeatures?: BetaFeature[];
|
|
16
16
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
3
|
-
//# sourceMappingURL=AuthUser.js.map
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=AuthUser.js.map
|
|
@@ -1,35 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
: function (o, m, k, k2) {
|
|
22
|
-
if (k2 === undefined) k2 = k;
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
32
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
33
|
-
__exportStar(require('./AuthResponse'), exports);
|
|
34
|
-
__exportStar(require('./AuthUser'), exports);
|
|
35
|
-
//# sourceMappingURL=index.js.map
|
|
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("./AuthResponse"), exports);
|
|
18
|
+
__exportStar(require("./AuthUser"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.blockchainEngineToBlockchainMap = void 0;
|
|
4
|
+
const blockchainEngine_1 = require("../../blockchainEngine");
|
|
5
|
+
const BlockchainSymbol_1 = require("./BlockchainSymbol");
|
|
6
|
+
exports.blockchainEngineToBlockchainMap = new Map([
|
|
7
|
+
[blockchainEngine_1.BlockchainEngineType.SOL, BlockchainSymbol_1.BlockchainSymbol.SOL],
|
|
8
|
+
[blockchainEngine_1.BlockchainEngineType.EVM, BlockchainSymbol_1.BlockchainSymbol.POLYGON],
|
|
9
|
+
]);
|
|
10
|
+
//# sourceMappingURL=BlockchainEngineToBlockchain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlockchainEngineToBlockchain.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.ts"],"names":[],"mappings":";;;AAAA,6DAA8D;AAC9D,yDAAsD;AAEzC,QAAA,+BAA+B,GAAG,IAAI,GAAG,CAGpD;IACA,CAAC,uCAAoB,CAAC,GAAG,EAAE,mCAAgB,CAAC,GAAG,CAAC;IAChD,CAAC,uCAAoB,CAAC,GAAG,EAAE,mCAAgB,CAAC,OAAO,CAAC;CACrD,CAAC,CAAC"}
|
|
@@ -1,35 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
: function (o, m, k, k2) {
|
|
22
|
-
if (k2 === undefined) k2 = k;
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
32
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
33
|
-
__exportStar(require('./Cluster'), exports);
|
|
34
|
-
__exportStar(require('./BlockchainSymbol'), exports);
|
|
35
|
-
//# sourceMappingURL=index.js.map
|
|
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("./Cluster"), exports);
|
|
18
|
+
__exportStar(require("./BlockchainSymbol"), exports);
|
|
19
|
+
__exportStar(require("./BlockchainEngineToBlockchain"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,qDAAmC;AACnC,iEAA+C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BaseBlockchain = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class BaseBlockchain extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.BaseBlockchain = BaseBlockchain;
|
|
8
|
+
//# sourceMappingURL=BaseBlockchain.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseBlockchain.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/entities/BaseBlockchain.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,cAAe,SAAQ,eAAM;CAMzC;AAND,wCAMC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Blockchain = void 0;
|
|
4
|
+
const BaseBlockchain_entity_1 = require("./BaseBlockchain.entity");
|
|
5
|
+
class Blockchain extends BaseBlockchain_entity_1.BaseBlockchain {
|
|
6
|
+
}
|
|
7
|
+
exports.Blockchain = Blockchain;
|
|
8
|
+
//# sourceMappingURL=Blockchain.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Blockchain.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/entities/Blockchain.entity.ts"],"names":[],"mappings":";;;AAAA,mEAAyD;AAGzD,MAAa,UAAW,SAAQ,sCAAc;CAE7C;AAFD,gCAEC"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './Blockchain';
|
|
1
|
+
export * from './Blockchain.entity';
|
|
2
|
+
export * from './BaseBlockchain.entity';
|
|
@@ -1,34 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
: function (o, m, k, k2) {
|
|
22
|
-
if (k2 === undefined) k2 = k;
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
32
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
33
|
-
__exportStar(require('./Blockchain'), exports);
|
|
34
|
-
//# sourceMappingURL=index.js.map
|
|
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("./Blockchain.entity"), exports);
|
|
18
|
+
__exportStar(require("./BaseBlockchain.entity"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,0DAAwC"}
|
|
@@ -1,36 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
: function (o, m, k, k2) {
|
|
22
|
-
if (k2 === undefined) k2 = k;
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
32
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
33
|
-
__exportStar(require('./dtos'), exports);
|
|
34
|
-
__exportStar(require('./entities'), exports);
|
|
35
|
-
__exportStar(require('./constants'), exports);
|
|
36
|
-
//# sourceMappingURL=index.js.map
|
|
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("./dtos"), exports);
|
|
18
|
+
__exportStar(require("./entities"), exports);
|
|
19
|
+
__exportStar(require("./constants"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeeProperties.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/entities/FeeProperties.ts"],"names":[],"mappings":""}
|
|
@@ -1,35 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
: function (o, m, k, k2) {
|
|
22
|
-
if (k2 === undefined) k2 = k;
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
32
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
33
|
-
__exportStar(require('./FeeFeature.enum'), exports);
|
|
34
|
-
__exportStar(require('./FeeOptions'), exports);
|
|
35
|
-
//# sourceMappingURL=index.js.map
|
|
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("./FeeFeature.enum"), exports);
|
|
18
|
+
__exportStar(require("./FeeOptions"), exports);
|
|
19
|
+
__exportStar(require("./FeeProperties"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,+CAA6B;AAC7B,kDAAgC"}
|
|
@@ -1,35 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
: function (o, m, k, k2) {
|
|
22
|
-
if (k2 === undefined) k2 = k;
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
32
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
33
|
-
__exportStar(require('./entities'), exports);
|
|
34
|
-
__exportStar(require('./dtos'), exports);
|
|
35
|
-
//# sourceMappingURL=index.js.map
|
|
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
|
+
__exportStar(require("./dtos"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EnrichedInvoice = void 0;
|
|
4
|
-
const Invoice_entity_1 = require(
|
|
5
|
-
class EnrichedInvoice extends Invoice_entity_1.Invoice {
|
|
4
|
+
const Invoice_entity_1 = require("./Invoice.entity");
|
|
5
|
+
class EnrichedInvoice extends Invoice_entity_1.Invoice {
|
|
6
|
+
}
|
|
6
7
|
exports.EnrichedInvoice = EnrichedInvoice;
|
|
7
|
-
//# sourceMappingURL=EnrichedInvoice.entity.js.map
|
|
8
|
+
//# sourceMappingURL=EnrichedInvoice.entity.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Contact } from '../../contact';
|
|
2
2
|
import { InvoiceItem } from '../../invoiceItem';
|
|
3
|
-
import {
|
|
3
|
+
import { Currency } from '../../currency';
|
|
4
4
|
import { InvoiceStatus } from './InvoiceStatus';
|
|
5
5
|
import { BasePaymentRequest } from '../../payment-request';
|
|
6
6
|
export declare class Invoice extends BasePaymentRequest {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
contact: Contact;
|
|
8
|
+
date: string;
|
|
9
|
+
dueDate: string;
|
|
10
|
+
currency: Currency;
|
|
11
|
+
items: InvoiceItem[];
|
|
12
|
+
status: InvoiceStatus;
|
|
13
|
+
invoiceNumber?: number;
|
|
14
|
+
taxPercentage?: number;
|
|
15
15
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Invoice = void 0;
|
|
4
|
-
const payment_request_1 = require(
|
|
5
|
-
class Invoice extends payment_request_1.BasePaymentRequest {
|
|
4
|
+
const payment_request_1 = require("../../payment-request");
|
|
5
|
+
class Invoice extends payment_request_1.BasePaymentRequest {
|
|
6
|
+
}
|
|
6
7
|
exports.Invoice = Invoice;
|
|
7
|
-
//# sourceMappingURL=Invoice.entity.js.map
|
|
8
|
+
//# sourceMappingURL=Invoice.entity.js.map
|
|
@@ -1,36 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
: function (o, m, k, k2) {
|
|
22
|
-
if (k2 === undefined) k2 = k;
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
32
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
33
|
-
__exportStar(require('./InvoiceStatus'), exports);
|
|
34
|
-
__exportStar(require('./Invoice.entity'), exports);
|
|
35
|
-
__exportStar(require('./EnrichedInvoice.entity'), exports);
|
|
36
|
-
//# sourceMappingURL=index.js.map
|
|
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("./InvoiceStatus"), exports);
|
|
18
|
+
__exportStar(require("./Invoice.entity"), exports);
|
|
19
|
+
__exportStar(require("./EnrichedInvoice.entity"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -2,11 +2,13 @@ import type { TransactionMeta } from '../../transaction-meta';
|
|
|
2
2
|
import { BaseInvoiceTx } from './BaseInvoiceTx';
|
|
3
3
|
import { EnrichedInvoice } from '../../invoice';
|
|
4
4
|
import { Contact } from '../../contact';
|
|
5
|
+
import { BlockchainSymbol } from '../../blockchain';
|
|
5
6
|
export declare class InvoiceTx extends BaseInvoiceTx {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
meta: TransactionMeta;
|
|
8
|
+
invoice: EnrichedInvoice;
|
|
9
|
+
paymentRequestCreatorId: string;
|
|
10
|
+
paymentRequestName: string;
|
|
11
|
+
paymentRequestCurrencySymbol: string;
|
|
12
|
+
paymentRequestBlockchain: BlockchainSymbol;
|
|
13
|
+
contact?: Contact;
|
|
12
14
|
}
|