@activepieces/piece-pylon 0.0.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/README.md +7 -0
- package/package.json +36 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +30 -0
- package/src/index.js.map +1 -0
package/README.md
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@activepieces/piece-pylon",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"@anthropic-ai/sdk": "0.27.3",
|
|
6
|
+
"@sinclair/typebox": "0.34.11",
|
|
7
|
+
"axios": "1.7.8",
|
|
8
|
+
"axios-retry": "4.4.1",
|
|
9
|
+
"deepmerge-ts": "7.1.0",
|
|
10
|
+
"mime-types": "2.1.35",
|
|
11
|
+
"nanoid": "3.3.8",
|
|
12
|
+
"openai": "4.67.1",
|
|
13
|
+
"replicate": "0.34.1",
|
|
14
|
+
"semver": "7.6.0",
|
|
15
|
+
"zod": "3.23.8",
|
|
16
|
+
"@activepieces/pieces-common": "0.2.37",
|
|
17
|
+
"@activepieces/pieces-framework": "0.7.42",
|
|
18
|
+
"@activepieces/shared": "0.10.133",
|
|
19
|
+
"tslib": "1.14.1"
|
|
20
|
+
},
|
|
21
|
+
"overrides": {
|
|
22
|
+
"cross-spawn": "7.0.6",
|
|
23
|
+
"@tryfabric/martian": {
|
|
24
|
+
"@notionhq/client": "$@notionhq/client"
|
|
25
|
+
},
|
|
26
|
+
"vite": {
|
|
27
|
+
"rollup": "npm:@rollup/wasm-node"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"resolutions": {
|
|
31
|
+
"rollup": "npm:@rollup/wasm-node"
|
|
32
|
+
},
|
|
33
|
+
"main": "./src/index.js",
|
|
34
|
+
"type": "commonjs",
|
|
35
|
+
"types": "./src/index.d.ts"
|
|
36
|
+
}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const pylon: import("@activepieces/pieces-framework").Piece<import("@activepieces/pieces-framework").SecretTextProperty<true>>;
|
package/src/index.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.pylon = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
+
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
7
|
+
const auth = pieces_framework_1.PieceAuth.SecretText({
|
|
8
|
+
displayName: "API Key",
|
|
9
|
+
required: true,
|
|
10
|
+
});
|
|
11
|
+
exports.pylon = (0, pieces_framework_1.createPiece)({
|
|
12
|
+
displayName: "Pylon",
|
|
13
|
+
auth,
|
|
14
|
+
minimumSupportedRelease: '0.36.1',
|
|
15
|
+
logoUrl: "https://cdn.activepieces.com/pieces/pylon.png",
|
|
16
|
+
authors: [],
|
|
17
|
+
actions: [
|
|
18
|
+
(0, pieces_common_1.createCustomApiCallAction)({
|
|
19
|
+
auth: auth,
|
|
20
|
+
baseUrl: () => 'https://api.usepylon.com',
|
|
21
|
+
authMapping: (auth) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
22
|
+
return {
|
|
23
|
+
Authorization: `Bearer ${auth}`,
|
|
24
|
+
};
|
|
25
|
+
}),
|
|
26
|
+
})
|
|
27
|
+
],
|
|
28
|
+
triggers: [],
|
|
29
|
+
});
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/pylon/src/index.ts"],"names":[],"mappings":";;;;AACA,qEAAwE;AACxE,+DAAwE;AAExE,MAAM,IAAI,GAAG,4BAAS,CAAC,UAAU,CAAC;IAChC,WAAW,EAAE,SAAS;IACtB,QAAQ,EAAE,IAAI;CACf,CAAC,CAAA;AACW,QAAA,KAAK,GAAG,IAAA,8BAAW,EAAC;IAC/B,WAAW,EAAE,OAAO;IACpB,IAAI;IACJ,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,+CAA+C;IACxD,OAAO,EAAE,EAAE;IACX,OAAO,EAAE;QACP,IAAA,yCAAyB,EAAC;YACxB,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,GAAG,EAAE,CAAC,0BAA0B;YACzC,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;gBAC1B,OAAO;oBACL,aAAa,EAAE,UAAU,IAAI,EAAE;iBAChC,CAAC;YACJ,CAAC,CAAA;SACF,CAAC;KACH;IACD,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}
|