@keystrokehq/pilvio 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) 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 -0
  4. package/dist/actions/check-active-campaigns.cjs.map +1 -1
  5. package/dist/actions/check-active-campaigns.d.cts +3 -1
  6. package/dist/actions/check-active-campaigns.d.cts.map +1 -1
  7. package/dist/actions/check-active-campaigns.d.mts +3 -1
  8. package/dist/actions/check-active-campaigns.d.mts.map +1 -1
  9. package/dist/actions/check-active-campaigns.mjs +1 -0
  10. package/dist/actions/check-active-campaigns.mjs.map +1 -1
  11. package/dist/actions/get-user-info.cjs +1 -0
  12. package/dist/actions/get-user-info.cjs.map +1 -1
  13. package/dist/actions/get-user-info.d.cts +3 -1
  14. package/dist/actions/get-user-info.d.cts.map +1 -1
  15. package/dist/actions/get-user-info.d.mts +3 -1
  16. package/dist/actions/get-user-info.d.mts.map +1 -1
  17. package/dist/actions/get-user-info.mjs +1 -0
  18. package/dist/actions/get-user-info.mjs.map +1 -1
  19. package/dist/actions/list-billing-accounts.cjs +1 -0
  20. package/dist/actions/list-billing-accounts.cjs.map +1 -1
  21. package/dist/actions/list-billing-accounts.d.cts +3 -1
  22. package/dist/actions/list-billing-accounts.d.cts.map +1 -1
  23. package/dist/actions/list-billing-accounts.d.mts +3 -1
  24. package/dist/actions/list-billing-accounts.d.mts.map +1 -1
  25. package/dist/actions/list-billing-accounts.mjs +1 -0
  26. package/dist/actions/list-billing-accounts.mjs.map +1 -1
  27. package/dist/actions/list-credit-cards.cjs +1 -0
  28. package/dist/actions/list-credit-cards.cjs.map +1 -1
  29. package/dist/actions/list-credit-cards.d.cts +3 -3
  30. package/dist/actions/list-credit-cards.d.cts.map +1 -1
  31. package/dist/actions/list-credit-cards.d.mts +3 -3
  32. package/dist/actions/list-credit-cards.d.mts.map +1 -1
  33. package/dist/actions/list-credit-cards.mjs +1 -0
  34. package/dist/actions/list-credit-cards.mjs.map +1 -1
  35. package/dist/actions/list-invoices.cjs +1 -0
  36. package/dist/actions/list-invoices.cjs.map +1 -1
  37. package/dist/actions/list-invoices.d.cts +3 -8
  38. package/dist/actions/list-invoices.d.cts.map +1 -1
  39. package/dist/actions/list-invoices.d.mts +3 -8
  40. package/dist/actions/list-invoices.d.mts.map +1 -1
  41. package/dist/actions/list-invoices.mjs +1 -0
  42. package/dist/actions/list-invoices.mjs.map +1 -1
  43. package/dist/actions/list-locations.cjs +1 -0
  44. package/dist/actions/list-locations.cjs.map +1 -1
  45. package/dist/actions/list-locations.d.cts +3 -1
  46. package/dist/actions/list-locations.d.cts.map +1 -1
  47. package/dist/actions/list-locations.d.mts +3 -1
  48. package/dist/actions/list-locations.d.mts.map +1 -1
  49. package/dist/actions/list-locations.mjs +1 -0
  50. package/dist/actions/list-locations.mjs.map +1 -1
  51. package/dist/actions/list-vm-resource-pools.cjs +1 -0
  52. package/dist/actions/list-vm-resource-pools.cjs.map +1 -1
  53. package/dist/actions/list-vm-resource-pools.d.cts +3 -4
  54. package/dist/actions/list-vm-resource-pools.d.cts.map +1 -1
  55. package/dist/actions/list-vm-resource-pools.d.mts +3 -4
  56. package/dist/actions/list-vm-resource-pools.d.mts.map +1 -1
  57. package/dist/actions/list-vm-resource-pools.mjs +1 -0
  58. package/dist/actions/list-vm-resource-pools.mjs.map +1 -1
  59. package/dist/actions/list-vm-snapshots.cjs +1 -0
  60. package/dist/actions/list-vm-snapshots.cjs.map +1 -1
  61. package/dist/actions/list-vm-snapshots.d.cts +3 -4
  62. package/dist/actions/list-vm-snapshots.d.cts.map +1 -1
  63. package/dist/actions/list-vm-snapshots.d.mts +3 -4
  64. package/dist/actions/list-vm-snapshots.d.mts.map +1 -1
  65. package/dist/actions/list-vm-snapshots.mjs +1 -0
  66. package/dist/actions/list-vm-snapshots.mjs.map +1 -1
  67. package/dist/actions/list-vms.cjs +1 -0
  68. package/dist/actions/list-vms.cjs.map +1 -1
  69. package/dist/actions/list-vms.d.cts +3 -6
  70. package/dist/actions/list-vms.d.cts.map +1 -1
  71. package/dist/actions/list-vms.d.mts +3 -6
  72. package/dist/actions/list-vms.d.mts.map +1 -1
  73. package/dist/actions/list-vms.mjs +1 -0
  74. package/dist/actions/list-vms.mjs.map +1 -1
  75. package/dist/actions/update-user-profile.cjs +1 -0
  76. package/dist/actions/update-user-profile.cjs.map +1 -1
  77. package/dist/actions/update-user-profile.d.cts +3 -7
  78. package/dist/actions/update-user-profile.d.cts.map +1 -1
  79. package/dist/actions/update-user-profile.d.mts +3 -7
  80. package/dist/actions/update-user-profile.d.mts.map +1 -1
  81. package/dist/actions/update-user-profile.mjs +1 -0
  82. package/dist/actions/update-user-profile.mjs.map +1 -1
  83. package/dist/app.cjs +5 -2
  84. package/dist/app.cjs.map +1 -1
  85. package/dist/app.d.cts +7 -1
  86. package/dist/app.d.cts.map +1 -1
  87. package/dist/app.d.mts +7 -1
  88. package/dist/app.d.mts.map +1 -1
  89. package/dist/app.mjs +3 -2
  90. package/dist/app.mjs.map +1 -1
  91. package/dist/index.d.cts +1 -1
  92. package/dist/index.d.mts +1 -1
  93. 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<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
