@heliofi/common 0.1.305 → 0.1.310

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 (23) hide show
  1. package/dist/src/domain/model/auth/dtos/SignOnSocialNetwork.dto.d.ts +5 -0
  2. package/dist/src/domain/model/auth/dtos/SignOnSocialNetwork.dto.js +28 -0
  3. package/dist/src/domain/model/auth/dtos/SignOnSocialNetwork.dto.js.map +1 -0
  4. package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.js +1 -0
  5. package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.js.map +1 -1
  6. package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.spec.d.ts +1 -0
  7. package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.spec.js +16 -0
  8. package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.spec.js.map +1 -0
  9. package/dist/src/domain/model/index.d.ts +0 -1
  10. package/dist/src/domain/model/index.js +0 -1
  11. package/dist/src/domain/model/index.js.map +1 -1
  12. package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.d.ts +0 -2
  13. package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.js +0 -7
  14. package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.js.map +1 -1
  15. package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.d.ts +0 -2
  16. package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.js +0 -7
  17. package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.js.map +1 -1
  18. package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.d.ts +0 -2
  19. package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.js.map +1 -1
  20. package/dist/src/domain/model/wallet/entities/Wallet.entity.d.ts +2 -0
  21. package/dist/src/domain/model/wallet/entities/Wallet.entity.js.map +1 -1
  22. package/dist/tsconfig.tsbuildinfo +1 -1
  23. package/package.json +2 -2
@@ -0,0 +1,5 @@
1
+ import { Platform } from '../../../constants';
2
+ export declare class SignOnSocialNetworkDto {
3
+ appPublicKey: string;
4
+ platform?: Platform;
5
+ }
@@ -0,0 +1,28 @@
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.SignOnSocialNetworkDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const constants_1 = require("../../../constants");
15
+ class SignOnSocialNetworkDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], SignOnSocialNetworkDto.prototype, "appPublicKey", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsOptional)(),
24
+ (0, class_validator_1.IsEnum)(constants_1.Platform),
25
+ __metadata("design:type", String)
26
+ ], SignOnSocialNetworkDto.prototype, "platform", void 0);
27
+ exports.SignOnSocialNetworkDto = SignOnSocialNetworkDto;
28
+ //# sourceMappingURL=SignOnSocialNetwork.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SignOnSocialNetwork.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/SignOnSocialNetwork.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,kDAA8C;AAE9C,MAAa,sBAAsB;CAQlC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;wDACG;AAPtB,wDAQC"}
@@ -6,5 +6,6 @@ const BlockchainSymbol_1 = require("./BlockchainSymbol");
6
6
  exports.blockchainEngineToBlockchainMap = new Map([
7
7
  [blockchainEngine_1.BlockchainEngineType.SOL, BlockchainSymbol_1.BlockchainSymbol.SOL],
8
8
  [blockchainEngine_1.BlockchainEngineType.EVM, BlockchainSymbol_1.BlockchainSymbol.POLYGON],
9
+ [blockchainEngine_1.BlockchainEngineType.BTC, BlockchainSymbol_1.BlockchainSymbol.BITCOIN],
9
10
  ]);
10
11
  //# sourceMappingURL=BlockchainEngineToBlockchain.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlockchainEngineToBlockchain.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.ts"],"names":[],"mappings":";;;AAAA,6DAA8D;AAC9D,yDAAsD;AAEzC,QAAA,+BAA+B,GAAG,IAAI,GAAG,CAGpD;IACA,CAAC,uCAAoB,CAAC,GAAG,EAAE,mCAAgB,CAAC,GAAG,CAAC;IAChD,CAAC,uCAAoB,CAAC,GAAG,EAAE,mCAAgB,CAAC,OAAO,CAAC;CACrD,CAAC,CAAC"}
