@keystrokehq/freshservice 0.1.2 → 0.1.4

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 (79) hide show
  1. package/dist/actions/bulk-update-tickets.cjs +2 -2
  2. package/dist/actions/bulk-update-tickets.cjs.map +1 -1
  3. package/dist/actions/bulk-update-tickets.d.cts +2 -2
  4. package/dist/actions/bulk-update-tickets.d.mts +2 -2
  5. package/dist/actions/bulk-update-tickets.mjs +2 -2
  6. package/dist/actions/bulk-update-tickets.mjs.map +1 -1
  7. package/dist/actions/create-service-request.cjs +4 -4
  8. package/dist/actions/create-service-request.cjs.map +1 -1
  9. package/dist/actions/create-service-request.d.cts +5 -5
  10. package/dist/actions/create-service-request.d.mts +5 -5
  11. package/dist/actions/create-service-request.mjs +4 -4
  12. package/dist/actions/create-service-request.mjs.map +1 -1
  13. package/dist/actions/create-ticket.cjs +2 -2
  14. package/dist/actions/create-ticket.cjs.map +1 -1
  15. package/dist/actions/create-ticket.d.cts +2 -2
  16. package/dist/actions/create-ticket.d.mts +2 -2
  17. package/dist/actions/create-ticket.mjs +2 -2
  18. package/dist/actions/create-ticket.mjs.map +1 -1
  19. package/dist/actions/delete-release.cjs +1 -1
  20. package/dist/actions/delete-release.cjs.map +1 -1
  21. package/dist/actions/delete-release.d.cts +1 -1
  22. package/dist/actions/delete-release.d.mts +1 -1
  23. package/dist/actions/delete-release.mjs +1 -1
  24. package/dist/actions/delete-release.mjs.map +1 -1
  25. package/dist/actions/delete-solution-article.cjs +1 -1
  26. package/dist/actions/delete-solution-article.cjs.map +1 -1
  27. package/dist/actions/delete-solution-article.d.cts +1 -1
  28. package/dist/actions/delete-solution-article.d.mts +1 -1
  29. package/dist/actions/delete-solution-article.mjs +1 -1
  30. package/dist/actions/delete-solution-article.mjs.map +1 -1
  31. package/dist/actions/delete-solution-category.cjs +1 -1
  32. package/dist/actions/delete-solution-category.cjs.map +1 -1
  33. package/dist/actions/delete-solution-category.d.cts +1 -1
  34. package/dist/actions/delete-solution-category.d.mts +1 -1
  35. package/dist/actions/delete-solution-category.mjs +1 -1
  36. package/dist/actions/delete-solution-category.mjs.map +1 -1
  37. package/dist/actions/get-problem-form-fields-by-workspace.cjs +4 -4
  38. package/dist/actions/get-problem-form-fields-by-workspace.cjs.map +1 -1
  39. package/dist/actions/get-problem-form-fields-by-workspace.d.cts +4 -4
  40. package/dist/actions/get-problem-form-fields-by-workspace.d.mts +4 -4
  41. package/dist/actions/get-problem-form-fields-by-workspace.mjs +4 -4
  42. package/dist/actions/get-problem-form-fields-by-workspace.mjs.map +1 -1
  43. package/dist/actions/get-release-form-fields.cjs +2 -2
  44. package/dist/actions/get-release-form-fields.cjs.map +1 -1
  45. package/dist/actions/get-release-form-fields.d.cts +2 -2
  46. package/dist/actions/get-release-form-fields.d.mts +2 -2
  47. package/dist/actions/get-release-form-fields.mjs +2 -2
  48. package/dist/actions/get-release-form-fields.mjs.map +1 -1
  49. package/dist/actions/get-ticket.cjs +2 -2
  50. package/dist/actions/get-ticket.cjs.map +1 -1
  51. package/dist/actions/get-ticket.d.cts +2 -2
  52. package/dist/actions/get-ticket.d.mts +2 -2
  53. package/dist/actions/get-ticket.mjs +2 -2
  54. package/dist/actions/get-ticket.mjs.map +1 -1
  55. package/dist/actions/list-locations.cjs +2 -2
  56. package/dist/actions/list-locations.cjs.map +1 -1
  57. package/dist/actions/list-locations.d.cts +2 -2
  58. package/dist/actions/list-locations.d.mts +2 -2
  59. package/dist/actions/list-locations.mjs +2 -2
  60. package/dist/actions/list-locations.mjs.map +1 -1
  61. package/dist/actions/list-service-catalog-items.cjs +2 -2
  62. package/dist/actions/list-service-catalog-items.cjs.map +1 -1
  63. package/dist/actions/list-service-catalog-items.d.cts +2 -2
  64. package/dist/actions/list-service-catalog-items.d.mts +2 -2
  65. package/dist/actions/list-service-catalog-items.mjs +2 -2
  66. package/dist/actions/list-service-catalog-items.mjs.map +1 -1
  67. package/dist/actions/list-tickets.cjs +2 -2
  68. package/dist/actions/list-tickets.cjs.map +1 -1
  69. package/dist/actions/list-tickets.d.cts +2 -2
  70. package/dist/actions/list-tickets.d.mts +2 -2
  71. package/dist/actions/list-tickets.mjs +2 -2
  72. package/dist/actions/list-tickets.mjs.map +1 -1
  73. package/dist/catalog.cjs +1 -1
  74. package/dist/catalog.cjs.map +1 -1
  75. package/dist/catalog.d.cts +1 -1
  76. package/dist/catalog.d.mts +1 -1
  77. package/dist/catalog.mjs +1 -1
  78. package/dist/catalog.mjs.map +1 -1
  79. package/package.json +1 -1
