@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.
Files changed (62) hide show
  1. package/dist/src/domain/model/auth/entities/AuthUser.d.ts +10 -10
  2. package/dist/src/domain/model/auth/entities/AuthUser.js +3 -3
  3. package/dist/src/domain/model/auth/entities/index.js +19 -35
  4. package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.d.ts +3 -0
  5. package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.js +10 -0
  6. package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.js.map +1 -0
  7. package/dist/src/domain/model/blockchain/constants/index.d.ts +1 -0
  8. package/dist/src/domain/model/blockchain/constants/index.js +20 -35
  9. package/dist/src/domain/model/blockchain/constants/index.js.map +1 -1
  10. package/dist/src/domain/model/blockchain/entities/BaseBlockchain.entity.d.ts +7 -0
  11. package/dist/src/domain/model/blockchain/entities/BaseBlockchain.entity.js +8 -0
  12. package/dist/src/domain/model/blockchain/entities/BaseBlockchain.entity.js.map +1 -0
  13. package/dist/src/domain/model/blockchain/entities/Blockchain.entity.d.ts +5 -0
  14. package/dist/src/domain/model/blockchain/entities/Blockchain.entity.js +8 -0
  15. package/dist/src/domain/model/blockchain/entities/Blockchain.entity.js.map +1 -0
  16. package/dist/src/domain/model/blockchain/entities/index.d.ts +2 -1
  17. package/dist/src/domain/model/blockchain/entities/index.js +19 -34
  18. package/dist/src/domain/model/blockchain/entities/index.js.map +1 -1
  19. package/dist/src/domain/model/blockchain/index.js +20 -36
  20. package/dist/src/domain/model/fee/entities/FeeProperties.d.ts +6 -0
  21. package/dist/src/domain/model/fee/entities/FeeProperties.js +3 -0
  22. package/dist/src/domain/model/fee/entities/FeeProperties.js.map +1 -0
  23. package/dist/src/domain/model/fee/entities/index.d.ts +1 -0
  24. package/dist/src/domain/model/fee/entities/index.js +20 -35
  25. package/dist/src/domain/model/fee/entities/index.js.map +1 -1
  26. package/dist/src/domain/model/fee/index.js +19 -35
  27. package/dist/src/domain/model/invoice/entities/EnrichedInvoice.entity.js +6 -5
  28. package/dist/src/domain/model/invoice/entities/Invoice.entity.d.ts +9 -9
  29. package/dist/src/domain/model/invoice/entities/Invoice.entity.js +6 -5
  30. package/dist/src/domain/model/invoice/entities/index.js +20 -36
  31. package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.d.ts +8 -6
  32. package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js +6 -5
  33. package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js.map +1 -1
  34. package/dist/src/domain/model/invoice-tx/entities/index.js +19 -35
  35. package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.d.ts +9 -7
  36. package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.js +25 -56
  37. package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.js.map +1 -1
  38. package/dist/src/domain/model/paylink-tx/entities/index.js +22 -38
  39. package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.d.ts +11 -11
  40. package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.js +6 -5
  41. package/dist/src/domain/model/payment-request/entities/index.js +22 -38
  42. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.d.ts +13 -11
  43. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js +30 -65
  44. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js.map +1 -1
  45. package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.d.ts +5 -3
  46. package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js +6 -5
  47. package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js.map +1 -1
  48. package/dist/src/domain/model/prepare-stream/entities/index.js +18 -34
  49. package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.d.ts +5 -3
  50. package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.js +6 -5
  51. package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.js.map +1 -1
  52. package/dist/src/domain/model/prepare-transaction/entities/index.js +20 -36
  53. package/dist/src/domain/model/report/entities/ReportItem.d.ts +34 -32
  54. package/dist/src/domain/model/report/entities/ReportItem.js +5 -4
  55. package/dist/src/domain/model/report/entities/ReportItem.js.map +1 -1
  56. package/dist/src/domain/model/report/entities/index.js +18 -34
  57. package/dist/src/domain/model/wallet/entities/Wallet.d.ts +3 -1
  58. package/dist/src/domain/model/wallet/entities/Wallet.js +6 -5
  59. package/dist/src/domain/model/wallet/entities/Wallet.js.map +1 -1
  60. package/dist/src/domain/model/wallet/entities/index.js +20 -36
  61. package/dist/tsconfig.tsbuildinfo +1 -1
  62. package/package.json +2 -2
@@ -1,16 +1,16 @@
1
1
  import { RoleType } from '../../role';
2
- import { BaseWallet } from '../../wallet';
2
+ import { Wallet } from '../../wallet';
3
3
  import { BetaFeature } from '../../feature-flags';
4
4
  export interface JwtUserRole {
5
- id: string;
6
- company: string;
7
- type: RoleType;
5
+ id: string;
6
+ company: string;
7
+ type: RoleType;
8
8
  }
