@escapenavigator/types 1.6.88 → 1.6.89
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/openapi/widget/openapi-widget-info.ro.d.ts +1 -0
- package/dist/openapi/widget/openapi-widget-info.ro.js +4 -0
- package/dist/profile/action/create-profile-action.dto.d.ts +1 -1
- package/dist/profile/action/create-profile-action.dto.js +10 -10
- package/dist/profile/action/profile-action.dto.d.ts +1 -1
- package/dist/profile/action/profile-action.dto.js +13 -13
- package/dist/profile/admin-profile.ro.d.ts +2 -2
- package/dist/profile/admin-profile.ro.js +1 -1
- package/dist/profile/api-key/profile-api-key.ro.d.ts +5 -0
- package/dist/profile/api-key/profile-api-key.ro.js +29 -0
- package/dist/profile/widget-customization/update-widget-customization.dto.d.ts +1 -0
- package/dist/profile/widget-customization/update-widget-customization.dto.js +5 -0
- package/dist/profile/widget-customization/widget-customization.ro.d.ts +1 -0
- package/dist/profile/widget-customization/widget-customization.ro.js +4 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -35,6 +35,10 @@ __decorate([
|
|
|
35
35
|
(0, class_transformer_1.Expose)(),
|
|
36
36
|
__metadata("design:type", Boolean)
|
|
37
37
|
], Customization.prototype, "showOtherQuests", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", Boolean)
|
|
41
|
+
], Customization.prototype, "showCertificatesButton", void 0);
|
|
38
42
|
__decorate([
|
|
39
43
|
(0, class_transformer_1.Expose)(),
|
|
40
44
|
__metadata("design:type", String)
|
|
@@ -9,46 +9,46 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.CreateProfileActionRO = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
16
|
-
class
|
|
16
|
+
class CreateProfileActionRO {
|
|
17
17
|
}
|
|
18
18
|
__decorate([
|
|
19
19
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
20
20
|
(0, class_transformer_1.Expose)(),
|
|
21
21
|
__metadata("design:type", String)
|
|
22
|
-
],
|
|
22
|
+
], CreateProfileActionRO.prototype, "type", void 0);
|
|
23
23
|
__decorate([
|
|
24
24
|
(0, class_validator_1.IsOptional)(),
|
|
25
25
|
(0, class_transformer_1.Expose)(),
|
|
26
26
|
__metadata("design:type", String)
|
|
27
|
-
],
|
|
27
|
+
], CreateProfileActionRO.prototype, "description", void 0);
|
|
28
28
|
__decorate([
|
|
29
29
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
30
30
|
(0, class_transformer_1.Expose)(),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
|
-
],
|
|
32
|
+
], CreateProfileActionRO.prototype, "date", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, class_validator_1.IsOptional)(),
|
|
35
35
|
(0, class_validator_1.IsMilitaryTime)(),
|
|
36
36
|
(0, class_transformer_1.Expose)(),
|
|
37
37
|
__metadata("design:type", String)
|
|
38
|
-
],
|
|
38
|
+
], CreateProfileActionRO.prototype, "time", void 0);
|
|
39
39
|
__decorate([
|
|
40
40
|
(0, class_validator_1.IsPositive)(),
|
|
41
41
|
(0, class_transformer_1.Expose)(),
|
|
42
42
|
__metadata("design:type", Number)
|
|
43
|
-
],
|
|
43
|
+
], CreateProfileActionRO.prototype, "profileId", void 0);
|
|
44
44
|
__decorate([
|
|
45
45
|
(0, class_validator_1.IsOptional)(),
|
|
46
46
|
(0, class_transformer_1.Expose)(),
|
|
47
47
|
__metadata("design:type", Number)
|
|
48
|
-
],
|
|
48
|
+
], CreateProfileActionRO.prototype, "prevActionId", void 0);
|
|
49
49
|
__decorate([
|
|
50
50
|
(0, class_validator_1.IsOptional)(),
|
|
51
51
|
(0, class_transformer_1.Expose)(),
|
|
52
52
|
__metadata("design:type", String)
|
|
53
|
-
],
|
|
54
|
-
exports.
|
|
53
|
+
], CreateProfileActionRO.prototype, "prevResult", void 0);
|
|
54
|
+
exports.CreateProfileActionRO = CreateProfileActionRO;
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.ProfileActionRO = void 0;
|
|
13
13
|
/* eslint-disable max-classes-per-file */
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
class Profile {
|
|
@@ -22,47 +22,47 @@ __decorate([
|
|
|
22
22
|
(0, class_transformer_1.Expose)(),
|
|
23
23
|
__metadata("design:type", String)
|
|
24
24
|
], Profile.prototype, "title", void 0);
|
|
25
|
-
class
|
|
25
|
+
class ProfileActionRO {
|
|
26
26
|
}
|
|
27
27
|
__decorate([
|
|
28
28
|
(0, class_transformer_1.Expose)(),
|
|
29
29
|
__metadata("design:type", Number)
|
|
30
|
-
],
|
|
30
|
+
], ProfileActionRO.prototype, "id", void 0);
|
|
31
31
|
__decorate([
|
|
32
32
|
(0, class_transformer_1.Expose)(),
|
|
33
33
|
(0, class_transformer_1.Type)(() => Profile),
|
|
34
34
|
__metadata("design:type", Profile)
|
|
35
|
-
],
|
|
35
|
+
], ProfileActionRO.prototype, "profile", void 0);
|
|
36
36
|
__decorate([
|
|
37
37
|
(0, class_transformer_1.Expose)(),
|
|
38
38
|
__metadata("design:type", Date)
|
|
39
|
-
],
|
|
39
|
+
], ProfileActionRO.prototype, "createdAt", void 0);
|
|
40
40
|
__decorate([
|
|
41
41
|
(0, class_transformer_1.Expose)(),
|
|
42
42
|
__metadata("design:type", String)
|
|
43
|
-
],
|
|
43
|
+
], ProfileActionRO.prototype, "author", void 0);
|
|
44
44
|
__decorate([
|
|
45
45
|
(0, class_transformer_1.Expose)(),
|
|
46
46
|
__metadata("design:type", String)
|
|
47
|
-
],
|
|
47
|
+
], ProfileActionRO.prototype, "type", void 0);
|
|
48
48
|
__decorate([
|
|
49
49
|
(0, class_transformer_1.Expose)(),
|
|
50
50
|
__metadata("design:type", String)
|
|
51
|
-
],
|
|
51
|
+
], ProfileActionRO.prototype, "description", void 0);
|
|
52
52
|
__decorate([
|
|
53
53
|
(0, class_transformer_1.Expose)(),
|
|
54
54
|
__metadata("design:type", String)
|
|
55
|
-
],
|
|
55
|
+
], ProfileActionRO.prototype, "result", void 0);
|
|
56
56
|
__decorate([
|
|
57
57
|
(0, class_transformer_1.Expose)(),
|
|
58
58
|
__metadata("design:type", String)
|
|
59
|
-
],
|
|
59
|
+
], ProfileActionRO.prototype, "date", void 0);
|
|
60
60
|
__decorate([
|
|
61
61
|
(0, class_transformer_1.Expose)(),
|
|
62
62
|
__metadata("design:type", String)
|
|
63
|
-
],
|
|
63
|
+
], ProfileActionRO.prototype, "time", void 0);
|
|
64
64
|
__decorate([
|
|
65
65
|
(0, class_transformer_1.Expose)(),
|
|
66
66
|
__metadata("design:type", Boolean)
|
|
67
|
-
],
|
|
68
|
-
exports.
|
|
67
|
+
], ProfileActionRO.prototype, "done", void 0);
|
|
68
|
+
exports.ProfileActionRO = ProfileActionRO;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
2
|
-
import {
|
|
2
|
+
import { ProfileActionRO } from './action/profile-action.dto';
|
|
3
3
|
import { ProfileContctRO } from './contacts/profile-contact.ro';
|
|
4
4
|
import { CrmVerificationEnum } from './enum/crm-verifiaction.enum';
|
|
5
5
|
import { PartnerProgramEnum } from './enum/partner-program.enum';
|
|
@@ -46,7 +46,7 @@ export declare class AdminProfileRO {
|
|
|
46
46
|
questroomsDeletedCount: number;
|
|
47
47
|
lastVisit: Date;
|
|
48
48
|
crm: string;
|
|
49
|
-
actions:
|
|
49
|
+
actions: ProfileActionRO[];
|
|
50
50
|
contacts: ProfileContctRO[];
|
|
51
51
|
}
|
|
52
52
|
export {};
|
|
@@ -172,7 +172,7 @@ __decorate([
|
|
|
172
172
|
], AdminProfileRO.prototype, "crm", void 0);
|
|
173
173
|
__decorate([
|
|
174
174
|
(0, class_transformer_1.Expose)(),
|
|
175
|
-
(0, class_transformer_1.Type)(() => profile_action_dto_1.
|
|
175
|
+
(0, class_transformer_1.Type)(() => profile_action_dto_1.ProfileActionRO),
|
|
176
176
|
__metadata("design:type", Array)
|
|
177
177
|
], AdminProfileRO.prototype, "actions", void 0);
|
|
178
178
|
__decorate([
|
|
@@ -0,0 +1,29 @@
|
|
|
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.ProfileApiKeyRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class ProfileApiKeyRO {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_transformer_1.Expose)(),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], ProfileApiKeyRO.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", Date)
|
|
23
|
+
], ProfileApiKeyRO.prototype, "createdAt", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, class_transformer_1.Transform)(({ value }) => `****${value.slice(-20)}`),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], ProfileApiKeyRO.prototype, "key", void 0);
|
|
29
|
+
exports.ProfileApiKeyRO = ProfileApiKeyRO;
|
|
@@ -41,6 +41,11 @@ __decorate([
|
|
|
41
41
|
(0, class_transformer_1.Expose)(),
|
|
42
42
|
__metadata("design:type", Boolean)
|
|
43
43
|
], UpdateWidgetCustomizationDto.prototype, "showOtherQuests", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_validator_1.IsBoolean)(),
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
__metadata("design:type", Boolean)
|
|
48
|
+
], UpdateWidgetCustomizationDto.prototype, "showCertificatesButton", void 0);
|
|
44
49
|
__decorate([
|
|
45
50
|
(0, class_validator_1.IsHexColor)(),
|
|
46
51
|
(0, class_transformer_1.Expose)(),
|
|
@@ -27,6 +27,10 @@ __decorate([
|
|
|
27
27
|
(0, class_transformer_1.Expose)(),
|
|
28
28
|
__metadata("design:type", Boolean)
|
|
29
29
|
], WidgetCustomizationRO.prototype, "showOtherQuests", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", Boolean)
|
|
33
|
+
], WidgetCustomizationRO.prototype, "showCertificatesButton", void 0);
|
|
30
34
|
__decorate([
|
|
31
35
|
(0, class_transformer_1.Expose)(),
|
|
32
36
|
__metadata("design:type", String)
|