@@ -7,7 +7,7 @@ declare const FreshserviceDeleteSolutionArticleInput: z.ZodObject<{
7
7
  declare const FreshserviceDeleteSolutionArticleOutput: z.ZodObject<{
8
8
  message: z.ZodNullable<z.ZodString>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const freshserviceDeleteSolutionArticle: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  article_id: number;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,7 +7,7 @@ declare const FreshserviceDeleteSolutionArticleInput: z.ZodObject<{
7
7
  declare const FreshserviceDeleteSolutionArticleOutput: z.ZodObject<{
8
8
  message: z.ZodNullable<z.ZodString>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const freshserviceDeleteSolutionArticle: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  article_id: number;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,7 +8,7 @@ const freshserviceDeleteSolutionArticle = action("FRESHSERVICE_DELETE_SOLUTION_A
8
8
  output: z.object({
9
9
  message: z.string().describe("Human-readable message describing the result of the delete operation").nullable(),
10
10
  success: z.boolean().describe("Indicates whether the delete operation completed successfully").nullable()
11
- }).describe("Response model for solution article deletion.")
11
+ }).passthrough().describe("Response model for solution article deletion.")
12
12
  });
13
13
  //#endregion
14
14
  export { freshserviceDeleteSolutionArticle };
@@ -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}).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,SAAS,+CAOF;AACV,CAAC"}
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"}
@@ -5,7 +5,7 @@ const FreshserviceDeleteSolutionCategoryInput = zod.z.object({ category_id: zod.
5
5
  const FreshserviceDeleteSolutionCategoryOutput = zod.z.object({
6
6
  status: zod.z.string().describe("Status of the deletion operation").nullable().optional(),
7
7
  message: zod.z.string().describe("Message describing the deletion result").nullable().optional()
8
- }).describe("Response model for solution category deletion.");
8
+ }).passthrough().describe("Response model for solution category deletion.");
9
9
  const freshserviceDeleteSolutionCategory = require_action.action("FRESHSERVICE_DELETE_SOLUTION_CATEGORY", {
10
10
  slug: "freshservice-delete-solution-category",
11
11
  name: "Delete Solution Category",
@@ -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}).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,SAAS,gDAAgD;AAE5D,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 { 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"}
@@ -7,7 +7,7 @@ declare const FreshserviceDeleteSolutionCategoryInput: z.ZodObject<{
7
7
  declare const FreshserviceDeleteSolutionCategoryOutput: z.ZodObject<{
8
8
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const freshserviceDeleteSolutionCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  category_id: number;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,7 +7,7 @@ declare const FreshserviceDeleteSolutionCategoryInput: z.ZodObject<{
7
7
  declare const FreshserviceDeleteSolutionCategoryOutput: z.ZodObject<{
8
8
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const freshserviceDeleteSolutionCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  category_id: number;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,7 +8,7 @@ const freshserviceDeleteSolutionCategory = action("FRESHSERVICE_DELETE_SOLUTION_
8
8
  output: z.object({
9
9
  status: z.string().describe("Status of the deletion operation").nullable().optional(),
10
10
  message: z.string().describe("Message describing the deletion result").nullable().optional()
11
- }).describe("Response model for solution category deletion.")
11
+ }).passthrough().describe("Response model for solution category deletion.")
12
12
  });
13
13
  //#endregion
14
14
  export { freshserviceDeleteSolutionCategory };
@@ -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}).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,SAAS,gDAOF;AACV,CAAC"}
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"}
@@ -2,14 +2,14 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-problem-form-fields-by-workspace.ts
4
4
  const FreshserviceGetProblemFormFieldsByWorkspaceInput = zod.z.object({ workspace_id: zod.z.number().int().describe("ID of the workspace to list problem form fields for. If omitted, returns global and primary workspace fields.").optional() }).describe("Request model for listing problem form fields by workspace.");
