@@ -47,56 +47,54 @@ export function buildRecordingOutputs(): Record<string, TriggerOutput> {
4747 description : 'User UUID who triggered the event (nullable)' ,
4848 } ,
4949 data : {
50- type : 'object' ,
51- description : 'Recording data object' ,
52- } ,
53- 'data.id' : {
54- type : 'string' ,
55- description : 'Recording UUID' ,
56- } ,
57- 'data.title' : {
58- type : 'string' ,
59- description : 'Recording title' ,
60- } ,
61- 'data.start_datetime' : {
62- type : 'string' ,
63- description : 'ISO8601 start timestamp' ,
64- } ,
65- 'data.end_datetime' : {
66- type : 'string' ,
67- description : 'ISO8601 end timestamp' ,
68- } ,
69- 'data.duration_ms' : {
70- type : 'number' ,
71- description : 'Duration in milliseconds' ,
72- } ,
73- 'data.media_type' : {
74- type : 'string' ,
75- description : 'audio, transcript, or video' ,
76- } ,
77- 'data.source' : {
78- type : 'string' ,
79- description : 'Recording source (zoom, meet, local_capture, etc.)' ,
80- } ,
81- 'data.url' : {
82- type : 'string' ,
83- description : 'URL to view in Grain' ,
84- } ,
85- 'data.thumbnail_url' : {
86- type : 'string' ,
87- description : 'Thumbnail URL (nullable)' ,
88- } ,
89- 'data.tags' : {
90- type : 'array' ,
91- description : 'Array of tag strings' ,
92- } ,
93- 'data.teams' : {
94- type : 'array' ,
95- description : 'Array of team objects' ,
96- } ,
97- 'data.meeting_type' : {
98- type : 'object' ,
99- description : 'Meeting type info with id, name, scope (nullable)' ,
50+ id : {
51+ type : 'string' ,
52+ description : 'Recording UUID' ,
53+ } ,
54+ title : {
55+ type : 'string' ,
56+ description : 'Recording title' ,
57+ } ,
58+ start_datetime : {
59+ type : 'string' ,
60+ description : 'ISO8601 start timestamp' ,
61+ } ,
62+ end_datetime : {
63+ type : 'string' ,
64+ description : 'ISO8601 end timestamp' ,
65+ } ,
66+ duration_ms : {
67+ type : 'number' ,
68+ description : 'Duration in milliseconds' ,
69+ } ,
70+ media_type : {
71+ type : 'string' ,
72+ description : 'audio, transcript, or video' ,
73+ } ,
74+ source : {
75+ type : 'string' ,
76+ description : 'Recording source (zoom, meet, local_capture, etc.)' ,
77+ } ,
78+ url : {
79+ type : 'string' ,
80+ description : 'URL to view in Grain' ,
81+ } ,
82+ thumbnail_url : {
83+ type : 'string' ,
84+ description : 'Thumbnail URL (nullable)' ,
85+ } ,
86+ tags : {
87+ type : 'array' ,
88+ description : 'Array of tag strings' ,
89+ } ,
90+ teams : {
91+ type : 'array' ,
92+ description : 'Array of team objects' ,
93+ } ,
94+ meeting_type : {
95+ type : 'object' ,
96+ description : 'Meeting type info with id, name, scope (nullable)' ,
97+ } ,
10098 } ,
10199 } as Record < string , TriggerOutput >
102100}
@@ -116,52 +114,50 @@ export function buildHighlightOutputs(): Record<string, TriggerOutput> {
116114 description : 'User UUID who triggered the event' ,
117115 } ,
118116 data : {
119- type : 'object' ,
120- description : 'Highlight data object' ,
121- } ,
122- 'data.id' : {
123- type : 'string' ,
124- description : 'Highlight UUID' ,
125- } ,
126- 'data.recording_id' : {
127- type : 'string' ,
128- description : 'Parent recording UUID' ,
129- } ,
130- 'data.text' : {
131- type : 'string' ,
132- description : 'Highlight title/description' ,
133- } ,
134- 'data.transcript' : {
135- type : 'string' ,
136- description : 'Transcript text of the clip' ,
137- } ,
138- 'data.speakers' : {
139- type : 'array' ,
140- description : 'Array of speaker names' ,
141- } ,
142- 'data.timestamp' : {
143- type : 'number' ,
144- description : 'Start timestamp in ms' ,
145- } ,
146- 'data.duration' : {
147- type : 'number' ,
148- description : 'Duration in ms' ,
149- } ,
150- 'data.tags' : {
151- type : 'array' ,
152- description : 'Array of tag strings' ,
153- } ,
154- 'data.url' : {
155- type : 'string' ,
156- description : 'URL to view in Grain' ,
157- } ,
158- 'data.thumbnail_url' : {
159- type : 'string' ,
160- description : 'Thumbnail URL' ,
161- } ,
162- 'data.created_datetime' : {
163- type : 'string' ,
164- description : 'ISO8601 creation timestamp' ,
117+ id : {
118+ type : 'string' ,
119+ description : 'Highlight UUID' ,
120+ } ,
121+ recording_id : {
122+ type : 'string' ,
123+ description : 'Parent recording UUID' ,
124+ } ,
125+ text : {
126+ type : 'string' ,
127+ description : 'Highlight title/description' ,
128+ } ,
129+ transcript : {
130+ type : 'string' ,
131+ description : 'Transcript text of the clip' ,
132+ } ,
133+ speakers : {
134+ type : 'array' ,
135+ description : 'Array of speaker names' ,
136+ } ,
137+ timestamp : {
138+ type : 'number' ,
139+ description : 'Start timestamp in ms' ,
140+ } ,
141+ duration : {
142+ type : 'number' ,
143+ description : 'Duration in ms' ,
144+ } ,
145+ tags : {
146+ type : 'array' ,
147+ description : 'Array of tag strings' ,
148+ } ,
149+ url : {
150+ type : 'string' ,
151+ description : 'URL to view in Grain' ,
152+ } ,
153+ thumbnail_url : {
154+ type : 'string' ,
155+ description : 'Thumbnail URL' ,
156+ } ,
157+ created_datetime : {
158+ type : 'string' ,
159+ description : 'ISO8601 creation timestamp' ,
160+ } ,
165161 } ,
166162 } as Record < string , TriggerOutput >
167163}
@@ -181,24 +177,22 @@ export function buildStoryOutputs(): Record<string, TriggerOutput> {
181177 description : 'User UUID who triggered the event' ,
182178 } ,
183179 data : {
184- type : 'object' ,
185- description : 'Story data object' ,
186- } ,
187- 'data.id' : {
188- type : 'string' ,
189- description : 'Story UUID' ,
190- } ,
191- 'data.title' : {
192- type : 'string' ,
193- description : 'Story title' ,
194- } ,
195- 'data.url' : {
196- type : 'string' ,
197- description : 'URL to view in Grain' ,
198- } ,
199- 'data.created_datetime' : {
200- type : 'string' ,
201- description : 'ISO8601 creation timestamp' ,
180+ id : {
181+ type : 'string' ,
182+ description : 'Story UUID' ,
183+ } ,
184+ title : {
185+ type : 'string' ,
186+ description : 'Story title' ,
187+ } ,
188+ url : {
189+ type : 'string' ,
190+ description : 'URL to view in Grain' ,
191+ } ,
192+ created_datetime : {
193+ type : 'string' ,
194+ description : 'ISO8601 creation timestamp' ,
195+ } ,
202196 } ,
203197 } as Record < string , TriggerOutput >
204198}
0 commit comments