@keystrokehq/pilvio 0.1.2 → 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.
Files changed (61) hide show
  1. package/dist/actions/check-active-campaigns.cjs +1 -1
  2. package/dist/actions/check-active-campaigns.cjs.map +1 -1
  3. package/dist/actions/check-active-campaigns.d.cts +1 -1
  4. package/dist/actions/check-active-campaigns.d.mts +1 -1
  5. package/dist/actions/check-active-campaigns.mjs +1 -1
  6. package/dist/actions/check-active-campaigns.mjs.map +1 -1
  7. package/dist/actions/get-user-info.cjs +2 -2
  8. package/dist/actions/get-user-info.cjs.map +1 -1
  9. package/dist/actions/get-user-info.d.cts +2 -2
  10. package/dist/actions/get-user-info.d.mts +2 -2
  11. package/dist/actions/get-user-info.mjs +2 -2
  12. package/dist/actions/get-user-info.mjs.map +1 -1
  13. package/dist/actions/list-billing-accounts.cjs +1 -1
  14. package/dist/actions/list-billing-accounts.cjs.map +1 -1
  15. package/dist/actions/list-billing-accounts.d.cts +1 -1
  16. package/dist/actions/list-billing-accounts.d.mts +1 -1
  17. package/dist/actions/list-billing-accounts.mjs +1 -1
  18. package/dist/actions/list-billing-accounts.mjs.map +1 -1
  19. package/dist/actions/list-credit-cards.cjs +2 -2
  20. package/dist/actions/list-credit-cards.cjs.map +1 -1
  21. package/dist/actions/list-credit-cards.d.cts +2 -2
  22. package/dist/actions/list-credit-cards.d.mts +2 -2
  23. package/dist/actions/list-credit-cards.mjs +2 -2
  24. package/dist/actions/list-credit-cards.mjs.map +1 -1
  25. package/dist/actions/list-invoices.cjs +2 -2
  26. package/dist/actions/list-invoices.cjs.map +1 -1
  27. package/dist/actions/list-invoices.d.cts +2 -2
  28. package/dist/actions/list-invoices.d.mts +2 -2
  29. package/dist/actions/list-invoices.mjs +2 -2
  30. package/dist/actions/list-invoices.mjs.map +1 -1
  31. package/dist/actions/list-locations.cjs +2 -2
  32. package/dist/actions/list-locations.cjs.map +1 -1
  33. package/dist/actions/list-locations.d.cts +2 -2
  34. package/dist/actions/list-locations.d.mts +2 -2
  35. package/dist/actions/list-locations.mjs +2 -2
  36. package/dist/actions/list-locations.mjs.map +1 -1
  37. package/dist/actions/list-vm-resource-pools.cjs +3 -3
  38. package/dist/actions/list-vm-resource-pools.cjs.map +1 -1
  39. package/dist/actions/list-vm-resource-pools.d.cts +3 -3
  40. package/dist/actions/list-vm-resource-pools.d.mts +3 -3
  41. package/dist/actions/list-vm-resource-pools.mjs +3 -3
  42. package/dist/actions/list-vm-resource-pools.mjs.map +1 -1
  43. package/dist/actions/list-vm-snapshots.cjs +2 -2
  44. package/dist/actions/list-vm-snapshots.cjs.map +1 -1
  45. package/dist/actions/list-vm-snapshots.d.cts +2 -2
  46. package/dist/actions/list-vm-snapshots.d.mts +2 -2
  47. package/dist/actions/list-vm-snapshots.mjs +2 -2
  48. package/dist/actions/list-vm-snapshots.mjs.map +1 -1
  49. package/dist/actions/list-vms.cjs +2 -2
  50. package/dist/actions/list-vms.cjs.map +1 -1
  51. package/dist/actions/list-vms.d.cts +2 -2
  52. package/dist/actions/list-vms.d.mts +2 -2
  53. package/dist/actions/list-vms.mjs +2 -2
  54. package/dist/actions/list-vms.mjs.map +1 -1
  55. package/dist/actions/update-user-profile.cjs +2 -2
  56. package/dist/actions/update-user-profile.cjs.map +1 -1
  57. package/dist/actions/update-user-profile.d.cts +2 -2
  58. package/dist/actions/update-user-profile.d.mts +2 -2
  59. package/dist/actions/update-user-profile.mjs +2 -2
  60. package/dist/actions/update-user-profile.mjs.map +1 -1
  61. package/package.json +1 -1
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/check-active-campaigns.ts
4
4
  const PilvioCheckActiveCampaignsInput = zod.z.object({}).describe("Request model for checking active campaigns. No parameters required.");