5
- const FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldChoiceSchema = zod.z.object({ value: zod.z.string().describe("Allowed value for the choice field").nullable() }).describe("Choice option for a choice-type problem field.");
5
+ const FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldChoiceSchema = zod.z.object({ value: zod.z.string().describe("Allowed value for the choice field").nullable() }).passthrough().describe("Choice option for a choice-type problem field.");
6
6
  const FreshserviceGetProblemFormFieldsByWorkspace_NestedFieldSchema = zod.z.object({
7
7
  id: zod.z.number().int().describe("Unique ID of the nested field").nullable(),
8
8
  name: zod.z.string().describe("Internal name of the nested field").nullable(),
9
9
  label: zod.z.string().describe("Display label of the nested field").nullable(),
10
10
  required: zod.z.boolean().describe("Whether the nested field is mandatory").nullable(),
11
11
  field_type: zod.z.string().describe("Type of the nested field, e.g., checkbox, text, etc.").nullable()
12
- }).describe("Nested field within a problem field.");
12
+ }).passthrough().describe("Nested field within a problem field.");
13
13
  const FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema = zod.z.object({
14
14
  id: zod.z.number().int().describe("Unique ID of the field").nullable(),
15
15
  name: zod.z.string().describe("Internal name of the field").nullable(),
@@ -24,8 +24,8 @@ const FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema = zod.z.obj
24
24
  default_field: zod.z.boolean().describe("Whether the field is a default field (true) or custom (false)").nullable(),
25
25
  nested_fields: zod.z.array(FreshserviceGetProblemFormFieldsByWorkspace_NestedFieldSchema).describe("Nested fields within this field, if applicable").nullable().optional(),
26
26
  required_for_closure: zod.z.boolean().describe("Whether the field is mandatory for problem closure").nullable()
27
- }).describe("Model representing a Freshservice problem form field.");
28
- const FreshserviceGetProblemFormFieldsByWorkspaceOutput = zod.z.object({ problem_fields: zod.z.array(FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema).describe("List of problem form field definitions for the workspace") }).describe("Response model for listing problem form fields by workspace.");
27
+ }).passthrough().describe("Model representing a Freshservice problem form field.");
28
+ const FreshserviceGetProblemFormFieldsByWorkspaceOutput = zod.z.object({ problem_fields: zod.z.array(FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema).describe("List of problem form field definitions for the workspace") }).passthrough().describe("Response model for listing problem form fields by workspace.");
29
29
  const freshserviceGetProblemFormFieldsByWorkspace = require_action.action("FRESHSERVICE_GET_PROBLEM_FORM_FIELDS_BY_WORKSPACE", {
30
30
  slug: "freshservice-get-problem-form-fields-by-workspace",
31
31
  name: "Get Problem Form Fields by Workspace",
@@ -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}).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}).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}).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}).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,OAAO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YA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,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,SAAS,uDAAuD;AACnE,MAAa,oDAAoDA,IAAAA,EAAE,OAAO,EACxE,gBAAgBA,IAAAA,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,0DAA0D,EAC7J,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,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 { 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,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,SAAS,wBAAwB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AAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,8CAA8CC,eAAAA,OAAO,qDAAqD;CACrH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,7 +11,7 @@ declare const FreshserviceGetProblemFormFieldsByWorkspaceOutput: z.ZodObject<{
11
11
  label: z.ZodNullable<z.ZodString>;
12
12
  choices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
13
  value: z.ZodNullable<z.ZodString>;
14
- }, z.core.$strip>>>>;
14
+ }, z.core.$loose>>>>;
15
15
  required: z.ZodNullable<z.ZodBoolean>;
