@keystrokehq/freshservice 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 -18
  6. package/dist/actions/bulk-update-tickets.d.cts.map +1 -1
  7. package/dist/actions/bulk-update-tickets.d.mts +3 -18
  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 -21
  14. package/dist/actions/create-service-request.d.cts.map +1 -1
  15. package/dist/actions/create-service-request.d.mts +3 -21
  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 -29
  22. package/dist/actions/create-ticket.d.cts.map +1 -1
  23. package/dist/actions/create-ticket.d.mts +3 -29
  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 -17
  30. package/dist/actions/delete-release.d.cts.map +1 -1
  31. package/dist/actions/delete-release.d.mts +3 -17
  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 -17
  38. package/dist/actions/delete-solution-article.d.cts.map +1 -1
  39. package/dist/actions/delete-solution-article.d.mts +3 -17
  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 -17
  46. package/dist/actions/delete-solution-category.d.cts.map +1 -1
  47. package/dist/actions/delete-solution-category.d.mts +3 -17
  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 -17
  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 -17
  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 -17
  62. package/dist/actions/get-release-form-fields.d.cts.map +1 -1
  63. package/dist/actions/get-release-form-fields.d.mts +3 -17
  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 -18
  70. package/dist/actions/get-ticket.d.cts.map +1 -1
  71. package/dist/actions/get-ticket.d.mts +3 -18
  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 -18
  78. package/dist/actions/list-locations.d.cts.map +1 -1
  79. package/dist/actions/list-locations.d.mts +3 -18
  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 -18
  86. package/dist/actions/list-service-catalog-items.d.cts.map +1 -1
  87. package/dist/actions/list-service-catalog-items.d.mts +3 -18
  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 -25
  94. package/dist/actions/list-tickets.d.cts.map +1 -1
  95. package/dist/actions/list-tickets.d.mts +5 -25
  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 +5 -4
  100. package/dist/app.cjs.map +1 -1
  101. package/dist/app.d.cts +4 -6
  102. package/dist/app.d.cts.map +1 -1
  103. package/dist/app.d.mts +4 -6
  104. package/dist/app.d.mts.map +1 -1
  105. package/dist/app.mjs +0 -1
  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,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-release.d.ts
@@ -7,23 +9,7 @@ declare const FreshserviceDeleteReleaseInput: z.ZodObject<{
7
9
  declare const FreshserviceDeleteReleaseOutput: z.ZodObject<{
8
10
  success: z.ZodNullable<z.ZodBoolean>;
9
11
  }, z.core.$loose>;
10
- declare const freshserviceDeleteRelease: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- release_id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"freshservice", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- subdomain: z.ZodString;
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshservice", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- subdomain: z.ZodString;
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
12
+ declare const freshserviceDeleteRelease: AppAction<typeof FreshserviceDeleteReleaseInput, typeof FreshserviceDeleteReleaseOutput, typeof freshservice.credential>;
27
13
  //#endregion
28
14
  export { freshserviceDeleteRelease };
29
15
  //# sourceMappingURL=delete-release.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-release.d.cts","names":[],"sources":["../../src/actions/delete-release.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"delete-release.d.cts","names":[],"sources":["../../src/actions/delete-release.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { 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-release.d.ts
@@ -7,23 +9,7 @@ declare const FreshserviceDeleteReleaseInput: z.ZodObject<{
7
9
  declare const FreshserviceDeleteReleaseOutput: z.ZodObject<{
8
10
  success: z.ZodNullable<z.ZodBoolean>;
9
11
  }, z.core.$loose>;
10
- declare const freshserviceDeleteRelease: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- release_id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"freshservice", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- subdomain: z.ZodString;
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshservice", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- subdomain: z.ZodString;
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
12
+ declare const freshserviceDeleteRelease: AppAction<typeof FreshserviceDeleteReleaseInput, typeof FreshserviceDeleteReleaseOutput, typeof freshservice.credential>;
27
13
  //#endregion
28
14
  export { freshserviceDeleteRelease };
29
15
  //# sourceMappingURL=delete-release.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-release.d.mts","names":[],"sources":["../../src/actions/delete-release.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"delete-release.d.mts","names":[],"sources":["../../src/actions/delete-release.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const freshserviceDeleteRelease = action("FRESHSERVICE_DELETE_RELEASE", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-release.mjs","names":[],"sources":["../../src/actions/delete-release.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceDeleteReleaseInput = z.object({\n release_id: z.number().int().describe(\"The unique ID of the release to delete\"),\n}).describe(\"Request model for deleting a release from Freshservice.\");\nexport const FreshserviceDeleteReleaseOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the release deletion was successful\").nullable(),\n}).passthrough().describe(\"Response model for release deletion.\");\n\nexport const freshserviceDeleteRelease = action(\"FRESHSERVICE_DELETE_RELEASE\", {\n slug: \"freshservice-delete-release\",\n name: \"Delete Release\",\n description: \"Tool to delete a release from Freshservice. Use when you need to permanently remove a release from the system. This action is irreversible — the release cannot be recovered once deleted.\",\n input: FreshserviceDeleteReleaseInput,\n output: FreshserviceDeleteReleaseOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,EAChF,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-release.mjs","names":[],"sources":["../../src/actions/delete-release.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 FreshserviceDeleteReleaseInput = z.object({\n release_id: z.number().int().describe(\"The unique ID of the release to delete\"),\n}).describe(\"Request model for deleting a release from Freshservice.\");\nexport const FreshserviceDeleteReleaseOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the release deletion was successful\").nullable(),\n}).passthrough().describe(\"Response model for release deletion.\");\n\nexport const freshserviceDeleteRelease: AppAction<\n typeof FreshserviceDeleteReleaseInput,\n typeof FreshserviceDeleteReleaseOutput,\n typeof freshservice.credential\n> = action(\"FRESHSERVICE_DELETE_RELEASE\", {\n slug: \"freshservice-delete-release\",\n name: \"Delete Release\",\n description: \"Tool to delete a release from Freshservice. Use when you need to permanently remove a release from the system. This action is irreversible — the release cannot be recovered once deleted.\",\n input: FreshserviceDeleteReleaseInput,\n output: FreshserviceDeleteReleaseOutput,\n});\n"],"mappings":";;;AAaA,MAAa,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf4C,EAAE,OAAO,EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,EAChF,CAAC,CAAC,CAAC,SAAS,yDAaH;CACP,QAb6C,EAAE,OAAO,EACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-solution-article.ts
@@ -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,23 +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<"freshservice", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- subdomain: z.ZodString;
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshservice", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- subdomain: z.ZodString;
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
13
+ declare const freshserviceDeleteSolutionArticle: AppAction<typeof FreshserviceDeleteSolutionArticleInput, typeof FreshserviceDeleteSolutionArticleOutput, typeof freshservice.credential>;
28
14
  //#endregion
29
15
  export { freshserviceDeleteSolutionArticle };
30
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,23 +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<"freshservice", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- subdomain: z.ZodString;
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshservice", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- subdomain: z.ZodString;
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
13
+ declare const freshserviceDeleteSolutionArticle: AppAction<typeof FreshserviceDeleteSolutionArticleInput, typeof FreshserviceDeleteSolutionArticleOutput, typeof freshservice.credential>;
28
14
  //#endregion
29
15
  export { freshserviceDeleteSolutionArticle };
30
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,23 +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<"freshservice", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- subdomain: z.ZodString;
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshservice", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- subdomain: z.ZodString;
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
13
+ declare const freshserviceDeleteSolutionCategory: AppAction<typeof FreshserviceDeleteSolutionCategoryInput, typeof FreshserviceDeleteSolutionCategoryOutput, typeof freshservice.credential>;
28
14
  //#endregion
29
15
  export { freshserviceDeleteSolutionCategory };
30
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,23 +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<"freshservice", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- subdomain: z.ZodString;
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshservice", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- subdomain: z.ZodString;
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
13
+ declare const freshserviceDeleteSolutionCategory: AppAction<typeof FreshserviceDeleteSolutionCategoryInput, typeof FreshserviceDeleteSolutionCategoryOutput, typeof freshservice.credential>;
28
14
  //#endregion
29
15
  export { freshserviceDeleteSolutionCategory };
30
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;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EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,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,MAA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AAAA,EAAE,OAAO,EACxE,gBAAgBA,IAAAA,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,0DAA0D,EAC7J,CAAC,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,23 +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<"freshservice", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- subdomain: z.ZodString;
40
- generic_api_key: z.ZodString;
41
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshservice", z.ZodObject<{
42
- connectionId: z.ZodString;
43
- entityId: z.ZodString;
44
- instanceId: z.ZodString;
45
- }, z.core.$strip>, z.ZodObject<{
46
- subdomain: z.ZodString;
47
- generic_api_key: z.ZodString;
48
- }, z.core.$strip>>]>;
34
+ declare const freshserviceGetProblemFormFieldsByWorkspace: AppAction<typeof FreshserviceGetProblemFormFieldsByWorkspaceInput, typeof FreshserviceGetProblemFormFieldsByWorkspaceOutput, typeof freshservice.credential>;
49
35
  //#endregion
