@keystrokehq/pilvio 0.1.4 → 0.1.6
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 -0
- package/dist/actions/check-active-campaigns.cjs.map +1 -1
- package/dist/actions/check-active-campaigns.d.cts +3 -1
- package/dist/actions/check-active-campaigns.d.cts.map +1 -1
- package/dist/actions/check-active-campaigns.d.mts +3 -1
- package/dist/actions/check-active-campaigns.d.mts.map +1 -1
- package/dist/actions/check-active-campaigns.mjs +1 -0
- package/dist/actions/check-active-campaigns.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +1 -0
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +3 -1
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +3 -1
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +1 -0
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/list-billing-accounts.cjs +1 -0
- package/dist/actions/list-billing-accounts.cjs.map +1 -1
- package/dist/actions/list-billing-accounts.d.cts +3 -1
- package/dist/actions/list-billing-accounts.d.cts.map +1 -1
- package/dist/actions/list-billing-accounts.d.mts +3 -1
- package/dist/actions/list-billing-accounts.d.mts.map +1 -1
- package/dist/actions/list-billing-accounts.mjs +1 -0
- package/dist/actions/list-billing-accounts.mjs.map +1 -1
- package/dist/actions/list-credit-cards.cjs +1 -0
- package/dist/actions/list-credit-cards.cjs.map +1 -1
- package/dist/actions/list-credit-cards.d.cts +3 -3
- package/dist/actions/list-credit-cards.d.cts.map +1 -1
- package/dist/actions/list-credit-cards.d.mts +3 -3
- package/dist/actions/list-credit-cards.d.mts.map +1 -1
- package/dist/actions/list-credit-cards.mjs +1 -0
- package/dist/actions/list-credit-cards.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +1 -0
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +3 -8
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +3 -8
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +1 -0
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-locations.cjs +1 -0
- package/dist/actions/list-locations.cjs.map +1 -1
- package/dist/actions/list-locations.d.cts +3 -1
- package/dist/actions/list-locations.d.cts.map +1 -1
- package/dist/actions/list-locations.d.mts +3 -1
- package/dist/actions/list-locations.d.mts.map +1 -1
- package/dist/actions/list-locations.mjs +1 -0
- package/dist/actions/list-locations.mjs.map +1 -1
- package/dist/actions/list-vm-resource-pools.cjs +1 -0
- package/dist/actions/list-vm-resource-pools.cjs.map +1 -1
- package/dist/actions/list-vm-resource-pools.d.cts +3 -4
- package/dist/actions/list-vm-resource-pools.d.cts.map +1 -1
- package/dist/actions/list-vm-resource-pools.d.mts +3 -4
- package/dist/actions/list-vm-resource-pools.d.mts.map +1 -1
- package/dist/actions/list-vm-resource-pools.mjs +1 -0
- package/dist/actions/list-vm-resource-pools.mjs.map +1 -1
- package/dist/actions/list-vm-snapshots.cjs +1 -0
- package/dist/actions/list-vm-snapshots.cjs.map +1 -1
- package/dist/actions/list-vm-snapshots.d.cts +3 -4
- package/dist/actions/list-vm-snapshots.d.cts.map +1 -1
- package/dist/actions/list-vm-snapshots.d.mts +3 -4
- package/dist/actions/list-vm-snapshots.d.mts.map +1 -1
- package/dist/actions/list-vm-snapshots.mjs +1 -0
- package/dist/actions/list-vm-snapshots.mjs.map +1 -1
- package/dist/actions/list-vms.cjs +1 -0
- package/dist/actions/list-vms.cjs.map +1 -1
- package/dist/actions/list-vms.d.cts +3 -6
- package/dist/actions/list-vms.d.cts.map +1 -1
- package/dist/actions/list-vms.d.mts +3 -6
- package/dist/actions/list-vms.d.mts.map +1 -1
- package/dist/actions/list-vms.mjs +1 -0
- package/dist/actions/list-vms.mjs.map +1 -1
- package/dist/actions/update-user-profile.cjs +1 -0
- package/dist/actions/update-user-profile.cjs.map +1 -1
- package/dist/actions/update-user-profile.d.cts +3 -7
- package/dist/actions/update-user-profile.d.cts.map +1 -1
- package/dist/actions/update-user-profile.d.mts +3 -7
- package/dist/actions/update-user-profile.d.mts.map +1 -1
- package/dist/actions/update-user-profile.mjs +1 -0
- package/dist/actions/update-user-profile.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-locations.mjs","names":[],"sources":["../../src/actions/list-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListLocationsInput = z.object({}).describe(\"Request schema for listing Pilvio data center locations.\\nNo parameters are required.\");\nconst PilvioListLocations_LocationSchema = z.object({\n slug: z.string().describe(\"Unique location slug\").nullable(),\n order_nr: z.number().int().describe(\"Order number of the location\").nullable(),\n is_default: z.boolean().describe(\"True if this is the default location\").nullable().optional(),\n description: z.string().describe(\"Description of the location\").nullable(),\n country_code: z.string().describe(\"ISO country code of the location\").nullable(),\n display_name: z.string().describe(\"Human-readable name of the location\").nullable(),\n is_preferred: z.boolean().describe(\"True if this is the preferred location\").nullable().optional(),\n is_published: z.boolean().describe(\"True if this location is published\").nullable().optional(),\n create_resource_disabled: z.boolean().describe(\"True if resource creation is disabled at this location\").nullable().optional(),\n}).passthrough().describe(\"A single Pilvio data center location.\\nFields correspond to configuration data from /v1/config/locations.\");\nexport const PilvioListLocationsOutput = z.object({\n locations: z.array(PilvioListLocations_LocationSchema).describe(\"List of available data center locations\"),\n}).passthrough().describe(\"Response schema for listing Pilvio data center locations.\");\n\nexport const pilvioListLocations = action(\"PILVIO_LIST_LOCATIONS\", {\n slug: \"pilvio-list-locations\",\n name: \"List Pilvio data center locations\",\n description: \"Tool to retrieve the list of available data center locations. Use after authentication to see where you can deploy resources.\",\n input: PilvioListLocationsInput,\n output: PilvioListLocationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-locations.mjs","names":[],"sources":["../../src/actions/list-locations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\n\nexport const PilvioListLocationsInput = z.object({}).describe(\"Request schema for listing Pilvio data center locations.\\nNo parameters are required.\");\nconst PilvioListLocations_LocationSchema = z.object({\n slug: z.string().describe(\"Unique location slug\").nullable(),\n order_nr: z.number().int().describe(\"Order number of the location\").nullable(),\n is_default: z.boolean().describe(\"True if this is the default location\").nullable().optional(),\n description: z.string().describe(\"Description of the location\").nullable(),\n country_code: z.string().describe(\"ISO country code of the location\").nullable(),\n display_name: z.string().describe(\"Human-readable name of the location\").nullable(),\n is_preferred: z.boolean().describe(\"True if this is the preferred location\").nullable().optional(),\n is_published: z.boolean().describe(\"True if this location is published\").nullable().optional(),\n create_resource_disabled: z.boolean().describe(\"True if resource creation is disabled at this location\").nullable().optional(),\n}).passthrough().describe(\"A single Pilvio data center location.\\nFields correspond to configuration data from /v1/config/locations.\");\nexport const PilvioListLocationsOutput = z.object({\n locations: z.array(PilvioListLocations_LocationSchema).describe(\"List of available data center locations\"),\n}).passthrough().describe(\"Response schema for listing Pilvio data center locations.\");\n\nexport const pilvioListLocations: AppAction<\n typeof PilvioListLocationsInput,\n typeof PilvioListLocationsOutput,\n typeof pilvio.credential\n> = action(\"PILVIO_LIST_LOCATIONS\", {\n slug: \"pilvio-list-locations\",\n name: \"List Pilvio data center locations\",\n description: \"Tool to retrieve the list of available data center locations. Use after authentication to see where you can deploy resources.\",\n input: PilvioListLocationsInput,\n output: PilvioListLocationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACrJ,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,0BAA0B,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2GAA2G;AAKrI,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,WAAW,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,yCAAyC,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vm-resource-pools.cjs","names":["z","action"],"sources":["../../src/actions/list-vm-resource-pools.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListVmResourcePoolsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-based)\").optional(),\n page_size: z.number().int().describe(\"Number of items per page\").optional(),\n}).describe(\"Request schema for listing VM resource pools.\\nOptional pagination parameters can be provided.\");\nconst PilvioListVmResourcePools_ResourceStatsSchema = z.object({\n cpu_used: z.number().int().describe(\"Number of CPUs currently used\").nullable(),\n cpu_total: z.number().int().describe(\"Total CPUs in the pool\").nullable(),\n memory_used: z.number().int().describe(\"Memory in MB currently used in the pool\").nullable(),\n memory_total: z.number().int().describe(\"Total memory in MB available in the pool\").nullable(),\n storage_used: z.number().int().describe(\"Storage in GB currently used in the pool\").nullable(),\n storage_total: z.number().int().describe(\"Total storage in GB available in the pool\").nullable(),\n}).passthrough().describe(\"Resource statistics for a single host pool.\");\nconst PilvioListVmResourcePools_ResourcePoolSchema = z.object({\n id: z.string().describe(\"Unique identifier of the resource pool\").nullable(),\n name: z.string().describe(\"Name of the resource pool\").nullable(),\n description: z.string().describe(\"Description of the resource pool\").nullable().optional(),\n resource_stats: PilvioListVmResourcePools_ResourceStatsSchema.nullable(),\n}).passthrough().describe(\"A single VM resource pool.\");\nexport const PilvioListVmResourcePoolsOutput = z.object({\n list: z.array(PilvioListVmResourcePools_ResourcePoolSchema).describe(\"List of available resource pools\"),\n total: z.number().int().describe(\"Total number of resource pools found\").nullable(),\n}).passthrough().describe(\"Response schema for a list of VM resource pools.\");\n\nexport const pilvioListVmResourcePools = action(\"PILVIO_LIST_VM_RESOURCE_POOLS\", {\n slug: \"pilvio-list-vm-resource-pools\",\n name: \"List VM Resource Pools\",\n description: \"Tool to retrieve the list of available VM resource pools. Use after authentication to determine where you can provision VMs.\",\n input: PilvioListVmResourcePoolsInput,\n output: PilvioListVmResourcePoolsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-vm-resource-pools.cjs","names":["z","action"],"sources":["../../src/actions/list-vm-resource-pools.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\n\nexport const PilvioListVmResourcePoolsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-based)\").optional(),\n page_size: z.number().int().describe(\"Number of items per page\").optional(),\n}).describe(\"Request schema for listing VM resource pools.\\nOptional pagination parameters can be provided.\");\nconst PilvioListVmResourcePools_ResourceStatsSchema = z.object({\n cpu_used: z.number().int().describe(\"Number of CPUs currently used\").nullable(),\n cpu_total: z.number().int().describe(\"Total CPUs in the pool\").nullable(),\n memory_used: z.number().int().describe(\"Memory in MB currently used in the pool\").nullable(),\n memory_total: z.number().int().describe(\"Total memory in MB available in the pool\").nullable(),\n storage_used: z.number().int().describe(\"Storage in GB currently used in the pool\").nullable(),\n storage_total: z.number().int().describe(\"Total storage in GB available in the pool\").nullable(),\n}).passthrough().describe(\"Resource statistics for a single host pool.\");\nconst PilvioListVmResourcePools_ResourcePoolSchema = z.object({\n id: z.string().describe(\"Unique identifier of the resource pool\").nullable(),\n name: z.string().describe(\"Name of the resource pool\").nullable(),\n description: z.string().describe(\"Description of the resource pool\").nullable().optional(),\n resource_stats: PilvioListVmResourcePools_ResourceStatsSchema.nullable(),\n}).passthrough().describe(\"A single VM resource pool.\");\nexport const PilvioListVmResourcePoolsOutput = z.object({\n list: z.array(PilvioListVmResourcePools_ResourcePoolSchema).describe(\"List of available resource pools\"),\n total: z.number().int().describe(\"Total number of resource pools found\").nullable(),\n}).passthrough().describe(\"Response schema for a list of VM resource pools.\");\n\nexport const pilvioListVmResourcePools: AppAction<\n typeof PilvioListVmResourcePoolsInput,\n typeof PilvioListVmResourcePoolsOutput,\n typeof pilvio.credential\n> = action(\"PILVIO_LIST_VM_RESOURCE_POOLS\", {\n slug: \"pilvio-list-vm-resource-pools\",\n name: \"List VM Resource Pools\",\n description: \"Tool to retrieve the list of available VM resource pools. Use after authentication to determine where you can provision VMs.\",\n input: PilvioListVmResourcePoolsInput,\n output: PilvioListVmResourcePoolsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,gGAAgG;AAC5G,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgB,8CAA8C,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,kCAAkC;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pilvio } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-vm-resource-pools.d.ts
|
|
@@ -21,10 +23,7 @@ declare const PilvioListVmResourcePoolsOutput: z.ZodObject<{
|
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
total: z.ZodNullable<z.ZodNumber>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const pilvioListVmResourcePools:
|
|
25
|
-
page?: number | undefined;
|
|
26
|
-
page_size?: number | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const pilvioListVmResourcePools: AppAction<typeof PilvioListVmResourcePoolsInput, typeof PilvioListVmResourcePoolsOutput, typeof pilvio.credential>;
|
|
28
27
|
//#endregion
|
|
29
28
|
export { pilvioListVmResourcePools };
|
|
30
29
|
//# sourceMappingURL=list-vm-resource-pools.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vm-resource-pools.d.cts","names":[],"sources":["../../src/actions/list-vm-resource-pools.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-vm-resource-pools.d.cts","names":[],"sources":["../../src/actions/list-vm-resource-pools.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAkB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pilvio } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-vm-resource-pools.d.ts
|
|
@@ -21,10 +23,7 @@ declare const PilvioListVmResourcePoolsOutput: z.ZodObject<{
|
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
total: z.ZodNullable<z.ZodNumber>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const pilvioListVmResourcePools:
|
|
25
|
-
page?: number | undefined;
|
|
26
|
-
page_size?: number | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const pilvioListVmResourcePools: AppAction<typeof PilvioListVmResourcePoolsInput, typeof PilvioListVmResourcePoolsOutput, typeof pilvio.credential>;
|
|
28
27
|
//#endregion
|
|
29
28
|
export { pilvioListVmResourcePools };
|
|
30
29
|
//# sourceMappingURL=list-vm-resource-pools.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vm-resource-pools.d.mts","names":[],"sources":["../../src/actions/list-vm-resource-pools.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-vm-resource-pools.d.mts","names":[],"sources":["../../src/actions/list-vm-resource-pools.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAkB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vm-resource-pools.mjs","names":[],"sources":["../../src/actions/list-vm-resource-pools.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListVmResourcePoolsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-based)\").optional(),\n page_size: z.number().int().describe(\"Number of items per page\").optional(),\n}).describe(\"Request schema for listing VM resource pools.\\nOptional pagination parameters can be provided.\");\nconst PilvioListVmResourcePools_ResourceStatsSchema = z.object({\n cpu_used: z.number().int().describe(\"Number of CPUs currently used\").nullable(),\n cpu_total: z.number().int().describe(\"Total CPUs in the pool\").nullable(),\n memory_used: z.number().int().describe(\"Memory in MB currently used in the pool\").nullable(),\n memory_total: z.number().int().describe(\"Total memory in MB available in the pool\").nullable(),\n storage_used: z.number().int().describe(\"Storage in GB currently used in the pool\").nullable(),\n storage_total: z.number().int().describe(\"Total storage in GB available in the pool\").nullable(),\n}).passthrough().describe(\"Resource statistics for a single host pool.\");\nconst PilvioListVmResourcePools_ResourcePoolSchema = z.object({\n id: z.string().describe(\"Unique identifier of the resource pool\").nullable(),\n name: z.string().describe(\"Name of the resource pool\").nullable(),\n description: z.string().describe(\"Description of the resource pool\").nullable().optional(),\n resource_stats: PilvioListVmResourcePools_ResourceStatsSchema.nullable(),\n}).passthrough().describe(\"A single VM resource pool.\");\nexport const PilvioListVmResourcePoolsOutput = z.object({\n list: z.array(PilvioListVmResourcePools_ResourcePoolSchema).describe(\"List of available resource pools\"),\n total: z.number().int().describe(\"Total number of resource pools found\").nullable(),\n}).passthrough().describe(\"Response schema for a list of VM resource pools.\");\n\nexport const pilvioListVmResourcePools = action(\"PILVIO_LIST_VM_RESOURCE_POOLS\", {\n slug: \"pilvio-list-vm-resource-pools\",\n name: \"List VM Resource Pools\",\n description: \"Tool to retrieve the list of available VM resource pools. Use after authentication to determine where you can provision VMs.\",\n input: PilvioListVmResourcePoolsInput,\n output: PilvioListVmResourcePoolsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-vm-resource-pools.mjs","names":[],"sources":["../../src/actions/list-vm-resource-pools.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\n\nexport const PilvioListVmResourcePoolsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-based)\").optional(),\n page_size: z.number().int().describe(\"Number of items per page\").optional(),\n}).describe(\"Request schema for listing VM resource pools.\\nOptional pagination parameters can be provided.\");\nconst PilvioListVmResourcePools_ResourceStatsSchema = z.object({\n cpu_used: z.number().int().describe(\"Number of CPUs currently used\").nullable(),\n cpu_total: z.number().int().describe(\"Total CPUs in the pool\").nullable(),\n memory_used: z.number().int().describe(\"Memory in MB currently used in the pool\").nullable(),\n memory_total: z.number().int().describe(\"Total memory in MB available in the pool\").nullable(),\n storage_used: z.number().int().describe(\"Storage in GB currently used in the pool\").nullable(),\n storage_total: z.number().int().describe(\"Total storage in GB available in the pool\").nullable(),\n}).passthrough().describe(\"Resource statistics for a single host pool.\");\nconst PilvioListVmResourcePools_ResourcePoolSchema = z.object({\n id: z.string().describe(\"Unique identifier of the resource pool\").nullable(),\n name: z.string().describe(\"Name of the resource pool\").nullable(),\n description: z.string().describe(\"Description of the resource pool\").nullable().optional(),\n resource_stats: PilvioListVmResourcePools_ResourceStatsSchema.nullable(),\n}).passthrough().describe(\"A single VM resource pool.\");\nexport const PilvioListVmResourcePoolsOutput = z.object({\n list: z.array(PilvioListVmResourcePools_ResourcePoolSchema).describe(\"List of available resource pools\"),\n total: z.number().int().describe(\"Total number of resource pools found\").nullable(),\n}).passthrough().describe(\"Response schema for a list of VM resource pools.\");\n\nexport const pilvioListVmResourcePools: AppAction<\n typeof PilvioListVmResourcePoolsInput,\n typeof PilvioListVmResourcePoolsOutput,\n typeof pilvio.credential\n> = action(\"PILVIO_LIST_VM_RESOURCE_POOLS\", {\n slug: \"pilvio-list-vm-resource-pools\",\n name: \"List VM Resource Pools\",\n description: \"Tool to retrieve the list of available VM resource pools. Use after authentication to determine where you can provision VMs.\",\n input: PilvioListVmResourcePoolsInput,\n output: PilvioListVmResourcePoolsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,gGAAgG;AAC5G,MAAM,gDAAgD,EAAE,OAAO;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgB,8CAA8C,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAMtD,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd6C,EAAE,OAAO;EACtD,MAAM,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,kCAAkC;EACvG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vm-snapshots.cjs","names":["z","action"],"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":"
|
|
1
|
+
{"version":3,"file":"list-vm-snapshots.cjs","names":["z","action"],"sources":["../../src/actions/list-vm-snapshots.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\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: AppAction<\n typeof PilvioListVmSnapshotsInput,\n typeof PilvioListVmSnapshotsOutput,\n typeof pilvio.credential\n> = 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":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,UAAUA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pilvio } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-vm-snapshots.d.ts
|
|
@@ -18,10 +20,7 @@ declare const PilvioListVmSnapshotsOutput: z.ZodObject<{
|
|
|
18
20
|
master_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
}, z.core.$loose>>>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const pilvioListVmSnapshots:
|
|
22
|
-
uuid: string;
|
|
23
|
-
r_type?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const pilvioListVmSnapshots: AppAction<typeof PilvioListVmSnapshotsInput, typeof PilvioListVmSnapshotsOutput, typeof pilvio.credential>;
|
|
25
24
|
//#endregion
|
|
26
25
|
export { pilvioListVmSnapshots };
|
|
27
26
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"list-vm-snapshots.d.cts","names":[],"sources":["../../src/actions/list-vm-snapshots.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAe1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pilvio } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-vm-snapshots.d.ts
|
|
@@ -18,10 +20,7 @@ declare const PilvioListVmSnapshotsOutput: z.ZodObject<{
|
|
|
18
20
|
master_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
}, z.core.$loose>>>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const pilvioListVmSnapshots:
|
|
22
|
-
uuid: string;
|
|
23
|
-
r_type?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const pilvioListVmSnapshots: AppAction<typeof PilvioListVmSnapshotsInput, typeof PilvioListVmSnapshotsOutput, typeof pilvio.credential>;
|
|
25
24
|
//#endregion
|
|
26
25
|
export { pilvioListVmSnapshots };
|
|
27
26
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"list-vm-snapshots.d.mts","names":[],"sources":["../../src/actions/list-vm-snapshots.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAe1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-vm-snapshots.mjs","names":[],"sources":["../../src/actions/list-vm-snapshots.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\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: AppAction<\n typeof PilvioListVmSnapshotsInput,\n typeof PilvioListVmSnapshotsOutput,\n typeof pilvio.credential\n> = 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":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,UAAU,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-vms.cjs","names":["z","action"],"sources":["../../src/actions/list-vms.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\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: AppAction<\n typeof PilvioListVmsInput,\n typeof PilvioListVmsOutput,\n typeof pilvio.credential\n> = 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":";;;;AAMA,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,EAAE,OAAO;CACtC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,MAAMA,IAAAA,EAAE,MAAM,sBAAsB,CAAC,CAAC,SAAS,iCAAiC,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,gBAITC,eAAAA,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pilvio } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-vms.d.ts
|
|
@@ -23,12 +25,7 @@ declare const PilvioListVmsOutput: z.ZodObject<{
|
|
|
23
25
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
24
26
|
}, z.core.$loose>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const pilvioListVms:
|
|
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]>;
|
|
28
|
+
declare const pilvioListVms: AppAction<typeof PilvioListVmsInput, typeof PilvioListVmsOutput, typeof pilvio.credential>;
|
|
32
29
|
//#endregion
|
|
33
30
|
export { pilvioListVms };
|
|
34
31
|
//# sourceMappingURL=list-vms.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vms.d.cts","names":[],"sources":["../../src/actions/list-vms.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-vms.d.cts","names":[],"sources":["../../src/actions/list-vms.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;cAoBlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAInB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pilvio } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-vms.d.ts
|
|
@@ -23,12 +25,7 @@ declare const PilvioListVmsOutput: z.ZodObject<{
|
|
|
23
25
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
24
26
|
}, z.core.$loose>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const pilvioListVms:
|
|
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]>;
|
|
28
|
+
declare const pilvioListVms: AppAction<typeof PilvioListVmsInput, typeof PilvioListVmsOutput, typeof pilvio.credential>;
|
|
32
29
|
//#endregion
|
|
33
30
|
export { pilvioListVms };
|
|
34
31
|
//# sourceMappingURL=list-vms.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vms.d.mts","names":[],"sources":["../../src/actions/list-vms.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-vms.d.mts","names":[],"sources":["../../src/actions/list-vms.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;cAoBlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAInB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-vms.mjs","names":[],"sources":["../../src/actions/list-vms.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\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: AppAction<\n typeof PilvioListVmsInput,\n typeof PilvioListVmsOutput,\n typeof pilvio.credential\n> = 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":";;;;AAMA,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,gBAIT,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiC,EAAE,OAAO,EAC1C,MAAM,EAAE,MAAM,sBAAsB,CAAC,CAAC,SAAS,iCAAiC,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"update-user-profile.cjs","names":["z","action"],"sources":["../../src/actions/update-user-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\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: AppAction<\n typeof PilvioUpdateUserProfileInput,\n typeof PilvioUpdateUserProfileOutput,\n typeof pilvio.credential\n> = 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":";;;;AAMA,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,SAAS;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,cAAc,0CAA0C,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pilvio } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-user-profile.d.ts
|
|
@@ -28,13 +30,7 @@ declare const PilvioUpdateUserProfileOutput: z.ZodObject<{
|
|
|
28
30
|
personal_id_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const pilvioUpdateUserProfile:
|
|
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]>;
|
|
33
|
+
declare const pilvioUpdateUserProfile: AppAction<typeof PilvioUpdateUserProfileInput, typeof PilvioUpdateUserProfileOutput, typeof pilvio.credential>;
|
|
38
34
|
//#endregion
|
|
39
35
|
export { pilvioUpdateUserProfile };
|
|
40
36
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"update-user-profile.d.cts","names":[],"sources":["../../src/actions/update-user-profile.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAoB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAS7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pilvio } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-user-profile.d.ts
|
|
@@ -28,13 +30,7 @@ declare const PilvioUpdateUserProfileOutput: z.ZodObject<{
|
|
|
28
30
|
personal_id_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const pilvioUpdateUserProfile:
|
|
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]>;
|
|
33
|
+
declare const pilvioUpdateUserProfile: AppAction<typeof PilvioUpdateUserProfileInput, typeof PilvioUpdateUserProfileOutput, typeof pilvio.credential>;
|
|
38
34
|
//#endregion
|
|
39
35
|
export { pilvioUpdateUserProfile };
|
|
40
36
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"update-user-profile.d.mts","names":[],"sources":["../../src/actions/update-user-profile.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAoB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAS7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"update-user-profile.mjs","names":[],"sources":["../../src/actions/update-user-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\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: AppAction<\n typeof PilvioUpdateUserProfileInput,\n typeof PilvioUpdateUserProfileOutput,\n typeof pilvio.credential\n> = 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":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,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,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,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,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAUhF,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB2C,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,+CAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
|
+
const pilvio = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "pilvio",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.pilvio = pilvio;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +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,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const pilvio: KeystrokeApp<\"pilvio\", typeof credential> = defineApp({\n slug: \"pilvio\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAA8D;CACzE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const pilvio: KeystrokeApp<"pilvio", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { pilvio };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const pilvio: KeystrokeApp<"pilvio", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { pilvio };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const pilvio = defineApp({
|
|
4
4
|
slug: "pilvio",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_api_key: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { pilvio };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +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":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const pilvio: KeystrokeApp<\"pilvio\", typeof credential> = defineApp({\n slug: \"pilvio\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,SAAoD,UAAU;CACzE,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { pilvio } from "./app.cjs";
|
|
1
2
|
import { pilvioCheckActiveCampaigns } from "./actions/check-active-campaigns.cjs";
|
|
2
3
|
import { pilvioGetUserInfo } from "./actions/get-user-info.cjs";
|
|
3
4
|
import { pilvioListBillingAccounts } from "./actions/list-billing-accounts.cjs";
|
|
@@ -8,6 +9,5 @@ import { pilvioListVmResourcePools } from "./actions/list-vm-resource-pools.cjs"
|
|
|
8
9
|
import { pilvioListVmSnapshots } from "./actions/list-vm-snapshots.cjs";
|
|
9
10
|
import { pilvioListVms } from "./actions/list-vms.cjs";
|
|
10
11
|
import { pilvioUpdateUserProfile } from "./actions/update-user-profile.cjs";
|
|
11
|
-
import { pilvio } from "./app.cjs";
|
|
12
12
|
import { pilvioCatalog } from "./catalog.cjs";
|
|
13
13
|
export { pilvio, pilvioCatalog, pilvioCheckActiveCampaigns, pilvioGetUserInfo, pilvioListBillingAccounts, pilvioListCreditCards, pilvioListInvoices, pilvioListLocations, pilvioListVmResourcePools, pilvioListVmSnapshots, pilvioListVms, pilvioUpdateUserProfile };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { pilvio } from "./app.mjs";
|
|
1
2
|
import { pilvioCheckActiveCampaigns } from "./actions/check-active-campaigns.mjs";
|
|
2
3
|
import { pilvioGetUserInfo } from "./actions/get-user-info.mjs";
|
|
3
4
|
import { pilvioListBillingAccounts } from "./actions/list-billing-accounts.mjs";
|
|
@@ -8,6 +9,5 @@ import { pilvioListVmResourcePools } from "./actions/list-vm-resource-pools.mjs"
|
|
|
8
9
|
import { pilvioListVmSnapshots } from "./actions/list-vm-snapshots.mjs";
|
|
9
10
|
import { pilvioListVms } from "./actions/list-vms.mjs";
|
|
10
11
|
import { pilvioUpdateUserProfile } from "./actions/update-user-profile.mjs";
|
|
11
|
-
import { pilvio } from "./app.mjs";
|
|
12
12
|
import { pilvioCatalog } from "./catalog.mjs";
|
|
13
13
|
export { pilvio, pilvioCatalog, pilvioCheckActiveCampaigns, pilvioGetUserInfo, pilvioListBillingAccounts, pilvioListCreditCards, pilvioListInvoices, pilvioListLocations, pilvioListVmResourcePools, pilvioListVmSnapshots, pilvioListVms, pilvioUpdateUserProfile };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/pilvio",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|