@heliofi/common 0.1.132 → 0.1.133

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 (42) hide show
  1. package/dist/src/domain/constants/fixedPriceTokens.js +1 -0
  2. package/dist/src/domain/constants/fixedPriceTokens.js.map +1 -1
  3. package/dist/src/domain/model/approve-transaction/dtos/approveTransaction.dto.js +0 -1
  4. package/dist/src/domain/model/approve-transaction/dtos/approveTransaction.dto.js.map +1 -1
  5. package/dist/src/domain/model/attachment/dtos/createAttachment.dto.d.ts +0 -1
  6. package/dist/src/domain/model/attachment/dtos/createAttachment.dto.js +0 -5
  7. package/dist/src/domain/model/attachment/dtos/createAttachment.dto.js.map +1 -1
  8. package/dist/src/domain/model/attachment/entities/AttachmentType.d.ts +2 -1
  9. package/dist/src/domain/model/attachment/entities/AttachmentType.js +1 -0
  10. package/dist/src/domain/model/attachment/entities/AttachmentType.js.map +1 -1
  11. package/dist/src/domain/model/content/dtos/content.dto.d.ts +1 -0
  12. package/dist/src/domain/model/content/dtos/content.dto.js +5 -0
  13. package/dist/src/domain/model/content/dtos/content.dto.js.map +1 -1
  14. package/dist/src/domain/model/content/entities/Content.d.ts +3 -2
  15. package/dist/src/domain/model/content/entities/Content.js.map +1 -1
  16. package/dist/src/domain/model/currency/dtos/createCurrency.dto.d.ts +1 -0
  17. package/dist/src/domain/model/currency/dtos/createCurrency.dto.js +5 -0
  18. package/dist/src/domain/model/currency/dtos/createCurrency.dto.js.map +1 -1
  19. package/dist/src/domain/model/currency/entities/BaseCurrency.d.ts +1 -0
  20. package/dist/src/domain/model/currency/entities/BaseCurrency.js.map +1 -1
  21. package/dist/src/domain/model/fixed-currency/entities/TokenRatePayload.d.ts +1 -0
  22. package/dist/src/domain/model/fixed-currency/entities/TokenRatePayload.js.map +1 -1
  23. package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.d.ts +4 -0
  24. package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.js +23 -0
  25. package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.js.map +1 -0
  26. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.d.ts +5 -0
  27. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.js +7 -0
  28. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.js.map +1 -0
  29. package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.d.ts +4 -0
  30. package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.js +23 -0
  31. package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.js.map +1 -0
  32. package/dist/src/domain/model/token-swap/entities/SwapRouteObject.d.ts +14 -0
  33. package/dist/src/domain/model/token-swap/entities/SwapRouteObject.js +9 -0
  34. package/dist/src/domain/model/token-swap/entities/SwapRouteObject.js.map +1 -0
  35. package/dist/tsconfig.tsbuildinfo +1 -1
  36. package/package.json +2 -2
  37. package/dist/src/domain/model/auth/dtos/ethSignOn.dto.d.ts +0 -14
  38. package/dist/src/domain/model/auth/dtos/ethSignOn.dto.js +0 -66
  39. package/dist/src/domain/model/auth/dtos/ethSignOn.dto.js.map +0 -1
  40. package/dist/src/domain/model/blockchainEngine/entities/BlockchainEngine.d.ts +0 -6
  41. package/dist/src/domain/model/blockchainEngine/entities/BlockchainEngine.js +0 -8
  42. package/dist/src/domain/model/blockchainEngine/entities/BlockchainEngine.js.map +0 -1
