@keystrokehq/pilvio 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/check-active-campaigns.cjs +1 -1
  4. package/dist/actions/check-active-campaigns.cjs.map +1 -1
  5. package/dist/actions/check-active-campaigns.d.cts +5 -3
  6. package/dist/actions/check-active-campaigns.d.cts.map +1 -1
  7. package/dist/actions/check-active-campaigns.d.mts +5 -3
  8. package/dist/actions/check-active-campaigns.d.mts.map +1 -1
  9. package/dist/actions/check-active-campaigns.mjs +1 -1
  10. package/dist/actions/check-active-campaigns.mjs.map +1 -1
  11. package/dist/actions/get-user-info.cjs +5 -5
  12. package/dist/actions/get-user-info.cjs.map +1 -1
  13. package/dist/actions/get-user-info.d.cts +22 -3
  14. package/dist/actions/get-user-info.d.cts.map +1 -1
  15. package/dist/actions/get-user-info.d.mts +22 -3
  16. package/dist/actions/get-user-info.d.mts.map +1 -1
  17. package/dist/actions/get-user-info.mjs +5 -5
  18. package/dist/actions/get-user-info.mjs.map +1 -1
  19. package/dist/actions/list-billing-accounts.cjs +1 -1
  20. package/dist/actions/list-billing-accounts.cjs.map +1 -1
  21. package/dist/actions/list-billing-accounts.d.cts +5 -3
  22. package/dist/actions/list-billing-accounts.d.cts.map +1 -1
  23. package/dist/actions/list-billing-accounts.d.mts +5 -3
  24. package/dist/actions/list-billing-accounts.d.mts.map +1 -1
  25. package/dist/actions/list-billing-accounts.mjs +1 -1
  26. package/dist/actions/list-billing-accounts.mjs.map +1 -1
  27. package/dist/actions/list-credit-cards.cjs +10 -10
  28. package/dist/actions/list-credit-cards.cjs.map +1 -1
  29. package/dist/actions/list-credit-cards.d.cts +18 -3
  30. package/dist/actions/list-credit-cards.d.cts.map +1 -1
  31. package/dist/actions/list-credit-cards.d.mts +18 -3
  32. package/dist/actions/list-credit-cards.d.mts.map +1 -1
  33. package/dist/actions/list-credit-cards.mjs +10 -10
  34. package/dist/actions/list-credit-cards.mjs.map +1 -1
  35. package/dist/actions/list-invoices.cjs +11 -11
  36. package/dist/actions/list-invoices.cjs.map +1 -1
  37. package/dist/actions/list-invoices.d.cts +33 -3
  38. package/dist/actions/list-invoices.d.cts.map +1 -1
  39. package/dist/actions/list-invoices.d.mts +33 -3
  40. package/dist/actions/list-invoices.d.mts.map +1 -1
  41. package/dist/actions/list-invoices.mjs +11 -11
  42. package/dist/actions/list-invoices.mjs.map +1 -1
  43. package/dist/actions/list-locations.cjs +7 -7
  44. package/dist/actions/list-locations.cjs.map +1 -1
  45. package/dist/actions/list-locations.d.cts +15 -3
  46. package/dist/actions/list-locations.d.cts.map +1 -1
  47. package/dist/actions/list-locations.d.mts +15 -3
  48. package/dist/actions/list-locations.d.mts.map +1 -1
  49. package/dist/actions/list-locations.mjs +7 -7
  50. package/dist/actions/list-locations.mjs.map +1 -1
  51. package/dist/actions/list-vm-resource-pools.cjs +12 -12
  52. package/dist/actions/list-vm-resource-pools.cjs.map +1 -1
  53. package/dist/actions/list-vm-resource-pools.d.cts +24 -3
  54. package/dist/actions/list-vm-resource-pools.d.cts.map +1 -1
  55. package/dist/actions/list-vm-resource-pools.d.mts +24 -3
  56. package/dist/actions/list-vm-resource-pools.d.mts.map +1 -1
  57. package/dist/actions/list-vm-resource-pools.mjs +12 -12
  58. package/dist/actions/list-vm-resource-pools.mjs.map +1 -1
  59. package/dist/actions/list-vm-snapshots.cjs +3 -3
  60. package/dist/actions/list-vm-snapshots.cjs.map +1 -1
  61. package/dist/actions/list-vm-snapshots.d.cts +21 -3
  62. package/dist/actions/list-vm-snapshots.d.cts.map +1 -1
  63. package/dist/actions/list-vm-snapshots.d.mts +21 -3
  64. package/dist/actions/list-vm-snapshots.d.mts.map +1 -1
  65. package/dist/actions/list-vm-snapshots.mjs +3 -3
  66. package/dist/actions/list-vm-snapshots.mjs.map +1 -1
  67. package/dist/actions/list-vms.cjs +12 -12
  68. package/dist/actions/list-vms.cjs.map +1 -1
  69. package/dist/actions/list-vms.d.cts +28 -3
  70. package/dist/actions/list-vms.d.cts.map +1 -1
  71. package/dist/actions/list-vms.d.mts +28 -3
  72. package/dist/actions/list-vms.d.mts.map +1 -1
  73. package/dist/actions/list-vms.mjs +12 -12
  74. package/dist/actions/list-vms.mjs.map +1 -1
  75. package/dist/actions/update-user-profile.cjs +10 -10
  76. package/dist/actions/update-user-profile.cjs.map +1 -1
  77. package/dist/actions/update-user-profile.d.cts +34 -3
  78. package/dist/actions/update-user-profile.d.cts.map +1 -1
  79. package/dist/actions/update-user-profile.d.mts +34 -3
  80. package/dist/actions/update-user-profile.d.mts.map +1 -1
  81. package/dist/actions/update-user-profile.mjs +10 -10
  82. package/dist/actions/update-user-profile.mjs.map +1 -1
  83. package/dist/catalog.cjs +7 -1
  84. package/dist/catalog.cjs.map +1 -1
  85. package/dist/catalog.d.cts +8 -0
  86. package/dist/catalog.d.mts +8 -0
  87. package/dist/catalog.mjs +7 -1
  88. package/dist/catalog.mjs.map +1 -1
  89. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["pilvio","executePilvioTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pilvio } from \"./app\";\nimport { executePilvioTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return pilvio.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePilvioTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["pilvio","executePilvioTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pilvio } from \"./app\";\nimport { executePilvioTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return pilvio.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePilvioTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pilvio } from \"./app\";\nimport { executePilvioTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return pilvio.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePilvioTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pilvio } from \"./app\";\nimport { executePilvioTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return pilvio.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePilvioTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -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.") }).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.ZodTypeAny = z.object({}).describe(\"Request model for checking active campaigns. No parameters required.\");\nexport const PilvioCheckActiveCampaignsOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"True if there are active campaigns.\"),\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,kCAAgDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE;AACzJ,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,EACrE,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"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/check-active-campaigns.d.ts
4
- declare const PilvioCheckActiveCampaignsInput: z.ZodTypeAny;
5
- declare const PilvioCheckActiveCampaignsOutput: z.ZodTypeAny;
6
- declare const pilvioCheckActiveCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PilvioCheckActiveCampaignsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PilvioCheckActiveCampaignsOutput: z.ZodObject<{
6
+ success: z.ZodNullable<z.ZodBoolean>;
7
+ }, z.core.$loose>;
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]>;
7
9
  //#endregion
