@escapenavigator/types 1.10.50 → 1.10.55

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.
@@ -10,4 +10,5 @@ export declare class CashboxRO extends RO {
10
10
  locationIds: number[];
11
11
  increaseType: PrepaymentTypeEnum;
12
12
  total: number;
13
+ squareLocationId: string;
13
14
  }
@@ -48,4 +48,8 @@ __decorate([
48
48
  (0, class_transformer_1.Expose)(),
49
49
  __metadata("design:type", Number)
50
50
  ], CashboxRO.prototype, "total", void 0);
51
+ __decorate([
52
+ (0, class_transformer_1.Expose)(),
53
+ __metadata("design:type", String)
54
+ ], CashboxRO.prototype, "squareLocationId", void 0);
51
55
  exports.CashboxRO = CashboxRO;
@@ -8,4 +8,5 @@ export declare class CreateOnlineCashboxDto {
8
8
  certificatesIds: number[];
9
9
  increase: number;
10
10
  increaseType: PrepaymentTypeEnum;
11
+ squareLocationId: string;
11
12
  }
@@ -56,4 +56,9 @@ __decorate([
56
56
  (0, class_transformer_1.Expose)(),
57
57
  __metadata("design:type", String)
58
58
  ], CreateOnlineCashboxDto.prototype, "increaseType", void 0);
59
+ __decorate([
60
+ (0, class_validator_1.IsOptional)(),
61
+ (0, class_transformer_1.Expose)(),
62
+ __metadata("design:type", String)
63
+ ], CreateOnlineCashboxDto.prototype, "squareLocationId", void 0);
59
64
  exports.CreateOnlineCashboxDto = CreateOnlineCashboxDto;
@@ -5,4 +5,5 @@ export declare class UpdateOnlineCashboxDto {
5
5
  certificatesIds: number[];
6
6
  increase: number;
7
7
  increaseType: PrepaymentTypeEnum;
8
+ squareLocationId: string;
8
9
  }
@@ -44,4 +44,9 @@ __decorate([
44
44
  (0, class_transformer_1.Expose)(),
45
45
  __metadata("design:type", String)
46
46
  ], UpdateOnlineCashboxDto.prototype, "increaseType", void 0);
47
+ __decorate([
48
+ (0, class_validator_1.IsOptional)(),
49
+ (0, class_transformer_1.Expose)(),
50
+ __metadata("design:type", String)
51
+ ], UpdateOnlineCashboxDto.prototype, "squareLocationId", void 0);
47
52
  exports.UpdateOnlineCashboxDto = UpdateOnlineCashboxDto;
