@escapenavigator/services 2.1.29 → 2.1.30
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.
|
@@ -50,6 +50,7 @@ import { originalReview } from './reviews/original-review';
|
|
|
50
50
|
import { reviewsCity } from './reviews/reviews-city';
|
|
51
51
|
import { reviewsProfile } from './reviews/reviews-profile';
|
|
52
52
|
import { reviewsQuestroom } from './reviews/reviews-questroom';
|
|
53
|
+
import { sendContact } from './send-contact';
|
|
53
54
|
type ApiDeclaration = {
|
|
54
55
|
createNavigatorCertificate: typeof createNavigatorCertificate;
|
|
55
56
|
getNavigatorCertificateTemplates: typeof getNavigatorCertificateTemplates;
|
|
@@ -102,6 +103,7 @@ type ApiDeclaration = {
|
|
|
102
103
|
findPostBySlug: typeof findPostBySlug;
|
|
103
104
|
findPostForMainPage: typeof findPostForMainPage;
|
|
104
105
|
createIssue: typeof createIssue;
|
|
106
|
+
sendContact: typeof sendContact;
|
|
105
107
|
addLike: typeof addLike;
|
|
106
108
|
};
|
|
107
109
|
export declare const agregatorApiDeclaration: ApiDeclaration;
|
|
@@ -53,6 +53,7 @@ var original_review_1 = require("./reviews/original-review");
|
|
|
53
53
|
var reviews_city_1 = require("./reviews/reviews-city");
|
|
54
54
|
var reviews_profile_1 = require("./reviews/reviews-profile");
|
|
55
55
|
var reviews_questroom_1 = require("./reviews/reviews-questroom");
|
|
56
|
+
var send_contact_1 = require("./send-contact");
|
|
56
57
|
exports.agregatorApiDeclaration = {
|
|
57
58
|
createNavigatorCertificate: create_navigator_certificate_1.createNavigatorCertificate,
|
|
58
59
|
getNavigatorCertificateTemplates: get_navigator_certificate_templates_1.getNavigatorCertificateTemplates,
|
|
@@ -66,6 +67,7 @@ exports.agregatorApiDeclaration = {
|
|
|
66
67
|
getAggregatorFaq: get_aggregator_faq_1.getAggregatorFaq,
|
|
67
68
|
addLike: add_like_1.addLike,
|
|
68
69
|
createIssue: create_issue_1.createIssue,
|
|
70
|
+
sendContact: send_contact_1.sendContact,
|
|
69
71
|
originalReview: original_review_1.originalReview,
|
|
70
72
|
removeFavorite: remove_favorite_1.removeFavorite,
|
|
71
73
|
addFavorite: add_favorite_1.addFavorite,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ApiMethodDeclaration } from '..';
|
|
2
|
+
export type AggregatorContactPayload = {
|
|
3
|
+
name: string;
|
|
4
|
+
email: string;
|
|
5
|
+
subject: string;
|
|
6
|
+
message: string;
|
|
7
|
+
locale?: string;
|
|
8
|
+
url?: string;
|
|
9
|
+
trap?: string;
|
|
10
|
+
};
|
|
11
|
+
type ParamsData = {
|
|
12
|
+
data: AggregatorContactPayload;
|
|
13
|
+
};
|
|
14
|
+
type ResponseData = {
|
|
15
|
+
ok: true;
|
|
16
|
+
};
|
|
17
|
+
export declare const sendContact: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sendContact = void 0;
|
|
4
|
+
var sendContact = function (_a) {
|
|
5
|
+
var data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: '/agregator/contact',
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.sendContact = sendContact;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateSalaryAccrualDto, QuerySalaryAccrualsDto, QuerySalaryPeriodDto,
|
|
1
|
+
import { CreateSalaryAccrualDto, QuerySalaryAccrualsDto, QuerySalaryPeriodDto, QuerySalaryPreviewDto, QuerySalarySummaryDto, RunSalaryAccrualsDto, SalaryAccrualOriginEnum, SalaryAccrualRO, SalaryAccrualsRunRO, SalaryMyRO, SalaryPayoutsRO, SalaryPreviewRO, SalarySummaryRO } from '@escapenavigator/types/dist/salary';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
export declare const getPreview: ApiMethodDeclaration<QuerySalaryPreviewDto, SalaryPreviewRO>;
|
|
4
4
|
export declare const runAccruals: ApiMethodDeclaration<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.30",
|
|
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": "089c7026734588a852850ab98ef6984711a5f343",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^2.1.
|
|
18
|
-
"@escapenavigator/utils": "^2.1.
|
|
17
|
+
"@escapenavigator/types": "^2.1.30",
|
|
18
|
+
"@escapenavigator/utils": "^2.1.30",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.2",
|