@@ -8,6 +8,7 @@ exports.FixedPriceTokens = [
8
8
  'RAY',
9
9
  'AUDIO',
10
10
  'SOL',
11
+ 'BONK',
11
12
  'DUST',
12
13
  'FORGE',
13
14
  'STYLE',
@@ -1 +1 @@
1
- {"version":3,"file":"fixedPriceTokens.js","sourceRoot":"","sources":["../../../../src/domain/constants/fixedPriceTokens.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,MAAM;IACN,MAAM;IACN,MAAM;IACN,KAAK;IACL,OAAO;IACP,KAAK;IACL,MAAM;IACN,OAAO;IACP,OAAO;IACP,MAAM;IACN,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACN,CAAC"}
1
+ {"version":3,"file":"fixedPriceTokens.js","sourceRoot":"","sources":["../../../../src/domain/constants/fixedPriceTokens.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,MAAM;IACN,MAAM;IACN,MAAM;IACN,KAAK;IACL,OAAO;IACP,KAAK;IACL,MAAM;IACN,MAAM;IACN,OAAO;IACP,OAAO;IACP,MAAM;IACN,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACN,CAAC"}
@@ -54,7 +54,6 @@ __decorate([
54
54
  ], ApproveTransactionDto.prototype, "currency", void 0);
55
55
  __decorate([
56
56
  (0, class_validator_1.IsString)(),
57
- (0, class_validator_1.IsNotEmpty)(),
58
57
  (0, class_validator_1.IsOptional)(),
59
58
  __metadata("design:type", String)
60
59
  ], ApproveTransactionDto.prototype, "time", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"approveTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/approve-transaction/dtos/approveTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAoD;AACpD,6DAA4D;AAC5D,2DAA0D;AAC1D,uDAAqD;AAErD,MAAa,qBAAqB;CAqDjC;AApDC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACgB;AAE7B;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;;wDACK;AAElB;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;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;;mDACC;AAEd;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;8DAAC;AAErC;IAAC,IAAA,kCAAgB,GAAE;IAClB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;6DAAC;AAEnC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;;2DACmB;AApDlC,sDAqDC"}
1
+ {"version":3,"file":"approveTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/approve-transaction/dtos/approveTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAoD;AACpD,6DAA4D;AAC5D,2DAA0D;AAC1D,uDAAqD;AAErD,MAAa,qBAAqB;CAoDjC;AAnDC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACgB;AAE7B;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;;wDACK;AAElB;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;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACC;AAEd;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;8DAAC;AAErC;IAAC,IAAA,kCAAgB,GAAE;IAClB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;6DAAC;AAEnC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;;2DACmB;AAnDlC,sDAoDC"}
@@ -2,6 +2,5 @@
2
2
  export declare class CreateAttachmentDto {
3
3
  name: string;
4
4
  file: Express.Multer.File;
5
- attachableType?: string | undefined;
6
5
  attachableId?: string;
7
6
  }
@@ -18,11 +18,6 @@ __decorate([
18
18
  (0, class_validator_1.IsNotEmpty)(),
19
19
  __metadata("design:type", String)
20
20
  ], CreateAttachmentDto.prototype, "name", void 0);
21
- __decorate([
22
- (0, class_validator_1.IsString)(),
23
- (0, class_validator_1.IsOptional)(),
24
- __metadata("design:type", String)
25
- ], CreateAttachmentDto.prototype, "attachableType", void 0);
26
21
  __decorate([
27
22
  (0, class_validator_1.IsString)(),
28
23
  (0, class_validator_1.IsOptional)(),
@@ -1 +1 @@
1
- {"version":3,"file":"createAttachment.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/attachment/dtos/createAttachment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,mBAAmB;CAc/B;AAbC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACA;AAIb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACuB;AAEpC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACS;AAbxB,kDAcC"}
1
+ {"version":3,"file":"createAttachment.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/attachment/dtos/createAttachment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,mBAAmB;CAU/B;AATC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACA;AAIb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACS;AATxB,kDAUC"}
@@ -1,3 +1,4 @@
1
1
  export declare enum AttachmentType {
2
- IMAGE = "IMAGE"
2
+ IMAGE = "IMAGE",
3
+ VIDEO = "VIDEO"
3
4
  }
@@ -4,5 +4,6 @@ exports.AttachmentType = void 0;
4
4
  var AttachmentType;
5
5
  (function (AttachmentType) {
6
6
  AttachmentType["IMAGE"] = "IMAGE";
7
+ AttachmentType["VIDEO"] = "VIDEO";
7
8
  })(AttachmentType = exports.AttachmentType || (exports.AttachmentType = {}));
8
9
  //# sourceMappingURL=AttachmentType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/attachment/entities/AttachmentType.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAEX;AAFD,WAAY,cAAc;IACxB,iCAAe,CAAA;AACjB,CAAC,EAFW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAEzB"}
1
+ {"version":3,"file":"AttachmentType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/attachment/entities/AttachmentType.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,iCAAe,CAAA;IACf,iCAAe,CAAA;AACjB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB"}
@@ -1,4 +1,5 @@
1
1
  export declare class ContentDto {
2
2
  text?: string;
3
3
  imageUrl?: string;
4
+ video?: string;
4
5
  }
@@ -23,5 +23,10 @@ __decorate([
23
23
  (0, class_validator_1.IsOptional)(),
24
24
  __metadata("design:type", String)
25
25
  ], ContentDto.prototype, "imageUrl", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsString)(),
28
+ (0, class_validator_1.IsOptional)(),
29
+ __metadata("design:type", String)
30
+ ], ContentDto.prototype, "video", void 0);
26
31
  exports.ContentDto = ContentDto;
27
32
  //# sourceMappingURL=content.dto.js.map
@@ -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;CAQtB;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wCACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACK;AAPpB,gCAQC"}
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,5 +1,6 @@
1
1
  import { Entity } from '../../entity';
2
2
  export declare class Content extends Entity {
3
- text: string;
4
- imageUrl: string;
3
+ text?: string;
4
+ imageUrl?: string;
5
+ videoUrl?: string;
5
6
  }
@@ -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;CAIlC;AAJD,0BAIC"}
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"}
@@ -9,4 +9,5 @@ export declare class CreateCurrencyDto {
9
9
  symbolPrefix?: string;
10
10
  order: number;
11
11
  type?: CurrencyType;
12
+ iconUrl?: string;
12
13
  }
@@ -55,5 +55,10 @@ __decorate([
55
55
  (0, class_validator_1.IsString)(),
56
56
  __metadata("design:type", String)
57
57
  ], CreateCurrencyDto.prototype, "type", void 0);
58
+ __decorate([
59
+ (0, class_validator_1.IsOptional)(),
60
+ (0, class_validator_1.IsString)(),
61
+ __metadata("design:type", String)
62
+ ], CreateCurrencyDto.prototype, "iconUrl", void 0);
58
63
  exports.CreateCurrencyDto = CreateCurrencyDto;
59
64
  //# sourceMappingURL=createCurrency.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createCurrency.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/dtos/createCurrency.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,0CAA2C;AAE3C,MAAa,iBAAiB;CAgC7B;AA/BC;IAAC,IAAA,0BAAQ,GAAE;;iDACI;AAEf;IAAC,IAAA,0BAAQ,GAAE;;+CACE;AAEb;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACS;AAEpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACQ;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;;mDACM;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACW;AAEtB;IAAC,IAAA,0BAAQ,GAAE;;gDACG;AAEd;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACS;AA/BtB,8CAgCC"}
1
+ {"version":3,"file":"createCurrency.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/dtos/createCurrency.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,0CAA2C;AAE3C,MAAa,iBAAiB;CAoC7B;AAnCC;IAAC,IAAA,0BAAQ,GAAE;;iDACI;AAEf;IAAC,IAAA,0BAAQ,GAAE;;+CACE;AAEb;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACS;AAEpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACQ;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;;mDACM;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACW;AAEtB;IAAC,IAAA,0BAAQ,GAAE;;gDACG;AAEd;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACS;AAEpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACM;AAnCnB,8CAoCC"}
@@ -10,4 +10,5 @@ export declare class BaseCurrency extends Entity {
10
10
  symbolPrefix?: string;
11
11
  order: number;
12
12
  type?: CurrencyType;
13
+ iconUrl?: string;
13
14
  }
@@ -1 +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;CAkBvC;AAlBD,oCAkBC"}
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"}
@@ -3,6 +3,7 @@ export declare class TokenRatePayload extends Entity {
3
3
  rate: number;
4
4
  from: string;
5
5
  to: string;
6
+ prid: string;
6
7
  iat: number;
7
8
  exp: number;
8
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TokenRatePayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fixed-currency/entities/TokenRatePayload.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,gBAAiB,SAAQ,eAAM;CAU3C;AAVD,4CAUC"}
1
+ {"version":3,"file":"TokenRatePayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fixed-currency/entities/TokenRatePayload.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,gBAAiB,SAAQ,eAAM;CAY3C;AAZD,4CAYC"}
@@ -0,0 +1,4 @@
1
+ import { PrepareTransactionDto } from '.';
2
+ export declare class PrepareSwapTransactionDto extends PrepareTransactionDto {
3
+ swapRouteToken: string;
4
+ }
@@ -0,0 +1,23 @@
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.PrepareSwapTransactionDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const _1 = require(".");
15
+ class PrepareSwapTransactionDto extends _1.PrepareTransactionDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], PrepareSwapTransactionDto.prototype, "swapRouteToken", void 0);
22
+ exports.PrepareSwapTransactionDto = PrepareSwapTransactionDto;
23
+ //# sourceMappingURL=prepareSwappedTransaction.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prepareSwappedTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,wBAA0C;AAE1C,MAAa,yBAA0B,SAAQ,wBAAqB;CAInE;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACU;AAHzB,8DAIC"}
@@ -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=PrepareSwappedTransaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrepareSwappedTransaction.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.ts"],"names":[],"mappings":";;;AAEA,MAAa,sBAAsB;CAGlC;AAHD,wDAGC"}
@@ -0,0 +1,4 @@
1
+ import { SubmitTransactionDto } from './submitTransaction.dto';
2
+ export declare class SubmitSwapTransactionDto extends SubmitTransactionDto {
3
+ signedSwapTransaction: string;
4
+ }
@@ -0,0 +1,23 @@
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.SubmitSwapTransactionDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const submitTransaction_dto_1 = require("./submitTransaction.dto");
15
+ class SubmitSwapTransactionDto extends submitTransaction_dto_1.SubmitTransactionDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], SubmitSwapTransactionDto.prototype, "signedSwapTransaction", void 0);
22
+ exports.SubmitSwapTransactionDto = SubmitSwapTransactionDto;
23
+ //# sourceMappingURL=submitSwappedTransaction.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"submitSwappedTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,mEAA+D;AAE/D,MAAa,wBAAyB,SAAQ,4CAAoB;CAIjE;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uEACiB;AAHhC,4DAIC"}
@@ -0,0 +1,14 @@
1
+ export interface Route {
2
+ amount: string;
3
+ inAmount: string;
4
+ otherAmountThreshold: string;
5
+ outAmount: string;
6
+ priceImpactPct: number;
7
+ slippageBps: number;
8
+ swapMode: SwapMode;
9
+ marketInfos: Array<Record<string, unknown>>;
10
+ }
11
+ export declare enum SwapMode {
12
+ EXACT_OUT = "ExactOut",
13
+ EXACT_IN = "ExactIn"
14
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SwapMode = void 0;
4
+ var SwapMode;
5
+ (function (SwapMode) {
6
+ SwapMode["EXACT_OUT"] = "ExactOut";
7
+ SwapMode["EXACT_IN"] = "ExactIn";
8
+ })(SwapMode = exports.SwapMode || (exports.SwapMode = {}));
9
+ //# sourceMappingURL=SwapRouteObject.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwapRouteObject.js","sourceRoot":"","sources":["../../../../../../src/domain/model/token-swap/entities/SwapRouteObject.ts"],"names":[],"mappings":";;;AAWA,IAAY,QAGX;AAHD,WAAY,QAAQ;IAClB,kCAAsB,CAAA;IACtB,gCAAoB,CAAA;AACtB,CAAC,EAHW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAGnB"}