@activepieces/shared 0.4.0 → 0.5.1

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.4.0",
3
+ "version": "0.5.1",
4
4
  "type": "commonjs",
5
5
  "dependencies": {
6
6
  "@sinclair/typebox": "^0.26.3",
package/src/index.d.ts CHANGED
@@ -32,7 +32,7 @@ export { Principal } from "./lib/authentication/model/principal";
32
32
  export { CodeAction, PieceAction, LoopOnItemsAction, PieceActionSettings, LoopOnItemsActionSettings, Action, ActionType, CodeActionSettings, StepSettings } from './lib/flows/actions/action';
33
33
  export { StoreEntry, StoreEntryId } from './lib/store-entry/store-entry';
34
34
  export * from './lib/user/user';
35
- export { CreateFlowRunRequest } from './lib/flow-run/create-flow-run-request';
35
+ export { TestFlowRunRequestBody } from "./lib/flow-run/test-flow-run-request";
36
36
  export { Trigger, EmptyTrigger, PieceTriggerSettings, PieceTrigger, WebhookTrigger, TriggerType, AUTHENTICATION_PROPERTY_NAME } from './lib/flows/triggers/trigger';
37
37
  export { FlowVersion, FlowVersionState, FlowVersionId } from './lib/flows/flow-version';
38
38
  export { Flow, FlowId } from './lib/flows/flow';
package/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ApId = exports.apId = exports.ExecutionState = exports.RunEnvironment = exports.Flow = exports.FlowVersionState = exports.FlowVersion = exports.AUTHENTICATION_PROPERTY_NAME = exports.TriggerType = exports.WebhookTrigger = exports.PieceTrigger = exports.PieceTriggerSettings = exports.EmptyTrigger = exports.Trigger = exports.CreateFlowRunRequest = exports.CodeActionSettings = exports.ActionType = exports.Action = exports.LoopOnItemsActionSettings = exports.PieceActionSettings = exports.PrincipalType = exports.SignInRequest = exports.SignUpRequest = exports.ExecuteCodeRequest = exports.StepOutputStatus = void 0;
3
+ exports.ApId = exports.apId = exports.ExecutionState = exports.RunEnvironment = exports.Flow = exports.FlowVersionState = exports.FlowVersion = exports.AUTHENTICATION_PROPERTY_NAME = exports.TriggerType = exports.WebhookTrigger = exports.PieceTrigger = exports.PieceTriggerSettings = exports.EmptyTrigger = exports.Trigger = exports.TestFlowRunRequestBody = exports.CodeActionSettings = exports.ActionType = exports.Action = exports.LoopOnItemsActionSettings = exports.PieceActionSettings = exports.PrincipalType = exports.SignInRequest = exports.SignUpRequest = exports.ExecuteCodeRequest = exports.StepOutputStatus = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  tslib_1.__exportStar(require("./lib/flows/actions/action"), exports);
6
6
  tslib_1.__exportStar(require("./lib/app-connection/app-connection"), exports);
@@ -43,8 +43,8 @@ Object.defineProperty(exports, "Action", { enumerable: true, get: function () {
43
43
  Object.defineProperty(exports, "ActionType", { enumerable: true, get: function () { return action_1.ActionType; } });
44
44
  Object.defineProperty(exports, "CodeActionSettings", { enumerable: true, get: function () { return action_1.CodeActionSettings; } });
45
45
  tslib_1.__exportStar(require("./lib/user/user"), exports);
46
- var create_flow_run_request_1 = require("./lib/flow-run/create-flow-run-request");
47
- Object.defineProperty(exports, "CreateFlowRunRequest", { enumerable: true, get: function () { return create_flow_run_request_1.CreateFlowRunRequest; } });
46
+ var test_flow_run_request_1 = require("./lib/flow-run/test-flow-run-request");
47
+ Object.defineProperty(exports, "TestFlowRunRequestBody", { enumerable: true, get: function () { return test_flow_run_request_1.TestFlowRunRequestBody; } });
48
48
  var trigger_1 = require("./lib/flows/triggers/trigger");
49
49
  Object.defineProperty(exports, "Trigger", { enumerable: true, get: function () { return trigger_1.Trigger; } });
50
50
  Object.defineProperty(exports, "EmptyTrigger", { enumerable: true, get: function () { return trigger_1.EmptyTrigger; } });
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/shared/src/index.ts"],"names":[],"mappings":";;;;AAAA,qEAA2C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yGAAA,cAAc,OAAA;AAAE,sGAAA,WAAW,OAAA;AAAE,uHAAA,4BAA4B,OAAA;AAC7H,yDAAwF;AAA/E,2GAAA,WAAW,OAAA;AAAE,gHAAA,gBAAgB,OAAA;AACtC,yCAAgD;AAAvC,4FAAA,IAAI,OAAA;AAEb,kEAAwC;AACxC,oDAA4E;AAA/C,0GAAA,cAAc,OAAA;AAC3C,4EAA0E;AAAjE,iHAAA,cAAc,OAAA;AAEvB,8EAAoD;AAEpD,0DAAsD;AAA7C,oGAAA,IAAI,OAAA;AAAE,oGAAA,IAAI,OAAA;AACnB,wFAA8D;AAC9D,mFAAyD;AACzD,kEAAuC;AACvC,+EAAqD;AACrD,kEAAwC;AACxC,qEAA2C;AAC3C,qEAA2C;AAC3C,8EAAoD;AACpD,gFAAsD;AACtD,qDAAqD;AACrD,6EAAmD;AACnD,6DAA6D;AAC7D,mBAAU,CAAC,0BAA0B,GAAG,KAAK,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function assertNotNullOrUndefined<T>(value: T | null | undefined, fieldName: string): asserts value is T;
2
+ export declare const isNotUndefined: <T>(value: T | undefined) => value is T;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isNotUndefined = exports.assertNotNullOrUndefined = void 0;
4
+ function assertNotNullOrUndefined(value, fieldName) {
5
+ if (value === null || value === undefined) {
6
+ throw new Error(`${fieldName} is null or undefined`);
7
+ }
8
+ }
9
+ exports.assertNotNullOrUndefined = assertNotNullOrUndefined;
10
+ const isNotUndefined = (value) => {
11
+ return value !== undefined;
12
+ };
13
+ exports.isNotUndefined = isNotUndefined;
14
+ //# sourceMappingURL=assertions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assertions.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/common/utils/assertions.ts"],"names":[],"mappings":";;;AAAA,SAAgB,wBAAwB,CACpC,KAA2B,EAC3B,SAAiB;IAEjB,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;QACvC,MAAM,IAAI,KAAK,CAAC,GAAG,SAAS,uBAAuB,CAAC,CAAC;KACxD;AACL,CAAC;AAPD,4DAOC;AAEM,MAAM,cAAc,GAAG,CAAI,KAAoB,EAAc,EAAE;IAClE,OAAO,KAAK,KAAK,SAAS,CAAC;AAC/B,CAAC,CAAA;AAFY,QAAA,cAAc,kBAE1B"}
@@ -1,2 +1,3 @@
1
1
  export * from './object-utils';
2
2
  export * from './utils';
3
+ export * from './assertions';
@@ -3,4 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./object-utils"), exports);
5
5
  tslib_1.__exportStar(require("./utils"), exports);
6
+ tslib_1.__exportStar(require("./assertions"), exports);
6
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/common/utils/index.ts"],"names":[],"mappings":";;;AAAA,yDAA8B;AAC9B,kDAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/common/utils/index.ts"],"names":[],"mappings":";;;AAAA,yDAA8B;AAC9B,kDAAuB;AACvB,uDAA4B"}
@@ -1,6 +1,7 @@
1
1
  import { ResumeStepMetadata } from "../flow-run/execution/execution-output";
2
2
  import { ExecutionState } from "../flow-run/execution/execution-state";
3
3
  import { ExecutionType } from "../flow-run/execution/execution-type";
4
+ import { FlowRunId } from "../flow-run/flow-run";
4
5
  import { FlowVersion, FlowVersionId } from "../flows/flow-version";
5
6
  import { ProjectId } from "../project/project";
6
7
  export declare enum EngineOperationType {
@@ -50,6 +51,7 @@ export interface ExecutePropsOptions {
50
51
  }
51
52
  type BaseExecuteFlowOperation<T extends ExecutionType> = {
52
53
  flowVersionId: FlowVersionId;
54
+ flowRunId: FlowRunId;
53
55
  projectId: ProjectId;
54
56
  triggerPayload: unknown;
55
57
  executionType: T;
@@ -60,6 +62,7 @@ export type BeginExecuteFlowOperation = BaseExecuteFlowOperation<ExecutionType.B
60
62
  export type ResumeExecuteFlowOperation = BaseExecuteFlowOperation<ExecutionType.RESUME> & {
61
63
  executionState: ExecutionState;
62
64
  resumeStepMetadata: ResumeStepMetadata;
65
+ resumePayload: unknown;
63
66
  };
64
67
  export type ExecuteFlowOperation = BeginExecuteFlowOperation | ResumeExecuteFlowOperation;
65
68
  export interface ExecuteTriggerOperation<HT extends TriggerHookType> {
@@ -1 +1 @@
1
- {"version":3,"file":"engine-operation.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/engine/engine-operation.ts"],"names":[],"mappings":";;;AAMA,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC3B,wEAAiD,CAAA;IACjD,wDAAiC,CAAA;IACjC,oDAA6B,CAAA;IAC7B,oDAA6B,CAAA;IAC7B,4DAAqC,CAAA;IACrC,oEAA6C,CAAA;AACjD,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AAED,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,0CAAuB,CAAA;IACvB,4CAAyB,CAAA;IACzB,8BAAW,CAAA;IACX,gCAAa,CAAA;AACjB,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AAqGA,CAAC;AAmCF,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,iCAAS,CAAA;IACT,uCAAe,CAAA;IACf,2CAAmB,CAAA;AACvB,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B"}
1
+ {"version":3,"file":"engine-operation.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/engine/engine-operation.ts"],"names":[],"mappings":";;;AAOA,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC3B,wEAAiD,CAAA;IACjD,wDAAiC,CAAA;IACjC,oDAA6B,CAAA;IAC7B,oDAA6B,CAAA;IAC7B,4DAAqC,CAAA;IACrC,oEAA6C,CAAA;AACjD,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AAED,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,0CAAuB,CAAA;IACvB,4CAAyB,CAAA;IACzB,8BAAW,CAAA;IACX,gCAAa,CAAA;AACjB,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AAuGA,CAAC;AAmCF,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,iCAAS,CAAA;IACT,uCAAe,CAAA;IACf,2CAAmB,CAAA;AACvB,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B"}
@@ -36,7 +36,8 @@ export type BranchResumeStepMetadata = BaseResumeStepMetadata<ActionType.BRANCH>
36
36
  type NormalResumeStepMetadata = BaseResumeStepMetadata<Exclude<ActionType, ActionType.BRANCH | ActionType.LOOP_ON_ITEMS>>;
37
37
  export type ResumeStepMetadata = NormalResumeStepMetadata | BranchResumeStepMetadata | LoopResumeStepMetadata;
38
38
  export declare enum PauseType {
39
- DELAY = "DELAY"
39
+ DELAY = "DELAY",
40
+ WEBHOOK = "WEBHOOK"
40
41
  }
41
42
  type BasePauseMetadata<T extends PauseType> = {
42
43
  type: T;
@@ -45,7 +46,10 @@ type BasePauseMetadata<T extends PauseType> = {
45
46
  export type DelayPauseMetadata = BasePauseMetadata<PauseType.DELAY> & {
46
47
  resumeDateTime: string;
47
48
  };
48
- export type PauseMetadata = DelayPauseMetadata;
49
+ export type WebhookPauseMetadata = BasePauseMetadata<PauseType.WEBHOOK> & {
50
+ actions: string[];
51
+ };
52
+ export type PauseMetadata = DelayPauseMetadata | WebhookPauseMetadata;
49
53
  export type PauseExecutionOutput = BaseExecutionOutput<ExecutionOutputStatus.PAUSED> & {
50
54
  pauseMetadata: PauseMetadata;
51
55
  };
@@ -14,5 +14,6 @@ var ExecutionOutputStatus;
14
14
  var PauseType;
15
15
  (function (PauseType) {
16
16
  PauseType["DELAY"] = "DELAY";
17
+ PauseType["WEBHOOK"] = "WEBHOOK";
17
18
  })(PauseType || (exports.PauseType = PauseType = {}));
18
19
  //# sourceMappingURL=execution-output.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"execution-output.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flow-run/execution/execution-output.ts"],"names":[],"mappings":";;;AAIA,IAAY,qBAQX;AARD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;IACjB,0DAAiC,CAAA;IACjC,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;IACnB,4CAAmB,CAAA;IACnB,gDAAuB,CAAA;IACvB,4CAAmB,CAAA;AACrB,CAAC,EARW,qBAAqB,qCAArB,qBAAqB,QAQhC;AAyCD,IAAY,SAEX;AAFD,WAAY,SAAS;IACnB,4BAAe,CAAA;AACjB,CAAC,EAFW,SAAS,yBAAT,SAAS,QAEpB"}
1
+ {"version":3,"file":"execution-output.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flow-run/execution/execution-output.ts"],"names":[],"mappings":";;;AAIA,IAAY,qBAQX;AARD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;IACjB,0DAAiC,CAAA;IACjC,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;IACnB,4CAAmB,CAAA;IACnB,gDAAuB,CAAA;IACvB,4CAAmB,CAAA;AACrB,CAAC,EARW,qBAAqB,qCAArB,qBAAqB,QAQhC;AAyCD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,4BAAe,CAAA;IACf,gCAAmB,CAAA;AACrB,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
@@ -13,6 +13,7 @@ export type FlowRun = BaseModel<FlowRunId> & {
13
13
  flowVersionId: FlowVersionId;
14
14
  flowDisplayName: string;
15
15
  logsFileId: FileId | null;
16
+ tasks?: number;
16
17
  status: ExecutionOutputStatus;
17
18
  startTime: string;
18
19
  finishTime: string;
@@ -1 +1 @@
1
- {"version":3,"file":"flow-run.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/flow-run/flow-run.ts"],"names":[],"mappings":";;;AA6BA,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,2CAAyB,CAAA;IACzB,qCAAmB,CAAA;AACrB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB"}
1
+ {"version":3,"file":"flow-run.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/flow-run/flow-run.ts"],"names":[],"mappings":";;;AA8BA,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,2CAAyB,CAAA;IACzB,qCAAmB,CAAA;AACrB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB"}
@@ -0,0 +1,5 @@
1
+ import { Static } from '@sinclair/typebox';
2
+ export declare const TestFlowRunRequestBody: import("@sinclair/typebox").TObject<{
3
+ flowVersionId: import("@sinclair/typebox").TString<string>;
4
+ }>;
5
+ export type TestFlowRunRequestBody = Static<typeof TestFlowRunRequestBody>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TestFlowRunRequestBody = void 0;
4
+ const typebox_1 = require("@sinclair/typebox");
5
+ const id_generator_1 = require("../common/id-generator");
6
+ exports.TestFlowRunRequestBody = typebox_1.Type.Object({
7
+ flowVersionId: id_generator_1.ApId,
8
+ });
9
+ //# sourceMappingURL=test-flow-run-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-flow-run-request.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/flow-run/test-flow-run-request.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AACjD,yDAA8C;AAEjC,QAAA,sBAAsB,GAAG,cAAI,CAAC,MAAM,CAAC;IAChD,aAAa,EAAE,mBAAI;CACpB,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import { Static } from '@sinclair/typebox';
2
- export declare const CreateFlowRunRequest: import("@sinclair/typebox").TObject<{
3
- flowVersionId: import("@sinclair/typebox").TString<string>;
4
- payload: import("@sinclair/typebox").TAny;
5
- }>;
6
- export type CreateFlowRunRequest = Static<typeof CreateFlowRunRequest>;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateFlowRunRequest = void 0;
4
- const typebox_1 = require("@sinclair/typebox");
5
- exports.CreateFlowRunRequest = typebox_1.Type.Object({
6
- flowVersionId: typebox_1.Type.String(),
7
- payload: typebox_1.Type.Any(),
8
- });
9
- //# sourceMappingURL=create-flow-run-request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-flow-run-request.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/flow-run/create-flow-run-request.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AAEpC,QAAA,oBAAoB,GAAG,cAAI,CAAC,MAAM,CAAC;IAC9C,aAAa,EAAE,cAAI,CAAC,MAAM,EAAE;IAC5B,OAAO,EAAE,cAAI,CAAC,GAAG,EAAE;CACpB,CAAC,CAAC"}