@heliofi/common 0.1.111 → 0.1.112

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 (57) hide show
  1. package/dist/src/domain/model/audit/tx/AuditTxType.d.ts +1 -0
  2. package/dist/src/domain/model/audit/tx/AuditTxType.js +1 -0
  3. package/dist/src/domain/model/audit/tx/AuditTxType.js.map +1 -1
  4. package/dist/src/domain/model/auth/entities/AuthUser.d.ts +2 -0
  5. package/dist/src/domain/model/feature-flags/entities/BetaFeature.entity.d.ts +3 -0
  6. package/dist/src/domain/model/feature-flags/entities/BetaFeature.entity.js +8 -0
  7. package/dist/src/domain/model/feature-flags/entities/BetaFeature.entity.js.map +1 -0
  8. package/dist/src/domain/model/feature-flags/entities/index.d.ts +1 -0
  9. package/dist/src/domain/model/feature-flags/entities/index.js +18 -0
  10. package/dist/src/domain/model/feature-flags/entities/index.js.map +1 -0
  11. package/dist/src/domain/model/feature-flags/index.d.ts +1 -0
  12. package/dist/src/domain/model/feature-flags/index.js +18 -0
  13. package/dist/src/domain/model/feature-flags/index.js.map +1 -0
  14. package/dist/src/domain/model/fee/entities/FeeFeature.enum.d.ts +6 -0
  15. package/dist/src/domain/model/fee/entities/FeeFeature.enum.js +11 -0
  16. package/dist/src/domain/model/fee/entities/FeeFeature.enum.js.map +1 -0
  17. package/dist/src/domain/model/fee/entities/FeeOptions.d.ts +5 -0
  18. package/dist/src/domain/model/fee/entities/FeeOptions.js +3 -0
  19. package/dist/src/domain/model/fee/entities/FeeOptions.js.map +1 -0
  20. package/dist/src/domain/model/fee/entities/index.d.ts +2 -0
  21. package/dist/src/domain/model/fee/entities/index.js +19 -0
  22. package/dist/src/domain/model/fee/entities/index.js.map +1 -0
  23. package/dist/src/domain/model/fee/index.d.ts +1 -0
  24. package/dist/src/domain/model/fee/index.js +18 -0
  25. package/dist/src/domain/model/fee/index.js.map +1 -0
  26. package/dist/src/domain/model/index.d.ts +3 -0
  27. package/dist/src/domain/model/index.js +3 -0
  28. package/dist/src/domain/model/index.js.map +1 -1
  29. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.d.ts +2 -0
  30. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js.map +1 -1
  31. package/dist/src/domain/model/prepare-invoice/dtos/index.d.ts +1 -0
  32. package/dist/src/domain/model/prepare-invoice/dtos/index.js +6 -0
  33. package/dist/src/domain/model/prepare-invoice/dtos/index.js.map +1 -0
  34. package/dist/src/domain/model/prepare-invoice/dtos/prepareInvoice.dto.d.ts +5 -0
  35. package/dist/src/domain/model/prepare-invoice/dtos/prepareInvoice.dto.js +32 -0
  36. package/dist/src/domain/model/prepare-invoice/dtos/prepareInvoice.dto.js.map +1 -0
  37. package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.d.ts +5 -0
  38. package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.js +8 -0
  39. package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.js.map +1 -0
  40. package/dist/src/domain/model/prepare-invoice/entities/TokenInvoicePayload.d.ts +5 -0
  41. package/dist/src/domain/model/prepare-invoice/entities/TokenInvoicePayload.js +8 -0
  42. package/dist/src/domain/model/prepare-invoice/entities/TokenInvoicePayload.js.map +1 -0
  43. package/dist/src/domain/model/prepare-invoice/entities/index.d.ts +2 -0
  44. package/dist/src/domain/model/prepare-invoice/entities/index.js +19 -0
  45. package/dist/src/domain/model/prepare-invoice/entities/index.js.map +1 -0
  46. package/dist/src/domain/model/prepare-invoice/index.d.ts +2 -0
  47. package/dist/src/domain/model/prepare-invoice/index.js +19 -0
  48. package/dist/src/domain/model/prepare-invoice/index.js.map +1 -0
  49. package/dist/src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.d.ts +2 -2
  50. package/dist/src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.js.map +1 -1
  51. package/dist/src/domain/model/submit-invoice/dtos/submitInvoice.dto.d.ts +1 -0
  52. package/dist/src/domain/model/submit-invoice/dtos/submitInvoice.dto.js +5 -0
  53. package/dist/src/domain/model/submit-invoice/dtos/submitInvoice.dto.js.map +1 -1
  54. package/dist/src/domain/model/user/entities/BaseUser.d.ts +0 -1
  55. package/dist/src/domain/model/user/entities/BaseUser.js.map +1 -1
  56. package/dist/tsconfig.tsbuildinfo +1 -1
  57. package/package.json +2 -2
