@heliofi/common 0.2.23 → 0.2.25

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 (22) hide show
  1. package/dist/src/domain/model/auth/dtos/authTokenSwapPayload.dto.d.ts +3 -0
  2. package/dist/src/domain/model/auth/dtos/authTokenSwapPayload.dto.js +22 -0
  3. package/dist/src/domain/model/auth/dtos/authTokenSwapPayload.dto.js.map +1 -0
  4. package/dist/src/domain/model/auth/dtos/index.d.ts +1 -0
  5. package/dist/src/domain/model/auth/dtos/index.js +1 -0
  6. package/dist/src/domain/model/auth/dtos/index.js.map +1 -1
  7. package/dist/src/domain/model/auth/entities/external/ExternalSignInResponse.d.ts +2 -2
  8. package/dist/src/domain/model/link-features/entities/LinkFeatures.entity.d.ts +0 -1
  9. package/dist/src/domain/model/link-features/entities/LinkFeatures.entity.js.map +1 -1
  10. package/dist/src/domain/model/paylink/entities/BasePaylink.d.ts +1 -0
  11. package/dist/src/domain/model/paylink/entities/BasePaylink.js.map +1 -1
  12. package/dist/src/domain/model/user/dtos/createUser.dto.d.ts +0 -1
  13. package/dist/src/domain/model/user/dtos/createUser.dto.js +0 -5
  14. package/dist/src/domain/model/user/dtos/createUser.dto.js.map +1 -1
  15. package/dist/src/domain/model/user/entities/UserWithPayoutWallets.d.ts +5 -0
  16. package/dist/src/domain/model/user/entities/UserWithPayoutWallets.js +8 -0
  17. package/dist/src/domain/model/user/entities/UserWithPayoutWallets.js.map +1 -0
  18. package/dist/src/domain/model/user/entities/index.d.ts +1 -0
  19. package/dist/src/domain/model/user/entities/index.js +1 -0
  20. package/dist/src/domain/model/user/entities/index.js.map +1 -1
  21. package/dist/tsconfig.tsbuildinfo +1 -1
  22. package/package.json +2 -2
@@ -0,0 +1,3 @@
1
+ export declare class AuthTokenSwapPayload {
2
+ token: string;
3
+ }
@@ -0,0 +1,22 @@
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.AuthTokenSwapPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class AuthTokenSwapPayload {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], AuthTokenSwapPayload.prototype, "token", void 0);
21
+ exports.AuthTokenSwapPayload = AuthTokenSwapPayload;
22
+ //# sourceMappingURL=authTokenSwapPayload.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authTokenSwapPayload.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/authTokenSwapPayload.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,oBAAoB;CAIhC;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACC;AAHhB,oDAIC"}
@@ -10,3 +10,4 @@ export * from './bitcoinSignOn.dto';
10
10
  export * from './btcProperties.dto';
11
11
  export * from './external/externalAuthSignIn.dto';
12
12
  export * from './external/externalAuthSignUp.dto';
13
+ export * from './authTokenSwapPayload.dto';
@@ -26,4 +26,5 @@ __exportStar(require("./bitcoinSignOn.dto"), exports);
26
26
  __exportStar(require("./btcProperties.dto"), exports);
27
27
  __exportStar(require("./external/externalAuthSignIn.dto"), exports);
28
28
  __exportStar(require("./external/externalAuthSignUp.dto"), exports);
29
+ __exportStar(require("./authTokenSwapPayload.dto"), exports);
29
30
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,+CAA6B;AAC7B,0DAAwC;AACxC,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,mDAAiC;AACjC,oEAAkD;AAClD,sDAAoC;AACpC,sDAAoC;AACpC,oEAAkD;AAClD,oEAAkD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,+CAA6B;AAC7B,0DAAwC;AACxC,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,mDAAiC;AACjC,oEAAkD;AAClD,sDAAoC;AACpC,sDAAoC;AACpC,oEAAkD;AAClD,oEAAkD;AAClD,6DAA2C"}
@@ -1,8 +1,8 @@
1
1
  import { Entity } from '../../../entity';
2
2
  import { BaseCompany } from '../../../company/entities/BaseCompany.entity';
3
- import { BaseUser } from '../../../user/entities/BaseUser.entity';
3
+ import { UserWithPayoutWallets } from '../../../user/entities/UserWithPayoutWallets';
4
4
  export declare class ExternalSignInResponse extends Entity {
5
- user: Omit<BaseUser, 'userType'>;
5
+ user: Omit<UserWithPayoutWallets, 'userType'>;
6
6
  company: BaseCompany;
7
7
  redirectUrl: string;
8
8
  }
