@keystrokehq/pilvio 0.1.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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/check-active-campaigns.cjs +16 -0
- package/dist/actions/check-active-campaigns.cjs.map +1 -0
- package/dist/actions/check-active-campaigns.d.cts +9 -0
- package/dist/actions/check-active-campaigns.d.cts.map +1 -0
- package/dist/actions/check-active-campaigns.d.mts +9 -0
- package/dist/actions/check-active-campaigns.d.mts.map +1 -0
- package/dist/actions/check-active-campaigns.mjs +13 -0
- package/dist/actions/check-active-campaigns.mjs.map +1 -0
- package/dist/actions/get-user-info.cjs +36 -0
- package/dist/actions/get-user-info.cjs.map +1 -0
- package/dist/actions/get-user-info.d.cts +9 -0
- package/dist/actions/get-user-info.d.cts.map +1 -0
- package/dist/actions/get-user-info.d.mts +9 -0
- package/dist/actions/get-user-info.d.mts.map +1 -0
- package/dist/actions/get-user-info.mjs +35 -0
- package/dist/actions/get-user-info.mjs.map +1 -0
- package/dist/actions/index.cjs +21 -0
- package/dist/actions/index.d.cts +11 -0
- package/dist/actions/index.d.mts +11 -0
- package/dist/actions/index.mjs +11 -0
- package/dist/actions/list-billing-accounts.cjs +16 -0
- package/dist/actions/list-billing-accounts.cjs.map +1 -0
- package/dist/actions/list-billing-accounts.d.cts +9 -0
- package/dist/actions/list-billing-accounts.d.cts.map +1 -0
- package/dist/actions/list-billing-accounts.d.mts +9 -0
- package/dist/actions/list-billing-accounts.d.mts.map +1 -0
- package/dist/actions/list-billing-accounts.mjs +13 -0
- package/dist/actions/list-billing-accounts.mjs.map +1 -0
- package/dist/actions/list-credit-cards.cjs +26 -0
- package/dist/actions/list-credit-cards.cjs.map +1 -0
- package/dist/actions/list-credit-cards.d.cts +9 -0
- package/dist/actions/list-credit-cards.d.cts.map +1 -0
- package/dist/actions/list-credit-cards.d.mts +9 -0
- package/dist/actions/list-credit-cards.d.mts.map +1 -0
- package/dist/actions/list-credit-cards.mjs +25 -0
- package/dist/actions/list-credit-cards.mjs.map +1 -0
- package/dist/actions/list-invoices.cjs +40 -0
- package/dist/actions/list-invoices.cjs.map +1 -0
- package/dist/actions/list-invoices.d.cts +9 -0
- package/dist/actions/list-invoices.d.cts.map +1 -0
- package/dist/actions/list-invoices.d.mts +9 -0
- package/dist/actions/list-invoices.d.mts.map +1 -0
- package/dist/actions/list-invoices.mjs +39 -0
- package/dist/actions/list-invoices.mjs.map +1 -0
- package/dist/actions/list-locations.cjs +27 -0
- package/dist/actions/list-locations.cjs.map +1 -0
- package/dist/actions/list-locations.d.cts +9 -0
- package/dist/actions/list-locations.d.cts.map +1 -0
- package/dist/actions/list-locations.d.mts +9 -0
- package/dist/actions/list-locations.d.mts.map +1 -0
- package/dist/actions/list-locations.mjs +26 -0
- package/dist/actions/list-locations.mjs.map +1 -0
- package/dist/actions/list-vm-resource-pools.cjs +36 -0
- package/dist/actions/list-vm-resource-pools.cjs.map +1 -0
- package/dist/actions/list-vm-resource-pools.d.cts +9 -0
- package/dist/actions/list-vm-resource-pools.d.cts.map +1 -0
- package/dist/actions/list-vm-resource-pools.d.mts +9 -0
- package/dist/actions/list-vm-resource-pools.d.mts.map +1 -0
- package/dist/actions/list-vm-resource-pools.mjs +35 -0
- package/dist/actions/list-vm-resource-pools.mjs.map +1 -0
- package/dist/actions/list-vm-snapshots.cjs +30 -0
- package/dist/actions/list-vm-snapshots.cjs.map +1 -0
- package/dist/actions/list-vm-snapshots.d.cts +9 -0
- package/dist/actions/list-vm-snapshots.d.cts.map +1 -0
- package/dist/actions/list-vm-snapshots.d.mts +9 -0
- package/dist/actions/list-vm-snapshots.d.mts.map +1 -0
- package/dist/actions/list-vm-snapshots.mjs +29 -0
- package/dist/actions/list-vm-snapshots.mjs.map +1 -0
- package/dist/actions/list-vms.cjs +35 -0
- package/dist/actions/list-vms.cjs.map +1 -0
- package/dist/actions/list-vms.d.cts +9 -0
- package/dist/actions/list-vms.d.cts.map +1 -0
- package/dist/actions/list-vms.d.mts +9 -0
- package/dist/actions/list-vms.d.mts.map +1 -0
- package/dist/actions/list-vms.mjs +34 -0
- package/dist/actions/list-vms.mjs.map +1 -0
- package/dist/actions/update-user-profile.cjs +42 -0
- package/dist/actions/update-user-profile.cjs.map +1 -0
- package/dist/actions/update-user-profile.d.cts +9 -0
- package/dist/actions/update-user-profile.d.cts.map +1 -0
- package/dist/actions/update-user-profile.d.mts +9 -0
- package/dist/actions/update-user-profile.d.mts.map +1 -0
- package/dist/actions/update-user-profile.mjs +41 -0
- package/dist/actions/update-user-profile.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +26 -0
- package/dist/index.d.cts +13 -0
- package/dist/index.d.mts +13 -0
- package/dist/index.mjs +14 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-user-profile.d.ts
|
|
4
|
+
declare const PilvioUpdateUserProfileInput: z.ZodTypeAny;
|
|
5
|
+
declare const PilvioUpdateUserProfileOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pilvioUpdateUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pilvioUpdateUserProfile };
|
|
9
|
+
//# sourceMappingURL=update-user-profile.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user-profile.d.mts","names":[],"sources":["../../src/actions/update-user-profile.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAMmG;AAAA,cAcnI,6BAAA,EAA+B,CAAA,CAAE,UAOc;AAAA,cAE/C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-user-profile.ts
|
|
4
|
+
const PilvioUpdateUserProfileInput = z.object({
|
|
5
|
+
email: z.string().describe("User's email address").optional(),
|
|
6
|
+
username: z.string().describe("User's username (required for identification)"),
|
|
7
|
+
last_name: z.string().describe("User's last name").optional(),
|
|
8
|
+
first_name: z.string().describe("User's first name").optional(),
|
|
9
|
+
phone_number: z.string().describe("User's phone number").optional()
|
|
10
|
+
}).describe("Fields to update in the authenticated user's profile.\nUsername is required. At least one other field must be provided to update.");
|
|
11
|
+
const PilvioUpdateUserProfile_ProfileDataSchema = z.object({
|
|
12
|
+
id: z.number().int().describe("Profile ID"),
|
|
13
|
+
lang: z.string().describe("User's preferred language").nullable().optional(),
|
|
14
|
+
email: z.string().describe("User's email address"),
|
|
15
|
+
avatar: z.string().describe("Avatar URL").nullable().optional(),
|
|
16
|
+
user_id: z.number().int().describe("User ID reference"),
|
|
17
|
+
last_name: z.string().describe("User's last name").nullable().optional(),
|
|
18
|
+
created_at: z.string().describe("Profile creation timestamp"),
|
|
19
|
+
first_name: z.string().describe("User's first name").nullable().optional(),
|
|
20
|
+
updated_at: z.string().describe("Profile last update timestamp"),
|
|
21
|
+
phone_number: z.string().describe("User's phone number").nullable().optional(),
|
|
22
|
+
personal_id_number: z.string().describe("Personal ID number").nullable().optional()
|
|
23
|
+
}).describe("Nested profile data structure from the API response.");
|
|
24
|
+
const pilvioUpdateUserProfile = action("PILVIO_UPDATE_USER_PROFILE", {
|
|
25
|
+
slug: "pilvio-update-user-profile",
|
|
26
|
+
name: "Update User Profile",
|
|
27
|
+
description: "Tool to update the authenticated user's profile. Use after obtaining a valid API key when you need to modify profile details (e.g., change email or name).",
|
|
28
|
+
input: PilvioUpdateUserProfileInput,
|
|
29
|
+
output: z.object({
|
|
30
|
+
id: z.number().int().describe("Unique identifier of the user"),
|
|
31
|
+
name: z.string().describe("User's name/email identifier"),
|
|
32
|
+
kong_key: z.string().describe("Kong API key").nullable().optional(),
|
|
33
|
+
cookie_id: z.string().describe("Cookie identifier"),
|
|
34
|
+
signup_site: z.string().describe("Signup site").nullable().optional(),
|
|
35
|
+
profile_data: PilvioUpdateUserProfile_ProfileDataSchema.nullable()
|
|
36
|
+
}).describe("The updated user profile returned by the API.")
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
export { pilvioUpdateUserProfile };
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=update-user-profile.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user-profile.mjs","names":[],"sources":["../../src/actions/update-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioUpdateUserProfileInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"User's email address\").optional(),\n username: z.string().describe(\"User's username (required for identification)\"),\n last_name: z.string().describe(\"User's last name\").optional(),\n first_name: z.string().describe(\"User's first name\").optional(),\n phone_number: z.string().describe(\"User's phone number\").optional(),\n}).describe(\"Fields to update in the authenticated user's profile.\\nUsername is required. At least one other field must be provided to update.\");\nconst PilvioUpdateUserProfile_ProfileDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Profile ID\"),\n lang: z.string().describe(\"User's preferred language\").nullable().optional(),\n email: z.string().describe(\"User's email address\"),\n avatar: z.string().describe(\"Avatar URL\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID reference\"),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n created_at: z.string().describe(\"Profile creation timestamp\"),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n updated_at: z.string().describe(\"Profile last update timestamp\"),\n phone_number: z.string().describe(\"User's phone number\").nullable().optional(),\n personal_id_number: z.string().describe(\"Personal ID number\").nullable().optional(),\n}).describe(\"Nested profile data structure from the API response.\");\nexport const PilvioUpdateUserProfileOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\"),\n name: z.string().describe(\"User's name/email identifier\"),\n kong_key: z.string().describe(\"Kong API key\").nullable().optional(),\n cookie_id: z.string().describe(\"Cookie identifier\"),\n signup_site: z.string().describe(\"Signup site\").nullable().optional(),\n profile_data: PilvioUpdateUserProfile_ProfileDataSchema.nullable(),\n}).describe(\"The updated user profile returned by the API.\");\n\nexport const pilvioUpdateUserProfile = action(\"PILVIO_UPDATE_USER_PROFILE\", {\n slug: \"pilvio-update-user-profile\",\n name: \"Update User Profile\",\n description: \"Tool to update the authenticated user's profile. Use after obtaining a valid API key when you need to modify profile details (e.g., change email or name).\",\n input: PilvioUpdateUserProfileInput,\n output: PilvioUpdateUserProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,mIAAmI;AAC/I,MAAM,4CAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC/D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAUlE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,cAAc,0CAA0C,SAAS;CACnE,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pilvio = defineApp({\n slug: \"pilvio\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,UAAA,uCAAA,CAAA,CAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pilvio = defineApp({\n slug: \"pilvio\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const pilvioCatalog = {
|
|
4
|
+
"slug": "pilvio",
|
|
5
|
+
"name": "Pilvio",
|
|
6
|
+
"description": "Pilvio is a cloud service provider offering virtual machines, object storage, and full API support for resource management and automation.",
|
|
7
|
+
"category": "Developer Tools",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/pilvio",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.pilvioCatalog = pilvioCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pilvioCatalog = {\n \"slug\": \"pilvio\",\n \"name\": \"Pilvio\",\n \"description\": \"Pilvio is a cloud service provider offering virtual machines, object storage, and full API support for resource management and automation.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/pilvio\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const pilvioCatalog: {
|
|
4
|
+
readonly slug: "pilvio";
|
|
5
|
+
readonly name: "Pilvio";
|
|
6
|
+
readonly description: "Pilvio is a cloud service provider offering virtual machines, object storage, and full API support for resource management and automation.";
|
|
7
|
+
readonly category: "Developer Tools";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/pilvio";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { pilvioCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,aAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const pilvioCatalog: {
|
|
4
|
+
readonly slug: "pilvio";
|
|
5
|
+
readonly name: "Pilvio";
|
|
6
|
+
readonly description: "Pilvio is a cloud service provider offering virtual machines, object storage, and full API support for resource management and automation.";
|
|
7
|
+
readonly category: "Developer Tools";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/pilvio";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { pilvioCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,aAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const pilvioCatalog = {
|
|
4
|
+
"slug": "pilvio",
|
|
5
|
+
"name": "Pilvio",
|
|
6
|
+
"description": "Pilvio is a cloud service provider offering virtual machines, object storage, and full API support for resource management and automation.",
|
|
7
|
+
"category": "Developer Tools",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/pilvio",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { pilvioCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pilvioCatalog = {\n \"slug\": \"pilvio\",\n \"name\": \"Pilvio\",\n \"description\": \"Pilvio is a cloud service provider offering virtual machines, object storage, and full API support for resource management and automation.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/pilvio\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "pilvio";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executePilvioTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executePilvioTool = executePilvioTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"pilvio\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePilvioTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,kBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "pilvio";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executePilvioTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executePilvioTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"pilvio\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePilvioTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,kBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_check_active_campaigns = require("./actions/check-active-campaigns.cjs");
|
|
5
|
+
const require_get_user_info = require("./actions/get-user-info.cjs");
|
|
6
|
+
const require_list_billing_accounts = require("./actions/list-billing-accounts.cjs");
|
|
7
|
+
const require_list_credit_cards = require("./actions/list-credit-cards.cjs");
|
|
8
|
+
const require_list_invoices = require("./actions/list-invoices.cjs");
|
|
9
|
+
const require_list_locations = require("./actions/list-locations.cjs");
|
|
10
|
+
const require_list_vm_resource_pools = require("./actions/list-vm-resource-pools.cjs");
|
|
11
|
+
const require_list_vm_snapshots = require("./actions/list-vm-snapshots.cjs");
|
|
12
|
+
const require_list_vms = require("./actions/list-vms.cjs");
|
|
13
|
+
const require_update_user_profile = require("./actions/update-user-profile.cjs");
|
|
14
|
+
require("./actions/index.cjs");
|
|
15
|
+
exports.pilvio = require_app.pilvio;
|
|
16
|
+
exports.pilvioCatalog = require_catalog.pilvioCatalog;
|
|
17
|
+
exports.pilvioCheckActiveCampaigns = require_check_active_campaigns.pilvioCheckActiveCampaigns;
|
|
18
|
+
exports.pilvioGetUserInfo = require_get_user_info.pilvioGetUserInfo;
|
|
19
|
+
exports.pilvioListBillingAccounts = require_list_billing_accounts.pilvioListBillingAccounts;
|
|
20
|
+
exports.pilvioListCreditCards = require_list_credit_cards.pilvioListCreditCards;
|
|
21
|
+
exports.pilvioListInvoices = require_list_invoices.pilvioListInvoices;
|
|
22
|
+
exports.pilvioListLocations = require_list_locations.pilvioListLocations;
|
|
23
|
+
exports.pilvioListVmResourcePools = require_list_vm_resource_pools.pilvioListVmResourcePools;
|
|
24
|
+
exports.pilvioListVmSnapshots = require_list_vm_snapshots.pilvioListVmSnapshots;
|
|
25
|
+
exports.pilvioListVms = require_list_vms.pilvioListVms;
|
|
26
|
+
exports.pilvioUpdateUserProfile = require_update_user_profile.pilvioUpdateUserProfile;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { pilvioCheckActiveCampaigns } from "./actions/check-active-campaigns.cjs";
|
|
2
|
+
import { pilvioGetUserInfo } from "./actions/get-user-info.cjs";
|
|
3
|
+
import { pilvioListBillingAccounts } from "./actions/list-billing-accounts.cjs";
|
|
4
|
+
import { pilvioListCreditCards } from "./actions/list-credit-cards.cjs";
|
|
5
|
+
import { pilvioListInvoices } from "./actions/list-invoices.cjs";
|
|
6
|
+
import { pilvioListLocations } from "./actions/list-locations.cjs";
|
|
7
|
+
import { pilvioListVmResourcePools } from "./actions/list-vm-resource-pools.cjs";
|
|
8
|
+
import { pilvioListVmSnapshots } from "./actions/list-vm-snapshots.cjs";
|
|
9
|
+
import { pilvioListVms } from "./actions/list-vms.cjs";
|
|
10
|
+
import { pilvioUpdateUserProfile } from "./actions/update-user-profile.cjs";
|
|
11
|
+
import { pilvio } from "./app.cjs";
|
|
12
|
+
import { pilvioCatalog } from "./catalog.cjs";
|
|
13
|
+
export { pilvio, pilvioCatalog, pilvioCheckActiveCampaigns, pilvioGetUserInfo, pilvioListBillingAccounts, pilvioListCreditCards, pilvioListInvoices, pilvioListLocations, pilvioListVmResourcePools, pilvioListVmSnapshots, pilvioListVms, pilvioUpdateUserProfile };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { pilvioCheckActiveCampaigns } from "./actions/check-active-campaigns.mjs";
|
|
2
|
+
import { pilvioGetUserInfo } from "./actions/get-user-info.mjs";
|
|
3
|
+
import { pilvioListBillingAccounts } from "./actions/list-billing-accounts.mjs";
|
|
4
|
+
import { pilvioListCreditCards } from "./actions/list-credit-cards.mjs";
|
|
5
|
+
import { pilvioListInvoices } from "./actions/list-invoices.mjs";
|
|
6
|
+
import { pilvioListLocations } from "./actions/list-locations.mjs";
|
|
7
|
+
import { pilvioListVmResourcePools } from "./actions/list-vm-resource-pools.mjs";
|
|
8
|
+
import { pilvioListVmSnapshots } from "./actions/list-vm-snapshots.mjs";
|
|
9
|
+
import { pilvioListVms } from "./actions/list-vms.mjs";
|
|
10
|
+
import { pilvioUpdateUserProfile } from "./actions/update-user-profile.mjs";
|
|
11
|
+
import { pilvio } from "./app.mjs";
|
|
12
|
+
import { pilvioCatalog } from "./catalog.mjs";
|
|
13
|
+
export { pilvio, pilvioCatalog, pilvioCheckActiveCampaigns, pilvioGetUserInfo, pilvioListBillingAccounts, pilvioListCreditCards, pilvioListInvoices, pilvioListLocations, pilvioListVmResourcePools, pilvioListVmSnapshots, pilvioListVms, pilvioUpdateUserProfile };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { pilvio } from "./app.mjs";
|
|
2
|
+
import { pilvioCatalog } from "./catalog.mjs";
|
|
3
|
+
import { pilvioCheckActiveCampaigns } from "./actions/check-active-campaigns.mjs";
|
|
4
|
+
import { pilvioGetUserInfo } from "./actions/get-user-info.mjs";
|
|
5
|
+
import { pilvioListBillingAccounts } from "./actions/list-billing-accounts.mjs";
|
|
6
|
+
import { pilvioListCreditCards } from "./actions/list-credit-cards.mjs";
|
|
7
|
+
import { pilvioListInvoices } from "./actions/list-invoices.mjs";
|
|
8
|
+
import { pilvioListLocations } from "./actions/list-locations.mjs";
|
|
9
|
+
import { pilvioListVmResourcePools } from "./actions/list-vm-resource-pools.mjs";
|
|
10
|
+
import { pilvioListVmSnapshots } from "./actions/list-vm-snapshots.mjs";
|
|
11
|
+
import { pilvioListVms } from "./actions/list-vms.mjs";
|
|
12
|
+
import { pilvioUpdateUserProfile } from "./actions/update-user-profile.mjs";
|
|
13
|
+
import "./actions/index.mjs";
|
|
14
|
+
export { pilvio, pilvioCatalog, pilvioCheckActiveCampaigns, pilvioGetUserInfo, pilvioListBillingAccounts, pilvioListCreditCards, pilvioListInvoices, pilvioListLocations, pilvioListVmResourcePools, pilvioListVmSnapshots, pilvioListVms, pilvioUpdateUserProfile };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keystrokehq/pilvio",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
11
|
+
"directory": "packages/integrations/pilvio"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./actions": {
|
|
28
|
+
"types": "./dist/actions/index.d.mts",
|
|
29
|
+
"import": "./dist/actions/index.mjs",
|
|
30
|
+
"require": "./dist/actions/index.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@keystrokehq/keystroke": "^0.1.4",
|
|
35
|
+
"zod": "^4.4.3"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@keystrokehq/keystroke": "link:../../keystroke",
|
|
39
|
+
"@types/node": "^25.9.1",
|
|
40
|
+
"tsdown": "^0.22.0",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"zod": "^4.4.3"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsdown",
|
|
46
|
+
"dev": "tsdown --watch --no-clean",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
}
|
|
49
|
+
}
|