@@ -1,5 +1,6 @@
1
1
  export declare enum AuditTxType {
2
2
  PAYLINK = "PAYLINK",
3
+ INVOICE = "INVOICE",
3
4
  STREAM_START = "STREAM_START",
4
5
  STREAM_CANCEL = "STREAM_CANCEL",
5
6
  STREAM_WITHDRAW = "STREAM_WITHDRAW"
@@ -4,6 +4,7 @@ exports.AuditTxType = void 0;
4
4
  var AuditTxType;
5
5
  (function (AuditTxType) {
6
6
  AuditTxType["PAYLINK"] = "PAYLINK";
7
+ AuditTxType["INVOICE"] = "INVOICE";
7
8
  AuditTxType["STREAM_START"] = "STREAM_START";
8
9
  AuditTxType["STREAM_CANCEL"] = "STREAM_CANCEL";
9
10
  AuditTxType["STREAM_WITHDRAW"] = "STREAM_WITHDRAW";
@@ -1 +1 @@
1
- {"version":3,"file":"AuditTxType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/audit/tx/AuditTxType.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,4CAA6B,CAAA;IAC7B,8CAA+B,CAAA;IAC/B,kDAAmC,CAAA;AACrC,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB"}
1
+ {"version":3,"file":"AuditTxType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/audit/tx/AuditTxType.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,4CAA6B,CAAA;IAC7B,8CAA+B,CAAA;IAC/B,kDAAmC,CAAA;AACrC,CAAC,EANW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAMtB"}
@@ -1,5 +1,6 @@
1
1
  import { RoleType } from '../../role';
2
2
  import { BaseWallet } from '../../wallet';
3
+ import { BetaFeature } from '../../feature-flags';
3
4
  export interface JwtUserRole {
4
5
  id: string;
5
6
  company: string;
@@ -11,4 +12,5 @@ export interface AuthUser {
11
12
  email?: string;
12
13
  wallet?: BaseWallet;
13
14
  isHelioXUser?: boolean;
15
+ enabledBetaFeatures?: BetaFeature[];
14
16
  }
@@ -0,0 +1,3 @@
1
+ export declare enum BetaFeature {
2
+ SWAP = "SWAP"
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BetaFeature = void 0;
4
+ var BetaFeature;
5
+ (function (BetaFeature) {
6
+ BetaFeature["SWAP"] = "SWAP";
7
+ })(BetaFeature = exports.BetaFeature || (exports.BetaFeature = {}));
8
+ //# sourceMappingURL=BetaFeature.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BetaFeature.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/feature-flags/entities/BetaFeature.entity.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAEX;AAFD,WAAY,WAAW;IACrB,4BAAa,CAAA;AACf,CAAC,EAFW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAEtB"}
@@ -0,0 +1 @@
1
+ export * from './BetaFeature.entity';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./BetaFeature.entity"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/feature-flags/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
@@ -0,0 +1 @@
1
+ export * from './entities';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/feature-flags/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
@@ -0,0 +1,6 @@
1
+ export declare enum FeeFeature {
2
+ STANDARD = "STANDARD",
3
+ CONVERSION = "CONVERSION",
4
+ SWAP = "SWAP",
5
+ SWAP_CONVERSION = "SWAP_CONVERSION"
6
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FeeFeature = void 0;
4
+ var FeeFeature;
5
+ (function (FeeFeature) {
6
+ FeeFeature["STANDARD"] = "STANDARD";
7
+ FeeFeature["CONVERSION"] = "CONVERSION";
8
+ FeeFeature["SWAP"] = "SWAP";
9
+ FeeFeature["SWAP_CONVERSION"] = "SWAP_CONVERSION";
10
+ })(FeeFeature = exports.FeeFeature || (exports.FeeFeature = {}));
11
+ //# sourceMappingURL=FeeFeature.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeeFeature.enum.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/entities/FeeFeature.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,mCAAqB,CAAA;IACrB,uCAAyB,CAAA;IACzB,2BAAa,CAAA;IACb,iDAAmC,CAAA;AACrC,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB"}
@@ -0,0 +1,5 @@
1
+ export interface FeeOptions {
2
+ isHelioX?: boolean;
3
+ isSwap?: boolean;
4
+ isConversion?: boolean;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=FeeOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeeOptions.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/entities/FeeOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from './FeeFeature.enum';
2
+ export * from './FeeOptions';
@@ -0,0 +1,19 @@
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
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,+CAA6B"}
@@ -0,0 +1 @@
1
+ export * from './entities';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/fee/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
@@ -49,3 +49,6 @@ export * from './invoice-tx';
49
49
  export * from './token-swap';
50
50
  export * from './audit';
51
51
  export * from './prepare-stream';
52
+ export * from './feature-flags';
53
+ export * from './fee';
54
+ export * from './prepare-invoice';
@@ -65,4 +65,7 @@ __exportStar(require("./invoice-tx"), exports);
65
65
  __exportStar(require("./token-swap"), exports);
66
66
  __exportStar(require("./audit"), exports);
67
67
  __exportStar(require("./prepare-stream"), exports);
68
+ __exportStar(require("./feature-flags"), exports);
69
+ __exportStar(require("./fee"), exports);
70
+ __exportStar(require("./prepare-invoice"), exports);
68
71
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,4CAA0B;AAC1B,wDAAsC;AACtC,kDAAgC;AAChC,mDAAiC;AACjC,4CAA0B;AAC1B,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,0CAAwB;AACxB,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,4CAA0B;AAC1B,wDAAsC;AACtC,kDAAgC;AAChC,mDAAiC;AACjC,4CAA0B;AAC1B,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,0CAAwB;AACxB,mDAAiC;AACjC,kDAAgC;AAChC,wCAAsB;AACtB,oDAAkC"}
@@ -13,4 +13,6 @@ export declare class PaystreamTx extends BasePaystreamTx {
13
13
  paymentRequestName: string;
14
14
  paymentRequestImageUrl?: string;
15
15
  paymentRequestCurrencySymbol: string;
16
+ totalWithdrawn?: bigint;
17
+ canWithdraw?: boolean;
16
18
  }
@@ -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;CAsB/C;AArBC;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,kCAsBC"}
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"}
@@ -0,0 +1 @@
1
+ export { PrepareInvoiceDto } from './prepareInvoice.dto';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PrepareInvoiceDto = void 0;
4
+ var prepareInvoice_dto_1 = require("./prepareInvoice.dto");
5
+ Object.defineProperty(exports, "PrepareInvoiceDto", { enumerable: true, get: function () { return prepareInvoice_dto_1.PrepareInvoiceDto; } });
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-invoice/dtos/index.ts"],"names":[],"mappings":";;;AAAA,2DAAyD;AAAhD,uHAAA,iBAAiB,OAAA"}
@@ -0,0 +1,5 @@
1
+ export declare class PrepareInvoiceDto {
2
+ paymentRequestId: string;
3
+ sender: string;
4
+ currency: string;
5
+ }
@@ -0,0 +1,32 @@
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.PrepareInvoiceDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class PrepareInvoiceDto {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], PrepareInvoiceDto.prototype, "paymentRequestId", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ __metadata("design:type", String)
25
+ ], PrepareInvoiceDto.prototype, "sender", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsString)(),
28
+ (0, class_validator_1.IsNotEmpty)(),
29
+ __metadata("design:type", String)
30
+ ], PrepareInvoiceDto.prototype, "currency", void 0);
31
+ exports.PrepareInvoiceDto = PrepareInvoiceDto;
32
+ //# sourceMappingURL=prepareInvoice.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prepareInvoice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-invoice/dtos/prepareInvoice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,iBAAiB;CAY7B;AAXC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACI;AAXnB,8CAYC"}
@@ -0,0 +1,5 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class PrepareInvoice extends Entity {
3
+ transactionToken: string;
4
+ transactionMessage: string;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PrepareInvoice = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class PrepareInvoice extends entity_1.Entity {
6
+ }
7
+ exports.PrepareInvoice = PrepareInvoice;
8
+ //# sourceMappingURL=PrepareInvoice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrepareInvoice.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-invoice/entities/PrepareInvoice.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,cAAe,SAAQ,eAAM;CAGzC;AAHD,wCAGC"}
@@ -0,0 +1,5 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class TokenInvoicePayload extends Entity {
3
+ hash: string;
4
+ paymentRequestId: string;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TokenInvoicePayload = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class TokenInvoicePayload extends entity_1.Entity {
6
+ }
7
+ exports.TokenInvoicePayload = TokenInvoicePayload;
8
+ //# sourceMappingURL=TokenInvoicePayload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TokenInvoicePayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-invoice/entities/TokenInvoicePayload.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,mBAAoB,SAAQ,eAAM;CAG9C;AAHD,kDAGC"}
@@ -0,0 +1,2 @@
1
+ export * from './PrepareInvoice';
2
+ export * from './TokenInvoicePayload';
@@ -0,0 +1,19 @@
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("./PrepareInvoice"), exports);
18
+ __exportStar(require("./TokenInvoicePayload"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-invoice/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,wDAAsC"}
@@ -0,0 +1,2 @@
1
+ export * from './dtos';
2
+ export * from './entities';
@@ -0,0 +1,19 @@
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
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/prepare-invoice/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
@@ -2,6 +2,6 @@ export declare class PrepareTransactionDto {
2
2
  paymentRequestId: string;
3
3
  sender: string;
4
4
  currency: string;
5
- amount: string;
6
- quantity: number;
5
+ amount?: string;
6
+ quantity?: number;
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"prepareTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6E;AAC7E,yDAA8C;AAE9C,MAAa,qBAAqB;CAoBjC;AAnBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACI;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;qDACzB;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACI;AAnBnB,sDAoBC"}
1
+ {"version":3,"file":"prepareTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6E;AAC7E,yDAA8C;AAE9C,MAAa,qBAAqB;CAoBjC;AAnBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACI;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;qDACxB;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACK;AAnBpB,sDAoBC"}
@@ -7,4 +7,5 @@ export declare class SubmitInvoiceDto {
7
7
  blockchain?: string;
8
8
  fixedCurrency?: FixedCurrencyDto;
9
9
  rateToken?: string;
10
+ transactionToken?: string;
10
11
  }
@@ -50,5 +50,10 @@ __decorate([
50
50
  (0, class_validator_1.IsOptional)(),
51
51
  __metadata("design:type", String)
52
52
  ], SubmitInvoiceDto.prototype, "rateToken", void 0);
53
+ __decorate([
54
+ (0, class_validator_1.IsString)(),
55
+ (0, class_validator_1.IsOptional)(),
56
+ __metadata("design:type", String)
57
+ ], SubmitInvoiceDto.prototype, "transactionToken", void 0);
53
58
  exports.SubmitInvoiceDto = SubmitInvoiceDto;
54
59
  //# sourceMappingURL=submitInvoice.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"submitInvoice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/submit-invoice/dtos/submitInvoice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AACnE,yDAAyC;AACzC,yDAAwD;AAExD,MAAa,gBAAgB;CA4B5B;AA3BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACO;AAEpB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;8BACG,iCAAgB;uDAAC;AAEjC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACM;AA3BrB,4CA4BC"}
1
+ {"version":3,"file":"submitInvoice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/submit-invoice/dtos/submitInvoice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AACnE,yDAAyC;AACzC,yDAAwD;AAExD,MAAa,gBAAgB;CAgC5B;AA/BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACO;AAEpB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;8BACG,iCAAgB;uDAAC;AAEjC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACM;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACa;AA/B5B,4CAgCC"}
@@ -5,5 +5,4 @@ export declare class BaseUser extends Entity {
5
5
  email?: string;
6
6
  discordUsername?: string;
7
7
  twitterUsername?: string;
8
- beta?: boolean;
9
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BaseUser.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/entities/BaseUser.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,QAAS,SAAQ,eAAM;CAYnC;AAZD,4BAYC"}
1
+ {"version":3,"file":"BaseUser.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/entities/BaseUser.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,QAAS,SAAQ,eAAM;CAUnC;AAVD,4BAUC"}