@heliofi/common 0.2.116 → 0.2.117
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/deposit/entities/Deposit.entity.d.ts +1 -2
- package/dist/src/domain/model/deposit/entities/Deposit.entity.js.map +1 -1
- package/dist/src/domain/model/deposit/entities/DepositEnriched.entity.d.ts +0 -2
- package/dist/src/domain/model/deposit/entities/DepositEnriched.entity.js.map +1 -1
- package/dist/src/domain/model/index.d.ts +0 -1
- package/dist/src/domain/model/index.js +0 -1
- package/dist/src/domain/model/index.js.map +1 -1
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.entity.d.ts +1 -2
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.entity.js.map +1 -1
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.d.ts +1 -2
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.js.map +1 -1
- package/dist/src/domain/model/payment-request/entities/PaymentRequestType.d.ts +1 -2
- package/dist/src/domain/model/payment-request/entities/PaymentRequestType.js +0 -3
- package/dist/src/domain/model/payment-request/entities/PaymentRequestType.js.map +1 -1
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.entity.d.ts +1 -2
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.entity.js.map +1 -1
- package/dist/src/domain/model/report/entities/ReportItem.entity.d.ts +2 -0
- package/dist/src/domain/model/report/entities/ReportItem.entity.js.map +1 -1
- package/dist/src/domain/model/transaction/entities/index.d.ts +1 -2
- package/dist/src/domain/model/transaction/entities/index.js.map +1 -1
- package/dist/src/domain/model/transaction/index.d.ts +0 -1
- package/dist/src/domain/model/transaction/index.js +0 -1
- package/dist/src/domain/model/transaction/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/model/company-stats/entities/companyDailyStats.entity.d.ts +0 -5
- package/dist/src/domain/model/company-stats/entities/companyDailyStats.entity.js +0 -8
- package/dist/src/domain/model/company-stats/entities/companyDailyStats.entity.js.map +0 -1
- package/dist/src/domain/model/company-stats/entities/companyDayStat.entity.d.ts +0 -5
- package/dist/src/domain/model/company-stats/entities/companyDayStat.entity.js +0 -8
- package/dist/src/domain/model/company-stats/entities/companyDayStat.entity.js.map +0 -1
- package/dist/src/domain/model/deposit-tx/entities/BaseDepositTx.d.ts +0 -8
- package/dist/src/domain/model/deposit-tx/entities/BaseDepositTx.js +0 -22
- package/dist/src/domain/model/deposit-tx/entities/BaseDepositTx.js.map +0 -1
- package/dist/src/domain/model/deposit-tx/entities/DepositTx.d.ts +0 -14
- package/dist/src/domain/model/deposit-tx/entities/DepositTx.js +0 -32
- package/dist/src/domain/model/deposit-tx/entities/DepositTx.js.map +0 -1
- package/dist/src/domain/model/deposit-tx/entities/index.d.ts +0 -2
- package/dist/src/domain/model/deposit-tx/entities/index.js +0 -19
- package/dist/src/domain/model/deposit-tx/entities/index.js.map +0 -1
- package/dist/src/domain/model/deposit-tx/index.d.ts +0 -1
- package/dist/src/domain/model/deposit-tx/index.js +0 -18
- package/dist/src/domain/model/deposit-tx/index.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.d.ts +0 -13
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.js +0 -69
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.js.map +0 -1
- package/dist/src/domain/model/submit-transaction/dtos/submitPayment.dto.d.ts +0 -4
- package/dist/src/domain/model/submit-transaction/dtos/submitPayment.dto.js +0 -27
- package/dist/src/domain/model/submit-transaction/dtos/submitPayment.dto.js.map +0 -1
- package/dist/src/domain/model/transaction/types/BaseTransaction.d.ts +0 -14
- package/dist/src/domain/model/transaction/types/BaseTransaction.js +0 -3
- package/dist/src/domain/model/transaction/types/BaseTransaction.js.map +0 -1
- package/dist/src/domain/model/transaction/types/index.d.ts +0 -1
- package/dist/src/domain/model/transaction/types/index.js +0 -18
- package/dist/src/domain/model/transaction/types/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heliofi/common",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.117",
|
|
5
5
|
"description": "Common package",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"typescript": "5.*"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "690b81f7662f7556d2891e8c26d920050955d55e"
|
|
37
37
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CompanyDailyStatsEntity = void 0;
|
|
4
|
-
const entity_1 = require("../../entity");
|
|
5
|
-
class CompanyDailyStatsEntity extends entity_1.Entity {
|
|
6
|
-
}
|
|
7
|
-
exports.CompanyDailyStatsEntity = CompanyDailyStatsEntity;
|
|
8
|
-
//# sourceMappingURL=companyDailyStats.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"companyDailyStats.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company-stats/entities/companyDailyStats.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,uBAAwB,SAAQ,eAAM;CAElD;AAFD,0DAEC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CompanyDayStatEntity = void 0;
|
|
4
|
-
const entity_1 = require("../../entity");
|
|
5
|
-
class CompanyDayStatEntity extends entity_1.Entity {
|
|
6
|
-
}
|
|
7
|
-
exports.CompanyDayStatEntity = CompanyDayStatEntity;
|
|
8
|
-
//# sourceMappingURL=companyDayStat.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"companyDayStat.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company-stats/entities/companyDayStat.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,oBAAqB,SAAQ,eAAM;CAI/C;AAJD,oDAIC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
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.BaseDepositTx = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const Entity_1 = require("../../entity/Entity");
|
|
15
|
-
class BaseDepositTx extends Entity_1.Entity {
|
|
16
|
-
}
|
|
17
|
-
exports.BaseDepositTx = BaseDepositTx;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
20
|
-
__metadata("design:type", BigInt)
|
|
21
|
-
], BaseDepositTx.prototype, "fee", void 0);
|
|
22
|
-
//# sourceMappingURL=BaseDepositTx.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseDepositTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-tx/entities/BaseDepositTx.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,gDAA6C;AAG7C,MAAa,aAAc,SAAQ,eAAM;CASxC;AATD,sCASC;AAPC;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;0CAC5B"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BaseDepositTx } from './BaseDepositTx';
|
|
2
|
-
import { TransactionMeta } from '../../transaction-meta';
|
|
3
|
-
import { DepositCustomerEntity, DepositEnrichedEntity } from '../../deposit/entities';
|
|
4
|
-
import { BlockchainSymbol } from '../../blockchain';
|
|
5
|
-
import type { BaseTransaction } from '../../transaction/types';
|
|
6
|
-
export declare class DepositTx extends BaseDepositTx implements BaseTransaction {
|
|
7
|
-
meta: TransactionMeta;
|
|
8
|
-
deposit: DepositEnrichedEntity;
|
|
9
|
-
depositCustomer: DepositCustomerEntity;
|
|
10
|
-
paymentRequestCreatorId: string;
|
|
11
|
-
paymentRequestName: string;
|
|
12
|
-
paymentRequestCurrencySymbol: string;
|
|
13
|
-
paymentRequestBlockchain: BlockchainSymbol;
|
|
14
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
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.DepositTx = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const BaseDepositTx_1 = require("./BaseDepositTx");
|
|
15
|
-
const transaction_meta_1 = require("../../transaction-meta");
|
|
16
|
-
const entities_1 = require("../../deposit/entities");
|
|
17
|
-
class DepositTx extends BaseDepositTx_1.BaseDepositTx {
|
|
18
|
-
}
|
|
19
|
-
exports.DepositTx = DepositTx;
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, class_transformer_1.Type)(() => transaction_meta_1.TransactionMeta),
|
|
22
|
-
__metadata("design:type", transaction_meta_1.TransactionMeta)
|
|
23
|
-
], DepositTx.prototype, "meta", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_transformer_1.Type)(() => entities_1.DepositEnrichedEntity),
|
|
26
|
-
__metadata("design:type", entities_1.DepositEnrichedEntity)
|
|
27
|
-
], DepositTx.prototype, "deposit", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_transformer_1.Type)(() => entities_1.DepositCustomerEntity),
|
|
30
|
-
__metadata("design:type", entities_1.DepositCustomerEntity)
|
|
31
|
-
], DepositTx.prototype, "depositCustomer", void 0);
|
|
32
|
-
//# sourceMappingURL=DepositTx.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DepositTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-tx/entities/DepositTx.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,mDAAgD;AAChD,6DAAyD;AACzD,qDAGgC;AAIhC,MAAa,SAAU,SAAQ,6BAAa;CAiB3C;AAjBD,8BAiBC;AAfC;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kCAAe,CAAC;8BACtB,kCAAe;uCAAC;AAGtB;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACzB,gCAAqB;0CAAC;AAG/B;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACjB,gCAAqB;kDAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
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("./BaseDepositTx"), exports);
|
|
18
|
-
__exportStar(require("./DepositTx"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-tx/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,8CAA4B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './entities';
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./entities"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/deposit-tx/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CustomerDetailsDto } from '../../customer-details';
|
|
2
|
-
import { ProductDetailsDto } from '../../product-details';
|
|
3
|
-
export declare class PreparePaymentDto {
|
|
4
|
-
paymentRequestId: string;
|
|
5
|
-
senderPublicKey: string;
|
|
6
|
-
currencyId?: string;
|
|
7
|
-
quantity?: number;
|
|
8
|
-
minimalUnitAmount?: bigint;
|
|
9
|
-
affiliateCode?: string;
|
|
10
|
-
customerDetails?: CustomerDetailsDto;
|
|
11
|
-
productDetails?: ProductDetailsDto;
|
|
12
|
-
btcPublicKey?: string;
|
|
13
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
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.PreparePaymentDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const customer_details_1 = require("../../customer-details");
|
|
16
|
-
const product_details_1 = require("../../product-details");
|
|
17
|
-
class PreparePaymentDto {
|
|
18
|
-
}
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.IsMongoId)(),
|
|
21
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], PreparePaymentDto.prototype, "paymentRequestId", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsString)(),
|
|
26
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], PreparePaymentDto.prototype, "senderPublicKey", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, class_validator_1.IsMongoId)(),
|
|
31
|
-
(0, class_validator_1.IsOptional)(),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], PreparePaymentDto.prototype, "currencyId", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsNumber)({ allowInfinity: false, allowNaN: false, maxDecimalPlaces: 0 }),
|
|
36
|
-
(0, class_validator_1.IsOptional)(),
|
|
37
|
-
__metadata("design:type", Number)
|
|
38
|
-
], PreparePaymentDto.prototype, "quantity", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_validator_1.IsOptional)(),
|
|
41
|
-
(0, class_transformer_1.Transform)(({ value }) => value === undefined || value === null || value === ''
|
|
42
|
-
? undefined
|
|
43
|
-
: BigInt(value), { toClassOnly: true }),
|
|
44
|
-
__metadata("design:type", BigInt)
|
|
45
|
-
], PreparePaymentDto.prototype, "minimalUnitAmount", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, class_validator_1.IsString)(),
|
|
48
|
-
(0, class_validator_1.IsOptional)(),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], PreparePaymentDto.prototype, "affiliateCode", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, class_transformer_1.Type)(() => customer_details_1.CustomerDetailsDto),
|
|
53
|
-
(0, class_validator_1.ValidateNested)(),
|
|
54
|
-
(0, class_validator_1.IsOptional)(),
|
|
55
|
-
__metadata("design:type", customer_details_1.CustomerDetailsDto)
|
|
56
|
-
], PreparePaymentDto.prototype, "customerDetails", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, class_transformer_1.Type)(() => product_details_1.ProductDetailsDto),
|
|
59
|
-
(0, class_validator_1.ValidateNested)(),
|
|
60
|
-
(0, class_validator_1.IsOptional)(),
|
|
61
|
-
__metadata("design:type", product_details_1.ProductDetailsDto)
|
|
62
|
-
], PreparePaymentDto.prototype, "productDetails", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, class_validator_1.IsString)(),
|
|
65
|
-
(0, class_validator_1.IsOptional)(),
|
|
66
|
-
__metadata("design:type", String)
|
|
67
|
-
], PreparePaymentDto.prototype, "btcPublicKey", void 0);
|
|
68
|
-
exports.PreparePaymentDto = PreparePaymentDto;
|
|
69
|
-
//# sourceMappingURL=preparePayment.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preparePayment.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/preparePayment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAoD;AACpD,6DAA4D;AAC5D,2DAA0D;AAG1D,MAAa,iBAAiB;CA4C7B;AA3CC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACW;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACO;AAEpB;IAAC,IAAA,0BAAQ,EAAC,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,gBAAgB,EAAE,CAAC,EAAE,CAAC;IACxE,IAAA,4BAAU,GAAE;;mDACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EACR,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CACZ,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,EAAE;QACnD,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACnB,EAAE,WAAW,EAAE,IAAI,EAAE,CACtB;;4DAC0B;AAE3B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACU;AAEvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;0DAAC;AAErC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;yDAAC;AAEnC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACS;AA3CxB,8CA4CC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
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.SubmitPaymentDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class SubmitPaymentDto {
|
|
15
|
-
}
|
|
16
|
-
__decorate([
|
|
17
|
-
(0, class_validator_1.IsString)(),
|
|
18
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], SubmitPaymentDto.prototype, "signedTransaction", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsString)(),
|
|
23
|
-
(0, class_validator_1.IsOptional)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], SubmitPaymentDto.prototype, "transactionToken", void 0);
|
|
26
|
-
exports.SubmitPaymentDto = SubmitPaymentDto;
|
|
27
|
-
//# sourceMappingURL=submitPayment.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"submitPayment.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/submit-transaction/dtos/submitPayment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAGnE,MAAa,gBAAgB;CAQ5B;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACY;AAP3B,4CAQC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BlockchainSymbol } from '../../blockchain';
|
|
2
|
-
import { PaymentRequestType } from '../../payment-request';
|
|
3
|
-
import { ShallowEnrichedTransactionMeta, TransactionMeta } from '../../transaction-meta';
|
|
4
|
-
export interface BaseTransaction {
|
|
5
|
-
id: string;
|
|
6
|
-
meta: ShallowEnrichedTransactionMeta | TransactionMeta;
|
|
7
|
-
paymentType: PaymentRequestType;
|
|
8
|
-
paymentRequestCreatorId: string;
|
|
9
|
-
paymentRequestName: string;
|
|
10
|
-
paymentRequestCurrencySymbol: string;
|
|
11
|
-
paymentRequestBlockchain: BlockchainSymbol;
|
|
12
|
-
fee?: bigint;
|
|
13
|
-
createdAt: string;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTransaction.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction/types/BaseTransaction.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './BaseTransaction';
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./BaseTransaction"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|