@escapenavigator/types 1.10.96 → 1.10.98

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.
Files changed (32) hide show
  1. package/dist/agregator/aggregaotr-city-faq.ro.d.ts +15 -0
  2. package/dist/agregator/aggregaotr-city-faq.ro.js +4 -0
  3. package/dist/agregator/agregator-post-card.ro.d.ts +1 -0
  4. package/dist/agregator/agregator-post-card.ro.js +4 -0
  5. package/dist/agregator/agregator-post.ro.d.ts +2 -0
  6. package/dist/agregator/agregator-post.ro.js +8 -0
  7. package/dist/city/city-locale.ro.d.ts +9 -0
  8. package/dist/city/city-locale.ro.js +41 -0
  9. package/dist/city/city.ro.d.ts +2 -0
  10. package/dist/city/update-city-locale.dto.d.ts +8 -0
  11. package/dist/city/update-city-locale.dto.js +46 -0
  12. package/dist/city/update-city.dto.d.ts +2 -0
  13. package/dist/city/update-city.dto.js +9 -0
  14. package/dist/constants/navigator-certificate-nominals-by-country.js +1 -1
  15. package/dist/google-places/update-google-places.dto.d.ts +1 -0
  16. package/dist/google-places/update-google-places.dto.js +5 -0
  17. package/dist/navigator-certificate/create-navigator-certificate-sale.dto.d.ts +1 -3
  18. package/dist/navigator-certificate/create-navigator-certificate-sale.dto.js +6 -18
  19. package/dist/navigator-certificate/index.d.ts +2 -0
  20. package/dist/navigator-certificate/index.js +2 -0
  21. package/dist/navigator-certificate/navigator-certificate-sale.ro.d.ts +9 -7
  22. package/dist/navigator-certificate/navigator-certificate-sale.ro.js +20 -9
  23. package/dist/navigator-certificate/request-navigator-certificate-redeem.dto.d.ts +5 -0
  24. package/dist/navigator-certificate/request-navigator-certificate-redeem.dto.js +40 -0
  25. package/dist/navigator-certificate/update-navigator-certificate-sale-status.dto.d.ts +4 -0
  26. package/dist/navigator-certificate/update-navigator-certificate-sale-status.dto.js +23 -0
  27. package/dist/profile/query-admin-profile.dto.d.ts +2 -0
  28. package/dist/profile/query-admin-profile.dto.js +8 -0
  29. package/dist/translation/overwrite-translations.dto.d.ts +6 -0
  30. package/dist/translation/overwrite-translations.dto.js +34 -0
  31. package/dist/tsconfig.build.tsbuildinfo +1 -1
  32. package/package.json +2 -2