@@ -8,7 +8,6 @@ export declare class LinkFeatures extends PaymentRequestFeatures {
8
8
  requireAllowlist: boolean;
9
9
  requireAirdrop: boolean;
10
10
  requireRaffle: boolean;
11
- requireTelegramMembership: boolean;
12
11
  requireCaptchaValidation: boolean;
13
12
  isSubscription: boolean;
14
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"LinkFeatures.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/entities/LinkFeatures.entity.ts"],"names":[],"mappings":";;;AAAA,6EAAwE;AAExE,MAAa,YAAa,SAAQ,iDAAsB;CAsBvD;AAtBD,oCAsBC"}
1
+ {"version":3,"file":"LinkFeatures.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/entities/LinkFeatures.entity.ts"],"names":[],"mappings":";;;AAAA,6EAAwE;AAExE,MAAa,YAAa,SAAQ,iDAAsB;CAoBvD;AApBD,oCAoBC"}
@@ -13,6 +13,7 @@ export declare class BasePaylink extends BasePaymentRequest {
13
13
  helioPlayProperties?: HelioPlayProperties;
14
14
  affiliateDetails?: AffiliateDetails;
15
15
  raffleDetails?: RaffleDetails;
16
+ addTelegramGroup: boolean;
16
17
  telegramGroupIds?: string[];
17
18
  subscriptionDetails?: SubscriptionDetails;
18
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BasePaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/BasePaylink.ts"],"names":[],"mappings":";;;AAEA,2DAA2D;AAM3D,MAAa,WAAY,SAAQ,oCAAkB;CAkBlD;AAlBD,kCAkBC"}
1
+ {"version":3,"file":"BasePaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/BasePaylink.ts"],"names":[],"mappings":";;;AAEA,2DAA2D;AAM3D,MAAa,WAAY,SAAQ,oCAAkB;CAoBlD;AApBD,kCAoBC"}
@@ -3,5 +3,4 @@ export declare class CreateUserDto {
3
3
  name?: string;
4
4
  discordUsername?: string;
5
5
  twitterUsername?: string;
6
- isDisabled?: boolean;
7
6
  }
@@ -33,10 +33,5 @@ __decorate([
33
33
  (0, class_validator_1.IsOptional)(),
34
34
  __metadata("design:type", String)
35
35
  ], CreateUserDto.prototype, "twitterUsername", void 0);
36
- __decorate([
37
- (0, class_validator_1.IsBoolean)(),
38
- (0, class_validator_1.IsOptional)(),
39
- __metadata("design:type", Boolean)
40
- ], CreateUserDto.prototype, "isDisabled", void 0);
41
36
  exports.CreateUserDto = CreateUserDto;
42
37
  //# sourceMappingURL=createUser.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createUser.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/dtos/createUser.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAE3E,MAAa,aAAa;CAoBzB;AAnBC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;4CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iDACQ;AAnBvB,sCAoBC"}
1
+ {"version":3,"file":"createUser.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/dtos/createUser.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgE;AAEhE,MAAa,aAAa;CAgBzB;AAfC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;4CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACY;AAf3B,sCAgBC"}
@@ -0,0 +1,5 @@
1
+ import { BaseUser } from './BaseUser.entity';
2
+ import type { BasePayoutWallet } from '../../payout-wallet';
3
+ export declare class UserWithPayoutWallets extends BaseUser {
4
+ payoutWallets: BasePayoutWallet[];
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserWithPayoutWallets = void 0;
4
+ const BaseUser_entity_1 = require("./BaseUser.entity");
5
+ class UserWithPayoutWallets extends BaseUser_entity_1.BaseUser {
6
+ }
7
+ exports.UserWithPayoutWallets = UserWithPayoutWallets;
8
+ //# sourceMappingURL=UserWithPayoutWallets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserWithPayoutWallets.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/entities/UserWithPayoutWallets.ts"],"names":[],"mappings":";;;AAAA,uDAA6C;AAG7C,MAAa,qBAAsB,SAAQ,0BAAQ;CAElD;AAFD,sDAEC"}
@@ -3,3 +3,4 @@ export * from './BaseUser.entity';
3
3
  export * from './ShallowEnrichedUser';
4
4
  export * from './ShallowEnrichedUserWithCompany';
5
5
  export * from './UserWithPlatformDetails.entity';
6
+ export * from './UserWithPayoutWallets';
@@ -19,4 +19,5 @@ __exportStar(require("./BaseUser.entity"), exports);
19
19
  __exportStar(require("./ShallowEnrichedUser"), exports);
20
20
  __exportStar(require("./ShallowEnrichedUserWithCompany"), exports);
21
21
  __exportStar(require("./UserWithPlatformDetails.entity"), exports);
22
+ __exportStar(require("./UserWithPayoutWallets"), exports);
22
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,mEAAiD;AACjD,mEAAiD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,mEAAiD;AACjD,mEAAiD;AACjD,0DAAwC"}