@escapenavigator/types 1.10.64 → 1.10.71
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.
- package/dist/google-places/google-places-status.enum.d.ts +5 -0
- package/dist/google-places/google-places-status.enum.js +9 -0
- package/dist/google-places/google-places.ro.d.ts +27 -0
- package/dist/google-places/google-places.ro.js +104 -0
- package/dist/google-places/update-google-places.dto.d.ts +6 -0
- package/dist/google-places/update-google-places.dto.js +32 -0
- package/dist/profile/enum/profile-tech-status.enum.d.ts +3 -2
- package/dist/profile/enum/profile-tech-status.enum.js +2 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GooglePlacesStatusEnum = void 0;
|
|
4
|
+
var GooglePlacesStatusEnum;
|
|
5
|
+
(function (GooglePlacesStatusEnum) {
|
|
6
|
+
GooglePlacesStatusEnum["NEW"] = "new";
|
|
7
|
+
GooglePlacesStatusEnum["CONFLICT"] = "conflict";
|
|
8
|
+
GooglePlacesStatusEnum["RESOLVED"] = "resolved";
|
|
9
|
+
})(GooglePlacesStatusEnum = exports.GooglePlacesStatusEnum || (exports.GooglePlacesStatusEnum = {}));
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ProfileStatusEnum } from '../profile/enum/profile-step.enum';
|
|
2
|
+
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
3
|
+
import { GooglePlacesStatusEnum } from './google-places-status.enum';
|
|
4
|
+
export declare class Profile {
|
|
5
|
+
id: number;
|
|
6
|
+
title: string;
|
|
7
|
+
status: ProfileStatusEnum;
|
|
8
|
+
}
|
|
9
|
+
export declare class GooglePlacesRO {
|
|
10
|
+
id: number;
|
|
11
|
+
placeId: string;
|
|
12
|
+
name: string;
|
|
13
|
+
address: string;
|
|
14
|
+
city: string;
|
|
15
|
+
phone: string;
|
|
16
|
+
website: string;
|
|
17
|
+
rating: number;
|
|
18
|
+
reviewsCount: number;
|
|
19
|
+
permanentlyClosed: boolean;
|
|
20
|
+
status: GooglePlacesStatusEnum;
|
|
21
|
+
comment: string;
|
|
22
|
+
country: CountriesEnum;
|
|
23
|
+
profile: Profile;
|
|
24
|
+
profileId: number;
|
|
25
|
+
createdAt: Date;
|
|
26
|
+
updatedAt: Date;
|
|
27
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
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.GooglePlacesRO = exports.Profile = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const profile_step_enum_1 = require("../profile/enum/profile-step.enum");
|
|
16
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
17
|
+
const google_places_status_enum_1 = require("./google-places-status.enum");
|
|
18
|
+
class Profile {
|
|
19
|
+
}
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], Profile.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], Profile.prototype, "title", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], Profile.prototype, "status", void 0);
|
|
32
|
+
exports.Profile = Profile;
|
|
33
|
+
class GooglePlacesRO {
|
|
34
|
+
}
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], GooglePlacesRO.prototype, "id", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], GooglePlacesRO.prototype, "placeId", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], GooglePlacesRO.prototype, "name", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], GooglePlacesRO.prototype, "address", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_transformer_1.Expose)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], GooglePlacesRO.prototype, "city", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], GooglePlacesRO.prototype, "phone", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], GooglePlacesRO.prototype, "website", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_transformer_1.Expose)(),
|
|
65
|
+
__metadata("design:type", Number)
|
|
66
|
+
], GooglePlacesRO.prototype, "rating", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_transformer_1.Expose)(),
|
|
69
|
+
__metadata("design:type", Number)
|
|
70
|
+
], GooglePlacesRO.prototype, "reviewsCount", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, class_transformer_1.Expose)(),
|
|
73
|
+
__metadata("design:type", Boolean)
|
|
74
|
+
], GooglePlacesRO.prototype, "permanentlyClosed", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, class_transformer_1.Expose)(),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], GooglePlacesRO.prototype, "status", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, class_transformer_1.Expose)(),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], GooglePlacesRO.prototype, "comment", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, class_transformer_1.Expose)(),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], GooglePlacesRO.prototype, "country", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, class_transformer_1.Expose)(),
|
|
89
|
+
(0, class_transformer_1.Type)(() => Profile),
|
|
90
|
+
__metadata("design:type", Profile)
|
|
91
|
+
], GooglePlacesRO.prototype, "profile", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, class_transformer_1.Expose)(),
|
|
94
|
+
__metadata("design:type", Number)
|
|
95
|
+
], GooglePlacesRO.prototype, "profileId", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, class_transformer_1.Expose)(),
|
|
98
|
+
__metadata("design:type", Date)
|
|
99
|
+
], GooglePlacesRO.prototype, "createdAt", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, class_transformer_1.Expose)(),
|
|
102
|
+
__metadata("design:type", Date)
|
|
103
|
+
], GooglePlacesRO.prototype, "updatedAt", void 0);
|
|
104
|
+
exports.GooglePlacesRO = GooglePlacesRO;
|
|
@@ -0,0 +1,32 @@
|
|
|
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.UpdateGooglePlacesDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const google_places_status_enum_1 = require("./google-places-status.enum");
|
|
15
|
+
class UpdateGooglePlacesDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsEnum)(google_places_status_enum_1.GooglePlacesStatusEnum),
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], UpdateGooglePlacesDto.prototype, "status", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], UpdateGooglePlacesDto.prototype, "comment", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNumber)(),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], UpdateGooglePlacesDto.prototype, "profileId", void 0);
|
|
32
|
+
exports.UpdateGooglePlacesDto = UpdateGooglePlacesDto;
|
|
@@ -4,6 +4,7 @@ exports.ProfileTechStatusEnum = void 0;
|
|
|
4
4
|
var ProfileTechStatusEnum;
|
|
5
5
|
(function (ProfileTechStatusEnum) {
|
|
6
6
|
ProfileTechStatusEnum["HIDDEN"] = "hidden";
|
|
7
|
-
ProfileTechStatusEnum["VERIFIED"] = "verified";
|
|
8
7
|
ProfileTechStatusEnum["NEED_UPDATE"] = "need_update";
|
|
8
|
+
ProfileTechStatusEnum["MANUAL_VERIFICATION_COMPLETE"] = "manual_verification_complete";
|
|
9
|
+
ProfileTechStatusEnum["VERIFIED"] = "verified";
|
|
9
10
|
})(ProfileTechStatusEnum = exports.ProfileTechStatusEnum || (exports.ProfileTechStatusEnum = {}));
|