@escapenavigator/types 1.6.28 → 1.6.29

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.
@@ -1,9 +1,25 @@
1
1
  import { CountriesEnum } from '../shared/enum/countries.enum';
2
2
  import { ProfileActionDto } from './action/profile-action.dto';
3
3
  import { ProfileContctRO } from './contacts/profile-contact.ro';
4
- import { ProfileStepEnum } from './enum/profile-step.enum';
4
+ import { PartnerProgramEnum } from './enum/partner-program.enum';
5
+ import { ProfileIntegrationTypeEnum } from './enum/profile-integration-type.enum';
6
+ import { ProfileStatusEnum } from './enum/profile-step.enum';
7
+ import { ProfileSubscriptionTypeEnum } from './enum/profile-subscription-type.enum';
5
8
  import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
9
+ declare class History {
10
+ createdAt: Date;
11
+ row: string;
12
+ oldValue: string;
13
+ newValue: string;
14
+ }
6
15
  export declare class AdminProfileRO {
16
+ history: History[];
17
+ partnerProgram: PartnerProgramEnum;
18
+ subscriptionStatus: ProfileSubscriptionEnum;
19
+ subscriptionType: ProfileSubscriptionTypeEnum;
20
+ subscriptionCancelationDate: number;
21
+ status: ProfileStatusEnum;
22
+ integrationType: ProfileIntegrationTypeEnum;
7
23
  id: number;
8
24
  createdAt: Date;
9
25
  title: string;
@@ -22,12 +38,10 @@ export declare class AdminProfileRO {
22
38
  country: CountriesEnum;
23
39
  locationsCount: number;
24
40
  questroomsCount: number;
25
- subscription: ProfileSubscriptionEnum;
26
41
  questroomsDeletedCount: number;
27
42
  lastVisit: Date;
28
- step: ProfileStepEnum;
29
- updateStepDate: Date;
30
43
  crm: string;
31
44
  actions: ProfileActionDto[];
32
45
  contacts: ProfileContctRO[];
33
46
  }
47
+ export {};
@@ -15,10 +15,60 @@ const class_transformer_1 = require("class-transformer");
15
15
  const countries_enum_1 = require("../shared/enum/countries.enum");
16
16
  const profile_action_dto_1 = require("./action/profile-action.dto");
17
17
  const profile_contact_ro_1 = require("./contacts/profile-contact.ro");
18
+ const partner_program_enum_1 = require("./enum/partner-program.enum");
19
+ const profile_integration_type_enum_1 = require("./enum/profile-integration-type.enum");
18
20
  const profile_step_enum_1 = require("./enum/profile-step.enum");
21
+ const profile_subscription_type_enum_1 = require("./enum/profile-subscription-type.enum");
19
22
  const profile_subscription_enum_1 = require("./enum/profile-subscription.enum");
23
+ class History {
24
+ }
25
+ __decorate([
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", Date)
28
+ ], History.prototype, "createdAt", void 0);
29
+ __decorate([
30
+ (0, class_transformer_1.Expose)(),
31
+ __metadata("design:type", String)
32
+ ], History.prototype, "row", void 0);
33
+ __decorate([
34
+ (0, class_transformer_1.Expose)(),
35
+ __metadata("design:type", String)
36
+ ], History.prototype, "oldValue", void 0);
37
+ __decorate([
38
+ (0, class_transformer_1.Expose)(),
39
+ __metadata("design:type", String)
40
+ ], History.prototype, "newValue", void 0);
20
41
  class AdminProfileRO {
21
42
  }
43
+ __decorate([
44
+ (0, class_transformer_1.Expose)(),
45
+ (0, class_transformer_1.Type)(() => History),
46
+ __metadata("design:type", Array)
47
+ ], AdminProfileRO.prototype, "history", void 0);
48
+ __decorate([
49
+ (0, class_transformer_1.Expose)(),
50
+ __metadata("design:type", String)
51
+ ], AdminProfileRO.prototype, "partnerProgram", void 0);
52
+ __decorate([
53
+ (0, class_transformer_1.Expose)(),
54
+ __metadata("design:type", String)
55
+ ], AdminProfileRO.prototype, "subscriptionStatus", void 0);
56
+ __decorate([
57
+ (0, class_transformer_1.Expose)(),
58
+ __metadata("design:type", String)
59
+ ], AdminProfileRO.prototype, "subscriptionType", void 0);
60
+ __decorate([
61
+ (0, class_transformer_1.Expose)(),
62
+ __metadata("design:type", Number)
63
+ ], AdminProfileRO.prototype, "subscriptionCancelationDate", void 0);
64
+ __decorate([
65
+ (0, class_transformer_1.Expose)(),
66
+ __metadata("design:type", String)
67
+ ], AdminProfileRO.prototype, "status", void 0);
68
+ __decorate([
69
+ (0, class_transformer_1.Expose)(),
70
+ __metadata("design:type", String)
71
+ ], AdminProfileRO.prototype, "integrationType", void 0);
22
72
  __decorate([
23
73
  (0, class_transformer_1.Expose)(),
24
74
  __metadata("design:type", Number)
@@ -91,10 +141,6 @@ __decorate([
91
141
  (0, class_transformer_1.Expose)(),
92
142
  __metadata("design:type", Number)
93
143
  ], AdminProfileRO.prototype, "questroomsCount", void 0);
94
- __decorate([
95
- (0, class_transformer_1.Expose)(),
96
- __metadata("design:type", String)
97
- ], AdminProfileRO.prototype, "subscription", void 0);
98
144
  __decorate([
99
145
  (0, class_transformer_1.Expose)(),
100
146
  __metadata("design:type", Number)
@@ -103,14 +149,6 @@ __decorate([
103
149
  (0, class_transformer_1.Expose)(),
104
150
  __metadata("design:type", Date)
105
151
  ], AdminProfileRO.prototype, "lastVisit", void 0);
106
- __decorate([
107
- (0, class_transformer_1.Expose)(),
108
- __metadata("design:type", String)
109
- ], AdminProfileRO.prototype, "step", void 0);
110
- __decorate([
111
- (0, class_transformer_1.Expose)(),
112
- __metadata("design:type", Date)
113
- ], AdminProfileRO.prototype, "updateStepDate", void 0);
114
152
  __decorate([
115
153
  (0, class_transformer_1.Expose)(),
116
154
  __metadata("design:type", String)
@@ -1,13 +1,13 @@
1
1
  import { CountriesEnum } from '../shared/enum/countries.enum';
2
2
  import { Languages } from '../shared/enum/languages.enum';
3
- import { ProfileStepEnum } from './enum/profile-step.enum';
3
+ import { ProfileStatusEnum } from './enum/profile-step.enum';
4
4
  export declare class CreateProfileDto {
5
5
  country: CountriesEnum;
6
6
  title: string;
7
7
  site: string;
8
8
  phoneForCustomers: string;
9
9
  logo: string;
10
- step: ProfileStepEnum;
10
+ status: ProfileStatusEnum;
11
11
  mainEmail: string;
12
12
  secondaryEmails: string[];
13
13
  legalTitle: string;
@@ -46,10 +46,10 @@ __decorate([
46
46
  ], CreateProfileDto.prototype, "logo", void 0);
47
47
  __decorate([
48
48
  (0, class_validator_1.IsOptional)(),
49
- (0, class_validator_1.IsEnum)(profile_step_enum_1.ProfileStepEnum),
49
+ (0, class_validator_1.IsEnum)(profile_step_enum_1.ProfileStatusEnum),
50
50
  (0, class_transformer_1.Expose)(),
51
51
  __metadata("design:type", String)
52
- ], CreateProfileDto.prototype, "step", void 0);
52
+ ], CreateProfileDto.prototype, "status", void 0);
53
53
  __decorate([
54
54
  (0, class_validator_1.IsOptional)(),
55
55
  (0, class_validator_1.IsEmail)(),
@@ -0,0 +1,7 @@
1
+ export declare enum PartnerProgramEnum {
2
+ NONE = "none",
3
+ REQUESTED = "requested",
4
+ ACTIVE = "active",
5
+ NEED_SETUP = "need_setup",
6
+ PAUSED = "paused"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PartnerProgramEnum = void 0;
4
+ var PartnerProgramEnum;
5
+ (function (PartnerProgramEnum) {
6
+ PartnerProgramEnum["NONE"] = "none";
7
+ PartnerProgramEnum["REQUESTED"] = "requested";
8
+ PartnerProgramEnum["ACTIVE"] = "active";
9
+ PartnerProgramEnum["NEED_SETUP"] = "need_setup";
10
+ PartnerProgramEnum["PAUSED"] = "paused";
11
+ })(PartnerProgramEnum = exports.PartnerProgramEnum || (exports.PartnerProgramEnum = {}));
@@ -0,0 +1,4 @@
1
+ export declare enum ProfileIntegrationTypeEnum {
2
+ BOOKEO = "bookeo",
3
+ NONE = "none"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProfileIntegrationTypeEnum = void 0;
4
+ var ProfileIntegrationTypeEnum;
5
+ (function (ProfileIntegrationTypeEnum) {
6
+ ProfileIntegrationTypeEnum["BOOKEO"] = "bookeo";
7
+ ProfileIntegrationTypeEnum["NONE"] = "none";
8
+ })(ProfileIntegrationTypeEnum = exports.ProfileIntegrationTypeEnum || (exports.ProfileIntegrationTypeEnum = {}));
@@ -1,4 +1,4 @@
1
- export declare enum ProfileStepEnum {
1
+ export declare enum ProfileStatusEnum {
2
2
  CLOSED = "closed",
3
3
  CANCELED = "canceled",
4
4
  NOT_VERIFIED = "not_verified",
@@ -9,12 +9,7 @@ export declare enum ProfileStepEnum {
9
9
  LINK_REQUESTED = "link_requested",
10
10
  VERIFICATION_USER_DATA = "verification_user",
11
11
  VERIFICATION_PROFILE = "verification_profile",
12
- VERIFICATION_RULES = "verification_rules",
13
12
  VERIFICATION_LOCATIONS = "verification_locations",
14
13
  VERIFICATION_QUESTROOMS = "verification_questrooms",
15
- INTEGRATED_NO = "integrated_no",
16
- INTEGRATED_BOOKEO = "integrated_bookeo",
17
- CRM = "CRM",
18
- CRM_UNPDAID = "CRM_unpdaid",
19
- CRM_TRIAL = "CRM_trial"
14
+ VERIFIED = "verified"
20
15
  }
@@ -1,32 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProfileStepEnum = void 0;
4
- var ProfileStepEnum;
5
- (function (ProfileStepEnum) {
3
+ exports.ProfileStatusEnum = void 0;
4
+ var ProfileStatusEnum;
5
+ (function (ProfileStatusEnum) {
6
6
  // закрыт
7
- ProfileStepEnum["CLOSED"] = "closed";
8
- ProfileStepEnum["CANCELED"] = "canceled";
9
- // не готов к рассылке
10
- ProfileStepEnum["NOT_VERIFIED"] = "not_verified";
11
- // готов к рассылке
12
- ProfileStepEnum["READY_TO_VERIFY"] = "ready_to_verify";
13
- // открыл квест на агрегаторе и нажал на кнопку
14
- ProfileStepEnum["SENT_EMAIL"] = "sent_email";
7
+ ProfileStatusEnum["CLOSED"] = "closed";
8
+ // попросил удалиться с навигатора
9
+ ProfileStatusEnum["CANCELED"] = "canceled";
10
+ // данные не готовы к рассылке
11
+ ProfileStatusEnum["NOT_VERIFIED"] = "not_verified";
12
+ // данные готовы к рассылке
13
+ ProfileStatusEnum["READY_TO_VERIFY"] = "ready_to_verify";
14
+ // отправлен рекламный email
15
+ ProfileStatusEnum["SENT_EMAIL"] = "sent_email";
15
16
  // открыл квест на агрегаторе
16
- ProfileStepEnum["OPEN_EMAIL"] = "open_email";
17
- // открыл квест на агрегаторе и нажал на кнопку 'я владелец'
18
- ProfileStepEnum["OPEN_REQUEST_PAGE"] = "open_request_page";
17
+ ProfileStatusEnum["OPEN_EMAIL"] = "open_email";
18
+ // ажал на кнопку 'я владелец'
19
+ ProfileStatusEnum["OPEN_REQUEST_PAGE"] = "open_request_page";
19
20
  // ввел правильный email и получил линк
20
- ProfileStepEnum["LINK_REQUESTED"] = "link_requested";
21
- // шаги верификации
22
- ProfileStepEnum["VERIFICATION_USER_DATA"] = "verification_user";
23
- ProfileStepEnum["VERIFICATION_PROFILE"] = "verification_profile";
24
- ProfileStepEnum["VERIFICATION_RULES"] = "verification_rules";
25
- ProfileStepEnum["VERIFICATION_LOCATIONS"] = "verification_locations";
26
- ProfileStepEnum["VERIFICATION_QUESTROOMS"] = "verification_questrooms";
27
- ProfileStepEnum["INTEGRATED_NO"] = "integrated_no";
28
- ProfileStepEnum["INTEGRATED_BOOKEO"] = "integrated_bookeo";
29
- ProfileStepEnum["CRM"] = "CRM";
30
- ProfileStepEnum["CRM_UNPDAID"] = "CRM_unpdaid";
31
- ProfileStepEnum["CRM_TRIAL"] = "CRM_trial";
32
- })(ProfileStepEnum = exports.ProfileStepEnum || (exports.ProfileStepEnum = {}));
21
+ ProfileStatusEnum["LINK_REQUESTED"] = "link_requested";
22
+ ProfileStatusEnum["VERIFICATION_USER_DATA"] = "verification_user";
23
+ ProfileStatusEnum["VERIFICATION_PROFILE"] = "verification_profile";
24
+ ProfileStatusEnum["VERIFICATION_LOCATIONS"] = "verification_locations";
25
+ ProfileStatusEnum["VERIFICATION_QUESTROOMS"] = "verification_questrooms";
26
+ ProfileStatusEnum["VERIFIED"] = "verified";
27
+ })(ProfileStatusEnum = exports.ProfileStatusEnum || (exports.ProfileStatusEnum = {}));
@@ -0,0 +1,5 @@
1
+ export declare enum ProfileSubscriptionTypeEnum {
2
+ NONE = "none",
3
+ FREE = "free",
4
+ PRO = "pro"
5
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProfileSubscriptionTypeEnum = void 0;
4
+ var ProfileSubscriptionTypeEnum;
5
+ (function (ProfileSubscriptionTypeEnum) {
6
+ ProfileSubscriptionTypeEnum["NONE"] = "none";
7
+ ProfileSubscriptionTypeEnum["FREE"] = "free";
8
+ ProfileSubscriptionTypeEnum["PRO"] = "pro";
9
+ })(ProfileSubscriptionTypeEnum = exports.ProfileSubscriptionTypeEnum || (exports.ProfileSubscriptionTypeEnum = {}));
10
+ // trialing The subscription is currently in a trial period and it’s safe to provision your product for your customer. The subscription transitions automatically to active when the first payment is made.
11
+ // active The subscription is in good standing and the most recent payment is successful. It’s safe to provision your product for your customer.
12
+ // incomplete A successful payment needs to be made within 23 hours to activate the subscription. Or the payment requires action, like customer authentication. Subscriptions can also be incomplete if there’s a pending payment and the PaymentIntent status would be processing.
13
+ // incomplete_expired The initial payment on the subscription failed and no successful payment was made within 23 hours of creating the subscription. These subscriptions don’t bill customers. This status exists so you can track customers that failed to activate their subscriptions.
14
+ // past_due Payment on the latest finalized invoice either failed or wasn’t attempted. The subscription continues to create invoices. Your subscription settings determine the subscription’s next state. If the invoice is still unpaid after all Smart Retries have been attempted, you can configure the subscription to move to canceled, unpaid, or leave it as past_due. To move the subscription to active, pay the most recent invoice before its due date.
15
+ // canceled The subscription has been canceled. During cancellation, automatic collection for all unpaid invoices is disabled (auto_advance=false). This is a terminal state that can’t be updated.
16
+ // unpaid The latest invoice hasn’t been paid but the subscription remains in place. The latest invoice remains open and invoices continue to be generated but payments aren’t attempted. You should revoke access to your product when the subscription is unpaid since payments were already attempted and retried when it was past_due. To move the subscription to active, pay the most recent invoice before its due date.
17
+ // paused
@@ -1,10 +1,11 @@
1
1
  export declare enum ProfileSubscriptionEnum {
2
- INCOMPLITE = "incomplete",
2
+ NONE = "none",
3
+ CANCELED = "canceled",
3
4
  INCOMPLITE_EXPIRED = "incomplete_expired",
5
+ INCOMPLITE = "incomplete",
4
6
  TRAILING = "trialing",
5
7
  ACTIVE = "active",
6
8
  PAST_DUE = "past_due",
7
- CANCELED = "canceled",
8
9
  UNPAID = "unpaid",
9
10
  PAUSED = "paused"
10
11
  }
@@ -3,12 +3,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ProfileSubscriptionEnum = void 0;
4
4
  var ProfileSubscriptionEnum;
5
5
  (function (ProfileSubscriptionEnum) {
6
- ProfileSubscriptionEnum["INCOMPLITE"] = "incomplete";
6
+ ProfileSubscriptionEnum["NONE"] = "none";
7
+ ProfileSubscriptionEnum["CANCELED"] = "canceled";
7
8
  ProfileSubscriptionEnum["INCOMPLITE_EXPIRED"] = "incomplete_expired";
9
+ ProfileSubscriptionEnum["INCOMPLITE"] = "incomplete";
8
10
  ProfileSubscriptionEnum["TRAILING"] = "trialing";
9
11
  ProfileSubscriptionEnum["ACTIVE"] = "active";
10
12
  ProfileSubscriptionEnum["PAST_DUE"] = "past_due";
11
- ProfileSubscriptionEnum["CANCELED"] = "canceled";
12
13
  ProfileSubscriptionEnum["UNPAID"] = "unpaid";
13
14
  ProfileSubscriptionEnum["PAUSED"] = "paused";
14
15
  })(ProfileSubscriptionEnum = exports.ProfileSubscriptionEnum || (exports.ProfileSubscriptionEnum = {}));
16
+ // trialing The subscription is currently in a trial period and it’s safe to provision your product for your customer. The subscription transitions automatically to active when the first payment is made.
17
+ // active The subscription is in good standing and the most recent payment is successful. It’s safe to provision your product for your customer.
18
+ // incomplete A successful payment needs to be made within 23 hours to activate the subscription. Or the payment requires action, like customer authentication. Subscriptions can also be incomplete if there’s a pending payment and the PaymentIntent status would be processing.
19
+ // incomplete_expired The initial payment on the subscription failed and no successful payment was made within 23 hours of creating the subscription. These subscriptions don’t bill customers. This status exists so you can track customers that failed to activate their subscriptions.
20
+ // past_due Payment on the latest finalized invoice either failed or wasn’t attempted. The subscription continues to create invoices. Your subscription settings determine the subscription’s next state. If the invoice is still unpaid after all Smart Retries have been attempted, you can configure the subscription to move to canceled, unpaid, or leave it as past_due. To move the subscription to active, pay the most recent invoice before its due date.
21
+ // canceled The subscription has been canceled. During cancellation, automatic collection for all unpaid invoices is disabled (auto_advance=false). This is a terminal state that can’t be updated.
22
+ // unpaid The latest invoice hasn’t been paid but the subscription remains in place. The latest invoice remains open and invoices continue to be generated but payments aren’t attempted. You should revoke access to your product when the subscription is unpaid since payments were already attempted and retried when it was past_due. To move the subscription to active, pay the most recent invoice before its due date.
23
+ // paused
@@ -1,4 +1,5 @@
1
1
  export declare type ProfileCrmRO = {
2
2
  id: number;
3
3
  title: string;
4
+ profiles: number;
4
5
  };
@@ -1,8 +1,18 @@
1
1
  import { CountriesEnum } from '../shared/enum/countries.enum';
2
2
  import { Languages } from '../shared/enum/languages.enum';
3
3
  import { WidgetBookingFiledEnum } from '../widget/enum/widget-booking-filed.enum';
4
- import { ProfileStepEnum } from './enum/profile-step.enum';
4
+ import { PartnerProgramEnum } from './enum/partner-program.enum';
5
+ import { ProfileIntegrationTypeEnum } from './enum/profile-integration-type.enum';
6
+ import { ProfileStatusEnum } from './enum/profile-step.enum';
7
+ import { ProfileSubscriptionTypeEnum } from './enum/profile-subscription-type.enum';
8
+ import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
5
9
  export declare class ProfileRO {
10
+ partnerProgram: PartnerProgramEnum;
11
+ subscriptionStatus: ProfileSubscriptionEnum;
12
+ subscriptionType: ProfileSubscriptionTypeEnum;
13
+ subscriptionCancelationDate: number;
14
+ status: ProfileStatusEnum;
15
+ integrationType: ProfileIntegrationTypeEnum;
6
16
  id: number;
7
17
  createdAt: Date;
8
18
  title: string;
@@ -13,13 +23,11 @@ export declare class ProfileRO {
13
23
  site: string;
14
24
  agreementLink: string;
15
25
  crm: string;
16
- hasWidgets: boolean;
17
26
  slug: string;
18
27
  language: Languages;
19
28
  availableLanguages: Languages[];
20
29
  country: CountriesEnum;
21
30
  locationsCount: number;
22
31
  questroomsCount: number;
23
- step: ProfileStepEnum;
24
32
  bookingFields: WidgetBookingFiledEnum[];
25
33
  }
@@ -14,9 +14,37 @@ exports.ProfileRO = void 0;
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  const countries_enum_1 = require("../shared/enum/countries.enum");
16
16
  const languages_enum_1 = require("../shared/enum/languages.enum");
17
+ const partner_program_enum_1 = require("./enum/partner-program.enum");
18
+ const profile_integration_type_enum_1 = require("./enum/profile-integration-type.enum");
17
19
  const profile_step_enum_1 = require("./enum/profile-step.enum");
20
+ const profile_subscription_type_enum_1 = require("./enum/profile-subscription-type.enum");
21
+ const profile_subscription_enum_1 = require("./enum/profile-subscription.enum");
18
22
  class ProfileRO {
19
23
  }
24
+ __decorate([
25
+ (0, class_transformer_1.Expose)(),
26
+ __metadata("design:type", String)
27
+ ], ProfileRO.prototype, "partnerProgram", void 0);
28
+ __decorate([
29
+ (0, class_transformer_1.Expose)(),
30
+ __metadata("design:type", String)
31
+ ], ProfileRO.prototype, "subscriptionStatus", void 0);
32
+ __decorate([
33
+ (0, class_transformer_1.Expose)(),
34
+ __metadata("design:type", String)
35
+ ], ProfileRO.prototype, "subscriptionType", void 0);
36
+ __decorate([
37
+ (0, class_transformer_1.Expose)(),
38
+ __metadata("design:type", Number)
39
+ ], ProfileRO.prototype, "subscriptionCancelationDate", void 0);
40
+ __decorate([
41
+ (0, class_transformer_1.Expose)(),
42
+ __metadata("design:type", String)
43
+ ], ProfileRO.prototype, "status", void 0);
44
+ __decorate([
45
+ (0, class_transformer_1.Expose)(),
46
+ __metadata("design:type", String)
47
+ ], ProfileRO.prototype, "integrationType", void 0);
20
48
  __decorate([
21
49
  (0, class_transformer_1.Expose)(),
22
50
  __metadata("design:type", Number)
@@ -57,10 +85,6 @@ __decorate([
57
85
  (0, class_transformer_1.Expose)(),
58
86
  __metadata("design:type", String)
59
87
  ], ProfileRO.prototype, "crm", void 0);
60
- __decorate([
61
- (0, class_transformer_1.Expose)(),
62
- __metadata("design:type", Boolean)
63
- ], ProfileRO.prototype, "hasWidgets", void 0);
64
88
  __decorate([
65
89
  (0, class_transformer_1.Expose)(),
66
90
  __metadata("design:type", String)
@@ -85,10 +109,6 @@ __decorate([
85
109
  (0, class_transformer_1.Expose)(),
86
110
  __metadata("design:type", Number)
87
111
  ], ProfileRO.prototype, "questroomsCount", void 0);
88
- __decorate([
89
- (0, class_transformer_1.Expose)(),
90
- __metadata("design:type", String)
91
- ], ProfileRO.prototype, "step", void 0);
92
112
  __decorate([
93
113
  (0, class_transformer_1.Expose)(),
94
114
  __metadata("design:type", Array)
@@ -0,0 +1,16 @@
1
+ import { CountriesEnum } from '../shared/enum/countries.enum';
2
+ import { PartnerProgramEnum } from './enum/partner-program.enum';
3
+ import { ProfileIntegrationTypeEnum } from './enum/profile-integration-type.enum';
4
+ import { ProfileStatusEnum } from './enum/profile-step.enum';
5
+ import { ProfileSubscriptionTypeEnum } from './enum/profile-subscription-type.enum';
6
+ import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
7
+ export declare class QueryAdminProfileDto {
8
+ partnerProgram?: PartnerProgramEnum;
9
+ subscriptionStatus?: ProfileSubscriptionEnum[];
10
+ subscriptionType?: ProfileSubscriptionTypeEnum;
11
+ subscriptionCancelationDate?: boolean;
12
+ status?: ProfileStatusEnum[];
13
+ country?: CountriesEnum;
14
+ crm?: string;
15
+ integrationType?: ProfileIntegrationTypeEnum;
16
+ }
@@ -0,0 +1,53 @@
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.QueryAdminProfileDto = void 0;
13
+ /* eslint-disable max-classes-per-file */
14
+ const class_transformer_1 = require("class-transformer");
15
+ const countries_enum_1 = require("../shared/enum/countries.enum");
16
+ const partner_program_enum_1 = require("./enum/partner-program.enum");
17
+ const profile_integration_type_enum_1 = require("./enum/profile-integration-type.enum");
18
+ const profile_subscription_type_enum_1 = require("./enum/profile-subscription-type.enum");
19
+ class QueryAdminProfileDto {
20
+ }
21
+ __decorate([
22
+ (0, class_transformer_1.Expose)(),
23
+ __metadata("design:type", String)
24
+ ], QueryAdminProfileDto.prototype, "partnerProgram", void 0);
25
+ __decorate([
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", Array)
28
+ ], QueryAdminProfileDto.prototype, "subscriptionStatus", void 0);
29
+ __decorate([
30
+ (0, class_transformer_1.Expose)(),
31
+ __metadata("design:type", String)
32
+ ], QueryAdminProfileDto.prototype, "subscriptionType", void 0);
33
+ __decorate([
34
+ (0, class_transformer_1.Expose)(),
35
+ __metadata("design:type", Boolean)
36
+ ], QueryAdminProfileDto.prototype, "subscriptionCancelationDate", void 0);
37
+ __decorate([
38
+ (0, class_transformer_1.Expose)(),
39
+ __metadata("design:type", Array)
40
+ ], QueryAdminProfileDto.prototype, "status", void 0);
41
+ __decorate([
42
+ (0, class_transformer_1.Expose)(),
43
+ __metadata("design:type", String)
44
+ ], QueryAdminProfileDto.prototype, "country", void 0);
45
+ __decorate([
46
+ (0, class_transformer_1.Expose)(),
47
+ __metadata("design:type", String)
48
+ ], QueryAdminProfileDto.prototype, "crm", void 0);
49
+ __decorate([
50
+ (0, class_transformer_1.Expose)(),
51
+ __metadata("design:type", String)
52
+ ], QueryAdminProfileDto.prototype, "integrationType", void 0);
53
+ exports.QueryAdminProfileDto = QueryAdminProfileDto;