@heliofi/common 0.1.406 → 0.1.408
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/constants/index.d.ts +1 -0
- package/dist/src/domain/constants/index.js +1 -0
- package/dist/src/domain/constants/index.js.map +1 -1
- package/dist/src/domain/constants/template.d.ts +15 -0
- package/dist/src/domain/constants/template.js +20 -0
- package/dist/src/domain/constants/template.js.map +1 -0
- package/dist/src/domain/model/auth/dtos/bitcoinSignOn.dto.d.ts +5 -0
- package/dist/src/domain/model/auth/dtos/bitcoinSignOn.dto.js +22 -0
- package/dist/src/domain/model/auth/dtos/bitcoinSignOn.dto.js.map +1 -1
- package/dist/src/domain/model/auth/dtos/evmSignOn.dto.d.ts +2 -1
- package/dist/src/domain/model/auth/dtos/evmSignOn.dto.js +5 -2
- package/dist/src/domain/model/auth/dtos/evmSignOn.dto.js.map +1 -1
- package/dist/src/domain/model/auth/dtos/signOn.dto.d.ts +2 -1
- package/dist/src/domain/model/auth/dtos/signOn.dto.js +5 -2
- package/dist/src/domain/model/auth/dtos/signOn.dto.js.map +1 -1
- package/dist/src/domain/model/auth/dtos/signOnWeb3authSocialNetwork.dto.d.ts +2 -0
- package/dist/src/domain/model/auth/dtos/signOnWeb3authSocialNetwork.dto.js +7 -0
- package/dist/src/domain/model/auth/dtos/signOnWeb3authSocialNetwork.dto.js.map +1 -1
- package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.d.ts +2 -0
- package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.js +7 -0
- package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.js.map +1 -1
- package/dist/src/domain/model/auth/entities/AuthUser.d.ts +5 -0
- package/dist/src/domain/model/auth/entities/AuthUser.js +6 -0
- package/dist/src/domain/model/auth/entities/AuthUser.js.map +1 -1
- package/dist/src/domain/model/currency/dtos/currencyOrdering.dto.d.ts +7 -0
- package/dist/src/domain/model/currency/dtos/currencyOrdering.dto.js +38 -0
- package/dist/src/domain/model/currency/dtos/currencyOrdering.dto.js.map +1 -0
- package/dist/src/domain/model/currency/dtos/currencyOrderings.dto.d.ts +4 -0
- package/dist/src/domain/model/currency/dtos/currencyOrderings.dto.js +21 -0
- package/dist/src/domain/model/currency/dtos/currencyOrderings.dto.js.map +1 -0
- package/dist/src/domain/model/currency/dtos/index.d.ts +2 -0
- package/dist/src/domain/model/currency/dtos/index.js +2 -0
- package/dist/src/domain/model/currency/dtos/index.js.map +1 -1
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.d.ts +2 -0
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.js +6 -0
- 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 +2 -0
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.js +6 -0
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.js.map +1 -1
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.d.ts +2 -0
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -33,4 +33,5 @@ __exportStar(require("./transactionDirection"), exports);
|
|
|
33
33
|
__exportStar(require("./platform"), exports);
|
|
34
34
|
__exportStar(require("./wallet"), exports);
|
|
35
35
|
__exportStar(require("./tradingViewDetails"), exports);
|
|
36
|
+
__exportStar(require("./template"), exports);
|
|
36
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,qDAAmC;AACnC,8CAA4B;AAC5B,qEAAmD;AACnD,mDAAiC;AACjC,gDAA8B;AAC9B,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,4DAA0C;AAC1C,yDAAuC;AACvC,6CAA2B;AAC3B,2CAAyB;AACzB,uDAAqC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,qDAAmC;AACnC,8CAA4B;AAC5B,qEAAmD;AACnD,mDAAiC;AACjC,gDAA8B;AAC9B,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,4DAA0C;AAC1C,yDAAuC;AACvC,6CAA2B;AAC3B,2CAAyB;AACzB,uDAAqC;AACrC,6CAA2B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare enum Template {
|
|
2
|
+
PRODUCT = "PRODUCT",
|
|
3
|
+
SUBSCRIPTION = "SUBSCRIPTION",
|
|
4
|
+
PRE_SALE = "PRE_SALE",
|
|
5
|
+
SINGLE_NFT = "SINGLE_NFT",
|
|
6
|
+
VIDEO = "VIDEO",
|
|
7
|
+
DISCORD_MEMBERSHIP = "DISCORD_MEMBERSHIP",
|
|
8
|
+
INVOICE = "INVOICE",
|
|
9
|
+
EMBEDDED = "EMBEDDED",
|
|
10
|
+
LINK_OR_FILE = "LINK_OR_FILE",
|
|
11
|
+
TRADING_VIEW = "TRADING_VIEW",
|
|
12
|
+
EVENT = "EVENT",
|
|
13
|
+
OTHER = "OTHER",
|
|
14
|
+
LEGACY = "LEGACY"
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Template = void 0;
|
|
4
|
+
var Template;
|
|
5
|
+
(function (Template) {
|
|
6
|
+
Template["PRODUCT"] = "PRODUCT";
|
|
7
|
+
Template["SUBSCRIPTION"] = "SUBSCRIPTION";
|
|
8
|
+
Template["PRE_SALE"] = "PRE_SALE";
|
|
9
|
+
Template["SINGLE_NFT"] = "SINGLE_NFT";
|
|
10
|
+
Template["VIDEO"] = "VIDEO";
|
|
11
|
+
Template["DISCORD_MEMBERSHIP"] = "DISCORD_MEMBERSHIP";
|
|
12
|
+
Template["INVOICE"] = "INVOICE";
|
|
13
|
+
Template["EMBEDDED"] = "EMBEDDED";
|
|
14
|
+
Template["LINK_OR_FILE"] = "LINK_OR_FILE";
|
|
15
|
+
Template["TRADING_VIEW"] = "TRADING_VIEW";
|
|
16
|
+
Template["EVENT"] = "EVENT";
|
|
17
|
+
Template["OTHER"] = "OTHER";
|
|
18
|
+
Template["LEGACY"] = "LEGACY";
|
|
19
|
+
})(Template = exports.Template || (exports.Template = {}));
|
|
20
|
+
//# sourceMappingURL=template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template.js","sourceRoot":"","sources":["../../../../src/domain/constants/template.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAcX;AAdD,WAAY,QAAQ;IAClB,+BAAmB,CAAA;IACnB,yCAA6B,CAAA;IAC7B,iCAAqB,CAAA;IACrB,qCAAyB,CAAA;IACzB,2BAAe,CAAA;IACf,qDAAyC,CAAA;IACzC,+BAAmB,CAAA;IACnB,iCAAqB,CAAA;IACrB,yCAA6B,CAAA;IAC7B,yCAA6B,CAAA;IAC7B,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,6BAAiB,CAAA;AACnB,CAAC,EAdW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAcnB"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { Platform } from '../../../constants';
|
|
2
2
|
import { WalletOrigin } from '../../wallet';
|
|
3
3
|
import { BTCPropertiesDto } from './btcProperties.dto';
|
|
4
|
+
import { AuthScope } from '../entities';
|
|
4
5
|
export declare class BitcoinSignOnDto {
|
|
5
6
|
signature: string;
|
|
6
7
|
platform?: Platform;
|
|
7
8
|
origin: WalletOrigin;
|
|
8
9
|
btcProperties: BTCPropertiesDto;
|
|
10
|
+
nonce: string;
|
|
11
|
+
publicKey: string;
|
|
12
|
+
authMessage: string;
|
|
13
|
+
scopes?: AuthScope[];
|
|
9
14
|
}
|
|
@@ -15,6 +15,7 @@ const class_transformer_1 = require("class-transformer");
|
|
|
15
15
|
const constants_1 = require("../../../constants");
|
|
16
16
|
const wallet_1 = require("../../wallet");
|
|
17
17
|
const btcProperties_dto_1 = require("./btcProperties.dto");
|
|
18
|
+
const entities_1 = require("../entities");
|
|
18
19
|
class BitcoinSignOnDto {
|
|
19
20
|
}
|
|
20
21
|
__decorate([
|
|
@@ -37,5 +38,26 @@ __decorate([
|
|
|
37
38
|
(0, class_validator_1.ValidateNested)(),
|
|
38
39
|
__metadata("design:type", btcProperties_dto_1.BTCPropertiesDto)
|
|
39
40
|
], BitcoinSignOnDto.prototype, "btcProperties", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], BitcoinSignOnDto.prototype, "nonce", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsString)(),
|
|
48
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], BitcoinSignOnDto.prototype, "publicKey", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsString)(),
|
|
53
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], BitcoinSignOnDto.prototype, "authMessage", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsOptional)(),
|
|
58
|
+
(0, class_validator_1.IsArray)(),
|
|
59
|
+
(0, class_validator_1.IsEnum)(entities_1.AuthScope),
|
|
60
|
+
__metadata("design:type", Array)
|
|
61
|
+
], BitcoinSignOnDto.prototype, "scopes", void 0);
|
|
40
62
|
exports.BitcoinSignOnDto = BitcoinSignOnDto;
|
|
41
63
|
//# sourceMappingURL=bitcoinSignOn.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bitcoinSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/bitcoinSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"bitcoinSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/bitcoinSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,kDAA8C;AAC9C,yCAA4C;AAC5C,2DAAuD;AACvD,0CAAwC;AAExC,MAAa,gBAAgB;CAkC5B;AAjCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;kDACG;AAGpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qBAAY,CAAC;;gDACA;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAC5B,IAAA,gCAAc,GAAE;8BACF,oCAAgB;uDAAC;AAEhC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACO;AAEpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,oBAAS,CAAC;;gDACG;AAjCvB,4CAkCC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EVMMessageDto } from './evmMessage.dto';
|
|
2
2
|
import { Platform } from '../../../constants';
|
|
3
|
+
import { AuthScope } from '../entities';
|
|
3
4
|
export declare class EVMSignOnDto {
|
|
4
5
|
message: EVMMessageDto;
|
|
5
6
|
signature: string;
|
|
@@ -7,5 +8,5 @@ export declare class EVMSignOnDto {
|
|
|
7
8
|
nonce: string;
|
|
8
9
|
publicKey: string;
|
|
9
10
|
authMessage: string;
|
|
10
|
-
|
|
11
|
+
scopes?: AuthScope[];
|
|
11
12
|
}
|
|
@@ -14,6 +14,7 @@ const class_validator_1 = require("class-validator");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const evmMessage_dto_1 = require("./evmMessage.dto");
|
|
16
16
|
const constants_1 = require("../../../constants");
|
|
17
|
+
const entities_1 = require("../entities");
|
|
17
18
|
class EVMSignOnDto {
|
|
18
19
|
}
|
|
19
20
|
__decorate([
|
|
@@ -49,7 +50,9 @@ __decorate([
|
|
|
49
50
|
], EVMSignOnDto.prototype, "authMessage", void 0);
|
|
50
51
|
__decorate([
|
|
51
52
|
(0, class_validator_1.IsOptional)(),
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
(0, class_validator_1.IsArray)(),
|
|
54
|
+
(0, class_validator_1.IsEnum)(entities_1.AuthScope),
|
|
55
|
+
__metadata("design:type", Array)
|
|
56
|
+
], EVMSignOnDto.prototype, "scopes", void 0);
|
|
54
57
|
exports.EVMSignOnDto = EVMSignOnDto;
|
|
55
58
|
//# sourceMappingURL=evmSignOn.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evmSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/evmSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"evmSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/evmSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,qDAAiD;AACjD,kDAA8C;AAC9C,0CAAwC;AAExC,MAAa,YAAY;CA8BxB;AA7BC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC;IACzB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACR,8BAAa;6CAAC;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;8CACG;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACO;AAEpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,oBAAS,CAAC;;4CACG;AA7BvB,oCA8BC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Platform } from '../../../constants';
|
|
2
2
|
import { WalletOrigin } from '../../wallet';
|
|
3
|
+
import { AuthScope } from '../entities';
|
|
3
4
|
export declare class SignOnDto {
|
|
4
5
|
publicKey: string;
|
|
5
6
|
signature: string;
|
|
@@ -7,5 +8,5 @@ export declare class SignOnDto {
|
|
|
7
8
|
nonce: string;
|
|
8
9
|
platform?: Platform;
|
|
9
10
|
origin?: WalletOrigin;
|
|
10
|
-
|
|
11
|
+
scopes?: AuthScope[];
|
|
11
12
|
}
|
|
@@ -13,6 +13,7 @@ exports.SignOnDto = void 0;
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const constants_1 = require("../../../constants");
|
|
15
15
|
const wallet_1 = require("../../wallet");
|
|
16
|
+
const entities_1 = require("../entities");
|
|
16
17
|
class SignOnDto {
|
|
17
18
|
}
|
|
18
19
|
__decorate([
|
|
@@ -47,7 +48,9 @@ __decorate([
|
|
|
47
48
|
], SignOnDto.prototype, "origin", void 0);
|
|
48
49
|
__decorate([
|
|
49
50
|
(0, class_validator_1.IsOptional)(),
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
(0, class_validator_1.IsArray)(),
|
|
52
|
+
(0, class_validator_1.IsEnum)(entities_1.AuthScope),
|
|
53
|
+
__metadata("design:type", Array)
|
|
54
|
+
], SignOnDto.prototype, "scopes", void 0);
|
|
52
55
|
exports.SignOnDto = SignOnDto;
|
|
53
56
|
//# sourceMappingURL=signOn.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/signOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"signOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/signOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,kDAA8C;AAC9C,yCAA4C;AAC5C,0CAAwC;AAExC,MAAa,SAAS;CA8BrB;AA7BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wCACC;AAEd;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;2CACG;AAGpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qBAAY,CAAC;;yCACC;AAEtB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,oBAAS,CAAC;;yCACG;AA7BvB,8BA8BC"}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.SignOnWeb3authSocialNetworkDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const constants_1 = require("../../../constants");
|
|
15
|
+
const entities_1 = require("../entities");
|
|
15
16
|
class SignOnWeb3authSocialNetworkDto {
|
|
16
17
|
}
|
|
17
18
|
__decorate([
|
|
@@ -24,5 +25,11 @@ __decorate([
|
|
|
24
25
|
(0, class_validator_1.IsEnum)(constants_1.Platform),
|
|
25
26
|
__metadata("design:type", String)
|
|
26
27
|
], SignOnWeb3authSocialNetworkDto.prototype, "platform", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
(0, class_validator_1.IsArray)(),
|
|
31
|
+
(0, class_validator_1.IsEnum)(entities_1.AuthScope),
|
|
32
|
+
__metadata("design:type", Array)
|
|
33
|
+
], SignOnWeb3authSocialNetworkDto.prototype, "scopes", void 0);
|
|
27
34
|
exports.SignOnWeb3authSocialNetworkDto = SignOnWeb3authSocialNetworkDto;
|
|
28
35
|
//# sourceMappingURL=signOnWeb3authSocialNetwork.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signOnWeb3authSocialNetwork.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/signOnWeb3authSocialNetwork.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"signOnWeb3authSocialNetwork.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/signOnWeb3authSocialNetwork.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,kDAA8C;AAC9C,0CAAwC;AAExC,MAAa,8BAA8B;CAa1C;AAZC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oEACQ;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;gEACG;AAEpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,oBAAS,CAAC;;8DACG;AAZvB,wEAaC"}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.TransactionSignOnDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const constants_1 = require("../../../constants");
|
|
15
|
+
const entities_1 = require("../entities");
|
|
15
16
|
class TransactionSignOnDto {
|
|
16
17
|
}
|
|
17
18
|
__decorate([
|
|
@@ -24,5 +25,11 @@ __decorate([
|
|
|
24
25
|
(0, class_validator_1.IsEnum)(constants_1.Platform),
|
|
25
26
|
__metadata("design:type", String)
|
|
26
27
|
], TransactionSignOnDto.prototype, "platform", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
(0, class_validator_1.IsArray)(),
|
|
31
|
+
(0, class_validator_1.IsEnum)(entities_1.AuthScope),
|
|
32
|
+
__metadata("design:type", Array)
|
|
33
|
+
], TransactionSignOnDto.prototype, "scopes", void 0);
|
|
27
34
|
exports.TransactionSignOnDto = TransactionSignOnDto;
|
|
28
35
|
//# sourceMappingURL=transactionSignOn.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/transactionSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
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;CAahC;AAZC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACO;AAEpB;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,CAAC;;oDACG;AAZvB,oDAaC"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthScope = void 0;
|
|
4
|
+
var AuthScope;
|
|
5
|
+
(function (AuthScope) {
|
|
6
|
+
AuthScope["dashboard"] = "dashboard";
|
|
7
|
+
AuthScope["checkout"] = "checkout";
|
|
8
|
+
})(AuthScope = exports.AuthScope || (exports.AuthScope = {}));
|
|
3
9
|
//# sourceMappingURL=AuthUser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthUser.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/entities/AuthUser.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"AuthUser.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/entities/AuthUser.ts"],"names":[],"mappings":";;;AAyBA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;AACvB,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.CurrencyOrderingDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const blockchain_1 = require("../../blockchain");
|
|
15
|
+
class CurrencyOrderingDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CurrencyOrderingDto.prototype, "symbol", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
(0, class_validator_1.IsBoolean)(),
|
|
25
|
+
__metadata("design:type", Boolean)
|
|
26
|
+
], CurrencyOrderingDto.prototype, "pricing", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
(0, class_validator_1.IsBoolean)(),
|
|
30
|
+
__metadata("design:type", Boolean)
|
|
31
|
+
], CurrencyOrderingDto.prototype, "recipient", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_validator_1.IsEnum)(blockchain_1.BlockchainSymbol),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], CurrencyOrderingDto.prototype, "blockchainSymbol", void 0);
|
|
37
|
+
exports.CurrencyOrderingDto = CurrencyOrderingDto;
|
|
38
|
+
//# sourceMappingURL=currencyOrdering.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currencyOrdering.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/dtos/currencyOrdering.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,iDAAoD;AAEpD,MAAa,mBAAmB;CAgB/B;AAfC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACI;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;oDACK;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;sDACO;AAEnB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,6BAAgB,CAAC;;6DACW;AAftC,kDAgBC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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.CurrencyOrderingsDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CurrencyOrderingsDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsArray)(),
|
|
18
|
+
__metadata("design:type", Array)
|
|
19
|
+
], CurrencyOrderingsDto.prototype, "orderings", void 0);
|
|
20
|
+
exports.CurrencyOrderingsDto = CurrencyOrderingsDto;
|
|
21
|
+
//# sourceMappingURL=currencyOrderings.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currencyOrderings.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/dtos/currencyOrderings.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0C;AAG1C,MAAa,oBAAoB;CAGhC;AAFC;IAAC,IAAA,yBAAO,GAAE;;uDACuB;AAFnC,oDAGC"}
|
|
@@ -16,4 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./createCurrency.dto"), exports);
|
|
18
18
|
__exportStar(require("./updateCurrency.dto"), exports);
|
|
19
|
+
__exportStar(require("./currencyOrderings.dto"), exports);
|
|
20
|
+
__exportStar(require("./currencyOrdering.dto"), exports);
|
|
19
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,uDAAqC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,uDAAqC;AACrC,0DAAwC;AACxC,yDAAuC"}
|
|
@@ -10,10 +10,12 @@ import { TradingViewIndicatorDto } from '../../trading-view-details';
|
|
|
10
10
|
import { AffiliateDetailsDto } from '../../affiliates';
|
|
11
11
|
import { EventDetailsDto } from '../../event-details';
|
|
12
12
|
import { CountdownDetailsDto } from '../../countdown-details';
|
|
13
|
+
import { Template } from '../../../constants';
|
|
13
14
|
export declare class CreatePaymentRequestDto {
|
|
14
15
|
company: string;
|
|
15
16
|
name: string;
|
|
16
17
|
description?: string;
|
|
18
|
+
template?: Template;
|
|
17
19
|
image?: string;
|
|
18
20
|
normalizedPrice?: string;
|
|
19
21
|
notifySenderByEmail?: boolean;
|
|
@@ -25,6 +25,7 @@ const trading_view_details_1 = require("../../trading-view-details");
|
|
|
25
25
|
const affiliates_1 = require("../../affiliates");
|
|
26
26
|
const event_details_1 = require("../../event-details");
|
|
27
27
|
const countdown_details_1 = require("../../countdown-details");
|
|
28
|
+
const constants_1 = require("../../../constants");
|
|
28
29
|
class CreatePaymentRequestDto {
|
|
29
30
|
constructor() {
|
|
30
31
|
this.notifySenderByEmail = false;
|
|
@@ -47,6 +48,11 @@ __decorate([
|
|
|
47
48
|
(0, class_validator_1.IsOptional)(),
|
|
48
49
|
__metadata("design:type", String)
|
|
49
50
|
], CreatePaymentRequestDto.prototype, "description", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsEnum)(constants_1.Template),
|
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], CreatePaymentRequestDto.prototype, "template", void 0);
|
|
50
56
|
__decorate([
|
|
51
57
|
(0, class_validator_1.IsString)(),
|
|
52
58
|
(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,yDAAwD;AACxD,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAC5C,oDAAgD;AAChD,+CAA+C;AAC/C,qEAAmE;AACnE,qEAAqE;AACrE,iDAAuD;AACvD,uDAAsD;AACtD,+DAA8D;
|
|
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,yDAAwD;AACxD,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAC5C,oDAAgD;AAChD,+CAA+C;AAC/C,qEAAmE;AACnE,qEAAqE;AACrE,iDAAuD;AACvD,uDAAsD;AACtD,+DAA8D;AAC9D,kDAA8C;AAE9C,MAAa,uBAAuB;IAApC;QA+BE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK,CAAC;QAIxC,mBAAc,GAAa,KAAK,CAAC;IAmHnC,CAAC;CAAA;AAzJC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,wBAAM,EAAC,oBAAQ,CAAC;IAChB,IAAA,4BAAU,GAAE;;yDACO;AAEpB;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,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,E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AE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;sDACzB;AAGf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;gEACa;AAEzB;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;AAzJzC,0DA0JC"}
|
|
@@ -10,9 +10,11 @@ import { TradingViewIndicatorDto } from '../../trading-view-details';
|
|
|
10
10
|
import { AffiliateDetailsDto } from '../../affiliates';
|
|
11
11
|
import { EventDetailsDto } from '../../event-details';
|
|
12
12
|
import { CountdownDetailsDto } from '../../countdown-details';
|
|
13
|
+
import { Template } from '../../../constants';
|
|
13
14
|
export declare class CreatePaymentRequestWithApiDto implements Omit<CreatePaymentRequestDto, 'company'> {
|
|
14
15
|
name: string;
|
|
15
16
|
description?: string;
|
|
17
|
+
template?: Template;
|
|
16
18
|
normalizedPrice?: string;
|
|
17
19
|
notifySenderByEmail?: boolean;
|
|
18
20
|
notifyReceiverByEmail?: boolean;
|
|
@@ -24,6 +24,7 @@ const trading_view_details_1 = require("../../trading-view-details");
|
|
|
24
24
|
const affiliates_1 = require("../../affiliates");
|
|
25
25
|
const event_details_1 = require("../../event-details");
|
|
26
26
|
const countdown_details_1 = require("../../countdown-details");
|
|
27
|
+
const constants_1 = require("../../../constants");
|
|
27
28
|
class CreatePaymentRequestWithApiDto {
|
|
28
29
|
constructor() {
|
|
29
30
|
this.notifySenderByEmail = false;
|
|
@@ -41,6 +42,11 @@ __decorate([
|
|
|
41
42
|
(0, class_validator_1.IsOptional)(),
|
|
42
43
|
__metadata("design:type", String)
|
|
43
44
|
], CreatePaymentRequestWithApiDto.prototype, "description", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsEnum)(constants_1.Template),
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], CreatePaymentRequestWithApiDto.prototype, "template", void 0);
|
|
44
50
|
__decorate([
|
|
45
51
|
(0, class_validator_1.ValidateIf)((object) => {
|
|
46
52
|
return !object.dynamic && !object.features?.canChangePrice;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaymentRequestWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
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,yDAAwD;AACxD,+CAA+C;AAC/C,qEAAqE;AACrE,iDAAuD;AACvD,uDAAsD;AACtD,+DAA8D;AAC9D,kDAA8C;AAE9C,MAAa,8BAA8B;IAA3C;QAyBE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK,CAAC;QAIxC,mBAAc,GAAa,KAAK,CAAC;IA6FnC,CAAC;CAAA;AA3HC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACQ;AAErB;IAAC,IAAA,wBAAM,EAAC,oBAAQ,CAAC;IAChB,IAAA,4BAAU,GAAE;;gEACO;AAEpB;IAAC,IAAA,4BAAU,EAAC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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;AAEzB;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;AA7HzC,wEA8HC"}
|
|
@@ -5,11 +5,13 @@ import { NftDrop } from '../../nft-drop';
|
|
|
5
5
|
import { DiscordAuthDetails } from '../../discord-auth-details';
|
|
6
6
|
import { EventDetails } from '../../event-details';
|
|
7
7
|
import { CountdownDetails } from '../../countdown-details';
|
|
8
|
+
import { Template } from '../../../constants';
|
|
8
9
|
export declare class BasePaymentRequest extends Entity {
|
|
9
10
|
normalizedPrice: bigint;
|
|
10
11
|
price?: bigint;
|
|
11
12
|
id: string;
|
|
12
13
|
name: string;
|
|
14
|
+
template: Template;
|
|
13
15
|
description?: string;
|
|
14
16
|
imageUrl?: string;
|
|
15
17
|
maxTransactions?: number;
|
|
@@ -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;AAStC,MAAa,kBAAmB,SAAQ,eAAM;CAiD7C;AAhDC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;2DAChB;AAGxB;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;iDACzB;AANjB,gDAiDC"}
|