@heliofi/common 0.1.249 → 0.1.250

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 (63) hide show
  1. package/dist/src/domain/model/escrow-cancel-transaction-meta/dtos/index.d.ts +1 -0
  2. package/dist/src/domain/model/escrow-cancel-transaction-meta/dtos/index.js +18 -0
  3. package/dist/src/domain/model/escrow-cancel-transaction-meta/dtos/index.js.map +1 -0
  4. package/dist/src/domain/model/escrow-cancel-transaction-meta/dtos/nftDrop.dto.d.ts +4 -0
  5. package/dist/src/domain/model/escrow-cancel-transaction-meta/dtos/nftDrop.dto.js +29 -0
  6. package/dist/src/domain/model/escrow-cancel-transaction-meta/dtos/nftDrop.dto.js.map +1 -0
  7. package/dist/src/domain/model/escrow-cancel-transaction-meta/entities/EscrowCancelTransactionMeta.entity.d.ts +5 -0
  8. package/dist/src/domain/model/escrow-cancel-transaction-meta/entities/EscrowCancelTransactionMeta.entity.js +8 -0
  9. package/dist/src/domain/model/escrow-cancel-transaction-meta/entities/EscrowCancelTransactionMeta.entity.js.map +1 -0
  10. package/dist/src/domain/model/escrow-cancel-transaction-meta/entities/index.d.ts +1 -0
  11. package/dist/src/domain/model/escrow-cancel-transaction-meta/entities/index.js +18 -0
  12. package/dist/src/domain/model/escrow-cancel-transaction-meta/entities/index.js.map +1 -0
  13. package/dist/src/domain/model/escrow-cancel-transaction-meta/index.d.ts +1 -0
  14. package/dist/src/domain/model/escrow-cancel-transaction-meta/index.js +18 -0
  15. package/dist/src/domain/model/escrow-cancel-transaction-meta/index.js.map +1 -0
  16. package/dist/src/domain/model/escrow-transaction-meta/dtos/index.d.ts +1 -0
  17. package/dist/src/domain/model/escrow-transaction-meta/dtos/index.js +18 -0
  18. package/dist/src/domain/model/escrow-transaction-meta/dtos/index.js.map +1 -0
  19. package/dist/src/domain/model/escrow-transaction-meta/dtos/nftDrop.dto.d.ts +4 -0
  20. package/dist/src/domain/model/escrow-transaction-meta/dtos/nftDrop.dto.js +29 -0
  21. package/dist/src/domain/model/escrow-transaction-meta/dtos/nftDrop.dto.js.map +1 -0
  22. package/dist/src/domain/model/escrow-transaction-meta/entities/EscrowTransactionMeta.entity.d.ts +6 -0
  23. package/dist/src/domain/model/escrow-transaction-meta/entities/EscrowTransactionMeta.entity.js +8 -0
  24. package/dist/src/domain/model/escrow-transaction-meta/entities/EscrowTransactionMeta.entity.js.map +1 -0
  25. package/dist/src/domain/model/escrow-transaction-meta/entities/index.d.ts +1 -0
  26. package/dist/src/domain/model/escrow-transaction-meta/entities/index.js +18 -0
  27. package/dist/src/domain/model/escrow-transaction-meta/entities/index.js.map +1 -0
  28. package/dist/src/domain/model/escrow-transaction-meta/index.d.ts +1 -0
  29. package/dist/src/domain/model/escrow-transaction-meta/index.js +18 -0
  30. package/dist/src/domain/model/escrow-transaction-meta/index.js.map +1 -0
  31. package/dist/src/domain/model/fixed-currency/entities/TokenRatePayload.d.ts +9 -0
  32. package/dist/src/domain/model/fixed-currency/entities/TokenRatePayload.js +8 -0
  33. package/dist/src/domain/model/fixed-currency/entities/TokenRatePayload.js.map +1 -0
  34. package/dist/src/domain/model/nft-drop/dtos/updateNftDrop.dto.d.ts +8 -0
  35. package/dist/src/domain/model/nft-drop/dtos/updateNftDrop.dto.js +42 -0
  36. package/dist/src/domain/model/nft-drop/dtos/updateNftDrop.dto.js.map +1 -0
  37. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.d.ts +5 -0
  38. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.js +8 -0
  39. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.js.map +1 -0
  40. package/dist/src/domain/model/paylink/entities/OnlyContentAndTransactionPaylink.d.ts +13 -0
  41. package/dist/src/domain/model/paylink/entities/OnlyContentAndTransactionPaylink.js +11 -0
  42. package/dist/src/domain/model/paylink/entities/OnlyContentAndTransactionPaylink.js.map +1 -0
  43. package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.d.ts +1 -1
  44. package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.js +1 -1
  45. package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.js.map +1 -1
  46. package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.d.ts +1 -1
  47. package/dist/src/domain/model/paystream/entities/IntervalType.d.ts +9 -0
  48. package/dist/src/domain/model/paystream/entities/IntervalType.js +14 -0
  49. package/dist/src/domain/model/paystream/entities/IntervalType.js.map +1 -0
  50. package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.d.ts +11 -0
  51. package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.js +57 -0
  52. package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.js.map +1 -0
  53. package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.d.ts +6 -0
  54. package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js +36 -0
  55. package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js.map +1 -0
  56. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.d.ts +20 -0
  57. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js +37 -0
  58. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js.map +1 -0
  59. package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.d.ts +8 -0
  60. package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js +8 -0
  61. package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js.map +1 -0
  62. package/dist/tsconfig.tsbuildinfo +1 -1
  63. package/package.json +2 -2