1
+ {"version":3,"file":"BlockchainEngineToBlockchain.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.ts"],"names":[],"mappings":";;;AAAA,6DAA8D;AAC9D,yDAAsD;AAEzC,QAAA,+BAA+B,GAAG,IAAI,GAAG,CAGpD;IACA,CAAC,uCAAoB,CAAC,GAAG,EAAE,mCAAgB,CAAC,GAAG,CAAC;IAChD,CAAC,uCAAoB,CAAC,GAAG,EAAE,mCAAgB,CAAC,OAAO,CAAC;IACpD,CAAC,uCAAoB,CAAC,GAAG,EAAE,mCAAgB,CAAC,OAAO,CAAC;CACrD,CAAC,CAAC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const BlockchainSymbol_1 = require("./BlockchainSymbol");
4
+ const BlockchainEngineToBlockchain_1 = require("./BlockchainEngineToBlockchain");
5
+ const blockchainEngine_1 = require("../../blockchainEngine");
6
+ describe('BlockchainEngineToBlockchain', () => {
7
+ const cases = {
8
+ [blockchainEngine_1.BlockchainEngineType.EVM]: BlockchainSymbol_1.BlockchainSymbol.POLYGON,
9
+ [blockchainEngine_1.BlockchainEngineType.SOL]: BlockchainSymbol_1.BlockchainSymbol.SOL,
10
+ [blockchainEngine_1.BlockchainEngineType.BTC]: BlockchainSymbol_1.BlockchainSymbol.BITCOIN,
11
+ };
12
+ it.each(Object.entries(cases))('should have all blockchain engines', (engineType, symbol) => {
13
+ expect(BlockchainEngineToBlockchain_1.blockchainEngineToBlockchainMap.get(engineType)).toBe(symbol);
14
+ });
15
+ });
16
+ //# sourceMappingURL=BlockchainEngineToBlockchain.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlockchainEngineToBlockchain.spec.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.spec.ts"],"names":[],"mappings":";;AAAA,yDAAsD;AACtD,iFAAiF;AACjF,6DAA8D;AAE9D,QAAQ,CAAC,8BAA8B,EAAE,GAAG,EAAE;IAE5C,MAAM,KAAK,GAAmD;QAC5D,CAAC,uCAAoB,CAAC,GAAG,CAAC,EAAE,mCAAgB,CAAC,OAAO;QACpD,CAAC,uCAAoB,CAAC,GAAG,CAAC,EAAE,mCAAgB,CAAC,GAAG;QAChD,CAAC,uCAAoB,CAAC,GAAG,CAAC,EAAE,mCAAgB,CAAC,OAAO;KACrD,CAAC;IAEF,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAC5B,oCAAoC,EACpC,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE;QACrB,MAAM,CACJ,8DAA+B,CAAC,GAAG,CAAC,UAAkC,CAAC,CACxE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACjB,CAAC,CACF,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -5,7 +5,6 @@ export * from './wallet';
5
5
  export * from './report';
6
6
  export * from './customer-details';
7
7
  export * from './discord-auth-details';
8
- export * from './discordAuthProperties';
9
8
  export * from './transaction-meta';
10
9
  export * from './discordDetails';
11
10
  export * from './currency';
@@ -21,7 +21,6 @@ __exportStar(require("./wallet"), exports);
21
21
  __exportStar(require("./report"), exports);
22
22
  __exportStar(require("./customer-details"), exports);
23
23
  __exportStar(require("./discord-auth-details"), exports);
24
- __exportStar(require("./discordAuthProperties"), exports);
25
24
  __exportStar(require("./transaction-meta"), exports);
26
25
  __exportStar(require("./discordDetails"), exports);
27
26
  __exportStar(require("./currency"), exports);
@@ -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,yDAAuC;AACvC,0DAAwC;AACxC,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;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,uDAAqC;AACrC,0CAAwB;AACxB,+CAA6B;AAC7B,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,2CAAyB;AACzB,kDAAgC;AAChC,2DAAyC;AACzC,6CAA2B;AAC3B,mDAAiC;AACjC,+CAA6B;AAC7B,uDAAqC;AACrC,iDAA+B;AAC/B,8CAA4B;AAC5B,8CAA4B;AAC5B,qDAAmC;AACnC,qDAAmC"}
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,yDAAuC;AACvC,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;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,uDAAqC;AACrC,0CAAwB;AACxB,+CAA6B;AAC7B,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,2CAAyB;AACzB,kDAAgC;AAChC,2DAAyC;AACzC,6CAA2B;AAC3B,mDAAiC;AACjC,+CAA6B;AAC7B,uDAAqC;AACrC,iDAA+B;AAC/B,8CAA4B;AAC5B,8CAA4B;AAC5B,qDAAmC;AACnC,qDAAmC"}
@@ -1,7 +1,6 @@
1
1
  import { ContentDto } from '../../content';
2
2
  import { ProductDto } from '../../product';
3
3
  import { FixedCurrencyDto } from '../../fixed-currency';
4
- import { DiscordAuthPropertiesDto } from '../../discordAuthProperties';
5
4
  import { AccessCodeAuthPropertiesDto } from '../../access-code-auth-properties';
6
5
  import { BlockchainSymbol } from '../../blockchain';
7
6
  import { NftDropDto } from '../../nft-drop';
