@escapenavigator/types 1.10.34 → 1.10.36
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/profile/action/create-profile-action.dto.d.ts +0 -7
- package/dist/profile/action/create-profile-action.dto.js +0 -41
- package/dist/profile/action/{profile-action.dto.d.ts → profile-action.ro.d.ts} +0 -3
- package/dist/profile/action/{profile-action.dto.js → profile-action.ro.js} +0 -12
- package/dist/profile/admin-dashboard-profile.ro.d.ts +1 -1
- package/dist/profile/admin-dashboard-profile.ro.js +2 -2
- package/dist/profile/admin-profile.ro.d.ts +1 -1
- package/dist/profile/admin-profile.ro.js +2 -2
- package/dist/profile/enum/profile-sales-status.enum.d.ts +1 -0
- package/dist/profile/enum/profile-sales-status.enum.js +1 -0
- package/dist/profile/query-admin-profile.dto.d.ts +1 -1
- package/dist/profile/query-admin-profile.dto.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/certificate-sale/legacy/update-certificatesale-delivery-info.dto.d.ts +0 -18
- package/dist/certificate-sale/legacy/update-certificatesale-delivery-info.dto.js +0 -107
- package/dist/profile/action/update-profile-action.dto.d.ts +0 -10
- package/dist/profile/action/update-profile-action.dto.js +0 -59
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/types",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.36",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"class-transformer": "^0.5.1",
|
|
22
22
|
"class-validator": "^0.13.2"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "bc0479991406fe83b190ad92f55db32be530a033",
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/validator": "13.0.0",
|
|
27
27
|
"alphakit-presets-lint": "^1.0.0",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CertificatesaleDeliveryTypeEnum } from '../enum/certificatesales-delivery-type.enum';
|
|
2
|
-
export declare class UpdateCertificatesaleDeliveryInfoDto {
|
|
3
|
-
deliveryType: CertificatesaleDeliveryTypeEnum;
|
|
4
|
-
sameRecipient: boolean;
|
|
5
|
-
saveAddress: boolean;
|
|
6
|
-
sendAfterPayment: boolean;
|
|
7
|
-
deliveryEmail: string;
|
|
8
|
-
deliveryName: string;
|
|
9
|
-
deliverySurname: string;
|
|
10
|
-
deliveryPhone: string;
|
|
11
|
-
deliveryAddress: string;
|
|
12
|
-
deliveryHouse: string;
|
|
13
|
-
deliveryApart: string;
|
|
14
|
-
deliveryComment: string;
|
|
15
|
-
deliveryMessage: string;
|
|
16
|
-
sendingDate: string;
|
|
17
|
-
sendingTime: string;
|
|
18
|
-
}
|
|
@@ -1,107 +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.UpdateCertificatesaleDeliveryInfoDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
16
|
-
const certificatesales_delivery_type_enum_1 = require("../enum/certificatesales-delivery-type.enum");
|
|
17
|
-
class UpdateCertificatesaleDeliveryInfoDto {
|
|
18
|
-
}
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.IsEnum)(certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum),
|
|
21
|
-
(0, class_transformer_1.Expose)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "deliveryType", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsBoolean)(),
|
|
26
|
-
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? false : value)),
|
|
27
|
-
(0, class_transformer_1.Expose)(),
|
|
28
|
-
__metadata("design:type", Boolean)
|
|
29
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "sameRecipient", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsBoolean)(),
|
|
32
|
-
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? false : value)),
|
|
33
|
-
(0, class_transformer_1.Expose)(),
|
|
34
|
-
__metadata("design:type", Boolean)
|
|
35
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "saveAddress", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, class_validator_1.IsBoolean)(),
|
|
38
|
-
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? true : value)),
|
|
39
|
-
(0, class_transformer_1.Expose)(),
|
|
40
|
-
__metadata("design:type", Boolean)
|
|
41
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "sendAfterPayment", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.EMAIL),
|
|
44
|
-
(0, class_transformer_1.Expose)(),
|
|
45
|
-
(0, class_transformer_1.Transform)(({ value }) => value === null || value === void 0 ? void 0 : value.trim().toLowerCase()),
|
|
46
|
-
(0, class_validator_1.IsEmail)(),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "deliveryEmail", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.POST),
|
|
51
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
52
|
-
(0, class_transformer_1.Expose)(),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "deliveryName", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.POST),
|
|
57
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
58
|
-
(0, class_transformer_1.Expose)(),
|
|
59
|
-
__metadata("design:type", String)
|
|
60
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "deliverySurname", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.POST),
|
|
63
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
64
|
-
(0, class_transformer_1.Expose)(),
|
|
65
|
-
__metadata("design:type", String)
|
|
66
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "deliveryPhone", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.POST),
|
|
69
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
70
|
-
(0, class_transformer_1.Expose)(),
|
|
71
|
-
__metadata("design:type", String)
|
|
72
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "deliveryAddress", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.POST),
|
|
75
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
76
|
-
(0, class_transformer_1.Expose)(),
|
|
77
|
-
__metadata("design:type", String)
|
|
78
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "deliveryHouse", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, class_validator_1.IsOptional)(),
|
|
81
|
-
(0, class_transformer_1.Expose)(),
|
|
82
|
-
__metadata("design:type", String)
|
|
83
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "deliveryApart", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, class_validator_1.IsOptional)(),
|
|
86
|
-
(0, class_transformer_1.Expose)(),
|
|
87
|
-
__metadata("design:type", String)
|
|
88
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "deliveryComment", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, class_validator_1.IsOptional)(),
|
|
91
|
-
(0, class_transformer_1.Expose)(),
|
|
92
|
-
__metadata("design:type", String)
|
|
93
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "deliveryMessage", void 0);
|
|
94
|
-
__decorate([
|
|
95
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
96
|
-
(0, class_validator_1.ValidateIf)((row) => !row.sendAfterPayment && row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.EMAIL),
|
|
97
|
-
(0, class_transformer_1.Expose)(),
|
|
98
|
-
__metadata("design:type", String)
|
|
99
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "sendingDate", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
(0, class_validator_1.IsMilitaryTime)(),
|
|
102
|
-
(0, class_validator_1.Length)(5),
|
|
103
|
-
(0, class_validator_1.ValidateIf)((row) => !row.sendAfterPayment && row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.EMAIL),
|
|
104
|
-
(0, class_transformer_1.Expose)(),
|
|
105
|
-
__metadata("design:type", String)
|
|
106
|
-
], UpdateCertificatesaleDeliveryInfoDto.prototype, "sendingTime", void 0);
|
|
107
|
-
exports.UpdateCertificatesaleDeliveryInfoDto = UpdateCertificatesaleDeliveryInfoDto;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ProfileSalesStatus } from '../enum/profile-sales-status.enum';
|
|
2
|
-
export declare class UpdateProfileActionRO {
|
|
3
|
-
salesStatus: ProfileSalesStatus;
|
|
4
|
-
result: string;
|
|
5
|
-
success: boolean;
|
|
6
|
-
nextActionType: string;
|
|
7
|
-
nextActionDescription: string;
|
|
8
|
-
nextActionDate: string;
|
|
9
|
-
nextActionTime: string;
|
|
10
|
-
}
|
|
@@ -1,59 +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.UpdateProfileActionRO = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
16
|
-
const profile_sales_status_enum_1 = require("../enum/profile-sales-status.enum");
|
|
17
|
-
class UpdateProfileActionRO {
|
|
18
|
-
}
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.IsOptional)(),
|
|
21
|
-
(0, class_transformer_1.Expose)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], UpdateProfileActionRO.prototype, "salesStatus", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
26
|
-
(0, class_transformer_1.Expose)(),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], UpdateProfileActionRO.prototype, "result", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, class_validator_1.IsBoolean)(),
|
|
31
|
-
(0, class_transformer_1.Expose)(),
|
|
32
|
-
__metadata("design:type", Boolean)
|
|
33
|
-
], UpdateProfileActionRO.prototype, "success", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.ValidateIf)(({ success }) => success),
|
|
36
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
37
|
-
(0, class_transformer_1.Expose)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], UpdateProfileActionRO.prototype, "nextActionType", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_validator_1.ValidateIf)(({ success }) => success),
|
|
42
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
43
|
-
(0, class_transformer_1.Expose)(),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], UpdateProfileActionRO.prototype, "nextActionDescription", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, class_validator_1.ValidateIf)(({ success }) => success),
|
|
48
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
49
|
-
(0, class_transformer_1.Expose)(),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], UpdateProfileActionRO.prototype, "nextActionDate", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, class_validator_1.ValidateIf)(({ success }) => success),
|
|
54
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
55
|
-
(0, class_validator_1.IsMilitaryTime)(),
|
|
56
|
-
(0, class_transformer_1.Expose)(),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], UpdateProfileActionRO.prototype, "nextActionTime", void 0);
|
|
59
|
-
exports.UpdateProfileActionRO = UpdateProfileActionRO;
|