5
- const PilvioCheckActiveCampaignsOutput = zod.z.object({ success: zod.z.boolean().describe("True if there are active campaigns.").nullable() }).describe("Response model indicating whether any active campaigns exist.");
5
+ const PilvioCheckActiveCampaignsOutput = zod.z.object({ success: zod.z.boolean().describe("True if there are active campaigns.").nullable() }).passthrough().describe("Response model indicating whether any active campaigns exist.");
6
6
  const pilvioCheckActiveCampaigns = require_action.action("PILVIO_CHECK_ACTIVE_CAMPAIGNS", {
7
7
  slug: "pilvio-check-active-campaigns",
8
8
  name: "Check Active Campaigns",
@@ -1 +1 @@
1
- {"version":3,"file":"check-active-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/check-active-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioCheckActiveCampaignsInput = z.object({}).describe(\"Request model for checking active campaigns. No parameters required.\");\nexport const PilvioCheckActiveCampaignsOutput = z.object({\n success: z.boolean().describe(\"True if there are active campaigns.\").nullable(),\n}).describe(\"Response model indicating whether any active campaigns exist.\");\n\nexport const pilvioCheckActiveCampaigns = action(\"PILVIO_CHECK_ACTIVE_CAMPAIGNS\", {\n slug: \"pilvio-check-active-campaigns\",\n name: \"Check Active Campaigns\",\n description: \"Tool to check for active campaigns. Use when you need to verify whether any campaigns are currently active.\",\n input: PilvioCheckActiveCampaignsInput,\n output: PilvioCheckActiveCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAC3I,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"check-active-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/check-active-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioCheckActiveCampaignsInput = z.object({}).describe(\"Request model for checking active campaigns. No parameters required.\");\nexport const PilvioCheckActiveCampaignsOutput = z.object({\n success: z.boolean().describe(\"True if there are active campaigns.\").nullable(),\n}).passthrough().describe(\"Response model indicating whether any active campaigns exist.\");\n\nexport const pilvioCheckActiveCampaigns = action(\"PILVIO_CHECK_ACTIVE_CAMPAIGNS\", {\n slug: \"pilvio-check-active-campaigns\",\n name: \"Check Active Campaigns\",\n description: \"Tool to check for active campaigns. Use when you need to verify whether any campaigns are currently active.\",\n input: PilvioCheckActiveCampaignsInput,\n output: PilvioCheckActiveCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAC3I,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const PilvioCheckActiveCampaignsInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const PilvioCheckActiveCampaignsOutput: z.ZodObject<{
6
6
  success: z.ZodNullable<z.ZodBoolean>;
7
- }, z.core.$strip>;
7
+ }, z.core.$loose>;
8
8
  declare const pilvioCheckActiveCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
9
9
  //#endregion
10
10
  export { pilvioCheckActiveCampaigns };
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const PilvioCheckActiveCampaignsInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const PilvioCheckActiveCampaignsOutput: z.ZodObject<{
6
6
  success: z.ZodNullable<z.ZodBoolean>;
7
- }, z.core.$strip>;
7
+ }, z.core.$loose>;
8
8
  declare const pilvioCheckActiveCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
9
9
  //#endregion
10
10
  export { pilvioCheckActiveCampaigns };
@@ -5,7 +5,7 @@ const pilvioCheckActiveCampaigns = action("PILVIO_CHECK_ACTIVE_CAMPAIGNS", {
5
5
  name: "Check Active Campaigns",
6
6
  description: "Tool to check for active campaigns. Use when you need to verify whether any campaigns are currently active.",
7
7
  input: z.object({}).describe("Request model for checking active campaigns. No parameters required."),
8
- output: z.object({ success: z.boolean().describe("True if there are active campaigns.").nullable() }).describe("Response model indicating whether any active campaigns exist.")
8
+ output: z.object({ success: z.boolean().describe("True if there are active campaigns.").nullable() }).passthrough().describe("Response model indicating whether any active campaigns exist.")
9
9
  });
10
10
  //#endregion
11
11
  export { pilvioCheckActiveCampaigns };
@@ -1 +1 @@
1
- {"version":3,"file":"check-active-campaigns.mjs","names":[],"sources":["../../src/actions/check-active-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioCheckActiveCampaignsInput = z.object({}).describe(\"Request model for checking active campaigns. No parameters required.\");\nexport const PilvioCheckActiveCampaignsOutput = z.object({\n success: z.boolean().describe(\"True if there are active campaigns.\").nullable(),\n}).describe(\"Response model indicating whether any active campaigns exist.\");\n\nexport const pilvioCheckActiveCampaigns = action(\"PILVIO_CHECK_ACTIVE_CAMPAIGNS\", {\n slug: \"pilvio-check-active-campaigns\",\n name: \"Check Active Campaigns\",\n description: \"Tool to check for active campaigns. Use when you need to verify whether any campaigns are currently active.\",\n input: PilvioCheckActiveCampaignsInput,\n output: PilvioCheckActiveCampaignsOutput,\n});\n"],"mappings":";;AASA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAS5D;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"check-active-campaigns.mjs","names":[],"sources":["../../src/actions/check-active-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioCheckActiveCampaignsInput = z.object({}).describe(\"Request model for checking active campaigns. No parameters required.\");\nexport const PilvioCheckActiveCampaignsOutput = z.object({\n success: z.boolean().describe(\"True if there are active campaigns.\").nullable(),\n}).passthrough().describe(\"Response model indicating whether any active campaigns exist.\");\n\nexport const pilvioCheckActiveCampaigns = action(\"PILVIO_CHECK_ACTIVE_CAMPAIGNS\", {\n slug: \"pilvio-check-active-campaigns\",\n name: \"Check Active Campaigns\",\n description: \"Tool to check for active campaigns. Use when you need to verify whether any campaigns are currently active.\",\n input: PilvioCheckActiveCampaignsInput,\n output: PilvioCheckActiveCampaignsOutput,\n});\n"],"mappings":";;AASA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAS5D;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
@@ -14,7 +14,7 @@ const PilvioGetUserInfo_ProfileDataSchema = zod.z.object({
14
14
  updated_at: zod.z.string().describe("Profile last update timestamp").nullable().optional(),
15
15
  phone_number: zod.z.string().describe("User's phone number").nullable().optional(),
16
16
  personal_id_number: zod.z.string().describe("User's personal ID number").nullable().optional()
17
- }).describe("Profile data for the user.");
17
+ }).passthrough().describe("Profile data for the user.");
18
18
  const PilvioGetUserInfoOutput = zod.z.object({
19
19
  id: zod.z.number().int().describe("Unique identifier of the user").nullable(),
20
20
  name: zod.z.string().describe("User's name (typically the email)").nullable(),
@@ -22,7 +22,7 @@ const PilvioGetUserInfoOutput = zod.z.object({
22
22
  signup_site: zod.z.string().describe("Site where user signed up").nullable().optional(),
23
23
  profile_data: PilvioGetUserInfo_ProfileDataSchema.nullable().optional(),
24
24
  intercom_user_hash: zod.z.string().describe("Intercom user hash for support integration").nullable().optional()
25
- }).describe("Response schema for GetUserInfo - represents the user data returned by the API.");
25
+ }).passthrough().describe("Response schema for GetUserInfo - represents the user data returned by the API.");
26
26
  const pilvioGetUserInfo = require_action.action("PILVIO_GET_USER_INFO", {
27
27
  slug: "pilvio-get-user-info",
28
28
  name: "Get User Info",
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioGetUserInfoInput = z.object({}).describe(\"Request schema for GetUserInfo. No parameters required.\");\nconst PilvioGetUserInfo_ProfileDataSchema = z.object({\n id: z.number().int().describe(\"Profile ID\").nullable().optional(),\n lang: z.string().describe(\"User's preferred language\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n avatar: z.string().describe(\"User's avatar URL\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID in profile data\").nullable(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n created_at: z.string().describe(\"Profile creation timestamp\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n updated_at: z.string().describe(\"Profile last update timestamp\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number\").nullable().optional(),\n personal_id_number: z.string().describe(\"User's personal ID number\").nullable().optional(),\n}).describe(\"Profile data for the user.\");\nexport const PilvioGetUserInfoOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n name: z.string().describe(\"User's name (typically the email)\").nullable(),\n cookie_id: z.string().describe(\"Cookie identifier\").nullable().optional(),\n signup_site: z.string().describe(\"Site where user signed up\").nullable().optional(),\n profile_data: PilvioGetUserInfo_ProfileDataSchema.nullable().optional(),\n intercom_user_hash: z.string().describe(\"Intercom user hash for support integration\").nullable().optional(),\n}).describe(\"Response schema for GetUserInfo - represents the user data returned by the API.\");\n\nexport const pilvioGetUserInfo = action(\"PILVIO_GET_USER_INFO\", {\n slug: \"pilvio-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to retrieve information about the authenticated user. Use when you need to fetch the current user's profile after authentication.\",\n input: PilvioGetUserInfoInput,\n output: PilvioGetUserInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrH,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,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,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,E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AM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioGetUserInfoInput = z.object({}).describe(\"Request schema for GetUserInfo. No parameters required.\");\nconst PilvioGetUserInfo_ProfileDataSchema = z.object({\n id: z.number().int().describe(\"Profile ID\").nullable().optional(),\n lang: z.string().describe(\"User's preferred language\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n avatar: z.string().describe(\"User's avatar URL\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID in profile data\").nullable(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n created_at: z.string().describe(\"Profile creation timestamp\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n updated_at: z.string().describe(\"Profile last update timestamp\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number\").nullable().optional(),\n personal_id_number: z.string().describe(\"User's personal ID number\").nullable().optional(),\n}).passthrough().describe(\"Profile data for the user.\");\nexport const PilvioGetUserInfoOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n name: z.string().describe(\"User's name (typically the email)\").nullable(),\n cookie_id: z.string().describe(\"Cookie identifier\").nullable().optional(),\n signup_site: z.string().describe(\"Site where user signed up\").nullable().optional(),\n profile_data: PilvioGetUserInfo_ProfileDataSchema.nullable().optional(),\n intercom_user_hash: z.string().describe(\"Intercom user hash for support integration\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GetUserInfo - represents the user data returned by the API.\");\n\nexport const pilvioGetUserInfo = action(\"PILVIO_GET_USER_INFO\", {\n slug: \"pilvio-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to retrieve information about the authenticated user. Use when you need to fetch the current user's profile after authentication.\",\n input: PilvioGetUserInfoInput,\n output: PilvioGetUserInfoOutput,\n});\n"],"m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AC,SAAS,4BAA4B;AACtD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAc,oCAAoC,SAAS,CAAC,CAAC,SAAS;CACtE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAAiF;AAE3G,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -19,9 +19,9 @@ declare const PilvioGetUserInfoOutput: z.ZodObject<{
19
19
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  personal_id_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>>;
22
+ }, z.core.$loose>>>;
23
23
  intercom_user_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const pilvioGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
26
  //#endregion
27
27
  export { pilvioGetUserInfo };
@@ -19,9 +19,9 @@ declare const PilvioGetUserInfoOutput: z.ZodObject<{
19
19
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  personal_id_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>>;
22
+ }, z.core.$loose>>>;
23
23
  intercom_user_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const pilvioGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
26
  //#endregion
27
27
  export { pilvioGetUserInfo };
@@ -14,7 +14,7 @@ const PilvioGetUserInfo_ProfileDataSchema = z.object({
14
14
  updated_at: z.string().describe("Profile last update timestamp").nullable().optional(),
15
15
  phone_number: z.string().describe("User's phone number").nullable().optional(),
16
16
  personal_id_number: z.string().describe("User's personal ID number").nullable().optional()
17
- }).describe("Profile data for the user.");
17
+ }).passthrough().describe("Profile data for the user.");
18
18
  const pilvioGetUserInfo = action("PILVIO_GET_USER_INFO", {
19
19
  slug: "pilvio-get-user-info",
20
20
  name: "Get User Info",
@@ -27,7 +27,7 @@ const pilvioGetUserInfo = action("PILVIO_GET_USER_INFO", {
27
27
  signup_site: z.string().describe("Site where user signed up").nullable().optional(),
28
28
  profile_data: PilvioGetUserInfo_ProfileDataSchema.nullable().optional(),
29
29
  intercom_user_hash: z.string().describe("Intercom user hash for support integration").nullable().optional()
30
- }).describe("Response schema for GetUserInfo - represents the user data returned by the API.")
30
+ }).passthrough().describe("Response schema for GetUserInfo - represents the user data returned by the API.")
31
31
  });
