@escapenavigator/types 1.6.15 → 1.6.17

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.
@@ -24,6 +24,7 @@ declare type Context = {
24
24
  };
25
25
  export declare type SendEmailRequestParams = {
26
26
  to: string;
27
+ logo: string;
27
28
  subject: string;
28
29
  data: Context;
29
30
  tags?: string;
@@ -1,5 +1,6 @@
1
1
  import { CountriesEnum } from '../shared/enum/countries.enum';
2
2
  import { ProfileStepEnum } from './enum/profile-step.enum';
3
+ import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
3
4
  declare class Message {
4
5
  text: string;
5
6
  }
@@ -9,6 +10,7 @@ export declare class AdminProfileRO {
9
10
  title: string;
10
11
  legalTitle: string;
11
12
  phoneForCustomers: string;
13
+ logo: string;
12
14
  mainEmail: string;
13
15
  secondaryEmails: string[];
14
16
  site: string;
@@ -22,6 +24,7 @@ export declare class AdminProfileRO {
22
24
  country: CountriesEnum;
23
25
  locationsCount: number;
24
26
  questroomsCount: number;
27
+ subscription: ProfileSubscriptionEnum;
25
28
  questroomsDeletedCount: number;
26
29
  lastVisit: Date;
27
30
  step: ProfileStepEnum;
@@ -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_step_enum_1 = require("./enum/profile-step.enum");
17
+ const profile_subscription_enum_1 = require("./enum/profile-subscription.enum");
17
18
  class Message {
18
19
  }
19
20
  __decorate([
@@ -42,6 +43,10 @@ __decorate([
42
43
  (0, class_transformer_1.Expose)(),
43
44
  __metadata("design:type", String)
44
45
  ], AdminProfileRO.prototype, "phoneForCustomers", void 0);
46
+ __decorate([
47
+ (0, class_transformer_1.Expose)(),
48
+ __metadata("design:type", String)
49
+ ], AdminProfileRO.prototype, "logo", void 0);
45
50
  __decorate([
46
51
  (0, class_transformer_1.Expose)(),
47
52
  __metadata("design:type", String)
@@ -94,6 +99,10 @@ __decorate([
94
99
  (0, class_transformer_1.Expose)(),
95
100
  __metadata("design:type", Number)
96
101
  ], AdminProfileRO.prototype, "questroomsCount", void 0);
102
+ __decorate([
103
+ (0, class_transformer_1.Expose)(),
104
+ __metadata("design:type", String)
105
+ ], AdminProfileRO.prototype, "subscription", void 0);
97
106
  __decorate([
98
107
  (0, class_transformer_1.Expose)(),
99
108
  __metadata("design:type", Number)
@@ -6,6 +6,7 @@ export declare class CreateProfileDto {
6
6
  title: string;
7
7
  site: string;
8
8
  phoneForCustomers: string;
9
+ logo: string;
9
10
  step: ProfileStepEnum;
10
11
  mainEmail: string;
11
12
  secondaryEmails: string[];
@@ -39,6 +39,11 @@ __decorate([
39
39
  (0, class_transformer_1.Expose)(),
40
40
  __metadata("design:type", String)
41
41
  ], CreateProfileDto.prototype, "phoneForCustomers", void 0);
42
+ __decorate([
43
+ (0, class_validator_1.IsOptional)(),
44
+ (0, class_transformer_1.Expose)(),
45
+ __metadata("design:type", String)
46
+ ], CreateProfileDto.prototype, "logo", void 0);
42
47
  __decorate([
43
48
  (0, class_validator_1.IsOptional)(),
44
49
  (0, class_validator_1.IsEnum)(profile_step_enum_1.ProfileStepEnum),
@@ -8,6 +8,7 @@ export declare class ProfileRO {
8
8
  title: string;
9
9
  legalTitle: string;
10
10
  phoneForCustomers: string;
11
+ logo: string;
11
12
  mainEmail: string;
12
13
  site: string;
13
14
  agreementLink: string;
@@ -37,6 +37,10 @@ __decorate([
37
37
  (0, class_transformer_1.Expose)(),
38
38
  __metadata("design:type", String)
39
39
  ], ProfileRO.prototype, "phoneForCustomers", void 0);
40
+ __decorate([
41
+ (0, class_transformer_1.Expose)(),
42
+ __metadata("design:type", String)
43
+ ], ProfileRO.prototype, "logo", void 0);
40
44
  __decorate([
41
45
  (0, class_transformer_1.Expose)(),
42
46
  __metadata("design:type", String)
@@ -6,6 +6,7 @@ export declare class UpdateCurrentDto {
6
6
  site: string;
7
7
  bookingFields: WidgetBookingFiledEnum[];
8
8
  phoneForCustomers: string;
9
+ logo: string;
9
10
  mainEmail: string;
10
11
  legalTitle: string;
11
12
  availableLanguages: Languages[];
@@ -42,6 +42,11 @@ __decorate([
42
42
  (0, class_transformer_1.Expose)(),
43
43
  __metadata("design:type", String)
44
44
  ], UpdateCurrentDto.prototype, "phoneForCustomers", void 0);
45
+ __decorate([
46
+ (0, class_validator_1.IsOptional)(),
47
+ (0, class_transformer_1.Expose)(),
48
+ __metadata("design:type", String)
49
+ ], UpdateCurrentDto.prototype, "logo", void 0);
45
50
  __decorate([
46
51
  (0, class_validator_1.IsEmail)(),
47
52
  (0, class_transformer_1.Transform)(({ value }) => value === null || value === void 0 ? void 0 : value.trim().toLowerCase()),