@coasy/piece-coasy 0.0.2 → 0.0.4

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": "@coasy/piece-coasy",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "dependencies": {
5
5
  "@sinclair/typebox": "0.26.8",
6
6
  "axios": "1.6.7",
@@ -9,8 +9,6 @@
9
9
  "lodash": "4.17.21",
10
10
  "nanoid": "3.3.6",
11
11
  "semver": "7.6.0",
12
- "@activepieces/pieces-common": "0.2.12",
13
- "@activepieces/pieces-framework": "0.7.29",
14
12
  "@activepieces/shared": "0.10.104",
15
13
  "tslib": "1.14.1"
16
14
  },
package/src/index.js CHANGED
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.coasy = exports.coasyAuth = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const pieces_framework_1 = require("@activepieces/pieces-framework");
6
- const createFunnelParticipant_1 = require("./lib/actions/createFunnelParticipant");
6
+ const create_funnel_participant_1 = require("./lib/actions/create-funnel-participant");
7
+ const new_funnel_participant_1 = require("./lib/triggers/new-funnel-participant");
7
8
  exports.coasyAuth = pieces_framework_1.PieceAuth.CustomAuth({
8
9
  required: true,
9
10
  description: 'Enter coasy authentication details',
@@ -30,7 +31,7 @@ exports.coasy = (0, pieces_framework_1.createPiece)({
30
31
  minimumSupportedRelease: '0.20.0',
31
32
  logoUrl: 'https://console.achtsamkeitsakademie.de/favicon/apple-icon.png',
32
33
  authors: ["christian-schab"],
33
- actions: [createFunnelParticipant_1.createFunnelParticipant],
34
- triggers: []
34
+ actions: [create_funnel_participant_1.createFunnelParticipant],
35
+ triggers: [new_funnel_participant_1.newFunnelParticipant]
35
36
  });
36
37
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/coasy/src/index.ts"],"names":[],"mappings":";;;;AAAA,qEAAkF;AAClF,mFAAgF;AAEnE,QAAA,SAAS,GAAG,4BAAS,CAAC,UAAU,CAAC;IAC5C,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,oCAAoC;IACjD,KAAK,EAAE;QACL,OAAO,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC1B,WAAW,EAAE,UAAU;YACvB,WAAW,EAAE,oBAAoB;YACjC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,MAAM,EAAE,4BAAS,CAAC,UAAU,CAAC;YAC3B,WAAW,EAAE,SAAS;YACtB,WAAW,EAAE,mBAAmB;YAChC,QAAQ,EAAE,IAAI;SACf,CAAC;KACH;IACD,QAAQ,EAAE,CAAO,EAAE,IAAI,EAAE,EAAE,EAAE;QAC3B,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACzB,CAAC,CAAA;CACF,CAAC,CAAC;AAGU,QAAA,KAAK,GAAG,IAAA,8BAAW,EAAC;IAC/B,WAAW,EAAE,OAAO;IACpB,IAAI,EAAE,iBAAS;IACf,WAAW,EAAE,wBAAwB;IACrC,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,gEAAgE;IACzE,OAAO,EAAE,CAAC,iBAAiB,CAAC;IAC5B,OAAO,EAAE,CAAC,iDAAuB,CAAC;IAClC,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/coasy/src/index.ts"],"names":[],"mappings":";;;;AAAA,qEAAkF;AAClF,uFAAkF;AAClF,kFAA6E;AAEhE,QAAA,SAAS,GAAG,4BAAS,CAAC,UAAU,CAAC;IAC5C,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,oCAAoC;IACjD,KAAK,EAAE;QACL,OAAO,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC1B,WAAW,EAAE,UAAU;YACvB,WAAW,EAAE,oBAAoB;YACjC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,MAAM,EAAE,4BAAS,CAAC,UAAU,CAAC;YAC3B,WAAW,EAAE,SAAS;YACtB,WAAW,EAAE,mBAAmB;YAChC,QAAQ,EAAE,IAAI;SACf,CAAC;KACH;IACD,QAAQ,EAAE,CAAO,EAAE,IAAI,EAAE,EAAE,EAAE;QAC3B,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACzB,CAAC,CAAA;CACF,CAAC,CAAC;AAGU,QAAA,KAAK,GAAG,IAAA,8BAAW,EAAC;IAC/B,WAAW,EAAE,OAAO;IACpB,IAAI,EAAE,iBAAS;IACf,WAAW,EAAE,wBAAwB;IACrC,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,gEAAgE;IACzE,OAAO,EAAE,CAAC,iBAAiB,CAAC;IAC5B,OAAO,EAAE,CAAC,mDAAuB,CAAC;IAClC,QAAQ,EAAE,CAAC,6CAAoB,CAAC;CACjC,CAAC,CAAC"}
@@ -4,7 +4,7 @@ exports.createFunnelParticipant = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const pieces_framework_1 = require("@activepieces/pieces-framework");
6
6
  const index_1 = require("../../index");
7
- const coasyClient_1 = require("../../coasyClient");
7
+ const coasyClient_1 = require("../common/coasyClient");
8
8
  exports.createFunnelParticipant = (0, pieces_framework_1.createAction)({
9
9
  auth: index_1.coasyAuth,
10
10
  name: 'createFunnelParticipant',
@@ -34,19 +34,15 @@ exports.createFunnelParticipant = (0, pieces_framework_1.createAction)({
34
34
  },
35
35
  run(configValue) {
36
36
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
37
- console.log(`Run createFunnelParticipant`);
38
37
  const { propsValue, auth } = configValue;
39
- console.log(`Loaded PropsValue and Auth`);
40
38
  const client = new coasyClient_1.CoasyClient(auth.baseUrl, auth.apiKey);
41
- console.log(`Built client`);
42
39
  const request = {
43
40
  email: propsValue.email,
44
41
  firstName: propsValue.firstName,
45
42
  funnelId: propsValue.funnelId
46
43
  };
47
- console.log(`Built request`, request);
48
44
  return client.action('createFunnelParticipant', request);
49
45
  });
50
46
  }
51
47
  });
52
- //# sourceMappingURL=createFunnelParticipant.js.map
48
+ //# sourceMappingURL=create-funnel-participant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-funnel-participant.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/coasy/src/lib/actions/create-funnel-participant.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,uCAAwC;AACxC,uDAAoD;AAEvC,QAAA,uBAAuB,GAAG,IAAA,+BAAY,EAAC;IAClD,IAAI,EAAE,iBAAS;IACf,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,iCAAiC;IAC9C,KAAK,EAAE;QACL,QAAQ,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC3B,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,cAAc;YAC3B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,SAAS,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC5B,WAAW,EAAE,YAAY;YACzB,WAAW,EAAE,2BAA2B;YACxC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,QAAQ,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC3B,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,0BAA0B;YACvC,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,KAAK,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACxB,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,IAAI;SACf,CAAC;KACH;IACK,GAAG,CAAC,WAAW;;YACnB,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,WAAW,CAAC;YACzC,MAAM,MAAM,GAAG,IAAI,yBAAW,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YAC1D,MAAM,OAAO,GAAG;gBACd,KAAK,EAAE,UAAU,CAAC,KAAK;gBACvB,SAAS,EAAE,UAAU,CAAC,SAAS;gBAC/B,QAAQ,EAAE,UAAU,CAAC,QAAQ;aAC9B,CAAC;YACF,OAAO,MAAM,CAAC,MAAM,CAAC,yBAAyB,EAAE,OAAO,CAAC,CAAC;QAC3D,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -3,5 +3,8 @@ export declare class CoasyClient {
3
3
  private apiKey;
4
4
  constructor(baseUrl: string, apiKey: string);
5
5
  action(actionName: string, request: any): Promise<any>;
6
+ createTrigger(trigger: string, hookUrl: string, filter: any): Promise<any>;
7
+ destroyTrigger(webhookId: string): Promise<any>;
8
+ listTriggerEvents(trigger: string): Promise<any>;
6
9
  request(path: string, requestBody: any): Promise<any>;
7
10
  }
