@heliofi/common 0.1.387 → 0.1.388

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.
@@ -0,0 +1,17 @@
1
+ import { CreatePaymentRequestWithApiDto } from '../../payment-request';
2
+ import { LinkFeaturesDto } from '../../link-features';
3
+ import { SplitWalletDto } from '../../split-wallets';
4
+ import { DiscountCodeDto } from '../../discount-codes';
5
+ import { LimitSaleType } from '../../../constants';
6
+ import { HelioPlayPropertiesDto } from '../../helio-play';
7
+ import { AffiliateDetailsDto } from '../../affiliates';
8
+ export declare class CreatePaylinkWithApiDto extends CreatePaymentRequestWithApiDto {
9
+ features?: LinkFeaturesDto;
10
+ splitWallets?: SplitWalletDto[];
11
+ discountCodes?: DiscountCodeDto[];
12
+ limitSaleType?: LimitSaleType;
13
+ minQuantity?: number;
14
+ maxQuantity?: number;
15
+ helioPlayProperties?: HelioPlayPropertiesDto;
16
+ affiliateDetails?: AffiliateDetailsDto;
17
+ }
@@ -0,0 +1,68 @@
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.CreatePaylinkWithApiDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const payment_request_1 = require("../../payment-request");
16
+ const link_features_1 = require("../../link-features");
17
+ const split_wallets_1 = require("../../split-wallets");
18
+ const discount_codes_1 = require("../../discount-codes");
19
+ const constants_1 = require("../../../constants");
20
+ const helio_play_1 = require("../../helio-play");
21
+ const affiliates_1 = require("../../affiliates");
22
+ class CreatePaylinkWithApiDto extends payment_request_1.CreatePaymentRequestWithApiDto {
23
+ }
24
+ __decorate([
25
+ (0, class_validator_1.IsOptional)(),
26
+ (0, class_transformer_1.Type)(() => link_features_1.LinkFeaturesDto),
27
+ (0, class_validator_1.ValidateNested)(),
28
+ __metadata("design:type", link_features_1.LinkFeaturesDto)
29
+ ], CreatePaylinkWithApiDto.prototype, "features", void 0);
30
+ __decorate([
31
+ (0, class_transformer_1.Type)(() => split_wallets_1.SplitWalletDto),
32
+ (0, class_validator_1.IsOptional)(),
33
+ __metadata("design:type", Array)
34
+ ], CreatePaylinkWithApiDto.prototype, "splitWallets", void 0);
35
+ __decorate([
36
+ (0, class_transformer_1.Type)(() => discount_codes_1.DiscountCodeDto),
37
+ (0, class_validator_1.IsOptional)(),
38
+ __metadata("design:type", Array)
39
+ ], CreatePaylinkWithApiDto.prototype, "discountCodes", void 0);
40
+ __decorate([
41
+ (0, class_validator_1.IsEnum)(constants_1.LimitSaleType),
42
+ (0, class_validator_1.IsOptional)(),
43
+ __metadata("design:type", String)
44
+ ], CreatePaylinkWithApiDto.prototype, "limitSaleType", void 0);
45
+ __decorate([
46
+ (0, class_validator_1.IsOptional)(),
47
+ (0, class_validator_1.IsNumber)(),
48
+ __metadata("design:type", Number)
49
+ ], CreatePaylinkWithApiDto.prototype, "minQuantity", void 0);
50
+ __decorate([
51
+ (0, class_validator_1.IsNumber)(),
52
+ (0, class_validator_1.IsOptional)(),
53
+ __metadata("design:type", Number)
54
+ ], CreatePaylinkWithApiDto.prototype, "maxQuantity", void 0);
55
+ __decorate([
56
+ (0, class_validator_1.IsOptional)(),
57
+ (0, class_transformer_1.Type)(() => helio_play_1.HelioPlayPropertiesDto),
58
+ (0, class_validator_1.ValidateNested)(),
59
+ __metadata("design:type", helio_play_1.HelioPlayPropertiesDto)
60
+ ], CreatePaylinkWithApiDto.prototype, "helioPlayProperties", void 0);
61
+ __decorate([
62
+ (0, class_validator_1.IsOptional)(),
63
+ (0, class_transformer_1.Type)(() => affiliates_1.AffiliateDetailsDto),
64
+ (0, class_validator_1.ValidateNested)(),
65
+ __metadata("design:type", affiliates_1.AffiliateDetailsDto)
66
+ ], CreatePaylinkWithApiDto.prototype, "affiliateDetails", void 0);
67
+ exports.CreatePaylinkWithApiDto = CreatePaylinkWithApiDto;
68
+ //# sourceMappingURL=createPaylinkWithApi.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createPaylinkWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylinkWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+E;AAC/E,yDAAyC;AACzC,2DAAuE;AACvE,uDAAsD;AACtD,uDAAqD;AACrD,yDAAuD;AACvD,kDAAmD;AACnD,iDAA0D;AAC1D,iDAAuD;AAEvD,MAAa,uBAAwB,SAAQ,gDAA8B;CAmC1E;AAlCC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAe,CAAC;IAC3B,IAAA,gCAAc,GAAE;8BACN,+BAAe;yDAAC;AAE3B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;6DACmB;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;;8DACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,yBAAa,CAAC;IACrB,IAAA,4BAAU,GAAE;;8DACiB;AAE9B;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACK,mCAAsB;oEAAC;AAE7C;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;IAC/B,IAAA,gCAAc,GAAE;8BACE,gCAAmB;iEAAC;AAlCzC,0DAmCC"}
@@ -0,0 +1,38 @@
1
+ import { CreatePaymentRequestDto } from './createPaymentRequest.dto';
2
+ import { BlockchainSymbol } from '../../blockchain';
3
+ import { ContentDto } from '../../content';
4
+ import { ProductDto } from '../../product';
5
+ import { DiscordAuthDetailsDto } from '../../discord-auth-details';
6
+ import { NftDropDto } from '../../nft-drop';
7
+ import { AccessCodeAuthPropertiesDto } from '../../access-code-auth-properties';
8
+ import { FixedCurrencyDto } from '../../fixed-currency';
9
+ import { RecipientDto } from '../../recipient';
10
+ import { TradingViewIndicatorDto } from '../../trading-view-details';
11
+ import { AffiliateDetailsDto } from '../../affiliates';
12
+ export declare class CreatePaymentRequestWithApiDto implements Omit<CreatePaymentRequestDto, 'company' | 'image'> {
13
+ name: string;
14
+ description?: string;
15
+ normalizedPrice?: string;
16
+ notifySenderByEmail?: boolean;
17
+ notifyReceiverByEmail?: boolean;
18
+ addDiscordRole?: boolean;
19
+ discordRoleIds?: string[];
20
+ currency?: string;
21
+ blockchain?: BlockchainSymbol;
22
+ disabled?: boolean;
23
+ dynamic?: boolean;
24
+ wallet?: string;
25
+ content?: ContentDto;
26
+ maxTransactions?: number;
27
+ product?: ProductDto | null;
28
+ nftCollectionAddress?: string;
29
+ discordAuthDetails?: DiscordAuthDetailsDto[];
30
+ nftDrop?: NftDropDto;
31
+ accessCodeAuthProperties?: AccessCodeAuthPropertiesDto;
32
+ fixedCurrency?: FixedCurrencyDto;
33
+ recipients?: RecipientDto[];
34
+ tradingViewIndicators?: TradingViewIndicatorDto[];
35
+ affiliateDetails?: AffiliateDetailsDto;
36
+ price?: string;
37
+ pricingCurrency?: string;
38
+ }
@@ -0,0 +1,181 @@
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.CreatePaymentRequestWithApiDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const decorators_1 = require("../../../decorators");
16
+ const blockchain_1 = require("../../blockchain");
17
+ const content_1 = require("../../content");
18
+ const product_1 = require("../../product");
19
+ const discord_auth_details_1 = require("../../discord-auth-details");
20
+ const nft_drop_1 = require("../../nft-drop");
21
+ const access_code_auth_properties_1 = require("../../access-code-auth-properties");
22
+ const fixed_currency_1 = require("../../fixed-currency");
23
+ const recipient_1 = require("../../recipient");
24
+ const trading_view_details_1 = require("../../trading-view-details");
25
+ const affiliates_1 = require("../../affiliates");
26
+ class CreatePaymentRequestWithApiDto {
27
+ constructor() {
28
+ this.notifySenderByEmail = false;
29
+ this.notifyReceiverByEmail = false;
30
+ this.addDiscordRole = false;
31
+ }
32
+ }
33
+ __decorate([
34
+ (0, class_validator_1.IsString)(),
35
+ (0, class_validator_1.IsNotEmpty)(),
36
+ __metadata("design:type", String)
37
+ ], CreatePaymentRequestWithApiDto.prototype, "name", void 0);
38
+ __decorate([
39
+ (0, class_validator_1.IsString)(),
40
+ (0, class_validator_1.IsOptional)(),
41
+ __metadata("design:type", String)
42
+ ], CreatePaymentRequestWithApiDto.prototype, "description", void 0);
43
+ __decorate([
44
+ (0, class_validator_1.ValidateIf)((object) => {
45
+ return !object.dynamic && !object.features?.canChangePrice;
46
+ }),
47
+ (0, decorators_1.BigintMin)(1n, { message: 'Price must be greater than 0' }),
48
+ (0, class_validator_1.IsOptional)(),
49
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
50
+ __metadata("design:type", String)
51
+ ], CreatePaymentRequestWithApiDto.prototype, "normalizedPrice", void 0);
52
+ __decorate([
53
+ (0, class_validator_1.IsBoolean)(),
54
+ (0, class_validator_1.IsOptional)(),
55
+ __metadata("design:type", Boolean)
56
+ ], CreatePaymentRequestWithApiDto.prototype, "notifySenderByEmail", void 0);
57
+ __decorate([
58
+ (0, class_validator_1.IsBoolean)(),
59
+ (0, class_validator_1.IsOptional)(),
60
+ __metadata("design:type", Boolean)
61
+ ], CreatePaymentRequestWithApiDto.prototype, "notifyReceiverByEmail", void 0);
62
+ __decorate([
63
+ (0, class_validator_1.IsBoolean)(),
64
+ (0, class_validator_1.IsOptional)(),
65
+ __metadata("design:type", Boolean)
66
+ ], CreatePaymentRequestWithApiDto.prototype, "addDiscordRole", void 0);
67
+ __decorate([
68
+ (0, class_validator_1.IsArray)(),
69
+ (0, class_validator_1.IsString)({ each: true }),
70
+ (0, class_validator_1.IsOptional)(),
71
+ __metadata("design:type", Array)
72
+ ], CreatePaymentRequestWithApiDto.prototype, "discordRoleIds", void 0);
73
+ __decorate([
74
+ (0, class_validator_1.IsString)(),
75
+ (0, class_validator_1.IsOptional)(),
76
+ __metadata("design:type", String)
77
+ ], CreatePaymentRequestWithApiDto.prototype, "currency", void 0);
78
+ __decorate([
79
+ (0, class_validator_1.IsString)(),
80
+ (0, class_validator_1.IsOptional)(),
81
+ (0, class_validator_1.IsEnum)(blockchain_1.BlockchainSymbol),
82
+ __metadata("design:type", String)
83
+ ], CreatePaymentRequestWithApiDto.prototype, "blockchain", void 0);
84
+ __decorate([
85
+ (0, class_validator_1.IsBoolean)(),
86
+ (0, class_validator_1.IsOptional)(),
87
+ __metadata("design:type", Boolean)
88
+ ], CreatePaymentRequestWithApiDto.prototype, "disabled", void 0);
89
+ __decorate([
90
+ (0, class_validator_1.IsBoolean)(),
91
+ (0, class_validator_1.IsOptional)(),
92
+ __metadata("design:type", Boolean)
93
+ ], CreatePaymentRequestWithApiDto.prototype, "dynamic", void 0);
94
+ __decorate([
95
+ (0, class_validator_1.IsString)(),
96
+ (0, class_validator_1.IsOptional)(),
97
+ __metadata("design:type", String)
98
+ ], CreatePaymentRequestWithApiDto.prototype, "wallet", void 0);
99
+ __decorate([
100
+ (0, class_validator_1.IsOptional)(),
101
+ (0, class_transformer_1.Type)(() => content_1.ContentDto),
102
+ (0, class_validator_1.ValidateNested)(),
103
+ __metadata("design:type", content_1.ContentDto)
104
+ ], CreatePaymentRequestWithApiDto.prototype, "content", void 0);
105
+ __decorate([
106
+ (0, class_validator_1.IsNumber)(),
107
+ (0, class_validator_1.IsOptional)(),
108
+ __metadata("design:type", Number)
109
+ ], CreatePaymentRequestWithApiDto.prototype, "maxTransactions", void 0);
110
+ __decorate([
111
+ (0, class_validator_1.IsOptional)(),
112
+ (0, class_transformer_1.Type)(() => product_1.ProductDto),
113
+ (0, class_validator_1.ValidateNested)(),
114
+ __metadata("design:type", product_1.ProductDto)
115
+ ], CreatePaymentRequestWithApiDto.prototype, "product", void 0);
116
+ __decorate([
117
+ (0, class_validator_1.IsString)(),
118
+ (0, class_validator_1.IsOptional)(),
119
+ __metadata("design:type", String)
120
+ ], CreatePaymentRequestWithApiDto.prototype, "nftCollectionAddress", void 0);
121
+ __decorate([
122
+ (0, class_validator_1.IsArray)(),
123
+ (0, class_transformer_1.Type)(() => discord_auth_details_1.DiscordAuthDetailsDto),
124
+ (0, class_validator_1.IsOptional)(),
125
+ (0, class_validator_1.ValidateNested)(),
126
+ __metadata("design:type", Array)
127
+ ], CreatePaymentRequestWithApiDto.prototype, "discordAuthDetails", void 0);
128
+ __decorate([
129
+ (0, class_transformer_1.Type)(() => nft_drop_1.NftDropDto),
130
+ (0, class_validator_1.IsOptional)(),
131
+ (0, class_validator_1.ValidateNested)(),
132
+ __metadata("design:type", nft_drop_1.NftDropDto)
133
+ ], CreatePaymentRequestWithApiDto.prototype, "nftDrop", void 0);
134
+ __decorate([
135
+ (0, class_transformer_1.Type)(() => access_code_auth_properties_1.AccessCodeAuthPropertiesDto),
136
+ (0, class_validator_1.IsOptional)(),
137
+ (0, class_validator_1.ValidateNested)(),
138
+ __metadata("design:type", access_code_auth_properties_1.AccessCodeAuthPropertiesDto)
139
+ ], CreatePaymentRequestWithApiDto.prototype, "accessCodeAuthProperties", void 0);
140
+ __decorate([
141
+ (0, class_transformer_1.Type)(() => fixed_currency_1.FixedCurrencyDto),
142
+ (0, class_validator_1.IsOptional)(),
143
+ __metadata("design:type", fixed_currency_1.FixedCurrencyDto)
144
+ ], CreatePaymentRequestWithApiDto.prototype, "fixedCurrency", void 0);
145
+ __decorate([
146
+ (0, class_validator_1.IsArray)(),
147
+ (0, class_transformer_1.Type)(() => recipient_1.RecipientDto),
148
+ (0, class_validator_1.IsOptional)(),
149
+ (0, class_validator_1.ArrayMinSize)(1),
150
+ (0, class_validator_1.ValidateNested)({ each: true }),
151
+ __metadata("design:type", Array)
152
+ ], CreatePaymentRequestWithApiDto.prototype, "recipients", void 0);
153
+ __decorate([
154
+ (0, class_transformer_1.Type)(() => trading_view_details_1.TradingViewIndicatorDto),
155
+ (0, class_validator_1.IsOptional)(),
156
+ (0, class_validator_1.ValidateNested)(),
157
+ __metadata("design:type", Array)
158
+ ], CreatePaymentRequestWithApiDto.prototype, "tradingViewIndicators", void 0);
159
+ __decorate([
160
+ (0, class_transformer_1.Type)(() => affiliates_1.AffiliateDetailsDto),
161
+ (0, class_validator_1.IsOptional)(),
162
+ (0, class_validator_1.ValidateNested)(),
163
+ __metadata("design:type", affiliates_1.AffiliateDetailsDto)
164
+ ], CreatePaymentRequestWithApiDto.prototype, "affiliateDetails", void 0);
165
+ __decorate([
166
+ (0, class_validator_1.ValidateIf)((object) => {
167
+ return !object.dynamic && !object.features?.canChangePrice;
168
+ }),
169
+ (0, decorators_1.BigintMin)(1n, { message: 'Price must be greater than 0' }),
170
+ (0, class_validator_1.IsOptional)(),
171
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
172
+ __metadata("design:type", String)
173
+ ], CreatePaymentRequestWithApiDto.prototype, "price", void 0);
174
+ __decorate([
175
+ (0, class_validator_1.IsString)(),
176
+ (0, class_validator_1.IsOptional)(),
177
+ (0, class_validator_1.IsMongoId)(),
178
+ __metadata("design:type", String)
179
+ ], CreatePaymentRequestWithApiDto.prototype, "pricingCurrency", void 0);
180
+ exports.CreatePaymentRequestWithApiDto = CreatePaymentRequestWithApiDto;
181
+ //# sourceMappingURL=createPaymentRequestWithApi.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createPaymentRequestWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAYyB;AACzB,yDAAoD;AAEpD,oDAAgD;AAChD,iDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,qEAAmE;AACnE,6CAA4C;AAC5C,mFAAgF;AAChF,yDAAwD;AACxD,+CAA+C;AAC/C,qEAAqE;AACrE,iDAAuD;AAEvD,MAAa,8BAA8B;IAA3C;QAqBE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK,CAAC;QAIxC,mBAAc,GAAa,KAAK,CAAC;IAyGnC,CAAC;CAAA;AAnIC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;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c,GAAE;8BACE,gCAAmB;wEAAC;AAEvC;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,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;6DACzB;AAGf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;uEACa;AArI3B,wEAsIC"}
@@ -1,6 +1,7 @@
1
1
  export declare class PaymentRequestFeaturesDto {
2
2
  requireEmail?: boolean;
3
3
  requireDiscordUsername?: boolean;
4
+ requireDiscordLogin?: boolean;
4
5
  requireFullName?: boolean;
5
6
  requireTwitterUsername?: boolean;
6
7
  requireCountry?: boolean;
@@ -23,6 +23,11 @@ __decorate([
23
23
  (0, class_validator_1.IsOptional)(),
24
24
  __metadata("design:type", Boolean)
25
25
  ], PaymentRequestFeaturesDto.prototype, "requireDiscordUsername", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsBoolean)(),
28
+ (0, class_validator_1.IsOptional)(),
29
+ __metadata("design:type", Boolean)
30
+ ], PaymentRequestFeaturesDto.prototype, "requireDiscordLogin", void 0);
26
31
  __decorate([
27
32
  (0, class_validator_1.IsBoolean)(),
28
33
  (0, class_validator_1.IsOptional)(),
@@ -1 +1 @@
1
- {"version":3,"file":"paymentRequestFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,yBAAyB;CA4ErC;AA3EC;IAAC,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{"version":3,"file":"paymentRequestFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,yBAAyB;CAgFrC;AA/EC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACiB;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACa;AAE1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uEACkB;AAE/B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACW;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACS;AAEtB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACiB;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6EACwB;AAErC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AA/E3B,8DAgFC"}
@@ -2,6 +2,7 @@ import { Entity } from '../../entity';
2
2
  export declare class PaymentRequestFeatures extends Entity {
3
3
  requireEmail: boolean;
4
4
  requireDiscordUsername: boolean;
5
+ requireDiscordLogin: boolean;
5
6
  requireFullName: boolean;
6
7
  requireTwitterUsername: boolean;
7
8
  requireCountry: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentRequestFeatures.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/entities/PaymentRequestFeatures.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,sBAAuB,SAAQ,eAAM;CA0CjD;AA1CD,wDA0CC"}
1
+ {"version":3,"file":"PaymentRequestFeatures.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/entities/PaymentRequestFeatures.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,sBAAuB,SAAQ,eAAM;CA4CjD;AA5CD,wDA4CC"}