@escapenavigator/types 1.6.54 → 1.6.57

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.
@@ -0,0 +1,9 @@
1
+ import { ProfileCurrencyEnum } from '../../profile/enum/profile-currency';
2
+ export declare class OpenapiCreatePaymentRO {
3
+ clientSecret: string;
4
+ payee: string;
5
+ amount: number;
6
+ type: 'order' | 'certificate';
7
+ token: string;
8
+ currency: ProfileCurrencyEnum;
9
+ }
@@ -9,20 +9,33 @@ 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.OpenapiCreateCertificatePaymentRO = void 0;
12
+ exports.OpenapiCreatePaymentRO = void 0;
13
13
  const class_transformer_1 = require("class-transformer");
14
- class OpenapiCreateCertificatePaymentRO {
14
+ const profile_currency_1 = require("../../profile/enum/profile-currency");
15
+ class OpenapiCreatePaymentRO {
15
16
  }
16
17
  __decorate([
17
18
  (0, class_transformer_1.Expose)(),
18
19
  __metadata("design:type", String)
19
- ], OpenapiCreateCertificatePaymentRO.prototype, "clientSecret", void 0);
20
+ ], OpenapiCreatePaymentRO.prototype, "clientSecret", void 0);
20
21
  __decorate([
21
22
  (0, class_transformer_1.Expose)(),
22
23
  __metadata("design:type", String)
23
- ], OpenapiCreateCertificatePaymentRO.prototype, "payee", void 0);
24
+ ], OpenapiCreatePaymentRO.prototype, "payee", void 0);
24
25
  __decorate([
25
26
  (0, class_transformer_1.Expose)(),
26
27
  __metadata("design:type", Number)
27
- ], OpenapiCreateCertificatePaymentRO.prototype, "amount", void 0);
28
- exports.OpenapiCreateCertificatePaymentRO = OpenapiCreateCertificatePaymentRO;
28
+ ], OpenapiCreatePaymentRO.prototype, "amount", void 0);
29
+ __decorate([
30
+ (0, class_transformer_1.Expose)(),
31
+ __metadata("design:type", String)
32
+ ], OpenapiCreatePaymentRO.prototype, "type", void 0);
33
+ __decorate([
34
+ (0, class_transformer_1.Expose)(),
35
+ __metadata("design:type", String)
36
+ ], OpenapiCreatePaymentRO.prototype, "token", void 0);
37
+ __decorate([
38
+ (0, class_transformer_1.Expose)(),
39
+ __metadata("design:type", String)
40
+ ], OpenapiCreatePaymentRO.prototype, "currency", void 0);
41
+ exports.OpenapiCreatePaymentRO = OpenapiCreatePaymentRO;
@@ -8,4 +8,5 @@ export declare class OpenapiUpsellingRO {
8
8
  availableFrom: string;
9
9
  availableTo: string;
10
10
  availableDays: number[];
11
+ fullPayment: boolean;
11
12
  }
@@ -49,4 +49,8 @@ __decorate([
49
49
  (0, class_transformer_1.Expose)(),
50
50
  __metadata("design:type", Array)
51
51
  ], OpenapiUpsellingRO.prototype, "availableDays", void 0);
52
+ __decorate([
53
+ (0, class_transformer_1.Expose)(),
54
+ __metadata("design:type", Boolean)
55
+ ], OpenapiUpsellingRO.prototype, "fullPayment", void 0);
52
56
  exports.OpenapiUpsellingRO = OpenapiUpsellingRO;