@@ -25,7 +24,6 @@ export declare class CreatePaymentRequestDto {
25
24
  maxTransactions?: number;
26
25
  product?: ProductDto | null;
27
26
  nftCollectionAddress?: string;
28
- discordAuthProperties?: DiscordAuthPropertiesDto;
29
27
  discordAuthDetails?: DiscordAuthDetailsDto[];
30
28
  nftDrop?: NftDropDto;
31
29
  accessCodeAuthProperties?: AccessCodeAuthPropertiesDto;
@@ -15,7 +15,6 @@ const class_transformer_1 = require("class-transformer");
15
15
  const content_1 = require("../../content");
16
16
  const product_1 = require("../../product");
17
17
  const fixed_currency_1 = require("../../fixed-currency");
18
- const discordAuthProperties_1 = require("../../discordAuthProperties");
19
18
  const access_code_auth_properties_1 = require("../../access-code-auth-properties");
20
19
  const blockchain_1 = require("../../blockchain");
21
20
  const nft_drop_1 = require("../../nft-drop");
@@ -121,12 +120,6 @@ __decorate([
121
120
  (0, class_validator_1.IsOptional)(),
122
121
  __metadata("design:type", String)
123
122
  ], CreatePaymentRequestDto.prototype, "nftCollectionAddress", void 0);
124
- __decorate([
125
- (0, class_transformer_1.Type)(() => discordAuthProperties_1.DiscordAuthPropertiesDto),
126
- (0, class_validator_1.IsOptional)(),
127
- (0, class_validator_1.ValidateNested)(),
128
- __metadata("design:type", discordAuthProperties_1.DiscordAuthPropertiesDto)
129
- ], CreatePaymentRequestDto.prototype, "discordAuthProperties", void 0);
130
123
  __decorate([
131
124
  (0, class_validator_1.IsArray)(),
132
125
  (0, class_transformer_1.Type)(() => discord_auth_details_1.DiscordAuthDetailsDto),
@@ -1 +1 @@
1
- {"version":3,"file":"createPaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAWyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,yDAAwD;AACxD,uEAAuE;AACvE,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAC5C,oDAAgD;AAChD,+CAA+C;AAC/C,qEAAmE;AAEnE,MAAa,uBAAuB;IAApC;QA2BE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK,CAAC;QAIxC,mBAAc,GAAa,KAAK,CAAC;IAiFnC,CAAC;CAAA;AAnHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACG;AAEhB;IAA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AAU,GAAE;8BACG,iCAAgB;8DAAC;AAEjC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAY,CAAC;IACxB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DACH;AA9G9B,0DA+GC"}
@@ -1,7 +1,6 @@
1
1
  import { ContentDto } from '../../content';
2
2
  import { ProductDto } from '../../product';
3
3
  import { FixedCurrencyDto } from '../../fixed-currency';
4
- import { DiscordAuthPropertiesDto } from '../../discordAuthProperties';
5
4
  import { AccessCodeAuthPropertiesDto } from '../../access-code-auth-properties';
6
5
  import { BlockchainSymbol } from '../../blockchain';
7
6
  import { NftDropDto } from '../../nft-drop';
@@ -23,7 +22,6 @@ export declare class UpdatePaymentRequestDto {
23
22
  maxTransactions?: number;
24
23
  product?: ProductDto | null;
25
24
  nftCollectionAddress?: string;
26
- discordAuthProperties?: DiscordAuthPropertiesDto;
27
25
  discordAuthDetails?: DiscordAuthDetailsDto[];
28
26
  accessCodeAuthProperties?: AccessCodeAuthPropertiesDto;
29
27
  nftDrop?: NftDropDto;
@@ -15,7 +15,6 @@ const class_transformer_1 = require("class-transformer");
15
15
  const content_1 = require("../../content");
16
16
  const product_1 = require("../../product");
17
17
  const fixed_currency_1 = require("../../fixed-currency");
18
- const discordAuthProperties_1 = require("../../discordAuthProperties");
19
18
  const access_code_auth_properties_1 = require("../../access-code-auth-properties");
20
19
  const blockchain_1 = require("../../blockchain");
21
20
  const nft_drop_1 = require("../../nft-drop");
@@ -106,12 +105,6 @@ __decorate([
106
105
  (0, class_validator_1.IsOptional)(),
107
106
  __metadata("design:type", String)
108
107
  ], UpdatePaymentRequestDto.prototype, "nftCollectionAddress", void 0);
109
- __decorate([
110
- (0, class_transformer_1.Type)(() => discordAuthProperties_1.DiscordAuthPropertiesDto),
111
- (0, class_validator_1.IsOptional)(),
112
- (0, class_validator_1.ValidateNested)(),
113
- __metadata("design:type", discordAuthProperties_1.DiscordAuthPropertiesDto)
114
- ], UpdatePaymentRequestDto.prototype, "discordAuthProperties", void 0);
115
108
  __decorate([
116
109
  (0, class_validator_1.IsArray)(),
117
110
  (0, class_transformer_1.Type)(() => discord_auth_details_1.DiscordAuthDetailsDto),
@@ -1 +1 @@
1
- {"version":3,"file":"updatePaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/updatePaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDASyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,yDAAwD;AACxD,uEAAuE;AACvE,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAC5C,oDAAgD;AAChD,+CAA+C;AAC/C,qEAAmE;AAEnE,MAAa,uBAAuB;CAwGnC;AAvGC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACE;AAEf;IAAC,IAAA,4BAAU,EAAC,CAAC,MAAM,EAAE,EAAE;QACrB,OAAO,CAAC,MAAM,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,cAAc,CAAC;IAC7D,CAAC,CAAC;IACD,IAAA,sBAAS,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;IAC1D,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACiB;AAE9B;IAAC,IAAA,2BAAS,GAAE;IAC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,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,qBAAU;wDAAC;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;8BACG,iCAAgB;8DAAC;AAEjC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAY,CAAC;IACxB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DACH;AAvG9B,0DAwGC"}
1
+ {"version":3,"file":"updatePaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/updatePaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDASyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,yDAAwD;AACxD,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAC5C,oDAAgD;AAChD,+CAA+C;AAC/C,qEAAmE;AAEnE,MAAa,uBAAuB;CAmGnC;AAlGC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACE;AAEf;IAAC,IAAA,4BAAU,EAAC,CAAC,MAAM,EAAE,EAAE;QACrB,OAAO,CAAC,MAAM,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,cAAc,CAAC;IAC7D,CAAC,CAAC;IACD,IAAA,sBAAS,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;IAC1D,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,E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U,yDAA2B;yEAAC;AAEvD;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,qBAAU;wDAAC;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;8BACG,iCAAgB;8DAAC;AAEjC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAY,CAAC;IACxB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DACH;AAlG9B,0DAmGC"}
@@ -1,6 +1,5 @@
1
1
  import { Entity } from '../../entity';
2
2
  import { FixedCurrency } from '../../fixed-currency';
3
- import { DiscordAuthProperties } from '../../discordAuthProperties';
4
3
  import { AccessCodeAuthProperties } from '../../access-code-auth-properties';
5
4
  import { NftDrop } from '../../nft-drop';
6
5
  import { DiscordAuthDetails } from '../../discord-auth-details';
@@ -20,7 +19,6 @@ export declare class BasePaymentRequest extends Entity {
20
19
  updatedAt?: string;
21
20
  dynamic?: boolean;
22
21
  nftCollectionAddress?: string;
23
- discordAuthProperties?: DiscordAuthProperties;
24
22
  discordAuthDetails?: DiscordAuthDetails[];
25
23
  accessCodeAuthProperties?: AccessCodeAuthProperties;
26
24
  nftDrop?: NftDrop;
@@ -1 +1 @@
1
- {"version":3,"file":"BasePaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/BasePaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAOtC,MAAa,kBAAmB,SAAQ,eAAM;CAyC7C;AAxCC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;2DAChB;AAF1B,gDAyCC"}
1
+ {"version":3,"file":"BasePaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/BasePaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAMtC,MAAa,kBAAmB,SAAQ,eAAM;CAuC7C;AAtCC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;2DAChB;AAF1B,gDAuCC"}
@@ -1,7 +1,9 @@
1
1
  import type { Blockchain } from '../../blockchain';
2
2
  import { BaseWallet } from './BaseWallet.entity';
3
+ import { WalletType } from '../../../constants';
3
4
  import { BlockchainEngine } from '../../blockchainEngine';
4
5
  export declare class Wallet extends BaseWallet {
6
+ type?: WalletType;
5
7
  blockchain?: Blockchain;
6
8
  blockchainEngine: BlockchainEngine;
7
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Wallet.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/entities/Wallet.entity.ts"],"names":[],"mappings":";;;AACA,2DAAiD;AAGjD,MAAa,MAAO,SAAQ,8BAAU;CAIrC;AAJD,wBAIC"}
1
+ {"version":3,"file":"Wallet.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/entities/Wallet.entity.ts"],"names":[],"mappings":";;;AACA,2DAAiD;AAIjD,MAAa,MAAO,SAAQ,8BAAU;CAMrC;AAND,wBAMC"}