@heliofi/common 0.2.90 → 0.2.91
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/bannedCountries.d.ts +1 -0
- package/dist/src/domain/constants/bannedCountries.js +42 -0
- package/dist/src/domain/constants/bannedCountries.js.map +1 -0
- 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/model/report/entities/ReportItem.entity.d.ts +0 -2
- package/dist/src/domain/model/report/entities/ReportItem.entity.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.d.ts +0 -11
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.js +0 -57
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.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.91",
|
|
5
5
|
"description": "Common package",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"ts-loader": "^9.3.1",
|
|
32
32
|
"typescript": "4.8.4"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "189fefc3777dfefceec49d33569c35c98c17ca49"
|
|
35
35
|
}
|
|
@@ -1,11 +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
|
-
affiliateCode?: string;
|
|
9
|
-
customerDetails?: CustomerDetailsDto;
|
|
10
|
-
productDetails?: ProductDetailsDto;
|
|
11
|
-
}
|
|
@@ -1,57 +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.IsString)(),
|
|
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.IsString)(),
|
|
31
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], PreparePaymentDto.prototype, "currencyId", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsNumber)(),
|
|
36
|
-
(0, class_validator_1.IsOptional)(),
|
|
37
|
-
__metadata("design:type", Number)
|
|
38
|
-
], PreparePaymentDto.prototype, "quantity", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_validator_1.IsString)(),
|
|
41
|
-
(0, class_validator_1.IsOptional)(),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], PreparePaymentDto.prototype, "affiliateCode", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_transformer_1.Type)(() => customer_details_1.CustomerDetailsDto),
|
|
46
|
-
(0, class_validator_1.ValidateNested)(),
|
|
47
|
-
(0, class_validator_1.IsOptional)(),
|
|
48
|
-
__metadata("design:type", customer_details_1.CustomerDetailsDto)
|
|
49
|
-
], PreparePaymentDto.prototype, "customerDetails", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, class_transformer_1.Type)(() => product_details_1.ProductDetailsDto),
|
|
52
|
-
(0, class_validator_1.ValidateNested)(),
|
|
53
|
-
(0, class_validator_1.IsOptional)(),
|
|
54
|
-
__metadata("design:type", product_details_1.ProductDetailsDto)
|
|
55
|
-
], PreparePaymentDto.prototype, "productDetails", void 0);
|
|
56
|
-
exports.PreparePaymentDto = PreparePaymentDto;
|
|
57
|
-
//# 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,qDAMyB;AACzB,yDAAyC;AACzC,6DAA4D;AAC5D,2DAA0D;AAE1D,MAAa,iBAAiB;CA8B7B;AA7BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACM;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACK;AAElB;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;AA7BrC,8CA8BC"}
|