@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,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.InvoiceTx = void 0;
4
- const BaseInvoiceTx_1 = require('./BaseInvoiceTx');
5
- class InvoiceTx extends BaseInvoiceTx_1.BaseInvoiceTx {}
4
+ const BaseInvoiceTx_1 = require("./BaseInvoiceTx");
5
+ class InvoiceTx extends BaseInvoiceTx_1.BaseInvoiceTx {
6
+ }
6
7
  exports.InvoiceTx = InvoiceTx;
7
- //# sourceMappingURL=InvoiceTx.js.map
8
+ //# sourceMappingURL=InvoiceTx.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InvoiceTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice-tx/entities/InvoiceTx.ts"],"names":[],"mappings":";;;AACA,mDAAgD;AAIhD,MAAa,SAAU,SAAQ,6BAAa;CAY3C;AAZD,8BAYC"}
1
+ {"version":3,"file":"InvoiceTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice-tx/entities/InvoiceTx.ts"],"names":[],"mappings":";;;AACA,mDAAgD;AAKhD,MAAa,SAAU,SAAQ,6BAAa;CAc3C;AAdD,8BAcC"}
@@ -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('./InvoiceTx'), exports);
34
- __exportStar(require('./BaseInvoiceTx'), 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("./InvoiceTx"), exports);
18
+ __exportStar(require("./BaseInvoiceTx"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -2,12 +2,14 @@ import { BasePaylinkTx } from './BasePaylinkTx';
2
2
  import { ShallowEnrichedTransactionMeta } from '../../transaction-meta';
3
3
  import { ShallowEnrichedPaylink } from '../../paylink';
4
4
  import { Contact } from '../../contact';
5
+ import { BlockchainSymbol } from '../../blockchain';
5
6
  export declare class PaylinkTxWithShallowEnrichedPaylink extends BasePaylinkTx {
6
- meta: ShallowEnrichedTransactionMeta;
7
- paylink: ShallowEnrichedPaylink;
8
- contact?: Contact;
9
- paymentRequestCreatorId: string;
10
- paymentRequestName: string;
11
- paymentRequestImageUrl?: string;
12
- paymentRequestCurrencySymbol: string;
7
+ meta: ShallowEnrichedTransactionMeta;
8
+ paylink: ShallowEnrichedPaylink;
9
+ contact?: Contact;
10
+ paymentRequestCreatorId: string;
11
+ paymentRequestName: string;
12
+ paymentRequestImageUrl?: string;
13
+ paymentRequestCurrencySymbol: string;
14
+ paymentRequestBlockchain: BlockchainSymbol;
13
15
  }
@@ -1,59 +1,28 @@
1
- 'use strict';
2
- var __decorate =
3
- (this && this.__decorate) ||
4
- function (decorators, target, key, desc) {
5
- var c = arguments.length,
6
- r =
7
- c < 3
8
- ? target
9
- : desc === null
10
- ? (desc = Object.getOwnPropertyDescriptor(target, key))
11
- : desc,
12
- d;
13
- if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
14
- r = Reflect.decorate(decorators, target, key, desc);
15
- else
16
- for (var i = decorators.length - 1; i >= 0; i--)
17
- if ((d = decorators[i]))
18
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
19
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
20
- };
21
- var __metadata =
22
- (this && this.__metadata) ||
23
- function (k, v) {
24
- if (typeof Reflect === 'object' && typeof Reflect.metadata === 'function')
25
- return Reflect.metadata(k, v);
26
- };
27
- Object.defineProperty(exports, '__esModule', { value: true });
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
28
12
  exports.PaylinkTxWithShallowEnrichedPaylink = void 0;
29
- const BasePaylinkTx_1 = require('./BasePaylinkTx');
30
- const transaction_meta_1 = require('../../transaction-meta');
31
- const paylink_1 = require('../../paylink');
32
- const class_transformer_1 = require('class-transformer');
33
- class PaylinkTxWithShallowEnrichedPaylink extends BasePaylinkTx_1.BasePaylinkTx {}
34
- __decorate(
35
- [
36
- (0, class_transformer_1.Type)(
37
- () => transaction_meta_1.ShallowEnrichedTransactionMeta,
38
- ),
39
- __metadata(
40
- 'design:type',
41
- transaction_meta_1.ShallowEnrichedTransactionMeta,
42
- ),
43
- ],
44
- PaylinkTxWithShallowEnrichedPaylink.prototype,
45
- 'meta',
46
- void 0,
47
- );
48
- __decorate(
49
- [
13
+ const BasePaylinkTx_1 = require("./BasePaylinkTx");
14
+ const transaction_meta_1 = require("../../transaction-meta");
15
+ const paylink_1 = require("../../paylink");
16
+ const class_transformer_1 = require("class-transformer");
17
+ class PaylinkTxWithShallowEnrichedPaylink extends BasePaylinkTx_1.BasePaylinkTx {
18
+ }
19
+ __decorate([
20
+ (0, class_transformer_1.Type)(() => transaction_meta_1.ShallowEnrichedTransactionMeta),
21
+ __metadata("design:type", transaction_meta_1.ShallowEnrichedTransactionMeta)
22
+ ], PaylinkTxWithShallowEnrichedPaylink.prototype, "meta", void 0);
23
+ __decorate([
50
24
  (0, class_transformer_1.Type)(() => paylink_1.ShallowEnrichedPaylink),
51
- __metadata('design:type', paylink_1.ShallowEnrichedPaylink),
52
- ],
53
- PaylinkTxWithShallowEnrichedPaylink.prototype,
54
- 'paylink',
55
- void 0,
56
- );
57
- exports.PaylinkTxWithShallowEnrichedPaylink =
58
- PaylinkTxWithShallowEnrichedPaylink;
59
- //# sourceMappingURL=PaylinkTxWithShallowEnrichedPaylink.js.map
25
+ __metadata("design:type", paylink_1.ShallowEnrichedPaylink)
26
+ ], PaylinkTxWithShallowEnrichedPaylink.prototype, "paylink", void 0);
27
+ exports.PaylinkTxWithShallowEnrichedPaylink = PaylinkTxWithShallowEnrichedPaylink;
28
+ //# sourceMappingURL=PaylinkTxWithShallowEnrichedPaylink.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaylinkTxWithShallowEnrichedPaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAAgD;AAChD,6DAAwE;AACxE,2CAAuD;AACvD,yDAAyC;AAGzC,MAAa,mCAAoC,SAAQ,6BAAa;CAgBrE;AAfC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iDAA8B,CAAC;8BACrC,iDAA8B;iEAAC;AAErC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAsB,CAAC;8BAC1B,gCAAsB;oEAAC;AALlC,kFAgBC"}
1
+ {"version":3,"file":"PaylinkTxWithShallowEnrichedPaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAAgD;AAChD,6DAAwE;AACxE,2CAAuD;AACvD,yDAAyC;AAIzC,MAAa,mCAAoC,SAAQ,6BAAa;CAkBrE;AAjBC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iDAA8B,CAAC;8BACrC,iDAA8B;iEAAC;AAErC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAsB,CAAC;8BAC1B,gCAAsB;oEAAC;AALlC,kFAkBC"}
@@ -1,38 +1,22 @@
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('./PaylinkTx'), exports);
34
- __exportStar(require('./BasePaylinkTx'), exports);
35
- __exportStar(require('./ShallowEnrichedPaylinkTx'), exports);
36
- __exportStar(require('./PaylinkTxWithShallowEnrichedPaylink'), exports);
37
- __exportStar(require('./PaylinkTxWithMeta'), exports);
38
- //# 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("./PaylinkTx"), exports);
18
+ __exportStar(require("./BasePaylinkTx"), exports);
19
+ __exportStar(require("./ShallowEnrichedPaylinkTx"), exports);
20
+ __exportStar(require("./PaylinkTxWithShallowEnrichedPaylink"), exports);
21
+ __exportStar(require("./PaylinkTxWithMeta"), exports);
22
+ //# sourceMappingURL=index.js.map
@@ -1,20 +1,20 @@
1
1
  import { BasePaymentRequest } from './BasePaymentRequest';
2
2
  import type { BaseUser } from '../../user';
3
- import type { BaseCurrency } from '../../currency';
4
3
  import type { BaseWallet } from '../../wallet';
5
4
  import { Product } from '../../product';
6
5
  import { BaseCompany } from '../../company';
7
6
  import { SplitWallet } from '../../split-wallets';
8
7
  import { FixedCurrency } from '../../fixed-currency';
8
+ import { Currency } from '../../currency';
9
9
  export declare class ShallowEnrichedPaymentRequest extends BasePaymentRequest {
10
- creator: BaseUser;
11
- company: BaseCompany;
12
- currency: BaseCurrency;
13
- wallet: BaseWallet;
14
- product: Product;
15
- splitWallets?: SplitWallet[];
16
- fixedCurrency?: FixedCurrency;
17
- slug: string;
18
- volume: number;
19
- sales: number;
10
+ creator: BaseUser;
11
+ company: BaseCompany;
12
+ currency: Currency;
13
+ wallet: BaseWallet;
14
+ product: Product;
15
+ splitWallets?: SplitWallet[];
16
+ fixedCurrency?: FixedCurrency;
17
+ slug: string;
18
+ volume: number;
19
+ sales: number;
20
20
  }
@@ -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.ShallowEnrichedPaymentRequest = void 0;
4
- const BasePaymentRequest_1 = require('./BasePaymentRequest');
5
- class ShallowEnrichedPaymentRequest extends BasePaymentRequest_1.BasePaymentRequest {}
4
+ const BasePaymentRequest_1 = require("./BasePaymentRequest");
5
+ class ShallowEnrichedPaymentRequest extends BasePaymentRequest_1.BasePaymentRequest {
6
+ }
6
7
  exports.ShallowEnrichedPaymentRequest = ShallowEnrichedPaymentRequest;
7
- //# sourceMappingURL=ShallowEnrichedPaymentRequest.js.map
8
+ //# sourceMappingURL=ShallowEnrichedPaymentRequest.js.map
@@ -1,38 +1,22 @@
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('./PaymentRequest'), exports);
34
- __exportStar(require('./BasePaymentRequest'), exports);
35
- __exportStar(require('./ShallowEnrichedPaymentRequest'), exports);
36
- __exportStar(require('./PaymentRequestType'), exports);
37
- __exportStar(require('./SlugPaymentRequest'), exports);
38
- //# 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("./PaymentRequest"), exports);
18
+ __exportStar(require("./BasePaymentRequest"), exports);
19
+ __exportStar(require("./ShallowEnrichedPaymentRequest"), exports);
20
+ __exportStar(require("./PaymentRequestType"), exports);
21
+ __exportStar(require("./SlugPaymentRequest"), exports);
22
+ //# sourceMappingURL=index.js.map
@@ -3,16 +3,18 @@ import { BasePaystreamTx } from './BasePaystreamTx';
3
3
  import { Withdrawal } from '../../withdrawal';
