@escapenavigator/services 2.1.20 → 2.1.22

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.
Files changed (99) hide show
  1. package/dist/api/admins-api/index.d.ts +20 -0
  2. package/dist/api/admins-api/index.js +20 -0
  3. package/dist/api/admins-api/live-admin-calls.d.ts +5 -0
  4. package/dist/api/admins-api/live-admin-calls.js +8 -0
  5. package/dist/api/admins-api/query-admin-call-journal.d.ts +14 -0
  6. package/dist/api/admins-api/query-admin-call-journal.js +9 -0
  7. package/dist/api/admins-api/query-admin-call-stats.d.ts +12 -0
  8. package/dist/api/admins-api/query-admin-call-stats.js +8 -0
  9. package/dist/api/admins-api/query-admin-calls.d.ts +7 -0
  10. package/dist/api/admins-api/query-admin-calls.js +9 -0
  11. package/dist/api/admins-api/query-admin-sms.d.ts +7 -0
  12. package/dist/api/admins-api/query-admin-sms.js +9 -0
  13. package/dist/api/admins-api/query-admin-telephony-cities.d.ts +9 -0
  14. package/dist/api/admins-api/query-admin-telephony-cities.js +8 -0
  15. package/dist/api/admins-api/send-admin-sms.d.ts +7 -0
  16. package/dist/api/admins-api/send-admin-sms.js +9 -0
  17. package/dist/api/admins-api/set-admin-call-city.d.ts +9 -0
  18. package/dist/api/admins-api/set-admin-call-city.js +12 -0
  19. package/dist/api/admins-api/set-admin-player-city.d.ts +10 -0
  20. package/dist/api/admins-api/set-admin-player-city.js +12 -0
  21. package/dist/api/admins-api/start-admin-call.d.ts +7 -0
  22. package/dist/api/admins-api/start-admin-call.js +9 -0
  23. package/dist/api/init-client-api.d.ts +2 -2
  24. package/dist/api/init-client-api.js +2 -2
  25. package/dist/api/profiles-api/balance/cancel-balance-invoice.d.ts +7 -0
  26. package/dist/api/profiles-api/balance/cancel-balance-invoice.js +11 -0
  27. package/dist/api/profiles-api/balance/create-balance-invoice.d.ts +8 -0
  28. package/dist/api/profiles-api/balance/create-balance-invoice.js +12 -0
  29. package/dist/api/profiles-api/balance/get-balance-invoice-payer.d.ts +3 -0
  30. package/dist/api/profiles-api/balance/get-balance-invoice-payer.js +8 -0
  31. package/dist/api/profiles-api/balance/pay-balance-invoice.d.ts +7 -0
  32. package/dist/api/profiles-api/balance/pay-balance-invoice.js +11 -0
  33. package/dist/api/profiles-api/balance/query-all-balance-invoices.d.ts +5 -0
  34. package/dist/api/profiles-api/balance/query-all-balance-invoices.js +9 -0
  35. package/dist/api/profiles-api/{bookeo/get-bookeo-orders.d.ts → balance/query-all-balance-items.d.ts} +3 -3
  36. package/dist/api/profiles-api/balance/query-all-balance-items.js +9 -0
  37. package/dist/api/profiles-api/balance/query-profile-balance-invoices.d.ts +3 -0
  38. package/dist/api/profiles-api/balance/query-profile-balance-invoices.js +8 -0
  39. package/dist/api/profiles-api/calls/dial.d.ts +5 -0
  40. package/dist/api/profiles-api/calls/dial.js +9 -0
  41. package/dist/api/profiles-api/calls/stats.d.ts +13 -0
  42. package/dist/api/profiles-api/calls/stats.js +8 -0
  43. package/dist/api/profiles-api/current/update-ym.d.ts +9 -0
  44. package/dist/api/profiles-api/current/update-ym.js +12 -0
  45. package/dist/api/profiles-api/get-partner-board-column.d.ts +15 -0
  46. package/dist/api/profiles-api/get-partner-board-column.js +23 -0
  47. package/dist/api/profiles-api/get-partner-board.d.ts +12 -0
  48. package/dist/api/profiles-api/get-partner-board.js +23 -0
  49. package/dist/api/profiles-api/get-partner-funnel.d.ts +10 -0
  50. package/dist/api/profiles-api/get-partner-funnel.js +23 -0
  51. package/dist/api/profiles-api/get-verification-board-column.d.ts +15 -0
  52. package/dist/api/profiles-api/get-verification-board-column.js +23 -0
  53. package/dist/api/profiles-api/get-verification-board.d.ts +12 -0
  54. package/dist/api/profiles-api/get-verification-board.js +23 -0
  55. package/dist/api/profiles-api/get-verification-funnel.d.ts +10 -0
  56. package/dist/api/profiles-api/get-verification-funnel.js +23 -0
  57. package/dist/api/profiles-api/index.d.ts +34 -10
  58. package/dist/api/profiles-api/index.js +34 -10
  59. package/dist/api/questrooms-api/create-admin-note.d.ts +10 -0
  60. package/dist/api/questrooms-api/create-admin-note.js +12 -0
  61. package/dist/api/questrooms-api/get-admin-card.d.ts +6 -0
  62. package/dist/api/questrooms-api/get-admin-card.js +8 -0
  63. package/dist/api/questrooms-api/index.d.ts +6 -2
  64. package/dist/api/questrooms-api/index.js +6 -2
  65. package/dist/api/questrooms-api/remove-admin-note.d.ts +8 -0
  66. package/dist/api/questrooms-api/remove-admin-note.js +11 -0
  67. package/dist/api/referral-api/apply-code.d.ts +4 -0
  68. package/dist/api/referral-api/apply-code.js +9 -0
  69. package/dist/api/referral-api/cancel-withdrawal.d.ts +5 -0
  70. package/dist/api/referral-api/cancel-withdrawal.js +11 -0
  71. package/dist/api/referral-api/create-withdrawal.d.ts +4 -0
  72. package/dist/api/referral-api/create-withdrawal.js +9 -0
  73. package/dist/api/referral-api/index.d.ts +14 -0
  74. package/dist/api/referral-api/index.js +19 -0
  75. package/dist/api/referral-api/mark-promo-seen.d.ts +2 -0
  76. package/dist/api/referral-api/mark-promo-seen.js +8 -0
  77. package/dist/api/referral-api/overview.d.ts +3 -0
  78. package/dist/api/referral-api/overview.js +8 -0
  79. package/dist/api/referral-api/query-withdrawals.d.ts +5 -0
  80. package/dist/api/referral-api/query-withdrawals.js +9 -0
  81. package/dist/api/referral-api/update-withdrawal.d.ts +9 -0
  82. package/dist/api/{questrooms-api/update-integration.js → referral-api/update-withdrawal.js} +4 -4
  83. package/dist/api/search-api/global-search.d.ts +1 -1
  84. package/dist/api/statistics-api/index.d.ts +2 -0
  85. package/dist/api/statistics-api/index.js +2 -0
  86. package/dist/api/statistics-api/leads-report.d.ts +9 -0
  87. package/dist/api/statistics-api/leads-report.js +12 -0
  88. package/dist/api/users-api/fines/fast-stat-fines.d.ts +2 -0
  89. package/package.json +4 -4
  90. package/dist/api/partner-systems-api/index.d.ts +0 -132
  91. package/dist/api/partner-systems-api/index.js +0 -87
  92. package/dist/api/profiles-api/bookeo/get-bookeo-info.d.ts +0 -6
  93. package/dist/api/profiles-api/bookeo/get-bookeo-info.js +0 -8
  94. package/dist/api/profiles-api/bookeo/get-bookeo-integration-link.d.ts +0 -5
  95. package/dist/api/profiles-api/bookeo/get-bookeo-integration-link.js +0 -8
  96. package/dist/api/profiles-api/bookeo/get-bookeo-orders.js +0 -9
  97. package/dist/api/profiles-api/bookeo/resync-bookeo.d.ts +0 -6
  98. package/dist/api/profiles-api/bookeo/resync-bookeo.js +0 -8
  99. package/dist/api/questrooms-api/update-integration.d.ts +0 -9
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.markPromoSeen = void 0;
4
+ var markPromoSeen = function () { return ({
5
+ url: '/referrals/promo-seen',
6
+ method: 'POST',
7
+ }); };
8
+ exports.markPromoSeen = markPromoSeen;
@@ -0,0 +1,3 @@
1
+ import { ReferralOverviewRO } from '@escapenavigator/types/dist/referral/referral.ro';
2
+ import { ApiMethodDeclaration } from '..';
3
+ export declare const overview: ApiMethodDeclaration<void, ReferralOverviewRO>;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.overview = void 0;
4
+ var overview = function () { return ({
5
+ url: '/referrals',
6
+ method: 'GET',
7
+ }); };
8
+ exports.overview = overview;
@@ -0,0 +1,5 @@
1
+ import { ReferralWithdrawalRO } from '@escapenavigator/types/dist/referral/referral.ro';
2
+ import { QueryDto } from '@escapenavigator/types/dist/shared/query.dto';
3
+ import { QueryRO } from '@escapenavigator/types/dist/shared/query.ro';
4
+ import { ApiMethodDeclaration } from '..';
5
+ export declare const queryWithdrawals: ApiMethodDeclaration<QueryDto, QueryRO<ReferralWithdrawalRO>>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.queryWithdrawals = void 0;
4
+ var queryWithdrawals = function (params) { return ({
5
+ url: '/admin/referrals/withdrawals',
6
+ method: 'GET',
7
+ params: params,
8
+ }); };
9
+ exports.queryWithdrawals = queryWithdrawals;
@@ -0,0 +1,9 @@
1
+ import { UpdateReferralWithdrawalDto } from '@escapenavigator/types/dist/referral/referral.dto';
2
+ import { ReferralWithdrawalRO } from '@escapenavigator/types/dist/referral/referral.ro';
3
+ import { ApiMethodDeclaration } from '..';
4
+ type Params = {
5
+ id: number;
6
+ data: UpdateReferralWithdrawalDto;
7
+ };
8
+ export declare const updateWithdrawal: ApiMethodDeclaration<Params, ReferralWithdrawalRO>;
9
+ export {};
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.updateIntegration = void 0;
4
- var updateIntegration = function (_a) {
3
+ exports.updateWithdrawal = void 0;
4
+ var updateWithdrawal = function (_a) {
5
5
  var id = _a.id, data = _a.data;
6
6
  return ({
7
- url: "/questrooms/integration/".concat(id),
7
+ url: "/admin/referrals/withdrawals/".concat(id),
8
8
  method: 'PATCH',
9
9
  data: data,
10
10
  });
11
11
  };
12
- exports.updateIntegration = updateIntegration;
12
+ exports.updateWithdrawal = updateWithdrawal;
@@ -1,6 +1,6 @@
1
1
  import { SearchRO } from '@escapenavigator/types/dist/search/search.ro';
2
2
  import { ApiMethodDeclaration } from '..';
3
- /** Поиск по названию организации и контактному телефону */
3
+ /** Поиск по клиентам, сделкам, играм, сертификатам и промокодам */
4
4
  type ParamsData = string;
5
5
  type ResponseData = SearchRO;
6
6
  export declare const globalSearch: ApiMethodDeclaration<ParamsData, ResponseData>;
@@ -1,4 +1,5 @@
1
1
  import { certificatesReport } from './certificates-report';
2
+ import { leadsReport } from './leads-report';
2
3
  import { occupancyReport } from './occupancy-report';
3
4
  import { ordersReport } from './orders-report';
4
5
  import { promocodesReport } from './promocodes-report';
@@ -13,6 +14,7 @@ type ApiDeclaration = {
13
14
  occupancyReport: typeof occupancyReport;
14
15
  surveysReport: typeof surveysReport;
15
16
  surveysAnswers: typeof surveysAnswers;
17
+ leadsReport: typeof leadsReport;
16
18
  };
17
19
  export declare const statisticsApiDeclaration: ApiDeclaration;
18
20
  export {};
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.statisticsApiDeclaration = void 0;
4
4
  var certificates_report_1 = require("./certificates-report");
5
+ var leads_report_1 = require("./leads-report");
5
6
  var occupancy_report_1 = require("./occupancy-report");
6
7
  var orders_report_1 = require("./orders-report");
7
8
  var promocodes_report_1 = require("./promocodes-report");
@@ -16,4 +17,5 @@ exports.statisticsApiDeclaration = {
16
17
  occupancyReport: occupancy_report_1.occupancyReport,
17
18
  surveysReport: surveys_report_1.surveysReport,
18
19
  surveysAnswers: surveys_answers_1.surveysAnswers,
20
+ leadsReport: leads_report_1.leadsReport,
19
21
  };
@@ -0,0 +1,9 @@
1
+ import { LeadsReportRO } from '@escapenavigator/types/dist/statistics/leads';
2
+ import { DashboardQueryDto } from '@escapenavigator/types/dist/statistics/pnl';
3
+ import { ApiMethodDeclaration } from '..';
4
+ type ParamsData = {
5
+ data: DashboardQueryDto;
6
+ };
7
+ type ResponseData = LeadsReportRO;
8
+ export declare const leadsReport: ApiMethodDeclaration<ParamsData, ResponseData>;
9
+ export {};
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.leadsReport = void 0;
4
+ var leadsReport = function (_a) {
5
+ var data = _a.data;
6
+ return ({
7
+ url: '/statistics/leads',
8
+ method: 'GET',
9
+ params: data,
10
+ });
11
+ };
12
+ exports.leadsReport = leadsReport;
@@ -4,6 +4,8 @@ type ParamsData = QueryDto;
4
4
  type ResponseData = {
5
5
  bonusesSum: number;
6
6
  penaltiesSum: number;
7
+ compensationsSum: number;
8
+ deductionsSum: number;
7
9
  };
8
10
  export declare const fastStatFines: ApiMethodDeclaration<ParamsData, ResponseData>;
9
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escapenavigator/services",
3
- "version": "2.1.20",
3
+ "version": "2.1.22",
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": "a75a26ab79572607871d7b9f6f0ae9c7ee4715dd",
15
+ "gitHead": "a4d5c142ffa0a99936093b991f5ee87cf8359d7e",
16
16
  "dependencies": {
17
- "@escapenavigator/types": "^2.1.19",
18
- "@escapenavigator/utils": "^2.1.20",
17
+ "@escapenavigator/types": "^2.1.22",
18
+ "@escapenavigator/utils": "^2.1.22",
19
19
  "axios": "^0.21.4",
20
20
  "class-transformer": "^0.5.1",
21
21
  "class-validator": "^0.13.2",
@@ -1,132 +0,0 @@
1
- import { QueryDto } from '@escapenavigator/types/dist/shared/query.dto';
2
- import { QueryRO } from '@escapenavigator/types/dist/shared/query.ro';
3
- import { ApiMethodDeclaration } from '..';
4
- export type PartnerSystemItem = {
5
- id: number;
6
- name: string;
7
- baseUrl: string;
8
- token: string;
9
- active: boolean;
10
- lastSyncAt?: string;
11
- lastSyncStats?: Record<string, number>;
12
- errorStats: Record<string, number>;
13
- attractionsCount?: number;
14
- createdAt: string;
15
- updatedAt: string;
16
- };
17
- export type PartnerAttractionItem = {
18
- id: number;
19
- partnerSystemId: number;
20
- externalId: string;
21
- externalProfileId?: string;
22
- questroomId?: number;
23
- questroom?: {
24
- id: number;
25
- title: string;
26
- profileId: number;
27
- };
28
- matchConfidence?: string;
29
- matchEvidence?: {
30
- rule: string;
31
- score?: number;
32
- runnerUp?: string;
33
- note?: string;
34
- decidedAt: string;
35
- decidedBy: string;
36
- };
37
- status: string;
38
- title: string;
39
- slug?: string;
40
- photo?: string;
41
- type?: string;
42
- description?: string;
43
- playersMin?: number;
44
- playersMax?: number;
45
- address?: string;
46
- lat?: number;
47
- lng?: number;
48
- phone?: string;
49
- timeZone?: string;
50
- firstSeenAt?: string;
51
- lastSeenAt?: string;
52
- createdAt: string;
53
- updatedAt: string;
54
- };
55
- export type PartnerSyncStats = {
56
- processed: number;
57
- created: number;
58
- updated: number;
59
- disappeared: number;
60
- autoLinked: number;
61
- };
62
- export type PartnerAutolinkResult = {
63
- summary: Record<string, number>;
64
- results: Array<{
65
- attractionId: number;
66
- title: string;
67
- action: string;
68
- rule?: string;
69
- score?: number;
70
- questroomId?: number;
71
- questroomTitle?: string;
72
- note?: string;
73
- }>;
74
- };
75
- declare const query: ApiMethodDeclaration<undefined, PartnerSystemItem[]>;
76
- declare const create: ApiMethodDeclaration<{
77
- name: string;
78
- baseUrl: string;
79
- token: string;
80
- active?: boolean;
81
- }, PartnerSystemItem>;
82
- declare const update: ApiMethodDeclaration<{
83
- id: number;
84
- data: {
85
- name?: string;
86
- baseUrl?: string;
87
- token?: string;
88
- active?: boolean;
89
- };
90
- }, PartnerSystemItem>;
91
- declare const remove: ApiMethodDeclaration<{
92
- id: number;
93
- }, {
94
- success: boolean;
95
- }>;
96
- declare const test: ApiMethodDeclaration<{
97
- id: number;
98
- }, {
99
- success: boolean;
100
- attractions: number;
101
- message?: string;
102
- }>;
103
- declare const sync: ApiMethodDeclaration<{
104
- id: number;
105
- }, PartnerSyncStats>;
106
- declare const autolink: ApiMethodDeclaration<{
107
- id: number;
108
- dryRun?: boolean;
109
- }, PartnerAutolinkResult>;
110
- declare const attractions: ApiMethodDeclaration<QueryDto & {
111
- id: number;
112
- }, QueryRO<PartnerAttractionItem>>;
113
- declare const updateAttraction: ApiMethodDeclaration<{
114
- id: number;
115
- data: {
116
- questroomId?: number | null;
117
- status?: string;
118
- };
119
- }, PartnerAttractionItem>;
120
- type ApiDeclaration = {
121
- query: typeof query;
122
- create: typeof create;
123
- update: typeof update;
124
- remove: typeof remove;
125
- test: typeof test;
126
- sync: typeof sync;
127
- autolink: typeof autolink;
128
- attractions: typeof attractions;
129
- updateAttraction: typeof updateAttraction;
130
- };
131
- export declare const partnerSystemsApiDeclaration: ApiDeclaration;
132
- export {};
@@ -1,87 +0,0 @@
1
- "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.partnerSystemsApiDeclaration = void 0;
15
- var query = function () { return ({
16
- url: '/partner-systems',
17
- method: 'GET',
18
- }); };
19
- var create = function (data) { return ({
20
- url: '/partner-systems',
21
- method: 'POST',
22
- data: data,
23
- }); };
24
- var update = function (_a) {
25
- var id = _a.id, data = _a.data;
26
- return ({
27
- url: "/partner-systems/".concat(id),
28
- method: 'PATCH',
29
- data: data,
30
- });
31
- };
32
- var remove = function (_a) {
33
- var id = _a.id;
34
- return ({
35
- url: "/partner-systems/".concat(id),
36
- method: 'DELETE',
37
- });
38
- };
39
- var test = function (_a) {
40
- var id = _a.id;
41
- return ({
42
- url: "/partner-systems/".concat(id, "/test"),
43
- method: 'POST',
44
- });
45
- };
46
- var sync = function (_a) {
47
- var id = _a.id;
48
- return ({
49
- url: "/partner-systems/".concat(id, "/sync"),
50
- method: 'POST',
51
- });
52
- };
53
- var autolink = function (_a) {
54
- var id = _a.id, dryRun = _a.dryRun;
55
- return ({
56
- url: "/partner-systems/".concat(id, "/autolink"),
57
- method: 'POST',
58
- params: dryRun ? { dryRun: 'true' } : undefined,
59
- });
60
- };
61
- var attractions = function (_a) {
62
- var id = _a.id, params = __rest(_a, ["id"]);
63
- return ({
64
- url: "/partner-systems/".concat(id, "/attractions"),
65
- method: 'GET',
66
- params: params,
67
- });
68
- };
69
- var updateAttraction = function (_a) {
70
- var id = _a.id, data = _a.data;
71
- return ({
72
- url: "/partner-systems/attractions/".concat(id),
73
- method: 'PATCH',
74
- data: data,
75
- });
76
- };
77
- exports.partnerSystemsApiDeclaration = {
78
- query: query,
79
- create: create,
80
- update: update,
81
- remove: remove,
82
- test: test,
83
- sync: sync,
84
- autolink: autolink,
85
- attractions: attractions,
86
- updateAttraction: updateAttraction,
87
- };
@@ -1,6 +0,0 @@
1
- import { BookeoInfoRO } from '@escapenavigator/types/dist/bookeo/bookeo-info.ro';
2
- import { ApiMethodDeclaration } from '../..';
3
- type ParamsData = undefined;
4
- type ResponseData = BookeoInfoRO;
5
- export declare const getBookeoInfo: ApiMethodDeclaration<ParamsData, ResponseData>;
6
- export {};
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getBookeoInfo = void 0;
4
- var getBookeoInfo = function () { return ({
5
- url: '/bookeo/info',
6
- method: 'GET',
7
- }); };
8
- exports.getBookeoInfo = getBookeoInfo;
@@ -1,5 +0,0 @@
1
- import { ApiMethodDeclaration } from '../..';
2
- type ParamsData = undefined;
3
- type ResponseData = string;
4
- export declare const getBookeoIntegrationLink: ApiMethodDeclaration<ParamsData, ResponseData>;
5
- export {};
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getBookeoIntegrationLink = void 0;
4
- var getBookeoIntegrationLink = function () { return ({
5
- url: '/bookeo/integration-link',
6
- method: 'GET',
7
- }); };
8
- exports.getBookeoIntegrationLink = getBookeoIntegrationLink;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getBookeoOrders = void 0;
4
- var getBookeoOrders = function (params) { return ({
5
- url: '/bookeo-orders',
6
- method: 'GET',
7
- params: params,
8
- }); };
9
- exports.getBookeoOrders = getBookeoOrders;
@@ -1,6 +0,0 @@
1
- import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
2
- import { ApiMethodDeclaration } from '../..';
3
- type ParamsData = undefined;
4
- type ResponseData = SuccessRO;
5
- export declare const resyncBookeo: ApiMethodDeclaration<ParamsData, ResponseData>;
6
- export {};
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resyncBookeo = void 0;
4
- var resyncBookeo = function () { return ({
5
- url: '/bookeo/resync',
6
- method: 'GET',
7
- }); };
8
- exports.resyncBookeo = resyncBookeo;
@@ -1,9 +0,0 @@
1
- import { UpdateQuestroomIntegrationDto } from '@escapenavigator/types/dist/questroom/update-questroom-integration.dto';
2
- import { ApiMethodDeclaration } from '..';
3
- type ParamsData = {
4
- id: number;
5
- data: UpdateQuestroomIntegrationDto;
6
- };
7
- type ResponseData = undefined;
8
- export declare const updateIntegration: ApiMethodDeclaration<ParamsData, ResponseData>;
9
- export {};