@coasy/piece-coasy 0.0.6 → 0.0.7

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.6",
3
+ "version": "0.0.7",
4
4
  "dependencies": {
5
5
  "@sinclair/typebox": "0.26.8",
6
6
  "axios": "1.6.7",
package/src/index.d.ts CHANGED
@@ -1 +1,8 @@
1
- export declare const coasy: import("@activepieces/pieces-framework").Piece<import("@activepieces/pieces-framework").PieceAuthProperty>;
1
+ export declare const coasyAuth: import("@activepieces/pieces-framework").CustomAuthProperty<{
2
+ baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
3
+ apiKey: import("@activepieces/pieces-framework").SecretTextProperty<true>;
4
+ }>;
5
+ export declare const coasy: import("@activepieces/pieces-framework").Piece<import("@activepieces/pieces-framework").CustomAuthProperty<{
6
+ baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
7
+ apiKey: import("@activepieces/pieces-framework").SecretTextProperty<true>;
8
+ }>>;
package/src/index.js CHANGED
@@ -1,14 +1,31 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.coasy = void 0;
3
+ exports.coasy = exports.coasyAuth = void 0;
4
4
  const pieces_framework_1 = require("@activepieces/pieces-framework");
5
+ exports.coasyAuth = pieces_framework_1.PieceAuth.CustomAuth({
6
+ required: true,
7
+ description: 'Enter coasy authentication details',
8
+ props: {
9
+ baseUrl: pieces_framework_1.Property.ShortText({
10
+ displayName: 'Base URL',
11
+ description: 'Enter the base URL',
12
+ required: true,
13
+ }),
14
+ apiKey: pieces_framework_1.PieceAuth.SecretText({
15
+ displayName: 'API Key',
16
+ description: 'Enter the api key',
17
+ required: true
18
+ })
19
+ },
20
+ });
5
21
  exports.coasy = (0, pieces_framework_1.createPiece)({
6
- displayName: "Coasy",
7
- auth: pieces_framework_1.PieceAuth.None(),
22
+ displayName: 'Coasy',
23
+ auth: exports.coasyAuth,
24
+ description: 'Communicate with Coasy',
8
25
  minimumSupportedRelease: '0.20.0',
9
- logoUrl: "https://cdn.activepieces.com/pieces/coasy.png",
10
- authors: [],
26
+ logoUrl: 'https://console.achtsamkeitsakademie.de/favicon/apple-icon.png',
27
+ authors: ["christian-schab"],
11
28
  actions: [],
12
- triggers: [],
29
+ triggers: []
13
30
  });
14
31
  //# 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":";;;AACI,qEAAwE;AAE3D,QAAA,KAAK,GAAG,IAAA,8BAAW,EAAC;IAC/B,WAAW,EAAE,OAAO;IACpB,IAAI,EAAE,4BAAS,CAAC,IAAI,EAAE;IACtB,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,+CAA+C;IACxD,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,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;AAErE,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;CACF,CAAC,CAAC;AAEU,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,EAAE;IACX,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}