32
32
  //#endregion
33
33
  export { pilvioGetUserInfo };
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-info.mjs","names":[],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioGetUserInfoInput = z.object({}).describe(\"Request schema for GetUserInfo. No parameters required.\");\nconst PilvioGetUserInfo_ProfileDataSchema = z.object({\n id: z.number().int().describe(\"Profile ID\").nullable().optional(),\n lang: z.string().describe(\"User's preferred language\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n avatar: z.string().describe(\"User's avatar URL\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID in profile data\").nullable(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n created_at: z.string().describe(\"Profile creation timestamp\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n updated_at: z.string().describe(\"Profile last update timestamp\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number\").nullable().optional(),\n personal_id_number: z.string().describe(\"User's personal ID number\").nullable().optional(),\n}).describe(\"Profile data for the user.\");\nexport const PilvioGetUserInfoOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n name: z.string().describe(\"User's name (typically the email)\").nullable(),\n cookie_id: z.string().describe(\"Cookie identifier\").nullable().optional(),\n signup_site: z.string().describe(\"Site where user signed up\").nullable().optional(),\n profile_data: PilvioGetUserInfo_ProfileDataSchema.nullable().optional(),\n intercom_user_hash: z.string().describe(\"Intercom user hash for support integration\").nullable().optional(),\n}).describe(\"Response schema for GetUserInfo - represents the user data returned by the API.\");\n\nexport const pilvioGetUserInfo = action(\"PILVIO_GET_USER_INFO\", {\n slug: \"pilvio-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to retrieve information about the authenticated user. Use when you need to fetch the current user's profile after authentication.\",\n input: PilvioGetUserInfoInput,\n output: PilvioGetUserInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrH,MAAM,sCAAsC,EAAE,OAAO;CACnD,IA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AC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,cAAc,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACtE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,SAAS,iFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-info.mjs","names":[],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioGetUserInfoInput = z.object({}).describe(\"Request schema for GetUserInfo. No parameters required.\");\nconst PilvioGetUserInfo_ProfileDataSchema = z.object({\n id: z.number().int().describe(\"Profile ID\").nullable().optional(),\n lang: z.string().describe(\"User's preferred language\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n avatar: z.string().describe(\"User's avatar URL\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID in profile data\").nullable(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n created_at: z.string().describe(\"Profile creation timestamp\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n updated_at: z.string().describe(\"Profile last update timestamp\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number\").nullable().optional(),\n personal_id_number: z.string().describe(\"User's personal ID number\").nullable().optional(),\n}).passthrough().describe(\"Profile data for the user.\");\nexport const PilvioGetUserInfoOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n name: z.string().describe(\"User's name (typically the email)\").nullable(),\n cookie_id: z.string().describe(\"Cookie identifier\").nullable().optional(),\n signup_site: z.string().describe(\"Site where user signed up\").nullable().optional(),\n profile_data: PilvioGetUserInfo_ProfileDataSchema.nullable().optional(),\n intercom_user_hash: z.string().describe(\"Intercom user hash for support integration\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GetUserInfo - represents the user data returned by the API.\");\n\nexport const pilvioGetUserInfo = action(\"PILVIO_GET_USER_INFO\", {\n slug: \"pilvio-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to retrieve information about the authenticated user. Use when you need to fetch the current user's profile after authentication.\",\n input: PilvioGetUserInfoInput,\n output: PilvioGetUserInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrH,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,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,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAUtD,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,cAAc,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACtE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/list-billing-accounts.ts
4
4
  const PilvioListBillingAccountsInput = zod.z.object({}).describe("Request schema for listing billing accounts. No parameters are required.");
5
- const PilvioListBillingAccountsOutput = zod.z.object({ billing_accounts: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of billing account objects") }).describe("Response schema containing list of billing accounts.");
5
+ const PilvioListBillingAccountsOutput = zod.z.object({ billing_accounts: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of billing account objects") }).passthrough().describe("Response schema containing list of billing accounts.");
6
6
  const pilvioListBillingAccounts = require_action.action("PILVIO_LIST_BILLING_ACCOUNTS", {
7
7
  slug: "pilvio-list-billing-accounts",
8
8
  name: "List billing accounts",
@@ -1 +1 @@
1
- {"version":3,"file":"list-billing-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-billing-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListBillingAccountsInput = z.object({}).describe(\"Request schema for listing billing accounts. No parameters are required.\");\nexport const PilvioListBillingAccountsOutput = z.object({\n billing_accounts: z.array(z.record(z.string(), z.unknown())).describe(\"List of billing account objects\"),\n}).describe(\"Response schema containing list of billing accounts.\");\n\nexport const pilvioListBillingAccounts = action(\"PILVIO_LIST_BILLING_ACCOUNTS\", {\n slug: \"pilvio-list-billing-accounts\",\n name: \"List billing accounts\",\n description: \"Tool to list billing accounts. Use when you need to fetch all billing accounts for management or reporting. Use after authenticating your Pilvio API key.\",\n input: PilvioListBillingAccountsInput,\n output: PilvioListBillingAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAC9I,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iCAAiC,EACzG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-billing-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-billing-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListBillingAccountsInput = z.object({}).describe(\"Request schema for listing billing accounts. No parameters are required.\");\nexport const PilvioListBillingAccountsOutput = z.object({\n billing_accounts: z.array(z.record(z.string(), z.unknown())).describe(\"List of billing account objects\"),\n}).passthrough().describe(\"Response schema containing list of billing accounts.\");\n\nexport const pilvioListBillingAccounts = action(\"PILVIO_LIST_BILLING_ACCOUNTS\", {\n slug: \"pilvio-list-billing-accounts\",\n name: \"List billing accounts\",\n description: \"Tool to list billing accounts. Use when you need to fetch all billing accounts for management or reporting. Use after authenticating your Pilvio API key.\",\n input: PilvioListBillingAccountsInput,\n output: PilvioListBillingAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAC9I,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iCAAiC,EACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const PilvioListBillingAccountsInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const PilvioListBillingAccountsOutput: z.ZodObject<{
6
6
  billing_accounts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
- }, z.core.$strip>;
7
+ }, z.core.$loose>;
8
8
  declare const pilvioListBillingAccounts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
9
9
  //#endregion
10
10
  export { pilvioListBillingAccounts };
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const PilvioListBillingAccountsInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const PilvioListBillingAccountsOutput: z.ZodObject<{
6
6
  billing_accounts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
- }, z.core.$strip>;
7
+ }, z.core.$loose>;
8
8
  declare const pilvioListBillingAccounts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
9
9
  //#endregion
10
10
  export { pilvioListBillingAccounts };
@@ -5,7 +5,7 @@ const pilvioListBillingAccounts = action("PILVIO_LIST_BILLING_ACCOUNTS", {
5
5
  name: "List billing accounts",
6
6
  description: "Tool to list billing accounts. Use when you need to fetch all billing accounts for management or reporting. Use after authenticating your Pilvio API key.",
7
7
  input: z.object({}).describe("Request schema for listing billing accounts. No parameters are required."),
8
- output: z.object({ billing_accounts: z.array(z.record(z.string(), z.unknown())).describe("List of billing account objects") }).describe("Response schema containing list of billing accounts.")
8
+ output: z.object({ billing_accounts: z.array(z.record(z.string(), z.unknown())).describe("List of billing account objects") }).passthrough().describe("Response schema containing list of billing accounts.")
9
9
  });
10
10
  //#endregion
11
11
  export { pilvioListBillingAccounts };
@@ -1 +1 @@
1
- {"version":3,"file":"list-billing-accounts.mjs","names":[],"sources":["../../src/actions/list-billing-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListBillingAccountsInput = z.object({}).describe(\"Request schema for listing billing accounts. No parameters are required.\");\nexport const PilvioListBillingAccountsOutput = z.object({\n billing_accounts: z.array(z.record(z.string(), z.unknown())).describe(\"List of billing account objects\"),\n}).describe(\"Response schema containing list of billing accounts.\");\n\nexport const pilvioListBillingAccounts = action(\"PILVIO_LIST_BILLING_ACCOUNTS\", {\n slug: \"pilvio-list-billing-accounts\",\n name: \"List billing accounts\",\n description: \"Tool to list billing accounts. Use when you need to fetch all billing accounts for management or reporting. Use after authenticating your Pilvio API key.\",\n input: PilvioListBillingAccountsInput,\n output: PilvioListBillingAccountsOutput,\n});\n"],"mappings":";;AASA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAS3D;CACP,QAT6C,EAAE,OAAO,EACtD,kBAAkB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iCAAiC,EACzG,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-billing-accounts.mjs","names":[],"sources":["../../src/actions/list-billing-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListBillingAccountsInput = z.object({}).describe(\"Request schema for listing billing accounts. No parameters are required.\");\nexport const PilvioListBillingAccountsOutput = z.object({\n billing_accounts: z.array(z.record(z.string(), z.unknown())).describe(\"List of billing account objects\"),\n}).passthrough().describe(\"Response schema containing list of billing accounts.\");\n\nexport const pilvioListBillingAccounts = action(\"PILVIO_LIST_BILLING_ACCOUNTS\", {\n slug: \"pilvio-list-billing-accounts\",\n name: \"List billing accounts\",\n description: \"Tool to list billing accounts. Use when you need to fetch all billing accounts for management or reporting. Use after authenticating your Pilvio API key.\",\n input: PilvioListBillingAccountsInput,\n output: PilvioListBillingAccountsOutput,\n});\n"],"mappings":";;AASA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAS3D;CACP,QAT6C,EAAE,OAAO,EACtD,kBAAkB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iCAAiC,EACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -11,8 +11,8 @@ const PilvioListCreditCards_CreditCardSchema = zod.z.object({
11
11
  exp_month: zod.z.number().int().describe("Expiration month (1-12, 0 if unknown)").nullable(),
12
12
  created_at: zod.z.string().describe("ISO 8601 timestamp when the card was added").nullable(),
13
13
  is_default: zod.z.boolean().describe("True if this is the default card on the account").nullable()
14
- });
15
- const PilvioListCreditCardsOutput = zod.z.object({ credit_cards: zod.z.array(PilvioListCreditCards_CreditCardSchema).describe("List of credit card objects attached to the billing account") });
14
+ }).passthrough();
15
+ const PilvioListCreditCardsOutput = zod.z.object({ credit_cards: zod.z.array(PilvioListCreditCards_CreditCardSchema).describe("List of credit card objects attached to the billing account") }).passthrough();
16
16
  const pilvioListCreditCards = require_action.action("PILVIO_LIST_CREDIT_CARDS", {
17
17
  slug: "pilvio-list-credit-cards",
18
18
  name: "List Credit Cards",
@@ -1 +1 @@
1
- {"version":3,"file":"list-credit-cards.cjs","names":["z","action"],"sources":["../../src/actions/list-credit-cards.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListCreditCardsInput = z.object({\n billing_account_id: z.string().describe(\"Path parameter. The ID of the billing account to list credit cards for.\"),\n});\nconst PilvioListCreditCards_CreditCardSchema = z.object({\n id: z.string().describe(\"Unique credit card identifier\").nullable(),\n name: z.string().describe(\"Name printed on the card\").nullable(),\n brand: z.string().describe(\"Credit card brand, e.g., Visa, Mastercard\").nullable(),\n last4: z.string().describe(\"Last four digits of the card\").nullable(),\n exp_year: z.number().int().describe(\"Expiration year (YYYY)\").nullable(),\n exp_month: z.number().int().describe(\"Expiration month (1-12, 0 if unknown)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the card was added\").nullable(),\n is_default: z.boolean().describe(\"True if this is the default card on the account\").nullable(),\n});\nexport const PilvioListCreditCardsOutput = z.object({\n credit_cards: z.array(PilvioListCreditCards_CreditCardSchema).describe(\"List of credit card objects attached to the billing account\"),\n});\n\nexport const pilvioListCreditCards = action(\"PILVIO_LIST_CREDIT_CARDS\", {\n slug: \"pilvio-list-credit-cards\",\n name: \"List Credit Cards\",\n description: \"Tool to list credit cards attached to a billing account. Use after confirming the billing account ID. Example: \\\"Retrieve cards for billing_account_id 'ba_1234567890abcdef'.\\\"\",\n input: PilvioListCreditCardsInput,\n output: PilvioListCreditCardsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnH,CAAC;AACD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,cAAcA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6DAA6D,EACtI,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-credit-cards.cjs","names":["z","action"],"sources":["../../src/actions/list-credit-cards.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListCreditCardsInput = z.object({\n billing_account_id: z.string().describe(\"Path parameter. The ID of the billing account to list credit cards for.\"),\n});\nconst PilvioListCreditCards_CreditCardSchema = z.object({\n id: z.string().describe(\"Unique credit card identifier\").nullable(),\n name: z.string().describe(\"Name printed on the card\").nullable(),\n brand: z.string().describe(\"Credit card brand, e.g., Visa, Mastercard\").nullable(),\n last4: z.string().describe(\"Last four digits of the card\").nullable(),\n exp_year: z.number().int().describe(\"Expiration year (YYYY)\").nullable(),\n exp_month: z.number().int().describe(\"Expiration month (1-12, 0 if unknown)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the card was added\").nullable(),\n is_default: z.boolean().describe(\"True if this is the default card on the account\").nullable(),\n}).passthrough();\nexport const PilvioListCreditCardsOutput = z.object({\n credit_cards: z.array(PilvioListCreditCards_CreditCardSchema).describe(\"List of credit card objects attached to the billing account\"),\n}).passthrough();\n\nexport const pilvioListCreditCards = action(\"PILVIO_LIST_CREDIT_CARDS\", {\n slug: \"pilvio-list-credit-cards\",\n name: \"List Credit Cards\",\n description: \"Tool to list credit cards attached to a billing account. Use after confirming the billing account ID. Example: \\\"Retrieve cards for billing_account_id 'ba_1234567890abcdef'.\\\"\",\n input: PilvioListCreditCardsInput,\n output: PilvioListCreditCardsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnH,CAAC;AACD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,cAAcA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6DAA6D,EACtI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,8 +14,8 @@ declare const PilvioListCreditCardsOutput: z.ZodObject<{
14
14
  exp_month: z.ZodNullable<z.ZodNumber>;
15
15
  created_at: z.ZodNullable<z.ZodString>;
16
16
  is_default: z.ZodNullable<z.ZodBoolean>;
17
- }, z.core.$strip>>;
18
- }, z.core.$strip>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>;
19
19
  declare const pilvioListCreditCards: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  billing_account_id: string;
21
21
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -14,8 +14,8 @@ declare const PilvioListCreditCardsOutput: z.ZodObject<{
14
14
  exp_month: z.ZodNullable<z.ZodNumber>;
15
15
  created_at: z.ZodNullable<z.ZodString>;
16
16
  is_default: z.ZodNullable<z.ZodBoolean>;
17
- }, z.core.$strip>>;
18
- }, z.core.$strip>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>;
19
19
  declare const pilvioListCreditCards: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  billing_account_id: string;
21
21
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -11,13 +11,13 @@ const PilvioListCreditCards_CreditCardSchema = z.object({
11
11
  exp_month: z.number().int().describe("Expiration month (1-12, 0 if unknown)").nullable(),
12
12
  created_at: z.string().describe("ISO 8601 timestamp when the card was added").nullable(),
13
13
  is_default: z.boolean().describe("True if this is the default card on the account").nullable()
14
- });
14
+ }).passthrough();
15
15
  const pilvioListCreditCards = action("PILVIO_LIST_CREDIT_CARDS", {
16
16
  slug: "pilvio-list-credit-cards",
17
17
  name: "List Credit Cards",
18
18
  description: "Tool to list credit cards attached to a billing account. Use after confirming the billing account ID. Example: \"Retrieve cards for billing_account_id 'ba_1234567890abcdef'.\"",
19
19
  input: PilvioListCreditCardsInput,
20
- output: z.object({ credit_cards: z.array(PilvioListCreditCards_CreditCardSchema).describe("List of credit card objects attached to the billing account") })
20
+ output: z.object({ credit_cards: z.array(PilvioListCreditCards_CreditCardSchema).describe("List of credit card objects attached to the billing account") }).passthrough()
21
21
  });
22
22
  //#endregion
23
23
  export { pilvioListCreditCards };
@@ -1 +1 @@
1
- {"version":3,"file":"list-credit-cards.mjs","names":[],"sources":["../../src/actions/list-credit-cards.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListCreditCardsInput = z.object({\n billing_account_id: z.string().describe(\"Path parameter. The ID of the billing account to list credit cards for.\"),\n});\nconst PilvioListCreditCards_CreditCardSchema = z.object({\n id: z.string().describe(\"Unique credit card identifier\").nullable(),\n name: z.string().describe(\"Name printed on the card\").nullable(),\n brand: z.string().describe(\"Credit card brand, e.g., Visa, Mastercard\").nullable(),\n last4: z.string().describe(\"Last four digits of the card\").nullable(),\n exp_year: z.number().int().describe(\"Expiration year (YYYY)\").nullable(),\n exp_month: z.number().int().describe(\"Expiration month (1-12, 0 if unknown)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the card was added\").nullable(),\n is_default: z.boolean().describe(\"True if this is the default card on the account\").nullable(),\n});\nexport const PilvioListCreditCardsOutput = z.object({\n credit_cards: z.array(PilvioListCreditCards_CreditCardSchema).describe(\"List of credit card objects attached to the billing account\"),\n});\n\nexport const pilvioListCreditCards = action(\"PILVIO_LIST_CREDIT_CARDS\", {\n slug: \"pilvio-list-credit-cards\",\n name: \"List Credit Cards\",\n description: \"Tool to list credit cards attached to a billing account. Use after confirming the billing account ID. Example: \\\"Retrieve cards for billing_account_id 'ba_1234567890abcdef'.\\\"\",\n input: PilvioListCreditCardsInput,\n output: PilvioListCreditCardsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnH,CAAC;AACD,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC/F,CAAC;AAKD,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,cAAc,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6DAA6D,EACtI,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-credit-cards.mjs","names":[],"sources":["../../src/actions/list-credit-cards.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListCreditCardsInput = z.object({\n billing_account_id: z.string().describe(\"Path parameter. The ID of the billing account to list credit cards for.\"),\n});\nconst PilvioListCreditCards_CreditCardSchema = z.object({\n id: z.string().describe(\"Unique credit card identifier\").nullable(),\n name: z.string().describe(\"Name printed on the card\").nullable(),\n brand: z.string().describe(\"Credit card brand, e.g., Visa, Mastercard\").nullable(),\n last4: z.string().describe(\"Last four digits of the card\").nullable(),\n exp_year: z.number().int().describe(\"Expiration year (YYYY)\").nullable(),\n exp_month: z.number().int().describe(\"Expiration month (1-12, 0 if unknown)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the card was added\").nullable(),\n is_default: z.boolean().describe(\"True if this is the default card on the account\").nullable(),\n}).passthrough();\nexport const PilvioListCreditCardsOutput = z.object({\n credit_cards: z.array(PilvioListCreditCards_CreditCardSchema).describe(\"List of credit card objects attached to the billing account\"),\n}).passthrough();\n\nexport const pilvioListCreditCards = action(\"PILVIO_LIST_CREDIT_CARDS\", {\n slug: \"pilvio-list-credit-cards\",\n name: \"List Credit Cards\",\n description: \"Tool to list credit cards attached to a billing account. Use after confirming the billing account ID. Example: \\\"Retrieve cards for billing_account_id 'ba_1234567890abcdef'.\\\"\",\n input: PilvioListCreditCardsInput,\n output: PilvioListCreditCardsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnH,CAAC;AACD,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,cAAc,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6DAA6D,EACtI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -20,13 +20,13 @@ const PilvioListInvoices_InvoiceSchema = zod.z.object({
20
20
  currency: zod.z.string().describe("Currency code in ISO 4217 format, e.g., 'USD'.").nullable(),
21
21
  due_date: zod.z.string().describe("Due date of the invoice in ISO 8601 format.").nullable(),
22
22
  created_at: zod.z.string().describe("Timestamp when the invoice was created, in ISO 8601 format.").nullable()
23
- }).describe("Details of a single invoice.");
23
+ }).passthrough().describe("Details of a single invoice.");
24
24
  const PilvioListInvoicesOutput = zod.z.object({
25
25
  limit: zod.z.number().int().describe("Number of invoices returned in this page.").nullable(),
26
26
  total: zod.z.number().int().describe("Total number of invoices matching the query.").nullable(),
27
27
  offset: zod.z.number().int().describe("Offset of the first invoice in this page from the start of the result set.").nullable(),
28
28
  invoices: zod.z.array(PilvioListInvoices_InvoiceSchema).describe("List of invoice objects.")
29
- }).describe("Response model containing list of invoices and pagination metadata.");
29
+ }).passthrough().describe("Response model containing list of invoices and pagination metadata.");
30
30
  const pilvioListInvoices = require_action.action("PILVIO_LIST_INVOICES", {
31
31
  slug: "pilvio-list-invoices",
32
32
  name: "List Invoices",
@@ -1 +1 @@
1
- {"version":3,"file":"list-invoices.cjs","names":["z","action"],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListInvoicesInput = z.object({\n limit: z.number().int().describe(\"Number of invoices per page.\").optional(),\n offset: z.number().int().describe(\"Pagination offset (zero-based).\").optional(),\n status: z.enum([\"paid\", \"unpaid\", \"pending\"]).describe(\"Filter invoices by status.\").optional(),\n date_to: z.string().describe(\"ISO 8601 timestamp (inclusive) to filter invoices created on or before this date.\").optional(),\n date_from: z.string().describe(\"ISO 8601 timestamp (inclusive) to filter invoices created on or after this date.\").optional(),\n billing_account_id: z.string().describe(\"Billing account ID to retrieve invoices for.\"),\n}).describe(\"Request model for listing invoices. Use when you need to retrieve invoices for a specific billing account with optional pagination and filtering.\");\nconst PilvioListInvoices_InvoiceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the invoice.\").nullable(),\n amount: z.number().describe(\"Total amount of the invoice.\").nullable(),\n status: z.string().describe(\"Current status of the invoice, e.g., 'paid' or 'unpaid'.\").nullable(),\n currency: z.string().describe(\"Currency code in ISO 4217 format, e.g., 'USD'.\").nullable(),\n due_date: z.string().describe(\"Due date of the invoice in ISO 8601 format.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the invoice was created, in ISO 8601 format.\").nullable(),\n}).describe(\"Details of a single invoice.\");\nexport const PilvioListInvoicesOutput = z.object({\n limit: z.number().int().describe(\"Number of invoices returned in this page.\").nullable(),\n total: z.number().int().describe(\"Total number of invoices matching the query.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first invoice in this page from the start of the result set.\").nullable(),\n invoices: z.array(PilvioListInvoices_InvoiceSchema).describe(\"List of invoice objects.\"),\n}).describe(\"Response model containing list of invoices and pagination metadata.\");\n\nexport const pilvioListInvoices = action(\"PILVIO_LIST_INVOICES\", {\n slug: \"pilvio-list-invoices\",\n name: \"List Invoices\",\n description: \"Tool to retrieve a list of invoices. Use after authentication to fetch and filter invoices for a billing account.\",\n input: PilvioListInvoicesInput,\n output: PilvioListInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAA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s","names":["z","action"],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListInvoicesInput = z.object({\n limit: z.number().int().describe(\"Number of invoices per page.\").optional(),\n offset: z.number().int().describe(\"Pagination offset (zero-based).\").optional(),\n status: z.enum([\"paid\", \"unpaid\", \"pending\"]).describe(\"Filter invoices by status.\").optional(),\n date_to: z.string().describe(\"ISO 8601 timestamp (inclusive) to filter invoices created on or before this date.\").optional(),\n date_from: z.string().describe(\"ISO 8601 timestamp (inclusive) to filter invoices created on or after this date.\").optional(),\n billing_account_id: z.string().describe(\"Billing account ID to retrieve invoices for.\"),\n}).describe(\"Request model for listing invoices. Use when you need to retrieve invoices for a specific billing account with optional pagination and filtering.\");\nconst PilvioListInvoices_InvoiceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the invoice.\").nullable(),\n amount: z.number().describe(\"Total amount of the invoice.\").nullable(),\n status: z.string().describe(\"Current status of the invoice, e.g., 'paid' or 'unpaid'.\").nullable(),\n currency: z.string().describe(\"Currency code in ISO 4217 format, e.g., 'USD'.\").nullable(),\n due_date: z.string().describe(\"Due date of the invoice in ISO 8601 format.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the invoice was created, in ISO 8601 format.\").nullable(),\n}).passthrough().describe(\"Details of a single invoice.\");\nexport const PilvioListInvoicesOutput = z.object({\n limit: z.number().int().describe(\"Number of invoices returned in this page.\").nullable(),\n total: z.number().int().describe(\"Total number of invoices matching the query.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first invoice in this page from the start of the result set.\").nullable(),\n invoices: z.array(PilvioListInvoices_InvoiceSchema).describe(\"List of invoice objects.\"),\n}).passthrough().describe(\"Response model containing list of invoices and pagination metadata.\");\n\nexport const pilvioListInvoices = action(\"PILVIO_LIST_INVOICES\", {\n slug: \"pilvio-list-invoices\",\n name: \"List Invoices\",\n description: \"Tool to retrieve a list of invoices. Use after authentication to fetch and filter invoices for a billing account.\",\n input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BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACzH,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0BAA0B;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -24,8 +24,8 @@ declare const PilvioListInvoicesOutput: z.ZodObject<{
24
24
  currency: z.ZodNullable<z.ZodString>;
25
25
  due_date: z.ZodNullable<z.ZodString>;
26
26
  created_at: z.ZodNullable<z.ZodString>;
27
- }, z.core.$strip>>;
28
- }, z.core.$strip>;
27
+ }, z.core.$loose>>;
28
+ }, z.core.$loose>;
29
29
  declare const pilvioListInvoices: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  billing_account_id: string;
31
31
  limit?: number | undefined;
@@ -24,8 +24,8 @@ declare const PilvioListInvoicesOutput: z.ZodObject<{
24
24
  currency: z.ZodNullable<z.ZodString>;
25
25
  due_date: z.ZodNullable<z.ZodString>;
26
26
  created_at: z.ZodNullable<z.ZodString>;
27
- }, z.core.$strip>>;
28
- }, z.core.$strip>;
27
+ }, z.core.$loose>>;
28
+ }, z.core.$loose>;
29
29
  declare const pilvioListInvoices: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  billing_account_id: string;
31
31
  limit?: number | undefined;
@@ -20,7 +20,7 @@ const PilvioListInvoices_InvoiceSchema = z.object({
20
20
  currency: z.string().describe("Currency code in ISO 4217 format, e.g., 'USD'.").nullable(),
21
21
  due_date: z.string().describe("Due date of the invoice in ISO 8601 format.").nullable(),
22
22
  created_at: z.string().describe("Timestamp when the invoice was created, in ISO 8601 format.").nullable()
23
- }).describe("Details of a single invoice.");
23
+ }).passthrough().describe("Details of a single invoice.");
24
24
  const pilvioListInvoices = action("PILVIO_LIST_INVOICES", {
25
25
  slug: "pilvio-list-invoices",
26
26
  name: "List Invoices",
@@ -31,7 +31,7 @@ const pilvioListInvoices = action("PILVIO_LIST_INVOICES", {
31
31
  total: z.number().int().describe("Total number of invoices matching the query.").nullable(),
32
32
  offset: z.number().int().describe("Offset of the first invoice in this page from the start of the result set.").nullable(),
33
33
  invoices: z.array(PilvioListInvoices_InvoiceSchema).describe("List of invoice objects.")
34
- }).describe("Response model containing list of invoices and pagination metadata.")
34
+ }).passthrough().describe("Response model containing list of invoices and pagination metadata.")
35
35
  });
