@heliofi/common 0.1.175 → 0.1.177

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 (98) hide show
  1. package/dist/src/domain/constants/helioPlay/index.d.ts +1 -0
  2. package/dist/src/domain/constants/helioPlay/index.js +18 -0
  3. package/dist/src/domain/constants/helioPlay/index.js.map +1 -0
  4. package/dist/src/domain/constants/helioPlay/previewDurationSeconds.d.ts +1 -0
  5. package/dist/src/domain/constants/helioPlay/previewDurationSeconds.js +5 -0
  6. package/dist/src/domain/constants/helioPlay/previewDurationSeconds.js.map +1 -0
  7. package/dist/src/domain/constants/index.d.ts +1 -0
  8. package/dist/src/domain/constants/index.js +1 -0
  9. package/dist/src/domain/constants/index.js.map +1 -1
  10. package/dist/src/domain/model/attachment/entities/BaseAttachment.d.ts +7 -0
  11. package/dist/src/domain/model/attachment/entities/BaseAttachment.js +8 -0
  12. package/dist/src/domain/model/attachment/entities/BaseAttachment.js.map +1 -0
  13. package/dist/src/domain/model/company/entities/BaseCompany.d.ts +13 -0
  14. package/dist/src/domain/model/company/entities/BaseCompany.js +8 -0
  15. package/dist/src/domain/model/company/entities/BaseCompany.js.map +1 -0
  16. package/dist/src/domain/model/company/entities/Company.d.ts +7 -0
  17. package/dist/src/domain/model/company/entities/Company.js +8 -0
  18. package/dist/src/domain/model/company/entities/Company.js.map +1 -0
  19. package/dist/src/domain/model/content/dtos/content.dto.d.ts +2 -1
  20. package/dist/src/domain/model/content/dtos/content.dto.js +6 -1
  21. package/dist/src/domain/model/content/dtos/content.dto.js.map +1 -1
  22. package/dist/src/domain/model/content/entities/Content.d.ts +2 -3
  23. package/dist/src/domain/model/content/entities/Content.js +3 -3
  24. package/dist/src/domain/model/content/entities/Content.js.map +1 -1
  25. package/dist/src/domain/model/currency/entities/BaseCurrency.d.ts +14 -0
  26. package/dist/src/domain/model/currency/entities/BaseCurrency.js +8 -0
  27. package/dist/src/domain/model/currency/entities/BaseCurrency.js.map +1 -0
  28. package/dist/src/domain/model/currency/entities/Currency.d.ts +5 -0
  29. package/dist/src/domain/model/currency/entities/Currency.js +8 -0
  30. package/dist/src/domain/model/currency/entities/Currency.js.map +1 -0
  31. package/dist/src/domain/model/location/entities/FetchifyFindAddress.d.ts +8 -0
  32. package/dist/src/domain/model/location/entities/FetchifyFindAddress.js +8 -0
  33. package/dist/src/domain/model/location/entities/FetchifyFindAddress.js.map +1 -0
  34. package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.d.ts +13 -0
  35. package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.js +8 -0
  36. package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.js.map +1 -0
  37. package/dist/src/domain/model/paylink/entities/OnlyContentAndTransactionPaylink.d.ts +3 -3
  38. package/dist/src/domain/model/paylink/entities/OnlyContentPaylink.d.ts +2 -2
  39. package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.d.ts +2 -2
  40. package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.d.ts +2 -2
  41. package/dist/src/domain/model/paystream-tx/entities/CheckoutStatus.d.ts +16 -0
  42. package/dist/src/domain/model/paystream-tx/entities/CheckoutStatus.entity.d.ts +1 -1
  43. package/dist/src/domain/model/paystream-tx/entities/CheckoutStatus.js +7 -0
  44. package/dist/src/domain/model/paystream-tx/entities/CheckoutStatus.js.map +1 -0
  45. package/dist/src/domain/model/paystream-tx/entities/PaystreamTxWithContent.d.ts +2 -2
  46. package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.d.ts +5 -0
  47. package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.js +8 -0
  48. package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.js.map +1 -0
  49. package/dist/src/domain/model/prepare-stream/dtos/index.d.ts +3 -2
  50. package/dist/src/domain/model/prepare-stream/dtos/index.js +3 -2
  51. package/dist/src/domain/model/prepare-stream/dtos/index.js.map +1 -1
  52. package/dist/src/domain/model/prepare-stream/dtos/topUpStreamPrepare.dto.d.ts +4 -0
  53. package/dist/src/domain/model/prepare-stream/dtos/topUpStreamPrepare.dto.js +27 -0
  54. package/dist/src/domain/model/prepare-stream/dtos/topUpStreamPrepare.dto.js.map +1 -0
  55. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.d.ts +5 -0
  56. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.js +7 -0
  57. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.js.map +1 -0
  58. package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.d.ts +5 -0
  59. package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.js +8 -0
  60. package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.js.map +1 -0
  61. package/dist/src/domain/model/report/entities/ReportItem.d.ts +37 -0
  62. package/dist/src/domain/model/report/entities/ReportItem.js +7 -0
  63. package/dist/src/domain/model/report/entities/ReportItem.js.map +1 -0
  64. package/dist/src/domain/model/settle-transaction/dtos/settleTransaction.dto.d.ts +1 -1
  65. package/dist/src/domain/model/settle-transaction/dtos/settleTransaction.dto.js +1 -0
  66. package/dist/src/domain/model/settle-transaction/dtos/settleTransaction.dto.js.map +1 -1
  67. package/dist/src/domain/model/token-quoting/entities/TokenQuoting.d.ts +4 -0
  68. package/dist/src/domain/model/token-quoting/entities/TokenQuoting.js +8 -0
  69. package/dist/src/domain/model/token-quoting/entities/TokenQuoting.js.map +1 -0
  70. package/dist/src/domain/model/token-swap/entities/SwapRouteToken.d.ts +4 -0
  71. package/dist/src/domain/model/token-swap/entities/SwapRouteToken.js +8 -0
  72. package/dist/src/domain/model/token-swap/entities/SwapRouteToken.js.map +1 -0
  73. package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.d.ts +16 -0
  74. package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.js +26 -0
  75. package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.js.map +1 -0
  76. package/dist/src/domain/model/user/entities/BaseUser.d.ts +8 -0
  77. package/dist/src/domain/model/user/entities/BaseUser.js +8 -0
  78. package/dist/src/domain/model/user/entities/BaseUser.js.map +1 -0
  79. package/dist/src/domain/model/wallet/entities/BaseWallet.d.ts +5 -0
  80. package/dist/src/domain/model/wallet/entities/BaseWallet.js +8 -0
  81. package/dist/src/domain/model/wallet/entities/BaseWallet.js.map +1 -0
  82. package/dist/src/domain/model/wallet/entities/Wallet.d.ts +7 -0
  83. package/dist/src/domain/model/wallet/entities/Wallet.js +8 -0
  84. package/dist/src/domain/model/wallet/entities/Wallet.js.map +1 -0
  85. package/dist/src/domain/model/wallet/entities/WalletDetails.d.ts +4 -0
  86. package/dist/src/domain/model/wallet/entities/WalletDetails.js +8 -0
  87. package/dist/src/domain/model/wallet/entities/WalletDetails.js.map +1 -0
  88. package/dist/src/domain/services/BigIntCalculatorService.d.ts +1 -0
  89. package/dist/src/domain/services/BigIntCalculatorService.js +3 -0
  90. package/dist/src/domain/services/BigIntCalculatorService.js.map +1 -1
  91. package/dist/src/domain/services/PolygonExplorerService.d.ts +5 -0
  92. package/dist/src/domain/services/PolygonExplorerService.js +16 -0
  93. package/dist/src/domain/services/PolygonExplorerService.js.map +1 -0
  94. package/dist/src/domain/services/index.d.ts +1 -0
  95. package/dist/src/domain/services/index.js +1 -0
  96. package/dist/src/domain/services/index.js.map +1 -1
  97. package/dist/tsconfig.tsbuildinfo +1 -1
  98. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ export * from './previewDurationSeconds';