16
16
  created_at: z.ZodNullable<z.ZodString>;
17
17
  field_type: z.ZodNullable<z.ZodString>;
@@ -25,10 +25,10 @@ declare const FreshserviceGetProblemFormFieldsByWorkspaceOutput: z.ZodObject<{
25
25
  label: z.ZodNullable<z.ZodString>;
26
26
  required: z.ZodNullable<z.ZodBoolean>;
27
27
  field_type: z.ZodNullable<z.ZodString>;
28
- }, z.core.$strip>>>>;
28
+ }, z.core.$loose>>>>;
29
29
  required_for_closure: z.ZodNullable<z.ZodBoolean>;
30
- }, z.core.$strip>>;
31
- }, z.core.$strip>;
30
+ }, z.core.$loose>>;
31
+ }, z.core.$loose>;
32
32
  declare const freshserviceGetProblemFormFieldsByWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  workspace_id?: number | undefined;
34
34
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -11,7 +11,7 @@ declare const FreshserviceGetProblemFormFieldsByWorkspaceOutput: z.ZodObject<{
11
11
  label: z.ZodNullable<z.ZodString>;
12
12
  choices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
13
  value: z.ZodNullable<z.ZodString>;
14
- }, z.core.$strip>>>>;
14
+ }, z.core.$loose>>>>;
15
15
  required: z.ZodNullable<z.ZodBoolean>;
16
16
  created_at: z.ZodNullable<z.ZodString>;
17
17
  field_type: z.ZodNullable<z.ZodString>;
@@ -25,10 +25,10 @@ declare const FreshserviceGetProblemFormFieldsByWorkspaceOutput: z.ZodObject<{
25
25
  label: z.ZodNullable<z.ZodString>;
26
26
  required: z.ZodNullable<z.ZodBoolean>;
27
27
  field_type: z.ZodNullable<z.ZodString>;
28
- }, z.core.$strip>>>>;
28
+ }, z.core.$loose>>>>;
29
29
  required_for_closure: z.ZodNullable<z.ZodBoolean>;
30
- }, z.core.$strip>>;
31
- }, z.core.$strip>;
30
+ }, z.core.$loose>>;
31
+ }, z.core.$loose>;
32
32
  declare const freshserviceGetProblemFormFieldsByWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  workspace_id?: number | undefined;
34
34
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -2,14 +2,14 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/get-problem-form-fields-by-workspace.ts
4
4
  const FreshserviceGetProblemFormFieldsByWorkspaceInput = z.object({ 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() }).describe("Request model for listing problem form fields by workspace.");
5
- const FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldChoiceSchema = z.object({ value: z.string().describe("Allowed value for the choice field").nullable() }).describe("Choice option for a choice-type problem field.");
5
+ const FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldChoiceSchema = z.object({ value: z.string().describe("Allowed value for the choice field").nullable() }).passthrough().describe("Choice option for a choice-type problem field.");
6
6
  const FreshserviceGetProblemFormFieldsByWorkspace_NestedFieldSchema = z.object({
7
7
  id: z.number().int().describe("Unique ID of the nested field").nullable(),
8
8
  name: z.string().describe("Internal name of the nested field").nullable(),
9
9
  label: z.string().describe("Display label of the nested field").nullable(),
10
10
  required: z.boolean().describe("Whether the nested field is mandatory").nullable(),
11
11
  field_type: z.string().describe("Type of the nested field, e.g., checkbox, text, etc.").nullable()
12
- }).describe("Nested field within a problem field.");
12
+ }).passthrough().describe("Nested field within a problem field.");
13
13
  const FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema = z.object({
14
14
  id: z.number().int().describe("Unique ID of the field").nullable(),
15
15
  name: z.string().describe("Internal name of the field").nullable(),
@@ -24,13 +24,13 @@ const FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema = z.object(
24
24
  default_field: z.boolean().describe("Whether the field is a default field (true) or custom (false)").nullable(),
25
25
  nested_fields: z.array(FreshserviceGetProblemFormFieldsByWorkspace_NestedFieldSchema).describe("Nested fields within this field, if applicable").nullable().optional(),
26
26
  required_for_closure: z.boolean().describe("Whether the field is mandatory for problem closure").nullable()
27
- }).describe("Model representing a Freshservice problem form field.");
27
+ }).passthrough().describe("Model representing a Freshservice problem form field.");
28
28
  const freshserviceGetProblemFormFieldsByWorkspace = action("FRESHSERVICE_GET_PROBLEM_FORM_FIELDS_BY_WORKSPACE", {
29
29
  slug: "freshservice-get-problem-form-fields-by-workspace",
30
30
  name: "Get Problem Form Fields by Workspace",
31
31
  description: "Tool to list problem form fields. Use when you need to retrieve the form fields available for problems in a specific workspace.",
32
32
  input: FreshserviceGetProblemFormFieldsByWorkspaceInput,
33
- output: z.object({ problem_fields: z.array(FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema).describe("List of problem form field definitions for the workspace") }).describe("Response model for listing problem form fields by workspace.")
33
+ output: z.object({ problem_fields: z.array(FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema).describe("List of problem form field definitions for the workspace") }).passthrough().describe("Response model for listing problem form fields by workspace.")
34
34
  });