36
36
  //#endregion
37
37
  export { pilvioListInvoices };
@@ -1 +1 @@
1
- {"version":3,"file":"list-invoices.mjs","names":[],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListInvoicesInput = z.object({\n limit: z.number().int().describe(\"Number of invoices per page.\").optional(),\n offset: z.number().int().describe(\"Pagination offset (zero-based).\").optional(),\n status: z.enum([\"paid\", \"unpaid\", \"pending\"]).describe(\"Filter invoices by status.\").optional(),\n date_to: z.string().describe(\"ISO 8601 timestamp (inclusive) to filter invoices created on or before this date.\").optional(),\n date_from: z.string().describe(\"ISO 8601 timestamp (inclusive) to filter invoices created on or after this date.\").optional(),\n billing_account_id: z.string().describe(\"Billing account ID to retrieve invoices for.\"),\n}).describe(\"Request model for listing invoices. Use when you need to retrieve invoices for a specific billing account with optional pagination and filtering.\");\nconst PilvioListInvoices_InvoiceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the invoice.\").nullable(),\n amount: z.number().describe(\"Total amount of the invoice.\").nullable(),\n status: z.string().describe(\"Current status of the invoice, e.g., 'paid' or 'unpaid'.\").nullable(),\n currency: z.string().describe(\"Currency code in ISO 4217 format, e.g., 'USD'.\").nullable(),\n due_date: z.string().describe(\"Due date of the invoice in ISO 8601 format.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the invoice was created, in ISO 8601 format.\").nullable(),\n}).describe(\"Details of a single invoice.\");\nexport const PilvioListInvoicesOutput = z.object({\n limit: z.number().int().describe(\"Number of invoices returned in this page.\").nullable(),\n total: z.number().int().describe(\"Total number of invoices matching the query.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first invoice in this page from the start of the result set.\").nullable(),\n invoices: z.array(PilvioListInvoices_InvoiceSchema).describe(\"List of invoice objects.\"),\n}).describe(\"Response model containing list of invoices and pagination metadata.\");\n\nexport const pilvioListInvoices = action(\"PILVIO_LIST_INVOICES\", {\n slug: \"pilvio-list-invoices\",\n name: \"List Invoices\",\n description: \"Tool to retrieve a list of invoices. Use after authentication to fetch and filter invoices for a billing account.\",\n input: PilvioListInvoicesInput,\n output: PilvioListInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC5H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACxF,CAAC,CAAC,CAAC,SAAS,mJAAmJ;AAC/J,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAQ1C,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACzH,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0BAA0B;CACzF,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-invoices.mjs","names":[],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PilvioListInvoicesInput = z.object({\n limit: z.number().int().describe(\"Number of invoices per page.\").optional(),\n offset: z.number().int().describe(\"Pagination offset (zero-based).\").optional(),\n status: z.enum([\"paid\", \"unpaid\", \"pending\"]).describe(\"Filter invoices by status.\").optional(),\n date_to: z.string().describe(\"ISO 8601 timestamp (inclusive) to filter invoices created on or before this date.\").optional(),\n date_from: z.string().describe(\"ISO 8601 timestamp (inclusive) to filter invoices created on or after this date.\").optional(),\n billing_account_id: z.string().describe(\"Billing account ID to retrieve invoices for.\"),\n}).describe(\"Request model for listing invoices. Use when you need to retrieve invoices for a specific billing account with optional pagination and filtering.\");\nconst PilvioListInvoices_InvoiceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the invoice.\").nullable(),\n amount: z.number().describe(\"Total amount of the invoice.\").nullable(),\n status: z.string().describe(\"Current status of the invoice, e.g., 'paid' or 'unpaid'.\").nullable(),\n currency: z.string().describe(\"Currency code in ISO 4217 format, e.g., 'USD'.\").nullable(),\n due_date: z.string().describe(\"Due date of the invoice in ISO 8601 format.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the invoice was created, in ISO 8601 format.\").nullable(),\n}).passthrough().describe(\"Details of a single invoice.\");\nexport const PilvioListInvoicesOutput = z.object({\n limit: z.number().int().describe(\"Number of invoices returned in this page.\").nullable(),\n total: z.number().int().describe(\"Total number of invoices matching the query.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first invoice in this page from the start of the result set.\").nullable(),\n invoices: z.array(PilvioListInvoices_InvoiceSchema).describe(\"List of invoice objects.\"),\n}).passthrough().describe(\"Response model containing list of invoices and pagination metadata.\");\n\nexport const pilvioListInvoices = action(\"PILVIO_LIST_INVOICES\", {\n slug: \"pilvio-list-invoices\",\n name: \"List Invoices\",\n description: \"Tool to retrieve a list of invoices. Use after authentication to fetch and filter invoices for a billing account.\",\n input: PilvioListInvoicesInput,\n output: PilvioListInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC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CAAC,CAAC,SAAS;EACzH,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0BAA0B;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
@@ -12,8 +12,8 @@ const PilvioListLocations_LocationSchema = zod.z.object({
12
12
  is_preferred: zod.z.boolean().describe("True if this is the preferred location").nullable().optional(),
13
13
  is_published: zod.z.boolean().describe("True if this location is published").nullable().optional(),
14
14
  create_resource_disabled: zod.z.boolean().describe("True if resource creation is disabled at this location").nullable().optional()
15
- }).describe("A single Pilvio data center location.\nFields correspond to configuration data from /v1/config/locations.");
16
- const PilvioListLocationsOutput = zod.z.object({ locations: zod.z.array(PilvioListLocations_LocationSchema).describe("List of available data center locations") }).describe("Response schema for listing Pilvio data center locations.");
15
+ }).passthrough().describe("A single Pilvio data center location.\nFields correspond to configuration data from /v1/config/locations.");
16
+ const PilvioListLocationsOutput = zod.z.object({ locations: zod.z.array(PilvioListLocations_LocationSchema).describe("List of available data center locations") }).passthrough().describe("Response schema for listing Pilvio data center locations.");
17
17
  const pilvioListLocations = require_action.action("PILVIO_LIST_LOCATIONS", {
18
18
  slug: "pilvio-list-locations",
19
19
  name: "List Pilvio data center locations",
@@ -1 +1 @@
1
- {"version":3,"file":"list-locations.cjs","names":["z","action"],"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}).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}).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":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACrJ,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,0BAA0BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,yCAAyC,EAC3G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-locations.cjs","names":["z","action"],"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":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACrJ,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,0BAA0BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2GAA2G;AACrI,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,yCAAyC,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,8 +13,8 @@ declare const PilvioListLocationsOutput: z.ZodObject<{
13
13
  is_preferred: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
14
  is_published: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
15
  create_resource_disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
- }, z.core.$strip>>;
17
- }, z.core.$strip>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>;
18
18
  declare const pilvioListLocations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
19
  //#endregion
20
20
  export { pilvioListLocations };
@@ -13,8 +13,8 @@ declare const PilvioListLocationsOutput: z.ZodObject<{
13
13
  is_preferred: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
14
  is_published: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
15
  create_resource_disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
- }, z.core.$strip>>;
17
- }, z.core.$strip>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>;
18
18
  declare const pilvioListLocations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
19
  //#endregion
20
20
  export { pilvioListLocations };
@@ -12,13 +12,13 @@ const PilvioListLocations_LocationSchema = z.object({
12
12
  is_preferred: z.boolean().describe("True if this is the preferred location").nullable().optional(),
13
13
  is_published: z.boolean().describe("True if this location is published").nullable().optional(),
14
14
  create_resource_disabled: z.boolean().describe("True if resource creation is disabled at this location").nullable().optional()
15
- }).describe("A single Pilvio data center location.\nFields correspond to configuration data from /v1/config/locations.");
15
+ }).passthrough().describe("A single Pilvio data center location.\nFields correspond to configuration data from /v1/config/locations.");
16
16
  const pilvioListLocations = action("PILVIO_LIST_LOCATIONS", {
17
17
  slug: "pilvio-list-locations",
18
18
  name: "List Pilvio data center locations",
19
19
  description: "Tool to retrieve the list of available data center locations. Use after authentication to see where you can deploy resources.",
20
20
  input: PilvioListLocationsInput,
21
- output: z.object({ locations: z.array(PilvioListLocations_LocationSchema).describe("List of available data center locations") }).describe("Response schema for listing Pilvio data center locations.")
21
+ output: z.object({ locations: z.array(PilvioListLocations_LocationSchema).describe("List of available data center locations") }).passthrough().describe("Response schema for listing Pilvio data center locations.")
22
22
  });
23
23
  //#endregion
24
24
  export { pilvioListLocations };
@@ -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}).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}).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":";;;AAIA,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,SAAS,2GAA2G;AAKvH,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,WAAW,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,yCAAyC,EAC3G,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
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":";;;AAIA,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,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,WAAW,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,yCAAyC,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
@@ -12,17 +12,17 @@ const PilvioListVmResourcePools_ResourceStatsSchema = zod.z.object({
12
12
  memory_total: zod.z.number().int().describe("Total memory in MB available in the pool").nullable(),
13
13
  storage_used: zod.z.number().int().describe("Storage in GB currently used in the pool").nullable(),
14
14
  storage_total: zod.z.number().int().describe("Total storage in GB available in the pool").nullable()
15
- }).describe("Resource statistics for a single host pool.");
15
+ }).passthrough().describe("Resource statistics for a single host pool.");
16
16
  const PilvioListVmResourcePools_ResourcePoolSchema = zod.z.object({
17
17
  id: zod.z.string().describe("Unique identifier of the resource pool").nullable(),
18
18
  name: zod.z.string().describe("Name of the resource pool").nullable(),
19
19
  description: zod.z.string().describe("Description of the resource pool").nullable().optional(),
20
20
  resource_stats: PilvioListVmResourcePools_ResourceStatsSchema.nullable()
21
- }).describe("A single VM resource pool.");
21
+ }).passthrough().describe("A single VM resource pool.");
22
22
  const PilvioListVmResourcePoolsOutput = zod.z.object({
23
23
  list: zod.z.array(PilvioListVmResourcePools_ResourcePoolSchema).describe("List of available resource pools"),
24
24
  total: zod.z.number().int().describe("Total number of resource pools found").nullable()
25
- }).describe("Response schema for a list of VM resource pools.");
25
+ }).passthrough().describe("Response schema for a list of VM resource pools.");
26
26
  const pilvioListVmResourcePools = require_action.action("PILVIO_LIST_VM_RESOURCE_POOLS", {
27
27
  slug: "pilvio-list-vm-resource-pools",
28
28
  name: "List VM Resource Pools",
@@ -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}).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}).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}).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":";;;AAIA,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,SAAS,6CAA6C;AACzD,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,SAAS,4BAA4B;AACxC,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,SAAS,kDAAkD;AAE9D,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,C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AAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -17,10 +17,10 @@ declare const PilvioListVmResourcePoolsOutput: z.ZodObject<{
17
17
  memory_total: z.ZodNullable<z.ZodNumber>;
18
18
  storage_used: z.ZodNullable<z.ZodNumber>;
19
19
  storage_total: z.ZodNullable<z.ZodNumber>;
20
- }, z.core.$strip>>;
21
- }, z.core.$strip>>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$loose>>;
22
22
  total: z.ZodNullable<z.ZodNumber>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const pilvioListVmResourcePools: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  page?: number | undefined;
