@keystrokehq/freshservice 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/bulk-update-tickets.cjs +1 -0
  4. package/dist/actions/bulk-update-tickets.cjs.map +1 -1
  5. package/dist/actions/bulk-update-tickets.d.cts +3 -4
  6. package/dist/actions/bulk-update-tickets.d.cts.map +1 -1
  7. package/dist/actions/bulk-update-tickets.d.mts +3 -4
  8. package/dist/actions/bulk-update-tickets.d.mts.map +1 -1
  9. package/dist/actions/bulk-update-tickets.mjs +1 -0
  10. package/dist/actions/bulk-update-tickets.mjs.map +1 -1
  11. package/dist/actions/create-service-request.cjs +1 -0
  12. package/dist/actions/create-service-request.cjs.map +1 -1
  13. package/dist/actions/create-service-request.d.cts +3 -7
  14. package/dist/actions/create-service-request.d.cts.map +1 -1
  15. package/dist/actions/create-service-request.d.mts +3 -7
  16. package/dist/actions/create-service-request.d.mts.map +1 -1
  17. package/dist/actions/create-service-request.mjs +1 -0
  18. package/dist/actions/create-service-request.mjs.map +1 -1
  19. package/dist/actions/create-ticket.cjs +1 -0
  20. package/dist/actions/create-ticket.cjs.map +1 -1
  21. package/dist/actions/create-ticket.d.cts +3 -15
  22. package/dist/actions/create-ticket.d.cts.map +1 -1
  23. package/dist/actions/create-ticket.d.mts +3 -15
  24. package/dist/actions/create-ticket.d.mts.map +1 -1
  25. package/dist/actions/create-ticket.mjs +1 -0
  26. package/dist/actions/create-ticket.mjs.map +1 -1
  27. package/dist/actions/delete-release.cjs +1 -0
  28. package/dist/actions/delete-release.cjs.map +1 -1
  29. package/dist/actions/delete-release.d.cts +3 -3
  30. package/dist/actions/delete-release.d.cts.map +1 -1
  31. package/dist/actions/delete-release.d.mts +3 -3
  32. package/dist/actions/delete-release.d.mts.map +1 -1
  33. package/dist/actions/delete-release.mjs +1 -0
  34. package/dist/actions/delete-release.mjs.map +1 -1
  35. package/dist/actions/delete-solution-article.cjs +1 -0
  36. package/dist/actions/delete-solution-article.cjs.map +1 -1
  37. package/dist/actions/delete-solution-article.d.cts +3 -3
  38. package/dist/actions/delete-solution-article.d.cts.map +1 -1
  39. package/dist/actions/delete-solution-article.d.mts +3 -3
  40. package/dist/actions/delete-solution-article.d.mts.map +1 -1
  41. package/dist/actions/delete-solution-article.mjs +1 -0
  42. package/dist/actions/delete-solution-article.mjs.map +1 -1
  43. package/dist/actions/delete-solution-category.cjs +1 -0
  44. package/dist/actions/delete-solution-category.cjs.map +1 -1
  45. package/dist/actions/delete-solution-category.d.cts +3 -3
  46. package/dist/actions/delete-solution-category.d.cts.map +1 -1
  47. package/dist/actions/delete-solution-category.d.mts +3 -3
  48. package/dist/actions/delete-solution-category.d.mts.map +1 -1
  49. package/dist/actions/delete-solution-category.mjs +1 -0
  50. package/dist/actions/delete-solution-category.mjs.map +1 -1
  51. package/dist/actions/get-problem-form-fields-by-workspace.cjs +1 -0
  52. package/dist/actions/get-problem-form-fields-by-workspace.cjs.map +1 -1
  53. package/dist/actions/get-problem-form-fields-by-workspace.d.cts +3 -3
  54. package/dist/actions/get-problem-form-fields-by-workspace.d.cts.map +1 -1
  55. package/dist/actions/get-problem-form-fields-by-workspace.d.mts +3 -3
  56. package/dist/actions/get-problem-form-fields-by-workspace.d.mts.map +1 -1
  57. package/dist/actions/get-problem-form-fields-by-workspace.mjs +1 -0
  58. package/dist/actions/get-problem-form-fields-by-workspace.mjs.map +1 -1
  59. package/dist/actions/get-release-form-fields.cjs +1 -0
  60. package/dist/actions/get-release-form-fields.cjs.map +1 -1
  61. package/dist/actions/get-release-form-fields.d.cts +3 -3
  62. package/dist/actions/get-release-form-fields.d.cts.map +1 -1
  63. package/dist/actions/get-release-form-fields.d.mts +3 -3
  64. package/dist/actions/get-release-form-fields.d.mts.map +1 -1
  65. package/dist/actions/get-release-form-fields.mjs +1 -0
  66. package/dist/actions/get-release-form-fields.mjs.map +1 -1
  67. package/dist/actions/get-ticket.cjs +1 -0
  68. package/dist/actions/get-ticket.cjs.map +1 -1
  69. package/dist/actions/get-ticket.d.cts +3 -4
  70. package/dist/actions/get-ticket.d.cts.map +1 -1
  71. package/dist/actions/get-ticket.d.mts +3 -4
  72. package/dist/actions/get-ticket.d.mts.map +1 -1
  73. package/dist/actions/get-ticket.mjs +1 -0
  74. package/dist/actions/get-ticket.mjs.map +1 -1
  75. package/dist/actions/list-locations.cjs +1 -0
  76. package/dist/actions/list-locations.cjs.map +1 -1
  77. package/dist/actions/list-locations.d.cts +3 -4
  78. package/dist/actions/list-locations.d.cts.map +1 -1
  79. package/dist/actions/list-locations.d.mts +3 -4
  80. package/dist/actions/list-locations.d.mts.map +1 -1
  81. package/dist/actions/list-locations.mjs +1 -0
  82. package/dist/actions/list-locations.mjs.map +1 -1
  83. package/dist/actions/list-service-catalog-items.cjs +1 -0
  84. package/dist/actions/list-service-catalog-items.cjs.map +1 -1
  85. package/dist/actions/list-service-catalog-items.d.cts +3 -4
  86. package/dist/actions/list-service-catalog-items.d.cts.map +1 -1
  87. package/dist/actions/list-service-catalog-items.d.mts +3 -4
  88. package/dist/actions/list-service-catalog-items.d.mts.map +1 -1
  89. package/dist/actions/list-service-catalog-items.mjs +1 -0
  90. package/dist/actions/list-service-catalog-items.mjs.map +1 -1
  91. package/dist/actions/list-tickets.cjs +1 -0
  92. package/dist/actions/list-tickets.cjs.map +1 -1
  93. package/dist/actions/list-tickets.d.cts +5 -11
  94. package/dist/actions/list-tickets.d.cts.map +1 -1
  95. package/dist/actions/list-tickets.d.mts +5 -11
  96. package/dist/actions/list-tickets.d.mts.map +1 -1
  97. package/dist/actions/list-tickets.mjs +1 -0
  98. package/dist/actions/list-tickets.mjs.map +1 -1
  99. package/dist/app.cjs +9 -2
  100. package/dist/app.cjs.map +1 -1
  101. package/dist/app.d.cts +8 -1
  102. package/dist/app.d.cts.map +1 -1
  103. package/dist/app.d.mts +8 -1
  104. package/dist/app.d.mts.map +1 -1
  105. package/dist/app.mjs +6 -2
  106. package/dist/app.mjs.map +1 -1
  107. package/dist/index.d.cts +1 -1
  108. package/dist/index.d.mts +1 -1
  109. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"delete-solution-article.cjs","names":["z","action"],"sources":["../../src/actions/delete-solution-article.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceDeleteSolutionArticleInput = z.object({\n article_id: z.number().int().describe(\"ID of the solution article to delete\"),\n}).describe(\"Request model for deleting a solution article in Freshservice.\");\nexport const FreshserviceDeleteSolutionArticleOutput = z.object({\n message: z.string().describe(\"Human-readable message describing the result of the delete operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the delete operation completed successfully\").nullable(),\n}).passthrough().describe(\"Response model for solution article deletion.\");\n\nexport const freshserviceDeleteSolutionArticle = action(\"FRESHSERVICE_DELETE_SOLUTION_ARTICLE\", {\n slug: \"freshservice-delete-solution-article\",\n name: \"Delete Solution Article\",\n description: \"Tool to delete a solution article from the knowledge base by its ID. This action is irreversible — the article cannot be recovered once deleted. Use this action when you need to permanently remove a solution article from Freshservice.\",\n input: FreshserviceDeleteSolutionArticleInput,\n output: FreshserviceDeleteSolutionArticleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,EAC9E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,oCAAoCC,eAAAA,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-solution-article.cjs","names":["z","action"],"sources":["../../src/actions/delete-solution-article.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshservice } from \"../app\";\n\nexport const FreshserviceDeleteSolutionArticleInput = z.object({\n article_id: z.number().int().describe(\"ID of the solution article to delete\"),\n}).describe(\"Request model for deleting a solution article in Freshservice.\");\nexport const FreshserviceDeleteSolutionArticleOutput = z.object({\n message: z.string().describe(\"Human-readable message describing the result of the delete operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the delete operation completed successfully\").nullable(),\n}).passthrough().describe(\"Response model for solution article deletion.\");\n\nexport const freshserviceDeleteSolutionArticle: AppAction<\n typeof FreshserviceDeleteSolutionArticleInput,\n typeof FreshserviceDeleteSolutionArticleOutput,\n typeof freshservice.credential\n> = action(\"FRESHSERVICE_DELETE_SOLUTION_ARTICLE\", {\n slug: \"freshservice-delete-solution-article\",\n name: \"Delete Solution Article\",\n description: \"Tool to delete a solution article from the knowledge base by its ID. This action is irreversible — the article cannot be recovered once deleted. Use this action when you need to permanently remove a solution article from Freshservice.\",\n input: FreshserviceDeleteSolutionArticleInput,\n output: FreshserviceDeleteSolutionArticleOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,EAC9E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,oCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { freshservice } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-solution-article.d.ts
@@ -8,9 +10,7 @@ declare const FreshserviceDeleteSolutionArticleOutput: z.ZodObject<{
8
10
  message: z.ZodNullable<z.ZodString>;
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const freshserviceDeleteSolutionArticle: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- article_id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const freshserviceDeleteSolutionArticle: AppAction<typeof FreshserviceDeleteSolutionArticleInput, typeof FreshserviceDeleteSolutionArticleOutput, typeof freshservice.credential>;
14
14
  //#endregion
15
15
  export { freshserviceDeleteSolutionArticle };
16
16
  //# sourceMappingURL=delete-solution-article.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-solution-article.d.cts","names":[],"sources":["../../src/actions/delete-solution-article.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;cAKvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"delete-solution-article.d.cts","names":[],"sources":["../../src/actions/delete-solution-article.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { freshservice } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-solution-article.d.ts
@@ -8,9 +10,7 @@ declare const FreshserviceDeleteSolutionArticleOutput: z.ZodObject<{
8
10
  message: z.ZodNullable<z.ZodString>;
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const freshserviceDeleteSolutionArticle: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- article_id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const freshserviceDeleteSolutionArticle: AppAction<typeof FreshserviceDeleteSolutionArticleInput, typeof FreshserviceDeleteSolutionArticleOutput, typeof freshservice.credential>;
14
14
  //#endregion
15
15
  export { freshserviceDeleteSolutionArticle };
16
16
  //# sourceMappingURL=delete-solution-article.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-solution-article.d.mts","names":[],"sources":["../../src/actions/delete-solution-article.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;cAKvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"delete-solution-article.d.mts","names":[],"sources":["../../src/actions/delete-solution-article.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,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 freshserviceDeleteSolutionArticle = action("FRESHSERVICE_DELETE_SOLUTION_ARTICLE", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-solution-article.mjs","names":[],"sources":["../../src/actions/delete-solution-article.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceDeleteSolutionArticleInput = z.object({\n article_id: z.number().int().describe(\"ID of the solution article to delete\"),\n}).describe(\"Request model for deleting a solution article in Freshservice.\");\nexport const FreshserviceDeleteSolutionArticleOutput = z.object({\n message: z.string().describe(\"Human-readable message describing the result of the delete operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the delete operation completed successfully\").nullable(),\n}).passthrough().describe(\"Response model for solution article deletion.\");\n\nexport const freshserviceDeleteSolutionArticle = action(\"FRESHSERVICE_DELETE_SOLUTION_ARTICLE\", {\n slug: \"freshservice-delete-solution-article\",\n name: \"Delete Solution Article\",\n description: \"Tool to delete a solution article from the knowledge base by its ID. This action is irreversible — the article cannot be recovered once deleted. Use this action when you need to permanently remove a solution article from Freshservice.\",\n input: FreshserviceDeleteSolutionArticleInput,\n output: FreshserviceDeleteSolutionArticleOutput,\n});\n"],"mappings":";;AAYA,MAAa,oCAAoC,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoD,EAAE,OAAO,EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,EAC9E,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAVqD,EAAE,OAAO;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-solution-article.mjs","names":[],"sources":["../../src/actions/delete-solution-article.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshservice } from \"../app\";\n\nexport const FreshserviceDeleteSolutionArticleInput = z.object({\n article_id: z.number().int().describe(\"ID of the solution article to delete\"),\n}).describe(\"Request model for deleting a solution article in Freshservice.\");\nexport const FreshserviceDeleteSolutionArticleOutput = z.object({\n message: z.string().describe(\"Human-readable message describing the result of the delete operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the delete operation completed successfully\").nullable(),\n}).passthrough().describe(\"Response model for solution article deletion.\");\n\nexport const freshserviceDeleteSolutionArticle: AppAction<\n typeof FreshserviceDeleteSolutionArticleInput,\n typeof FreshserviceDeleteSolutionArticleOutput,\n typeof freshservice.credential\n> = action(\"FRESHSERVICE_DELETE_SOLUTION_ARTICLE\", {\n slug: \"freshservice-delete-solution-article\",\n name: \"Delete Solution Article\",\n description: \"Tool to delete a solution article from the knowledge base by its ID. This action is irreversible — the article cannot be recovered once deleted. Use this action when you need to permanently remove a solution article from Freshservice.\",\n input: FreshserviceDeleteSolutionArticleInput,\n output: FreshserviceDeleteSolutionArticleOutput,\n});\n"],"mappings":";;;AAcA,MAAa,oCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoD,EAAE,OAAO,EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,EAC9E,CAAC,CAAC,CAAC,SAAS,gEAcH;CACP,QAdqD,EAAE,OAAO;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;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/delete-solution-category.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-solution-category.cjs","names":["z","action"],"sources":["../../src/actions/delete-solution-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceDeleteSolutionCategoryInput = z.object({\n category_id: z.number().int().describe(\"The unique ID of the solution category to delete\"),\n}).describe(\"Request model for deleting a solution category in Freshservice.\");\nexport const FreshserviceDeleteSolutionCategoryOutput = z.object({\n status: z.string().describe(\"Status of the deletion operation\").nullable().optional(),\n message: z.string().describe(\"Message describing the deletion result\").nullable().optional(),\n}).passthrough().describe(\"Response model for solution category deletion.\");\n\nexport const freshserviceDeleteSolutionCategory = action(\"FRESHSERVICE_DELETE_SOLUTION_CATEGORY\", {\n slug: \"freshservice-delete-solution-category\",\n name: \"Delete Solution Category\",\n description: \"Tool to delete a solution category in Freshservice. Use this action when you need to remove a solution category that is no longer needed. This action is irreversible — the category cannot be recovered once deleted.\",\n input: FreshserviceDeleteSolutionCategoryInput,\n output: FreshserviceDeleteSolutionCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC3F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,qCAAqCC,eAAAA,OAAO,yCAAyC;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-solution-category.cjs","names":["z","action"],"sources":["../../src/actions/delete-solution-category.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshservice } from \"../app\";\n\nexport const FreshserviceDeleteSolutionCategoryInput = z.object({\n category_id: z.number().int().describe(\"The unique ID of the solution category to delete\"),\n}).describe(\"Request model for deleting a solution category in Freshservice.\");\nexport const FreshserviceDeleteSolutionCategoryOutput = z.object({\n status: z.string().describe(\"Status of the deletion operation\").nullable().optional(),\n message: z.string().describe(\"Message describing the deletion result\").nullable().optional(),\n}).passthrough().describe(\"Response model for solution category deletion.\");\n\nexport const freshserviceDeleteSolutionCategory: AppAction<\n typeof FreshserviceDeleteSolutionCategoryInput,\n typeof FreshserviceDeleteSolutionCategoryOutput,\n typeof freshservice.credential\n> = action(\"FRESHSERVICE_DELETE_SOLUTION_CATEGORY\", {\n slug: \"freshservice-delete-solution-category\",\n name: \"Delete Solution Category\",\n description: \"Tool to delete a solution category in Freshservice. Use this action when you need to remove a solution category that is no longer needed. This action is irreversible — the category cannot be recovered once deleted.\",\n input: FreshserviceDeleteSolutionCategoryInput,\n output: FreshserviceDeleteSolutionCategoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC3F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,qCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { freshservice } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-solution-category.d.ts
@@ -8,9 +10,7 @@ declare const FreshserviceDeleteSolutionCategoryOutput: z.ZodObject<{
8
10
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  }, z.core.$loose>;
11
- declare const freshserviceDeleteSolutionCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- category_id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const freshserviceDeleteSolutionCategory: AppAction<typeof FreshserviceDeleteSolutionCategoryInput, typeof FreshserviceDeleteSolutionCategoryOutput, typeof freshservice.credential>;
14
14
  //#endregion
15
15
  export { freshserviceDeleteSolutionCategory };
16
16
  //# sourceMappingURL=delete-solution-category.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-solution-category.d.cts","names":[],"sources":["../../src/actions/delete-solution-category.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAKxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"delete-solution-category.d.cts","names":[],"sources":["../../src/actions/delete-solution-category.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAKxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { freshservice } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-solution-category.d.ts
@@ -8,9 +10,7 @@ declare const FreshserviceDeleteSolutionCategoryOutput: z.ZodObject<{
8
10
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  }, z.core.$loose>;
11
- declare const freshserviceDeleteSolutionCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- category_id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const freshserviceDeleteSolutionCategory: AppAction<typeof FreshserviceDeleteSolutionCategoryInput, typeof FreshserviceDeleteSolutionCategoryOutput, typeof freshservice.credential>;
14
14
  //#endregion
15
15
  export { freshserviceDeleteSolutionCategory };
16
16
  //# sourceMappingURL=delete-solution-category.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-solution-category.d.mts","names":[],"sources":["../../src/actions/delete-solution-category.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAKxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"delete-solution-category.d.mts","names":[],"sources":["../../src/actions/delete-solution-category.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAKxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,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 freshserviceDeleteSolutionCategory = action("FRESHSERVICE_DELETE_SOLUTION_CATEGORY", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-solution-category.mjs","names":[],"sources":["../../src/actions/delete-solution-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceDeleteSolutionCategoryInput = z.object({\n category_id: z.number().int().describe(\"The unique ID of the solution category to delete\"),\n}).describe(\"Request model for deleting a solution category in Freshservice.\");\nexport const FreshserviceDeleteSolutionCategoryOutput = z.object({\n status: z.string().describe(\"Status of the deletion operation\").nullable().optional(),\n message: z.string().describe(\"Message describing the deletion result\").nullable().optional(),\n}).passthrough().describe(\"Response model for solution category deletion.\");\n\nexport const freshserviceDeleteSolutionCategory = action(\"FRESHSERVICE_DELETE_SOLUTION_CATEGORY\", {\n slug: \"freshservice-delete-solution-category\",\n name: \"Delete Solution Category\",\n description: \"Tool to delete a solution category in Freshservice. Use this action when you need to remove a solution category that is no longer needed. This action is irreversible — the category cannot be recovered once deleted.\",\n input: FreshserviceDeleteSolutionCategoryInput,\n output: FreshserviceDeleteSolutionCategoryOutput,\n});\n"],"mappings":";;AAYA,MAAa,qCAAqC,OAAO,yCAAyC;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqD,EAAE,OAAO,EAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC3F,CAAC,CAAC,CAAC,SAAS,iEAUH;CACP,QAVsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-solution-category.mjs","names":[],"sources":["../../src/actions/delete-solution-category.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshservice } from \"../app\";\n\nexport const FreshserviceDeleteSolutionCategoryInput = z.object({\n category_id: z.number().int().describe(\"The unique ID of the solution category to delete\"),\n}).describe(\"Request model for deleting a solution category in Freshservice.\");\nexport const FreshserviceDeleteSolutionCategoryOutput = z.object({\n status: z.string().describe(\"Status of the deletion operation\").nullable().optional(),\n message: z.string().describe(\"Message describing the deletion result\").nullable().optional(),\n}).passthrough().describe(\"Response model for solution category deletion.\");\n\nexport const freshserviceDeleteSolutionCategory: AppAction<\n typeof FreshserviceDeleteSolutionCategoryInput,\n typeof FreshserviceDeleteSolutionCategoryOutput,\n typeof freshservice.credential\n> = action(\"FRESHSERVICE_DELETE_SOLUTION_CATEGORY\", {\n slug: \"freshservice-delete-solution-category\",\n name: \"Delete Solution Category\",\n description: \"Tool to delete a solution category in Freshservice. Use this action when you need to remove a solution category that is no longer needed. This action is irreversible — the category cannot be recovered once deleted.\",\n input: FreshserviceDeleteSolutionCategoryInput,\n output: FreshserviceDeleteSolutionCategoryOutput,\n});\n"],"mappings":";;;AAcA,MAAa,qCAIT,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqD,EAAE,OAAO,EAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC3F,CAAC,CAAC,CAAC,SAAS,iEAcH;CACP,QAdsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-problem-form-fields-by-workspace.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-problem-form-fields-by-workspace.cjs","names":["z","action"],"sources":["../../src/actions/get-problem-form-fields-by-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceGetProblemFormFieldsByWorkspaceInput = z.object({\n workspace_id: z.number().int().describe(\"ID of the workspace to list problem form fields for. If omitted, returns global and primary workspace fields.\").optional(),\n}).describe(\"Request model for listing problem form fields by workspace.\");\nconst FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldChoiceSchema = z.object({\n value: z.string().describe(\"Allowed value for the choice field\").nullable(),\n}).passthrough().describe(\"Choice option for a choice-type problem field.\");\nconst FreshserviceGetProblemFormFieldsByWorkspace_NestedFieldSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the nested field\").nullable(),\n name: z.string().describe(\"Internal name of the nested field\").nullable(),\n label: z.string().describe(\"Display label of the nested field\").nullable(),\n required: z.boolean().describe(\"Whether the nested field is mandatory\").nullable(),\n field_type: z.string().describe(\"Type of the nested field, e.g., checkbox, text, etc.\").nullable(),\n}).passthrough().describe(\"Nested field within a problem field.\");\nconst FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the field\").nullable(),\n name: z.string().describe(\"Internal name of the field\").nullable(),\n label: z.string().describe(\"Display label of the field\").nullable(),\n choices: z.array(FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldChoiceSchema).describe(\"Allowed values for choice-type fields\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is mandatory\").nullable(),\n created_at: z.string().describe(\"Timestamp when the field was created (ISO 8601)\").nullable(),\n field_type: z.string().describe(\"Type of the field, e.g., checkbox, dropdown, text\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the field was last updated (ISO 8601)\").nullable(),\n description: z.string().describe(\"Description of the field\").nullable().optional(),\n workspace_id: z.number().int().describe(\"Workspace to which the field belongs\").nullable(),\n default_field: z.boolean().describe(\"Whether the field is a default field (true) or custom (false)\").nullable(),\n nested_fields: z.array(FreshserviceGetProblemFormFieldsByWorkspace_NestedFieldSchema).describe(\"Nested fields within this field, if applicable\").nullable().optional(),\n required_for_closure: z.boolean().describe(\"Whether the field is mandatory for problem closure\").nullable(),\n}).passthrough().describe(\"Model representing a Freshservice problem form field.\");\nexport const FreshserviceGetProblemFormFieldsByWorkspaceOutput = z.object({\n problem_fields: z.array(FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema).describe(\"List of problem form field definitions for the workspace\"),\n}).passthrough().describe(\"Response model for listing problem form fields by workspace.\");\n\nexport const freshserviceGetProblemFormFieldsByWorkspace = action(\"FRESHSERVICE_GET_PROBLEM_FORM_FIELDS_BY_WORKSPACE\", {\n slug: \"freshservice-get-problem-form-fields-by-workspace\",\n name: \"Get Problem Form Fields by Workspace\",\n description: \"Tool to list problem form fields. Use when you need to retrieve the form fields available for problems in a specific workspace.\",\n input: FreshserviceGetProblemFormFieldsByWorkspaceInput,\n output: FreshserviceGetProblemFormFieldsByWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mDAAmDA,IAAAA,EAAE,OAAO,EACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uEAAuEA,IAAAA,EAAE,OAAO,EACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAA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AE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC9G,eAAeA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAa,oDAAoDA,IAAAA,EAAE,OAAO,EACxE,gBAAgBA,IAAAA,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,0DAA0D,EAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,8CAA8CC,eAAAA,OAAO,qDAAqD;CACrH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-problem-form-fields-by-workspace.cjs","names":["z","action"],"sources":["../../src/actions/get-problem-form-fields-by-workspace.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshservice } from \"../app\";\n\nexport const FreshserviceGetProblemFormFieldsByWorkspaceInput = z.object({\n workspace_id: z.number().int().describe(\"ID of the workspace to list problem form fields for. If omitted, returns global and primary workspace fields.\").optional(),\n}).describe(\"Request model for listing problem form fields by workspace.\");\nconst FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldChoiceSchema = z.object({\n value: z.string().describe(\"Allowed value for the choice field\").nullable(),\n}).passthrough().describe(\"Choice option for a choice-type problem field.\");\nconst FreshserviceGetProblemFormFieldsByWorkspace_NestedFieldSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the nested field\").nullable(),\n name: z.string().describe(\"Internal name of the nested field\").nullable(),\n label: z.string().describe(\"Display label of the nested field\").nullable(),\n required: z.boolean().describe(\"Whether the nested field is mandatory\").nullable(),\n field_type: z.string().describe(\"Type of the nested field, e.g., checkbox, text, etc.\").nullable(),\n}).passthrough().describe(\"Nested field within a problem field.\");\nconst FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the field\").nullable(),\n name: z.string().describe(\"Internal name of the field\").nullable(),\n label: z.string().describe(\"Display label of the field\").nullable(),\n choices: z.array(FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldChoiceSchema).describe(\"Allowed values for choice-type fields\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is mandatory\").nullable(),\n created_at: z.string().describe(\"Timestamp when the field was created (ISO 8601)\").nullable(),\n field_type: z.string().describe(\"Type of the field, e.g., checkbox, dropdown, text\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the field was last updated (ISO 8601)\").nullable(),\n description: z.string().describe(\"Description of the field\").nullable().optional(),\n workspace_id: z.number().int().describe(\"Workspace to which the field belongs\").nullable(),\n default_field: z.boolean().describe(\"Whether the field is a default field (true) or custom (false)\").nullable(),\n nested_fields: z.array(FreshserviceGetProblemFormFieldsByWorkspace_NestedFieldSchema).describe(\"Nested fields within this field, if applicable\").nullable().optional(),\n required_for_closure: z.boolean().describe(\"Whether the field is mandatory for problem closure\").nullable(),\n}).passthrough().describe(\"Model representing a Freshservice problem form field.\");\nexport const FreshserviceGetProblemFormFieldsByWorkspaceOutput = z.object({\n problem_fields: z.array(FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema).describe(\"List of problem form field definitions for the workspace\"),\n}).passthrough().describe(\"Response model for listing problem form fields by workspace.\");\n\nexport const freshserviceGetProblemFormFieldsByWorkspace: AppAction<\n typeof FreshserviceGetProblemFormFieldsByWorkspaceInput,\n typeof FreshserviceGetProblemFormFieldsByWorkspaceOutput,\n typeof freshservice.credential\n> = action(\"FRESHSERVICE_GET_PROBLEM_FORM_FIELDS_BY_WORKSPACE\", {\n slug: \"freshservice-get-problem-form-fields-by-workspace\",\n name: \"Get Problem Form Fields by Workspace\",\n description: \"Tool to list problem form fields. Use when you need to retrieve the form fields available for problems in a specific workspace.\",\n input: FreshserviceGetProblemFormFieldsByWorkspaceInput,\n output: FreshserviceGetProblemFormFieldsByWorkspaceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mDAAmDA,IAAAA,EAAE,OAAO,EACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uEAAuEA,IAAAA,EAAE,OAAO,EACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SA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AC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,8CAITC,eAAAA,OAAO,qDAAqD;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { freshservice } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-problem-form-fields-by-workspace.d.ts
@@ -29,9 +31,7 @@ declare const FreshserviceGetProblemFormFieldsByWorkspaceOutput: z.ZodObject<{
29
31
  required_for_closure: z.ZodNullable<z.ZodBoolean>;
30
32
  }, z.core.$loose>>;
31
33
  }, z.core.$loose>;
32
- declare const freshserviceGetProblemFormFieldsByWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
33
- workspace_id?: number | undefined;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ declare const freshserviceGetProblemFormFieldsByWorkspace: AppAction<typeof FreshserviceGetProblemFormFieldsByWorkspaceInput, typeof FreshserviceGetProblemFormFieldsByWorkspaceOutput, typeof freshservice.credential>;
35
35
  //#endregion
36
36
  export { freshserviceGetProblemFormFieldsByWorkspace };
37
37
  //# sourceMappingURL=get-problem-form-fields-by-workspace.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-problem-form-fields-by-workspace.d.cts","names":[],"sources":["../../src/actions/get-problem-form-fields-by-workspace.ts"],"mappings":";;;cAIa,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;cA4BhD,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAIjD,2CAAA,gCAA2C,wBAAA"}
1
+ {"version":3,"file":"get-problem-form-fields-by-workspace.d.cts","names":[],"sources":["../../src/actions/get-problem-form-fields-by-workspace.ts"],"mappings":";;;;;cAMa,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;cA4BhD,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAIjD,2CAAA,EAA6C,SAAA,QACjD,gDAAA,SACA,iDAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { freshservice } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-problem-form-fields-by-workspace.d.ts
@@ -29,9 +31,7 @@ declare const FreshserviceGetProblemFormFieldsByWorkspaceOutput: z.ZodObject<{
29
31
  required_for_closure: z.ZodNullable<z.ZodBoolean>;
30
32
  }, z.core.$loose>>;
31
33
  }, z.core.$loose>;
32
- declare const freshserviceGetProblemFormFieldsByWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
33
- workspace_id?: number | undefined;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ declare const freshserviceGetProblemFormFieldsByWorkspace: AppAction<typeof FreshserviceGetProblemFormFieldsByWorkspaceInput, typeof FreshserviceGetProblemFormFieldsByWorkspaceOutput, typeof freshservice.credential>;
35
35
  //#endregion
36
36
  export { freshserviceGetProblemFormFieldsByWorkspace };
37
37
  //# sourceMappingURL=get-problem-form-fields-by-workspace.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-problem-form-fields-by-workspace.d.mts","names":[],"sources":["../../src/actions/get-problem-form-fields-by-workspace.ts"],"mappings":";;;cAIa,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;cA4BhD,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAIjD,2CAAA,gCAA2C,wBAAA"}
1
+ {"version":3,"file":"get-problem-form-fields-by-workspace.d.mts","names":[],"sources":["../../src/actions/get-problem-form-fields-by-workspace.ts"],"mappings":";;;;;cAMa,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;cA4BhD,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAIjD,2CAAA,EAA6C,SAAA,QACjD,gDAAA,SACA,iDAAA,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/get-problem-form-fields-by-workspace.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-problem-form-fields-by-workspace.mjs","names":[],"sources":["../../src/actions/get-problem-form-fields-by-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceGetProblemFormFieldsByWorkspaceInput = z.object({\n workspace_id: z.number().int().describe(\"ID of the workspace to list problem form fields for. If omitted, returns global and primary workspace fields.\").optional(),\n}).describe(\"Request model for listing problem form fields by workspace.\");\nconst FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldChoiceSchema = z.object({\n value: z.string().describe(\"Allowed value for the choice field\").nullable(),\n}).passthrough().describe(\"Choice option for a choice-type problem field.\");\nconst FreshserviceGetProblemFormFieldsByWorkspace_NestedFieldSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the nested field\").nullable(),\n name: z.string().describe(\"Internal name of the nested field\").nullable(),\n label: z.string().describe(\"Display label of the nested field\").nullable(),\n required: z.boolean().describe(\"Whether the nested field is mandatory\").nullable(),\n field_type: z.string().describe(\"Type of the nested field, e.g., checkbox, text, etc.\").nullable(),\n}).passthrough().describe(\"Nested field within a problem field.\");\nconst FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the field\").nullable(),\n name: z.string().describe(\"Internal name of the field\").nullable(),\n label: z.string().describe(\"Display label of the field\").nullable(),\n choices: z.array(FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldChoiceSchema).describe(\"Allowed values for choice-type fields\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is mandatory\").nullable(),\n created_at: z.string().describe(\"Timestamp when the field was created (ISO 8601)\").nullable(),\n field_type: z.string().describe(\"Type of the field, e.g., checkbox, dropdown, text\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the field was last updated (ISO 8601)\").nullable(),\n description: z.string().describe(\"Description of the field\").nullable().optional(),\n workspace_id: z.number().int().describe(\"Workspace to which the field belongs\").nullable(),\n default_field: z.boolean().describe(\"Whether the field is a default field (true) or custom (false)\").nullable(),\n nested_fields: z.array(FreshserviceGetProblemFormFieldsByWorkspace_NestedFieldSchema).describe(\"Nested fields within this field, if applicable\").nullable().optional(),\n required_for_closure: z.boolean().describe(\"Whether the field is mandatory for problem closure\").nullable(),\n}).passthrough().describe(\"Model representing a Freshservice problem form field.\");\nexport const FreshserviceGetProblemFormFieldsByWorkspaceOutput = z.object({\n problem_fields: z.array(FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema).describe(\"List of problem form field definitions for the workspace\"),\n}).passthrough().describe(\"Response model for listing problem form fields by workspace.\");\n\nexport const freshserviceGetProblemFormFieldsByWorkspace = action(\"FRESHSERVICE_GET_PROBLEM_FORM_FIELDS_BY_WORKSPACE\", {\n slug: \"freshservice-get-problem-form-fields-by-workspace\",\n name: \"Get Problem Form Fields by Workspace\",\n description: \"Tool to list problem form fields. Use when you need to retrieve the form fields available for problems in a specific workspace.\",\n input: FreshserviceGetProblemFormFieldsByWorkspaceInput,\n output: FreshserviceGetProblemFormFieldsByWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mDAAmD,EAAE,OAAO,EACvE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uEAAuE,EAAE,OAAO,EACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS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CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC9G,eAAe,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAKjF,MAAa,8CAA8C,OAAO,qDAAqD;CACrH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+D,EAAE,OAAO,EACxE,gBAAgB,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,0DAA0D,EAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-problem-form-fields-by-workspace.mjs","names":[],"sources":["../../src/actions/get-problem-form-fields-by-workspace.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshservice } from \"../app\";\n\nexport const FreshserviceGetProblemFormFieldsByWorkspaceInput = z.object({\n workspace_id: z.number().int().describe(\"ID of the workspace to list problem form fields for. If omitted, returns global and primary workspace fields.\").optional(),\n}).describe(\"Request model for listing problem form fields by workspace.\");\nconst FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldChoiceSchema = z.object({\n value: z.string().describe(\"Allowed value for the choice field\").nullable(),\n}).passthrough().describe(\"Choice option for a choice-type problem field.\");\nconst FreshserviceGetProblemFormFieldsByWorkspace_NestedFieldSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the nested field\").nullable(),\n name: z.string().describe(\"Internal name of the nested field\").nullable(),\n label: z.string().describe(\"Display label of the nested field\").nullable(),\n required: z.boolean().describe(\"Whether the nested field is mandatory\").nullable(),\n field_type: z.string().describe(\"Type of the nested field, e.g., checkbox, text, etc.\").nullable(),\n}).passthrough().describe(\"Nested field within a problem field.\");\nconst FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the field\").nullable(),\n name: z.string().describe(\"Internal name of the field\").nullable(),\n label: z.string().describe(\"Display label of the field\").nullable(),\n choices: z.array(FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldChoiceSchema).describe(\"Allowed values for choice-type fields\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is mandatory\").nullable(),\n created_at: z.string().describe(\"Timestamp when the field was created (ISO 8601)\").nullable(),\n field_type: z.string().describe(\"Type of the field, e.g., checkbox, dropdown, text\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the field was last updated (ISO 8601)\").nullable(),\n description: z.string().describe(\"Description of the field\").nullable().optional(),\n workspace_id: z.number().int().describe(\"Workspace to which the field belongs\").nullable(),\n default_field: z.boolean().describe(\"Whether the field is a default field (true) or custom (false)\").nullable(),\n nested_fields: z.array(FreshserviceGetProblemFormFieldsByWorkspace_NestedFieldSchema).describe(\"Nested fields within this field, if applicable\").nullable().optional(),\n required_for_closure: z.boolean().describe(\"Whether the field is mandatory for problem closure\").nullable(),\n}).passthrough().describe(\"Model representing a Freshservice problem form field.\");\nexport const FreshserviceGetProblemFormFieldsByWorkspaceOutput = z.object({\n problem_fields: z.array(FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema).describe(\"List of problem form field definitions for the workspace\"),\n}).passthrough().describe(\"Response model for listing problem form fields by workspace.\");\n\nexport const freshserviceGetProblemFormFieldsByWorkspace: AppAction<\n typeof FreshserviceGetProblemFormFieldsByWorkspaceInput,\n typeof FreshserviceGetProblemFormFieldsByWorkspaceOutput,\n typeof freshservice.credential\n> = action(\"FRESHSERVICE_GET_PROBLEM_FORM_FIELDS_BY_WORKSPACE\", {\n slug: \"freshservice-get-problem-form-fields-by-workspace\",\n name: \"Get Problem Form Fields by Workspace\",\n description: \"Tool to list problem form fields. Use when you need to retrieve the form fields available for problems in a specific workspace.\",\n input: FreshserviceGetProblemFormFieldsByWorkspaceInput,\n output: FreshserviceGetProblemFormFieldsByWorkspaceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mDAAmD,EAAE,OAAO,EACvE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uEAAuE,EAAE,OAAO,EACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,gEAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,iEAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,SAAS,EAAE,MAAM,oEAAoE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC9G,eAAe,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAKjF,MAAa,8CAIT,OAAO,qDAAqD;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+D,EAAE,OAAO,EACxE,gBAAgB,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,0DAA0D,EAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-release-form-fields.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-release-form-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-release-form-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceGetReleaseFormFieldsInput = z.object({\n workspace_id: z.number().int().describe(\"Filter fields for a specific workspace. By default only global fields and primary workspace fields are returned in Employee Support Mode.\").optional(),\n}).describe(\"Request model for listing release form fields metadata.\");\nconst FreshserviceGetReleaseFormFields_ReleaseFieldSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the field\").nullable(),\n name: z.string().describe(\"API name of the field\").nullable(),\n label: z.string().describe(\"Display label of the field\").nullable(),\n choices: z.array(z.string()).describe(\"List of allowed values (for choice fields)\").nullable().optional(),\n position: z.number().int().describe(\"Display order of the field\").nullable().optional(),\n required: z.boolean().describe(\"True if the field is mandatory\").nullable(),\n created_at: z.string().describe(\"Timestamp when the field was added\").nullable(),\n field_type: z.string().describe(\"Field type (e.g., default_subject, custom types)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the field was last modified\").nullable(),\n description: z.string().describe(\"Description of the field\").nullable().optional(),\n workspace_id: z.number().int().describe(\"ID of the workspace this field belongs to (Employee Support Mode only)\").nullable().optional(),\n default_field: z.boolean().describe(\"True if the field is a default system field\").nullable(),\n nested_fields: z.array(z.record(z.string(), z.unknown())).describe(\"Details of nested fields (if any)\").nullable().optional(),\n required_for_closure: z.boolean().describe(\"True if the field is mandatory while closing the item\").nullable(),\n}).passthrough().describe(\"Metadata for a single release form field.\");\nexport const FreshserviceGetReleaseFormFieldsOutput = z.object({\n release_fields: z.array(FreshserviceGetReleaseFormFields_ReleaseFieldSchema).describe(\"Array of release form field definitions\"),\n}).passthrough().describe(\"Response model for listing release form fields metadata.\");\n\nexport const freshserviceGetReleaseFormFields = action(\"FRESHSERVICE_GET_RELEASE_FORM_FIELDS\", {\n slug: \"freshservice-get-release-form-fields\",\n name: \"List Release Form Fields\",\n description: \"Tool to list release form fields metadata. Use when you need to fetch release field definitions before building or validating release forms.\",\n input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I,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,gBAAgBA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yCAAyC,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-release-form-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-release-form-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshservice } from \"../app\";\n\nexport const FreshserviceGetReleaseFormFieldsInput = z.object({\n workspace_id: z.number().int().describe(\"Filter fields for a specific workspace. By default only global fields and primary workspace fields are returned in Employee Support Mode.\").optional(),\n}).describe(\"Request model for listing release form fields metadata.\");\nconst FreshserviceGetReleaseFormFields_ReleaseFieldSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the field\").nullable(),\n name: z.string().describe(\"API name of the field\").nullable(),\n label: z.string().describe(\"Display label of the field\").nullable(),\n choices: z.array(z.string()).describe(\"List of allowed values (for choice fields)\").nullable().optional(),\n position: z.number().int().describe(\"Display order of the field\").nullable().optional(),\n required: z.boolean().describe(\"True if the field is mandatory\").nullable(),\n created_at: z.string().describe(\"Timestamp when the field was added\").nullable(),\n field_type: z.string().describe(\"Field type (e.g., default_subject, custom types)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the field was last modified\").nullable(),\n description: z.string().describe(\"Description of the field\").nullable().optional(),\n workspace_id: z.number().int().describe(\"ID of the workspace this field belongs to (Employee Support Mode only)\").nullable().optional(),\n default_field: z.boolean().describe(\"True if the field is a default system field\").nullable(),\n nested_fields: z.array(z.record(z.string(), z.unknown())).describe(\"Details of nested fields (if any)\").nullable().optional(),\n required_for_closure: z.boolean().describe(\"True if the field is mandatory while closing the item\").nullable(),\n}).passthrough().describe(\"Metadata for a single release form field.\");\nexport const FreshserviceGetReleaseFormFieldsOutput = z.object({\n release_fields: z.array(FreshserviceGetReleaseFormFields_ReleaseFieldSchema).describe(\"Array of release form field definitions\"),\n}).passthrough().describe(\"Response model for listing release form fields metadata.\");\n\nexport const freshserviceGetReleaseFormFields: AppAction<\n typeof FreshserviceGetReleaseFormFieldsInput,\n typeof FreshserviceGetReleaseFormFieldsOutput,\n typeof freshservice.credential\n> = action(\"FRESHSERVICE_GET_RELEASE_FORM_FIELDS\", {\n slug: \"freshservice-get-release-form-fields\",\n name: \"List Release Form Fields\",\n description: \"Tool to list release form fields metadata. Use when you need to fetch release field definitions before building or validating release forms.\",\n input: FreshserviceGetReleaseFormFieldsInput,\n output: FreshserviceGetReleaseFormFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS,EAChM,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,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;CAC5H,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,gBAAgBA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yCAAyC,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,mCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { freshservice } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-release-form-fields.d.ts
@@ -22,9 +24,7 @@ declare const FreshserviceGetReleaseFormFieldsOutput: z.ZodObject<{
22
24
  required_for_closure: z.ZodNullable<z.ZodBoolean>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const freshserviceGetReleaseFormFields: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- workspace_id?: number | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const freshserviceGetReleaseFormFields: AppAction<typeof FreshserviceGetReleaseFormFieldsInput, typeof FreshserviceGetReleaseFormFieldsOutput, typeof freshservice.credential>;
28
28
  //#endregion
29
29
  export { freshserviceGetReleaseFormFields };
30
30
  //# sourceMappingURL=get-release-form-fields.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-release-form-fields.d.cts","names":[],"sources":["../../src/actions/get-release-form-fields.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAmBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"get-release-form-fields.d.cts","names":[],"sources":["../../src/actions/get-release-form-fields.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAmBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { freshservice } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-release-form-fields.d.ts
@@ -22,9 +24,7 @@ declare const FreshserviceGetReleaseFormFieldsOutput: z.ZodObject<{
22
24
  required_for_closure: z.ZodNullable<z.ZodBoolean>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const freshserviceGetReleaseFormFields: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- workspace_id?: number | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const freshserviceGetReleaseFormFields: AppAction<typeof FreshserviceGetReleaseFormFieldsInput, typeof FreshserviceGetReleaseFormFieldsOutput, typeof freshservice.credential>;
28
28
  //#endregion
29
29
  export { freshserviceGetReleaseFormFields };
30
30
  //# sourceMappingURL=get-release-form-fields.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-release-form-fields.d.mts","names":[],"sources":["../../src/actions/get-release-form-fields.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAmBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"get-release-form-fields.d.mts","names":[],"sources":["../../src/actions/get-release-form-fields.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAmBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,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/get-release-form-fields.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-release-form-fields.mjs","names":[],"sources":["../../src/actions/get-release-form-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceGetReleaseFormFieldsInput = z.object({\n workspace_id: z.number().int().describe(\"Filter fields for a specific workspace. By default only global fields and primary workspace fields are returned in Employee Support Mode.\").optional(),\n}).describe(\"Request model for listing release form fields metadata.\");\nconst FreshserviceGetReleaseFormFields_ReleaseFieldSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the field\").nullable(),\n name: z.string().describe(\"API name of the field\").nullable(),\n label: z.string().describe(\"Display label of the field\").nullable(),\n choices: z.array(z.string()).describe(\"List of allowed values (for choice fields)\").nullable().optional(),\n position: z.number().int().describe(\"Display order of the field\").nullable().optional(),\n required: z.boolean().describe(\"True if the field is mandatory\").nullable(),\n created_at: z.string().describe(\"Timestamp when the field was added\").nullable(),\n field_type: z.string().describe(\"Field type (e.g., default_subject, custom types)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the field was last modified\").nullable(),\n description: z.string().describe(\"Description of the field\").nullable().optional(),\n workspace_id: z.number().int().describe(\"ID of the workspace this field belongs to (Employee Support Mode only)\").nullable().optional(),\n default_field: z.boolean().describe(\"True if the field is a default system field\").nullable(),\n nested_fields: z.array(z.record(z.string(), z.unknown())).describe(\"Details of nested fields (if any)\").nullable().optional(),\n required_for_closure: z.boolean().describe(\"True if the field is mandatory while closing the item\").nullable(),\n}).passthrough().describe(\"Metadata for a single release form field.\");\nexport const FreshserviceGetReleaseFormFieldsOutput = z.object({\n release_fields: z.array(FreshserviceGetReleaseFormFields_ReleaseFieldSchema).describe(\"Array of release form field definitions\"),\n}).passthrough().describe(\"Response model for listing release form fields metadata.\");\n\nexport const freshserviceGetReleaseFormFields = action(\"FRESHSERVICE_GET_RELEASE_FORM_FIELDS\", {\n slug: \"freshservice-get-release-form-fields\",\n name: \"List Release Form Fields\",\n description: \"Tool to list release form fields metadata. Use when you need to fetch release field definitions before building or validating release forms.\",\n input: FreshserviceGetReleaseFormFieldsInput,\n output: FreshserviceGetReleaseFormFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS,EAChM,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,gBAAgB,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yCAAyC,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-release-form-fields.mjs","names":[],"sources":["../../src/actions/get-release-form-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshservice } from \"../app\";\n\nexport const FreshserviceGetReleaseFormFieldsInput = z.object({\n workspace_id: z.number().int().describe(\"Filter fields for a specific workspace. By default only global fields and primary workspace fields are returned in Employee Support Mode.\").optional(),\n}).describe(\"Request model for listing release form fields metadata.\");\nconst FreshserviceGetReleaseFormFields_ReleaseFieldSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the field\").nullable(),\n name: z.string().describe(\"API name of the field\").nullable(),\n label: z.string().describe(\"Display label of the field\").nullable(),\n choices: z.array(z.string()).describe(\"List of allowed values (for choice fields)\").nullable().optional(),\n position: z.number().int().describe(\"Display order of the field\").nullable().optional(),\n required: z.boolean().describe(\"True if the field is mandatory\").nullable(),\n created_at: z.string().describe(\"Timestamp when the field was added\").nullable(),\n field_type: z.string().describe(\"Field type (e.g., default_subject, custom types)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the field was last modified\").nullable(),\n description: z.string().describe(\"Description of the field\").nullable().optional(),\n workspace_id: z.number().int().describe(\"ID of the workspace this field belongs to (Employee Support Mode only)\").nullable().optional(),\n default_field: z.boolean().describe(\"True if the field is a default system field\").nullable(),\n nested_fields: z.array(z.record(z.string(), z.unknown())).describe(\"Details of nested fields (if any)\").nullable().optional(),\n required_for_closure: z.boolean().describe(\"True if the field is mandatory while closing the item\").nullable(),\n}).passthrough().describe(\"Metadata for a single release form field.\");\nexport const FreshserviceGetReleaseFormFieldsOutput = z.object({\n release_fields: z.array(FreshserviceGetReleaseFormFields_ReleaseFieldSchema).describe(\"Array of release form field definitions\"),\n}).passthrough().describe(\"Response model for listing release form fields metadata.\");\n\nexport const freshserviceGetReleaseFormFields: AppAction<\n typeof FreshserviceGetReleaseFormFieldsInput,\n typeof FreshserviceGetReleaseFormFieldsOutput,\n typeof freshservice.credential\n> = action(\"FRESHSERVICE_GET_RELEASE_FORM_FIELDS\", {\n slug: \"freshservice-get-release-form-fields\",\n name: \"List Release Form Fields\",\n description: \"Tool to list release form fields metadata. Use when you need to fetch release field definitions before building or validating release forms.\",\n input: FreshserviceGetReleaseFormFieldsInput,\n output: FreshserviceGetReleaseFormFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS,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AS,uDAAuD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,mCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboD,EAAE,OAAO,EAC7D,gBAAgB,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yCAAyC,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-ticket.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-ticket.cjs","names":["z","action"],"sources":["../../src/actions/get-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceGetTicketInput = z.object({\n include: z.string().describe(\"Comma-separated list of additional fields to include (e.g., 'requester', 'stats', 'description', 'conversations', 'assets'). Each include consumes additional credits.\").optional(),\n ticket_id: z.number().int().describe(\"The unique ID or display_id of the ticket to retrieve\"),\n}).describe(\"Request model for retrieving a specific Freshservice ticket by ID.\");\nconst FreshserviceGetTicket_TicketTypeSchema = z.enum([\"Incident\", \"Service Request\"]).describe(\"Enum for Freshservice ticket type values.\");\nconst FreshserviceGetTicket_TicketImpactSchema = z.enum([\"low\", \"medium\", \"high\"]).describe(\"Enum for Freshservice ticket impact values.\");\nconst FreshserviceGetTicket_TicketSourceSchema = z.enum([\"email\", \"portal\", \"phone\", \"chat\", \"twitter\", \"facebook\"]).describe(\"Enum for Freshservice ticket source values.\");\nconst FreshserviceGetTicket_TicketStatusSchema = z.enum([\"open\", \"pending\", \"resolved\", \"closed\"]).describe(\"Enum for Freshservice ticket status values.\");\nconst FreshserviceGetTicket_TicketUrgencySchema = z.enum([\"low\", \"medium\", \"high\", \"critical\"]).describe(\"Enum for Freshservice ticket urgency values.\");\nconst FreshserviceGetTicket_TicketPrioritySchema = z.enum([\"low\", \"medium\", \"high\", \"urgent\"]).describe(\"Enum for Freshservice ticket priority values.\");\nconst FreshserviceGetTicket_TicketSchema = z.object({\n id: z.number().int().describe(\"Unique ticket ID\").nullable(),\n spam: z.boolean().describe(\"Whether the ticket is marked as spam\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags on the ticket\").nullable().optional(),\n type: FreshserviceGetTicket_TicketTypeSchema.nullable().optional(),\n due_by: z.string().describe(\"Due-by timestamp\").nullable().optional(),\n impact: FreshserviceGetTicket_TicketImpactSchema.nullable().optional(),\n source: FreshserviceGetTicket_TicketSourceSchema.nullable(),\n status: FreshserviceGetTicket_TicketStatusSchema.nullable(),\n subject: z.string().describe(\"Subject of the ticket\").nullable(),\n urgency: FreshserviceGetTicket_TicketUrgencySchema.nullable().optional(),\n group_id: z.number().int().describe(\"ID of the support group\").nullable().optional(),\n priority: FreshserviceGetTicket_TicketPrioritySchema.nullable(),\n fr_due_by: z.string().describe(\"SLA due-by timestamp\").nullable().optional(),\n to_emails: z.array(z.string()).describe(\"Email addresses the ticket was sent to\").nullable().optional(),\n created_at: z.string().describe(\"Ticket creation timestamp\").nullable(),\n display_id: z.number().int().describe(\"Display ID of the ticket\").nullable(),\n group_name: z.string().describe(\"Name of the support group\").nullable().optional(),\n updated_at: z.string().describe(\"Last updated timestamp\").nullable(),\n description: z.string().describe(\"HTML description of the ticket\").nullable().optional(),\n impact_name: z.string().describe(\"Impact name\").nullable().optional(),\n source_name: z.string().describe(\"Source name\").nullable().optional(),\n status_name: z.string().describe(\"Status name\").nullable().optional(),\n is_escalated: z.boolean().describe(\"Whether the ticket was escalated\").nullable().optional(),\n requester_id: z.number().int().describe(\"User ID of the requester\").nullable(),\n responder_id: z.number().int().describe(\"User ID of the assigned agent\").nullable().optional(),\n urgency_name: z.string().describe(\"Urgency name\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields of the ticket\").nullable().optional(),\n department_id: z.number().int().describe(\"ID of the department\").nullable().optional(),\n priority_name: z.string().describe(\"Priority name\").nullable().optional(),\n assoc_asset_id: z.number().int().describe(\"Associated asset ID\").nullable().optional(),\n requester_name: z.string().describe(\"Name of the requester\").nullable().optional(),\n responder_name: z.string().describe(\"Name of the assigned agent\").nullable().optional(),\n assoc_change_id: z.number().int().describe(\"Associated change ID\").nullable().optional(),\n department_name: z.string().describe(\"Name of the department\").nullable().optional(),\n assoc_problem_id: z.number().int().describe(\"Associated problem ID\").nullable().optional(),\n description_text: z.string().describe(\"Plain text description of the ticket\").nullable().optional(),\n assoc_change_cause_id: z.number().int().describe(\"Associated change cause ID\").nullable().optional(),\n}).passthrough().describe(\"Model representing a Freshservice ticket with detailed information.\");\nexport const FreshserviceGetTicketOutput = z.object({\n ticket: FreshserviceGetTicket_TicketSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a single ticket.\");\n\nexport const freshserviceGetTicket = action(\"FRESHSERVICE_GET_TICKET\", {\n slug: \"freshservice-get-ticket\",\n name: \"Get Freshservice Ticket\",\n description: \"Tool to retrieve detailed information about a specific ticket by ID. Use when you need to get full details of a ticket including its status, priority, requester, and other attributes.\",\n input: FreshserviceGetTicketInput,\n output: FreshserviceGetTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS;CAChN,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;AAC9F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,yCAAyCA,IAAAA,EAAE,KAAK,CAAC,YAAY,iBAAiB,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAC3I,MAAM,2CAA2CA,IAAAA,EAAE,KAAK;CAAC;CAAO;CAAU;AAAM,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzI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AC,SAAS,CAAC,CAAC,SAAS;CAClG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,QAAQ,mCAAmC,SAAS,EACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-ticket.cjs","names":["z","action"],"sources":["../../src/actions/get-ticket.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshservice } from \"../app\";\n\nexport const FreshserviceGetTicketInput = z.object({\n include: z.string().describe(\"Comma-separated list of additional fields to include (e.g., 'requester', 'stats', 'description', 'conversations', 'assets'). Each include consumes additional credits.\").optional(),\n ticket_id: z.number().int().describe(\"The unique ID or display_id of the ticket to retrieve\"),\n}).describe(\"Request model for retrieving a specific Freshservice ticket by ID.\");\nconst FreshserviceGetTicket_TicketTypeSchema = z.enum([\"Incident\", \"Service Request\"]).describe(\"Enum for Freshservice ticket type values.\");\nconst FreshserviceGetTicket_TicketImpactSchema = z.enum([\"low\", \"medium\", \"high\"]).describe(\"Enum for Freshservice ticket impact values.\");\nconst FreshserviceGetTicket_TicketSourceSchema = z.enum([\"email\", \"portal\", \"phone\", \"chat\", \"twitter\", \"facebook\"]).describe(\"Enum for Freshservice ticket source values.\");\nconst FreshserviceGetTicket_TicketStatusSchema = z.enum([\"open\", \"pending\", \"resolved\", \"closed\"]).describe(\"Enum for Freshservice ticket status values.\");\nconst FreshserviceGetTicket_TicketUrgencySchema = z.enum([\"low\", \"medium\", \"high\", \"critical\"]).describe(\"Enum for Freshservice ticket urgency values.\");\nconst FreshserviceGetTicket_TicketPrioritySchema = z.enum([\"low\", \"medium\", \"high\", \"urgent\"]).describe(\"Enum for Freshservice ticket priority values.\");\nconst FreshserviceGetTicket_TicketSchema = z.object({\n id: z.number().int().describe(\"Unique ticket ID\").nullable(),\n spam: z.boolean().describe(\"Whether the ticket is marked as spam\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags on the ticket\").nullable().optional(),\n type: FreshserviceGetTicket_TicketTypeSchema.nullable().optional(),\n due_by: z.string().describe(\"Due-by timestamp\").nullable().optional(),\n impact: FreshserviceGetTicket_TicketImpactSchema.nullable().optional(),\n source: FreshserviceGetTicket_TicketSourceSchema.nullable(),\n status: FreshserviceGetTicket_TicketStatusSchema.nullable(),\n subject: z.string().describe(\"Subject of the ticket\").nullable(),\n urgency: FreshserviceGetTicket_TicketUrgencySchema.nullable().optional(),\n group_id: z.number().int().describe(\"ID of the support group\").nullable().optional(),\n priority: FreshserviceGetTicket_TicketPrioritySchema.nullable(),\n fr_due_by: z.string().describe(\"SLA due-by timestamp\").nullable().optional(),\n to_emails: z.array(z.string()).describe(\"Email addresses the ticket was sent to\").nullable().optional(),\n created_at: z.string().describe(\"Ticket creation timestamp\").nullable(),\n display_id: z.number().int().describe(\"Display ID of the ticket\").nullable(),\n group_name: z.string().describe(\"Name of the support group\").nullable().optional(),\n updated_at: z.string().describe(\"Last updated timestamp\").nullable(),\n description: z.string().describe(\"HTML description of the ticket\").nullable().optional(),\n impact_name: z.string().describe(\"Impact name\").nullable().optional(),\n source_name: z.string().describe(\"Source name\").nullable().optional(),\n status_name: z.string().describe(\"Status name\").nullable().optional(),\n is_escalated: z.boolean().describe(\"Whether the ticket was escalated\").nullable().optional(),\n requester_id: z.number().int().describe(\"User ID of the requester\").nullable(),\n responder_id: z.number().int().describe(\"User ID of the assigned agent\").nullable().optional(),\n urgency_name: z.string().describe(\"Urgency name\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields of the ticket\").nullable().optional(),\n department_id: z.number().int().describe(\"ID of the department\").nullable().optional(),\n priority_name: z.string().describe(\"Priority name\").nullable().optional(),\n assoc_asset_id: z.number().int().describe(\"Associated asset ID\").nullable().optional(),\n requester_name: z.string().describe(\"Name of the requester\").nullable().optional(),\n responder_name: z.string().describe(\"Name of the assigned agent\").nullable().optional(),\n assoc_change_id: z.number().int().describe(\"Associated change ID\").nullable().optional(),\n department_name: z.string().describe(\"Name of the department\").nullable().optional(),\n assoc_problem_id: z.number().int().describe(\"Associated problem ID\").nullable().optional(),\n description_text: z.string().describe(\"Plain text description of the ticket\").nullable().optional(),\n assoc_change_cause_id: z.number().int().describe(\"Associated change cause ID\").nullable().optional(),\n}).passthrough().describe(\"Model representing a Freshservice ticket with detailed information.\");\nexport const FreshserviceGetTicketOutput = z.object({\n ticket: FreshserviceGetTicket_TicketSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a single ticket.\");\n\nexport const freshserviceGetTicket: AppAction<\n typeof FreshserviceGetTicketInput,\n typeof FreshserviceGetTicketOutput,\n typeof freshservice.credential\n> = action(\"FRESHSERVICE_GET_TICKET\", {\n slug: \"freshservice-get-ticket\",\n name: \"Get Freshservice Ticket\",\n description: \"Tool to retrieve detailed information about a specific ticket by ID. Use when you need to get full details of a ticket including its status, priority, requester, and other attributes.\",\n input: FreshserviceGetTicketInput,\n output: FreshserviceGetTicketOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS;CAChN,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;AAC9F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,yCAAyCA,IAAAA,EAAE,KAAK,CAAC,YAAY,iBAAiB,CAAC,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AC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,QAAQ,mCAAmC,SAAS,EACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { freshservice } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-ticket.d.ts
@@ -75,10 +77,7 @@ declare const FreshserviceGetTicketOutput: z.ZodObject<{
75
77
  assoc_change_cause_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
76
78
  }, z.core.$loose>>;
77
79
  }, z.core.$loose>;
78
- declare const freshserviceGetTicket: import("@keystrokehq/action").WorkflowActionDefinition<{
79
- ticket_id: number;
80
- include?: string | undefined;
81
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
80
+ declare const freshserviceGetTicket: AppAction<typeof FreshserviceGetTicketInput, typeof FreshserviceGetTicketOutput, typeof freshservice.credential>;
82
81
  //#endregion
83
82
  export { freshserviceGetTicket };
84
83
  //# sourceMappingURL=get-ticket.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-ticket.d.cts","names":[],"sources":["../../src/actions/get-ticket.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAiD1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-ticket.d.cts","names":[],"sources":["../../src/actions/get-ticket.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAiD1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { freshservice } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-ticket.d.ts
@@ -75,10 +77,7 @@ declare const FreshserviceGetTicketOutput: z.ZodObject<{
75
77
  assoc_change_cause_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
76
78
  }, z.core.$loose>>;
77
79
  }, z.core.$loose>;
78
- declare const freshserviceGetTicket: import("@keystrokehq/action").WorkflowActionDefinition<{
79
- ticket_id: number;
80
- include?: string | undefined;
81
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
80
+ declare const freshserviceGetTicket: AppAction<typeof FreshserviceGetTicketInput, typeof FreshserviceGetTicketOutput, typeof freshservice.credential>;
82
81
  //#endregion
83
82
  export { freshserviceGetTicket };
84
83
  //# sourceMappingURL=get-ticket.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-ticket.d.mts","names":[],"sources":["../../src/actions/get-ticket.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAiD1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-ticket.d.mts","names":[],"sources":["../../src/actions/get-ticket.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAiD1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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/get-ticket.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-ticket.mjs","names":[],"sources":["../../src/actions/get-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceGetTicketInput = z.object({\n include: z.string().describe(\"Comma-separated list of additional fields to include (e.g., 'requester', 'stats', 'description', 'conversations', 'assets'). Each include consumes additional credits.\").optional(),\n ticket_id: z.number().int().describe(\"The unique ID or display_id of the ticket to retrieve\"),\n}).describe(\"Request model for retrieving a specific Freshservice ticket by ID.\");\nconst FreshserviceGetTicket_TicketTypeSchema = z.enum([\"Incident\", \"Service Request\"]).describe(\"Enum for Freshservice ticket type values.\");\nconst FreshserviceGetTicket_TicketImpactSchema = z.enum([\"low\", \"medium\", \"high\"]).describe(\"Enum for Freshservice ticket impact values.\");\nconst FreshserviceGetTicket_TicketSourceSchema = z.enum([\"email\", \"portal\", \"phone\", \"chat\", \"twitter\", \"facebook\"]).describe(\"Enum for Freshservice ticket source values.\");\nconst FreshserviceGetTicket_TicketStatusSchema = z.enum([\"open\", \"pending\", \"resolved\", \"closed\"]).describe(\"Enum for Freshservice ticket status values.\");\nconst FreshserviceGetTicket_TicketUrgencySchema = z.enum([\"low\", \"medium\", \"high\", \"critical\"]).describe(\"Enum for Freshservice ticket urgency values.\");\nconst FreshserviceGetTicket_TicketPrioritySchema = z.enum([\"low\", \"medium\", \"high\", \"urgent\"]).describe(\"Enum for Freshservice ticket priority values.\");\nconst FreshserviceGetTicket_TicketSchema = z.object({\n id: z.number().int().describe(\"Unique ticket ID\").nullable(),\n spam: z.boolean().describe(\"Whether the ticket is marked as spam\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags on the ticket\").nullable().optional(),\n type: FreshserviceGetTicket_TicketTypeSchema.nullable().optional(),\n due_by: z.string().describe(\"Due-by timestamp\").nullable().optional(),\n impact: FreshserviceGetTicket_TicketImpactSchema.nullable().optional(),\n source: FreshserviceGetTicket_TicketSourceSchema.nullable(),\n status: FreshserviceGetTicket_TicketStatusSchema.nullable(),\n subject: z.string().describe(\"Subject of the ticket\").nullable(),\n urgency: FreshserviceGetTicket_TicketUrgencySchema.nullable().optional(),\n group_id: z.number().int().describe(\"ID of the support group\").nullable().optional(),\n priority: FreshserviceGetTicket_TicketPrioritySchema.nullable(),\n fr_due_by: z.string().describe(\"SLA due-by timestamp\").nullable().optional(),\n to_emails: z.array(z.string()).describe(\"Email addresses the ticket was sent to\").nullable().optional(),\n created_at: z.string().describe(\"Ticket creation timestamp\").nullable(),\n display_id: z.number().int().describe(\"Display ID of the ticket\").nullable(),\n group_name: z.string().describe(\"Name of the support group\").nullable().optional(),\n updated_at: z.string().describe(\"Last updated timestamp\").nullable(),\n description: z.string().describe(\"HTML description of the ticket\").nullable().optional(),\n impact_name: z.string().describe(\"Impact name\").nullable().optional(),\n source_name: z.string().describe(\"Source name\").nullable().optional(),\n status_name: z.string().describe(\"Status name\").nullable().optional(),\n is_escalated: z.boolean().describe(\"Whether the ticket was escalated\").nullable().optional(),\n requester_id: z.number().int().describe(\"User ID of the requester\").nullable(),\n responder_id: z.number().int().describe(\"User ID of the assigned agent\").nullable().optional(),\n urgency_name: z.string().describe(\"Urgency name\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields of the ticket\").nullable().optional(),\n department_id: z.number().int().describe(\"ID of the department\").nullable().optional(),\n priority_name: z.string().describe(\"Priority name\").nullable().optional(),\n assoc_asset_id: z.number().int().describe(\"Associated asset ID\").nullable().optional(),\n requester_name: z.string().describe(\"Name of the requester\").nullable().optional(),\n responder_name: z.string().describe(\"Name of the assigned agent\").nullable().optional(),\n assoc_change_id: z.number().int().describe(\"Associated change ID\").nullable().optional(),\n department_name: z.string().describe(\"Name of the department\").nullable().optional(),\n assoc_problem_id: z.number().int().describe(\"Associated problem ID\").nullable().optional(),\n description_text: z.string().describe(\"Plain text description of the ticket\").nullable().optional(),\n assoc_change_cause_id: z.number().int().describe(\"Associated change cause ID\").nullable().optional(),\n}).passthrough().describe(\"Model representing a Freshservice ticket with detailed information.\");\nexport const FreshserviceGetTicketOutput = z.object({\n ticket: FreshserviceGetTicket_TicketSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a single ticket.\");\n\nexport const freshserviceGetTicket = action(\"FRESHSERVICE_GET_TICKET\", {\n slug: \"freshservice-get-ticket\",\n name: \"Get Freshservice Ticket\",\n description: \"Tool to retrieve detailed information about a specific ticket by ID. Use when you need to get full details of a ticket including its status, priority, requester, and other attributes.\",\n input: FreshserviceGetTicketInput,\n output: FreshserviceGetTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS;CAChN,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;AAC9F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MA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AAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAK/F,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,QAAQ,mCAAmC,SAAS,EACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-ticket.mjs","names":[],"sources":["../../src/actions/get-ticket.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshservice } from \"../app\";\n\nexport const FreshserviceGetTicketInput = z.object({\n include: z.string().describe(\"Comma-separated list of additional fields to include (e.g., 'requester', 'stats', 'description', 'conversations', 'assets'). Each include consumes additional credits.\").optional(),\n ticket_id: z.number().int().describe(\"The unique ID or display_id of the ticket to retrieve\"),\n}).describe(\"Request model for retrieving a specific Freshservice ticket by ID.\");\nconst FreshserviceGetTicket_TicketTypeSchema = z.enum([\"Incident\", \"Service Request\"]).describe(\"Enum for Freshservice ticket type values.\");\nconst FreshserviceGetTicket_TicketImpactSchema = z.enum([\"low\", \"medium\", \"high\"]).describe(\"Enum for Freshservice ticket impact values.\");\nconst FreshserviceGetTicket_TicketSourceSchema = z.enum([\"email\", \"portal\", \"phone\", \"chat\", \"twitter\", \"facebook\"]).describe(\"Enum for Freshservice ticket source values.\");\nconst FreshserviceGetTicket_TicketStatusSchema = z.enum([\"open\", \"pending\", \"resolved\", \"closed\"]).describe(\"Enum for Freshservice ticket status values.\");\nconst FreshserviceGetTicket_TicketUrgencySchema = z.enum([\"low\", \"medium\", \"high\", \"critical\"]).describe(\"Enum for Freshservice ticket urgency values.\");\nconst FreshserviceGetTicket_TicketPrioritySchema = z.enum([\"low\", \"medium\", \"high\", \"urgent\"]).describe(\"Enum for Freshservice ticket priority values.\");\nconst FreshserviceGetTicket_TicketSchema = z.object({\n id: z.number().int().describe(\"Unique ticket ID\").nullable(),\n spam: z.boolean().describe(\"Whether the ticket is marked as spam\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags on the ticket\").nullable().optional(),\n type: FreshserviceGetTicket_TicketTypeSchema.nullable().optional(),\n due_by: z.string().describe(\"Due-by timestamp\").nullable().optional(),\n impact: FreshserviceGetTicket_TicketImpactSchema.nullable().optional(),\n source: FreshserviceGetTicket_TicketSourceSchema.nullable(),\n status: FreshserviceGetTicket_TicketStatusSchema.nullable(),\n subject: z.string().describe(\"Subject of the ticket\").nullable(),\n urgency: FreshserviceGetTicket_TicketUrgencySchema.nullable().optional(),\n group_id: z.number().int().describe(\"ID of the support group\").nullable().optional(),\n priority: FreshserviceGetTicket_TicketPrioritySchema.nullable(),\n fr_due_by: z.string().describe(\"SLA due-by timestamp\").nullable().optional(),\n to_emails: z.array(z.string()).describe(\"Email addresses the ticket was sent to\").nullable().optional(),\n created_at: z.string().describe(\"Ticket creation timestamp\").nullable(),\n display_id: z.number().int().describe(\"Display ID of the ticket\").nullable(),\n group_name: z.string().describe(\"Name of the support group\").nullable().optional(),\n updated_at: z.string().describe(\"Last updated timestamp\").nullable(),\n description: z.string().describe(\"HTML description of the ticket\").nullable().optional(),\n impact_name: z.string().describe(\"Impact name\").nullable().optional(),\n source_name: z.string().describe(\"Source name\").nullable().optional(),\n status_name: z.string().describe(\"Status name\").nullable().optional(),\n is_escalated: z.boolean().describe(\"Whether the ticket was escalated\").nullable().optional(),\n requester_id: z.number().int().describe(\"User ID of the requester\").nullable(),\n responder_id: z.number().int().describe(\"User ID of the assigned agent\").nullable().optional(),\n urgency_name: z.string().describe(\"Urgency name\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields of the ticket\").nullable().optional(),\n department_id: z.number().int().describe(\"ID of the department\").nullable().optional(),\n priority_name: z.string().describe(\"Priority name\").nullable().optional(),\n assoc_asset_id: z.number().int().describe(\"Associated asset ID\").nullable().optional(),\n requester_name: z.string().describe(\"Name of the requester\").nullable().optional(),\n responder_name: z.string().describe(\"Name of the assigned agent\").nullable().optional(),\n assoc_change_id: z.number().int().describe(\"Associated change ID\").nullable().optional(),\n department_name: z.string().describe(\"Name of the department\").nullable().optional(),\n assoc_problem_id: z.number().int().describe(\"Associated problem ID\").nullable().optional(),\n description_text: z.string().describe(\"Plain text description of the ticket\").nullable().optional(),\n assoc_change_cause_id: z.number().int().describe(\"Associated change cause ID\").nullable().optional(),\n}).passthrough().describe(\"Model representing a Freshservice ticket with detailed information.\");\nexport const FreshserviceGetTicketOutput = z.object({\n ticket: FreshserviceGetTicket_TicketSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a single ticket.\");\n\nexport const freshserviceGetTicket: AppAction<\n typeof FreshserviceGetTicketInput,\n typeof FreshserviceGetTicketOutput,\n typeof freshservice.credential\n> = action(\"FRESHSERVICE_GET_TICKET\", {\n slug: \"freshservice-get-ticket\",\n name: \"Get Freshservice Ticket\",\n description: \"Tool to retrieve detailed information about a specific ticket by ID. Use when you need to get full details of a ticket including its status, priority, requester, and other attributes.\",\n input: FreshserviceGetTicketInput,\n output: FreshserviceGetTicketOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS;CAChN,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;AAC9F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,yCAAyC,EAAE,KAAK,CAAC,YAAY,iBAAiB,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAC3I,MAAM,2CAA2C,EAAE,KAAK;CAAC;CAAO;CAAU;AAAM,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzI,MAAM,2CAA2C,EAAE,KAAK;CAAC;CAAS;CAAU;CAAS;CAAQ;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAC3K,MAAM,2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action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-locations.ts