35
35
  //#endregion
36
36
  export { freshserviceGetProblemFormFieldsByWorkspace };
@@ -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}).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}).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}).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}).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,SAAS,gDAAgD;AAC5D,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,SA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;CACP,QAT+D,EAAE,OAAO,EACxE,gBAAgB,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,0DAA0D,EAC7J,CAAC,CAAC,CAAC,SAAS,8DAOF;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 { 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,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,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"}
@@ -17,8 +17,8 @@ const FreshserviceGetReleaseFormFields_ReleaseFieldSchema = zod.z.object({
17
17
  default_field: zod.z.boolean().describe("True if the field is a default system field").nullable(),
18
18
  nested_fields: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Details of nested fields (if any)").nullable().optional(),
19
19
  required_for_closure: zod.z.boolean().describe("True if the field is mandatory while closing the item").nullable()
20
- }).describe("Metadata for a single release form field.");
21
- const FreshserviceGetReleaseFormFieldsOutput = zod.z.object({ release_fields: zod.z.array(FreshserviceGetReleaseFormFields_ReleaseFieldSchema).describe("Array of release form field definitions") }).describe("Response model for listing release form fields metadata.");
20
+ }).passthrough().describe("Metadata for a single release form field.");
21
+ const FreshserviceGetReleaseFormFieldsOutput = zod.z.object({ release_fields: zod.z.array(FreshserviceGetReleaseFormFields_ReleaseFieldSchema).describe("Array of release form field definitions") }).passthrough().describe("Response model for listing release form fields metadata.");
22
22
  const freshserviceGetReleaseFormFields = require_action.action("FRESHSERVICE_GET_RELEASE_FORM_FIELDS", {
23
23
  slug: "freshservice-get-release-form-fields",
24
24
  name: "List Release Form Fields",
@@ -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}).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}).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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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,SAAS,2CAA2C;AACvD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,gBAAgBA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yCAAyC,EACjI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,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 { 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,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,MAAM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ACjI,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"}
@@ -20,8 +20,8 @@ declare const FreshserviceGetReleaseFormFieldsOutput: z.ZodObject<{
20
20
  default_field: z.ZodNullable<z.ZodBoolean>;
21
21
  nested_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
22
22
  required_for_closure: z.ZodNullable<z.ZodBoolean>;
23
- }, z.core.$strip>>;
24
- }, z.core.$strip>;
23
+ }, z.core.$loose>>;
24
+ }, z.core.$loose>;
25
25
  declare const freshserviceGetReleaseFormFields: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  workspace_id?: number | undefined;
27
27
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -20,8 +20,8 @@ declare const FreshserviceGetReleaseFormFieldsOutput: z.ZodObject<{
20
20
  default_field: z.ZodNullable<z.ZodBoolean>;
21
21
  nested_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
22
22
  required_for_closure: z.ZodNullable<z.ZodBoolean>;
23
- }, z.core.$strip>>;
24
- }, z.core.$strip>;
23
+ }, z.core.$loose>>;
24
+ }, z.core.$loose>;
25
25
  declare const freshserviceGetReleaseFormFields: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  workspace_id?: number | undefined;
