@heliofi/common 0.1.335 → 0.1.337
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 -0
- package/dist/src/domain/model/customer-details/dtos/customerDetails.dto.js +7 -0
- 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/src/domain/model/customer-details/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/customer-details/dtos/index.js +1 -0
- package/dist/src/domain/model/customer-details/dtos/index.js.map +1 -1
- package/dist/src/domain/model/nft-escrow/dtos/index.d.ts +0 -1
- package/dist/src/domain/model/nft-escrow/dtos/index.js +0 -1
- package/dist/src/domain/model/nft-escrow/dtos/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DiscordUserDto } from '../../discord-user';
|
|
2
|
+
import { CustomerDetailsBtcPropertiesDto } from './customerDetailsBtcProperties.dto';
|
|
2
3
|
export declare class CustomerDetailsDto {
|
|
3
4
|
email?: string;
|
|
4
5
|
discordUsername?: string;
|
|
@@ -15,4 +16,5 @@ export declare class CustomerDetailsDto {
|
|
|
15
16
|
phoneNumber?: string;
|
|
16
17
|
additionalJSON?: string;
|
|
17
18
|
tradingViewUsername?: string;
|
|
19
|
+
btcProperties?: CustomerDetailsBtcPropertiesDto;
|
|
18
20
|
}
|
|
@@ -13,6 +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 customerDetailsBtcProperties_dto_1 = require("./customerDetailsBtcProperties.dto");
|
|
16
17
|
class CustomerDetailsDto {
|
|
17
18
|
}
|
|
18
19
|
__decorate([
|
|
@@ -92,5 +93,11 @@ __decorate([
|
|
|
92
93
|
(0, class_validator_1.IsOptional)(),
|
|
93
94
|
__metadata("design:type", String)
|
|
94
95
|
], CustomerDetailsDto.prototype, "tradingViewUsername", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, class_transformer_1.Type)(() => customerDetailsBtcProperties_dto_1.CustomerDetailsBtcPropertiesDto),
|
|
98
|
+
(0, class_validator_1.IsOptional)(),
|
|
99
|
+
(0, class_validator_1.ValidateNested)(),
|
|
100
|
+
__metadata("design:type", customerDetailsBtcProperties_dto_1.CustomerDetailsBtcPropertiesDto)
|
|
101
|
+
], CustomerDetailsDto.prototype, "btcProperties", void 0);
|
|
95
102
|
exports.CustomerDetailsDto = CustomerDetailsDto;
|
|
96
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;
|
|
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"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./customerDetails.dto"), exports);
|
|
18
|
+
__exportStar(require("./customerDetailsBtcProperties.dto"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/customer-details/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/customer-details/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,qEAAmD"}
|
|
@@ -17,5 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./nftEscrowCreate.dto"), exports);
|
|
18
18
|
__exportStar(require("./nftEscrowCancel.dto"), exports);
|
|
19
19
|
__exportStar(require("./nftEscrowSubmit.dto"), exports);
|
|
20
|
-
__exportStar(require("./verifyCollections.dto"), exports);
|
|
21
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,wDAAsC;AACtC,wDAAsC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,wDAAsC;AACtC,wDAAsC"}
|