@escapenavigator/types 1.6.22 → 1.6.23
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/client/client.ro.d.ts +6 -6
- package/dist/client/client.ro.js +83 -0
- package/dist/emails/send-email.dto.d.ts +0 -1
- package/dist/emails/send-email.dto.js +0 -5
- package/dist/order/create-order.dto.d.ts +1 -0
- package/dist/order/order.ro.d.ts +65 -68
- package/dist/order/order.ro.js +299 -0
- package/dist/order/update-players.dto.d.ts +1 -2
- package/dist/order/update-players.dto.js +0 -6
- package/dist/order-upselling/create-order-upselling.dto.d.ts +1 -0
- package/dist/profile/action/create-profile-action.dto.js +2 -0
- package/dist/profile/admin-profile.ro.d.ts +2 -1
- package/dist/profile/admin-profile.ro.js +6 -4
- package/dist/profile/contacts/create-profile-contact.dto.d.ts +10 -0
- package/dist/profile/contacts/create-profile-contact.dto.js +57 -0
- package/dist/profile/contacts/profile-contact.ro.d.ts +11 -0
- package/dist/profile/contacts/profile-contact.ro.js +53 -0
- package/dist/profile/create-profile.dto.d.ts +0 -1
- package/dist/profile/create-profile.dto.js +0 -5
- package/dist/shared/ro-class.d.ts +4 -0
- package/dist/shared/ro-class.js +24 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -14,6 +14,7 @@ exports.AdminProfileRO = void 0;
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
16
16
|
const profile_action_dto_1 = require("./action/profile-action.dto");
|
|
17
|
+
const profile_contact_ro_1 = require("./contacts/profile-contact.ro");
|
|
17
18
|
const profile_step_enum_1 = require("./enum/profile-step.enum");
|
|
18
19
|
const profile_subscription_enum_1 = require("./enum/profile-subscription.enum");
|
|
19
20
|
class AdminProfileRO {
|
|
@@ -54,10 +55,6 @@ __decorate([
|
|
|
54
55
|
(0, class_transformer_1.Expose)(),
|
|
55
56
|
__metadata("design:type", String)
|
|
56
57
|
], AdminProfileRO.prototype, "site", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, class_transformer_1.Expose)(),
|
|
59
|
-
__metadata("design:type", String)
|
|
60
|
-
], AdminProfileRO.prototype, "contactId", void 0);
|
|
61
58
|
__decorate([
|
|
62
59
|
(0, class_transformer_1.Expose)(),
|
|
63
60
|
__metadata("design:type", String)
|
|
@@ -123,4 +120,9 @@ __decorate([
|
|
|
123
120
|
(0, class_transformer_1.Type)(() => profile_action_dto_1.ProfileActionDto),
|
|
124
121
|
__metadata("design:type", Array)
|
|
125
122
|
], AdminProfileRO.prototype, "actions", void 0);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, class_transformer_1.Expose)(),
|
|
125
|
+
(0, class_transformer_1.Type)(() => profile_contact_ro_1.ProfileContctRO),
|
|
126
|
+
__metadata("design:type", Array)
|
|
127
|
+
], AdminProfileRO.prototype, "contacts", void 0);
|
|
126
128
|
exports.AdminProfileRO = AdminProfileRO;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.CreateProfileContactDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class CreateProfileContactDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsOptional)(),
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CreateProfileContactDto.prototype, "name", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CreateProfileContactDto.prototype, "facebook", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateProfileContactDto.prototype, "linkedin", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], CreateProfileContactDto.prototype, "phone", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], CreateProfileContactDto.prototype, "xing", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], CreateProfileContactDto.prototype, "email", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], CreateProfileContactDto.prototype, "comment", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsPositive)(),
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], CreateProfileContactDto.prototype, "profileId", void 0);
|
|
57
|
+
exports.CreateProfileContactDto = CreateProfileContactDto;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.ProfileContctRO = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class ProfileContctRO {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], ProfileContctRO.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], ProfileContctRO.prototype, "name", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], ProfileContctRO.prototype, "facebook", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], ProfileContctRO.prototype, "linkedin", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ProfileContctRO.prototype, "xing", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], ProfileContctRO.prototype, "phone", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], ProfileContctRO.prototype, "email", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], ProfileContctRO.prototype, "comment", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], ProfileContctRO.prototype, "profileId", void 0);
|
|
53
|
+
exports.ProfileContctRO = ProfileContctRO;
|
|
@@ -79,11 +79,6 @@ __decorate([
|
|
|
79
79
|
(0, class_transformer_1.Expose)(),
|
|
80
80
|
__metadata("design:type", String)
|
|
81
81
|
], CreateProfileDto.prototype, "facebook", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, class_validator_1.IsOptional)(),
|
|
84
|
-
(0, class_transformer_1.Expose)(),
|
|
85
|
-
__metadata("design:type", String)
|
|
86
|
-
], CreateProfileDto.prototype, "contactId", void 0);
|
|
87
82
|
__decorate([
|
|
88
83
|
(0, class_validator_1.IsArray)(),
|
|
89
84
|
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
|
|
@@ -0,0 +1,24 @@
|
|
|
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.RO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class RO {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_transformer_1.Expose)(),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], RO.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", Date)
|
|
23
|
+
], RO.prototype, "createdAt", void 0);
|
|
24
|
+
exports.RO = RO;
|