quidproquo-webserver 0.0.104 → 0.0.106

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.
@@ -4,26 +4,22 @@ exports.getLogMetadataChildren = exports.getLogMetadata = exports.getLog = expor
4
4
  const httpEventUtils_1 = require("../../../../utils/httpEventUtils");
5
5
  const actions_1 = require("../../../../actions");
6
6
  function* getLogs(event, params) {
7
- console.log('getLogs');
8
7
  const { nextPageKey, startIsoDateTime, endIsoDateTime, runtimeType } = (0, httpEventUtils_1.fromJsonEventRequest)(event);
9
8
  const logs = yield* (0, actions_1.askAdminGetLogs)(runtimeType, startIsoDateTime, endIsoDateTime, nextPageKey);
10
9
  return (0, httpEventUtils_1.toJsonEventResponse)(logs);
11
10
  }
12
11
  exports.getLogs = getLogs;
13
12
  function* getLog(event, params) {
14
- console.log('getLog');
15
13
  const log = yield* (0, actions_1.askAdminGetLog)(params.correlationId);
16
14
  return (0, httpEventUtils_1.toJsonEventResponse)(log);
17
15
  }
18
16
  exports.getLog = getLog;
19
17
  function* getLogMetadata(event, params) {
20
- console.log('getLogMetadata');
21
18
  const log = yield* (0, actions_1.askAdminGetLogMetadata)(params.correlationId);
22
19
  return (0, httpEventUtils_1.toJsonEventResponse)(log);
23
20
  }
24
21
  exports.getLogMetadata = getLogMetadata;
25
22
  function* getLogMetadataChildren(event, params) {
26
- console.log('getLogMetadataChildren');
27
23
  const log = yield* (0, actions_1.askAdminGetLogMetadataChildren)(params.correlationId);
28
24
  return (0, httpEventUtils_1.toJsonEventResponse)(log);
29
25
  }
@@ -1,4 +1,4 @@
1
- import { HTTPMethod } from 'quidproquo-core';
1
+ import { HTTPMethod, QPQBinaryData } from 'quidproquo-core';
2
2
  export interface HttpEventHeaders {
3
3
  [key: string]: undefined | string;
4
4
  }
@@ -16,6 +16,7 @@ export interface HTTPEvent<T = string> {
16
16
  correlation: string;
17
17
  sourceIp: string;
18
18
  isBase64Encoded: boolean;
19
+ files?: QPQBinaryData[];
19
20
  }
20
21
  export interface HTTPEventResponse<T = string> {
21
22
  status: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quidproquo-webserver",
3
- "version": "0.0.104",
3
+ "version": "0.0.106",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.js",