@keystrokehq/freshservice 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/bulk-update-tickets.cjs +1 -1
  4. package/dist/actions/bulk-update-tickets.cjs.map +1 -1
  5. package/dist/actions/bulk-update-tickets.d.cts +2 -9
  6. package/dist/actions/bulk-update-tickets.d.mts +2 -9
  7. package/dist/actions/bulk-update-tickets.mjs +1 -1
  8. package/dist/actions/bulk-update-tickets.mjs.map +1 -1
  9. package/dist/actions/create-service-request.cjs +35 -35
  10. package/dist/actions/create-service-request.cjs.map +1 -1
  11. package/dist/actions/create-service-request.d.cts +36 -73
  12. package/dist/actions/create-service-request.d.cts.map +1 -1
  13. package/dist/actions/create-service-request.d.mts +36 -73
  14. package/dist/actions/create-service-request.d.mts.map +1 -1
  15. package/dist/actions/create-service-request.mjs +35 -35
  16. package/dist/actions/create-service-request.mjs.map +1 -1
  17. package/dist/actions/create-ticket.cjs +24 -24
  18. package/dist/actions/create-ticket.cjs.map +1 -1
  19. package/dist/actions/create-ticket.d.cts +25 -65
  20. package/dist/actions/create-ticket.d.cts.map +1 -1
  21. package/dist/actions/create-ticket.d.mts +25 -65
  22. package/dist/actions/create-ticket.d.mts.map +1 -1
  23. package/dist/actions/create-ticket.mjs +24 -24
  24. package/dist/actions/create-ticket.mjs.map +1 -1
  25. package/dist/actions/delete-release.d.cts +1 -3
  26. package/dist/actions/delete-release.d.mts +1 -3
  27. package/dist/actions/delete-solution-article.d.cts +1 -4
  28. package/dist/actions/delete-solution-article.d.mts +1 -4
  29. package/dist/actions/delete-solution-category.cjs +2 -2
  30. package/dist/actions/delete-solution-category.cjs.map +1 -1
  31. package/dist/actions/delete-solution-category.d.cts +3 -6
  32. package/dist/actions/delete-solution-category.d.mts +3 -6
  33. package/dist/actions/delete-solution-category.mjs +2 -2
  34. package/dist/actions/delete-solution-category.mjs.map +1 -1
  35. package/dist/actions/get-problem-form-fields-by-workspace.cjs +3 -3
  36. package/dist/actions/get-problem-form-fields-by-workspace.cjs.map +1 -1
  37. package/dist/actions/get-problem-form-fields-by-workspace.d.cts +4 -28
  38. package/dist/actions/get-problem-form-fields-by-workspace.d.mts +4 -28
  39. package/dist/actions/get-problem-form-fields-by-workspace.mjs +3 -3
  40. package/dist/actions/get-problem-form-fields-by-workspace.mjs.map +1 -1
  41. package/dist/actions/get-release-form-fields.cjs +5 -5
  42. package/dist/actions/get-release-form-fields.cjs.map +1 -1
  43. package/dist/actions/get-release-form-fields.d.cts +6 -23
  44. package/dist/actions/get-release-form-fields.d.cts.map +1 -1
  45. package/dist/actions/get-release-form-fields.d.mts +6 -23
  46. package/dist/actions/get-release-form-fields.d.mts.map +1 -1
  47. package/dist/actions/get-release-form-fields.mjs +5 -5
  48. package/dist/actions/get-release-form-fields.mjs.map +1 -1
  49. package/dist/actions/get-ticket.cjs +28 -28
  50. package/dist/actions/get-ticket.cjs.map +1 -1
  51. package/dist/actions/get-ticket.d.cts +29 -69
  52. package/dist/actions/get-ticket.d.cts.map +1 -1
  53. package/dist/actions/get-ticket.d.mts +29 -69
  54. package/dist/actions/get-ticket.d.mts.map +1 -1
  55. package/dist/actions/get-ticket.mjs +28 -28
  56. package/dist/actions/get-ticket.mjs.map +1 -1
  57. package/dist/actions/list-locations.cjs +8 -8
  58. package/dist/actions/list-locations.cjs.map +1 -1
  59. package/dist/actions/list-locations.d.cts +9 -28
  60. package/dist/actions/list-locations.d.mts +9 -28
  61. package/dist/actions/list-locations.mjs +8 -8
  62. package/dist/actions/list-locations.mjs.map +1 -1
  63. package/dist/actions/list-service-catalog-items.cjs +16 -16
  64. package/dist/actions/list-service-catalog-items.cjs.map +1 -1
  65. package/dist/actions/list-service-catalog-items.d.cts +17 -36
  66. package/dist/actions/list-service-catalog-items.d.mts +17 -36
  67. package/dist/actions/list-service-catalog-items.mjs +16 -16
  68. package/dist/actions/list-service-catalog-items.mjs.map +1 -1
  69. package/dist/actions/list-tickets.cjs +28 -28
  70. package/dist/actions/list-tickets.cjs.map +1 -1
  71. package/dist/actions/list-tickets.d.cts +29 -69
  72. package/dist/actions/list-tickets.d.cts.map +1 -1
  73. package/dist/actions/list-tickets.d.mts +29 -69
  74. package/dist/actions/list-tickets.d.mts.map +1 -1
  75. package/dist/actions/list-tickets.mjs +28 -28
  76. package/dist/actions/list-tickets.mjs.map +1 -1
  77. package/package.json +1 -1
