@keystrokehq/promptmate_io 0.1.0 → 0.1.2

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 (91) 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 +2 -2
  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 +2 -2
  10. package/dist/actions/create-webhook.mjs.map +1 -1
  11. package/dist/actions/delete-webhook.cjs +2 -2
  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 +2 -2
  18. package/dist/actions/delete-webhook.mjs.map +1 -1
  19. package/dist/actions/get-app-job.cjs +4 -4
  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 +4 -4
  26. package/dist/actions/get-app-job.mjs.map +1 -1
  27. package/dist/actions/get-user-info.cjs.map +1 -1
  28. package/dist/actions/get-user-info.d.cts +6 -3
  29. package/dist/actions/get-user-info.d.cts.map +1 -1
  30. package/dist/actions/get-user-info.d.mts +6 -3
  31. package/dist/actions/get-user-info.d.mts.map +1 -1
  32. package/dist/actions/get-user-info.mjs.map +1 -1
  33. package/dist/actions/list-apps.cjs +5 -5
  34. package/dist/actions/list-apps.cjs.map +1 -1
  35. package/dist/actions/list-apps.d.cts +12 -3
  36. package/dist/actions/list-apps.d.cts.map +1 -1
  37. package/dist/actions/list-apps.d.mts +12 -3
  38. package/dist/actions/list-apps.d.mts.map +1 -1
  39. package/dist/actions/list-apps.mjs +5 -5
  40. package/dist/actions/list-apps.mjs.map +1 -1
  41. package/dist/actions/list-countries.cjs.map +1 -1
  42. package/dist/actions/list-countries.d.cts +5 -3
  43. package/dist/actions/list-countries.d.cts.map +1 -1
  44. package/dist/actions/list-countries.d.mts +5 -3
  45. package/dist/actions/list-countries.d.mts.map +1 -1
  46. package/dist/actions/list-countries.mjs.map +1 -1
  47. package/dist/actions/list-languages.cjs.map +1 -1
  48. package/dist/actions/list-languages.d.cts +5 -3
  49. package/dist/actions/list-languages.d.cts.map +1 -1
  50. package/dist/actions/list-languages.d.mts +5 -3
  51. package/dist/actions/list-languages.d.mts.map +1 -1
  52. package/dist/actions/list-languages.mjs.map +1 -1
  53. package/dist/actions/list-projects.cjs +2 -2
  54. package/dist/actions/list-projects.cjs.map +1 -1
  55. package/dist/actions/list-projects.d.cts +8 -3
  56. package/dist/actions/list-projects.d.cts.map +1 -1
  57. package/dist/actions/list-projects.d.mts +8 -3
  58. package/dist/actions/list-projects.d.mts.map +1 -1
  59. package/dist/actions/list-projects.mjs +2 -2
  60. package/dist/actions/list-projects.mjs.map +1 -1
  61. package/dist/actions/list-templates.cjs +2 -2
  62. package/dist/actions/list-templates.cjs.map +1 -1
  63. package/dist/actions/list-templates.d.cts +22 -3
  64. package/dist/actions/list-templates.d.cts.map +1 -1
  65. package/dist/actions/list-templates.d.mts +22 -3
  66. package/dist/actions/list-templates.d.mts.map +1 -1
  67. package/dist/actions/list-templates.mjs +2 -2
  68. package/dist/actions/list-templates.mjs.map +1 -1
  69. package/dist/actions/list-webhooks.cjs +3 -3
  70. package/dist/actions/list-webhooks.cjs.map +1 -1
  71. package/dist/actions/list-webhooks.d.cts +13 -3
  72. package/dist/actions/list-webhooks.d.cts.map +1 -1
  73. package/dist/actions/list-webhooks.d.mts +13 -3
  74. package/dist/actions/list-webhooks.d.mts.map +1 -1
  75. package/dist/actions/list-webhooks.mjs +3 -3
  76. package/dist/actions/list-webhooks.mjs.map +1 -1
  77. package/dist/actions/use-template.cjs +3 -3
  78. package/dist/actions/use-template.cjs.map +1 -1
  79. package/dist/actions/use-template.d.cts +13 -3
  80. package/dist/actions/use-template.d.cts.map +1 -1
  81. package/dist/actions/use-template.d.mts +13 -3
  82. package/dist/actions/use-template.d.mts.map +1 -1
  83. package/dist/actions/use-template.mjs +3 -3
  84. package/dist/actions/use-template.mjs.map +1 -1
  85. package/dist/catalog.cjs +7 -1
  86. package/dist/catalog.cjs.map +1 -1
  87. package/dist/catalog.d.cts +8 -0
  88. package/dist/catalog.d.mts +8 -0
  89. package/dist/catalog.mjs +7 -1
  90. package/dist/catalog.mjs.map +1 -1
  91. package/package.json +2 -2
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-apps.d.ts
4
- declare const PromptmateIoListAppsInput: z.ZodTypeAny;
5
- declare const PromptmateIoListAppsOutput: z.ZodTypeAny;
6
- declare const promptmateIoListApps: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoListAppsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PromptmateIoListAppsOutput: z.ZodObject<{
6
+ apps: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ name: z.ZodNullable<z.ZodString>;
9
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
10
+ createdAt: z.ZodNullable<z.ZodString>;
11
+ updatedAt: z.ZodNullable<z.ZodString>;
12
+ description: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$strip>>;
14
+ }, z.core.$strip>;
15
+ declare const promptmateIoListApps: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { promptmateIoListApps };
9
18
  //# sourceMappingURL=list-apps.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-apps.d.mts","names":[],"sources":["../../src/actions/list-apps.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAAoF;AAAA,cASjH,0BAAA,EAA4B,CAAA,CAAE,UAEI;AAAA,cAElC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-apps.d.mts","names":[],"sources":["../../src/actions/list-apps.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,12 +3,12 @@ import { z } from "zod";
