@frogbotai/piece-trello 0.15.0 → 0.16.0

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/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type PieceFactoryConfig } from "frogbot/pieces";
1
+ import { type PieceFactoryConfig } from 'frogbot/pieces';
2
2
  export declare const trelloActions: readonly ["create_card", "get_card", "update_card", "delete_card", "get_card_attachments", "add_card_attachment"];
3
3
  export declare const trelloScopes: readonly [];
4
4
  export declare function createTrello(config?: PieceFactoryConfig): import("frogbot/pieces").Piece & {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAA2B,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAElF,eAAO,MAAM,aAAa,mHAAoH,CAAC;AAC/I,eAAO,MAAM,YAAY,aAAc,CAAC;AAExC,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,kBAAkB;IAUpD,+CAA+C;;IAE/C,mCAAmC;;IAEnC,6CAA6C;;IAE7C,6CAA6C;;IAE7C,gEAAgE;;IAEhE,yDAAyD;;IAEzD,iEAAiE;;IAEjE,iEAAiE;;IAEjE,qEAAqE;;EAGxE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAA2B,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAElF,eAAO,MAAM,aAAa,mHAOhB,CAAC;AACX,eAAO,MAAM,YAAY,aAAc,CAAC;AAExC,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,kBAAkB;IAUpD,+CAA+C;;IAE/C,mCAAmC;;IAEnC,6CAA6C;;IAE7C,6CAA6C;;IAE7C,gEAAgE;;IAEhE,yDAAyD;;IAEzD,iEAAiE;;IAEjE,iEAAiE;;IAEjE,qEAAqE;;EAGxE"}
package/dist/index.js CHANGED
@@ -1,35 +1,42 @@
1
1
  import * as module from '@activepieces/piece-trello';
2
- import { createActivepiecesPiece } from "frogbot/pieces";
3
- export const trelloActions = ['create_card', 'get_card', 'update_card', 'delete_card', 'get_card_attachments', 'add_card_attachment'];
2
+ import { createActivepiecesPiece } from 'frogbot/pieces';
3
+ export const trelloActions = [
4
+ 'create_card',
5
+ 'get_card',
6
+ 'update_card',
7
+ 'delete_card',
8
+ 'get_card_attachments',
9
+ 'add_card_attachment',
10
+ ];
4
11
  export const trelloScopes = [];
5
12
  export function createTrello(config) {
6
13
  const piece = createActivepiecesPiece({
7
14
  module: module,
8
- service: "trello",
9
- credentialType: "basic_auth",
15
+ service: 'trello',
16
+ credentialType: 'basic_auth',
10
17
  defaultActions: trelloActions,
11
18
  scopes: trelloScopes,
12
19
  config,
13
20
  });
14
21
  return Object.assign(piece, {
15
22
  /** Create Card: Create a new card in Trello */
16
- createCard: piece.tool("create_card"),
23
+ createCard: piece.tool('create_card'),
17
24
  /** Get Card: Gets a card by ID. */
18
- getCard: piece.tool("get_card"),
25
+ getCard: piece.tool('get_card'),
19
26
  /** Update Card: Updates an existing card. */
20
- updateCard: piece.tool("update_card"),
27
+ updateCard: piece.tool('update_card'),
21
28
  /** Delete Card: Deletes an existing card. */
22
- deleteCard: piece.tool("delete_card"),
29
+ deleteCard: piece.tool('delete_card'),
23
30
  /** Get All Card Attachments: Gets all attachments on a card. */
24
- getCardAttachments: piece.tool("get_card_attachments"),
31
+ getCardAttachments: piece.tool('get_card_attachments'),
25
32
  /** Add Card Attachment: Adds an attachment to a card. */
26
- addCardAttachment: piece.tool("add_card_attachment"),
33
+ addCardAttachment: piece.tool('add_card_attachment'),
27
34
  /** Get Card Attachment: Gets a specific attachment on a card. */
28
- getCardAttachment: piece.tool("get_card_attachment"),
35
+ getCardAttachment: piece.tool('get_card_attachment'),
29
36
  /** Delete Card Attachment: Deletes an attachment from a card. */
30
- deleteCardAttachment: piece.tool("delete_card_attachment"),
37
+ deleteCardAttachment: piece.tool('delete_card_attachment'),
31
38
  /** Custom API Call: Make a custom API call to a specific endpoint */
32
- customApiCall: piece.tool("custom_api_call"),
39
+ customApiCall: piece.tool('custom_api_call'),
33
40
  });
34
41
  }
35
42
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAA2B,MAAM,gBAAgB,CAAC;AAElF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,aAAa,EAAE,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,sBAAsB,EAAE,qBAAqB,CAAU,CAAC;AAC/I,MAAM,CAAC,MAAM,YAAY,GAAG,EAAW,CAAC;AAExC,MAAM,UAAU,YAAY,CAAC,MAA2B;IACtD,MAAM,KAAK,GAAG,uBAAuB,CAAC;QACpC,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,QAAQ;QACjB,cAAc,EAAE,YAAY;QAC5B,cAAc,EAAE,aAAa;QAC7B,MAAM,EAAE,YAAY;QACpB,MAAM;KACP,CAAC,CAAC;IACH,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;QAC1B,+CAA+C;QAC/C,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC;QACrC,mCAAmC;QACnC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC;QAC/B,6CAA6C;QAC7C,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC;QACrC,6CAA6C;QAC7C,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC;QACrC,gEAAgE;QAChE,kBAAkB,EAAE,KAAK,CAAC,IAAI,CAAC,sBAAsB,CAAC;QACtD,yDAAyD;QACzD,iBAAiB,EAAE,KAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC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AiB,EAAE,KAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC;QACpD,iEAAiE;QACjE,iBAAiB,EAAE,KAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC;QACpD,iEAAiE;QACjE,oBAAoB,EAAE,KAAK,CAAC,IAAI,CAAC,wBAAwB,CAAC;QAC1D,qEAAqE;QACrE,aAAa,EAAE,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAC;KAC7C,CAAC,CAAC;AACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frogbotai/piece-trello",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Trello tools for FrogBot.",
5
5
  "license": "MIT",
6
6
  "author": "Colby Gilbert",
@@ -22,11 +22,11 @@
22
22
  "@activepieces/piece-trello": "0.4.10"
23
23
  },
24
24
  "peerDependencies": {
25
- "frogbot": "0.15.0"
25
+ "frogbot": "0.16.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "typescript": "5.6.2",
29
- "frogbot": "0.15.0"
29
+ "frogbot": "0.16.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"