@escapenavigator/types 1.10.55 → 1.10.56

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.
@@ -8,6 +8,7 @@ import { ProfileStatusEnum } from './enum/profile-step.enum';
8
8
  import { ProfileSubscriptionTypeEnum } from './enum/profile-subscription-type.enum';
9
9
  import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
10
10
  import { ProfileTagEnum } from './enum/profile-tag.enum';
11
+ import { ProfileTechStatusEnum } from './enum/profile-tech-status.enum';
11
12
  declare class History {
12
13
  createdAt: Date;
13
14
  row: string;
@@ -16,6 +17,7 @@ declare class History {
16
17
  }
17
18
  export declare class AdminProfileRO {
18
19
  history: History[];
20
+ techStatus: ProfileTechStatusEnum;
19
21
  salesStatus: ProfileSalesStatus;
20
22
  bookingCommission: number;
21
23
  upsalesCommission: number;
@@ -21,6 +21,7 @@ const profile_sales_status_enum_1 = require("./enum/profile-sales-status.enum");
21
21
  const profile_step_enum_1 = require("./enum/profile-step.enum");
22
22
  const profile_subscription_type_enum_1 = require("./enum/profile-subscription-type.enum");
23
23
  const profile_subscription_enum_1 = require("./enum/profile-subscription.enum");
24
+ const profile_tech_status_enum_1 = require("./enum/profile-tech-status.enum");
24
25
  class History {
25
26
  }
26
27
  __decorate([
@@ -46,6 +47,10 @@ __decorate([
46
47
  (0, class_transformer_1.Type)(() => History),
47
48
  __metadata("design:type", Array)
48
49
  ], AdminProfileRO.prototype, "history", void 0);
50
+ __decorate([
51
+ (0, class_transformer_1.Expose)(),
52
+ __metadata("design:type", String)
53
+ ], AdminProfileRO.prototype, "techStatus", void 0);
49
54
  __decorate([
50
55
  (0, class_transformer_1.Expose)(),
51
56
  __metadata("design:type", String)
@@ -6,9 +6,11 @@ import { ProfileSalesStatus } from './enum/profile-sales-status.enum';
6
6
  import { ProfileStatusEnum } from './enum/profile-step.enum';
7
7
  import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
8
8
  import { ProfileTagEnum } from './enum/profile-tag.enum';
9
+ import { ProfileTechStatusEnum } from './enum/profile-tech-status.enum';
9
10
  export declare class CreateProfileDto {
10
11
  country: CountriesEnum;
11
12
  salesStatus: ProfileSalesStatus;
13
+ techStatus: ProfileTechStatusEnum;
12
14
  crmVerification: CrmVerificationEnum;
13
15
  partnerProgram: PartnerProgramEnum;
14
16
  title: string;
@@ -26,7 +28,6 @@ export declare class CreateProfileDto {
26
28
  instagram?: string;
27
29
  facebook?: string;
28
30
  availableLanguages: Languages[];
29
- language: Languages;
30
31
  registrationRequestId: number;
31
32
  crm?: string;
32
33
  comment?: string;
@@ -13,13 +13,13 @@ exports.CreateProfileDto = void 0;
13
13
  const class_transformer_1 = require("class-transformer");
14
14
  const class_validator_1 = require("class-validator");
15
15
  const countries_enum_1 = require("../shared/enum/countries.enum");
16
- const languages_enum_1 = require("../shared/enum/languages.enum");
17
16
  const is_not_blank_1 = require("../shared/is-not-blank");
18
17
  const crm_verifiaction_enum_1 = require("./enum/crm-verifiaction.enum");
19
18
  const partner_program_enum_1 = require("./enum/partner-program.enum");
20
19
  const profile_sales_status_enum_1 = require("./enum/profile-sales-status.enum");
21
20
  const profile_step_enum_1 = require("./enum/profile-step.enum");
22
21
  const profile_subscription_enum_1 = require("./enum/profile-subscription.enum");
22
+ const profile_tech_status_enum_1 = require("./enum/profile-tech-status.enum");
23
23
  class CreateProfileDto {
24
24
  }
25
25
  __decorate([
@@ -32,6 +32,11 @@ __decorate([
32
32
  (0, class_transformer_1.Expose)(),
33
33
  __metadata("design:type", String)
34
34
  ], CreateProfileDto.prototype, "salesStatus", void 0);
35
+ __decorate([
36
+ (0, class_validator_1.IsOptional)(),
37
+ (0, class_transformer_1.Expose)(),
38
+ __metadata("design:type", String)
39
+ ], CreateProfileDto.prototype, "techStatus", void 0);
35
40
  __decorate([
36
41
  (0, class_validator_1.IsOptional)(),
37
42
  (0, class_transformer_1.Expose)(),
@@ -124,11 +129,6 @@ __decorate([
124
129
  (0, class_transformer_1.Expose)(),
125
130
  __metadata("design:type", Array)
126
131
  ], CreateProfileDto.prototype, "availableLanguages", void 0);
127
- __decorate([
128
- (0, class_validator_1.IsEnum)(languages_enum_1.Languages),
129
- (0, class_transformer_1.Expose)(),
130
- __metadata("design:type", String)
131
- ], CreateProfileDto.prototype, "language", void 0);
132
132
  __decorate([
133
133
  (0, class_validator_1.IsOptional)(),
134
134
  (0, class_transformer_1.Expose)(),
@@ -0,0 +1,5 @@
1
+ export declare enum ProfileTechStatusEnum {
2
+ HIDDEN = "hidden",
3
+ VERIFIED = "verified",
4
+ NEED_UPDATE = "need_update"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProfileTechStatusEnum = void 0;
4
+ var ProfileTechStatusEnum;
5
+ (function (ProfileTechStatusEnum) {
6
+ ProfileTechStatusEnum["HIDDEN"] = "hidden";
7
+ ProfileTechStatusEnum["VERIFIED"] = "verified";
8
+ ProfileTechStatusEnum["NEED_UPDATE"] = "need_update";
9
+ })(ProfileTechStatusEnum = exports.ProfileTechStatusEnum || (exports.ProfileTechStatusEnum = {}));
@@ -6,6 +6,7 @@ import { ProfileStatusEnum } from './enum/profile-step.enum';
6
6
  import { ProfileSubscriptionTypeEnum } from './enum/profile-subscription-type.enum';
7
7
  import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
8
8
  import { ProfileTagEnum } from './enum/profile-tag.enum';
9
+ import { ProfileTechStatusEnum } from './enum/profile-tech-status.enum';
9
10
  export declare class QueryAdminProfileDto {
10
11
  withActions?: string;
11
12
  tags?: ProfileTagEnum[];
@@ -16,6 +17,7 @@ export declare class QueryAdminProfileDto {
16
17
  subscriptionCancelationDate?: boolean;
17
18
  status?: ProfileStatusEnum[];
18
19
  salesStatus?: ProfileSalesStatus[];
20
+ techStatus?: ProfileTechStatusEnum;
19
21
  country?: CountriesEnum;
20
22
  city?: number;
21
23
  crm?: string;
@@ -16,6 +16,7 @@ const countries_enum_1 = require("../shared/enum/countries.enum");
16
16
  const partner_program_enum_1 = require("./enum/partner-program.enum");
17
17
  const profile_integration_type_enum_1 = require("./enum/profile-integration-type.enum");
18
18
  const profile_subscription_type_enum_1 = require("./enum/profile-subscription-type.enum");
19
+ const profile_tech_status_enum_1 = require("./enum/profile-tech-status.enum");
19
20
  class QueryAdminProfileDto {
20
21
  }
21
22
  __decorate([
@@ -54,6 +55,10 @@ __decorate([
54
55
  (0, class_transformer_1.Expose)(),
55
56
  __metadata("design:type", Array)
56
57
  ], QueryAdminProfileDto.prototype, "salesStatus", void 0);
58
+ __decorate([
59
+ (0, class_transformer_1.Expose)(),
60
+ __metadata("design:type", String)
61
+ ], QueryAdminProfileDto.prototype, "techStatus", void 0);
57
62
  __decorate([
58
63
  (0, class_transformer_1.Expose)(),
59
64
  __metadata("design:type", String)