+ {"version":3,"file":"action.cjs","names":["pilvio","executePilvioTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof pilvio.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOsD;CACtD,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<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"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof pilvio.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOsD;CACtD,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,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/check-active-campaigns.ts
@@ -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}).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
+ {"version":3,"file":"check-active-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/check-active-campaigns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\n\nexport const 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: AppAction<\n typeof PilvioCheckActiveCampaignsInput,\n typeof PilvioCheckActiveCampaignsOutput,\n typeof pilvio.credential\n> = 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":";;;;AAMA,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,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pilvio } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/check-active-campaigns.d.ts
@@ -5,7 +7,7 @@ declare const PilvioCheckActiveCampaignsInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PilvioCheckActiveCampaignsOutput: z.ZodObject<{
6
8
  success: z.ZodNullable<z.ZodBoolean>;
7
9
  }, 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]>;
10
+ declare const pilvioCheckActiveCampaigns: AppAction<typeof PilvioCheckActiveCampaignsInput, typeof PilvioCheckActiveCampaignsOutput, typeof pilvio.credential>;
9
11
  //#endregion
10
12
  export { pilvioCheckActiveCampaigns };
11
13
  //# 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,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
+ {"version":3,"file":"check-active-campaigns.d.cts","names":[],"sources":["../../src/actions/check-active-campaigns.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pilvio } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/check-active-campaigns.d.ts
@@ -5,7 +7,7 @@ declare const PilvioCheckActiveCampaignsInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PilvioCheckActiveCampaignsOutput: z.ZodObject<{
6
8
  success: z.ZodNullable<z.ZodBoolean>;
7
9
  }, 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]>;
10
+ declare const pilvioCheckActiveCampaigns: AppAction<typeof PilvioCheckActiveCampaignsInput, typeof PilvioCheckActiveCampaignsOutput, typeof pilvio.credential>;
9
11
  //#endregion
10
12
  export { pilvioCheckActiveCampaigns };
11
13
  //# 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,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
+ {"version":3,"file":"check-active-campaigns.d.mts","names":[],"sources":["../../src/actions/check-active-campaigns.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pilvioCheckActiveCampaigns = action("PILVIO_CHECK_ACTIVE_CAMPAIGNS", {
@@ -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}).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"}
1
+ {"version":3,"file":"check-active-campaigns.mjs","names":[],"sources":["../../src/actions/check-active-campaigns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\n\nexport const 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: AppAction<\n typeof PilvioCheckActiveCampaignsInput,\n typeof PilvioCheckActiveCampaignsOutput,\n typeof pilvio.credential\n> = 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":";;;AAWA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAa5D;CACP,QAb8C,EAAE,OAAO,EACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-user-info.ts
@@ -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}).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
+ {"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\n\nexport const 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: AppAction<\n typeof PilvioGetUserInfoInput,\n typeof PilvioGetUserInfoOutput,\n typeof pilvio.credential\n> = 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":";;;;AAMA,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,oBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pilvio } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-user-info.d.ts
@@ -22,7 +24,7 @@ declare const PilvioGetUserInfoOutput: z.ZodObject<{
22
24
  }, z.core.$loose>>>;
23
25
  intercom_user_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  }, 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]>;
