truflow 0.0.128 → 0.0.130

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.
@@ -18,7 +18,7 @@ interface IAction {
18
18
  url?: string;
19
19
  method?: string;
20
20
  content_type?: string;
21
- headers?: Record<string, string>;
21
+ headers?: Record<string, string> | string;
22
22
  tags?: string;
23
23
  }
24
24
  export interface ITrigger {
@@ -0,0 +1,31 @@
1
+ /// <reference types="mongoose/types/aggregate" />
2
+ /// <reference types="mongoose/types/callback" />
3
+ /// <reference types="mongoose/types/collection" />
4
+ /// <reference types="mongoose/types/connection" />
5
+ /// <reference types="mongoose/types/cursor" />
6
+ /// <reference types="mongoose/types/document" />
7
+ /// <reference types="mongoose/types/error" />
8
+ /// <reference types="mongoose/types/expressions" />
9
+ /// <reference types="mongoose/types/helpers" />
10
+ /// <reference types="mongoose/types/middlewares" />
11
+ /// <reference types="mongoose/types/indexes" />
12
+ /// <reference types="mongoose/types/models" />
13
+ /// <reference types="mongoose/types/mongooseoptions" />
14
+ /// <reference types="mongoose/types/pipelinestage" />
15
+ /// <reference types="mongoose/types/populate" />
16
+ /// <reference types="mongoose/types/query" />
17
+ /// <reference types="mongoose/types/schemaoptions" />
18
+ /// <reference types="mongoose/types/schematypes" />
19
+ /// <reference types="mongoose/types/session" />
20
+ /// <reference types="mongoose/types/types" />
21
+ /// <reference types="mongoose/types/utility" />
22
+ /// <reference types="mongoose/types/validation" />
23
+ /// <reference types="mongoose/types/virtuals" />
24
+ /// <reference types="mongoose/types/inferschematype" />
25
+ import { Document } from "mongoose";
26
+ export interface ILeanSavedAttribute {
27
+ id: number;
28
+ displayName: string;
29
+ displayOn: [string];
30
+ }
31
+ export type ISavedAttribute = ILeanSavedAttribute & Document;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -25,3 +25,4 @@ export * from "./INotification";
25
25
  export * from "./Helpers/IAllmoxy";
26
26
  export * from "./IMailCache";
27
27
  export * from "./API/Allmoxy";
28
+ export * from "./IAllmoxy";
package/dist/index.js CHANGED
@@ -41,3 +41,4 @@ __exportStar(require("./INotification"), exports);
41
41
  __exportStar(require("./Helpers/IAllmoxy"), exports);
42
42
  __exportStar(require("./IMailCache"), exports);
43
43
  __exportStar(require("./API/Allmoxy"), exports);
44
+ __exportStar(require("./IAllmoxy"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "truflow",
3
- "version": "0.0.128",
3
+ "version": "0.0.130",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -13,7 +13,7 @@ interface IAction {
13
13
  url?: string;
14
14
  method?: string;
15
15
  content_type?: string;
16
- headers?: Record<string, string>;
16
+ headers?: Record<string, string> | string;
17
17
  tags?: string;
18
18
  }
19
19
 
@@ -0,0 +1,9 @@
1
+ import { Document } from "mongoose";
2
+
3
+ export interface ILeanSavedAttribute {
4
+ id: number;
5
+ displayName: string;
6
+ displayOn: [string];
7
+ }
8
+
9
+ export type ISavedAttribute = ILeanSavedAttribute & Document;
package/src/index.ts CHANGED
@@ -25,3 +25,4 @@ export * from "./INotification";
25
25
  export * from "./Helpers/IAllmoxy";
26
26
  export * from "./IMailCache";
27
27
  export * from "./API/Allmoxy";
28
+ export * from "./IAllmoxy";