@escapenavigator/types 1.6.47 → 1.6.49

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.
@@ -20,5 +20,6 @@ export declare type AdminRO = ResponseObject & {
20
20
  countries: CountriesEnum[];
21
21
  profilesVerified: number;
22
22
  questroomsVerified: number;
23
- translationsVerified: number;
23
+ translationsChanged: number;
24
+ translationsRead: number;
24
25
  };
@@ -0,0 +1,6 @@
1
+ import { CountriesEnum } from '../../shared/enum/countries.enum';
2
+ export declare class TestEmailDto {
3
+ email: string;
4
+ emailType: string;
5
+ country: CountriesEnum;
6
+ }
@@ -9,19 +9,26 @@ 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.CreateProfileEmailDto = void 0;
12
+ exports.TestEmailDto = void 0;
13
13
  const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const countries_enum_1 = require("../../shared/enum/countries.enum");
14
16
  const is_not_blank_1 = require("../../shared/is-not-blank");
15
- class CreateProfileEmailDto {
17
+ class TestEmailDto {
16
18
  }
17
19
  __decorate([
18
20
  (0, is_not_blank_1.IsNotBlank)(),
19
21
  (0, class_transformer_1.Expose)(),
20
22
  __metadata("design:type", String)
21
- ], CreateProfileEmailDto.prototype, "title", void 0);
23
+ ], TestEmailDto.prototype, "email", void 0);
22
24
  __decorate([
23
25
  (0, is_not_blank_1.IsNotBlank)(),
24
26
  (0, class_transformer_1.Expose)(),
25
27
  __metadata("design:type", String)
26
- ], CreateProfileEmailDto.prototype, "tag", void 0);
27
- exports.CreateProfileEmailDto = CreateProfileEmailDto;
28
+ ], TestEmailDto.prototype, "emailType", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsEnum)(countries_enum_1.CountriesEnum),
31
+ (0, class_transformer_1.Expose)(),
32
+ __metadata("design:type", String)
33
+ ], TestEmailDto.prototype, "country", void 0);
34
+ exports.TestEmailDto = TestEmailDto;
@@ -0,0 +1,4 @@
1
+ export declare class QuizDto {
2
+ localeId: number;
3
+ text: string;
4
+ }
@@ -9,19 +9,19 @@ 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.CreateProfileSendingDto = void 0;
12
+ exports.QuizDto = void 0;
13
13
  const class_transformer_1 = require("class-transformer");
14
14
  const class_validator_1 = require("class-validator");
15
- class CreateProfileSendingDto {
15
+ class QuizDto {
16
16
  }
17
17
  __decorate([
18
+ (0, class_validator_1.IsOptional)(),
18
19
  (0, class_transformer_1.Expose)(),
19
- (0, class_validator_1.IsNumber)({}, { each: true }),
20
- __metadata("design:type", Array)
21
- ], CreateProfileSendingDto.prototype, "profileIds", void 0);
20
+ __metadata("design:type", Number)
21
+ ], QuizDto.prototype, "localeId", void 0);
22
22
  __decorate([
23
- (0, class_validator_1.IsPositive)(),
23
+ (0, class_validator_1.IsOptional)(),
24
24
  (0, class_transformer_1.Expose)(),
25
- __metadata("design:type", Number)
26
- ], CreateProfileSendingDto.prototype, "emailId", void 0);
27
- exports.CreateProfileSendingDto = CreateProfileSendingDto;
25
+ __metadata("design:type", String)
26
+ ], QuizDto.prototype, "text", void 0);
27
+ exports.QuizDto = QuizDto;
@@ -0,0 +1,9 @@
1
+ import { Languages } from '../shared/enum/languages.enum';
2
+ export declare class QuozRO {
3
+ localeId: number;
4
+ locale: Languages;
5
+ context: string;
6
+ originalText: string;
7
+ textToTranslate: string;
8
+ image: string;
9
+ }
@@ -9,29 +9,33 @@ 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.ProfileEmailRO = void 0;
13
- /* eslint-disable max-classes-per-file */
12
+ exports.QuozRO = void 0;
14
13
  const class_transformer_1 = require("class-transformer");
15
- class ProfileEmailRO {
14
+ const languages_enum_1 = require("../shared/enum/languages.enum");
15
+ class QuozRO {
16
16
  }
17
17
  __decorate([
18
18
  (0, class_transformer_1.Expose)(),
19
19
  __metadata("design:type", Number)
20
- ], ProfileEmailRO.prototype, "id", void 0);
20
+ ], QuozRO.prototype, "localeId", void 0);
21
21
  __decorate([
22
22
  (0, class_transformer_1.Expose)(),
23
23
  __metadata("design:type", String)
24
- ], ProfileEmailRO.prototype, "title", void 0);
24
+ ], QuozRO.prototype, "locale", void 0);
25
25
  __decorate([
26
26
  (0, class_transformer_1.Expose)(),
27
27
  __metadata("design:type", String)
28
- ], ProfileEmailRO.prototype, "tag", void 0);
28
+ ], QuozRO.prototype, "context", void 0);
29
29
  __decorate([
30
30
  (0, class_transformer_1.Expose)(),
31
- __metadata("design:type", Number)
32
- ], ProfileEmailRO.prototype, "sent", void 0);
31
+ __metadata("design:type", String)
32
+ ], QuozRO.prototype, "originalText", void 0);
33
33
  __decorate([
34
34
  (0, class_transformer_1.Expose)(),
35
- __metadata("design:type", Number)
36
- ], ProfileEmailRO.prototype, "letters", void 0);
37
- exports.ProfileEmailRO = ProfileEmailRO;
35
+ __metadata("design:type", String)
36
+ ], QuozRO.prototype, "textToTranslate", void 0);
37
+ __decorate([
38
+ (0, class_transformer_1.Expose)(),
39
+ __metadata("design:type", String)
40
+ ], QuozRO.prototype, "image", void 0);
41
+ exports.QuozRO = QuozRO;