@keystrokehq/promptmate_io 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-webhook.cjs +4 -4
  4. package/dist/actions/create-webhook.cjs.map +1 -1
  5. package/dist/actions/create-webhook.d.cts +30 -3
  6. package/dist/actions/create-webhook.d.cts.map +1 -1
  7. package/dist/actions/create-webhook.d.mts +30 -3
  8. package/dist/actions/create-webhook.d.mts.map +1 -1
  9. package/dist/actions/create-webhook.mjs +4 -4
  10. package/dist/actions/create-webhook.mjs.map +1 -1
  11. package/dist/actions/delete-webhook.cjs +3 -3
  12. package/dist/actions/delete-webhook.cjs.map +1 -1
  13. package/dist/actions/delete-webhook.d.cts +11 -3
  14. package/dist/actions/delete-webhook.d.cts.map +1 -1
  15. package/dist/actions/delete-webhook.d.mts +11 -3
  16. package/dist/actions/delete-webhook.d.mts.map +1 -1
  17. package/dist/actions/delete-webhook.mjs +3 -3
  18. package/dist/actions/delete-webhook.mjs.map +1 -1
  19. package/dist/actions/get-app-job.cjs +7 -7
  20. package/dist/actions/get-app-job.cjs.map +1 -1
  21. package/dist/actions/get-app-job.d.cts +24 -3
  22. package/dist/actions/get-app-job.d.cts.map +1 -1
  23. package/dist/actions/get-app-job.d.mts +24 -3
  24. package/dist/actions/get-app-job.d.mts.map +1 -1
  25. package/dist/actions/get-app-job.mjs +7 -7
  26. package/dist/actions/get-app-job.mjs.map +1 -1
  27. package/dist/actions/get-user-info.cjs +1 -1
  28. package/dist/actions/get-user-info.cjs.map +1 -1
  29. package/dist/actions/get-user-info.d.cts +6 -3
  30. package/dist/actions/get-user-info.d.cts.map +1 -1
  31. package/dist/actions/get-user-info.d.mts +6 -3
  32. package/dist/actions/get-user-info.d.mts.map +1 -1
  33. package/dist/actions/get-user-info.mjs +1 -1
  34. package/dist/actions/get-user-info.mjs.map +1 -1
  35. package/dist/actions/list-apps.cjs +7 -7
  36. package/dist/actions/list-apps.cjs.map +1 -1
  37. package/dist/actions/list-apps.d.cts +12 -3
  38. package/dist/actions/list-apps.d.cts.map +1 -1
  39. package/dist/actions/list-apps.d.mts +12 -3
  40. package/dist/actions/list-apps.d.mts.map +1 -1
  41. package/dist/actions/list-apps.mjs +7 -7
  42. package/dist/actions/list-apps.mjs.map +1 -1
  43. package/dist/actions/list-countries.cjs +1 -1
  44. package/dist/actions/list-countries.cjs.map +1 -1
  45. package/dist/actions/list-countries.d.cts +5 -3
  46. package/dist/actions/list-countries.d.cts.map +1 -1
  47. package/dist/actions/list-countries.d.mts +5 -3
  48. package/dist/actions/list-countries.d.mts.map +1 -1
  49. package/dist/actions/list-countries.mjs +1 -1
  50. package/dist/actions/list-countries.mjs.map +1 -1
  51. package/dist/actions/list-languages.cjs +1 -1
  52. package/dist/actions/list-languages.cjs.map +1 -1
  53. package/dist/actions/list-languages.d.cts +5 -3
  54. package/dist/actions/list-languages.d.cts.map +1 -1
  55. package/dist/actions/list-languages.d.mts +5 -3
  56. package/dist/actions/list-languages.d.mts.map +1 -1
  57. package/dist/actions/list-languages.mjs +1 -1
  58. package/dist/actions/list-languages.mjs.map +1 -1
  59. package/dist/actions/list-projects.cjs +4 -4
  60. package/dist/actions/list-projects.cjs.map +1 -1
  61. package/dist/actions/list-projects.d.cts +8 -3
  62. package/dist/actions/list-projects.d.cts.map +1 -1
  63. package/dist/actions/list-projects.d.mts +8 -3
  64. package/dist/actions/list-projects.d.mts.map +1 -1
  65. package/dist/actions/list-projects.mjs +4 -4
  66. package/dist/actions/list-projects.mjs.map +1 -1
  67. package/dist/actions/list-templates.cjs +3 -3
  68. package/dist/actions/list-templates.cjs.map +1 -1
  69. package/dist/actions/list-templates.d.cts +22 -3
  70. package/dist/actions/list-templates.d.cts.map +1 -1
  71. package/dist/actions/list-templates.d.mts +22 -3
  72. package/dist/actions/list-templates.d.mts.map +1 -1
  73. package/dist/actions/list-templates.mjs +3 -3
  74. package/dist/actions/list-templates.mjs.map +1 -1
  75. package/dist/actions/list-webhooks.cjs +5 -5
  76. package/dist/actions/list-webhooks.cjs.map +1 -1
  77. package/dist/actions/list-webhooks.d.cts +13 -3
  78. package/dist/actions/list-webhooks.d.cts.map +1 -1
  79. package/dist/actions/list-webhooks.d.mts +13 -3
  80. package/dist/actions/list-webhooks.d.mts.map +1 -1
  81. package/dist/actions/list-webhooks.mjs +5 -5
  82. package/dist/actions/list-webhooks.mjs.map +1 -1
  83. package/dist/actions/use-template.cjs +5 -5
  84. package/dist/actions/use-template.cjs.map +1 -1
  85. package/dist/actions/use-template.d.cts +13 -3
  86. package/dist/actions/use-template.d.cts.map +1 -1
  87. package/dist/actions/use-template.d.mts +13 -3
  88. package/dist/actions/use-template.d.mts.map +1 -1
  89. package/dist/actions/use-template.mjs +5 -5
  90. package/dist/actions/use-template.mjs.map +1 -1
  91. package/dist/catalog.cjs +7 -1
  92. package/dist/catalog.cjs.map +1 -1
  93. package/dist/catalog.d.cts +8 -0
  94. package/dist/catalog.d.mts +8 -0
  95. package/dist/catalog.mjs +7 -1
  96. package/dist/catalog.mjs.map +1 -1
  97. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["promptmateIo","executePromptmateIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { promptmateIo } from \"./app\";\nimport { executePromptmateIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return promptmateIo.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 executePromptmateIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,aAAa,OAAO;EACzB,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,wBAAwB,MAAM,KAAgC,CAAC;EAC/F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["promptmateIo","executePromptmateIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { promptmateIo } from \"./app\";\nimport { executePromptmateIoTool } 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 promptmateIo.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 executePromptmateIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,aAAa,OAAO;EACzB,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,wBAAwB,MAAM,KAAgC,CAAC;EAC/F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { promptmateIo } from \"./app\";\nimport { executePromptmateIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return promptmateIo.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 executePromptmateIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,aAAa,OAAO;EACzB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,wBAAwB,MAAM,KAAgC,CAAC;EAC/F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { promptmateIo } from \"./app\";\nimport { executePromptmateIoTool } 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 promptmateIo.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 executePromptmateIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,aAAa,OAAO;EACzB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,wBAAwB,MAAM,KAAgC,CAAC;EAC/F;CACF,CAAC;AACH"}
