@keystrokehq/promptmate_io 0.1.5 → 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 (101) 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 +1 -0
  4. package/dist/actions/create-webhook.cjs.map +1 -1
  5. package/dist/actions/create-webhook.d.cts +3 -19
  6. package/dist/actions/create-webhook.d.cts.map +1 -1
  7. package/dist/actions/create-webhook.d.mts +3 -19
  8. package/dist/actions/create-webhook.d.mts.map +1 -1
  9. package/dist/actions/create-webhook.mjs +1 -0
  10. package/dist/actions/create-webhook.mjs.map +1 -1
  11. package/dist/actions/delete-webhook.cjs +1 -0
  12. package/dist/actions/delete-webhook.cjs.map +1 -1
  13. package/dist/actions/delete-webhook.d.cts +3 -15
  14. package/dist/actions/delete-webhook.d.cts.map +1 -1
  15. package/dist/actions/delete-webhook.d.mts +3 -15
  16. package/dist/actions/delete-webhook.d.mts.map +1 -1
  17. package/dist/actions/delete-webhook.mjs +1 -0
  18. package/dist/actions/delete-webhook.mjs.map +1 -1
  19. package/dist/actions/get-app-job.cjs +1 -0
  20. package/dist/actions/get-app-job.cjs.map +1 -1
  21. package/dist/actions/get-app-job.d.cts +3 -16
  22. package/dist/actions/get-app-job.d.cts.map +1 -1
  23. package/dist/actions/get-app-job.d.mts +3 -16
  24. package/dist/actions/get-app-job.d.mts.map +1 -1
  25. package/dist/actions/get-app-job.mjs +1 -0
  26. package/dist/actions/get-app-job.mjs.map +1 -1
  27. package/dist/actions/get-user-info.cjs +1 -0
  28. package/dist/actions/get-user-info.cjs.map +1 -1
  29. package/dist/actions/get-user-info.d.cts +3 -13
  30. package/dist/actions/get-user-info.d.cts.map +1 -1
  31. package/dist/actions/get-user-info.d.mts +3 -13
  32. package/dist/actions/get-user-info.d.mts.map +1 -1
  33. package/dist/actions/get-user-info.mjs +1 -0
  34. package/dist/actions/get-user-info.mjs.map +1 -1
  35. package/dist/actions/list-apps.cjs +1 -0
  36. package/dist/actions/list-apps.cjs.map +1 -1
  37. package/dist/actions/list-apps.d.cts +3 -13
  38. package/dist/actions/list-apps.d.cts.map +1 -1
  39. package/dist/actions/list-apps.d.mts +3 -13
  40. package/dist/actions/list-apps.d.mts.map +1 -1
  41. package/dist/actions/list-apps.mjs +1 -0
  42. package/dist/actions/list-apps.mjs.map +1 -1
  43. package/dist/actions/list-countries.cjs +1 -0
  44. package/dist/actions/list-countries.cjs.map +1 -1
  45. package/dist/actions/list-countries.d.cts +3 -13
  46. package/dist/actions/list-countries.d.cts.map +1 -1
  47. package/dist/actions/list-countries.d.mts +3 -13
  48. package/dist/actions/list-countries.d.mts.map +1 -1
  49. package/dist/actions/list-countries.mjs +1 -0
  50. package/dist/actions/list-countries.mjs.map +1 -1
  51. package/dist/actions/list-languages.cjs +1 -0
  52. package/dist/actions/list-languages.cjs.map +1 -1
  53. package/dist/actions/list-languages.d.cts +3 -13
  54. package/dist/actions/list-languages.d.cts.map +1 -1
  55. package/dist/actions/list-languages.d.mts +3 -13
  56. package/dist/actions/list-languages.d.mts.map +1 -1
  57. package/dist/actions/list-languages.mjs +1 -0
  58. package/dist/actions/list-languages.mjs.map +1 -1
  59. package/dist/actions/list-projects.cjs +1 -0
  60. package/dist/actions/list-projects.cjs.map +1 -1
  61. package/dist/actions/list-projects.d.cts +3 -13
  62. package/dist/actions/list-projects.d.cts.map +1 -1
  63. package/dist/actions/list-projects.d.mts +3 -13
  64. package/dist/actions/list-projects.d.mts.map +1 -1
  65. package/dist/actions/list-projects.mjs +1 -0
  66. package/dist/actions/list-projects.mjs.map +1 -1
  67. package/dist/actions/list-templates.cjs +1 -0
  68. package/dist/actions/list-templates.cjs.map +1 -1
  69. package/dist/actions/list-templates.d.cts +3 -13
  70. package/dist/actions/list-templates.d.cts.map +1 -1
  71. package/dist/actions/list-templates.d.mts +3 -13
  72. package/dist/actions/list-templates.d.mts.map +1 -1
  73. package/dist/actions/list-templates.mjs +1 -0
  74. package/dist/actions/list-templates.mjs.map +1 -1
  75. package/dist/actions/list-webhooks.cjs +1 -0
  76. package/dist/actions/list-webhooks.cjs.map +1 -1
  77. package/dist/actions/list-webhooks.d.cts +3 -13
  78. package/dist/actions/list-webhooks.d.cts.map +1 -1
  79. package/dist/actions/list-webhooks.d.mts +3 -13
  80. package/dist/actions/list-webhooks.d.mts.map +1 -1
  81. package/dist/actions/list-webhooks.mjs +1 -0
  82. package/dist/actions/list-webhooks.mjs.map +1 -1
  83. package/dist/actions/use-template.cjs +1 -0
  84. package/dist/actions/use-template.cjs.map +1 -1
  85. package/dist/actions/use-template.d.cts +3 -16
  86. package/dist/actions/use-template.d.cts.map +1 -1
  87. package/dist/actions/use-template.d.mts +3 -16
  88. package/dist/actions/use-template.d.mts.map +1 -1
  89. package/dist/actions/use-template.mjs +1 -0
  90. package/dist/actions/use-template.mjs.map +1 -1
  91. package/dist/app.cjs +2 -2
  92. package/dist/app.cjs.map +1 -1
  93. package/dist/app.d.cts +4 -6
  94. package/dist/app.d.cts.map +1 -1
  95. package/dist/app.d.mts +4 -6
  96. package/dist/app.d.mts.map +1 -1
  97. package/dist/app.mjs +0 -1
  98. package/dist/app.mjs.map +1 -1
  99. package/dist/index.d.cts +1 -1
  100. package/dist/index.d.mts +1 -1
  101. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"list-apps.mjs","names":[],"sources":["../../src/actions/list-apps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListAppsInput = z.object({}).describe(\"Request model for listing apps. No parameters.\");\nconst PromptmateIoListApps_AppSchema = z.object({\n id: z.string().describe(\"Unique identifier of the app\").nullable(),\n name: z.string().describe(\"Human-readable name of the app\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags assigned to this app\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the app was created (ISO 8601 format)\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the app was last updated (ISO 8601 format)\").nullable(),\n description: z.string().describe(\"Detailed description of the app's purpose\").nullable(),\n}).passthrough();\nexport const PromptmateIoListAppsOutput = z.object({\n apps: z.array(PromptmateIoListApps_AppSchema).describe(\"List of available apps\"),\n}).passthrough().describe(\"Response model for listing apps.\");\n\nexport const promptmateIoListApps = action(\"PROMPTMATE_IO_LIST_APPS\", {\n slug: \"promptmate_io-list-apps\",\n name: \"List PromptMate Apps\",\n description: \"Tool to list all available apps. Use when you need to retrieve the catalogue of PromptMate apps.\",\n input: PromptmateIoListAppsInput,\n output: PromptmateIoListAppsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC/G,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,MAAM,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wBAAwB,EACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-apps.mjs","names":[],"sources":["../../src/actions/list-apps.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListAppsInput = z.object({}).describe(\"Request model for listing apps. No parameters.\");\nconst PromptmateIoListApps_AppSchema = z.object({\n id: z.string().describe(\"Unique identifier of the app\").nullable(),\n name: z.string().describe(\"Human-readable name of the app\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags assigned to this app\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the app was created (ISO 8601 format)\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the app was last updated (ISO 8601 format)\").nullable(),\n description: z.string().describe(\"Detailed description of the app's purpose\").nullable(),\n}).passthrough();\nexport const PromptmateIoListAppsOutput = z.object({\n apps: z.array(PromptmateIoListApps_AppSchema).describe(\"List of available apps\"),\n}).passthrough().describe(\"Response model for listing apps.\");\n\nexport const promptmateIoListApps: AppAction<\n typeof PromptmateIoListAppsInput,\n typeof PromptmateIoListAppsOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_APPS\", {\n slug: \"promptmate_io-list-apps\",\n name: \"List PromptMate Apps\",\n description: \"Tool to list all available apps. Use when you need to retrieve the catalogue of PromptMate apps.\",\n input: PromptmateIoListAppsInput,\n output: PromptmateIoListAppsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC/G,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,MAAM,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wBAAwB,EACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAWhB;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-countries.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-countries.cjs","names":["z","action"],"sources":["../../src/actions/list-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListCountriesInput = z.object({}).describe(\"Request model for listing countries. No parameters required.\");\nexport const PromptmateIoListCountriesOutput = z.object({\n countries: z.array(z.string()).describe(\"List of available country names\"),\n}).passthrough().describe(\"Response model for listing countries.\");\n\nexport const promptmateIoListCountries = action(\"PROMPTMATE_IO_LIST_COUNTRIES\", {\n slug: \"promptmate_io-list-countries\",\n name: \"List Countries\",\n description: \"Tool to list available countries for app configuration. Use when you need to retrieve the list of supported countries.\",\n input: PromptmateIoListCountriesInput,\n output: PromptmateIoListCountriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAClI,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-countries.cjs","names":["z","action"],"sources":["../../src/actions/list-countries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListCountriesInput = z.object({}).describe(\"Request model for listing countries. No parameters required.\");\nexport const PromptmateIoListCountriesOutput = z.object({\n countries: z.array(z.string()).describe(\"List of available country names\"),\n}).passthrough().describe(\"Response model for listing countries.\");\n\nexport const promptmateIoListCountries: AppAction<\n typeof PromptmateIoListCountriesInput,\n typeof PromptmateIoListCountriesOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_COUNTRIES\", {\n slug: \"promptmate_io-list-countries\",\n name: \"List Countries\",\n description: \"Tool to list available countries for app configuration. Use when you need to retrieve the list of supported countries.\",\n input: PromptmateIoListCountriesInput,\n output: PromptmateIoListCountriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAClI,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { promptmateIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-countries.d.ts
@@ -5,19 +7,7 @@ declare const PromptmateIoListCountriesInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PromptmateIoListCountriesOutput: z.ZodObject<{
6
8
  countries: z.ZodArray<z.ZodString>;
7
9
  }, z.core.$loose>;
8
- declare const promptmateIoListCountries: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
9
- connectionId: z.ZodString;
10
- entityId: z.ZodString;
11
- instanceId: z.ZodString;
12
- }, z.core.$strip>, z.ZodObject<{
13
- generic_api_key: z.ZodString;
14
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>;
10
+ declare const promptmateIoListCountries: AppAction<typeof PromptmateIoListCountriesInput, typeof PromptmateIoListCountriesOutput, typeof promptmateIo.credential>;
21
11
  //#endregion
22
12
  export { promptmateIoListCountries };
23
13
  //# sourceMappingURL=list-countries.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-countries.d.cts","names":[],"sources":["../../src/actions/list-countries.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,kBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-countries.d.cts","names":[],"sources":["../../src/actions/list-countries.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,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { promptmateIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-countries.d.ts
@@ -5,19 +7,7 @@ declare const PromptmateIoListCountriesInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PromptmateIoListCountriesOutput: z.ZodObject<{
6
8
  countries: z.ZodArray<z.ZodString>;
7
9
  }, z.core.$loose>;
8
- declare const promptmateIoListCountries: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
9
- connectionId: z.ZodString;
10
- entityId: z.ZodString;
11
- instanceId: z.ZodString;
12
- }, z.core.$strip>, z.ZodObject<{
13
- generic_api_key: z.ZodString;
14
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>;
10
+ declare const promptmateIoListCountries: AppAction<typeof PromptmateIoListCountriesInput, typeof PromptmateIoListCountriesOutput, typeof promptmateIo.credential>;
21
11
  //#endregion
22
12
  export { promptmateIoListCountries };
23
13
  //# sourceMappingURL=list-countries.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-countries.d.mts","names":[],"sources":["../../src/actions/list-countries.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,kBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-countries.d.mts","names":[],"sources":["../../src/actions/list-countries.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,YAAA,CAAa,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 promptmateIoListCountries = action("PROMPTMATE_IO_LIST_COUNTRIES", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-countries.mjs","names":[],"sources":["../../src/actions/list-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListCountriesInput = z.object({}).describe(\"Request model for listing countries. No parameters required.\");\nexport const PromptmateIoListCountriesOutput = z.object({\n countries: z.array(z.string()).describe(\"List of available country names\"),\n}).passthrough().describe(\"Response model for listing countries.\");\n\nexport const promptmateIoListCountries = action(\"PROMPTMATE_IO_LIST_COUNTRIES\", {\n slug: \"promptmate_io-list-countries\",\n name: \"List Countries\",\n description: \"Tool to list available countries for app configuration. Use when you need to retrieve the list of supported countries.\",\n input: PromptmateIoListCountriesInput,\n output: PromptmateIoListCountriesOutput,\n});\n"],"mappings":";;AASA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAS3D;CACP,QAT6C,EAAE,OAAO,EACtD,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-countries.mjs","names":[],"sources":["../../src/actions/list-countries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListCountriesInput = z.object({}).describe(\"Request model for listing countries. No parameters required.\");\nexport const PromptmateIoListCountriesOutput = z.object({\n countries: z.array(z.string()).describe(\"List of available country names\"),\n}).passthrough().describe(\"Response model for listing countries.\");\n\nexport const promptmateIoListCountries: AppAction<\n typeof PromptmateIoListCountriesInput,\n typeof PromptmateIoListCountriesOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_COUNTRIES\", {\n slug: \"promptmate_io-list-countries\",\n name: \"List Countries\",\n description: \"Tool to list available countries for app configuration. Use when you need to retrieve the list of supported countries.\",\n input: PromptmateIoListCountriesInput,\n output: PromptmateIoListCountriesOutput,\n});\n"],"mappings":";;;AAWA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAa3D;CACP,QAb6C,EAAE,OAAO,EACtD,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;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-languages.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-languages.cjs","names":["z","action"],"sources":["../../src/actions/list-languages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListLanguagesInput = z.object({}).describe(\"Request model for listing available languages. No parameters required.\");\nexport const PromptmateIoListLanguagesOutput = z.object({\n languages: z.array(z.string()).describe(\"List of available language names for app configuration\"),\n}).passthrough().describe(\"Response model for listing available languages.\");\n\nexport const promptmateIoListLanguages = action(\"PROMPTMATE_IO_LIST_LANGUAGES\", {\n slug: \"promptmate_io-list-languages\",\n name: \"List Available Languages\",\n description: \"Tool to list available languages for app configuration. Use when you need to retrieve supported language options.\",\n input: PromptmateIoListLanguagesInput,\n output: PromptmateIoListLanguagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAC5I,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-languages.cjs","names":["z","action"],"sources":["../../src/actions/list-languages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListLanguagesInput = z.object({}).describe(\"Request model for listing available languages. No parameters required.\");\nexport const PromptmateIoListLanguagesOutput = z.object({\n languages: z.array(z.string()).describe(\"List of available language names for app configuration\"),\n}).passthrough().describe(\"Response model for listing available languages.\");\n\nexport const promptmateIoListLanguages: AppAction<\n typeof PromptmateIoListLanguagesInput,\n typeof PromptmateIoListLanguagesOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_LANGUAGES\", {\n slug: \"promptmate_io-list-languages\",\n name: \"List Available Languages\",\n description: \"Tool to list available languages for app configuration. Use when you need to retrieve supported language options.\",\n input: PromptmateIoListLanguagesInput,\n output: PromptmateIoListLanguagesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAC5I,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { promptmateIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-languages.d.ts
@@ -5,19 +7,7 @@ declare const PromptmateIoListLanguagesInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PromptmateIoListLanguagesOutput: z.ZodObject<{
6
8
  languages: z.ZodArray<z.ZodString>;
7
9
  }, z.core.$loose>;
8
- declare const promptmateIoListLanguages: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
9
- connectionId: z.ZodString;
10
- entityId: z.ZodString;
11
- instanceId: z.ZodString;
12
- }, z.core.$strip>, z.ZodObject<{
13
- generic_api_key: z.ZodString;
14
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>;
10
+ declare const promptmateIoListLanguages: AppAction<typeof PromptmateIoListLanguagesInput, typeof PromptmateIoListLanguagesOutput, typeof promptmateIo.credential>;
21
11
  //#endregion
22
12
  export { promptmateIoListLanguages };
23
13
  //# sourceMappingURL=list-languages.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-languages.d.cts","names":[],"sources":["../../src/actions/list-languages.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,kBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-languages.d.cts","names":[],"sources":["../../src/actions/list-languages.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,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { promptmateIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-languages.d.ts
@@ -5,19 +7,7 @@ declare const PromptmateIoListLanguagesInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PromptmateIoListLanguagesOutput: z.ZodObject<{
6
8
  languages: z.ZodArray<z.ZodString>;
7
9
  }, z.core.$loose>;
8
- declare const promptmateIoListLanguages: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
9
- connectionId: z.ZodString;
10
- entityId: z.ZodString;
11
- instanceId: z.ZodString;
12
- }, z.core.$strip>, z.ZodObject<{
13
- generic_api_key: z.ZodString;
14
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>;
10
+ declare const promptmateIoListLanguages: AppAction<typeof PromptmateIoListLanguagesInput, typeof PromptmateIoListLanguagesOutput, typeof promptmateIo.credential>;
21
11
  //#endregion
22
12
  export { promptmateIoListLanguages };
23
13
  //# sourceMappingURL=list-languages.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-languages.d.mts","names":[],"sources":["../../src/actions/list-languages.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,kBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-languages.d.mts","names":[],"sources":["../../src/actions/list-languages.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,YAAA,CAAa,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 promptmateIoListLanguages = action("PROMPTMATE_IO_LIST_LANGUAGES", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-languages.mjs","names":[],"sources":["../../src/actions/list-languages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListLanguagesInput = z.object({}).describe(\"Request model for listing available languages. No parameters required.\");\nexport const PromptmateIoListLanguagesOutput = z.object({\n languages: z.array(z.string()).describe(\"List of available language names for app configuration\"),\n}).passthrough().describe(\"Response model for listing available languages.\");\n\nexport const promptmateIoListLanguages = action(\"PROMPTMATE_IO_LIST_LANGUAGES\", {\n slug: \"promptmate_io-list-languages\",\n name: \"List Available Languages\",\n description: \"Tool to list available languages for app configuration. Use when you need to retrieve supported language options.\",\n input: PromptmateIoListLanguagesInput,\n output: PromptmateIoListLanguagesOutput,\n});\n"],"mappings":";;AASA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAS3D;CACP,QAT6C,EAAE,OAAO,EACtD,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-languages.mjs","names":[],"sources":["../../src/actions/list-languages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListLanguagesInput = z.object({}).describe(\"Request model for listing available languages. No parameters required.\");\nexport const PromptmateIoListLanguagesOutput = z.object({\n languages: z.array(z.string()).describe(\"List of available language names for app configuration\"),\n}).passthrough().describe(\"Response model for listing available languages.\");\n\nexport const promptmateIoListLanguages: AppAction<\n typeof PromptmateIoListLanguagesInput,\n typeof PromptmateIoListLanguagesOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_LANGUAGES\", {\n slug: \"promptmate_io-list-languages\",\n name: \"List Available Languages\",\n description: \"Tool to list available languages for app configuration. Use when you need to retrieve supported language options.\",\n input: PromptmateIoListLanguagesInput,\n output: PromptmateIoListLanguagesOutput,\n});\n"],"mappings":";;;AAWA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAa3D;CACP,QAb6C,EAAE,OAAO,EACtD,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;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-projects.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListProjectsInput = z.object({}).describe(\"Request model for listing projects. No parameters required.\");\nconst PromptmateIoListProjects_ProjectSchema = z.object({\n projectId: z.string().describe(\"Unique identifier for the project\").nullable(),\n projectName: z.string().describe(\"Name of the project\").nullable(),\n}).passthrough().describe(\"Represents a single project.\");\nexport const PromptmateIoListProjectsOutput = z.object({\n projects: z.array(PromptmateIoListProjects_ProjectSchema).describe(\"List of available projects\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const promptmateIoListProjects = action(\"PROMPTMATE_IO_LIST_PROJECTS\", {\n slug: \"promptmate_io-list-projects\",\n name: \"List Projects\",\n description: \"Tool to list all available projects. Use when you need to retrieve the list of PromptMate projects.\",\n input: PromptmateIoListProjectsInput,\n output: PromptmateIoListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAChI,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,4BAA4B,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListProjectsInput = z.object({}).describe(\"Request model for listing projects. No parameters required.\");\nconst PromptmateIoListProjects_ProjectSchema = z.object({\n projectId: z.string().describe(\"Unique identifier for the project\").nullable(),\n projectName: z.string().describe(\"Name of the project\").nullable(),\n}).passthrough().describe(\"Represents a single project.\");\nexport const PromptmateIoListProjectsOutput = z.object({\n projects: z.array(PromptmateIoListProjects_ProjectSchema).describe(\"List of available projects\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const promptmateIoListProjects: AppAction<\n typeof PromptmateIoListProjectsInput,\n typeof PromptmateIoListProjectsOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_PROJECTS\", {\n slug: \"promptmate_io-list-projects\",\n name: \"List Projects\",\n description: \"Tool to list all available projects. Use when you need to retrieve the list of PromptMate projects.\",\n input: PromptmateIoListProjectsInput,\n output: PromptmateIoListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAChI,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,4BAA4B,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { promptmateIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-projects.d.ts
@@ -8,19 +10,7 @@ declare const PromptmateIoListProjectsOutput: z.ZodObject<{
8
10
  projectName: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const promptmateIoListProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
12
- connectionId: z.ZodString;
13
- entityId: z.ZodString;
14
- instanceId: z.ZodString;
15
- }, z.core.$strip>, z.ZodObject<{
16
- generic_api_key: z.ZodString;
17
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>;
13
+ declare const promptmateIoListProjects: AppAction<typeof PromptmateIoListProjectsInput, typeof PromptmateIoListProjectsOutput, typeof promptmateIo.credential>;
24
14
  //#endregion
25
15
  export { promptmateIoListProjects };
26
16
  //# sourceMappingURL=list-projects.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,kBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { promptmateIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-projects.d.ts
@@ -8,19 +10,7 @@ declare const PromptmateIoListProjectsOutput: z.ZodObject<{
8
10
  projectName: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const promptmateIoListProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
12
- connectionId: z.ZodString;
13
- entityId: z.ZodString;
14
- instanceId: z.ZodString;
15
- }, z.core.$strip>, z.ZodObject<{
16
- generic_api_key: z.ZodString;
17
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>;
13
+ declare const promptmateIoListProjects: AppAction<typeof PromptmateIoListProjectsInput, typeof PromptmateIoListProjectsOutput, typeof promptmateIo.credential>;
24
14
  //#endregion
25
15
  export { promptmateIoListProjects };
26
16
  //# sourceMappingURL=list-projects.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,kBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,YAAA,CAAa,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-projects.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListProjectsInput = z.object({}).describe(\"Request model for listing projects. No parameters required.\");\nconst PromptmateIoListProjects_ProjectSchema = z.object({\n projectId: z.string().describe(\"Unique identifier for the project\").nullable(),\n projectName: z.string().describe(\"Name of the project\").nullable(),\n}).passthrough().describe(\"Represents a single project.\");\nexport const PromptmateIoListProjectsOutput = z.object({\n projects: z.array(PromptmateIoListProjects_ProjectSchema).describe(\"List of available projects\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const promptmateIoListProjects = action(\"PROMPTMATE_IO_LIST_PROJECTS\", {\n slug: \"promptmate_io-list-projects\",\n name: \"List Projects\",\n description: \"Tool to list all available projects. Use when you need to retrieve the list of PromptMate projects.\",\n input: PromptmateIoListProjectsInput,\n output: PromptmateIoListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAChI,MAAM,yCAAyC,EAAE,OAAO;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAKxD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,UAAU,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,4BAA4B,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListProjectsInput = z.object({}).describe(\"Request model for listing projects. No parameters required.\");\nconst PromptmateIoListProjects_ProjectSchema = z.object({\n projectId: z.string().describe(\"Unique identifier for the project\").nullable(),\n projectName: z.string().describe(\"Name of the project\").nullable(),\n}).passthrough().describe(\"Represents a single project.\");\nexport const PromptmateIoListProjectsOutput = z.object({\n projects: z.array(PromptmateIoListProjects_ProjectSchema).describe(\"List of available projects\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const promptmateIoListProjects: AppAction<\n typeof PromptmateIoListProjectsInput,\n typeof PromptmateIoListProjectsOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_PROJECTS\", {\n slug: \"promptmate_io-list-projects\",\n name: \"List Projects\",\n description: \"Tool to list all available projects. Use when you need to retrieve the list of PromptMate projects.\",\n input: PromptmateIoListProjectsInput,\n output: PromptmateIoListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAChI,MAAM,yCAAyC,EAAE,OAAO;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAKxD,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,UAAU,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,4BAA4B,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;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-templates.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListTemplatesInput = z.object({}).describe(\"Request model for listing templates. No parameters required.\");\nconst PromptmateIoListTemplates_DataFieldSchema = z.object({\n name: z.string().nullable().optional(),\n type: z.string().nullable().optional(),\n options: z.array(z.string()).nullable().optional(),\n fileName: z.string().nullable().optional(),\n required: z.boolean().nullable().optional(),\n localFile: z.string().nullable().optional(),\n fieldOrder: z.number().int().nullable().optional(),\n defaultValue: z.string().nullable().optional(),\n}).passthrough().describe(\"Represents a data field in a template.\");\nconst PromptmateIoListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier for the template\").nullable(),\n dataFields: z.union([z.array(PromptmateIoListTemplates_DataFieldSchema), z.array(z.string())]).nullable().optional(),\n templateName: z.string().describe(\"Name of the template\").nullable(),\n templateType: z.string().describe(\"Type of the template\").nullable().optional(),\n templateCategory: z.string().describe(\"Category of the template\").nullable().optional(),\n templateVideo_url: z.string().describe(\"URL to a video about the template\").nullable().optional(),\n templateDescription: z.string().describe(\"Description of the template\").nullable().optional(),\n}).passthrough().describe(\"Represents a single template.\");\nexport const PromptmateIoListTemplatesOutput = z.object({\n templates: z.array(PromptmateIoListTemplates_TemplateSchema).describe(\"List of available templates\"),\n}).passthrough().describe(\"Response model for listing templates.\");\n\nexport const promptmateIoListTemplates = action(\"PROMPTMATE_IO_LIST_TEMPLATES\", {\n slug: \"promptmate_io-list-templates\",\n name: \"List Templates\",\n description: \"Tool to list all available templates. Use when you need to retrieve the catalogue of PromptMate templates.\",\n input: PromptmateIoListTemplatesInput,\n output: PromptmateIoListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAClI,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzC,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAM,yCAAyC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACnE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,WAAWA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6BAA6B,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListTemplatesInput = z.object({}).describe(\"Request model for listing templates. No parameters required.\");\nconst PromptmateIoListTemplates_DataFieldSchema = z.object({\n name: z.string().nullable().optional(),\n type: z.string().nullable().optional(),\n options: z.array(z.string()).nullable().optional(),\n fileName: z.string().nullable().optional(),\n required: z.boolean().nullable().optional(),\n localFile: z.string().nullable().optional(),\n fieldOrder: z.number().int().nullable().optional(),\n defaultValue: z.string().nullable().optional(),\n}).passthrough().describe(\"Represents a data field in a template.\");\nconst PromptmateIoListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier for the template\").nullable(),\n dataFields: z.union([z.array(PromptmateIoListTemplates_DataFieldSchema), z.array(z.string())]).nullable().optional(),\n templateName: z.string().describe(\"Name of the template\").nullable(),\n templateType: z.string().describe(\"Type of the template\").nullable().optional(),\n templateCategory: z.string().describe(\"Category of the template\").nullable().optional(),\n templateVideo_url: z.string().describe(\"URL to a video about the template\").nullable().optional(),\n templateDescription: z.string().describe(\"Description of the template\").nullable().optional(),\n}).passthrough().describe(\"Represents a single template.\");\nexport const PromptmateIoListTemplatesOutput = z.object({\n templates: z.array(PromptmateIoListTemplates_TemplateSchema).describe(\"List of available templates\"),\n}).passthrough().describe(\"Response model for listing templates.\");\n\nexport const promptmateIoListTemplates: AppAction<\n typeof PromptmateIoListTemplatesInput,\n typeof PromptmateIoListTemplatesOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_TEMPLATES\", {\n slug: \"promptmate_io-list-templates\",\n name: \"List Templates\",\n description: \"Tool to list all available templates. Use when you need to retrieve the catalogue of PromptMate templates.\",\n input: PromptmateIoListTemplatesInput,\n output: PromptmateIoListTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAClI,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzC,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAM,yCAAyC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACnE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,WAAWA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6BAA6B,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { promptmateIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-templates.d.ts
@@ -22,19 +24,7 @@ declare const PromptmateIoListTemplatesOutput: z.ZodObject<{
22
24
  templateDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const promptmateIoListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>;
27
+ declare const promptmateIoListTemplates: AppAction<typeof PromptmateIoListTemplatesInput, typeof PromptmateIoListTemplatesOutput, typeof promptmateIo.credential>;
38
28
  //#endregion
39
29
  export { promptmateIoListTemplates };
40
30
  //# sourceMappingURL=list-templates.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,kBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { promptmateIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-templates.d.ts
@@ -22,19 +24,7 @@ declare const PromptmateIoListTemplatesOutput: z.ZodObject<{
22
24
  templateDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const promptmateIoListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>;
27
+ declare const promptmateIoListTemplates: AppAction<typeof PromptmateIoListTemplatesInput, typeof PromptmateIoListTemplatesOutput, typeof promptmateIo.credential>;
38
28
  //#endregion
39
29
  export { promptmateIoListTemplates };
40
30
  //# sourceMappingURL=list-templates.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,kBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,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-templates.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListTemplatesInput = z.object({}).describe(\"Request model for listing templates. No parameters required.\");\nconst PromptmateIoListTemplates_DataFieldSchema = z.object({\n name: z.string().nullable().optional(),\n type: z.string().nullable().optional(),\n options: z.array(z.string()).nullable().optional(),\n fileName: z.string().nullable().optional(),\n required: z.boolean().nullable().optional(),\n localFile: z.string().nullable().optional(),\n fieldOrder: z.number().int().nullable().optional(),\n defaultValue: z.string().nullable().optional(),\n}).passthrough().describe(\"Represents a data field in a template.\");\nconst PromptmateIoListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier for the template\").nullable(),\n dataFields: z.union([z.array(PromptmateIoListTemplates_DataFieldSchema), z.array(z.string())]).nullable().optional(),\n templateName: z.string().describe(\"Name of the template\").nullable(),\n templateType: z.string().describe(\"Type of the template\").nullable().optional(),\n templateCategory: z.string().describe(\"Category of the template\").nullable().optional(),\n templateVideo_url: z.string().describe(\"URL to a video about the template\").nullable().optional(),\n templateDescription: z.string().describe(\"Description of the template\").nullable().optional(),\n}).passthrough().describe(\"Represents a single template.\");\nexport const PromptmateIoListTemplatesOutput = z.object({\n templates: z.array(PromptmateIoListTemplates_TemplateSchema).describe(\"List of available templates\"),\n}).passthrough().describe(\"Response model for listing templates.\");\n\nexport const promptmateIoListTemplates = action(\"PROMPTMATE_IO_LIST_TEMPLATES\", {\n slug: \"promptmate_io-list-templates\",\n name: \"List Templates\",\n description: \"Tool to list all available templates. Use when you need to retrieve the catalogue of PromptMate templates.\",\n input: PromptmateIoListTemplatesInput,\n output: PromptmateIoListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAClI,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzC,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,MAAM,CAAC,EAAE,MAAM,yCAAyC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,WAAW,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6BAA6B,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListTemplatesInput = z.object({}).describe(\"Request model for listing templates. No parameters required.\");\nconst PromptmateIoListTemplates_DataFieldSchema = z.object({\n name: z.string().nullable().optional(),\n type: z.string().nullable().optional(),\n options: z.array(z.string()).nullable().optional(),\n fileName: z.string().nullable().optional(),\n required: z.boolean().nullable().optional(),\n localFile: z.string().nullable().optional(),\n fieldOrder: z.number().int().nullable().optional(),\n defaultValue: z.string().nullable().optional(),\n}).passthrough().describe(\"Represents a data field in a template.\");\nconst PromptmateIoListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier for the template\").nullable(),\n dataFields: z.union([z.array(PromptmateIoListTemplates_DataFieldSchema), z.array(z.string())]).nullable().optional(),\n templateName: z.string().describe(\"Name of the template\").nullable(),\n templateType: z.string().describe(\"Type of the template\").nullable().optional(),\n templateCategory: z.string().describe(\"Category of the template\").nullable().optional(),\n templateVideo_url: z.string().describe(\"URL to a video about the template\").nullable().optional(),\n templateDescription: z.string().describe(\"Description of the template\").nullable().optional(),\n}).passthrough().describe(\"Represents a single template.\");\nexport const PromptmateIoListTemplatesOutput = z.object({\n templates: z.array(PromptmateIoListTemplates_TemplateSchema).describe(\"List of available templates\"),\n}).passthrough().describe(\"Response model for listing templates.\");\n\nexport const promptmateIoListTemplates: AppAction<\n typeof PromptmateIoListTemplatesInput,\n typeof PromptmateIoListTemplatesOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_TEMPLATES\", {\n slug: \"promptmate_io-list-templates\",\n name: \"List Templates\",\n description: \"Tool to list all available templates. Use when you need to retrieve the catalogue of PromptMate templates.\",\n input: PromptmateIoListTemplatesInput,\n output: PromptmateIoListTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAClI,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzC,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,MAAM,CAAC,EAAE,MAAM,yCAAyC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,WAAW,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6BAA6B,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;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-webhooks.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListWebhooksInput = z.object({}).describe(\"Request model for listing webhooks. No parameters required.\");\nconst PromptmateIoListWebhooks_WebhookSchema = z.object({\n webhookId: z.string().describe(\"Unique identifier of the webhook\").nullable(),\n endpointUrl: z.string().describe(\"Endpoint URL that receives webhook events\").nullable(),\n webhookName: z.string().describe(\"Optional friendly name for the webhook\").nullable().optional(),\n webhookType: z.string().describe(\"Type of events subscribed by the webhook ('job' or 'row')\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of app IDs that can trigger this webhook\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication\").nullable().optional(),\n}).passthrough().describe(\"Represents a single webhook configuration.\");\nexport const PromptmateIoListWebhooksOutput = z.object({\n total: z.number().int().describe(\"Total number of webhooks returned\").nullable(),\n webhooks: z.array(PromptmateIoListWebhooks_WebhookSchema).describe(\"Array of all registered webhooks.\"),\n}).passthrough().describe(\"Response model for listing webhooks.\");\n\nexport const promptmateIoListWebhooks = action(\"PROMPTMATE_IO_LIST_WEBHOOKS\", {\n slug: \"promptmate_io-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to list all configured webhooks. Use when you need to inspect current webhook subscriptions.\",\n input: PromptmateIoListWebhooksInput,\n output: PromptmateIoListWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAChI,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,mCAAmC;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListWebhooksInput = z.object({}).describe(\"Request model for listing webhooks. No parameters required.\");\nconst PromptmateIoListWebhooks_WebhookSchema = z.object({\n webhookId: z.string().describe(\"Unique identifier of the webhook\").nullable(),\n endpointUrl: z.string().describe(\"Endpoint URL that receives webhook events\").nullable(),\n webhookName: z.string().describe(\"Optional friendly name for the webhook\").nullable().optional(),\n webhookType: z.string().describe(\"Type of events subscribed by the webhook ('job' or 'row')\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of app IDs that can trigger this webhook\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication\").nullable().optional(),\n}).passthrough().describe(\"Represents a single webhook configuration.\");\nexport const PromptmateIoListWebhooksOutput = z.object({\n total: z.number().int().describe(\"Total number of webhooks returned\").nullable(),\n webhooks: z.array(PromptmateIoListWebhooks_WebhookSchema).describe(\"Array of all registered webhooks.\"),\n}).passthrough().describe(\"Response model for listing webhooks.\");\n\nexport const promptmateIoListWebhooks: AppAction<\n typeof PromptmateIoListWebhooksInput,\n typeof PromptmateIoListWebhooksOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_WEBHOOKS\", {\n slug: \"promptmate_io-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to list all configured webhooks. Use when you need to inspect current webhook subscriptions.\",\n input: PromptmateIoListWebhooksInput,\n output: PromptmateIoListWebhooksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAChI,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,mCAAmC;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { promptmateIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-webhooks.d.ts
@@ -13,19 +15,7 @@ declare const PromptmateIoListWebhooksOutput: z.ZodObject<{
13
15
  webhookReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>>;
15
17
  }, z.core.$loose>;
16
- declare const promptmateIoListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- generic_api_key: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
18
+ declare const promptmateIoListWebhooks: AppAction<typeof PromptmateIoListWebhooksInput, typeof PromptmateIoListWebhooksOutput, typeof promptmateIo.credential>;
29
19
  //#endregion
30
20
  export { promptmateIoListWebhooks };
31
21
  //# sourceMappingURL=list-webhooks.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,kBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { promptmateIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-webhooks.d.ts
@@ -13,19 +15,7 @@ declare const PromptmateIoListWebhooksOutput: z.ZodObject<{
13
15
  webhookReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>>;
15
17
  }, z.core.$loose>;
16
- declare const promptmateIoListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- generic_api_key: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"promptmate_io", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
18
+ declare const promptmateIoListWebhooks: AppAction<typeof PromptmateIoListWebhooksInput, typeof PromptmateIoListWebhooksOutput, typeof promptmateIo.credential>;
29
19
  //#endregion
30
20
  export { promptmateIoListWebhooks };
31
21
  //# sourceMappingURL=list-webhooks.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,kBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,YAAA,CAAa,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-webhooks.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-webhooks.mjs","names":[],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListWebhooksInput = z.object({}).describe(\"Request model for listing webhooks. No parameters required.\");\nconst PromptmateIoListWebhooks_WebhookSchema = z.object({\n webhookId: z.string().describe(\"Unique identifier of the webhook\").nullable(),\n endpointUrl: z.string().describe(\"Endpoint URL that receives webhook events\").nullable(),\n webhookName: z.string().describe(\"Optional friendly name for the webhook\").nullable().optional(),\n webhookType: z.string().describe(\"Type of events subscribed by the webhook ('job' or 'row')\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of app IDs that can trigger this webhook\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication\").nullable().optional(),\n}).passthrough().describe(\"Represents a single webhook configuration.\");\nexport const PromptmateIoListWebhooksOutput = z.object({\n total: z.number().int().describe(\"Total number of webhooks returned\").nullable(),\n webhooks: z.array(PromptmateIoListWebhooks_WebhookSchema).describe(\"Array of all registered webhooks.\"),\n}).passthrough().describe(\"Response model for listing webhooks.\");\n\nexport const promptmateIoListWebhooks = action(\"PROMPTMATE_IO_LIST_WEBHOOKS\", {\n slug: \"promptmate_io-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to list all configured webhooks. Use when you need to inspect current webhook subscriptions.\",\n input: PromptmateIoListWebhooksInput,\n output: PromptmateIoListWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAChI,MAAM,yCAAyC,EAAE,OAAO;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAMtE,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,mCAAmC;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-webhooks.mjs","names":[],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListWebhooksInput = z.object({}).describe(\"Request model for listing webhooks. No parameters required.\");\nconst PromptmateIoListWebhooks_WebhookSchema = z.object({\n webhookId: z.string().describe(\"Unique identifier of the webhook\").nullable(),\n endpointUrl: z.string().describe(\"Endpoint URL that receives webhook events\").nullable(),\n webhookName: z.string().describe(\"Optional friendly name for the webhook\").nullable().optional(),\n webhookType: z.string().describe(\"Type of events subscribed by the webhook ('job' or 'row')\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of app IDs that can trigger this webhook\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication\").nullable().optional(),\n}).passthrough().describe(\"Represents a single webhook configuration.\");\nexport const PromptmateIoListWebhooksOutput = z.object({\n total: z.number().int().describe(\"Total number of webhooks returned\").nullable(),\n webhooks: z.array(PromptmateIoListWebhooks_WebhookSchema).describe(\"Array of all registered webhooks.\"),\n}).passthrough().describe(\"Response model for listing webhooks.\");\n\nexport const promptmateIoListWebhooks: AppAction<\n typeof PromptmateIoListWebhooksInput,\n typeof PromptmateIoListWebhooksOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_WEBHOOKS\", {\n slug: \"promptmate_io-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to list all configured webhooks. Use when you need to inspect current webhook subscriptions.\",\n input: PromptmateIoListWebhooksInput,\n output: PromptmateIoListWebhooksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAChI,MAAM,yCAAyC,EAAE,OAAO;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAMtE,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,mCAAmC;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;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/use-template.ts
@@ -1 +1 @@
1
- {"version":3,"file":"use-template.cjs","names":["z","action"],"sources":["../../src/actions/use-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoUseTemplateInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Data to fill the template with. Key-value pairs where keys match template variables and values are strings.\").optional(),\n templateId: z.string().describe(\"The template ID to use\"),\n}).describe(\"Request model for using a template.\");\nexport const PromptmateIoUseTemplateOutput = z.object({\n appId: z.string().describe(\"The app ID created or associated with the template usage\").nullable(),\n message: z.string().describe(\"Status message for the template usage operation\").nullable(),\n templateId: z.string().describe(\"The template ID that was used\").nullable(),\n}).passthrough().describe(\"Response model for template usage.\");\n\nexport const promptmateIoUseTemplate = action(\"PROMPTMATE_IO_USE_TEMPLATE\", {\n slug: \"promptmate_io-use-template\",\n name: \"Use Template\",\n description: \"Tool to use a specific template to process data. Use when you need to apply a template with optional data parameters.\",\n input: PromptmateIoUseTemplateInput,\n output: PromptmateIoUseTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACzK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"use-template.cjs","names":["z","action"],"sources":["../../src/actions/use-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoUseTemplateInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Data to fill the template with. Key-value pairs where keys match template variables and values are strings.\").optional(),\n templateId: z.string().describe(\"The template ID to use\"),\n}).describe(\"Request model for using a template.\");\nexport const PromptmateIoUseTemplateOutput = z.object({\n appId: z.string().describe(\"The app ID created or associated with the template usage\").nullable(),\n message: z.string().describe(\"Status message for the template usage operation\").nullable(),\n templateId: z.string().describe(\"The template ID that was used\").nullable(),\n}).passthrough().describe(\"Response model for template usage.\");\n\nexport const promptmateIoUseTemplate: AppAction<\n typeof PromptmateIoUseTemplateInput,\n typeof PromptmateIoUseTemplateOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_USE_TEMPLATE\", {\n slug: \"promptmate_io-use-template\",\n name: \"Use Template\",\n description: \"Tool to use a specific template to process data. Use when you need to apply a template with optional data parameters.\",\n input: PromptmateIoUseTemplateInput,\n output: PromptmateIoUseTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACzK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}