3
3
  //#region src/actions/list-apps.ts
4
4
  const PromptmateIoListAppsInput = z.object({}).describe("Request model for listing apps. No parameters.");
5
5
  const PromptmateIoListApps_AppSchema = z.object({
6
- id: z.string().describe("Unique identifier of the app"),
7
- name: z.string().describe("Human-readable name of the app"),
6
+ id: z.string().describe("Unique identifier of the app").nullable(),
7
+ name: z.string().describe("Human-readable name of the app").nullable(),
8
8
  tags: z.array(z.string()).describe("List of tags assigned to this app").nullable().optional(),
9
- createdAt: z.string().describe("Timestamp when the app was created (ISO 8601 format)"),
10
- updatedAt: z.string().describe("Timestamp when the app was last updated (ISO 8601 format)"),
11
- description: z.string().describe("Detailed description of the app's purpose")
9
+ createdAt: z.string().describe("Timestamp when the app was created (ISO 8601 format)").nullable(),
10
+ updatedAt: z.string().describe("Timestamp when the app was last updated (ISO 8601 format)").nullable(),
11
+ description: z.string().describe("Detailed description of the app's purpose").nullable()
12
12
  });
13
13
  const promptmateIoListApps = action("PROMPTMATE_IO_LIST_APPS", {
14
14
  slug: "promptmate_io-list-apps",
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing apps. No parameters.\");\nconst PromptmateIoListApps_AppSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the app\"),\n name: z.string().describe(\"Human-readable name of the app\"),\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)\"),\n updatedAt: z.string().describe(\"Timestamp when the app was last updated (ISO 8601 format)\"),\n description: z.string().describe(\"Detailed description of the app's purpose\"),\n});\nexport const PromptmateIoListAppsOutput: z.ZodTypeAny = z.object({\n apps: z.array(PromptmateIoListApps_AppSchema).describe(\"List of available apps\"),\n}).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,4BAA0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC7H,MAAM,iCAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC9E,CAAC;AAKD,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,MAAM,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wBAAwB,EACjF,CAAC,CAAC,CAAC,SAAS,kCAOF;AACV,CAAC"}
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});\nexport const PromptmateIoListAppsOutput = z.object({\n apps: z.array(PromptmateIoListApps_AppSchema).describe(\"List of available apps\"),\n}).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;AAKD,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,SAAS,kCAOF;AACV,CAAC"}
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing countries. No parameters required.\");\nexport const PromptmateIoListCountriesOutput: z.ZodTypeAny = z.object({\n countries: z.array(z.string()).describe(\"List of available country names\"),\n}).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,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAChJ,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,EAC3E,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,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 { 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}).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,SAAS,uCAAuC;AAEnD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-countries.d.ts
4
- declare const PromptmateIoListCountriesInput: z.ZodTypeAny;
5
- declare const PromptmateIoListCountriesOutput: z.ZodTypeAny;
6
- declare const promptmateIoListCountries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoListCountriesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PromptmateIoListCountriesOutput: z.ZodObject<{
6
+ countries: z.ZodArray<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const promptmateIoListCountries: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
9
  //#endregion
8
10
  export { promptmateIoListCountries };
9
11
  //# 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,EAAgC,CAAA,CAAE,UAAkG;AAAA,cACpI,+BAAA,EAAiC,CAAA,CAAE,UAEI;AAAA,cAEvC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,4CAAA,UAAA"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-countries.d.ts
4
- declare const PromptmateIoListCountriesInput: z.ZodTypeAny;
5
- declare const PromptmateIoListCountriesOutput: z.ZodTypeAny;
6
- declare const promptmateIoListCountries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoListCountriesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PromptmateIoListCountriesOutput: z.ZodObject<{
6
+ countries: z.ZodArray<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const promptmateIoListCountries: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
9
  //#endregion
8
10
  export { promptmateIoListCountries };
9
11
  //# 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,EAAgC,CAAA,CAAE,UAAkG;AAAA,cACpI,+BAAA,EAAiC,CAAA,CAAE,UAEI;AAAA,cAEvC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,4CAAA,UAAA"}
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing countries. No parameters required.\");\nexport const PromptmateIoListCountriesOutput: z.ZodTypeAny = z.object({\n countries: z.array(z.string()).describe(\"List of available country names\"),\n}).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,OAT0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DASzE;CACP,QAT2D,EAAE,OAAO,EACpE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,EAC3E,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
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}).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,SAAS,uCAOF;AACV,CAAC"}
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing available languages. No parameters required.\");\nexport const PromptmateIoListLanguagesOutput: z.ZodTypeAny = z.object({\n languages: z.array(z.string()).describe(\"List of available language names for app configuration\"),\n}).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,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAC1J,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAClG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,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 { 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}).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,SAAS,iDAAiD;AAE7D,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-languages.d.ts
4
- declare const PromptmateIoListLanguagesInput: z.ZodTypeAny;
5
- declare const PromptmateIoListLanguagesOutput: z.ZodTypeAny;
6
- declare const promptmateIoListLanguages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoListLanguagesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PromptmateIoListLanguagesOutput: z.ZodObject<{
6
+ languages: z.ZodArray<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const promptmateIoListLanguages: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
9
  //#endregion
8
10
  export { promptmateIoListLanguages };
9
11
  //# 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,EAAgC,CAAA,CAAE,UAA4G;AAAA,cAC9I,+BAAA,EAAiC,CAAA,CAAE,UAEc;AAAA,cAEjD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,4CAAA,UAAA"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-languages.d.ts
4
- declare const PromptmateIoListLanguagesInput: z.ZodTypeAny;
5
- declare const PromptmateIoListLanguagesOutput: z.ZodTypeAny;
6
- declare const promptmateIoListLanguages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoListLanguagesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PromptmateIoListLanguagesOutput: z.ZodObject<{
6
+ languages: z.ZodArray<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const promptmateIoListLanguages: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
9
  //#endregion
8
10
  export { promptmateIoListLanguages };
9
11
  //# 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,EAAgC,CAAA,CAAE,UAA4G;AAAA,cAC9I,+BAAA,EAAiC,CAAA,CAAE,UAEc;AAAA,cAEjD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,4CAAA,UAAA"}
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing available languages. No parameters required.\");\nexport const PromptmateIoListLanguagesOutput: z.ZodTypeAny = z.object({\n languages: z.array(z.string()).describe(\"List of available language names for app configuration\"),\n}).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,OAT0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEASzE;CACP,QAT2D,EAAE,OAAO,EACpE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAClG,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
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}).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,SAAS,iDAOF;AACV,CAAC"}
@@ -3,8 +3,8 @@ let zod = require("zod");
3
3
  //#region src/actions/list-projects.ts
4
4
  const PromptmateIoListProjectsInput = zod.z.object({}).describe("Request model for listing projects. No parameters required.");
5
5
  const PromptmateIoListProjects_ProjectSchema = zod.z.object({
6
- projectId: zod.z.string().describe("Unique identifier for the project"),
7
- projectName: zod.z.string().describe("Name of the project")
6
+ projectId: zod.z.string().describe("Unique identifier for the project").nullable(),
7
+ projectName: zod.z.string().describe("Name of the project").nullable()
8
8
  }).describe("Represents a single project.");
9
9
  const PromptmateIoListProjectsOutput = zod.z.object({ projects: zod.z.array(PromptmateIoListProjects_ProjectSchema).describe("List of available projects") }).describe("Response model for listing projects.");
10
10
  const promptmateIoListProjects = require_action.action("PROMPTMATE_IO_LIST_PROJECTS", {
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing projects. No parameters required.\");\nconst PromptmateIoListProjects_ProjectSchema: z.ZodTypeAny = z.object({\n projectId: z.string().describe(\"Unique identifier for the project\"),\n projectName: z.string().describe(\"Name of the project\"),\n}).describe(\"Represents a single project.\");\nexport const PromptmateIoListProjectsOutput: z.ZodTypeAny = z.object({\n projects: z.array(PromptmateIoListProjects_ProjectSchema).describe(\"List of available projects\"),\n}).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,gCAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC9I,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACxD,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,4BAA4B,EACjG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,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 { 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}).describe(\"Represents a single project.\");\nexport const PromptmateIoListProjectsOutput = z.object({\n projects: z.array(PromptmateIoListProjects_ProjectSchema).describe(\"List of available projects\"),\n}).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,SAAS,8BAA8B;AAC1C,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,4BAA4B,EACjG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,14 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-projects.d.ts
4
- declare const PromptmateIoListProjectsInput: z.ZodTypeAny;
5
- declare const PromptmateIoListProjectsOutput: z.ZodTypeAny;
6
- declare const promptmateIoListProjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoListProjectsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PromptmateIoListProjectsOutput: z.ZodObject<{
6
+ projects: z.ZodArray<z.ZodObject<{
7
+ projectId: z.ZodNullable<z.ZodString>;
8
+ projectName: z.ZodNullable<z.ZodString>;
9
+ }, z.core.$strip>>;
10
+ }, z.core.$strip>;
11
+ declare const promptmateIoListProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
12
  //#endregion
8
13
  export { promptmateIoListProjects };
9
14
  //# 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,EAA+B,CAAA,CAAE,UAAiG;AAAA,cAKlI,8BAAA,EAAgC,CAAA,CAAE,UAEI;AAAA,cAEtC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,4CAAA,UAAA"}
@@ -1,9 +1,14 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-projects.d.ts
4
- declare const PromptmateIoListProjectsInput: z.ZodTypeAny;
5
- declare const PromptmateIoListProjectsOutput: z.ZodTypeAny;
6
- declare const promptmateIoListProjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoListProjectsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PromptmateIoListProjectsOutput: z.ZodObject<{
6
+ projects: z.ZodArray<z.ZodObject<{
7
+ projectId: z.ZodNullable<z.ZodString>;
8
+ projectName: z.ZodNullable<z.ZodString>;
9
+ }, z.core.$strip>>;
10
+ }, z.core.$strip>;
11
+ declare const promptmateIoListProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
12
  //#endregion
8
13
  export { promptmateIoListProjects };
9
14
  //# 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,EAA+B,CAAA,CAAE,UAAiG;AAAA,cAKlI,8BAAA,EAAgC,CAAA,CAAE,UAEI;AAAA,cAEtC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,4CAAA,UAAA"}
@@ -3,8 +3,8 @@ import { z } from "zod";
3
3
  //#region src/actions/list-projects.ts
4
4
  const PromptmateIoListProjectsInput = z.object({}).describe("Request model for listing projects. No parameters required.");
5
5
  const PromptmateIoListProjects_ProjectSchema = z.object({
6
- projectId: z.string().describe("Unique identifier for the project"),
7
- projectName: z.string().describe("Name of the project")
6
+ projectId: z.string().describe("Unique identifier for the project").nullable(),
7
+ projectName: z.string().describe("Name of the project").nullable()
8
8
  }).describe("Represents a single project.");
9
9
  const promptmateIoListProjects = action("PROMPTMATE_IO_LIST_PROJECTS", {
10
10
  slug: "promptmate_io-list-projects",
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing projects. No parameters required.\");\nconst PromptmateIoListProjects_ProjectSchema: z.ZodTypeAny = z.object({\n projectId: z.string().describe(\"Unique identifier for the project\"),\n projectName: z.string().describe(\"Name of the project\"),\n}).describe(\"Represents a single project.\");\nexport const PromptmateIoListProjectsOutput: z.ZodTypeAny = z.object({\n projects: z.array(PromptmateIoListProjects_ProjectSchema).describe(\"List of available projects\"),\n}).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,gCAA8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC9I,MAAM,yCAAuD,EAAE,OAAO;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACxD,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,UAAU,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,4BAA4B,EACjG,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
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}).describe(\"Represents a single project.\");\nexport const PromptmateIoListProjectsOutput = z.object({\n projects: z.array(PromptmateIoListProjects_ProjectSchema).describe(\"List of available projects\"),\n}).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,SAAS,8BAA8B;AAK1C,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,SAAS,sCAOF;AACV,CAAC"}
@@ -13,9 +13,9 @@ const PromptmateIoListTemplates_DataFieldSchema = zod.z.object({
13
13
  defaultValue: zod.z.string().nullable().optional()
14
14
  }).passthrough().describe("Represents a data field in a template.");
15
15
  const PromptmateIoListTemplates_TemplateSchema = zod.z.object({
16
- id: zod.z.string().describe("Unique identifier for the template"),
16
+ id: zod.z.string().describe("Unique identifier for the template").nullable(),
17
17
  dataFields: zod.z.union([zod.z.array(PromptmateIoListTemplates_DataFieldSchema), zod.z.array(zod.z.string())]).nullable().optional(),
18
- templateName: zod.z.string().describe("Name of the template"),
18
+ templateName: zod.z.string().describe("Name of the template").nullable(),
19
19
  templateType: zod.z.string().describe("Type of the template").nullable().optional(),
20
20
  templateCategory: zod.z.string().describe("Category of the template").nullable().optional(),
21
21
  templateVideo_url: zod.z.string().describe("URL to a video about the template").nullable().optional(),
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing templates. No parameters required.\");\nconst PromptmateIoListTemplates_DataFieldSchema: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the template\"),\n dataFields: z.union([z.array(PromptmateIoListTemplates_DataFieldSchema), z.array(z.string())]).nullable().optional(),\n templateName: z.string().describe(\"Name of the template\"),\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.ZodTypeAny = z.object({\n templates: z.array(PromptmateIoListTemplates_TemplateSchema).describe(\"List of available templates\"),\n}).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,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAChJ,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,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,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,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;CACxD,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,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,WAAWA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6BAA6B,EACrG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,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 { 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}).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,SAAS,uCAAuC;AAEnD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-templates.d.ts
4
- declare const PromptmateIoListTemplatesInput: z.ZodTypeAny;
5
- declare const PromptmateIoListTemplatesOutput: z.ZodTypeAny;
6
- declare const promptmateIoListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoListTemplatesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PromptmateIoListTemplatesOutput: z.ZodObject<{
6
+ templates: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ dataFields: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
+ fileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ localFile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ fieldOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>>, z.ZodArray<z.ZodString>]>>>;
18
+ templateName: z.ZodNullable<z.ZodString>;
19
+ templateType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ templateCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ templateVideo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ templateDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$loose>>;
24
+ }, z.core.$strip>;
25
+ declare const promptmateIoListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { promptmateIoListTemplates };
9
28
  //# 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,EAAgC,CAAA,CAAE,UAAkG;AAAA,cAoBpI,+BAAA,EAAiC,CAAA,CAAE,UAEI;AAAA,cAEvC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,4CAAA,UAAA"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-templates.d.ts
4
- declare const PromptmateIoListTemplatesInput: z.ZodTypeAny;
5
- declare const PromptmateIoListTemplatesOutput: z.ZodTypeAny;
6
- declare const promptmateIoListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoListTemplatesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PromptmateIoListTemplatesOutput: z.ZodObject<{
6
+ templates: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ dataFields: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
+ fileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ localFile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ fieldOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>>, z.ZodArray<z.ZodString>]>>>;
18
+ templateName: z.ZodNullable<z.ZodString>;
19
+ templateType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ templateCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ templateVideo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ templateDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$loose>>;
24
+ }, z.core.$strip>;
25
+ declare const promptmateIoListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { promptmateIoListTemplates };
9
28
  //# 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,EAAgC,CAAA,CAAE,UAAkG;AAAA,cAoBpI,+BAAA,EAAiC,CAAA,CAAE,UAEI;AAAA,cAEvC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,4CAAA,UAAA"}
@@ -13,9 +13,9 @@ const PromptmateIoListTemplates_DataFieldSchema = z.object({
13
13
  defaultValue: z.string().nullable().optional()
14
14
  }).passthrough().describe("Represents a data field in a template.");
15
15
  const PromptmateIoListTemplates_TemplateSchema = z.object({
16
- id: z.string().describe("Unique identifier for the template"),
16
+ id: z.string().describe("Unique identifier for the template").nullable(),
17
17
  dataFields: z.union([z.array(PromptmateIoListTemplates_DataFieldSchema), z.array(z.string())]).nullable().optional(),
18
- templateName: z.string().describe("Name of the template"),
18
+ templateName: z.string().describe("Name of the template").nullable(),
19
19
  templateType: z.string().describe("Type of the template").nullable().optional(),
20
20
  templateCategory: z.string().describe("Category of the template").nullable().optional(),
21
21
  templateVideo_url: z.string().describe("URL to a video about the template").nullable().optional(),
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing templates. No parameters required.\");\nconst PromptmateIoListTemplates_DataFieldSchema: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the template\"),\n dataFields: z.union([z.array(PromptmateIoListTemplates_DataFieldSchema), z.array(z.string())]).nullable().optional(),\n templateName: z.string().describe(\"Name of the template\"),\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.ZodTypeAny = z.object({\n templates: z.array(PromptmateIoListTemplates_TemplateSchema).describe(\"List of available templates\"),\n}).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,iCAA+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAChJ,MAAM,4CAA0D,EAAE,OAAO;CACvE,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,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,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;CACxD,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,QAT2D,EAAE,OAAO,EACpE,WAAW,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6BAA6B,EACrG,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
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}).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,SAAS,uCAOF;AACV,CAAC"}
@@ -3,15 +3,15 @@ let zod = require("zod");
3
3
  //#region src/actions/list-webhooks.ts
4
4
  const PromptmateIoListWebhooksInput = zod.z.object({}).describe("Request model for listing webhooks. No parameters required.");
5
5
  const PromptmateIoListWebhooks_WebhookSchema = zod.z.object({
6
- webhookId: zod.z.string().describe("Unique identifier of the webhook"),
7
- endpointUrl: zod.z.string().describe("Endpoint URL that receives webhook events"),
6
+ webhookId: zod.z.string().describe("Unique identifier of the webhook").nullable(),
7
+ endpointUrl: zod.z.string().describe("Endpoint URL that receives webhook events").nullable(),
8
8
  webhookName: zod.z.string().describe("Optional friendly name for the webhook").nullable().optional(),
9
9
  webhookType: zod.z.string().describe("Type of events subscribed by the webhook ('job' or 'row')").nullable().optional(),
10
10
  restrictedAppIds: zod.z.array(zod.z.string()).describe("List of app IDs that can trigger this webhook").nullable().optional(),
11
11
  webhookReference: zod.z.string().describe("Client-defined identifier for correlation or de-duplication").nullable().optional()
12
12
  }).describe("Represents a single webhook configuration.");
13
13
  const PromptmateIoListWebhooksOutput = zod.z.object({
14
- total: zod.z.number().int().describe("Total number of webhooks returned"),
14
+ total: zod.z.number().int().describe("Total number of webhooks returned").nullable(),
15
15
  webhooks: zod.z.array(PromptmateIoListWebhooks_WebhookSchema).describe("Array of all registered webhooks.")
16
16
  }).describe("Response model for listing webhooks.");
17
17
  const promptmateIoListWebhooks = require_action.action("PROMPTMATE_IO_LIST_WEBHOOKS", {
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing webhooks. No parameters required.\");\nconst PromptmateIoListWebhooks_WebhookSchema: z.ZodTypeAny = z.object({\n webhookId: z.string().describe(\"Unique identifier of the webhook\"),\n endpointUrl: z.string().describe(\"Endpoint URL that receives webhook events\"),\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}).describe(\"Represents a single webhook configuration.\");\nexport const PromptmateIoListWebhooksOutput: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of webhooks returned\"),\n webhooks: z.array(PromptmateIoListWebhooks_WebhookSchema).describe(\"Array of all registered webhooks.\"),\n}).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,gCAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC9I,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC5E,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,SAAS,4CAA4C;AACxD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACpE,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,mCAAmC;AACxG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,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 { 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}).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}).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,SAAS,4CAA4C;AACxD,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,SAAS,sCAAsC;AAElD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-webhooks.d.ts
4
- declare const PromptmateIoListWebhooksInput: z.ZodTypeAny;
5
- declare const PromptmateIoListWebhooksOutput: z.ZodTypeAny;
6
- declare const promptmateIoListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoListWebhooksInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PromptmateIoListWebhooksOutput: z.ZodObject<{
6
+ total: z.ZodNullable<z.ZodNumber>;
7
+ webhooks: z.ZodArray<z.ZodObject<{
8
+ webhookId: z.ZodNullable<z.ZodString>;
9
+ endpointUrl: z.ZodNullable<z.ZodString>;
10
+ webhookName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ webhookType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ restrictedAppIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
13
+ webhookReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>;
16
+ declare const promptmateIoListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { promptmateIoListWebhooks };
9
19
  //# 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,EAA+B,CAAA,CAAE,UAAiG;AAAA,cASlI,8BAAA,EAAgC,CAAA,CAAE,UAGI;AAAA,cAEtC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,4CAAA,UAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-webhooks.d.ts
4
- declare const PromptmateIoListWebhooksInput: z.ZodTypeAny;
5
- declare const PromptmateIoListWebhooksOutput: z.ZodTypeAny;
6
- declare const promptmateIoListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PromptmateIoListWebhooksInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PromptmateIoListWebhooksOutput: z.ZodObject<{
6
+ total: z.ZodNullable<z.ZodNumber>;
7
+ webhooks: z.ZodArray<z.ZodObject<{
8
+ webhookId: z.ZodNullable<z.ZodString>;
9
+ endpointUrl: z.ZodNullable<z.ZodString>;
10
+ webhookName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ webhookType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ restrictedAppIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
13
+ webhookReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>;
16
+ declare const promptmateIoListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { promptmateIoListWebhooks };
9
19
  //# 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,EAA+B,CAAA,CAAE,UAAiG;AAAA,cASlI,8BAAA,EAAgC,CAAA,CAAE,UAGI;AAAA,cAEtC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,4CAAA,UAAA"}
@@ -3,8 +3,8 @@ import { z } from "zod";
3
3
  //#region src/actions/list-webhooks.ts
4
4
  const PromptmateIoListWebhooksInput = z.object({}).describe("Request model for listing webhooks. No parameters required.");
5
5
  const PromptmateIoListWebhooks_WebhookSchema = z.object({
6
- webhookId: z.string().describe("Unique identifier of the webhook"),
7
- endpointUrl: z.string().describe("Endpoint URL that receives webhook events"),
6
+ webhookId: z.string().describe("Unique identifier of the webhook").nullable(),
7
+ endpointUrl: z.string().describe("Endpoint URL that receives webhook events").nullable(),
8
8
  webhookName: z.string().describe("Optional friendly name for the webhook").nullable().optional(),
9
9
  webhookType: z.string().describe("Type of events subscribed by the webhook ('job' or 'row')").nullable().optional(),
10
10
  restrictedAppIds: z.array(z.string()).describe("List of app IDs that can trigger this webhook").nullable().optional(),
@@ -16,7 +16,7 @@ const promptmateIoListWebhooks = action("PROMPTMATE_IO_LIST_WEBHOOKS", {
16
16
  description: "Tool to list all configured webhooks. Use when you need to inspect current webhook subscriptions.",
17
17
  input: PromptmateIoListWebhooksInput,
18
18
  output: z.object({
19
- total: z.number().int().describe("Total number of webhooks returned"),
19
+ total: z.number().int().describe("Total number of webhooks returned").nullable(),
20
20
  webhooks: z.array(PromptmateIoListWebhooks_WebhookSchema).describe("Array of all registered webhooks.")
21
21
  }).describe("Response model for listing webhooks.")
22
22
  });
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing webhooks. No parameters required.\");\nconst PromptmateIoListWebhooks_WebhookSchema: z.ZodTypeAny = z.object({\n webhookId: z.string().describe(\"Unique identifier of the webhook\"),\n endpointUrl: z.string().describe(\"Endpoint URL that receives webhook events\"),\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}).describe(\"Represents a single webhook configuration.\");\nexport const PromptmateIoListWebhooksOutput: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of webhooks returned\"),\n webhooks: z.array(PromptmateIoListWebhooks_WebhookSchema).describe(\"Array of all registered webhooks.\"),\n}).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,gCAA8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC9I,MAAM,yCAAuD,EAAE,OAAO;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC5E,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,SAAS,4CAA4C;AAMxD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;EACpE,UAAU,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,mCAAmC;CACxG,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
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}).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}).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,SAAS,4CAA4C;AAMxD,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,SAAS,sCAOF;AACV,CAAC"}