@activepieces/shared 0.3.9 → 0.3.12

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.
Files changed (51) hide show
  1. package/package.json +1 -1
  2. package/src/index.d.ts +1 -1
  3. package/src/index.js +1 -2
  4. package/src/index.js.map +1 -1
  5. package/src/lib/app-connection/app-connection.d.ts +2 -0
  6. package/src/lib/app-connection/app-connection.js.map +1 -1
  7. package/src/lib/app-connection/dto/upsert-app-connection-request.d.ts +5 -0
  8. package/src/lib/app-connection/dto/upsert-app-connection-request.js +3 -0
  9. package/src/lib/app-connection/dto/upsert-app-connection-request.js.map +1 -1
  10. package/src/lib/app-connection/oauth2-authorization-method.d.ts +4 -0
  11. package/src/lib/app-connection/oauth2-authorization-method.js +10 -0
  12. package/src/lib/app-connection/oauth2-authorization-method.js.map +1 -0
  13. package/src/lib/flows/triggers/trigger.d.ts +0 -5
  14. package/src/lib/flows/triggers/trigger.js +1 -7
  15. package/src/lib/flows/triggers/trigger.js.map +1 -1
  16. package/src/lib/pieces/index.d.ts +0 -3
  17. package/src/lib/pieces/index.js +0 -3
  18. package/src/lib/pieces/index.js.map +1 -1
  19. package/src/lib/pieces/utils.d.ts +1 -0
  20. package/src/lib/pieces/utils.js +6 -1
  21. package/src/lib/pieces/utils.js.map +1 -1
  22. package/src/lib/pieces/model/piece-metadata.d.ts +0 -29
  23. package/src/lib/pieces/model/piece-metadata.js +0 -3
  24. package/src/lib/pieces/model/piece-metadata.js.map +0 -1
  25. package/src/lib/pieces/model/property-type.d.ts +0 -18
  26. package/src/lib/pieces/model/property-type.js +0 -23
  27. package/src/lib/pieces/model/property-type.js.map +0 -1
  28. package/src/lib/pieces/property/base-prop.d.ts +0 -19
  29. package/src/lib/pieces/property/base-prop.js +0 -3
  30. package/src/lib/pieces/property/base-prop.js.map +0 -1
  31. package/src/lib/pieces/property/basic-auth-prop.d.ts +0 -17
  32. package/src/lib/pieces/property/basic-auth-prop.js +0 -3
  33. package/src/lib/pieces/property/basic-auth-prop.js.map +0 -1
  34. package/src/lib/pieces/property/custom-auth-prop.d.ts +0 -13
  35. package/src/lib/pieces/property/custom-auth-prop.js +0 -3
  36. package/src/lib/pieces/property/custom-auth-prop.js.map +0 -1
  37. package/src/lib/pieces/property/dropdown-prop.d.ts +0 -27
  38. package/src/lib/pieces/property/dropdown-prop.js +0 -3
  39. package/src/lib/pieces/property/dropdown-prop.js.map +0 -1
  40. package/src/lib/pieces/property/dynamic-prop.d.ts +0 -10
  41. package/src/lib/pieces/property/dynamic-prop.js +0 -3
  42. package/src/lib/pieces/property/dynamic-prop.js.map +0 -1
  43. package/src/lib/pieces/property/index.d.ts +0 -7
  44. package/src/lib/pieces/property/index.js +0 -11
  45. package/src/lib/pieces/property/index.js.map +0 -1
  46. package/src/lib/pieces/property/oauth2-prop.d.ts +0 -23
  47. package/src/lib/pieces/property/oauth2-prop.js +0 -3
  48. package/src/lib/pieces/property/oauth2-prop.js.map +0 -1
  49. package/src/lib/pieces/property/property.d.ts +0 -38
  50. package/src/lib/pieces/property/property.js +0 -55
  51. package/src/lib/pieces/property/property.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@activepieces/shared",
3
- "version": "0.3.9",
3
+ "version": "0.3.12",
4
4
  "type": "commonjs",