@@ -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("./previewDurationSeconds"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/constants/helioPlay/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
@@ -0,0 +1 @@
1
+ export declare const HELIO_PLAY_PREVIEW_DURATION_SECONDS = 10;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HELIO_PLAY_PREVIEW_DURATION_SECONDS = void 0;
4
+ exports.HELIO_PLAY_PREVIEW_DURATION_SECONDS = 10;
5
+ //# sourceMappingURL=previewDurationSeconds.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"previewDurationSeconds.js","sourceRoot":"","sources":["../../../../../src/domain/constants/helioPlay/previewDurationSeconds.ts"],"names":[],"mappings":";;;AAAa,QAAA,mCAAmC,GAAG,EAAE,CAAC"}
@@ -5,3 +5,4 @@ export * from './intervalUnit';
5
5
  export * from './currencies';
6
6
  export * from './fiatCurrencies';
7
7
  export * from './fixedPriceTokens';
8
+ export * from './helioPlay';
@@ -21,4 +21,5 @@ __exportStar(require("./intervalUnit"), exports);
21
21
  __exportStar(require("./currencies"), exports);
22
22
  __exportStar(require("./fiatCurrencies"), exports);
23
23
  __exportStar(require("./fixedPriceTokens"), exports);
24
+ __exportStar(require("./helioPlay"), exports);
24
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,qDAAmC;AACnC,8CAA4B"}
@@ -0,0 +1,7 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class BaseAttachment extends Entity {
3
+ id: string;
4
+ name: string;
5
+ url: string;
6
+ type: string;
7
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BaseAttachment = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class BaseAttachment extends entity_1.Entity {
6
+ }
7
+ exports.BaseAttachment = BaseAttachment;
8
+ //# sourceMappingURL=BaseAttachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseAttachment.js","sourceRoot":"","sources":["../../../../../../src/domain/model/attachment/entities/BaseAttachment.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,cAAe,SAAQ,eAAM;CAQzC;AARD,wCAQC"}
@@ -0,0 +1,13 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class BaseCompany extends Entity {
3
+ id: string;
4
+ name?: string;
5
+ email?: string;
6
+ logoUrl?: string;
7
+ websiteUrl?: string;
8
+ twitterUsername?: string;
9
+ discordUsername?: string;
10
+ address?: string;
11
+ phoneNumber?: string;
12
+ twitterConfirmed?: boolean;
13
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BaseCompany = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class BaseCompany extends entity_1.Entity {
6
+ }
7
+ exports.BaseCompany = BaseCompany;
8
+ //# sourceMappingURL=BaseCompany.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseCompany.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/entities/BaseCompany.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,WAAY,SAAQ,eAAM;CAoBtC;AApBD,kCAoBC"}
@@ -0,0 +1,7 @@
1
+ import { BaseCompany } from './BaseCompany';
2
+ import { BaseAttachment } from '../../attachment';
3
+ import { ApiKey } from '../../apiKey';
4
+ export declare class Company extends BaseCompany {
5
+ logo?: BaseAttachment;
6
+ apiKeys?: ApiKey[];
7
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Company = void 0;
4
+ const BaseCompany_1 = require("./BaseCompany");
5
+ class Company extends BaseCompany_1.BaseCompany {
6
+ }
7
+ exports.Company = Company;
8
+ //# sourceMappingURL=Company.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Company.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/entities/Company.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;AAI5C,MAAa,OAAQ,SAAQ,yBAAW;CAIvC;AAJD,0BAIC"}
@@ -1,5 +1,6 @@
1
1
  export declare class ContentDto {
2
2
  text?: string;
3
- imageUrl?: string;
3
+ mediaUrl?: string;
4
+ mediaAttachmentId?: string;
4
5
  video?: string;
5
6
  }
@@ -22,7 +22,12 @@ __decorate([
22
22
  (0, class_validator_1.IsString)(),
23
23
  (0, class_validator_1.IsOptional)(),
24
24
  __metadata("design:type", String)
25
- ], ContentDto.prototype, "imageUrl", void 0);
25
+ ], ContentDto.prototype, "mediaUrl", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsString)(),
28
+ (0, class_validator_1.IsOptional)(),
29
+ __metadata("design:type", String)
30
+ ], ContentDto.prototype, "mediaAttachmentId", void 0);
26
31
  __decorate([
27
32
  (0, class_validator_1.IsString)(),
28
33
  (0, class_validator_1.IsOptional)(),
@@ -1 +1 @@
1
- {"version":3,"file":"content.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/content/dtos/content.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,UAAU;CAYtB;AAXC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wCACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yCACE;AAXjB,gCAYC"}
1
+ {"version":3,"file":"content.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/content/dtos/content.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,UAAU;CAgBtB;AAfC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wCACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACc;AAE3B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yCACE;AAfjB,gCAgBC"}
@@ -1,6 +1,5 @@
1
1
  import { Entity } from '../../entity';
2
- export declare class Content extends Entity {
2
+ export declare class ContentResponse extends Entity {
3
3
  text?: string;
4
- imageUrl?: string;
5
- videoUrl?: string;
4
+ mediaUrl?: string;
6
5
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Content = void 0;
3
+ exports.ContentResponse = void 0;
4
4
  const entity_1 = require("../../entity");
5
- class Content extends entity_1.Entity {
5
+ class ContentResponse extends entity_1.Entity {
6
6
  }
7
- exports.Content = Content;
7
+ exports.ContentResponse = ContentResponse;
8
8
  //# sourceMappingURL=Content.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Content.js","sourceRoot":"","sources":["../../../../../../src/domain/model/content/entities/Content.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,OAAQ,SAAQ,eAAM;CAMlC;AAND,0BAMC"}
1
+ {"version":3,"file":"Content.js","sourceRoot":"","sources":["../../../../../../src/domain/model/content/entities/Content.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,eAAgB,SAAQ,eAAM;CAI1C;AAJD,0CAIC"}
@@ -0,0 +1,14 @@
1
+ import { Entity } from '../../entity';
2
+ import { CurrencyType } from './CurrencyType';
3
+ export declare class BaseCurrency extends Entity {
4
+ id: string;
5
+ symbol: string;
6
+ name: string;
7
+ mintAddress?: string;
8
+ coinMarketCapId: number;
9
+ decimals: number;
10
+ symbolPrefix?: string;
11
+ order: number;
12
+ type?: CurrencyType;
13
+ iconUrl?: string;
14
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BaseCurrency = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class BaseCurrency extends entity_1.Entity {
6
+ }
7
+ exports.BaseCurrency = BaseCurrency;
8
+ //# sourceMappingURL=BaseCurrency.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseCurrency.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/BaseCurrency.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,YAAa,SAAQ,eAAM;CAoBvC;AApBD,oCAoBC"}
@@ -0,0 +1,5 @@
1
+ import { Blockchain } from '../../blockchain';
2
+ import { BaseCurrency } from './BaseCurrency';
3
+ export declare class Currency extends BaseCurrency {
4
+ blockchain: Blockchain;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Currency = void 0;
4
+ const BaseCurrency_1 = require("./BaseCurrency");
5
+ class Currency extends BaseCurrency_1.BaseCurrency {
6
+ }
7
+ exports.Currency = Currency;
8
+ //# sourceMappingURL=Currency.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Currency.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/Currency.ts"],"names":[],"mappings":";;;AACA,iDAA8C;AAE9C,MAAa,QAAS,SAAQ,2BAAY;CAEzC;AAFD,4BAEC"}
@@ -0,0 +1,8 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class FetchifyFindAddress extends Entity {
3
+ results: {
4
+ id: string;
5
+ count: number;
6
+ labels: string[];
7
+ }[];
8
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FetchifyFindAddress = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class FetchifyFindAddress extends entity_1.Entity {
6
+ }
7
+ exports.FetchifyFindAddress = FetchifyFindAddress;
8
+ //# sourceMappingURL=FetchifyFindAddress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FetchifyFindAddress.js","sourceRoot":"","sources":["../../../../../../src/domain/model/location/entities/FetchifyFindAddress.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,mBAAoB,SAAQ,eAAM;CAE9C;AAFD,kDAEC"}
@@ -0,0 +1,13 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class FetchifyRetrieveAddress extends Entity {
3
+ result: {
4
+ province_name: string;
5
+ street_name: string;
6
+ street_prefix: string;
7
+ street_suffix: string;
8
+ building_number: string;
9
+ line_2: string;
10
+ province: string;
11
+ locality: string;
12
+ };
13
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FetchifyRetrieveAddress = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class FetchifyRetrieveAddress extends entity_1.Entity {
6
+ }
7
+ exports.FetchifyRetrieveAddress = FetchifyRetrieveAddress;
8
+ //# sourceMappingURL=FetchifyRetrieveAddress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FetchifyRetrieveAddress.js","sourceRoot":"","sources":["../../../../../../src/domain/model/location/entities/FetchifyRetrieveAddress.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,uBAAwB,SAAQ,eAAM;CAWlD;AAXD,0DAWC"}
@@ -1,13 +1,13 @@
1
1
  import { Entity } from '../../entity';
2
- import { Content } from '../../content';
2
+ import { ContentResponse } from '../../content';
3
3
  import { TransactionStatus } from '../../transaction-meta';
4
4
  export declare class OnlyContentAndTransactionPaylink extends Entity {
5
- content: Content;
5
+ content: ContentResponse;
6
6
  transactionSignature?: string;
7
7
  status?: TransactionStatus;
8
8
  }
9
9
  export declare class OnlyContentAndSwapTransactionPaylink extends Entity {
10
- content: Content;
10
+ content: ContentResponse;
11
11
  transactionSignature?: string;
12
12
  swapTransactionSignature?: string;
13
13
  }
@@ -1,5 +1,5 @@
1
1
  import { Entity } from '../../entity';
2
- import { Content } from '../../content';
2
+ import { ContentResponse } from '../../content';
3
3
  export declare class OnlyContentPaylink extends Entity {
4
- content: Content;
4
+ content: ContentResponse;
5
5
  }
@@ -1,8 +1,8 @@
1
1
  import { ShallowEnrichedPaymentRequest } from '../../payment-request';
2
- import type { Content } from '../../content';
2
+ import type { ContentResponse } from '../../content';
3
3
  import type { LinkFeatures } from '../../link-features';
4
4
  export declare class ShallowEnrichedPaylink extends ShallowEnrichedPaymentRequest {
5
- content: Content;
5
+ content: ContentResponse;
6
6
  minQuantity?: number;
7
7
  maxQuantity?: number;
8
8
  features: LinkFeatures;
@@ -1,10 +1,10 @@
1
1
  import type { StreamFeatures } from '../../stream-features';
2
2
  import { ShallowEnrichedPaymentRequest } from '../../payment-request';
3
3
  import { IntervalType } from './IntervalType';
4
- import { Content } from '../../content';
4
+ import { ContentResponse } from '../../content';
5
5
  export declare class ShallowEnrichedPaystream extends ShallowEnrichedPaymentRequest {
6
6
  maxTime: number;
7
7
  interval: IntervalType;
8
- content: Content;
8
+ content: ContentResponse;
9
9
  features: StreamFeatures;
10
10
  }
@@ -0,0 +1,16 @@
1
+ export declare class CheckoutStatus {
2
+ transactionSignature: string;
3
+ endedAt: number;
4
+ paymentData: {
5
+ document: {
6
+ id: string;
7
+ createdAt: string;
8
+ paymentPK: string;
9
+ maxTime: number;
10
+ };
11
+ content: {
12
+ text?: string;
13
+ videoUrl?: string;
14
+ };
15
+ };
16
+ }
@@ -10,7 +10,7 @@ export declare class CheckoutStatus {
10
10
  };
11
11
  content: {
12
12
  text?: string;
13
- videoUrl?: string;
13
+ mediaUrl?: string;
14
14
  };
15
15
  };
16
16
  }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CheckoutStatus = void 0;
4
+ class CheckoutStatus {
5
+ }
6
+ exports.CheckoutStatus = CheckoutStatus;
7
+ //# sourceMappingURL=CheckoutStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckoutStatus.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/CheckoutStatus.ts"],"names":[],"mappings":";;;AAAA,MAAa,cAAc;CAiB1B;AAjBD,wCAiBC"}
@@ -1,5 +1,5 @@
1
- import { Content } from '../../content';
1
+ import { ContentResponse } from '../../content';
2
2
  import { BasePaystreamTx } from './BasePaystreamTx';
3
3
  export declare class PaystreamTxWithContent extends BasePaystreamTx {
4
- content: Content;
4
+ content: ContentResponse;
5
5
  }
@@ -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"}
@@ -1,4 +1,5 @@
1
- export * from './createStreamPrepare.dto';
2
1
  export * from './cancelStreamPrepare.dto';
3
- export * from './withdrawStreamPrepare.dto';
2
+ export * from './createStreamPrepare.dto';
4
3
  export * from './createStreamPrepareSwap.dto';
4
+ export * from './topUpStreamPrepare.dto';
5
+ export * from './withdrawStreamPrepare.dto';
@@ -14,8 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./createStreamPrepare.dto"), exports);
18
17
  __exportStar(require("./cancelStreamPrepare.dto"), exports);
19
- __exportStar(require("./withdrawStreamPrepare.dto"), exports);
18
+ __exportStar(require("./createStreamPrepare.dto"), exports);
20
19
  __exportStar(require("./createStreamPrepareSwap.dto"), exports);
20
+ __exportStar(require("./topUpStreamPrepare.dto"), exports);
21
+ __exportStar(require("./withdrawStreamPrepare.dto"), exports);
21
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-stream/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,4DAA0C;AAC1C,8DAA4C;AAC5C,gEAA8C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-stream/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,4DAA0C;AAC1C,gEAA8C;AAC9C,2DAAyC;AACzC,8DAA4C"}
@@ -0,0 +1,4 @@
1
+ export declare class TopUpStreamPrepareDto {
2
+ paystreamTxId: string;
3
+ intervalCount: number;
4
+ }
@@ -0,0 +1,27 @@
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.TopUpStreamPrepareDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class TopUpStreamPrepareDto {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], TopUpStreamPrepareDto.prototype, "paystreamTxId", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsNumber)(),
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ __metadata("design:type", Number)
25
+ ], TopUpStreamPrepareDto.prototype, "intervalCount", void 0);
26
+ exports.TopUpStreamPrepareDto = TopUpStreamPrepareDto;
27
+ //# sourceMappingURL=topUpStreamPrepare.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topUpStreamPrepare.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-stream/dtos/topUpStreamPrepare.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,qBAAqB;CAQjC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACS;AAPxB,sDAQC"}
@@ -0,0 +1,5 @@
1
+ import { PrepareTransaction } from './PrepareTransaction';
2
+ export declare class PrepareSwapTransaction {
3
+ standardTransaction: PrepareTransaction;
4
+ swapTransaction: string;
5
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PrepareSwapTransaction = void 0;
4
+ class PrepareSwapTransaction {
5
+ }
6
+ exports.PrepareSwapTransaction = PrepareSwapTransaction;
7
+ //# sourceMappingURL=PrepareSwapTransaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrepareSwapTransaction.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.ts"],"names":[],"mappings":";;;AAEA,MAAa,sBAAsB;CAGlC;AAHD,wDAGC"}
@@ -0,0 +1,5 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class PrepareTransaction 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.PrepareTransaction = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class PrepareTransaction extends entity_1.Entity {
6
+ }
7
+ exports.PrepareTransaction = PrepareTransaction;
8
+ //# sourceMappingURL=PrepareTransaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrepareTransaction.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/PrepareTransaction.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,kBAAmB,SAAQ,eAAM;CAG7C;AAHD,gDAGC"}
@@ -0,0 +1,37 @@
1
+ import { IntervalType } from '../../paystream';
2
+ import { BlockchainSymbol } from '../../blockchain';
3
+ export declare class ReportItem {
4
+ id: string;
5
+ txSignature: string;
6
+ solScanLink: string;
7
+ paymentRequestId: string;
8
+ paymentRequestUrl: string;
9
+ paymentRequestName: string;
10
+ quantity: number;
11
+ time: string;
12
+ amount: number;
13
+ convertedAmount: number;
14
+ currency: string;
15
+ blockchain: BlockchainSymbol;
16
+ from: string;
17
+ paymentRequestUrlWithSlug?: string;
18
+ cancelAt?: number;
19
+ endAt?: number;
20
+ startAt?: number;
21
+ intervalUnit?: IntervalType;
22
+ email?: string;
23
+ discordUsername?: string;
24
+ twitterUsername?: string;
25
+ fullName?: string;
26
+ country?: string;
27
+ deliveryAddress?: string;
28
+ phoneNumber?: string;
29
+ state?: string;
30
+ street?: string;
31
+ streetNumber?: string;
32
+ city?: string;
33
+ areaCode?: string;
34
+ name?: string;
35
+ value?: string;
36
+ fee: number;
37
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReportItem = void 0;
4
+ class ReportItem {
5
+ }
6
+ exports.ReportItem = ReportItem;
7
+ //# sourceMappingURL=ReportItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportItem.js","sourceRoot":"","sources":["../../../../../../src/domain/model/report/entities/ReportItem.ts"],"names":[],"mappings":";;;AAGA,MAAa,UAAU;CAkEtB;AAlED,gCAkEC"}
@@ -1,4 +1,4 @@
1
1
  import { TransactionStatus } from '../../transaction-meta';
2
2
  export declare class SettleTransactionDto {
3
- transactionStatus: TransactionStatus;
3
+ transactionStatus: TransactionStatus.CANCELED | TransactionStatus.FAILED;
4
4
  }
@@ -16,6 +16,7 @@ class SettleTransactionDto {
16
16
  }
17
17
  __decorate([
18
18
  (0, class_validator_1.IsEnum)(transaction_meta_1.TransactionStatus),
19
+ (0, class_validator_1.IsIn)([transaction_meta_1.TransactionStatus.CANCELED, transaction_meta_1.TransactionStatus.FAILED]),
19
20
  (0, class_validator_1.IsNotEmpty)(),
20
21
  __metadata("design:type", String)
21
22
  ], SettleTransactionDto.prototype, "transactionStatus", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"settleTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/settle-transaction/dtos/settleTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,6DAA2D;AAE3D,MAAa,oBAAoB;CAIhC;AAHC;IAAC,IAAA,wBAAM,EAAC,oCAAiB,CAAC;IACzB,IAAA,4BAAU,GAAE;;+DACwB;AAHvC,oDAIC"}
1
+ {"version":3,"file":"settleTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/settle-transaction/dtos/settleTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2D;AAC3D,6DAA2D;AAE3D,MAAa,oBAAoB;CAKhC;AAJC;IAAC,IAAA,wBAAM,EAAC,oCAAiB,CAAC;IACzB,IAAA,sBAAI,EAAC,CAAC,oCAAiB,CAAC,QAAQ,EAAE,oCAAiB,CAAC,MAAM,CAAC,CAAC;IAC5D,IAAA,4BAAU,GAAE;;+DAC4D;AAJ3E,oDAKC"}
@@ -0,0 +1,4 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class TokenQuoting extends Entity {
3
+ rateToken: string;
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TokenQuoting = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class TokenQuoting extends entity_1.Entity {
6
+ }
7
+ exports.TokenQuoting = TokenQuoting;
8
+ //# sourceMappingURL=TokenQuoting.js.map