9
9
  export interface AuthUser {
10
- id: string;
11
- roles: JwtUserRole[];
12
- email?: string;
13
- wallet?: BaseWallet;
14
- isHelioXUser?: boolean;
15
- enabledBetaFeatures?: BetaFeature[];
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
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', { value: true });
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
- 'use strict';
2
- var __createBinding =
3
- (this && this.__createBinding) ||
4
- (Object.create
5
- ? function (o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (
9
- !desc ||
10
- ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
- ) {
12
- desc = {
13
- enumerable: true,
14
- get: function () {
15
- return m[k];
16
- },
17
- };
18
- }
19
- Object.defineProperty(o, k2, desc);
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,3 @@
1
+ import { BlockchainEngineType } from '../../blockchainEngine';
2
+ import { BlockchainSymbol } from './BlockchainSymbol';
3
+ export declare const blockchainEngineToBlockchainMap: Map<BlockchainEngineType, BlockchainSymbol>;
@@ -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,2 +1,3 @@
1
1
  export * from './Cluster';
2
2
  export * from './BlockchainSymbol';
3
+ export * from './BlockchainEngineToBlockchain';
@@ -1,35 +1,20 @@
1
- 'use strict';
2
- var __createBinding =
3
- (this && this.__createBinding) ||
4
- (Object.create
5
- ? function (o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (
9
- !desc ||
10
- ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
- ) {
12
- desc = {
13
- enumerable: true,
14
- get: function () {
15
- return m[k];
16
- },
17
- };
18
- }
19
- Object.defineProperty(o, k2, desc);
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,7 @@
1
+ import { Entity } from '../../entity';
2
+ import { BlockchainSymbol } from '../constants';
3
+ export declare class BaseBlockchain extends Entity {
4
+ id: string;
5
+ name: string;
6
+ symbol: BlockchainSymbol;
7
+ }
@@ -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,5 @@
1
+ import { BaseBlockchain } from './BaseBlockchain.entity';
2
+ import { BlockchainEngine } from '../../blockchainEngine';
3
+ export declare class Blockchain extends BaseBlockchain {
4
+ engine: BlockchainEngine;
5
+ }
@@ -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
- 'use strict';
2
- var __createBinding =
3
- (this && this.__createBinding) ||
4
- (Object.create
5
- ? function (o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (
9
- !desc ||
10
- ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
- ) {
12
- desc = {
13
- enumerable: true,
14
- get: function () {
15
- return m[k];
16
- },
17
- };
18
- }
19
- Object.defineProperty(o, k2, desc);
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,+CAA6B"}
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
- 'use strict';
2
- var __createBinding =
3
- (this && this.__createBinding) ||
4
- (Object.create
5
- ? function (o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (
9
- !desc ||
10
- ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
- ) {
12
- desc = {
13
- enumerable: true,
14
- get: function () {
15
- return m[k];
16
- },
17
- };
18
- }
19
- Object.defineProperty(o, k2, desc);
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,6 @@
1
+ import { FeeFeature } from './FeeFeature.enum';
2
+ export interface FeeProperties {
3
+ feeBps: number;
4
+ feeFeature: FeeFeature;
5
+ isHelioX: boolean;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=FeeProperties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeeProperties.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/entities/FeeProperties.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from './FeeFeature.enum';
2
2
  export * from './FeeOptions';
3
+ export * from './FeeProperties';
@@ -1,35 +1,20 @@
1
- 'use strict';
2
- var __createBinding =
3
- (this && this.__createBinding) ||
4
- (Object.create
5
- ? function (o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (
9
- !desc ||
10
- ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
- ) {
12
- desc = {
13
- enumerable: true,
14
- get: function () {
15
- return m[k];
16
- },
17
- };
18
- }
19
- Object.defineProperty(o, k2, desc);
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
- 'use strict';
2
- var __createBinding =
3
- (this && this.__createBinding) ||
4
- (Object.create
5
- ? function (o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (
9
- !desc ||
10
- ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
- ) {
12
- desc = {
13
- enumerable: true,
14
- get: function () {
15
- return m[k];
16
- },
17
- };
18
- }
19
- Object.defineProperty(o, k2, desc);
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
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EnrichedInvoice = void 0;
4
- const Invoice_entity_1 = require('./Invoice.entity');
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 { BaseCurrency } from '../../currency';
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
- contact: Contact;
8
- date: string;
9
- dueDate: string;
10
- currency: BaseCurrency;
11
- items: InvoiceItem[];
12
- status: InvoiceStatus;
13
- invoiceNumber?: number;
14
- taxPercentage?: number;
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
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Invoice = void 0;
4
- const payment_request_1 = require('../../payment-request');
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
- 'use strict';
2
- var __createBinding =
3
- (this && this.__createBinding) ||
4
- (Object.create
5
- ? function (o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (
9
- !desc ||
10
- ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
- ) {
12
- desc = {
13
- enumerable: true,
14
- get: function () {
15
- return m[k];
16
- },
17
- };
18
- }
19
- Object.defineProperty(o, k2, desc);
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
- meta: TransactionMeta;
7
- invoice: EnrichedInvoice;
8
- paymentRequestCreatorId: string;
9
- paymentRequestName: string;
10
- paymentRequestCurrencySymbol: string;
11
- contact?: Contact;
7
+ meta: TransactionMeta;
8
+ invoice: EnrichedInvoice;
9
+ paymentRequestCreatorId: string;
10
+ paymentRequestName: string;
11
+ paymentRequestCurrencySymbol: string;
12
+ paymentRequestBlockchain: BlockchainSymbol;
13
+ contact?: Contact;
12
14
  }