@@ -9,14 +9,14 @@ const PromptmateIoCreateWebhookInput = zod.z.object({
9
9
  webhookReference: zod.z.string().describe("Client-defined identifier for correlation or de-duplication.").optional()
10
10
  }).describe("Request body for creating a new webhook in Promptmate.io.");
11
11
  const PromptmateIoCreateWebhook_WebhookDetailSchema = zod.z.object({
12
- webhookId: zod.z.string().describe("System-assigned unique identifier for the webhook."),
13
- endpointUrl: zod.z.string().describe("Callback URL for webhook events."),
12
+ webhookId: zod.z.string().describe("System-assigned unique identifier for the webhook.").nullable(),
13
+ endpointUrl: zod.z.string().describe("Callback URL for webhook events.").nullable(),
14
14
  webhookName: zod.z.string().describe("Name of the webhook.").nullable().optional(),
15
15
  webhookType: zod.z.enum(["job", "row"]).describe("Subscribed event type ('job' or 'row').").nullable().optional(),
16
16
  restrictedAppIds: zod.z.array(zod.z.string()).describe("App IDs that can trigger this webhook.").nullable().optional(),
17
17
  webhookReference: zod.z.string().describe("Client-provided reference identifier.").nullable().optional()
18
- }).describe("Representation of a created Promptmate.io webhook detail.");
19
- const PromptmateIoCreateWebhookOutput = zod.z.object({ details: zod.z.array(PromptmateIoCreateWebhook_WebhookDetailSchema).describe("List of created webhook details.") }).describe("Response schema for a newly created webhook. Returns a list of webhook details.");
18
+ }).passthrough().describe("Representation of a created Promptmate.io webhook detail.");
19
+ const PromptmateIoCreateWebhookOutput = zod.z.object({ details: zod.z.array(PromptmateIoCreateWebhook_WebhookDetailSchema).describe("List of created webhook details.") }).passthrough().describe("Response schema for a newly created webhook. Returns a list of webhook details.");
20
20
  const promptmateIoCreateWebhook = require_action.action("PROMPTMATE_IO_CREATE_WEBHOOK", {
21
21
  slug: "promptmate_io-create-webhook",
22
22
  name: "Create webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoCreateWebhookInput: z.ZodTypeAny = z.object({\n endpointUrl: z.string().describe(\"The HTTP(S) URL where Promptmate will send webhook POST callbacks.\"),\n webhookName: z.string().describe(\"Optional friendly name for the webhook.\").optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Type of events to subscribe to ('job' or 'row').\").optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of Promptmate app IDs that are allowed to trigger this webhook.\").optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication.\").optional(),\n}).describe(\"Request body for creating a new webhook in Promptmate.io.\");\nconst PromptmateIoCreateWebhook_WebhookDetailSchema: z.ZodTypeAny = z.object({\n webhookId: z.string().describe(\"System-assigned unique identifier for the webhook.\"),\n endpointUrl: z.string().describe(\"Callback URL for webhook events.\"),\n webhookName: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Subscribed event type ('job' or 'row').\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"App IDs that can trigger this webhook.\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-provided reference identifier.\").nullable().optional(),\n}).describe(\"Representation of a created Promptmate.io webhook detail.\");\nexport const PromptmateIoCreateWebhookOutput: z.ZodTypeAny = z.object({\n details: z.array(PromptmateIoCreateWebhook_WebhookDetailSchema).describe(\"List of created webhook details.\"),\n}).describe(\"Response schema for a newly created webhook. Returns a list of webhook details.\");\n\nexport const promptmateIoCreateWebhook = action(\"PROMPTMATE_IO_CREATE_WEBHOOK\", {\n slug: \"promptmate_io-create-webhook\",\n name: \"Create webhook\",\n description: \"Tool to create a new webhook. Use when you need to subscribe an endpoint URL to job or row events.\",\n input: PromptmateIoCreateWebhookInput,\n output: PromptmateIoCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAChI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,SAASA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC,EAC7G,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAE7F,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoCreateWebhookInput = z.object({\n endpointUrl: z.string().describe(\"The HTTP(S) URL where Promptmate will send webhook POST callbacks.\"),\n webhookName: z.string().describe(\"Optional friendly name for the webhook.\").optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Type of events to subscribe to ('job' or 'row').\").optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of Promptmate app IDs that are allowed to trigger this webhook.\").optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication.\").optional(),\n}).describe(\"Request body for creating a new webhook in Promptmate.io.\");\nconst PromptmateIoCreateWebhook_WebhookDetailSchema = z.object({\n webhookId: z.string().describe(\"System-assigned unique identifier for the webhook.\").nullable(),\n endpointUrl: z.string().describe(\"Callback URL for webhook events.\").nullable(),\n webhookName: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Subscribed event type ('job' or 'row').\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"App IDs that can trigger this webhook.\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-provided reference identifier.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a created Promptmate.io webhook detail.\");\nexport const PromptmateIoCreateWebhookOutput = z.object({\n details: z.array(PromptmateIoCreateWebhook_WebhookDetailSchema).describe(\"List of created webhook details.\"),\n}).passthrough().describe(\"Response schema for a newly created webhook. Returns a list of webhook details.\");\n\nexport const promptmateIoCreateWebhook = action(\"PROMPTMATE_IO_CREATE_WEBHOOK\", {\n slug: \"promptmate_io-create-webhook\",\n name: \"Create webhook\",\n description: \"Tool to create a new webhook. Use when you need to subscribe an endpoint URL to job or row events.\",\n input: PromptmateIoCreateWebhookInput,\n output: PromptmateIoCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAChI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAAiF;AAE3G,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-webhook.d.ts
4
- declare const PromptmateIoCreateWebhookInput: z.ZodTypeAny;
5
- declare const PromptmateIoCreateWebhookOutput: z.ZodTypeAny;
6
- declare const promptmateIoCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoCreateWebhookInput: z.ZodObject<{
5
+ endpointUrl: z.ZodString;
6
+ webhookName: z.ZodOptional<z.ZodString>;
7
+ webhookType: z.ZodOptional<z.ZodEnum<{
8
+ job: "job";
9
+ row: "row";
10
+ }>>;
11
+ restrictedAppIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
+ webhookReference: z.ZodOptional<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ declare const PromptmateIoCreateWebhookOutput: z.ZodObject<{
15
+ details: z.ZodArray<z.ZodObject<{
16
+ webhookId: z.ZodNullable<z.ZodString>;
17
+ endpointUrl: z.ZodNullable<z.ZodString>;
18
+ webhookName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ webhookType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
20
+ job: "job";
21
+ row: "row";
22
+ }>>>;
23
+ restrictedAppIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
24
+ webhookReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
+ declare const promptmateIoCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ endpointUrl: string;
29
+ webhookName?: string | undefined;
30
+ webhookType?: "job" | "row" | undefined;
31
+ restrictedAppIds?: string[] | undefined;
32
+ webhookReference?: string | undefined;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { promptmateIoCreateWebhook };
9
36
  //# sourceMappingURL=create-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAMyB;AAAA,cAS3D,+BAAA,EAAiC,CAAA,CAAE,UAE8C;AAAA,cAEjF,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-webhook.d.ts
4
- declare const PromptmateIoCreateWebhookInput: z.ZodTypeAny;
5
- declare const PromptmateIoCreateWebhookOutput: z.ZodTypeAny;
6
- declare const promptmateIoCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoCreateWebhookInput: z.ZodObject<{
5
+ endpointUrl: z.ZodString;
6
+ webhookName: z.ZodOptional<z.ZodString>;
7
+ webhookType: z.ZodOptional<z.ZodEnum<{
8
+ job: "job";
9
+ row: "row";
10
+ }>>;
11
+ restrictedAppIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
+ webhookReference: z.ZodOptional<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ declare const PromptmateIoCreateWebhookOutput: z.ZodObject<{
15
+ details: z.ZodArray<z.ZodObject<{
16
+ webhookId: z.ZodNullable<z.ZodString>;
17
+ endpointUrl: z.ZodNullable<z.ZodString>;
18
+ webhookName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ webhookType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
20
+ job: "job";
21
+ row: "row";
22
+ }>>>;
23
+ restrictedAppIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
24
+ webhookReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
+ declare const promptmateIoCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ endpointUrl: string;
29
+ webhookName?: string | undefined;
30
+ webhookType?: "job" | "row" | undefined;
31
+ restrictedAppIds?: string[] | undefined;
32
+ webhookReference?: string | undefined;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { promptmateIoCreateWebhook };
9
36
  //# sourceMappingURL=create-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAMyB;AAAA,cAS3D,+BAAA,EAAiC,CAAA,CAAE,UAE8C;AAAA,cAEjF,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -9,19 +9,19 @@ const PromptmateIoCreateWebhookInput = z.object({
9
9
  webhookReference: z.string().describe("Client-defined identifier for correlation or de-duplication.").optional()
10
10
  }).describe("Request body for creating a new webhook in Promptmate.io.");
11
11
  const PromptmateIoCreateWebhook_WebhookDetailSchema = z.object({
12
- webhookId: z.string().describe("System-assigned unique identifier for the webhook."),
13
- endpointUrl: z.string().describe("Callback URL for webhook events."),
12
+ webhookId: z.string().describe("System-assigned unique identifier for the webhook.").nullable(),
13
+ endpointUrl: z.string().describe("Callback URL for webhook events.").nullable(),
14
14
  webhookName: z.string().describe("Name of the webhook.").nullable().optional(),
15
15
  webhookType: z.enum(["job", "row"]).describe("Subscribed event type ('job' or 'row').").nullable().optional(),
16
16
  restrictedAppIds: z.array(z.string()).describe("App IDs that can trigger this webhook.").nullable().optional(),
17
17
  webhookReference: z.string().describe("Client-provided reference identifier.").nullable().optional()
18
- }).describe("Representation of a created Promptmate.io webhook detail.");
18
+ }).passthrough().describe("Representation of a created Promptmate.io webhook detail.");
19
19
  const promptmateIoCreateWebhook = action("PROMPTMATE_IO_CREATE_WEBHOOK", {
20
20
  slug: "promptmate_io-create-webhook",
21
21
  name: "Create webhook",
22
22
  description: "Tool to create a new webhook. Use when you need to subscribe an endpoint URL to job or row events.",
23
23
  input: PromptmateIoCreateWebhookInput,
24
- output: z.object({ details: z.array(PromptmateIoCreateWebhook_WebhookDetailSchema).describe("List of created webhook details.") }).describe("Response schema for a newly created webhook. Returns a list of webhook details.")
24
+ output: z.object({ details: z.array(PromptmateIoCreateWebhook_WebhookDetailSchema).describe("List of created webhook details.") }).passthrough().describe("Response schema for a newly created webhook. Returns a list of webhook details.")
25
25
  });
26
26
  //#endregion
27
27
  export { promptmateIoCreateWebhook };
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoCreateWebhookInput: z.ZodTypeAny = z.object({\n endpointUrl: z.string().describe(\"The HTTP(S) URL where Promptmate will send webhook POST callbacks.\"),\n webhookName: z.string().describe(\"Optional friendly name for the webhook.\").optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Type of events to subscribe to ('job' or 'row').\").optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of Promptmate app IDs that are allowed to trigger this webhook.\").optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication.\").optional(),\n}).describe(\"Request body for creating a new webhook in Promptmate.io.\");\nconst PromptmateIoCreateWebhook_WebhookDetailSchema: z.ZodTypeAny = z.object({\n webhookId: z.string().describe(\"System-assigned unique identifier for the webhook.\"),\n endpointUrl: z.string().describe(\"Callback URL for webhook events.\"),\n webhookName: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Subscribed event type ('job' or 'row').\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"App IDs that can trigger this webhook.\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-provided reference identifier.\").nullable().optional(),\n}).describe(\"Representation of a created Promptmate.io webhook detail.\");\nexport const PromptmateIoCreateWebhookOutput: z.ZodTypeAny = z.object({\n details: z.array(PromptmateIoCreateWebhook_WebhookDetailSchema).describe(\"List of created webhook details.\"),\n}).describe(\"Response schema for a newly created webhook. Returns a list of webhook details.\");\n\nexport const promptmateIoCreateWebhook = action(\"PROMPTMATE_IO_CREATE_WEBHOOK\", {\n slug: \"promptmate_io-create-webhook\",\n name: \"Create webhook\",\n description: \"Tool to create a new webhook. Use when you need to subscribe an endpoint URL to job or row events.\",\n input: PromptmateIoCreateWebhookInput,\n output: PromptmateIoCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAChI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gDAA8D,EAAE,OAAO;CAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAKvE,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,SAAS,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC,EAC7G,CAAC,CAAC,CAAC,SAAS,iFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoCreateWebhookInput = z.object({\n endpointUrl: z.string().describe(\"The HTTP(S) URL where Promptmate will send webhook POST callbacks.\"),\n webhookName: z.string().describe(\"Optional friendly name for the webhook.\").optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Type of events to subscribe to ('job' or 'row').\").optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of Promptmate app IDs that are allowed to trigger this webhook.\").optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication.\").optional(),\n}).describe(\"Request body for creating a new webhook in Promptmate.io.\");\nconst PromptmateIoCreateWebhook_WebhookDetailSchema = z.object({\n webhookId: z.string().describe(\"System-assigned unique identifier for the webhook.\").nullable(),\n endpointUrl: z.string().describe(\"Callback URL for webhook events.\").nullable(),\n webhookName: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Subscribed event type ('job' or 'row').\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"App IDs that can trigger this webhook.\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-provided reference identifier.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a created Promptmate.io webhook detail.\");\nexport const PromptmateIoCreateWebhookOutput = z.object({\n details: z.array(PromptmateIoCreateWebhook_WebhookDetailSchema).describe(\"List of created webhook details.\"),\n}).passthrough().describe(\"Response schema for a newly created webhook. Returns a list of webhook details.\");\n\nexport const promptmateIoCreateWebhook = action(\"PROMPTMATE_IO_CREATE_WEBHOOK\", {\n slug: \"promptmate_io-create-webhook\",\n name: \"Create webhook\",\n description: \"Tool to create a new webhook. Use when you need to subscribe an endpoint URL to job or row events.\",\n input: PromptmateIoCreateWebhookInput,\n output: PromptmateIoCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAChI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAOhB;AACV,CAAC"}
@@ -4,9 +4,9 @@ let zod = require("zod");
4
4
  const PromptmateIoDeleteWebhookInput = zod.z.object({ webhook_id: zod.z.string().describe("Unique identifier of the webhook to delete") });
5
5
  const PromptmateIoDeleteWebhookOutput = zod.z.object({
6
6
  error: zod.z.string().describe("Error message if deletion failed").nullable().optional(),
7
- message: zod.z.string().describe("A message detailing the outcome"),
8
- success: zod.z.boolean().describe("Indicates if the deletion was successful")
9
- });
7
+ message: zod.z.string().describe("A message detailing the outcome").nullable(),
8
+ success: zod.z.boolean().describe("Indicates if the deletion was successful").nullable()
9
+ }).passthrough();
10
10
  const promptmateIoDeleteWebhook = require_action.action("PROMPTMATE_IO_DELETE_WEBHOOK", {
11
11
  slug: "promptmate_io-delete-webhook",
12
12
  name: "Delete Webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoDeleteWebhookInput: z.ZodTypeAny = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete\"),\n});\nexport const PromptmateIoDeleteWebhookOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if deletion failed\").nullable().optional(),\n message: z.string().describe(\"A message detailing the outcome\"),\n success: z.boolean().describe(\"Indicates if the deletion was successful\"),\n});\n\nexport const promptmateIoDeleteWebhook = action(\"PROMPTMATE_IO_DELETE_WEBHOOK\", {\n slug: \"promptmate_io-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook by its unique ID. Use after confirming the webhookId to remove.\",\n input: PromptmateIoDeleteWebhookInput,\n output: PromptmateIoDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC9E,CAAC;AACD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;AAC1E,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete\"),\n});\nexport const PromptmateIoDeleteWebhookOutput = z.object({\n error: z.string().describe(\"Error message if deletion failed\").nullable().optional(),\n message: z.string().describe(\"A message detailing the outcome\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful\").nullable(),\n}).passthrough();\n\nexport const promptmateIoDeleteWebhook = action(\"PROMPTMATE_IO_DELETE_WEBHOOK\", {\n slug: \"promptmate_io-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook by its unique ID. Use after confirming the webhookId to remove.\",\n input: PromptmateIoDeleteWebhookInput,\n output: PromptmateIoDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC9E,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-webhook.d.ts
4
- declare const PromptmateIoDeleteWebhookInput: z.ZodTypeAny;
5
- declare const PromptmateIoDeleteWebhookOutput: z.ZodTypeAny;
6
- declare const promptmateIoDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoDeleteWebhookInput: z.ZodObject<{
5
+ webhook_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PromptmateIoDeleteWebhookOutput: z.ZodObject<{
8
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$loose>;
12
+ declare const promptmateIoDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ webhook_id: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { promptmateIoDeleteWebhook };
9
17
  //# sourceMappingURL=delete-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAI9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-webhook.d.ts
4
- declare const PromptmateIoDeleteWebhookInput: z.ZodTypeAny;
5
- declare const PromptmateIoDeleteWebhookOutput: z.ZodTypeAny;
6
- declare const promptmateIoDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoDeleteWebhookInput: z.ZodObject<{
5
+ webhook_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PromptmateIoDeleteWebhookOutput: z.ZodObject<{
8
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$loose>;
12
+ declare const promptmateIoDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ webhook_id: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { promptmateIoDeleteWebhook };
9
17
  //# sourceMappingURL=delete-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAI9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
@@ -7,9 +7,9 @@ const promptmateIoDeleteWebhook = action("PROMPTMATE_IO_DELETE_WEBHOOK", {
7
7
  input: z.object({ webhook_id: z.string().describe("Unique identifier of the webhook to delete") }),
8
8
  output: z.object({
9
9
  error: z.string().describe("Error message if deletion failed").nullable().optional(),
10
- message: z.string().describe("A message detailing the outcome"),
11
- success: z.boolean().describe("Indicates if the deletion was successful")
12
- })
10
+ message: z.string().describe("A message detailing the outcome").nullable(),
11
+ success: z.boolean().describe("Indicates if the deletion was successful").nullable()
12
+ }).passthrough()
13
13
  });
14
14
  //#endregion
15
15
  export { promptmateIoDeleteWebhook };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoDeleteWebhookInput: z.ZodTypeAny = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete\"),\n});\nexport const PromptmateIoDeleteWebhookOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if deletion failed\").nullable().optional(),\n message: z.string().describe(\"A message detailing the outcome\"),\n success: z.boolean().describe(\"Indicates if the deletion was successful\"),\n});\n\nexport const promptmateIoDeleteWebhook = action(\"PROMPTMATE_IO_DELETE_WEBHOOK\", {\n slug: \"promptmate_io-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook by its unique ID. Use after confirming the webhookId to remove.\",\n input: PromptmateIoDeleteWebhookInput,\n output: PromptmateIoDeleteWebhookOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb0D,EAAE,OAAO,EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC9E,CAWS;CACP,QAX2D,EAAE,OAAO;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC9D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC1E,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete\"),\n});\nexport const PromptmateIoDeleteWebhookOutput = z.object({\n error: z.string().describe(\"Error message if deletion failed\").nullable().optional(),\n message: z.string().describe(\"A message detailing the outcome\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful\").nullable(),\n}).passthrough();\n\nexport const promptmateIoDeleteWebhook = action(\"PROMPTMATE_IO_DELETE_WEBHOOK\", {\n slug: \"promptmate_io-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook by its unique ID. Use after confirming the webhookId to remove.\",\n input: PromptmateIoDeleteWebhookInput,\n output: PromptmateIoDeleteWebhookOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO,EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC9E,CAWS;CACP,QAX6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -6,14 +6,14 @@ const PromptmateIoGetAppJobInput = zod.z.object({
6
6
  job_id: zod.z.string().describe("The unique identifier of the job")
7
7
  }).describe("Request model for getting app job status and result.");
8
8
  const PromptmateIoGetAppJob_ResponseFieldSchema = zod.z.object({
9
- key: zod.z.string().describe("Key identifier for the response field"),
10
- name: zod.z.string().describe("Human-readable name for the response field")
11
- }).describe("Response field information.");
9
+ key: zod.z.string().describe("Key identifier for the response field").nullable(),
10
+ name: zod.z.string().describe("Human-readable name for the response field").nullable()
11
+ }).passthrough().describe("Response field information.");
12
12
  const PromptmateIoGetAppJobOutput = zod.z.object({
13
13
  appId: zod.z.string().describe("The app ID for this job").nullable().optional(),
14
- jobId: zod.z.string().describe("Unique identifier for the job"),
15
- result: zod.z.object({}).describe("Job result data (available when job is finished)").nullable().optional(),
16
- jobStatus: zod.z.string().describe("Current status of the job"),
14
+ jobId: zod.z.string().describe("Unique identifier for the job").nullable(),
15
+ result: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Job result data (available when job is finished)").nullable().optional(),
16
+ jobStatus: zod.z.string().describe("Current status of the job").nullable(),
17
17
  stepCount: zod.z.number().int().describe("Total number of steps").nullable().optional(),
18
18
  actualStep: zod.z.string().describe("Description of the current step").nullable().optional(),
19
19
  executingStep: zod.z.number().int().describe("Currently executing step number").nullable().optional(),
@@ -21,7 +21,7 @@ const PromptmateIoGetAppJobOutput = zod.z.object({
21
21
  dataProcessType: zod.z.string().describe("Type of data processing (e.g., single, batch)").nullable().optional(),
22
22
  processedRowCount: zod.z.number().int().describe("Number of rows processed").nullable().optional(),
23
23
  requestedRowCount: zod.z.number().int().describe("Number of rows requested").nullable().optional()
24
- }).describe("Response model for getting app job status and result.");
24
+ }).passthrough().describe("Response model for getting app job status and result.");
25
25
  const promptmateIoGetAppJob = require_action.action("PROMPTMATE_IO_GET_APP_JOB", {
26
26
  slug: "promptmate_io-get-app-job",
27
27
  name: "Get App Job Status",
@@ -1 +1 @@
1
- {"version":3,"file":"get-app-job.cjs","names":["z","action"],"sources":["../../src/actions/get-app-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetAppJobInput: z.ZodTypeAny = z.object({\n app_id: z.string().describe(\"The unique identifier of the app\"),\n job_id: z.string().describe(\"The unique identifier of the job\"),\n}).describe(\"Request model for getting app job status and result.\");\nconst PromptmateIoGetAppJob_ResponseFieldSchema: z.ZodTypeAny = z.object({\n key: z.string().describe(\"Key identifier for the response field\"),\n name: z.string().describe(\"Human-readable name for the response field\"),\n}).describe(\"Response field information.\");\nexport const PromptmateIoGetAppJobOutput: z.ZodTypeAny = z.object({\n appId: z.string().describe(\"The app ID for this job\").nullable().optional(),\n jobId: z.string().describe(\"Unique identifier for the job\"),\n result: z.object({}).describe(\"Job result data (available when job is finished)\").nullable().optional(),\n jobStatus: z.string().describe(\"Current status of the job\"),\n stepCount: z.number().int().describe(\"Total number of steps\").nullable().optional(),\n actualStep: z.string().describe(\"Description of the current step\").nullable().optional(),\n executingStep: z.number().int().describe(\"Currently executing step number\").nullable().optional(),\n responseFields: z.array(PromptmateIoGetAppJob_ResponseFieldSchema).describe(\"List of response fields for the job\").nullable().optional(),\n dataProcessType: z.string().describe(\"Type of data processing (e.g., single, batch)\").nullable().optional(),\n processedRowCount: z.number().int().describe(\"Number of rows processed\").nullable().optional(),\n requestedRowCount: z.number().int().describe(\"Number of rows requested\").nullable().optional(),\n}).describe(\"Response model for getting app job status and result.\");\n\nexport const promptmateIoGetAppJob = action(\"PROMPTMATE_IO_GET_APP_JOB\", {\n slug: \"promptmate_io-get-app-job\",\n name: \"Get App Job Status\",\n description: \"Tool to get the status and result of a specific app job by its ID. Use when you need to check the status or retrieve results of a previously submitted job.\",\n input: PromptmateIoGetAppJobInput,\n output: PromptmateIoGetAppJobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AACxE,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-app-job.cjs","names":["z","action"],"sources":["../../src/actions/get-app-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetAppJobInput = z.object({\n app_id: z.string().describe(\"The unique identifier of the app\"),\n job_id: z.string().describe(\"The unique identifier of the job\"),\n}).describe(\"Request model for getting app job status and result.\");\nconst PromptmateIoGetAppJob_ResponseFieldSchema = z.object({\n key: z.string().describe(\"Key identifier for the response field\").nullable(),\n name: z.string().describe(\"Human-readable name for the response field\").nullable(),\n}).passthrough().describe(\"Response field information.\");\nexport const PromptmateIoGetAppJobOutput = z.object({\n appId: z.string().describe(\"The app ID for this job\").nullable().optional(),\n jobId: z.string().describe(\"Unique identifier for the job\").nullable(),\n result: z.record(z.string(), z.unknown()).describe(\"Job result data (available when job is finished)\").nullable().optional(),\n jobStatus: z.string().describe(\"Current status of the job\").nullable(),\n stepCount: z.number().int().describe(\"Total number of steps\").nullable().optional(),\n actualStep: z.string().describe(\"Description of the current step\").nullable().optional(),\n executingStep: z.number().int().describe(\"Currently executing step number\").nullable().optional(),\n responseFields: z.array(PromptmateIoGetAppJob_ResponseFieldSchema).describe(\"List of response fields for the job\").nullable().optional(),\n dataProcessType: z.string().describe(\"Type of data processing (e.g., single, batch)\").nullable().optional(),\n processedRowCount: z.number().int().describe(\"Number of rows processed\").nullable().optional(),\n requestedRowCount: z.number().int().describe(\"Number of rows requested\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting app job status and result.\");\n\nexport const promptmateIoGetAppJob = action(\"PROMPTMATE_IO_GET_APP_JOB\", {\n slug: \"promptmate_io-get-app-job\",\n name: \"Get App Job Status\",\n description: \"Tool to get the status and result of a specific app job by its ID. Use when you need to check the status or retrieve results of a previously submitted job.\",\n input: PromptmateIoGetAppJobInput,\n output: PromptmateIoGetAppJobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-app-job.d.ts
4
- declare const PromptmateIoGetAppJobInput: z.ZodTypeAny;
5
- declare const PromptmateIoGetAppJobOutput: z.ZodTypeAny;
6
- declare const promptmateIoGetAppJob: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoGetAppJobInput: z.ZodObject<{
5
+ app_id: z.ZodString;
6
+ job_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const PromptmateIoGetAppJobOutput: z.ZodObject<{
9
+ appId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ jobId: z.ZodNullable<z.ZodString>;
11
+ result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
+ jobStatus: z.ZodNullable<z.ZodString>;
13
+ stepCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ actualStep: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ executingStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ responseFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
+ key: z.ZodNullable<z.ZodString>;
18
+ name: z.ZodNullable<z.ZodString>;
19
+ }, z.core.$loose>>>>;
20
+ dataProcessType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ processedRowCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ requestedRowCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ }, z.core.$loose>;
24
+ declare const promptmateIoGetAppJob: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ app_id: string;
26
+ job_id: string;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { promptmateIoGetAppJob };
9
30
  //# sourceMappingURL=get-app-job.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-app-job.d.cts","names":[],"sources":["../../src/actions/get-app-job.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGwB;AAAA,cAKtD,2BAAA,EAA6B,CAAA,CAAE,UAYwB;AAAA,cAEvD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-app-job.d.cts","names":[],"sources":["../../src/actions/get-app-job.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAc3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-app-job.d.ts
4
- declare const PromptmateIoGetAppJobInput: z.ZodTypeAny;
5
- declare const PromptmateIoGetAppJobOutput: z.ZodTypeAny;
6
- declare const promptmateIoGetAppJob: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoGetAppJobInput: z.ZodObject<{
5
+ app_id: z.ZodString;
6
+ job_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const PromptmateIoGetAppJobOutput: z.ZodObject<{
9
+ appId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ jobId: z.ZodNullable<z.ZodString>;
11
+ result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
+ jobStatus: z.ZodNullable<z.ZodString>;
13
+ stepCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ actualStep: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ executingStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ responseFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
+ key: z.ZodNullable<z.ZodString>;
18
+ name: z.ZodNullable<z.ZodString>;
19
+ }, z.core.$loose>>>>;
20
+ dataProcessType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ processedRowCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ requestedRowCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ }, z.core.$loose>;
24
+ declare const promptmateIoGetAppJob: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ app_id: string;
26
+ job_id: string;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { promptmateIoGetAppJob };
9
30
  //# sourceMappingURL=get-app-job.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-app-job.d.mts","names":[],"sources":["../../src/actions/get-app-job.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGwB;AAAA,cAKtD,2BAAA,EAA6B,CAAA,CAAE,UAYwB;AAAA,cAEvD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-app-job.d.mts","names":[],"sources":["../../src/actions/get-app-job.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAc3B,qBAAA,gCAAqB,wBAAA"}
@@ -6,9 +6,9 @@ const PromptmateIoGetAppJobInput = z.object({
6
6
  job_id: z.string().describe("The unique identifier of the job")
7
7
  }).describe("Request model for getting app job status and result.");
8
8
  const PromptmateIoGetAppJob_ResponseFieldSchema = z.object({
9
- key: z.string().describe("Key identifier for the response field"),
10
- name: z.string().describe("Human-readable name for the response field")
11
- }).describe("Response field information.");
9
+ key: z.string().describe("Key identifier for the response field").nullable(),
10
+ name: z.string().describe("Human-readable name for the response field").nullable()
11
+ }).passthrough().describe("Response field information.");
12
12
  const promptmateIoGetAppJob = action("PROMPTMATE_IO_GET_APP_JOB", {
13
13
  slug: "promptmate_io-get-app-job",
14
14
  name: "Get App Job Status",
@@ -16,9 +16,9 @@ const promptmateIoGetAppJob = action("PROMPTMATE_IO_GET_APP_JOB", {
16
16
  input: PromptmateIoGetAppJobInput,
17
17
  output: z.object({
18
18
  appId: z.string().describe("The app ID for this job").nullable().optional(),
19
- jobId: z.string().describe("Unique identifier for the job"),
20
- result: z.object({}).describe("Job result data (available when job is finished)").nullable().optional(),
21
- jobStatus: z.string().describe("Current status of the job"),
19
+ jobId: z.string().describe("Unique identifier for the job").nullable(),
20
+ result: z.record(z.string(), z.unknown()).describe("Job result data (available when job is finished)").nullable().optional(),
21
+ jobStatus: z.string().describe("Current status of the job").nullable(),
22
22
  stepCount: z.number().int().describe("Total number of steps").nullable().optional(),
23
23
  actualStep: z.string().describe("Description of the current step").nullable().optional(),
24
24
  executingStep: z.number().int().describe("Currently executing step number").nullable().optional(),
@@ -26,7 +26,7 @@ const promptmateIoGetAppJob = action("PROMPTMATE_IO_GET_APP_JOB", {
26
26
  dataProcessType: z.string().describe("Type of data processing (e.g., single, batch)").nullable().optional(),
27
27
  processedRowCount: z.number().int().describe("Number of rows processed").nullable().optional(),
28
28
  requestedRowCount: z.number().int().describe("Number of rows requested").nullable().optional()
29
- }).describe("Response model for getting app job status and result.")
29
+ }).passthrough().describe("Response model for getting app job status and result.")
30
30
  });
31
31
  //#endregion
32
32
  export { promptmateIoGetAppJob };
@@ -1 +1 @@
1
- {"version":3,"file":"get-app-job.mjs","names":[],"sources":["../../src/actions/get-app-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetAppJobInput: z.ZodTypeAny = z.object({\n app_id: z.string().describe(\"The unique identifier of the app\"),\n job_id: z.string().describe(\"The unique identifier of the job\"),\n}).describe(\"Request model for getting app job status and result.\");\nconst PromptmateIoGetAppJob_ResponseFieldSchema: z.ZodTypeAny = z.object({\n key: z.string().describe(\"Key identifier for the response field\"),\n name: z.string().describe(\"Human-readable name for the response field\"),\n}).describe(\"Response field information.\");\nexport const PromptmateIoGetAppJobOutput: z.ZodTypeAny = z.object({\n appId: z.string().describe(\"The app ID for this job\").nullable().optional(),\n jobId: z.string().describe(\"Unique identifier for the job\"),\n result: z.object({}).describe(\"Job result data (available when job is finished)\").nullable().optional(),\n jobStatus: z.string().describe(\"Current status of the job\"),\n stepCount: z.number().int().describe(\"Total number of steps\").nullable().optional(),\n actualStep: z.string().describe(\"Description of the current step\").nullable().optional(),\n executingStep: z.number().int().describe(\"Currently executing step number\").nullable().optional(),\n responseFields: z.array(PromptmateIoGetAppJob_ResponseFieldSchema).describe(\"List of response fields for the job\").nullable().optional(),\n dataProcessType: z.string().describe(\"Type of data processing (e.g., single, batch)\").nullable().optional(),\n processedRowCount: z.number().int().describe(\"Number of rows processed\").nullable().optional(),\n requestedRowCount: z.number().int().describe(\"Number of rows requested\").nullable().optional(),\n}).describe(\"Response model for getting app job status and result.\");\n\nexport const promptmateIoGetAppJob = action(\"PROMPTMATE_IO_GET_APP_JOB\", {\n slug: \"promptmate_io-get-app-job\",\n name: \"Get App Job Status\",\n description: \"Tool to get the status and result of a specific app job by its ID. Use when you need to check the status or retrieve results of a previously submitted job.\",\n input: PromptmateIoGetAppJobInput,\n output: PromptmateIoGetAppJobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,4CAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AACxE,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAezC,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,gBAAgB,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-app-job.mjs","names":[],"sources":["../../src/actions/get-app-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetAppJobInput = z.object({\n app_id: z.string().describe(\"The unique identifier of the app\"),\n job_id: z.string().describe(\"The unique identifier of the job\"),\n}).describe(\"Request model for getting app job status and result.\");\nconst PromptmateIoGetAppJob_ResponseFieldSchema = z.object({\n key: z.string().describe(\"Key identifier for the response field\").nullable(),\n name: z.string().describe(\"Human-readable name for the response field\").nullable(),\n}).passthrough().describe(\"Response field information.\");\nexport const PromptmateIoGetAppJobOutput = z.object({\n appId: z.string().describe(\"The app ID for this job\").nullable().optional(),\n jobId: z.string().describe(\"Unique identifier for the job\").nullable(),\n result: z.record(z.string(), z.unknown()).describe(\"Job result data (available when job is finished)\").nullable().optional(),\n jobStatus: z.string().describe(\"Current status of the job\").nullable(),\n stepCount: z.number().int().describe(\"Total number of steps\").nullable().optional(),\n actualStep: z.string().describe(\"Description of the current step\").nullable().optional(),\n executingStep: z.number().int().describe(\"Currently executing step number\").nullable().optional(),\n responseFields: z.array(PromptmateIoGetAppJob_ResponseFieldSchema).describe(\"List of response fields for the job\").nullable().optional(),\n dataProcessType: z.string().describe(\"Type of data processing (e.g., single, batch)\").nullable().optional(),\n processedRowCount: z.number().int().describe(\"Number of rows processed\").nullable().optional(),\n requestedRowCount: z.number().int().describe(\"Number of rows requested\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting app job status and result.\");\n\nexport const promptmateIoGetAppJob = action(\"PROMPTMATE_IO_GET_APP_JOB\", {\n slug: \"promptmate_io-get-app-job\",\n name: \"Get App Job Status\",\n description: \"Tool to get the status and result of a specific app job by its ID. Use when you need to check the status or retrieve results of a previously submitted job.\",\n input: PromptmateIoGetAppJobInput,\n output: PromptmateIoGetAppJobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAevD,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,gBAAgB,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const PromptmateIoGetUserInfoInput = zod.z.object({}).describe("Request model fo
5
5
  const PromptmateIoGetUserInfoOutput = zod.z.object({
6
6
  email: zod.z.string().describe("User email address").nullable().optional(),
7
7
  userId: zod.z.string().describe("Unique identifier for the user").nullable().optional()
8
- }).describe("Response model for user information.");
8
+ }).passthrough().describe("Response model for user information.");
9
9
  const promptmateIoGetUserInfo = require_action.action("PROMPTMATE_IO_GET_USER_INFO", {
10
10
  slug: "promptmate_io-get-user-info",
11
11
  name: "Get User Info",
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetUserInfoInput: z.ZodTypeAny = z.object({}).describe(\"Request model for getting user information. No parameters required.\");\nexport const PromptmateIoGetUserInfoOutput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"User email address\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n}).describe(\"Response model for user information.\");\n\nexport const promptmateIoGetUserInfo = action(\"PROMPTMATE_IO_GET_USER_INFO\", {\n slug: \"promptmate_io-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to get user information for the authenticated API key owner. Use when you need to retrieve details about the current user.\",\n input: PromptmateIoGetUserInfoInput,\n output: PromptmateIoGetUserInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACrJ,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetUserInfoInput = z.object({}).describe(\"Request model for getting user information. No parameters required.\");\nexport const PromptmateIoGetUserInfoOutput = z.object({\n email: z.string().describe(\"User email address\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n}).passthrough().describe(\"Response model for user information.\");\n\nexport const promptmateIoGetUserInfo = action(\"PROMPTMATE_IO_GET_USER_INFO\", {\n slug: \"promptmate_io-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to get user information for the authenticated API key owner. Use when you need to retrieve details about the current user.\",\n input: PromptmateIoGetUserInfoInput,\n output: PromptmateIoGetUserInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACvI,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,12 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user-info.d.ts
4
- declare const PromptmateIoGetUserInfoInput: z.ZodTypeAny;
5
- declare const PromptmateIoGetUserInfoOutput: z.ZodTypeAny;
6
- declare const promptmateIoGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoGetUserInfoInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PromptmateIoGetUserInfoOutput: z.ZodObject<{
6
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ }, z.core.$loose>;
9
+ declare const promptmateIoGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
10
  //#endregion
8
11
  export { promptmateIoGetUserInfo };
9
12
  //# 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,4BAAA,EAA8B,CAAA,CAAE,UAAyG;AAAA,cACzI,6BAAA,EAA+B,CAAA,CAAE,UAGK;AAAA,cAEtC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user-info.d.cts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,12 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user-info.d.ts
4
- declare const PromptmateIoGetUserInfoInput: z.ZodTypeAny;
5
- declare const PromptmateIoGetUserInfoOutput: z.ZodTypeAny;
6
- declare const promptmateIoGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoGetUserInfoInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PromptmateIoGetUserInfoOutput: z.ZodObject<{
6
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ }, z.core.$loose>;
9
+ declare const promptmateIoGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
10
  //#endregion
8
11
  export { promptmateIoGetUserInfo };
9
12
  //# 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,4BAAA,EAA8B,CAAA,CAAE,UAAyG;AAAA,cACzI,6BAAA,EAA+B,CAAA,CAAE,UAGK;AAAA,cAEtC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user-info.d.mts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -8,7 +8,7 @@ const promptmateIoGetUserInfo = action("PROMPTMATE_IO_GET_USER_INFO", {
8
8
  output: z.object({
9
9
  email: z.string().describe("User email address").nullable().optional(),
10
10
  userId: z.string().describe("Unique identifier for the user").nullable().optional()
11
- }).describe("Response model for user information.")
11
+ }).passthrough().describe("Response model for user information.")
12
12
  });
13
13
  //#endregion
14
14
  export { promptmateIoGetUserInfo };
@@ -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 PromptmateIoGetUserInfoInput: z.ZodTypeAny = z.object({}).describe(\"Request model for getting user information. No parameters required.\");\nexport const PromptmateIoGetUserInfoOutput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"User email address\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n}).describe(\"Response model for user information.\");\n\nexport const promptmateIoGetUserInfo = action(\"PROMPTMATE_IO_GET_USER_INFO\", {\n slug: \"promptmate_io-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to get user information for the authenticated API key owner. Use when you need to retrieve details about the current user.\",\n input: PromptmateIoGetUserInfoInput,\n output: PromptmateIoGetUserInfoOutput,\n});\n"],"mappings":";;AAUA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVwD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAUvE;CACP,QAVyD,EAAE,OAAO;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-info.mjs","names":[],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetUserInfoInput = z.object({}).describe(\"Request model for getting user information. No parameters required.\");\nexport const PromptmateIoGetUserInfoOutput = z.object({\n email: z.string().describe(\"User email address\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n}).passthrough().describe(\"Response model for user information.\");\n\nexport const promptmateIoGetUserInfo = action(\"PROMPTMATE_IO_GET_USER_INFO\", {\n slug: \"promptmate_io-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to get user information for the authenticated API key owner. Use when you need to retrieve details about the current user.\",\n input: PromptmateIoGetUserInfoInput,\n output: PromptmateIoGetUserInfoOutput,\n});\n"],"mappings":";;AAUA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAUzD;CACP,QAV2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}