26
26
  page_size?: number | undefined;
@@ -17,10 +17,10 @@ declare const PilvioListVmResourcePoolsOutput: z.ZodObject<{
17
17
  memory_total: z.ZodNullable<z.ZodNumber>;
18
18
  storage_used: z.ZodNullable<z.ZodNumber>;
19
19
  storage_total: z.ZodNullable<z.ZodNumber>;
20
- }, z.core.$strip>>;
21
- }, z.core.$strip>>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$loose>>;
22
22
  total: z.ZodNullable<z.ZodNumber>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const pilvioListVmResourcePools: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  page?: number | undefined;
26
26
  page_size?: number | undefined;
@@ -12,13 +12,13 @@ const PilvioListVmResourcePools_ResourceStatsSchema = z.object({
12
12
  memory_total: z.number().int().describe("Total memory in MB available in the pool").nullable(),
13
13
  storage_used: z.number().int().describe("Storage in GB currently used in the pool").nullable(),
14
14
  storage_total: z.number().int().describe("Total storage in GB available in the pool").nullable()
15
- }).describe("Resource statistics for a single host pool.");
15
+ }).passthrough().describe("Resource statistics for a single host pool.");
16
16
  const PilvioListVmResourcePools_ResourcePoolSchema = z.object({
17
17
  id: z.string().describe("Unique identifier of the resource pool").nullable(),
18
18
  name: z.string().describe("Name of the resource pool").nullable(),
19
19
  description: z.string().describe("Description of the resource pool").nullable().optional(),
20
20
  resource_stats: PilvioListVmResourcePools_ResourceStatsSchema.nullable()
21
- }).describe("A single VM resource pool.");
21
+ }).passthrough().describe("A single VM resource pool.");
22
22
  const pilvioListVmResourcePools = action("PILVIO_LIST_VM_RESOURCE_POOLS", {
23
23
  slug: "pilvio-list-vm-resource-pools",
24
24
  name: "List VM Resource Pools",
@@ -27,7 +27,7 @@ const pilvioListVmResourcePools = action("PILVIO_LIST_VM_RESOURCE_POOLS", {
27
27
  output: z.object({
28
28
  list: z.array(PilvioListVmResourcePools_ResourcePoolSchema).describe("List of available resource pools"),
29
29
  total: z.number().int().describe("Total number of resource pools found").nullable()
30
- }).describe("Response schema for a list of VM resource pools.")
30
+ }).passthrough().describe("Response schema for a list of VM resource pools.")
31
31
  });