@@ -0,0 +1,20 @@
1
+ import { Paystream } from '../../paystream';
2
+ import { BasePaystreamTx } from './BasePaystreamTx';
3
+ import { Withdrawal } from '../../withdrawal';
4
+ import { TransactionMeta } from '../../transaction-meta';
5
+ import { Contact } from '../../contact';
6
+ import { BlockchainSymbol } from '../../blockchain';
7
+ export declare class PaystreamTx extends BasePaystreamTx {
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;
20
+ }
@@ -0,0 +1,37 @@
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;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
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 });
12
+ exports.PaystreamTx = void 0;
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([
21
+ (0, class_transformer_1.Type)(() => paystream_1.Paystream),
22
+ __metadata("design:type", paystream_1.Paystream)
23
+ ], PaystreamTx.prototype, "paystream", void 0);
24
+ __decorate([
25
+ (0, class_transformer_1.Type)(() => transaction_meta_1.BaseTransactionMeta),
26
+ __metadata("design:type", transaction_meta_1.TransactionMeta)
27
+ ], PaystreamTx.prototype, "meta", void 0);
28
+ __decorate([
29
+ (0, class_transformer_1.Type)(() => withdrawal_1.Withdrawal),
30
+ __metadata("design:type", Array)
31
+ ], PaystreamTx.prototype, "withdrawals", void 0);
32
+ __decorate([
33
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
34
+ __metadata("design:type", BigInt)
35
+ ], PaystreamTx.prototype, "fee", void 0);
36
+ exports.PaystreamTx = PaystreamTx;
37
+ //# sourceMappingURL=PaystreamTx.js.map
@@ -0,0 +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;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"}
@@ -0,0 +1,8 @@
1
+ import { Entity } from '../../entity';
2
+ import { FeeProperties } from '../../fee';
3
+ export declare class TokenStreamPayload extends Entity {
4
+ hash: string;
5
+ requestOrTransactionId: string;
6
+ feeProperties: FeeProperties;
7
+ sessionHash?: string;
8
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TokenStreamPayload = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class TokenStreamPayload extends entity_1.Entity {
6
+ }
7
+ exports.TokenStreamPayload = TokenStreamPayload;
8
+ //# sourceMappingURL=TokenStreamPayload.js.map
@@ -0,0 +1 @@
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;CAQ7C;AARD,gDAQC"}