@escapenavigator/services 1.10.8 → 1.10.10

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.
@@ -27,6 +27,7 @@ import { getCustomerEmail } from './email/get-customer-email';
27
27
  import { queryCampaigns } from './email/query-campaigns';
28
28
  import { testEmail } from './email/test-email';
29
29
  import { createNotificationChanel } from './notification-chanel/create';
30
+ import { getClientNotifications } from './notification-chanel/get-client-notofocations';
30
31
  import { queryNotificationChanels } from './notification-chanel/query';
31
32
  import { removeNotificationChanel } from './notification-chanel/remove';
32
33
  import { updateNotificationChanel } from './notification-chanel/update';
@@ -129,6 +130,7 @@ declare type ApiDeclaration = {
129
130
  removeNotificationChanel: typeof removeNotificationChanel;
130
131
  queryNotificationChanels: typeof queryNotificationChanels;
131
132
  webHookApi: typeof webHookApi;
133
+ getClientNotifications: typeof getClientNotifications;
132
134
  };
133
135
  export declare const profilesApiDeclaration: ApiDeclaration;
134
136
  export {};
@@ -30,6 +30,7 @@ var get_customer_email_1 = require("./email/get-customer-email");
30
30
  var query_campaigns_1 = require("./email/query-campaigns");
31
31
  var test_email_1 = require("./email/test-email");
32
32
  var create_2 = require("./notification-chanel/create");
33
+ var get_client_notofocations_1 = require("./notification-chanel/get-client-notofocations");
33
34
  var query_1 = require("./notification-chanel/query");
34
35
  var remove_1 = require("./notification-chanel/remove");
35
36
  var update_1 = require("./notification-chanel/update");
@@ -72,6 +73,7 @@ exports.profilesApiDeclaration = {
72
73
  removeNotificationChanel: remove_1.removeNotificationChanel,
73
74
  queryNotificationChanels: query_1.queryNotificationChanels,
74
75
  webHookApi: webhook_api_1.webHookApi,
76
+ getClientNotifications: get_client_notofocations_1.getClientNotifications,
75
77
  queryBalancePayments: query_balance_payments_1.queryBalancePayments,
76
78
  queryProfileBalancePayments: query_profile_balance_payments_1.queryProfileBalancePayments,
77
79
  adjustBalance: adjust_balance_1.adjustBalance,
@@ -0,0 +1,6 @@
1
+ import { NotificationChanelRO } from '@escapenavigator/types/dist/profile/notification-chanel/notification-chanel.ro';
2
+ import { ApiMethodDeclaration } from '../..';
3
+ declare type ParamsData = undefined;
4
+ declare type ResponseData = NotificationChanelRO;
5
+ export declare const getClientNotifications: ApiMethodDeclaration<ParamsData, ResponseData>;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getClientNotifications = void 0;
4
+ var getClientNotifications = function () { return ({
5
+ url: '/notification-chanel/client',
6
+ method: 'GET',
7
+ }); };
8
+ exports.getClientNotifications = getClientNotifications;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escapenavigator/services",
3
- "version": "1.10.8",
3
+ "version": "1.10.10",
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": "d35b1fc72aae5dcb5cf0f440ac9bcda9a9f326eb",
15
+ "gitHead": "650c13d86124f8236d9a4982303a56bb594e58aa",
16
16
  "dependencies": {
17
- "@escapenavigator/types": "^1.10.8",
18
- "@escapenavigator/utils": "^1.10.8",
17
+ "@escapenavigator/types": "^1.10.10",
18
+ "@escapenavigator/utils": "^1.10.10",
19
19
  "axios": "^0.21.4",
20
20
  "class-transformer": "^0.5.1",
21
21
  "class-validator": "^0.13.2",