@@ -5,5 +5,20 @@ declare class CityFaq {
5
5
  export declare class AggregatorCityFaqRO {
6
6
  faq: CityFaq[];
7
7
  seoText: string;
8
+ /**
9
+ * Готовый блок mainEntity для FAQPage (schema.org). Клиент собирает обёртку с @context и при необходимости @id страницы.
10
+ */
11
+ faqSchema?: {
12
+ '@context': 'https://schema.org';
13
+ '@type': 'FAQPage';
14
+ mainEntity: Array<{
15
+ '@type': 'Question';
16
+ name: string;
17
+ acceptedAnswer: {
18
+ '@type': 'Answer';
19
+ text: string;
20
+ };
21
+ }>;
22
+ };
8
23
  }
9
24
  export {};
@@ -33,4 +33,8 @@ __decorate([
33
33
  (0, class_transformer_1.Expose)(),
34
34
  __metadata("design:type", String)
35
35
  ], AggregatorCityFaqRO.prototype, "seoText", void 0);
36
+ __decorate([
37
+ (0, class_transformer_1.Expose)(),
38
+ __metadata("design:type", Object)
39
+ ], AggregatorCityFaqRO.prototype, "faqSchema", void 0);
36
40
  exports.AggregatorCityFaqRO = AggregatorCityFaqRO;
@@ -2,4 +2,5 @@ export declare class AgregatorPostCardRO {
2
2
  title: string;
3
3
  description: string;
4
4
  slug: string;
5
+ updatedAt: Date;
5
6
  }
@@ -25,4 +25,8 @@ __decorate([
25
25
  (0, class_transformer_1.Expose)(),
26
26
  __metadata("design:type", String)
27
27
  ], AgregatorPostCardRO.prototype, "slug", void 0);
28
+ __decorate([
29
+ (0, class_transformer_1.Expose)(),
30
+ __metadata("design:type", Date)
31
+ ], AgregatorPostCardRO.prototype, "updatedAt", void 0);
28
32
  exports.AgregatorPostCardRO = AgregatorPostCardRO;
@@ -3,4 +3,6 @@ export declare class AgregatorPostRO {
3
3
  content: string;
4
4
  poster: string;
5
5
  slug: string;
6
+ createdAt: Date;
7
+ updatedAt: Date;
6
8
  }
@@ -29,4 +29,12 @@ __decorate([
29
29
  (0, class_transformer_1.Expose)(),
30
30
  __metadata("design:type", String)
31
31
  ], AgregatorPostRO.prototype, "slug", void 0);
32
+ __decorate([
33
+ (0, class_transformer_1.Expose)(),
34
+ __metadata("design:type", Date)
35
+ ], AgregatorPostRO.prototype, "createdAt", void 0);
36
+ __decorate([
37
+ (0, class_transformer_1.Expose)(),
38
+ __metadata("design:type", Date)
39
+ ], AgregatorPostRO.prototype, "updatedAt", void 0);
32
40
  exports.AgregatorPostRO = AgregatorPostRO;
@@ -0,0 +1,9 @@
1
+ import { Languages } from '../shared/enum/languages.enum';
2
+ export declare class CityLocaleRO {
3
+ id: number;
4
+ language: Languages;
5
+ title: string;
6
+ inTitle: string;
7
+ nearTitle: string;
8
+ cityId: number;
9
+ }
@@ -0,0 +1,41 @@
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.CityLocaleRO = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const languages_enum_1 = require("../shared/enum/languages.enum");
15
+ class CityLocaleRO {
16
+ }
17
+ __decorate([
18
+ (0, class_transformer_1.Expose)(),
19
+ __metadata("design:type", Number)
20
+ ], CityLocaleRO.prototype, "id", void 0);
21
+ __decorate([
22
+ (0, class_transformer_1.Expose)(),
23
+ __metadata("design:type", String)
24
+ ], CityLocaleRO.prototype, "language", void 0);
25
+ __decorate([
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
28
+ ], CityLocaleRO.prototype, "title", void 0);
29
+ __decorate([
30
+ (0, class_transformer_1.Expose)(),
31
+ __metadata("design:type", String)
32
+ ], CityLocaleRO.prototype, "inTitle", void 0);
33
+ __decorate([
34
+ (0, class_transformer_1.Expose)(),
35
+ __metadata("design:type", String)
36
+ ], CityLocaleRO.prototype, "nearTitle", void 0);
37
+ __decorate([
38
+ (0, class_transformer_1.Expose)(),
39
+ __metadata("design:type", Number)
40
+ ], CityLocaleRO.prototype, "cityId", void 0);
41
+ exports.CityLocaleRO = CityLocaleRO;
@@ -1,4 +1,5 @@
1
1
  import { CountriesEnum } from '../shared/enum/countries.enum';
2
+ import { CityLocaleRO } from './city-locale.ro';
2
3
  export type CityRO = {
3
4
  id: number;
4
5
  title: string;
@@ -14,4 +15,5 @@ export type CityRO = {
14
15
  stateTitle: string;
15
16
  partnerQuestroomsCount: number;
16
17
  verified: boolean;
18
+ locales?: CityLocaleRO[];
17
19
  };
@@ -0,0 +1,8 @@
1
+ import { Languages } from '../shared/enum/languages.enum';
2
+ export declare class UpdateCityLocaleDto {
3
+ id?: number;
4
+ language: Languages;
5
+ title: string;
6
+ inTitle?: string;
7
+ nearTitle?: string;
8
+ }
@@ -0,0 +1,46 @@
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.UpdateCityLocaleDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const languages_enum_1 = require("../shared/enum/languages.enum");
16
+ class UpdateCityLocaleDto {
17
+ }
18
+ __decorate([
19
+ (0, class_validator_1.IsOptional)(),
20
+ (0, class_validator_1.IsNumber)(),
21
+ (0, class_transformer_1.Expose)(),
22
+ __metadata("design:type", Number)
23
+ ], UpdateCityLocaleDto.prototype, "id", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsEnum)(languages_enum_1.Languages),
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
28
+ ], UpdateCityLocaleDto.prototype, "language", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsString)(),
31
+ (0, class_transformer_1.Expose)(),
32
+ __metadata("design:type", String)
33
+ ], UpdateCityLocaleDto.prototype, "title", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsOptional)(),
36
+ (0, class_validator_1.IsString)(),
37
+ (0, class_transformer_1.Expose)(),
38
+ __metadata("design:type", String)
39
+ ], UpdateCityLocaleDto.prototype, "inTitle", void 0);
40
+ __decorate([
41
+ (0, class_validator_1.IsOptional)(),
42
+ (0, class_validator_1.IsString)(),
43
+ (0, class_transformer_1.Expose)(),
44
+ __metadata("design:type", String)
45
+ ], UpdateCityLocaleDto.prototype, "nearTitle", void 0);
46
+ exports.UpdateCityLocaleDto = UpdateCityLocaleDto;
@@ -1,6 +1,8 @@
1
1
  import { CountriesEnum } from '../shared/enum/countries.enum';
