@escapenavigator/services 2.0.17 → 2.0.20
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/api/city-attractions-api/index.d.ts +16 -0
- package/dist/api/city-attractions-api/index.js +27 -0
- package/dist/api/city-people-api/index.d.ts +15 -0
- package/dist/api/city-people-api/index.js +27 -0
- package/dist/api/city-player-api/index.d.ts +28 -1
- package/dist/api/city-player-api/index.js +47 -1
- package/dist/api/city-ready-routes-api/index.d.ts +28 -0
- package/dist/api/city-ready-routes-api/index.js +57 -0
- package/dist/api/init-client-api.d.ts +2 -0
- package/dist/api/init-client-api.js +2 -0
- package/package.json +4 -4
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { AttractionTriageReportRO, TriageAttractionsDto } from '@escapenavigator/types/dist/city-attraction/attraction-triage';
|
|
2
2
|
import { CityAttractionRO } from '@escapenavigator/types/dist/city-attraction/city-attraction.ro';
|
|
3
3
|
import { CreateCityAttractionDto } from '@escapenavigator/types/dist/city-attraction/create-city-attraction.dto';
|
|
4
|
+
import { GenerateAttractionAudioDto } from '@escapenavigator/types/dist/city-attraction/generate-attraction-audio.dto';
|
|
5
|
+
import { GenerateAttractionAudioRO } from '@escapenavigator/types/dist/city-attraction/generate-attraction-audio.ro';
|
|
4
6
|
import { ModerateCityAttractionDto } from '@escapenavigator/types/dist/city-attraction/moderate-city-attraction.dto';
|
|
5
7
|
import { UpdateCityAttractionDto } from '@escapenavigator/types/dist/city-attraction/update-city-attraction.dto';
|
|
6
8
|
import { UpsertCityAttractionArtifactDto } from '@escapenavigator/types/dist/city-attraction/upsert-city-attraction-artifact.dto';
|
|
@@ -9,6 +11,8 @@ import { GenerateAiCoverDto } from '@escapenavigator/types/dist/shared/ai-cover'
|
|
|
9
11
|
import { CityPipelineRunRO, StartCityPipelineDto } from '@escapenavigator/types/dist/shared/city-pipeline';
|
|
10
12
|
import { CityResearchDto, CityResearchReportRO } from '@escapenavigator/types/dist/shared/city-research';
|
|
11
13
|
import { ContentBatchReportRO, GenerateContentBatchDto } from '@escapenavigator/types/dist/shared/content-batch';
|
|
14
|
+
import { DeepenEntityDto, DeepenReportRO } from '@escapenavigator/types/dist/shared/editorial-research';
|
|
15
|
+
import { FillCompleteDto, FillCompleteReportRO } from '@escapenavigator/types/dist/shared/fill-complete';
|
|
12
16
|
import { QueryDto } from '@escapenavigator/types/dist/shared/query.dto';
|
|
13
17
|
import { QueryRO } from '@escapenavigator/types/dist/shared/query.ro';
|
|
14
18
|
import { EnrichWikidataDto, WikidataEnrichmentReportRO } from '@escapenavigator/types/dist/shared/wikidata-enrichment';
|
|
@@ -32,6 +36,18 @@ export declare const cityAttractionsApiDeclaration: {
|
|
|
32
36
|
id: number;
|
|
33
37
|
data: GenerateAttractionContentDto;
|
|
34
38
|
}, CityAttractionRO>;
|
|
39
|
+
deepen: ApiMethodDeclaration<{
|
|
40
|
+
id: number;
|
|
41
|
+
data: DeepenEntityDto;
|
|
42
|
+
}, DeepenReportRO<CityAttractionRO>>;
|
|
43
|
+
fillComplete: ApiMethodDeclaration<{
|
|
44
|
+
id: number;
|
|
45
|
+
data: FillCompleteDto;
|
|
46
|
+
}, FillCompleteReportRO<CityAttractionRO>>;
|
|
47
|
+
generateAudio: ApiMethodDeclaration<{
|
|
48
|
+
id: number;
|
|
49
|
+
data: GenerateAttractionAudioDto;
|
|
50
|
+
}, GenerateAttractionAudioRO>;
|
|
35
51
|
upsertLocale: ApiMethodDeclaration<{
|
|
36
52
|
id: number;
|
|
37
53
|
data: UpsertCityAttractionLocaleDto;
|
|
@@ -42,6 +42,30 @@ var generateContent = function (_a) {
|
|
|
42
42
|
data: data,
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
|
+
var deepen = function (_a) {
|
|
46
|
+
var id = _a.id, data = _a.data;
|
|
47
|
+
return ({
|
|
48
|
+
url: "/admin/city-attractions/".concat(id, "/deepen"),
|
|
49
|
+
method: 'POST',
|
|
50
|
+
data: data,
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
var fillComplete = function (_a) {
|
|
54
|
+
var id = _a.id, data = _a.data;
|
|
55
|
+
return ({
|
|
56
|
+
url: "/admin/city-attractions/".concat(id, "/fill-complete"),
|
|
57
|
+
method: 'POST',
|
|
58
|
+
data: data,
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
var generateAudio = function (_a) {
|
|
62
|
+
var id = _a.id, data = _a.data;
|
|
63
|
+
return ({
|
|
64
|
+
url: "/admin/city-attractions/".concat(id, "/generate-audio"),
|
|
65
|
+
method: 'POST',
|
|
66
|
+
data: data,
|
|
67
|
+
});
|
|
68
|
+
};
|
|
45
69
|
var upsertLocale = function (_a) {
|
|
46
70
|
var id = _a.id, data = _a.data;
|
|
47
71
|
return ({
|
|
@@ -145,6 +169,9 @@ exports.cityAttractionsApiDeclaration = {
|
|
|
145
169
|
update: update,
|
|
146
170
|
moderate: moderate,
|
|
147
171
|
generateContent: generateContent,
|
|
172
|
+
deepen: deepen,
|
|
173
|
+
fillComplete: fillComplete,
|
|
174
|
+
generateAudio: generateAudio,
|
|
148
175
|
upsertLocale: upsertLocale,
|
|
149
176
|
replaceArtifacts: replaceArtifacts,
|
|
150
177
|
enrichWikidata: enrichWikidata,
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { CityPersonRO } from '@escapenavigator/types/dist/city-person/city-person.ro';
|
|
2
2
|
import { CreateCityPersonDto } from '@escapenavigator/types/dist/city-person/create-city-person.dto';
|
|
3
|
+
import { ModerateCityPersonDto } from '@escapenavigator/types/dist/city-person/moderate-city-person.dto';
|
|
3
4
|
import { UpdateCityPersonDto } from '@escapenavigator/types/dist/city-person/update-city-person.dto';
|
|
4
5
|
import { GeneratePersonContentDto, UpsertCityPersonLocaleDto } from '@escapenavigator/types/dist/city-person/upsert-city-person-locale.dto';
|
|
5
6
|
import { AutolinkDto, WikidataAutolinkReportRO } from '@escapenavigator/types/dist/city-person/wikidata-autolink';
|
|
6
7
|
import { GenerateAiCoverDto } from '@escapenavigator/types/dist/shared/ai-cover';
|
|
7
8
|
import { ContentBatchReportRO, GenerateContentBatchDto } from '@escapenavigator/types/dist/shared/content-batch';
|
|
9
|
+
import { DeepenEntityDto, DeepenReportRO } from '@escapenavigator/types/dist/shared/editorial-research';
|
|
10
|
+
import { FillCompleteDto, FillCompleteReportRO } from '@escapenavigator/types/dist/shared/fill-complete';
|
|
8
11
|
import { QueryDto } from '@escapenavigator/types/dist/shared/query.dto';
|
|
9
12
|
import { QueryRO } from '@escapenavigator/types/dist/shared/query.ro';
|
|
10
13
|
import { EnrichWikidataDto, WikidataEnrichmentReportRO } from '@escapenavigator/types/dist/shared/wikidata-enrichment';
|
|
@@ -40,6 +43,14 @@ export declare const cityPeopleApiDeclaration: {
|
|
|
40
43
|
id: number;
|
|
41
44
|
data: GenerateAiCoverDto;
|
|
42
45
|
}, CityPersonRO>;
|
|
46
|
+
deepen: ApiMethodDeclaration<{
|
|
47
|
+
id: number;
|
|
48
|
+
data: DeepenEntityDto;
|
|
49
|
+
}, DeepenReportRO<CityPersonRO>>;
|
|
50
|
+
fillComplete: ApiMethodDeclaration<{
|
|
51
|
+
id: number;
|
|
52
|
+
data: FillCompleteDto;
|
|
53
|
+
}, FillCompleteReportRO<CityPersonRO>>;
|
|
43
54
|
remove: ApiMethodDeclaration<number, {
|
|
44
55
|
success: boolean;
|
|
45
56
|
}>;
|
|
@@ -49,4 +60,8 @@ export declare const cityPeopleApiDeclaration: {
|
|
|
49
60
|
archived?: boolean;
|
|
50
61
|
};
|
|
51
62
|
}, CityPersonRO>;
|
|
63
|
+
moderate: ApiMethodDeclaration<{
|
|
64
|
+
id: number;
|
|
65
|
+
data: ModerateCityPersonDto;
|
|
66
|
+
}, CityPersonRO>;
|
|
52
67
|
};
|
|
@@ -74,6 +74,22 @@ var generateCover = function (_a) {
|
|
|
74
74
|
data: data,
|
|
75
75
|
});
|
|
76
76
|
};
|
|
77
|
+
var deepen = function (_a) {
|
|
78
|
+
var id = _a.id, data = _a.data;
|
|
79
|
+
return ({
|
|
80
|
+
url: "/admin/city-people/".concat(id, "/deepen"),
|
|
81
|
+
method: 'POST',
|
|
82
|
+
data: data,
|
|
83
|
+
});
|
|
84
|
+
};
|
|
85
|
+
var fillComplete = function (_a) {
|
|
86
|
+
var id = _a.id, data = _a.data;
|
|
87
|
+
return ({
|
|
88
|
+
url: "/admin/city-people/".concat(id, "/fill-complete"),
|
|
89
|
+
method: 'POST',
|
|
90
|
+
data: data,
|
|
91
|
+
});
|
|
92
|
+
};
|
|
77
93
|
var remove = function (id) { return ({
|
|
78
94
|
url: "/admin/city-people/".concat(id),
|
|
79
95
|
method: 'DELETE',
|
|
@@ -86,6 +102,14 @@ var archive = function (_a) {
|
|
|
86
102
|
data: data,
|
|
87
103
|
});
|
|
88
104
|
};
|
|
105
|
+
var moderate = function (_a) {
|
|
106
|
+
var id = _a.id, data = _a.data;
|
|
107
|
+
return ({
|
|
108
|
+
url: "/admin/city-people/".concat(id, "/moderate"),
|
|
109
|
+
method: 'POST',
|
|
110
|
+
data: data,
|
|
111
|
+
});
|
|
112
|
+
};
|
|
89
113
|
exports.cityPeopleApiDeclaration = {
|
|
90
114
|
query: query,
|
|
91
115
|
getOne: getOne,
|
|
@@ -97,6 +121,9 @@ exports.cityPeopleApiDeclaration = {
|
|
|
97
121
|
autolink: autolink,
|
|
98
122
|
generateContentBatch: generateContentBatch,
|
|
99
123
|
generateCover: generateCover,
|
|
124
|
+
deepen: deepen,
|
|
125
|
+
fillComplete: fillComplete,
|
|
100
126
|
remove: remove,
|
|
101
127
|
archive: archive,
|
|
128
|
+
moderate: moderate,
|
|
102
129
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { CityPlayerAttractionsMapRO, CityPlayerPeopleRO, CityPlayerPersonDetailRO } from '@escapenavigator/types/dist/openapi/city-player/city-explore.ro';
|
|
1
2
|
import { CityPlayerCatalogRO, CityPlayerGameRO, CityPlayerLoginRO, CityPlayerQuestPreviewRO, CityPlayerRequestCodeRO, CityPlayerRO, CityPlayerVerifyCodeRO } from '@escapenavigator/types/dist/openapi/city-player/city-player.ro';
|
|
2
3
|
import { CityPlayerAppleLoginDto } from '@escapenavigator/types/dist/openapi/city-player/city-player-apple-login.dto';
|
|
3
4
|
import { CityPlayerLoginDto } from '@escapenavigator/types/dist/openapi/city-player/city-player-login.dto';
|
|
4
5
|
import { CityPlayerRequestCodeDto } from '@escapenavigator/types/dist/openapi/city-player/city-player-request-code.dto';
|
|
5
6
|
import { CityPlayerVerifyCodeDto } from '@escapenavigator/types/dist/openapi/city-player/city-player-verify-code.dto';
|
|
7
|
+
import { CityPlayerReadyRouteDetailRO, CityPlayerReadyRoutesRO } from '@escapenavigator/types/dist/openapi/city-player/city-ready-route.ro';
|
|
6
8
|
import { CityPlayerFreeRouteRO } from '@escapenavigator/types/dist/openapi/city-player/free-route';
|
|
7
9
|
import { ApiMethodDeclaration } from '..';
|
|
8
10
|
export declare const cityPlayerApiDeclaration: {
|
|
@@ -24,7 +26,23 @@ export declare const cityPlayerApiDeclaration: {
|
|
|
24
26
|
}, CityPlayerVerifyCodeRO>;
|
|
25
27
|
me: ApiMethodDeclaration<void, CityPlayerRO>;
|
|
26
28
|
games: ApiMethodDeclaration<void, CityPlayerGameRO[]>;
|
|
27
|
-
catalog: ApiMethodDeclaration<void
|
|
29
|
+
catalog: ApiMethodDeclaration<void | {
|
|
30
|
+
lat?: number;
|
|
31
|
+
lng?: number;
|
|
32
|
+
}, CityPlayerCatalogRO>;
|
|
33
|
+
cityPeople: ApiMethodDeclaration<{
|
|
34
|
+
cityId: number;
|
|
35
|
+
language?: string;
|
|
36
|
+
}, CityPlayerPeopleRO>;
|
|
37
|
+
cityAttractions: ApiMethodDeclaration<{
|
|
38
|
+
cityId: number;
|
|
39
|
+
language?: string;
|
|
40
|
+
}, CityPlayerAttractionsMapRO>;
|
|
41
|
+
personDetail: ApiMethodDeclaration<{
|
|
42
|
+
personId: number;
|
|
43
|
+
cityId?: number;
|
|
44
|
+
language?: string;
|
|
45
|
+
}, CityPlayerPersonDetailRO>;
|
|
28
46
|
questPreview: ApiMethodDeclaration<number, CityPlayerQuestPreviewRO>;
|
|
29
47
|
freeRoute: ApiMethodDeclaration<{
|
|
30
48
|
cityId: number;
|
|
@@ -33,4 +51,13 @@ export declare const cityPlayerApiDeclaration: {
|
|
|
33
51
|
maxDurationMin?: number;
|
|
34
52
|
language?: string;
|
|
35
53
|
}, CityPlayerFreeRouteRO>;
|
|
54
|
+
cityReadyRoutes: ApiMethodDeclaration<{
|
|
55
|
+
cityId: number;
|
|
56
|
+
language?: string;
|
|
57
|
+
}, CityPlayerReadyRoutesRO>;
|
|
58
|
+
readyRouteDetail: ApiMethodDeclaration<{
|
|
59
|
+
routeId: number;
|
|
60
|
+
language?: string;
|
|
61
|
+
unlocked?: boolean;
|
|
62
|
+
}, CityPlayerReadyRouteDetailRO>;
|
|
36
63
|
};
|
|
@@ -50,10 +50,35 @@ var games = function () { return ({
|
|
|
50
50
|
url: '/openapi/city-player/games',
|
|
51
51
|
method: 'GET',
|
|
52
52
|
}); };
|
|
53
|
-
var catalog = function () { return ({
|
|
53
|
+
var catalog = function (params) { return ({
|
|
54
54
|
url: '/openapi/city-player/catalog',
|
|
55
55
|
method: 'GET',
|
|
56
|
+
params: params || undefined,
|
|
56
57
|
}); };
|
|
58
|
+
var cityPeople = function (_a) {
|
|
59
|
+
var cityId = _a.cityId, language = _a.language;
|
|
60
|
+
return ({
|
|
61
|
+
url: "/openapi/city-player/cities/".concat(cityId, "/people"),
|
|
62
|
+
method: 'GET',
|
|
63
|
+
params: { language: language },
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
var cityAttractions = function (_a) {
|
|
67
|
+
var cityId = _a.cityId, language = _a.language;
|
|
68
|
+
return ({
|
|
69
|
+
url: "/openapi/city-player/cities/".concat(cityId, "/attractions"),
|
|
70
|
+
method: 'GET',
|
|
71
|
+
params: { language: language },
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
var personDetail = function (_a) {
|
|
75
|
+
var personId = _a.personId, cityId = _a.cityId, language = _a.language;
|
|
76
|
+
return ({
|
|
77
|
+
url: "/openapi/city-player/people/".concat(personId),
|
|
78
|
+
method: 'GET',
|
|
79
|
+
params: { cityId: cityId, language: language },
|
|
80
|
+
});
|
|
81
|
+
};
|
|
57
82
|
var questPreview = function (id) { return ({
|
|
58
83
|
url: "/openapi/city-player/quests/".concat(id),
|
|
59
84
|
method: 'GET',
|
|
@@ -63,6 +88,22 @@ var freeRoute = function (params) { return ({
|
|
|
63
88
|
method: 'GET',
|
|
64
89
|
params: params,
|
|
65
90
|
}); };
|
|
91
|
+
var cityReadyRoutes = function (_a) {
|
|
92
|
+
var cityId = _a.cityId, language = _a.language;
|
|
93
|
+
return ({
|
|
94
|
+
url: "/openapi/city-player/cities/".concat(cityId, "/ready-routes"),
|
|
95
|
+
method: 'GET',
|
|
96
|
+
params: { language: language },
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
var readyRouteDetail = function (_a) {
|
|
100
|
+
var routeId = _a.routeId, language = _a.language, unlocked = _a.unlocked;
|
|
101
|
+
return ({
|
|
102
|
+
url: "/openapi/city-player/ready-routes/".concat(routeId),
|
|
103
|
+
method: 'GET',
|
|
104
|
+
params: { language: language, unlocked: unlocked ? '1' : undefined },
|
|
105
|
+
});
|
|
106
|
+
};
|
|
66
107
|
exports.cityPlayerApiDeclaration = {
|
|
67
108
|
ping: ping,
|
|
68
109
|
login: login,
|
|
@@ -72,6 +113,11 @@ exports.cityPlayerApiDeclaration = {
|
|
|
72
113
|
me: me,
|
|
73
114
|
games: games,
|
|
74
115
|
catalog: catalog,
|
|
116
|
+
cityPeople: cityPeople,
|
|
117
|
+
cityAttractions: cityAttractions,
|
|
118
|
+
personDetail: personDetail,
|
|
75
119
|
questPreview: questPreview,
|
|
76
120
|
freeRoute: freeRoute,
|
|
121
|
+
cityReadyRoutes: cityReadyRoutes,
|
|
122
|
+
readyRouteDetail: readyRouteDetail,
|
|
77
123
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CityReadyRouteRO } from '@escapenavigator/types/dist/city-ready-route/city-ready-route.ro';
|
|
2
|
+
import { CreateCityReadyRouteDto } from '@escapenavigator/types/dist/city-ready-route/create-city-ready-route.dto';
|
|
3
|
+
import { EstimateReadyRoutePathDto, EstimateReadyRoutePathRO } from '@escapenavigator/types/dist/city-ready-route/estimate-ready-route-path.dto';
|
|
4
|
+
import { ReadyRouteMapPoolRO } from '@escapenavigator/types/dist/city-ready-route/ready-route-map-pool.ro';
|
|
5
|
+
import { UpdateCityReadyRouteDto } from '@escapenavigator/types/dist/city-ready-route/update-city-ready-route.dto';
|
|
6
|
+
import { QueryDto } from '@escapenavigator/types/dist/shared/query.dto';
|
|
7
|
+
import { QueryRO } from '@escapenavigator/types/dist/shared/query.ro';
|
|
8
|
+
import { ApiMethodDeclaration } from '..';
|
|
9
|
+
export declare const cityReadyRoutesApiDeclaration: {
|
|
10
|
+
query: ApiMethodDeclaration<QueryDto, QueryRO<CityReadyRouteRO>>;
|
|
11
|
+
getOne: ApiMethodDeclaration<number, CityReadyRouteRO>;
|
|
12
|
+
create: ApiMethodDeclaration<{
|
|
13
|
+
data: CreateCityReadyRouteDto;
|
|
14
|
+
}, CityReadyRouteRO>;
|
|
15
|
+
update: ApiMethodDeclaration<{
|
|
16
|
+
id: number;
|
|
17
|
+
data: UpdateCityReadyRouteDto;
|
|
18
|
+
}, CityReadyRouteRO>;
|
|
19
|
+
remove: ApiMethodDeclaration<number, {
|
|
20
|
+
success: boolean;
|
|
21
|
+
}>;
|
|
22
|
+
mapPool: ApiMethodDeclaration<{
|
|
23
|
+
cityId: number;
|
|
24
|
+
}, ReadyRouteMapPoolRO>;
|
|
25
|
+
estimatePath: ApiMethodDeclaration<{
|
|
26
|
+
data: EstimateReadyRoutePathDto;
|
|
27
|
+
}, EstimateReadyRoutePathRO>;
|
|
28
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cityReadyRoutesApiDeclaration = void 0;
|
|
4
|
+
var query = function (params) { return ({
|
|
5
|
+
url: '/admin/city-ready-routes',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
params: params,
|
|
8
|
+
}); };
|
|
9
|
+
var getOne = function (id) { return ({
|
|
10
|
+
url: "/admin/city-ready-routes/".concat(id),
|
|
11
|
+
method: 'GET',
|
|
12
|
+
}); };
|
|
13
|
+
var create = function (_a) {
|
|
14
|
+
var data = _a.data;
|
|
15
|
+
return ({
|
|
16
|
+
url: '/admin/city-ready-routes',
|
|
17
|
+
method: 'POST',
|
|
18
|
+
data: data,
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var update = function (_a) {
|
|
22
|
+
var id = _a.id, data = _a.data;
|
|
23
|
+
return ({
|
|
24
|
+
url: "/admin/city-ready-routes/".concat(id),
|
|
25
|
+
method: 'PATCH',
|
|
26
|
+
data: data,
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
var remove = function (id) { return ({
|
|
30
|
+
url: "/admin/city-ready-routes/".concat(id),
|
|
31
|
+
method: 'DELETE',
|
|
32
|
+
}); };
|
|
33
|
+
var mapPool = function (_a) {
|
|
34
|
+
var cityId = _a.cityId;
|
|
35
|
+
return ({
|
|
36
|
+
url: '/admin/city-ready-routes/map-pool',
|
|
37
|
+
method: 'GET',
|
|
38
|
+
params: { cityId: cityId },
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
var estimatePath = function (_a) {
|
|
42
|
+
var data = _a.data;
|
|
43
|
+
return ({
|
|
44
|
+
url: '/admin/city-ready-routes/estimate-path',
|
|
45
|
+
method: 'POST',
|
|
46
|
+
data: data,
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
exports.cityReadyRoutesApiDeclaration = {
|
|
50
|
+
query: query,
|
|
51
|
+
getOne: getOne,
|
|
52
|
+
create: create,
|
|
53
|
+
update: update,
|
|
54
|
+
remove: remove,
|
|
55
|
+
mapPool: mapPool,
|
|
56
|
+
estimatePath: estimatePath,
|
|
57
|
+
};
|
|
@@ -21,6 +21,7 @@ import { cityAttractionsApiDeclaration } from './city-attractions-api';
|
|
|
21
21
|
import { cityPeopleApiDeclaration } from './city-people-api';
|
|
22
22
|
import { cityPlayerApiDeclaration } from './city-player-api';
|
|
23
23
|
import { cityQuestsApiDeclaration } from './city-quest-api';
|
|
24
|
+
import { cityReadyRoutesApiDeclaration } from './city-ready-routes-api';
|
|
24
25
|
import { cityQuestPlayApiDeclaration } from './city-quest-play-api';
|
|
25
26
|
import { clientsApiDeclaration } from './clients-api';
|
|
26
27
|
import { coalitionApiDeclaration } from './coalition-api';
|
|
@@ -100,6 +101,7 @@ export type InitApiDeclaration = {
|
|
|
100
101
|
cityQuestsApi: Api<typeof cityQuestsApiDeclaration>;
|
|
101
102
|
cityAttractionsApi: Api<typeof cityAttractionsApiDeclaration>;
|
|
102
103
|
cityPeopleApi: Api<typeof cityPeopleApiDeclaration>;
|
|
104
|
+
cityReadyRoutesApi: Api<typeof cityReadyRoutesApiDeclaration>;
|
|
103
105
|
cityQuestPlayApi: Api<typeof cityQuestPlayApiDeclaration>;
|
|
104
106
|
cityPlayerApi: Api<typeof cityPlayerApiDeclaration>;
|
|
105
107
|
checklistApi: Api<typeof checklistApiDeclaration>;
|
|
@@ -24,6 +24,7 @@ var city_attractions_api_1 = require("./city-attractions-api");
|
|
|
24
24
|
var city_people_api_1 = require("./city-people-api");
|
|
25
25
|
var city_player_api_1 = require("./city-player-api");
|
|
26
26
|
var city_quest_api_1 = require("./city-quest-api");
|
|
27
|
+
var city_ready_routes_api_1 = require("./city-ready-routes-api");
|
|
27
28
|
var city_quest_play_api_1 = require("./city-quest-play-api");
|
|
28
29
|
var clients_api_1 = require("./clients-api");
|
|
29
30
|
var coalition_api_1 = require("./coalition-api");
|
|
@@ -105,6 +106,7 @@ var initClientApi = function (url, clientOptions) { return ({
|
|
|
105
106
|
cityQuestsApi: (0, _1.initApi)(city_quest_api_1.cityQuestsApiDeclaration, url, clientOptions),
|
|
106
107
|
cityAttractionsApi: (0, _1.initApi)(city_attractions_api_1.cityAttractionsApiDeclaration, url, clientOptions),
|
|
107
108
|
cityPeopleApi: (0, _1.initApi)(city_people_api_1.cityPeopleApiDeclaration, url, clientOptions),
|
|
109
|
+
cityReadyRoutesApi: (0, _1.initApi)(city_ready_routes_api_1.cityReadyRoutesApiDeclaration, url, clientOptions),
|
|
108
110
|
cityQuestPlayApi: (0, _1.initApi)(city_quest_play_api_1.cityQuestPlayApiDeclaration, url, clientOptions),
|
|
109
111
|
cityPlayerApi: (0, _1.initApi)(city_player_api_1.cityPlayerApiDeclaration, url, clientOptions),
|
|
110
112
|
checklistApi: (0, _1.initApi)(checklist_api_1.checklistApiDeclaration, url, clientOptions),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.20",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "rm -rf dist && tsc --project tsconfig.json"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "73b834291ffb6acb3d9ac40551db01bede066b1a",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^2.0.
|
|
18
|
-
"@escapenavigator/utils": "^2.0.
|
|
17
|
+
"@escapenavigator/types": "^2.0.19",
|
|
18
|
+
"@escapenavigator/utils": "^2.0.20",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.2",
|