@@ -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.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the ticket is marked as spam\").optional()),\n tags: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Tags on the ticket\").optional()),\n type: z.preprocess((value) => (value === null ? undefined : value), FreshserviceGetTicket_TicketTypeSchema.optional()),\n due_by: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Due-by timestamp\").optional()),\n impact: z.preprocess((value) => (value === null ? undefined : value), FreshserviceGetTicket_TicketImpactSchema.optional()),\n source: FreshserviceGetTicket_TicketSourceSchema.nullable(),\n status: FreshserviceGetTicket_TicketStatusSchema.nullable(),\n subject: z.string().describe(\"Subject of the ticket\").nullable(),\n urgency: z.preprocess((value) => (value === null ? undefined : value), FreshserviceGetTicket_TicketUrgencySchema.optional()),\n group_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the support group\").optional()),\n priority: FreshserviceGetTicket_TicketPrioritySchema.nullable(),\n fr_due_by: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"SLA due-by timestamp\").optional()),\n to_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Email addresses the ticket was sent to\").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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the support group\").optional()),\n updated_at: z.string().describe(\"Last updated timestamp\").nullable(),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"HTML description of the ticket\").optional()),\n impact_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Impact name\").optional()),\n source_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Source name\").optional()),\n status_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status name\").optional()),\n is_escalated: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the ticket was escalated\").optional()),\n requester_id: z.number().int().describe(\"User ID of the requester\").nullable(),\n responder_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"User ID of the assigned agent\").optional()),\n urgency_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Urgency name\").optional()),\n custom_fields: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Custom fields of the ticket\").optional()),\n department_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the department\").optional()),\n priority_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Priority name\").optional()),\n assoc_asset_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Associated asset ID\").optional()),\n requester_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the requester\").optional()),\n responder_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the assigned agent\").optional()),\n assoc_change_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Associated change ID\").optional()),\n department_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the department\").optional()),\n assoc_problem_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Associated problem ID\").optional()),\n description_text: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Plain text description of the ticket\").optional()),\n assoc_change_cause_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Associated change cause ID\").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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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}).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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ACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,iBAAiB,EAAE,OAAO,CAAC,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"}
@@ -7,18 +7,18 @@ const FreshserviceListLocationsInput = zod.z.object({
7
7
  }).describe("Request model for listing Freshservice locations with pagination.");
8
8
  const FreshserviceListLocations_LocationSchema = zod.z.object({
9
9
  id: zod.z.number().int().describe("Unique identifier of the location").nullable(),
10
- fax: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Fax number of the location").optional()),
11
- city: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("City of the location").optional()),
10
+ fax: zod.z.string().describe("Fax number of the location").nullable().optional(),
11
+ city: zod.z.string().describe("City of the location").nullable().optional(),
12
12
  name: zod.z.string().describe("Name of the location").nullable(),
13
- phone: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Phone number of the location").optional()),
14
- state: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("State of the location").optional()),
13
+ phone: zod.z.string().describe("Phone number of the location").nullable().optional(),
14
+ state: zod.z.string().describe("State of the location").nullable().optional(),
15
15
  status: zod.z.union([zod.z.literal(0), zod.z.literal(1)]).describe("Status of the location (1=Active, 0=Inactive)").nullable(),
16
- address: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Street address of the location").optional()),
17
- country: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Country of the location").optional()),
18
- zip_code: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ZIP or postal code of the location").optional()),
16
+ address: zod.z.string().describe("Street address of the location").nullable().optional(),
17
+ country: zod.z.string().describe("Country of the location").nullable().optional(),
18
+ zip_code: zod.z.string().describe("ZIP or postal code of the location").nullable().optional(),
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
- domain_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Domain name associated with the location").optional())
21
+ domain_name: zod.z.string().describe("Domain name associated with the location").nullable().optional()
22
22
  }).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(),