27
+ declare const pilvioGetUserInfo: AppAction<typeof PilvioGetUserInfoInput, typeof PilvioGetUserInfoOutput, typeof pilvio.credential>;
26
28
  //#endregion
27
29
  export { pilvioGetUserInfo };
28
30
  //# 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,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
+ {"version":3,"file":"get-user-info.d.cts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cActB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cASvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pilvio } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-user-info.d.ts
@@ -22,7 +24,7 @@ declare const PilvioGetUserInfoOutput: z.ZodObject<{
22
24
  }, z.core.$loose>>>;
23
25
  intercom_user_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  }, 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]>;
27
+ declare const pilvioGetUserInfo: AppAction<typeof PilvioGetUserInfoInput, typeof PilvioGetUserInfoOutput, typeof pilvio.credential>;
26
28
  //#endregion
27
29
  export { pilvioGetUserInfo };
28
30
  //# 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,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
+ {"version":3,"file":"get-user-info.d.mts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cActB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cASvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-user-info.ts
@@ -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}).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"}
1
+ {"version":3,"file":"get-user-info.mjs","names":[],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\n\nexport const 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: AppAction<\n typeof PilvioGetUserInfoInput,\n typeof PilvioGetUserInfoOutput,\n typeof pilvio.credential\n> = 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":";;;;AAMA,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,oBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBqC,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,iFAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-billing-accounts.ts
@@ -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}).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
+ {"version":3,"file":"list-billing-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-billing-accounts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\n\nexport const 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: AppAction<\n typeof PilvioListBillingAccountsInput,\n typeof PilvioListBillingAccountsOutput,\n typeof pilvio.credential\n> = 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":";;;;AAMA,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,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pilvio } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-billing-accounts.d.ts
@@ -5,7 +7,7 @@ declare const PilvioListBillingAccountsInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PilvioListBillingAccountsOutput: z.ZodObject<{
6
8
  billing_accounts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
9
  }, 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]>;
10
+ declare const pilvioListBillingAccounts: AppAction<typeof PilvioListBillingAccountsInput, typeof PilvioListBillingAccountsOutput, typeof pilvio.credential>;
9
11
  //#endregion
10
12
  export { pilvioListBillingAccounts };
11
13
  //# 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,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
+ {"version":3,"file":"list-billing-accounts.d.cts","names":[],"sources":["../../src/actions/list-billing-accounts.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pilvio } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-billing-accounts.d.ts
@@ -5,7 +7,7 @@ declare const PilvioListBillingAccountsInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PilvioListBillingAccountsOutput: z.ZodObject<{
6
8
  billing_accounts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
9
  }, 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]>;
10
+ declare const pilvioListBillingAccounts: AppAction<typeof PilvioListBillingAccountsInput, typeof PilvioListBillingAccountsOutput, typeof pilvio.credential>;
9
11
  //#endregion
10
12
  export { pilvioListBillingAccounts };
11
13
  //# 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,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
+ {"version":3,"file":"list-billing-accounts.d.mts","names":[],"sources":["../../src/actions/list-billing-accounts.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pilvioListBillingAccounts = action("PILVIO_LIST_BILLING_ACCOUNTS", {
@@ -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}).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"}
1
+ {"version":3,"file":"list-billing-accounts.mjs","names":[],"sources":["../../src/actions/list-billing-accounts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\n\nexport const 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: AppAction<\n typeof PilvioListBillingAccountsInput,\n typeof PilvioListBillingAccountsOutput,\n typeof pilvio.credential\n> = 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":";;;AAWA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAa3D;CACP,QAb6C,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,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-credit-cards.ts
@@ -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}).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
+ {"version":3,"file":"list-credit-cards.cjs","names":["z","action"],"sources":["../../src/actions/list-credit-cards.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\n\nexport const 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: AppAction<\n typeof PilvioListCreditCardsInput,\n typeof PilvioListCreditCardsOutput,\n typeof pilvio.credential\n> = 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":";;;;AAMA,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,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pilvio } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-credit-cards.d.ts
@@ -16,9 +18,7 @@ declare const PilvioListCreditCardsOutput: z.ZodObject<{
16
18
  is_default: z.ZodNullable<z.ZodBoolean>;
17
19
  }, z.core.$loose>>;
18
20
  }, 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]>;
21
+ declare const pilvioListCreditCards: AppAction<typeof PilvioListCreditCardsInput, typeof PilvioListCreditCardsOutput, typeof pilvio.credential>;
22
22
  //#endregion
23
23
  export { pilvioListCreditCards };
24
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,EAA0B,CAAA,CAAA,SAAA;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"list-credit-cards.d.cts","names":[],"sources":["../../src/actions/list-credit-cards.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pilvio } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-credit-cards.d.ts
@@ -16,9 +18,7 @@ declare const PilvioListCreditCardsOutput: z.ZodObject<{
16
18
  is_default: z.ZodNullable<z.ZodBoolean>;
17
19
  }, z.core.$loose>>;
18
20
  }, 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]>;
