@adtrackify/at-service-common 1.0.22 → 1.0.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/index.d.ts CHANGED
@@ -76,8 +76,8 @@ declare module '@adtrackify/at-service-common/clients/index' {
76
76
 
77
77
  }
78
78
  declare module '@adtrackify/at-service-common/clients/internal-api/destinations-client' {
79
- import { Destination } from 'aws-sdk/clients/lexmodelbuildingservice';
80
79
  import { ApiResponse } from '@adtrackify/at-service-common/types/api-response';
80
+ import { Destination } from '@adtrackify/at-service-common/types/db/destination';
81
81
  export class DestinationsClient {
82
82
  BASE_API_URL: string;
83
83
  DESTINATIONS_API_KEY: string;
@@ -307,7 +307,6 @@ declare module '@adtrackify/at-service-common/types/api-response' {
307
307
  status: number;
308
308
  headers?: AxiosResponseHeaders;
309
309
  }
310
- export type ErrorData = unknown;
311
310
 
312
311
  }
313
312
  declare module '@adtrackify/at-service-common/types/db/destination' {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adtrackify/at-service-common",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,8 +1,7 @@
1
- import { Destination } from 'aws-sdk/clients/lexmodelbuildingservice';
2
1
  import * as log from 'lambda-log';
3
2
  import { ApiResponse } from '../../types/api-response';
4
3
  import { axiosHttpService } from '../generic/http-client';
5
-
4
+ import { Destination } from '../../types/db/destination';
6
5
  //const BASE_API_URL = process.env.BASE_API_URL;
7
6
  //const DESTINATIONS_API_KEY = process.env.DESTINATIONS_API_KEY;
8
7
 
@@ -4,5 +4,3 @@ export interface ApiResponse<T> {
4
4
  status: number;
5
5
  headers?: AxiosResponseHeaders;
6
6
  }
7
-
8
- export type ErrorData = unknown;