@escapenavigator/types 1.0.2 → 1.0.6
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 -1
- package/dist/cashbox/create-cashbox.dto.d.ts +1 -1
- package/dist/cashbox/update-cashbox.dto.d.ts +1 -1
- package/dist/certificate/certificate.ro.d.ts +2 -2
- package/dist/certificate/create-certificate.dto.d.ts +2 -2
- package/dist/certificate/create-certificate.dto.js +1 -2
- package/dist/certificate-sale/create-certificatesale.dto.d.ts +2 -2
- package/dist/certificate-sale/create-certificatesale.dto.js +2 -2
- package/dist/client/create-client-from-widget.dto.d.ts +1 -1
- package/dist/client/create-client-from-widget.dto.js +2 -2
- package/dist/financeitem/enum/financeitem-group.enum.d.ts +6 -0
- package/dist/financeitem/enum/financeitem-group.enum.js +10 -0
- package/dist/financeitem/financeitem.ro.d.ts +2 -0
- package/dist/order/add-certificate-to-order.dto.d.ts +1 -1
- package/dist/order/add-certificate-to-order.dto.js +2 -2
- package/dist/order/create-order-from-widget.dto.d.ts +7 -7
- package/dist/order/create-order-from-widget.dto.js +5 -5
- package/dist/order/create-order.dto.d.ts +2 -2
- package/dist/order/create-order.dto.js +2 -3
- package/dist/order/order.ro.d.ts +14 -14
- package/dist/order/orders-list.ro.d.ts +2 -2
- package/dist/order/remove-certificate-from-order.dto.d.ts +1 -1
- package/dist/order/remove-certificate-from-order.dto.js +2 -2
- package/dist/order/update-order-slot.dto.d.ts +1 -1
- package/dist/order/update-order-slot.dto.js +2 -2
- package/dist/order-certificate/create-order-certificate.dto.d.ts +2 -2
- package/dist/order-certificate/create-order-certificate.dto.js +2 -2
- package/dist/order-discount/create-order-discount.dto.d.ts +1 -1
- package/dist/order-discount/create-order-discount.dto.js +1 -1
- package/dist/order-penalty/create-order-penalty.dto.d.ts +1 -1
- package/dist/order-penalty/create-order-penalty.dto.js +1 -1
- package/dist/order-upselling/create-order-upselling.dto.d.ts +2 -2
- package/dist/order-upselling/create-order-upselling.dto.js +1 -2
- package/dist/profile/create-profile.dto.d.ts +2 -4
- package/dist/profile/create-profile.dto.js +0 -3
- package/dist/profile/enum/profile-status.enum.d.ts +0 -1
- package/dist/profile/enum/profile-status.enum.js +0 -1
- package/dist/profile/update-profile.dto.d.ts +2 -4
- package/dist/profile/update-profile.dto.js +0 -3
- package/dist/questroom/create-questroom.dto.d.ts +4 -4
- package/dist/questroom/create-questroom.dto.js +3 -3
- package/dist/questroom/questroom.ro.d.ts +3 -3
- package/dist/registration-request/registration-request.ro.d.ts +1 -6
- package/dist/registration-request/update-registration-request.dto.d.ts +0 -3
- package/dist/registration-request/update-registration-request.dto.js +0 -6
- package/dist/shared/ro.d.ts +2 -2
- package/dist/slot/add-breaks.dto.d.ts +1 -1
- package/dist/slot/add-breaks.dto.js +2 -1
- package/dist/slot/create-slot.dto.d.ts +2 -2
- package/dist/slot/create-slot.dto.js +3 -2
- package/dist/slot/get-day-schedule.dto.d.ts +1 -1
- package/dist/slot/get-day-schedule.dto.js +0 -1
- package/dist/slot/get-week-schedule.dto.d.ts +1 -1
- package/dist/slot/get-week-schedule.dto.js +2 -1
- package/dist/slot/remove-breaks.dto.d.ts +1 -1
- package/dist/slot/remove-breaks.dto.js +2 -1
- package/dist/slot/slot.ro.d.ts +3 -3
- package/dist/slot/update-slot.dto.d.ts +1 -1
- package/dist/slot/widget-slot.ro.d.ts +1 -1
- package/dist/slot-template/create-slot-template.dto.d.ts +2 -2
- package/dist/slot-template/create-slot-template.dto.js +2 -2
- package/dist/slot-template/slot-template-element.d.ts +1 -1
- package/dist/slot-template/slot-template.ro.d.ts +1 -2
- package/dist/slot-template/update-slot-template.dto.d.ts +1 -0
- package/dist/slot-template/update-slot-template.dto.js +3 -0
- package/dist/transaction/create-certificate-sale-payment.dto.d.ts +2 -2
- package/dist/transaction/create-certificate-sale-payment.dto.js +2 -3
- package/dist/transaction/create-certificate-sale-refund.dto.d.ts +2 -2
- package/dist/transaction/create-certificate-sale-refund.dto.js +3 -3
- package/dist/transaction/create-order-payment.dto.d.ts +2 -2
- package/dist/transaction/create-order-payment.dto.js +2 -3
- package/dist/transaction/create-order-refund.dto.d.ts +2 -2
- package/dist/transaction/create-order-refund.dto.js +3 -3
- package/dist/transaction/create-transaction.dto.d.ts +3 -3
- package/dist/transaction/create-transaction.dto.js +3 -3
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/upselling/create-upselling.dto.d.ts +1 -1
- package/dist/user/create-user.dto.d.ts +1 -1
- package/dist/user/update-user.dto.d.ts +2 -2
- package/dist/user/update-user.dto.js +1 -1
- package/dist/user/user.ro.d.ts +2 -2
- package/dist/user-message/create-user-message.dto.d.ts +2 -2
- package/dist/user-message/user-message.ro.d.ts +3 -3
- package/dist/widget/create-widget.dto.d.ts +3 -3
- package/dist/widget/create-widget.dto.js +1 -1
- package/dist/widget/widget.ro.d.ts +3 -3
- package/package.json +2 -2
- package/dist/certificate-sale-comment/create-certificate-sale-comment.dto.d.ts +0 -4
- package/dist/certificate-sale-comment/create-certificate-sale-comment.dto.js +0 -22
- package/dist/option/create-option.dto.d.ts +0 -8
- package/dist/option/create-option.dto.js +0 -40
- package/dist/option/option.ro.d.ts +0 -9
- package/dist/option/option.ro.js +0 -2
- package/dist/option/update-option.dto.d.ts +0 -5
- package/dist/option/update-option.dto.js +0 -28
- package/dist/registration-request/enum/registration-request-status.enum.d.ts +0 -6
- package/dist/registration-request/enum/registration-request-status.enum.js +0 -10
- package/dist/slot-template/update-schedule-period.dto.d.ts +0 -6
- package/dist/slot-template/update-schedule-period.dto.js +0 -26
|
@@ -15,7 +15,7 @@ var UpdateUserDto = /** @class */ (function () {
|
|
|
15
15
|
(0, class_validator_1.IsOptional)()
|
|
16
16
|
], UpdateUserDto.prototype, "access");
|
|
17
17
|
__decorate([
|
|
18
|
-
(0, class_validator_1.
|
|
18
|
+
(0, class_validator_1.IsNumber)()
|
|
19
19
|
], UpdateUserDto.prototype, "roleId");
|
|
20
20
|
__decorate([
|
|
21
21
|
(0, class_validator_1.IsOptional)()
|
package/dist/user/user.ro.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ export declare type UserResponseObject = ResponseObject & {
|
|
|
6
6
|
surname: string;
|
|
7
7
|
photo?: string;
|
|
8
8
|
allLocations: boolean;
|
|
9
|
-
locationIds:
|
|
9
|
+
locationIds: number[];
|
|
10
10
|
hoursContract?: number;
|
|
11
11
|
hoursWorked?: number;
|
|
12
12
|
access: boolean;
|
|
13
|
-
roleId:
|
|
13
|
+
roleId: number;
|
|
14
14
|
allowEmailNotifications: boolean;
|
|
15
15
|
allowPushNotifications: boolean;
|
|
16
16
|
ordersNotifications: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ResponseObject } from '../shared/ro';
|
|
2
2
|
export declare type UserMessageResponseObject = ResponseObject & {
|
|
3
3
|
text: string;
|
|
4
|
-
userId:
|
|
5
|
-
orderId?:
|
|
6
|
-
certificateSaleId?:
|
|
4
|
+
userId: number;
|
|
5
|
+
orderId?: number;
|
|
6
|
+
certificateSaleId?: number;
|
|
7
7
|
};
|
|
@@ -2,7 +2,7 @@ import { WidgetTypeEnum } from './enum/widget-type.enum';
|
|
|
2
2
|
export declare class CreateWidgetDto {
|
|
3
3
|
type: WidgetTypeEnum;
|
|
4
4
|
color: string;
|
|
5
|
-
questroomId:
|
|
6
|
-
questroomIds:
|
|
7
|
-
certificateIds:
|
|
5
|
+
questroomId: number;
|
|
6
|
+
questroomIds: number[];
|
|
7
|
+
certificateIds: number[];
|
|
8
8
|
}
|
|
@@ -19,7 +19,7 @@ var CreateWidgetDto = /** @class */ (function () {
|
|
|
19
19
|
(0, is_not_blank_1.IsNotBlank)()
|
|
20
20
|
], CreateWidgetDto.prototype, "color");
|
|
21
21
|
__decorate([
|
|
22
|
-
(0, class_validator_1.
|
|
22
|
+
(0, class_validator_1.IsNumber)(),
|
|
23
23
|
(0, class_validator_1.ValidateIf)(function (o) { return o.type === 'oneQuestroom'; })
|
|
24
24
|
], CreateWidgetDto.prototype, "questroomId");
|
|
25
25
|
__decorate([
|
|
@@ -3,7 +3,7 @@ import { WidgetTypeEnum } from './enum/widget-type.enum';
|
|
|
3
3
|
export declare type WidgetResponseObject = ResponseObject & {
|
|
4
4
|
type: WidgetTypeEnum;
|
|
5
5
|
color?: string;
|
|
6
|
-
questroomId?:
|
|
7
|
-
questroomIds?:
|
|
8
|
-
certificateIds?:
|
|
6
|
+
questroomId?: number;
|
|
7
|
+
questroomIds?: number[];
|
|
8
|
+
certificateIds?: number[];
|
|
9
9
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"@nestjs/mapped-types": "^1.0.0",
|
|
19
19
|
"class-validator": "^0.13.1"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "9d6d3a416ee1627830c85bb648725135da1a4a0f"
|
|
22
22
|
}
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
exports.__esModule = true;
|
|
9
|
-
exports.CreateCertificateSaleCommentDto = void 0;
|
|
10
|
-
var class_validator_1 = require("class-validator");
|
|
11
|
-
var CreateCertificateSaleCommentDto = /** @class */ (function () {
|
|
12
|
-
function CreateCertificateSaleCommentDto() {
|
|
13
|
-
}
|
|
14
|
-
__decorate([
|
|
15
|
-
(0, class_validator_1.IsNotEmpty)()
|
|
16
|
-
], CreateCertificateSaleCommentDto.prototype, "text");
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsNotEmpty)()
|
|
19
|
-
], CreateCertificateSaleCommentDto.prototype, "orderId");
|
|
20
|
-
return CreateCertificateSaleCommentDto;
|
|
21
|
-
}());
|
|
22
|
-
exports.CreateCertificateSaleCommentDto = CreateCertificateSaleCommentDto;
|
|
@@ -1,40 +0,0 @@
|
|
|
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
|
-
exports.__esModule = true;
|
|
9
|
-
exports.CreateOptionDto = void 0;
|
|
10
|
-
var class_validator_1 = require("class-validator");
|
|
11
|
-
var is_not_blank_1 = require("../shared/is-not-blank");
|
|
12
|
-
var CreateOptionDto = /** @class */ (function () {
|
|
13
|
-
function CreateOptionDto() {
|
|
14
|
-
}
|
|
15
|
-
__decorate([
|
|
16
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
17
|
-
], CreateOptionDto.prototype, "title");
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsInt)(),
|
|
20
|
-
(0, class_validator_1.IsOptional)()
|
|
21
|
-
], CreateOptionDto.prototype, "price");
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsBoolean)(),
|
|
24
|
-
(0, class_validator_1.IsOptional)()
|
|
25
|
-
], CreateOptionDto.prototype, "freePrice");
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsString)(),
|
|
28
|
-
(0, class_validator_1.IsOptional)()
|
|
29
|
-
], CreateOptionDto.prototype, "description");
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsBoolean)(),
|
|
32
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
33
|
-
], CreateOptionDto.prototype, "allQuestrooms");
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsArray)(),
|
|
36
|
-
(0, class_validator_1.IsOptional)()
|
|
37
|
-
], CreateOptionDto.prototype, "questroomsIds");
|
|
38
|
-
return CreateOptionDto;
|
|
39
|
-
}());
|
|
40
|
-
exports.CreateOptionDto = CreateOptionDto;
|
package/dist/option/option.ro.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
exports.__esModule = true;
|
|
18
|
-
exports.UpdateOptionDto = void 0;
|
|
19
|
-
var mapped_types_1 = require("@nestjs/mapped-types");
|
|
20
|
-
var create_option_dto_1 = require("./create-option.dto");
|
|
21
|
-
var UpdateOptionDto = /** @class */ (function (_super) {
|
|
22
|
-
__extends(UpdateOptionDto, _super);
|
|
23
|
-
function UpdateOptionDto() {
|
|
24
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
25
|
-
}
|
|
26
|
-
return UpdateOptionDto;
|
|
27
|
-
}((0, mapped_types_1.PartialType)(create_option_dto_1.CreateOptionDto)));
|
|
28
|
-
exports.UpdateOptionDto = UpdateOptionDto;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
exports.RegistrationStatusEnum = void 0;
|
|
4
|
-
var RegistrationStatusEnum;
|
|
5
|
-
(function (RegistrationStatusEnum) {
|
|
6
|
-
RegistrationStatusEnum["NEW"] = "new";
|
|
7
|
-
RegistrationStatusEnum["IN_PROGRESS"] = "in_progress";
|
|
8
|
-
RegistrationStatusEnum["REJECT"] = "reject";
|
|
9
|
-
RegistrationStatusEnum["COMPLETE"] = "complete";
|
|
10
|
-
})(RegistrationStatusEnum = exports.RegistrationStatusEnum || (exports.RegistrationStatusEnum = {}));
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
exports.__esModule = true;
|
|
9
|
-
exports.UpdateSchedulePeriodDto = void 0;
|
|
10
|
-
var class_validator_1 = require("class-validator");
|
|
11
|
-
var is_not_blank_1 = require("../shared/is-not-blank");
|
|
12
|
-
var UpdateSchedulePeriodDto = /** @class */ (function () {
|
|
13
|
-
function UpdateSchedulePeriodDto() {
|
|
14
|
-
}
|
|
15
|
-
__decorate([
|
|
16
|
-
(0, class_validator_1.IsArray)()
|
|
17
|
-
], UpdateSchedulePeriodDto.prototype, "slots");
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
20
|
-
], UpdateSchedulePeriodDto.prototype, "start");
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
23
|
-
], UpdateSchedulePeriodDto.prototype, "end");
|
|
24
|
-
return UpdateSchedulePeriodDto;
|
|
25
|
-
}());
|
|
26
|
-
exports.UpdateSchedulePeriodDto = UpdateSchedulePeriodDto;
|