digicust_types 1.8.185 → 1.8.187

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.
@@ -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",