32
32
  //#endregion
33
33
  export { pilvioListVmResourcePools };
@@ -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}).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}).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}).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":";;;AAIA,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,SAAS,6CAA6C;AACzD,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,SAAS,4BAA4B;AAMxC,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,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,SAAS,kDAOF;AACV,CAAC"}
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":";;;AAIA,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,EAA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S,kDAOhB;AACV,CAAC"}
@@ -15,8 +15,8 @@ const PilvioListVmSnapshots_ReplicaSchema = zod.z.object({
15
15
  created_at: zod.z.string().describe("Creation timestamp").nullable().optional(),
16
16
  updated_at: zod.z.string().describe("Last update timestamp").nullable().optional(),
17
17
  master_uuid: zod.z.string().describe("UUID of the master disk").nullable().optional()
18
- }).describe("Details of a VM snapshot/replica.");
19
- const PilvioListVmSnapshotsOutput = zod.z.object({ replicas: zod.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.");
18
+ }).passthrough().describe("Details of a VM snapshot/replica.");
19
+ const PilvioListVmSnapshotsOutput = zod.z.object({ replicas: zod.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.");
20
20
  const pilvioListVmSnapshots = require_action.action("PILVIO_LIST_VM_SNAPSHOTS", {
21
21
  slug: "pilvio-list-vm-snapshots",
22
22
  name: "List VM Snapshots",
@@ -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}).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}).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,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,SAAS,mCAAmC;AAC/C,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,SAAS,8EAA8E;AAE1F,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,MAA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z.ZodString>>;
17
17
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  master_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>>>;
20
- }, z.core.$strip>;
19
+ }, z.core.$loose>>>>;
20
+ }, z.core.$loose>;
21
21
  declare const pilvioListVmSnapshots: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  uuid: string;
