@escapenavigator/types 1.6.10 → 1.6.11
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/agregator/agregator-questroom.ro.d.ts +1 -0
- package/dist/agregator/dto/agregator-questrooms-search.dto.d.ts +1 -1
- package/dist/client/client-form.dto.d.ts +1 -0
- package/dist/client/client-form.dto.js +5 -0
- package/dist/emails/index.d.ts +1 -0
- package/dist/profile/admin-profile.ro.d.ts +32 -0
- package/dist/profile/admin-profile.ro.js +122 -0
- package/dist/profile/create-profile-message.dto.d.ts +4 -0
- package/dist/profile/create-profile-message.dto.js +28 -0
- package/dist/profile/email/create-profile-email.dto.d.ts +4 -0
- package/dist/profile/email/create-profile-email.dto.js +27 -0
- package/dist/profile/email/create-profile-sending.dto.d.ts +4 -0
- package/dist/profile/email/create-profile-sending.dto.js +27 -0
- package/dist/profile/email/profile-email.ro.d.ts +7 -0
- package/dist/profile/email/profile-email.ro.js +37 -0
- package/dist/profile/email/profile-letter.ro.d.ts +7 -0
- package/dist/profile/email/profile-letter.ro.js +35 -0
- package/dist/profile/enum/profile-step.enum.d.ts +5 -1
- package/dist/profile/enum/profile-step.enum.js +6 -0
- package/dist/profile/enum/profile-subscription.enum.d.ts +10 -0
- package/dist/profile/enum/profile-subscription.enum.js +14 -0
- package/dist/profile/profile-subscription.ro.d.ts +8 -0
- package/dist/profile/profile-subscription.ro.js +35 -0
- package/dist/profile/profile.ro.d.ts +5 -23
- package/dist/profile/profile.ro.js +90 -0
- package/dist/profile/update-current.dto.d.ts +0 -2
- package/dist/profile/update-current.dto.js +0 -7
- package/dist/questroom/agregator-questroom.ro.d.ts +1 -0
- package/dist/questroom/create-questroom.dto.d.ts +2 -0
- package/dist/questroom/create-questroom.dto.js +10 -0
- package/dist/questroom/questroom.ro.d.ts +2 -0
- package/dist/role/create-role.dto.d.ts +1 -0
- package/dist/role/create-role.dto.js +6 -0
- package/dist/role/role.ro.d.ts +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/upselling/create-upselling.dto.d.ts +1 -0
- package/dist/upselling/create-upselling.dto.js +6 -0
- package/dist/upselling/upselling.ro.d.ts +1 -0
- package/dist/widget-openapi/openapi-questroom.ro.d.ts +3 -0
- package/dist/widget-openapi/openapi-questroom.ro.js +11 -3
- package/package.json +2 -2
|
@@ -63,4 +63,9 @@ __decorate([
|
|
|
63
63
|
(0, class_transformer_1.Expose)(),
|
|
64
64
|
__metadata("design:type", String)
|
|
65
65
|
], ClientFormDto.prototype, "city", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsBoolean)(),
|
|
68
|
+
(0, class_transformer_1.Expose)(),
|
|
69
|
+
__metadata("design:type", Boolean)
|
|
70
|
+
], ClientFormDto.prototype, "sendAds", void 0);
|
|
66
71
|
exports.ClientFormDto = ClientFormDto;
|
package/dist/emails/index.d.ts
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
2
|
+
import { ProfileStepEnum } from './enum/profile-step.enum';
|
|
3
|
+
declare class Message {
|
|
4
|
+
text: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class AdminProfileRO {
|
|
7
|
+
id: number;
|
|
8
|
+
createdAt: Date;
|
|
9
|
+
title: string;
|
|
10
|
+
legalTitle: string;
|
|
11
|
+
phoneForCustomers: string;
|
|
12
|
+
mainEmail: string;
|
|
13
|
+
secondaryEmails: string[];
|
|
14
|
+
site: string;
|
|
15
|
+
contactPhone: string;
|
|
16
|
+
contactName: string;
|
|
17
|
+
facebook: string;
|
|
18
|
+
instagram: string;
|
|
19
|
+
agreementLink: string;
|
|
20
|
+
slug: string;
|
|
21
|
+
registrationRequestId: number;
|
|
22
|
+
country: CountriesEnum;
|
|
23
|
+
locationsCount: number;
|
|
24
|
+
questroomsCount: number;
|
|
25
|
+
questroomsDeletedCount: number;
|
|
26
|
+
lastVisit: Date;
|
|
27
|
+
step: ProfileStepEnum;
|
|
28
|
+
updateStepDate: Date;
|
|
29
|
+
crm: string;
|
|
30
|
+
messages: Message[];
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,122 @@
|
|
|
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.AdminProfileRO = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
16
|
+
const profile_step_enum_1 = require("./enum/profile-step.enum");
|
|
17
|
+
class Message {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], Message.prototype, "text", void 0);
|
|
23
|
+
class AdminProfileRO {
|
|
24
|
+
}
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], AdminProfileRO.prototype, "id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", Date)
|
|
32
|
+
], AdminProfileRO.prototype, "createdAt", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], AdminProfileRO.prototype, "title", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], AdminProfileRO.prototype, "legalTitle", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], AdminProfileRO.prototype, "phoneForCustomers", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], AdminProfileRO.prototype, "mainEmail", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
__metadata("design:type", Array)
|
|
52
|
+
], AdminProfileRO.prototype, "secondaryEmails", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], AdminProfileRO.prototype, "site", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_transformer_1.Expose)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], AdminProfileRO.prototype, "contactPhone", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_transformer_1.Expose)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], AdminProfileRO.prototype, "contactName", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_transformer_1.Expose)(),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], AdminProfileRO.prototype, "facebook", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_transformer_1.Expose)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], AdminProfileRO.prototype, "instagram", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, class_transformer_1.Expose)(),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], AdminProfileRO.prototype, "agreementLink", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_transformer_1.Expose)(),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], AdminProfileRO.prototype, "slug", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, class_transformer_1.Expose)(),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], AdminProfileRO.prototype, "registrationRequestId", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_transformer_1.Expose)(),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], AdminProfileRO.prototype, "country", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, class_transformer_1.Expose)(),
|
|
91
|
+
__metadata("design:type", Number)
|
|
92
|
+
], AdminProfileRO.prototype, "locationsCount", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, class_transformer_1.Expose)(),
|
|
95
|
+
__metadata("design:type", Number)
|
|
96
|
+
], AdminProfileRO.prototype, "questroomsCount", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, class_transformer_1.Expose)(),
|
|
99
|
+
__metadata("design:type", Number)
|
|
100
|
+
], AdminProfileRO.prototype, "questroomsDeletedCount", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, class_transformer_1.Expose)(),
|
|
103
|
+
__metadata("design:type", Date)
|
|
104
|
+
], AdminProfileRO.prototype, "lastVisit", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, class_transformer_1.Expose)(),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], AdminProfileRO.prototype, "step", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, class_transformer_1.Expose)(),
|
|
111
|
+
__metadata("design:type", Date)
|
|
112
|
+
], AdminProfileRO.prototype, "updateStepDate", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, class_transformer_1.Expose)(),
|
|
115
|
+
__metadata("design:type", String)
|
|
116
|
+
], AdminProfileRO.prototype, "crm", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, class_transformer_1.Expose)(),
|
|
119
|
+
(0, class_transformer_1.Type)(() => Message),
|
|
120
|
+
__metadata("design:type", Array)
|
|
121
|
+
], AdminProfileRO.prototype, "messages", void 0);
|
|
122
|
+
exports.AdminProfileRO = AdminProfileRO;
|
|
@@ -0,0 +1,28 @@
|
|
|
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.CreateProfileMessageDto = 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
|
+
class CreateProfileMessageDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], CreateProfileMessageDto.prototype, "text", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsPositive)(),
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], CreateProfileMessageDto.prototype, "profileId", void 0);
|
|
28
|
+
exports.CreateProfileMessageDto = CreateProfileMessageDto;
|
|
@@ -0,0 +1,27 @@
|
|
|
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.CreateProfileEmailDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
15
|
+
class CreateProfileEmailDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CreateProfileEmailDto.prototype, "title", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CreateProfileEmailDto.prototype, "tag", void 0);
|
|
27
|
+
exports.CreateProfileEmailDto = CreateProfileEmailDto;
|
|
@@ -0,0 +1,27 @@
|
|
|
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.CreateProfileSendingDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class CreateProfileSendingDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
20
|
+
__metadata("design:type", Array)
|
|
21
|
+
], CreateProfileSendingDto.prototype, "profileIds", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsPositive)(),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], CreateProfileSendingDto.prototype, "emailId", void 0);
|
|
27
|
+
exports.CreateProfileSendingDto = CreateProfileSendingDto;
|
|
@@ -0,0 +1,37 @@
|
|
|
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.ProfileEmailRO = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class ProfileEmailRO {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], ProfileEmailRO.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], ProfileEmailRO.prototype, "title", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], ProfileEmailRO.prototype, "tag", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], ProfileEmailRO.prototype, "sent", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], ProfileEmailRO.prototype, "letters", void 0);
|
|
37
|
+
exports.ProfileEmailRO = ProfileEmailRO;
|
|
@@ -0,0 +1,35 @@
|
|
|
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.ProfileLetterRO = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const profile_ro_1 = require("../profile.ro");
|
|
16
|
+
class ProfileLetterRO {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], ProfileLetterRO.prototype, "id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", Date)
|
|
25
|
+
], ProfileLetterRO.prototype, "createdAt", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], ProfileLetterRO.prototype, "emailId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
(0, class_transformer_1.Type)(() => profile_ro_1.ProfileRO),
|
|
33
|
+
__metadata("design:type", profile_ro_1.ProfileRO)
|
|
34
|
+
], ProfileLetterRO.prototype, "profile", void 0);
|
|
35
|
+
exports.ProfileLetterRO = ProfileLetterRO;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare enum ProfileStepEnum {
|
|
2
2
|
CLOSED = "closed",
|
|
3
|
+
CANCELED = "canceled",
|
|
3
4
|
NOT_VERIFIED = "not_verified",
|
|
4
5
|
READY_TO_VERIFY = "ready_to_verify",
|
|
6
|
+
SENT_EMAIL = "sent_email",
|
|
5
7
|
OPEN_EMAIL = "open_email",
|
|
6
8
|
OPEN_REQUEST_PAGE = "open_request_page",
|
|
7
9
|
LINK_REQUESTED = "link_requested",
|
|
@@ -12,5 +14,7 @@ export declare enum ProfileStepEnum {
|
|
|
12
14
|
VERIFICATION_QUESTROOMS = "verification_questrooms",
|
|
13
15
|
INTEGRATED_NO = "integrated_no",
|
|
14
16
|
INTEGRATED_BOOKEO = "integrated_bookeo",
|
|
15
|
-
CRM = "CRM"
|
|
17
|
+
CRM = "CRM",
|
|
18
|
+
CRM_UNPDAID = "CRM_unpdaid",
|
|
19
|
+
CRM_TRIAL = "CRM_trial"
|
|
16
20
|
}
|
|
@@ -5,16 +5,20 @@ var ProfileStepEnum;
|
|
|
5
5
|
(function (ProfileStepEnum) {
|
|
6
6
|
// закрыт
|
|
7
7
|
ProfileStepEnum["CLOSED"] = "closed";
|
|
8
|
+
ProfileStepEnum["CANCELED"] = "canceled";
|
|
8
9
|
// не готов к рассылке
|
|
9
10
|
ProfileStepEnum["NOT_VERIFIED"] = "not_verified";
|
|
10
11
|
// готов к рассылке
|
|
11
12
|
ProfileStepEnum["READY_TO_VERIFY"] = "ready_to_verify";
|
|
12
13
|
// открыл квест на агрегаторе и нажал на кнопку
|
|
14
|
+
ProfileStepEnum["SENT_EMAIL"] = "sent_email";
|
|
15
|
+
// открыл квест на агрегаторе
|
|
13
16
|
ProfileStepEnum["OPEN_EMAIL"] = "open_email";
|
|
14
17
|
// открыл квест на агрегаторе и нажал на кнопку 'я владелец'
|
|
15
18
|
ProfileStepEnum["OPEN_REQUEST_PAGE"] = "open_request_page";
|
|
16
19
|
// ввел правильный email и получил линк
|
|
17
20
|
ProfileStepEnum["LINK_REQUESTED"] = "link_requested";
|
|
21
|
+
// шаги верификации
|
|
18
22
|
ProfileStepEnum["VERIFICATION_USER_DATA"] = "verification_user";
|
|
19
23
|
ProfileStepEnum["VERIFICATION_PROFILE"] = "verification_profile";
|
|
20
24
|
ProfileStepEnum["VERIFICATION_RULES"] = "verification_rules";
|
|
@@ -23,4 +27,6 @@ var ProfileStepEnum;
|
|
|
23
27
|
ProfileStepEnum["INTEGRATED_NO"] = "integrated_no";
|
|
24
28
|
ProfileStepEnum["INTEGRATED_BOOKEO"] = "integrated_bookeo";
|
|
25
29
|
ProfileStepEnum["CRM"] = "CRM";
|
|
30
|
+
ProfileStepEnum["CRM_UNPDAID"] = "CRM_unpdaid";
|
|
31
|
+
ProfileStepEnum["CRM_TRIAL"] = "CRM_trial";
|
|
26
32
|
})(ProfileStepEnum = exports.ProfileStepEnum || (exports.ProfileStepEnum = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum ProfileSubscriptionEnum {
|
|
2
|
+
INCOMPLITE = "incomplete",
|
|
3
|
+
INCOMPLITE_EXPIRED = "incomplete_expired",
|
|
4
|
+
TRAILING = "trialing",
|
|
5
|
+
ACTIVE = "active",
|
|
6
|
+
PAST_DUE = "past_due",
|
|
7
|
+
CANCELED = "canceled",
|
|
8
|
+
UNPAID = "unpaid",
|
|
9
|
+
PAUSED = "paused"
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProfileSubscriptionEnum = void 0;
|
|
4
|
+
var ProfileSubscriptionEnum;
|
|
5
|
+
(function (ProfileSubscriptionEnum) {
|
|
6
|
+
ProfileSubscriptionEnum["INCOMPLITE"] = "incomplete";
|
|
7
|
+
ProfileSubscriptionEnum["INCOMPLITE_EXPIRED"] = "incomplete_expired";
|
|
8
|
+
ProfileSubscriptionEnum["TRAILING"] = "trialing";
|
|
9
|
+
ProfileSubscriptionEnum["ACTIVE"] = "active";
|
|
10
|
+
ProfileSubscriptionEnum["PAST_DUE"] = "past_due";
|
|
11
|
+
ProfileSubscriptionEnum["CANCELED"] = "canceled";
|
|
12
|
+
ProfileSubscriptionEnum["UNPAID"] = "unpaid";
|
|
13
|
+
ProfileSubscriptionEnum["PAUSED"] = "paused";
|
|
14
|
+
})(ProfileSubscriptionEnum = exports.ProfileSubscriptionEnum || (exports.ProfileSubscriptionEnum = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ProfileCurrencyEnum } from './enum/profile-currency';
|
|
2
|
+
import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
|
|
3
|
+
export declare class ProfileSubscripton {
|
|
4
|
+
status: ProfileSubscriptionEnum;
|
|
5
|
+
quantity: number;
|
|
6
|
+
currreny: ProfileCurrencyEnum;
|
|
7
|
+
cancel_at: number;
|
|
8
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.ProfileSubscripton = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const profile_currency_1 = require("./enum/profile-currency");
|
|
16
|
+
const profile_subscription_enum_1 = require("./enum/profile-subscription.enum");
|
|
17
|
+
class ProfileSubscripton {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], ProfileSubscripton.prototype, "status", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], ProfileSubscripton.prototype, "quantity", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], ProfileSubscripton.prototype, "currreny", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], ProfileSubscripton.prototype, "cancel_at", void 0);
|
|
35
|
+
exports.ProfileSubscripton = ProfileSubscripton;
|
|
@@ -1,42 +1,24 @@
|
|
|
1
1
|
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
2
2
|
import { Languages } from '../shared/enum/languages.enum';
|
|
3
|
-
import { ResponseObject } from '../shared/ro';
|
|
4
3
|
import { WidgetBookingFiledEnum } from '../widget/enum/widget-booking-filed.enum';
|
|
5
|
-
import { ProfileCurrencyEnum } from './enum/profile-currency';
|
|
6
4
|
import { ProfileStepEnum } from './enum/profile-step.enum';
|
|
7
|
-
export declare
|
|
5
|
+
export declare class ProfileRO {
|
|
6
|
+
id: number;
|
|
7
|
+
createdAt: Date;
|
|
8
8
|
title: string;
|
|
9
9
|
legalTitle: string;
|
|
10
10
|
phoneForCustomers: string;
|
|
11
11
|
mainEmail: string;
|
|
12
|
-
secondaryEmails: string[];
|
|
13
12
|
site: string;
|
|
14
|
-
logo: string;
|
|
15
|
-
contactPhone: string;
|
|
16
|
-
contactName: string;
|
|
17
|
-
facebook: string;
|
|
18
|
-
instagram: string;
|
|
19
|
-
comment: string;
|
|
20
13
|
agreementLink: string;
|
|
14
|
+
crm: string;
|
|
21
15
|
hasWidgets: boolean;
|
|
22
16
|
slug: string;
|
|
23
|
-
registrationRequestId: number;
|
|
24
17
|
language: Languages;
|
|
25
18
|
availableLanguages: Languages[];
|
|
26
19
|
country: CountriesEnum;
|
|
27
20
|
locationsCount: number;
|
|
28
21
|
questroomsCount: number;
|
|
29
|
-
questroomsDeletedCount: number;
|
|
30
|
-
lastVisit: Date;
|
|
31
|
-
stripeCustomer: string;
|
|
32
22
|
step: ProfileStepEnum;
|
|
33
|
-
crm: string;
|
|
34
23
|
bookingFields: WidgetBookingFiledEnum[];
|
|
35
|
-
|
|
36
|
-
subscription?: {
|
|
37
|
-
status: 'active' | 'past_due' | 'unpaid' | 'incomplete' | 'incomplete_expired' | 'paused' | 'trialing';
|
|
38
|
-
quantity: number;
|
|
39
|
-
currreny: ProfileCurrencyEnum;
|
|
40
|
-
cancel_at: number;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
24
|
+
}
|
|
@@ -1,2 +1,92 @@
|
|
|
1
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ProfileRO = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
16
|
+
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
17
|
+
const profile_step_enum_1 = require("./enum/profile-step.enum");
|
|
18
|
+
class ProfileRO {
|
|
19
|
+
}
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], ProfileRO.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", Date)
|
|
27
|
+
], ProfileRO.prototype, "createdAt", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], ProfileRO.prototype, "title", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], ProfileRO.prototype, "legalTitle", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], ProfileRO.prototype, "phoneForCustomers", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], ProfileRO.prototype, "mainEmail", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], ProfileRO.prototype, "site", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], ProfileRO.prototype, "agreementLink", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_transformer_1.Expose)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], ProfileRO.prototype, "crm", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", Boolean)
|
|
59
|
+
], ProfileRO.prototype, "hasWidgets", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_transformer_1.Expose)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], ProfileRO.prototype, "slug", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], ProfileRO.prototype, "language", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_transformer_1.Expose)(),
|
|
70
|
+
__metadata("design:type", Array)
|
|
71
|
+
], ProfileRO.prototype, "availableLanguages", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_transformer_1.Expose)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], ProfileRO.prototype, "country", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_transformer_1.Expose)(),
|
|
78
|
+
__metadata("design:type", Number)
|
|
79
|
+
], ProfileRO.prototype, "locationsCount", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, class_transformer_1.Expose)(),
|
|
82
|
+
__metadata("design:type", Number)
|
|
83
|
+
], ProfileRO.prototype, "questroomsCount", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_transformer_1.Expose)(),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], ProfileRO.prototype, "step", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, class_transformer_1.Expose)(),
|
|
90
|
+
__metadata("design:type", Array)
|
|
91
|
+
], ProfileRO.prototype, "bookingFields", void 0);
|
|
92
|
+
exports.ProfileRO = ProfileRO;
|