8
10
  export { pilvioCheckActiveCampaigns };
9
11
  //# sourceMappingURL=check-active-campaigns.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check-active-campaigns.d.cts","names":[],"sources":["../../src/actions/check-active-campaigns.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAA0G;AAAA,cAC7I,gCAAA,EAAkC,CAAA,CAAE,UAE2B;AAAA,cAE/D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"check-active-campaigns.d.cts","names":[],"sources":["../../src/actions/check-active-campaigns.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/check-active-campaigns.d.ts
4
- declare const PilvioCheckActiveCampaignsInput: z.ZodTypeAny;
5
- declare const PilvioCheckActiveCampaignsOutput: z.ZodTypeAny;
6
- declare const pilvioCheckActiveCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PilvioCheckActiveCampaignsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PilvioCheckActiveCampaignsOutput: z.ZodObject<{
6
+ success: z.ZodNullable<z.ZodBoolean>;
7
+ }, z.core.$loose>;
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]>;
7
9
  //#endregion
8
10
  export { pilvioCheckActiveCampaigns };
9
11
  //# sourceMappingURL=check-active-campaigns.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check-active-campaigns.d.mts","names":[],"sources":["../../src/actions/check-active-campaigns.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAA0G;AAAA,cAC7I,gCAAA,EAAkC,CAAA,CAAE,UAE2B;AAAA,cAE/D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"check-active-campaigns.d.mts","names":[],"sources":["../../src/actions/check-active-campaigns.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -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.") }).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.ZodTypeAny = z.object({}).describe(\"Request model for checking active campaigns. No parameters required.\");\nexport const PilvioCheckActiveCampaignsOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"True if there are active campaigns.\"),\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,OAT2D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAS1E;CACP,QAT4D,EAAE,OAAO,EACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,EACrE,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"}
