@escapenavigator/services 1.6.74 → 1.6.75

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.
@@ -23,6 +23,7 @@ import { findQuestroomsForMainPage } from './find-questrooms-for-main-page';
23
23
  import { findQuestroomsSearch } from './find-questrooms-search';
24
24
  import { findQuestroomsWithCertificates } from './find-questrooms-with-certificates';
25
25
  import { findSimilaQuestroomsNear } from './find-similar-questrooms-near';
26
+ import { sitemap } from './sitemap';
26
27
  declare type ApiDeclaration = {
27
28
  createReview: typeof createReview;
28
29
  sendCode: typeof sendCode;
@@ -49,6 +50,7 @@ declare type ApiDeclaration = {
49
50
  findPostBySlug: typeof findPostBySlug;
50
51
  createSubscription: typeof createSubscription;
51
52
  findQuestroomsSearch: typeof findQuestroomsSearch;
53
+ sitemap: typeof sitemap;
52
54
  };
53
55
  export declare const agregatorApiDeclaration: ApiDeclaration;
54
56
  export {};
@@ -26,8 +26,10 @@ var find_questrooms_for_main_page_1 = require("./find-questrooms-for-main-page")
26
26
  var find_questrooms_search_1 = require("./find-questrooms-search");
27
27
  var find_questrooms_with_certificates_1 = require("./find-questrooms-with-certificates");
28
28
  var find_similar_questrooms_near_1 = require("./find-similar-questrooms-near");
29
+ var sitemap_1 = require("./sitemap");
29
30
  exports.agregatorApiDeclaration = {
30
31
  createReview: create_review_1.createReview,
32
+ sitemap: sitemap_1.sitemap,
31
33
  currentPlayer: current_1.current,
32
34
  login: login_1.login,
33
35
  logout: logout_1.logout,
@@ -0,0 +1,7 @@
1
+ import { AgregatorSitemapQuestroomRO } from '@escapenavigator/types/dist/agregator/agregator-sitemap-questroom.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 = AgregatorSitemapQuestroomRO[];
6
+ export declare const sitemap: ApiMethodDeclaration<ParamsData, ResponseData>;
7
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sitemap = void 0;
4
+ var sitemap = function (country) { return ({
5
+ url: "/agregator/sitemap/".concat(country),
6
+ method: 'GET',
7
+ }); };
8
+ exports.sitemap = sitemap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escapenavigator/services",
3
- "version": "1.6.74",
3
+ "version": "1.6.75",
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": "f39aa2bfaece4c130e395a7d81d5565be03fb71a",
15
+ "gitHead": "baf86975ff84402f0f3942a391d65d16295ee804",
16
16
  "dependencies": {
17
- "@escapenavigator/types": "^1.6.69",
18
- "@escapenavigator/utils": "^1.6.71",
17
+ "@escapenavigator/types": "^1.6.70",
18
+ "@escapenavigator/utils": "^1.6.72",
19
19
  "axios": "^0.21.4",
20
20
  "class-transformer": "^0.5.1",
21
21
  "class-validator": "^0.13.1",