@escapenavigator/types 2.0.41 → 2.0.44
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/cashbox/cashbox.ro.d.ts +1 -0
- package/dist/cashbox/cashbox.ro.js +5 -0
- package/dist/cashbox/create-online-cashbox.dto.d.ts +2 -1
- package/dist/cashbox/create-online-cashbox.dto.js +10 -1
- package/dist/cashbox/enum/cashbox-type.enum.d.ts +5 -1
- package/dist/cashbox/enum/cashbox-type.enum.js +9 -1
- package/dist/cashbox/update-online-cashbox.dto.d.ts +2 -0
- package/dist/cashbox/update-online-cashbox.dto.js +10 -0
- package/dist/certificate/certificate.ro.d.ts +1 -0
- package/dist/certificate/certificate.ro.js +4 -0
- package/dist/certificate/create-certificate.dto.d.ts +1 -0
- package/dist/certificate/create-certificate.dto.js +5 -0
- package/dist/certificate-sale/certificate-sale.ro.d.ts +4 -0
- package/dist/certificate-sale/certificate-sale.ro.js +16 -0
- package/dist/certificate-sale/create-certificatesale.dto.d.ts +4 -0
- package/dist/certificate-sale/create-certificatesale.dto.js +24 -0
- package/dist/certificate-v2/certificate-settings.ro.d.ts +1 -0
- package/dist/certificate-v2/certificate-settings.ro.js +4 -0
- package/dist/certificate-v2/update-certificate-settings.dto.d.ts +1 -0
- package/dist/certificate-v2/update-certificate-settings.dto.js +5 -0
- package/dist/emails/enum/email.senders.d.ts +3 -0
- package/dist/emails/enum/email.senders.js +10 -1
- package/dist/emails/index.d.ts +2 -2
- package/dist/emails/send-email.dto.d.ts +2 -2
- package/dist/emails/send-email.dto.js +2 -2
- package/dist/fiscal/enum/fiscal-provider.enum.d.ts +4 -0
- package/dist/fiscal/enum/fiscal-provider.enum.js +8 -0
- package/dist/fiscal/fiscal-option.ro.d.ts +5 -0
- package/dist/fiscal/fiscal-option.ro.js +28 -0
- package/dist/fiscal/fiscal-settings.ro.d.ts +40 -0
- package/dist/fiscal/fiscal-settings.ro.js +157 -0
- package/dist/fiscal/update-fiscal-settings.dto.d.ts +18 -0
- package/dist/fiscal/update-fiscal-settings.dto.js +114 -0
- package/dist/forms/widget/widget-client-form.dto.d.ts +2 -0
- package/dist/forms/widget/widget-client-form.dto.js +13 -1
- package/dist/invoice-express/connect-invoice-express.dto.d.ts +6 -0
- package/dist/invoice-express/connect-invoice-express.dto.js +40 -0
- package/dist/invoice-express/enum/invoice-express-document-status.enum.d.ts +5 -0
- package/dist/invoice-express/enum/invoice-express-document-status.enum.js +9 -0
- package/dist/invoice-express/enum/invoice-express-document-type.enum.d.ts +6 -0
- package/dist/invoice-express/enum/invoice-express-document-type.enum.js +10 -0
- package/dist/invoice-express/invoice-express-tax.ro.d.ts +6 -0
- package/dist/invoice-express/invoice-express-tax.ro.js +32 -0
- package/dist/invoice-express/invoice-express.ro.d.ts +9 -0
- package/dist/invoice-express/invoice-express.ro.js +42 -0
- package/dist/lead/create-lead.dto.d.ts +19 -0
- package/dist/lead/create-lead.dto.js +89 -0
- package/dist/lead/enums/lead-event-type.enum.d.ts +11 -0
- package/dist/lead/enums/lead-event-type.enum.js +15 -0
- package/dist/lead/enums/lead-field-mapping.enum.d.ts +23 -0
- package/dist/lead/enums/lead-field-mapping.enum.js +27 -0
- package/dist/lead/enums/lead-field-type.enum.d.ts +29 -0
- package/dist/lead/enums/lead-field-type.enum.js +33 -0
- package/dist/lead/enums/lead-lost-reason.enum.d.ts +11 -0
- package/dist/lead/enums/lead-lost-reason.enum.js +15 -0
- package/dist/lead/enums/lead-source.enum.d.ts +17 -0
- package/dist/lead/enums/lead-source.enum.js +21 -0
- package/dist/lead/enums/lead-stage-kind.enum.d.ts +18 -0
- package/dist/lead/enums/lead-stage-kind.enum.js +22 -0
- package/dist/lead/lead-answer.type.d.ts +17 -0
- package/dist/lead/lead-answer.type.js +2 -0
- package/dist/lead/lead-board.ro.d.ts +39 -0
- package/dist/lead/lead-board.ro.js +16 -0
- package/dist/lead/lead-conversion-prefill.ro.d.ts +20 -0
- package/dist/lead/lead-conversion-prefill.ro.js +11 -0
- package/dist/lead/lead-counters.ro.d.ts +9 -0
- package/dist/lead/lead-counters.ro.js +7 -0
- package/dist/lead/lead-event.ro.d.ts +13 -0
- package/dist/lead/lead-event.ro.js +37 -0
- package/dist/lead/lead-form-defaults.ro.d.ts +15 -0
- package/dist/lead/lead-form-defaults.ro.js +11 -0
- package/dist/lead/lead-form-field.type.d.ts +59 -0
- package/dist/lead/lead-form-field.type.js +2 -0
- package/dist/lead/lead-form.ro.d.ts +24 -0
- package/dist/lead/lead-form.ro.js +72 -0
- package/dist/lead/lead-meta.type.d.ts +19 -0
- package/dist/lead/lead-meta.type.js +2 -0
- package/dist/lead/lead-realtime.ro.d.ts +18 -0
- package/dist/lead/lead-realtime.ro.js +13 -0
- package/dist/lead/lead-stage.ro.d.ts +20 -0
- package/dist/lead/lead-stage.ro.js +49 -0
- package/dist/lead/lead.ro.d.ts +42 -0
- package/dist/lead/lead.ro.js +126 -0
- package/dist/lead/link-lead-conversion.dto.d.ts +9 -0
- package/dist/lead/link-lead-conversion.dto.js +39 -0
- package/dist/lead/public/public-lead-form.ro.d.ts +43 -0
- package/dist/lead/public/public-lead-form.ro.js +24 -0
- package/dist/lead/public/submit-lead.dto.d.ts +22 -0
- package/dist/lead/public/submit-lead.dto.js +62 -0
- package/dist/lead/public/submit-lead.ro.d.ts +10 -0
- package/dist/lead/public/submit-lead.ro.js +10 -0
- package/dist/lead/query-leads.dto.d.ts +29 -0
- package/dist/lead/query-leads.dto.js +111 -0
- package/dist/lead/update-lead-form.dto.d.ts +25 -0
- package/dist/lead/update-lead-form.dto.js +85 -0
- package/dist/lead/update-lead-stages.dto.d.ts +20 -0
- package/dist/lead/update-lead-stages.dto.js +69 -0
- package/dist/lead/update-lead.dto.d.ts +23 -0
- package/dist/lead/update-lead.dto.js +108 -0
- package/dist/loyalty/loyalty-bonus.ro.d.ts +5 -0
- package/dist/loyalty/loyalty-bonus.ro.js +4 -0
- package/dist/openapi/certificates-v2/openapi-create-certificate-shop-sale.dto.d.ts +4 -0
- package/dist/openapi/certificates-v2/openapi-create-certificate-shop-sale.dto.js +24 -0
- package/dist/openapi/orders/enum/payment-type.enum.d.ts +3 -1
- package/dist/openapi/orders/enum/payment-type.enum.js +2 -0
- package/dist/openapi/orders/openapi-create-preorder.dto.d.ts +4 -0
- package/dist/openapi/orders/openapi-create-preorder.dto.js +20 -0
- package/dist/openapi/shared/openapi-create-payment.ro.d.ts +1 -0
- package/dist/openapi/shared/openapi-create-payment.ro.js +4 -0
- package/dist/openapi/shared/openapi-questroom.ro.d.ts +1 -0
- package/dist/openapi/shared/openapi-questroom.ro.js +4 -0
- package/dist/openapi/widget/openapi-widget-info.ro.d.ts +13 -0
- package/dist/openapi/widget/openapi-widget-info.ro.js +9 -0
- package/dist/order/create-order.dto.d.ts +4 -0
- package/dist/order/create-order.dto.js +23 -0
- package/dist/order/order.ro.d.ts +8 -0
- package/dist/order/order.ro.js +32 -0
- package/dist/packages/create-package.dto.js +1 -1
- package/dist/packages/package-availability.dto.d.ts +13 -0
- package/dist/packages/package-availability.dto.js +27 -1
- package/dist/packages/package-availability.ro.d.ts +54 -5
- package/dist/packages/package-availability.ro.js +95 -2
- package/dist/player/player.ro.d.ts +7 -0
- package/dist/player/player.ro.js +24 -0
- package/dist/profile/email/profile-email-type.enum.d.ts +2 -0
- package/dist/profile/email/profile-email-type.enum.js +2 -0
- package/dist/profile/notification-chanel/notification-chanel-action.enum.d.ts +13 -1
- package/dist/profile/notification-chanel/notification-chanel-action.enum.js +14 -1
- package/dist/profile/profile.ro.d.ts +6 -0
- package/dist/profile/profile.ro.js +24 -0
- package/dist/profile/telephony/dto/ingest-telephony-call.dto.d.ts +16 -0
- package/dist/profile/telephony/dto/ingest-telephony-call.dto.js +83 -0
- package/dist/profile/telephony/dto/send-telephony-test-call.dto.d.ts +3 -0
- package/dist/profile/telephony/dto/send-telephony-test-call.dto.js +23 -0
- package/dist/profile/telephony/dto/update-telephony-settings.dto.d.ts +3 -0
- package/dist/profile/telephony/dto/update-telephony-settings.dto.js +22 -0
- package/dist/profile/telephony/enum/call-direction.enum.d.ts +4 -0
- package/dist/profile/telephony/enum/call-direction.enum.js +8 -0
- package/dist/profile/telephony/enum/call-status.enum.d.ts +7 -0
- package/dist/profile/telephony/enum/call-status.enum.js +11 -0
- package/dist/profile/telephony/ro/telephony-call.ro.d.ts +19 -0
- package/dist/profile/telephony/ro/telephony-call.ro.js +75 -0
- package/dist/profile/telephony/ro/telephony-settings.ro.d.ts +18 -0
- package/dist/profile/telephony/ro/telephony-settings.ro.js +65 -0
- package/dist/questroom/create-questroom.dto.d.ts +1 -0
- package/dist/questroom/create-questroom.dto.js +5 -0
- package/dist/questroom/questroom-light.ro.d.ts +1 -0
- package/dist/questroom/questroom-light.ro.js +4 -0
- package/dist/role/create-role.dto.d.ts +1 -0
- package/dist/role/create-role.dto.js +6 -0
- package/dist/role/role.ro.d.ts +1 -0
- package/dist/role/role.ro.js +4 -0
- package/dist/shared/localized-string.type.d.ts +8 -0
- package/dist/shared/localized-string.type.js +2 -0
- package/dist/transaction/enum/transaction-source.enum.d.ts +3 -1
- package/dist/transaction/enum/transaction-source.enum.js +2 -0
- package/dist/transaction/transaction.ro.d.ts +3 -0
- package/dist/transaction/transaction.ro.js +12 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/crud/user.ro.d.ts +1 -0
- package/dist/user/crud/user.ro.js +5 -0
- package/dist/user/current/update-current-user-notifications.dto.d.ts +5 -0
- package/dist/user/current/update-current-user-notifications.dto.js +6 -0
- package/dist/user/task/user-task.dto.d.ts +1 -0
- package/dist/user/task/user-task.dto.js +5 -0
- package/dist/user/task/user-task.ro.d.ts +1 -0
- package/dist/user/task/user-task.ro.js +4 -0
- package/dist/user-message/create-user-message.dto.d.ts +1 -0
- package/dist/user-message/create-user-message.dto.js +5 -0
- package/dist/user-message/user-message.ro.d.ts +1 -0
- package/dist/widget/create-widget.dto.d.ts +3 -0
- package/dist/widget/create-widget.dto.js +16 -0
- package/dist/widget/enum/packages-widget-design.enum.d.ts +13 -0
- package/dist/widget/enum/packages-widget-design.enum.js +17 -0
- package/dist/widget/enum/widget-type.enum.d.ts +3 -1
- package/dist/widget/enum/widget-type.enum.js +2 -0
- package/dist/widget/widget.ro.d.ts +11 -0
- package/package.json +2 -2
|
@@ -0,0 +1,69 @@
|
|
|
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.UpdateLeadStagesDto = exports.LeadStageInputDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const lead_stage_kind_enum_1 = require("./enums/lead-stage-kind.enum");
|
|
16
|
+
class LeadStageInputDto {
|
|
17
|
+
}
|
|
18
|
+
exports.LeadStageInputDto = LeadStageInputDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
(0, class_validator_1.IsInt)(),
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], LeadStageInputDto.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsEnum)(lead_stage_kind_enum_1.LeadStageKindEnum),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], LeadStageInputDto.prototype, "kind", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsObject)(),
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], LeadStageInputDto.prototype, "title", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsInt)(),
|
|
37
|
+
(0, class_validator_1.Min)(0),
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], LeadStageInputDto.prototype, "order", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
(0, class_validator_1.IsHexColor)(),
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], LeadStageInputDto.prototype, "color", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
(0, class_validator_1.IsBoolean)(),
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
__metadata("design:type", Boolean)
|
|
52
|
+
], LeadStageInputDto.prototype, "hidden", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsOptional)(),
|
|
55
|
+
(0, class_validator_1.IsInt)(),
|
|
56
|
+
(0, class_validator_1.Min)(1),
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], LeadStageInputDto.prototype, "slaHours", void 0);
|
|
60
|
+
class UpdateLeadStagesDto {
|
|
61
|
+
}
|
|
62
|
+
exports.UpdateLeadStagesDto = UpdateLeadStagesDto;
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_1.IsArray)(),
|
|
65
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
66
|
+
(0, class_transformer_1.Type)(() => LeadStageInputDto),
|
|
67
|
+
(0, class_transformer_1.Expose)(),
|
|
68
|
+
__metadata("design:type", Array)
|
|
69
|
+
], UpdateLeadStagesDto.prototype, "stages", void 0);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LeadLostReasonEnum } from './enums/lead-lost-reason.enum';
|
|
2
|
+
/**
|
|
3
|
+
* Частичное обновление заявки. Переход на этап вида `LOST` требует
|
|
4
|
+
* `lostReason` — проверка в сервисе, а не в DTO, потому что вид этапа
|
|
5
|
+
* известен только после его загрузки.
|
|
6
|
+
*/
|
|
7
|
+
export declare class UpdateLeadDto {
|
|
8
|
+
stageId?: number;
|
|
9
|
+
lostReason?: LeadLostReasonEnum | null;
|
|
10
|
+
/** `null` — снять ответственного. */
|
|
11
|
+
assigneeId?: number | null;
|
|
12
|
+
nextActionDate?: string | null;
|
|
13
|
+
clientId?: number | null;
|
|
14
|
+
name?: string;
|
|
15
|
+
phone?: string;
|
|
16
|
+
email?: string;
|
|
17
|
+
comment?: string;
|
|
18
|
+
preferredDate?: string | null;
|
|
19
|
+
preferredTime?: string | null;
|
|
20
|
+
guests?: number | null;
|
|
21
|
+
questroomId?: number | null;
|
|
22
|
+
locationId?: number | null;
|
|
23
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
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.UpdateLeadDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const lead_lost_reason_enum_1 = require("./enums/lead-lost-reason.enum");
|
|
16
|
+
/**
|
|
17
|
+
* Частичное обновление заявки. Переход на этап вида `LOST` требует
|
|
18
|
+
* `lostReason` — проверка в сервисе, а не в DTO, потому что вид этапа
|
|
19
|
+
* известен только после его загрузки.
|
|
20
|
+
*/
|
|
21
|
+
class UpdateLeadDto {
|
|
22
|
+
}
|
|
23
|
+
exports.UpdateLeadDto = UpdateLeadDto;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
(0, class_validator_1.IsInt)(),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], UpdateLeadDto.prototype, "stageId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
(0, class_validator_1.IsEnum)(lead_lost_reason_enum_1.LeadLostReasonEnum),
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], UpdateLeadDto.prototype, "lostReason", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
(0, class_validator_1.IsInt)(),
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], UpdateLeadDto.prototype, "assigneeId", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], UpdateLeadDto.prototype, "nextActionDate", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
(0, class_validator_1.IsInt)(),
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], UpdateLeadDto.prototype, "clientId", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsOptional)(),
|
|
56
|
+
(0, class_validator_1.IsString)(),
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], UpdateLeadDto.prototype, "name", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_validator_1.IsOptional)(),
|
|
62
|
+
(0, class_validator_1.IsString)(),
|
|
63
|
+
(0, class_transformer_1.Expose)(),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], UpdateLeadDto.prototype, "phone", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsOptional)(),
|
|
68
|
+
(0, class_validator_1.IsEmail)(),
|
|
69
|
+
(0, class_transformer_1.Expose)(),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], UpdateLeadDto.prototype, "email", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_validator_1.IsOptional)(),
|
|
74
|
+
(0, class_validator_1.IsString)(),
|
|
75
|
+
(0, class_transformer_1.Expose)(),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], UpdateLeadDto.prototype, "comment", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_validator_1.IsOptional)(),
|
|
80
|
+
(0, class_validator_1.IsString)(),
|
|
81
|
+
(0, class_transformer_1.Expose)(),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], UpdateLeadDto.prototype, "preferredDate", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_validator_1.IsOptional)(),
|
|
86
|
+
(0, class_validator_1.IsString)(),
|
|
87
|
+
(0, class_transformer_1.Expose)(),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], UpdateLeadDto.prototype, "preferredTime", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, class_validator_1.IsOptional)(),
|
|
92
|
+
(0, class_validator_1.IsInt)(),
|
|
93
|
+
(0, class_validator_1.Min)(1),
|
|
94
|
+
(0, class_transformer_1.Expose)(),
|
|
95
|
+
__metadata("design:type", Number)
|
|
96
|
+
], UpdateLeadDto.prototype, "guests", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, class_validator_1.IsOptional)(),
|
|
99
|
+
(0, class_validator_1.IsInt)(),
|
|
100
|
+
(0, class_transformer_1.Expose)(),
|
|
101
|
+
__metadata("design:type", Number)
|
|
102
|
+
], UpdateLeadDto.prototype, "questroomId", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, class_validator_1.IsOptional)(),
|
|
105
|
+
(0, class_validator_1.IsInt)(),
|
|
106
|
+
(0, class_transformer_1.Expose)(),
|
|
107
|
+
__metadata("design:type", Number)
|
|
108
|
+
], UpdateLeadDto.prototype, "locationId", void 0);
|
|
@@ -14,6 +14,11 @@ export declare class LoyaltyBonusRO extends RO {
|
|
|
14
14
|
balanceAfter: number;
|
|
15
15
|
orderId: number | null;
|
|
16
16
|
userId: number | null;
|
|
17
|
+
/**
|
|
18
|
+
* Снапшот имени автора на момент записи — как `log.userName`.
|
|
19
|
+
* Нужен, когда сотрудника уже нет в GET /users.
|
|
20
|
+
*/
|
|
21
|
+
userName: string | null;
|
|
17
22
|
comment: string;
|
|
18
23
|
/** Операция погашена: игру отменили или списание снял администратор. */
|
|
19
24
|
canceled: boolean;
|
|
@@ -45,6 +45,10 @@ __decorate([
|
|
|
45
45
|
(0, class_transformer_1.Expose)(),
|
|
46
46
|
__metadata("design:type", Number)
|
|
47
47
|
], LoyaltyBonusRO.prototype, "userId", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], LoyaltyBonusRO.prototype, "userName", void 0);
|
|
48
52
|
__decorate([
|
|
49
53
|
(0, class_transformer_1.Expose)(),
|
|
50
54
|
__metadata("design:type", String)
|
|
@@ -61,4 +61,8 @@ export declare class OpenapiCreateCertificateShopSaleDto {
|
|
|
61
61
|
* (аналитика «чат → продажа» и авто-резолв чата после оплаты).
|
|
62
62
|
*/
|
|
63
63
|
conversationId?: number;
|
|
64
|
+
billedAsCompany?: boolean;
|
|
65
|
+
billingOrganizationName?: string;
|
|
66
|
+
billingTaxId?: string;
|
|
67
|
+
billingAddress?: string;
|
|
64
68
|
}
|
|
@@ -217,3 +217,27 @@ __decorate([
|
|
|
217
217
|
(0, class_transformer_1.Expose)(),
|
|
218
218
|
__metadata("design:type", Number)
|
|
219
219
|
], OpenapiCreateCertificateShopSaleDto.prototype, "conversationId", void 0);
|
|
220
|
+
__decorate([
|
|
221
|
+
(0, class_validator_1.IsOptional)(),
|
|
222
|
+
(0, class_validator_1.IsBoolean)(),
|
|
223
|
+
(0, class_transformer_1.Expose)(),
|
|
224
|
+
__metadata("design:type", Boolean)
|
|
225
|
+
], OpenapiCreateCertificateShopSaleDto.prototype, "billedAsCompany", void 0);
|
|
226
|
+
__decorate([
|
|
227
|
+
(0, class_validator_1.IsOptional)(),
|
|
228
|
+
(0, class_validator_1.IsString)(),
|
|
229
|
+
(0, class_transformer_1.Expose)(),
|
|
230
|
+
__metadata("design:type", String)
|
|
231
|
+
], OpenapiCreateCertificateShopSaleDto.prototype, "billingOrganizationName", void 0);
|
|
232
|
+
__decorate([
|
|
233
|
+
(0, class_validator_1.IsOptional)(),
|
|
234
|
+
(0, class_validator_1.IsString)(),
|
|
235
|
+
(0, class_transformer_1.Expose)(),
|
|
236
|
+
__metadata("design:type", String)
|
|
237
|
+
], OpenapiCreateCertificateShopSaleDto.prototype, "billingTaxId", void 0);
|
|
238
|
+
__decorate([
|
|
239
|
+
(0, class_validator_1.IsOptional)(),
|
|
240
|
+
(0, class_validator_1.IsString)(),
|
|
241
|
+
(0, class_transformer_1.Expose)(),
|
|
242
|
+
__metadata("design:type", String)
|
|
243
|
+
], OpenapiCreateCertificateShopSaleDto.prototype, "billingAddress", void 0);
|
|
@@ -8,4 +8,6 @@ var PaymentMethodEnum;
|
|
|
8
8
|
PaymentMethodEnum["SQUARE"] = "square";
|
|
9
9
|
PaymentMethodEnum["BS"] = "bs";
|
|
10
10
|
PaymentMethodEnum["CASH"] = "cash";
|
|
11
|
+
PaymentMethodEnum["CLOUD_PAYMENTS"] = "cloudpayments";
|
|
12
|
+
PaymentMethodEnum["YOOKASSA"] = "yookassa";
|
|
11
13
|
})(PaymentMethodEnum || (exports.PaymentMethodEnum = PaymentMethodEnum = {}));
|
|
@@ -41,6 +41,10 @@ export declare class OpenapiCreatePreorderDto extends ClientFormDto {
|
|
|
41
41
|
duration?: number;
|
|
42
42
|
widgetUid: string;
|
|
43
43
|
comment: string;
|
|
44
|
+
billedAsCompany?: boolean;
|
|
45
|
+
billingOrganizationName?: string;
|
|
46
|
+
billingTaxId?: string;
|
|
47
|
+
billingAddress?: string;
|
|
44
48
|
language: Languages;
|
|
45
49
|
upsellingIds?: any;
|
|
46
50
|
upsellings: Array<{
|
|
@@ -147,6 +147,26 @@ __decorate([
|
|
|
147
147
|
(0, class_validator_1.MaxLength)(500),
|
|
148
148
|
__metadata("design:type", String)
|
|
149
149
|
], OpenapiCreatePreorderDto.prototype, "comment", void 0);
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, class_validator_1.IsOptional)(),
|
|
152
|
+
(0, class_transformer_1.Expose)(),
|
|
153
|
+
__metadata("design:type", Boolean)
|
|
154
|
+
], OpenapiCreatePreorderDto.prototype, "billedAsCompany", void 0);
|
|
155
|
+
__decorate([
|
|
156
|
+
(0, class_validator_1.IsOptional)(),
|
|
157
|
+
(0, class_transformer_1.Expose)(),
|
|
158
|
+
__metadata("design:type", String)
|
|
159
|
+
], OpenapiCreatePreorderDto.prototype, "billingOrganizationName", void 0);
|
|
160
|
+
__decorate([
|
|
161
|
+
(0, class_validator_1.IsOptional)(),
|
|
162
|
+
(0, class_transformer_1.Expose)(),
|
|
163
|
+
__metadata("design:type", String)
|
|
164
|
+
], OpenapiCreatePreorderDto.prototype, "billingTaxId", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
(0, class_validator_1.IsOptional)(),
|
|
167
|
+
(0, class_transformer_1.Expose)(),
|
|
168
|
+
__metadata("design:type", String)
|
|
169
|
+
], OpenapiCreatePreorderDto.prototype, "billingAddress", void 0);
|
|
150
170
|
__decorate([
|
|
151
171
|
(0, class_validator_1.IsOptional)(),
|
|
152
172
|
(0, class_transformer_1.Expose)(),
|
|
@@ -39,3 +39,7 @@ __decorate([
|
|
|
39
39
|
(0, class_transformer_1.Expose)(),
|
|
40
40
|
__metadata("design:type", String)
|
|
41
41
|
], OpenapiCreatePaymentRO.prototype, "currency", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], OpenapiCreatePaymentRO.prototype, "provider", void 0);
|
|
@@ -225,6 +225,10 @@ __decorate([
|
|
|
225
225
|
(0, class_transformer_1.Expose)(),
|
|
226
226
|
__metadata("design:type", Number)
|
|
227
227
|
], OpenapiQuestroomRO.prototype, "bsCashbox", void 0);
|
|
228
|
+
__decorate([
|
|
229
|
+
(0, class_transformer_1.Expose)(),
|
|
230
|
+
__metadata("design:type", Number)
|
|
231
|
+
], OpenapiQuestroomRO.prototype, "ruOnlineCashbox", void 0);
|
|
228
232
|
__decorate([
|
|
229
233
|
(0, class_transformer_1.Expose)(),
|
|
230
234
|
__metadata("design:type", Number)
|
|
@@ -5,6 +5,7 @@ import { WidgetStyleEnum } from '../../profile/widget-customization/enum/widget-
|
|
|
5
5
|
import { WidgetViewEnum } from '../../profile/widget-customization/enum/widget-view.enum';
|
|
6
6
|
import { CountriesEnum } from '../../shared/enum/countries.enum';
|
|
7
7
|
import { Languages } from '../../shared/enum/languages.enum';
|
|
8
|
+
import { PackagesWidgetDesignEnum } from '../../widget/enum/packages-widget-design.enum';
|
|
8
9
|
import { WidgetBookingFiledEnum } from '../../widget/enum/widget-booking-filed.enum';
|
|
9
10
|
import { WidgetConsentModeEnum } from '../../widget/enum/widget-consent-mode.enum';
|
|
10
11
|
import { WidgetTypeEnum } from '../../widget/enum/widget-type.enum';
|
|
@@ -69,6 +70,18 @@ export declare class OpenapiWidgetInfoRO {
|
|
|
69
70
|
* скрывает шаг выбора дизайна (остаются номиналы и способы доставки).
|
|
70
71
|
*/
|
|
71
72
|
certificateDesignId?: number | null;
|
|
73
|
+
/**
|
|
74
|
+
* Оформление витрины пакетов. Старые виджеты без поля читаются как
|
|
75
|
+
* `classic` на клиенте.
|
|
76
|
+
*/
|
|
77
|
+
packagesDesign?: PackagesWidgetDesignEnum;
|
|
78
|
+
/**
|
|
79
|
+
* Какую форму заявки показывать. Сама схема формы приходит отдельным
|
|
80
|
+
* запросом `GET /openapi/leads/form`: в расписании форма нужна только
|
|
81
|
+
* после клика по «Оставить заявку», грузить её всем незачем.
|
|
82
|
+
* null — первая активная форма профиля.
|
|
83
|
+
*/
|
|
84
|
+
leadFormId?: number | null;
|
|
72
85
|
profile: Profile;
|
|
73
86
|
ga4Id?: string;
|
|
74
87
|
gaCoversationId?: string;
|
|
@@ -20,6 +20,7 @@ const widget_style_enum_1 = require("../../profile/widget-customization/enum/wid
|
|
|
20
20
|
const widget_view_enum_1 = require("../../profile/widget-customization/enum/widget-view.enum");
|
|
21
21
|
const countries_enum_1 = require("../../shared/enum/countries.enum");
|
|
22
22
|
const languages_enum_1 = require("../../shared/enum/languages.enum");
|
|
23
|
+
const packages_widget_design_enum_1 = require("../../widget/enum/packages-widget-design.enum");
|
|
23
24
|
const widget_consent_mode_enum_1 = require("../../widget/enum/widget-consent-mode.enum");
|
|
24
25
|
const widget_type_enum_1 = require("../../widget/enum/widget-type.enum");
|
|
25
26
|
const openapi_certificates_shop_ro_1 = require("../certificates-v2/openapi-certificates-shop.ro");
|
|
@@ -192,6 +193,14 @@ __decorate([
|
|
|
192
193
|
(0, class_transformer_1.Expose)(),
|
|
193
194
|
__metadata("design:type", Number)
|
|
194
195
|
], OpenapiWidgetInfoRO.prototype, "certificateDesignId", void 0);
|
|
196
|
+
__decorate([
|
|
197
|
+
(0, class_transformer_1.Expose)(),
|
|
198
|
+
__metadata("design:type", String)
|
|
199
|
+
], OpenapiWidgetInfoRO.prototype, "packagesDesign", void 0);
|
|
200
|
+
__decorate([
|
|
201
|
+
(0, class_transformer_1.Expose)(),
|
|
202
|
+
__metadata("design:type", Number)
|
|
203
|
+
], OpenapiWidgetInfoRO.prototype, "leadFormId", void 0);
|
|
195
204
|
__decorate([
|
|
196
205
|
(0, class_transformer_1.Expose)(),
|
|
197
206
|
(0, class_transformer_1.Type)(() => Profile),
|
|
@@ -24,6 +24,10 @@ export declare class CreateOrderDto {
|
|
|
24
24
|
clientId: number;
|
|
25
25
|
language?: Languages;
|
|
26
26
|
comment?: string;
|
|
27
|
+
billedAsCompany?: boolean;
|
|
28
|
+
billingOrganizationName?: string;
|
|
29
|
+
billingTaxId?: string;
|
|
30
|
+
billingAddress?: string;
|
|
27
31
|
variationHint?: string;
|
|
28
32
|
/**
|
|
29
33
|
* dealAddMode: id «якорного» ордера, к группе которого нужно
|
|
@@ -100,6 +100,29 @@ __decorate([
|
|
|
100
100
|
(0, class_transformer_1.Expose)(),
|
|
101
101
|
__metadata("design:type", String)
|
|
102
102
|
], CreateOrderDto.prototype, "comment", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, class_validator_1.IsOptional)(),
|
|
105
|
+
(0, class_transformer_1.Expose)(),
|
|
106
|
+
__metadata("design:type", Boolean)
|
|
107
|
+
], CreateOrderDto.prototype, "billedAsCompany", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, class_validator_1.IsOptional)(),
|
|
110
|
+
(0, class_validator_1.IsString)(),
|
|
111
|
+
(0, class_transformer_1.Expose)(),
|
|
112
|
+
__metadata("design:type", String)
|
|
113
|
+
], CreateOrderDto.prototype, "billingOrganizationName", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, class_validator_1.IsOptional)(),
|
|
116
|
+
(0, class_validator_1.IsString)(),
|
|
117
|
+
(0, class_transformer_1.Expose)(),
|
|
118
|
+
__metadata("design:type", String)
|
|
119
|
+
], CreateOrderDto.prototype, "billingTaxId", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, class_validator_1.IsOptional)(),
|
|
122
|
+
(0, class_validator_1.IsString)(),
|
|
123
|
+
(0, class_transformer_1.Expose)(),
|
|
124
|
+
__metadata("design:type", String)
|
|
125
|
+
], CreateOrderDto.prototype, "billingAddress", void 0);
|
|
103
126
|
__decorate([
|
|
104
127
|
(0, class_validator_1.IsOptional)(),
|
|
105
128
|
(0, class_validator_1.IsString)(),
|
package/dist/order/order.ro.d.ts
CHANGED
|
@@ -134,6 +134,10 @@ export declare class Transactions extends RO {
|
|
|
134
134
|
includedIncrease: number;
|
|
135
135
|
userId: number;
|
|
136
136
|
invoiceLink?: string;
|
|
137
|
+
invoiceNumber?: string;
|
|
138
|
+
fiscalStatus?: string;
|
|
139
|
+
fiscalError?: string;
|
|
140
|
+
fiscalType?: string;
|
|
137
141
|
}
|
|
138
142
|
declare class CustomFiled {
|
|
139
143
|
title: string;
|
|
@@ -262,6 +266,10 @@ export declare class OrderRO extends RO {
|
|
|
262
266
|
result: number;
|
|
263
267
|
resultRating: number;
|
|
264
268
|
comment: string;
|
|
269
|
+
billedAsCompany?: boolean;
|
|
270
|
+
billingOrganizationName?: string;
|
|
271
|
+
billingTaxId?: string;
|
|
272
|
+
billingAddress?: string;
|
|
265
273
|
photos: string[];
|
|
266
274
|
source: SourceEnum;
|
|
267
275
|
client: ClientRO;
|
package/dist/order/order.ro.js
CHANGED
|
@@ -354,6 +354,22 @@ __decorate([
|
|
|
354
354
|
(0, class_transformer_1.Expose)(),
|
|
355
355
|
__metadata("design:type", String)
|
|
356
356
|
], Transactions.prototype, "invoiceLink", void 0);
|
|
357
|
+
__decorate([
|
|
358
|
+
(0, class_transformer_1.Expose)(),
|
|
359
|
+
__metadata("design:type", String)
|
|
360
|
+
], Transactions.prototype, "invoiceNumber", void 0);
|
|
361
|
+
__decorate([
|
|
362
|
+
(0, class_transformer_1.Expose)(),
|
|
363
|
+
__metadata("design:type", String)
|
|
364
|
+
], Transactions.prototype, "fiscalStatus", void 0);
|
|
365
|
+
__decorate([
|
|
366
|
+
(0, class_transformer_1.Expose)(),
|
|
367
|
+
__metadata("design:type", String)
|
|
368
|
+
], Transactions.prototype, "fiscalError", void 0);
|
|
369
|
+
__decorate([
|
|
370
|
+
(0, class_transformer_1.Expose)(),
|
|
371
|
+
__metadata("design:type", String)
|
|
372
|
+
], Transactions.prototype, "fiscalType", void 0);
|
|
357
373
|
class CustomFiled {
|
|
358
374
|
}
|
|
359
375
|
__decorate([
|
|
@@ -593,6 +609,22 @@ __decorate([
|
|
|
593
609
|
(0, class_transformer_1.Expose)(),
|
|
594
610
|
__metadata("design:type", String)
|
|
595
611
|
], OrderRO.prototype, "comment", void 0);
|
|
612
|
+
__decorate([
|
|
613
|
+
(0, class_transformer_1.Expose)(),
|
|
614
|
+
__metadata("design:type", Boolean)
|
|
615
|
+
], OrderRO.prototype, "billedAsCompany", void 0);
|
|
616
|
+
__decorate([
|
|
617
|
+
(0, class_transformer_1.Expose)(),
|
|
618
|
+
__metadata("design:type", String)
|
|
619
|
+
], OrderRO.prototype, "billingOrganizationName", void 0);
|
|
620
|
+
__decorate([
|
|
621
|
+
(0, class_transformer_1.Expose)(),
|
|
622
|
+
__metadata("design:type", String)
|
|
623
|
+
], OrderRO.prototype, "billingTaxId", void 0);
|
|
624
|
+
__decorate([
|
|
625
|
+
(0, class_transformer_1.Expose)(),
|
|
626
|
+
__metadata("design:type", String)
|
|
627
|
+
], OrderRO.prototype, "billingAddress", void 0);
|
|
596
628
|
__decorate([
|
|
597
629
|
(0, class_transformer_1.Expose)(),
|
|
598
630
|
__metadata("design:type", Array)
|
|
@@ -82,7 +82,7 @@ __decorate([
|
|
|
82
82
|
], CreatePackageDto.prototype, "features", void 0);
|
|
83
83
|
__decorate([
|
|
84
84
|
(0, class_validator_1.IsBoolean)(),
|
|
85
|
-
(0, class_transformer_1.Transform)(({ value }) => value !== null && value !== void 0 ? value :
|
|
85
|
+
(0, class_transformer_1.Transform)(({ value }) => value !== null && value !== void 0 ? value : true),
|
|
86
86
|
(0, class_transformer_1.Expose)(),
|
|
87
87
|
__metadata("design:type", Boolean)
|
|
88
88
|
], CreatePackageDto.prototype, "availableInWidget", void 0);
|
|
@@ -11,3 +11,16 @@ export declare class PackageAvailabilityQueryDto {
|
|
|
11
11
|
/** Игроки по позициям (для perPosition / ручного сплита). */
|
|
12
12
|
playersByPosition?: PackagePlayersByPositionDto[];
|
|
13
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* Доступность на диапазон дат — питает подсветку календаря и открытие
|
|
16
|
+
* конфигуратора на ближайшей рабочей дате. Отдаёт только «есть/нет» на день:
|
|
17
|
+
* полные варианты грузятся отдельным запросом при выборе конкретной даты.
|
|
18
|
+
*/
|
|
19
|
+
export declare class PackageRangeAvailabilityQueryDto {
|
|
20
|
+
/** Начало диапазона (yyyy-MM-dd). */
|
|
21
|
+
from: string;
|
|
22
|
+
/** Конец диапазона включительно (yyyy-MM-dd). */
|
|
23
|
+
to: string;
|
|
24
|
+
/** Общее число игроков (для capacityModel=shared). */
|
|
25
|
+
players?: number;
|
|
26
|
+
}
|
|
@@ -9,7 +9,7 @@ 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.PackageAvailabilityQueryDto = exports.PackagePlayersByPositionDto = void 0;
|
|
12
|
+
exports.PackageRangeAvailabilityQueryDto = exports.PackageAvailabilityQueryDto = exports.PackagePlayersByPositionDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
/** Явное распределение игроков по позициям (для splitMode=manual / perPosition). */
|
|
@@ -52,3 +52,29 @@ __decorate([
|
|
|
52
52
|
(0, class_transformer_1.Expose)(),
|
|
53
53
|
__metadata("design:type", Array)
|
|
54
54
|
], PackageAvailabilityQueryDto.prototype, "playersByPosition", void 0);
|
|
55
|
+
/**
|
|
56
|
+
* Доступность на диапазон дат — питает подсветку календаря и открытие
|
|
57
|
+
* конфигуратора на ближайшей рабочей дате. Отдаёт только «есть/нет» на день:
|
|
58
|
+
* полные варианты грузятся отдельным запросом при выборе конкретной даты.
|
|
59
|
+
*/
|
|
60
|
+
class PackageRangeAvailabilityQueryDto {
|
|
61
|
+
}
|
|
62
|
+
exports.PackageRangeAvailabilityQueryDto = PackageRangeAvailabilityQueryDto;
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_1.IsString)(),
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], PackageRangeAvailabilityQueryDto.prototype, "from", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_validator_1.IsString)(),
|
|
70
|
+
(0, class_transformer_1.Expose)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], PackageRangeAvailabilityQueryDto.prototype, "to", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, class_validator_1.IsOptional)(),
|
|
75
|
+
(0, class_validator_1.IsInt)(),
|
|
76
|
+
(0, class_validator_1.Min)(0),
|
|
77
|
+
(0, class_transformer_1.Transform)(({ value }) => (value === undefined || value === null ? 0 : +value)),
|
|
78
|
+
(0, class_transformer_1.Expose)(),
|
|
79
|
+
__metadata("design:type", Number)
|
|
80
|
+
], PackageRangeAvailabilityQueryDto.prototype, "players", void 0);
|