@keystrokehq/pilvio 0.1.0 → 0.1.3
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/check-active-campaigns.cjs +1 -1
- package/dist/actions/check-active-campaigns.cjs.map +1 -1
- package/dist/actions/check-active-campaigns.d.cts +5 -3
- package/dist/actions/check-active-campaigns.d.cts.map +1 -1
- package/dist/actions/check-active-campaigns.d.mts +5 -3
- package/dist/actions/check-active-campaigns.d.mts.map +1 -1
- package/dist/actions/check-active-campaigns.mjs +1 -1
- package/dist/actions/check-active-campaigns.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +5 -5
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +22 -3
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +22 -3
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +5 -5
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/list-billing-accounts.cjs +1 -1
- package/dist/actions/list-billing-accounts.cjs.map +1 -1
- package/dist/actions/list-billing-accounts.d.cts +5 -3
- package/dist/actions/list-billing-accounts.d.cts.map +1 -1
- package/dist/actions/list-billing-accounts.d.mts +5 -3
- package/dist/actions/list-billing-accounts.d.mts.map +1 -1
- package/dist/actions/list-billing-accounts.mjs +1 -1
- package/dist/actions/list-billing-accounts.mjs.map +1 -1
- package/dist/actions/list-credit-cards.cjs +10 -10
- package/dist/actions/list-credit-cards.cjs.map +1 -1
- package/dist/actions/list-credit-cards.d.cts +18 -3
- package/dist/actions/list-credit-cards.d.cts.map +1 -1
- package/dist/actions/list-credit-cards.d.mts +18 -3
- package/dist/actions/list-credit-cards.d.mts.map +1 -1
- package/dist/actions/list-credit-cards.mjs +10 -10
- package/dist/actions/list-credit-cards.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +11 -11
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +33 -3
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +33 -3
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +11 -11
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-locations.cjs +7 -7
- package/dist/actions/list-locations.cjs.map +1 -1
- package/dist/actions/list-locations.d.cts +15 -3
- package/dist/actions/list-locations.d.cts.map +1 -1
- package/dist/actions/list-locations.d.mts +15 -3
- package/dist/actions/list-locations.d.mts.map +1 -1
- package/dist/actions/list-locations.mjs +7 -7
- package/dist/actions/list-locations.mjs.map +1 -1
- package/dist/actions/list-vm-resource-pools.cjs +12 -12
- package/dist/actions/list-vm-resource-pools.cjs.map +1 -1
- package/dist/actions/list-vm-resource-pools.d.cts +24 -3
- package/dist/actions/list-vm-resource-pools.d.cts.map +1 -1
- package/dist/actions/list-vm-resource-pools.d.mts +24 -3
- package/dist/actions/list-vm-resource-pools.d.mts.map +1 -1
- package/dist/actions/list-vm-resource-pools.mjs +12 -12
- package/dist/actions/list-vm-resource-pools.mjs.map +1 -1
- package/dist/actions/list-vm-snapshots.cjs +3 -3
- package/dist/actions/list-vm-snapshots.cjs.map +1 -1
- package/dist/actions/list-vm-snapshots.d.cts +21 -3
- package/dist/actions/list-vm-snapshots.d.cts.map +1 -1
- package/dist/actions/list-vm-snapshots.d.mts +21 -3
- package/dist/actions/list-vm-snapshots.d.mts.map +1 -1
- package/dist/actions/list-vm-snapshots.mjs +3 -3
- package/dist/actions/list-vm-snapshots.mjs.map +1 -1
- package/dist/actions/list-vms.cjs +12 -12
- package/dist/actions/list-vms.cjs.map +1 -1
- package/dist/actions/list-vms.d.cts +28 -3
- package/dist/actions/list-vms.d.cts.map +1 -1
- package/dist/actions/list-vms.d.mts +28 -3
- package/dist/actions/list-vms.d.mts.map +1 -1
- package/dist/actions/list-vms.mjs +12 -12
- package/dist/actions/list-vms.mjs.map +1 -1
- package/dist/actions/update-user-profile.cjs +10 -10
- package/dist/actions/update-user-profile.cjs.map +1 -1
- package/dist/actions/update-user-profile.d.cts +34 -3
- package/dist/actions/update-user-profile.d.cts.map +1 -1
- package/dist/actions/update-user-profile.d.mts +34 -3
- package/dist/actions/update-user-profile.d.mts.map +1 -1
- package/dist/actions/update-user-profile.mjs +10 -10
- package/dist/actions/update-user-profile.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-vm-snapshots.d.ts
|
|
4
|
-
declare const PilvioListVmSnapshotsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PilvioListVmSnapshotsInput: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
r_type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PilvioListVmSnapshotsOutput: z.ZodObject<{
|
|
9
|
+
replicas: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
pool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
uuid: z.ZodNullable<z.ZodString>;
|
|
15
|
+
master_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
master_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const pilvioListVmSnapshots: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
uuid: string;
|
|
23
|
+
r_type?: string | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { pilvioListVmSnapshots };
|
|
9
27
|
//# sourceMappingURL=list-vm-snapshots.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vm-snapshots.d.cts","names":[],"sources":["../../src/actions/list-vm-snapshots.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-vm-snapshots.d.cts","names":[],"sources":["../../src/actions/list-vm-snapshots.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAe1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-vm-snapshots.d.ts
|
|
4
|
-
declare const PilvioListVmSnapshotsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PilvioListVmSnapshotsInput: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
r_type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PilvioListVmSnapshotsOutput: z.ZodObject<{
|
|
9
|
+
replicas: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
pool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
uuid: z.ZodNullable<z.ZodString>;
|
|
15
|
+
master_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
master_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const pilvioListVmSnapshots: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
uuid: string;
|
|
23
|
+
r_type?: string | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { pilvioListVmSnapshots };
|
|
9
27
|
//# sourceMappingURL=list-vm-snapshots.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vm-snapshots.d.mts","names":[],"sources":["../../src/actions/list-vm-snapshots.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-vm-snapshots.d.mts","names":[],"sources":["../../src/actions/list-vm-snapshots.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAe1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -10,18 +10,18 @@ const PilvioListVmSnapshots_ReplicaSchema = z.object({
|
|
|
10
10
|
pool: z.string().describe("Storage pool name").nullable().optional(),
|
|
11
11
|
size: z.number().int().describe("Size of the replica in bytes").nullable().optional(),
|
|
12
12
|
type: z.string().describe("Type of replica: 'snapshot' or 'backup'").nullable().optional(),
|
|
13
|
-
uuid: z.string().describe("Unique replica/snapshot identifier"),
|
|
13
|
+
uuid: z.string().describe("Unique replica/snapshot identifier").nullable(),
|
|
14
14
|
master_id: z.number().int().describe("ID of the master disk").nullable().optional(),
|
|
15
15
|
created_at: z.string().describe("Creation timestamp").nullable().optional(),
|
|
16
16
|
updated_at: z.string().describe("Last update timestamp").nullable().optional(),
|
|
17
17
|
master_uuid: z.string().describe("UUID of the master disk").nullable().optional()
|
|
18
|
-
}).describe("Details of a VM snapshot/replica.");
|
|
18
|
+
}).passthrough().describe("Details of a VM snapshot/replica.");
|
|
19
19
|
const pilvioListVmSnapshots = action("PILVIO_LIST_VM_SNAPSHOTS", {
|
|
20
20
|
slug: "pilvio-list-vm-snapshots",
|
|
21
21
|
name: "List VM Snapshots",
|
|
22
22
|
description: "Tool to list snapshots (replicas) of a specific VM. Use this to get all point-in-time snapshots or backups for a virtual machine.",
|
|
23
23
|
input: PilvioListVmSnapshotsInput,
|
|
24
|
-
output: z.object({ replicas: z.array(PilvioListVmSnapshots_ReplicaSchema).describe("List of replicas/snapshots for the VM").nullable().optional() }).describe("Response model for VM snapshots listing.\nReturns a list of replica objects.")
|
|
24
|
+
output: z.object({ replicas: z.array(PilvioListVmSnapshots_ReplicaSchema).describe("List of replicas/snapshots for the VM").nullable().optional() }).passthrough().describe("Response model for VM snapshots listing.\nReturns a list of replica objects.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { pilvioListVmSnapshots };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vm-snapshots.mjs","names":[],"sources":["../../src/actions/list-vm-snapshots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListVmSnapshotsInput
|
|
1
|
+
{"version":3,"file":"list-vm-snapshots.mjs","names":[],"sources":["../../src/actions/list-vm-snapshots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListVmSnapshotsInput = z.object({\n uuid: z.string().describe(\"UUID of the VM to fetch replicas/snapshots for\"),\n r_type: z.string().default(\"snapshot\").describe(\"Type of replica to list: 'snapshot' or 'backup'. Defaults to 'snapshot'\").optional(),\n}).describe(\"Request model for listing VM snapshots (replicas) for a given VM.\");\nconst PilvioListVmSnapshots_ReplicaSchema = z.object({\n id: z.number().int().describe(\"Numeric ID of the replica\").nullable().optional(),\n pool: z.string().describe(\"Storage pool name\").nullable().optional(),\n size: z.number().int().describe(\"Size of the replica in bytes\").nullable().optional(),\n type: z.string().describe(\"Type of replica: 'snapshot' or 'backup'\").nullable().optional(),\n uuid: z.string().describe(\"Unique replica/snapshot identifier\").nullable(),\n master_id: z.number().int().describe(\"ID of the master disk\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable().optional(),\n master_uuid: z.string().describe(\"UUID of the master disk\").nullable().optional(),\n}).passthrough().describe(\"Details of a VM snapshot/replica.\");\nexport const PilvioListVmSnapshotsOutput = z.object({\n replicas: z.array(PilvioListVmSnapshots_ReplicaSchema).describe(\"List of replicas/snapshots for the VM\").nullable().optional(),\n}).passthrough().describe(\"Response model for VM snapshots listing.\\nReturns a list of replica objects.\");\n\nexport const pilvioListVmSnapshots = action(\"PILVIO_LIST_VM_SNAPSHOTS\", {\n slug: \"pilvio-list-vm-snapshots\",\n name: \"List VM Snapshots\",\n description: \"Tool to list snapshots (replicas) of a specific VM. Use this to get all point-in-time snapshots or backups for a virtual machine.\",\n input: PilvioListVmSnapshotsInput,\n output: PilvioListVmSnapshotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC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,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAOhB;AACV,CAAC"}
|
|
@@ -8,20 +8,20 @@ const PilvioListVmsInput = zod.z.object({
|
|
|
8
8
|
project_id: zod.z.string().describe("Filter by project id").optional()
|
|
9
9
|
}).describe("Request model for listing virtual machines with optional filters.");
|
|
10
10
|
const PilvioListVms_VMSchema = zod.z.object({
|
|
11
|
-
id: zod.z.string().describe("VM unique identifier, e.g., 'vm-123'"),
|
|
12
|
-
cpu: zod.z.number().int().describe("Number of CPUs allocated to the VM"),
|
|
13
|
-
ram: zod.z.number().int().describe("Amount of RAM in MB allocated to the VM"),
|
|
11
|
+
id: zod.z.string().describe("VM unique identifier, e.g., 'vm-123'").nullable(),
|
|
12
|
+
cpu: zod.z.number().int().describe("Number of CPUs allocated to the VM").nullable(),
|
|
13
|
+
ram: zod.z.number().int().describe("Amount of RAM in MB allocated to the VM").nullable(),
|
|
14
14
|
ipv4: zod.z.string().describe("IPv4 address of the VM, if assigned").nullable().optional(),
|
|
15
15
|
ipv6: zod.z.string().describe("IPv6 address of the VM, if assigned").nullable().optional(),
|
|
16
|
-
name: zod.z.string().describe("Name of the virtual machine"),
|
|
17
|
-
image: zod.z.string().describe("Image the VM was created from, e.g., 'ubuntu-20.04'"),
|
|
18
|
-
region: zod.z.string().describe("Region where the VM is deployed, e.g., 'us-east-1'"),
|
|
19
|
-
status: zod.z.string().describe("Status of the VM, e.g., 'running' or 'stopped'"),
|
|
20
|
-
created_at: zod.z.string().describe("Creation timestamp in ISO 8601 format"),
|
|
21
|
-
project_id: zod.z.string().describe("Project ID the VM belongs to"),
|
|
22
|
-
updated_at: zod.z.string().describe("Last updated timestamp in ISO 8601 format")
|
|
23
|
-
}).describe("Details of a virtual machine.");
|
|
24
|
-
const PilvioListVmsOutput = zod.z.object({ data: zod.z.array(PilvioListVms_VMSchema).describe("List of virtual machine objects") }).describe("Response model containing a list of virtual machines.");
|
|
16
|
+
name: zod.z.string().describe("Name of the virtual machine").nullable(),
|
|
17
|
+
image: zod.z.string().describe("Image the VM was created from, e.g., 'ubuntu-20.04'").nullable(),
|
|
18
|
+
region: zod.z.string().describe("Region where the VM is deployed, e.g., 'us-east-1'").nullable(),
|
|
19
|
+
status: zod.z.string().describe("Status of the VM, e.g., 'running' or 'stopped'").nullable(),
|
|
20
|
+
created_at: zod.z.string().describe("Creation timestamp in ISO 8601 format").nullable(),
|
|
21
|
+
project_id: zod.z.string().describe("Project ID the VM belongs to").nullable(),
|
|
22
|
+
updated_at: zod.z.string().describe("Last updated timestamp in ISO 8601 format").nullable()
|
|
23
|
+
}).passthrough().describe("Details of a virtual machine.");
|
|
24
|
+
const PilvioListVmsOutput = zod.z.object({ data: zod.z.array(PilvioListVms_VMSchema).describe("List of virtual machine objects") }).passthrough().describe("Response model containing a list of virtual machines.");
|
|
25
25
|
const pilvioListVms = require_action.action("PILVIO_LIST_VMS", {
|
|
26
26
|
slug: "pilvio-list-vms",
|
|
27
27
|
name: "List Virtual Machines",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vms.cjs","names":["z","action"],"sources":["../../src/actions/list-vms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListVmsInput
|
|
1
|
+
{"version":3,"file":"list-vms.cjs","names":["z","action"],"sources":["../../src/actions/list-vms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListVmsInput = z.object({\n sort: z.string().describe(\"Sort by field\").optional(),\n limit: z.number().int().describe(\"Maximum results per page\").optional(),\n offset: z.number().int().describe(\"Pagination offset\").optional(),\n project_id: z.string().describe(\"Filter by project id\").optional(),\n}).describe(\"Request model for listing virtual machines with optional filters.\");\nconst PilvioListVms_VMSchema = z.object({\n id: z.string().describe(\"VM unique identifier, e.g., 'vm-123'\").nullable(),\n cpu: z.number().int().describe(\"Number of CPUs allocated to the VM\").nullable(),\n ram: z.number().int().describe(\"Amount of RAM in MB allocated to the VM\").nullable(),\n ipv4: z.string().describe(\"IPv4 address of the VM, if assigned\").nullable().optional(),\n ipv6: z.string().describe(\"IPv6 address of the VM, if assigned\").nullable().optional(),\n name: z.string().describe(\"Name of the virtual machine\").nullable(),\n image: z.string().describe(\"Image the VM was created from, e.g., 'ubuntu-20.04'\").nullable(),\n region: z.string().describe(\"Region where the VM is deployed, e.g., 'us-east-1'\").nullable(),\n status: z.string().describe(\"Status of the VM, e.g., 'running' or 'stopped'\").nullable(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n project_id: z.string().describe(\"Project ID the VM belongs to\").nullable(),\n updated_at: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Details of a virtual machine.\");\nexport const PilvioListVmsOutput = z.object({\n data: z.array(PilvioListVms_VMSchema).describe(\"List of virtual machine objects\"),\n}).passthrough().describe(\"Response model containing a list of virtual machines.\");\n\nexport const pilvioListVms = action(\"PILVIO_LIST_VMS\", {\n slug: \"pilvio-list-vms\",\n name: \"List Virtual Machines\",\n description: \"Tool to retrieve a list of all virtual machines. Use after authenticating to fetch your VMs.\",\n input: PilvioListVmsInput,\n output: PilvioListVmsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,yBAAyBA,IAAAA,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D;AAEjF,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-vms.d.ts
|
|
4
|
-
declare const PilvioListVmsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PilvioListVmsInput: z.ZodObject<{
|
|
5
|
+
sort: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const PilvioListVmsOutput: z.ZodObject<{
|
|
11
|
+
data: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
cpu: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
ram: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
ipv4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
ipv6: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
name: z.ZodNullable<z.ZodString>;
|
|
18
|
+
image: z.ZodNullable<z.ZodString>;
|
|
19
|
+
region: z.ZodNullable<z.ZodString>;
|
|
20
|
+
status: z.ZodNullable<z.ZodString>;
|
|
21
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
22
|
+
project_id: z.ZodNullable<z.ZodString>;
|
|
23
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
declare const pilvioListVms: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
sort?: string | undefined;
|
|
28
|
+
limit?: number | undefined;
|
|
29
|
+
offset?: number | undefined;
|
|
30
|
+
project_id?: string | undefined;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { pilvioListVms };
|
|
9
34
|
//# sourceMappingURL=list-vms.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vms.d.cts","names":[],"sources":["../../src/actions/list-vms.ts"],"mappings":";;;cAIa,kBAAA,
|
|
1
|
+
{"version":3,"file":"list-vms.d.cts","names":[],"sources":["../../src/actions/list-vms.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;cAoBlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAInB,aAAA,gCAAa,wBAAA"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-vms.d.ts
|
|
4
|
-
declare const PilvioListVmsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PilvioListVmsInput: z.ZodObject<{
|
|
5
|
+
sort: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const PilvioListVmsOutput: z.ZodObject<{
|
|
11
|
+
data: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
cpu: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
ram: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
ipv4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
ipv6: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
name: z.ZodNullable<z.ZodString>;
|
|
18
|
+
image: z.ZodNullable<z.ZodString>;
|
|
19
|
+
region: z.ZodNullable<z.ZodString>;
|
|
20
|
+
status: z.ZodNullable<z.ZodString>;
|
|
21
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
22
|
+
project_id: z.ZodNullable<z.ZodString>;
|
|
23
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
declare const pilvioListVms: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
sort?: string | undefined;
|
|
28
|
+
limit?: number | undefined;
|
|
29
|
+
offset?: number | undefined;
|
|
30
|
+
project_id?: string | undefined;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { pilvioListVms };
|
|
9
34
|
//# sourceMappingURL=list-vms.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vms.d.mts","names":[],"sources":["../../src/actions/list-vms.ts"],"mappings":";;;cAIa,kBAAA,
|
|
1
|
+
{"version":3,"file":"list-vms.d.mts","names":[],"sources":["../../src/actions/list-vms.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;cAoBlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAInB,aAAA,gCAAa,wBAAA"}
|
|
@@ -8,25 +8,25 @@ const PilvioListVmsInput = z.object({
|
|
|
8
8
|
project_id: z.string().describe("Filter by project id").optional()
|
|
9
9
|
}).describe("Request model for listing virtual machines with optional filters.");
|
|
10
10
|
const PilvioListVms_VMSchema = z.object({
|
|
11
|
-
id: z.string().describe("VM unique identifier, e.g., 'vm-123'"),
|
|
12
|
-
cpu: z.number().int().describe("Number of CPUs allocated to the VM"),
|
|
13
|
-
ram: z.number().int().describe("Amount of RAM in MB allocated to the VM"),
|
|
11
|
+
id: z.string().describe("VM unique identifier, e.g., 'vm-123'").nullable(),
|
|
12
|
+
cpu: z.number().int().describe("Number of CPUs allocated to the VM").nullable(),
|
|
13
|
+
ram: z.number().int().describe("Amount of RAM in MB allocated to the VM").nullable(),
|
|
14
14
|
ipv4: z.string().describe("IPv4 address of the VM, if assigned").nullable().optional(),
|
|
15
15
|
ipv6: z.string().describe("IPv6 address of the VM, if assigned").nullable().optional(),
|
|
16
|
-
name: z.string().describe("Name of the virtual machine"),
|
|
17
|
-
image: z.string().describe("Image the VM was created from, e.g., 'ubuntu-20.04'"),
|
|
18
|
-
region: z.string().describe("Region where the VM is deployed, e.g., 'us-east-1'"),
|
|
19
|
-
status: z.string().describe("Status of the VM, e.g., 'running' or 'stopped'"),
|
|
20
|
-
created_at: z.string().describe("Creation timestamp in ISO 8601 format"),
|
|
21
|
-
project_id: z.string().describe("Project ID the VM belongs to"),
|
|
22
|
-
updated_at: z.string().describe("Last updated timestamp in ISO 8601 format")
|
|
23
|
-
}).describe("Details of a virtual machine.");
|
|
16
|
+
name: z.string().describe("Name of the virtual machine").nullable(),
|
|
17
|
+
image: z.string().describe("Image the VM was created from, e.g., 'ubuntu-20.04'").nullable(),
|
|
18
|
+
region: z.string().describe("Region where the VM is deployed, e.g., 'us-east-1'").nullable(),
|
|
19
|
+
status: z.string().describe("Status of the VM, e.g., 'running' or 'stopped'").nullable(),
|
|
20
|
+
created_at: z.string().describe("Creation timestamp in ISO 8601 format").nullable(),
|
|
21
|
+
project_id: z.string().describe("Project ID the VM belongs to").nullable(),
|
|
22
|
+
updated_at: z.string().describe("Last updated timestamp in ISO 8601 format").nullable()
|
|
23
|
+
}).passthrough().describe("Details of a virtual machine.");
|
|
24
24
|
const pilvioListVms = action("PILVIO_LIST_VMS", {
|
|
25
25
|
slug: "pilvio-list-vms",
|
|
26
26
|
name: "List Virtual Machines",
|
|
27
27
|
description: "Tool to retrieve a list of all virtual machines. Use after authenticating to fetch your VMs.",
|
|
28
28
|
input: PilvioListVmsInput,
|
|
29
|
-
output: z.object({ data: z.array(PilvioListVms_VMSchema).describe("List of virtual machine objects") }).describe("Response model containing a list of virtual machines.")
|
|
29
|
+
output: z.object({ data: z.array(PilvioListVms_VMSchema).describe("List of virtual machine objects") }).passthrough().describe("Response model containing a list of virtual machines.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { pilvioListVms };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vms.mjs","names":[],"sources":["../../src/actions/list-vms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListVmsInput
|
|
1
|
+
{"version":3,"file":"list-vms.mjs","names":[],"sources":["../../src/actions/list-vms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListVmsInput = z.object({\n sort: z.string().describe(\"Sort by field\").optional(),\n limit: z.number().int().describe(\"Maximum results per page\").optional(),\n offset: z.number().int().describe(\"Pagination offset\").optional(),\n project_id: z.string().describe(\"Filter by project id\").optional(),\n}).describe(\"Request model for listing virtual machines with optional filters.\");\nconst PilvioListVms_VMSchema = z.object({\n id: z.string().describe(\"VM unique identifier, e.g., 'vm-123'\").nullable(),\n cpu: z.number().int().describe(\"Number of CPUs allocated to the VM\").nullable(),\n ram: z.number().int().describe(\"Amount of RAM in MB allocated to the VM\").nullable(),\n ipv4: z.string().describe(\"IPv4 address of the VM, if assigned\").nullable().optional(),\n ipv6: z.string().describe(\"IPv6 address of the VM, if assigned\").nullable().optional(),\n name: z.string().describe(\"Name of the virtual machine\").nullable(),\n image: z.string().describe(\"Image the VM was created from, e.g., 'ubuntu-20.04'\").nullable(),\n region: z.string().describe(\"Region where the VM is deployed, e.g., 'us-east-1'\").nullable(),\n status: z.string().describe(\"Status of the VM, e.g., 'running' or 'stopped'\").nullable(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n project_id: z.string().describe(\"Project ID the VM belongs to\").nullable(),\n updated_at: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Details of a virtual machine.\");\nexport const PilvioListVmsOutput = z.object({\n data: z.array(PilvioListVms_VMSchema).describe(\"List of virtual machine objects\"),\n}).passthrough().describe(\"Response model containing a list of virtual machines.\");\n\nexport const pilvioListVms = action(\"PILVIO_LIST_VMS\", {\n slug: \"pilvio-list-vms\",\n name: \"List Virtual Machines\",\n description: \"Tool to retrieve a list of all virtual machines. Use after authenticating to fetch your VMs.\",\n input: PilvioListVmsInput,\n output: PilvioListVmsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO;CACzC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,yBAAyB,EAAE,OAAO;CACtC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiC,EAAE,OAAO,EAC1C,MAAM,EAAE,MAAM,sBAAsB,CAAC,CAAC,SAAS,iCAAiC,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
|
|
@@ -9,26 +9,26 @@ const PilvioUpdateUserProfileInput = zod.z.object({
|
|
|
9
9
|
phone_number: zod.z.string().describe("User's phone number").optional()
|
|
10
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
11
|
const PilvioUpdateUserProfile_ProfileDataSchema = zod.z.object({
|
|
12
|
-
id: zod.z.number().int().describe("Profile ID"),
|
|
12
|
+
id: zod.z.number().int().describe("Profile ID").nullable(),
|
|
13
13
|
lang: zod.z.string().describe("User's preferred language").nullable().optional(),
|
|
14
|
-
email: zod.z.string().describe("User's email address"),
|
|
14
|
+
email: zod.z.string().describe("User's email address").nullable(),
|
|
15
15
|
avatar: zod.z.string().describe("Avatar URL").nullable().optional(),
|
|
16
|
-
user_id: zod.z.number().int().describe("User ID reference"),
|
|
16
|
+
user_id: zod.z.number().int().describe("User ID reference").nullable(),
|
|
17
17
|
last_name: zod.z.string().describe("User's last name").nullable().optional(),
|
|
18
|
-
created_at: zod.z.string().describe("Profile creation timestamp"),
|
|
18
|
+
created_at: zod.z.string().describe("Profile creation timestamp").nullable(),
|
|
19
19
|
first_name: zod.z.string().describe("User's first name").nullable().optional(),
|
|
20
|
-
updated_at: zod.z.string().describe("Profile last update timestamp"),
|
|
20
|
+
updated_at: zod.z.string().describe("Profile last update timestamp").nullable(),
|
|
21
21
|
phone_number: zod.z.string().describe("User's phone number").nullable().optional(),
|
|
22
22
|
personal_id_number: zod.z.string().describe("Personal ID number").nullable().optional()
|
|
23
|
-
}).describe("Nested profile data structure from the API response.");
|
|
23
|
+
}).passthrough().describe("Nested profile data structure from the API response.");
|
|
24
24
|
const PilvioUpdateUserProfileOutput = zod.z.object({
|
|
25
|
-
id: zod.z.number().int().describe("Unique identifier of the user"),
|
|
26
|
-
name: zod.z.string().describe("User's name/email identifier"),
|
|
25
|
+
id: zod.z.number().int().describe("Unique identifier of the user").nullable(),
|
|
26
|
+
name: zod.z.string().describe("User's name/email identifier").nullable(),
|
|
27
27
|
kong_key: zod.z.string().describe("Kong API key").nullable().optional(),
|
|
28
|
-
cookie_id: zod.z.string().describe("Cookie identifier"),
|
|
28
|
+
cookie_id: zod.z.string().describe("Cookie identifier").nullable(),
|
|
29
29
|
signup_site: zod.z.string().describe("Signup site").nullable().optional(),
|
|
30
30
|
profile_data: PilvioUpdateUserProfile_ProfileDataSchema.nullable()
|
|
31
|
-
}).describe("The updated user profile returned by the API.");
|
|
31
|
+
}).passthrough().describe("The updated user profile returned by the API.");
|
|
32
32
|
const pilvioUpdateUserProfile = require_action.action("PILVIO_UPDATE_USER_PROFILE", {
|
|
33
33
|
slug: "pilvio-update-user-profile",
|
|
34
34
|
name: "Update User Profile",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-profile.cjs","names":["z","action"],"sources":["../../src/actions/update-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioUpdateUserProfileInput
|
|
1
|
+
{"version":3,"file":"update-user-profile.cjs","names":["z","action"],"sources":["../../src/actions/update-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioUpdateUserProfileInput = 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.object({\n id: z.number().int().describe(\"Profile ID\").nullable(),\n lang: z.string().describe(\"User's preferred language\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable(),\n avatar: z.string().describe(\"Avatar URL\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID reference\").nullable(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n created_at: z.string().describe(\"Profile creation timestamp\").nullable(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n updated_at: z.string().describe(\"Profile last update timestamp\").nullable(),\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}).passthrough().describe(\"Nested profile data structure from the API response.\");\nexport const PilvioUpdateUserProfileOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n name: z.string().describe(\"User's name/email identifier\").nullable(),\n kong_key: z.string().describe(\"Kong API key\").nullable().optional(),\n cookie_id: z.string().describe(\"Cookie identifier\").nullable(),\n signup_site: z.string().describe(\"Signup site\").nullable().optional(),\n profile_data: PilvioUpdateUserProfile_ProfileDataSchema.nullable(),\n}).passthrough().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,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,mIAAmI;AAC/I,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,S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,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,40 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-user-profile.d.ts
|
|
4
|
-
declare const PilvioUpdateUserProfileInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PilvioUpdateUserProfileInput: z.ZodObject<{
|
|
5
|
+
email: z.ZodOptional<z.ZodString>;
|
|
6
|
+
username: z.ZodString;
|
|
7
|
+
last_name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
first_name: z.ZodOptional<z.ZodString>;
|
|
9
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const PilvioUpdateUserProfileOutput: z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
kong_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
cookie_id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
signup_site: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
profile_data: z.ZodNullable<z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
lang: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
email: z.ZodNullable<z.ZodString>;
|
|
21
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
user_id: z.ZodNullable<z.ZodNumber>;
|
|
23
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
25
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
27
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
personal_id_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
|
+
declare const pilvioUpdateUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
username: string;
|
|
33
|
+
email?: string | undefined;
|
|
34
|
+
last_name?: string | undefined;
|
|
35
|
+
first_name?: string | undefined;
|
|
36
|
+
phone_number?: string | undefined;
|
|
37
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
38
|
//#endregion
|
|
8
39
|
export { pilvioUpdateUserProfile };
|
|
9
40
|
//# sourceMappingURL=update-user-profile.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-profile.d.cts","names":[],"sources":["../../src/actions/update-user-profile.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"update-user-profile.d.cts","names":[],"sources":["../../src/actions/update-user-profile.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAoB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAS7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,40 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-user-profile.d.ts
|
|
4
|
-
declare const PilvioUpdateUserProfileInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PilvioUpdateUserProfileInput: z.ZodObject<{
|
|
5
|
+
email: z.ZodOptional<z.ZodString>;
|
|
6
|
+
username: z.ZodString;
|
|
7
|
+
last_name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
first_name: z.ZodOptional<z.ZodString>;
|
|
9
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const PilvioUpdateUserProfileOutput: z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
kong_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
cookie_id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
signup_site: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
profile_data: z.ZodNullable<z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
lang: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
email: z.ZodNullable<z.ZodString>;
|
|
21
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
user_id: z.ZodNullable<z.ZodNumber>;
|
|
23
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
25
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
27
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
personal_id_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
|
+
declare const pilvioUpdateUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
username: string;
|
|
33
|
+
email?: string | undefined;
|
|
34
|
+
last_name?: string | undefined;
|
|
35
|
+
first_name?: string | undefined;
|
|
36
|
+
phone_number?: string | undefined;
|
|
37
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
38
|
//#endregion
|
|
8
39
|
export { pilvioUpdateUserProfile };
|
|
9
40
|
//# sourceMappingURL=update-user-profile.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-profile.d.mts","names":[],"sources":["../../src/actions/update-user-profile.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"update-user-profile.d.mts","names":[],"sources":["../../src/actions/update-user-profile.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAoB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAS7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -9,31 +9,31 @@ const PilvioUpdateUserProfileInput = z.object({
|
|
|
9
9
|
phone_number: z.string().describe("User's phone number").optional()
|
|
10
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
11
|
const PilvioUpdateUserProfile_ProfileDataSchema = z.object({
|
|
12
|
-
id: z.number().int().describe("Profile ID"),
|
|
12
|
+
id: z.number().int().describe("Profile ID").nullable(),
|
|
13
13
|
lang: z.string().describe("User's preferred language").nullable().optional(),
|
|
14
|
-
email: z.string().describe("User's email address"),
|
|
14
|
+
email: z.string().describe("User's email address").nullable(),
|
|
15
15
|
avatar: z.string().describe("Avatar URL").nullable().optional(),
|
|
16
|
-
user_id: z.number().int().describe("User ID reference"),
|
|
16
|
+
user_id: z.number().int().describe("User ID reference").nullable(),
|
|
17
17
|
last_name: z.string().describe("User's last name").nullable().optional(),
|
|
18
|
-
created_at: z.string().describe("Profile creation timestamp"),
|
|
18
|
+
created_at: z.string().describe("Profile creation timestamp").nullable(),
|
|
19
19
|
first_name: z.string().describe("User's first name").nullable().optional(),
|
|
20
|
-
updated_at: z.string().describe("Profile last update timestamp"),
|
|
20
|
+
updated_at: z.string().describe("Profile last update timestamp").nullable(),
|
|
21
21
|
phone_number: z.string().describe("User's phone number").nullable().optional(),
|
|
22
22
|
personal_id_number: z.string().describe("Personal ID number").nullable().optional()
|
|
23
|
-
}).describe("Nested profile data structure from the API response.");
|
|
23
|
+
}).passthrough().describe("Nested profile data structure from the API response.");
|
|
24
24
|
const pilvioUpdateUserProfile = action("PILVIO_UPDATE_USER_PROFILE", {
|
|
25
25
|
slug: "pilvio-update-user-profile",
|
|
26
26
|
name: "Update User Profile",
|
|
27
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
28
|
input: PilvioUpdateUserProfileInput,
|
|
29
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"),
|
|
30
|
+
id: z.number().int().describe("Unique identifier of the user").nullable(),
|
|
31
|
+
name: z.string().describe("User's name/email identifier").nullable(),
|
|
32
32
|
kong_key: z.string().describe("Kong API key").nullable().optional(),
|
|
33
|
-
cookie_id: z.string().describe("Cookie identifier"),
|
|
33
|
+
cookie_id: z.string().describe("Cookie identifier").nullable(),
|
|
34
34
|
signup_site: z.string().describe("Signup site").nullable().optional(),
|
|
35
35
|
profile_data: PilvioUpdateUserProfile_ProfileDataSchema.nullable()
|
|
36
|
-
}).describe("The updated user profile returned by the API.")
|
|
36
|
+
}).passthrough().describe("The updated user profile returned by the API.")
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { pilvioUpdateUserProfile };
|
|
@@ -1 +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
|
|
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.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.object({\n id: z.number().int().describe(\"Profile ID\").nullable(),\n lang: z.string().describe(\"User's preferred language\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable(),\n avatar: z.string().describe(\"Avatar URL\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID reference\").nullable(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n created_at: z.string().describe(\"Profile creation timestamp\").nullable(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n updated_at: z.string().describe(\"Profile last update timestamp\").nullable(),\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}).passthrough().describe(\"Nested profile data structure from the API response.\");\nexport const PilvioUpdateUserProfileOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n name: z.string().describe(\"User's name/email identifier\").nullable(),\n kong_key: z.string().describe(\"Kong API key\").nullable().optional(),\n cookie_id: z.string().describe(\"Cookie identifier\").nullable(),\n signup_site: z.string().describe(\"Signup site\").nullable().optional(),\n profile_data: PilvioUpdateUserProfile_ProfileDataSchema.nullable(),\n}).passthrough().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,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,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AC,CAAC,SAAS,sDAAsD;AAUhF,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,cAAc,0CAA0C,SAAS;CACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const pilvioCatalog = {
|
|
|
7
7
|
"category": "Developer Tools",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/pilvio",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Pilvio API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your personal API key for authenticating requests to the Pilvio API."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.pilvioCatalog = pilvioCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +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;
|
|
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 \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Pilvio API Key\",\n \"secret\": true,\n \"description\": \"Your personal API key for authenticating requests to the Pilvio API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const pilvioCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/pilvio";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Pilvio API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your personal API key for authenticating requests to the Pilvio API.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { pilvioCatalog };
|