@@ -1 +1 @@
1
- {"version":3,"file":"list-locations.cjs","names":["z","action"],"sources":["../../src/actions/list-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceListLocationsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-indexed; must be >=1)\").optional(),\n per_page: z.number().int().describe(\"Number of locations per page (must be between 1 and 100)\").optional(),\n}).describe(\"Request model for listing Freshservice locations with pagination.\");\nconst FreshserviceListLocations_LocationSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the location\").nullable(),\n fax: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Fax number of the location\").optional()),\n city: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"City of the location\").optional()),\n name: z.string().describe(\"Name of the location\").nullable(),\n phone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Phone number of the location\").optional()),\n state: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"State of the location\").optional()),\n status: z.union([z.literal(0), z.literal(1)]).describe(\"Status of the location (1=Active, 0=Inactive)\").nullable(),\n address: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Street address of the location\").optional()),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country of the location\").optional()),\n zip_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ZIP or postal code of the location\").optional()),\n created_at: z.string().describe(\"Timestamp when the location was created (ISO 8601 UTC)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the location was last updated (ISO 8601 UTC)\").nullable(),\n domain_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Domain name associated with the location\").optional()),\n}).describe(\"Represents a location in Freshservice.\");\nexport const FreshserviceListLocationsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of locations available\").nullable(),\n per_page: z.number().int().describe(\"Number of locations per page returned\").nullable(),\n locations: z.array(FreshserviceListLocations_LocationSchema).describe(\"List of location records retrieved\"),\n}).describe(\"Response model for listing locations in Freshservice.\");\n\nexport const freshserviceListLocations = action(\"FRESHSERVICE_LIST_LOCATIONS\", {\n slug: \"freshservice-list-locations\",\n name: \"List Freshservice Locations\",\n description: \"Tool to list all locations in Freshservice. Use when you need to retrieve paginated location data.\",\n input: FreshserviceListLocationsInput,\n output: FreshserviceListLocationsOutput,\n});\n"],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
1
+ {"version":3,"file":"list-locations.cjs","names":["z","action"],"sources":["../../src/actions/list-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceListLocationsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-indexed; must be >=1)\").optional(),\n per_page: z.number().int().describe(\"Number of locations per page (must be between 1 and 100)\").optional(),\n}).describe(\"Request model for listing Freshservice locations with pagination.\");\nconst FreshserviceListLocations_LocationSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the location\").nullable(),\n fax: z.string().describe(\"Fax number of the location\").nullable().optional(),\n city: z.string().describe(\"City of the location\").nullable().optional(),\n name: z.string().describe(\"Name of the location\").nullable(),\n phone: z.string().describe(\"Phone number of the location\").nullable().optional(),\n state: z.string().describe(\"State of the location\").nullable().optional(),\n status: z.union([z.literal(0), z.literal(1)]).describe(\"Status of the location (1=Active, 0=Inactive)\").nullable(),\n address: z.string().describe(\"Street address of the location\").nullable().optional(),\n country: z.string().describe(\"Country of the location\").nullable().optional(),\n zip_code: z.string().describe(\"ZIP or postal code of the location\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the location was created (ISO 8601 UTC)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the location was last updated (ISO 8601 UTC)\").nullable(),\n domain_name: z.string().describe(\"Domain name associated with the location\").nullable().optional(),\n}).describe(\"Represents a location in Freshservice.\");\nexport const FreshserviceListLocationsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of locations available\").nullable(),\n per_page: z.number().int().describe(\"Number of locations per page returned\").nullable(),\n locations: z.array(FreshserviceListLocations_LocationSchema).describe(\"List of location records retrieved\"),\n}).describe(\"Response model for listing locations in Freshservice.\");\n\nexport const freshserviceListLocations = action(\"FRESHSERVICE_LIST_LOCATIONS\", {\n slug: \"freshservice-list-locations\",\n name: \"List Freshservice Locations\",\n description: \"Tool to list all locations in Freshservice. Use when you need to retrieve paginated location data.\",\n input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yB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,oCAAoC;AAC5G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,43 +11,24 @@ declare const FreshserviceListLocationsOutput: z.ZodObject<{
11
11
  per_page: z.ZodNullable<z.ZodNumber>;
12
12
  locations: z.ZodArray<z.ZodObject<{
13
13
  id: z.ZodNullable<z.ZodNumber>;
14
- fax: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
- city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ fax: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  name: z.ZodNullable<z.ZodString>;
17
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
- state: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
17
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  status: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
20
- address: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
- country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- zip_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ zip_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  created_at: z.ZodNullable<z.ZodString>;
24
24
  updated_at: z.ZodNullable<z.ZodString>;
25
- domain_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
+ domain_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  }, z.core.$strip>>;
27
27
  }, z.core.$strip>;
28
28
  declare const freshserviceListLocations: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  page?: number | undefined;
30
30
  per_page?: number | undefined;
31
- }, {
32
- page: number | null;
33
- total: number | null;
34
- per_page: number | null;
35
- locations: {
36
- id: number | null;
37
- name: string | null;
38
- status: 0 | 1 | null;
39
- created_at: string | null;
40
- updated_at: string | null;
41
- fax?: string | undefined;
42
- city?: string | undefined;
43
- phone?: string | undefined;
44
- state?: string | undefined;
45
- address?: string | undefined;
46
- country?: string | undefined;
47
- zip_code?: string | undefined;
48
- domain_name?: string | undefined;
49
- }[];
50
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
32
  //#endregion
52
33
  export { freshserviceListLocations };
53
34
  //# sourceMappingURL=list-locations.d.cts.map
@@ -11,43 +11,24 @@ declare const FreshserviceListLocationsOutput: z.ZodObject<{
11
11
  per_page: z.ZodNullable<z.ZodNumber>;
12
12
  locations: z.ZodArray<z.ZodObject<{
13
13
  id: z.ZodNullable<z.ZodNumber>;
14
- fax: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
- city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ fax: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  name: z.ZodNullable<z.ZodString>;
17
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
- state: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
17
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  status: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
20
- address: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
- country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- zip_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ zip_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  created_at: z.ZodNullable<z.ZodString>;
24
24
  updated_at: z.ZodNullable<z.ZodString>;
25
- domain_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
+ domain_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  }, z.core.$strip>>;
27
27
  }, z.core.$strip>;
28
28
  declare const freshserviceListLocations: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  page?: number | undefined;
30
30
  per_page?: number | undefined;
31
- }, {
32
- page: number | null;
33
- total: number | null;
34
- per_page: number | null;
35
- locations: {
36
- id: number | null;
37
- name: string | null;
38
- status: 0 | 1 | null;
39
- created_at: string | null;
40
- updated_at: string | null;
41
- fax?: string | undefined;
42
- city?: string | undefined;
43
- phone?: string | undefined;
44
- state?: string | undefined;
45
- address?: string | undefined;
46
- country?: string | undefined;
47
- zip_code?: string | undefined;
48
- domain_name?: string | undefined;
49
- }[];
50
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
32
  //#endregion
52
33
  export { freshserviceListLocations };
53
34
  //# sourceMappingURL=list-locations.d.mts.map
@@ -7,18 +7,18 @@ const FreshserviceListLocationsInput = z.object({
7
7
  }).describe("Request model for listing Freshservice locations with pagination.");
8
8
  const FreshserviceListLocations_LocationSchema = z.object({
9
9
  id: z.number().int().describe("Unique identifier of the location").nullable(),
10
- fax: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Fax number of the location").optional()),
11
- city: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("City of the location").optional()),
10
+ fax: z.string().describe("Fax number of the location").nullable().optional(),
11
+ city: z.string().describe("City of the location").nullable().optional(),
12
12
  name: z.string().describe("Name of the location").nullable(),
13
- phone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Phone number of the location").optional()),
14
- state: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("State of the location").optional()),
13
+ phone: z.string().describe("Phone number of the location").nullable().optional(),
14
+ state: z.string().describe("State of the location").nullable().optional(),
15
15
  status: z.union([z.literal(0), z.literal(1)]).describe("Status of the location (1=Active, 0=Inactive)").nullable(),
16
- address: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Street address of the location").optional()),
17
- country: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Country of the location").optional()),
18
- zip_code: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ZIP or postal code of the location").optional()),
16
+ address: z.string().describe("Street address of the location").nullable().optional(),
17
+ country: z.string().describe("Country of the location").nullable().optional(),
18
+ zip_code: z.string().describe("ZIP or postal code of the location").nullable().optional(),
19
19
  created_at: z.string().describe("Timestamp when the location was created (ISO 8601 UTC)").nullable(),
20
20
  updated_at: z.string().describe("Timestamp when the location was last updated (ISO 8601 UTC)").nullable(),
21
- domain_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Domain name associated with the location").optional())
21
+ domain_name: z.string().describe("Domain name associated with the location").nullable().optional()
22
22
  }).describe("Represents a location in Freshservice.");
