@heliofi/common 0.1.278-alpha.4 → 0.1.279
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 +33 -48
- package/dist/src/domain/constants/index.js.map +1 -1
- package/dist/src/domain/constants/transactionDirection.d.ts +5 -0
- package/dist/src/domain/constants/transactionDirection.js +14 -0
- package/dist/src/domain/constants/transactionDirection.js.map +1 -0
- package/dist/src/domain/index.js +22 -38
- package/dist/src/domain/model/blockchain/index.d.ts +1 -0
- package/dist/src/domain/model/blockchain/index.js +21 -36
- package/dist/src/domain/model/blockchain/index.js.map +1 -1
- package/dist/src/domain/model/blockchain/typeGuards/index.d.ts +2 -0
- package/dist/src/domain/model/blockchain/typeGuards/index.js +10 -0
- package/dist/src/domain/model/blockchain/typeGuards/index.js.map +1 -0
- package/dist/src/domain/model/currency/entities/Currency.entity.js +6 -5
- package/dist/src/domain/model/email/dtos/email.dto.js +78 -198
- package/dist/src/domain/model/email/dtos/emailInvoice.dto.js +57 -142
- package/dist/src/domain/model/evm-transaction-monitoring/entities/EvmTransactionMonitoring.entity.js +6 -5
- package/dist/src/domain/model/index.js +94 -110
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js +6 -5
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js +42 -92
- package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.js +42 -92
- package/dist/src/domain/model/paylink/entities/BasePaylink.js +6 -5
- package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.js +6 -5
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.js +25 -56
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.js +97 -232
- package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.js +88 -212
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.js +31 -66
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.js +31 -66
- package/dist/src/domain/model/paystream/entities/BasePaystream.js +6 -5
- package/dist/src/domain/model/paystream/entities/Paystream.js +6 -5
- package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.js +6 -5
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.entity.js +34 -74
- package/dist/src/domain/model/recipient/dtos/Recipient.dto.d.ts +2 -2
- package/dist/src/domain/model/recipient/dtos/Recipient.dto.js +20 -45
- package/dist/src/domain/model/recipient/dtos/Recipient.dto.js.map +1 -1
- package/dist/src/domain/model/recipient/dtos/index.js +18 -34
- package/dist/src/domain/model/refund/dtos/createRefund.dto.js +33 -75
- package/dist/src/domain/model/report/entities/ReportItem.entity.js +6 -5
- package/dist/src/domain/model/wallet/entities/Wallet.entity.js +6 -5
- package/dist/src/domain/services/ClusterService.js +45 -44
- package/dist/src/domain/services/ExplorerAggregateService.js +15 -25
- package/dist/src/domain/services/PolygonExplorerService.js +12 -14
- package/dist/src/domain/services/SolscanService.js +8 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,48 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
__exportStar(require('./orderDirection'), exports);
|
|
35
|
-
__exportStar(require('./environment'), exports);
|
|
36
|
-
__exportStar(require('./intervalUnit'), exports);
|
|
37
|
-
__exportStar(require('./currencies'), exports);
|
|
38
|
-
__exportStar(require('./fiatCurrencies'), exports);
|
|
39
|
-
__exportStar(require('./fixedPriceTokens'), exports);
|
|
40
|
-
__exportStar(require('./helioPlay'), exports);
|
|
41
|
-
__exportStar(require('./transactionStatusTokenHeaderName'), exports);
|
|
42
|
-
__exportStar(require('./generalNetwork'), exports);
|
|
43
|
-
__exportStar(require('./paymentType'), exports);
|
|
44
|
-
__exportStar(require('./escrow'), exports);
|
|
45
|
-
__exportStar(require('./sumsub'), exports);
|
|
46
|
-
__exportStar(require('./limitSaleType'), exports);
|
|
47
|
-
__exportStar(require('./maxWalletsPerBlockchain'), exports);
|
|
48
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./emailValidation"), exports);
|
|
18
|
+
__exportStar(require("./orderDirection"), exports);
|
|
19
|
+
__exportStar(require("./environment"), exports);
|
|
20
|
+
__exportStar(require("./intervalUnit"), exports);
|
|
21
|
+
__exportStar(require("./currencies"), exports);
|
|
22
|
+
__exportStar(require("./fiatCurrencies"), exports);
|
|
23
|
+
__exportStar(require("./fixedPriceTokens"), exports);
|
|
24
|
+
__exportStar(require("./helioPlay"), exports);
|
|
25
|
+
__exportStar(require("./transactionStatusTokenHeaderName"), exports);
|
|
26
|
+
__exportStar(require("./generalNetwork"), exports);
|
|
27
|
+
__exportStar(require("./paymentType"), exports);
|
|
28
|
+
__exportStar(require("./escrow"), exports);
|
|
29
|
+
__exportStar(require("./sumsub"), exports);
|
|
30
|
+
__exportStar(require("./limitSaleType"), exports);
|
|
31
|
+
__exportStar(require("./maxWalletsPerBlockchain"), exports);
|
|
32
|
+
__exportStar(require("./transactionDirection"), exports);
|
|
33
|
+
//# 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"}
|
|
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"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isValidTransactionDirection = exports.TransactionDirection = void 0;
|
|
4
|
+
var TransactionDirection;
|
|
5
|
+
(function (TransactionDirection) {
|
|
6
|
+
TransactionDirection["INCOMING"] = "INCOMING";
|
|
7
|
+
TransactionDirection["OUTGOING"] = "OUTGOING";
|
|
8
|
+
})(TransactionDirection = exports.TransactionDirection || (exports.TransactionDirection = {}));
|
|
9
|
+
function isValidTransactionDirection(value) {
|
|
10
|
+
return (value === TransactionDirection.INCOMING ||
|
|
11
|
+
value === TransactionDirection.OUTGOING);
|
|
12
|
+
}
|
|
13
|
+
exports.isValidTransactionDirection = isValidTransactionDirection;
|
|
14
|
+
//# sourceMappingURL=transactionDirection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transactionDirection.js","sourceRoot":"","sources":["../../../../src/domain/constants/transactionDirection.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,6CAAqB,CAAA;IACrB,6CAAqB,CAAA;AACvB,CAAC,EAHW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAG/B;AAED,SAAgB,2BAA2B,CACzC,KAAa;IAEb,OAAO,CACL,KAAK,KAAK,oBAAoB,CAAC,QAAQ;QACvC,KAAK,KAAK,oBAAoB,CAAC,QAAQ,CACxC,CAAC;AACJ,CAAC;AAPD,kEAOC"}
|
package/dist/src/domain/index.js
CHANGED
|
@@ -1,38 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
32
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
33
|
-
__exportStar(require('./model'), exports);
|
|
34
|
-
__exportStar(require('./constants'), exports);
|
|
35
|
-
__exportStar(require('./services'), exports);
|
|
36
|
-
__exportStar(require('./decorators'), exports);
|
|
37
|
-
__exportStar(require('./data-structures'), exports);
|
|
38
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./model"), exports);
|
|
18
|
+
__exportStar(require("./constants"), exports);
|
|
19
|
+
__exportStar(require("./services"), exports);
|
|
20
|
+
__exportStar(require("./decorators"), exports);
|
|
21
|
+
__exportStar(require("./data-structures"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,36 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
if (k2 === undefined) k2 = k;
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
32
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
33
|
-
__exportStar(require('./dtos'), exports);
|
|
34
|
-
__exportStar(require('./entities'), exports);
|
|
35
|
-
__exportStar(require('./constants'), exports);
|
|
36
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./dtos"), exports);
|
|
18
|
+
__exportStar(require("./entities"), exports);
|
|
19
|
+
__exportStar(require("./constants"), exports);
|
|
20
|
+
__exportStar(require("./typeGuards"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/blockchain/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B;AAC3B,8CAA4B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/blockchain/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B;AAC3B,8CAA4B;AAC5B,+CAA6B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isValidBlockchainSymbol = void 0;
|
|
4
|
+
const constants_1 = require("../constants");
|
|
5
|
+
const isValidBlockchainSymbol = (value) => {
|
|
6
|
+
const blockchainSymbolsArray = Array.from(Object.values(constants_1.BlockchainSymbol));
|
|
7
|
+
return blockchainSymbolsArray.some((symbol) => symbol === value);
|
|
8
|
+
};
|
|
9
|
+
exports.isValidBlockchainSymbol = isValidBlockchainSymbol;
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/typeGuards/index.ts"],"names":[],"mappings":";;;AAAA,4CAAgD;AAEzC,MAAM,uBAAuB,GAAG,CACrC,KAAa,EACc,EAAE;IAC7B,MAAM,sBAAsB,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,4BAAgB,CAAC,CAAC,CAAC;IAE3E,OAAO,sBAAsB,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,KAAK,KAAK,CAAC,CAAC;AACnE,CAAC,CAAC;AANW,QAAA,uBAAuB,2BAMlC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Currency = void 0;
|
|
4
|
-
const BaseCurrency_entity_1 = require(
|
|
5
|
-
class Currency extends BaseCurrency_entity_1.BaseCurrency {
|
|
4
|
+
const BaseCurrency_entity_1 = require("./BaseCurrency.entity");
|
|
5
|
+
class Currency extends BaseCurrency_entity_1.BaseCurrency {
|
|
6
|
+
}
|
|
6
7
|
exports.Currency = Currency;
|
|
7
|
-
//# sourceMappingURL=Currency.entity.js.map
|
|
8
|
+
//# sourceMappingURL=Currency.entity.js.map
|
|
@@ -1,243 +1,123 @@
|
|
|
1
|
-
|
|
2
|
-
var __decorate =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
r =
|
|
7
|
-
c < 3
|
|
8
|
-
? target
|
|
9
|
-
: desc === null
|
|
10
|
-
? (desc = Object.getOwnPropertyDescriptor(target, key))
|
|
11
|
-
: desc,
|
|
12
|
-
d;
|
|
13
|
-
if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
|
|
14
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
15
|
-
else
|
|
16
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
17
|
-
if ((d = decorators[i]))
|
|
18
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
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;
|
|
19
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20
|
-
|
|
21
|
-
var __metadata =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return Reflect.metadata(k, v);
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
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 });
|
|
28
12
|
exports.EmailDto = void 0;
|
|
29
|
-
const class_validator_1 = require(
|
|
30
|
-
const blockchain_1 = require(
|
|
31
|
-
class EmailDto {
|
|
32
|
-
|
|
33
|
-
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const blockchain_1 = require("../../blockchain");
|
|
15
|
+
class EmailDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
34
18
|
(0, class_validator_1.IsString)(),
|
|
35
19
|
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
-
__metadata(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
'transactionSignature',
|
|
40
|
-
void 0,
|
|
41
|
-
);
|
|
42
|
-
__decorate(
|
|
43
|
-
[
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], EmailDto.prototype, "transactionSignature", void 0);
|
|
22
|
+
__decorate([
|
|
44
23
|
(0, class_validator_1.IsEmail)(),
|
|
45
24
|
(0, class_validator_1.IsNotEmpty)(),
|
|
46
|
-
__metadata(
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
'email',
|
|
50
|
-
void 0,
|
|
51
|
-
);
|
|
52
|
-
__decorate(
|
|
53
|
-
[
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], EmailDto.prototype, "email", void 0);
|
|
27
|
+
__decorate([
|
|
54
28
|
(0, class_validator_1.IsNumber)(),
|
|
55
29
|
(0, class_validator_1.IsNotEmpty)(),
|
|
56
|
-
__metadata(
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
'amount',
|
|
60
|
-
void 0,
|
|
61
|
-
);
|
|
62
|
-
__decorate(
|
|
63
|
-
[
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], EmailDto.prototype, "amount", void 0);
|
|
32
|
+
__decorate([
|
|
64
33
|
(0, class_validator_1.IsString)(),
|
|
65
34
|
(0, class_validator_1.IsNotEmpty)(),
|
|
66
|
-
__metadata(
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
'product',
|
|
70
|
-
void 0,
|
|
71
|
-
);
|
|
72
|
-
__decorate(
|
|
73
|
-
[
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], EmailDto.prototype, "product", void 0);
|
|
37
|
+
__decorate([
|
|
74
38
|
(0, class_validator_1.IsString)(),
|
|
75
39
|
(0, class_validator_1.IsNotEmpty)(),
|
|
76
|
-
__metadata(
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
'currency',
|
|
80
|
-
void 0,
|
|
81
|
-
);
|
|
82
|
-
__decorate(
|
|
83
|
-
[
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], EmailDto.prototype, "currency", void 0);
|
|
42
|
+
__decorate([
|
|
84
43
|
(0, class_validator_1.IsString)(),
|
|
85
44
|
(0, class_validator_1.IsNotEmpty)(),
|
|
86
|
-
__metadata(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
'time',
|
|
90
|
-
void 0,
|
|
91
|
-
);
|
|
92
|
-
__decorate(
|
|
93
|
-
[
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], EmailDto.prototype, "time", void 0);
|
|
47
|
+
__decorate([
|
|
94
48
|
(0, class_validator_1.IsString)(),
|
|
95
49
|
(0, class_validator_1.IsOptional)(),
|
|
96
|
-
__metadata(
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
'blockchain',
|
|
100
|
-
void 0,
|
|
101
|
-
);
|
|
102
|
-
__decorate(
|
|
103
|
-
[
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], EmailDto.prototype, "blockchain", void 0);
|
|
52
|
+
__decorate([
|
|
104
53
|
(0, class_validator_1.IsString)(),
|
|
105
54
|
(0, class_validator_1.IsOptional)(),
|
|
106
|
-
__metadata(
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
'cluster',
|
|
110
|
-
void 0,
|
|
111
|
-
);
|
|
112
|
-
__decorate(
|
|
113
|
-
[
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], EmailDto.prototype, "cluster", void 0);
|
|
57
|
+
__decorate([
|
|
114
58
|
(0, class_validator_1.IsString)(),
|
|
115
59
|
(0, class_validator_1.IsOptional)(),
|
|
116
|
-
__metadata(
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
'merchantName',
|
|
120
|
-
void 0,
|
|
121
|
-
);
|
|
122
|
-
__decorate(
|
|
123
|
-
[
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], EmailDto.prototype, "merchantName", void 0);
|
|
62
|
+
__decorate([
|
|
124
63
|
(0, class_validator_1.IsNumber)(),
|
|
125
64
|
(0, class_validator_1.IsOptional)(),
|
|
126
|
-
__metadata(
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
'fee',
|
|
130
|
-
void 0,
|
|
131
|
-
);
|
|
132
|
-
__decorate(
|
|
133
|
-
[
|
|
65
|
+
__metadata("design:type", Number)
|
|
66
|
+
], EmailDto.prototype, "fee", void 0);
|
|
67
|
+
__decorate([
|
|
134
68
|
(0, class_validator_1.IsString)(),
|
|
135
69
|
(0, class_validator_1.IsOptional)(),
|
|
136
|
-
__metadata(
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
'type',
|
|
140
|
-
void 0,
|
|
141
|
-
);
|
|
142
|
-
__decorate(
|
|
143
|
-
[
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], EmailDto.prototype, "type", void 0);
|
|
72
|
+
__decorate([
|
|
144
73
|
(0, class_validator_1.IsString)(),
|
|
145
74
|
(0, class_validator_1.IsOptional)(),
|
|
146
|
-
__metadata(
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
'paymentRequestId',
|
|
150
|
-
void 0,
|
|
151
|
-
);
|
|
152
|
-
__decorate(
|
|
153
|
-
[
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], EmailDto.prototype, "paymentRequestId", void 0);
|
|
77
|
+
__decorate([
|
|
154
78
|
(0, class_validator_1.IsString)(),
|
|
155
79
|
(0, class_validator_1.IsOptional)(),
|
|
156
|
-
__metadata(
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
'transactionId',
|
|
160
|
-
void 0,
|
|
161
|
-
);
|
|
162
|
-
__decorate(
|
|
163
|
-
[
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], EmailDto.prototype, "transactionId", void 0);
|
|
82
|
+
__decorate([
|
|
164
83
|
(0, class_validator_1.IsString)(),
|
|
165
84
|
(0, class_validator_1.IsOptional)(),
|
|
166
|
-
__metadata(
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
'content',
|
|
170
|
-
void 0,
|
|
171
|
-
);
|
|
172
|
-
__decorate(
|
|
173
|
-
[
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], EmailDto.prototype, "content", void 0);
|
|
87
|
+
__decorate([
|
|
174
88
|
(0, class_validator_1.IsString)(),
|
|
175
89
|
(0, class_validator_1.IsOptional)(),
|
|
176
|
-
__metadata(
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
'wallet',
|
|
180
|
-
void 0,
|
|
181
|
-
);
|
|
182
|
-
__decorate(
|
|
183
|
-
[
|
|
90
|
+
__metadata("design:type", String)
|
|
91
|
+
], EmailDto.prototype, "wallet", void 0);
|
|
92
|
+
__decorate([
|
|
184
93
|
(0, class_validator_1.IsString)(),
|
|
185
94
|
(0, class_validator_1.IsOptional)(),
|
|
186
|
-
__metadata(
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
'merchantWebsite',
|
|
190
|
-
void 0,
|
|
191
|
-
);
|
|
192
|
-
__decorate(
|
|
193
|
-
[
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], EmailDto.prototype, "merchantWebsite", void 0);
|
|
97
|
+
__decorate([
|
|
194
98
|
(0, class_validator_1.IsString)(),
|
|
195
99
|
(0, class_validator_1.IsOptional)(),
|
|
196
|
-
__metadata(
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
'merchantTwitter',
|
|
200
|
-
void 0,
|
|
201
|
-
);
|
|
202
|
-
__decorate(
|
|
203
|
-
[
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], EmailDto.prototype, "merchantTwitter", void 0);
|
|
102
|
+
__decorate([
|
|
204
103
|
(0, class_validator_1.IsString)(),
|
|
205
104
|
(0, class_validator_1.IsOptional)(),
|
|
206
|
-
__metadata(
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
'merchantDiscord',
|
|
210
|
-
void 0,
|
|
211
|
-
);
|
|
212
|
-
__decorate(
|
|
213
|
-
[
|
|
105
|
+
__metadata("design:type", String)
|
|
106
|
+
], EmailDto.prototype, "merchantDiscord", void 0);
|
|
107
|
+
__decorate([
|
|
214
108
|
(0, class_validator_1.IsString)(),
|
|
215
109
|
(0, class_validator_1.IsOptional)(),
|
|
216
|
-
__metadata(
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
'merchantEmail',
|
|
220
|
-
void 0,
|
|
221
|
-
);
|
|
222
|
-
__decorate(
|
|
223
|
-
[
|
|
110
|
+
__metadata("design:type", String)
|
|
111
|
+
], EmailDto.prototype, "merchantEmail", void 0);
|
|
112
|
+
__decorate([
|
|
224
113
|
(0, class_validator_1.IsString)(),
|
|
225
114
|
(0, class_validator_1.IsOptional)(),
|
|
226
|
-
__metadata(
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
'paymentLink',
|
|
230
|
-
void 0,
|
|
231
|
-
);
|
|
232
|
-
__decorate(
|
|
233
|
-
[
|
|
115
|
+
__metadata("design:type", String)
|
|
116
|
+
], EmailDto.prototype, "paymentLink", void 0);
|
|
117
|
+
__decorate([
|
|
234
118
|
(0, class_validator_1.IsString)(),
|
|
235
119
|
(0, class_validator_1.IsOptional)(),
|
|
236
|
-
__metadata(
|
|
237
|
-
|
|
238
|
-
EmailDto.prototype,
|
|
239
|
-
'transactionLink',
|
|
240
|
-
void 0,
|
|
241
|
-
);
|
|
120
|
+
__metadata("design:type", String)
|
|
121
|
+
], EmailDto.prototype, "transactionLink", void 0);
|
|
242
122
|
exports.EmailDto = EmailDto;
|
|
243
|
-
//# sourceMappingURL=email.dto.js.map
|
|
123
|
+
//# sourceMappingURL=email.dto.js.map
|