@escapenavigator/types 1.10.156 → 1.10.157

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.
@@ -6,6 +6,7 @@ export declare class CreateRoleDto {
6
6
  canSeeOnlyHisBookings: boolean;
7
7
  canLockBookings: boolean;
8
8
  accessToClientsSection: boolean;
9
+ canUseChat: boolean;
9
10
  accessToMarketingSection: boolean;
10
11
  accessToFinanceSection: boolean;
11
12
  accessToStatisticSection: boolean;
@@ -57,6 +57,12 @@ __decorate([
57
57
  (0, class_transformer_1.Expose)(),
58
58
  __metadata("design:type", Boolean)
59
59
  ], CreateRoleDto.prototype, "accessToClientsSection", void 0);
60
+ __decorate([
61
+ (0, class_validator_1.IsBoolean)(),
62
+ (0, class_transformer_1.Transform)(({ value }) => (value !== undefined ? value : false)),
63
+ (0, class_transformer_1.Expose)(),
64
+ __metadata("design:type", Boolean)
65
+ ], CreateRoleDto.prototype, "canUseChat", void 0);
60
66
  __decorate([
61
67
  (0, class_validator_1.IsBoolean)(),
62
68
  (0, class_transformer_1.Transform)(({ value }) => (value !== undefined ? value : false)),
@@ -5,6 +5,7 @@ export declare class RoleRO extends RoleLightRO {
5
5
  canSeeOnlyHisBookings: boolean;
6
6
  canLockBookings: boolean;
7
7
  accessToClientsSection: boolean;
8
+ canUseChat: boolean;
8
9
  accessToMarketingSection: boolean;
9
10
  accessToFinanceSection: boolean;
10
11
  accessToStatisticSection: boolean;
@@ -35,6 +35,10 @@ __decorate([
35
35
  (0, class_transformer_1.Expose)(),
36
36
  __metadata("design:type", Boolean)
37
37
  ], RoleRO.prototype, "accessToClientsSection", void 0);
38
+ __decorate([
39
+ (0, class_transformer_1.Expose)(),
40
+ __metadata("design:type", Boolean)
41
+ ], RoleRO.prototype, "canUseChat", void 0);
38
42
  __decorate([
39
43
  (0, class_transformer_1.Expose)(),
40
44
  __metadata("design:type", Boolean)
@@ -56,6 +56,12 @@ export type SlotRO = {
56
56
  upsellingsTotal?: number;
57
57
  /** Проблема доставки письма клиенту (красный имейл-бейдж). */
58
58
  emailTrouble?: boolean;
59
+ /**
60
+ * Есть комментарии по заказу для иконки на слоте: заметка сотрудника
61
+ * (денорм `orders.hasStaffComments`) ИЛИ комментарий игрока
62
+ * (`orders.comment`). Считается в serializeSlot.
63
+ */
64
+ hasComments?: boolean;
59
65
  client?: {
60
66
  id: number;
61
67
  name?: string;