@keystrokehq/ticketmaster 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/execute-season-ticketing-command.cjs +42 -0
- package/dist/actions/execute-season-ticketing-command.cjs.map +1 -0
- package/dist/actions/execute-season-ticketing-command.d.cts +9 -0
- package/dist/actions/execute-season-ticketing-command.d.cts.map +1 -0
- package/dist/actions/execute-season-ticketing-command.d.mts +9 -0
- package/dist/actions/execute-season-ticketing-command.d.mts.map +1 -0
- package/dist/actions/execute-season-ticketing-command.mjs +39 -0
- package/dist/actions/execute-season-ticketing-command.mjs.map +1 -0
- package/dist/actions/get-attraction-details2.cjs +60 -0
- package/dist/actions/get-attraction-details2.cjs.map +1 -0
- package/dist/actions/get-attraction-details2.d.cts +9 -0
- package/dist/actions/get-attraction-details2.d.cts.map +1 -0
- package/dist/actions/get-attraction-details2.d.mts +9 -0
- package/dist/actions/get-attraction-details2.d.mts.map +1 -0
- package/dist/actions/get-attraction-details2.mjs +59 -0
- package/dist/actions/get-attraction-details2.mjs.map +1 -0
- package/dist/actions/get-attractions.cjs +41 -0
- package/dist/actions/get-attractions.cjs.map +1 -0
- package/dist/actions/get-attractions.d.cts +9 -0
- package/dist/actions/get-attractions.d.cts.map +1 -0
- package/dist/actions/get-attractions.d.mts +9 -0
- package/dist/actions/get-attractions.d.mts.map +1 -0
- package/dist/actions/get-attractions.mjs +40 -0
- package/dist/actions/get-attractions.mjs.map +1 -0
- package/dist/actions/get-classification-details.cjs +47 -0
- package/dist/actions/get-classification-details.cjs.map +1 -0
- package/dist/actions/get-classification-details.d.cts +9 -0
- package/dist/actions/get-classification-details.d.cts.map +1 -0
- package/dist/actions/get-classification-details.d.mts +9 -0
- package/dist/actions/get-classification-details.d.mts.map +1 -0
- package/dist/actions/get-classification-details.mjs +46 -0
- package/dist/actions/get-classification-details.mjs.map +1 -0
- package/dist/actions/get-classifications.cjs +57 -0
- package/dist/actions/get-classifications.cjs.map +1 -0
- package/dist/actions/get-classifications.d.cts +9 -0
- package/dist/actions/get-classifications.d.cts.map +1 -0
- package/dist/actions/get-classifications.d.mts +9 -0
- package/dist/actions/get-classifications.d.mts.map +1 -0
- package/dist/actions/get-classifications.mjs +56 -0
- package/dist/actions/get-classifications.mjs.map +1 -0
- package/dist/actions/get-event-details.cjs +141 -0
- package/dist/actions/get-event-details.cjs.map +1 -0
- package/dist/actions/get-event-details.d.cts +9 -0
- package/dist/actions/get-event-details.d.cts.map +1 -0
- package/dist/actions/get-event-details.d.mts +9 -0
- package/dist/actions/get-event-details.d.mts.map +1 -0
- package/dist/actions/get-event-details.mjs +140 -0
- package/dist/actions/get-event-details.mjs.map +1 -0
- package/dist/actions/get-event-images.cjs +32 -0
- package/dist/actions/get-event-images.cjs.map +1 -0
- package/dist/actions/get-event-images.d.cts +9 -0
- package/dist/actions/get-event-images.d.cts.map +1 -0
- package/dist/actions/get-event-images.d.mts +9 -0
- package/dist/actions/get-event-images.d.mts.map +1 -0
- package/dist/actions/get-event-images.mjs +31 -0
- package/dist/actions/get-event-images.mjs.map +1 -0
- package/dist/actions/get-events.cjs +115 -0
- package/dist/actions/get-events.cjs.map +1 -0
- package/dist/actions/get-events.d.cts +9 -0
- package/dist/actions/get-events.d.cts.map +1 -0
- package/dist/actions/get-events.d.mts +9 -0
- package/dist/actions/get-events.d.mts.map +1 -0
- package/dist/actions/get-events.mjs +114 -0
- package/dist/actions/get-events.mjs.map +1 -0
- package/dist/actions/get-genre-details.cjs +29 -0
- package/dist/actions/get-genre-details.cjs.map +1 -0
- package/dist/actions/get-genre-details.d.cts +9 -0
- package/dist/actions/get-genre-details.d.cts.map +1 -0
- package/dist/actions/get-genre-details.d.mts +9 -0
- package/dist/actions/get-genre-details.d.mts.map +1 -0
- package/dist/actions/get-genre-details.mjs +28 -0
- package/dist/actions/get-genre-details.mjs.map +1 -0
- package/dist/actions/get-section-map-image.cjs +27 -0
- package/dist/actions/get-section-map-image.cjs.map +1 -0
- package/dist/actions/get-section-map-image.d.cts +9 -0
- package/dist/actions/get-section-map-image.d.cts.map +1 -0
- package/dist/actions/get-section-map-image.d.mts +9 -0
- package/dist/actions/get-section-map-image.d.mts.map +1 -0
- package/dist/actions/get-section-map-image.mjs +26 -0
- package/dist/actions/get-section-map-image.mjs.map +1 -0
- package/dist/actions/get-segment-details.cjs +32 -0
- package/dist/actions/get-segment-details.cjs.map +1 -0
- package/dist/actions/get-segment-details.d.cts +9 -0
- package/dist/actions/get-segment-details.d.cts.map +1 -0
- package/dist/actions/get-segment-details.d.mts +9 -0
- package/dist/actions/get-segment-details.d.mts.map +1 -0
- package/dist/actions/get-segment-details.mjs +31 -0
- package/dist/actions/get-segment-details.mjs.map +1 -0
- package/dist/actions/get-subgenre-details.cjs +29 -0
- package/dist/actions/get-subgenre-details.cjs.map +1 -0
- package/dist/actions/get-subgenre-details.d.cts +9 -0
- package/dist/actions/get-subgenre-details.d.cts.map +1 -0
- package/dist/actions/get-subgenre-details.d.mts +9 -0
- package/dist/actions/get-subgenre-details.d.mts.map +1 -0
- package/dist/actions/get-subgenre-details.mjs +28 -0
- package/dist/actions/get-subgenre-details.mjs.map +1 -0
- package/dist/actions/get-suggestions2.cjs +91 -0
- package/dist/actions/get-suggestions2.cjs.map +1 -0
- package/dist/actions/get-suggestions2.d.cts +9 -0
- package/dist/actions/get-suggestions2.d.cts.map +1 -0
- package/dist/actions/get-suggestions2.d.mts +9 -0
- package/dist/actions/get-suggestions2.d.mts.map +1 -0
- package/dist/actions/get-suggestions2.mjs +90 -0
- package/dist/actions/get-suggestions2.mjs.map +1 -0
- package/dist/actions/get-venue-details2.cjs +92 -0
- package/dist/actions/get-venue-details2.cjs.map +1 -0
- package/dist/actions/get-venue-details2.d.cts +9 -0
- package/dist/actions/get-venue-details2.d.cts.map +1 -0
- package/dist/actions/get-venue-details2.d.mts +9 -0
- package/dist/actions/get-venue-details2.d.mts.map +1 -0
- package/dist/actions/get-venue-details2.mjs +91 -0
- package/dist/actions/get-venue-details2.mjs.map +1 -0
- package/dist/actions/get-venues.cjs +92 -0
- package/dist/actions/get-venues.cjs.map +1 -0
- package/dist/actions/get-venues.d.cts +9 -0
- package/dist/actions/get-venues.d.cts.map +1 -0
- package/dist/actions/get-venues.d.mts +9 -0
- package/dist/actions/get-venues.d.mts.map +1 -0
- package/dist/actions/get-venues.mjs +91 -0
- package/dist/actions/get-venues.mjs.map +1 -0
- package/dist/actions/index.cjs +31 -0
- package/dist/actions/index.d.cts +16 -0
- package/dist/actions/index.d.mts +16 -0
- package/dist/actions/index.mjs +16 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +36 -0
- package/dist/index.d.cts +18 -0
- package/dist/index.d.mts +18 -0
- package/dist/index.mjs +19 -0
- package/package.json +49 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-events.ts
|
|
4
|
+
const TicketmasterGetEventsInput = z.object({
|
|
5
|
+
id: z.string().describe("Filter by specific event ID").optional(),
|
|
6
|
+
city: z.string().describe("Filter by city name (e.g., 'Los Angeles', 'New York')").optional(),
|
|
7
|
+
page: z.number().int().default(0).describe("Page number (0-indexed). Default: 0. Note: size * page must be < 1000 due to deep paging limits").optional(),
|
|
8
|
+
size: z.number().int().default(20).describe("Number of results per page (1-200). Default: 20. Note: size * page must be < 1000 due to deep paging limits").optional(),
|
|
9
|
+
sort: z.string().describe("Sort order for results. Format: 'field,direction' (e.g., 'date,asc', 'name,desc', 'relevance,desc'). Default: 'relevance,desc'").optional(),
|
|
10
|
+
unit: z.enum(["miles", "km"]).describe("Unit of measurement for radius search").optional(),
|
|
11
|
+
dmaId: z.string().describe("Filter by DMA (Designated Market Area) ID(s). Comma-separated for multiple").optional(),
|
|
12
|
+
locale: z.string().describe("Locale for localized content in ISO format (e.g., 'en-us'). Comma-separated for multiple. Default: 'en'").optional(),
|
|
13
|
+
radius: z.number().int().describe("Radius of search area around latlong or postalCode (use with 'unit' parameter)").optional(),
|
|
14
|
+
source: z.string().describe("Filter by source name (e.g., 'ticketmaster', 'universe', 'frontgate', 'tmr')").optional(),
|
|
15
|
+
typeId: z.string().describe("Filter by event type ID(s). Comma-separated for multiple").optional(),
|
|
16
|
+
genreId: z.string().describe("Filter by genre ID(s). Comma-separated for multiple").optional(),
|
|
17
|
+
keyword: z.string().describe("Keyword to search for in event names, descriptions, or attractions (e.g., 'rock', 'Hamilton')").optional(),
|
|
18
|
+
latlong: z.string().describe("Geolocation filter as 'latitude,longitude' (use with radius and unit)").optional(),
|
|
19
|
+
venueId: z.string().describe("Filter by venue ID(s). Comma-separated for multiple").optional(),
|
|
20
|
+
geoPoint: z.string().describe("Filter events by geohash (alternative to latlong)").optional(),
|
|
21
|
+
marketId: z.string().describe("Filter by Ticketmaster market ID").optional(),
|
|
22
|
+
segmentId: z.string().describe("Filter by segment ID(s) - highest classification level (Music, Sports, Arts & Theatre, etc.). Comma-separated for multiple").optional(),
|
|
23
|
+
stateCode: z.string().describe("Filter by US state code (2-letter abbreviation)").optional(),
|
|
24
|
+
subTypeId: z.string().describe("Filter by event subtype ID(s). Comma-separated for multiple").optional(),
|
|
25
|
+
postalCode: z.string().describe("Filter events by postal code or zipcode").optional(),
|
|
26
|
+
promoterId: z.string().describe("Filter by promoter ID").optional(),
|
|
27
|
+
subGenreId: z.string().describe("Filter by subgenre ID(s). Comma-separated for multiple").optional(),
|
|
28
|
+
countryCode: z.string().describe("Filter by ISO 3166 country code (2-letter)").optional(),
|
|
29
|
+
endDateTime: z.string().describe("Filter events starting on or before this date-time (ISO-8601 format with timezone)").optional(),
|
|
30
|
+
segmentName: z.string().describe("Filter by segment name (e.g., 'Music', 'Sports', 'Arts & Theatre')").optional(),
|
|
31
|
+
attractionId: z.string().describe("Filter by attraction ID(s). Comma-separated for multiple (e.g., 'K8vZ9172A1' for a specific artist/team)").optional(),
|
|
32
|
+
includeFamily: z.enum([
|
|
33
|
+
"yes",
|
|
34
|
+
"no",
|
|
35
|
+
"only"
|
|
36
|
+
]).describe("Filter family-friendly events. 'yes'=include all, 'no'=exclude family events, 'only'=only family events").optional(),
|
|
37
|
+
startDateTime: z.string().describe("Filter events starting on or after this date-time (ISO-8601 format with timezone, e.g., '2026-03-01T00:00:00Z')").optional(),
|
|
38
|
+
classificationId: z.string().describe("Filter by classification ID(s). Comma-separated for multiple. Supports negative filtering with '-' prefix").optional(),
|
|
39
|
+
includeSpellcheck: z.enum(["yes", "no"]).describe("Include spell check suggestions for keywords. 'yes' or 'no'. Default: 'no'").optional(),
|
|
40
|
+
onsaleEndDateTime: z.string().describe("Filter events with onsale end date/time on or before this date (ISO-8601 format)").optional(),
|
|
41
|
+
classificationName: z.string().describe("Filter by classification name (segment/genre/subgenre). Supports negative filtering with '-' prefix (e.g., '-music' to exclude music)").optional(),
|
|
42
|
+
onsaleStartDateTime: z.string().describe("Filter events with onsale start date/time on or after this date (ISO-8601 format)").optional()
|
|
43
|
+
}).describe("Query parameters for searching events on Ticketmaster.");
|
|
44
|
+
const TicketmasterGetEvents_PageInfoSchema = z.object({
|
|
45
|
+
size: z.number().int().describe("Number of items per page (as requested)"),
|
|
46
|
+
number: z.number().int().describe("Current page number (0-indexed)"),
|
|
47
|
+
totalPages: z.number().int().describe("Total number of pages available"),
|
|
48
|
+
totalElements: z.number().int().describe("Total number of events matching the query")
|
|
49
|
+
});
|
|
50
|
+
const TicketmasterGetEvents_DateInfoSchema = z.object({
|
|
51
|
+
dateTBA: z.boolean().describe("Date to be announced").nullable().optional(),
|
|
52
|
+
dateTBD: z.boolean().describe("Date to be determined").nullable().optional(),
|
|
53
|
+
timeTBA: z.boolean().describe("Time to be announced").nullable().optional(),
|
|
54
|
+
dateTime: z.string().describe("Event date-time in UTC (ISO-8601)").nullable().optional(),
|
|
55
|
+
localDate: z.string().describe("Event local date (YYYY-MM-DD)").nullable().optional(),
|
|
56
|
+
localTime: z.string().describe("Event local time (HH:MM:SS)").nullable().optional()
|
|
57
|
+
});
|
|
58
|
+
const TicketmasterGetEvents_EventDatesSchema = z.object({
|
|
59
|
+
start: TicketmasterGetEvents_DateInfoSchema.nullable().optional(),
|
|
60
|
+
status: z.record(z.string(), z.unknown()).describe("Event status (e.g., code: 'onsale')").nullable().optional(),
|
|
61
|
+
timezone: z.string().describe("Timezone of the event (e.g., 'America/New_York')").nullable().optional()
|
|
62
|
+
});
|
|
63
|
+
const TicketmasterGetEvents_ImageModelSchema = z.object({
|
|
64
|
+
url: z.string().describe("Image URL"),
|
|
65
|
+
ratio: z.string().describe("Image aspect ratio (e.g., '16_9', '3_2', '4_3')").nullable().optional(),
|
|
66
|
+
width: z.number().int().describe("Image width in pixels").nullable().optional(),
|
|
67
|
+
height: z.number().int().describe("Image height in pixels").nullable().optional(),
|
|
68
|
+
fallback: z.boolean().describe("Whether this is a fallback image").nullable().optional()
|
|
69
|
+
});
|
|
70
|
+
const TicketmasterGetEvents_ClassificationSegmentSchema = z.object({
|
|
71
|
+
id: z.string().describe("Segment ID").nullable().optional(),
|
|
72
|
+
name: z.string().describe("Segment name (e.g., 'Music', 'Sports')").nullable().optional()
|
|
73
|
+
});
|
|
74
|
+
const TicketmasterGetEvents_EventClassificationSchema = z.object({
|
|
75
|
+
type: TicketmasterGetEvents_ClassificationSegmentSchema.nullable().optional(),
|
|
76
|
+
genre: TicketmasterGetEvents_ClassificationSegmentSchema.nullable().optional(),
|
|
77
|
+
primary: z.boolean().describe("Whether this is the primary classification").nullable().optional(),
|
|
78
|
+
segment: TicketmasterGetEvents_ClassificationSegmentSchema.nullable().optional(),
|
|
79
|
+
subType: TicketmasterGetEvents_ClassificationSegmentSchema.nullable().optional(),
|
|
80
|
+
subGenre: TicketmasterGetEvents_ClassificationSegmentSchema.nullable().optional()
|
|
81
|
+
});
|
|
82
|
+
const TicketmasterGetEvents_EventModelSchema = z.object({
|
|
83
|
+
id: z.string().describe("Unique event identifier"),
|
|
84
|
+
url: z.string().describe("Ticketmaster URL for the event"),
|
|
85
|
+
info: z.string().describe("General event information").nullable().optional(),
|
|
86
|
+
name: z.string().describe("Event name/title"),
|
|
87
|
+
type: z.string().describe("Event type (typically 'event')"),
|
|
88
|
+
dates: TicketmasterGetEvents_EventDatesSchema.nullable().optional(),
|
|
89
|
+
sales: z.record(z.string(), z.unknown()).describe("Sales information (public and presale dates)").nullable().optional(),
|
|
90
|
+
images: z.array(TicketmasterGetEvents_ImageModelSchema).describe("List of event images in various sizes and aspect ratios").nullable().optional(),
|
|
91
|
+
locale: z.string().describe("Event locale (e.g., 'en-us')").nullable().optional(),
|
|
92
|
+
seatmap: z.record(z.string(), z.unknown()).describe("Seatmap information with static URL").nullable().optional(),
|
|
93
|
+
promoter: z.record(z.string(), z.unknown()).describe("Event promoter information").nullable().optional(),
|
|
94
|
+
_embedded: z.record(z.string(), z.unknown()).describe("Embedded related entities (venues, attractions)").nullable().optional(),
|
|
95
|
+
pleaseNote: z.string().describe("Important notes about the event").nullable().optional(),
|
|
96
|
+
priceRanges: z.array(z.record(z.string(), z.unknown())).describe("Price range information (min, max, currency)").nullable().optional(),
|
|
97
|
+
classifications: z.array(TicketmasterGetEvents_EventClassificationSchema).describe("Event classification details (segment, genre, subgenre, etc.)").nullable().optional()
|
|
98
|
+
});
|
|
99
|
+
const TicketmasterGetEvents_EmbeddedEventsSchema = z.object({ events: z.array(TicketmasterGetEvents_EventModelSchema).describe("List of events matching the search criteria") });
|
|
100
|
+
const ticketmasterGetEvents = action("TICKETMASTER_GET_EVENTS", {
|
|
101
|
+
slug: "ticketmaster-get-events",
|
|
102
|
+
name: "Search Events",
|
|
103
|
+
description: "Search for events on Ticketmaster using various filters including location, date range, keywords, classifications, and more. This action queries the Ticketmaster Discovery API to find events matching your criteria. Results are paginated and can be sorted. Use this when you need to: search for concerts/shows/games, find events in a specific location, filter by date range, or discover events by artist/venue. Key capabilities: - Location search: by city, state, postal code, lat/long, or radius - Time filtering: events within date ranges or on-sale dates - Classification: filter by segment (Music/Sports/Arts), genre, subgenre - Keyword search: find events by name or description - Venue/Attraction: get events at specific venues or by specific artists/teams Note: Deep paging limit - size * page must be < 1000. Maximum 200 results per page.",
|
|
104
|
+
input: TicketmasterGetEventsInput,
|
|
105
|
+
output: z.object({
|
|
106
|
+
page: TicketmasterGetEvents_PageInfoSchema.nullable(),
|
|
107
|
+
_links: z.record(z.string(), z.unknown()).describe("Navigation links (self, next, prev)").nullable().optional(),
|
|
108
|
+
_embedded: TicketmasterGetEvents_EmbeddedEventsSchema.nullable().optional()
|
|
109
|
+
}).describe("Paginated response containing a list of events matching the search criteria.")
|
|
110
|
+
});
|
|
111
|
+
//#endregion
|
|
112
|
+
export { ticketmasterGetEvents };
|
|
113
|
+
|
|
114
|
+
//# sourceMappingURL=get-events.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-events.mjs","names":[],"sources":["../../src/actions/get-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TicketmasterGetEventsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Filter by specific event ID\").optional(),\n city: z.string().describe(\"Filter by city name (e.g., 'Los Angeles', 'New York')\").optional(),\n page: z.number().int().default(0).describe(\"Page number (0-indexed). Default: 0. Note: size * page must be < 1000 due to deep paging limits\").optional(),\n size: z.number().int().default(20).describe(\"Number of results per page (1-200). Default: 20. Note: size * page must be < 1000 due to deep paging limits\").optional(),\n sort: z.string().describe(\"Sort order for results. Format: 'field,direction' (e.g., 'date,asc', 'name,desc', 'relevance,desc'). Default: 'relevance,desc'\").optional(),\n unit: z.enum([\"miles\", \"km\"]).describe(\"Unit of measurement for radius search\").optional(),\n dmaId: z.string().describe(\"Filter by DMA (Designated Market Area) ID(s). Comma-separated for multiple\").optional(),\n locale: z.string().describe(\"Locale for localized content in ISO format (e.g., 'en-us'). Comma-separated for multiple. Default: 'en'\").optional(),\n radius: z.number().int().describe(\"Radius of search area around latlong or postalCode (use with 'unit' parameter)\").optional(),\n source: z.string().describe(\"Filter by source name (e.g., 'ticketmaster', 'universe', 'frontgate', 'tmr')\").optional(),\n typeId: z.string().describe(\"Filter by event type ID(s). Comma-separated for multiple\").optional(),\n genreId: z.string().describe(\"Filter by genre ID(s). Comma-separated for multiple\").optional(),\n keyword: z.string().describe(\"Keyword to search for in event names, descriptions, or attractions (e.g., 'rock', 'Hamilton')\").optional(),\n latlong: z.string().describe(\"Geolocation filter as 'latitude,longitude' (use with radius and unit)\").optional(),\n venueId: z.string().describe(\"Filter by venue ID(s). Comma-separated for multiple\").optional(),\n geoPoint: z.string().describe(\"Filter events by geohash (alternative to latlong)\").optional(),\n marketId: z.string().describe(\"Filter by Ticketmaster market ID\").optional(),\n segmentId: z.string().describe(\"Filter by segment ID(s) - highest classification level (Music, Sports, Arts & Theatre, etc.). Comma-separated for multiple\").optional(),\n stateCode: z.string().describe(\"Filter by US state code (2-letter abbreviation)\").optional(),\n subTypeId: z.string().describe(\"Filter by event subtype ID(s). Comma-separated for multiple\").optional(),\n postalCode: z.string().describe(\"Filter events by postal code or zipcode\").optional(),\n promoterId: z.string().describe(\"Filter by promoter ID\").optional(),\n subGenreId: z.string().describe(\"Filter by subgenre ID(s). Comma-separated for multiple\").optional(),\n countryCode: z.string().describe(\"Filter by ISO 3166 country code (2-letter)\").optional(),\n endDateTime: z.string().describe(\"Filter events starting on or before this date-time (ISO-8601 format with timezone)\").optional(),\n segmentName: z.string().describe(\"Filter by segment name (e.g., 'Music', 'Sports', 'Arts & Theatre')\").optional(),\n attractionId: z.string().describe(\"Filter by attraction ID(s). Comma-separated for multiple (e.g., 'K8vZ9172A1' for a specific artist/team)\").optional(),\n includeFamily: z.enum([\"yes\", \"no\", \"only\"]).describe(\"Filter family-friendly events. 'yes'=include all, 'no'=exclude family events, 'only'=only family events\").optional(),\n startDateTime: z.string().describe(\"Filter events starting on or after this date-time (ISO-8601 format with timezone, e.g., '2026-03-01T00:00:00Z')\").optional(),\n classificationId: z.string().describe(\"Filter by classification ID(s). Comma-separated for multiple. Supports negative filtering with '-' prefix\").optional(),\n includeSpellcheck: z.enum([\"yes\", \"no\"]).describe(\"Include spell check suggestions for keywords. 'yes' or 'no'. Default: 'no'\").optional(),\n onsaleEndDateTime: z.string().describe(\"Filter events with onsale end date/time on or before this date (ISO-8601 format)\").optional(),\n classificationName: z.string().describe(\"Filter by classification name (segment/genre/subgenre). Supports negative filtering with '-' prefix (e.g., '-music' to exclude music)\").optional(),\n onsaleStartDateTime: z.string().describe(\"Filter events with onsale start date/time on or after this date (ISO-8601 format)\").optional(),\n}).describe(\"Query parameters for searching events on Ticketmaster.\");\nconst TicketmasterGetEvents_PageInfoSchema: z.ZodTypeAny = z.object({\n size: z.number().int().describe(\"Number of items per page (as requested)\"),\n number: z.number().int().describe(\"Current page number (0-indexed)\"),\n totalPages: z.number().int().describe(\"Total number of pages available\"),\n totalElements: z.number().int().describe(\"Total number of events matching the query\"),\n});\nconst TicketmasterGetEvents_DateInfoSchema: z.ZodTypeAny = z.object({\n dateTBA: z.boolean().describe(\"Date to be announced\").nullable().optional(),\n dateTBD: z.boolean().describe(\"Date to be determined\").nullable().optional(),\n timeTBA: z.boolean().describe(\"Time to be announced\").nullable().optional(),\n dateTime: z.string().describe(\"Event date-time in UTC (ISO-8601)\").nullable().optional(),\n localDate: z.string().describe(\"Event local date (YYYY-MM-DD)\").nullable().optional(),\n localTime: z.string().describe(\"Event local time (HH:MM:SS)\").nullable().optional(),\n});\nconst TicketmasterGetEvents_EventDatesSchema: z.ZodTypeAny = z.object({\n start: TicketmasterGetEvents_DateInfoSchema.nullable().optional(),\n status: z.record(z.string(), z.unknown()).describe(\"Event status (e.g., code: 'onsale')\").nullable().optional(),\n timezone: z.string().describe(\"Timezone of the event (e.g., 'America/New_York')\").nullable().optional(),\n});\nconst TicketmasterGetEvents_ImageModelSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Image URL\"),\n ratio: z.string().describe(\"Image aspect ratio (e.g., '16_9', '3_2', '4_3')\").nullable().optional(),\n width: z.number().int().describe(\"Image width in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Image height in pixels\").nullable().optional(),\n fallback: z.boolean().describe(\"Whether this is a fallback image\").nullable().optional(),\n});\nconst TicketmasterGetEvents_ClassificationSegmentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Segment ID\").nullable().optional(),\n name: z.string().describe(\"Segment name (e.g., 'Music', 'Sports')\").nullable().optional(),\n});\nconst TicketmasterGetEvents_EventClassificationSchema: z.ZodTypeAny = z.object({\n type: TicketmasterGetEvents_ClassificationSegmentSchema.nullable().optional(),\n genre: TicketmasterGetEvents_ClassificationSegmentSchema.nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary classification\").nullable().optional(),\n segment: TicketmasterGetEvents_ClassificationSegmentSchema.nullable().optional(),\n subType: TicketmasterGetEvents_ClassificationSegmentSchema.nullable().optional(),\n subGenre: TicketmasterGetEvents_ClassificationSegmentSchema.nullable().optional(),\n});\nconst TicketmasterGetEvents_EventModelSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique event identifier\"),\n url: z.string().describe(\"Ticketmaster URL for the event\"),\n info: z.string().describe(\"General event information\").nullable().optional(),\n name: z.string().describe(\"Event name/title\"),\n type: z.string().describe(\"Event type (typically 'event')\"),\n dates: TicketmasterGetEvents_EventDatesSchema.nullable().optional(),\n sales: z.record(z.string(), z.unknown()).describe(\"Sales information (public and presale dates)\").nullable().optional(),\n images: z.array(TicketmasterGetEvents_ImageModelSchema).describe(\"List of event images in various sizes and aspect ratios\").nullable().optional(),\n locale: z.string().describe(\"Event locale (e.g., 'en-us')\").nullable().optional(),\n seatmap: z.record(z.string(), z.unknown()).describe(\"Seatmap information with static URL\").nullable().optional(),\n promoter: z.record(z.string(), z.unknown()).describe(\"Event promoter information\").nullable().optional(),\n _embedded: z.record(z.string(), z.unknown()).describe(\"Embedded related entities (venues, attractions)\").nullable().optional(),\n pleaseNote: z.string().describe(\"Important notes about the event\").nullable().optional(),\n priceRanges: z.array(z.record(z.string(), z.unknown())).describe(\"Price range information (min, max, currency)\").nullable().optional(),\n classifications: z.array(TicketmasterGetEvents_EventClassificationSchema).describe(\"Event classification details (segment, genre, subgenre, etc.)\").nullable().optional(),\n});\nconst TicketmasterGetEvents_EmbeddedEventsSchema: z.ZodTypeAny = z.object({\n events: z.array(TicketmasterGetEvents_EventModelSchema).describe(\"List of events matching the search criteria\"),\n});\nexport const TicketmasterGetEventsOutput: z.ZodTypeAny = z.object({\n page: TicketmasterGetEvents_PageInfoSchema.nullable(),\n _links: z.record(z.string(), z.unknown()).describe(\"Navigation links (self, next, prev)\").nullable().optional(),\n _embedded: TicketmasterGetEvents_EmbeddedEventsSchema.nullable().optional(),\n}).describe(\"Paginated response containing a list of events matching the search criteria.\");\n\nexport const ticketmasterGetEvents = action(\"TICKETMASTER_GET_EVENTS\", {\n slug: \"ticketmaster-get-events\",\n name: \"Search Events\",\n description: \"Search for events on Ticketmaster using various filters including location, date range, keywords, classifications, and more. This action queries the Ticketmaster Discovery API to find events matching your criteria. Results are paginated and can be sorted. Use this when you need to: search for concerts/shows/games, find events in a specific location, filter by date range, or discover events by artist/venue. Key capabilities: - Location search: by city, state, postal code, lat/long, or radius - Time filtering: events within date ranges or on-sale dates - Classification: filter by segment (Music/Sports/Arts), genre, subgenre - Keyword search: find events by name or description - Venue/Attraction: get events at specific venues or by specific artists/teams Note: Deep paging limit - size * page must be < 1000. Maximum 200 results per page.\",\n input: TicketmasterGetEventsInput,\n output: TicketmasterGetEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACvJ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACrK,MAAM,EAAE,KAAK,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAClH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAChJ,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC7H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,OAAO,C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D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,iBAAiB,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC;AACD,MAAM,6CAA2D,EAAE,OAAO,EACxE,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6CAA6C,EAChH,CAAC;AAOD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuD,EAAE,OAAO;EAChE,MAAM,qCAAqC,SAAS;EACpD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,WAAW,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,8EAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-genre-details.ts
|
|
4
|
+
const TicketmasterGetGenreDetailsInput = zod.z.object({ id: zod.z.string().describe("Unique identifier of the genre. Use TICKETMASTER_GET_CLASSIFICATIONS to discover valid genre IDs.") }).describe("Request model for GetGenreDetails action.");
|
|
5
|
+
const TicketmasterGetGenreDetails_SubgenreSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the subgenre"),
|
|
7
|
+
name: zod.z.string().describe("Name of the subgenre"),
|
|
8
|
+
_links: zod.z.object({}).describe("Hypermedia links for the subgenre").nullable().optional(),
|
|
9
|
+
locale: zod.z.string().describe("Locale of the subgenre").nullable().optional()
|
|
10
|
+
}).describe("Subgenre information within a genre.");
|
|
11
|
+
const TicketmasterGetGenreDetails_EmbeddedSubgenresSchema = zod.z.object({ subgenres: zod.z.array(TicketmasterGetGenreDetails_SubgenreSchema).describe("List of subgenres under this genre").nullable().optional() }).describe("Embedded subgenres data.");
|
|
12
|
+
const TicketmasterGetGenreDetailsOutput = zod.z.object({
|
|
13
|
+
id: zod.z.string().describe("Unique identifier of the genre"),
|
|
14
|
+
name: zod.z.string().describe("Name of the genre"),
|
|
15
|
+
_links: zod.z.object({}).describe("Hypermedia links for the resource"),
|
|
16
|
+
locale: zod.z.string().describe("Locale associated with the genre (e.g., en-us)").nullable().optional(),
|
|
17
|
+
_embedded: TicketmasterGetGenreDetails_EmbeddedSubgenresSchema.nullable().optional()
|
|
18
|
+
}).describe("Response schema for retrieving detailed information about a specific genre.");
|
|
19
|
+
const ticketmasterGetGenreDetails = require_action.action("TICKETMASTER_GET_GENRE_DETAILS", {
|
|
20
|
+
slug: "ticketmaster-get-genre-details",
|
|
21
|
+
name: "Get Genre Details",
|
|
22
|
+
description: "Tool to retrieve detailed information about a specific genre. Use when you need metadata for a single genre before filtering events by genre.",
|
|
23
|
+
input: TicketmasterGetGenreDetailsInput,
|
|
24
|
+
output: TicketmasterGetGenreDetailsOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.ticketmasterGetGenreDetails = ticketmasterGetGenreDetails;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=get-genre-details.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-genre-details.cjs","names":["z","action"],"sources":["../../src/actions/get-genre-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TicketmasterGetGenreDetailsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the genre. Use TICKETMASTER_GET_CLASSIFICATIONS to discover valid genre IDs.\"),\n}).describe(\"Request model for GetGenreDetails action.\");\nconst TicketmasterGetGenreDetails_SubgenreSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the subgenre\"),\n name: z.string().describe(\"Name of the subgenre\"),\n _links: z.object({}).describe(\"Hypermedia links for the subgenre\").nullable().optional(),\n locale: z.string().describe(\"Locale of the subgenre\").nullable().optional(),\n}).describe(\"Subgenre information within a genre.\");\nconst TicketmasterGetGenreDetails_EmbeddedSubgenresSchema: z.ZodTypeAny = z.object({\n subgenres: z.array(TicketmasterGetGenreDetails_SubgenreSchema).describe(\"List of subgenres under this genre\").nullable().optional(),\n}).describe(\"Embedded subgenres data.\");\nexport const TicketmasterGetGenreDetailsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the genre\"),\n name: z.string().describe(\"Name of the genre\"),\n _links: z.object({}).describe(\"Hypermedia links for the resource\"),\n locale: z.string().describe(\"Locale associated with the genre (e.g., en-us)\").nullable().optional(),\n _embedded: TicketmasterGetGenreDetails_EmbeddedSubgenresSchema.nullable().optional(),\n}).describe(\"Response schema for retrieving detailed information about a specific genre.\");\n\nexport const ticketmasterGetGenreDetails = action(\"TICKETMASTER_GET_GENRE_DETAILS\", {\n slug: \"ticketmaster-get-genre-details\",\n name: \"Get Genre Details\",\n description: \"Tool to retrieve detailed information about a specific genre. Use when you need metadata for a single genre before filtering events by genre.\",\n input: TicketmasterGetGenreDetailsInput,\n output: TicketmasterGetGenreDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,EAC7H,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,sDAAoEA,IAAAA,EAAE,OAAO,EACjF,WAAWA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,oDAAoD,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAEzF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-genre-details.d.ts
|
|
4
|
+
declare const TicketmasterGetGenreDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TicketmasterGetGenreDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ticketmasterGetGenreDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ticketmasterGetGenreDetails };
|
|
9
|
+
//# sourceMappingURL=get-genre-details.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-genre-details.d.cts","names":[],"sources":["../../src/actions/get-genre-details.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAEO;AAAA,cAU3C,iCAAA,EAAmC,CAAA,CAAE,UAMwC;AAAA,cAE7E,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-genre-details.d.ts
|
|
4
|
+
declare const TicketmasterGetGenreDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TicketmasterGetGenreDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ticketmasterGetGenreDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ticketmasterGetGenreDetails };
|
|
9
|
+
//# sourceMappingURL=get-genre-details.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-genre-details.d.mts","names":[],"sources":["../../src/actions/get-genre-details.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAEO;AAAA,cAU3C,iCAAA,EAAmC,CAAA,CAAE,UAMwC;AAAA,cAE7E,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-genre-details.ts
|
|
4
|
+
const TicketmasterGetGenreDetailsInput = z.object({ id: z.string().describe("Unique identifier of the genre. Use TICKETMASTER_GET_CLASSIFICATIONS to discover valid genre IDs.") }).describe("Request model for GetGenreDetails action.");
|
|
5
|
+
const TicketmasterGetGenreDetails_SubgenreSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique identifier of the subgenre"),
|
|
7
|
+
name: z.string().describe("Name of the subgenre"),
|
|
8
|
+
_links: z.object({}).describe("Hypermedia links for the subgenre").nullable().optional(),
|
|
9
|
+
locale: z.string().describe("Locale of the subgenre").nullable().optional()
|
|
10
|
+
}).describe("Subgenre information within a genre.");
|
|
11
|
+
const TicketmasterGetGenreDetails_EmbeddedSubgenresSchema = z.object({ subgenres: z.array(TicketmasterGetGenreDetails_SubgenreSchema).describe("List of subgenres under this genre").nullable().optional() }).describe("Embedded subgenres data.");
|
|
12
|
+
const ticketmasterGetGenreDetails = action("TICKETMASTER_GET_GENRE_DETAILS", {
|
|
13
|
+
slug: "ticketmaster-get-genre-details",
|
|
14
|
+
name: "Get Genre Details",
|
|
15
|
+
description: "Tool to retrieve detailed information about a specific genre. Use when you need metadata for a single genre before filtering events by genre.",
|
|
16
|
+
input: TicketmasterGetGenreDetailsInput,
|
|
17
|
+
output: z.object({
|
|
18
|
+
id: z.string().describe("Unique identifier of the genre"),
|
|
19
|
+
name: z.string().describe("Name of the genre"),
|
|
20
|
+
_links: z.object({}).describe("Hypermedia links for the resource"),
|
|
21
|
+
locale: z.string().describe("Locale associated with the genre (e.g., en-us)").nullable().optional(),
|
|
22
|
+
_embedded: TicketmasterGetGenreDetails_EmbeddedSubgenresSchema.nullable().optional()
|
|
23
|
+
}).describe("Response schema for retrieving detailed information about a specific genre.")
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { ticketmasterGetGenreDetails };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-genre-details.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-genre-details.mjs","names":[],"sources":["../../src/actions/get-genre-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TicketmasterGetGenreDetailsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the genre. Use TICKETMASTER_GET_CLASSIFICATIONS to discover valid genre IDs.\"),\n}).describe(\"Request model for GetGenreDetails action.\");\nconst TicketmasterGetGenreDetails_SubgenreSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the subgenre\"),\n name: z.string().describe(\"Name of the subgenre\"),\n _links: z.object({}).describe(\"Hypermedia links for the subgenre\").nullable().optional(),\n locale: z.string().describe(\"Locale of the subgenre\").nullable().optional(),\n}).describe(\"Subgenre information within a genre.\");\nconst TicketmasterGetGenreDetails_EmbeddedSubgenresSchema: z.ZodTypeAny = z.object({\n subgenres: z.array(TicketmasterGetGenreDetails_SubgenreSchema).describe(\"List of subgenres under this genre\").nullable().optional(),\n}).describe(\"Embedded subgenres data.\");\nexport const TicketmasterGetGenreDetailsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the genre\"),\n name: z.string().describe(\"Name of the genre\"),\n _links: z.object({}).describe(\"Hypermedia links for the resource\"),\n locale: z.string().describe(\"Locale associated with the genre (e.g., en-us)\").nullable().optional(),\n _embedded: TicketmasterGetGenreDetails_EmbeddedSubgenresSchema.nullable().optional(),\n}).describe(\"Response schema for retrieving detailed information about a specific genre.\");\n\nexport const ticketmasterGetGenreDetails = action(\"TICKETMASTER_GET_GENRE_DETAILS\", {\n slug: \"ticketmaster-get-genre-details\",\n name: \"Get Genre Details\",\n description: \"Tool to retrieve detailed information about a specific genre. Use when you need metadata for a single genre before filtering events by genre.\",\n input: TicketmasterGetGenreDetailsInput,\n output: Ticketmas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#region src/actions/get-section-map-image.ts
|
|
4
|
+
const TicketmasterGetSectionMapImageInput = zod.z.object({
|
|
5
|
+
app: zod.z.string().describe("Application context for the map rendering (e.g., TOPPICKS for highlighting top pick sections)").optional(),
|
|
6
|
+
event_id: zod.z.string().describe("The unique event identifier for which to retrieve the section map image"),
|
|
7
|
+
place_id: zod.z.string().describe("Specific seat or place identifier to highlight on the map").optional(),
|
|
8
|
+
system_id: zod.z.string().describe("System identifier (e.g., HOST) to specify the ticketing system context").optional(),
|
|
9
|
+
section_names: zod.z.string().describe("Specific venue sections to highlight on the map. Comma-separated for multiple sections").optional()
|
|
10
|
+
}).describe("Request model for GetSectionMapImage action.");
|
|
11
|
+
const TicketmasterGetSectionMapImage_FileDownloadableSchema = zod.z.object({
|
|
12
|
+
name: zod.z.string().describe("Name of the file"),
|
|
13
|
+
s3url: zod.z.string().describe("S3 URL of the downloaded file."),
|
|
14
|
+
mimetype: zod.z.string().describe("Mime type of the file.")
|
|
15
|
+
});
|
|
16
|
+
const TicketmasterGetSectionMapImageOutput = zod.z.object({ image: TicketmasterGetSectionMapImage_FileDownloadableSchema.nullable() }).describe("Response model for GetSectionMapImage action containing the section map image.");
|
|
17
|
+
const ticketmasterGetSectionMapImage = require_action.action("TICKETMASTER_GET_SECTION_MAP_IMAGE", {
|
|
18
|
+
slug: "ticketmaster-get-section-map-image",
|
|
19
|
+
name: "Get Section Map Image",
|
|
20
|
+
description: "Tool to retrieve the section map image for an event showing venue layout. Use when you need a visual representation of a venue's seating sections for a specific event. Optionally highlights specific sections or seats.",
|
|
21
|
+
input: TicketmasterGetSectionMapImageInput,
|
|
22
|
+
output: TicketmasterGetSectionMapImageOutput
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
exports.ticketmasterGetSectionMapImage = ticketmasterGetSectionMapImage;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-section-map-image.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-section-map-image.cjs","names":["z","action"],"sources":["../../src/actions/get-section-map-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TicketmasterGetSectionMapImageInput: z.ZodTypeAny = z.object({\n app: z.string().describe(\"Application context for the map rendering (e.g., TOPPICKS for highlighting top pick sections)\").optional(),\n event_id: z.string().describe(\"The unique event identifier for which to retrieve the section map image\"),\n place_id: z.string().describe(\"Specific seat or place identifier to highlight on the map\").optional(),\n system_id: z.string().describe(\"System identifier (e.g., HOST) to specify the ticketing system context\").optional(),\n section_names: z.string().describe(\"Specific venue sections to highlight on the map. Comma-separated for multiple sections\").optional(),\n}).describe(\"Request model for GetSectionMapImage action.\");\nconst TicketmasterGetSectionMapImage_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const TicketmasterGetSectionMapImageOutput: z.ZodTypeAny = z.object({\n image: TicketmasterGetSectionMapImage_FileDownloadableSchema.nullable(),\n}).describe(\"Response model for GetSectionMapImage action containing the section map image.\");\n\nexport const ticketmasterGetSectionMapImage = action(\"TICKETMASTER_GET_SECTION_MAP_IMAGE\", {\n slug: \"ticketmaster-get-section-map-image\",\n name: \"Get Section Map Image\",\n description: \"Tool to retrieve the section map image for an event showing venue layout. Use when you need a visual representation of a venue's seating sections for a specific event. Optionally highlights specific sections or seats.\",\n input: TicketmasterGetSectionMapImageInput,\n output: TicketmasterGetSectionMapImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACvG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAClH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AACD,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,OAAO,sDAAsD,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAE5F,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-section-map-image.d.ts
|
|
4
|
+
declare const TicketmasterGetSectionMapImageInput: z.ZodTypeAny;
|
|
5
|
+
declare const TicketmasterGetSectionMapImageOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ticketmasterGetSectionMapImage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ticketmasterGetSectionMapImage };
|
|
9
|
+
//# sourceMappingURL=get-section-map-image.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-section-map-image.d.cts","names":[],"sources":["../../src/actions/get-section-map-image.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAMO;AAAA,cAM9C,oCAAA,EAAsC,CAAA,CAAE,UAEwC;AAAA,cAEhF,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-section-map-image.d.ts
|
|
4
|
+
declare const TicketmasterGetSectionMapImageInput: z.ZodTypeAny;
|
|
5
|
+
declare const TicketmasterGetSectionMapImageOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ticketmasterGetSectionMapImage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ticketmasterGetSectionMapImage };
|
|
9
|
+
//# sourceMappingURL=get-section-map-image.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-section-map-image.d.mts","names":[],"sources":["../../src/actions/get-section-map-image.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAMO;AAAA,cAM9C,oCAAA,EAAsC,CAAA,CAAE,UAEwC;AAAA,cAEhF,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-section-map-image.ts
|
|
4
|
+
const TicketmasterGetSectionMapImageInput = z.object({
|
|
5
|
+
app: z.string().describe("Application context for the map rendering (e.g., TOPPICKS for highlighting top pick sections)").optional(),
|
|
6
|
+
event_id: z.string().describe("The unique event identifier for which to retrieve the section map image"),
|
|
7
|
+
place_id: z.string().describe("Specific seat or place identifier to highlight on the map").optional(),
|
|
8
|
+
system_id: z.string().describe("System identifier (e.g., HOST) to specify the ticketing system context").optional(),
|
|
9
|
+
section_names: z.string().describe("Specific venue sections to highlight on the map. Comma-separated for multiple sections").optional()
|
|
10
|
+
}).describe("Request model for GetSectionMapImage action.");
|
|
11
|
+
const TicketmasterGetSectionMapImage_FileDownloadableSchema = z.object({
|
|
12
|
+
name: z.string().describe("Name of the file"),
|
|
13
|
+
s3url: z.string().describe("S3 URL of the downloaded file."),
|
|
14
|
+
mimetype: z.string().describe("Mime type of the file.")
|
|
15
|
+
});
|
|
16
|
+
const ticketmasterGetSectionMapImage = action("TICKETMASTER_GET_SECTION_MAP_IMAGE", {
|
|
17
|
+
slug: "ticketmaster-get-section-map-image",
|
|
18
|
+
name: "Get Section Map Image",
|
|
19
|
+
description: "Tool to retrieve the section map image for an event showing venue layout. Use when you need a visual representation of a venue's seating sections for a specific event. Optionally highlights specific sections or seats.",
|
|
20
|
+
input: TicketmasterGetSectionMapImageInput,
|
|
21
|
+
output: z.object({ image: TicketmasterGetSectionMapImage_FileDownloadableSchema.nullable() }).describe("Response model for GetSectionMapImage action containing the section map image.")
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { ticketmasterGetSectionMapImage };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=get-section-map-image.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-section-map-image.mjs","names":[],"sources":["../../src/actions/get-section-map-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TicketmasterGetSectionMapImageInput: z.ZodTypeAny = z.object({\n app: z.string().describe(\"Application context for the map rendering (e.g., TOPPICKS for highlighting top pick sections)\").optional(),\n event_id: z.string().describe(\"The unique event identifier for which to retrieve the section map image\"),\n place_id: z.string().describe(\"Specific seat or place identifier to highlight on the map\").optional(),\n system_id: z.string().describe(\"System identifier (e.g., HOST) to specify the ticketing system context\").optional(),\n section_names: z.string().describe(\"Specific venue sections to highlight on the map. Comma-separated for multiple sections\").optional(),\n}).describe(\"Request model for GetSectionMapImage action.\");\nconst TicketmasterGetSectionMapImage_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const TicketmasterGetSectionMapImageOutput: z.ZodTypeAny = z.object({\n image: TicketmasterGetSectionMapImage_FileDownloadableSchema.nullable(),\n}).describe(\"Response model for GetSectionMapImage action containing the section map image.\");\n\nexport const ticketmasterGetSectionMapImage = action(\"TICKETMASTER_GET_SECTION_MAP_IMAGE\", {\n slug: \"ticketmaster-get-section-map-image\",\n name: \"Get Section Map Image\",\n description: \"Tool to retrieve the section map image for an event showing venue layout. Use when you need a visual representation of a venue's seating sections for a specific event. Optionally highlights specific sections or seats.\",\n input: TicketmasterGetSectionMapImageInput,\n output: TicketmasterGetSectionMapImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACvG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAClH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,wDAAsE,EAAE,OAAO;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAKD,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgE,EAAE,OAAO,EACzE,OAAO,sDAAsD,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,gFAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-segment-details.ts
|
|
4
|
+
const TicketmasterGetSegmentDetailsInput = zod.z.object({ id: zod.z.string().describe("Unique identifier of the segment to retrieve. Segments represent primary event categories like Music (KZFzniwnSyZfZ7v7nJ), Sports (KZFzniwnSyZfZ7v7nE), or Arts & Theatre (KZFzniwnSyZfZ7v7na). Obtain from Get Classifications or Get Events actions.") }).describe("Request model for GetSegmentDetails action.");
|
|
5
|
+
const TicketmasterGetSegmentDetails_GenreSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique identifier for the genre"),
|
|
7
|
+
name: zod.z.string().describe("Display name of the genre (e.g., Alternative, Rock, Classical)"),
|
|
8
|
+
_links: zod.z.object({}).describe("HATEOAS links related to this genre").nullable().optional(),
|
|
9
|
+
locale: zod.z.string().describe("Locale/language code for the genre (e.g., en-us)").nullable().optional(),
|
|
10
|
+
_embedded: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Nested data including subgenres and their details").nullable().optional()
|
|
11
|
+
});
|
|
12
|
+
const TicketmasterGetSegmentDetails_EmbeddedGenresSchema = zod.z.object({ genres: zod.z.array(TicketmasterGetSegmentDetails_GenreSchema).describe("List of genre details for this segment") });
|
|
13
|
+
const TicketmasterGetSegmentDetailsOutput = zod.z.object({
|
|
14
|
+
id: zod.z.string().describe("Unique identifier of the segment"),
|
|
15
|
+
name: zod.z.string().describe("Display name of the segment (e.g., Music, Sports, Arts & Theatre)"),
|
|
16
|
+
test: zod.z.boolean().describe("Flag indicating whether this is a test/development segment (true) or production segment (false/null)").nullable().optional(),
|
|
17
|
+
_links: zod.z.object({}).describe("HATEOAS links for navigating to related resources"),
|
|
18
|
+
locale: zod.z.string().describe("Locale/language code for the segment (e.g., en-us)").nullable().optional(),
|
|
19
|
+
_embedded: TicketmasterGetSegmentDetails_EmbeddedGenresSchema.nullable(),
|
|
20
|
+
primaryId: zod.z.string().describe("Internal primary identifier used by Ticketmaster's data administration system").nullable().optional()
|
|
21
|
+
}).describe("Response containing detailed information about a segment and its associated genres.");
|
|
22
|
+
const ticketmasterGetSegmentDetails = require_action.action("TICKETMASTER_GET_SEGMENT_DETAILS", {
|
|
23
|
+
slug: "ticketmaster-get-segment-details",
|
|
24
|
+
name: "Get Segment Details",
|
|
25
|
+
description: "Retrieve detailed information about a specific Ticketmaster event segment, including all associated genres and subgenres. Segments are the top-level classification categories for events (e.g., Music, Sports, Arts & Theatre, Family, Film, Miscellaneous). This action returns the segment's metadata along with a complete list of genres and their subgenres that fall under this segment. Use this action after obtaining a segment ID from Get Classifications or from event classification data.",
|
|
26
|
+
input: TicketmasterGetSegmentDetailsInput,
|
|
27
|
+
output: TicketmasterGetSegmentDetailsOutput
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.ticketmasterGetSegmentDetails = ticketmasterGetSegmentDetails;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=get-segment-details.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-segment-details.cjs","names":["z","action"],"sources":["../../src/actions/get-segment-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TicketmasterGetSegmentDetailsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the segment to retrieve. Segments represent primary event categories like Music (KZFzniwnSyZfZ7v7nJ), Sports (KZFzniwnSyZfZ7v7nE), or Arts & Theatre (KZFzniwnSyZfZ7v7na). Obtain from Get Classifications or Get Events actions.\"),\n}).describe(\"Request model for GetSegmentDetails action.\");\nconst TicketmasterGetSegmentDetails_GenreSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the genre\"),\n name: z.string().describe(\"Display name of the genre (e.g., Alternative, Rock, Classical)\"),\n _links: z.object({}).describe(\"HATEOAS links related to this genre\").nullable().optional(),\n locale: z.string().describe(\"Locale/language code for the genre (e.g., en-us)\").nullable().optional(),\n _embedded: z.record(z.string(), z.unknown()).describe(\"Nested data including subgenres and their details\").nullable().optional(),\n});\nconst TicketmasterGetSegmentDetails_EmbeddedGenresSchema: z.ZodTypeAny = z.object({\n genres: z.array(TicketmasterGetSegmentDetails_GenreSchema).describe(\"List of genre details for this segment\"),\n});\nexport const TicketmasterGetSegmentDetailsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the segment\"),\n name: z.string().describe(\"Display name of the segment (e.g., Music, Sports, Arts & Theatre)\"),\n test: z.boolean().describe(\"Flag indicating whether this is a test/development segment (true) or production segment (false/null)\").nullable().optional(),\n _links: z.object({}).describe(\"HATEOAS links for navigating to related resources\"),\n locale: z.string().describe(\"Locale/language code for the segment (e.g., en-us)\").nullable().optional(),\n _embedded: TicketmasterGetSegmentDetails_EmbeddedGenresSchema.nullable(),\n primaryId: z.string().describe(\"Internal primary identifier used by Ticketmaster's data administration system\").nullable().optional(),\n}).describe(\"Response containing detailed information about a segment and its associated genres.\");\n\nexport const ticketmasterGetSegmentDetails = action(\"TICKETMASTER_GET_SEGMENT_DETAILS\", {\n slug: \"ticketmaster-get-segment-details\",\n name: \"Get Segment Details\",\n description: \"Retrieve detailed information about a specific Ticketmaster event segment, including all associated genres and subgenres. Segments are the top-level classification categories for events (e.g., Music, Sports, Arts & Theatre, Family, Film, Miscellaneous). This action returns the segment's metadata along with a complete list of genres and their subgenres that fall under this segment. Use this action after obtaining a segment ID from Get Classifications or from event classification data.\",\n input: TicketmasterGetSegmentDetailsInput,\n output: TicketmasterGetSegmentDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,IAAIA,IAAAA,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AC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,qFAAqF;AAEjG,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-segment-details.d.ts
|
|
4
|
+
declare const TicketmasterGetSegmentDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TicketmasterGetSegmentDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ticketmasterGetSegmentDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ticketmasterGetSegmentDetails };
|
|
9
|
+
//# sourceMappingURL=get-segment-details.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-segment-details.d.cts","names":[],"sources":["../../src/actions/get-segment-details.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEO;AAAA,cAW7C,mCAAA,EAAqC,CAAA,CAAE,UAQ8C;AAAA,cAErF,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-segment-details.d.ts
|
|
4
|
+
declare const TicketmasterGetSegmentDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TicketmasterGetSegmentDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ticketmasterGetSegmentDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ticketmasterGetSegmentDetails };
|
|
9
|
+
//# sourceMappingURL=get-segment-details.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-segment-details.d.mts","names":[],"sources":["../../src/actions/get-segment-details.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEO;AAAA,cAW7C,mCAAA,EAAqC,CAAA,CAAE,UAQ8C;AAAA,cAErF,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-segment-details.ts
|
|
4
|
+
const TicketmasterGetSegmentDetailsInput = z.object({ id: z.string().describe("Unique identifier of the segment to retrieve. Segments represent primary event categories like Music (KZFzniwnSyZfZ7v7nJ), Sports (KZFzniwnSyZfZ7v7nE), or Arts & Theatre (KZFzniwnSyZfZ7v7na). Obtain from Get Classifications or Get Events actions.") }).describe("Request model for GetSegmentDetails action.");
|
|
5
|
+
const TicketmasterGetSegmentDetails_GenreSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique identifier for the genre"),
|
|
7
|
+
name: z.string().describe("Display name of the genre (e.g., Alternative, Rock, Classical)"),
|
|
8
|
+
_links: z.object({}).describe("HATEOAS links related to this genre").nullable().optional(),
|
|
9
|
+
locale: z.string().describe("Locale/language code for the genre (e.g., en-us)").nullable().optional(),
|
|
10
|
+
_embedded: z.record(z.string(), z.unknown()).describe("Nested data including subgenres and their details").nullable().optional()
|
|
11
|
+
});
|
|
12
|
+
const TicketmasterGetSegmentDetails_EmbeddedGenresSchema = z.object({ genres: z.array(TicketmasterGetSegmentDetails_GenreSchema).describe("List of genre details for this segment") });
|
|
13
|
+
const ticketmasterGetSegmentDetails = action("TICKETMASTER_GET_SEGMENT_DETAILS", {
|
|
14
|
+
slug: "ticketmaster-get-segment-details",
|
|
15
|
+
name: "Get Segment Details",
|
|
16
|
+
description: "Retrieve detailed information about a specific Ticketmaster event segment, including all associated genres and subgenres. Segments are the top-level classification categories for events (e.g., Music, Sports, Arts & Theatre, Family, Film, Miscellaneous). This action returns the segment's metadata along with a complete list of genres and their subgenres that fall under this segment. Use this action after obtaining a segment ID from Get Classifications or from event classification data.",
|
|
17
|
+
input: TicketmasterGetSegmentDetailsInput,
|
|
18
|
+
output: z.object({
|
|
19
|
+
id: z.string().describe("Unique identifier of the segment"),
|
|
20
|
+
name: z.string().describe("Display name of the segment (e.g., Music, Sports, Arts & Theatre)"),
|
|
21
|
+
test: z.boolean().describe("Flag indicating whether this is a test/development segment (true) or production segment (false/null)").nullable().optional(),
|
|
22
|
+
_links: z.object({}).describe("HATEOAS links for navigating to related resources"),
|
|
23
|
+
locale: z.string().describe("Locale/language code for the segment (e.g., en-us)").nullable().optional(),
|
|
24
|
+
_embedded: TicketmasterGetSegmentDetails_EmbeddedGenresSchema.nullable(),
|
|
25
|
+
primaryId: z.string().describe("Internal primary identifier used by Ticketmaster's data administration system").nullable().optional()
|
|
26
|
+
}).describe("Response containing detailed information about a segment and its associated genres.")
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { ticketmasterGetSegmentDetails };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=get-segment-details.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-segment-details.mjs","names":[],"sources":["../../src/actions/get-segment-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TicketmasterGetSegmentDetailsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the segment to retrieve. Segments represent primary event categories like Music (KZFzniwnSyZfZ7v7nJ), Sports (KZFzniwnSyZfZ7v7nE), or Arts & Theatre (KZFzniwnSyZfZ7v7na). Obtain from Get Classifications or Get Events actions.\"),\n}).describe(\"Request model for GetSegmentDetails action.\");\nconst TicketmasterGetSegmentDetails_GenreSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the genre\"),\n name: z.string().describe(\"Display name of the genre (e.g., Alternative, Rock, Classical)\"),\n _links: z.object({}).describe(\"HATEOAS links related to this genre\").nullable().optional(),\n locale: z.string().describe(\"Locale/language code for the genre (e.g., en-us)\").nullable().optional(),\n _embedded: z.record(z.string(), z.unknown()).describe(\"Nested data including subgenres and their details\").nullable().optional(),\n});\nconst TicketmasterGetSegmentDetails_EmbeddedGenresSchema: z.ZodTypeAny = z.object({\n genres: z.array(TicketmasterGetSegmentDetails_GenreSchema).describe(\"List of genre details for this segment\"),\n});\nexport const TicketmasterGetSegmentDetailsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the segment\"),\n name: z.string().describe(\"Display name of the segment (e.g., Music, Sports, Arts & Theatre)\"),\n test: z.boolean().describe(\"Flag indicating whether this is a test/development segment (true) or production segment (false/null)\").nullable().optional(),\n _links: z.object({}).describe(\"HATEOAS links for navigating to related resources\"),\n locale: z.string().describe(\"Locale/language code for the segment (e.g., en-us)\").nullable().optional(),\n _embedded: TicketmasterGetSegmentDetails_EmbeddedGenresSchema.nullable(),\n primaryId: z.string().describe(\"Internal primary identifier used by Ticketmaster's data administration system\").nullable().optional(),\n}).describe(\"Response containing detailed information about a segment and its associated genres.\");\n\nexport const ticketmasterGetSegmentDetails = action(\"TICKETMASTER_GET_SEGMENT_DETAILS\", {\n slug: \"ticketmaster-get-segment-details\",\n name: \"Get Segment Details\",\n description: \"Retrieve detailed information about a specific Ticketmaster event segment, including all associated genres and subgenres. Segments are the top-level classification categories for events (e.g., Music, Sports, Arts & Theatre, Family, Film, Miscellaneous). This action returns the segment's metadata along with a complete list of genres and their subgenres that fall under this segment. Use this action after obtaining a segment ID from Get Classifications or from event classification data.\",\n input: TicketmasterGetSegmentDetailsInput,\n output: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AAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,qFAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-subgenre-details.ts
|
|
4
|
+
const TicketmasterGetSubgenreDetailsInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("Unique identifier of the subgenre to retrieve"),
|
|
6
|
+
locale: zod.z.string().describe("Locale in which to return results (e.g., en-us)").optional()
|
|
7
|
+
}).describe("Request model for GetSubgenreDetails action.");
|
|
8
|
+
const TicketmasterGetSubgenreDetails_ParentGenreSchema = zod.z.object({
|
|
9
|
+
id: zod.z.string().describe("Parent genre ID").nullable().optional(),
|
|
10
|
+
name: zod.z.string().describe("Parent genre name").nullable().optional()
|
|
11
|
+
});
|
|
12
|
+
const TicketmasterGetSubgenreDetailsOutput = zod.z.object({
|
|
13
|
+
id: zod.z.string().describe("Subgenre ID").nullable().optional(),
|
|
14
|
+
name: zod.z.string().describe("Subgenre name").nullable().optional(),
|
|
15
|
+
_links: zod.z.object({}).describe("Hypermedia links related to this subgenre"),
|
|
16
|
+
locale: zod.z.string().describe("Locale of the record").nullable().optional(),
|
|
17
|
+
parentGenre: TicketmasterGetSubgenreDetails_ParentGenreSchema.nullable().optional()
|
|
18
|
+
}).describe("Response schema for GetSubgenreDetails action.");
|
|
19
|
+
const ticketmasterGetSubgenreDetails = require_action.action("TICKETMASTER_GET_SUBGENRE_DETAILS", {
|
|
20
|
+
slug: "ticketmaster-get-subgenre-details",
|
|
21
|
+
name: "Get Subgenre Details",
|
|
22
|
+
description: "Tool to retrieve detailed information about a specific subgenre. Use when you have a subgenre ID and need its details.",
|
|
23
|
+
input: TicketmasterGetSubgenreDetailsInput,
|
|
24
|
+
output: TicketmasterGetSubgenreDetailsOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.ticketmasterGetSubgenreDetails = ticketmasterGetSubgenreDetails;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=get-subgenre-details.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subgenre-details.cjs","names":["z","action"],"sources":["../../src/actions/get-subgenre-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TicketmasterGetSubgenreDetailsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the subgenre to retrieve\"),\n locale: z.string().describe(\"Locale in which to return results (e.g., en-us)\").optional(),\n}).describe(\"Request model for GetSubgenreDetails action.\");\nconst TicketmasterGetSubgenreDetails_ParentGenreSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Parent genre ID\").nullable().optional(),\n name: z.string().describe(\"Parent genre name\").nullable().optional(),\n});\nexport const TicketmasterGetSubgenreDetailsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Subgenre ID\").nullable().optional(),\n name: z.string().describe(\"Subgenre name\").nullable().optional(),\n _links: z.object({}).describe(\"Hypermedia links related to this subgenre\"),\n locale: z.string().describe(\"Locale of the record\").nullable().optional(),\n parentGenre: TicketmasterGetSubgenreDetails_ParentGenreSchema.nullable().optional(),\n}).describe(\"Response schema for GetSubgenreDetails action.\");\n\nexport const ticketmasterGetSubgenreDetails = action(\"TICKETMASTER_GET_SUBGENRE_DETAILS\", {\n slug: \"ticketmaster-get-subgenre-details\",\n name: \"Get Subgenre Details\",\n description: \"Tool to retrieve detailed information about a specific subgenre. Use when you have a subgenre ID and need its details.\",\n input: TicketmasterGetSubgenreDetailsInput,\n output: TicketmasterGetSubgenreDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC;AACD,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,aAAa,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-subgenre-details.d.ts
|
|
4
|
+
declare const TicketmasterGetSubgenreDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TicketmasterGetSubgenreDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ticketmasterGetSubgenreDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ticketmasterGetSubgenreDetails };
|
|
9
|
+
//# sourceMappingURL=get-subgenre-details.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subgenre-details.d.cts","names":[],"sources":["../../src/actions/get-subgenre-details.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGO;AAAA,cAK9C,oCAAA,EAAsC,CAAA,CAAE,UAMQ;AAAA,cAEhD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-subgenre-details.d.ts
|
|
4
|
+
declare const TicketmasterGetSubgenreDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TicketmasterGetSubgenreDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ticketmasterGetSubgenreDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ticketmasterGetSubgenreDetails };
|
|
9
|
+
//# sourceMappingURL=get-subgenre-details.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subgenre-details.d.mts","names":[],"sources":["../../src/actions/get-subgenre-details.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGO;AAAA,cAK9C,oCAAA,EAAsC,CAAA,CAAE,UAMQ;AAAA,cAEhD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-subgenre-details.ts
|
|
4
|
+
const TicketmasterGetSubgenreDetailsInput = z.object({
|
|
5
|
+
id: z.string().describe("Unique identifier of the subgenre to retrieve"),
|
|
6
|
+
locale: z.string().describe("Locale in which to return results (e.g., en-us)").optional()
|
|
7
|
+
}).describe("Request model for GetSubgenreDetails action.");
|
|
8
|
+
const TicketmasterGetSubgenreDetails_ParentGenreSchema = z.object({
|
|
9
|
+
id: z.string().describe("Parent genre ID").nullable().optional(),
|
|
10
|
+
name: z.string().describe("Parent genre name").nullable().optional()
|
|
11
|
+
});
|
|
12
|
+
const ticketmasterGetSubgenreDetails = action("TICKETMASTER_GET_SUBGENRE_DETAILS", {
|
|
13
|
+
slug: "ticketmaster-get-subgenre-details",
|
|
14
|
+
name: "Get Subgenre Details",
|
|
15
|
+
description: "Tool to retrieve detailed information about a specific subgenre. Use when you have a subgenre ID and need its details.",
|
|
16
|
+
input: TicketmasterGetSubgenreDetailsInput,
|
|
17
|
+
output: z.object({
|
|
18
|
+
id: z.string().describe("Subgenre ID").nullable().optional(),
|
|
19
|
+
name: z.string().describe("Subgenre name").nullable().optional(),
|
|
20
|
+
_links: z.object({}).describe("Hypermedia links related to this subgenre"),
|
|
21
|
+
locale: z.string().describe("Locale of the record").nullable().optional(),
|
|
22
|
+
parentGenre: TicketmasterGetSubgenreDetails_ParentGenreSchema.nullable().optional()
|
|
23
|
+
}).describe("Response schema for GetSubgenreDetails action.")
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { ticketmasterGetSubgenreDetails };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-subgenre-details.mjs.map
|