@escapenavigator/types 1.6.82 → 1.6.84
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/shared/openapi-booking-rule.ro.js +2 -0
- package/dist/openapi/slots/openapi-week-schedule.dto.js +10 -0
- package/dist/openapi/slots/openapi-widget-slot.ro.d.ts +1 -1
- package/dist/openapi/slots/openapi-widget-slot.ro.js +22 -0
- package/dist/profile/activity/profile-activity.ro.d.ts +12 -0
- package/dist/profile/activity/profile-activity.ro.js +48 -0
- package/dist/profile/email/email-campaign.ro.d.ts +13 -0
- package/dist/profile/email/email-campaign.ro.js +60 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -2
|
@@ -10,12 +10,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.OpenapiBokingRuleRO = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
13
14
|
const class_transformer_1 = require("class-transformer");
|
|
14
15
|
const questroom_cancelation_type_enum_1 = require("../../questroom/enum/questroom-cancelation-type.enum");
|
|
15
16
|
const prepayment_type_enum_1 = require("../../slot/enum/prepayment-type.enum");
|
|
16
17
|
class OpenapiBokingRuleRO {
|
|
17
18
|
}
|
|
18
19
|
__decorate([
|
|
20
|
+
(0, swagger_1.ApiProperty)(),
|
|
19
21
|
(0, class_transformer_1.Expose)(),
|
|
20
22
|
__metadata("design:type", Number)
|
|
21
23
|
], OpenapiBokingRuleRO.prototype, "prepayment", void 0);
|
|
@@ -10,10 +10,20 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.OpenapiWeekScheduleDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
13
14
|
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
14
15
|
class OpenapiWeekScheduleDto {
|
|
15
16
|
}
|
|
16
17
|
__decorate([
|
|
18
|
+
(0, swagger_1.ApiProperty)({
|
|
19
|
+
minimum: 0,
|
|
20
|
+
maximum: 10000,
|
|
21
|
+
title: 'Page',
|
|
22
|
+
exclusiveMaximum: true,
|
|
23
|
+
exclusiveMinimum: true,
|
|
24
|
+
format: 'int32',
|
|
25
|
+
default: 0,
|
|
26
|
+
}),
|
|
17
27
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
18
28
|
__metadata("design:type", Number)
|
|
19
29
|
], OpenapiWeekScheduleDto.prototype, "questroomId", void 0);
|
|
@@ -11,58 +11,80 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.OpenapiSlotRO = void 0;
|
|
13
13
|
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
15
|
const class_transformer_1 = require("class-transformer");
|
|
15
16
|
const openapi_booking_rule_ro_1 = require("../shared/openapi-booking-rule.ro");
|
|
16
17
|
const openapi_tariff_ro_1 = require("../shared/openapi-tariff.ro");
|
|
18
|
+
var SType;
|
|
19
|
+
(function (SType) {
|
|
20
|
+
SType["BOOKEO"] = "booceo";
|
|
21
|
+
SType["CRM"] = "crm";
|
|
22
|
+
})(SType || (SType = {}));
|
|
17
23
|
class OpenapiSlotRO {
|
|
18
24
|
}
|
|
19
25
|
__decorate([
|
|
26
|
+
(0, swagger_1.ApiProperty)({
|
|
27
|
+
description: 'Escape rooms can provide other api for slots',
|
|
28
|
+
enum: SType,
|
|
29
|
+
required: false,
|
|
30
|
+
}),
|
|
20
31
|
(0, class_transformer_1.Expose)(),
|
|
21
32
|
__metadata("design:type", String)
|
|
22
33
|
], OpenapiSlotRO.prototype, "type", void 0);
|
|
23
34
|
__decorate([
|
|
35
|
+
(0, swagger_1.ApiProperty)(),
|
|
24
36
|
(0, class_transformer_1.Expose)(),
|
|
25
37
|
__metadata("design:type", Number)
|
|
26
38
|
], OpenapiSlotRO.prototype, "questroomId", void 0);
|
|
27
39
|
__decorate([
|
|
40
|
+
(0, swagger_1.ApiProperty)(),
|
|
28
41
|
(0, class_transformer_1.Expose)(),
|
|
29
42
|
(0, class_transformer_1.Transform)(({ value }) => value || null),
|
|
30
43
|
__metadata("design:type", String)
|
|
31
44
|
], OpenapiSlotRO.prototype, "productId", void 0);
|
|
32
45
|
__decorate([
|
|
46
|
+
(0, swagger_1.ApiProperty)(),
|
|
33
47
|
(0, class_transformer_1.Expose)(),
|
|
34
48
|
__metadata("design:type", String)
|
|
35
49
|
], OpenapiSlotRO.prototype, "eventId", void 0);
|
|
36
50
|
__decorate([
|
|
51
|
+
(0, swagger_1.ApiProperty)(),
|
|
37
52
|
(0, class_transformer_1.Expose)(),
|
|
38
53
|
__metadata("design:type", String)
|
|
39
54
|
], OpenapiSlotRO.prototype, "start", void 0);
|
|
40
55
|
__decorate([
|
|
56
|
+
(0, swagger_1.ApiProperty)(),
|
|
41
57
|
(0, class_transformer_1.Expose)(),
|
|
42
58
|
__metadata("design:type", String)
|
|
43
59
|
], OpenapiSlotRO.prototype, "end", void 0);
|
|
44
60
|
__decorate([
|
|
61
|
+
(0, swagger_1.ApiProperty)(),
|
|
45
62
|
(0, class_transformer_1.Expose)(),
|
|
46
63
|
__metadata("design:type", String)
|
|
47
64
|
], OpenapiSlotRO.prototype, "date", void 0);
|
|
48
65
|
__decorate([
|
|
66
|
+
(0, swagger_1.ApiProperty)(),
|
|
49
67
|
(0, class_transformer_1.Expose)(),
|
|
50
68
|
__metadata("design:type", Number)
|
|
51
69
|
], OpenapiSlotRO.prototype, "numSeatsAvailable", void 0);
|
|
52
70
|
__decorate([
|
|
71
|
+
(0, swagger_1.ApiProperty)(),
|
|
53
72
|
(0, class_transformer_1.Expose)(),
|
|
54
73
|
__metadata("design:type", openapi_tariff_ro_1.OpenapiTariffRO)
|
|
55
74
|
], OpenapiSlotRO.prototype, "tariff", void 0);
|
|
56
75
|
__decorate([
|
|
76
|
+
(0, swagger_1.ApiProperty)(),
|
|
57
77
|
(0, class_transformer_1.Expose)(),
|
|
58
78
|
__metadata("design:type", String)
|
|
59
79
|
], OpenapiSlotRO.prototype, "status", void 0);
|
|
60
80
|
__decorate([
|
|
81
|
+
(0, swagger_1.ApiProperty)(),
|
|
61
82
|
(0, class_transformer_1.Expose)(),
|
|
62
83
|
(0, class_transformer_1.Type)(() => openapi_booking_rule_ro_1.OpenapiBokingRuleRO),
|
|
63
84
|
__metadata("design:type", openapi_booking_rule_ro_1.OpenapiBokingRuleRO)
|
|
64
85
|
], OpenapiSlotRO.prototype, "rule", void 0);
|
|
65
86
|
__decorate([
|
|
87
|
+
(0, swagger_1.ApiProperty)(),
|
|
66
88
|
(0, class_transformer_1.Expose)(),
|
|
67
89
|
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? true : value)),
|
|
68
90
|
__metadata("design:type", Boolean)
|
|
@@ -0,0 +1,48 @@
|
|
|
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.ProfileActivityDto = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class Profile {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], Profile.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Profile.prototype, "title", void 0);
|
|
25
|
+
class ProfileActivityDto {
|
|
26
|
+
}
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], ProfileActivityDto.prototype, "id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
(0, class_transformer_1.Type)(() => Profile),
|
|
34
|
+
__metadata("design:type", Profile)
|
|
35
|
+
], ProfileActivityDto.prototype, "profile", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", Date)
|
|
39
|
+
], ProfileActivityDto.prototype, "createdAt", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], ProfileActivityDto.prototype, "type", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], ProfileActivityDto.prototype, "link", void 0);
|
|
48
|
+
exports.ProfileActivityDto = ProfileActivityDto;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.EmailCampaignRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class EmailCampaignRO {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_transformer_1.Expose)(),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], EmailCampaignRO.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", Date)
|
|
23
|
+
], EmailCampaignRO.prototype, "createdAt", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], EmailCampaignRO.prototype, "title", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], EmailCampaignRO.prototype, "pending", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], EmailCampaignRO.prototype, "sent", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], EmailCampaignRO.prototype, "opened", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], EmailCampaignRO.prototype, "click", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], EmailCampaignRO.prototype, "spam", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], EmailCampaignRO.prototype, "bounced", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_transformer_1.Expose)(),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], EmailCampaignRO.prototype, "soft_bounced", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], EmailCampaignRO.prototype, "rejected", void 0);
|
|
60
|
+
exports.EmailCampaignRO = EmailCampaignRO;
|