@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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/bulk-update-tickets.cjs +1 -1
- package/dist/actions/bulk-update-tickets.cjs.map +1 -1
- package/dist/actions/bulk-update-tickets.d.cts +2 -9
- package/dist/actions/bulk-update-tickets.d.mts +2 -9
- package/dist/actions/bulk-update-tickets.mjs +1 -1
- package/dist/actions/bulk-update-tickets.mjs.map +1 -1
- package/dist/actions/create-service-request.cjs +35 -35
- package/dist/actions/create-service-request.cjs.map +1 -1
- package/dist/actions/create-service-request.d.cts +36 -73
- package/dist/actions/create-service-request.d.cts.map +1 -1
- package/dist/actions/create-service-request.d.mts +36 -73
- package/dist/actions/create-service-request.d.mts.map +1 -1
- package/dist/actions/create-service-request.mjs +35 -35
- package/dist/actions/create-service-request.mjs.map +1 -1
- package/dist/actions/create-ticket.cjs +24 -24
- package/dist/actions/create-ticket.cjs.map +1 -1
- package/dist/actions/create-ticket.d.cts +25 -65
- package/dist/actions/create-ticket.d.cts.map +1 -1
- package/dist/actions/create-ticket.d.mts +25 -65
- package/dist/actions/create-ticket.d.mts.map +1 -1
- package/dist/actions/create-ticket.mjs +24 -24
- package/dist/actions/create-ticket.mjs.map +1 -1
- package/dist/actions/delete-release.d.cts +1 -3
- package/dist/actions/delete-release.d.mts +1 -3
- package/dist/actions/delete-solution-article.d.cts +1 -4
- package/dist/actions/delete-solution-article.d.mts +1 -4
- package/dist/actions/delete-solution-category.cjs +2 -2
- package/dist/actions/delete-solution-category.cjs.map +1 -1
- package/dist/actions/delete-solution-category.d.cts +3 -6
- package/dist/actions/delete-solution-category.d.mts +3 -6
- package/dist/actions/delete-solution-category.mjs +2 -2
- package/dist/actions/delete-solution-category.mjs.map +1 -1
- package/dist/actions/get-problem-form-fields-by-workspace.cjs +3 -3
- package/dist/actions/get-problem-form-fields-by-workspace.cjs.map +1 -1
- package/dist/actions/get-problem-form-fields-by-workspace.d.cts +4 -28
- package/dist/actions/get-problem-form-fields-by-workspace.d.mts +4 -28
- package/dist/actions/get-problem-form-fields-by-workspace.mjs +3 -3
- package/dist/actions/get-problem-form-fields-by-workspace.mjs.map +1 -1
- package/dist/actions/get-release-form-fields.cjs +5 -5
- package/dist/actions/get-release-form-fields.cjs.map +1 -1
- package/dist/actions/get-release-form-fields.d.cts +6 -23
- package/dist/actions/get-release-form-fields.d.cts.map +1 -1
- package/dist/actions/get-release-form-fields.d.mts +6 -23
- package/dist/actions/get-release-form-fields.d.mts.map +1 -1
- package/dist/actions/get-release-form-fields.mjs +5 -5
- package/dist/actions/get-release-form-fields.mjs.map +1 -1
- package/dist/actions/get-ticket.cjs +28 -28
- package/dist/actions/get-ticket.cjs.map +1 -1
- package/dist/actions/get-ticket.d.cts +29 -69
- package/dist/actions/get-ticket.d.cts.map +1 -1
- package/dist/actions/get-ticket.d.mts +29 -69
- package/dist/actions/get-ticket.d.mts.map +1 -1
- package/dist/actions/get-ticket.mjs +28 -28
- package/dist/actions/get-ticket.mjs.map +1 -1
- package/dist/actions/list-locations.cjs +8 -8
- package/dist/actions/list-locations.cjs.map +1 -1
- package/dist/actions/list-locations.d.cts +9 -28
- package/dist/actions/list-locations.d.mts +9 -28
- package/dist/actions/list-locations.mjs +8 -8
- package/dist/actions/list-locations.mjs.map +1 -1
- package/dist/actions/list-service-catalog-items.cjs +16 -16
- package/dist/actions/list-service-catalog-items.cjs.map +1 -1
- package/dist/actions/list-service-catalog-items.d.cts +17 -36
- package/dist/actions/list-service-catalog-items.d.mts +17 -36
- package/dist/actions/list-service-catalog-items.mjs +16 -16
- package/dist/actions/list-service-catalog-items.mjs.map +1 -1
- package/dist/actions/list-tickets.cjs +28 -28
- package/dist/actions/list-tickets.cjs.map +1 -1
- package/dist/actions/list-tickets.d.cts +29 -69
- package/dist/actions/list-tickets.d.cts.map +1 -1
- package/dist/actions/list-tickets.d.mts +29 -69
- package/dist/actions/list-tickets.d.mts.map +1 -1
- package/dist/actions/list-tickets.mjs +28 -28
- package/dist/actions/list-tickets.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -77,41 +77,41 @@ const FreshserviceCreateTicket_TicketPrioritySchema = z.enum([
|
|
|
77
77
|
const FreshserviceCreateTicket_TicketSchema = z.object({
|
|
78
78
|
id: z.number().int().describe("Unique ticket ID").nullable(),
|
|
79
79
|
spam: z.boolean().describe("Whether the ticket is marked as spam").nullable(),
|
|
80
|
-
tags: z.
|
|
81
|
-
type:
|
|
82
|
-
due_by: z.
|
|
83
|
-
impact:
|
|
80
|
+
tags: z.array(z.string()).describe("Tags on the ticket").nullable().optional(),
|
|
81
|
+
type: FreshserviceCreateTicket_TicketTypeSchema.nullable().optional(),
|
|
82
|
+
due_by: z.string().describe("Due-by timestamp").nullable().optional(),
|
|
83
|
+
impact: FreshserviceCreateTicket_TicketImpactSchema.nullable().optional(),
|
|
84
84
|
source: FreshserviceCreateTicket_TicketSourceSchema.nullable(),
|
|
85
85
|
status: FreshserviceCreateTicket_TicketStatusSchema.nullable(),
|
|
86
86
|
subject: z.string().describe("Subject of the ticket").nullable(),
|
|
87
|
-
urgency:
|
|
88
|
-
group_id: z.
|
|
87
|
+
urgency: FreshserviceCreateTicket_TicketUrgencySchema.nullable().optional(),
|
|
88
|
+
group_id: z.number().int().describe("ID of the support group").nullable().optional(),
|
|
89
89
|
priority: FreshserviceCreateTicket_TicketPrioritySchema.nullable(),
|
|
90
|
-
fr_due_by: z.
|
|
91
|
-
to_emails: z.
|
|
90
|
+
fr_due_by: z.string().describe("SLA due-by timestamp").nullable().optional(),
|
|
91
|
+
to_emails: z.array(z.string()).describe("Email addresses the ticket was sent to").nullable().optional(),
|
|
92
92
|
created_at: z.string().describe("Ticket creation timestamp").nullable(),
|
|
93
93
|
display_id: z.number().int().describe("Display ID of the ticket").nullable(),
|
|
94
|
-
group_name: z.
|
|
94
|
+
group_name: z.string().describe("Name of the support group").nullable().optional(),
|
|
95
95
|
updated_at: z.string().describe("Last updated timestamp").nullable(),
|
|
96
96
|
description: z.string().describe("HTML description of the ticket").nullable(),
|
|
97
|
-
impact_name: z.
|
|
98
|
-
source_name: z.
|
|
99
|
-
status_name: z.
|
|
97
|
+
impact_name: z.string().describe("Impact name").nullable().optional(),
|
|
98
|
+
source_name: z.string().describe("Source name").nullable().optional(),
|
|
99
|
+
status_name: z.string().describe("Status name").nullable().optional(),
|
|
100
100
|
is_escalated: z.boolean().describe("Whether the ticket was escalated").nullable(),
|
|
101
101
|
requester_id: z.number().int().describe("User ID of the requester").nullable(),
|
|
102
|
-
responder_id: z.
|
|
103
|
-
urgency_name: z.
|
|
104
|
-
custom_fields: z.
|
|
105
|
-
department_id: z.
|
|
106
|
-
priority_name: z.
|
|
107
|
-
assoc_asset_id: z.
|
|
108
|
-
requester_name: z.
|
|
109
|
-
responder_name: z.
|
|
110
|
-
assoc_change_id: z.
|
|
111
|
-
department_name: z.
|
|
112
|
-
assoc_problem_id: z.
|
|
102
|
+
responder_id: z.number().int().describe("User ID of the assigned agent").nullable().optional(),
|
|
103
|
+
urgency_name: z.string().describe("Urgency name").nullable().optional(),
|
|
104
|
+
custom_fields: z.record(z.string(), z.unknown()).describe("Custom fields of the ticket").nullable().optional(),
|
|
105
|
+
department_id: z.number().int().describe("ID of the department").nullable().optional(),
|
|
106
|
+
priority_name: z.string().describe("Priority name").nullable().optional(),
|
|
107
|
+
assoc_asset_id: z.number().int().describe("Associated asset ID").nullable().optional(),
|
|
108
|
+
requester_name: z.string().describe("Name of the requester").nullable().optional(),
|
|
109
|
+
responder_name: z.string().describe("Name of the assigned agent").nullable().optional(),
|
|
110
|
+
assoc_change_id: z.number().int().describe("Associated change ID").nullable().optional(),
|
|
111
|
+
department_name: z.string().describe("Name of the department").nullable().optional(),
|
|
112
|
+
assoc_problem_id: z.number().int().describe("Associated problem ID").nullable().optional(),
|
|
113
113
|
description_text: z.string().describe("Plain text description of the ticket").nullable(),
|
|
114
|
-
assoc_change_cause_id: z.
|
|
114
|
+
assoc_change_cause_id: z.number().int().describe("Associated change cause ID").nullable().optional()
|
|
115
115
|
}).describe("Model representing a Freshservice ticket.");
|
|
116
116
|
const freshserviceCreateTicket = action("FRESHSERVICE_CREATE_TICKET", {
|
|
117
117
|
slug: "freshservice-create-ticket",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-ticket.mjs","names":[],"sources":["../../src/actions/create-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceCreateTicketInput = z.object({\n name: z.string().describe(\"Name of the requester (creates new contact if not found)\").optional(),\n type: z.enum([\"Incident\", \"Service Request\"]).describe(\"Enum for Freshservice ticket type values.\").optional(),\n email: z.string().describe(\"Email address of the requester. Provide either requester_id or email\").optional(),\n impact: z.enum([\"low\", \"medium\", \"high\"]).describe(\"Enum for Freshservice ticket impact values.\").optional(),\n source: z.enum([\"email\", \"portal\", \"phone\", \"chat\", \"twitter\", \"facebook\"]).describe(\"Enum for Freshservice ticket source values.\").optional(),\n status: z.enum([\"open\", \"pending\", \"resolved\", \"closed\"]).describe(\"Status of the ticket.\"),\n subject: z.string().describe(\"Subject of the ticket\"),\n urgency: z.enum([\"low\", \"medium\", \"high\", \"critical\"]).describe(\"Enum for Freshservice ticket urgency values.\").optional(),\n priority: z.enum([\"low\", \"medium\", \"high\", \"urgent\"]).describe(\"Priority of the ticket.\"),\n cc_emails: z.array(z.string()).describe(\"CC email addresses for outbound email tickets\").optional(),\n description: z.string().describe(\"HTML description of the ticket\"),\n requester_id: z.number().int().describe(\"User ID of the requester. Provide either requester_id or email\").optional(),\n email_config_id: z.number().int().describe(\"Email config ID for outbound email ticket creation\").optional(),\n}).describe(\"Request model for creating a ticket in Freshservice.\");\nconst FreshserviceCreateTicket_TicketTypeSchema = z.enum([\"Incident\", \"Service Request\"]).describe(\"Enum for Freshservice ticket type values.\");\nconst FreshserviceCreateTicket_TicketImpactSchema = z.enum([\"low\", \"medium\", \"high\"]).describe(\"Enum for Freshservice ticket impact values.\");\nconst FreshserviceCreateTicket_TicketSourceSchema = z.enum([\"email\", \"portal\", \"phone\", \"chat\", \"twitter\", \"facebook\"]).describe(\"Enum for Freshservice ticket source values.\");\nconst FreshserviceCreateTicket_TicketStatusSchema = z.enum([\"open\", \"pending\", \"resolved\", \"closed\"]).describe(\"Enum for Freshservice ticket status values.\");\nconst FreshserviceCreateTicket_TicketUrgencySchema = z.enum([\"low\", \"medium\", \"high\", \"critical\"]).describe(\"Enum for Freshservice ticket urgency values.\");\nconst FreshserviceCreateTicket_TicketPrioritySchema = z.enum([\"low\", \"medium\", \"high\", \"urgent\"]).describe(\"Enum for Freshservice ticket priority values.\");\nconst FreshserviceCreateTicket_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(),\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), FreshserviceCreateTicket_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), FreshserviceCreateTicket_TicketImpactSchema.optional()),\n source: FreshserviceCreateTicket_TicketSourceSchema.nullable(),\n status: FreshserviceCreateTicket_TicketStatusSchema.nullable(),\n subject: z.string().describe(\"Subject of the ticket\").nullable(),\n urgency: z.preprocess((value) => (value === null ? undefined : value), FreshserviceCreateTicket_TicketUrgencySchema.optional()),\n group_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the support group\").optional()),\n priority: FreshserviceCreateTicket_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.string().describe(\"HTML description of the ticket\").nullable(),\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.boolean().describe(\"Whether the ticket was escalated\").nullable(),\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.string().describe(\"Plain text description of the ticket\").nullable(),\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.\");\nexport const FreshserviceCreateTicketOutput = z.object({\n ticket: FreshserviceCreateTicket_TicketSchema.nullable(),\n}).describe(\"Response model for ticket creation.\");\n\nexport const freshserviceCreateTicket = action(\"FRESHSERVICE_CREATE_TICKET\", {\n slug: \"freshservice-create-ticket\",\n name: \"Create Ticket\",\n description: \"Tool to create a new ticket. Use when you need to log an incident or service request.\",\n input: FreshserviceCreateTicketInput,\n output: FreshserviceCreateTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,KAAK,CAAC,YAAY,iBAAiB,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,QAAQ,EAAE,KAAK;EAAC;EAAO;EAAU;CAAM,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3G,QAAQ,EAAE,KAAK;EAAC;EAAS;EAAU;EAAS;EAAQ;EAAW;CAAU,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7I,QAAQ,EAAE,KAAK;EAAC;EAAQ;EAAW;EAAY;CAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,SAAS,EAAE,KAAK;EAAC;EAAO;EAAU;EAAQ;CAAU,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzH,UAAU,EAAE,KAAK;EAAC;EAAO;EAAU;EAAQ;CAAQ,CAAC,CAAC,CAAC,SAAS,y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,SAAS,qCAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-ticket.mjs","names":[],"sources":["../../src/actions/create-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshserviceCreateTicketInput = z.object({\n name: z.string().describe(\"Name of the requester (creates new contact if not found)\").optional(),\n type: z.enum([\"Incident\", \"Service Request\"]).describe(\"Enum for Freshservice ticket type values.\").optional(),\n email: z.string().describe(\"Email address of the requester. Provide either requester_id or email\").optional(),\n impact: z.enum([\"low\", \"medium\", \"high\"]).describe(\"Enum for Freshservice ticket impact values.\").optional(),\n source: z.enum([\"email\", \"portal\", \"phone\", \"chat\", \"twitter\", \"facebook\"]).describe(\"Enum for Freshservice ticket source values.\").optional(),\n status: z.enum([\"open\", \"pending\", \"resolved\", \"closed\"]).describe(\"Status of the ticket.\"),\n subject: z.string().describe(\"Subject of the ticket\"),\n urgency: z.enum([\"low\", \"medium\", \"high\", \"critical\"]).describe(\"Enum for Freshservice ticket urgency values.\").optional(),\n priority: z.enum([\"low\", \"medium\", \"high\", \"urgent\"]).describe(\"Priority of the ticket.\"),\n cc_emails: z.array(z.string()).describe(\"CC email addresses for outbound email tickets\").optional(),\n description: z.string().describe(\"HTML description of the ticket\"),\n requester_id: z.number().int().describe(\"User ID of the requester. Provide either requester_id or email\").optional(),\n email_config_id: z.number().int().describe(\"Email config ID for outbound email ticket creation\").optional(),\n}).describe(\"Request model for creating a ticket in Freshservice.\");\nconst FreshserviceCreateTicket_TicketTypeSchema = z.enum([\"Incident\", \"Service Request\"]).describe(\"Enum for Freshservice ticket type values.\");\nconst FreshserviceCreateTicket_TicketImpactSchema = z.enum([\"low\", \"medium\", \"high\"]).describe(\"Enum for Freshservice ticket impact values.\");\nconst FreshserviceCreateTicket_TicketSourceSchema = z.enum([\"email\", \"portal\", \"phone\", \"chat\", \"twitter\", \"facebook\"]).describe(\"Enum for Freshservice ticket source values.\");\nconst FreshserviceCreateTicket_TicketStatusSchema = z.enum([\"open\", \"pending\", \"resolved\", \"closed\"]).describe(\"Enum for Freshservice ticket status values.\");\nconst FreshserviceCreateTicket_TicketUrgencySchema = z.enum([\"low\", \"medium\", \"high\", \"critical\"]).describe(\"Enum for Freshservice ticket urgency values.\");\nconst FreshserviceCreateTicket_TicketPrioritySchema = z.enum([\"low\", \"medium\", \"high\", \"urgent\"]).describe(\"Enum for Freshservice ticket priority values.\");\nconst FreshserviceCreateTicket_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(),\n tags: z.array(z.string()).describe(\"Tags on the ticket\").nullable().optional(),\n type: FreshserviceCreateTicket_TicketTypeSchema.nullable().optional(),\n due_by: z.string().describe(\"Due-by timestamp\").nullable().optional(),\n impact: FreshserviceCreateTicket_TicketImpactSchema.nullable().optional(),\n source: FreshserviceCreateTicket_TicketSourceSchema.nullable(),\n status: FreshserviceCreateTicket_TicketStatusSchema.nullable(),\n subject: z.string().describe(\"Subject of the ticket\").nullable(),\n urgency: FreshserviceCreateTicket_TicketUrgencySchema.nullable().optional(),\n group_id: z.number().int().describe(\"ID of the support group\").nullable().optional(),\n priority: FreshserviceCreateTicket_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(),\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(),\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(),\n assoc_change_cause_id: z.number().int().describe(\"Associated change cause ID\").nullable().optional(),\n}).describe(\"Model representing a Freshservice ticket.\");\nexport const FreshserviceCreateTicketOutput = z.object({\n ticket: FreshserviceCreateTicket_TicketSchema.nullable(),\n}).describe(\"Response model for ticket creation.\");\n\nexport const freshserviceCreateTicket = action(\"FRESHSERVICE_CREATE_TICKET\", {\n slug: \"freshservice-create-ticket\",\n name: \"Create Ticket\",\n description: \"Tool to create a new ticket. Use when you need to log an incident or service request.\",\n input: FreshserviceCreateTicketInput,\n output: FreshserviceCreateTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,KAAK,CAAC,YAAY,iBAAiB,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,QAAQ,EAAE,KAAK;EAAC;EAAO;EAAU;CAAM,CAAC,CA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SAAS;CACxE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,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;CACvF,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAKvD,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,QAAQ,sCAAsC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
|
|
@@ -9,9 +9,7 @@ declare const FreshserviceDeleteReleaseOutput: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const freshserviceDeleteRelease: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
release_id: number;
|
|
12
|
-
},
|
|
13
|
-
success: boolean | null;
|
|
14
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
13
|
//#endregion
|
|
16
14
|
export { freshserviceDeleteRelease };
|
|
17
15
|
//# sourceMappingURL=delete-release.d.cts.map
|
|
@@ -9,9 +9,7 @@ declare const FreshserviceDeleteReleaseOutput: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const freshserviceDeleteRelease: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
release_id: number;
|
|
12
|
-
},
|
|
13
|
-
success: boolean | null;
|
|
14
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
13
|
//#endregion
|
|
16
14
|
export { freshserviceDeleteRelease };
|
|
17
15
|
//# sourceMappingURL=delete-release.d.mts.map
|
|
@@ -10,10 +10,7 @@ declare const FreshserviceDeleteSolutionArticleOutput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const freshserviceDeleteSolutionArticle: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
article_id: number;
|
|
13
|
-
},
|
|
14
|
-
message: string | null;
|
|
15
|
-
success: boolean | null;
|
|
16
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
14
|
//#endregion
|
|
18
15
|
export { freshserviceDeleteSolutionArticle };
|
|
19
16
|
//# sourceMappingURL=delete-solution-article.d.cts.map
|
|
@@ -10,10 +10,7 @@ declare const FreshserviceDeleteSolutionArticleOutput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const freshserviceDeleteSolutionArticle: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
article_id: number;
|
|
13
|
-
},
|
|
14
|
-
message: string | null;
|
|
15
|
-
success: boolean | null;
|
|
16
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
14
|
//#endregion
|
|
18
15
|
export { freshserviceDeleteSolutionArticle };
|
|
19
16
|
//# sourceMappingURL=delete-solution-article.d.mts.map
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/delete-solution-category.ts
|
|
4
4
|
const FreshserviceDeleteSolutionCategoryInput = zod.z.object({ category_id: zod.z.number().int().describe("The unique ID of the solution category to delete") }).describe("Request model for deleting a solution category in Freshservice.");
|
|
5
5
|
const FreshserviceDeleteSolutionCategoryOutput = zod.z.object({
|
|
6
|
-
status: zod.z.
|
|
7
|
-
message: zod.z.
|
|
6
|
+
status: zod.z.string().describe("Status of the deletion operation").nullable().optional(),
|
|
7
|
+
message: zod.z.string().describe("Message describing the deletion result").nullable().optional()
|
|
8
8
|
}).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",
|
|
@@ -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.
|
|
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"}
|
|
@@ -5,15 +5,12 @@ declare const FreshserviceDeleteSolutionCategoryInput: z.ZodObject<{
|
|
|
5
5
|
category_id: z.ZodNumber;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const FreshserviceDeleteSolutionCategoryOutput: z.ZodObject<{
|
|
8
|
-
status: z.
|
|
9
|
-
message: z.
|
|
8
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const freshserviceDeleteSolutionCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
category_id: number;
|
|
13
|
-
},
|
|
14
|
-
status?: string | undefined;
|
|
15
|
-
message?: string | undefined;
|
|
16
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
14
|
//#endregion
|
|
18
15
|
export { freshserviceDeleteSolutionCategory };
|
|
19
16
|
//# sourceMappingURL=delete-solution-category.d.cts.map
|
|
@@ -5,15 +5,12 @@ declare const FreshserviceDeleteSolutionCategoryInput: z.ZodObject<{
|
|
|
5
5
|
category_id: z.ZodNumber;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const FreshserviceDeleteSolutionCategoryOutput: z.ZodObject<{
|
|
8
|
-
status: z.
|
|
9
|
-
message: z.
|
|
8
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const freshserviceDeleteSolutionCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
category_id: number;
|
|
13
|
-
},
|
|
14
|
-
status?: string | undefined;
|
|
15
|
-
message?: string | undefined;
|
|
16
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
14
|
//#endregion
|
|
18
15
|
export { freshserviceDeleteSolutionCategory };
|
|
19
16
|
//# sourceMappingURL=delete-solution-category.d.mts.map
|
|
@@ -6,8 +6,8 @@ const freshserviceDeleteSolutionCategory = action("FRESHSERVICE_DELETE_SOLUTION_
|
|
|
6
6
|
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.",
|
|
7
7
|
input: z.object({ category_id: z.number().int().describe("The unique ID of the solution category to delete") }).describe("Request model for deleting a solution category in Freshservice."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
status: z.
|
|
10
|
-
message: z.
|
|
9
|
+
status: z.string().describe("Status of the deletion operation").nullable().optional(),
|
|
10
|
+
message: z.string().describe("Message describing the deletion result").nullable().optional()
|
|
11
11
|
}).describe("Response model for solution category deletion.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
@@ -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.
|
|
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"}
|
|
@@ -14,15 +14,15 @@ const FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldSchema = zod.z.obj
|
|
|
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(),
|
|
16
16
|
label: zod.z.string().describe("Display label of the field").nullable(),
|
|
17
|
-
choices: zod.z.
|
|
17
|
+
choices: zod.z.array(FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldChoiceSchema).describe("Allowed values for choice-type fields").nullable().optional(),
|
|
18
18
|
required: zod.z.boolean().describe("Whether the field is mandatory").nullable(),
|
|
19
19
|
created_at: zod.z.string().describe("Timestamp when the field was created (ISO 8601)").nullable(),
|
|
20
20
|
field_type: zod.z.string().describe("Type of the field, e.g., checkbox, dropdown, text").nullable(),
|
|
21
21
|
updated_at: zod.z.string().describe("Timestamp when the field was last updated (ISO 8601)").nullable(),
|
|
22
|
-
description: zod.z.
|
|
22
|
+
description: zod.z.string().describe("Description of the field").nullable().optional(),
|
|
23
23
|
workspace_id: zod.z.number().int().describe("Workspace to which the field belongs").nullable(),
|
|
24
24
|
default_field: zod.z.boolean().describe("Whether the field is a default field (true) or custom (false)").nullable(),
|
|
25
|
-
nested_fields: zod.z.
|
|
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
27
|
}).describe("Model representing a Freshservice problem form field.");
|
|
28
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.");
|
|
@@ -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.
|
|
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,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,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,SAAS,sCAAsC;AAClD,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,SAASA,I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{
|
|
|
9
9
|
id: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
label: z.ZodNullable<z.ZodString>;
|
|
12
|
-
choices: z.
|
|
12
|
+
choices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
13
|
value: z.ZodNullable<z.ZodString>;
|
|
14
14
|
}, z.core.$strip>>>>;
|
|
15
15
|
required: z.ZodNullable<z.ZodBoolean>;
|
|
16
16
|
created_at: z.ZodNullable<z.ZodString>;
|
|
17
17
|
field_type: z.ZodNullable<z.ZodString>;
|
|
18
18
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
19
|
-
description: z.
|
|
19
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
workspace_id: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
default_field: z.ZodNullable<z.ZodBoolean>;
|
|
22
|
-
nested_fields: z.
|
|
22
|
+
nested_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23
23
|
id: z.ZodNullable<z.ZodNumber>;
|
|
24
24
|
name: z.ZodNullable<z.ZodString>;
|
|
25
25
|
label: z.ZodNullable<z.ZodString>;
|
|
@@ -31,31 +31,7 @@ declare const FreshserviceGetProblemFormFieldsByWorkspaceOutput: z.ZodObject<{
|
|
|
31
31
|
}, z.core.$strip>;
|
|
32
32
|
declare const freshserviceGetProblemFormFieldsByWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
workspace_id?: number | undefined;
|
|
34
|
-
},
|
|
35
|
-
problem_fields: {
|
|
36
|
-
id: number | null;
|
|
37
|
-
name: string | null;
|
|
38
|
-
label: string | null;
|
|
39
|
-
required: boolean | null;
|
|
40
|
-
created_at: string | null;
|
|
41
|
-
field_type: string | null;
|
|
42
|
-
updated_at: string | null;
|
|
43
|
-
workspace_id: number | null;
|
|
44
|
-
default_field: boolean | null;
|
|
45
|
-
required_for_closure: boolean | null;
|
|
46
|
-
choices?: {
|
|
47
|
-
value: string | null;
|
|
48
|
-
}[] | undefined;
|
|
49
|
-
description?: string | undefined;
|
|
50
|
-
nested_fields?: {
|
|
51
|
-
id: number | null;
|
|
52
|
-
name: string | null;
|
|
53
|
-
label: string | null;
|
|
54
|
-
required: boolean | null;
|
|
55
|
-
field_type: string | null;
|
|
56
|
-
}[] | undefined;
|
|
57
|
-
}[];
|
|
58
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
59
35
|
//#endregion
|
|
60
36
|
export { freshserviceGetProblemFormFieldsByWorkspace };
|
|
61
37
|
//# sourceMappingURL=get-problem-form-fields-by-workspace.d.cts.map
|
|
@@ -9,17 +9,17 @@ declare const FreshserviceGetProblemFormFieldsByWorkspaceOutput: z.ZodObject<{
|
|
|
9
9
|
id: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
label: z.ZodNullable<z.ZodString>;
|
|
12
|
-
choices: z.
|
|
12
|
+
choices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
13
|
value: z.ZodNullable<z.ZodString>;
|
|
14
14
|
}, z.core.$strip>>>>;
|
|
15
15
|
required: z.ZodNullable<z.ZodBoolean>;
|
|
16
16
|
created_at: z.ZodNullable<z.ZodString>;
|
|
17
17
|
field_type: z.ZodNullable<z.ZodString>;
|
|
18
18
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
19
|
-
description: z.
|
|
19
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
workspace_id: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
default_field: z.ZodNullable<z.ZodBoolean>;
|
|
22
|
-
nested_fields: z.
|
|
22
|
+
nested_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23
23
|
id: z.ZodNullable<z.ZodNumber>;
|
|
24
24
|
name: z.ZodNullable<z.ZodString>;
|
|
25
25
|
label: z.ZodNullable<z.ZodString>;
|
|
@@ -31,31 +31,7 @@ declare const FreshserviceGetProblemFormFieldsByWorkspaceOutput: z.ZodObject<{
|
|
|
31
31
|
}, z.core.$strip>;
|
|
32
32
|
declare const freshserviceGetProblemFormFieldsByWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
workspace_id?: number | undefined;
|
|
34
|
-
},
|
|
35
|
-
problem_fields: {
|
|
36
|
-
id: number | null;
|
|
37
|
-
name: string | null;
|
|
38
|
-
label: string | null;
|
|
39
|
-
required: boolean | null;
|
|
40
|
-
created_at: string | null;
|
|
41
|
-
field_type: string | null;
|
|
42
|
-
updated_at: string | null;
|
|
43
|
-
workspace_id: number | null;
|
|
44
|
-
default_field: boolean | null;
|
|
45
|
-
required_for_closure: boolean | null;
|
|
46
|
-
choices?: {
|
|
47
|
-
value: string | null;
|
|
48
|
-
}[] | undefined;
|
|
49
|
-
description?: string | undefined;
|
|
50
|
-
nested_fields?: {
|
|
51
|
-
id: number | null;
|
|
52
|
-
name: string | null;
|
|
53
|
-
label: string | null;
|
|
54
|
-
required: boolean | null;
|
|
55
|
-
field_type: string | null;
|
|
56
|
-
}[] | undefined;
|
|
57
|
-
}[];
|
|
58
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
59
35
|
//#endregion
|
|
60
36
|
export { freshserviceGetProblemFormFieldsByWorkspace };
|
|
61
37
|
//# sourceMappingURL=get-problem-form-fields-by-workspace.d.mts.map
|
|
@@ -14,15 +14,15 @@ 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(),
|
|
16
16
|
label: z.string().describe("Display label of the field").nullable(),
|
|
17
|
-
choices: z.
|
|
17
|
+
choices: z.array(FreshserviceGetProblemFormFieldsByWorkspace_ProblemFieldChoiceSchema).describe("Allowed values for choice-type fields").nullable().optional(),
|
|
18
18
|
required: z.boolean().describe("Whether the field is mandatory").nullable(),
|
|
19
19
|
created_at: z.string().describe("Timestamp when the field was created (ISO 8601)").nullable(),
|
|
20
20
|
field_type: z.string().describe("Type of the field, e.g., checkbox, dropdown, text").nullable(),
|
|
21
21
|
updated_at: z.string().describe("Timestamp when the field was last updated (ISO 8601)").nullable(),
|
|
22
|
-
description: z.
|
|
22
|
+
description: z.string().describe("Description of the field").nullable().optional(),
|
|
23
23
|
workspace_id: z.number().int().describe("Workspace to which the field belongs").nullable(),
|
|
24
24
|
default_field: z.boolean().describe("Whether the field is a default field (true) or custom (false)").nullable(),
|
|
25
|
-
nested_fields: z.
|
|
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
27
|
}).describe("Model representing a Freshservice problem form field.");
|
|
28
28
|
const freshserviceGetProblemFormFieldsByWorkspace = action("FRESHSERVICE_GET_PROBLEM_FORM_FIELDS_BY_WORKSPACE", {
|
|
@@ -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.
|
|
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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E,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC9G,eAAe,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAKnE,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,SAAS,8DAOF;AACV,CAAC"}
|
|
@@ -6,16 +6,16 @@ const FreshserviceGetReleaseFormFields_ReleaseFieldSchema = zod.z.object({
|
|
|
6
6
|
id: zod.z.number().int().describe("Unique ID of the field").nullable(),
|
|
7
7
|
name: zod.z.string().describe("API name of the field").nullable(),
|
|
8
8
|
label: zod.z.string().describe("Display label of the field").nullable(),
|
|
9
|
-
choices: zod.z.
|
|
10
|
-
position: zod.z.
|
|
9
|
+
choices: zod.z.array(zod.z.string()).describe("List of allowed values (for choice fields)").nullable().optional(),
|
|
10
|
+
position: zod.z.number().int().describe("Display order of the field").nullable().optional(),
|
|
11
11
|
required: zod.z.boolean().describe("True if the field is mandatory").nullable(),
|
|
12
12
|
created_at: zod.z.string().describe("Timestamp when the field was added").nullable(),
|
|
13
13
|
field_type: zod.z.string().describe("Field type (e.g., default_subject, custom types)").nullable(),
|
|
14
14
|
updated_at: zod.z.string().describe("Timestamp when the field was last modified").nullable(),
|
|
15
|
-
description: zod.z.
|
|
16
|
-
workspace_id: zod.z.
|
|
15
|
+
description: zod.z.string().describe("Description of the field").nullable().optional(),
|
|
16
|
+
workspace_id: zod.z.number().int().describe("ID of the workspace this field belongs to (Employee Support Mode only)").nullable().optional(),
|
|
17
17
|
default_field: zod.z.boolean().describe("True if the field is a default system field").nullable(),
|
|
18
|
-
nested_fields: zod.z.
|
|
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
20
|
}).describe("Metadata for a single release form field.");
|
|
21
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.");
|
|
@@ -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.
|
|
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: FreshserviceGet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AC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,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"}
|
|
@@ -9,39 +9,22 @@ declare const FreshserviceGetReleaseFormFieldsOutput: z.ZodObject<{
|
|
|
9
9
|
id: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
label: z.ZodNullable<z.ZodString>;
|
|
12
|
-
choices: z.
|
|
13
|
-
position: z.
|
|
12
|
+
choices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
13
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
required: z.ZodNullable<z.ZodBoolean>;
|
|
15
15
|
created_at: z.ZodNullable<z.ZodString>;
|
|
16
16
|
field_type: z.ZodNullable<z.ZodString>;
|
|
17
17
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
18
|
-
description: z.
|
|
19
|
-
workspace_id: z.
|
|
18
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
workspace_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
default_field: z.ZodNullable<z.ZodBoolean>;
|
|
21
|
-
nested_fields: z.
|
|
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
23
|
}, z.core.$strip>>;
|
|
24
24
|
}, z.core.$strip>;
|
|
25
25
|
declare const freshserviceGetReleaseFormFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
workspace_id?: number | undefined;
|
|
27
|
-
},
|
|
28
|
-
release_fields: {
|
|
29
|
-
id: number | null;
|
|
30
|
-
name: string | null;
|
|
31
|
-
label: string | null;
|
|
32
|
-
required: boolean | null;
|
|
33
|
-
created_at: string | null;
|
|
34
|
-
field_type: string | null;
|
|
35
|
-
updated_at: string | null;
|
|
36
|
-
default_field: boolean | null;
|
|
37
|
-
required_for_closure: boolean | null;
|
|
38
|
-
choices?: string[] | undefined;
|
|
39
|
-
position?: number | undefined;
|
|
40
|
-
description?: string | undefined;
|
|
41
|
-
workspace_id?: number | undefined;
|
|
42
|
-
nested_fields?: Record<string, unknown>[] | undefined;
|
|
43
|
-
}[];
|
|
44
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
45
28
|
//#endregion
|
|
46
29
|
export { freshserviceGetReleaseFormFields };
|
|
47
30
|
//# sourceMappingURL=get-release-form-fields.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-release-form-fields.d.cts","names":[],"sources":["../../src/actions/get-release-form-fields.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAmBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA
|
|
1
|
+
{"version":3,"file":"get-release-form-fields.d.cts","names":[],"sources":["../../src/actions/get-release-form-fields.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAmBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
|