2
+ import { UpdateCityLocaleDto } from './update-city-locale.dto';
2
3
  export declare class UpdateCityDto {
3
4
  title: string;
4
5
  country: CountriesEnum;
5
6
  photo: string;
7
+ locales?: UpdateCityLocaleDto[];
6
8
  }
@@ -13,6 +13,7 @@ exports.UpdateCityDto = 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 update_city_locale_dto_1 = require("./update-city-locale.dto");
16
17
  class UpdateCityDto {
17
18
  }
18
19
  __decorate([
@@ -31,4 +32,12 @@ __decorate([
31
32
  (0, class_transformer_1.Expose)(),
32
33
  __metadata("design:type", String)
33
34
  ], UpdateCityDto.prototype, "photo", void 0);
35
+ __decorate([
36
+ (0, class_validator_1.IsOptional)(),
37
+ (0, class_validator_1.IsArray)(),
38
+ (0, class_validator_1.ValidateNested)({ each: true }),
39
+ (0, class_transformer_1.Type)(() => update_city_locale_dto_1.UpdateCityLocaleDto),
40
+ (0, class_transformer_1.Expose)(),
41
+ __metadata("design:type", Array)
42
+ ], UpdateCityDto.prototype, "locales", void 0);
34
43
  exports.UpdateCityDto = UpdateCityDto;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.navigatorCertificateNominalsByCountry = exports.navigatorCertificatePricingByCountry = void 0;
4
4
  const countries_enum_1 = require("../shared/enum/countries.enum");
5
5
  const pricingEUR = {
6
- nominals: [5000, 10000, 15000, 20000],
6
+ nominals: [2500, 5000, 7500, 10000, 12500, 15000],
7
7
  deliveryPrice: 700,
8
8
  };
9
9
  const pricingUSD = {
@@ -2,5 +2,6 @@ import { GooglePlacesStatusEnum } from './google-places-status.enum';
2
2
  export declare class UpdateGooglePlacesDto {
3
3
  status?: GooglePlacesStatusEnum;
4
4
  comment?: string;
5
+ website?: string;
5
6
  profileId?: number;
6
7
  }
@@ -24,6 +24,11 @@ __decorate([
24
24
  (0, class_validator_1.IsOptional)(),
25
25
  __metadata("design:type", String)
26
26
  ], UpdateGooglePlacesDto.prototype, "comment", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsOptional)(),
30
+ __metadata("design:type", String)
31
+ ], UpdateGooglePlacesDto.prototype, "website", void 0);
27
32
  __decorate([
28
33
  (0, class_validator_1.IsNumber)(),
29
34
  (0, class_validator_1.IsOptional)(),
@@ -11,9 +11,6 @@ export declare class CreateNavigatorCertificateSaleDto {
11
11
  surname: string;
12
12
  email: string;
13
13
  phone: string;
14
- deliveryName: string;
15
- deliverySurname: string;
16
- deliveryPhone: string;
17
14
  deliveryAddress: string;
18
15
  deliveryCity: string;
19
16
  deliveryPostcode: string;
@@ -26,6 +23,7 @@ export declare class CreateNavigatorCertificateSaleDto {
26
23
  deliveryComment?: string;
27
24
  image: string;
28
25
  backgroundImage?: string;
26
+ city?: string;
29
27
  }
30
28
  export declare class CreateNavigatorCertificateSaleFormDto extends CreateNavigatorCertificateSaleDto {
31
29
  sendAfterPayment?: boolean;
@@ -68,24 +68,6 @@ __decorate([
68
68
  (0, class_transformer_1.Expose)(),
69
69
  __metadata("design:type", String)
70
70
  ], CreateNavigatorCertificateSaleDto.prototype, "phone", void 0);
71
- __decorate([
72
- (0, class_validator_1.ValidateIf)((o) => o.type !== navigator_certificate_type_enum_1.NavigatorCertificateTypeEnum.ELECTRONIC),
73
- (0, is_not_blank_1.IsNotBlank)(),
74
- (0, class_transformer_1.Expose)(),
75
- __metadata("design:type", String)
76
- ], CreateNavigatorCertificateSaleDto.prototype, "deliveryName", void 0);
77
- __decorate([
78
- (0, class_validator_1.ValidateIf)((o) => o.type !== navigator_certificate_type_enum_1.NavigatorCertificateTypeEnum.ELECTRONIC),
79
- (0, is_not_blank_1.IsNotBlank)(),
80
- (0, class_transformer_1.Expose)(),
81
- __metadata("design:type", String)
82
- ], CreateNavigatorCertificateSaleDto.prototype, "deliverySurname", void 0);
83
- __decorate([
84
- (0, class_validator_1.ValidateIf)((o) => o.type !== navigator_certificate_type_enum_1.NavigatorCertificateTypeEnum.ELECTRONIC),
85
- (0, is_not_blank_1.IsNotBlank)(),
86
- (0, class_transformer_1.Expose)(),
87
- __metadata("design:type", String)
88
- ], CreateNavigatorCertificateSaleDto.prototype, "deliveryPhone", void 0);
89
71
  __decorate([
90
72
  (0, class_validator_1.ValidateIf)((o) => o.type !== navigator_certificate_type_enum_1.NavigatorCertificateTypeEnum.ELECTRONIC),
91
73
  (0, is_not_blank_1.IsNotBlank)(),
@@ -159,6 +141,12 @@ __decorate([
159
141
  (0, class_transformer_1.Expose)(),
160
142
  __metadata("design:type", String)
161
143
  ], CreateNavigatorCertificateSaleDto.prototype, "backgroundImage", void 0);
144
+ __decorate([
145
+ (0, class_validator_1.IsOptional)(),
146
+ (0, class_validator_1.IsString)(),
147
+ (0, class_transformer_1.Expose)(),
148
+ __metadata("design:type", String)
149
+ ], CreateNavigatorCertificateSaleDto.prototype, "city", void 0);
162
150
  exports.CreateNavigatorCertificateSaleDto = CreateNavigatorCertificateSaleDto;
163
151
  class CreateNavigatorCertificateSaleFormDto extends CreateNavigatorCertificateSaleDto {
164
152
  }
@@ -5,5 +5,7 @@ export * from './create-navigator-certificate-template.dto';
5
5
  export * from './update-navigator-certificate-template.dto';
6
6
  export * from './create-navigator-certificate-sale.dto';
7
7
  export * from './update-navigator-certificate-code.dto';
8
+ export * from './update-navigator-certificate-sale-status.dto';
9
+ export * from './request-navigator-certificate-redeem.dto';
8
10
  export * from './enum/navigator-certificate-type.enum';
9
11
  export * from './enum/navigator-certificate-sale-status.enum';
@@ -21,5 +21,7 @@ __exportStar(require("./create-navigator-certificate-template.dto"), exports);
21
21
  __exportStar(require("./update-navigator-certificate-template.dto"), exports);
22
22
  __exportStar(require("./create-navigator-certificate-sale.dto"), exports);
23
23
  __exportStar(require("./update-navigator-certificate-code.dto"), exports);
24
+ __exportStar(require("./update-navigator-certificate-sale-status.dto"), exports);
25
+ __exportStar(require("./request-navigator-certificate-redeem.dto"), exports);
24
26
  __exportStar(require("./enum/navigator-certificate-type.enum"), exports);
25
27
  __exportStar(require("./enum/navigator-certificate-sale-status.enum"), exports);
@@ -1,8 +1,7 @@
1
1
  import { ProfileCurrencyEnum } from '../profile/enum/profile-currency';
2
2
  import { ProfileRO } from '../profile/profile.ro';
3
- import { RO } from '../shared/ro-class';
4
3
  import { CountriesEnum } from '../shared/enum/countries.enum';
5
- import { TransactionSourceEnum } from '../transaction/enum/transaction-source.enum';
4
+ import { RO } from '../shared/ro-class';
6
5
  import { NavigatorCertificateSaleStatusEnum } from './enum/navigator-certificate-sale-status.enum';
7
6
  import { NavigatorCertificateTypeEnum } from './enum/navigator-certificate-type.enum';
8
7
  export declare class NavigatorCertificateSaleRO extends RO {
@@ -15,8 +14,8 @@ export declare class NavigatorCertificateSaleRO extends RO {
15
14
  payed: number;
16
15
  currency: ProfileCurrencyEnum;
17
16
  country: CountriesEnum;
17
+ city: string | null;
18
18
  paymentId: string;
19
- paymentProvider: TransactionSourceEnum;
20
19
  code: string;
21
20
  expireDate: string;
22
21
  name: string;
@@ -27,10 +26,13 @@ export declare class NavigatorCertificateSaleRO extends RO {
27
26
  profile: ProfileRO;
28
27
  status: NavigatorCertificateSaleStatusEnum;
29
28
  redeemAmount: number | null;
30
- redeemReceipt: string | null;
31
- deliveryName: string;
32
- deliverySurname: string;
33
- deliveryPhone: string;
29
+ amountToPay: number | null;
30
+ revenue: number | null;
31
+ redeemPlatformSweepTransferId: string | null;
32
+ redeemQuestroomTransferId: string | null;
33
+ redeemQuestroomStripeAcc: string | null;
34
+ stripeComission: number | null;
35
+ navigatorComission: number | null;
34
36
  deliveryAddress: string;
35
37
  deliveryComment: string;
36
38
  deliveryHouse: string;
@@ -13,9 +13,8 @@ exports.NavigatorCertificateSaleRO = void 0;
13
13
  const class_transformer_1 = require("class-transformer");
14
14
  const profile_currency_1 = require("../profile/enum/profile-currency");
15
15
  const profile_ro_1 = require("../profile/profile.ro");
16
- const ro_class_1 = require("../shared/ro-class");
17
16
  const countries_enum_1 = require("../shared/enum/countries.enum");
18
- const transaction_source_enum_1 = require("../transaction/enum/transaction-source.enum");
17
+ const ro_class_1 = require("../shared/ro-class");
19
18
  const navigator_certificate_sale_status_enum_1 = require("./enum/navigator-certificate-sale-status.enum");
20
19
  const navigator_certificate_type_enum_1 = require("./enum/navigator-certificate-type.enum");
21
20
  class NavigatorCertificateSaleRO extends ro_class_1.RO {
@@ -59,11 +58,11 @@ __decorate([
59
58
  __decorate([
60
59
  (0, class_transformer_1.Expose)(),
61
60
  __metadata("design:type", String)
62
- ], NavigatorCertificateSaleRO.prototype, "paymentId", void 0);
61
+ ], NavigatorCertificateSaleRO.prototype, "city", void 0);
63
62
  __decorate([
64
63
  (0, class_transformer_1.Expose)(),
65
64
  __metadata("design:type", String)
66
- ], NavigatorCertificateSaleRO.prototype, "paymentProvider", void 0);
65
+ ], NavigatorCertificateSaleRO.prototype, "paymentId", void 0);
67
66
  __decorate([
68
67
  (0, class_transformer_1.Expose)(),
69
68
  __metadata("design:type", String)
@@ -106,20 +105,32 @@ __decorate([
106
105
  ], NavigatorCertificateSaleRO.prototype, "redeemAmount", void 0);
107
106
  __decorate([
108
107
  (0, class_transformer_1.Expose)(),
109
- __metadata("design:type", String)
110
- ], NavigatorCertificateSaleRO.prototype, "redeemReceipt", void 0);
108
+ __metadata("design:type", Number)
109
+ ], NavigatorCertificateSaleRO.prototype, "amountToPay", void 0);
110
+ __decorate([
111
+ (0, class_transformer_1.Expose)(),
112
+ __metadata("design:type", Number)
113
+ ], NavigatorCertificateSaleRO.prototype, "revenue", void 0);
111
114
  __decorate([
112
115
  (0, class_transformer_1.Expose)(),
113
116
  __metadata("design:type", String)
114
- ], NavigatorCertificateSaleRO.prototype, "deliveryName", void 0);
117
+ ], NavigatorCertificateSaleRO.prototype, "redeemPlatformSweepTransferId", void 0);
115
118
  __decorate([
116
119
  (0, class_transformer_1.Expose)(),
117
120
  __metadata("design:type", String)
118
- ], NavigatorCertificateSaleRO.prototype, "deliverySurname", void 0);
121
+ ], NavigatorCertificateSaleRO.prototype, "redeemQuestroomTransferId", void 0);
119
122
  __decorate([
120
123
  (0, class_transformer_1.Expose)(),
121
124
  __metadata("design:type", String)
122
- ], NavigatorCertificateSaleRO.prototype, "deliveryPhone", void 0);
125
+ ], NavigatorCertificateSaleRO.prototype, "redeemQuestroomStripeAcc", void 0);
126
+ __decorate([
127
+ (0, class_transformer_1.Expose)(),
128
+ __metadata("design:type", Number)
129
+ ], NavigatorCertificateSaleRO.prototype, "stripeComission", void 0);
130
+ __decorate([
131
+ (0, class_transformer_1.Expose)(),
132
+ __metadata("design:type", Number)
133
+ ], NavigatorCertificateSaleRO.prototype, "navigatorComission", void 0);
123
134
  __decorate([
124
135
  (0, class_transformer_1.Expose)(),
125
136
  __metadata("design:type", String)
@@ -0,0 +1,5 @@
1
+ export declare class RequestNavigatorCertificateRedeemDto {
2
+ code: string;
3
+ usedAmount: number;
4
+ stripeCashboxId: number;
5
+ }
@@ -0,0 +1,40 @@
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.RequestNavigatorCertificateRedeemDto = void 0;
13
+ /* eslint-disable @typescript-eslint/no-unused-vars -- property decorators */
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 RequestNavigatorCertificateRedeemDto {
18
+ }
19
+ __decorate([
20
+ (0, is_not_blank_1.IsNotBlank)(),
21
+ (0, class_transformer_1.Transform)(({ value }) => `${value || ''}`.replace(/\D/g, '')),
22
+ (0, class_validator_1.Matches)(/^\d{16}$/),
23
+ (0, class_transformer_1.Expose)(),
24
+ __metadata("design:type", String)
25
+ ], RequestNavigatorCertificateRedeemDto.prototype, "code", void 0);
26
+ __decorate([
27
+ (0, class_transformer_1.Type)(() => Number),
28
+ (0, class_validator_1.IsNumber)(),
29
+ (0, class_validator_1.Min)(0.01),
30
+ (0, class_transformer_1.Expose)(),
31
+ __metadata("design:type", Number)
32
+ ], RequestNavigatorCertificateRedeemDto.prototype, "usedAmount", void 0);
33
+ __decorate([
34
+ (0, class_transformer_1.Type)(() => Number),
35
+ (0, class_validator_1.IsInt)(),
36
+ (0, class_validator_1.Min)(1),
37
+ (0, class_transformer_1.Expose)(),
38
+ __metadata("design:type", Number)
39
+ ], RequestNavigatorCertificateRedeemDto.prototype, "stripeCashboxId", void 0);
40
+ exports.RequestNavigatorCertificateRedeemDto = RequestNavigatorCertificateRedeemDto;
@@ -0,0 +1,4 @@
1
+ import { NavigatorCertificateSaleStatusEnum } from './enum/navigator-certificate-sale-status.enum';
2
+ export declare class UpdateNavigatorCertificateSaleStatusDto {
3
+ status: NavigatorCertificateSaleStatusEnum;
4
+ }
@@ -0,0 +1,23 @@
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.UpdateNavigatorCertificateSaleStatusDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const navigator_certificate_sale_status_enum_1 = require("./enum/navigator-certificate-sale-status.enum");
16
+ class UpdateNavigatorCertificateSaleStatusDto {
17
+ }
18
+ __decorate([
19
+ (0, class_transformer_1.Expose)(),
20
+ (0, class_validator_1.IsEnum)(navigator_certificate_sale_status_enum_1.NavigatorCertificateSaleStatusEnum),
21
+ __metadata("design:type", String)
22
+ ], UpdateNavigatorCertificateSaleStatusDto.prototype, "status", void 0);
23
+ exports.UpdateNavigatorCertificateSaleStatusDto = UpdateNavigatorCertificateSaleStatusDto;
@@ -14,7 +14,9 @@ export declare class QueryAdminProfileDto {
14
14
  partnerProgram?: PartnerProgramEnum;
15
15
  subscriptionStatus?: ProfileSubscriptionEnum[];
16
16
  subscriptionType?: ProfileSubscriptionTypeEnum;
17
+ subscriptionTypes?: ProfileSubscriptionTypeEnum[];
17
18
  subscriptionCancelationDate?: boolean;
19
+ lastVisitAfter?: string;
18
20
  status?: ProfileStatusEnum[];
19
21
  salesStatus?: ProfileSalesStatus[];
20
22
  techStatus?: ProfileTechStatusEnum;
@@ -43,10 +43,18 @@ __decorate([
43
43
  (0, class_transformer_1.Expose)(),
44
44
  __metadata("design:type", String)
45
45
  ], QueryAdminProfileDto.prototype, "subscriptionType", void 0);
46
+ __decorate([
47
+ (0, class_transformer_1.Expose)(),
48
+ __metadata("design:type", Array)
49
+ ], QueryAdminProfileDto.prototype, "subscriptionTypes", void 0);
46
50
  __decorate([
47
51
  (0, class_transformer_1.Expose)(),
48
52
  __metadata("design:type", Boolean)
49
53
  ], QueryAdminProfileDto.prototype, "subscriptionCancelationDate", void 0);
54
+ __decorate([
55
+ (0, class_transformer_1.Expose)(),
56
+ __metadata("design:type", String)
57
+ ], QueryAdminProfileDto.prototype, "lastVisitAfter", void 0);
50
58
  __decorate([
51
59
  (0, class_transformer_1.Expose)(),
52
60
  __metadata("design:type", Array)
@@ -0,0 +1,6 @@
1
+ import { Languages } from '../shared/enum/languages.enum';
2
+ export declare class OverwriteTranslationsDto {
3
+ namespaceId: number;
4
+ locale: Languages;
5
+ json: string;
6
+ }
@@ -0,0 +1,34 @@
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.OverwriteTranslationsDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const languages_enum_1 = require("../shared/enum/languages.enum");
16
+ const is_not_blank_1 = require("../shared/is-not-blank");
17
+ class OverwriteTranslationsDto {
18
+ }
19
+ __decorate([
20
+ (0, class_validator_1.IsPositive)(),
21
+ (0, class_transformer_1.Expose)(),
22
+ __metadata("design:type", Number)
23
+ ], OverwriteTranslationsDto.prototype, "namespaceId", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsEnum)(languages_enum_1.Languages),
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
28
+ ], OverwriteTranslationsDto.prototype, "locale", void 0);
29
+ __decorate([
30
+ (0, is_not_blank_1.IsNotBlank)(),
31
+ (0, class_transformer_1.Expose)(),
32
+ __metadata("design:type", String)
33
+ ], OverwriteTranslationsDto.prototype, "json", void 0);
34
+ exports.OverwriteTranslationsDto = OverwriteTranslationsDto;