@superdurable/connector-zoom 0.0.0-stage → 0.2.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/LICENSE +21 -0
- package/README.md +45 -2
- package/dex-connector.json +418 -0
- package/dist/chunk-RBP47TKQ.js +383 -0
- package/dist/connection-Cq-pg7cw.d.ts +417 -0
- package/dist/index.d.ts +481 -0
- package/dist/index.js +1434 -0
- package/dist/mock.d.ts +151 -0
- package/dist/mock.js +365 -0
- package/package.json +64 -4
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
import { RefreshingCredentialProvider, SecretString, Query, Mutation, ConnectionRef } from '@superdurable/connectors-sdk';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
|
|
4
|
+
/** Connector configuration; omitted fields use manifest defaults. */
|
|
5
|
+
interface Config {
|
|
6
|
+
/** Zoom REST API base URL including /v2; leave blank for Zoom's global API, which serves accounts in every region. Enter an absolute HTTPS URL only for a test double or a gateway that serves the same API. */
|
|
7
|
+
endpoint?: string;
|
|
8
|
+
/** Maximum complete Zoom API response in bytes; enter a positive integer only to change the safety limit. A larger meeting or listing selects invalidResponse. */
|
|
9
|
+
maxResponseBytes?: number;
|
|
10
|
+
/** Delay between meetingChanged Trigger polls of the authorized user's Zoom meeting list, as a Go duration of at least 30s such as 1m or 10m; change it only to see meeting changes sooner or to spend fewer requests. Each poll reads every page of up to 300 meetings from List meetings, a Medium API that Zoom limits to 2,000 requests per day on Free accounts, so keep at least 1m there; blank uses the displayed default. Runtime value in milliseconds. */
|
|
11
|
+
pollIntervalMs?: number;
|
|
12
|
+
}
|
|
13
|
+
/** Runtime schema for manifest configuration. */
|
|
14
|
+
declare const ConfigSchema: z.ZodObject<{
|
|
15
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
16
|
+
maxResponseBytes: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
pollIntervalMs: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
/** Private connector credentials resolved by the host. */
|
|
20
|
+
interface Credentials {
|
|
21
|
+
/** Secret one-hour access token returned by Zoom after consent; Dex derives it automatically and refreshes it before expiry, so never enter it manually. */
|
|
22
|
+
accessToken: SecretString;
|
|
23
|
+
/** Non-secret Client ID copied from https://marketplace.zoom.us/ > Developer > Created apps > the General app > Basic Information > App Credentials; use the development Client ID while the app is unpublished, and blank means authorization and refresh cannot start. */
|
|
24
|
+
oauthClientId: string;
|
|
25
|
+
/** Secret Client Secret copied from the same App Credentials section at https://marketplace.zoom.us/; store it only in this credential field, and blank means authorization and refresh cannot start. */
|
|
26
|
+
oauthClientSecret: SecretString;
|
|
27
|
+
/** Secret refresh token returned by Zoom after consent; Dex stores it automatically and replaces it with the new one Zoom issues on every refresh, so never enter it manually, and a blank or 90-day-old token means reauthorization is required. */
|
|
28
|
+
refreshToken: SecretString;
|
|
29
|
+
}
|
|
30
|
+
/** Decode private credential fields for the connector. */
|
|
31
|
+
declare function decodeCredentials(value: unknown): Credentials;
|
|
32
|
+
/** Decode shared credential fields for the connector. */
|
|
33
|
+
declare function decodeSharedCredentials(value: unknown): Credentials;
|
|
34
|
+
/** Host-owned source of private connector credentials. */
|
|
35
|
+
type CredentialSource = RefreshingCredentialProvider<Credentials>;
|
|
36
|
+
/** ListMeetingsInput selects one page of the authorized user's meetings. */
|
|
37
|
+
interface ListMeetingsInput {
|
|
38
|
+
/** Type selects the meetings to list; blank lists upcoming meetings. */
|
|
39
|
+
"type"?: "live" | "previous_meetings" | "scheduled" | "upcoming" | (string & {}) | undefined;
|
|
40
|
+
/** PageSize is the number of meetings per page, from 1 to 300; zero uses Zoom's default of 30. */
|
|
41
|
+
"pageSize"?: number | undefined;
|
|
42
|
+
/** PageToken is the NextPageToken of the previous page; Zoom expires it after 15 minutes. */
|
|
43
|
+
"pageToken"?: string | undefined;
|
|
44
|
+
}
|
|
45
|
+
/** MeetingSummary is one listed meeting. Zoom truncates a listed agenda to 250
|
|
46
|
+
* characters; use getMeeting for the full agenda and the settings. */
|
|
47
|
+
interface MeetingSummary {
|
|
48
|
+
/** ID is Zoom's numeric meeting ID. */
|
|
49
|
+
"id": number;
|
|
50
|
+
/** UUID identifies the current meeting instance. */
|
|
51
|
+
"uuid"?: string | undefined;
|
|
52
|
+
/** HostID is the Zoom user ID of the meeting host. */
|
|
53
|
+
"hostId"?: string | undefined;
|
|
54
|
+
/** Topic is the meeting topic. */
|
|
55
|
+
"topic": string;
|
|
56
|
+
/** Type is Zoom's meeting type: 2 scheduled, 3 recurring without a fixed time, 8 recurring with a fixed time. */
|
|
57
|
+
"type"?: number | undefined;
|
|
58
|
+
/** StartTime is the scheduled start instant in UTC; nil for a meeting without a fixed time. */
|
|
59
|
+
"startTime"?: string | null | undefined;
|
|
60
|
+
/** DurationMinutes is the scheduled duration in minutes. */
|
|
61
|
+
"durationMinutes"?: number | undefined;
|
|
62
|
+
/** TimeZone is the IANA time zone Zoom uses to display StartTime. */
|
|
63
|
+
"timeZone"?: string | undefined;
|
|
64
|
+
/** Agenda is the meeting description, truncated by Zoom to 250 characters. */
|
|
65
|
+
"agenda"?: string | undefined;
|
|
66
|
+
/** JoinURL is the participant join link. Share it only with invitees: it can embed the passcode. */
|
|
67
|
+
"joinUrl"?: string | undefined;
|
|
68
|
+
/** CreatedAt is when Zoom created the meeting. */
|
|
69
|
+
"createdAt"?: string | null | undefined;
|
|
70
|
+
}
|
|
71
|
+
/** MeetingPage is one page of meetings in Zoom's order. */
|
|
72
|
+
interface MeetingPage {
|
|
73
|
+
/** Meetings lists the page's meetings. */
|
|
74
|
+
"meetings": Array<MeetingSummary> | null;
|
|
75
|
+
/** NextPageToken requests the next page; blank means this is the last page. */
|
|
76
|
+
"nextPageToken"?: string | undefined;
|
|
77
|
+
/** TotalRecords is Zoom's count of meetings across every page. */
|
|
78
|
+
"totalRecords": number;
|
|
79
|
+
}
|
|
80
|
+
/** GetMeetingInput identifies one meeting. */
|
|
81
|
+
interface GetMeetingInput {
|
|
82
|
+
/** MeetingID is Zoom's numeric meeting ID, such as the ID createMeeting returned. */
|
|
83
|
+
"meetingId": number;
|
|
84
|
+
}
|
|
85
|
+
/** MeetingSettings is the subset of Zoom meeting settings this connector exposes. */
|
|
86
|
+
interface MeetingSettings {
|
|
87
|
+
/** HostVideo starts the meeting with the host's video on. */
|
|
88
|
+
"hostVideo": boolean;
|
|
89
|
+
/** ParticipantVideo starts the meeting with participants' video on. */
|
|
90
|
+
"participantVideo": boolean;
|
|
91
|
+
/** JoinBeforeHost lets participants join before the host. */
|
|
92
|
+
"joinBeforeHost": boolean;
|
|
93
|
+
/** MuteUponEntry mutes participants when they join. */
|
|
94
|
+
"muteUponEntry": boolean;
|
|
95
|
+
/** WaitingRoom holds participants in a waiting room; Zoom then disables JoinBeforeHost. */
|
|
96
|
+
"waitingRoom": boolean;
|
|
97
|
+
/** AutoRecording is Zoom's automatic recording value, passed through unchanged. */
|
|
98
|
+
"autoRecording"?: "cloud" | "local" | "none" | (string & {}) | undefined;
|
|
99
|
+
}
|
|
100
|
+
/** Meeting is the safe view of one Zoom meeting. It never contains the host's
|
|
101
|
+
* start URL, which logs anyone in as the host, or any meeting passcode. */
|
|
102
|
+
interface Meeting {
|
|
103
|
+
/** ID is Zoom's numeric meeting ID, also called the meeting number. Zero means
|
|
104
|
+
* Zoom has not confirmed a meeting, as on the createMeeting uncertain branch. */
|
|
105
|
+
"id": number;
|
|
106
|
+
/** UUID identifies the current meeting instance; Zoom issues a new one after each instance ends. */
|
|
107
|
+
"uuid"?: string | undefined;
|
|
108
|
+
/** HostID is the Zoom user ID of the meeting host. */
|
|
109
|
+
"hostId"?: string | undefined;
|
|
110
|
+
/** HostEmail is the host's email address. */
|
|
111
|
+
"hostEmail"?: string | undefined;
|
|
112
|
+
/** Topic is the meeting topic. */
|
|
113
|
+
"topic": string;
|
|
114
|
+
/** Type is Zoom's meeting type: 1 instant, 2 scheduled, 3 recurring without a fixed time, 8 recurring with a fixed time. */
|
|
115
|
+
"type"?: number | undefined;
|
|
116
|
+
/** Status is Zoom's status value, such as waiting or started, passed through unchanged. */
|
|
117
|
+
"status"?: string | undefined;
|
|
118
|
+
/** StartTime is the scheduled start instant in UTC; nil for a meeting without a fixed time. */
|
|
119
|
+
"startTime"?: string | null | undefined;
|
|
120
|
+
/** DurationMinutes is the scheduled duration in minutes. */
|
|
121
|
+
"durationMinutes"?: number | undefined;
|
|
122
|
+
/** TimeZone is the IANA time zone Zoom uses to display StartTime. */
|
|
123
|
+
"timeZone"?: string | undefined;
|
|
124
|
+
/** Agenda is the meeting description. */
|
|
125
|
+
"agenda"?: string | undefined;
|
|
126
|
+
/** JoinURL is the participant join link. Share it only with invitees: it can embed the passcode. */
|
|
127
|
+
"joinUrl"?: string | undefined;
|
|
128
|
+
/** CreatedAt is when Zoom created the meeting. */
|
|
129
|
+
"createdAt"?: string | null | undefined;
|
|
130
|
+
/** Settings holds the meeting settings this connector reads and writes. */
|
|
131
|
+
"settings": MeetingSettings;
|
|
132
|
+
}
|
|
133
|
+
/** MeetingSettingsInput changes meeting settings. A nil field, or a blank
|
|
134
|
+
* AutoRecording, leaves Zoom's value, which defaults to the user's settings. */
|
|
135
|
+
interface MeetingSettingsInput {
|
|
136
|
+
/** HostVideo starts the meeting with the host's video on. */
|
|
137
|
+
"hostVideo"?: boolean | undefined;
|
|
138
|
+
/** ParticipantVideo starts the meeting with participants' video on. */
|
|
139
|
+
"participantVideo"?: boolean | undefined;
|
|
140
|
+
/** JoinBeforeHost lets participants join before the host. */
|
|
141
|
+
"joinBeforeHost"?: boolean | undefined;
|
|
142
|
+
/** MuteUponEntry mutes participants when they join. */
|
|
143
|
+
"muteUponEntry"?: boolean | undefined;
|
|
144
|
+
/** WaitingRoom holds participants in a waiting room; Zoom then disables JoinBeforeHost. */
|
|
145
|
+
"waitingRoom"?: boolean | undefined;
|
|
146
|
+
/** AutoRecording is none, local, or cloud. */
|
|
147
|
+
"autoRecording"?: "cloud" | "local" | "none" | (string & {}) | undefined;
|
|
148
|
+
}
|
|
149
|
+
/** CreateMeetingInput describes one scheduled meeting for the authorized user. */
|
|
150
|
+
interface CreateMeetingInput {
|
|
151
|
+
/** Topic is the meeting topic, 1 to 200 characters. */
|
|
152
|
+
"topic": string;
|
|
153
|
+
/** StartTime is the start instant in RFC 3339 with an explicit Z or ±hh:mm
|
|
154
|
+
* offset, such as 2026-02-24T09:00:00-08:00. It must be in the future and a
|
|
155
|
+
* whole second; a value without an offset is rejected rather than guessed. */
|
|
156
|
+
"startTime": string;
|
|
157
|
+
/** TimeZone is the IANA time zone Zoom uses to display the meeting, such as
|
|
158
|
+
* America/Los_Angeles. It never moves the instant StartTime names. */
|
|
159
|
+
"timeZone": string;
|
|
160
|
+
/** DurationMinutes is the scheduled duration, from 1 to 1440 minutes. */
|
|
161
|
+
"durationMinutes": number;
|
|
162
|
+
/** Agenda is the optional meeting description, at most 2000 characters. */
|
|
163
|
+
"agenda"?: string | undefined;
|
|
164
|
+
/** Settings optionally overrides the user's default meeting settings. */
|
|
165
|
+
"settings"?: MeetingSettingsInput | undefined;
|
|
166
|
+
}
|
|
167
|
+
/** UpdateMeetingInput patches one meeting. Every field other than MeetingID is
|
|
168
|
+
* optional, at least one must be set, and each set field replaces Zoom's value,
|
|
169
|
+
* so repeating the same patch leaves the same meeting. */
|
|
170
|
+
interface UpdateMeetingInput {
|
|
171
|
+
/** MeetingID is Zoom's numeric meeting ID. */
|
|
172
|
+
"meetingId": number;
|
|
173
|
+
/** Topic replaces the topic, 1 to 200 characters; blank leaves it. */
|
|
174
|
+
"topic"?: string | undefined;
|
|
175
|
+
/** Agenda replaces the agenda, at most 2000 characters; nil leaves it and an empty string clears it. */
|
|
176
|
+
"agenda"?: string | undefined;
|
|
177
|
+
/** StartTime moves the meeting to a future RFC 3339 instant with an explicit
|
|
178
|
+
* offset; blank leaves it. Zoom silently ignores a past start, so the connector rejects one. */
|
|
179
|
+
"startTime"?: string | undefined;
|
|
180
|
+
/** TimeZone is the IANA time zone Zoom uses to display the meeting. It is
|
|
181
|
+
* required with StartTime and must be blank without it. */
|
|
182
|
+
"timeZone"?: string | undefined;
|
|
183
|
+
/** DurationMinutes replaces the duration, from 1 to 1440 minutes; zero leaves it. */
|
|
184
|
+
"durationMinutes"?: number | undefined;
|
|
185
|
+
/** Settings changes the listed settings and leaves the others. */
|
|
186
|
+
"settings"?: MeetingSettingsInput | undefined;
|
|
187
|
+
}
|
|
188
|
+
/** UpdatedMeeting identifies the meeting Zoom patched. Zoom returns no meeting
|
|
189
|
+
* body, so read it with getMeeting to observe the stored values. */
|
|
190
|
+
interface UpdatedMeeting {
|
|
191
|
+
/** MeetingID is Zoom's numeric meeting ID. */
|
|
192
|
+
"meetingId": number;
|
|
193
|
+
}
|
|
194
|
+
/** ListPastMeetingParticipantsInput selects one page of a past meeting's participants. */
|
|
195
|
+
interface ListPastMeetingParticipantsInput {
|
|
196
|
+
/** MeetingID is Zoom's numeric meeting ID; Zoom answers for its latest ended instance. */
|
|
197
|
+
"meetingId": number;
|
|
198
|
+
/** PageSize is the number of participants per page, from 1 to 300; zero uses Zoom's default of 30. */
|
|
199
|
+
"pageSize"?: number | undefined;
|
|
200
|
+
/** PageToken is the NextPageToken of the previous page; Zoom expires it after 15 minutes. */
|
|
201
|
+
"pageToken"?: string | undefined;
|
|
202
|
+
}
|
|
203
|
+
/** MeetingParticipant is one join of a past meeting. */
|
|
204
|
+
interface MeetingParticipant {
|
|
205
|
+
/** ID is the participant's Zoom user ID when they joined signed in; blank or a
|
|
206
|
+
* meeting-specific value otherwise. */
|
|
207
|
+
"id"?: string | undefined;
|
|
208
|
+
/** Name is the participant's display name. */
|
|
209
|
+
"name"?: string | undefined;
|
|
210
|
+
/** Email is the participant's email address; Zoom leaves it blank for most people outside the host's account. */
|
|
211
|
+
"email"?: string | undefined;
|
|
212
|
+
/** JoinTime is when this join started. */
|
|
213
|
+
"joinTime"?: string | null | undefined;
|
|
214
|
+
/** LeaveTime is when this join ended. */
|
|
215
|
+
"leaveTime"?: string | null | undefined;
|
|
216
|
+
/** DurationSeconds is the time between JoinTime and LeaveTime in seconds. */
|
|
217
|
+
"durationSeconds": number;
|
|
218
|
+
/** Status is Zoom's status value, such as in_meeting or in_waiting_room, passed through unchanged. */
|
|
219
|
+
"status"?: string | undefined;
|
|
220
|
+
/** IsInternalUser reports whether the participant belongs to the host's Zoom account. */
|
|
221
|
+
"isInternalUser": boolean;
|
|
222
|
+
}
|
|
223
|
+
/** ParticipantPage is one page of a past meeting's participants. Zoom lists a
|
|
224
|
+
* person once per join, so a participant who rejoined appears more than once. */
|
|
225
|
+
interface ParticipantPage {
|
|
226
|
+
/** MeetingID is the meeting whose latest ended instance was listed. */
|
|
227
|
+
"meetingId": number;
|
|
228
|
+
/** Participants lists the page's participants. */
|
|
229
|
+
"participants": Array<MeetingParticipant> | null;
|
|
230
|
+
/** NextPageToken requests the next page; blank means this is the last page. */
|
|
231
|
+
"nextPageToken"?: string | undefined;
|
|
232
|
+
/** TotalRecords is Zoom's count of participants across every page. */
|
|
233
|
+
"totalRecords": number;
|
|
234
|
+
}
|
|
235
|
+
/** Runtime validator for ListMeetingsInput. */
|
|
236
|
+
declare const ListMeetingsInputSchema: z.ZodObject<{
|
|
237
|
+
type: z.ZodOptional<z.ZodString>;
|
|
238
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
239
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
240
|
+
}, z.core.$strict>;
|
|
241
|
+
/** Runtime validator for MeetingSummary. */
|
|
242
|
+
declare const MeetingSummarySchema: z.ZodObject<{
|
|
243
|
+
id: z.ZodNumber;
|
|
244
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
245
|
+
hostId: z.ZodOptional<z.ZodString>;
|
|
246
|
+
topic: z.ZodString;
|
|
247
|
+
type: z.ZodOptional<z.ZodNumber>;
|
|
248
|
+
startTime: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
249
|
+
durationMinutes: z.ZodOptional<z.ZodNumber>;
|
|
250
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
251
|
+
agenda: z.ZodOptional<z.ZodString>;
|
|
252
|
+
joinUrl: z.ZodOptional<z.ZodString>;
|
|
253
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
254
|
+
}, z.core.$strict>;
|
|
255
|
+
/** Runtime validator for MeetingPage. */
|
|
256
|
+
declare const MeetingPageSchema: z.ZodObject<{
|
|
257
|
+
meetings: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
258
|
+
id: z.ZodNumber;
|
|
259
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
260
|
+
hostId: z.ZodOptional<z.ZodString>;
|
|
261
|
+
topic: z.ZodString;
|
|
262
|
+
type: z.ZodOptional<z.ZodNumber>;
|
|
263
|
+
startTime: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
264
|
+
durationMinutes: z.ZodOptional<z.ZodNumber>;
|
|
265
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
266
|
+
agenda: z.ZodOptional<z.ZodString>;
|
|
267
|
+
joinUrl: z.ZodOptional<z.ZodString>;
|
|
268
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
269
|
+
}, z.core.$strict>>>;
|
|
270
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
271
|
+
totalRecords: z.ZodNumber;
|
|
272
|
+
}, z.core.$strict>;
|
|
273
|
+
/** Runtime validator for GetMeetingInput. */
|
|
274
|
+
declare const GetMeetingInputSchema: z.ZodObject<{
|
|
275
|
+
meetingId: z.ZodNumber;
|
|
276
|
+
}, z.core.$strict>;
|
|
277
|
+
/** Runtime validator for MeetingSettings. */
|
|
278
|
+
declare const MeetingSettingsSchema: z.ZodObject<{
|
|
279
|
+
hostVideo: z.ZodBoolean;
|
|
280
|
+
participantVideo: z.ZodBoolean;
|
|
281
|
+
joinBeforeHost: z.ZodBoolean;
|
|
282
|
+
muteUponEntry: z.ZodBoolean;
|
|
283
|
+
waitingRoom: z.ZodBoolean;
|
|
284
|
+
autoRecording: z.ZodOptional<z.ZodString>;
|
|
285
|
+
}, z.core.$strict>;
|
|
286
|
+
/** Runtime validator for Meeting. */
|
|
287
|
+
declare const MeetingSchema: z.ZodObject<{
|
|
288
|
+
id: z.ZodNumber;
|
|
289
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
290
|
+
hostId: z.ZodOptional<z.ZodString>;
|
|
291
|
+
hostEmail: z.ZodOptional<z.ZodString>;
|
|
292
|
+
topic: z.ZodString;
|
|
293
|
+
type: z.ZodOptional<z.ZodNumber>;
|
|
294
|
+
status: z.ZodOptional<z.ZodString>;
|
|
295
|
+
startTime: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
296
|
+
durationMinutes: z.ZodOptional<z.ZodNumber>;
|
|
297
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
298
|
+
agenda: z.ZodOptional<z.ZodString>;
|
|
299
|
+
joinUrl: z.ZodOptional<z.ZodString>;
|
|
300
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
301
|
+
settings: z.ZodObject<{
|
|
302
|
+
hostVideo: z.ZodBoolean;
|
|
303
|
+
participantVideo: z.ZodBoolean;
|
|
304
|
+
joinBeforeHost: z.ZodBoolean;
|
|
305
|
+
muteUponEntry: z.ZodBoolean;
|
|
306
|
+
waitingRoom: z.ZodBoolean;
|
|
307
|
+
autoRecording: z.ZodOptional<z.ZodString>;
|
|
308
|
+
}, z.core.$strict>;
|
|
309
|
+
}, z.core.$strict>;
|
|
310
|
+
/** Runtime validator for MeetingSettingsInput. */
|
|
311
|
+
declare const MeetingSettingsInputSchema: z.ZodObject<{
|
|
312
|
+
hostVideo: z.ZodOptional<z.ZodBoolean>;
|
|
313
|
+
participantVideo: z.ZodOptional<z.ZodBoolean>;
|
|
314
|
+
joinBeforeHost: z.ZodOptional<z.ZodBoolean>;
|
|
315
|
+
muteUponEntry: z.ZodOptional<z.ZodBoolean>;
|
|
316
|
+
waitingRoom: z.ZodOptional<z.ZodBoolean>;
|
|
317
|
+
autoRecording: z.ZodOptional<z.ZodString>;
|
|
318
|
+
}, z.core.$strict>;
|
|
319
|
+
/** Runtime validator for CreateMeetingInput. */
|
|
320
|
+
declare const CreateMeetingInputSchema: z.ZodObject<{
|
|
321
|
+
topic: z.ZodString;
|
|
322
|
+
startTime: z.ZodString;
|
|
323
|
+
timeZone: z.ZodString;
|
|
324
|
+
durationMinutes: z.ZodNumber;
|
|
325
|
+
agenda: z.ZodOptional<z.ZodString>;
|
|
326
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
327
|
+
hostVideo: z.ZodOptional<z.ZodBoolean>;
|
|
328
|
+
participantVideo: z.ZodOptional<z.ZodBoolean>;
|
|
329
|
+
joinBeforeHost: z.ZodOptional<z.ZodBoolean>;
|
|
330
|
+
muteUponEntry: z.ZodOptional<z.ZodBoolean>;
|
|
331
|
+
waitingRoom: z.ZodOptional<z.ZodBoolean>;
|
|
332
|
+
autoRecording: z.ZodOptional<z.ZodString>;
|
|
333
|
+
}, z.core.$strict>>;
|
|
334
|
+
}, z.core.$strict>;
|
|
335
|
+
/** Runtime validator for UpdateMeetingInput. */
|
|
336
|
+
declare const UpdateMeetingInputSchema: z.ZodObject<{
|
|
337
|
+
meetingId: z.ZodNumber;
|
|
338
|
+
topic: z.ZodOptional<z.ZodString>;
|
|
339
|
+
agenda: z.ZodOptional<z.ZodString>;
|
|
340
|
+
startTime: z.ZodOptional<z.ZodString>;
|
|
341
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
342
|
+
durationMinutes: z.ZodOptional<z.ZodNumber>;
|
|
343
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
344
|
+
hostVideo: z.ZodOptional<z.ZodBoolean>;
|
|
345
|
+
participantVideo: z.ZodOptional<z.ZodBoolean>;
|
|
346
|
+
joinBeforeHost: z.ZodOptional<z.ZodBoolean>;
|
|
347
|
+
muteUponEntry: z.ZodOptional<z.ZodBoolean>;
|
|
348
|
+
waitingRoom: z.ZodOptional<z.ZodBoolean>;
|
|
349
|
+
autoRecording: z.ZodOptional<z.ZodString>;
|
|
350
|
+
}, z.core.$strict>>;
|
|
351
|
+
}, z.core.$strict>;
|
|
352
|
+
/** Runtime validator for UpdatedMeeting. */
|
|
353
|
+
declare const UpdatedMeetingSchema: z.ZodObject<{
|
|
354
|
+
meetingId: z.ZodNumber;
|
|
355
|
+
}, z.core.$strict>;
|
|
356
|
+
/** Runtime validator for ListPastMeetingParticipantsInput. */
|
|
357
|
+
declare const ListPastMeetingParticipantsInputSchema: z.ZodObject<{
|
|
358
|
+
meetingId: z.ZodNumber;
|
|
359
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
360
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
361
|
+
}, z.core.$strict>;
|
|
362
|
+
/** Runtime validator for MeetingParticipant. */
|
|
363
|
+
declare const MeetingParticipantSchema: z.ZodObject<{
|
|
364
|
+
id: z.ZodOptional<z.ZodString>;
|
|
365
|
+
name: z.ZodOptional<z.ZodString>;
|
|
366
|
+
email: z.ZodOptional<z.ZodString>;
|
|
367
|
+
joinTime: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
368
|
+
leaveTime: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
369
|
+
durationSeconds: z.ZodNumber;
|
|
370
|
+
status: z.ZodOptional<z.ZodString>;
|
|
371
|
+
isInternalUser: z.ZodBoolean;
|
|
372
|
+
}, z.core.$strict>;
|
|
373
|
+
/** Runtime validator for ParticipantPage. */
|
|
374
|
+
declare const ParticipantPageSchema: z.ZodObject<{
|
|
375
|
+
meetingId: z.ZodNumber;
|
|
376
|
+
participants: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
377
|
+
id: z.ZodOptional<z.ZodString>;
|
|
378
|
+
name: z.ZodOptional<z.ZodString>;
|
|
379
|
+
email: z.ZodOptional<z.ZodString>;
|
|
380
|
+
joinTime: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
381
|
+
leaveTime: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
382
|
+
durationSeconds: z.ZodNumber;
|
|
383
|
+
status: z.ZodOptional<z.ZodString>;
|
|
384
|
+
isInternalUser: z.ZodBoolean;
|
|
385
|
+
}, z.core.$strict>>>;
|
|
386
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
387
|
+
totalRecords: z.ZodNumber;
|
|
388
|
+
}, z.core.$strict>;
|
|
389
|
+
|
|
390
|
+
/** Typed operations supplied by a client or mock. */
|
|
391
|
+
interface Operations {
|
|
392
|
+
/** Invoke listMeetings through this connection. */
|
|
393
|
+
listMeetings(): Query<ListMeetingsInput, MeetingPage>;
|
|
394
|
+
/** Invoke getMeeting through this connection. */
|
|
395
|
+
getMeeting(): Query<GetMeetingInput, Meeting>;
|
|
396
|
+
/** Invoke createMeeting through this connection. */
|
|
397
|
+
createMeeting(): Mutation<CreateMeetingInput, Meeting>;
|
|
398
|
+
/** Invoke updateMeeting through this connection. */
|
|
399
|
+
updateMeeting(): Mutation<UpdateMeetingInput, UpdatedMeeting>;
|
|
400
|
+
/** Invoke listPastMeetingParticipants through this connection. */
|
|
401
|
+
listPastMeetingParticipants(): Query<ListPastMeetingParticipantsInput, ParticipantPage>;
|
|
402
|
+
}
|
|
403
|
+
/** Named connector connection kept outside Flow state. */
|
|
404
|
+
declare class Connection<BoundOperations = Operations> {
|
|
405
|
+
/** Stable provider and connection name. */
|
|
406
|
+
readonly reference: ConnectionRef;
|
|
407
|
+
/** Bound provider operations. */
|
|
408
|
+
readonly operations: BoundOperations;
|
|
409
|
+
/** Validate a reference and bind operations. */
|
|
410
|
+
constructor(reference: ConnectionRef, operations: BoundOperations);
|
|
411
|
+
}
|
|
412
|
+
/** Bind a client to a named connection. */
|
|
413
|
+
declare function newConnection(client: Operations, reference: ConnectionRef): Connection;
|
|
414
|
+
/** Bind scripted operations to a named connection. */
|
|
415
|
+
declare function newConnectionWithOperations(operations: Operations, reference: ConnectionRef): Connection;
|
|
416
|
+
|
|
417
|
+
export { decodeSharedCredentials as A, newConnection as B, type CreateMeetingInput as C, newConnectionWithOperations as D, type GetMeetingInput as G, type ListMeetingsInput as L, type Meeting as M, type Operations as O, type ParticipantPage as P, type UpdateMeetingInput as U, Connection as a, type MeetingPage as b, type ListPastMeetingParticipantsInput as c, type UpdatedMeeting as d, type CredentialSource as e, type Credentials as f, type Config as g, ConfigSchema as h, CreateMeetingInputSchema as i, GetMeetingInputSchema as j, ListMeetingsInputSchema as k, ListPastMeetingParticipantsInputSchema as l, MeetingPageSchema as m, type MeetingParticipant as n, MeetingParticipantSchema as o, MeetingSchema as p, type MeetingSettings as q, type MeetingSettingsInput as r, MeetingSettingsInputSchema as s, MeetingSettingsSchema as t, type MeetingSummary as u, MeetingSummarySchema as v, ParticipantPageSchema as w, UpdateMeetingInputSchema as x, UpdatedMeetingSchema as y, decodeCredentials as z };
|