4
4
  import { TransactionMeta } from '../../transaction-meta';
5
5
  import { Contact } from '../../contact';
6
+ import { BlockchainSymbol } from '../../blockchain';
6
7
  export declare class PaystreamTx extends BasePaystreamTx {
7
- paystream: Paystream;
8
- meta: TransactionMeta;
9
- withdrawals: Withdrawal[];
10
- contact?: Contact;
11
- fee: bigint;
12
- paymentRequestCreatorId: string;
13
- paymentRequestName: string;
14
- paymentRequestImageUrl?: string;
15
- paymentRequestCurrencySymbol: string;
16
- totalWithdrawn?: bigint;
17
- canWithdraw?: boolean;
8
+ paystream: Paystream;
9
+ meta: TransactionMeta;
10
+ withdrawals: Withdrawal[];
11
+ contact?: Contact;
12
+ fee: bigint;
13
+ paymentRequestCreatorId: string;
14
+ paymentRequestName: string;
15
+ paymentRequestImageUrl?: string;
16
+ paymentRequestCurrencySymbol: string;
17
+ paymentRequestBlockchain: BlockchainSymbol;
18
+ totalWithdrawn?: bigint;
19
+ canWithdraw?: boolean;
18
20
  }
@@ -1,72 +1,37 @@
1
- 'use strict';
2
- var __decorate =
3
- (this && this.__decorate) ||
4
- function (decorators, target, key, desc) {
5
- var c = arguments.length,
6
- r =
7
- c < 3
8
- ? target
9
- : desc === null
10
- ? (desc = Object.getOwnPropertyDescriptor(target, key))
11
- : desc,
12
- d;
13
- if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
14
- r = Reflect.decorate(decorators, target, key, desc);
15
- else
16
- for (var i = decorators.length - 1; i >= 0; i--)
17
- if ((d = decorators[i]))
18
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
19
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
20
- };
21
- var __metadata =
22
- (this && this.__metadata) ||
23
- function (k, v) {
24
- if (typeof Reflect === 'object' && typeof Reflect.metadata === 'function')
25
- return Reflect.metadata(k, v);
26
- };
27
- Object.defineProperty(exports, '__esModule', { value: true });
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
28
12
  exports.PaystreamTx = void 0;