27
27
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -17,13 +17,13 @@ const FreshserviceGetReleaseFormFields_ReleaseFieldSchema = z.object({
17
17
  default_field: z.boolean().describe("True if the field is a default system field").nullable(),
18
18
  nested_fields: z.array(z.record(z.string(), z.unknown())).describe("Details of nested fields (if any)").nullable().optional(),
19
19
  required_for_closure: z.boolean().describe("True if the field is mandatory while closing the item").nullable()
20
- }).describe("Metadata for a single release form field.");
20
+ }).passthrough().describe("Metadata for a single release form field.");
21
21
  const freshserviceGetReleaseFormFields = action("FRESHSERVICE_GET_RELEASE_FORM_FIELDS", {
22
22
  slug: "freshservice-get-release-form-fields",
23
23
  name: "List Release Form Fields",
24
24
  description: "Tool to list release form fields metadata. Use when you need to fetch release field definitions before building or validating release forms.",
25
25
  input: FreshserviceGetReleaseFormFieldsInput,
26
- output: z.object({ release_fields: z.array(FreshserviceGetReleaseFormFields_ReleaseFieldSchema).describe("Array of release form field definitions") }).describe("Response model for listing release form fields metadata.")
26
+ output: z.object({ release_fields: z.array(FreshserviceGetReleaseFormFields_ReleaseFieldSchema).describe("Array of release form field definitions") }).passthrough().describe("Response model for listing release form fields metadata.")
27
27
  });
28
28
  //#endregion
29
29
  export { freshserviceGetReleaseFormFields };
@@ -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}).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}).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,SAAS,2CAA2C;AAKvD,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,SAAS,0DAOF;AACV,CAAC"}
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,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C,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"}
@@ -75,8 +75,8 @@ const FreshserviceGetTicket_TicketSchema = zod.z.object({
75
75
  assoc_problem_id: zod.z.number().int().describe("Associated problem ID").nullable().optional(),
76
76
  description_text: zod.z.string().describe("Plain text description of the ticket").nullable().optional(),
77
77
  assoc_change_cause_id: zod.z.number().int().describe("Associated change cause ID").nullable().optional()
78
- }).describe("Model representing a Freshservice ticket with detailed information.");
79
- const FreshserviceGetTicketOutput = zod.z.object({ ticket: FreshserviceGetTicket_TicketSchema.nullable() }).describe("Response model for retrieving a single ticket.");
78
+ }).passthrough().describe("Model representing a Freshservice ticket with detailed information.");
79
+ const FreshserviceGetTicketOutput = zod.z.object({ ticket: FreshserviceGetTicket_TicketSchema.nullable() }).passthrough().describe("Response model for retrieving a single ticket.");
80
80
  const freshserviceGetTicket = require_action.action("FRESHSERVICE_GET_TICKET", {
81
81
  slug: "freshservice-get-ticket",
82
82
  name: "Get Freshservice Ticket",
@@ -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}).describe(\"Model representing a Freshservice ticket with detailed information.\");\nexport const FreshserviceGetTicketOutput = z.object({\n ticket: FreshserviceGetTicket_TicketSchema.nullable(),\n}).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,MAAM,2CAA2CA,IAAAA,EAAE,KAAK;CAAC;CAAS;CAAU;CAAS;CAAQ;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAC3K,MAAM,2CAA2CA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAY;AAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzJ,MAAM,4CAA4CA,IAAAA,EAAE,KAAK;CAAC;CAAO;CAAU;CAAQ;AAAU,CAAC,CAAC,CAAC,SAAS,8CAA8C;AACvJ,MAAM,6CAA6CA,IAAAA,EAAE,KAAK;CAAC;CAAO;CAAU;CAAQ;AAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AACvJ,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC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A,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,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,SAAS,qEAAqE;AACjF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,QAAQ,mCAAmC,SAAS,EACtD,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,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 { 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,MAAM,2CAA2CA,IAAAA,EAAE,KAAK;CAAC;CAAS;CAAU;CAAS;CAAQ;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAC3K,MAAM,2CAA2CA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAY;AAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzJ,MAAM,4CAA4CA,IAAAA,EAAE,KAAK;CAAC;CAAO;CAAU;CAAQ;AAAU,CAAC,CAAC,CAAC,SAAS,8CAA8C;AACvJ,MAAM,6CAA6CA,IAAAA,EAAE,KAAK;CAAC;CAAO;CAAU;CAAQ;AAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AACvJ,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,MAA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uB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,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,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -73,8 +73,8 @@ declare const FreshserviceGetTicketOutput: z.ZodObject<{
73
73
  assoc_problem_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
74
74
  description_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
75
  assoc_change_cause_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
76
- }, z.core.$strip>>;
77
- }, z.core.$strip>;
76
+ }, z.core.$loose>>;
77
+ }, z.core.$loose>;
78
78
  declare const freshserviceGetTicket: import("@keystrokehq/action").WorkflowActionDefinition<{
79
79
  ticket_id: number;
80
80
  include?: string | undefined;
@@ -73,8 +73,8 @@ declare const FreshserviceGetTicketOutput: z.ZodObject<{
73
73
  assoc_problem_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
74
74
  description_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
75
  assoc_change_cause_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
76
- }, z.core.$strip>>;
77
- }, z.core.$strip>;
76
+ }, z.core.$loose>>;
77
+ }, z.core.$loose>;
78
78
  declare const freshserviceGetTicket: import("@keystrokehq/action").WorkflowActionDefinition<{
79
79
  ticket_id: number;
80
80
  include?: string | undefined;
@@ -75,13 +75,13 @@ const FreshserviceGetTicket_TicketSchema = z.object({
75
75
  assoc_problem_id: z.number().int().describe("Associated problem ID").nullable().optional(),
76
76
  description_text: z.string().describe("Plain text description of the ticket").nullable().optional(),
77
77
  assoc_change_cause_id: z.number().int().describe("Associated change cause ID").nullable().optional()
78
- }).describe("Model representing a Freshservice ticket with detailed information.");
78
+ }).passthrough().describe("Model representing a Freshservice ticket with detailed information.");
79
79
  const freshserviceGetTicket = action("FRESHSERVICE_GET_TICKET", {
80
80
  slug: "freshservice-get-ticket",
81
81
  name: "Get Freshservice Ticket",
82
82
  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.",
83
83
  input: FreshserviceGetTicketInput,
84
- output: z.object({ ticket: FreshserviceGetTicket_TicketSchema.nullable() }).describe("Response model for retrieving a single ticket.")
84
+ output: z.object({ ticket: FreshserviceGetTicket_TicketSchema.nullable() }).passthrough().describe("Response model for retrieving a single ticket.")
85
85
  });