5
5
  "dependencies": {
6
6
  "@sinclair/typebox": "0.26.8",
package/src/index.d.ts CHANGED
@@ -33,7 +33,7 @@ export { CodeAction, PieceAction, LoopOnItemsAction, PieceActionSettings, LoopOn
33
33
  export { StoreEntry, StoreEntryId } from './lib/store-entry/store-entry';
34
34
  export * from './lib/user/user';
35
35
  export { CreateFlowRunRequest } from './lib/flow-run/create-flow-run-request';
36
- export { TriggerStrategy, Trigger, EmptyTrigger, PieceTriggerSettings, PieceTrigger, WebhookTrigger, TriggerType } from './lib/flows/triggers/trigger';
36
+ export { Trigger, EmptyTrigger, PieceTriggerSettings, PieceTrigger, WebhookTrigger, TriggerType } from './lib/flows/triggers/trigger';
37
37
  export { Collection, CollectionId, CollectionListDto, CollectionStatus } from './lib/collections/collection';
38
38
  export { FlowVersion, FlowVersionState, FlowVersionId } from './lib/flows/flow-version';
39
39
  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.UpdateCollectionRequest = exports.CreateCollectionRequest = exports.ListFlowsRequest = exports.ListCollectionsRequest = exports.ExecutionState = exports.RunEnvironment = exports.FlowVersionState = exports.CollectionStatus = exports.CollectionListDto = exports.Collection = exports.TriggerType = exports.WebhookTrigger = exports.PieceTrigger = exports.PieceTriggerSettings = exports.EmptyTrigger = exports.Trigger = exports.TriggerStrategy = exports.CreateFlowRunRequest = exports.CodeActionSettings = exports.ActionType = exports.Action = exports.LoopOnItemsActionSettings = exports.PieceActionSettings = exports.PrincipalType = exports.SignInRequest = exports.SignUpRequest = exports.ExecuteCodeRequest = exports.CodeRunStatus = exports.StepOutputStatus = void 0;
3
+ exports.ApId = exports.apId = exports.UpdateCollectionRequest = exports.CreateCollectionRequest = exports.ListFlowsRequest = exports.ListCollectionsRequest = exports.ExecutionState = exports.RunEnvironment = exports.FlowVersionState = exports.CollectionStatus = exports.CollectionListDto = exports.Collection = 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.CodeRunStatus = 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);
@@ -46,7 +46,6 @@ tslib_1.__exportStar(require("./lib/user/user"), exports);
46
46
  var create_flow_run_request_1 = require("./lib/flow-run/create-flow-run-request");
47
47
  Object.defineProperty(exports, "CreateFlowRunRequest", { enumerable: true, get: function () { return create_flow_run_request_1.CreateFlowRunRequest; } });
48
48
  var trigger_1 = require("./lib/flows/triggers/trigger");
49
- Object.defineProperty(exports, "TriggerStrategy", { enumerable: true, get: function () { return trigger_1.TriggerStrategy; } });
50
49
  Object.defineProperty(exports, "Trigger", { enumerable: true, get: function () { return trigger_1.Trigger; } });
51
50
  Object.defineProperty(exports, "EmptyTrigger", { enumerable: true, get: function () { return trigger_1.EmptyTrigger; } });
52
51
  Object.defineProperty(exports, "PieceTriggerSettings", { enumerable: true, get: function () { return trigger_1.PieceTriggerSettings; } });
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;AAC3C,8EAAoD;AACpD,+FAAqE;AACrE,iGAAuE;AACvE,uDAA6B;AAC7B,0EAAgD;AAChD,iEAAuC;AACvC,wEAA8C;AAC9C,0DAAgC;AAChC,oFAA0D;AAC1D,oFAA0D;AAC1D,+EAAqD;AACrD,sEAA4C;AAC5C,+DAAqC;AACrC,yDAA+B;AAC/B,8EAAoD;AACpD,iGAAuE;AACvE,oFAA0D;AAC1D,oEAAwE;AAA/D,+GAAA,gBAAgB,OAAA;AACzB,yDAA+B;AAC/B,uDAA6B;AAC7B,oFAA0D;AAC1D,wDAA8B;AAE9B,6EAA0E;AAAjE,gHAAA,aAAa,OAAA;AAEtB,4DAAiE;AAAxD,kHAAA,kBAAkB,OAAA;AAE3B,4EAAyE;AAAhE,gHAAA,aAAa,OAAA;AACtB,4EAAyE;AAAhE,gHAAA,aAAa,OAAA;AACtB,4EAA0E;AAAjE,+GAAA,aAAa,OAAA;AAEtB,qDAGmC;AAD/B,6GAAA,mBAAmB,OAAA;AAAE,mHAAA,yBAAyB,OAAA;AAAE,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,oGAAA,IAAI,OAAA;AACnB,wFAA8D;AAC9D,mFAAyD;AAEzD,kEAAwC;AAGxC,qDAAqD;AACrD,6DAA6D;AAC7D,mBAAU,CAAC,0BAA0B,GAAG,KAAK,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { BaseModel } from "../common/base-model";
2
+ import { OAuth2AuthorizationMethod } from "./oauth2-authorization-method";
2
3
  export declare type AppConnectionId = string;
3
4
  export declare enum AppConnectionStatus {
4
5
  EXPIRED = "EXPIRED",
@@ -35,6 +36,7 @@ export interface BaseOAuth2ConnectionValue {
35
36
  claimed_at: number;
36
37
  refresh_token: string;
37
38
  scope: string;
39
+ authorization_method?: OAuth2AuthorizationMethod;
38
40
  data: Record<string, any>;
39
41
  }
40
42
  export interface CustomAuthConnectionValue {
@@ -1 +1 @@
1
- {"version":3,"file":"app-connection.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/app-connection/app-connection.ts"],"names":[],"mappings":";;;AAIA,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;IACjB,sCAAe,CAAA;AACjB,CAAC,EAJW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAI9B;AAUD,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,kDAA6B,CAAA;IAC7B,gDAA2B,CAAA;IAC3B,8CAAyB,CAAA;IACzB,gDAA0B,CAAA;AAC5B,CAAC,EANW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAM5B"}
1
+ {"version":3,"file":"app-connection.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/app-connection/app-connection.ts"],"names":[],"mappings":";;;AAKA,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;IACjB,sCAAe,CAAA;AACjB,CAAC,EAJW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAI9B;AAUD,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,kDAA6B,CAAA;IAC7B,gDAA2B,CAAA;IAC3B,8CAAyB,CAAA;IACzB,gDAA0B,CAAA;AAC5B,CAAC,EANW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAM5B"}
@@ -1,5 +1,6 @@
1
1
  import { Static } from "@sinclair/typebox";
2
2
  import { AppConnectionType } from "../app-connection";
3
+ import { OAuth2AuthorizationMethod } from "../oauth2-authorization-method";
3
4
  export declare const UpsertCustomAuthRequest: import("@sinclair/typebox").TObject<{
4
5
  value: import("@sinclair/typebox").TObject<{
5
6
  type: import("@sinclair/typebox").TLiteral<AppConnectionType.CUSTOM_AUTH>;
@@ -11,6 +12,7 @@ export declare const UpsertCustomAuthRequest: import("@sinclair/typebox").TObjec
11
12
  export declare const UpsertCloudOAuth2Request: import("@sinclair/typebox").TObject<{
12
13
  value: import("@sinclair/typebox").TObject<{
13
14
  client_id: import("@sinclair/typebox").TString<string>;
15
+ authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
14
16
  code: import("@sinclair/typebox").TString<string>;
15
17
  code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
16
18
  props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TString<string>>>;
@@ -37,6 +39,7 @@ export declare const UpsertOAuth2Request: import("@sinclair/typebox").TObject<{
37
39
  props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TAny>>;
38
40
  scope: import("@sinclair/typebox").TString<string>;
39
41
  code: import("@sinclair/typebox").TString<string>;
42
+ authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
40
43
  code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
41
44
  redirect_url: import("@sinclair/typebox").TString<string>;
42
45
  type: import("@sinclair/typebox").TLiteral<AppConnectionType.OAUTH2>;
@@ -74,6 +77,7 @@ export declare const UpsertConnectionRequest: import("@sinclair/typebox").TUnion
74
77
  props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TAny>>;
75
78
  scope: import("@sinclair/typebox").TString<string>;
76
79
  code: import("@sinclair/typebox").TString<string>;
80
+ authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
77
81
  code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
78
82
  redirect_url: import("@sinclair/typebox").TString<string>;
79
83
  type: import("@sinclair/typebox").TLiteral<AppConnectionType.OAUTH2>;
@@ -83,6 +87,7 @@ export declare const UpsertConnectionRequest: import("@sinclair/typebox").TUnion
83
87
  }>, import("@sinclair/typebox").TObject<{
84
88
  value: import("@sinclair/typebox").TObject<{
85
89
  client_id: import("@sinclair/typebox").TString<string>;
90
+ authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
86
91
  code: import("@sinclair/typebox").TString<string>;
87
92
  code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
88
93
  props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TString<string>>>;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpsertConnectionRequest = exports.UpsertBasicAuthRequest = exports.UpsertOAuth2Request = exports.UpsertSecretTextRequest = exports.UpsertCloudOAuth2Request = exports.UpsertCustomAuthRequest = void 0;
4
4
  const typebox_1 = require("@sinclair/typebox");
5
5
  const app_connection_1 = require("../app-connection");
6
+ const oauth2_authorization_method_1 = require("../oauth2-authorization-method");
6
7
  const commonAuthProps = {
7
8
  name: typebox_1.Type.String({}),
8
9
  appName: typebox_1.Type.String({}),
@@ -13,6 +14,7 @@ exports.UpsertCustomAuthRequest = typebox_1.Type.Object(Object.assign(Object.ass
13
14
  }) }));
14
15
  exports.UpsertCloudOAuth2Request = typebox_1.Type.Object(Object.assign(Object.assign({}, commonAuthProps), { value: typebox_1.Type.Object({
15
16
  client_id: typebox_1.Type.String(),
17
+ authorization_method: typebox_1.Type.Optional(typebox_1.Type.Enum(oauth2_authorization_method_1.OAuth2AuthorizationMethod)),
16
18
  code: typebox_1.Type.String(),
17
19
  code_challenge: typebox_1.Type.Optional(typebox_1.Type.String()),
18
20
  props: typebox_1.Type.Optional(typebox_1.Type.Record(typebox_1.Type.String(), typebox_1.Type.String())),
@@ -31,6 +33,7 @@ exports.UpsertOAuth2Request = typebox_1.Type.Object(Object.assign(Object.assign(
31
33
  props: typebox_1.Type.Optional(typebox_1.Type.Record(typebox_1.Type.String(), typebox_1.Type.Any())),
32
34
  scope: typebox_1.Type.String(),
33
35
  code: typebox_1.Type.String(),
36
+ authorization_method: typebox_1.Type.Optional(typebox_1.Type.Enum(oauth2_authorization_method_1.OAuth2AuthorizationMethod)),
34
37
  code_challenge: typebox_1.Type.Optional(typebox_1.Type.String()),
35
38
  redirect_url: typebox_1.Type.String({}),
36
39
  type: typebox_1.Type.Literal(app_connection_1.AppConnectionType.OAUTH2),
@@ -1 +1 @@
1
- {"version":3,"file":"upsert-app-connection-request.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/app-connection/dto/upsert-app-connection-request.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AACjD,sDAAsD;AAEtD,MAAM,eAAe,GAAG;IACpB,IAAI,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IACrB,OAAO,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;CAC3B,CAAC;AAEW,QAAA,uBAAuB,GAAG,cAAI,CAAC,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AE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,aAAa,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9B,SAAS,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,KAAK,EAAE,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,MAAM,CAAC,cAAI,CAAC,MAAM,EAAE,EAAE,cAAI,CAAC,GAAG,EAAE,CAAC,CAAC;QAC5D,KAAK,EAAE,cAAI,CAAC,MAAM,EAAE;QACpB,IAAI,EAAE,cAAI,CAAC,MAAM,EAAE;QACnB,cAAc,EAAE,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,MAAM,EAAE,CAAC;QAC5C,YAAY,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QAC7B,IAAI,EAAE,cAAI,CAAC,OAAO,CAAC,kCAAiB,CAAC,MAAM,CAAC;KAC/C,CAAC,IACJ,CAAC;AAEU,QAAA,sBAAsB,GAAG,cAAI,CAAC,MAAM,iCAC1C,eAAe,KAClB,KAAK,EAAE,cAAI,CAAC,MAAM,CAAC;QACf,QAAQ,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,QAAQ,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,IAAI,EAAE,cAAI,CAAC,OAAO,CAAC,kCAAiB,CAAC,UAAU,CAAC;KACnD,CAAC,IACJ,CAAC;AAQU,QAAA,uBAAuB,GAAG,cAAI,CAAC,KAAK,CAAC,CAAC,+BAAuB,EAAE,2BAAmB,EAAE,gCAAwB,EAAE,8BAAsB,EAAE,+BAAuB,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"upsert-app-connection-request.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/app-connection/dto/upsert-app-connection-request.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AACjD,sDAAsD;AACtD,gFAA2E;AAE3E,MAAM,eAAe,GAAG;IACpB,IAA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U,QAAA,uBAAuB,GAAG,cAAI,CAAC,KAAK,CAAC,CAAC,+BAAuB,EAAE,2BAAmB,EAAE,gCAAwB,EAAE,8BAAsB,EAAE,+BAAuB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare enum OAuth2AuthorizationMethod {
2
+ HEADER = "HEADER",
3
+ BODY = "BODY"
4
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OAuth2AuthorizationMethod = void 0;
4
+ // Todo remove it's duplicated in frameworkr as well, make sure it's not exported in shared package.
5
+ var OAuth2AuthorizationMethod;
6
+ (function (OAuth2AuthorizationMethod) {
7
+ OAuth2AuthorizationMethod["HEADER"] = "HEADER";
8
+ OAuth2AuthorizationMethod["BODY"] = "BODY";
9
+ })(OAuth2AuthorizationMethod = exports.OAuth2AuthorizationMethod || (exports.OAuth2AuthorizationMethod = {}));
10
+ //# sourceMappingURL=oauth2-authorization-method.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauth2-authorization-method.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/app-connection/oauth2-authorization-method.ts"],"names":[],"mappings":";;;AAAA,oGAAoG;AACpG,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACjC,8CAAiB,CAAA;IACjB,0CAAa,CAAA;AACjB,CAAC,EAHW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAGpC"}
@@ -1,9 +1,4 @@
1
1
  import { Static } from '@sinclair/typebox';
2
- export declare enum TriggerStrategy {
3
- POLLING = "POLLING",
4
- WEBHOOK = "WEBHOOK",
5
- APP_WEBHOOK = "APP_WEBHOOK"
6
- }
7
2
  export declare enum TriggerType {
8
3
  EMPTY = "EMPTY",
9
4
  WEBHOOK = "WEBHOOK",
@@ -1,15 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Trigger = exports.PieceTrigger = exports.PieceTriggerSettings = exports.WebhookTrigger = exports.EmptyTrigger = exports.TriggerType = exports.TriggerStrategy = void 0;
3
+ exports.Trigger = exports.PieceTrigger = exports.PieceTriggerSettings = exports.WebhookTrigger = exports.EmptyTrigger = exports.TriggerType = void 0;
4
4
  const typebox_1 = require("@sinclair/typebox");
5
5
  const pieces_1 = require("../../pieces");
6
6
  const sample_data_1 = require("../sample-data");
7
- var TriggerStrategy;
8
- (function (TriggerStrategy) {
9
- TriggerStrategy["POLLING"] = "POLLING";
10
- TriggerStrategy["WEBHOOK"] = "WEBHOOK";
11
- TriggerStrategy["APP_WEBHOOK"] = "APP_WEBHOOK";
12
- })(TriggerStrategy = exports.TriggerStrategy || (exports.TriggerStrategy = {}));
13
7
  var TriggerType;
14
8
  (function (TriggerType) {
15
9
  TriggerType["EMPTY"] = "EMPTY";
@@ -1 +1 @@
1
- {"version":3,"file":"trigger.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flows/triggers/trigger.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AACjD,yCAA0C;AAC1C,gDAA0D;AAE1D,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;IACnB,8CAA2B,CAAA;AAC7B,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AAED,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,8BAAe,CAAA;IACf,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;AACzB,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AAED,MAAM,WAAW,GAAG;IAClB,IAAI,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IACrB,KAAK,EAAE,cAAI,CAAC,OAAO,CAAC,EAAE,CAAC;IACvB,WAAW,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IAC5B,UAAU,EAAE,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,GAAG,EAAE,CAAC;CACtC,CAAA;AAEY,QAAA,YAAY,GAAG,cAAI,CAAC,MAAM,iCAClC,WAAW,KACd,IAAI,EAAE,cAAI,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,EACrC,QAAQ,EAAE,cAAI,CAAC,GAAG,EAAE,IACpB,CAAC;AAKU,QAAA,cAAc,GAAG,cAAI,CAAC,MAAM,iCACpC,WAAW,KACd,IAAI,EAAE,cAAI,CAAC,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,EACvC,QAAQ,EAAC,cAAI,CAAC,MAAM,CAAC;QACnB,WAAW,EAAC,sCAAwB;KACrC,CAAC,IACF,CAAC;AAIU,QAAA,oBAAoB,GAAG,cAAI,CAAC,MAAM,CAAC;IAC9C,SAAS,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IAC1B,YAAY,EAAE,mBAAU;IACxB,WAAW,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IAC5B,KAAK,EAAE,cAAI,CAAC,MAAM,CAAC,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,cAAI,CAAC,GAAG,EAAE,CAAC;IAC/C,WAAW,EAAE,sCAAwB;CACtC,CAAC,CAAC;AAIU,QAAA,YAAY,GAAG,cAAI,CAAC,MAAM,iCAClC,WAAW,KACd,IAAI,EAAE,cAAI,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,EACrC,QAAQ,EAAE,4BAAoB,IAC9B,CAAC;AAIU,QAAA,OAAO,GAAG,cAAI,CAAC,KAAK,CAAC;IAChC,sBAAc;IACd,oBAAY;IACZ,oBAAY;CACb,CAAC,CAAC"}
1
+ {"version":3,"file":"trigger.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flows/triggers/trigger.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AACjD,yCAA0C;AAC1C,gDAA0D;AAE1D,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,8BAAe,CAAA;IACf,kCAAmB,CAAA;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,IAC9B,CAAC;AAIU,QAAA,OAAO,GAAG,cAAI,CAAC,KAAK,CAAC;IAChC,sBAAc;IACd,oBAAY;IACZ,oBAAY;CACb,CAAC,CAAC"}
@@ -1,7 +1,4 @@
1
1
  export * from './dto/get-piece-request-params';
2
2
  export * from './dto/get-piece-request-query';
3
3
  export * from './dto/piece-option-request';
4
- export * from './model/piece-metadata';
5
- export * from './model/property-type';
6
4
  export * from './utils';
7
- export * from './property/index';
@@ -4,8 +4,5 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./dto/get-piece-request-params"), exports);
5
5
  tslib_1.__exportStar(require("./dto/get-piece-request-query"), exports);
6
6
  tslib_1.__exportStar(require("./dto/piece-option-request"), exports);
7
- tslib_1.__exportStar(require("./model/piece-metadata"), exports);
8
- tslib_1.__exportStar(require("./model/property-type"), exports);
9
7
  tslib_1.__exportStar(require("./utils"), exports);
10
- tslib_1.__exportStar(require("./property/index"), exports);
11
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/pieces/index.ts"],"names":[],"mappings":";;;AAAA,yEAA8C;AAC9C,wEAA6C;AAC7C,qEAA0C;AAC1C,iEAAsC;AACtC,gEAAqC;AACrC,kDAAuB;AACvB,2DAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/pieces/index.ts"],"names":[],"mappings":";;;AAAA,yEAA8C;AAC9C,wEAA6C;AAC7C,qEAA0C;AAC1C,kDAAuB"}
@@ -2,6 +2,7 @@ declare type PackageInfoParams = {
2
2
  pieceName: string;
3
3
  pieceVersion: string;
4
4
  };
5
+ export declare const getPackageNameForPiece: (params: PackageInfoParams) => string;
5
6
  export declare const getPackageAliasForPiece: (params: PackageInfoParams) => string;
6
7
  export declare const getPackageVersionForPiece: (params: PackageInfoParams) => string;
7
8
  export {};
@@ -1,6 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getPackageVersionForPiece = exports.getPackageAliasForPiece = void 0;
3
+ exports.getPackageVersionForPiece = exports.getPackageAliasForPiece = exports.getPackageNameForPiece = void 0;
4
+ const getPackageNameForPiece = (params) => {
5
+ const { pieceName } = params;
6
+ return `@activepieces/piece-${pieceName}`;
7
+ };
8
+ exports.getPackageNameForPiece = getPackageNameForPiece;
4
9
  const getPackageAliasForPiece = (params) => {
5
10
  const { pieceName, pieceVersion } = params;
6
11
  return `@activepieces/piece-${pieceName}-${pieceVersion}`;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/pieces/utils.ts"],"names":[],"mappings":";;;AAKO,MAAM,uBAAuB,GAAG,CAAC,MAAyB,EAAU,EAAE;IAC3E,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;IAE3C,OAAO,uBAAuB,SAAS,IAAI,YAAY,EAAE,CAAA;AAC3D,CAAC,CAAA;AAJY,QAAA,uBAAuB,2BAInC;AAEM,MAAM,yBAAyB,GAAG,CAAC,MAAyB,EAAU,EAAE;IAC7E,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;IAE3C,OAAO,2BAA2B,SAAS,IAAI,YAAY,EAAE,CAAA;AAC/D,CAAC,CAAA;AAJY,QAAA,yBAAyB,6BAIrC"}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/pieces/utils.ts"],"names":[],"mappings":";;;AAKO,MAAM,sBAAsB,GAAG,CAAC,MAAyB,EAAU,EAAE;IAC1E,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;IAE7B,OAAO,uBAAuB,SAAS,EAAE,CAAA;AAC3C,CAAC,CAAA;AAJY,QAAA,sBAAsB,0BAIlC;AAEM,MAAM,uBAAuB,GAAG,CAAC,MAAyB,EAAU,EAAE;IAC3E,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;IAE3C,OAAO,uBAAuB,SAAS,IAAI,YAAY,EAAE,CAAA;AAC3D,CAAC,CAAA;AAJY,QAAA,uBAAuB,2BAInC;AAEM,MAAM,yBAAyB,GAAG,CAAC,MAAyB,EAAU,EAAE;IAC7E,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;IAE3C,OAAO,2BAA2B,SAAS,IAAI,YAAY,EAAE,CAAA;AAC/D,CAAC,CAAA;AAJY,QAAA,yBAAyB,6BAIrC"}
@@ -1,29 +0,0 @@
1
- import { TriggerStrategy } from "../../flows/triggers/trigger";
2
- import { PiecePropertyMap } from "../property";
3
- export declare type PieceBase = {
4
- name: string;
5
- displayName: string;
6
- logoUrl: string;
7
- description: string;
8
- version: string;
9
- minimumSupportedRelease?: string;
10
- maximumSupportedRelease?: string;
11
- };
12
- export declare type ActionBase = {
13
- name: string;
14
- displayName: string;
15
- description: string;
16
- sampleData: unknown;
17
- props: PiecePropertyMap;
18
- };
19
- export declare type TriggerBase = ActionBase & {
20
- type: TriggerStrategy;
21
- };
22
- export declare type PieceMetadata = PieceBase & {
23
- actions: Record<string, ActionBase>;
24
- triggers: Record<string, TriggerBase>;
25
- };
26
- export declare type PieceMetadataSummary = Omit<PieceMetadata, "actions" | "triggers"> & {
27
- actions: number;
28
- triggers: number;
29
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=piece-metadata.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"piece-metadata.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/pieces/model/piece-metadata.ts"],"names":[],"mappings":""}
@@ -1,18 +0,0 @@
1
- export declare enum PropertyType {
2
- SHORT_TEXT = "SHORT_TEXT",
3
- LONG_TEXT = "LONG_TEXT",
4
- DROPDOWN = "DROPDOWN",
5
- STATIC_DROPDOWN = "STATIC_DROPDOWN",
6
- NUMBER = "NUMBER",
7
- CHECKBOX = "CHECKBOX",
8
- OAUTH2 = "OAUTH2",
9
- SECRET_TEXT = "SECRET_TEXT",
10
- ARRAY = "ARRAY",
11
- OBJECT = "OBJECT",
12
- BASIC_AUTH = "BASIC_AUTH",
13
- JSON = "JSON",
14
- MULTI_SELECT_DROPDOWN = "MULTI_SELECT_DROPDOWN",
15
- STATIC_MULTI_SELECT_DROPDOWN = "STATIC_MULTI_SELECT_DROPDOWN",
16
- DYNAMIC = "DYNAMIC",
17
- CUSTOM_AUTH = "CUSTOM_AUTH"
18
- }
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PropertyType = void 0;
4
- var PropertyType;
5
- (function (PropertyType) {
6
- PropertyType["SHORT_TEXT"] = "SHORT_TEXT";
7
- PropertyType["LONG_TEXT"] = "LONG_TEXT";
8
- PropertyType["DROPDOWN"] = "DROPDOWN";
9
- PropertyType["STATIC_DROPDOWN"] = "STATIC_DROPDOWN";
10
- PropertyType["NUMBER"] = "NUMBER";
11
- PropertyType["CHECKBOX"] = "CHECKBOX";
12
- PropertyType["OAUTH2"] = "OAUTH2";
13
- PropertyType["SECRET_TEXT"] = "SECRET_TEXT";
14
- PropertyType["ARRAY"] = "ARRAY";
15
- PropertyType["OBJECT"] = "OBJECT";
16
- PropertyType["BASIC_AUTH"] = "BASIC_AUTH";
17
- PropertyType["JSON"] = "JSON";
18
- PropertyType["MULTI_SELECT_DROPDOWN"] = "MULTI_SELECT_DROPDOWN";
19
- PropertyType["STATIC_MULTI_SELECT_DROPDOWN"] = "STATIC_MULTI_SELECT_DROPDOWN";
20
- PropertyType["DYNAMIC"] = "DYNAMIC";
21
- PropertyType["CUSTOM_AUTH"] = "CUSTOM_AUTH";
22
- })(PropertyType = exports.PropertyType || (exports.PropertyType = {}));
23
- //# sourceMappingURL=property-type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"property-type.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/pieces/model/property-type.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAiBX;AAjBD,WAAY,YAAY;IACvB,yCAAyB,CAAA;IACzB,uCAAuB,CAAA;IACvB,qCAAqB,CAAA;IACrB,mDAAmC,CAAA;IACnC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,iCAAiB,CAAA;IACjB,2CAA2B,CAAA;IAC3B,+BAAe,CAAA;IACf,iCAAiB,CAAA;IACjB,yCAAyB,CAAA;IACzB,6BAAa,CAAA;IACb,+DAA+C,CAAA;IAC/C,6EAA6D,CAAA;IAC7D,mCAAmB,CAAA;IACnB,2CAA2B,CAAA;AAC5B,CAAC,EAjBW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAiBvB"}
@@ -1,19 +0,0 @@
1
- import { PropertyType } from "../model/property-type";
2
- export declare type BasePropertySchema = {
3
- displayName: string;
4
- description?: string;
5
- };
6
- export declare type TPropertyValue<T, U extends PropertyType, REQUIRED extends boolean> = {
7
- valueSchema: T;
8
- type: U;
9
- required: REQUIRED;
10
- defaultValue?: U extends PropertyType.ARRAY ? unknown[] : U extends PropertyType.JSON ? object : U extends PropertyType.CHECKBOX ? boolean : U extends PropertyType.LONG_TEXT ? string : U extends PropertyType.SHORT_TEXT ? string : U extends PropertyType.NUMBER ? string : U extends PropertyType.DROPDOWN ? unknown : U extends PropertyType.MULTI_SELECT_DROPDOWN ? unknown[] : U extends PropertyType.STATIC_MULTI_SELECT_DROPDOWN ? unknown[] : U extends PropertyType.STATIC_DROPDOWN ? unknown : unknown;
11
- };
12
- export declare type ShortTextProperty<R extends boolean> = BasePropertySchema & TPropertyValue<string, PropertyType.SHORT_TEXT, R>;
13
- export declare type LongTextProperty<R extends boolean> = BasePropertySchema & TPropertyValue<string, PropertyType.LONG_TEXT, R>;
14
- export declare type SecretTextProperty<R extends boolean> = BasePropertySchema & TPropertyValue<string, PropertyType.SECRET_TEXT, R>;
15
- export declare type CheckboxProperty<R extends boolean> = BasePropertySchema & TPropertyValue<boolean, PropertyType.CHECKBOX, R>;
16
- export declare type NumberProperty<R extends boolean> = BasePropertySchema & TPropertyValue<number, PropertyType.NUMBER, R>;
17
- export declare type ArrayProperty<R extends boolean> = BasePropertySchema & TPropertyValue<unknown[], PropertyType.ARRAY, R>;
18
- export declare type ObjectProperty<R extends boolean> = BasePropertySchema & TPropertyValue<Record<string, unknown>, PropertyType.OBJECT, R>;
19
- export declare type JsonProperty<R extends boolean> = BasePropertySchema & TPropertyValue<Record<string, unknown>, PropertyType.JSON, R>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=base-prop.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-prop.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/pieces/property/base-prop.ts"],"names":[],"mappings":""}
@@ -1,17 +0,0 @@
1
- import { PropertyType } from "../model/property-type";
2
- import { BasePropertySchema, TPropertyValue } from "./base-prop";
3
- export declare type BasicAuthPropertySchema = BasePropertySchema & {
4
- username: {
5
- displayName: string;
6
- description?: string;
7
- };
8
- password: {
9
- displayName: string;
10
- description?: string;
11
- };
12
- };
13
- export declare type BasicAuthPropertyValue = {
14
- username: string;
15
- password: string;
16
- };
17
- export declare type BasicAuthProperty<R extends boolean> = BasicAuthPropertySchema & TPropertyValue<BasicAuthPropertyValue, PropertyType.BASIC_AUTH, R>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=basic-auth-prop.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"basic-auth-prop.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/pieces/property/basic-auth-prop.ts"],"names":[],"mappings":""}
@@ -1,13 +0,0 @@
1
- import { PropertyType } from "../model/property-type";
2
- import { BasePropertySchema, CheckboxProperty, NumberProperty, SecretTextProperty, ShortTextProperty, TPropertyValue } from "./base-prop";
3
- import { StaticDropdownProperty } from "./dropdown-prop";
4
- import { StaticPropsValue } from "./property";
5
- export declare type CustomAuthProp = ShortTextProperty<boolean> | SecretTextProperty<boolean> | NumberProperty<boolean> | StaticDropdownProperty<unknown, boolean> | CheckboxProperty<boolean>;
6
- export interface CustomAuthProps {
7
- [name: string]: CustomAuthProp;
8
- }
9
- export declare type CustomAuthPropertyValue<T extends CustomAuthProps> = StaticPropsValue<T>;
10
- export declare type CustomAuthPropertySchema<T> = BasePropertySchema & {
11
- props: T;
12
- };
13
- export declare type CustomAuthProperty<R extends boolean, T extends CustomAuthProps> = CustomAuthPropertySchema<T> & TPropertyValue<CustomAuthPropertyValue<T>, PropertyType.CUSTOM_AUTH, R>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=custom-auth-prop.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom-auth-prop.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/pieces/property/custom-auth-prop.ts"],"names":[],"mappings":""}
@@ -1,27 +0,0 @@
1
- import { PropertyType } from "../model/property-type";
2
- import { BasePropertySchema, TPropertyValue } from "./base-prop";
3
- import { BasicAuthPropertyValue } from "./basic-auth-prop";
4
- import { OAuth2PropertyValue } from "./oauth2-prop";
5
- export declare type DropdownState<T> = {
6
- disabled?: boolean;
7
- placeholder?: string;
8
- options: DropdownOption<T>[];
9
- };
10
- export declare type DropdownOption<T> = {
11
- label: string;
12
- value: T;
13
- };
14
- export declare type DropdownProperty<T, R extends boolean> = BasePropertySchema & {
15
- refreshers: string[];
16
- options: (propsValue: Record<string, undefined | OAuth2PropertyValue | number | string | object | BasicAuthPropertyValue | unknown[]>) => Promise<DropdownState<T>>;
17
- } & TPropertyValue<T, PropertyType.DROPDOWN, R>;
18
- export declare type StaticDropdownProperty<T, R extends boolean> = BasePropertySchema & {
19
- options: DropdownState<T>;
20
- } & TPropertyValue<T, PropertyType.STATIC_DROPDOWN, R>;
21
- export declare type MultiSelectDropdownProperty<T, R extends boolean> = BasePropertySchema & {
22
- refreshers: string[];
23
- options: (propsValue: Record<string, OAuth2PropertyValue | number | string | object | BasicAuthPropertyValue | unknown[]>) => Promise<DropdownState<T>>;
24
- } & TPropertyValue<T[], PropertyType.MULTI_SELECT_DROPDOWN, R>;
25
- export declare type StaticMultiSelectDropdownProperty<T, R extends boolean> = BasePropertySchema & {
26
- options: DropdownState<T>;
27
- } & TPropertyValue<T[], PropertyType.STATIC_MULTI_SELECT_DROPDOWN, R>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=dropdown-prop.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-prop.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/pieces/property/dropdown-prop.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- import { PropertyType } from "../model/property-type";
2
- import { BasePropertySchema, NumberProperty, ShortTextProperty, TPropertyValue } from "./base-prop";
3
- import { StaticDropdownProperty, StaticMultiSelectDropdownProperty } from "./dropdown-prop";
4
- export declare type DynamicProp = ShortTextProperty<boolean> | NumberProperty<boolean> | StaticDropdownProperty<any, boolean> | StaticMultiSelectDropdownProperty<any, boolean>;
5
- export declare type DynamicPropsValue = Record<string, DynamicProp['valueSchema']>;
6
- export declare type DynamicPropsSchema = BasePropertySchema & {
7
- props: (propsValue: Record<string, DynamicPropsValue>) => Promise<Record<string, DynamicProp>>;
8
- refreshers: string[];
9
- };
10
- export declare type DynamicProperties<R extends boolean> = DynamicPropsSchema & TPropertyValue<DynamicPropsValue, PropertyType.DYNAMIC, R>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=dynamic-prop.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dynamic-prop.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/pieces/property/dynamic-prop.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- export * from './base-prop';
2
- export * from './basic-auth-prop';
3
- export * from './dropdown-prop';
4
- export * from './oauth2-prop';
5
- export * from './property';
6
- export * from './dynamic-prop';
7
- export * from './custom-auth-prop';
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./base-prop"), exports);
5
- tslib_1.__exportStar(require("./basic-auth-prop"), exports);
6
- tslib_1.__exportStar(require("./dropdown-prop"), exports);
7
- tslib_1.__exportStar(require("./oauth2-prop"), exports);
8
- tslib_1.__exportStar(require("./property"), exports);
9
- tslib_1.__exportStar(require("./dynamic-prop"), exports);
10
- tslib_1.__exportStar(require("./custom-auth-prop"), exports);
11
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/pieces/property/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B;AAC5B,4DAAkC;AAClC,0DAAgC;AAChC,wDAA8B;AAC9B,qDAA2B;AAC3B,yDAA+B;AAC/B,6DAAmC"}
@@ -1,23 +0,0 @@
1
- import { PropertyType } from "../model/property-type";
2
- import { BasePropertySchema, NumberProperty, SecretTextProperty, ShortTextProperty, TPropertyValue } from "./base-prop";
3
- import { StaticDropdownProperty } from "./dropdown-prop";
4
- import { StaticPropsValue } from "./property";
5
- export declare type OAuth2Prop = ShortTextProperty<true> | SecretTextProperty<true> | NumberProperty<true> | StaticDropdownProperty<any, true>;
6
- export interface OAuth2Props {
7
- [name: string]: ShortTextProperty<boolean> | SecretTextProperty<boolean> | NumberProperty<boolean> | StaticDropdownProperty<unknown, boolean>;
8
- }
9
- export declare type OAuthPropsValue<T extends OAuth2Props> = StaticPropsValue<T>;
10
- export declare type OAuth2PropertySchema = BasePropertySchema & {
11
- props?: Record<string, OAuth2Prop>;
12
- authUrl: string;
13
- tokenUrl: string;
14
- scope: string[];
15
- pkce?: boolean;
16
- extra?: Record<string, unknown>;
17
- };
18
- export declare type OAuth2PropertyValue<T extends OAuth2Props = any> = {
19
- access_token: string;
20
- props?: OAuthPropsValue<T>;
21
- data: Record<string, any>;
22
- };
23
- export declare type OAuth2Property<R extends boolean, T extends OAuth2Props> = OAuth2PropertySchema & TPropertyValue<OAuth2PropertyValue<T>, PropertyType.OAUTH2, R>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=oauth2-prop.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"oauth2-prop.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/pieces/property/oauth2-prop.ts"],"names":[],"mappings":""}
@@ -1,38 +0,0 @@
1
- import { ArrayProperty, CheckboxProperty, JsonProperty, LongTextProperty, NumberProperty, ObjectProperty, SecretTextProperty, ShortTextProperty } from "./base-prop";
2
- import { BasicAuthProperty } from "./basic-auth-prop";
3
- import { CustomAuthProperty, CustomAuthProps } from "./custom-auth-prop";
4
- import { DropdownProperty, MultiSelectDropdownProperty, StaticDropdownProperty, StaticMultiSelectDropdownProperty } from "./dropdown-prop";
5
- import { DynamicProperties } from "./dynamic-prop";
6
- import { OAuth2Property, OAuth2Props } from "./oauth2-prop";
7
- declare type ActivepiecesPropertyIndex = {
8
- activepiecesPropertyIndex?: number;
9
- };
10
- export interface PiecePropertyMap {
11
- [name: string]: PiecePropertyTypes & ActivepiecesPropertyIndex;
12
- }
13
- export declare type PiecePropertyTypes = ShortTextProperty<boolean> | LongTextProperty<boolean> | OAuth2Property<boolean, OAuth2Props> | CheckboxProperty<boolean> | DropdownProperty<any, boolean> | StaticDropdownProperty<any, boolean> | NumberProperty<boolean> | SecretTextProperty<boolean> | BasicAuthProperty<boolean> | ArrayProperty<boolean> | ObjectProperty<boolean> | JsonProperty<boolean> | MultiSelectDropdownProperty<unknown, boolean> | StaticMultiSelectDropdownProperty<unknown, boolean> | DynamicProperties<boolean> | CustomAuthProperty<boolean, CustomAuthProps>;
14
- export declare type StaticPropsValue<T extends PiecePropertyMap> = {
15
- [P in keyof T]: T[P] extends {
16
- required: true;
17
- } ? T[P]['valueSchema'] : T[P]['valueSchema'] | undefined;
18
- };
19
- export declare const Property: {
20
- ShortText<R extends boolean>(request: Properties<ShortTextProperty<R>>): R extends true ? ShortTextProperty<true> : ShortTextProperty<false>;
21
- Checkbox<R_1 extends boolean>(request: Properties<CheckboxProperty<R_1>>): R_1 extends true ? CheckboxProperty<true> : CheckboxProperty<false>;
22
- LongText<R_2 extends boolean>(request: Properties<LongTextProperty<R_2>>): R_2 extends true ? LongTextProperty<true> : LongTextProperty<false>;
23
- Number<R_3 extends boolean>(request: Properties<NumberProperty<R_3>>): R_3 extends true ? NumberProperty<true> : NumberProperty<false>;
24
- Json<R_4 extends boolean>(request: Properties<JsonProperty<R_4>>): R_4 extends true ? JsonProperty<true> : JsonProperty<false>;
25
- Array<R_5 extends boolean>(request: Properties<ArrayProperty<R_5>>): R_5 extends true ? ArrayProperty<true> : ArrayProperty<false>;
26
- Object<R_6 extends boolean>(request: Properties<ObjectProperty<R_6>>): R_6 extends true ? ObjectProperty<true> : ObjectProperty<false>;
27
- SecretText<R_7 extends boolean>(request: Properties<SecretTextProperty<R_7>>): R_7 extends true ? SecretTextProperty<true> : SecretTextProperty<false>;
28
- BasicAuth<R_8 extends boolean>(request: Properties<BasicAuthProperty<R_8>>): R_8 extends true ? BasicAuthProperty<true> : BasicAuthProperty<false>;
29
- CustomAuth<R_9 extends boolean, T extends CustomAuthProps>(request: Properties<CustomAuthProperty<R_9, T>>): R_9 extends true ? CustomAuthProperty<true, T> : CustomAuthProperty<false, T>;
30
- OAuth2<R_10 extends boolean, T_1 extends OAuth2Props>(request: Properties<OAuth2Property<R_10, T_1>>): R_10 extends true ? OAuth2Property<true, T_1> : OAuth2Property<false, T_1>;
31
- Dropdown<T_2, R_11 extends boolean = boolean>(request: Properties<DropdownProperty<T_2, R_11>>): R_11 extends true ? DropdownProperty<T_2, true> : DropdownProperty<T_2, false>;
32
- StaticDropdown<T_3, R_12 extends boolean = boolean>(request: Properties<StaticDropdownProperty<T_3, R_12>>): R_12 extends true ? StaticDropdownProperty<T_3, true> : StaticDropdownProperty<T_3, false>;
33
- MultiSelectDropdown<T_4, R_13 extends boolean = boolean>(request: Properties<MultiSelectDropdownProperty<T_4, R_13>>): R_13 extends true ? MultiSelectDropdownProperty<T_4, true> : MultiSelectDropdownProperty<T_4, false>;
34
- DynamicProperties<R_14 extends boolean = boolean>(request: Properties<DynamicProperties<R_14>>): R_14 extends true ? DynamicProperties<true> : DynamicProperties<false>;
35
- StaticMultiSelectDropdown<T_5, R_15 extends boolean = boolean>(request: Properties<StaticMultiSelectDropdownProperty<T_5, R_15>>): R_15 extends true ? StaticMultiSelectDropdownProperty<T_5, true> : StaticMultiSelectDropdownProperty<T_5, false>;
36
- };
37
- declare type Properties<T> = Omit<T, "valueSchema" | "type">;
38
- export {};
@@ -1,55 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Property = void 0;
4
- const property_type_1 = require("../model/property-type");
5
- exports.Property = {
6
- ShortText(request) {
7
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.SHORT_TEXT });
8
- },
9
- Checkbox(request) {
10
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.CHECKBOX });
11
- },
12
- LongText(request) {
13
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.LONG_TEXT });
14
- },
15
- Number(request) {
16
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.NUMBER });
17
- },
18
- Json(request) {
19
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.JSON });
20
- },
21
- Array(request) {
22
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.ARRAY });
23
- },
24
- Object(request) {
25
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.OBJECT });
26
- },
27
- SecretText(request) {
28
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.SECRET_TEXT });
29
- },
30
- BasicAuth(request) {
31
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.BASIC_AUTH });
32
- },
33
- CustomAuth(request) {
34
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.CUSTOM_AUTH });
35
- },
36
- OAuth2(request) {
37
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.OAUTH2 });
38
- },
39
- Dropdown(request) {
40
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.DROPDOWN });
41
- },
42
- StaticDropdown(request) {
43
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.STATIC_DROPDOWN });
44
- },
45
- MultiSelectDropdown(request) {
46
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.MULTI_SELECT_DROPDOWN });
47
- },
48
- DynamicProperties(request) {
49
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.DYNAMIC });
50
- },
51
- StaticMultiSelectDropdown(request) {
52
- return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.STATIC_MULTI_SELECT_DROPDOWN });
53
- },
54
- };
55
- //# sourceMappingURL=property.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"property.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/pieces/property/property.ts"],"names":[],"mappings":";;;AACA,0DAAsD;AA0CzC,QAAA,QAAQ,GAAG;IACvB,SAAS,CAAoB,OAAyC;QACrE,OAAO,gCAAK,OAAO,KAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,4BAAY,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