@escapenavigator/services 1.6.23 → 1.6.24
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/emails-api/create.d.ts +7 -0
- package/dist/api/emails-api/create.js +9 -0
- package/dist/api/emails-api/get-profile-emails.d.ts +6 -0
- package/dist/api/emails-api/get-profile-emails.js +8 -0
- package/dist/api/emails-api/index.d.ts +6 -0
- package/dist/api/emails-api/index.js +6 -0
- package/dist/api/emails-api/query.d.ts +2 -1
- package/dist/api/emails-api/resync.d.ts +6 -0
- package/dist/api/emails-api/resync.js +8 -0
- package/package.json +4 -4
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SendEmailDto } from '@escapenavigator/types/dist/emails/send-email.dto';
|
|
2
|
+
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = SendEmailDto;
|
|
5
|
+
declare type ResponseData = SuccessRO;
|
|
6
|
+
export declare const create: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EmailRO } from '@escapenavigator/types/dist/emails/email.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = number;
|
|
4
|
+
declare type ResponseData = EmailRO[];
|
|
5
|
+
export declare const getProfileEmails: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getProfileEmails = void 0;
|
|
4
|
+
var getProfileEmails = function (profileId) { return ({
|
|
5
|
+
url: "/emails/profile/".concat(profileId),
|
|
6
|
+
method: 'GET',
|
|
7
|
+
}); };
|
|
8
|
+
exports.getProfileEmails = getProfileEmails;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
import { create } from './create';
|
|
2
|
+
import { getProfileEmails } from './get-profile-emails';
|
|
1
3
|
import { query } from './query';
|
|
4
|
+
import { resync } from './resync';
|
|
2
5
|
declare type ApiDeclaration = {
|
|
6
|
+
resync: typeof resync;
|
|
7
|
+
getProfileEmails: typeof getProfileEmails;
|
|
3
8
|
query: typeof query;
|
|
9
|
+
create: typeof create;
|
|
4
10
|
};
|
|
5
11
|
export declare const emailsApiDeclaration: ApiDeclaration;
|
|
6
12
|
export {};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.emailsApiDeclaration = void 0;
|
|
4
|
+
var create_1 = require("./create");
|
|
5
|
+
var get_profile_emails_1 = require("./get-profile-emails");
|
|
4
6
|
var query_1 = require("./query");
|
|
7
|
+
var resync_1 = require("./resync");
|
|
5
8
|
exports.emailsApiDeclaration = {
|
|
9
|
+
resync: resync_1.resync,
|
|
10
|
+
getProfileEmails: get_profile_emails_1.getProfileEmails,
|
|
6
11
|
query: query_1.query,
|
|
12
|
+
create: create_1.create,
|
|
7
13
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EmailRO } from '@escapenavigator/types/dist/emails/email.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 = EmailRO
|
|
6
|
+
declare type ResponseData = QueryRO<EmailRO>;
|
|
6
7
|
export declare const query: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
8
|
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EmailRO } from '@escapenavigator/types/dist/emails/email.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = string;
|
|
4
|
+
declare type ResponseData = EmailRO[];
|
|
5
|
+
export declare const resync: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.24",
|
|
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": "6d0aaab184da832fce61f4f4f2d7e9c50d0dd4c1",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.6.
|
|
18
|
-
"@escapenavigator/utils": "^1.6.
|
|
17
|
+
"@escapenavigator/types": "^1.6.22",
|
|
18
|
+
"@escapenavigator/utils": "^1.6.22",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.1",
|