@escapenavigator/services 1.6.102 → 1.7.0
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/agregator-api/{find-post-by-slug.d.ts → blog/find-post-by-slug.d.ts} +4 -3
- package/dist/api/agregator-api/{find-post-by-slug.js → blog/find-post-by-slug.js} +1 -1
- package/dist/api/agregator-api/{find-posts.d.ts → blog/find-posts.d.ts} +1 -1
- package/dist/api/agregator-api/{find-posts.js → blog/find-posts.js} +1 -1
- package/dist/api/agregator-api/{find-cities-by-country.d.ts → city/find-cities-by-country.d.ts} +1 -1
- package/dist/api/agregator-api/{find-cities-by-country.js → city/find-cities-by-country.js} +1 -1
- package/dist/api/agregator-api/city/find-cities-by-title.d.ts +8 -0
- package/dist/api/agregator-api/city/find-cities-by-title.js +11 -0
- package/dist/api/agregator-api/{find-city-by-slug.d.ts → city/find-city-by-slug.d.ts} +1 -1
- package/dist/api/agregator-api/index.d.ts +26 -28
- package/dist/api/agregator-api/index.js +22 -24
- package/dist/api/agregator-api/{create-subscription.d.ts → legacy/create-subscription.d.ts} +1 -1
- package/dist/api/agregator-api/{find-questrooms-with-certificates.d.ts → legacy/find-questrooms-with-certificates.d.ts} +1 -1
- package/dist/api/agregator-api/map/find-locations-for-map.d.ts +7 -0
- package/dist/api/agregator-api/map/find-locations-for-map.js +9 -0
- package/dist/api/agregator-api/map/paginate-founded-escape-rooms.d.ts +7 -0
- package/dist/api/agregator-api/map/paginate-founded-escape-rooms.js +9 -0
- package/dist/api/agregator-api/{find-favorites.d.ts → players/find-favorites.d.ts} +1 -1
- package/dist/api/agregator-api/{find-favorites.js → players/find-favorites.js} +1 -1
- package/dist/api/agregator-api/{find-questrooms-for-main-page.d.ts → questrooms/city-initial-questrooms.d.ts} +2 -2
- package/dist/api/agregator-api/questrooms/city-initial-questrooms.js +9 -0
- package/dist/api/agregator-api/questrooms/city-other-questrooms.d.ts +7 -0
- package/dist/api/agregator-api/questrooms/city-other-questrooms.js +9 -0
- package/dist/api/agregator-api/{find-questroom-by-slug.d.ts → questrooms/find-questroom-by-slug.d.ts} +4 -3
- package/dist/api/agregator-api/{find-questroom-by-slug.js → questrooms/find-questroom-by-slug.js} +1 -1
- package/dist/api/agregator-api/{find-questrooms-by-location-id.d.ts → questrooms/find-questrooms-by-location-id.d.ts} +1 -1
- package/dist/api/agregator-api/{find-questrooms-by-organization-id.d.ts → questrooms/find-questrooms-by-organization-id.d.ts} +1 -1
- package/dist/api/agregator-api/{find-questrooms-by-title.d.ts → questrooms/find-questrooms-by-title.d.ts} +1 -1
- package/dist/api/agregator-api/{find-questrooms-search.d.ts → questrooms/questrooms-search.d.ts} +2 -2
- package/dist/api/agregator-api/{find-questrooms-search.js → questrooms/questrooms-search.js} +3 -3
- package/dist/api/agregator-api/{sitemap.d.ts → questrooms/sitemap.d.ts} +1 -1
- package/dist/api/agregator-api/{sitemap.js → questrooms/sitemap.js} +1 -1
- package/dist/api/agregator-api/reviews/reviews-city.js +1 -1
- package/dist/api/agregator-api/reviews/reviews-profile.js +1 -1
- package/dist/api/agregator-api/reviews/reviews-questroom.js +1 -1
- package/package.json +4 -4
- package/dist/api/agregator-api/find-locations-by-coordinates.d.ts +0 -6
- package/dist/api/agregator-api/find-locations-by-coordinates.js +0 -8
- package/dist/api/agregator-api/find-questrooms-by-tag.d.ts +0 -10
- package/dist/api/agregator-api/find-questrooms-by-tag.js +0 -12
- package/dist/api/agregator-api/find-questrooms-for-main-page.js +0 -9
- package/dist/api/agregator-api/find-similar-questrooms-near.d.ts +0 -7
- package/dist/api/agregator-api/find-similar-questrooms-near.js +0 -9
- /package/dist/api/agregator-api/{find-city-by-slug.js → city/find-city-by-slug.js} +0 -0
- /package/dist/api/agregator-api/{create-subscription.js → legacy/create-subscription.js} +0 -0
- /package/dist/api/agregator-api/{find-questrooms-with-certificates.js → legacy/find-questrooms-with-certificates.js} +0 -0
- /package/dist/api/agregator-api/{find-questrooms-by-location-id.js → questrooms/find-questrooms-by-location-id.js} +0 -0
- /package/dist/api/agregator-api/{find-questrooms-by-organization-id.js → questrooms/find-questrooms-by-organization-id.js} +0 -0
- /package/dist/api/agregator-api/{find-questrooms-by-title.js → questrooms/find-questrooms-by-title.js} +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { AgregatorPostRO } from '@escapenavigator/types/dist/agregator/agregator-post.ro';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
declare type ParamsData = {
|
|
4
|
+
slug: string;
|
|
5
|
+
};
|
|
5
6
|
declare type ResponseData = AgregatorPostRO;
|
|
6
7
|
export declare const findPostBySlug: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
8
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AgregatorPostCardRO } from '@escapenavigator/types/dist/agregator/agregator-post-card.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
4
|
declare type ResponseData = AgregatorPostCardRO[];
|
|
5
5
|
export declare const findPosts: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.findPosts = void 0;
|
|
4
4
|
var findPosts = function (country) { return ({
|
|
5
|
-
url: "/agregator/
|
|
5
|
+
url: "/agregator/blog/all/".concat(country),
|
|
6
6
|
method: 'GET',
|
|
7
7
|
}); };
|
|
8
8
|
exports.findPosts = findPosts;
|
package/dist/api/agregator-api/{find-cities-by-country.d.ts → city/find-cities-by-country.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgregatorCityRO } from '@escapenavigator/types/dist/agregator/agregator-city.ro';
|
|
2
2
|
import { CountriesEnum } from '@escapenavigator/types/dist/shared/enum/countries.enum';
|
|
3
|
-
import { ApiMethodDeclaration } from '
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = CountriesEnum;
|
|
5
5
|
declare type ResponseData = AgregatorCityRO[];
|
|
6
6
|
export declare const findCitiesByCountry: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.findCitiesByCountry = void 0;
|
|
4
4
|
var findCitiesByCountry = function (country) { return ({
|
|
5
|
-
url: "/agregator/
|
|
5
|
+
url: "/agregator/city/country/".concat(country),
|
|
6
6
|
method: 'GET',
|
|
7
7
|
}); };
|
|
8
8
|
exports.findCitiesByCountry = findCitiesByCountry;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AgregatorCityRO } from '@escapenavigator/types/dist/agregator/agregator-city.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
declare type ParamsData = {
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
declare type ResponseData = AgregatorCityRO[];
|
|
7
|
+
export declare const findCityByTitle: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.findCityByTitle = void 0;
|
|
4
|
+
var findCityByTitle = function (_a) {
|
|
5
|
+
var title = _a.title;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/agregator/city/title/".concat(title),
|
|
8
|
+
method: 'GET',
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.findCityByTitle = findCityByTitle;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgregatorCityRO } from '@escapenavigator/types/dist/agregator/agregator-city.ro';
|
|
2
2
|
import { CountriesEnum } from '@escapenavigator/types/dist/shared/enum/countries.enum';
|
|
3
|
-
import { ApiMethodDeclaration } from '
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = {
|
|
5
5
|
slug: string;
|
|
6
6
|
country: CountriesEnum;
|
|
@@ -1,56 +1,54 @@
|
|
|
1
|
+
import { findPostBySlug } from './blog/find-post-by-slug';
|
|
2
|
+
import { findPosts } from './blog/find-posts';
|
|
3
|
+
import { findCitiesByCountry } from './city/find-cities-by-country';
|
|
4
|
+
import { findCityByTitle } from './city/find-cities-by-title';
|
|
5
|
+
import { findCityBySlug } from './city/find-city-by-slug';
|
|
6
|
+
import { findLocationsForMap } from './map/find-locations-for-map';
|
|
7
|
+
import { paginateFoundedEscapeRooms } from './map/paginate-founded-escape-rooms';
|
|
1
8
|
import { current as currentPlayer } from './players/current';
|
|
2
9
|
import { currentUpdate as currentPlayerUpdate } from './players/current-update';
|
|
10
|
+
import { findFavorites } from './players/find-favorites';
|
|
3
11
|
import { login } from './players/login';
|
|
4
12
|
import { logout } from './players/logout';
|
|
5
13
|
import { sendCode } from './players/send-code';
|
|
14
|
+
import { cityInitialQuestrooms } from './questrooms/city-initial-questrooms';
|
|
15
|
+
import { cityOtherQuestrooms } from './questrooms/city-other-questrooms';
|
|
16
|
+
import { findQuestroomBySlug } from './questrooms/find-questroom-by-slug';
|
|
17
|
+
import { findQuestroomsByLocationId } from './questrooms/find-questrooms-by-location-id';
|
|
18
|
+
import { findQuestroomsByOrganizationId } from './questrooms/find-questrooms-by-organization-id';
|
|
19
|
+
import { findQuestroomsByTitle } from './questrooms/find-questrooms-by-title';
|
|
20
|
+
import { questroomsSearch } from './questrooms/questrooms-search';
|
|
21
|
+
import { sitemap } from './questrooms/sitemap';
|
|
6
22
|
import { createReview } from './reviews/create-review';
|
|
7
23
|
import { reviewsCity } from './reviews/reviews-city';
|
|
8
24
|
import { reviewsProfile } from './reviews/reviews-profile';
|
|
9
25
|
import { reviewsQuestroom } from './reviews/reviews-questroom';
|
|
10
|
-
import { createSubscription } from './create-subscription';
|
|
11
|
-
import { findCitiesByCountry } from './find-cities-by-country';
|
|
12
|
-
import { findCityBySlug } from './find-city-by-slug';
|
|
13
|
-
import { findFavorites } from './find-favorites';
|
|
14
|
-
import { findLocationsByCoordinates } from './find-locations-by-coordinates';
|
|
15
|
-
import { findPostBySlug } from './find-post-by-slug';
|
|
16
|
-
import { findPosts } from './find-posts';
|
|
17
|
-
import { findQuestroomBySlug } from './find-questroom-by-slug';
|
|
18
|
-
import { findQuestroomsByLocationId } from './find-questrooms-by-location-id';
|
|
19
|
-
import { findQuestroomsByOrganizationId } from './find-questrooms-by-organization-id';
|
|
20
|
-
import { findQuestroomsByTag } from './find-questrooms-by-tag';
|
|
21
|
-
import { findQuestroomsByTitle } from './find-questrooms-by-title';
|
|
22
|
-
import { findQuestroomsForMainPage } from './find-questrooms-for-main-page';
|
|
23
|
-
import { findQuestroomsSearch } from './find-questrooms-search';
|
|
24
|
-
import { findQuestroomsWithCertificates } from './find-questrooms-with-certificates';
|
|
25
|
-
import { findSimilaQuestroomsNear } from './find-similar-questrooms-near';
|
|
26
|
-
import { sitemap } from './sitemap';
|
|
27
26
|
declare type ApiDeclaration = {
|
|
28
|
-
|
|
27
|
+
findFavorites: typeof findFavorites;
|
|
29
28
|
sendCode: typeof sendCode;
|
|
30
29
|
login: typeof login;
|
|
31
30
|
currentPlayer: typeof currentPlayer;
|
|
32
31
|
currentPlayerUpdate: typeof currentPlayerUpdate;
|
|
33
32
|
logout: typeof logout;
|
|
33
|
+
createReview: typeof createReview;
|
|
34
34
|
reviewsCity: typeof reviewsCity;
|
|
35
35
|
reviewsQuestroom: typeof reviewsQuestroom;
|
|
36
36
|
reviewsProfile: typeof reviewsProfile;
|
|
37
|
-
findFavorites: typeof findFavorites;
|
|
38
|
-
findQuestroomsWithCertificates: typeof findQuestroomsWithCertificates;
|
|
39
|
-
findQuestroomsForMainPage: typeof findQuestroomsForMainPage;
|
|
40
37
|
findCitiesByCountry: typeof findCitiesByCountry;
|
|
41
|
-
findQuestroomBySlug: typeof findQuestroomBySlug;
|
|
42
38
|
findCityBySlug: typeof findCityBySlug;
|
|
43
|
-
|
|
39
|
+
findCityByTitle: typeof findCityByTitle;
|
|
40
|
+
paginateFoundedEscapeRooms: typeof paginateFoundedEscapeRooms;
|
|
41
|
+
findLocationsForMap: typeof findLocationsForMap;
|
|
44
42
|
findQuestroomsByLocationId: typeof findQuestroomsByLocationId;
|
|
45
43
|
findQuestroomsByOrganizationId: typeof findQuestroomsByOrganizationId;
|
|
46
|
-
findQuestroomsByTag: typeof findQuestroomsByTag;
|
|
47
44
|
findQuestroomsByTitle: typeof findQuestroomsByTitle;
|
|
48
|
-
|
|
45
|
+
questroomsSearch: typeof questroomsSearch;
|
|
46
|
+
sitemap: typeof sitemap;
|
|
47
|
+
cityInitialQuestrooms: typeof cityInitialQuestrooms;
|
|
48
|
+
cityOtherQuestrooms: typeof cityOtherQuestrooms;
|
|
49
|
+
findQuestroomBySlug: typeof findQuestroomBySlug;
|
|
49
50
|
findPosts: typeof findPosts;
|
|
50
51
|
findPostBySlug: typeof findPostBySlug;
|
|
51
|
-
createSubscription: typeof createSubscription;
|
|
52
|
-
findQuestroomsSearch: typeof findQuestroomsSearch;
|
|
53
|
-
sitemap: typeof sitemap;
|
|
54
52
|
};
|
|
55
53
|
export declare const agregatorApiDeclaration: ApiDeclaration;
|
|
56
54
|
export {};
|
|
@@ -1,37 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.agregatorApiDeclaration = void 0;
|
|
4
|
+
var find_post_by_slug_1 = require("./blog/find-post-by-slug");
|
|
5
|
+
var find_posts_1 = require("./blog/find-posts");
|
|
6
|
+
var find_cities_by_country_1 = require("./city/find-cities-by-country");
|
|
7
|
+
var find_cities_by_title_1 = require("./city/find-cities-by-title");
|
|
8
|
+
var find_city_by_slug_1 = require("./city/find-city-by-slug");
|
|
9
|
+
var find_locations_for_map_1 = require("./map/find-locations-for-map");
|
|
10
|
+
var paginate_founded_escape_rooms_1 = require("./map/paginate-founded-escape-rooms");
|
|
4
11
|
var current_1 = require("./players/current");
|
|
5
12
|
var current_update_1 = require("./players/current-update");
|
|
13
|
+
var find_favorites_1 = require("./players/find-favorites");
|
|
6
14
|
var login_1 = require("./players/login");
|
|
7
15
|
var logout_1 = require("./players/logout");
|
|
8
16
|
var send_code_1 = require("./players/send-code");
|
|
17
|
+
var city_initial_questrooms_1 = require("./questrooms/city-initial-questrooms");
|
|
18
|
+
var city_other_questrooms_1 = require("./questrooms/city-other-questrooms");
|
|
19
|
+
var find_questroom_by_slug_1 = require("./questrooms/find-questroom-by-slug");
|
|
20
|
+
var find_questrooms_by_location_id_1 = require("./questrooms/find-questrooms-by-location-id");
|
|
21
|
+
var find_questrooms_by_organization_id_1 = require("./questrooms/find-questrooms-by-organization-id");
|
|
22
|
+
var find_questrooms_by_title_1 = require("./questrooms/find-questrooms-by-title");
|
|
23
|
+
var questrooms_search_1 = require("./questrooms/questrooms-search");
|
|
24
|
+
var sitemap_1 = require("./questrooms/sitemap");
|
|
9
25
|
var create_review_1 = require("./reviews/create-review");
|
|
10
26
|
var reviews_city_1 = require("./reviews/reviews-city");
|
|
11
27
|
var reviews_profile_1 = require("./reviews/reviews-profile");
|
|
12
28
|
var reviews_questroom_1 = require("./reviews/reviews-questroom");
|
|
13
|
-
var create_subscription_1 = require("./create-subscription");
|
|
14
|
-
var find_cities_by_country_1 = require("./find-cities-by-country");
|
|
15
|
-
var find_city_by_slug_1 = require("./find-city-by-slug");
|
|
16
|
-
var find_favorites_1 = require("./find-favorites");
|
|
17
|
-
var find_locations_by_coordinates_1 = require("./find-locations-by-coordinates");
|
|
18
|
-
var find_post_by_slug_1 = require("./find-post-by-slug");
|
|
19
|
-
var find_posts_1 = require("./find-posts");
|
|
20
|
-
var find_questroom_by_slug_1 = require("./find-questroom-by-slug");
|
|
21
|
-
var find_questrooms_by_location_id_1 = require("./find-questrooms-by-location-id");
|
|
22
|
-
var find_questrooms_by_organization_id_1 = require("./find-questrooms-by-organization-id");
|
|
23
|
-
var find_questrooms_by_tag_1 = require("./find-questrooms-by-tag");
|
|
24
|
-
var find_questrooms_by_title_1 = require("./find-questrooms-by-title");
|
|
25
|
-
var find_questrooms_for_main_page_1 = require("./find-questrooms-for-main-page");
|
|
26
|
-
var find_questrooms_search_1 = require("./find-questrooms-search");
|
|
27
|
-
var find_questrooms_with_certificates_1 = require("./find-questrooms-with-certificates");
|
|
28
|
-
var find_similar_questrooms_near_1 = require("./find-similar-questrooms-near");
|
|
29
|
-
var sitemap_1 = require("./sitemap");
|
|
30
29
|
exports.agregatorApiDeclaration = {
|
|
31
30
|
createReview: create_review_1.createReview,
|
|
32
31
|
sitemap: sitemap_1.sitemap,
|
|
33
32
|
currentPlayer: current_1.current,
|
|
34
33
|
login: login_1.login,
|
|
34
|
+
cityOtherQuestrooms: city_other_questrooms_1.cityOtherQuestrooms,
|
|
35
|
+
paginateFoundedEscapeRooms: paginate_founded_escape_rooms_1.paginateFoundedEscapeRooms,
|
|
35
36
|
logout: logout_1.logout,
|
|
36
37
|
sendCode: send_code_1.sendCode,
|
|
37
38
|
currentPlayerUpdate: current_update_1.currentUpdate,
|
|
@@ -39,19 +40,16 @@ exports.agregatorApiDeclaration = {
|
|
|
39
40
|
reviewsQuestroom: reviews_questroom_1.reviewsQuestroom,
|
|
40
41
|
reviewsCity: reviews_city_1.reviewsCity,
|
|
41
42
|
findFavorites: find_favorites_1.findFavorites,
|
|
42
|
-
|
|
43
|
-
findQuestroomsWithCertificates: find_questrooms_with_certificates_1.findQuestroomsWithCertificates,
|
|
43
|
+
cityInitialQuestrooms: city_initial_questrooms_1.cityInitialQuestrooms,
|
|
44
44
|
findCitiesByCountry: find_cities_by_country_1.findCitiesByCountry,
|
|
45
45
|
findQuestroomBySlug: find_questroom_by_slug_1.findQuestroomBySlug,
|
|
46
46
|
findCityBySlug: find_city_by_slug_1.findCityBySlug,
|
|
47
|
-
|
|
47
|
+
findCityByTitle: find_cities_by_title_1.findCityByTitle,
|
|
48
|
+
findLocationsForMap: find_locations_for_map_1.findLocationsForMap,
|
|
48
49
|
findQuestroomsByLocationId: find_questrooms_by_location_id_1.findQuestroomsByLocationId,
|
|
49
50
|
findQuestroomsByOrganizationId: find_questrooms_by_organization_id_1.findQuestroomsByOrganizationId,
|
|
50
|
-
findQuestroomsByTag: find_questrooms_by_tag_1.findQuestroomsByTag,
|
|
51
51
|
findQuestroomsByTitle: find_questrooms_by_title_1.findQuestroomsByTitle,
|
|
52
|
-
findSimilaQuestroomsNear: find_similar_questrooms_near_1.findSimilaQuestroomsNear,
|
|
53
52
|
findPosts: find_posts_1.findPosts,
|
|
54
53
|
findPostBySlug: find_post_by_slug_1.findPostBySlug,
|
|
55
|
-
|
|
56
|
-
findQuestroomsSearch: find_questrooms_search_1.findQuestroomsSearch,
|
|
54
|
+
questroomsSearch: questrooms_search_1.questroomsSearch,
|
|
57
55
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CreateSubscriptionDto } from '@escapenavigator/types/dist/subscription/create-subscription.dto';
|
|
2
2
|
import { SubscriptionResponseObject } from '@escapenavigator/types/dist/subscription/subscription.ro';
|
|
3
|
-
import { ApiMethodDeclaration } from '
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = {
|
|
5
5
|
data: CreateSubscriptionDto;
|
|
6
6
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AgregatorQuestroomCardRO } from '@escapenavigator/types/dist/agregator/agregator-questroom-card.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
4
|
declare type ResponseData = AgregatorQuestroomCardRO[];
|
|
5
5
|
export declare const findQuestroomsWithCertificates: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LocationForMapRO } from '@escapenavigator/types/dist/agregator/map/locations-for-map.ro';
|
|
2
|
+
import { QueryLocationsForMapDTO } from '@escapenavigator/types/dist/agregator/map/query-locations-for-map.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
declare type ParamsData = QueryLocationsForMapDTO;
|
|
5
|
+
declare type ResponseData = LocationForMapRO[];
|
|
6
|
+
export declare const findLocationsForMap: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.findLocationsForMap = void 0;
|
|
4
|
+
var findLocationsForMap = function (params) { return ({
|
|
5
|
+
url: '/agregator/map/',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
params: params,
|
|
8
|
+
}); };
|
|
9
|
+
exports.findLocationsForMap = findLocationsForMap;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AgregatorQuestroomCardRO } from '@escapenavigator/types/dist/agregator/agregator-questroom-card.ro';
|
|
2
|
+
import { QueryQuestroomsByIdsDTO } from '@escapenavigator/types/dist/agregator/map/query-questroms-by-ids.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
declare type ParamsData = QueryQuestroomsByIdsDTO;
|
|
5
|
+
declare type ResponseData = AgregatorQuestroomCardRO[];
|
|
6
|
+
export declare const paginateFoundedEscapeRooms: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateFoundedEscapeRooms = void 0;
|
|
4
|
+
var paginateFoundedEscapeRooms = function (data) { return ({
|
|
5
|
+
url: '/agregator/map/founded',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data: data,
|
|
8
|
+
}); };
|
|
9
|
+
exports.paginateFoundedEscapeRooms = paginateFoundedEscapeRooms;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgregatorQuestroomCardRO } from '@escapenavigator/types/dist/agregator/agregator-questroom-card.ro';
|
|
2
2
|
import { AgregatorFavoritesDTO } from '@escapenavigator/types/dist/agregator/dto/agregator-favorites.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = AgregatorFavoritesDTO;
|
|
5
5
|
declare type ResponseData = AgregatorQuestroomCardRO[];
|
|
6
6
|
export declare const findFavorites: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AgregatorQuestroomsAndCitiesRO } from '@escapenavigator/types/dist/agregator/agregator-questrooms-and-cities.ro';
|
|
2
2
|
import { AgregatorFindQuestroomsForCityDto } from '@escapenavigator/types/dist/agregator/dto/agregator-find-questrooms-for-city.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = AgregatorFindQuestroomsForCityDto;
|
|
5
5
|
declare type ResponseData = AgregatorQuestroomsAndCitiesRO[];
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const cityInitialQuestrooms: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
7
|
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cityInitialQuestrooms = void 0;
|
|
4
|
+
var cityInitialQuestrooms = function (params) { return ({
|
|
5
|
+
url: '/agregator/questrooms/city/initial',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
params: params,
|
|
8
|
+
}); };
|
|
9
|
+
exports.cityInitialQuestrooms = cityInitialQuestrooms;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AgregatorQuestroomCardRO } from '@escapenavigator/types/dist/agregator/agregator-questroom-card.ro';
|
|
2
|
+
import { AgregatorFindQuestroomsForCityDto } from '@escapenavigator/types/dist/agregator/dto/agregator-find-questrooms-for-city.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
declare type ParamsData = AgregatorFindQuestroomsForCityDto;
|
|
5
|
+
declare type ResponseData = AgregatorQuestroomCardRO[];
|
|
6
|
+
export declare const cityOtherQuestrooms: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cityOtherQuestrooms = void 0;
|
|
4
|
+
var cityOtherQuestrooms = function (params) { return ({
|
|
5
|
+
url: '/agregator/questrooms/city/other',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
params: params,
|
|
8
|
+
}); };
|
|
9
|
+
exports.cityOtherQuestrooms = cityOtherQuestrooms;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { AgregatorQuestroomRO } from '@escapenavigator/types/dist/agregator/agregator-questroom.ro';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
declare type ParamsData = {
|
|
4
|
+
slug: string;
|
|
5
|
+
};
|
|
5
6
|
declare type ResponseData = AgregatorQuestroomRO;
|
|
6
7
|
export declare const findQuestroomBySlug: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
8
|
export {};
|
package/dist/api/agregator-api/{find-questroom-by-slug.js → questrooms/find-questroom-by-slug.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.findQuestroomBySlug = void 0;
|
|
4
4
|
var findQuestroomBySlug = function (params) { return ({
|
|
5
|
-
url: '/agregator/
|
|
5
|
+
url: '/agregator/questrooms/slug',
|
|
6
6
|
method: 'GET',
|
|
7
7
|
params: params,
|
|
8
8
|
}); };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AgregatorQuestroomCardRO } from '@escapenavigator/types/dist/agregator/agregator-questroom-card.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
4
|
declare type ResponseData = AgregatorQuestroomCardRO[];
|
|
5
5
|
export declare const findQuestroomsByLocationId: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AgregatorOrganizationQuestroomsRO } from '@escapenavigator/types/dist/agregator/agregator-organization-questrooms.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
4
|
declare type ResponseData = AgregatorOrganizationQuestroomsRO;
|
|
5
5
|
export declare const findQuestroomsByOrganizationId: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgregatorFindQuestroomByTitleRO } from '@escapenavigator/types/dist/agregator/agregator-find-questroom-by-title.ro';
|
|
2
2
|
import { AgregatorFindQuestroomByTitleDto } from '@escapenavigator/types/dist/agregator/dto/agregator-find-questroom-by-text.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = AgregatorFindQuestroomByTitleDto;
|
|
5
5
|
declare type ResponseData = AgregatorFindQuestroomByTitleRO;
|
|
6
6
|
export declare const findQuestroomsByTitle: ApiMethodDeclaration<ParamsData, ResponseData>;
|
package/dist/api/agregator-api/{find-questrooms-search.d.ts → questrooms/questrooms-search.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AgregatorQuestroomCardRO } from '@escapenavigator/types/dist/agregator/agregator-questroom-card.ro';
|
|
2
2
|
import { AgregatorQuestroomsSearchDTO } from '@escapenavigator/types/dist/agregator/dto/agregator-questrooms-search.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = AgregatorQuestroomsSearchDTO;
|
|
5
5
|
declare type ResponseData = AgregatorQuestroomCardRO[];
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const questroomsSearch: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
7
|
export {};
|
package/dist/api/agregator-api/{find-questrooms-search.js → questrooms/questrooms-search.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
3
|
+
exports.questroomsSearch = void 0;
|
|
4
|
+
var questroomsSearch = function (params) { return ({
|
|
5
5
|
url: '/agregator/questrooms/search',
|
|
6
6
|
method: 'GET',
|
|
7
7
|
params: params,
|
|
8
8
|
}); };
|
|
9
|
-
exports.
|
|
9
|
+
exports.questroomsSearch = questroomsSearch;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgregatorSitemapQuestroomRO } from '@escapenavigator/types/dist/agregator/agregator-sitemap-questroom.ro';
|
|
2
2
|
import { CountriesEnum } from '@escapenavigator/types/dist/shared/enum/countries.enum';
|
|
3
|
-
import { ApiMethodDeclaration } from '
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
4
|
declare type ParamsData = CountriesEnum;
|
|
5
5
|
declare type ResponseData = AgregatorSitemapQuestroomRO[];
|
|
6
6
|
export declare const sitemap: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.sitemap = void 0;
|
|
4
4
|
var sitemap = function (country) { return ({
|
|
5
|
-
url: "/agregator/sitemap/".concat(country),
|
|
5
|
+
url: "/agregator/questrooms/sitemap/".concat(country),
|
|
6
6
|
method: 'GET',
|
|
7
7
|
}); };
|
|
8
8
|
exports.sitemap = sitemap;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.reviewsProfile = void 0;
|
|
4
4
|
var reviewsProfile = function (params) { return ({
|
|
5
|
-
url: '/agregator/profile
|
|
5
|
+
url: '/agregator/reviews/profile',
|
|
6
6
|
method: 'GET',
|
|
7
7
|
params: params,
|
|
8
8
|
}); };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.reviewsQuestroom = void 0;
|
|
4
4
|
var reviewsQuestroom = function (params) { return ({
|
|
5
|
-
url: '/agregator/questroom
|
|
5
|
+
url: '/agregator/reviews/questroom',
|
|
6
6
|
method: 'GET',
|
|
7
7
|
params: params,
|
|
8
8
|
}); };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
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": "9954cc095f909e42abf022536dd70663338255af",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.
|
|
18
|
-
"@escapenavigator/utils": "^1.
|
|
17
|
+
"@escapenavigator/types": "^1.7.0",
|
|
18
|
+
"@escapenavigator/utils": "^1.7.0",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.2",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { AgregatorLocationRO } from '@escapenavigator/types/dist/agregator/agregator-location.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
declare type ParamsData = string;
|
|
4
|
-
declare type ResponseData = AgregatorLocationRO[];
|
|
5
|
-
export declare const findLocationsByCoordinates: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findLocationsByCoordinates = void 0;
|
|
4
|
-
var findLocationsByCoordinates = function (latlng) { return ({
|
|
5
|
-
url: "/agregator/locations/coordinates/".concat(latlng),
|
|
6
|
-
method: 'GET',
|
|
7
|
-
}); };
|
|
8
|
-
exports.findLocationsByCoordinates = findLocationsByCoordinates;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AgregatorQuestroomCardRO } from '@escapenavigator/types/dist/agregator/agregator-questroom-card.ro';
|
|
2
|
-
import { AgregatorQuestroomsByTagsQueryDTO } from '@escapenavigator/types/dist/agregator/dto/agregator-questrooms-by-tags-query.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
declare type ParamsData = AgregatorQuestroomsByTagsQueryDTO;
|
|
5
|
-
declare type ResponseData = AgregatorQuestroomCardRO[];
|
|
6
|
-
/**
|
|
7
|
-
* Запрос используется для поиска на странице тега
|
|
8
|
-
*/
|
|
9
|
-
export declare const findQuestroomsByTag: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findQuestroomsByTag = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Запрос используется для поиска на странице тега
|
|
6
|
-
*/
|
|
7
|
-
var findQuestroomsByTag = function (params) { return ({
|
|
8
|
-
url: '/agregator/questrooms/tags',
|
|
9
|
-
method: 'GET',
|
|
10
|
-
params: params,
|
|
11
|
-
}); };
|
|
12
|
-
exports.findQuestroomsByTag = findQuestroomsByTag;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findQuestroomsForMainPage = void 0;
|
|
4
|
-
var findQuestroomsForMainPage = function (params) { return ({
|
|
5
|
-
url: '/agregator/questrooms/city-page',
|
|
6
|
-
method: 'GET',
|
|
7
|
-
params: params,
|
|
8
|
-
}); };
|
|
9
|
-
exports.findQuestroomsForMainPage = findQuestroomsForMainPage;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AgregatorQuestroomsAndCitiesRO } from '@escapenavigator/types/dist/agregator/agregator-questrooms-and-cities.ro';
|
|
2
|
-
import { AgregatorSimilarQuestromsNearQueryDTO } from '@escapenavigator/types/dist/agregator/dto/agregator-similar-questrooms-near-query.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
declare type ParamsData = AgregatorSimilarQuestromsNearQueryDTO;
|
|
5
|
-
declare type ResponseData = AgregatorQuestroomsAndCitiesRO[];
|
|
6
|
-
export declare const findSimilaQuestroomsNear: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findSimilaQuestroomsNear = void 0;
|
|
4
|
-
var findSimilaQuestroomsNear = function (query) { return ({
|
|
5
|
-
url: '/agregator/questrooms/similar',
|
|
6
|
-
method: 'GET',
|
|
7
|
-
query: query,
|
|
8
|
-
}); };
|
|
9
|
-
exports.findSimilaQuestroomsNear = findSimilaQuestroomsNear;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|