29
- const paystream_1 = require('../../paystream');
30
- const BasePaystreamTx_1 = require('./BasePaystreamTx');
31
- const withdrawal_1 = require('../../withdrawal');
32
- const class_transformer_1 = require('class-transformer');
33
- const transaction_meta_1 = require('../../transaction-meta');
34
- class PaystreamTx extends BasePaystreamTx_1.BasePaystreamTx {}
35
- __decorate(
36
- [
13
+ const paystream_1 = require("../../paystream");
14
+ const BasePaystreamTx_1 = require("./BasePaystreamTx");
15
+ const withdrawal_1 = require("../../withdrawal");
16
+ const class_transformer_1 = require("class-transformer");
17
+ const transaction_meta_1 = require("../../transaction-meta");
18
+ class PaystreamTx extends BasePaystreamTx_1.BasePaystreamTx {
19
+ }
20
+ __decorate([
37
21
  (0, class_transformer_1.Type)(() => paystream_1.Paystream),
38
- __metadata('design:type', paystream_1.Paystream),
39
- ],
40
- PaystreamTx.prototype,
41
- 'paystream',
42
- void 0,
43
- );
44
- __decorate(
45
- [
22
+ __metadata("design:type", paystream_1.Paystream)
23
+ ], PaystreamTx.prototype, "paystream", void 0);
24
+ __decorate([
46
25
  (0, class_transformer_1.Type)(() => transaction_meta_1.BaseTransactionMeta),
47
- __metadata('design:type', transaction_meta_1.TransactionMeta),
48
- ],
49
- PaystreamTx.prototype,
50
- 'meta',
51
- void 0,
52
- );
53
- __decorate(
54
- [
26
+ __metadata("design:type", transaction_meta_1.TransactionMeta)
27
+ ], PaystreamTx.prototype, "meta", void 0);
28
+ __decorate([
55
29
  (0, class_transformer_1.Type)(() => withdrawal_1.Withdrawal),
56
- __metadata('design:type', Array),
57
- ],
58
- PaystreamTx.prototype,
59
- 'withdrawals',
60
- void 0,
61
- );
62
- __decorate(
63
- [
30
+ __metadata("design:type", Array)
31
+ ], PaystreamTx.prototype, "withdrawals", void 0);
32
+ __decorate([
64
33
  (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
65
- __metadata('design:type', BigInt),
66
- ],
67
- PaystreamTx.prototype,
68
- 'fee',
69
- void 0,
70
- );
34
+ __metadata("design:type", BigInt)
35
+ ], PaystreamTx.prototype, "fee", void 0);
71
36
  exports.PaystreamTx = PaystreamTx;
72
- //# sourceMappingURL=PaystreamTx.js.map
37
+ //# sourceMappingURL=PaystreamTx.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaystreamTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/PaystreamTx.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA4C;AAC5C,uDAAoD;AACpD,iDAA8C;AAC9C,yDAAoD;AACpD,6DAA8E;AAG9E,MAAa,WAAY,SAAQ,iCAAe;CA0B/C;AAzBC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAS,CAAC;8BACX,qBAAS;8CAAC;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAmB,CAAC;8BAC1B,kCAAe;yCAAC;AAEtB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAU,CAAC;;gDACG;AAI1B;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;wCAC5B;AAbd,kCA0BC"}
1
+ {"version":3,"file":"PaystreamTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/PaystreamTx.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA4C;AAC5C,uDAAoD;AACpD,iDAA8C;AAC9C,yDAAoD;AACpD,6DAA8E;AAI9E,MAAa,WAAY,SAAQ,iCAAe;CA4B/C;AA3BC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAS,CAAC;8BACX,qBAAS;8CAAC;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAmB,CAAC;8BAC1B,kCAAe;yCAAC;AAEtB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAU,CAAC;;gDACG;AAI1B;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;wCAC5B;AAbd,kCA4BC"}
@@ -1,6 +1,8 @@
1
1
  import { Entity } from '../../entity';
2
+ import { FeeProperties } from '../../fee';
2
3
  export declare class TokenStreamPayload extends Entity {
3
- hash: string;
4
- requestOrTransactionId: string;
5
- sessionHash?: string;
4
+ hash: string;
5
+ requestOrTransactionId: string;
6
+ feeProperties: FeeProperties;
7
+ sessionHash?: string;
6
8
  }
@@ -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.TokenStreamPayload = void 0;
4
- const entity_1 = require('../../entity');
5
- class TokenStreamPayload extends entity_1.Entity {}
4
+ const entity_1 = require("../../entity");
5
+ class TokenStreamPayload extends entity_1.Entity {
6
+ }
6
7
  exports.TokenStreamPayload = TokenStreamPayload;
7
- //# sourceMappingURL=TokenStreamPayload.js.map
8
+ //# sourceMappingURL=TokenStreamPayload.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TokenStreamPayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-stream/entities/TokenStreamPayload.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,kBAAmB,SAAQ,eAAM;CAI7C;AAJD,gDAIC"}
1
+ {"version":3,"file":"TokenStreamPayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-stream/entities/TokenStreamPayload.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,kBAAmB,SAAQ,eAAM;CAK7C;AALD,gDAKC"}
@@ -1,34 +1,18 @@
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('./TokenStreamPayload'), 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("./TokenStreamPayload"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -1,6 +1,8 @@
1
1
  import { Entity } from '../../entity';
2
+ import { FeeProperties } from '../../fee';
2
3
  export declare class TokenTransactionPayload extends Entity {
3
- hash: string;
4
- paymentRequestId: string;
5
- sessionHash?: string;
4
+ hash: string;
5
+ paymentRequestId: string;
6
+ sessionHash?: string;
7
+ feeProperties: FeeProperties;
6
8
  }
@@ -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.TokenTransactionPayload = void 0;
4
- const entity_1 = require('../../entity');
5
- class TokenTransactionPayload extends entity_1.Entity {}
4
+ const entity_1 = require("../../entity");
5
+ class TokenTransactionPayload extends entity_1.Entity {
6
+ }
6
7
  exports.TokenTransactionPayload = TokenTransactionPayload;
7
- //# sourceMappingURL=TokenTransactionPayload.js.map
8
+ //# sourceMappingURL=TokenTransactionPayload.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TokenTransactionPayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/TokenTransactionPayload.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,uBAAwB,SAAQ,eAAM;CAIlD;AAJD,0DAIC"}
1
+ {"version":3,"file":"TokenTransactionPayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/TokenTransactionPayload.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,uBAAwB,SAAQ,eAAM;CAKlD;AALD,0DAKC"}