digicust_types 1.8.185 → 1.8.187

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,16 +20,20 @@ export interface WebhookEvent extends Event {
20
20
  /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
21
21
  bodyMapping?: string;
22
22
  contentType?: string;
23
+ basicAuth?: {
24
+ username?: string;
25
+ password?: string;
26
+ };
23
27
  }
24
28
  export interface SFTPEvent extends Event {
25
- type: EventType.sftp;
29
+ type?: EventType.sftp;
26
30
  /** How to map the data */
27
- caseFileMapping: CaseFileMapping;
28
- "sftp-password": string;
29
- "sftp-login-name": string;
30
- "sftp-port": string;
31
- "sftp-dns-name": string;
32
- "sftp-path": string;
31
+ caseFileMapping?: CaseFileMapping;
32
+ "sftp-password"?: string;
33
+ "sftp-login-name"?: string;
34
+ "sftp-port"?: string;
35
+ "sftp-dns-name"?: string;
36
+ "sftp-path"?: string;
33
37
  }
34
38
  export interface EmailEvent extends Event {
35
39
  type: EventType.mail;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.185",
3
+ "version": "1.8.187",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",