23
23
  const freshserviceListLocations = action("FRESHSERVICE_LIST_LOCATIONS", {
24
24
  slug: "freshservice-list-locations",
@@ -1 +1 @@
1
- {"version":3,"file":"list-locations.mjs","names":[],"sources":["../../src/actions/list-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceListLocationsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-indexed; must be >=1)\").optional(),\n per_page: z.number().int().describe(\"Number of locations per page (must be between 1 and 100)\").optional(),\n}).describe(\"Request model for listing Freshservice locations with pagination.\");\nconst FreshserviceListLocations_LocationSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the location\").nullable(),\n fax: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Fax number of the location\").optional()),\n city: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"City of the location\").optional()),\n name: z.string().describe(\"Name of the location\").nullable(),\n phone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Phone number of the location\").optional()),\n state: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"State of the location\").optional()),\n status: z.union([z.literal(0), z.literal(1)]).describe(\"Status of the location (1=Active, 0=Inactive)\").nullable(),\n address: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Street address of the location\").optional()),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country of the location\").optional()),\n zip_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ZIP or postal code of the location\").optional()),\n created_at: z.string().describe(\"Timestamp when the location was created (ISO 8601 UTC)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the location was last updated (ISO 8601 UTC)\").nullable(),\n domain_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Domain name associated with the location\").optional()),\n}).describe(\"Represents a location in Freshservice.\");\nexport const FreshserviceListLocationsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of locations available\").nullable(),\n per_page: z.number().int().describe(\"Number of locations per page returned\").nullable(),\n locations: z.array(FreshserviceListLocations_LocationSchema).describe(\"List of location records retrieved\"),\n}).describe(\"Response model for listing locations in Freshservice.\");\n\nexport const freshserviceListLocations = action(\"FRESHSERVICE_LIST_LOCATIONS\", {\n slug: \"freshservice-list-locations\",\n name: \"List Freshservice Locations\",\n description: \"Tool to list all locations in Freshservice. Use when you need to retrieve paginated location data.\",\n input: FreshserviceListLocationsInput,\n output: FreshserviceListLocationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,KAAK,EAAE,YAAY,UAAW,UAAU,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,CAAC,SAAS,CAAC;AACvJ,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAQpD,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,oCAAoC;CAC5G,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-locations.mjs","names":[],"sources":["../../src/actions/list-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceListLocationsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-indexed; must be >=1)\").optional(),\n per_page: z.number().int().describe(\"Number of locations per page (must be between 1 and 100)\").optional(),\n}).describe(\"Request model for listing Freshservice locations with pagination.\");\nconst FreshserviceListLocations_LocationSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the location\").nullable(),\n fax: z.string().describe(\"Fax number of the location\").nullable().optional(),\n city: z.string().describe(\"City of the location\").nullable().optional(),\n name: z.string().describe(\"Name of the location\").nullable(),\n phone: z.string().describe(\"Phone number of the location\").nullable().optional(),\n state: z.string().describe(\"State of the location\").nullable().optional(),\n status: z.union([z.literal(0), z.literal(1)]).describe(\"Status of the location (1=Active, 0=Inactive)\").nullable(),\n address: z.string().describe(\"Street address of the location\").nullable().optional(),\n country: z.string().describe(\"Country of the location\").nullable().optional(),\n zip_code: z.string().describe(\"ZIP or postal code of the location\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the location was created (ISO 8601 UTC)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the location was last updated (ISO 8601 UTC)\").nullable(),\n domain_name: z.string().describe(\"Domain name associated with the location\").nullable().optional(),\n}).describe(\"Represents a location in Freshservice.\");\nexport const FreshserviceListLocationsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of locations available\").nullable(),\n per_page: z.number().int().describe(\"Number of locations per page returned\").nullable(),\n locations: z.array(FreshserviceListLocations_LocationSchema).describe(\"List of location records retrieved\"),\n}).describe(\"Response model for listing locations in Freshservice.\");\n\nexport const freshserviceListLocations = action(\"FRESHSERVICE_LIST_LOCATIONS\", {\n slug: \"freshservice-list-locations\",\n name: \"List Freshservice Locations\",\n description: \"Tool to list all locations in Freshservice. Use when you need to retrieve paginated location data.\",\n input: FreshserviceListLocationsInput,\n output: FreshserviceListLocationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,C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CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -6,22 +6,22 @@ const FreshserviceListServiceCatalogItemsInput = zod.z.object({
6
6
  per_page: zod.z.number().int().describe("Number of items per page (must be between 1 and 100)").optional()
7
7
  }).describe("Request model for listing service catalog items in Freshservice.");
8
8
  const FreshserviceListServiceCatalogItems_ServiceCatalogItemSchema = zod.z.object({
9
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name of the catalog item").optional()),
10
- deleted: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the catalog item is deleted").optional()),
11
- icon_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Icon name for the item").optional()),
12
- is_bundle: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether this is a bundle item").optional()),
13
- item_type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Type of the catalog item").optional()),
14
- display_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Display ID of the catalog item").optional()),
15
- visibility: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Visibility level of the catalog item").optional()),
16
- category_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the category this item belongs to").optional()),
17
- description: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Full description of the catalog item").optional()),
18
- create_child: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether to create child tickets").optional()),
19
- allow_quantity: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether quantity selection is allowed").optional()),
20
- cost_visibility: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether cost is visible").optional()),
21
- group_visibility: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Group visibility setting").optional()),
22
- allow_attachments: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether attachments are allowed").optional()),
23
- short_description: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Short description of the catalog item").optional()),
24
- delivery_time_visibility: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether delivery time is visible").optional())
9
+ name: zod.z.string().describe("Name of the catalog item").nullable().optional(),
10
+ deleted: zod.z.boolean().describe("Whether the catalog item is deleted").nullable().optional(),
11
+ icon_name: zod.z.string().describe("Icon name for the item").nullable().optional(),
12
+ is_bundle: zod.z.boolean().describe("Whether this is a bundle item").nullable().optional(),
13
+ item_type: zod.z.number().int().describe("Type of the catalog item").nullable().optional(),
14
+ display_id: zod.z.number().int().describe("Display ID of the catalog item").nullable().optional(),
15
+ visibility: zod.z.number().int().describe("Visibility level of the catalog item").nullable().optional(),
16
+ category_id: zod.z.number().int().describe("ID of the category this item belongs to").nullable().optional(),
17
+ description: zod.z.string().describe("Full description of the catalog item").nullable().optional(),
18
+ create_child: zod.z.boolean().describe("Whether to create child tickets").nullable().optional(),
19
+ allow_quantity: zod.z.boolean().describe("Whether quantity selection is allowed").nullable().optional(),
20
+ cost_visibility: zod.z.boolean().describe("Whether cost is visible").nullable().optional(),
21
+ group_visibility: zod.z.number().int().describe("Group visibility setting").nullable().optional(),
22
+ allow_attachments: zod.z.boolean().describe("Whether attachments are allowed").nullable().optional(),
23
+ short_description: zod.z.string().describe("Short description of the catalog item").nullable().optional(),
24
+ delivery_time_visibility: zod.z.boolean().describe("Whether delivery time is visible").nullable().optional()
25
25
  }).describe("Model representing a Freshservice service catalog item.");
26
26
  const FreshserviceListServiceCatalogItemsOutput = zod.z.object({ items: zod.z.array(FreshserviceListServiceCatalogItems_ServiceCatalogItemSchema).describe("List of service catalog items retrieved") }).describe("Response model for listing service catalog items.");
27
27
  const freshserviceListServiceCatalogItems = require_action.action("FRESHSERVICE_LIST_SERVICE_CATALOG_ITEMS", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-service-catalog-items.cjs","names":["z","action"],"sources":["../../src/actions/list-service-catalog-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceListServiceCatalogItemsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-indexed; must be >=1)\").optional(),\n per_page: z.number().int().describe(\"Number of items per page (must be between 1 and 100)\").optional(),\n}).describe(\"Request model for listing service catalog items in Freshservice.\");\nconst FreshserviceListServiceCatalogItems_ServiceCatalogItemSchema = z.object({\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the catalog item\").optional()),\n deleted: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the catalog item is deleted\").optional()),\n icon_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Icon name for the item\").optional()),\n is_bundle: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether this is a bundle item\").optional()),\n item_type: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Type of the catalog item\").optional()),\n display_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Display ID of the catalog item\").optional()),\n visibility: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Visibility level of the catalog item\").optional()),\n category_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the category this item belongs to\").optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Full description of the catalog item\").optional()),\n create_child: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to create child tickets\").optional()),\n allow_quantity: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether quantity selection is allowed\").optional()),\n cost_visibility: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether cost is visible\").optional()),\n group_visibility: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Group visibility setting\").optional()),\n allow_attachments: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether attachments are allowed\").optional()),\n short_description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Short description of the catalog item\").optional()),\n delivery_time_visibility: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether delivery time is visible\").optional()),\n}).describe(\"Model representing a Freshservice service catalog item.\");\nexport const FreshserviceListServiceCatalogItemsOutput = z.object({\n items: z.array(FreshserviceListServiceCatalogItems_ServiceCatalogItemSchema).describe(\"List of service catalog items retrieved\"),\n}).describe(\"Response model for listing service catalog items.\");\n\nexport const freshserviceListServiceCatalogItems = action(\"FRESHSERVICE_LIST_SERVICE_CATALOG_ITEMS\", {\n slug: \"freshservice-list-service-catalog-items\",\n name: \"List Service Catalog Items\",\n description: \"Tool to list all service catalog items in Freshservice. Use when you need to discover available catalog items and their display_ids before creating service requests.\",\n input: FreshserviceListServiceCatalogItemsInput,\n output: FreshserviceListServiceCatalogItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC;CAC9H,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CAC7I,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CA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Y,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC;CACzI,kBAAkBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC;CAChJ,mBAAmBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC;CACnJ,mBAAmBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;CACxJ,0BAA0BA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;AAC7J,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,OAAOA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,yCAAyC,EACjI,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-service-catalog-items.cjs","names":["z","action"],"sources":["../../src/actions/list-service-catalog-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceListServiceCatalogItemsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-indexed; must be >=1)\").optional(),\n per_page: z.number().int().describe(\"Number of items per page (must be between 1 and 100)\").optional(),\n}).describe(\"Request model for listing service catalog items in Freshservice.\");\nconst FreshserviceListServiceCatalogItems_ServiceCatalogItemSchema = z.object({\n name: z.string().describe(\"Name of the catalog item\").nullable().optional(),\n deleted: z.boolean().describe(\"Whether the catalog item is deleted\").nullable().optional(),\n icon_name: z.string().describe(\"Icon name for the item\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether this is a bundle item\").nullable().optional(),\n item_type: z.number().int().describe(\"Type of the catalog item\").nullable().optional(),\n display_id: z.number().int().describe(\"Display ID of the catalog item\").nullable().optional(),\n visibility: z.number().int().describe(\"Visibility level of the catalog item\").nullable().optional(),\n category_id: z.number().int().describe(\"ID of the category this item belongs to\").nullable().optional(),\n description: z.string().describe(\"Full description of the catalog item\").nullable().optional(),\n create_child: z.boolean().describe(\"Whether to create child tickets\").nullable().optional(),\n allow_quantity: z.boolean().describe(\"Whether quantity selection is allowed\").nullable().optional(),\n cost_visibility: z.boolean().describe(\"Whether cost is visible\").nullable().optional(),\n group_visibility: z.number().int().describe(\"Group visibility setting\").nullable().optional(),\n allow_attachments: z.boolean().describe(\"Whether attachments are allowed\").nullable().optional(),\n short_description: z.string().describe(\"Short description of the catalog item\").nullable().optional(),\n delivery_time_visibility: z.boolean().describe(\"Whether delivery time is visible\").nullable().optional(),\n}).describe(\"Model representing a Freshservice service catalog item.\");\nexport const FreshserviceListServiceCatalogItemsOutput = z.object({\n items: z.array(FreshserviceListServiceCatalogItems_ServiceCatalogItemSchema).describe(\"List of service catalog items retrieved\"),\n}).describe(\"Response model for listing service catalog items.\");\n\nexport const freshserviceListServiceCatalogItems = action(\"FRESHSERVICE_LIST_SERVICE_CATALOG_ITEMS\", {\n slug: \"freshservice-list-service-catalog-items\",\n name: \"List Service Catalog Items\",\n description: \"Tool to list all service catalog items in Freshservice. Use when you need to discover available catalog items and their display_ids before creating service requests.\",\n input: FreshserviceListServiceCatalogItemsInput,\n output: FreshserviceListServiceCatalogItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;C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QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,0BAA0BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,OAAOA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,yCAAyC,EACjI,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,47 +7,28 @@ declare const FreshserviceListServiceCatalogItemsInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const FreshserviceListServiceCatalogItemsOutput: z.ZodObject<{
9
9
  items: z.ZodArray<z.ZodObject<{
10
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- deleted: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
12
- icon_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- is_bundle: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
14
- item_type: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
- display_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
16
- visibility: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
17
- category_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
18
- description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
- create_child: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
20
- allow_quantity: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
21
- cost_visibility: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
22
- group_visibility: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
23
- allow_attachments: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
24
- short_description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- delivery_time_visibility: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
10
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
+ icon_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ is_bundle: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ item_type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ display_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ visibility: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ category_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ create_child: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
+ allow_quantity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ cost_visibility: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ group_visibility: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ allow_attachments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ short_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ delivery_time_visibility: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
26
  }, z.core.$strip>>;
27
27
  }, z.core.$strip>;
28
28
  declare const freshserviceListServiceCatalogItems: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  page?: number | undefined;
30
30
  per_page?: number | undefined;
31
- }, {
32
- items: {
33
- name?: string | undefined;
34
- deleted?: boolean | undefined;
35
- icon_name?: string | undefined;
36
- is_bundle?: boolean | undefined;
37
- item_type?: number | undefined;
38
- display_id?: number | undefined;
39
- visibility?: number | undefined;
40
- category_id?: number | undefined;
41
- description?: string | undefined;
42
- create_child?: boolean | undefined;
43
- allow_quantity?: boolean | undefined;
44
- cost_visibility?: boolean | undefined;
45
- group_visibility?: number | undefined;
46
- allow_attachments?: boolean | undefined;
47
- short_description?: string | undefined;
48
- delivery_time_visibility?: boolean | undefined;
49
- }[];
50
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
32
  //#endregion
52
33
  export { freshserviceListServiceCatalogItems };
53
34
  //# sourceMappingURL=list-service-catalog-items.d.cts.map
@@ -7,47 +7,28 @@ declare const FreshserviceListServiceCatalogItemsInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const FreshserviceListServiceCatalogItemsOutput: z.ZodObject<{
9
9
  items: z.ZodArray<z.ZodObject<{
10
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- deleted: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
12
- icon_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- is_bundle: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
14
- item_type: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
- display_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
16
- visibility: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
17
- category_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
18
- description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
- create_child: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
20
- allow_quantity: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
21
- cost_visibility: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
22
- group_visibility: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
23
- allow_attachments: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
24
- short_description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- delivery_time_visibility: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
10
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
+ icon_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ is_bundle: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ item_type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ display_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ visibility: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ category_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ create_child: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
+ allow_quantity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ cost_visibility: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ group_visibility: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ allow_attachments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ short_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ delivery_time_visibility: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
26
  }, z.core.$strip>>;
27
27
  }, z.core.$strip>;
28
28
  declare const freshserviceListServiceCatalogItems: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  page?: number | undefined;
30
30
  per_page?: number | undefined;
31
- }, {
32
- items: {
33
- name?: string | undefined;
34
- deleted?: boolean | undefined;
35
- icon_name?: string | undefined;
36
- is_bundle?: boolean | undefined;
37
- item_type?: number | undefined;
38
- display_id?: number | undefined;
39
- visibility?: number | undefined;
40
- category_id?: number | undefined;
41
- description?: string | undefined;
42
- create_child?: boolean | undefined;
43
- allow_quantity?: boolean | undefined;
44
- cost_visibility?: boolean | undefined;
45
- group_visibility?: number | undefined;
46
- allow_attachments?: boolean | undefined;
47
- short_description?: string | undefined;
48
- delivery_time_visibility?: boolean | undefined;
49
- }[];
50
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
32
  //#endregion
52
33
  export { freshserviceListServiceCatalogItems };
53
34
  //# sourceMappingURL=list-service-catalog-items.d.mts.map
@@ -6,22 +6,22 @@ const FreshserviceListServiceCatalogItemsInput = z.object({
6
6
  per_page: z.number().int().describe("Number of items per page (must be between 1 and 100)").optional()
7
7
  }).describe("Request model for listing service catalog items in Freshservice.");
8
8
  const FreshserviceListServiceCatalogItems_ServiceCatalogItemSchema = z.object({
9
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name of the catalog item").optional()),
10
- deleted: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the catalog item is deleted").optional()),
11
- icon_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Icon name for the item").optional()),
12
- is_bundle: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether this is a bundle item").optional()),
13
- item_type: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Type of the catalog item").optional()),
14
- display_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Display ID of the catalog item").optional()),
15
- visibility: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Visibility level of the catalog item").optional()),
16
- category_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the category this item belongs to").optional()),
17
- description: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Full description of the catalog item").optional()),
18
- create_child: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether to create child tickets").optional()),
19
- allow_quantity: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether quantity selection is allowed").optional()),
20
- cost_visibility: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether cost is visible").optional()),
21
- group_visibility: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Group visibility setting").optional()),
22
- allow_attachments: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether attachments are allowed").optional()),
23
- short_description: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Short description of the catalog item").optional()),
24
- delivery_time_visibility: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether delivery time is visible").optional())
9
+ name: z.string().describe("Name of the catalog item").nullable().optional(),
10
+ deleted: z.boolean().describe("Whether the catalog item is deleted").nullable().optional(),
11
+ icon_name: z.string().describe("Icon name for the item").nullable().optional(),
12
+ is_bundle: z.boolean().describe("Whether this is a bundle item").nullable().optional(),
13
+ item_type: z.number().int().describe("Type of the catalog item").nullable().optional(),
14
+ display_id: z.number().int().describe("Display ID of the catalog item").nullable().optional(),
15
+ visibility: z.number().int().describe("Visibility level of the catalog item").nullable().optional(),
16
+ category_id: z.number().int().describe("ID of the category this item belongs to").nullable().optional(),
17
+ description: z.string().describe("Full description of the catalog item").nullable().optional(),
18
+ create_child: z.boolean().describe("Whether to create child tickets").nullable().optional(),
19
+ allow_quantity: z.boolean().describe("Whether quantity selection is allowed").nullable().optional(),
20
+ cost_visibility: z.boolean().describe("Whether cost is visible").nullable().optional(),
21
+ group_visibility: z.number().int().describe("Group visibility setting").nullable().optional(),
22
+ allow_attachments: z.boolean().describe("Whether attachments are allowed").nullable().optional(),
23
+ short_description: z.string().describe("Short description of the catalog item").nullable().optional(),
24
+ delivery_time_visibility: z.boolean().describe("Whether delivery time is visible").nullable().optional()
25
25
  }).describe("Model representing a Freshservice service catalog item.");
26
26
  const freshserviceListServiceCatalogItems = action("FRESHSERVICE_LIST_SERVICE_CATALOG_ITEMS", {
27
27
  slug: "freshservice-list-service-catalog-items",
@@ -1 +1 @@
1
- {"version":3,"file":"list-service-catalog-items.mjs","names":[],"sources":["../../src/actions/list-service-catalog-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceListServiceCatalogItemsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-indexed; must be >=1)\").optional(),\n per_page: z.number().int().describe(\"Number of items per page (must be between 1 and 100)\").optional(),\n}).describe(\"Request model for listing service catalog items in Freshservice.\");\nconst FreshserviceListServiceCatalogItems_ServiceCatalogItemSchema = z.object({\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the catalog item\").optional()),\n deleted: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the catalog item is deleted\").optional()),\n icon_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Icon name for the item\").optional()),\n is_bundle: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether this is a bundle item\").optional()),\n item_type: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Type of the catalog item\").optional()),\n display_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Display ID of the catalog item\").optional()),\n visibility: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Visibility level of the catalog item\").optional()),\n category_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the category this item belongs to\").optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Full description of the catalog item\").optional()),\n create_child: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to create child tickets\").optional()),\n allow_quantity: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether quantity selection is allowed\").optional()),\n cost_visibility: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether cost is visible\").optional()),\n group_visibility: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Group visibility setting\").optional()),\n allow_attachments: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether attachments are allowed\").optional()),\n short_description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Short description of the catalog item\").optional()),\n delivery_time_visibility: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether delivery time is visible\").optional()),\n}).describe(\"Model representing a Freshservice service catalog item.\");\nexport const FreshserviceListServiceCatalogItemsOutput = z.object({\n items: z.array(FreshserviceListServiceCatalogItems_ServiceCatalogItemSchema).describe(\"List of service catalog items retrieved\"),\n}).describe(\"Response model for listing service catalog items.\");\n\nexport const freshserviceListServiceCatalogItems = action(\"FRESHSERVICE_LIST_SERVICE_CATALOG_ITEMS\", {\n slug: \"freshservice-list-service-catalog-items\",\n name: \"List Service Catalog Items\",\n description: \"Tool to list all service catalog items in Freshservice. Use when you need to discover available catalog items and their display_ids before creating service requests.\",\n input: FreshserviceListServiceCatalogItemsInput,\n output: FreshserviceListServiceCatalogItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,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","names":[],"sources":["../../src/actions/list-service-catalog-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceListServiceCatalogItemsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-indexed; must be >=1)\").optional(),\n per_page: z.number().int().describe(\"Number of items per page (must be between 1 and 100)\").optional(),\n}).describe(\"Request model for listing service catalog items in Freshservice.\");\nconst FreshserviceListServiceCatalogItems_ServiceCatalogItemSchema = z.object({\n name: z.string().describe(\"Name of the catalog item\").nullable().optional(),\n deleted: z.boolean().describe(\"Whether the catalog item is deleted\").nullable().optional(),\n icon_name: z.string().describe(\"Icon name for the item\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether this is a bundle item\").nullable().optional(),\n item_type: z.number().int().describe(\"Type of the catalog item\").nullable().optional(),\n display_id: z.number().int().describe(\"Display ID of the catalog item\").nullable().optional(),\n visibility: z.number().int().describe(\"Visibility level of the catalog item\").nullable().optional(),\n category_id: z.number().int().describe(\"ID of the category this item belongs to\").nullable().optional(),\n description: z.string().describe(\"Full description of the catalog item\").nullable().optional(),\n create_child: z.boolean().describe(\"Whether to create child tickets\").nullable().optional(),\n allow_quantity: z.boolean().describe(\"Whether quantity selection is allowed\").nullable().optional(),\n cost_visibility: z.boolean().describe(\"Whether cost is visible\").nullable().optional(),\n group_visibility: z.number().int().describe(\"Group visibility setting\").nullable().optional(),\n allow_attachments: z.boolean().describe(\"Whether attachments are allowed\").nullable().optional(),\n short_description: z.string().describe(\"Short description of the catalog item\").nullable().optional(),\n delivery_time_visibility: z.boolean().describe(\"Whether delivery time is visible\").nullable().optional(),\n}).describe(\"Model representing a Freshservice service catalog item.\");\nexport const FreshserviceListServiceCatalogItemsOutput = z.object({\n items: z.array(FreshserviceListServiceCatalogItems_ServiceCatalogItemSchema).describe(\"List of service catalog items retrieved\"),\n}).describe(\"Response model for listing service catalog items.\");\n\nexport const freshserviceListServiceCatalogItems = action(\"FRESHSERVICE_LIST_SERVICE_CATALOG_ITEMS\", {\n slug: \"freshservice-list-service-catalog-items\",\n name: \"List Service Catalog Items\",\n description: \"Tool to list all service catalog items in Freshservice. Use when you need to discover available catalog items and their display_ids before creating service requests.\",\n input: FreshserviceListServiceCatalogItemsInput,\n output: FreshserviceListServiceCatalogItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,+DAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,S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