23
23
  r_type?: string | undefined;
@@ -16,8 +16,8 @@ declare const PilvioListVmSnapshotsOutput: z.ZodObject<{
16
16
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  master_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>>>;
20
- }, z.core.$strip>;
19
+ }, z.core.$loose>>>>;
20
+ }, z.core.$loose>;
21
21
  declare const pilvioListVmSnapshots: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  uuid: string;
23
23
  r_type?: string | undefined;
@@ -15,13 +15,13 @@ const PilvioListVmSnapshots_ReplicaSchema = z.object({
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 = 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}).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}).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.\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AAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,UAAU,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,SAAS,8EAOF;AACV,CAAC"}
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;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,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,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,8EAOhB;AACV,CAAC"}
@@ -20,8 +20,8 @@ const PilvioListVms_VMSchema = zod.z.object({
20
20
  created_at: zod.z.string().describe("Creation timestamp in ISO 8601 format").nullable(),
21
21
  project_id: zod.z.string().describe("Project ID the VM belongs to").nullable(),
22
22
  updated_at: zod.z.string().describe("Last updated timestamp in ISO 8601 format").nullable()
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.");
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 = 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}).describe(\"Details of a virtual machine.\");\nexport const PilvioListVmsOutput = z.object({\n data: z.array(PilvioListVms_VMSchema).describe(\"List of virtual machine objects\"),\n}).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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,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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,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,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -21,8 +21,8 @@ declare const PilvioListVmsOutput: z.ZodObject<{
21
21
  created_at: z.ZodNullable<z.ZodString>;
22
22
  project_id: z.ZodNullable<z.ZodString>;
23
23
  updated_at: z.ZodNullable<z.ZodString>;
24
- }, z.core.$strip>>;
25
- }, z.core.$strip>;
24
+ }, z.core.$loose>>;
25
+ }, z.core.$loose>;
26
26
  declare const pilvioListVms: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  sort?: string | undefined;
