@heliofi/common 0.1.422 → 0.1.424
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.
- package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.d.ts +4 -0
- package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.js +19 -0
- package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.js.map +1 -1
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.d.ts +1 -1
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js +0 -15
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js.map +1 -1
- package/dist/src/domain/model/metrics/entities/Metrics.d.ts +13 -3
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.d.ts +3 -3
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js +1 -1
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js.map +1 -1
- package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.d.ts +1 -1
- package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.js +1 -1
- package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.js.map +1 -1
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.d.ts +1 -4
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.js +6 -21
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.js.map +1 -1
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.d.ts +1 -4
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.js +6 -21
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.js.map +1 -1
- package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.d.ts +0 -3
- package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.js +0 -15
- package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.js.map +1 -1
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.d.ts +1 -3
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.js +2 -2
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.js.map +1 -1
- package/dist/src/domain/model/payment-request/entities/PaymentRequest.d.ts +1 -3
- package/dist/src/domain/model/payment-request/entities/PaymentRequest.js.map +1 -1
- package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.d.ts +1 -3
- package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.js.map +1 -1
- package/dist/src/domain/model/payment-request-features/dtos/basePaymentRequestFeatures.dto.d.ts +0 -1
- package/dist/src/domain/model/payment-request-features/dtos/basePaymentRequestFeatures.dto.js +0 -5
- package/dist/src/domain/model/payment-request-features/dtos/basePaymentRequestFeatures.dto.js.map +1 -1
- package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.d.ts +0 -1
- package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.js.map +1 -1
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.d.ts +1 -1
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.js +1 -1
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.js.map +1 -1
- package/dist/src/domain/model/prepare-stream/dtos/createStreamPrepare.dto.js.map +1 -1
- package/dist/src/domain/model/prepare-transaction/dtos/prepareBTCTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/prepare-transaction/dtos/prepareEvmTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/submit-invoice/dtos/submitInvoice.dto.d.ts +0 -2
- package/dist/src/domain/model/submit-invoice/dtos/submitInvoice.dto.js +0 -7
- package/dist/src/domain/model/submit-invoice/dtos/submitInvoice.dto.js.map +1 -1
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.d.ts +1 -3
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.js +0 -6
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/transaction-meta/entities/CreateTransactionMeta.d.ts +2 -0
- package/dist/src/domain/model/transaction-meta/entities/CreateTransactionMeta.js.map +1 -1
- package/dist/src/domain/model/transaction-meta/entities/SourceMeta.d.ts +3 -0
- package/dist/src/domain/model/transaction-meta/entities/SourceMeta.js +7 -0
- package/dist/src/domain/model/transaction-meta/entities/SourceMeta.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -2,6 +2,10 @@ import { Platform } from '../../../constants';
|
|
|
2
2
|
import { AuthScope } from '../entities';
|
|
3
3
|
export declare class TransactionSignOnDto {
|
|
4
4
|
transaction: string;
|
|
5
|
+
publicKey: string;
|
|
6
|
+
authMessage: string;
|
|
7
|
+
nonce: string;
|
|
8
|
+
nonceV2?: boolean;
|
|
5
9
|
platform?: Platform;
|
|
6
10
|
scopes?: AuthScope[];
|
|
7
11
|
}
|
|
@@ -20,6 +20,25 @@ __decorate([
|
|
|
20
20
|
(0, class_validator_1.IsNotEmpty)(),
|
|
21
21
|
__metadata("design:type", String)
|
|
22
22
|
], TransactionSignOnDto.prototype, "transaction", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], TransactionSignOnDto.prototype, "publicKey", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TransactionSignOnDto.prototype, "authMessage", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], TransactionSignOnDto.prototype, "nonce", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
__metadata("design:type", Boolean)
|
|
41
|
+
], TransactionSignOnDto.prototype, "nonceV2", void 0);
|
|
23
42
|
__decorate([
|
|
24
43
|
(0, class_validator_1.IsOptional)(),
|
|
25
44
|
(0, class_validator_1.IsEnum)(constants_1.Platform),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/transactionSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,kDAA8C;AAC9C,0CAAwC;AAExC,MAAa,oBAAoB;
|
|
1
|
+
{"version":3,"file":"transactionSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/transactionSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,kDAA8C;AAC9C,0CAAwC;AAExC,MAAa,oBAAoB;CA4BhC;AA3BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACC;AAEd;IAAC,IAAA,4BAAU,GAAE;;qDACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;sDACG;AAEpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,oBAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;oDACb;AA3BvB,oDA4BC"}
|
|
@@ -1,23 +1,8 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.InvoiceTx = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const transaction_meta_1 = require("../../transaction-meta");
|
|
15
4
|
const BaseInvoiceTx_1 = require("./BaseInvoiceTx");
|
|
16
5
|
class InvoiceTx extends BaseInvoiceTx_1.BaseInvoiceTx {
|
|
17
6
|
}
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_transformer_1.Type)(() => transaction_meta_1.TransactionMeta),
|
|
20
|
-
__metadata("design:type", transaction_meta_1.TransactionMeta)
|
|
21
|
-
], InvoiceTx.prototype, "meta", void 0);
|
|
22
7
|
exports.InvoiceTx = InvoiceTx;
|
|
23
8
|
//# sourceMappingURL=InvoiceTx.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvoiceTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice-tx/entities/InvoiceTx.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InvoiceTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice-tx/entities/InvoiceTx.ts"],"names":[],"mappings":";;;AACA,mDAAgD;AAKhD,MAAa,SAAU,SAAQ,6BAAa;CAc3C;AAdD,8BAcC"}
|
|
@@ -4,10 +4,20 @@ export interface Metrics {
|
|
|
4
4
|
txPastDay: number;
|
|
5
5
|
uniqueWallets: number;
|
|
6
6
|
valueTransferred?: number;
|
|
7
|
-
successRate?:
|
|
7
|
+
successRate?: Rate;
|
|
8
|
+
conversionRate?: Rate;
|
|
8
9
|
}
|
|
9
|
-
export declare type
|
|
10
|
-
export interface
|
|
10
|
+
export declare type Rate = Record<string, Intervals>;
|
|
11
|
+
export interface Intervals {
|
|
11
12
|
pastDay?: number;
|
|
12
13
|
pastWeek?: number;
|
|
14
|
+
pastDayDetails?: RateDetails;
|
|
15
|
+
pastWeekDetails?: RateDetails;
|
|
16
|
+
}
|
|
17
|
+
export interface RateDetails {
|
|
18
|
+
count: {
|
|
19
|
+
success: number;
|
|
20
|
+
total: number;
|
|
21
|
+
};
|
|
22
|
+
rate: number;
|
|
13
23
|
}
|
|
@@ -5,11 +5,11 @@ import { HelioPlayPropertiesDto } from '../../helio-play';
|
|
|
5
5
|
import { DiscountCodeDto } from '../../discount-codes';
|
|
6
6
|
import { LimitSaleType } from '../../../constants';
|
|
7
7
|
import { AffiliateDetailsDto } from '../../affiliates';
|
|
8
|
-
export declare type CreatePaylinkDtoDeserialized = Omit<CreatePaylinkDto, '
|
|
9
|
-
|
|
8
|
+
export declare type CreatePaylinkDtoDeserialized = Omit<CreatePaylinkDto, 'price'> & {
|
|
9
|
+
price: bigint;
|
|
10
10
|
};
|
|
11
11
|
export declare class CreatePaylinkDto extends CreatePaymentRequestDto {
|
|
12
|
-
features
|
|
12
|
+
features: CreateLinkFeaturesDto;
|
|
13
13
|
splitWallets?: SplitWalletDto[];
|
|
14
14
|
discountCodes?: DiscountCodeDto[];
|
|
15
15
|
limitSaleType?: LimitSaleType;
|
|
@@ -22,7 +22,7 @@ const affiliates_1 = require("../../affiliates");
|
|
|
22
22
|
class CreatePaylinkDto extends payment_request_1.CreatePaymentRequestDto {
|
|
23
23
|
}
|
|
24
24
|
__decorate([
|
|
25
|
-
(0, class_validator_1.
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
26
|
(0, class_transformer_1.Type)(() => link_features_1.CreateLinkFeaturesDto),
|
|
27
27
|
(0, class_validator_1.ValidateNested)(),
|
|
28
28
|
__metadata("design:type", link_features_1.CreateLinkFeaturesDto)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"createPaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,uDAA4D;AAC5D,uDAAqD;AACrD,2DAAgE;AAChE,iDAA0D;AAC1D,yDAAuD;AACvD,kDAAmD;AACnD,iDAAuD;AAMvD,MAAa,gBAAiB,SAAQ,yCAAuB;CAuC5D;AAtCC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAqB,CAAC;IACjC,IAAA,gCAAc,GAAE;8BACP,qCAAqB;kDAAC;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;sDACmB;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;;uDACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,yBAAa,CAAC;IACrB,IAAA,4BAAU,GAAE;;uDACiB;AAE9B;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACK,mCAAsB;6DAAC;AAE7C;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACM;AAEnB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;IAC/B,IAAA,gCAAc,GAAE;8BACE,gCAAmB;0DAAC;AAtCzC,4CAuCC"}
|
|
@@ -6,7 +6,7 @@ import { LimitSaleType } from '../../../constants';
|
|
|
6
6
|
import { HelioPlayPropertiesDto } from '../../helio-play';
|
|
7
7
|
import { AffiliateDetailsDto } from '../../affiliates';
|
|
8
8
|
export declare class CreatePaylinkWithApiDto extends CreatePaymentRequestWithApiDto {
|
|
9
|
-
features
|
|
9
|
+
features: CreateLinkFeaturesDto;
|
|
10
10
|
splitWallets?: SplitWalletDto[];
|
|
11
11
|
discountCodes?: DiscountCodeDto[];
|
|
12
12
|
limitSaleType?: LimitSaleType;
|
|
@@ -22,7 +22,7 @@ const affiliates_1 = require("../../affiliates");
|
|
|
22
22
|
class CreatePaylinkWithApiDto extends payment_request_1.CreatePaymentRequestWithApiDto {
|
|
23
23
|
}
|
|
24
24
|
__decorate([
|
|
25
|
-
(0, class_validator_1.
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
26
|
(0, class_transformer_1.Type)(() => link_features_1.CreateLinkFeaturesDto),
|
|
27
27
|
(0, class_validator_1.ValidateNested)(),
|
|
28
28
|
__metadata("design:type", link_features_1.CreateLinkFeaturesDto)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaylinkWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylinkWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"createPaylinkWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylinkWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,2DAAuE;AACvE,uDAA4D;AAC5D,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,qCAAqB,CAAC;IACjC,IAAA,gCAAc,GAAE;8BACP,qCAAqB;yDAAC;AAEhC;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"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ContentDto } from '../../content';
|
|
2
2
|
import { ProductDto } from '../../product';
|
|
3
|
-
import { FixedCurrencyDto } from '../../fixed-currency';
|
|
4
3
|
import { AccessCodeAuthPropertiesDto } from '../../access-code-auth-properties';
|
|
5
4
|
import { BlockchainSymbol } from '../../blockchain';
|
|
6
5
|
import { NftDropDto } from '../../nft-drop';
|
|
@@ -14,10 +13,10 @@ import { Template } from '../../../constants';
|
|
|
14
13
|
export declare class CreatePaymentRequestDto {
|
|
15
14
|
company: string;
|
|
16
15
|
name: string;
|
|
16
|
+
pricingCurrency: string;
|
|
17
17
|
description?: string;
|
|
18
18
|
template?: Template;
|
|
19
19
|
image?: string;
|
|
20
|
-
normalizedPrice?: string;
|
|
21
20
|
notifySenderByEmail?: boolean;
|
|
22
21
|
notifyReceiverByEmail?: boolean;
|
|
23
22
|
addDiscordRole?: boolean;
|
|
@@ -34,12 +33,10 @@ export declare class CreatePaymentRequestDto {
|
|
|
34
33
|
discordAuthDetails?: DiscordAuthDetailsDto[];
|
|
35
34
|
nftDrop?: NftDropDto;
|
|
36
35
|
accessCodeAuthProperties?: AccessCodeAuthPropertiesDto;
|
|
37
|
-
fixedCurrency?: FixedCurrencyDto;
|
|
38
36
|
recipients?: RecipientDto[];
|
|
39
37
|
tradingViewIndicators?: TradingViewIndicatorDto[];
|
|
40
38
|
affiliateDetails?: AffiliateDetailsDto;
|
|
41
39
|
price?: string;
|
|
42
|
-
pricingCurrency?: string;
|
|
43
40
|
eventDetails?: EventDetailsDto;
|
|
44
41
|
countdownDetails?: CountdownDetailsDto;
|
|
45
42
|
}
|
|
@@ -14,7 +14,6 @@ const class_validator_1 = require("class-validator");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const content_1 = require("../../content");
|
|
16
16
|
const product_1 = require("../../product");
|
|
17
|
-
const fixed_currency_1 = require("../../fixed-currency");
|
|
18
17
|
const access_code_auth_properties_1 = require("../../access-code-auth-properties");
|
|
19
18
|
const blockchain_1 = require("../../blockchain");
|
|
20
19
|
const nft_drop_1 = require("../../nft-drop");
|
|
@@ -43,6 +42,12 @@ __decorate([
|
|
|
43
42
|
(0, class_validator_1.IsNotEmpty)(),
|
|
44
43
|
__metadata("design:type", String)
|
|
45
44
|
], CreatePaymentRequestDto.prototype, "name", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
48
|
+
(0, class_validator_1.IsMongoId)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], CreatePaymentRequestDto.prototype, "pricingCurrency", void 0);
|
|
46
51
|
__decorate([
|
|
47
52
|
(0, class_validator_1.IsString)(),
|
|
48
53
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -58,15 +63,6 @@ __decorate([
|
|
|
58
63
|
(0, class_validator_1.IsOptional)(),
|
|
59
64
|
__metadata("design:type", String)
|
|
60
65
|
], CreatePaymentRequestDto.prototype, "image", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, class_validator_1.ValidateIf)((object) => {
|
|
63
|
-
return !object.dynamic && !object.features?.canChangePrice;
|
|
64
|
-
}),
|
|
65
|
-
(0, decorators_1.BigintMin)(1n, { message: 'Price must be greater than 0' }),
|
|
66
|
-
(0, class_validator_1.IsOptional)(),
|
|
67
|
-
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
68
|
-
__metadata("design:type", String)
|
|
69
|
-
], CreatePaymentRequestDto.prototype, "normalizedPrice", void 0);
|
|
70
66
|
__decorate([
|
|
71
67
|
(0, class_validator_1.IsBoolean)(),
|
|
72
68
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -155,11 +151,6 @@ __decorate([
|
|
|
155
151
|
(0, class_validator_1.ValidateNested)(),
|
|
156
152
|
__metadata("design:type", access_code_auth_properties_1.AccessCodeAuthPropertiesDto)
|
|
157
153
|
], CreatePaymentRequestDto.prototype, "accessCodeAuthProperties", void 0);
|
|
158
|
-
__decorate([
|
|
159
|
-
(0, class_transformer_1.Type)(() => fixed_currency_1.FixedCurrencyDto),
|
|
160
|
-
(0, class_validator_1.IsOptional)(),
|
|
161
|
-
__metadata("design:type", fixed_currency_1.FixedCurrencyDto)
|
|
162
|
-
], CreatePaymentRequestDto.prototype, "fixedCurrency", void 0);
|
|
163
154
|
__decorate([
|
|
164
155
|
(0, class_validator_1.IsArray)(),
|
|
165
156
|
(0, class_transformer_1.Type)(() => recipient_1.RecipientDto),
|
|
@@ -189,12 +180,6 @@ __decorate([
|
|
|
189
180
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
190
181
|
__metadata("design:type", String)
|
|
191
182
|
], CreatePaymentRequestDto.prototype, "price", void 0);
|
|
192
|
-
__decorate([
|
|
193
|
-
(0, class_validator_1.IsString)(),
|
|
194
|
-
(0, class_validator_1.IsOptional)(),
|
|
195
|
-
(0, class_validator_1.IsMongoId)(),
|
|
196
|
-
__metadata("design:type", String)
|
|
197
|
-
], CreatePaymentRequestDto.prototype, "pricingCurrency", void 0);
|
|
198
183
|
__decorate([
|
|
199
184
|
(0, class_transformer_1.Type)(() => event_details_1.EventDetailsDto),
|
|
200
185
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAYyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"createPaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAYyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAC5C,oDAAgD;AAChD,+CAA+C;AAC/C,qEAAmE;AACnE,qEAAqE;AACrE,iDAAuD;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A,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;IAC/B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACE,gCAAmB;iEAAC;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;;sDACzB;AAEf;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACF,+BAAe;6DAAC;AAE/B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAmB,CAAC;IAC/B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACE,uCAAmB;iEAAC;AA5IzC,0DA6IC"}
|
|
@@ -4,7 +4,6 @@ import { ProductDto } from '../../product';
|
|
|
4
4
|
import { DiscordAuthDetailsDto } from '../../discord-auth-details';
|
|
5
5
|
import { NftDropDto } from '../../nft-drop';
|
|
6
6
|
import { AccessCodeAuthPropertiesDto } from '../../access-code-auth-properties';
|
|
7
|
-
import { FixedCurrencyDto } from '../../fixed-currency';
|
|
8
7
|
import { RecipientDto } from '../../recipient';
|
|
9
8
|
import { TradingViewIndicatorDto } from '../../trading-view-details';
|
|
10
9
|
import { AffiliateDetailsDto } from '../../affiliates';
|
|
@@ -13,9 +12,9 @@ import { CountdownDetailsDto } from '../../countdown-details';
|
|
|
13
12
|
import { Template } from '../../../constants';
|
|
14
13
|
export declare class CreatePaymentRequestWithApiDto implements Omit<CreatePaymentRequestDto, 'company'> {
|
|
15
14
|
name: string;
|
|
15
|
+
pricingCurrency: string;
|
|
16
16
|
description?: string;
|
|
17
17
|
template?: Template;
|
|
18
|
-
normalizedPrice?: string;
|
|
19
18
|
notifySenderByEmail?: boolean;
|
|
20
19
|
notifyReceiverByEmail?: boolean;
|
|
21
20
|
addDiscordRole?: boolean;
|
|
@@ -29,12 +28,10 @@ export declare class CreatePaymentRequestWithApiDto implements Omit<CreatePaymen
|
|
|
29
28
|
discordAuthDetails?: DiscordAuthDetailsDto[];
|
|
30
29
|
nftDrop?: NftDropDto;
|
|
31
30
|
accessCodeAuthProperties?: AccessCodeAuthPropertiesDto;
|
|
32
|
-
fixedCurrency?: FixedCurrencyDto;
|
|
33
31
|
recipients?: RecipientDto[];
|
|
34
32
|
tradingViewIndicators?: TradingViewIndicatorDto[];
|
|
35
33
|
affiliateDetails?: AffiliateDetailsDto;
|
|
36
34
|
price?: string;
|
|
37
|
-
pricingCurrency?: string;
|
|
38
35
|
eventDetails?: EventDetailsDto;
|
|
39
36
|
countdownDetails?: CountdownDetailsDto;
|
|
40
37
|
}
|
|
@@ -18,7 +18,6 @@ const product_1 = require("../../product");
|
|
|
18
18
|
const discord_auth_details_1 = require("../../discord-auth-details");
|
|
19
19
|
const nft_drop_1 = require("../../nft-drop");
|
|
20
20
|
const access_code_auth_properties_1 = require("../../access-code-auth-properties");
|
|
21
|
-
const fixed_currency_1 = require("../../fixed-currency");
|
|
22
21
|
const recipient_1 = require("../../recipient");
|
|
23
22
|
const trading_view_details_1 = require("../../trading-view-details");
|
|
24
23
|
const affiliates_1 = require("../../affiliates");
|
|
@@ -37,6 +36,12 @@ __decorate([
|
|
|
37
36
|
(0, class_validator_1.IsNotEmpty)(),
|
|
38
37
|
__metadata("design:type", String)
|
|
39
38
|
], CreatePaymentRequestWithApiDto.prototype, "name", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
42
|
+
(0, class_validator_1.IsMongoId)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], CreatePaymentRequestWithApiDto.prototype, "pricingCurrency", void 0);
|
|
40
45
|
__decorate([
|
|
41
46
|
(0, class_validator_1.IsString)(),
|
|
42
47
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -47,15 +52,6 @@ __decorate([
|
|
|
47
52
|
(0, class_validator_1.IsOptional)(),
|
|
48
53
|
__metadata("design:type", String)
|
|
49
54
|
], CreatePaymentRequestWithApiDto.prototype, "template", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, class_validator_1.ValidateIf)((object) => {
|
|
52
|
-
return !object.dynamic && !object.features?.canChangePrice;
|
|
53
|
-
}),
|
|
54
|
-
(0, decorators_1.BigintMin)(1n, { message: 'Price must be greater than 0' }),
|
|
55
|
-
(0, class_validator_1.IsOptional)(),
|
|
56
|
-
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], CreatePaymentRequestWithApiDto.prototype, "normalizedPrice", void 0);
|
|
59
55
|
__decorate([
|
|
60
56
|
(0, class_validator_1.IsBoolean)(),
|
|
61
57
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -128,11 +124,6 @@ __decorate([
|
|
|
128
124
|
(0, class_validator_1.ValidateNested)(),
|
|
129
125
|
__metadata("design:type", access_code_auth_properties_1.AccessCodeAuthPropertiesDto)
|
|
130
126
|
], CreatePaymentRequestWithApiDto.prototype, "accessCodeAuthProperties", void 0);
|
|
131
|
-
__decorate([
|
|
132
|
-
(0, class_transformer_1.Type)(() => fixed_currency_1.FixedCurrencyDto),
|
|
133
|
-
(0, class_validator_1.IsOptional)(),
|
|
134
|
-
__metadata("design:type", fixed_currency_1.FixedCurrencyDto)
|
|
135
|
-
], CreatePaymentRequestWithApiDto.prototype, "fixedCurrency", void 0);
|
|
136
127
|
__decorate([
|
|
137
128
|
(0, class_validator_1.IsArray)(),
|
|
138
129
|
(0, class_transformer_1.Type)(() => recipient_1.RecipientDto),
|
|
@@ -162,12 +153,6 @@ __decorate([
|
|
|
162
153
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
163
154
|
__metadata("design:type", String)
|
|
164
155
|
], CreatePaymentRequestWithApiDto.prototype, "price", void 0);
|
|
165
|
-
__decorate([
|
|
166
|
-
(0, class_validator_1.IsString)(),
|
|
167
|
-
(0, class_validator_1.IsOptional)(),
|
|
168
|
-
(0, class_validator_1.IsMongoId)(),
|
|
169
|
-
__metadata("design:type", String)
|
|
170
|
-
], CreatePaymentRequestWithApiDto.prototype, "pricingCurrency", void 0);
|
|
171
156
|
__decorate([
|
|
172
157
|
(0, class_transformer_1.Type)(() => event_details_1.EventDetailsDto),
|
|
173
158
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +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,2CAA2C;AAC3C,2CAA2C;AAC3C,qEAAmE;AACnE,6CAA4C;AAC5C,mFAAgF;AAChF
|
|
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,2CAA2C;AAC3C,2CAA2C;AAC3C,qEAAmE;AACnE,6CAA4C;AAC5C,mFAAgF;AAChF,+CAA+C;AAC/C,qEAAqE;AACrE,iDAAuD;AACvD,uDAAsD;AACtD,+DAA8D;AAC9D,kDAA8C;AAE9C,MAAa,8BAA8B;IAA3C;QAsBE,wBAAmB,GA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M,CAAC,KAAK,CAAC,CAAC;;6DACzB;AAEf;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACF,+BAAe;oEAAC;AAE/B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAmB,CAAC;IAC/B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACE,uCAAmB;wEAAC;AAhHzC,wEAiHC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ContentDto } from '../../content';
|
|
2
2
|
import { ProductDto } from '../../product';
|
|
3
|
-
import { FixedCurrencyDto } from '../../fixed-currency';
|
|
4
3
|
import { AccessCodeAuthPropertiesDto } from '../../access-code-auth-properties';
|
|
5
4
|
import { BlockchainSymbol } from '../../blockchain';
|
|
6
5
|
import { NftDropDto } from '../../nft-drop';
|
|
@@ -13,7 +12,6 @@ export declare class UpdatePaymentRequestDto {
|
|
|
13
12
|
name?: string;
|
|
14
13
|
description?: string;
|
|
15
14
|
image?: string;
|
|
16
|
-
normalizedPrice?: string;
|
|
17
15
|
notifySenderByEmail?: boolean;
|
|
18
16
|
notifyReceiverByEmail?: boolean;
|
|
19
17
|
addDiscordRole?: boolean;
|
|
@@ -30,7 +28,6 @@ export declare class UpdatePaymentRequestDto {
|
|
|
30
28
|
discordAuthDetails?: DiscordAuthDetailsDto[];
|
|
31
29
|
accessCodeAuthProperties?: AccessCodeAuthPropertiesDto;
|
|
32
30
|
nftDrop?: NftDropDto;
|
|
33
|
-
fixedCurrency?: FixedCurrencyDto;
|
|
34
31
|
recipients?: RecipientDto[];
|
|
35
32
|
tradingViewIndicators?: TradingViewIndicatorDto[];
|
|
36
33
|
price?: string;
|
|
@@ -14,7 +14,6 @@ const class_validator_1 = require("class-validator");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const content_1 = require("../../content");
|
|
16
16
|
const product_1 = require("../../product");
|
|
17
|
-
const fixed_currency_1 = require("../../fixed-currency");
|
|
18
17
|
const access_code_auth_properties_1 = require("../../access-code-auth-properties");
|
|
19
18
|
const blockchain_1 = require("../../blockchain");
|
|
20
19
|
const nft_drop_1 = require("../../nft-drop");
|
|
@@ -41,15 +40,6 @@ __decorate([
|
|
|
41
40
|
(0, class_validator_1.IsOptional)(),
|
|
42
41
|
__metadata("design:type", String)
|
|
43
42
|
], UpdatePaymentRequestDto.prototype, "image", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_validator_1.ValidateIf)((object) => {
|
|
46
|
-
return !object.dynamic && !object.features?.canChangePrice;
|
|
47
|
-
}),
|
|
48
|
-
(0, decorators_1.BigintMin)(1n, { message: 'Price must be greater than 0' }),
|
|
49
|
-
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
50
|
-
(0, class_validator_1.IsOptional)(),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], UpdatePaymentRequestDto.prototype, "normalizedPrice", void 0);
|
|
53
43
|
__decorate([
|
|
54
44
|
(0, class_validator_1.IsBoolean)(),
|
|
55
45
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -139,11 +129,6 @@ __decorate([
|
|
|
139
129
|
(0, class_validator_1.ValidateNested)(),
|
|
140
130
|
__metadata("design:type", nft_drop_1.NftDropDto)
|
|
141
131
|
], UpdatePaymentRequestDto.prototype, "nftDrop", void 0);
|
|
142
|
-
__decorate([
|
|
143
|
-
(0, class_transformer_1.Type)(() => fixed_currency_1.FixedCurrencyDto),
|
|
144
|
-
(0, class_validator_1.IsOptional)(),
|
|
145
|
-
__metadata("design:type", fixed_currency_1.FixedCurrencyDto)
|
|
146
|
-
], UpdatePaymentRequestDto.prototype, "fixedCurrency", void 0);
|
|
147
132
|
__decorate([
|
|
148
133
|
(0, class_validator_1.IsArray)(),
|
|
149
134
|
(0, class_transformer_1.Type)(() => recipient_1.RecipientDto),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updatePaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/updatePaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAUyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"updatePaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/updatePaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAUyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAC5C,oDAAgD;AAChD,+CAA+C;AAC/C,qEAAmE;AACnE,qEAAqE;AACrE,uDAAsD;AACtD,+DAA8D;AAE9D,MAAa,uBAAuB;CAwHnC;AAvHC;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,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACiB;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACY;AAEzB;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;;+DACa;AAK1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;gEACa;AAKzB;IA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AI,EAAC,GAAG,EAAE,CAAC,8CAAuB,CAAC;IACnC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;;sEACiC;AAElD;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;;sDACzB;AAEf;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACF,+BAAe;6DAAC;AAE/B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAmB,CAAC;IAC/B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACE,uCAAmB;iEAAC;AAvHzC,0DAwHC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
|
-
import { FixedCurrency } from '../../fixed-currency';
|
|
3
2
|
import { AccessCodeAuthProperties } from '../../access-code-auth-properties';
|
|
4
3
|
import { NftDrop } from '../../nft-drop';
|
|
5
4
|
import { DiscordAuthDetails } from '../../discord-auth-details';
|
|
@@ -7,8 +6,8 @@ import { EventDetails } from '../../event-details';
|
|
|
7
6
|
import { CountdownDetails } from '../../countdown-details';
|
|
8
7
|
import { Template } from '../../../constants';
|
|
9
8
|
export declare class BasePaymentRequest extends Entity {
|
|
9
|
+
price: bigint;
|
|
10
10
|
normalizedPrice: bigint;
|
|
11
|
-
price?: bigint;
|
|
12
11
|
id: string;
|
|
13
12
|
name: string;
|
|
14
13
|
template: Template;
|
|
@@ -27,7 +26,6 @@ export declare class BasePaymentRequest extends Entity {
|
|
|
27
26
|
discordAuthDetails?: DiscordAuthDetails[];
|
|
28
27
|
accessCodeAuthProperties?: AccessCodeAuthProperties;
|
|
29
28
|
nftDrop?: NftDrop;
|
|
30
|
-
fixedCurrency?: FixedCurrency;
|
|
31
29
|
eventDetails?: EventDetails;
|
|
32
30
|
countdownDetails?: CountdownDetails;
|
|
33
31
|
}
|
|
@@ -17,10 +17,10 @@ class BasePaymentRequest extends entity_1.Entity {
|
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
19
19
|
__metadata("design:type", BigInt)
|
|
20
|
-
], BasePaymentRequest.prototype, "
|
|
20
|
+
], BasePaymentRequest.prototype, "price", void 0);
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
23
23
|
__metadata("design:type", BigInt)
|
|
24
|
-
], BasePaymentRequest.prototype, "
|
|
24
|
+
], BasePaymentRequest.prototype, "normalizedPrice", void 0);
|
|
25
25
|
exports.BasePaymentRequest = BasePaymentRequest;
|
|
26
26
|
//# sourceMappingURL=BasePaymentRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasePaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/BasePaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;
|
|
1
|
+
{"version":3,"file":"BasePaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/BasePaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAQtC,MAAa,kBAAmB,SAAQ,eAAM;CA8C7C;AA7CC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;iDAC1B;AAEd;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;2DAChB;AAL1B,gDA8CC"}
|
|
@@ -5,7 +5,6 @@ import { BasePaymentRequest } from './BasePaymentRequest';
|
|
|
5
5
|
import { Product } from '../../product';
|
|
6
6
|
import { BaseCompany } from '../../company';
|
|
7
7
|
import { SplitWallet } from '../../split-wallets';
|
|
8
|
-
import { FixedCurrency } from '../../fixed-currency';
|
|
9
8
|
import { DiscountCode } from '../../discount-codes';
|
|
10
9
|
import { Recipient } from '../../recipient';
|
|
11
10
|
export declare class PaymentRequest extends BasePaymentRequest {
|
|
@@ -14,9 +13,8 @@ export declare class PaymentRequest extends BasePaymentRequest {
|
|
|
14
13
|
currency: Currency;
|
|
15
14
|
wallet: Wallet;
|
|
16
15
|
product: Product;
|
|
16
|
+
pricingCurrency: Currency;
|
|
17
17
|
recipients?: Recipient[];
|
|
18
18
|
splitWallets?: SplitWallet[];
|
|
19
19
|
discountCodes?: DiscountCode[];
|
|
20
|
-
fixedCurrency?: FixedCurrency;
|
|
21
|
-
pricingCurrency?: Currency;
|
|
22
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/PaymentRequest.ts"],"names":[],"mappings":";;;AAGA,6DAA0D;
|
|
1
|
+
{"version":3,"file":"PaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/PaymentRequest.ts"],"names":[],"mappings":";;;AAGA,6DAA0D;AAO1D,MAAa,cAAe,SAAQ,uCAAkB;CAkBrD;AAlBD,wCAkBC"}
|
|
@@ -4,7 +4,6 @@ import type { BaseWallet } from '../../wallet';
|
|
|
4
4
|
import { Product } from '../../product';
|
|
5
5
|
import { BaseCompany } from '../../company';
|
|
6
6
|
import { SplitWallet } from '../../split-wallets';
|
|
7
|
-
import { FixedCurrency } from '../../fixed-currency';
|
|
8
7
|
import { Currency } from '../../currency';
|
|
9
8
|
import { DiscountCode } from '../../discount-codes';
|
|
10
9
|
import { Recipient } from '../../recipient';
|
|
@@ -16,13 +15,12 @@ export declare class ShallowEnrichedPaymentRequest extends BasePaymentRequest {
|
|
|
16
15
|
currency: Currency;
|
|
17
16
|
wallet: BaseWallet;
|
|
18
17
|
product: Product;
|
|
18
|
+
pricingCurrency: Currency;
|
|
19
19
|
recipients?: Recipient[];
|
|
20
20
|
splitWallets?: SplitWallet[];
|
|
21
21
|
discountCodes?: DiscountCode[];
|
|
22
|
-
fixedCurrency?: FixedCurrency;
|
|
23
22
|
tradingViewIndicators?: TradingViewIndicator[];
|
|
24
23
|
slug: string;
|
|
25
24
|
volume: number;
|
|
26
25
|
discordRoleIds: string[];
|
|
27
|
-
pricingCurrency?: Currency;
|
|
28
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShallowEnrichedPaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,6DAA0D;
|
|
1
|
+
{"version":3,"file":"ShallowEnrichedPaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,6DAA0D;AAW1D,MAAa,6BAA8B,SAAQ,uCAAkB;CA6BpE;AA5BC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;4DAC1B;AAFhB,sEA6BC"}
|
package/dist/src/domain/model/payment-request-features/dtos/basePaymentRequestFeatures.dto.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ export declare class BasePaymentRequestFeaturesDto {
|
|
|
12
12
|
requireNftGate?: boolean;
|
|
13
13
|
requireDiscordAuth?: boolean;
|
|
14
14
|
requireAccessCode?: boolean;
|
|
15
|
-
requireFixedCurrency?: boolean;
|
|
16
15
|
canSwapTokens?: boolean;
|
|
17
16
|
isHelioPlay?: boolean;
|
|
18
17
|
isTransparentWallet?: boolean;
|
package/dist/src/domain/model/payment-request-features/dtos/basePaymentRequestFeatures.dto.js
CHANGED
|
@@ -78,11 +78,6 @@ __decorate([
|
|
|
78
78
|
(0, class_validator_1.IsOptional)(),
|
|
79
79
|
__metadata("design:type", Boolean)
|
|
80
80
|
], BasePaymentRequestFeaturesDto.prototype, "requireAccessCode", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, class_validator_1.IsBoolean)(),
|
|
83
|
-
(0, class_validator_1.IsOptional)(),
|
|
84
|
-
__metadata("design:type", Boolean)
|
|
85
|
-
], BasePaymentRequestFeaturesDto.prototype, "requireFixedCurrency", void 0);
|
|
86
81
|
__decorate([
|
|
87
82
|
(0, class_validator_1.IsBoolean)(),
|
|
88
83
|
(0, class_validator_1.IsOptional)(),
|
package/dist/src/domain/model/payment-request-features/dtos/basePaymentRequestFeatures.dto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basePaymentRequestFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/dtos/basePaymentRequestFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,6BAA6B;
|
|
1
|
+
{"version":3,"file":"basePaymentRequestFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/dtos/basePaymentRequestFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,6BAA6B;CAgFzC;AA/EC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,I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aymentRequestFeatures extends Entity {
|
|
|
15
15
|
requireNftGate: boolean;
|
|
16
16
|
requireDiscordAuth: boolean;
|
|
17
17
|
requireAccessCode: boolean;
|
|
18
|
-
requireFixedCurrency: boolean;
|
|
19
18
|
canSwapTokens: boolean;
|
|
20
19
|
isTransparentWallet: boolean;
|
|
21
20
|
nftDropEnabled: boolean;
|
package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.js.map
CHANGED
|
@@ -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;
|
|
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;CA8CjD;AA9CD,wDA8CC"}
|