@automate.ax/integration-contracts 0.75.0 → 0.77.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/dist/airtable/api.js +1 -1
- package/dist/airtable/index.d.ts +1 -1
- package/dist/airtable/index.js +1 -1
- package/dist/airtable/schemas.d.ts +1 -1
- package/dist/airtable/schemas.js +1 -1
- package/dist/asana/api.d.ts +1 -1
- package/dist/asana/api.js +1 -1
- package/dist/asana/index.d.ts +1 -1
- package/dist/asana/index.js +1 -1
- package/dist/asana/schemas.d.ts +1 -1
- package/dist/asana/schemas.js +1 -1
- package/dist/brevo/api.d.ts +1 -1
- package/dist/brevo/api.js +1 -1
- package/dist/brevo/index.d.ts +1 -1
- package/dist/brevo/index.js +1 -1
- package/dist/brevo/schemas.d.ts +1 -1
- package/dist/brevo/schemas.js +1 -1
- package/dist/github/index.d.ts +1 -1
- package/dist/github/index.js +1 -1
- package/dist/github/schemas.d.ts +1 -1
- package/dist/github/schemas.js +1 -1
- package/dist/gmail/gmail.d.ts +1 -1
- package/dist/gmail/gmail.js +4 -3
- package/dist/gmail/index.d.ts +1 -1
- package/dist/gmail/index.js +1 -1
- package/dist/gmail/schemas.d.ts +417 -5
- package/dist/gmail/schemas.js +107 -3
- package/dist/google-calendar/event-schemas.d.ts +1 -1
- package/dist/google-calendar/event-schemas.js +1 -1
- package/dist/google-calendar/google-calendar.d.ts +1 -1
- package/dist/google-calendar/google-calendar.js +1 -1
- package/dist/google-calendar/index.d.ts +1 -1
- package/dist/google-calendar/index.js +1 -1
- package/dist/google-calendar/schemas.d.ts +1 -1
- package/dist/google-calendar/schemas.js +1 -1
- package/dist/google-forms/event-schemas.d.ts +1 -1
- package/dist/google-forms/event-schemas.js +1 -1
- package/dist/google-forms/google-forms.d.ts +1 -1
- package/dist/google-forms/google-forms.js +1 -1
- package/dist/google-forms/index.d.ts +1 -1
- package/dist/google-forms/index.js +1 -1
- package/dist/google-forms/schemas.d.ts +1 -1
- package/dist/google-forms/schemas.js +1 -1
- package/dist/google-meet/google-meet.d.ts +173 -0
- package/dist/google-meet/google-meet.js +371 -0
- package/dist/google-meet/index.d.ts +295 -0
- package/dist/google-meet/index.js +87 -0
- package/dist/google-meet/schemas.d.ts +269 -0
- package/dist/google-meet/schemas.js +197 -0
- package/dist/linear/api.d.ts +1 -1
- package/dist/linear/api.js +1 -1
- package/dist/linear/index.d.ts +1 -1
- package/dist/linear/index.js +1 -1
- package/dist/linear/schemas.d.ts +91 -1
- package/dist/linear/schemas.js +64 -1
- package/dist/outlook/graph.d.ts +1 -1
- package/dist/outlook/graph.js +1 -1
- package/dist/outlook/index.d.ts +2 -2
- package/dist/outlook/index.js +1 -1
- package/dist/outlook/schemas.d.ts +7 -7
- package/dist/outlook/schemas.js +1 -1
- package/dist/resend/index.d.ts +1 -1
- package/dist/resend/index.js +1 -1
- package/dist/resend/schemas.d.ts +1 -1
- package/dist/resend/schemas.js +1 -1
- package/dist/slack/index.d.ts +1 -1
- package/dist/slack/index.js +1 -1
- package/dist/slack/schemas.d.ts +1 -1
- package/dist/slack/schemas.js +1 -1
- package/dist/teams/graph.d.ts +1 -1
- package/dist/teams/graph.js +1 -1
- package/dist/teams/index.d.ts +1 -1
- package/dist/teams/index.js +1 -1
- package/dist/teams/schemas.d.ts +1 -1
- package/dist/teams/schemas.js +1 -1
- package/dist/trello/api.d.ts +1 -1
- package/dist/trello/api.js +1 -1
- package/dist/trello/event-schemas.d.ts +1 -1
- package/dist/trello/event-schemas.js +1 -1
- package/dist/trello/index.d.ts +1 -1
- package/dist/trello/index.js +1 -1
- package/dist/trello/schemas.d.ts +1 -1
- package/dist/trello/schemas.js +1 -1
- package/dist/triggers.d.ts +2 -1
- package/dist/triggers.js +2 -0
- package/dist/vercel/index.d.ts +1 -1
- package/dist/vercel/index.js +1 -1
- package/dist/vercel/schemas.d.ts +1 -1
- package/dist/vercel/schemas.js +1 -1
- package/dist/whatsapp/api.d.ts +1 -1
- package/dist/whatsapp/api.js +1 -1
- package/dist/whatsapp/index.d.ts +1 -1
- package/dist/whatsapp/index.js +1 -1
- package/dist/whatsapp/schemas.d.ts +1 -1
- package/dist/whatsapp/schemas.js +1 -1
- package/package.json +11 -5
- package/src/airtable/api.ts +1 -1
- package/src/airtable/index.ts +1 -1
- package/src/airtable/schemas.ts +1 -1
- package/src/asana/api.ts +1 -1
- package/src/asana/index.ts +1 -1
- package/src/asana/schemas.ts +1 -1
- package/src/brevo/api.ts +1 -1
- package/src/brevo/index.ts +1 -1
- package/src/brevo/schemas.ts +1 -1
- package/src/github/index.ts +1 -1
- package/src/github/schemas.ts +1 -1
- package/src/gmail/gmail.ts +4 -3
- package/src/gmail/index.ts +1 -1
- package/src/gmail/schemas.ts +107 -3
- package/src/google-calendar/event-schemas.ts +1 -1
- package/src/google-calendar/google-calendar.ts +1 -1
- package/src/google-calendar/index.ts +1 -1
- package/src/google-calendar/schemas.ts +1 -1
- package/src/google-forms/event-schemas.ts +1 -1
- package/src/google-forms/google-forms.ts +1 -1
- package/src/google-forms/index.ts +1 -1
- package/src/google-forms/schemas.ts +1 -1
- package/src/google-meet/google-meet.ts +445 -0
- package/src/google-meet/index.ts +117 -0
- package/src/google-meet/schemas.ts +274 -0
- package/src/linear/api.ts +1 -1
- package/src/linear/index.ts +1 -1
- package/src/linear/schemas.ts +84 -1
- package/src/outlook/graph.ts +1 -1
- package/src/outlook/index.ts +1 -1
- package/src/outlook/schemas.ts +1 -1
- package/src/resend/index.ts +1 -1
- package/src/resend/schemas.ts +1 -1
- package/src/slack/index.ts +1 -1
- package/src/slack/schemas.ts +1 -1
- package/src/teams/graph.ts +1 -1
- package/src/teams/index.ts +1 -1
- package/src/teams/schemas.ts +1 -1
- package/src/trello/api.ts +1 -1
- package/src/trello/event-schemas.ts +1 -1
- package/src/trello/index.ts +1 -1
- package/src/trello/schemas.ts +1 -1
- package/src/triggers.ts +3 -0
- package/src/vercel/index.ts +1 -1
- package/src/vercel/schemas.ts +1 -1
- package/src/whatsapp/api.ts +1 -1
- package/src/whatsapp/index.ts +1 -1
- package/src/whatsapp/schemas.ts +1 -1
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
import { auth, meet } from "@googleapis/meet";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { GOOGLE_MEET_CONFERENCE_RECORD_SCHEMA, GOOGLE_MEET_PARTICIPANT_SCHEMA, GOOGLE_MEET_PARTICIPANT_SESSION_SCHEMA, GOOGLE_MEET_RECORDING_SCHEMA, GOOGLE_MEET_SMART_NOTE_SCHEMA, GOOGLE_MEET_SPACE_CONFIG_SCHEMA, GOOGLE_MEET_SPACE_SCHEMA, GOOGLE_MEET_TRANSCRIPT_ENTRY_SCHEMA, GOOGLE_MEET_TRANSCRIPT_SCHEMA, } from "./schemas.js";
|
|
4
|
+
const GOOGLE_MEET_SECRET_SCHEMA = z.object({
|
|
5
|
+
accessToken: z.string().min(1),
|
|
6
|
+
});
|
|
7
|
+
const GOOGLE_MEET_HOSTS = new Set(["meet.google.com", "meet.google"]);
|
|
8
|
+
/**
|
|
9
|
+
* Creates the official Meet client from a resolved Google integration secret.
|
|
10
|
+
*
|
|
11
|
+
* @param secret - Refreshed Google integration secret.
|
|
12
|
+
*/
|
|
13
|
+
export function getGoogleMeetApi(secret) {
|
|
14
|
+
const { accessToken } = GOOGLE_MEET_SECRET_SCHEMA.parse(secret);
|
|
15
|
+
return meet({
|
|
16
|
+
auth: new auth.OAuth2({ credentials: { access_token: accessToken } }),
|
|
17
|
+
version: "v2",
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Accepts a space resource name, meeting code, opaque space ID, or Meet URL.
|
|
22
|
+
*
|
|
23
|
+
* @param space - Meeting-space reference to normalize.
|
|
24
|
+
* @throws When a URL does not point to Google Meet.
|
|
25
|
+
*/
|
|
26
|
+
export function normalizeGoogleMeetSpaceName(space) {
|
|
27
|
+
const value = space.trim();
|
|
28
|
+
if (value.startsWith("spaces/"))
|
|
29
|
+
return value;
|
|
30
|
+
if (!URL.canParse(value))
|
|
31
|
+
return `spaces/${value}`;
|
|
32
|
+
const url = new URL(value);
|
|
33
|
+
if (!GOOGLE_MEET_HOSTS.has(url.hostname)) {
|
|
34
|
+
throw new Error(`Expected a Google Meet URL, received "${value}".`);
|
|
35
|
+
}
|
|
36
|
+
const meetingCode = url.pathname.split("/").find(Boolean);
|
|
37
|
+
if (!meetingCode) {
|
|
38
|
+
throw new Error(`Expected a Google Meet meeting URL, received "${value}".`);
|
|
39
|
+
}
|
|
40
|
+
return `spaces/${meetingCode}`;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Accepts a conference-record resource name or raw record ID.
|
|
44
|
+
*
|
|
45
|
+
* @param record - Conference-record reference to normalize.
|
|
46
|
+
*/
|
|
47
|
+
export function normalizeGoogleMeetConferenceRecordName(record) {
|
|
48
|
+
const value = record.trim();
|
|
49
|
+
return value.startsWith("conferenceRecords/")
|
|
50
|
+
? value
|
|
51
|
+
: `conferenceRecords/${value}`;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Converts a code-first space configuration into Google's request shape.
|
|
55
|
+
*
|
|
56
|
+
* @param config - Public meeting-space configuration.
|
|
57
|
+
*/
|
|
58
|
+
export function toGoogleMeetSpaceConfig(config) {
|
|
59
|
+
return {
|
|
60
|
+
accessType: config.accessType?.toUpperCase(),
|
|
61
|
+
artifactConfig: config.artifacts
|
|
62
|
+
? {
|
|
63
|
+
recordingConfig: {
|
|
64
|
+
autoRecordingGeneration: toAutoGeneration(config.artifacts.recording),
|
|
65
|
+
},
|
|
66
|
+
smartNotesConfig: {
|
|
67
|
+
autoSmartNotesGeneration: toAutoGeneration(config.artifacts.smartNotes),
|
|
68
|
+
},
|
|
69
|
+
transcriptionConfig: {
|
|
70
|
+
autoTranscriptionGeneration: toAutoGeneration(config.artifacts.transcription),
|
|
71
|
+
},
|
|
72
|
+
}
|
|
73
|
+
: undefined,
|
|
74
|
+
attendanceReportGenerationType: config.attendanceReport === undefined
|
|
75
|
+
? undefined
|
|
76
|
+
: config.attendanceReport
|
|
77
|
+
? "GENERATE_REPORT"
|
|
78
|
+
: "DO_NOT_GENERATE",
|
|
79
|
+
entryPointAccess: config.entryPointAccess === "creatorAppOnly"
|
|
80
|
+
? "CREATOR_APP_ONLY"
|
|
81
|
+
: config.entryPointAccess?.toUpperCase(),
|
|
82
|
+
moderation: config.moderation === undefined
|
|
83
|
+
? undefined
|
|
84
|
+
: config.moderation
|
|
85
|
+
? "ON"
|
|
86
|
+
: "OFF",
|
|
87
|
+
moderationRestrictions: config.moderationRestrictions
|
|
88
|
+
? {
|
|
89
|
+
chatRestriction: toRestriction(config.moderationRestrictions.chat),
|
|
90
|
+
defaultJoinAsViewerType: config.moderationRestrictions.defaultJoinAsViewer === undefined
|
|
91
|
+
? undefined
|
|
92
|
+
: config.moderationRestrictions.defaultJoinAsViewer
|
|
93
|
+
? "ON"
|
|
94
|
+
: "OFF",
|
|
95
|
+
presentRestriction: toRestriction(config.moderationRestrictions.present),
|
|
96
|
+
reactionRestriction: toRestriction(config.moderationRestrictions.reactions),
|
|
97
|
+
}
|
|
98
|
+
: undefined,
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Builds an exact field mask for a partial code-first space configuration.
|
|
103
|
+
*
|
|
104
|
+
* @param config - Public settings included in a partial update.
|
|
105
|
+
*/
|
|
106
|
+
export function getGoogleMeetSpaceConfigUpdateMask(config) {
|
|
107
|
+
return [
|
|
108
|
+
config.accessType !== undefined && "config.accessType",
|
|
109
|
+
config.attendanceReport !== undefined &&
|
|
110
|
+
"config.attendanceReportGenerationType",
|
|
111
|
+
config.entryPointAccess !== undefined && "config.entryPointAccess",
|
|
112
|
+
config.moderation !== undefined && "config.moderation",
|
|
113
|
+
config.moderationRestrictions?.chat !== undefined &&
|
|
114
|
+
"config.moderationRestrictions.chatRestriction",
|
|
115
|
+
config.moderationRestrictions?.defaultJoinAsViewer !== undefined &&
|
|
116
|
+
"config.moderationRestrictions.defaultJoinAsViewerType",
|
|
117
|
+
config.moderationRestrictions?.present !== undefined &&
|
|
118
|
+
"config.moderationRestrictions.presentRestriction",
|
|
119
|
+
config.moderationRestrictions?.reactions !== undefined &&
|
|
120
|
+
"config.moderationRestrictions.reactionRestriction",
|
|
121
|
+
config.artifacts?.recording !== undefined &&
|
|
122
|
+
"config.artifactConfig.recordingConfig.autoRecordingGeneration",
|
|
123
|
+
config.artifacts?.smartNotes !== undefined &&
|
|
124
|
+
"config.artifactConfig.smartNotesConfig.autoSmartNotesGeneration",
|
|
125
|
+
config.artifacts?.transcription !== undefined &&
|
|
126
|
+
"config.artifactConfig.transcriptionConfig.autoTranscriptionGeneration",
|
|
127
|
+
]
|
|
128
|
+
.filter((value) => Boolean(value))
|
|
129
|
+
.join(",");
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Normalizes a Google Meet space without leaking provider nulls or enums.
|
|
133
|
+
*
|
|
134
|
+
* @param value - Provider meeting-space resource.
|
|
135
|
+
*/
|
|
136
|
+
export function normalizeGoogleMeetSpace(value) {
|
|
137
|
+
return GOOGLE_MEET_SPACE_SCHEMA.parse({
|
|
138
|
+
activeConference: value.activeConference?.conferenceRecord ?? undefined,
|
|
139
|
+
config: value.config ? normalizeSpaceConfig(value.config) : undefined,
|
|
140
|
+
gatewaySipAccess: (value.gatewaySipAccess ?? []).map((access) => ({
|
|
141
|
+
sipAccessCode: access.sipAccessCode ?? undefined,
|
|
142
|
+
uri: access.uri,
|
|
143
|
+
})),
|
|
144
|
+
meetingCode: value.meetingCode,
|
|
145
|
+
meetingUri: value.meetingUri,
|
|
146
|
+
name: value.name,
|
|
147
|
+
phoneAccess: (value.phoneAccess ?? []).map((access) => ({
|
|
148
|
+
languageCode: access.languageCode ?? undefined,
|
|
149
|
+
phoneNumber: access.phoneNumber,
|
|
150
|
+
pin: access.pin,
|
|
151
|
+
regionCode: access.regionCode ?? undefined,
|
|
152
|
+
})),
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Normalizes one conference record.
|
|
157
|
+
*
|
|
158
|
+
* @param value - Provider conference-record resource.
|
|
159
|
+
*/
|
|
160
|
+
export function normalizeGoogleMeetConferenceRecord(value) {
|
|
161
|
+
return GOOGLE_MEET_CONFERENCE_RECORD_SCHEMA.parse({
|
|
162
|
+
endTime: value.endTime ?? undefined,
|
|
163
|
+
expireTime: value.expireTime ?? undefined,
|
|
164
|
+
name: value.name,
|
|
165
|
+
space: value.space,
|
|
166
|
+
startTime: value.startTime,
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Normalizes one conference participant and its identity variant.
|
|
171
|
+
*
|
|
172
|
+
* @param value - Provider participant resource.
|
|
173
|
+
*/
|
|
174
|
+
export function normalizeGoogleMeetParticipant(value) {
|
|
175
|
+
return GOOGLE_MEET_PARTICIPANT_SCHEMA.parse({
|
|
176
|
+
earliestStartTime: value.earliestStartTime ?? undefined,
|
|
177
|
+
latestEndTime: value.latestEndTime ?? undefined,
|
|
178
|
+
name: value.name,
|
|
179
|
+
user: value.signedinUser
|
|
180
|
+
? {
|
|
181
|
+
displayName: value.signedinUser.displayName,
|
|
182
|
+
type: "signedIn",
|
|
183
|
+
user: value.signedinUser.user ?? undefined,
|
|
184
|
+
}
|
|
185
|
+
: value.anonymousUser
|
|
186
|
+
? { displayName: value.anonymousUser.displayName, type: "anonymous" }
|
|
187
|
+
: { displayName: value.phoneUser?.displayName, type: "phone" },
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Normalizes one participant-device session.
|
|
192
|
+
*
|
|
193
|
+
* @param value - Provider participant-session resource.
|
|
194
|
+
*/
|
|
195
|
+
export function normalizeGoogleMeetParticipantSession(value) {
|
|
196
|
+
return GOOGLE_MEET_PARTICIPANT_SESSION_SCHEMA.parse({
|
|
197
|
+
endTime: value.endTime ?? undefined,
|
|
198
|
+
name: value.name,
|
|
199
|
+
startTime: value.startTime,
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Normalizes one recording artifact.
|
|
204
|
+
*
|
|
205
|
+
* @param value - Provider recording resource.
|
|
206
|
+
*/
|
|
207
|
+
export function normalizeGoogleMeetRecording(value) {
|
|
208
|
+
return GOOGLE_MEET_RECORDING_SCHEMA.parse({
|
|
209
|
+
driveDestination: value.driveDestination
|
|
210
|
+
? {
|
|
211
|
+
exportUri: value.driveDestination.exportUri ?? undefined,
|
|
212
|
+
fileId: value.driveDestination.file ?? undefined,
|
|
213
|
+
}
|
|
214
|
+
: undefined,
|
|
215
|
+
endTime: value.endTime ?? undefined,
|
|
216
|
+
name: value.name,
|
|
217
|
+
startTime: value.startTime ?? undefined,
|
|
218
|
+
state: normalizeArtifactState(value.state),
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Normalizes one transcript artifact.
|
|
223
|
+
*
|
|
224
|
+
* @param value - Provider transcript resource.
|
|
225
|
+
*/
|
|
226
|
+
export function normalizeGoogleMeetTranscript(value) {
|
|
227
|
+
return GOOGLE_MEET_TRANSCRIPT_SCHEMA.parse({
|
|
228
|
+
docsDestination: normalizeDocsDestination(value.docsDestination),
|
|
229
|
+
endTime: value.endTime ?? undefined,
|
|
230
|
+
name: value.name,
|
|
231
|
+
startTime: value.startTime ?? undefined,
|
|
232
|
+
state: normalizeArtifactState(value.state),
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Normalizes one structured transcript segment.
|
|
237
|
+
*
|
|
238
|
+
* @param value - Provider transcript-entry resource.
|
|
239
|
+
*/
|
|
240
|
+
export function normalizeGoogleMeetTranscriptEntry(value) {
|
|
241
|
+
return GOOGLE_MEET_TRANSCRIPT_ENTRY_SCHEMA.parse({
|
|
242
|
+
endTime: value.endTime,
|
|
243
|
+
languageCode: value.languageCode,
|
|
244
|
+
name: value.name,
|
|
245
|
+
participant: value.participant,
|
|
246
|
+
startTime: value.startTime,
|
|
247
|
+
text: value.text,
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Normalizes one Meet smart-note artifact.
|
|
252
|
+
*
|
|
253
|
+
* @param value - Provider smart-note resource.
|
|
254
|
+
*/
|
|
255
|
+
export function normalizeGoogleMeetSmartNote(value) {
|
|
256
|
+
return GOOGLE_MEET_SMART_NOTE_SCHEMA.parse({
|
|
257
|
+
docsDestination: normalizeDocsDestination(value.docsDestination),
|
|
258
|
+
endTime: value.endTime ?? undefined,
|
|
259
|
+
name: value.name,
|
|
260
|
+
startTime: value.startTime ?? undefined,
|
|
261
|
+
state: normalizeArtifactState(value.state),
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Normalizes provider meeting-space settings.
|
|
266
|
+
*
|
|
267
|
+
* @param value - Provider settings to normalize.
|
|
268
|
+
*/
|
|
269
|
+
function normalizeSpaceConfig(value) {
|
|
270
|
+
return GOOGLE_MEET_SPACE_CONFIG_SCHEMA.parse({
|
|
271
|
+
accessType: value.accessType?.toLowerCase(),
|
|
272
|
+
artifacts: value.artifactConfig
|
|
273
|
+
? {
|
|
274
|
+
recording: fromAutoGeneration(value.artifactConfig.recordingConfig?.autoRecordingGeneration),
|
|
275
|
+
smartNotes: fromAutoGeneration(value.artifactConfig.smartNotesConfig?.autoSmartNotesGeneration),
|
|
276
|
+
transcription: fromAutoGeneration(value.artifactConfig.transcriptionConfig
|
|
277
|
+
?.autoTranscriptionGeneration),
|
|
278
|
+
}
|
|
279
|
+
: undefined,
|
|
280
|
+
attendanceReport: value.attendanceReportGenerationType === undefined ||
|
|
281
|
+
value.attendanceReportGenerationType === null
|
|
282
|
+
? undefined
|
|
283
|
+
: value.attendanceReportGenerationType === "GENERATE_REPORT",
|
|
284
|
+
entryPointAccess: value.entryPointAccess === "CREATOR_APP_ONLY"
|
|
285
|
+
? "creatorAppOnly"
|
|
286
|
+
: value.entryPointAccess?.toLowerCase(),
|
|
287
|
+
moderation: value.moderation === undefined || value.moderation === null
|
|
288
|
+
? undefined
|
|
289
|
+
: value.moderation === "ON",
|
|
290
|
+
moderationRestrictions: value.moderationRestrictions
|
|
291
|
+
? {
|
|
292
|
+
chat: fromRestriction(value.moderationRestrictions.chatRestriction),
|
|
293
|
+
defaultJoinAsViewer: value.moderationRestrictions.defaultJoinAsViewerType ===
|
|
294
|
+
undefined ||
|
|
295
|
+
value.moderationRestrictions.defaultJoinAsViewerType === null
|
|
296
|
+
? undefined
|
|
297
|
+
: value.moderationRestrictions.defaultJoinAsViewerType === "ON",
|
|
298
|
+
present: fromRestriction(value.moderationRestrictions.presentRestriction),
|
|
299
|
+
reactions: fromRestriction(value.moderationRestrictions.reactionRestriction),
|
|
300
|
+
}
|
|
301
|
+
: undefined,
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Maps a public boolean to Google's auto-generation enum.
|
|
306
|
+
*
|
|
307
|
+
* @param value - Public automatic-generation setting.
|
|
308
|
+
*/
|
|
309
|
+
function toAutoGeneration(value) {
|
|
310
|
+
return value === undefined ? undefined : value ? "ON" : "OFF";
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Maps Google's auto-generation enum to a public boolean.
|
|
314
|
+
*
|
|
315
|
+
* @param value - Provider automatic-generation enum.
|
|
316
|
+
*/
|
|
317
|
+
function fromAutoGeneration(value) {
|
|
318
|
+
return value === undefined || value === null ? undefined : value === "ON";
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* Maps a public moderation restriction to Google's enum.
|
|
322
|
+
*
|
|
323
|
+
* @param value - Public moderation restriction.
|
|
324
|
+
*/
|
|
325
|
+
function toRestriction(value) {
|
|
326
|
+
return value === "hostsOnly"
|
|
327
|
+
? "HOSTS_ONLY"
|
|
328
|
+
: value === "noRestriction"
|
|
329
|
+
? "NO_RESTRICTION"
|
|
330
|
+
: undefined;
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* Maps Google's moderation restriction to a public enum.
|
|
334
|
+
*
|
|
335
|
+
* @param value - Provider moderation restriction.
|
|
336
|
+
*/
|
|
337
|
+
function fromRestriction(value) {
|
|
338
|
+
return value === "HOSTS_ONLY"
|
|
339
|
+
? "hostsOnly"
|
|
340
|
+
: value === "NO_RESTRICTION"
|
|
341
|
+
? "noRestriction"
|
|
342
|
+
: undefined;
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Normalizes Google's artifact lifecycle state.
|
|
346
|
+
*
|
|
347
|
+
* @param value - Provider artifact state.
|
|
348
|
+
*/
|
|
349
|
+
function normalizeArtifactState(value) {
|
|
350
|
+
switch (z.enum(["STARTED", "ENDED", "FILE_GENERATED"]).parse(value)) {
|
|
351
|
+
case "STARTED":
|
|
352
|
+
return "started";
|
|
353
|
+
case "ENDED":
|
|
354
|
+
return "ended";
|
|
355
|
+
case "FILE_GENERATED":
|
|
356
|
+
return "fileGenerated";
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* Normalizes a generated Google Docs destination.
|
|
361
|
+
*
|
|
362
|
+
* @param value - Provider document destination.
|
|
363
|
+
*/
|
|
364
|
+
function normalizeDocsDestination(value) {
|
|
365
|
+
return value
|
|
366
|
+
? {
|
|
367
|
+
documentId: value.document ?? undefined,
|
|
368
|
+
exportUri: value.exportUri ?? undefined,
|
|
369
|
+
}
|
|
370
|
+
: undefined;
|
|
371
|
+
}
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export * from "./google-meet.js";
|
|
3
|
+
export * from "./schemas.js";
|
|
4
|
+
/** Canonical Google Meet target selected by one subscription. */
|
|
5
|
+
export declare const GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{
|
|
6
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export declare const GOOGLE_MEET_RECORDING_STARTED_EVENT_SCHEMA: z.ZodObject<{
|
|
9
|
+
driveDestination: z.ZodOptional<z.ZodObject<{
|
|
10
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
11
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
13
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
14
|
+
name: z.ZodString;
|
|
15
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
16
|
+
state: z.ZodLiteral<"started">;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export declare const GOOGLE_MEET_RECORDING_ENDED_EVENT_SCHEMA: z.ZodObject<{
|
|
19
|
+
driveDestination: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
21
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
26
|
+
state: z.ZodLiteral<"ended">;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
export declare const GOOGLE_MEET_RECORDING_FILE_GENERATED_EVENT_SCHEMA: z.ZodObject<{
|
|
29
|
+
driveDestination: z.ZodOptional<z.ZodObject<{
|
|
30
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
31
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
34
|
+
name: z.ZodString;
|
|
35
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
36
|
+
state: z.ZodLiteral<"fileGenerated">;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
export declare const GOOGLE_MEET_SMART_NOTE_STARTED_EVENT_SCHEMA: z.ZodObject<{
|
|
39
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
40
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
41
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
44
|
+
name: z.ZodString;
|
|
45
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
46
|
+
state: z.ZodLiteral<"started">;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
export declare const GOOGLE_MEET_SMART_NOTE_ENDED_EVENT_SCHEMA: z.ZodObject<{
|
|
49
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
50
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
51
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
52
|
+
}, z.core.$strip>>;
|
|
53
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
54
|
+
name: z.ZodString;
|
|
55
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
56
|
+
state: z.ZodLiteral<"ended">;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
export declare const GOOGLE_MEET_SMART_NOTE_FILE_GENERATED_EVENT_SCHEMA: z.ZodObject<{
|
|
59
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
61
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
64
|
+
name: z.ZodString;
|
|
65
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
66
|
+
state: z.ZodLiteral<"fileGenerated">;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
export declare const GOOGLE_MEET_TRANSCRIPT_STARTED_EVENT_SCHEMA: z.ZodObject<{
|
|
69
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
70
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
71
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
72
|
+
}, z.core.$strip>>;
|
|
73
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
74
|
+
name: z.ZodString;
|
|
75
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
76
|
+
state: z.ZodLiteral<"started">;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
export declare const GOOGLE_MEET_TRANSCRIPT_ENDED_EVENT_SCHEMA: z.ZodObject<{
|
|
79
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
81
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
82
|
+
}, z.core.$strip>>;
|
|
83
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
84
|
+
name: z.ZodString;
|
|
85
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
86
|
+
state: z.ZodLiteral<"ended">;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
export declare const GOOGLE_MEET_TRANSCRIPT_FILE_GENERATED_EVENT_SCHEMA: z.ZodObject<{
|
|
89
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
90
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
91
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
92
|
+
}, z.core.$strip>>;
|
|
93
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
94
|
+
name: z.ZodString;
|
|
95
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
96
|
+
state: z.ZodLiteral<"fileGenerated">;
|
|
97
|
+
}, z.core.$strip>;
|
|
98
|
+
export declare const googleMeetTriggerContracts: {
|
|
99
|
+
readonly "googleMeet.conference.ended": {
|
|
100
|
+
readonly configSchema: z.ZodObject<{
|
|
101
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
102
|
+
}, z.core.$strip>;
|
|
103
|
+
readonly eventSchema: z.ZodObject<{
|
|
104
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
105
|
+
expireTime: z.ZodOptional<z.ZodISODateTime>;
|
|
106
|
+
name: z.ZodString;
|
|
107
|
+
space: z.ZodString;
|
|
108
|
+
startTime: z.ZodISODateTime;
|
|
109
|
+
}, z.core.$strip>;
|
|
110
|
+
};
|
|
111
|
+
readonly "googleMeet.conference.started": {
|
|
112
|
+
readonly configSchema: z.ZodObject<{
|
|
113
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
114
|
+
}, z.core.$strip>;
|
|
115
|
+
readonly eventSchema: z.ZodObject<{
|
|
116
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
117
|
+
expireTime: z.ZodOptional<z.ZodISODateTime>;
|
|
118
|
+
name: z.ZodString;
|
|
119
|
+
space: z.ZodString;
|
|
120
|
+
startTime: z.ZodISODateTime;
|
|
121
|
+
}, z.core.$strip>;
|
|
122
|
+
};
|
|
123
|
+
readonly "googleMeet.participant.joined": {
|
|
124
|
+
readonly configSchema: z.ZodObject<{
|
|
125
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
126
|
+
}, z.core.$strip>;
|
|
127
|
+
readonly eventSchema: z.ZodObject<{
|
|
128
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
129
|
+
name: z.ZodString;
|
|
130
|
+
startTime: z.ZodISODateTime;
|
|
131
|
+
}, z.core.$strip>;
|
|
132
|
+
};
|
|
133
|
+
readonly "googleMeet.participant.left": {
|
|
134
|
+
readonly configSchema: z.ZodObject<{
|
|
135
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
136
|
+
}, z.core.$strip>;
|
|
137
|
+
readonly eventSchema: z.ZodObject<{
|
|
138
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
139
|
+
name: z.ZodString;
|
|
140
|
+
startTime: z.ZodISODateTime;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
};
|
|
143
|
+
readonly "googleMeet.recording.ended": {
|
|
144
|
+
readonly configSchema: z.ZodObject<{
|
|
145
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
146
|
+
}, z.core.$strip>;
|
|
147
|
+
readonly eventSchema: z.ZodObject<{
|
|
148
|
+
driveDestination: z.ZodOptional<z.ZodObject<{
|
|
149
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
150
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
151
|
+
}, z.core.$strip>>;
|
|
152
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
153
|
+
name: z.ZodString;
|
|
154
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
155
|
+
state: z.ZodLiteral<"ended">;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
};
|
|
158
|
+
readonly "googleMeet.recording.fileGenerated": {
|
|
159
|
+
readonly configSchema: z.ZodObject<{
|
|
160
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
161
|
+
}, z.core.$strip>;
|
|
162
|
+
readonly eventSchema: z.ZodObject<{
|
|
163
|
+
driveDestination: z.ZodOptional<z.ZodObject<{
|
|
164
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
165
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
166
|
+
}, z.core.$strip>>;
|
|
167
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
168
|
+
name: z.ZodString;
|
|
169
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
170
|
+
state: z.ZodLiteral<"fileGenerated">;
|
|
171
|
+
}, z.core.$strip>;
|
|
172
|
+
};
|
|
173
|
+
readonly "googleMeet.recording.started": {
|
|
174
|
+
readonly configSchema: z.ZodObject<{
|
|
175
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
readonly eventSchema: z.ZodObject<{
|
|
178
|
+
driveDestination: z.ZodOptional<z.ZodObject<{
|
|
179
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
180
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
181
|
+
}, z.core.$strip>>;
|
|
182
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
183
|
+
name: z.ZodString;
|
|
184
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
185
|
+
state: z.ZodLiteral<"started">;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
};
|
|
188
|
+
readonly "googleMeet.smartNote.ended": {
|
|
189
|
+
readonly configSchema: z.ZodObject<{
|
|
190
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
191
|
+
}, z.core.$strip>;
|
|
192
|
+
readonly eventSchema: z.ZodObject<{
|
|
193
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
194
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
195
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
196
|
+
}, z.core.$strip>>;
|
|
197
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
198
|
+
name: z.ZodString;
|
|
199
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
200
|
+
state: z.ZodLiteral<"ended">;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
};
|
|
203
|
+
readonly "googleMeet.smartNote.fileGenerated": {
|
|
204
|
+
readonly configSchema: z.ZodObject<{
|
|
205
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
206
|
+
}, z.core.$strip>;
|
|
207
|
+
readonly eventSchema: z.ZodObject<{
|
|
208
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
209
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
210
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
211
|
+
}, z.core.$strip>>;
|
|
212
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
213
|
+
name: z.ZodString;
|
|
214
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
215
|
+
state: z.ZodLiteral<"fileGenerated">;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
};
|
|
218
|
+
readonly "googleMeet.smartNote.started": {
|
|
219
|
+
readonly configSchema: z.ZodObject<{
|
|
220
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
221
|
+
}, z.core.$strip>;
|
|
222
|
+
readonly eventSchema: z.ZodObject<{
|
|
223
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
224
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
225
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
226
|
+
}, z.core.$strip>>;
|
|
227
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
228
|
+
name: z.ZodString;
|
|
229
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
230
|
+
state: z.ZodLiteral<"started">;
|
|
231
|
+
}, z.core.$strip>;
|
|
232
|
+
};
|
|
233
|
+
readonly "googleMeet.transcript.ended": {
|
|
234
|
+
readonly configSchema: z.ZodObject<{
|
|
235
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
236
|
+
}, z.core.$strip>;
|
|
237
|
+
readonly eventSchema: z.ZodObject<{
|
|
238
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
239
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
240
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
241
|
+
}, z.core.$strip>>;
|
|
242
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
243
|
+
name: z.ZodString;
|
|
244
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
245
|
+
state: z.ZodLiteral<"ended">;
|
|
246
|
+
}, z.core.$strip>;
|
|
247
|
+
};
|
|
248
|
+
readonly "googleMeet.transcript.fileGenerated": {
|
|
249
|
+
readonly configSchema: z.ZodObject<{
|
|
250
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
readonly eventSchema: z.ZodObject<{
|
|
253
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
254
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
255
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
256
|
+
}, z.core.$strip>>;
|
|
257
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
258
|
+
name: z.ZodString;
|
|
259
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
260
|
+
state: z.ZodLiteral<"fileGenerated">;
|
|
261
|
+
}, z.core.$strip>;
|
|
262
|
+
};
|
|
263
|
+
readonly "googleMeet.transcript.started": {
|
|
264
|
+
readonly configSchema: z.ZodObject<{
|
|
265
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
266
|
+
}, z.core.$strip>;
|
|
267
|
+
readonly eventSchema: z.ZodObject<{
|
|
268
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
269
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
270
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
271
|
+
}, z.core.$strip>>;
|
|
272
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
273
|
+
name: z.ZodString;
|
|
274
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
275
|
+
state: z.ZodLiteral<"started">;
|
|
276
|
+
}, z.core.$strip>;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
export declare const GOOGLE_MEET_PROVIDER_EVENT_TYPES: {
|
|
280
|
+
readonly "googleMeet.conference.ended": "google.workspace.meet.conference.v2.ended";
|
|
281
|
+
readonly "googleMeet.conference.started": "google.workspace.meet.conference.v2.started";
|
|
282
|
+
readonly "googleMeet.participant.joined": "google.workspace.meet.participant.v2.joined";
|
|
283
|
+
readonly "googleMeet.participant.left": "google.workspace.meet.participant.v2.left";
|
|
284
|
+
readonly "googleMeet.recording.ended": "google.workspace.meet.recording.v2.ended";
|
|
285
|
+
readonly "googleMeet.recording.fileGenerated": "google.workspace.meet.recording.v2.fileGenerated";
|
|
286
|
+
readonly "googleMeet.recording.started": "google.workspace.meet.recording.v2.started";
|
|
287
|
+
readonly "googleMeet.smartNote.ended": "google.workspace.meet.smartNote.v2.ended";
|
|
288
|
+
readonly "googleMeet.smartNote.fileGenerated": "google.workspace.meet.smartNote.v2.fileGenerated";
|
|
289
|
+
readonly "googleMeet.smartNote.started": "google.workspace.meet.smartNote.v2.started";
|
|
290
|
+
readonly "googleMeet.transcript.ended": "google.workspace.meet.transcript.v2.ended";
|
|
291
|
+
readonly "googleMeet.transcript.fileGenerated": "google.workspace.meet.transcript.v2.fileGenerated";
|
|
292
|
+
readonly "googleMeet.transcript.started": "google.workspace.meet.transcript.v2.started";
|
|
293
|
+
};
|
|
294
|
+
export type GoogleMeetTriggerType = keyof typeof googleMeetTriggerContracts;
|
|
295
|
+
export type GoogleMeetProviderEventType = (typeof GOOGLE_MEET_PROVIDER_EVENT_TYPES)[GoogleMeetTriggerType];
|