@@ -25,6 +25,7 @@ declare class Certificate {
25
25
  export declare class CertificateSaleRO extends RO {
26
26
  profileId: number;
27
27
  updatedAt: Date;
28
+ externalCode: string;
28
29
  sended: boolean;
29
30
  annul: boolean;
30
31
  expireDate: string;
@@ -85,6 +85,10 @@ __decorate([
85
85
  (0, class_transformer_1.Expose)(),
86
86
  __metadata("design:type", Date)
87
87
  ], CertificateSaleRO.prototype, "updatedAt", void 0);
88
+ __decorate([
89
+ (0, class_transformer_1.Expose)(),
90
+ __metadata("design:type", String)
91
+ ], CertificateSaleRO.prototype, "externalCode", void 0);
88
92
  __decorate([
89
93
  (0, class_transformer_1.Expose)(),
90
94
  __metadata("design:type", Boolean)
@@ -0,0 +1,3 @@
1
+ export declare class UpdateCertificateexternalCodeDto {
2
+ externalCode: string;
3
+ }
@@ -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
+ 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.UpdateCertificateexternalCodeDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ class UpdateCertificateexternalCodeDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsOptional)(),
19
+ (0, class_transformer_1.Expose)(),
20
+ __metadata("design:type", String)
21
+ ], UpdateCertificateexternalCodeDto.prototype, "externalCode", void 0);
22
+ exports.UpdateCertificateexternalCodeDto = UpdateCertificateexternalCodeDto;
@@ -0,0 +1,11 @@
1
+ export declare class CitySeo {
2
+ text: string;
3
+ language: string;
4
+ }
5
+ export declare class CityFaq extends CitySeo {
6
+ title: string;
7
+ }
8
+ export declare class CityFaqRO {
9
+ faq: CityFaq[];
10
+ seo: CitySeo[];
11
+ }
@@ -0,0 +1,52 @@
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.CityFaqRO = exports.CityFaq = exports.CitySeo = void 0;
13
+ /* eslint-disable max-classes-per-file */
14
+ const class_transformer_1 = require("class-transformer");
15
+ const class_validator_1 = require("class-validator");
16
+ const is_not_blank_1 = require("../shared/is-not-blank");
17
+ class CitySeo {
18
+ }
19
+ __decorate([
20
+ (0, is_not_blank_1.IsNotBlank)(),
21
+ (0, class_transformer_1.Expose)(),
22
+ __metadata("design:type", String)
23
+ ], CitySeo.prototype, "text", void 0);
24
+ __decorate([
25
+ (0, is_not_blank_1.IsNotBlank)(),
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
28
+ ], CitySeo.prototype, "language", void 0);
29
+ exports.CitySeo = CitySeo;
30
+ class CityFaq extends CitySeo {
31
+ }
32
+ __decorate([
33
+ (0, is_not_blank_1.IsNotBlank)(),
34
+ (0, class_transformer_1.Expose)(),
35
+ __metadata("design:type", String)
36
+ ], CityFaq.prototype, "title", void 0);
37
+ exports.CityFaq = CityFaq;
38
+ class CityFaqRO {
39
+ }
40
+ __decorate([
41
+ (0, class_transformer_1.Expose)(),
42
+ (0, class_validator_1.IsArray)(),
43
+ (0, class_transformer_1.Type)(() => CityFaq),
44
+ __metadata("design:type", Array)
45
+ ], CityFaqRO.prototype, "faq", void 0);
46
+ __decorate([
47
+ (0, class_transformer_1.Expose)(),
48
+ (0, is_not_blank_1.IsNotBlank)(),
49
+ (0, class_transformer_1.Type)(() => CitySeo),
50
+ __metadata("design:type", Array)
51
+ ], CityFaqRO.prototype, "seo", void 0);
52
+ exports.CityFaqRO = CityFaqRO;
@@ -17,6 +17,8 @@ declare class History {
17
17
  export declare class AdminProfileRO {
18
18
  history: History[];
19
19
  salesStatus: ProfileSalesStatus;
20
+ bookingCommission: number;
21
+ upsalesCommission: number;
20
22
  partnerProgram: PartnerProgramEnum;
21
23
  lastEmailSendId: string;
22
24
  subscriptionStatus: ProfileSubscriptionEnum;
@@ -50,6 +50,14 @@ __decorate([
50
50
  (0, class_transformer_1.Expose)(),
51
51
  __metadata("design:type", String)
52
52
  ], AdminProfileRO.prototype, "salesStatus", void 0);
53
+ __decorate([
54
+ (0, class_transformer_1.Expose)(),
55
+ __metadata("design:type", Number)
56
+ ], AdminProfileRO.prototype, "bookingCommission", void 0);
57
+ __decorate([
58
+ (0, class_transformer_1.Expose)(),
59
+ __metadata("design:type", Number)
60
+ ], AdminProfileRO.prototype, "upsalesCommission", void 0);
53
61
  __decorate([
54
62
  (0, class_transformer_1.Expose)(),
55
63
  __metadata("design:type", String)
@@ -10,6 +10,8 @@ import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
10
10
  export declare class ProfileRO {
11
11
  gaEnabled: boolean;
12
12
  balance: number;
13
+ bookingCommission: number;
14
+ upsalesCommission: number;
13
15
  fbPixelEnabled: boolean;
14
16
  fbPixelId: string;
15
17
  ga4Id: string;
@@ -30,6 +30,14 @@ __decorate([
30
30
  (0, class_transformer_1.Expose)(),
31
31
  __metadata("design:type", Number)
32
32
  ], ProfileRO.prototype, "balance", void 0);
33
+ __decorate([
34
+ (0, class_transformer_1.Expose)(),
35
+ __metadata("design:type", Number)
36
+ ], ProfileRO.prototype, "bookingCommission", void 0);
37
+ __decorate([
38
+ (0, class_transformer_1.Expose)(),
39
+ __metadata("design:type", Number)
40
+ ], ProfileRO.prototype, "upsalesCommission", void 0);
33
41
  __decorate([
34
42
  (0, class_transformer_1.Expose)(),
35
43
  __metadata("design:type", Boolean)
@@ -4,6 +4,9 @@ export declare class QueryTransactionDto {
4
4
  userId?: number;
5
5
  ids?: number[];
6
6
  cashboxId: number;
7
+ locationId: number;
8
+ questroomId: number;
9
+ recognitionMonth: string;
7
10
  financeitemId: number;
8
11
  transactionType: TransactionTypeEnum;
9
12
  }
@@ -36,6 +36,21 @@ __decorate([
36
36
  (0, class_transformer_1.Expose)(),
37
37
  __metadata("design:type", Number)
38
38
  ], QueryTransactionDto.prototype, "cashboxId", void 0);
39
+ __decorate([
40
+ (0, class_validator_1.IsOptional)(),
41
+ (0, class_transformer_1.Expose)(),
42
+ __metadata("design:type", Number)
43
+ ], QueryTransactionDto.prototype, "locationId", void 0);
44
+ __decorate([
45
+ (0, class_validator_1.IsOptional)(),
46
+ (0, class_transformer_1.Expose)(),
47
+ __metadata("design:type", Number)
48
+ ], QueryTransactionDto.prototype, "questroomId", void 0);
49
+ __decorate([
50
+ (0, class_validator_1.IsOptional)(),
51
+ (0, class_transformer_1.Expose)(),
52
+ __metadata("design:type", String)
53
+ ], QueryTransactionDto.prototype, "recognitionMonth", void 0);
39
54
  __decorate([
40
55
  (0, class_validator_1.IsOptional)(),
41
56
  (0, class_transformer_1.Expose)(),