@@ -13,6 +13,27 @@ class CoasyClient {
13
13
  return this.request(`/apps/actions/${actionName}`, request);
14
14
  });
15
15
  }
16
+ createTrigger(trigger, hookUrl, filter) {
17
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
18
+ return this.request(`/apps/triggers/create`, {
19
+ hookUrl,
20
+ trigger,
21
+ filter
22
+ });
23
+ });
24
+ }
25
+ destroyTrigger(webhookId) {
26
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
27
+ return this.request(`/apps/triggers/destroy`, { webhookId });
28
+ });
29
+ }
30
+ listTriggerEvents(trigger) {
31
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
32
+ return this.request(`/apps/list`, {
33
+ trigger
34
+ });
35
+ });
36
+ }
16
37
  request(path, requestBody) {
17
38
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
18
39
  const request = {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coasyClient.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/coasy/src/lib/common/coasyClient.ts"],"names":[],"mappings":";;;;AAAA,+DAAsG;AAEtG,MAAa,WAAW;IAItB,YAAY,OAAe,EAAE,MAAc;QAC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CAAC;YACvB,CAAC;QACH,CAAC;KAAA;CAEF;AArDD,kCAqDC"}
@@ -0,0 +1,21 @@
1
+ import { SecretTextProperty, ShortTextProperty, StaticPropsValue, Store } from '@activepieces/pieces-framework';
2
+ export interface CreateTriggerRequest {
3
+ triggerName: string;
4
+ webhookUrl: string;
5
+ auth: StaticPropsValue<{
6
+ baseUrl: ShortTextProperty<true>;
7
+ apiKey: SecretTextProperty<true>;
8
+ }>;
9
+ filter: any;
10
+ store: Store;
11
+ }
12
+ export interface DestroyTriggerRequest {
13
+ triggerName: string;
14
+ auth: StaticPropsValue<{
15
+ baseUrl: ShortTextProperty<true>;
16
+ apiKey: SecretTextProperty<true>;
17
+ }>;
18
+ store: Store;
19
+ }
20
+ export declare const createCoasyTrigger: (request: CreateTriggerRequest) => Promise<void>;
21
+ export declare const destroyCoasyTrigger: (request: DestroyTriggerRequest) => Promise<void>;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.destroyCoasyTrigger = exports.createCoasyTrigger = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const coasyClient_1 = require("./coasyClient");
6
+ const createCoasyTrigger = (request) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
7
+ const { triggerName, webhookUrl, filter, auth, store } = request;
8
+ const client = new coasyClient_1.CoasyClient(auth.baseUrl, auth.apiKey);
9
+ const response = yield client.createTrigger(triggerName, webhookUrl, filter);
10
+ yield store.put(`${triggerName}__WEBHOOK_ID`, response.id);
11
+ });
12
+ exports.createCoasyTrigger = createCoasyTrigger;
13
+ const destroyCoasyTrigger = (request) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
14
+ const { triggerName, auth, store } = request;
15
+ const webhookId = yield store.get(`${triggerName}__WEBHOOK_ID`);
16
+ if (!webhookId)
17
+ throw new Error(`Webhook Id not found!`);
18
+ const client = new coasyClient_1.CoasyClient(auth.baseUrl, auth.apiKey);
19
+ yield client.destroyTrigger(webhookId);
20
+ });
21
+ exports.destroyCoasyTrigger = destroyCoasyTrigger;
22
+ //# sourceMappingURL=triggers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"triggers.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/coasy/src/lib/common/triggers.ts"],"names":[],"mappings":";;;;AACA,+CAA4C;AAwBrC,MAAM,kBAAkB,GAAG,CAAO,OAA6B,EAAE,EAAE;IACxE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAC,GAAG,OAAO,CAAC;IAChE,MAAM,MAAM,GAAG,IAAI,yBAAW,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC1D,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,WAAW,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7E,MAAM,KAAK,CAAC,GAAG,CAAS,GAAG,WAAW,cAAc,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC;AACrE,CAAC,CAAA,CAAC;AALW,QAAA,kBAAkB,sBAK7B;AAEK,MAAM,mBAAmB,GAAG,CAAO,OAA8B,EAAE,EAAE;IAC1E,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,EAAC,GAAG,OAAO,CAAC;IAC5C,MAAM,SAAS,GAAG,MAAM,KAAK,CAAC,GAAG,CAAS,GAAG,WAAW,cAAc,CAAC,CAAC;IACxE,IAAI,CAAC,SAAS;QAAE,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAEzD,MAAM,MAAM,GAAG,IAAI,yBAAW,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC1D,MAAM,MAAM,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;AACzC,CAAC,CAAA,CAAA;AAPY,QAAA,mBAAmB,uBAO/B"}
@@ -0,0 +1,17 @@
1
+ import { TriggerStrategy } from '@activepieces/pieces-framework';
2
+ export declare const newFunnelParticipant: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
3
+ baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
4
+ apiKey: import("@activepieces/pieces-framework").SecretTextProperty<true>;
5
+ }>, {
6
+ funnelId: import("@activepieces/pieces-framework").ArrayProperty<false>;
7
+ }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").CustomAuthProperty<{
8
+ baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
9
+ apiKey: import("@activepieces/pieces-framework").SecretTextProperty<true>;
10
+ }>, {
11
+ funnelId: import("@activepieces/pieces-framework").ArrayProperty<false>;
12
+ }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
13
+ baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
14
+ apiKey: import("@activepieces/pieces-framework").SecretTextProperty<true>;
15
+ }>, {
16
+ funnelId: import("@activepieces/pieces-framework").ArrayProperty<false>;
17
+ }>;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.newFunnelParticipant = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const pieces_framework_1 = require("@activepieces/pieces-framework");
6
+ const __1 = require("../..");
7
+ const triggers_1 = require("../common/triggers");
8
+ const triggerName = "NEW_FUNNEL_PARTICIPANT";
9
+ exports.newFunnelParticipant = (0, pieces_framework_1.createTrigger)({
10
+ auth: __1.coasyAuth,
11
+ name: 'newFunnelParticipant',
12
+ displayName: 'New Funnel Participant',
13
+ description: 'Triggers when a new funnel particpant is created',
14
+ props: {
15
+ funnelId: pieces_framework_1.Property.Array({
16
+ displayName: 'Funnel IDs',
17
+ description: 'IDs of funnel to react to',
18
+ required: false
19
+ })
20
+ },
21
+ sampleData: {},
22
+ type: pieces_framework_1.TriggerStrategy.WEBHOOK,
23
+ onEnable: (context) => (0, triggers_1.createCoasyTrigger)({
24
+ triggerName,
25
+ webhookUrl: context.webhookUrl,
26
+ auth: context.auth,
27
+ filter: context.propsValue,
28
+ store: context.store
29
+ }),
30
+ onDisable: (context) => (0, triggers_1.destroyCoasyTrigger)({
31
+ triggerName,
32
+ auth: context.auth,
33
+ store: context.store
34
+ }),
35
+ run(context) {
36
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
37
+ return [context.payload.body];
38
+ });
39
+ }
40
+ });
41
+ //# sourceMappingURL=new-funnel-participant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"new-funnel-participant.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/coasy/src/lib/triggers/new-funnel-participant.ts"],"names":[],"mappings":";;;;AAAA,qEAA0F;AAC1F,6BAAkC;AAClC,iDAA6E;AAG7E,MAAM,WAAW,GAAG,wBAAwB,CAAC;AAEhC,QAAA,oBAAoB,GAAG,IAAA,gCAAa,EAAC;IAChD,IAAI,EAAE,aAAS;IACf,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,wBAAwB;IACrC,WAAW,EAAE,kDAAkD;IAC/D,KAAK,EAAE;QACL,QAAQ,EAAE,2BAAQ,CAAC,KAAK,CAAC;YACvB,WAAW,EAAE,YAAY;YACzB,WAAW,EAAE,2BAA2B;YACxC,QAAQ,EAAE,KAAK;SAChB,CAAC;KACH;IACD,UAAU,EAAE,EAAE;IACd,IAAI,EAAE,kCAAe,CAAC,OAAO;IAC7B,QAAQ,EAAG,CAAC,OAAO,EAAE,EAAE,CAAC,IAAA,6BAAkB,EAAC;QACzC,WAAW;QACX,UAAU,EAAE,OAAO,CAAC,UAAU;QAC9B,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,MAAM,EAAE,OAAO,CAAC,UAAU;QAC1B,KAAK,EAAE,OAAO,CAAC,KAAK;KACrB,CAAC;IACF,SAAS,EAAG,CAAC,OAAO,EAAE,EAAE,CAAC,IAAA,8BAAmB,EAAC;QAC3C,WAAW;QACX,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,KAAK,EAAE,OAAO,CAAC,KAAK;KACrB,CAAC;IACI,GAAG,CAAC,OAAO;;YACf,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"coasyClient.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/coasy/src/coasyClient.ts"],"names":[],"mappings":";;;;AAAA,+DAAsG;AAEtG,MAAa,WAAW;IAItB,YAAY,OAAe,EAAE,MAAc;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAGK,MAAM,CAAC,UAAkB,EAAE,OAAY;;YAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,iBAAiB,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;QAC9D,CAAC;KAAA;IAEK,OAAO,CAAC,IAAY,EAAE,WAAgB;;YAC1C,MAAM,OAAO,GAAwB;gBACnC,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,GAAG,IAAI,CAAC,OAAO,GAAG,IAAI,EAAE;gBAC7B,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;gBACjC,cAAc,EAAE;oBACd,IAAI,EAAE,kCAAkB,CAAC,YAAY;oBACrC,KAAK,EAAE,IAAI,CAAC,MAAM;iBACnB;aACF,CAAC;YAEF,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;YAEvD,IAAI,QAAQ,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC5B,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;YACxD,CAAC;iBAAM,CAAC;gBACN,OAAO,QAAQ,CAAC,IAAI,CAAC;YACvB,CAAC;QACH,CAAC;KAAA;CAEF;AAlCD,kCAkCC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"createFunnelParticipant.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/coasy/src/lib/actions/createFunnelParticipant.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,uCAAwC;AACxC,mDAAgD;AAEnC,QAAA,uBAAuB,GAAG,IAAA,+BAAY,EAAC;IAClD,IAAI,EAAE,iBAAS;IACf,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,iCAAiC;IAC9C,KAAK,EAAE;QACL,QAAQ,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC3B,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,cAAc;YAC3B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,SAAS,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC5B,WAAW,EAAE,YAAY;YACzB,WAAW,EAAE,2BAA2B;YACxC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,QAAQ,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC3B,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,0BAA0B;YACvC,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,KAAK,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACxB,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,IAAI;SACf,CAAC;KACH;IACK,GAAG,CAAC,WAAW;;YACnB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;YAE3C,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,WAAW,CAAC;YACzC,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;YAE1C,MAAM,MAAM,GAAG,IAAI,yBAAW,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC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