21
+ declare const pilvioListCreditCards: AppAction<typeof PilvioListCreditCardsInput, typeof PilvioListCreditCardsOutput, typeof pilvio.credential>;
22
22
  //#endregion
23
23
  export { pilvioListCreditCards };
24
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,EAA0B,CAAA,CAAA,SAAA;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"list-credit-cards.d.mts","names":[],"sources":["../../src/actions/list-credit-cards.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-credit-cards.ts
@@ -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}).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"}
1
+ {"version":3,"file":"list-credit-cards.mjs","names":[],"sources":["../../src/actions/list-credit-cards.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\n\nexport const 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: AppAction<\n typeof PilvioListCreditCardsInput,\n typeof PilvioListCreditCardsOutput,\n typeof pilvio.credential\n> = 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":";;;;AAMA,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,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,cAAc,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6DAA6D,EACtI,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-invoices.ts
@@ -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}).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,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,CAAC,SAAS;CAC5H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACxF,CAAC,CAAC,CAAC,SAAS,mJAAmJ;AAC/J,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,2BAA2BA,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"}
1
+ {"version":3,"file":"list-invoices.cjs","names":["z","action"],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\n\nexport const 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: AppAction<\n typeof PilvioListInvoicesInput,\n typeof PilvioListInvoicesOutput,\n typeof pilvio.credential\n> = 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":";;;;AAMA,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,CAAC,SAAS;CAC5H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACxF,CAAC,CAAC,CAAC,SAAS,mJAAmJ;AAC/J,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,2BAA2BA,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,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pilvio } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-invoices.d.ts
@@ -26,14 +28,7 @@ declare const PilvioListInvoicesOutput: z.ZodObject<{
26
28
  created_at: z.ZodNullable<z.ZodString>;
27
29
  }, z.core.$loose>>;
28
30
  }, z.core.$loose>;
29
- declare const pilvioListInvoices: import("@keystrokehq/action").WorkflowActionDefinition<{
30
- billing_account_id: string;
31
- limit?: number | undefined;
32
- offset?: number | undefined;
33
- status?: "paid" | "unpaid" | "pending" | undefined;
34
- date_to?: string | undefined;
35
- date_from?: string | undefined;
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const pilvioListInvoices: AppAction<typeof PilvioListInvoicesInput, typeof PilvioListInvoicesOutput, typeof pilvio.credential>;
37
32
  //#endregion
38
33
  export { pilvioListInvoices };
39
34
  //# sourceMappingURL=list-invoices.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-invoices.d.cts","names":[],"sources":["../../src/actions/list-invoices.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-invoices.d.cts","names":[],"sources":["../../src/actions/list-invoices.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pilvio } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-invoices.d.ts
@@ -26,14 +28,7 @@ declare const PilvioListInvoicesOutput: z.ZodObject<{
26
28
  created_at: z.ZodNullable<z.ZodString>;
27
29
  }, z.core.$loose>>;
28
30
  }, z.core.$loose>;
