@escapenavigator/services 1.4.4 → 1.4.8
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-cities-by-country.d.ts +2 -2
- package/dist/api/agregator-api/find-city-by-slug.d.ts +2 -2
- package/dist/api/agregator-api/find-current-city.d.ts +2 -2
- package/dist/api/agregator-api/find-locations-by-coordinates.d.ts +2 -2
- package/dist/api/agregator-api/find-popular-cities-near.d.ts +2 -2
- package/dist/api/agregator-api/find-popular-cities-near.js +1 -1
- package/dist/api/agregator-api/find-questrooms-by-city-slug.d.ts +2 -2
- package/dist/api/agregator-api/find-questrooms-by-location-id.d.ts +2 -2
- package/dist/api/agregator-api/find-questrooms-by-organization-id.d.ts +2 -2
- package/dist/api/agregator-api/find-questrooms-by-tags.d.ts +7 -0
- package/dist/api/agregator-api/find-questrooms-by-tags.js +9 -0
- package/dist/api/agregator-api/find-questrooms-by-title.d.ts +2 -2
- package/dist/api/agregator-api/index.d.ts +2 -4
- package/dist/api/agregator-api/index.js +2 -4
- package/package.json +3 -3
- package/dist/api/agregator-api/find-questrooms-by-tag.d.ts +0 -6
- package/dist/api/agregator-api/find-questrooms-by-tag.js +0 -8
- package/dist/api/agregator-api/find-similar-questrooms.d.ts +0 -6
- package/dist/api/agregator-api/find-similar-questrooms.js +0 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AgregatorCityRO } from '@escapenavigator/types/dist/agregator/agregator-city.ro';
|
|
2
2
|
import { CountriesEnum } from '@escapenavigator/types/dist/shared/enum/countries.enum';
|
|
3
3
|
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
declare type ParamsData = CountriesEnum;
|
|
5
|
-
declare type ResponseData =
|
|
5
|
+
declare type ResponseData = AgregatorCityRO[];
|
|
6
6
|
export declare const findCitiesByCountry: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
7
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AgregatorCityRO } from '@escapenavigator/types/dist/agregator/agregator-city.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
|
-
declare type ResponseData =
|
|
4
|
+
declare type ResponseData = AgregatorCityRO;
|
|
5
5
|
export declare const findCityBySlug: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
6
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AgregatorCityRO } from '@escapenavigator/types/dist/agregator/agregator-city.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
|
-
declare type ResponseData =
|
|
4
|
+
declare type ResponseData = AgregatorCityRO;
|
|
5
5
|
export declare const findCurrentCity: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
6
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AgregatorLocationRO } from '@escapenavigator/types/dist/agregator/agregator-location.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
|
-
declare type ResponseData =
|
|
4
|
+
declare type ResponseData = AgregatorLocationRO[];
|
|
5
5
|
export declare const findLocationsByCoordinates: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
6
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AgregatorCityRO } from '@escapenavigator/types/dist/agregator/agregator-city.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
|
-
declare type ResponseData =
|
|
4
|
+
declare type ResponseData = AgregatorCityRO[];
|
|
5
5
|
export declare const findPopularCitiesNear: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
6
|
export {};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.findPopularCitiesNear = void 0;
|
|
4
4
|
var findPopularCitiesNear = function (slug) { return ({
|
|
5
|
-
url: '/cities/near/' + slug,
|
|
5
|
+
url: '/agregator/cities/near/' + slug,
|
|
6
6
|
method: 'GET'
|
|
7
7
|
}); };
|
|
8
8
|
exports.findPopularCitiesNear = findPopularCitiesNear;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AgregatorCityQuestroomsRO } from '@escapenavigator/types/dist/agregator/agregator-city-questrooms.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
|
-
declare type ResponseData =
|
|
4
|
+
declare type ResponseData = AgregatorCityQuestroomsRO[];
|
|
5
5
|
export declare const findQuestroomsByCitySlug: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
6
|
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 findQuestroomsByLocationId: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
6
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AgregatorOrganizationQuestroomsRO } from '@escapenavigator/types/dist/agregator/agregator-organization-questrooms.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
declare type ParamsData = string;
|
|
4
|
-
declare type ResponseData =
|
|
4
|
+
declare type ResponseData = AgregatorOrganizationQuestroomsRO;
|
|
5
5
|
export declare const findQuestroomsByOrganizationId: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
6
|
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.findQuestroomsByTags = void 0;
|
|
4
|
+
var findQuestroomsByTags = function (query) { return ({
|
|
5
|
+
url: '/agregator/questrooms/tags',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
query: query
|
|
8
|
+
}); };
|
|
9
|
+
exports.findQuestroomsByTags = findQuestroomsByTags;
|
|
@@ -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 findQuestroomsByTitle: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
6
|
export {};
|
|
@@ -6,9 +6,8 @@ import { findPopularCitiesNear } from './find-popular-cities-near';
|
|
|
6
6
|
import { findQuestroomsByCitySlug } from './find-questrooms-by-city-slug';
|
|
7
7
|
import { findQuestroomsByLocationId } from './find-questrooms-by-location-id';
|
|
8
8
|
import { findQuestroomsByOrganizationId } from './find-questrooms-by-organization-id';
|
|
9
|
-
import {
|
|
9
|
+
import { findQuestroomsByTags } from './find-questrooms-by-tags';
|
|
10
10
|
import { findQuestroomsByTitle } from './find-questrooms-by-title';
|
|
11
|
-
import { findSimilarQuestrooms } from './find-similar-questrooms';
|
|
12
11
|
declare type ApiDeclaration = {
|
|
13
12
|
findCitiesByCountry: typeof findCitiesByCountry;
|
|
14
13
|
findCityBySlug: typeof findCityBySlug;
|
|
@@ -18,9 +17,8 @@ declare type ApiDeclaration = {
|
|
|
18
17
|
findQuestroomsByCitySlug: typeof findQuestroomsByCitySlug;
|
|
19
18
|
findQuestroomsByLocationId: typeof findQuestroomsByLocationId;
|
|
20
19
|
findQuestroomsByOrganizationId: typeof findQuestroomsByOrganizationId;
|
|
21
|
-
|
|
20
|
+
findQuestroomsByTags: typeof findQuestroomsByTags;
|
|
22
21
|
findQuestroomsByTitle: typeof findQuestroomsByTitle;
|
|
23
|
-
findSimilarQuestrooms: typeof findSimilarQuestrooms;
|
|
24
22
|
};
|
|
25
23
|
export declare const citiesApiDeclaration: ApiDeclaration;
|
|
26
24
|
export {};
|
|
@@ -9,9 +9,8 @@ var find_popular_cities_near_1 = require("./find-popular-cities-near");
|
|
|
9
9
|
var find_questrooms_by_city_slug_1 = require("./find-questrooms-by-city-slug");
|
|
10
10
|
var find_questrooms_by_location_id_1 = require("./find-questrooms-by-location-id");
|
|
11
11
|
var find_questrooms_by_organization_id_1 = require("./find-questrooms-by-organization-id");
|
|
12
|
-
var
|
|
12
|
+
var find_questrooms_by_tags_1 = require("./find-questrooms-by-tags");
|
|
13
13
|
var find_questrooms_by_title_1 = require("./find-questrooms-by-title");
|
|
14
|
-
var find_similar_questrooms_1 = require("./find-similar-questrooms");
|
|
15
14
|
exports.citiesApiDeclaration = {
|
|
16
15
|
findCitiesByCountry: find_cities_by_country_1.findCitiesByCountry,
|
|
17
16
|
findCityBySlug: find_city_by_slug_1.findCityBySlug,
|
|
@@ -21,7 +20,6 @@ exports.citiesApiDeclaration = {
|
|
|
21
20
|
findQuestroomsByCitySlug: find_questrooms_by_city_slug_1.findQuestroomsByCitySlug,
|
|
22
21
|
findQuestroomsByLocationId: find_questrooms_by_location_id_1.findQuestroomsByLocationId,
|
|
23
22
|
findQuestroomsByOrganizationId: find_questrooms_by_organization_id_1.findQuestroomsByOrganizationId,
|
|
24
|
-
|
|
23
|
+
findQuestroomsByTags: find_questrooms_by_tags_1.findQuestroomsByTags,
|
|
25
24
|
findQuestroomsByTitle: find_questrooms_by_title_1.findQuestroomsByTitle,
|
|
26
|
-
findSimilarQuestrooms: find_similar_questrooms_1.findSimilarQuestrooms
|
|
27
25
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.8",
|
|
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": "85ad217a2f4ae1a54e9b4f930dc987c64ccdf3cf",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.4.
|
|
17
|
+
"@escapenavigator/types": "^1.4.8",
|
|
18
18
|
"axios": "^0.21.4",
|
|
19
19
|
"class-transformer": "^0.5.1",
|
|
20
20
|
"class-validator": "^0.13.1",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { AgregatorQuestroomsByTagListResponseObject } from '@escapenavigator/types/dist/agregator/agregator-questrooms-by-tag-list.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
declare type ParamsData = string;
|
|
4
|
-
declare type ResponseData = AgregatorQuestroomsByTagListResponseObject[];
|
|
5
|
-
export declare const findQuestroomsByTag: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findQuestroomsByTag = void 0;
|
|
4
|
-
var findQuestroomsByTag = function (tag) { return ({
|
|
5
|
-
url: '/agregator/questrooms/tag/' + tag,
|
|
6
|
-
method: 'GET'
|
|
7
|
-
}); };
|
|
8
|
-
exports.findQuestroomsByTag = findQuestroomsByTag;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { AgregatorQuestroomsListResponseObject } from '@escapenavigator/types/dist/agregator/agregator-questrooms-list.ro';
|
|
2
|
-
import { ApiMethodDeclaration } from '..';
|
|
3
|
-
declare type ParamsData = string;
|
|
4
|
-
declare type ResponseData = AgregatorQuestroomsListResponseObject[];
|
|
5
|
-
export declare const findSimilarQuestrooms: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findSimilarQuestrooms = void 0;
|
|
4
|
-
var findSimilarQuestrooms = function (questroomSlug) { return ({
|
|
5
|
-
url: '/agregator/questrooms/similar/' + questroomSlug,
|
|
6
|
-
method: 'GET'
|
|
7
|
-
}); };
|
|
8
|
-
exports.findSimilarQuestrooms = findSimilarQuestrooms;
|