@escapenavigator/services 1.4.54 → 1.4.56
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-favorites.d.ts +7 -0
- package/dist/api/agregator-api/find-favorites.js +9 -0
- package/dist/api/agregator-api/find-popular-cities-and-questrooms.d.ts +7 -0
- package/dist/api/agregator-api/find-popular-cities-and-questrooms.js +8 -0
- package/dist/api/agregator-api/find-questrooms-by-tag.d.ts +10 -0
- package/dist/api/agregator-api/find-questrooms-by-tag.js +12 -0
- package/dist/api/agregator-api/find-questrooms-for-main-page.d.ts +2 -2
- package/dist/api/agregator-api/find-questrooms-search.d.ts +2 -2
- package/dist/api/agregator-api/find-questrooms-with-certificates.d.ts +2 -2
- package/dist/api/agregator-api/find-similar-questrooms-near.d.ts +2 -2
- package/dist/api/agregator-api/index.d.ts +6 -12
- package/dist/api/agregator-api/index.js +6 -12
- package/dist/api/cities-api/get-one.d.ts +2 -2
- package/dist/api/cities-api/index.d.ts +2 -0
- package/dist/api/cities-api/index.js +2 -0
- package/dist/api/cities-api/query.d.ts +3 -2
- package/dist/api/cities-api/remove.d.ts +2 -2
- package/dist/api/cities-api/update.d.ts +2 -2
- package/package.json +4 -4
- package/dist/api/agregator-api/find-popular-cities-near.d.ts +0 -6
- package/dist/api/agregator-api/find-popular-cities-near.js +0 -8
- package/dist/api/agregator-api/find-popular-posts.d.ts +0 -6
- package/dist/api/agregator-api/find-popular-posts.js +0 -8
- package/dist/api/agregator-api/find-questrooms-by-city-slug.d.ts +0 -7
- package/dist/api/agregator-api/find-questrooms-by-city-slug.js +0 -9
- package/dist/api/agregator-api/find-questrooms-by-tags.d.ts +0 -7
- package/dist/api/agregator-api/find-questrooms-by-tags.js +0 -9
- package/dist/api/agregator-api/find-questrooms-search-count.d.ts +0 -7
- package/dist/api/agregator-api/find-questrooms-search-count.js +0 -9
- package/dist/api/agregator-api/get-popular-cities-and-questrooms.d.ts +0 -7
- package/dist/api/agregator-api/get-popular-cities-and-questrooms.js +0 -8
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AgregatorQuestroomCardRO } from '@escapenavigator/types/dist/agregator/agregator-questroom-card.ro';
|
|
2
|
+
import { AgregatorFavoritesDTO } from '@escapenavigator/types/dist/agregator/dto/agregator-favorites.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = AgregatorFavoritesDTO;
|
|
5
|
+
declare type ResponseData = AgregatorQuestroomCardRO[];
|
|
6
|
+
export declare const findFavorites: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.findFavorites = void 0;
|
|
4
|
+
var findFavorites = function (params) { return ({
|
|
5
|
+
url: '/agregator/favorites',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
params: params,
|
|
8
|
+
}); };
|
|
9
|
+
exports.findFavorites = findFavorites;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AgregatorQuestroomsAndCitiesRO } from '@escapenavigator/types/dist/agregator/agregator-questrooms-and-cities.ro';
|
|
2
|
+
import { CountriesEnum } from '@escapenavigator/types/dist/shared/enum/countries.enum';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = CountriesEnum;
|
|
5
|
+
declare type ResponseData = AgregatorQuestroomsAndCitiesRO[];
|
|
6
|
+
export declare const findPopularCitiesAndQuestrooms: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.findPopularCitiesAndQuestrooms = void 0;
|
|
4
|
+
var findPopularCitiesAndQuestrooms = function (country) { return ({
|
|
5
|
+
url: "/agregator/popular/country/".concat(country),
|
|
6
|
+
method: 'GET',
|
|
7
|
+
}); };
|
|
8
|
+
exports.findPopularCitiesAndQuestrooms = findPopularCitiesAndQuestrooms;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,12 @@
|
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AgregatorQuestroomsAndCitiesRO } from '@escapenavigator/types/dist/agregator/agregator-questrooms-and-cities.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
|
-
declare type ResponseData =
|
|
4
|
+
declare type ResponseData = AgregatorQuestroomsAndCitiesRO[];
|
|
5
5
|
export declare const findQuestroomsForMainPage: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
6
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
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
3
|
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
declare type ParamsData = AgregatorQuestroomsSearchDTO;
|
|
5
|
-
declare type ResponseData =
|
|
5
|
+
declare type ResponseData = AgregatorQuestroomCardRO[];
|
|
6
6
|
export declare const findQuestroomsSearch: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
7
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AgregatorQuestroomCardRO } from '@escapenavigator/types/dist/agregator/agregator-questroom-card.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
|
-
declare type ResponseData =
|
|
4
|
+
declare type ResponseData = AgregatorQuestroomCardRO[];
|
|
5
5
|
export declare const findQuestroomsWithCertificates: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
6
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AgregatorQuestroomsAndCitiesRO } from '@escapenavigator/types/dist/agregator/agregator-questrooms-and-cities.ro';
|
|
2
2
|
import { AgregatorSimilarQuestromsNearQueryDTO } from '@escapenavigator/types/dist/agregator/dto/agregator-similar-questrooms-near-query.dto';
|
|
3
3
|
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
declare type ParamsData = AgregatorSimilarQuestromsNearQueryDTO;
|
|
5
|
-
declare type ResponseData =
|
|
5
|
+
declare type ResponseData = AgregatorQuestroomsAndCitiesRO[];
|
|
6
6
|
export declare const findSimilaQuestroomsNear: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
7
|
export {};
|
|
@@ -2,25 +2,23 @@ import { createSubscription } from './create-subscription';
|
|
|
2
2
|
import { findCitiesByCountry } from './find-cities-by-country';
|
|
3
3
|
import { findCityBySlug } from './find-city-by-slug';
|
|
4
4
|
import { findCurrentCity } from './find-current-city';
|
|
5
|
+
import { findFavorites } from './find-favorites';
|
|
5
6
|
import { findLocationsByCoordinates } from './find-locations-by-coordinates';
|
|
6
|
-
import {
|
|
7
|
-
import { findPopularPosts } from './find-popular-posts';
|
|
7
|
+
import { findPopularCitiesAndQuestrooms } from './find-popular-cities-and-questrooms';
|
|
8
8
|
import { findPostBySlug } from './find-post-by-slug';
|
|
9
9
|
import { findPosts } from './find-posts';
|
|
10
10
|
import { findQuestroomBySlug } from './find-questroom-by-slug';
|
|
11
|
-
import { findQuestroomsByCitySlug } from './find-questrooms-by-city-slug';
|
|
12
11
|
import { findQuestroomsByLocationId } from './find-questrooms-by-location-id';
|
|
13
12
|
import { findQuestroomsByOrganizationId } from './find-questrooms-by-organization-id';
|
|
14
|
-
import {
|
|
13
|
+
import { findQuestroomsByTag } from './find-questrooms-by-tag';
|
|
15
14
|
import { findQuestroomsByTitle } from './find-questrooms-by-title';
|
|
16
15
|
import { findQuestroomsForMainPage } from './find-questrooms-for-main-page';
|
|
17
16
|
import { findQuestroomsSearch } from './find-questrooms-search';
|
|
18
|
-
import { findQuestroomsSearchCount } from './find-questrooms-search-count';
|
|
19
17
|
import { findQuestroomsWithCertificates } from './find-questrooms-with-certificates';
|
|
20
18
|
import { findSimilaQuestroomsNear } from './find-similar-questrooms-near';
|
|
21
|
-
import { getPopularCitiesAndQuestrooms } from './get-popular-cities-and-questrooms';
|
|
22
19
|
declare type ApiDeclaration = {
|
|
23
|
-
|
|
20
|
+
findPopularCitiesAndQuestrooms: typeof findPopularCitiesAndQuestrooms;
|
|
21
|
+
findFavorites: typeof findFavorites;
|
|
24
22
|
findQuestroomsWithCertificates: typeof findQuestroomsWithCertificates;
|
|
25
23
|
findQuestroomsForMainPage: typeof findQuestroomsForMainPage;
|
|
26
24
|
findCitiesByCountry: typeof findCitiesByCountry;
|
|
@@ -28,19 +26,15 @@ declare type ApiDeclaration = {
|
|
|
28
26
|
findCityBySlug: typeof findCityBySlug;
|
|
29
27
|
findCurrentCity: typeof findCurrentCity;
|
|
30
28
|
findLocationsByCoordinates: typeof findLocationsByCoordinates;
|
|
31
|
-
findPopularCitiesNear: typeof findPopularCitiesNear;
|
|
32
|
-
findQuestroomsByCitySlug: typeof findQuestroomsByCitySlug;
|
|
33
29
|
findQuestroomsByLocationId: typeof findQuestroomsByLocationId;
|
|
34
30
|
findQuestroomsByOrganizationId: typeof findQuestroomsByOrganizationId;
|
|
35
|
-
|
|
31
|
+
findQuestroomsByTag: typeof findQuestroomsByTag;
|
|
36
32
|
findQuestroomsByTitle: typeof findQuestroomsByTitle;
|
|
37
33
|
findSimilaQuestroomsNear: typeof findSimilaQuestroomsNear;
|
|
38
34
|
findPosts: typeof findPosts;
|
|
39
|
-
findPopularPosts: typeof findPopularPosts;
|
|
40
35
|
findPostBySlug: typeof findPostBySlug;
|
|
41
36
|
createSubscription: typeof createSubscription;
|
|
42
37
|
findQuestroomsSearch: typeof findQuestroomsSearch;
|
|
43
|
-
findQuestroomsSearchCount: typeof findQuestroomsSearchCount;
|
|
44
38
|
};
|
|
45
39
|
export declare const agregatorApiDeclaration: ApiDeclaration;
|
|
46
40
|
export {};
|
|
@@ -5,25 +5,23 @@ var create_subscription_1 = require("./create-subscription");
|
|
|
5
5
|
var find_cities_by_country_1 = require("./find-cities-by-country");
|
|
6
6
|
var find_city_by_slug_1 = require("./find-city-by-slug");
|
|
7
7
|
var find_current_city_1 = require("./find-current-city");
|
|
8
|
+
var find_favorites_1 = require("./find-favorites");
|
|
8
9
|
var find_locations_by_coordinates_1 = require("./find-locations-by-coordinates");
|
|
9
|
-
var
|
|
10
|
-
var find_popular_posts_1 = require("./find-popular-posts");
|
|
10
|
+
var find_popular_cities_and_questrooms_1 = require("./find-popular-cities-and-questrooms");
|
|
11
11
|
var find_post_by_slug_1 = require("./find-post-by-slug");
|
|
12
12
|
var find_posts_1 = require("./find-posts");
|
|
13
13
|
var find_questroom_by_slug_1 = require("./find-questroom-by-slug");
|
|
14
|
-
var find_questrooms_by_city_slug_1 = require("./find-questrooms-by-city-slug");
|
|
15
14
|
var find_questrooms_by_location_id_1 = require("./find-questrooms-by-location-id");
|
|
16
15
|
var find_questrooms_by_organization_id_1 = require("./find-questrooms-by-organization-id");
|
|
17
|
-
var
|
|
16
|
+
var find_questrooms_by_tag_1 = require("./find-questrooms-by-tag");
|
|
18
17
|
var find_questrooms_by_title_1 = require("./find-questrooms-by-title");
|
|
19
18
|
var find_questrooms_for_main_page_1 = require("./find-questrooms-for-main-page");
|
|
20
19
|
var find_questrooms_search_1 = require("./find-questrooms-search");
|
|
21
|
-
var find_questrooms_search_count_1 = require("./find-questrooms-search-count");
|
|
22
20
|
var find_questrooms_with_certificates_1 = require("./find-questrooms-with-certificates");
|
|
23
21
|
var find_similar_questrooms_near_1 = require("./find-similar-questrooms-near");
|
|
24
|
-
var get_popular_cities_and_questrooms_1 = require("./get-popular-cities-and-questrooms");
|
|
25
22
|
exports.agregatorApiDeclaration = {
|
|
26
|
-
|
|
23
|
+
findPopularCitiesAndQuestrooms: find_popular_cities_and_questrooms_1.findPopularCitiesAndQuestrooms,
|
|
24
|
+
findFavorites: find_favorites_1.findFavorites,
|
|
27
25
|
findQuestroomsForMainPage: find_questrooms_for_main_page_1.findQuestroomsForMainPage,
|
|
28
26
|
findQuestroomsWithCertificates: find_questrooms_with_certificates_1.findQuestroomsWithCertificates,
|
|
29
27
|
findCitiesByCountry: find_cities_by_country_1.findCitiesByCountry,
|
|
@@ -31,17 +29,13 @@ exports.agregatorApiDeclaration = {
|
|
|
31
29
|
findCityBySlug: find_city_by_slug_1.findCityBySlug,
|
|
32
30
|
findCurrentCity: find_current_city_1.findCurrentCity,
|
|
33
31
|
findLocationsByCoordinates: find_locations_by_coordinates_1.findLocationsByCoordinates,
|
|
34
|
-
findPopularCitiesNear: find_popular_cities_near_1.findPopularCitiesNear,
|
|
35
|
-
findQuestroomsByCitySlug: find_questrooms_by_city_slug_1.findQuestroomsByCitySlug,
|
|
36
32
|
findQuestroomsByLocationId: find_questrooms_by_location_id_1.findQuestroomsByLocationId,
|
|
37
33
|
findQuestroomsByOrganizationId: find_questrooms_by_organization_id_1.findQuestroomsByOrganizationId,
|
|
38
|
-
|
|
34
|
+
findQuestroomsByTag: find_questrooms_by_tag_1.findQuestroomsByTag,
|
|
39
35
|
findQuestroomsByTitle: find_questrooms_by_title_1.findQuestroomsByTitle,
|
|
40
36
|
findSimilaQuestroomsNear: find_similar_questrooms_near_1.findSimilaQuestroomsNear,
|
|
41
37
|
findPosts: find_posts_1.findPosts,
|
|
42
|
-
findPopularPosts: find_popular_posts_1.findPopularPosts,
|
|
43
38
|
findPostBySlug: find_post_by_slug_1.findPostBySlug,
|
|
44
39
|
createSubscription: create_subscription_1.createSubscription,
|
|
45
40
|
findQuestroomsSearch: find_questrooms_search_1.findQuestroomsSearch,
|
|
46
|
-
findQuestroomsSearchCount: find_questrooms_search_count_1.findQuestroomsSearchCount,
|
|
47
41
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CityRO } from '@escapenavigator/types/dist/city/city.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
declare type ParamsData = number;
|
|
4
|
-
declare type ResponseData =
|
|
4
|
+
declare type ResponseData = CityRO;
|
|
5
5
|
export declare const getOne: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
6
|
export {};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { getOne } from './get-one';
|
|
2
|
+
import { query } from './query';
|
|
2
3
|
import { remove } from './remove';
|
|
3
4
|
import { update } from './update';
|
|
4
5
|
declare type ApiDeclaration = {
|
|
5
6
|
getOne: typeof getOne;
|
|
6
7
|
update: typeof update;
|
|
8
|
+
query: typeof query;
|
|
7
9
|
remove: typeof remove;
|
|
8
10
|
};
|
|
9
11
|
export declare const citiesApiDeclaration: ApiDeclaration;
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.citiesApiDeclaration = void 0;
|
|
4
4
|
var get_one_1 = require("./get-one");
|
|
5
|
+
var query_1 = require("./query");
|
|
5
6
|
var remove_1 = require("./remove");
|
|
6
7
|
var update_1 = require("./update");
|
|
7
8
|
exports.citiesApiDeclaration = {
|
|
8
9
|
getOne: get_one_1.getOne,
|
|
9
10
|
update: update_1.update,
|
|
11
|
+
query: query_1.query,
|
|
10
12
|
remove: remove_1.remove,
|
|
11
13
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CityRO } from '@escapenavigator/types/dist/city/city.ro';
|
|
2
2
|
import { QueryDto } from '@escapenavigator/types/dist/shared/query.dto';
|
|
3
|
+
import { QueryRO } from '@escapenavigator/types/dist/shared/query.ro';
|
|
3
4
|
import { ApiMethodDeclaration } from '..';
|
|
4
5
|
declare type ParamsData = QueryDto;
|
|
5
|
-
declare type ResponseData =
|
|
6
|
+
declare type ResponseData = QueryRO<CityRO>;
|
|
6
7
|
export declare const query: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
8
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CityRO } from '@escapenavigator/types/dist/city/city.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
/** ID city */
|
|
4
4
|
declare type ParamsData = number;
|
|
5
|
-
declare type ResponseData =
|
|
5
|
+
declare type ResponseData = CityRO;
|
|
6
6
|
export declare const remove: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
7
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CityRO } from '@escapenavigator/types/dist/city/city.ro';
|
|
2
2
|
import { UpdateCityDto } from '@escapenavigator/types/dist/city/update-city.dto';
|
|
3
3
|
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
declare type ParamsData = {
|
|
5
5
|
id: number;
|
|
6
6
|
data: UpdateCityDto;
|
|
7
7
|
};
|
|
8
|
-
declare type ResponseData =
|
|
8
|
+
declare type ResponseData = CityRO;
|
|
9
9
|
export declare const update: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
10
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.56",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "rm -rf dist && tsc --project tsconfig.json"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "cbf19937cf8c3a7b1baefcfd353c8481584fc666",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.4.
|
|
17
|
+
"@escapenavigator/types": "^1.4.56",
|
|
18
18
|
"@paypal/react-paypal-js": "^7.8.3",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
36
36
|
"rollup-plugin-babel": "^4.4.0",
|
|
37
37
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
38
|
-
"rollup-plugin-multi-input": "
|
|
38
|
+
"rollup-plugin-multi-input": "1.3.1",
|
|
39
39
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
40
40
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
41
41
|
"rollup-plugin-terser": "^7.0.2",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { AgregatorCityRO } from '@escapenavigator/types/dist/agregator/agregator-city.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
declare type ParamsData = string;
|
|
4
|
-
declare type ResponseData = AgregatorCityRO[];
|
|
5
|
-
export declare const findPopularCitiesNear: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findPopularCitiesNear = void 0;
|
|
4
|
-
var findPopularCitiesNear = function (slug) { return ({
|
|
5
|
-
url: "/agregator/cities/near/".concat(slug),
|
|
6
|
-
method: 'GET',
|
|
7
|
-
}); };
|
|
8
|
-
exports.findPopularCitiesNear = findPopularCitiesNear;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { AgregatorPostCardRO } from '@escapenavigator/types/dist/agregator/agregator-post-card.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
declare type ParamsData = string;
|
|
4
|
-
declare type ResponseData = AgregatorPostCardRO[];
|
|
5
|
-
export declare const findPopularPosts: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findPopularPosts = void 0;
|
|
4
|
-
var findPopularPosts = function (country) { return ({
|
|
5
|
-
url: "/agregator/posts/popular/".concat(country),
|
|
6
|
-
method: 'GET',
|
|
7
|
-
}); };
|
|
8
|
-
exports.findPopularPosts = findPopularPosts;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AgregatorQuestroomCardRO } from '@escapenavigator/types/dist/agregator/agregator-questroom-card.ro';
|
|
2
|
-
import { AgregatorQuestroomsByCityQueryDTO } from '@escapenavigator/types/dist/agregator/dto/agregator-questrooms-by-city-query.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
declare type ParamsData = AgregatorQuestroomsByCityQueryDTO;
|
|
5
|
-
declare type ResponseData = AgregatorQuestroomCardRO[];
|
|
6
|
-
export declare const findQuestroomsByCitySlug: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findQuestroomsByCitySlug = void 0;
|
|
4
|
-
var findQuestroomsByCitySlug = function (params) { return ({
|
|
5
|
-
url: '/agregator/questrooms/city/',
|
|
6
|
-
method: 'GET',
|
|
7
|
-
params: params,
|
|
8
|
-
}); };
|
|
9
|
-
exports.findQuestroomsByCitySlug = findQuestroomsByCitySlug;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AgregatorQuestroomByTagsRO } from '@escapenavigator/types/dist/agregator/agregator-questroom-by-tags.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 = AgregatorQuestroomByTagsRO[];
|
|
6
|
-
export declare const findQuestroomsByTags: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findQuestroomsByTags = void 0;
|
|
4
|
-
var findQuestroomsByTags = function (params) { return ({
|
|
5
|
-
url: '/agregator/questrooms/tags',
|
|
6
|
-
method: 'GET',
|
|
7
|
-
params: params,
|
|
8
|
-
}); };
|
|
9
|
-
exports.findQuestroomsByTags = findQuestroomsByTags;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AgregatorQuestroomByTagsRO } from '@escapenavigator/types/dist/agregator/agregator-questroom-by-tags.ro';
|
|
2
|
-
import { AgregatorQuestroomsSearchDTO } from '@escapenavigator/types/dist/agregator/dto/agregator-questrooms-search.dto';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
declare type ParamsData = AgregatorQuestroomsSearchDTO;
|
|
5
|
-
declare type ResponseData = AgregatorQuestroomByTagsRO[];
|
|
6
|
-
export declare const findQuestroomsSearchCount: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findQuestroomsSearchCount = void 0;
|
|
4
|
-
var findQuestroomsSearchCount = function (params) { return ({
|
|
5
|
-
url: '/agregator/questrooms/search/count',
|
|
6
|
-
method: 'GET',
|
|
7
|
-
params: params,
|
|
8
|
-
}); };
|
|
9
|
-
exports.findQuestroomsSearchCount = findQuestroomsSearchCount;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AgregatorCityQuestroomsRO } from '@escapenavigator/types/dist/agregator/agregator-city-questrooms.ro';
|
|
2
|
-
import { CountriesEnum } from '@escapenavigator/types/dist/shared/enum/countries.enum';
|
|
3
|
-
import { ApiMethodDeclaration } from '..';
|
|
4
|
-
declare type ParamsData = CountriesEnum;
|
|
5
|
-
declare type ResponseData = AgregatorCityQuestroomsRO[];
|
|
6
|
-
export declare const getPopularCitiesAndQuestrooms: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPopularCitiesAndQuestrooms = void 0;
|
|
4
|
-
var getPopularCitiesAndQuestrooms = function (country) { return ({
|
|
5
|
-
url: "/agregator/popular/country/".concat(country),
|
|
6
|
-
method: 'GET',
|
|
7
|
-
}); };
|
|
8
|
-
exports.getPopularCitiesAndQuestrooms = getPopularCitiesAndQuestrooms;
|