@@ -7,22 +7,22 @@ const PilvioGetUserInfo_ProfileDataSchema = zod.z.object({
7
7
  lang: zod.z.string().describe("User's preferred language").nullable().optional(),
8
8
  email: zod.z.string().describe("User's email address").nullable().optional(),
9
9
  avatar: zod.z.string().describe("User's avatar URL").nullable().optional(),
10
- user_id: zod.z.number().int().describe("User ID in profile data"),
10
+ user_id: zod.z.number().int().describe("User ID in profile data").nullable(),
11
11
  last_name: zod.z.string().describe("User's last name").nullable().optional(),
12
12
  created_at: zod.z.string().describe("Profile creation timestamp").nullable().optional(),
13
13
  first_name: zod.z.string().describe("User's first name").nullable().optional(),
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
- id: zod.z.number().int().describe("Unique identifier of the user"),
20
- name: zod.z.string().describe("User's name (typically the email)"),
19
+ id: zod.z.number().int().describe("Unique identifier of the user").nullable(),
20
+ name: zod.z.string().describe("User's name (typically the email)").nullable(),
21
21
  cookie_id: zod.z.string().describe("Cookie identifier").nullable().optional(),
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.ZodTypeAny = z.object({}).describe(\"Request schema for GetUserInfo. No parameters required.\");\nconst PilvioGetUserInfo_ProfileDataSchema: z.ZodTypeAny = 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\"),\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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\"),\n name: z.string().describe(\"User's name (typically the email)\"),\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,yBAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACnI,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,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;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,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,SAAS,iFAAiF;AAE7F,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;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"],"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,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,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"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user-info.d.ts
4
- declare const PilvioGetUserInfoInput: z.ZodTypeAny;
5
- declare const PilvioGetUserInfoOutput: z.ZodTypeAny;
6
- declare const pilvioGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PilvioGetUserInfoInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PilvioGetUserInfoOutput: z.ZodObject<{
6
+ id: z.ZodNullable<z.ZodNumber>;
7
+ name: z.ZodNullable<z.ZodString>;
8
+ cookie_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ signup_site: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ profile_data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ lang: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ user_id: z.ZodNullable<z.ZodNumber>;
16
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ personal_id_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>>;
23
+ intercom_user_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>;
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]>;
7
26
  //#endregion
8
27
  export { pilvioGetUserInfo };
9
28
  //# sourceMappingURL=get-user-info.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-info.d.cts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAA6F;AAAA,cAcvH,uBAAA,EAAyB,CAAA,CAAE,UAOsD;AAAA,cAEjF,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user-info.d.cts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cActB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cASvB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user-info.d.ts
4
- declare const PilvioGetUserInfoInput: z.ZodTypeAny;
5
- declare const PilvioGetUserInfoOutput: z.ZodTypeAny;
6
- declare const pilvioGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PilvioGetUserInfoInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PilvioGetUserInfoOutput: z.ZodObject<{
6
+ id: z.ZodNullable<z.ZodNumber>;
7
+ name: z.ZodNullable<z.ZodString>;
8
+ cookie_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ signup_site: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ profile_data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ lang: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ user_id: z.ZodNullable<z.ZodNumber>;
16
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ personal_id_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>>;
23
+ intercom_user_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>;
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]>;
7
26
  //#endregion
8
27
  export { pilvioGetUserInfo };
9
28
  //# sourceMappingURL=get-user-info.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-info.d.mts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAA6F;AAAA,cAcvH,uBAAA,EAAyB,CAAA,CAAE,UAOsD;AAAA,cAEjF,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user-info.d.mts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cActB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cASvB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -7,27 +7,27 @@ const PilvioGetUserInfo_ProfileDataSchema = z.object({
7
7
  lang: z.string().describe("User's preferred language").nullable().optional(),
8
8
  email: z.string().describe("User's email address").nullable().optional(),
9
9
  avatar: z.string().describe("User's avatar URL").nullable().optional(),
10
- user_id: z.number().int().describe("User ID in profile data"),
10
+ user_id: z.number().int().describe("User ID in profile data").nullable(),
11
11
  last_name: z.string().describe("User's last name").nullable().optional(),
12
12
  created_at: z.string().describe("Profile creation timestamp").nullable().optional(),
13
13
  first_name: z.string().describe("User's first name").nullable().optional(),
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",
21
21
  description: "Tool to retrieve information about the authenticated user. Use when you need to fetch the current user's profile after authentication.",
22
22
  input: PilvioGetUserInfoInput,
23
23
  output: z.object({
24
- id: z.number().int().describe("Unique identifier of the user"),
25
- name: z.string().describe("User's name (typically the email)"),
24
+ id: z.number().int().describe("Unique identifier of the user").nullable(),
25
+ name: z.string().describe("User's name (typically the email)").nullable(),
26
26
  cookie_id: z.string().describe("Cookie identifier").nullable().optional(),
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.ZodTypeAny = z.object({}).describe(\"Request schema for GetUserInfo. No parameters required.\");\nconst PilvioGetUserInfo_ProfileDataSchema: z.ZodTypeAny = 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\"),\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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\"),\n name: z.string().describe(\"User's name (typically the email)\"),\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,yBAAuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACnI,MAAM,sCAAoD,EAAE,OAAO;CACjE,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;CAC5D,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,SAAS,4BAA4B;AAUxC,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,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.ZodTypeAny = z.object({}).describe(\"Request schema for listing billing accounts. No parameters are required.\");\nexport const PilvioListBillingAccountsOutput: z.ZodTypeAny = 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,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAC5J,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,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"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-billing-accounts.d.ts
4
- declare const PilvioListBillingAccountsInput: z.ZodTypeAny;
5
- declare const PilvioListBillingAccountsOutput: z.ZodTypeAny;
6
- declare const pilvioListBillingAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PilvioListBillingAccountsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PilvioListBillingAccountsOutput: z.ZodObject<{
6
+ billing_accounts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
+ }, z.core.$loose>;
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]>;
7
9
  //#endregion
8
10
  export { pilvioListBillingAccounts };
9
11
  //# sourceMappingURL=list-billing-accounts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-billing-accounts.d.cts","names":[],"sources":["../../src/actions/list-billing-accounts.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAA8G;AAAA,cAChJ,+BAAA,EAAiC,CAAA,CAAE,UAEmB;AAAA,cAEtD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-billing-accounts.d.cts","names":[],"sources":["../../src/actions/list-billing-accounts.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-billing-accounts.d.ts
4
- declare const PilvioListBillingAccountsInput: z.ZodTypeAny;
5
- declare const PilvioListBillingAccountsOutput: z.ZodTypeAny;
6
- declare const pilvioListBillingAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PilvioListBillingAccountsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PilvioListBillingAccountsOutput: z.ZodObject<{
6
+ billing_accounts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
+ }, z.core.$loose>;
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]>;
7
9
  //#endregion
8
10
  export { pilvioListBillingAccounts };
9
11
  //# sourceMappingURL=list-billing-accounts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-billing-accounts.d.mts","names":[],"sources":["../../src/actions/list-billing-accounts.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAA8G;AAAA,cAChJ,+BAAA,EAAiC,CAAA,CAAE,UAEmB;AAAA,cAEtD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-billing-accounts.d.mts","names":[],"sources":["../../src/actions/list-billing-accounts.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -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.ZodTypeAny = z.object({}).describe(\"Request schema for listing billing accounts. No parameters are required.\");\nexport const PilvioListBillingAccountsOutput: z.ZodTypeAny = 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,OAT0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EASzE;CACP,QAT2D,EAAE,OAAO,EACpE,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"}
@@ -3,16 +3,16 @@ let zod = require("zod");
3
3
  //#region src/actions/list-credit-cards.ts
4
4
  const PilvioListCreditCardsInput = zod.z.object({ billing_account_id: zod.z.string().describe("Path parameter. The ID of the billing account to list credit cards for.") });
5
5
  const PilvioListCreditCards_CreditCardSchema = zod.z.object({
6
- id: zod.z.string().describe("Unique credit card identifier"),
7
- name: zod.z.string().describe("Name printed on the card"),
8
- brand: zod.z.string().describe("Credit card brand, e.g., Visa, Mastercard"),
9
- last4: zod.z.string().describe("Last four digits of the card"),
10
- exp_year: zod.z.number().int().describe("Expiration year (YYYY)"),
11
- exp_month: zod.z.number().int().describe("Expiration month (1-12, 0 if unknown)"),
12
- created_at: zod.z.string().describe("ISO 8601 timestamp when the card was added"),
13
- is_default: zod.z.boolean().describe("True if this is the default card on the account")
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") });
6
+ id: zod.z.string().describe("Unique credit card identifier").nullable(),
7
+ name: zod.z.string().describe("Name printed on the card").nullable(),
8
+ brand: zod.z.string().describe("Credit card brand, e.g., Visa, Mastercard").nullable(),
9
+ last4: zod.z.string().describe("Last four digits of the card").nullable(),
10
+ exp_year: zod.z.number().int().describe("Expiration year (YYYY)").nullable(),
11
+ exp_month: zod.z.number().int().describe("Expiration month (1-12, 0 if unknown)").nullable(),
12
+ created_at: zod.z.string().describe("ISO 8601 timestamp when the card was added").nullable(),
13
+ is_default: zod.z.boolean().describe("True if this is the default card on the account").nullable()
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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique credit card identifier\"),\n name: z.string().describe(\"Name printed on the card\"),\n brand: z.string().describe(\"Credit card brand, e.g., Visa, Mastercard\"),\n last4: z.string().describe(\"Last four digits of the card\"),\n exp_year: z.number().int().describe(\"Expiration year (YYYY)\"),\n exp_month: z.number().int().describe(\"Expiration month (1-12, 0 if unknown)\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the card was added\"),\n is_default: z.boolean().describe(\"True if this is the default card on the account\"),\n});\nexport const PilvioListCreditCardsOutput: z.ZodTypeAny = 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,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnH,CAAC;AACD,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD;AACpF,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,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"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-credit-cards.d.ts
4
- declare const PilvioListCreditCardsInput: z.ZodTypeAny;
5
- declare const PilvioListCreditCardsOutput: z.ZodTypeAny;
6
- declare const pilvioListCreditCards: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PilvioListCreditCardsInput: z.ZodObject<{
5
+ billing_account_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PilvioListCreditCardsOutput: z.ZodObject<{
8
+ credit_cards: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ brand: z.ZodNullable<z.ZodString>;
12
+ last4: z.ZodNullable<z.ZodString>;
13
+ exp_year: z.ZodNullable<z.ZodNumber>;
14
+ exp_month: z.ZodNullable<z.ZodNumber>;
15
+ created_at: z.ZodNullable<z.ZodString>;
16
+ is_default: z.ZodNullable<z.ZodBoolean>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>;
19
+ declare const pilvioListCreditCards: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ billing_account_id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { pilvioListCreditCards };
9
24
  //# sourceMappingURL=list-credit-cards.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-credit-cards.d.cts","names":[],"sources":["../../src/actions/list-credit-cards.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAWW,2BAAA,EAA6B,CAAA,CAAE,UAE1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-credit-cards.d.cts","names":[],"sources":["../../src/actions/list-credit-cards.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-credit-cards.d.ts
4
- declare const PilvioListCreditCardsInput: z.ZodTypeAny;
5
- declare const PilvioListCreditCardsOutput: z.ZodTypeAny;
6
- declare const pilvioListCreditCards: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PilvioListCreditCardsInput: z.ZodObject<{
5
+ billing_account_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PilvioListCreditCardsOutput: z.ZodObject<{
8
+ credit_cards: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ brand: z.ZodNullable<z.ZodString>;
12
+ last4: z.ZodNullable<z.ZodString>;
13
+ exp_year: z.ZodNullable<z.ZodNumber>;
14
+ exp_month: z.ZodNullable<z.ZodNumber>;
15
+ created_at: z.ZodNullable<z.ZodString>;
16
+ is_default: z.ZodNullable<z.ZodBoolean>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>;
19
+ declare const pilvioListCreditCards: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ billing_account_id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { pilvioListCreditCards };
9
24
  //# sourceMappingURL=list-credit-cards.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-credit-cards.d.mts","names":[],"sources":["../../src/actions/list-credit-cards.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAWW,2BAAA,EAA6B,CAAA,CAAE,UAE1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-credit-cards.d.mts","names":[],"sources":["../../src/actions/list-credit-cards.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -3,21 +3,21 @@ import { z } from "zod";
3
3
  //#region src/actions/list-credit-cards.ts
4
4
  const PilvioListCreditCardsInput = z.object({ billing_account_id: z.string().describe("Path parameter. The ID of the billing account to list credit cards for.") });
5
5
  const PilvioListCreditCards_CreditCardSchema = z.object({
6
- id: z.string().describe("Unique credit card identifier"),
7
- name: z.string().describe("Name printed on the card"),
8
- brand: z.string().describe("Credit card brand, e.g., Visa, Mastercard"),
9
- last4: z.string().describe("Last four digits of the card"),
10
- exp_year: z.number().int().describe("Expiration year (YYYY)"),
11
- exp_month: z.number().int().describe("Expiration month (1-12, 0 if unknown)"),
12
- created_at: z.string().describe("ISO 8601 timestamp when the card was added"),
13
- is_default: z.boolean().describe("True if this is the default card on the account")
14
- });
6
+ id: z.string().describe("Unique credit card identifier").nullable(),
7
+ name: z.string().describe("Name printed on the card").nullable(),
8
+ brand: z.string().describe("Credit card brand, e.g., Visa, Mastercard").nullable(),
9
+ last4: z.string().describe("Last four digits of the card").nullable(),
10
+ exp_year: z.number().int().describe("Expiration year (YYYY)").nullable(),
11
+ exp_month: z.number().int().describe("Expiration month (1-12, 0 if unknown)").nullable(),
12
+ created_at: z.string().describe("ISO 8601 timestamp when the card was added").nullable(),
13
+ is_default: z.boolean().describe("True if this is the default card on the account").nullable()
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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique credit card identifier\"),\n name: z.string().describe(\"Name printed on the card\"),\n brand: z.string().describe(\"Credit card brand, e.g., Visa, Mastercard\"),\n last4: z.string().describe(\"Last four digits of the card\"),\n exp_year: z.number().int().describe(\"Expiration year (YYYY)\"),\n exp_month: z.number().int().describe(\"Expiration month (1-12, 0 if unknown)\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the card was added\"),\n is_default: z.boolean().describe(\"True if this is the default card on the account\"),\n});\nexport const PilvioListCreditCardsOutput: z.ZodTypeAny = 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,6BAA2C,EAAE,OAAO,EAC/D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnH,CAAC;AACD,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD;AACpF,CAAC;AAKD,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,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"}
@@ -14,19 +14,19 @@ const PilvioListInvoicesInput = zod.z.object({
14
14
  billing_account_id: zod.z.string().describe("Billing account ID to retrieve invoices for.")
15
15
  }).describe("Request model for listing invoices. Use when you need to retrieve invoices for a specific billing account with optional pagination and filtering.");
16
16
  const PilvioListInvoices_InvoiceSchema = zod.z.object({
17
- id: zod.z.string().describe("Unique identifier of the invoice."),
18
- amount: zod.z.number().describe("Total amount of the invoice."),
19
- status: zod.z.string().describe("Current status of the invoice, e.g., 'paid' or 'unpaid'."),
20
- currency: zod.z.string().describe("Currency code in ISO 4217 format, e.g., 'USD'."),
21
- due_date: zod.z.string().describe("Due date of the invoice in ISO 8601 format."),
22
- created_at: zod.z.string().describe("Timestamp when the invoice was created, in ISO 8601 format.")
23
- }).describe("Details of a single invoice.");
17
+ id: zod.z.string().describe("Unique identifier of the invoice.").nullable(),
18
+ amount: zod.z.number().describe("Total amount of the invoice.").nullable(),
19
+ status: zod.z.string().describe("Current status of the invoice, e.g., 'paid' or 'unpaid'.").nullable(),
20
+ currency: zod.z.string().describe("Currency code in ISO 4217 format, e.g., 'USD'.").nullable(),
21
+ due_date: zod.z.string().describe("Due date of the invoice in ISO 8601 format.").nullable(),
22
+ created_at: zod.z.string().describe("Timestamp when the invoice was created, in ISO 8601 format.").nullable()
23
+ }).passthrough().describe("Details of a single invoice.");
24
24
  const PilvioListInvoicesOutput = zod.z.object({
25
- limit: zod.z.number().int().describe("Number of invoices returned in this page."),
26
- total: zod.z.number().int().describe("Total number of invoices matching the query."),
27
- offset: zod.z.number().int().describe("Offset of the first invoice in this page from the start of the result set."),
25
+ limit: zod.z.number().int().describe("Number of invoices returned in this page.").nullable(),
26
+ total: zod.z.number().int().describe("Total number of invoices matching the query.").nullable(),
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",