@@ -1,4 +1,4 @@
1
- import { CrmVerificationEnum } from './enum/crm-verifiaction.enum';
1
+ import { ProfileRO } from './profile.ro';
2
2
  export declare class OnboardingStepsRO {
3
3
  schedule: boolean;
4
4
  bookingSettings: boolean;
@@ -6,5 +6,5 @@ export declare class OnboardingStepsRO {
6
6
  tariffs: boolean;
7
7
  paymentMethods: boolean;
8
8
  widgets: boolean;
9
- crmVerification: CrmVerificationEnum;
9
+ profile: ProfileRO;
10
10
  }
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.OnboardingStepsRO = void 0;
13
13
  const class_transformer_1 = require("class-transformer");
14
- const crm_verifiaction_enum_1 = require("./enum/crm-verifiaction.enum");
14
+ const profile_ro_1 = require("./profile.ro");
15
15
  class OnboardingStepsRO {
16
16
  }
17
17
  __decorate([
@@ -40,6 +40,7 @@ __decorate([
40
40
  ], OnboardingStepsRO.prototype, "widgets", void 0);
41
41
  __decorate([
42
42
  (0, class_transformer_1.Expose)(),
43
- __metadata("design:type", String)
44
- ], OnboardingStepsRO.prototype, "crmVerification", void 0);
43
+ (0, class_transformer_1.Type)(() => profile_ro_1.ProfileRO),
44
+ __metadata("design:type", profile_ro_1.ProfileRO)
45
+ ], OnboardingStepsRO.prototype, "profile", void 0);
45
46
  exports.OnboardingStepsRO = OnboardingStepsRO;
@@ -0,0 +1,13 @@
1
+ import { WidgetBookingFiledEnum } from '../widget/enum/widget-booking-filed.enum';
2
+ import { UpdateCurrentBaseDto } from './update-current-base.dto';
3
+ export declare class UpdateCurrentGaDto extends UpdateCurrentBaseDto {
4
+ agreementLink: string;
5
+ site: string;
6
+ bookingFields: WidgetBookingFiledEnum[];
7
+ logo: string;
8
+ gaEnabled: boolean;
9
+ ga4Id: string;
10
+ gaCoversationId: string;
11
+ gaCoversationLabel: string;
12
+ nowEscape: boolean;
13
+ }
@@ -0,0 +1,68 @@
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.UpdateCurrentGaDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const is_not_blank_1 = require("../shared/is-not-blank");
16
+ const update_current_base_dto_1 = require("./update-current-base.dto");
17
+ class UpdateCurrentGaDto extends update_current_base_dto_1.UpdateCurrentBaseDto {
18
+ }
19
+ __decorate([
20
+ (0, class_validator_1.IsUrl)(),
21
+ (0, class_transformer_1.Expose)(),
22
+ __metadata("design:type", String)
23
+ ], UpdateCurrentGaDto.prototype, "agreementLink", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsUrl)(),
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
28
+ ], UpdateCurrentGaDto.prototype, "site", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsArray)(),
31
+ (0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
32
+ (0, class_transformer_1.Expose)(),
33
+ __metadata("design:type", Array)
34
+ ], UpdateCurrentGaDto.prototype, "bookingFields", void 0);
35
+ __decorate([
36
+ (0, class_validator_1.IsOptional)(),
37
+ (0, class_transformer_1.Expose)(),
38
+ __metadata("design:type", String)
39
+ ], UpdateCurrentGaDto.prototype, "logo", void 0);
40
+ __decorate([
41
+ (0, class_validator_1.IsOptional)(),
42
+ (0, class_transformer_1.Expose)(),
43
+ __metadata("design:type", Boolean)
44
+ ], UpdateCurrentGaDto.prototype, "gaEnabled", void 0);
45
+ __decorate([
46
+ (0, is_not_blank_1.IsNotBlank)(),
47
+ (0, class_validator_1.ValidateIf)(({ gaEnabled }) => gaEnabled),
48
+ (0, class_transformer_1.Expose)(),
49
+ __metadata("design:type", String)
50
+ ], UpdateCurrentGaDto.prototype, "ga4Id", void 0);
51
+ __decorate([
52
+ (0, is_not_blank_1.IsNotBlank)(),
53
+ (0, class_validator_1.ValidateIf)(({ gaEnabled, gaCoversationLabel }) => gaEnabled && !!gaCoversationLabel),
54
+ (0, class_transformer_1.Expose)(),
55
+ __metadata("design:type", String)
56
+ ], UpdateCurrentGaDto.prototype, "gaCoversationId", void 0);
57
+ __decorate([
58
+ (0, is_not_blank_1.IsNotBlank)(),
59
+ (0, class_validator_1.ValidateIf)(({ gaEnabled, gaCoversationId }) => gaEnabled && !!gaCoversationId),
60
+ (0, class_transformer_1.Expose)(),
61
+ __metadata("design:type", String)
62
+ ], UpdateCurrentGaDto.prototype, "gaCoversationLabel", void 0);
63
+ __decorate([
64
+ (0, class_validator_1.IsOptional)(),
65
+ (0, class_transformer_1.Expose)(),
66
+ __metadata("design:type", Boolean)
67
+ ], UpdateCurrentGaDto.prototype, "nowEscape", void 0);
68
+ exports.UpdateCurrentGaDto = UpdateCurrentGaDto;
@@ -8,7 +8,6 @@ export declare type SlotRO = {
8
8
  };
9
9
  hold: string;
10
10
  date: string;
11
- covered: boolean;
12
11
  start: string;
13
12
  status: 'free' | 'bussy' | 'call' | 'hold' | 'no-resources';
14
13
  end: string;