28
28
  limit?: number | undefined;
@@ -21,8 +21,8 @@ declare const PilvioListVmsOutput: z.ZodObject<{
21
21
  created_at: z.ZodNullable<z.ZodString>;
22
22
  project_id: z.ZodNullable<z.ZodString>;
23
23
  updated_at: z.ZodNullable<z.ZodString>;
24
- }, z.core.$strip>>;
25
- }, z.core.$strip>;
24
+ }, z.core.$loose>>;
25
+ }, z.core.$loose>;
26
26
  declare const pilvioListVms: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  sort?: string | undefined;
28
28
  limit?: number | undefined;
@@ -20,13 +20,13 @@ const PilvioListVms_VMSchema = z.object({
20
20
  created_at: z.string().describe("Creation timestamp in ISO 8601 format").nullable(),
21
21
  project_id: z.string().describe("Project ID the VM belongs to").nullable(),
22
22
  updated_at: z.string().describe("Last updated timestamp in ISO 8601 format").nullable()
23
- }).describe("Details of a virtual machine.");
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 = 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}).describe(\"Details of a virtual machine.\");\nexport const PilvioListVmsOutput = z.object({\n data: z.array(PilvioListVms_VMSchema).describe(\"List of virtual machine objects\"),\n}).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,SAAS,+BAA+B;AAK3C,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,SAAS,uDAOF;AACV,CAAC"}
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,YAA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CAAC,SAAS,iCAAiC,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -20,7 +20,7 @@ const PilvioUpdateUserProfile_ProfileDataSchema = zod.z.object({
20
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
25
  id: zod.z.number().int().describe("Unique identifier of the user").nullable(),
26
26
  name: zod.z.string().describe("User's name/email identifier").nullable(),
@@ -28,7 +28,7 @@ const PilvioUpdateUserProfileOutput = zod.z.object({
28
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 = 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}).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}).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,CA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AA,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,SAAS,+CAA+C;AAE3D,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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;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AAS,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,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -26,8 +26,8 @@ declare const PilvioUpdateUserProfileOutput: z.ZodObject<{
26
26
  updated_at: z.ZodNullable<z.ZodString>;
27
27
  phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  personal_id_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>>;
30
- }, z.core.$strip>;
29
+ }, z.core.$loose>>;
30
+ }, z.core.$loose>;
31
31
  declare const pilvioUpdateUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  username: string;
33
33
  email?: string | undefined;
@@ -26,8 +26,8 @@ declare const PilvioUpdateUserProfileOutput: z.ZodObject<{
26
26
  updated_at: z.ZodNullable<z.ZodString>;
27
27
  phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  personal_id_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>>;
30
- }, z.core.$strip>;
29
+ }, z.core.$loose>>;
30
+ }, z.core.$loose>;
31
31
  declare const pilvioUpdateUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  username: string;
33
33
  email?: string | undefined;
@@ -20,7 +20,7 @@ const PilvioUpdateUserProfile_ProfileDataSchema = z.object({
20
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",
@@ -33,7 +33,7 @@ const pilvioUpdateUserProfile = action("PILVIO_UPDATE_USER_PROFILE", {
33
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 = 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}).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}).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,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,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mB,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,SAAS,+CAOF;AACV,CAAC"}
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,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,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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/pilvio",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"