86
86
  //#endregion
87
87
  export { freshserviceGetTicket };
@@ -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}).describe(\"Model representing a Freshservice ticket with detailed information.\");\nexport const FreshserviceGetTicketOutput = z.object({\n ticket: FreshserviceGetTicket_TicketSchema.nullable(),\n}).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,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,2CAA2C,EAAE,KAAK;CAAC;CAAQ;CAAW;CAAY;AAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzJ,MAAM,4CAA4C,EAAE,KAAK;CAAC;CAAO;CAAU;CAAQ;AAAU,CAAC,CAAC,CAAC,SAAS,8CAA8C;AACvJ,MAAM,6CAA6C,EAAE,KAAK;CAAC;CAAO;CAAU;CAAQ;AAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AACvJ,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC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AC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAKjF,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,QAAQ,mCAAmC,SAAS,EACtD,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
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,CA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,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,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"}
@@ -19,13 +19,13 @@ const FreshserviceListLocations_LocationSchema = zod.z.object({
19
19
  created_at: zod.z.string().describe("Timestamp when the location was created (ISO 8601 UTC)").nullable(),
20
20
  updated_at: zod.z.string().describe("Timestamp when the location was last updated (ISO 8601 UTC)").nullable(),
21
21
  domain_name: zod.z.string().describe("Domain name associated with the location").nullable().optional()
22
- }).describe("Represents a location in Freshservice.");
22
+ }).passthrough().describe("Represents a location in Freshservice.");
23
23
  const FreshserviceListLocationsOutput = zod.z.object({
24
24
  page: zod.z.number().int().describe("Current page number").nullable(),
25
25
  total: zod.z.number().int().describe("Total number of locations available").nullable(),
26
26
  per_page: zod.z.number().int().describe("Number of locations per page returned").nullable(),
27
27
  locations: zod.z.array(FreshserviceListLocations_LocationSchema).describe("List of location records retrieved")
28
- }).describe("Response model for listing locations in Freshservice.");
28
+ }).passthrough().describe("Response model for listing locations in Freshservice.");
29
29
  const freshserviceListLocations = require_action.action("FRESHSERVICE_LIST_LOCATIONS", {
30
30
  slug: "freshservice-list-locations",
31
31
  name: "List Freshservice Locations",