@escapenavigator/types 1.1.1 → 1.2.0
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/admin/login-admin.dto.js +2 -2
- package/dist/agb/update-agb.dto.js +1 -1
- package/dist/cashbox/create-cashbox.dto.js +14 -14
- package/dist/cashbox/update-cashbox.dto.js +1 -1
- package/dist/certificate/create-certificate.dto.js +51 -51
- package/dist/certificate/update-certificate.dto.js +1 -1
- package/dist/certificate-sale/annul-certificate-sale.dto.js +1 -1
- package/dist/certificate-sale/check-certificate-sale.dto.js +1 -1
- package/dist/certificate-sale/create-certificatesale.dto.js +19 -19
- package/dist/certificate-sale/update-certificate-sale-expire-date.dto.js +1 -1
- package/dist/certificate-sale/update-certificate-sale-status.dto.js +1 -1
- package/dist/certificate-sale/update-certificatesale.dto.js +5 -5
- package/dist/city/city.ro.d.ts +9 -0
- package/dist/city/city.ro.js +2 -0
- package/dist/city/current-city.ro.d.ts +6 -0
- package/dist/city/current-city.ro.js +2 -0
- package/dist/city/update-city.dto.d.ts +7 -0
- package/dist/city/update-city.dto.js +32 -0
- package/dist/client/create-client-from-widget.dto.js +1 -1
- package/dist/client/create-client.dto.js +24 -24
- package/dist/client/update-client.dto.d.ts +5 -5
- package/dist/client/update-client.dto.js +27 -27
- package/dist/financeitem/create-financeitem.dto.js +8 -8
- package/dist/image/create-image.dto.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/location/create-location.dto.js +33 -33
- package/dist/location/get-nearest-location.dto.d.ts +4 -0
- package/dist/location/get-nearest-location.dto.js +22 -0
- package/dist/location/nearest-location.ro.d.ts +6 -0
- package/dist/location/nearest-location.ro.js +2 -0
- package/dist/location/update-location.dto.js +1 -1
- package/dist/order/add-certificate-to-order.dto.js +1 -1
- package/dist/order/create-order-from-widget.dto.js +9 -9
- package/dist/order/create-order.dto.js +3 -3
- package/dist/order/remove-certificate-from-order.dto.js +1 -1
- package/dist/order/update-order-players.dto.js +1 -1
- package/dist/order/update-order-slot.dto.js +1 -1
- package/dist/order/update-order-status.dto.js +1 -1
- package/dist/order/update-order.dto.js +5 -5
- package/dist/order-certificate/create-order-certificate.dto.js +2 -2
- package/dist/order-discount/create-order-discount.dto.js +6 -6
- package/dist/order-penalty/create-order-penalty.dto.js +6 -6
- package/dist/order-upselling/create-order-upselling.dto.js +4 -4
- package/dist/partner/create-partner.dto.js +14 -14
- package/dist/partner/update-partner.dto.js +1 -1
- package/dist/profile/agregator-profile.ro.d.ts +23 -0
- package/dist/profile/agregator-profile.ro.js +2 -0
- package/dist/profile/create-profile.dto.js +34 -34
- package/dist/profile/update-profile.dto.js +14 -14
- package/dist/questroom/agregator-questroom.ro.d.ts +28 -0
- package/dist/questroom/agregator-questroom.ro.js +2 -0
- package/dist/questroom/create-questroom.dto.d.ts +3 -2
- package/dist/questroom/create-questroom.dto.js +77 -73
- package/dist/questroom/questroom.ro.d.ts +1 -0
- package/dist/questroom/update-questroom.dto.js +1 -1
- package/dist/registration-request/create-registration-request.dto.js +8 -8
- package/dist/registration-request/update-registration-request.dto.js +10 -10
- package/dist/role/create-role.dto.js +26 -26
- package/dist/role/update-role.dto.js +1 -1
- package/dist/shared/is-not-blank-string.js +1 -1
- package/dist/shared/is-not-blank.js +1 -1
- package/dist/shared/match.js +1 -1
- package/dist/shared/query.dto.js +6 -6
- package/dist/slot/add-breaks.dto.js +5 -5
- package/dist/slot/add-or-remove-break.dto.js +1 -1
- package/dist/slot/calendar-query.dto.js +3 -3
- package/dist/slot/create-slot.dto.js +5 -5
- package/dist/slot/daily-query.dto.js +2 -2
- package/dist/slot/remove-breaks.dto.js +3 -3
- package/dist/slot/remove-slots-by-date.dto.js +2 -2
- package/dist/slot/update-slot.dto.js +2 -2
- package/dist/slot/weekly-query.dto.js +2 -2
- package/dist/slot-template/create-slot-template-autocomplete.dto.d.ts +7 -0
- package/dist/slot-template/create-slot-template-autocomplete.dto.js +36 -0
- package/dist/slot-template/create-slot-template.dto.js +2 -2
- package/dist/slot-template/update-slot-template.dto.d.ts +1 -1
- package/dist/slot-template/update-slot-template.dto.js +7 -3
- package/dist/slot-template/update-weekends.dto.d.ts +6 -0
- package/dist/slot-template/update-weekends.dto.js +27 -0
- package/dist/support/create-support.dto.js +6 -6
- package/dist/tariff/create-tariff.dto.js +4 -4
- package/dist/tariff/update-tariff.dto.js +1 -1
- package/dist/transaction/create-certificate-sale-payment.dto.js +8 -8
- package/dist/transaction/create-certificate-sale-refund.dto.js +8 -8
- package/dist/transaction/create-order-payment.dto.js +8 -8
- package/dist/transaction/create-order-refund.dto.js +8 -8
- package/dist/transaction/create-transaction.dto.js +11 -11
- package/dist/transaction/transaction.ro.d.ts +30 -2
- package/dist/transaction/update-transaction.dto.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -14813
- package/dist/upload/upload-image.dto.js +1 -1
- package/dist/upselling/create-upselling.dto.js +18 -18
- package/dist/upselling/update-upselling.dto.js +1 -1
- package/dist/user/check-user-token.dto.js +1 -1
- package/dist/user/create-user.dto.js +21 -21
- package/dist/user/login-user.dto.js +3 -3
- package/dist/user/recover-password.dto.js +2 -2
- package/dist/user/update-current-user-password.dto.js +6 -6
- package/dist/user/update-current-user.dto.js +14 -14
- package/dist/user/update-user-password.dto.js +4 -4
- package/dist/user/update-user.dto.js +15 -15
- package/dist/user-message/create-user-message.dto.js +9 -9
- package/dist/widget/create-widget.dto.js +17 -17
- package/dist/widget/update-widget.dto.js +1 -1
- package/dist/widget-api/widget-schedule-query.dto.js +2 -2
- package/package.json +6 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from "./cashbox/cashbox.ro";
|
|
2
|
+
export * from "./cashbox/create-cashbox.dto";
|
|
3
|
+
export * from "./cashbox/enum/cashbox-type.enum";
|
|
@@ -14,60 +14,60 @@ const desinfection_enum_1 = require("./enum/desinfection.enum");
|
|
|
14
14
|
class CreateLocationDto {
|
|
15
15
|
}
|
|
16
16
|
__decorate([
|
|
17
|
-
is_not_blank_string_1.IsNotBlankString(),
|
|
18
|
-
class_transformer_1.Expose()
|
|
17
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
18
|
+
(0, class_transformer_1.Expose)()
|
|
19
19
|
], CreateLocationDto.prototype, "title", void 0);
|
|
20
20
|
__decorate([
|
|
21
|
-
is_not_blank_string_1.IsNotBlankString(),
|
|
22
|
-
class_transformer_1.Expose()
|
|
21
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
22
|
+
(0, class_transformer_1.Expose)()
|
|
23
23
|
], CreateLocationDto.prototype, "phone", void 0);
|
|
24
24
|
__decorate([
|
|
25
|
-
is_not_blank_string_1.IsNotBlankString(),
|
|
26
|
-
class_transformer_1.Expose()
|
|
25
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
26
|
+
(0, class_transformer_1.Expose)()
|
|
27
27
|
], CreateLocationDto.prototype, "address", void 0);
|
|
28
28
|
__decorate([
|
|
29
|
-
class_validator_1.IsOptional(),
|
|
30
|
-
class_validator_1.IsString(),
|
|
31
|
-
class_transformer_1.Expose()
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
(0, class_transformer_1.Expose)()
|
|
32
32
|
], CreateLocationDto.prototype, "howToFind", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
-
class_validator_1.IsEnum(desinfection_enum_1.DisinfectionTypeEnum),
|
|
35
|
-
class_transformer_1.Transform(({ value }) => value || desinfection_enum_1.DisinfectionTypeEnum.AFTER_EACH_GAME),
|
|
36
|
-
class_transformer_1.Expose()
|
|
34
|
+
(0, class_validator_1.IsEnum)(desinfection_enum_1.DisinfectionTypeEnum),
|
|
35
|
+
(0, class_transformer_1.Transform)(({ value }) => value || desinfection_enum_1.DisinfectionTypeEnum.AFTER_EACH_GAME),
|
|
36
|
+
(0, class_transformer_1.Expose)()
|
|
37
37
|
], CreateLocationDto.prototype, "disinfection", void 0);
|
|
38
38
|
__decorate([
|
|
39
|
-
class_validator_1.IsBoolean(),
|
|
40
|
-
class_transformer_1.Transform(({ value }) => value || false),
|
|
41
|
-
class_transformer_1.Expose()
|
|
39
|
+
(0, class_validator_1.IsBoolean)(),
|
|
40
|
+
(0, class_transformer_1.Transform)(({ value }) => value || false),
|
|
41
|
+
(0, class_transformer_1.Expose)()
|
|
42
42
|
], CreateLocationDto.prototype, "wifi", void 0);
|
|
43
43
|
__decorate([
|
|
44
|
-
class_validator_1.IsBoolean(),
|
|
45
|
-
class_transformer_1.Transform(({ value }) => value || false),
|
|
46
|
-
class_transformer_1.Expose()
|
|
44
|
+
(0, class_validator_1.IsBoolean)(),
|
|
45
|
+
(0, class_transformer_1.Transform)(({ value }) => value || false),
|
|
46
|
+
(0, class_transformer_1.Expose)()
|
|
47
47
|
], CreateLocationDto.prototype, "wardrobe", void 0);
|
|
48
48
|
__decorate([
|
|
49
|
-
class_validator_1.IsBoolean(),
|
|
50
|
-
class_transformer_1.Transform(({ value }) => value || false),
|
|
51
|
-
class_transformer_1.Expose()
|
|
49
|
+
(0, class_validator_1.IsBoolean)(),
|
|
50
|
+
(0, class_transformer_1.Transform)(({ value }) => value || false),
|
|
51
|
+
(0, class_transformer_1.Expose)()
|
|
52
52
|
], CreateLocationDto.prototype, "freeParking", void 0);
|
|
53
53
|
__decorate([
|
|
54
|
-
class_validator_1.IsBoolean(),
|
|
55
|
-
class_transformer_1.Transform(({ value }) => value || false),
|
|
56
|
-
class_transformer_1.Expose()
|
|
54
|
+
(0, class_validator_1.IsBoolean)(),
|
|
55
|
+
(0, class_transformer_1.Transform)(({ value }) => value || false),
|
|
56
|
+
(0, class_transformer_1.Expose)()
|
|
57
57
|
], CreateLocationDto.prototype, "parking", void 0);
|
|
58
58
|
__decorate([
|
|
59
|
-
class_validator_1.IsBoolean(),
|
|
60
|
-
class_transformer_1.Transform(({ value }) => value || false),
|
|
61
|
-
class_transformer_1.Expose()
|
|
59
|
+
(0, class_validator_1.IsBoolean)(),
|
|
60
|
+
(0, class_transformer_1.Transform)(({ value }) => value || false),
|
|
61
|
+
(0, class_transformer_1.Expose)()
|
|
62
62
|
], CreateLocationDto.prototype, "ventilation", void 0);
|
|
63
63
|
__decorate([
|
|
64
|
-
class_validator_1.IsBoolean(),
|
|
65
|
-
class_transformer_1.Transform(({ value }) => value || false),
|
|
66
|
-
class_transformer_1.Expose()
|
|
64
|
+
(0, class_validator_1.IsBoolean)(),
|
|
65
|
+
(0, class_transformer_1.Transform)(({ value }) => value || false),
|
|
66
|
+
(0, class_transformer_1.Expose)()
|
|
67
67
|
], CreateLocationDto.prototype, "waitingArea", void 0);
|
|
68
68
|
__decorate([
|
|
69
|
-
class_validator_1.ValidateIf((o) => o.waitingArea),
|
|
70
|
-
class_validator_1.IsPositive(),
|
|
71
|
-
class_transformer_1.Expose()
|
|
69
|
+
(0, class_validator_1.ValidateIf)((o) => o.waitingArea),
|
|
70
|
+
(0, class_validator_1.IsPositive)(),
|
|
71
|
+
(0, class_transformer_1.Expose)()
|
|
72
72
|
], CreateLocationDto.prototype, "waitingAreaSize", void 0);
|
|
73
73
|
exports.CreateLocationDto = CreateLocationDto;
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.GetNearestLocationDto = void 0;
|
|
10
|
+
const class_transformer_1 = require("class-transformer");
|
|
11
|
+
const class_validator_1 = require("class-validator");
|
|
12
|
+
class GetNearestLocationDto {
|
|
13
|
+
}
|
|
14
|
+
__decorate([
|
|
15
|
+
(0, class_validator_1.IsLatLong)(),
|
|
16
|
+
(0, class_transformer_1.Expose)()
|
|
17
|
+
], GetNearestLocationDto.prototype, "coordinates", void 0);
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsNumber)(),
|
|
20
|
+
(0, class_transformer_1.Expose)()
|
|
21
|
+
], GetNearestLocationDto.prototype, "maxDistance", void 0);
|
|
22
|
+
exports.GetNearestLocationDto = GetNearestLocationDto;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateLocationDto = void 0;
|
|
4
4
|
const mapped_types_1 = require("@nestjs/mapped-types");
|
|
5
5
|
const create_location_dto_1 = require("./create-location.dto");
|
|
6
|
-
class UpdateLocationDto extends mapped_types_1.PartialType(create_location_dto_1.CreateLocationDto) {
|
|
6
|
+
class UpdateLocationDto extends (0, mapped_types_1.PartialType)(create_location_dto_1.CreateLocationDto) {
|
|
7
7
|
}
|
|
8
8
|
exports.UpdateLocationDto = UpdateLocationDto;
|
|
@@ -11,6 +11,6 @@ const class_validator_1 = require("class-validator");
|
|
|
11
11
|
class AddCertificateToOrderDto {
|
|
12
12
|
}
|
|
13
13
|
__decorate([
|
|
14
|
-
class_validator_1.IsNumber()
|
|
14
|
+
(0, class_validator_1.IsNumber)()
|
|
15
15
|
], AddCertificateToOrderDto.prototype, "certificateId", void 0);
|
|
16
16
|
exports.AddCertificateToOrderDto = AddCertificateToOrderDto;
|
|
@@ -11,26 +11,26 @@ const class_validator_1 = require("class-validator");
|
|
|
11
11
|
class CreateOrderFromWidgetDto {
|
|
12
12
|
}
|
|
13
13
|
__decorate([
|
|
14
|
-
class_validator_1.IsNumber()
|
|
14
|
+
(0, class_validator_1.IsNumber)()
|
|
15
15
|
], CreateOrderFromWidgetDto.prototype, "players", void 0);
|
|
16
16
|
__decorate([
|
|
17
|
-
class_validator_1.IsNumber()
|
|
17
|
+
(0, class_validator_1.IsNumber)()
|
|
18
18
|
], CreateOrderFromWidgetDto.prototype, "slotId", void 0);
|
|
19
19
|
__decorate([
|
|
20
|
-
class_validator_1.IsNumber()
|
|
20
|
+
(0, class_validator_1.IsNumber)()
|
|
21
21
|
], CreateOrderFromWidgetDto.prototype, "clientId", void 0);
|
|
22
22
|
__decorate([
|
|
23
|
-
class_validator_1.IsOptional(),
|
|
24
|
-
class_validator_1.IsNumber()
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
(0, class_validator_1.IsNumber)()
|
|
25
25
|
], CreateOrderFromWidgetDto.prototype, "certificateId", void 0);
|
|
26
26
|
__decorate([
|
|
27
|
-
class_validator_1.IsOptional()
|
|
27
|
+
(0, class_validator_1.IsOptional)()
|
|
28
28
|
], CreateOrderFromWidgetDto.prototype, "clientComment", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
class_validator_1.IsDefined(),
|
|
31
|
-
class_validator_1.IsArray()
|
|
30
|
+
(0, class_validator_1.IsDefined)(),
|
|
31
|
+
(0, class_validator_1.IsArray)()
|
|
32
32
|
], CreateOrderFromWidgetDto.prototype, "upsellings", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
-
class_validator_1.IsNumber()
|
|
34
|
+
(0, class_validator_1.IsNumber)()
|
|
35
35
|
], CreateOrderFromWidgetDto.prototype, "widgetId", void 0);
|
|
36
36
|
exports.CreateOrderFromWidgetDto = CreateOrderFromWidgetDto;
|
|
@@ -11,12 +11,12 @@ const class_validator_1 = require("class-validator");
|
|
|
11
11
|
class CreateOrderDto {
|
|
12
12
|
}
|
|
13
13
|
__decorate([
|
|
14
|
-
class_validator_1.IsNumber()
|
|
14
|
+
(0, class_validator_1.IsNumber)()
|
|
15
15
|
], CreateOrderDto.prototype, "slotId", void 0);
|
|
16
16
|
__decorate([
|
|
17
|
-
class_validator_1.IsNumber()
|
|
17
|
+
(0, class_validator_1.IsNumber)()
|
|
18
18
|
], CreateOrderDto.prototype, "players", void 0);
|
|
19
19
|
__decorate([
|
|
20
|
-
class_validator_1.IsNumber()
|
|
20
|
+
(0, class_validator_1.IsNumber)()
|
|
21
21
|
], CreateOrderDto.prototype, "clientId", void 0);
|
|
22
22
|
exports.CreateOrderDto = CreateOrderDto;
|
|
@@ -11,6 +11,6 @@ const class_validator_1 = require("class-validator");
|
|
|
11
11
|
class RemoveCertificateFromOrderDto {
|
|
12
12
|
}
|
|
13
13
|
__decorate([
|
|
14
|
-
class_validator_1.IsNumber()
|
|
14
|
+
(0, class_validator_1.IsNumber)()
|
|
15
15
|
], RemoveCertificateFromOrderDto.prototype, "certificateId", void 0);
|
|
16
16
|
exports.RemoveCertificateFromOrderDto = RemoveCertificateFromOrderDto;
|
|
@@ -11,6 +11,6 @@ const class_validator_1 = require("class-validator");
|
|
|
11
11
|
class UpdateOrderPlayersDto {
|
|
12
12
|
}
|
|
13
13
|
__decorate([
|
|
14
|
-
class_validator_1.IsNumber()
|
|
14
|
+
(0, class_validator_1.IsNumber)()
|
|
15
15
|
], UpdateOrderPlayersDto.prototype, "players", void 0);
|
|
16
16
|
exports.UpdateOrderPlayersDto = UpdateOrderPlayersDto;
|
|
@@ -11,6 +11,6 @@ const class_validator_1 = require("class-validator");
|
|
|
11
11
|
class UpdateOrderSlotDto {
|
|
12
12
|
}
|
|
13
13
|
__decorate([
|
|
14
|
-
class_validator_1.IsNumber()
|
|
14
|
+
(0, class_validator_1.IsNumber)()
|
|
15
15
|
], UpdateOrderSlotDto.prototype, "slotId", void 0);
|
|
16
16
|
exports.UpdateOrderSlotDto = UpdateOrderSlotDto;
|
|
@@ -12,6 +12,6 @@ const order_status_enum_1 = require("./enum/order-status.enum");
|
|
|
12
12
|
class UpdateOrderStatusDto {
|
|
13
13
|
}
|
|
14
14
|
__decorate([
|
|
15
|
-
class_validator_1.IsEnum(order_status_enum_1.OrderStatusEnum)
|
|
15
|
+
(0, class_validator_1.IsEnum)(order_status_enum_1.OrderStatusEnum)
|
|
16
16
|
], UpdateOrderStatusDto.prototype, "status", void 0);
|
|
17
17
|
exports.UpdateOrderStatusDto = UpdateOrderStatusDto;
|
|
@@ -11,14 +11,14 @@ const class_validator_1 = require("class-validator");
|
|
|
11
11
|
class UpdateOrderDto {
|
|
12
12
|
}
|
|
13
13
|
__decorate([
|
|
14
|
-
class_validator_1.IsOptional(),
|
|
15
|
-
class_validator_1.IsArray()
|
|
14
|
+
(0, class_validator_1.IsOptional)(),
|
|
15
|
+
(0, class_validator_1.IsArray)()
|
|
16
16
|
], UpdateOrderDto.prototype, "photos", void 0);
|
|
17
17
|
__decorate([
|
|
18
|
-
class_validator_1.IsOptional(),
|
|
19
|
-
class_validator_1.IsNumber()
|
|
18
|
+
(0, class_validator_1.IsOptional)(),
|
|
19
|
+
(0, class_validator_1.IsNumber)()
|
|
20
20
|
], UpdateOrderDto.prototype, "players", void 0);
|
|
21
21
|
__decorate([
|
|
22
|
-
class_validator_1.IsOptional()
|
|
22
|
+
(0, class_validator_1.IsOptional)()
|
|
23
23
|
], UpdateOrderDto.prototype, "language", void 0);
|
|
24
24
|
exports.UpdateOrderDto = UpdateOrderDto;
|
|
@@ -11,9 +11,9 @@ const class_validator_1 = require("class-validator");
|
|
|
11
11
|
class CreateOrderCertificateDto {
|
|
12
12
|
}
|
|
13
13
|
__decorate([
|
|
14
|
-
class_validator_1.IsNumber()
|
|
14
|
+
(0, class_validator_1.IsNumber)()
|
|
15
15
|
], CreateOrderCertificateDto.prototype, "orderId", void 0);
|
|
16
16
|
__decorate([
|
|
17
|
-
class_validator_1.IsNumber()
|
|
17
|
+
(0, class_validator_1.IsNumber)()
|
|
18
18
|
], CreateOrderCertificateDto.prototype, "certificateId", void 0);
|
|
19
19
|
exports.CreateOrderCertificateDto = CreateOrderCertificateDto;
|
|
@@ -12,15 +12,15 @@ const class_validator_1 = require("class-validator");
|
|
|
12
12
|
class CreateOrderDiscountDto {
|
|
13
13
|
}
|
|
14
14
|
__decorate([
|
|
15
|
-
class_validator_1.IsNotEmpty(),
|
|
16
|
-
class_transformer_1.Expose()
|
|
15
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
16
|
+
(0, class_transformer_1.Expose)()
|
|
17
17
|
], CreateOrderDiscountDto.prototype, "reason", void 0);
|
|
18
18
|
__decorate([
|
|
19
|
-
class_validator_1.IsNumber(),
|
|
20
|
-
class_transformer_1.Expose()
|
|
19
|
+
(0, class_validator_1.IsNumber)(),
|
|
20
|
+
(0, class_transformer_1.Expose)()
|
|
21
21
|
], CreateOrderDiscountDto.prototype, "amount", void 0);
|
|
22
22
|
__decorate([
|
|
23
|
-
class_validator_1.IsNumber(),
|
|
24
|
-
class_transformer_1.Expose()
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
(0, class_transformer_1.Expose)()
|
|
25
25
|
], CreateOrderDiscountDto.prototype, "orderId", void 0);
|
|
26
26
|
exports.CreateOrderDiscountDto = CreateOrderDiscountDto;
|
|
@@ -12,15 +12,15 @@ const class_validator_1 = require("class-validator");
|
|
|
12
12
|
class CreateOrderPenaltyDto {
|
|
13
13
|
}
|
|
14
14
|
__decorate([
|
|
15
|
-
class_validator_1.IsNotEmpty(),
|
|
16
|
-
class_transformer_1.Expose()
|
|
15
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
16
|
+
(0, class_transformer_1.Expose)()
|
|
17
17
|
], CreateOrderPenaltyDto.prototype, "reason", void 0);
|
|
18
18
|
__decorate([
|
|
19
|
-
class_validator_1.IsNumber(),
|
|
20
|
-
class_transformer_1.Expose()
|
|
19
|
+
(0, class_validator_1.IsNumber)(),
|
|
20
|
+
(0, class_transformer_1.Expose)()
|
|
21
21
|
], CreateOrderPenaltyDto.prototype, "amount", void 0);
|
|
22
22
|
__decorate([
|
|
23
|
-
class_validator_1.IsNumber(),
|
|
24
|
-
class_transformer_1.Expose()
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
(0, class_transformer_1.Expose)()
|
|
25
25
|
], CreateOrderPenaltyDto.prototype, "orderId", void 0);
|
|
26
26
|
exports.CreateOrderPenaltyDto = CreateOrderPenaltyDto;
|
|
@@ -12,11 +12,11 @@ const class_validator_1 = require("class-validator");
|
|
|
12
12
|
class CreateOrderUpsellingDto {
|
|
13
13
|
}
|
|
14
14
|
__decorate([
|
|
15
|
-
class_validator_1.IsArray(),
|
|
16
|
-
class_transformer_1.Expose()
|
|
15
|
+
(0, class_validator_1.IsArray)(),
|
|
16
|
+
(0, class_transformer_1.Expose)()
|
|
17
17
|
], CreateOrderUpsellingDto.prototype, "upsellings", void 0);
|
|
18
18
|
__decorate([
|
|
19
|
-
class_validator_1.IsNumber(),
|
|
20
|
-
class_transformer_1.Expose()
|
|
19
|
+
(0, class_validator_1.IsNumber)(),
|
|
20
|
+
(0, class_transformer_1.Expose)()
|
|
21
21
|
], CreateOrderUpsellingDto.prototype, "orderId", void 0);
|
|
22
22
|
exports.CreateOrderUpsellingDto = CreateOrderUpsellingDto;
|
|
@@ -13,27 +13,27 @@ const is_not_blank_string_1 = require("../shared/is-not-blank-string");
|
|
|
13
13
|
class CreatePartnerDto {
|
|
14
14
|
}
|
|
15
15
|
__decorate([
|
|
16
|
-
is_not_blank_string_1.IsNotBlankString(),
|
|
17
|
-
class_transformer_1.Expose()
|
|
16
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
17
|
+
(0, class_transformer_1.Expose)()
|
|
18
18
|
], CreatePartnerDto.prototype, "title", void 0);
|
|
19
19
|
__decorate([
|
|
20
|
-
class_validator_1.IsOptional(),
|
|
21
|
-
class_validator_1.IsString(),
|
|
22
|
-
class_transformer_1.Expose()
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
(0, class_validator_1.IsString)(),
|
|
22
|
+
(0, class_transformer_1.Expose)()
|
|
23
23
|
], CreatePartnerDto.prototype, "contact", void 0);
|
|
24
24
|
__decorate([
|
|
25
|
-
class_validator_1.IsOptional(),
|
|
26
|
-
class_validator_1.IsString(),
|
|
27
|
-
class_transformer_1.Expose()
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, class_transformer_1.Expose)()
|
|
28
28
|
], CreatePartnerDto.prototype, "email", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
class_validator_1.IsOptional(),
|
|
31
|
-
class_validator_1.IsString(),
|
|
32
|
-
class_transformer_1.Expose()
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
(0, class_transformer_1.Expose)()
|
|
33
33
|
], CreatePartnerDto.prototype, "phone", void 0);
|
|
34
34
|
__decorate([
|
|
35
|
-
class_validator_1.IsOptional(),
|
|
36
|
-
class_validator_1.IsString(),
|
|
37
|
-
class_transformer_1.Expose()
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
(0, class_transformer_1.Expose)()
|
|
38
38
|
], CreatePartnerDto.prototype, "comment", void 0);
|
|
39
39
|
exports.CreatePartnerDto = CreatePartnerDto;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdatePartnerDto = void 0;
|
|
4
4
|
const mapped_types_1 = require("@nestjs/mapped-types");
|
|
5
5
|
const create_partner_dto_1 = require("./create-partner.dto");
|
|
6
|
-
class UpdatePartnerDto extends mapped_types_1.PartialType(create_partner_dto_1.CreatePartnerDto) {
|
|
6
|
+
class UpdatePartnerDto extends (0, mapped_types_1.PartialType)(create_partner_dto_1.CreatePartnerDto) {
|
|
7
7
|
}
|
|
8
8
|
exports.UpdatePartnerDto = UpdatePartnerDto;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
2
|
+
import { ResponseObject } from '../shared/ro';
|
|
3
|
+
import { ProfileCurrencyEnum } from './enum/profile-currency';
|
|
4
|
+
import { ProfileStatusEnum } from './enum/profile-status.enum';
|
|
5
|
+
export declare type AgregatorProfileResponseObject = ResponseObject & {
|
|
6
|
+
title: string;
|
|
7
|
+
legalTitle: string;
|
|
8
|
+
phone: string;
|
|
9
|
+
email: string;
|
|
10
|
+
site: string;
|
|
11
|
+
address: string;
|
|
12
|
+
facebook?: string;
|
|
13
|
+
instagram?: string;
|
|
14
|
+
comment?: string;
|
|
15
|
+
logo?: string;
|
|
16
|
+
status: ProfileStatusEnum;
|
|
17
|
+
country: CountriesEnum;
|
|
18
|
+
currency: ProfileCurrencyEnum;
|
|
19
|
+
locationsCount: number;
|
|
20
|
+
questroomsCount: number;
|
|
21
|
+
contactPhone: string;
|
|
22
|
+
contactName: string;
|
|
23
|
+
};
|
|
@@ -14,65 +14,65 @@ const profile_currency_1 = require("./enum/profile-currency");
|
|
|
14
14
|
class CreateProfileDto {
|
|
15
15
|
}
|
|
16
16
|
__decorate([
|
|
17
|
-
is_not_blank_string_1.IsNotBlankString(),
|
|
18
|
-
class_transformer_1.Expose()
|
|
17
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
18
|
+
(0, class_transformer_1.Expose)()
|
|
19
19
|
], CreateProfileDto.prototype, "title", void 0);
|
|
20
20
|
__decorate([
|
|
21
|
-
is_not_blank_string_1.IsNotBlankString(),
|
|
22
|
-
class_validator_1.IsEmail(),
|
|
23
|
-
class_transformer_1.Expose()
|
|
21
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
22
|
+
(0, class_validator_1.IsEmail)(),
|
|
23
|
+
(0, class_transformer_1.Expose)()
|
|
24
24
|
], CreateProfileDto.prototype, "email", void 0);
|
|
25
25
|
__decorate([
|
|
26
|
-
is_not_blank_string_1.IsNotBlankString(),
|
|
27
|
-
class_transformer_1.Expose()
|
|
26
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
27
|
+
(0, class_transformer_1.Expose)()
|
|
28
28
|
], CreateProfileDto.prototype, "phone", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
class_validator_1.IsUrl(),
|
|
31
|
-
class_transformer_1.Expose()
|
|
30
|
+
(0, class_validator_1.IsUrl)(),
|
|
31
|
+
(0, class_transformer_1.Expose)()
|
|
32
32
|
], CreateProfileDto.prototype, "site", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
-
is_not_blank_string_1.IsNotBlankString(),
|
|
35
|
-
class_transformer_1.Expose()
|
|
34
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
35
|
+
(0, class_transformer_1.Expose)()
|
|
36
36
|
], CreateProfileDto.prototype, "legalTitle", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
is_not_blank_string_1.IsNotBlankString(),
|
|
39
|
-
class_transformer_1.Expose()
|
|
38
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
39
|
+
(0, class_transformer_1.Expose)()
|
|
40
40
|
], CreateProfileDto.prototype, "address", void 0);
|
|
41
41
|
__decorate([
|
|
42
|
-
class_validator_1.IsOptional(),
|
|
43
|
-
class_validator_1.IsString(),
|
|
44
|
-
class_transformer_1.Expose()
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_transformer_1.Expose)()
|
|
45
45
|
], CreateProfileDto.prototype, "instagram", void 0);
|
|
46
46
|
__decorate([
|
|
47
|
-
class_validator_1.IsOptional(),
|
|
48
|
-
class_validator_1.IsString(),
|
|
49
|
-
class_transformer_1.Expose()
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
(0, class_validator_1.IsString)(),
|
|
49
|
+
(0, class_transformer_1.Expose)()
|
|
50
50
|
], CreateProfileDto.prototype, "facebook", void 0);
|
|
51
51
|
__decorate([
|
|
52
|
-
is_not_blank_string_1.IsNotBlankString(),
|
|
53
|
-
class_transformer_1.Expose()
|
|
52
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
53
|
+
(0, class_transformer_1.Expose)()
|
|
54
54
|
], CreateProfileDto.prototype, "country", void 0);
|
|
55
55
|
__decorate([
|
|
56
|
-
class_validator_1.IsEnum(profile_currency_1.ProfileCurrencyEnum),
|
|
57
|
-
is_not_blank_string_1.IsNotBlankString(),
|
|
58
|
-
class_transformer_1.Expose()
|
|
56
|
+
(0, class_validator_1.IsEnum)(profile_currency_1.ProfileCurrencyEnum),
|
|
57
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
58
|
+
(0, class_transformer_1.Expose)()
|
|
59
59
|
], CreateProfileDto.prototype, "currency", void 0);
|
|
60
60
|
__decorate([
|
|
61
|
-
class_validator_1.IsOptional(),
|
|
62
|
-
class_validator_1.IsString(),
|
|
63
|
-
class_transformer_1.Expose()
|
|
61
|
+
(0, class_validator_1.IsOptional)(),
|
|
62
|
+
(0, class_validator_1.IsString)(),
|
|
63
|
+
(0, class_transformer_1.Expose)()
|
|
64
64
|
], CreateProfileDto.prototype, "comment", void 0);
|
|
65
65
|
__decorate([
|
|
66
|
-
is_not_blank_string_1.IsNotBlankString(),
|
|
67
|
-
class_transformer_1.Expose()
|
|
66
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
67
|
+
(0, class_transformer_1.Expose)()
|
|
68
68
|
], CreateProfileDto.prototype, "contactName", void 0);
|
|
69
69
|
__decorate([
|
|
70
|
-
is_not_blank_string_1.IsNotBlankString(),
|
|
71
|
-
class_transformer_1.Expose()
|
|
70
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
71
|
+
(0, class_transformer_1.Expose)()
|
|
72
72
|
], CreateProfileDto.prototype, "contactPhone", void 0);
|
|
73
73
|
__decorate([
|
|
74
|
-
class_validator_1.IsOptional(),
|
|
75
|
-
class_validator_1.IsString(),
|
|
76
|
-
class_transformer_1.Expose()
|
|
74
|
+
(0, class_validator_1.IsOptional)(),
|
|
75
|
+
(0, class_validator_1.IsString)(),
|
|
76
|
+
(0, class_transformer_1.Expose)()
|
|
77
77
|
], CreateProfileDto.prototype, "logo", void 0);
|
|
78
78
|
exports.CreateProfileDto = CreateProfileDto;
|
|
@@ -12,45 +12,45 @@ const is_not_blank_1 = require("../shared/is-not-blank");
|
|
|
12
12
|
class UpdateProfileDto {
|
|
13
13
|
}
|
|
14
14
|
__decorate([
|
|
15
|
-
is_not_blank_1.IsNotBlank()
|
|
15
|
+
(0, is_not_blank_1.IsNotBlank)()
|
|
16
16
|
], UpdateProfileDto.prototype, "title", void 0);
|
|
17
17
|
__decorate([
|
|
18
|
-
is_not_blank_1.IsNotBlank()
|
|
18
|
+
(0, is_not_blank_1.IsNotBlank)()
|
|
19
19
|
], UpdateProfileDto.prototype, "legalTitle", void 0);
|
|
20
20
|
__decorate([
|
|
21
|
-
is_not_blank_1.IsNotBlank()
|
|
21
|
+
(0, is_not_blank_1.IsNotBlank)()
|
|
22
22
|
], UpdateProfileDto.prototype, "phone", void 0);
|
|
23
23
|
__decorate([
|
|
24
|
-
is_not_blank_1.IsNotBlank()
|
|
24
|
+
(0, is_not_blank_1.IsNotBlank)()
|
|
25
25
|
], UpdateProfileDto.prototype, "contactPhone", void 0);
|
|
26
26
|
__decorate([
|
|
27
|
-
is_not_blank_1.IsNotBlank()
|
|
27
|
+
(0, is_not_blank_1.IsNotBlank)()
|
|
28
28
|
], UpdateProfileDto.prototype, "contactName", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
is_not_blank_1.IsNotBlank()
|
|
30
|
+
(0, is_not_blank_1.IsNotBlank)()
|
|
31
31
|
], UpdateProfileDto.prototype, "email", void 0);
|
|
32
32
|
__decorate([
|
|
33
|
-
is_not_blank_1.IsNotBlank()
|
|
33
|
+
(0, is_not_blank_1.IsNotBlank)()
|
|
34
34
|
], UpdateProfileDto.prototype, "site", void 0);
|
|
35
35
|
__decorate([
|
|
36
|
-
is_not_blank_1.IsNotBlank()
|
|
36
|
+
(0, is_not_blank_1.IsNotBlank)()
|
|
37
37
|
], UpdateProfileDto.prototype, "address", void 0);
|
|
38
38
|
__decorate([
|
|
39
|
-
is_not_blank_1.IsNotBlank()
|
|
39
|
+
(0, is_not_blank_1.IsNotBlank)()
|
|
40
40
|
], UpdateProfileDto.prototype, "country", void 0);
|
|
41
41
|
__decorate([
|
|
42
|
-
is_not_blank_1.IsNotBlank()
|
|
42
|
+
(0, is_not_blank_1.IsNotBlank)()
|
|
43
43
|
], UpdateProfileDto.prototype, "currency", void 0);
|
|
44
44
|
__decorate([
|
|
45
|
-
class_validator_1.IsOptional()
|
|
45
|
+
(0, class_validator_1.IsOptional)()
|
|
46
46
|
], UpdateProfileDto.prototype, "facebook", void 0);
|
|
47
47
|
__decorate([
|
|
48
|
-
class_validator_1.IsOptional()
|
|
48
|
+
(0, class_validator_1.IsOptional)()
|
|
49
49
|
], UpdateProfileDto.prototype, "instagram", void 0);
|
|
50
50
|
__decorate([
|
|
51
|
-
class_validator_1.IsOptional()
|
|
51
|
+
(0, class_validator_1.IsOptional)()
|
|
52
52
|
], UpdateProfileDto.prototype, "comment", void 0);
|
|
53
53
|
__decorate([
|
|
54
|
-
class_validator_1.IsOptional()
|
|
54
|
+
(0, class_validator_1.IsOptional)()
|
|
55
55
|
], UpdateProfileDto.prototype, "logo", void 0);
|
|
56
56
|
exports.UpdateProfileDto = UpdateProfileDto;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
+
import { ResponseObject } from '../shared/ro';
|
|
3
|
+
export declare type AgregatorQuestroomResponseObject = ResponseObject & {
|
|
4
|
+
title: string;
|
|
5
|
+
video?: string;
|
|
6
|
+
photo: string;
|
|
7
|
+
photos?: string[];
|
|
8
|
+
time: number;
|
|
9
|
+
breakInterval: number;
|
|
10
|
+
type: string;
|
|
11
|
+
minAge: number;
|
|
12
|
+
difficult: number;
|
|
13
|
+
fear: number;
|
|
14
|
+
teaser?: string;
|
|
15
|
+
legend?: string;
|
|
16
|
+
actors: boolean;
|
|
17
|
+
languages?: Languages[];
|
|
18
|
+
defaultLanguage?: Languages;
|
|
19
|
+
minHoursForFreeCanceling?: number;
|
|
20
|
+
awailableForNavigator: boolean;
|
|
21
|
+
awailableForWidgets: boolean;
|
|
22
|
+
questroomIds?: number[];
|
|
23
|
+
onlinePaymentsCashbox: number;
|
|
24
|
+
cashPaymentsCashbox: number;
|
|
25
|
+
cardPaymentsCashbox: number;
|
|
26
|
+
locationId: number;
|
|
27
|
+
sortPosition: number;
|
|
28
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Languages } from
|
|
2
|
-
import { QuestroomTypeEnum } from
|
|
1
|
+
import { Languages } from "../shared/enum/languages.enum";
|
|
2
|
+
import { QuestroomTypeEnum } from "./enum/questroom-type.enum";
|
|
3
3
|
export declare class CreateQuestroomDto {
|
|
4
4
|
title: string;
|
|
5
5
|
locationId: number;
|
|
@@ -16,6 +16,7 @@ export declare class CreateQuestroomDto {
|
|
|
16
16
|
walletId?: number;
|
|
17
17
|
onlinePaymentsCashbox: number;
|
|
18
18
|
cashPaymentsCashbox: number;
|
|
19
|
+
cardPaymentsCashbox: number;
|
|
19
20
|
awailableForWidgets: boolean;
|
|
20
21
|
awailableForNavigator: boolean;
|
|
21
22
|
breakInterval: number;
|