50
36
  export { freshserviceGetProblemFormFieldsByWorkspace };
51
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,23 +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<"freshservice", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- subdomain: z.ZodString;
40
- generic_api_key: z.ZodString;
41
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshservice", z.ZodObject<{
42
- connectionId: z.ZodString;
43
- entityId: z.ZodString;
44
- instanceId: z.ZodString;
45
- }, z.core.$strip>, z.ZodObject<{
46
- subdomain: z.ZodString;
47
- generic_api_key: z.ZodString;
48
- }, z.core.$strip>>]>;
34
+ declare const freshserviceGetProblemFormFieldsByWorkspace: AppAction<typeof FreshserviceGetProblemFormFieldsByWorkspaceInput, typeof FreshserviceGetProblemFormFieldsByWorkspaceOutput, typeof freshservice.credential>;
49
35
  //#endregion
50
36
  export { freshserviceGetProblemFormFieldsByWorkspace };
51
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,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,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,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,CAA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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: FreshserviceGetReleaseFormFieldsInput,\n output: FreshserviceGetReleaseFormFieldsOutput,\n});\n"],"mappings":";;;AAIA,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,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAOA,I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,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,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EA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"@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-release-form-fields.d.ts
@@ -22,23 +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<"freshservice", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- subdomain: z.ZodString;
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshservice", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- subdomain: z.ZodString;
40
- generic_api_key: z.ZodString;
41
- }, z.core.$strip>>]>;
27
+ declare const freshserviceGetReleaseFormFields: AppAction<typeof FreshserviceGetReleaseFormFieldsInput, typeof FreshserviceGetReleaseFormFieldsOutput, typeof freshservice.credential>;
42
28
  //#endregion
43
29
  export { freshserviceGetReleaseFormFields };
44
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,23 +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<"freshservice", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- subdomain: z.ZodString;
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshservice", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- subdomain: z.ZodString;
40
- generic_api_key: z.ZodString;
41
- }, z.core.$strip>>]>;
27
+ declare const freshserviceGetReleaseFormFields: AppAction<typeof FreshserviceGetReleaseFormFieldsInput, typeof FreshserviceGetReleaseFormFieldsOutput, typeof freshservice.credential>;
42
28
  //#endregion
43
29
  export { freshserviceGetReleaseFormFields };
44
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: FreshserviceGetReleaseFormFields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