@escapenavigator/services 2.1.21 → 2.1.23
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/admins-api/index.d.ts +20 -0
- package/dist/api/admins-api/index.js +20 -0
- package/dist/api/admins-api/live-admin-calls.d.ts +5 -0
- package/dist/api/admins-api/live-admin-calls.js +8 -0
- package/dist/api/admins-api/query-admin-call-journal.d.ts +14 -0
- package/dist/api/admins-api/query-admin-call-journal.js +9 -0
- package/dist/api/admins-api/query-admin-call-stats.d.ts +12 -0
- package/dist/api/admins-api/query-admin-call-stats.js +8 -0
- package/dist/api/admins-api/query-admin-calls.d.ts +7 -0
- package/dist/api/admins-api/query-admin-calls.js +9 -0
- package/dist/api/admins-api/query-admin-sms.d.ts +7 -0
- package/dist/api/admins-api/query-admin-sms.js +9 -0
- package/dist/api/admins-api/query-admin-telephony-cities.d.ts +9 -0
- package/dist/api/admins-api/query-admin-telephony-cities.js +8 -0
- package/dist/api/admins-api/send-admin-sms.d.ts +7 -0
- package/dist/api/admins-api/send-admin-sms.js +9 -0
- package/dist/api/admins-api/set-admin-call-city.d.ts +9 -0
- package/dist/api/admins-api/set-admin-call-city.js +12 -0
- package/dist/api/admins-api/set-admin-player-city.d.ts +10 -0
- package/dist/api/admins-api/set-admin-player-city.js +12 -0
- package/dist/api/admins-api/start-admin-call.d.ts +7 -0
- package/dist/api/admins-api/start-admin-call.js +9 -0
- package/dist/api/cron-parser-api/index.d.ts +4 -0
- package/dist/api/cron-parser-api/index.js +4 -0
- package/dist/api/cron-parser-api/refresh-ratings.d.ts +7 -0
- package/dist/api/cron-parser-api/refresh-ratings.js +8 -0
- package/dist/api/cron-parser-api/refresh-statuses.d.ts +7 -0
- package/dist/api/cron-parser-api/refresh-statuses.js +8 -0
- package/dist/api/init-client-api.d.ts +2 -0
- package/dist/api/init-client-api.js +2 -0
- package/dist/api/profiles-api/agb/get-profile-document-by-slug.d.ts +10 -0
- package/dist/api/profiles-api/agb/get-profile-document-by-slug.js +11 -0
- package/dist/api/profiles-api/agb/get-profile-document.d.ts +7 -0
- package/dist/api/profiles-api/agb/get-profile-document.js +8 -0
- package/dist/api/profiles-api/agb/update-profile-document.d.ts +11 -0
- package/dist/api/profiles-api/agb/update-profile-document.js +12 -0
- package/dist/api/profiles-api/balance/cancel-balance-invoice.d.ts +7 -0
- package/dist/api/profiles-api/balance/cancel-balance-invoice.js +11 -0
- package/dist/api/profiles-api/balance/create-balance-invoice.d.ts +8 -0
- package/dist/api/profiles-api/balance/create-balance-invoice.js +12 -0
- package/dist/api/profiles-api/balance/get-balance-invoice-payer.d.ts +3 -0
- package/dist/api/profiles-api/balance/get-balance-invoice-payer.js +8 -0
- package/dist/api/profiles-api/balance/pay-balance-invoice.d.ts +7 -0
- package/dist/api/profiles-api/balance/pay-balance-invoice.js +11 -0
- package/dist/api/profiles-api/balance/query-all-balance-invoices.d.ts +5 -0
- package/dist/api/profiles-api/balance/query-all-balance-invoices.js +9 -0
- package/dist/api/profiles-api/balance/query-all-balance-items.d.ts +8 -0
- package/dist/api/profiles-api/balance/query-all-balance-items.js +9 -0
- package/dist/api/profiles-api/balance/query-profile-balance-invoices.d.ts +3 -0
- package/dist/api/profiles-api/balance/query-profile-balance-invoices.js +8 -0
- package/dist/api/profiles-api/calls/dial.d.ts +5 -0
- package/dist/api/profiles-api/calls/dial.js +9 -0
- package/dist/api/profiles-api/calls/stats.d.ts +13 -0
- package/dist/api/profiles-api/calls/stats.js +8 -0
- package/dist/api/profiles-api/current/update-ym.d.ts +9 -0
- package/dist/api/profiles-api/current/update-ym.js +12 -0
- package/dist/api/profiles-api/get-partner-board-column.d.ts +15 -0
- package/dist/api/profiles-api/get-partner-board-column.js +23 -0
- package/dist/api/profiles-api/get-partner-board.d.ts +12 -0
- package/dist/api/profiles-api/get-partner-board.js +23 -0
- package/dist/api/profiles-api/get-partner-funnel.d.ts +10 -0
- package/dist/api/profiles-api/get-partner-funnel.js +23 -0
- package/dist/api/profiles-api/get-verification-board-column.d.ts +15 -0
- package/dist/api/profiles-api/get-verification-board-column.js +23 -0
- package/dist/api/profiles-api/get-verification-board.d.ts +12 -0
- package/dist/api/profiles-api/get-verification-board.js +23 -0
- package/dist/api/profiles-api/get-verification-funnel.d.ts +10 -0
- package/dist/api/profiles-api/get-verification-funnel.js +23 -0
- package/dist/api/profiles-api/index.d.ts +38 -0
- package/dist/api/profiles-api/index.js +38 -0
- package/dist/api/questrooms-api/create-admin-note.d.ts +10 -0
- package/dist/api/questrooms-api/create-admin-note.js +12 -0
- package/dist/api/questrooms-api/get-admin-card.d.ts +6 -0
- package/dist/api/questrooms-api/get-admin-card.js +8 -0
- package/dist/api/questrooms-api/index.d.ts +6 -2
- package/dist/api/questrooms-api/index.js +6 -2
- package/dist/api/questrooms-api/remove-admin-note.d.ts +8 -0
- package/dist/api/questrooms-api/remove-admin-note.js +11 -0
- package/dist/api/referral-api/apply-code.d.ts +4 -0
- package/dist/api/referral-api/apply-code.js +9 -0
- package/dist/api/referral-api/cancel-withdrawal.d.ts +5 -0
- package/dist/api/referral-api/cancel-withdrawal.js +11 -0
- package/dist/api/referral-api/create-withdrawal.d.ts +4 -0
- package/dist/api/referral-api/create-withdrawal.js +9 -0
- package/dist/api/referral-api/index.d.ts +14 -0
- package/dist/api/referral-api/index.js +19 -0
- package/dist/api/referral-api/mark-promo-seen.d.ts +2 -0
- package/dist/api/referral-api/mark-promo-seen.js +8 -0
- package/dist/api/referral-api/overview.d.ts +3 -0
- package/dist/api/referral-api/overview.js +8 -0
- package/dist/api/referral-api/query-withdrawals.d.ts +5 -0
- package/dist/api/referral-api/query-withdrawals.js +9 -0
- package/dist/api/referral-api/update-withdrawal.d.ts +9 -0
- package/dist/api/{questrooms-api/update-integration.js → referral-api/update-withdrawal.js} +4 -4
- package/dist/api/search-api/global-search.d.ts +1 -1
- package/dist/api/statistics-api/index.d.ts +2 -0
- package/dist/api/statistics-api/index.js +2 -0
- package/dist/api/statistics-api/leads-report.d.ts +9 -0
- package/dist/api/statistics-api/leads-report.js +12 -0
- package/dist/api/users-api/fines/fast-stat-fines.d.ts +2 -0
- package/package.json +4 -4
- package/dist/api/questrooms-api/update-integration.d.ts +0 -9
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ApiMethodDeclaration } from '../..';
|
|
2
|
+
export type CallAdminStat = {
|
|
3
|
+
adminId: number | null;
|
|
4
|
+
name: string;
|
|
5
|
+
calls: number;
|
|
6
|
+
minutes: number;
|
|
7
|
+
};
|
|
8
|
+
export type CallStatsRO = {
|
|
9
|
+
totalCalls: number;
|
|
10
|
+
totalMinutes: number;
|
|
11
|
+
byAdmin: CallAdminStat[];
|
|
12
|
+
};
|
|
13
|
+
export declare const queryCallStats: ApiMethodDeclaration<void, CallStatsRO>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ProfileRO } from '@escapenavigator/types/dist/profile/profile.ro';
|
|
2
|
+
import { UpdateCurrentYmDto } from '@escapenavigator/types/dist/profile/update-current-ym.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
data: UpdateCurrentYmDto;
|
|
6
|
+
};
|
|
7
|
+
type ResponseData = ProfileRO;
|
|
8
|
+
export declare const updateYm: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateYm = void 0;
|
|
4
|
+
var updateYm = function (_a) {
|
|
5
|
+
var data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: '/profiles/ym',
|
|
8
|
+
method: 'PATCH',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.updateYm = updateYm;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ProfilePartnerBoardStatus } from '@escapenavigator/types/dist/profile/enum/profile-partner-board-status.enum';
|
|
2
|
+
import { PartnerBoardCardRO } from '@escapenavigator/types/dist/profile/partner-board.ro';
|
|
3
|
+
import { CountriesEnum } from '@escapenavigator/types/dist/shared/enum/countries.enum';
|
|
4
|
+
import { ApiMethodDeclaration } from '..';
|
|
5
|
+
type ParamsData = {
|
|
6
|
+
partnerBoardStatus: ProfilePartnerBoardStatus;
|
|
7
|
+
/** Сколько карточек колонки уже показано — с них и продолжаем. */
|
|
8
|
+
offset: number;
|
|
9
|
+
country?: CountriesEnum;
|
|
10
|
+
city?: number;
|
|
11
|
+
onlyMy?: boolean;
|
|
12
|
+
};
|
|
13
|
+
type ResponseData = PartnerBoardCardRO[];
|
|
14
|
+
export declare const getPartnerBoardColumn: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.getPartnerBoardColumn = void 0;
|
|
15
|
+
var getPartnerBoardColumn = function (_a) {
|
|
16
|
+
var partnerBoardStatus = _a.partnerBoardStatus, offset = _a.offset, country = _a.country, city = _a.city, onlyMy = _a.onlyMy;
|
|
17
|
+
return ({
|
|
18
|
+
url: '/profiles/partner/board/column',
|
|
19
|
+
method: 'GET',
|
|
20
|
+
params: __assign(__assign(__assign({ partnerBoardStatus: partnerBoardStatus, offset: offset }, (country ? { country: country } : {})), (city ? { city: city } : {})), (onlyMy ? { onlyMy: true } : {})),
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.getPartnerBoardColumn = getPartnerBoardColumn;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PartnerBoardColumnRO } from '@escapenavigator/types/dist/profile/partner-board.ro';
|
|
2
|
+
import { CountriesEnum } from '@escapenavigator/types/dist/shared/enum/countries.enum';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
country?: CountriesEnum;
|
|
6
|
+
city?: number;
|
|
7
|
+
/** Только компании, у которых ближайшее открытое действие назначено на текущего админа. */
|
|
8
|
+
onlyMy?: boolean;
|
|
9
|
+
};
|
|
10
|
+
type ResponseData = PartnerBoardColumnRO[];
|
|
11
|
+
export declare const getPartnerBoard: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.getPartnerBoard = void 0;
|
|
15
|
+
var getPartnerBoard = function (_a) {
|
|
16
|
+
var country = _a.country, city = _a.city, onlyMy = _a.onlyMy;
|
|
17
|
+
return ({
|
|
18
|
+
url: '/profiles/partner/board',
|
|
19
|
+
method: 'GET',
|
|
20
|
+
params: __assign(__assign(__assign({}, (country ? { country: country } : {})), (city ? { city: city } : {})), (onlyMy ? { onlyMy: true } : {})),
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.getPartnerBoard = getPartnerBoard;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PartnerFunnelRO } from '@escapenavigator/types/dist/profile/partner-board.ro';
|
|
2
|
+
import { CountriesEnum } from '@escapenavigator/types/dist/shared/enum/countries.enum';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
country?: CountriesEnum;
|
|
6
|
+
city?: number;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = PartnerFunnelRO;
|
|
9
|
+
export declare const getPartnerFunnel: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.getPartnerFunnel = void 0;
|
|
15
|
+
var getPartnerFunnel = function (_a) {
|
|
16
|
+
var country = _a.country, city = _a.city;
|
|
17
|
+
return ({
|
|
18
|
+
url: '/profiles/partner/funnel',
|
|
19
|
+
method: 'GET',
|
|
20
|
+
params: __assign(__assign({}, (country ? { country: country } : {})), (city ? { city: city } : {})),
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.getPartnerFunnel = getPartnerFunnel;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ProfileVerificationBoardStatus } from '@escapenavigator/types/dist/profile/enum/profile-verification-board-status.enum';
|
|
2
|
+
import { VerificationBoardCardRO } from '@escapenavigator/types/dist/profile/verification-board.ro';
|
|
3
|
+
import { CountriesEnum } from '@escapenavigator/types/dist/shared/enum/countries.enum';
|
|
4
|
+
import { ApiMethodDeclaration } from '..';
|
|
5
|
+
type ParamsData = {
|
|
6
|
+
verificationBoardStatus: ProfileVerificationBoardStatus;
|
|
7
|
+
/** Сколько карточек колонки уже показано — с них и продолжаем. */
|
|
8
|
+
offset: number;
|
|
9
|
+
country?: CountriesEnum;
|
|
10
|
+
city?: number;
|
|
11
|
+
onlyMy?: boolean;
|
|
12
|
+
};
|
|
13
|
+
type ResponseData = VerificationBoardCardRO[];
|
|
14
|
+
export declare const getVerificationBoardColumn: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.getVerificationBoardColumn = void 0;
|
|
15
|
+
var getVerificationBoardColumn = function (_a) {
|
|
16
|
+
var verificationBoardStatus = _a.verificationBoardStatus, offset = _a.offset, country = _a.country, city = _a.city, onlyMy = _a.onlyMy;
|
|
17
|
+
return ({
|
|
18
|
+
url: '/profiles/verification/board/column',
|
|
19
|
+
method: 'GET',
|
|
20
|
+
params: __assign(__assign(__assign({ verificationBoardStatus: verificationBoardStatus, offset: offset }, (country ? { country: country } : {})), (city ? { city: city } : {})), (onlyMy ? { onlyMy: true } : {})),
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.getVerificationBoardColumn = getVerificationBoardColumn;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { VerificationBoardColumnRO } from '@escapenavigator/types/dist/profile/verification-board.ro';
|
|
2
|
+
import { CountriesEnum } from '@escapenavigator/types/dist/shared/enum/countries.enum';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
country?: CountriesEnum;
|
|
6
|
+
city?: number;
|
|
7
|
+
/** Только компании, у которых ближайшее открытое действие назначено на текущего админа. */
|
|
8
|
+
onlyMy?: boolean;
|
|
9
|
+
};
|
|
10
|
+
type ResponseData = VerificationBoardColumnRO[];
|
|
11
|
+
export declare const getVerificationBoard: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.getVerificationBoard = void 0;
|
|
15
|
+
var getVerificationBoard = function (_a) {
|
|
16
|
+
var country = _a.country, city = _a.city, onlyMy = _a.onlyMy;
|
|
17
|
+
return ({
|
|
18
|
+
url: '/profiles/verification/board',
|
|
19
|
+
method: 'GET',
|
|
20
|
+
params: __assign(__assign(__assign({}, (country ? { country: country } : {})), (city ? { city: city } : {})), (onlyMy ? { onlyMy: true } : {})),
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.getVerificationBoard = getVerificationBoard;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VerificationFunnelRO } from '@escapenavigator/types/dist/profile/verification-board.ro';
|
|
2
|
+
import { CountriesEnum } from '@escapenavigator/types/dist/shared/enum/countries.enum';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
country?: CountriesEnum;
|
|
6
|
+
city?: number;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = VerificationFunnelRO;
|
|
9
|
+
export declare const getVerificationFunnel: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.getVerificationFunnel = void 0;
|
|
15
|
+
var getVerificationFunnel = function (_a) {
|
|
16
|
+
var country = _a.country, city = _a.city;
|
|
17
|
+
return ({
|
|
18
|
+
url: '/profiles/verification/funnel',
|
|
19
|
+
method: 'GET',
|
|
20
|
+
params: __assign(__assign({}, (country ? { country: country } : {})), (city ? { city: city } : {})),
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.getVerificationFunnel = getVerificationFunnel;
|
|
@@ -8,15 +8,27 @@ import { getAllProfileAgbsForAdmin } from './agb/get-all-profile-agbs-for-admin'
|
|
|
8
8
|
import { getProfileAgb } from './agb/get-profile-agb';
|
|
9
9
|
import { getProfileAgbBySlugForOrderService } from './agb/get-profile-agb-by-slug-for-order-service';
|
|
10
10
|
import { getProfileAgbForOrderService } from './agb/get-profile-agb-for-order-service';
|
|
11
|
+
import { getProfileDocument } from './agb/get-profile-document';
|
|
12
|
+
import { getProfileDocumentBySlug } from './agb/get-profile-document-by-slug';
|
|
11
13
|
import { updateProfileAgb } from './agb/update-profile-agb';
|
|
14
|
+
import { updateProfileDocument } from './agb/update-profile-document';
|
|
12
15
|
import { createApiKey } from './api-keys/create-api-key';
|
|
13
16
|
import { getApiKeys } from './api-keys/get-api-keys';
|
|
14
17
|
import { removeApiKey } from './api-keys/remove-api-key';
|
|
15
18
|
import { adjustBalance } from './balance/adjust-balance';
|
|
19
|
+
import { cancelBalanceInvoice } from './balance/cancel-balance-invoice';
|
|
20
|
+
import { createBalanceInvoice } from './balance/create-balance-invoice';
|
|
21
|
+
import { getBalanceInvoicePayer } from './balance/get-balance-invoice-payer';
|
|
22
|
+
import { payBalanceInvoice } from './balance/pay-balance-invoice';
|
|
23
|
+
import { queryAllBalanceInvoices } from './balance/query-all-balance-invoices';
|
|
24
|
+
import { queryAllBalanceItems } from './balance/query-all-balance-items';
|
|
16
25
|
import { queryBalanceItems } from './balance/query-balance-items';
|
|
17
26
|
import { queryBalancePayments } from './balance/query-balance-payments';
|
|
27
|
+
import { queryProfileBalanceInvoices } from './balance/query-profile-balance-invoices';
|
|
18
28
|
import { queryProfileBalancePayments } from './balance/query-profile-balance-payments';
|
|
29
|
+
import { dialWebex } from './calls/dial';
|
|
19
30
|
import { queryCalls } from './calls/query';
|
|
31
|
+
import { queryCallStats } from './calls/stats';
|
|
20
32
|
import { createContact } from './contacts/create-contact';
|
|
21
33
|
import { getContacts } from './contacts/get-contacts';
|
|
22
34
|
import { removeContact } from './contacts/remove-contact';
|
|
@@ -29,6 +41,7 @@ import { getCurrentCommission } from './current/get-current-commission';
|
|
|
29
41
|
import { updateBookingFields } from './current/update-booking-fields';
|
|
30
42
|
import { updateCurrent } from './current/update-current';
|
|
31
43
|
import { updateGa } from './current/update-ga';
|
|
44
|
+
import { updateYm } from './current/update-ym';
|
|
32
45
|
import { getAllCustomersEmail } from './email/get-all-customer-emails';
|
|
33
46
|
import { getCustomerEmail } from './email/get-customer-email';
|
|
34
47
|
import { getProfileEmailsSummary } from './email/get-profile-emails-summary';
|
|
@@ -52,9 +65,15 @@ import { getInactiveCompaniesShort } from './get-inactive-companies-short';
|
|
|
52
65
|
import { getOnboardingSteps } from './get-onboarding-steps';
|
|
53
66
|
import { getOne } from './get-one';
|
|
54
67
|
import { getPaidQuestroomsCount } from './get-paid-questrooms-count';
|
|
68
|
+
import { getPartnerBoard } from './get-partner-board';
|
|
69
|
+
import { getPartnerBoardColumn } from './get-partner-board-column';
|
|
70
|
+
import { getPartnerFunnel } from './get-partner-funnel';
|
|
55
71
|
import { getProfilesWithoutNextAction } from './get-profiles-without-next-action';
|
|
56
72
|
import { getSalesBoard } from './get-sales-board';
|
|
57
73
|
import { getSalesBoardColumn } from './get-sales-board-column';
|
|
74
|
+
import { getVerificationBoard } from './get-verification-board';
|
|
75
|
+
import { getVerificationBoardColumn } from './get-verification-board-column';
|
|
76
|
+
import { getVerificationFunnel } from './get-verification-funnel';
|
|
58
77
|
import { listExternalCrmQuests } from './list-external-crm-quests';
|
|
59
78
|
import { cancelMarketingEmailCampaign } from './marketing-email-campaign/cancel-marketing-email-campaign';
|
|
60
79
|
import { createMarketingEmailCampaign } from './marketing-email-campaign/create-marketing-email-campaign';
|
|
@@ -136,10 +155,19 @@ import { updateWidgetCustomization } from './widget-customization/update';
|
|
|
136
155
|
type ApiDeclaration = {
|
|
137
156
|
deleteAction: typeof deleteAction;
|
|
138
157
|
queryCalls: typeof queryCalls;
|
|
158
|
+
queryCallStats: typeof queryCallStats;
|
|
159
|
+
dialWebex: typeof dialWebex;
|
|
139
160
|
adjustBalance: typeof adjustBalance;
|
|
140
161
|
queryBalanceItems: typeof queryBalanceItems;
|
|
162
|
+
queryAllBalanceItems: typeof queryAllBalanceItems;
|
|
141
163
|
queryBalancePayments: typeof queryBalancePayments;
|
|
142
164
|
queryProfileBalancePayments: typeof queryProfileBalancePayments;
|
|
165
|
+
getBalanceInvoicePayer: typeof getBalanceInvoicePayer;
|
|
166
|
+
createBalanceInvoice: typeof createBalanceInvoice;
|
|
167
|
+
queryProfileBalanceInvoices: typeof queryProfileBalanceInvoices;
|
|
168
|
+
queryAllBalanceInvoices: typeof queryAllBalanceInvoices;
|
|
169
|
+
cancelBalanceInvoice: typeof cancelBalanceInvoice;
|
|
170
|
+
payBalanceInvoice: typeof payBalanceInvoice;
|
|
143
171
|
createApiKey: typeof createApiKey;
|
|
144
172
|
removeApiKey: typeof removeApiKey;
|
|
145
173
|
getApiKeys: typeof getApiKeys;
|
|
@@ -184,6 +212,7 @@ type ApiDeclaration = {
|
|
|
184
212
|
queryActions: typeof queryActions;
|
|
185
213
|
updateAction: typeof updateAction;
|
|
186
214
|
updateGa: typeof updateGa;
|
|
215
|
+
updateYm: typeof updateYm;
|
|
187
216
|
getProfileFilters: typeof getProfileFilters;
|
|
188
217
|
removeProfileCrm: typeof removeProfileCrm;
|
|
189
218
|
getAllCrm: typeof getAllCrm;
|
|
@@ -196,6 +225,9 @@ type ApiDeclaration = {
|
|
|
196
225
|
getProfileAgbBySlugForOrderService: typeof getProfileAgbBySlugForOrderService;
|
|
197
226
|
getAllProfileAgbsForAdmin: typeof getAllProfileAgbsForAdmin;
|
|
198
227
|
updateProfileAgb: typeof updateProfileAgb;
|
|
228
|
+
getProfileDocument: typeof getProfileDocument;
|
|
229
|
+
getProfileDocumentBySlug: typeof getProfileDocumentBySlug;
|
|
230
|
+
updateProfileDocument: typeof updateProfileDocument;
|
|
199
231
|
queryProfileWaivers: typeof queryProfileWaivers;
|
|
200
232
|
getProfileWaiver: typeof getProfileWaiver;
|
|
201
233
|
getProfileWaiverForOrderService: typeof getProfileWaiverForOrderService;
|
|
@@ -220,6 +252,12 @@ type ApiDeclaration = {
|
|
|
220
252
|
getProfilesWithoutNextAction: typeof getProfilesWithoutNextAction;
|
|
221
253
|
getSalesBoard: typeof getSalesBoard;
|
|
222
254
|
getSalesBoardColumn: typeof getSalesBoardColumn;
|
|
255
|
+
getVerificationBoard: typeof getVerificationBoard;
|
|
256
|
+
getVerificationBoardColumn: typeof getVerificationBoardColumn;
|
|
257
|
+
getVerificationFunnel: typeof getVerificationFunnel;
|
|
258
|
+
getPartnerBoard: typeof getPartnerBoard;
|
|
259
|
+
getPartnerBoardColumn: typeof getPartnerBoardColumn;
|
|
260
|
+
getPartnerFunnel: typeof getPartnerFunnel;
|
|
223
261
|
finalizeCurrent: typeof finalizeCurrent;
|
|
224
262
|
updateCurrent: typeof updateCurrent;
|
|
225
263
|
updateBookingFields: typeof updateBookingFields;
|
|
@@ -11,15 +11,27 @@ var get_all_profile_agbs_for_admin_1 = require("./agb/get-all-profile-agbs-for-a
|
|
|
11
11
|
var get_profile_agb_1 = require("./agb/get-profile-agb");
|
|
12
12
|
var get_profile_agb_by_slug_for_order_service_1 = require("./agb/get-profile-agb-by-slug-for-order-service");
|
|
13
13
|
var get_profile_agb_for_order_service_1 = require("./agb/get-profile-agb-for-order-service");
|
|
14
|
+
var get_profile_document_1 = require("./agb/get-profile-document");
|
|
15
|
+
var get_profile_document_by_slug_1 = require("./agb/get-profile-document-by-slug");
|
|
14
16
|
var update_profile_agb_1 = require("./agb/update-profile-agb");
|
|
17
|
+
var update_profile_document_1 = require("./agb/update-profile-document");
|
|
15
18
|
var create_api_key_1 = require("./api-keys/create-api-key");
|
|
16
19
|
var get_api_keys_1 = require("./api-keys/get-api-keys");
|
|
17
20
|
var remove_api_key_1 = require("./api-keys/remove-api-key");
|
|
18
21
|
var adjust_balance_1 = require("./balance/adjust-balance");
|
|
22
|
+
var cancel_balance_invoice_1 = require("./balance/cancel-balance-invoice");
|
|
23
|
+
var create_balance_invoice_1 = require("./balance/create-balance-invoice");
|
|
24
|
+
var get_balance_invoice_payer_1 = require("./balance/get-balance-invoice-payer");
|
|
25
|
+
var pay_balance_invoice_1 = require("./balance/pay-balance-invoice");
|
|
26
|
+
var query_all_balance_invoices_1 = require("./balance/query-all-balance-invoices");
|
|
27
|
+
var query_all_balance_items_1 = require("./balance/query-all-balance-items");
|
|
19
28
|
var query_balance_items_1 = require("./balance/query-balance-items");
|
|
20
29
|
var query_balance_payments_1 = require("./balance/query-balance-payments");
|
|
30
|
+
var query_profile_balance_invoices_1 = require("./balance/query-profile-balance-invoices");
|
|
21
31
|
var query_profile_balance_payments_1 = require("./balance/query-profile-balance-payments");
|
|
32
|
+
var dial_1 = require("./calls/dial");
|
|
22
33
|
var query_1 = require("./calls/query");
|
|
34
|
+
var stats_1 = require("./calls/stats");
|
|
23
35
|
var create_contact_1 = require("./contacts/create-contact");
|
|
24
36
|
var get_contacts_1 = require("./contacts/get-contacts");
|
|
25
37
|
var remove_contact_1 = require("./contacts/remove-contact");
|
|
@@ -32,6 +44,7 @@ var get_current_commission_1 = require("./current/get-current-commission");
|
|
|
32
44
|
var update_booking_fields_1 = require("./current/update-booking-fields");
|
|
33
45
|
var update_current_1 = require("./current/update-current");
|
|
34
46
|
var update_ga_1 = require("./current/update-ga");
|
|
47
|
+
var update_ym_1 = require("./current/update-ym");
|
|
35
48
|
var get_all_customer_emails_1 = require("./email/get-all-customer-emails");
|
|
36
49
|
var get_customer_email_1 = require("./email/get-customer-email");
|
|
37
50
|
var get_profile_emails_summary_1 = require("./email/get-profile-emails-summary");
|
|
@@ -55,9 +68,15 @@ var get_inactive_companies_short_1 = require("./get-inactive-companies-short");
|
|
|
55
68
|
var get_onboarding_steps_1 = require("./get-onboarding-steps");
|
|
56
69
|
var get_one_1 = require("./get-one");
|
|
57
70
|
var get_paid_questrooms_count_1 = require("./get-paid-questrooms-count");
|
|
71
|
+
var get_partner_board_1 = require("./get-partner-board");
|
|
72
|
+
var get_partner_board_column_1 = require("./get-partner-board-column");
|
|
73
|
+
var get_partner_funnel_1 = require("./get-partner-funnel");
|
|
58
74
|
var get_profiles_without_next_action_1 = require("./get-profiles-without-next-action");
|
|
59
75
|
var get_sales_board_1 = require("./get-sales-board");
|
|
60
76
|
var get_sales_board_column_1 = require("./get-sales-board-column");
|
|
77
|
+
var get_verification_board_1 = require("./get-verification-board");
|
|
78
|
+
var get_verification_board_column_1 = require("./get-verification-board-column");
|
|
79
|
+
var get_verification_funnel_1 = require("./get-verification-funnel");
|
|
61
80
|
var list_external_crm_quests_1 = require("./list-external-crm-quests");
|
|
62
81
|
var cancel_marketing_email_campaign_1 = require("./marketing-email-campaign/cancel-marketing-email-campaign");
|
|
63
82
|
var create_marketing_email_campaign_1 = require("./marketing-email-campaign/create-marketing-email-campaign");
|
|
@@ -144,9 +163,17 @@ exports.profilesApiDeclaration = {
|
|
|
144
163
|
getProfilesWithoutNextAction: get_profiles_without_next_action_1.getProfilesWithoutNextAction,
|
|
145
164
|
getSalesBoard: get_sales_board_1.getSalesBoard,
|
|
146
165
|
getSalesBoardColumn: get_sales_board_column_1.getSalesBoardColumn,
|
|
166
|
+
getVerificationBoard: get_verification_board_1.getVerificationBoard,
|
|
167
|
+
getVerificationBoardColumn: get_verification_board_column_1.getVerificationBoardColumn,
|
|
168
|
+
getVerificationFunnel: get_verification_funnel_1.getVerificationFunnel,
|
|
169
|
+
getPartnerBoard: get_partner_board_1.getPartnerBoard,
|
|
170
|
+
getPartnerBoardColumn: get_partner_board_column_1.getPartnerBoardColumn,
|
|
171
|
+
getPartnerFunnel: get_partner_funnel_1.getPartnerFunnel,
|
|
147
172
|
updateNotificationChanel: update_1.updateNotificationChanel,
|
|
148
173
|
deleteAction: delete_action_1.deleteAction,
|
|
149
174
|
queryCalls: query_1.queryCalls,
|
|
175
|
+
queryCallStats: stats_1.queryCallStats,
|
|
176
|
+
dialWebex: dial_1.dialWebex,
|
|
150
177
|
createNotificationChanel: create_3.createNotificationChanel,
|
|
151
178
|
removeNotificationChanel: remove_1.removeNotificationChanel,
|
|
152
179
|
queryNotificationChanels: query_2.queryNotificationChanels,
|
|
@@ -170,9 +197,17 @@ exports.profilesApiDeclaration = {
|
|
|
170
197
|
queryClientCalls: query_client_calls_1.queryClientCalls,
|
|
171
198
|
queryBalancePayments: query_balance_payments_1.queryBalancePayments,
|
|
172
199
|
queryProfileBalancePayments: query_profile_balance_payments_1.queryProfileBalancePayments,
|
|
200
|
+
getBalanceInvoicePayer: get_balance_invoice_payer_1.getBalanceInvoicePayer,
|
|
201
|
+
createBalanceInvoice: create_balance_invoice_1.createBalanceInvoice,
|
|
202
|
+
queryProfileBalanceInvoices: query_profile_balance_invoices_1.queryProfileBalanceInvoices,
|
|
203
|
+
queryAllBalanceInvoices: query_all_balance_invoices_1.queryAllBalanceInvoices,
|
|
204
|
+
cancelBalanceInvoice: cancel_balance_invoice_1.cancelBalanceInvoice,
|
|
205
|
+
payBalanceInvoice: pay_balance_invoice_1.payBalanceInvoice,
|
|
173
206
|
adjustBalance: adjust_balance_1.adjustBalance,
|
|
174
207
|
queryBalanceItems: query_balance_items_1.queryBalanceItems,
|
|
208
|
+
queryAllBalanceItems: query_all_balance_items_1.queryAllBalanceItems,
|
|
175
209
|
updateGa: update_ga_1.updateGa,
|
|
210
|
+
updateYm: update_ym_1.updateYm,
|
|
176
211
|
cancelSubscription: remove_subscription_1.cancelSubscription,
|
|
177
212
|
getSmtps: get_smtps_1.getSmtps,
|
|
178
213
|
updateContact: update_contact_1.updateContact,
|
|
@@ -253,6 +288,9 @@ exports.profilesApiDeclaration = {
|
|
|
253
288
|
getAllProfileAgbsForAdmin: get_all_profile_agbs_for_admin_1.getAllProfileAgbsForAdmin,
|
|
254
289
|
getProfileAgb: get_profile_agb_1.getProfileAgb,
|
|
255
290
|
updateProfileAgb: update_profile_agb_1.updateProfileAgb,
|
|
291
|
+
getProfileDocument: get_profile_document_1.getProfileDocument,
|
|
292
|
+
getProfileDocumentBySlug: get_profile_document_by_slug_1.getProfileDocumentBySlug,
|
|
293
|
+
updateProfileDocument: update_profile_document_1.updateProfileDocument,
|
|
256
294
|
updateSubscription: update_subscription_1.updateSubscription,
|
|
257
295
|
getSubscriptionInfo: get_subscription_info_1.getSubscriptionInfo,
|
|
258
296
|
getPrices: get_prices_1.getPrices,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateQuestroomAdminNoteDto } from '@escapenavigator/types/dist/questroom/create-questroom-admin-note.dto';
|
|
2
|
+
import { QuestroomAdminNoteRO } from '@escapenavigator/types/dist/questroom/questroom-admin-note.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
questroomId: number;
|
|
6
|
+
data: CreateQuestroomAdminNoteDto;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = QuestroomAdminNoteRO;
|
|
9
|
+
export declare const createAdminNote: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createAdminNote = void 0;
|
|
4
|
+
var createAdminNote = function (_a) {
|
|
5
|
+
var questroomId = _a.questroomId, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/questrooms/admin/".concat(questroomId, "/notes"),
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createAdminNote = createAdminNote;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { QuestroomAdminCardRO } from '@escapenavigator/types/dist/questroom/questroom-admin-card.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
type ParamsData = number;
|
|
4
|
+
type ResponseData = QuestroomAdminCardRO;
|
|
5
|
+
export declare const getAdminCard: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAdminCard = void 0;
|
|
4
|
+
var getAdminCard = function (id) { return ({
|
|
5
|
+
url: "/questrooms/admin/".concat(id, "/card"),
|
|
6
|
+
method: 'GET',
|
|
7
|
+
}); };
|
|
8
|
+
exports.getAdminCard = getAdminCard;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { closeMany } from './close-many';
|
|
2
2
|
import { closeManyAdmin } from './close-many-admin';
|
|
3
3
|
import { create } from './create';
|
|
4
|
+
import { createAdminNote } from './create-admin-note';
|
|
4
5
|
import { createForAdmin } from './create-for-admin';
|
|
5
6
|
import { generateAiReview } from './generate-ai-review';
|
|
6
7
|
import { generateTeaser } from './generate-teaser';
|
|
8
|
+
import { getAdminCard } from './get-admin-card';
|
|
7
9
|
import { getByCoordinates } from './get-by-coordinates';
|
|
8
10
|
import { getByLocation } from './get-by-location';
|
|
9
11
|
import { getBySlug } from './get-by-slug';
|
|
@@ -19,13 +21,13 @@ import { promote } from './promote';
|
|
|
19
21
|
import { query } from './query';
|
|
20
22
|
import { recover } from './recover';
|
|
21
23
|
import { remove } from './remove';
|
|
24
|
+
import { removeAdminNote } from './remove-admin-note';
|
|
22
25
|
import { createResource } from './resources/create-resource';
|
|
23
26
|
import { queryResources } from './resources/query-resources';
|
|
24
27
|
import { removeResource } from './resources/remove-resource';
|
|
25
28
|
import { updateResource } from './resources/update-resource';
|
|
26
29
|
import { update } from './update';
|
|
27
30
|
import { updateForAdmin } from './update-for-admin';
|
|
28
|
-
import { updateIntegration } from './update-integration';
|
|
29
31
|
import { updateMeta } from './update-meta';
|
|
30
32
|
import { updateSortPosition } from './update-sort-position';
|
|
31
33
|
import { verify } from './verify';
|
|
@@ -58,8 +60,10 @@ type ApiDeclaration = {
|
|
|
58
60
|
getByCoordinates: typeof getByCoordinates;
|
|
59
61
|
getBySlug: typeof getBySlug;
|
|
60
62
|
getOneForAdmin: typeof getOneForAdmin;
|
|
63
|
+
getAdminCard: typeof getAdminCard;
|
|
64
|
+
createAdminNote: typeof createAdminNote;
|
|
65
|
+
removeAdminNote: typeof removeAdminNote;
|
|
61
66
|
updateMeta: typeof updateMeta;
|
|
62
|
-
updateIntegration: typeof updateIntegration;
|
|
63
67
|
updateForAdmin: typeof updateForAdmin;
|
|
64
68
|
};
|
|
65
69
|
export declare const questroomsApiDeclaration: ApiDeclaration;
|
|
@@ -4,9 +4,11 @@ exports.questroomsApiDeclaration = void 0;
|
|
|
4
4
|
var close_many_1 = require("./close-many");
|
|
5
5
|
var close_many_admin_1 = require("./close-many-admin");
|
|
6
6
|
var create_1 = require("./create");
|
|
7
|
+
var create_admin_note_1 = require("./create-admin-note");
|
|
7
8
|
var create_for_admin_1 = require("./create-for-admin");
|
|
8
9
|
var generate_ai_review_1 = require("./generate-ai-review");
|
|
9
10
|
var generate_teaser_1 = require("./generate-teaser");
|
|
11
|
+
var get_admin_card_1 = require("./get-admin-card");
|
|
10
12
|
var get_by_coordinates_1 = require("./get-by-coordinates");
|
|
11
13
|
var get_by_location_1 = require("./get-by-location");
|
|
12
14
|
var get_by_slug_1 = require("./get-by-slug");
|
|
@@ -22,13 +24,13 @@ var promote_1 = require("./promote");
|
|
|
22
24
|
var query_1 = require("./query");
|
|
23
25
|
var recover_1 = require("./recover");
|
|
24
26
|
var remove_1 = require("./remove");
|
|
27
|
+
var remove_admin_note_1 = require("./remove-admin-note");
|
|
25
28
|
var create_resource_1 = require("./resources/create-resource");
|
|
26
29
|
var query_resources_1 = require("./resources/query-resources");
|
|
27
30
|
var remove_resource_1 = require("./resources/remove-resource");
|
|
28
31
|
var update_resource_1 = require("./resources/update-resource");
|
|
29
32
|
var update_1 = require("./update");
|
|
30
33
|
var update_for_admin_1 = require("./update-for-admin");
|
|
31
|
-
var update_integration_1 = require("./update-integration");
|
|
32
34
|
var update_meta_1 = require("./update-meta");
|
|
33
35
|
var update_sort_position_1 = require("./update-sort-position");
|
|
34
36
|
var verify_1 = require("./verify");
|
|
@@ -37,8 +39,10 @@ exports.questroomsApiDeclaration = {
|
|
|
37
39
|
generateAiReview: generate_ai_review_1.generateAiReview,
|
|
38
40
|
parseReviews: parse_reviews_1.parseReviews,
|
|
39
41
|
getOneForAdmin: get_one_for_admin_1.getOneForAdmin,
|
|
42
|
+
getAdminCard: get_admin_card_1.getAdminCard,
|
|
43
|
+
createAdminNote: create_admin_note_1.createAdminNote,
|
|
44
|
+
removeAdminNote: remove_admin_note_1.removeAdminNote,
|
|
40
45
|
updateMeta: update_meta_1.updateMeta,
|
|
41
|
-
updateIntegration: update_integration_1.updateIntegration,
|
|
42
46
|
removeResource: remove_resource_1.removeResource,
|
|
43
47
|
queryResources: query_resources_1.queryResources,
|
|
44
48
|
createResource: create_resource_1.createResource,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.removeAdminNote = void 0;
|
|
4
|
+
var removeAdminNote = function (_a) {
|
|
5
|
+
var questroomId = _a.questroomId, noteId = _a.noteId;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/questrooms/admin/".concat(questroomId, "/notes/").concat(noteId),
|
|
8
|
+
method: 'DELETE',
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.removeAdminNote = removeAdminNote;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ApplyReferralCodeDto } from '@escapenavigator/types/dist/referral/referral.dto';
|
|
2
|
+
import { ReferralOverviewRO } from '@escapenavigator/types/dist/referral/referral.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
export declare const applyCode: ApiMethodDeclaration<ApplyReferralCodeDto, ReferralOverviewRO>;
|