@heliofi/common 0.1.333 → 0.1.334
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/customer-details/dtos/customerDetails.dto.d.ts +2 -2
- package/dist/src/domain/model/customer-details/dtos/customerDetails.dto.js +3 -3
- package/dist/src/domain/model/customer-details/dtos/customerDetails.dto.js.map +1 -1
- package/dist/src/domain/model/customer-details/dtos/customerDetailsBtcProperties.dto.d.ts +3 -0
- package/dist/src/domain/model/customer-details/dtos/customerDetailsBtcProperties.dto.js +26 -0
- package/dist/src/domain/model/customer-details/dtos/customerDetailsBtcProperties.dto.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DiscordUserDto } from '../../discord-user';
|
|
2
|
-
import {
|
|
2
|
+
import { CustomerDetailsBtcPropertiesDto } from './customerDetailsBtcProperties.dto';
|
|
3
3
|
export declare class CustomerDetailsDto {
|
|
4
4
|
email?: string;
|
|
5
5
|
discordUsername?: string;
|
|
@@ -16,5 +16,5 @@ export declare class CustomerDetailsDto {
|
|
|
16
16
|
phoneNumber?: string;
|
|
17
17
|
additionalJSON?: string;
|
|
18
18
|
tradingViewUsername?: string;
|
|
19
|
-
btcProperties?:
|
|
19
|
+
btcProperties?: CustomerDetailsBtcPropertiesDto;
|
|
20
20
|
}
|
|
@@ -13,7 +13,7 @@ exports.CustomerDetailsDto = void 0;
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const discord_user_1 = require("../../discord-user");
|
|
16
|
-
const
|
|
16
|
+
const customerDetailsBtcProperties_dto_1 = require("./customerDetailsBtcProperties.dto");
|
|
17
17
|
class CustomerDetailsDto {
|
|
18
18
|
}
|
|
19
19
|
__decorate([
|
|
@@ -94,10 +94,10 @@ __decorate([
|
|
|
94
94
|
__metadata("design:type", String)
|
|
95
95
|
], CustomerDetailsDto.prototype, "tradingViewUsername", void 0);
|
|
96
96
|
__decorate([
|
|
97
|
-
(0, class_transformer_1.Type)(() =>
|
|
97
|
+
(0, class_transformer_1.Type)(() => customerDetailsBtcProperties_dto_1.CustomerDetailsBtcPropertiesDto),
|
|
98
98
|
(0, class_validator_1.IsOptional)(),
|
|
99
99
|
(0, class_validator_1.ValidateNested)(),
|
|
100
|
-
__metadata("design:type",
|
|
100
|
+
__metadata("design:type", customerDetailsBtcProperties_dto_1.CustomerDetailsBtcPropertiesDto)
|
|
101
101
|
], CustomerDetailsDto.prototype, "btcProperties", void 0);
|
|
102
102
|
exports.CustomerDetailsDto = CustomerDetailsDto;
|
|
103
103
|
//# sourceMappingURL=customerDetails.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customerDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/customer-details/dtos/customerDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,yDAAyC;AACzC,qDAAoD;AACpD,
|
|
1
|
+
{"version":3,"file":"customerDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/customer-details/dtos/customerDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,yDAAyC;AACzC,qDAAoD;AACpD,yFAAqF;AAErF,MAAa,kBAAkB;CAsE9B;AArEC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;iDACK;AAKf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACY;AAEzB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACH,6BAAc;uDAAC;AAE7B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACgB;AAE7B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kEAA+B,CAAC;IAC3C,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACD,kEAA+B;yDAAC;AArElD,gDAsEC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.CustomerDetailsBtcPropertiesDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const MIN_BITCOIN_ADDRESS_LENGTH = 32;
|
|
15
|
+
const MAX_LENGTH_ORDINALS_TAPROOT_ADDRESS = 62;
|
|
16
|
+
class CustomerDetailsBtcPropertiesDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
(0, class_validator_1.MaxLength)(MAX_LENGTH_ORDINALS_TAPROOT_ADDRESS),
|
|
22
|
+
(0, class_validator_1.MinLength)(MIN_BITCOIN_ADDRESS_LENGTH),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CustomerDetailsBtcPropertiesDto.prototype, "ordinalsAddress", void 0);
|
|
25
|
+
exports.CustomerDetailsBtcPropertiesDto = CustomerDetailsBtcPropertiesDto;
|
|
26
|
+
//# sourceMappingURL=customerDetailsBtcProperties.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerDetailsBtcProperties.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/customer-details/dtos/customerDetailsBtcProperties.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6E;AAE7E,MAAM,0BAA0B,GAAG,EAAE,CAAC;AACtC,MAAM,mCAAmC,GAAG,EAAE,CAAC;AAC/C,MAAa,+BAA+B;CAM3C;AALC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,mCAAmC,CAAC;IAC9C,IAAA,2BAAS,EAAC,0BAA0B,CAAC;;wEACd;AAL1B,0EAMC"}
|