@activepieces/shared 0.3.13 → 0.3.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@activepieces/shared",
3
- "version": "0.3.13",
3
+ "version": "0.3.15",
4
4
  "type": "commonjs",
5
5
  "dependencies": {
6
6
  "@sinclair/typebox": "0.26.8",
@@ -54,7 +54,7 @@ export interface CloudOAuth2ConnectionValue extends BaseOAuth2ConnectionValue {
54
54
  scope: string;
55
55
  data: Record<string, any>;
56
56
  props?: Record<string, any>;
57
- token_url?: string;
57
+ token_url: string;
58
58
  }
59
59
  export interface OAuth2ConnectionValueWithApp extends BaseOAuth2ConnectionValue {
60
60
  type: AppConnectionType.OAUTH2;
@@ -5,8 +5,7 @@ export declare enum EngineOperationType {
5
5
  EXECUTE_ACTION = "EXECUTE_ACTION",
6
6
  EXECUTE_FLOW = "EXECUTE_FLOW",
7
7
  EXECUTE_PROPERTY = "EXECUTE_PROPERTY",
8
- EXECUTE_TRIGGER_HOOK = "EXECUTE_TRIGGER_HOOK",
9
- EXTRACT_EVENT_DATA = "EXTRACT_EVENT_DATA"
8
+ EXECUTE_TRIGGER_HOOK = "EXECUTE_TRIGGER_HOOK"
10
9
  }
11
10
  export declare enum TriggerHookType {
12
11
  ON_ENABLE = "ON_ENABLE",
@@ -14,7 +13,7 @@ export declare enum TriggerHookType {
14
13
  RUN = "RUN",
15
14
  TEST = "TEST"
16
15
  }
17
- export declare type EngineOperation = ExecuteActionOperation | ExecuteFlowOperation | ExecutePropsOptions | ExecuteTriggerOperation | ExecuteEventParserOperation;
16
+ export declare type EngineOperation = ExecuteActionOperation | ExecuteFlowOperation | ExecutePropsOptions | ExecuteTriggerOperation;
18
17
  export declare type ExecuteActionOperation = {
19
18
  actionName: string;
20
19
  pieceName: string;
@@ -26,10 +25,6 @@ export declare type ExecuteActionOperation = {
26
25
  workerToken?: string;
27
26
  apiUrl?: string;
28
27
  };
29
- export interface ExecuteEventParserOperation {
30
- pieceName: string;
31
- event: EventPayload;
32
- }
33
28
  export interface ExecutePropsOptions {
34
29
  pieceName: string;
35
30
  pieceVersion: string;
@@ -7,7 +7,6 @@ var EngineOperationType;
7
7
  EngineOperationType["EXECUTE_FLOW"] = "EXECUTE_FLOW";
8
8
  EngineOperationType["EXECUTE_PROPERTY"] = "EXECUTE_PROPERTY";
9
9
  EngineOperationType["EXECUTE_TRIGGER_HOOK"] = "EXECUTE_TRIGGER_HOOK";
10
- EngineOperationType["EXTRACT_EVENT_DATA"] = "EXTRACT_EVENT_DATA";
11
10
  })(EngineOperationType = exports.EngineOperationType || (exports.EngineOperationType = {}));
12
11
  var TriggerHookType;
13
12
  (function (TriggerHookType) {
@@ -1 +1 @@
1
- {"version":3,"file":"engine-operation.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/engine/engine-operation.ts"],"names":[],"mappings":";;;AAIA,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC3B,wDAAiC,CAAA;IACjC,oDAA6B,CAAA;IAC7B,4DAAqC,CAAA;IACrC,oEAA6C,CAAA;IAC7C,gEAAyC,CAAA;AAC7C,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B;AAED,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,0CAAuB,CAAA;IACvB,4CAAyB,CAAA;IACzB,8BAAW,CAAA;IACX,gCAAa,CAAA;AACjB,CAAC,EALW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAK1B;AAiFA,CAAC"}
1
+ {"version":3,"file":"engine-operation.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/engine/engine-operation.ts"],"names":[],"mappings":";;;AAIA,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC3B,wDAAiC,CAAA;IACjC,oDAA6B,CAAA;IAC7B,4DAAqC,CAAA;IACrC,oEAA6C,CAAA;AACjD,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B;AAED,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,0CAAuB,CAAA;IACvB,4CAAyB,CAAA;IACzB,8BAAW,CAAA;IACX,gCAAa,CAAA;AACjB,CAAC,EALW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAK1B;AA2EA,CAAC"}