@escapenavigator/types 1.9.40 → 1.9.41

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.
@@ -0,0 +1,5 @@
1
+ import { AggregatorsEnum } from './aggregators.enum';
2
+ export declare const aggregatorsInfo: Record<AggregatorsEnum, {
3
+ title: string;
4
+ image: string;
5
+ }>;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.aggregatorsInfo = void 0;
4
+ const aggregators_enum_1 = require("./aggregators.enum");
5
+ exports.aggregatorsInfo = {
6
+ [aggregators_enum_1.AggregatorsEnum.GILDIA_KVESTOV]: {
7
+ title: 'Гильдия квестов',
8
+ image: 'https://escapenavigator-images.s3.eu-central-1.amazonaws.com/inside/GILDIA_QUESTOV.webp',
9
+ },
10
+ [aggregators_enum_1.AggregatorsEnum.QUEST_GUIDE]: {
11
+ title: 'Квест Гид',
12
+ image: 'https://escapenavigator-images.s3.eu-central-1.amazonaws.com/inside/QUEST_GID.webp',
13
+ },
14
+ [aggregators_enum_1.AggregatorsEnum.MIR_KVESTOV]: {
15
+ title: 'Мир квестов',
16
+ image: 'https://escapenavigator-images.s3.eu-central-1.amazonaws.com/inside/MIR_QUESTOV.webp',
17
+ },
18
+ [aggregators_enum_1.AggregatorsEnum.QUEST_HUNTER]: {
19
+ title: 'Квест хантер',
20
+ image: 'https://escapenavigator-images.s3.eu-central-1.amazonaws.com/inside/QUEST_HUNTER.webp',
21
+ },
22
+ [aggregators_enum_1.AggregatorsEnum.QUEST_INFO]: {
23
+ title: 'Квест ифно',
24
+ image: 'https://escapenavigator-images.s3.eu-central-1.amazonaws.com/inside/QUEST_INFO.webp',
25
+ },
26
+ [aggregators_enum_1.AggregatorsEnum.TOP_KVESTOV]: {
27
+ title: 'Топ квестов',
28
+ image: 'https://escapenavigator-images.s3.eu-central-1.amazonaws.com/inside/TOP_QUESTOV.webp',
29
+ },
30
+ };
@@ -0,0 +1,8 @@
1
+ export declare enum AggregatorsEnum {
2
+ GILDIA_KVESTOV = "gildia-kvestov",
3
+ QUEST_INFO = "quest-info",
4
+ TOP_KVESTOV = "top-kvestov",
5
+ MIR_KVESTOV = "mir-kvestov",
6
+ QUEST_HUNTER = "quest-hunter",
7
+ QUEST_GUIDE = "quest-guide"
8
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AggregatorsEnum = void 0;
4
+ var AggregatorsEnum;
5
+ (function (AggregatorsEnum) {
6
+ AggregatorsEnum["GILDIA_KVESTOV"] = "gildia-kvestov";
7
+ AggregatorsEnum["QUEST_INFO"] = "quest-info";
8
+ AggregatorsEnum["TOP_KVESTOV"] = "top-kvestov";
9
+ AggregatorsEnum["MIR_KVESTOV"] = "mir-kvestov";
10
+ AggregatorsEnum["QUEST_HUNTER"] = "quest-hunter";
11
+ AggregatorsEnum["QUEST_GUIDE"] = "quest-guide";
12
+ })(AggregatorsEnum = exports.AggregatorsEnum || (exports.AggregatorsEnum = {}));
@@ -0,0 +1,15 @@
1
+ export declare class MKOrderDto {
2
+ first_name: string;
3
+ family_name: string;
4
+ phone: string;
5
+ email: string;
6
+ comment: string;
7
+ source: string;
8
+ md5: string;
9
+ date: string;
10
+ time: string;
11
+ price: number;
12
+ unique_id: string;
13
+ tariff: string;
14
+ slot_id: number;
15
+ }
@@ -0,0 +1,83 @@
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.MKOrderDto = 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 MKOrderDto {
17
+ }
18
+ __decorate([
19
+ (0, class_transformer_1.Expose)(),
20
+ (0, class_validator_1.IsOptional)(),
21
+ __metadata("design:type", String)
22
+ ], MKOrderDto.prototype, "first_name", void 0);
23
+ __decorate([
24
+ (0, class_transformer_1.Expose)(),
25
+ (0, class_validator_1.IsOptional)(),
26
+ __metadata("design:type", String)
27
+ ], MKOrderDto.prototype, "family_name", void 0);
28
+ __decorate([
29
+ (0, class_transformer_1.Expose)(),
30
+ (0, class_validator_1.IsOptional)(),
31
+ __metadata("design:type", String)
32
+ ], MKOrderDto.prototype, "phone", void 0);
33
+ __decorate([
34
+ (0, class_transformer_1.Expose)(),
35
+ (0, class_validator_1.IsOptional)(),
36
+ __metadata("design:type", String)
37
+ ], MKOrderDto.prototype, "email", void 0);
38
+ __decorate([
39
+ (0, class_transformer_1.Expose)(),
40
+ (0, class_validator_1.IsOptional)(),
41
+ __metadata("design:type", String)
42
+ ], MKOrderDto.prototype, "comment", void 0);
43
+ __decorate([
44
+ (0, class_transformer_1.Expose)(),
45
+ (0, class_validator_1.IsOptional)(),
46
+ __metadata("design:type", String)
47
+ ], MKOrderDto.prototype, "source", void 0);
48
+ __decorate([
49
+ (0, class_transformer_1.Expose)(),
50
+ (0, class_validator_1.IsOptional)(),
51
+ __metadata("design:type", String)
52
+ ], MKOrderDto.prototype, "md5", void 0);
53
+ __decorate([
54
+ (0, class_transformer_1.Expose)(),
55
+ (0, class_validator_1.IsOptional)(),
56
+ __metadata("design:type", String)
57
+ ], MKOrderDto.prototype, "date", void 0);
58
+ __decorate([
59
+ (0, class_transformer_1.Expose)(),
60
+ (0, class_validator_1.IsOptional)(),
61
+ __metadata("design:type", String)
62
+ ], MKOrderDto.prototype, "time", void 0);
63
+ __decorate([
64
+ (0, class_transformer_1.Expose)(),
65
+ (0, class_validator_1.IsOptional)(),
66
+ __metadata("design:type", Number)
67
+ ], MKOrderDto.prototype, "price", void 0);
68
+ __decorate([
69
+ (0, class_transformer_1.Expose)(),
70
+ (0, class_validator_1.IsOptional)(),
71
+ __metadata("design:type", String)
72
+ ], MKOrderDto.prototype, "unique_id", void 0);
73
+ __decorate([
74
+ (0, class_transformer_1.Expose)(),
75
+ (0, is_not_blank_1.IsNotBlank)(),
76
+ __metadata("design:type", String)
77
+ ], MKOrderDto.prototype, "tariff", void 0);
78
+ __decorate([
79
+ (0, class_transformer_1.Expose)(),
80
+ (0, class_validator_1.IsPositive)(),
81
+ __metadata("design:type", Number)
82
+ ], MKOrderDto.prototype, "slot_id", void 0);
83
+ exports.MKOrderDto = MKOrderDto;
@@ -0,0 +1,7 @@
1
+ export declare class MKSlotRO {
2
+ date: string;
3
+ time: string;
4
+ is_free: boolean;
5
+ price: number;
6
+ slot_id: number;
7
+ }
@@ -0,0 +1,36 @@
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.MKSlotRO = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ class MKSlotRO {
15
+ }
16
+ __decorate([
17
+ (0, class_transformer_1.Expose)(),
18
+ __metadata("design:type", String)
19
+ ], MKSlotRO.prototype, "date", void 0);
20
+ __decorate([
21
+ (0, class_transformer_1.Expose)(),
22
+ __metadata("design:type", String)
23
+ ], MKSlotRO.prototype, "time", void 0);
24
+ __decorate([
25
+ (0, class_transformer_1.Expose)(),
26
+ __metadata("design:type", Boolean)
27
+ ], MKSlotRO.prototype, "is_free", void 0);
28
+ __decorate([
29
+ (0, class_transformer_1.Expose)(),
30
+ __metadata("design:type", Number)
31
+ ], MKSlotRO.prototype, "price", void 0);
32
+ __decorate([
33
+ (0, class_transformer_1.Expose)(),
34
+ __metadata("design:type", Number)
35
+ ], MKSlotRO.prototype, "slot_id", void 0);
36
+ exports.MKSlotRO = MKSlotRO;
@@ -4,5 +4,11 @@ export declare enum SourceEnum {
4
4
  SUPPORT = "support",
5
5
  AGREGATOR = "agregator",
6
6
  nowEscape = "nowEscape",
7
- exportded = "exported"
7
+ exportded = "exported",
8
+ GILDIA_KVESTOV = "gildia-kvestov",
9
+ QUEST_INFO = "quest-info",
10
+ TOP_KVESTOV = "top-kvestov",
11
+ MIR_KVESTOV = "mir-kvestov",
12
+ QUEST_HUNTER = "quest-hunter",
13
+ QUEST_GUIDE = "quest-guide"
8
14
  }
@@ -9,4 +9,11 @@ var SourceEnum;
9
9
  SourceEnum["AGREGATOR"] = "agregator";
10
10
  SourceEnum["nowEscape"] = "nowEscape";
11
11
  SourceEnum["exportded"] = "exported";
12
+ // ru
13
+ SourceEnum["GILDIA_KVESTOV"] = "gildia-kvestov";
14
+ SourceEnum["QUEST_INFO"] = "quest-info";
15
+ SourceEnum["TOP_KVESTOV"] = "top-kvestov";
16
+ SourceEnum["MIR_KVESTOV"] = "mir-kvestov";
17
+ SourceEnum["QUEST_HUNTER"] = "quest-hunter";
18
+ SourceEnum["QUEST_GUIDE"] = "quest-guide";
12
19
  })(SourceEnum = exports.SourceEnum || (exports.SourceEnum = {}));