@@ -35,6 +35,34 @@ class NotetakerState(str, Enum):
35
35
MEDIA_DELETED = "media_deleted"
36
36
37
37
38
+ class NotetakerOrderBy (str , Enum ):
39
+ """
40
+ Enum representing the possible fields to order Notetaker bots by.
41
+
42
+ Values:
43
+ NAME: Order by the Notetaker's name.
44
+ JOIN_TIME: Order by the Notetaker's join time.
45
+ CREATED_AT: Order by when the Notetaker was created.
46
+ """
47
+
48
+ NAME = "name"
49
+ JOIN_TIME = "join_time"
50
+ CREATED_AT = "created_at"
51
+
52
+
53
+ class NotetakerOrderDirection (str , Enum ):
54
+ """
55
+ Enum representing the possible directions to order Notetaker bots by.
56
+
57
+ Values:
58
+ ASC: Ascending order.
59
+ DESC: Descending order.
60
+ """
61
+
62
+ ASC = "asc"
63
+ DESC = "desc"
64
+
65
+
38
66
class MeetingProvider (str , Enum ):
39
67
"""
40
68
Enum representing the possible meeting providers for Notetaker.
@@ -57,7 +85,7 @@ class NotetakerMeetingSettingsRequest(TypedDict):
57
85
Attributes:
58
86
video_recording: When true, Notetaker records the meeting's video.
59
87
audio_recording: When true, Notetaker records the meeting's audio.
60
- transcription: When true, Notetaker transcribes the meeting's audio.
88
+ transcription: When true, Notetaker transcribes the meeting's audio.
61
89
If transcription is true, audio_recording must also be true.
62
90
"""
63
91
@@ -75,7 +103,7 @@ class NotetakerMeetingSettings:
75
103
Attributes:
76
104
video_recording: When true, Notetaker records the meeting's video.
77
105
audio_recording: When true, Notetaker records the meeting's audio.
78
- transcription: When true, Notetaker transcribes the meeting's audio.
106
+ transcription: When true, Notetaker transcribes the meeting's audio.
79
107
If transcription is true, audio_recording must also be true.
80
108
"""
81
109
@@ -182,7 +210,7 @@ class InviteNotetakerRequest(TypedDict):
182
210
183
211
Attributes:
184
212
meeting_link: A meeting invitation link that Notetaker uses to join the meeting.
185
- join_time: When Notetaker should join the meeting, in Unix timestamp format.
213
+ join_time: When Notetaker should join the meeting, in Unix timestamp format.
186
214
If empty, Notetaker joins the meeting immediately.
187
215
name: The display name for the Notetaker bot.
188
216
meeting_settings: Notetaker Meeting Settings.
@@ -217,23 +245,41 @@ class ListNotetakerQueryParams(ListQueryParams):
217
245
state: Filter for Notetaker bots with the specified meeting state.
218
246
Use the NotetakerState enum.
219
247
Example: state=NotetakerState.SCHEDULED
220
- join_time_from: Filter for Notetaker bots that are scheduled to join meetings after the specified time.
221
- join_time_until: Filter for Notetaker bots that are scheduled to join meetings until the specified time.
248
+ join_time_start: Filter for Notetaker bots that have join times that start at or after a specific time,
249
+ in Unix timestamp format.
250
+ join_time_end: Filter for Notetaker bots that have join times that end at or are before a specific time,
251
+ in Unix timestamp format.
222
252
limit: The maximum number of objects to return. This field defaults to 50. The maximum allowed value is 200.
223
253
page_token: An identifier that specifies which page of data to return.
224
254
prev_page_token: An identifier that specifies which page of data to return.
255
+ order_by: The field to order the Notetaker bots by. Defaults to created_at.
256
+ Use the NotetakerOrderBy enum.
257
+ Example: order_by=NotetakerOrderBy.NAME
258
+ order_direction: The direction to order the Notetaker bots by. Defaults to asc.
259
+ Use the NotetakerOrderDirection enum.
260
+ Example: order_direction=NotetakerOrderDirection.DESC
225
261
"""
226
262
227
263
state : NotRequired [NotetakerState ]
228
- join_time_from : NotRequired [int ]
229
- join_time_until : NotRequired [int ]
264
+ join_time_start : NotRequired [int ]
265
+ join_time_end : NotRequired [int ]
266
+ order_by : NotRequired [NotetakerOrderBy ]
267
+ order_direction : NotRequired [NotetakerOrderDirection ]
230
268
231
269
def __post_init__ (self ):
232
- """Convert NotetakerState enum to string value for API requests."""
270
+ """Convert enums to string values for API requests."""
233
271
super ().__post_init__ ()
234
272
# Convert state enum to string if present
235
273
if hasattr (self , "state" ) and isinstance (self .state , NotetakerState ):
236
274
self .state = self .state .value
275
+ # Convert order_by enum to string if present
276
+ if hasattr (self , "order_by" ) and isinstance (self .order_by , NotetakerOrderBy ):
277
+ self .order_by = self .order_by .value
278
+ # Convert order_direction enum to string if present
279
+ if hasattr (self , "order_direction" ) and isinstance (
280
+ self .order_direction , NotetakerOrderDirection
281
+ ):
282
+ self .order_direction = self .order_direction .value
237
283
238
284
239
285
class FindNotetakerQueryParams (TypedDict ):
0 commit comments