@escapenavigator/services 1.10.163 → 1.10.164

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.
@@ -5,6 +5,7 @@ import { getOne } from './get-one';
5
5
  import { getPopularForAdmin } from './get-popular-for-admin';
6
6
  import { query } from './query';
7
7
  import { recountCounters } from './recount-counters';
8
+ import { refreshLocalization } from './refresh-localization';
8
9
  import { remove } from './remove';
9
10
  import { update } from './update';
10
11
  import { updateFaq } from './update-faq';
@@ -17,6 +18,7 @@ type ApiDeclaration = {
17
18
  query: typeof query;
18
19
  remove: typeof remove;
19
20
  recountCounters: typeof recountCounters;
21
+ refreshLocalization: typeof refreshLocalization;
20
22
  getPopularForAdmin: typeof getPopularForAdmin;
21
23
  getAgglomerationCenters: typeof getAgglomerationCenters;
22
24
  };
@@ -8,6 +8,7 @@ var get_one_1 = require("./get-one");
8
8
  var get_popular_for_admin_1 = require("./get-popular-for-admin");
9
9
  var query_1 = require("./query");
10
10
  var recount_counters_1 = require("./recount-counters");
11
+ var refresh_localization_1 = require("./refresh-localization");
11
12
  var remove_1 = require("./remove");
12
13
  var update_1 = require("./update");
13
14
  var update_faq_1 = require("./update-faq");
@@ -20,6 +21,7 @@ exports.citiesApiDeclaration = {
20
21
  query: query_1.query,
21
22
  remove: remove_1.remove,
22
23
  recountCounters: recount_counters_1.recountCounters,
24
+ refreshLocalization: refresh_localization_1.refreshLocalization,
23
25
  getPopularForAdmin: get_popular_for_admin_1.getPopularForAdmin,
24
26
  getAgglomerationCenters: get_agglomeration_centers_1.getAgglomerationCenters,
25
27
  };
@@ -0,0 +1,7 @@
1
+ import { CityRO } from '@escapenavigator/types/dist/city/city.ro';
2
+ import { ApiMethodDeclaration } from '..';
3
+ /** ID city */
4
+ type ParamsData = number;
5
+ type ResponseData = CityRO;
6
+ export declare const refreshLocalization: ApiMethodDeclaration<ParamsData, ResponseData>;
7
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.refreshLocalization = void 0;
4
+ var refreshLocalization = function (id) { return ({
5
+ url: "/cities/".concat(id, "/refresh-localization"),
6
+ method: 'PATCH',
7
+ }); };
8
+ exports.refreshLocalization = refreshLocalization;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escapenavigator/services",
3
- "version": "1.10.163",
3
+ "version": "1.10.164",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -12,7 +12,7 @@
12
12
  "scripts": {
13
13
  "build": "rm -rf dist && tsc --project tsconfig.json"
14
14
  },
15
- "gitHead": "e54edaac7a5da9dd9fd5e3bd327f605739beffe9",
15
+ "gitHead": "def18a255d76f332acf3bc768e25c7f82f78d3c7",
16
16
  "dependencies": {
17
17
  "@escapenavigator/types": "^1.10.150",
18
18
  "@escapenavigator/utils": "^1.10.157",