@escapenavigator/services 1.6.100 → 1.6.102

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.
@@ -0,0 +1,9 @@
1
+ import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
2
+ import { ApiMethodDeclaration } from '../..';
3
+ /** ID ордера */
4
+ declare type ParamsData = {
5
+ type: 'crossSale' | 'upSale' | 'earlyBooking' | 'retargeting' | 'scenario' | 'all';
6
+ };
7
+ declare type ResponseData = SuccessRO;
8
+ export declare const recreateMarketingEmails: ApiMethodDeclaration<ParamsData, ResponseData>;
9
+ export {};
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.recreateMarketingEmails = void 0;
4
+ var recreateMarketingEmails = function (_a) {
5
+ var type = _a.type;
6
+ return ({
7
+ url: "/order-emails/recreate-all/".concat(type),
8
+ method: 'GET',
9
+ });
10
+ };
11
+ exports.recreateMarketingEmails = recreateMarketingEmails;
@@ -1,5 +1,5 @@
1
1
  import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
2
- import { ApiMethodDeclaration } from '..';
2
+ import { ApiMethodDeclaration } from '../..';
3
3
  /** ID ордера */
4
4
  declare type ParamsData = number;
5
5
  declare type ResponseData = SuccessRO;
@@ -1,3 +1,5 @@
1
+ import { recreateMarketingEmails } from './emails/recreate-marketing-emails';
2
+ import { resendEmail } from './emails/resend-email';
1
3
  import { addParticipant } from './waivers/add-participant';
2
4
  import { getOrderToSign } from './waivers/get-order-for-sign';
3
5
  import { getOrderParticipants } from './waivers/get-order-participants';
@@ -17,7 +19,6 @@ import { getOne } from './get-one';
17
19
  import { query } from './query';
18
20
  import { queryAgregaotrOrder } from './query-agregator-orders';
19
21
  import { remove } from './remove';
20
- import { resendEmail } from './resend-email';
21
22
  import { update } from './update';
22
23
  import { updateModerator } from './update-moderator';
23
24
  import { updatePlayers } from './update-players';
@@ -25,6 +26,7 @@ import { updateSlot } from './update-slot';
25
26
  import { uploadOrders } from './upload-orders';
26
27
  import { uploadParticipantsPhotos } from './upload-participants-photos';
27
28
  declare type ApiDeclaration = {
29
+ recreateMarketingEmails: typeof recreateMarketingEmails;
28
30
  uploadParticipantsPhotos: typeof uploadParticipantsPhotos;
29
31
  getOrderToSign: typeof getOrderToSign;
30
32
  getOrderParticipants: typeof getOrderParticipants;
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ordersApiDeclaration = void 0;
4
+ var recreate_marketing_emails_1 = require("./emails/recreate-marketing-emails");
5
+ var resend_email_1 = require("./emails/resend-email");
4
6
  var add_participant_1 = require("./waivers/add-participant");
5
7
  var get_order_for_sign_1 = require("./waivers/get-order-for-sign");
6
8
  var get_order_participants_1 = require("./waivers/get-order-participants");
@@ -20,7 +22,6 @@ var get_one_1 = require("./get-one");
20
22
  var query_1 = require("./query");
21
23
  var query_agregator_orders_1 = require("./query-agregator-orders");
22
24
  var remove_1 = require("./remove");
23
- var resend_email_1 = require("./resend-email");
24
25
  var update_1 = require("./update");
25
26
  var update_moderator_1 = require("./update-moderator");
26
27
  var update_players_1 = require("./update-players");
@@ -29,6 +30,7 @@ var upload_orders_1 = require("./upload-orders");
29
30
  var upload_participants_photos_1 = require("./upload-participants-photos");
30
31
  exports.ordersApiDeclaration = {
31
32
  uploadParticipantsPhotos: upload_participants_photos_1.uploadParticipantsPhotos,
33
+ recreateMarketingEmails: recreate_marketing_emails_1.recreateMarketingEmails,
32
34
  removeParticipantByAdmin: remove_participant_by_admin_1.removeParticipantByAdmin,
33
35
  getOrderParticipants: get_order_participants_1.getOrderParticipants,
34
36
  removeParticipant: remove_participant_1.removeParticipant,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escapenavigator/services",
3
- "version": "1.6.100",
3
+ "version": "1.6.102",
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": "cfe2bd704eff71af07b413f32f86831fea4e4034",
15
+ "gitHead": "3189f2638510c5ce95e1d7cbab9db37c1905cc27",
16
16
  "dependencies": {
17
- "@escapenavigator/types": "^1.6.95",
18
- "@escapenavigator/utils": "^1.6.97",
17
+ "@escapenavigator/types": "^1.6.97",
18
+ "@escapenavigator/utils": "^1.6.99",
19
19
  "axios": "^0.21.4",
20
20
  "class-transformer": "^0.5.1",
21
21
  "class-validator": "^0.13.2",