@escapenavigator/services 1.9.13 → 1.9.14
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/profiles-api/index.d.ts +10 -0
- package/dist/api/profiles-api/index.js +10 -0
- package/dist/api/profiles-api/smtp/create-smtp.d.ts +9 -0
- package/dist/api/profiles-api/smtp/create-smtp.js +12 -0
- package/dist/api/profiles-api/smtp/get-smtps.d.ts +6 -0
- package/dist/api/profiles-api/smtp/get-smtps.js +8 -0
- package/dist/api/profiles-api/smtp/remove-smtp.d.ts +6 -0
- package/dist/api/profiles-api/smtp/remove-smtp.js +8 -0
- package/dist/api/profiles-api/smtp/test-smtp.d.ts +8 -0
- package/dist/api/profiles-api/smtp/test-smtp.js +11 -0
- package/dist/api/profiles-api/smtp/update-smtp.d.ts +10 -0
- package/dist/api/profiles-api/smtp/update-smtp.js +12 -0
- package/dist/api/slots-api/index.d.ts +2 -0
- package/dist/api/slots-api/index.js +2 -0
- package/dist/api/slots-api/update-slot.d.ts +10 -0
- package/dist/api/slots-api/update-slot.js +12 -0
- package/package.json +4 -4
|
@@ -26,6 +26,11 @@ import { getAllCrm } from './other-crm/get-all-crm';
|
|
|
26
26
|
import { getProfileFilters } from './other-crm/get-profile-filters';
|
|
27
27
|
import { removeProfileCrm } from './other-crm/remove-profile-crm';
|
|
28
28
|
import { updateProfileCrm } from './other-crm/update-profile-crm';
|
|
29
|
+
import { createSmtp } from './smtp/create-smtp';
|
|
30
|
+
import { getSmtps } from './smtp/get-smtps';
|
|
31
|
+
import { removeSmtp } from './smtp/remove-smtp';
|
|
32
|
+
import { testSmtp } from './smtp/test-smtp';
|
|
33
|
+
import { updateSmtp } from './smtp/update-smtp';
|
|
29
34
|
import { createPaymentMethodSession } from './subscription/create-payment-method-session';
|
|
30
35
|
import { getPrices } from './subscription/get-prices';
|
|
31
36
|
import { getProfileInvoices } from './subscription/get-profile-invoices';
|
|
@@ -97,6 +102,11 @@ declare type ApiDeclaration = {
|
|
|
97
102
|
getOne: typeof getOne;
|
|
98
103
|
current: typeof current;
|
|
99
104
|
getBySlugForVerify: typeof getBySlugForVerify;
|
|
105
|
+
createSmtp: typeof createSmtp;
|
|
106
|
+
updateSmtp: typeof updateSmtp;
|
|
107
|
+
removeSmtp: typeof removeSmtp;
|
|
108
|
+
testSmtp: typeof testSmtp;
|
|
109
|
+
getSmtps: typeof getSmtps;
|
|
100
110
|
};
|
|
101
111
|
export declare const profilesApiDeclaration: ApiDeclaration;
|
|
102
112
|
export {};
|
|
@@ -29,6 +29,11 @@ var get_all_crm_1 = require("./other-crm/get-all-crm");
|
|
|
29
29
|
var get_profile_filters_1 = require("./other-crm/get-profile-filters");
|
|
30
30
|
var remove_profile_crm_1 = require("./other-crm/remove-profile-crm");
|
|
31
31
|
var update_profile_crm_1 = require("./other-crm/update-profile-crm");
|
|
32
|
+
var create_smtp_1 = require("./smtp/create-smtp");
|
|
33
|
+
var get_smtps_1 = require("./smtp/get-smtps");
|
|
34
|
+
var remove_smtp_1 = require("./smtp/remove-smtp");
|
|
35
|
+
var test_smtp_1 = require("./smtp/test-smtp");
|
|
36
|
+
var update_smtp_1 = require("./smtp/update-smtp");
|
|
32
37
|
var create_payment_method_session_1 = require("./subscription/create-payment-method-session");
|
|
33
38
|
var get_prices_1 = require("./subscription/get-prices");
|
|
34
39
|
var get_profile_invoices_1 = require("./subscription/get-profile-invoices");
|
|
@@ -51,6 +56,11 @@ var update_crm_verification_1 = require("./update-crm-verification");
|
|
|
51
56
|
var update_partner_program_1 = require("./update-partner-program");
|
|
52
57
|
var update_step_1 = require("./update-step");
|
|
53
58
|
exports.profilesApiDeclaration = {
|
|
59
|
+
getSmtps: get_smtps_1.getSmtps,
|
|
60
|
+
createSmtp: create_smtp_1.createSmtp,
|
|
61
|
+
updateSmtp: update_smtp_1.updateSmtp,
|
|
62
|
+
removeSmtp: remove_smtp_1.removeSmtp,
|
|
63
|
+
testSmtp: test_smtp_1.testSmtp,
|
|
54
64
|
getAllCustomersEmail: get_all_customer_emails_1.getAllCustomersEmail,
|
|
55
65
|
getCustomerEmail: get_customer_email_1.getCustomerEmail,
|
|
56
66
|
getProfileWaiverForOrderService: get_profile_waiver_for_order_service_1.getProfileWaiverForOrderService,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CreateSmtpDto } from '@escapenavigator/types/dist/profile/smtp/create-smtp.dto';
|
|
2
|
+
import { SmtpRO } from '@escapenavigator/types/dist/profile/smtp/smtp.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: CreateSmtpDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = SmtpRO;
|
|
8
|
+
export declare const createSmtp: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createSmtp = void 0;
|
|
4
|
+
var createSmtp = function (_a) {
|
|
5
|
+
var data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: '/email-smtp',
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createSmtp = createSmtp;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SmtpRO } from '@escapenavigator/types/dist/profile/smtp/smtp.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
declare type ParamsData = undefined;
|
|
4
|
+
declare type ResponseData = SmtpRO[];
|
|
5
|
+
export declare const getSmtps: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SmtpRO } from '@escapenavigator/types/dist/profile/smtp/smtp.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
declare type ParamsData = number;
|
|
4
|
+
declare type ResponseData = SmtpRO;
|
|
5
|
+
export declare const removeSmtp: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
declare type ParamsData = {
|
|
4
|
+
id: number;
|
|
5
|
+
};
|
|
6
|
+
declare type ResponseData = SuccessRO;
|
|
7
|
+
export declare const testSmtp: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.testSmtp = void 0;
|
|
4
|
+
var testSmtp = function (_a) {
|
|
5
|
+
var id = _a.id;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/email-smtp/test/".concat(id),
|
|
8
|
+
method: 'GET',
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.testSmtp = testSmtp;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateSmtpDto } from '@escapenavigator/types/dist/profile/smtp/create-smtp.dto';
|
|
2
|
+
import { SmtpRO } from '@escapenavigator/types/dist/profile/smtp/smtp.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: CreateSmtpDto;
|
|
7
|
+
};
|
|
8
|
+
declare type ResponseData = SmtpRO;
|
|
9
|
+
export declare const updateSmtp: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateSmtp = void 0;
|
|
4
|
+
var updateSmtp = function (_a) {
|
|
5
|
+
var id = _a.id, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/email-smtp/".concat(id),
|
|
8
|
+
method: 'PATCH',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.updateSmtp = updateSmtp;
|
|
@@ -5,6 +5,7 @@ import { forceRemoveHold } from './force-remove-hold';
|
|
|
5
5
|
import { oneQuestroomDaySlots } from './one-questroom-day-slots';
|
|
6
6
|
import { remove } from './remove';
|
|
7
7
|
import { updateBreaks } from './update-breaks';
|
|
8
|
+
import { updateSlot } from './update-slot';
|
|
8
9
|
declare type ApiDeclaration = {
|
|
9
10
|
forceRemoveHold: typeof forceRemoveHold;
|
|
10
11
|
updateBreaks: typeof updateBreaks;
|
|
@@ -13,6 +14,7 @@ declare type ApiDeclaration = {
|
|
|
13
14
|
addOrRemoveBreak: typeof addOrRemoveBreak;
|
|
14
15
|
create: typeof create;
|
|
15
16
|
remove: typeof remove;
|
|
17
|
+
updateSlot: typeof updateSlot;
|
|
16
18
|
};
|
|
17
19
|
export declare const slotsApiDeclaration: ApiDeclaration;
|
|
18
20
|
export {};
|
|
@@ -8,8 +8,10 @@ var force_remove_hold_1 = require("./force-remove-hold");
|
|
|
8
8
|
var one_questroom_day_slots_1 = require("./one-questroom-day-slots");
|
|
9
9
|
var remove_1 = require("./remove");
|
|
10
10
|
var update_breaks_1 = require("./update-breaks");
|
|
11
|
+
var update_slot_1 = require("./update-slot");
|
|
11
12
|
exports.slotsApiDeclaration = {
|
|
12
13
|
forceRemoveHold: force_remove_hold_1.forceRemoveHold,
|
|
14
|
+
updateSlot: update_slot_1.updateSlot,
|
|
13
15
|
updateBreaks: update_breaks_1.updateBreaks,
|
|
14
16
|
calendarDay: calendar_day_1.calendarDay,
|
|
15
17
|
oneQuestroomDaySlots: one_questroom_day_slots_1.oneQuestroomDaySlots,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
|
+
import { UpdateSlotDto } from '@escapenavigator/types/dist/slot/update-slot.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: UpdateSlotDto;
|
|
7
|
+
};
|
|
8
|
+
declare type ResponseData = SuccessRO;
|
|
9
|
+
export declare const updateSlot: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateSlot = void 0;
|
|
4
|
+
var updateSlot = function (_a) {
|
|
5
|
+
var data = _a.data, id = _a.id;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/slots/".concat(id),
|
|
8
|
+
method: 'PATCH',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.updateSlot = updateSlot;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.14",
|
|
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": "31d4ca67a64eee6a4402092d61bb2c19e2390abd",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.9.
|
|
18
|
-
"@escapenavigator/utils": "^1.9.
|
|
17
|
+
"@escapenavigator/types": "^1.9.12",
|
|
18
|
+
"@escapenavigator/utils": "^1.9.12",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.2",
|