29
- declare const pilvioListInvoices: import("@keystrokehq/action").WorkflowActionDefinition<{
30
- billing_account_id: string;
31
- limit?: number | undefined;
32
- offset?: number | undefined;
33
- status?: "paid" | "unpaid" | "pending" | undefined;
34
- date_to?: string | undefined;
35
- date_from?: string | undefined;
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const pilvioListInvoices: AppAction<typeof PilvioListInvoicesInput, typeof PilvioListInvoicesOutput, typeof pilvio.credential>;
37
32
  //#endregion
38
33
  export { pilvioListInvoices };
39
34
  //# sourceMappingURL=list-invoices.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-invoices.d.mts","names":[],"sources":["../../src/actions/list-invoices.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-invoices.d.mts","names":[],"sources":["../../src/actions/list-invoices.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-invoices.ts
@@ -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}).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,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,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAQxD,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,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-invoices.mjs","names":[],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\n\nexport const 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: AppAction<\n typeof PilvioListInvoicesInput,\n typeof PilvioListInvoicesOutput,\n typeof pilvio.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAQxD,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBsC,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,YAAY,CAAC,CAAC,SAAS,qEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-locations.ts
@@ -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}).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"}
1
+ {"version":3,"file":"list-locations.cjs","names":["z","action"],"sources":["../../src/actions/list-locations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pilvio } from \"../app\";\n\nexport const PilvioListLocationsInput = z.object({}).describe(\"Request schema for listing Pilvio data center locations.\\nNo parameters are required.\");\nconst PilvioListLocations_LocationSchema = z.object({\n slug: z.string().describe(\"Unique location slug\").nullable(),\n order_nr: z.number().int().describe(\"Order number of the location\").nullable(),\n is_default: z.boolean().describe(\"True if this is the default location\").nullable().optional(),\n description: z.string().describe(\"Description of the location\").nullable(),\n country_code: z.string().describe(\"ISO country code of the location\").nullable(),\n display_name: z.string().describe(\"Human-readable name of the location\").nullable(),\n is_preferred: z.boolean().describe(\"True if this is the preferred location\").nullable().optional(),\n is_published: z.boolean().describe(\"True if this location is published\").nullable().optional(),\n create_resource_disabled: z.boolean().describe(\"True if resource creation is disabled at this location\").nullable().optional(),\n}).passthrough().describe(\"A single Pilvio data center location.\\nFields correspond to configuration data from /v1/config/locations.\");\nexport const PilvioListLocationsOutput = z.object({\n locations: z.array(PilvioListLocations_LocationSchema).describe(\"List of available data center locations\"),\n}).passthrough().describe(\"Response schema for listing Pilvio data center locations.\");\n\nexport const pilvioListLocations: AppAction<\n typeof PilvioListLocationsInput,\n typeof PilvioListLocationsOutput,\n typeof pilvio.credential\n> = action(\"PILVIO_LIST_LOCATIONS\", {\n slug: \"pilvio-list-locations\",\n name: \"List Pilvio data center locations\",\n description: \"Tool to retrieve the list of available data center locations. Use after authentication to see where you can deploy resources.\",\n input: PilvioListLocationsInput,\n output: PilvioListLocationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,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,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pilvio } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-locations.d.ts
@@ -15,7 +17,7 @@ declare const PilvioListLocationsOutput: z.ZodObject<{
15
17
  create_resource_disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
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]>;
20
+ declare const pilvioListLocations: AppAction<typeof PilvioListLocationsInput, typeof PilvioListLocationsOutput, typeof pilvio.credential>;
19
21
  //#endregion
20
22
  export { pilvioListLocations };
21
23
  //# sourceMappingURL=list-locations.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-locations.d.cts","names":[],"sources":["../../src/actions/list-locations.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-locations.d.cts","names":[],"sources":["../../src/actions/list-locations.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pilvio } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-locations.d.ts
@@ -15,7 +17,7 @@ declare const PilvioListLocationsOutput: z.ZodObject<{
15
17
  create_resource_disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
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]>;
20
+ declare const pilvioListLocations: AppAction<typeof PilvioListLocationsInput, typeof PilvioListLocationsOutput, typeof pilvio.credential>;
19
21
  //#endregion
20
22
  export { pilvioListLocations };
21
23
  //# sourceMappingURL=list-locations.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-locations.d.mts","names":[],"sources":["../../src/actions/list-locations.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-locations.d.mts","names":[],"sources":["../../src/actions/list-locations.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-locations.ts