@particle-academy/google-meet-js 0.0.0 → 0.3.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/CHANGELOG.md +81 -0
- package/LICENSE +21 -0
- package/README.md +163 -2
- package/art/fancified.svg +26 -0
- package/dist/chunk-FZZBTOL7.js +319 -0
- package/dist/chunk-FZZBTOL7.js.map +1 -0
- package/dist/flow.cjs +423 -0
- package/dist/flow.cjs.map +1 -0
- package/dist/flow.d.cts +31 -0
- package/dist/flow.d.ts +31 -0
- package/dist/flow.js +100 -0
- package/dist/flow.js.map +1 -0
- package/dist/index.cjs +338 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +299 -0
- package/dist/index.d.ts +299 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/package.json +78 -6
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
import { ServiceDescriptor, PreparedRequest, ConnectorMode, ConnectorFaker, RequestedMode, Transport, ConnectorResult } from '@particle-academy/fancy-connector-core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* GENERATED FILE — do not edit.
|
|
5
|
+
*
|
|
6
|
+
* Emitted from provider/manifest.json by weaver's generator.
|
|
7
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
8
|
+
* being rejected, because it works until it silently does not. Fix
|
|
9
|
+
* provider/manifest.json (or weaver's template/) and regenerate:
|
|
10
|
+
*
|
|
11
|
+
* npm run provider -- google_meet
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Google Meet, as one service descriptor shared by every Google Meet
|
|
15
|
+
* operation.
|
|
16
|
+
*
|
|
17
|
+
* @particle-academy/fancy-connector-core carries what is true of ALL
|
|
18
|
+
* connectors. This carries what is true of Google Meet: its base URL, its auth
|
|
19
|
+
* scheme, its idempotency header, and its faker.
|
|
20
|
+
*
|
|
21
|
+
* ## The sandbox trap, written down where it is used
|
|
22
|
+
*
|
|
23
|
+
* Google Meet has no test estate distinct from a real account, as far as this
|
|
24
|
+
* review found (2026-09-16) -- but it is UNVERIFIED, not confirmed.
|
|
25
|
+
* space_create makes a real, joinable meeting space. Use fake mode while
|
|
26
|
+
* building.
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The connector API version this package was GENERATED against.
|
|
31
|
+
*
|
|
32
|
+
* A literal, never imported. An imported constant lets an upgrade rewrite the
|
|
33
|
+
* very claim it exists to detect, after which the copy agrees with itself
|
|
34
|
+
* forever.
|
|
35
|
+
*/
|
|
36
|
+
declare const CONNECTOR_API_VERSION = 1;
|
|
37
|
+
declare const GOOGLE_MEET_BASE_URLS: {
|
|
38
|
+
readonly live: "https://meet.googleapis.com/v2";
|
|
39
|
+
};
|
|
40
|
+
/** Credential keys a remote call cannot proceed without. */
|
|
41
|
+
declare const GOOGLE_MEET_REQUIRES: readonly ["accessToken"];
|
|
42
|
+
/**
|
|
43
|
+
* Apply Google Meet's auth scheme to an outgoing request.
|
|
44
|
+
*
|
|
45
|
+
* Every Meet API v2 call is a Bearer token on the Authorization header.
|
|
46
|
+
*
|
|
47
|
+
* The mode is passed in because for some providers auth and estate are the
|
|
48
|
+
* same decision expressed in the URL; here it is unused, and saying so is
|
|
49
|
+
* cheaper than wondering later whether it was forgotten.
|
|
50
|
+
*/
|
|
51
|
+
declare function googleMeetAuthorize(credentials: Record<string, string | undefined>, request: PreparedRequest, _mode: ConnectorMode): void;
|
|
52
|
+
/** The Google Meet service, for the TypeScript runtime. */
|
|
53
|
+
declare const GOOGLE_MEET: ServiceDescriptor;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* GENERATED FILE — do not edit.
|
|
57
|
+
*
|
|
58
|
+
* Emitted from provider/fixtures/ by weaver's generator.
|
|
59
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
60
|
+
* being rejected, because it works until it silently does not. Fix
|
|
61
|
+
* provider/fixtures/ (or weaver's template/) and regenerate:
|
|
62
|
+
*
|
|
63
|
+
* npm run provider -- google_meet
|
|
64
|
+
*/
|
|
65
|
+
/**
|
|
66
|
+
* The Google Meet faker.
|
|
67
|
+
*
|
|
68
|
+
* Shapes, not behaviour: the goal is that a downstream node sees the field
|
|
69
|
+
* NAMES Google Meet actually publishes, so an author can wire {{ $json.data.id
|
|
70
|
+
* }} against a fake and have it keep working against the real thing.
|
|
71
|
+
*
|
|
72
|
+
* Deterministic — same inputs, same output. A faker returning a fresh uuid
|
|
73
|
+
* every call cannot be asserted on, so its fixtures degrade to "it did not
|
|
74
|
+
* throw", which is the assertion that catches nothing.
|
|
75
|
+
*/
|
|
76
|
+
|
|
77
|
+
declare const googleMeetFaker: ConnectorFaker;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* GENERATED FILE — do not edit.
|
|
81
|
+
*
|
|
82
|
+
* Emitted from provider/actions/conference-record-list.json by weaver's generator.
|
|
83
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
84
|
+
* being rejected, because it works until it silently does not. Fix
|
|
85
|
+
* provider/actions/conference-record-list.json (or weaver's template/) and regenerate:
|
|
86
|
+
*
|
|
87
|
+
* npm run provider -- google_meet
|
|
88
|
+
*/
|
|
89
|
+
/**
|
|
90
|
+
* List past conferences, optionally filtered to one space.
|
|
91
|
+
*
|
|
92
|
+
* GET /conferenceRecords —
|
|
93
|
+
* https://developers.google.com/workspace/meet/api/reference/rest/v2/conferenceRecords/list
|
|
94
|
+
*
|
|
95
|
+
* Notice what is NOT here: no key, no base URL, no mode check, no retry loop,
|
|
96
|
+
* no fake/real branch. This describes the request; callConnector resolves the
|
|
97
|
+
* connection, picks the estate, and either calls Google Meet or calls the
|
|
98
|
+
* faker.
|
|
99
|
+
*/
|
|
100
|
+
|
|
101
|
+
declare const CONFERENCE_RECORD_LIST_OPERATION = "conference_record_list";
|
|
102
|
+
type ConferenceRecordListOptions = {
|
|
103
|
+
/** The node's resolved config. Keys: filter, pageSize, pageToken. */
|
|
104
|
+
config: Record<string, unknown>;
|
|
105
|
+
credentials?: Record<string, string | undefined>;
|
|
106
|
+
mode?: RequestedMode;
|
|
107
|
+
connectionId?: string | null;
|
|
108
|
+
input?: unknown;
|
|
109
|
+
attempts?: number;
|
|
110
|
+
/** Override the transport. The only way to exercise this without a network. */
|
|
111
|
+
transport?: Transport;
|
|
112
|
+
};
|
|
113
|
+
declare function googleMeetConferenceRecordList(options: ConferenceRecordListOptions): Promise<ConnectorResult>;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* GENERATED FILE — do not edit.
|
|
117
|
+
*
|
|
118
|
+
* Emitted from provider/actions/participant-list.json by weaver's generator.
|
|
119
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
120
|
+
* being rejected, because it works until it silently does not. Fix
|
|
121
|
+
* provider/actions/participant-list.json (or weaver's template/) and regenerate:
|
|
122
|
+
*
|
|
123
|
+
* npm run provider -- google_meet
|
|
124
|
+
*/
|
|
125
|
+
/**
|
|
126
|
+
* List who attended a conference.
|
|
127
|
+
*
|
|
128
|
+
* GET /conferenceRecords/{conferenceRecordId}/participants —
|
|
129
|
+
* https://developers.google.com/workspace/meet/api/reference/rest/v2/conferenceRecords.participants/list
|
|
130
|
+
*
|
|
131
|
+
* Notice what is NOT here: no key, no base URL, no mode check, no retry loop,
|
|
132
|
+
* no fake/real branch. This describes the request; callConnector resolves the
|
|
133
|
+
* connection, picks the estate, and either calls Google Meet or calls the
|
|
134
|
+
* faker.
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
declare const PARTICIPANT_LIST_OPERATION = "participant_list";
|
|
138
|
+
type ParticipantListOptions = {
|
|
139
|
+
/** The node's resolved config. Keys: conferenceRecordId, pageToken. */
|
|
140
|
+
config: Record<string, unknown>;
|
|
141
|
+
credentials?: Record<string, string | undefined>;
|
|
142
|
+
mode?: RequestedMode;
|
|
143
|
+
connectionId?: string | null;
|
|
144
|
+
input?: unknown;
|
|
145
|
+
attempts?: number;
|
|
146
|
+
/** Override the transport. The only way to exercise this without a network. */
|
|
147
|
+
transport?: Transport;
|
|
148
|
+
};
|
|
149
|
+
declare function googleMeetParticipantList(options: ParticipantListOptions): Promise<ConnectorResult>;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* GENERATED FILE — do not edit.
|
|
153
|
+
*
|
|
154
|
+
* Emitted from provider/actions/space-create.json by weaver's generator.
|
|
155
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
156
|
+
* being rejected, because it works until it silently does not. Fix
|
|
157
|
+
* provider/actions/space-create.json (or weaver's template/) and regenerate:
|
|
158
|
+
*
|
|
159
|
+
* npm run provider -- google_meet
|
|
160
|
+
*/
|
|
161
|
+
/**
|
|
162
|
+
* Create a new Google Meet space and get its join link.
|
|
163
|
+
*
|
|
164
|
+
* POST /spaces —
|
|
165
|
+
* https://developers.google.com/workspace/meet/api/reference/rest/v2/spaces/create
|
|
166
|
+
*
|
|
167
|
+
* Notice what is NOT here: no key, no base URL, no mode check, no retry loop,
|
|
168
|
+
* no fake/real branch. This describes the request; callConnector resolves the
|
|
169
|
+
* connection, picks the estate, and either calls Google Meet or calls the
|
|
170
|
+
* faker.
|
|
171
|
+
*
|
|
172
|
+
* sideEffects: unsafe-to-replay.
|
|
173
|
+
*/
|
|
174
|
+
|
|
175
|
+
declare const SPACE_CREATE_OPERATION = "space_create";
|
|
176
|
+
type SpaceCreateOptions = {
|
|
177
|
+
/** The node's resolved config. Keys: accessType, entryPointAccess. */
|
|
178
|
+
config: Record<string, unknown>;
|
|
179
|
+
credentials?: Record<string, string | undefined>;
|
|
180
|
+
mode?: RequestedMode;
|
|
181
|
+
connectionId?: string | null;
|
|
182
|
+
input?: unknown;
|
|
183
|
+
attempts?: number;
|
|
184
|
+
/** Override the transport. The only way to exercise this without a network. */
|
|
185
|
+
transport?: Transport;
|
|
186
|
+
};
|
|
187
|
+
declare function googleMeetSpaceCreate(options: SpaceCreateOptions): Promise<ConnectorResult>;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* GENERATED FILE — do not edit.
|
|
191
|
+
*
|
|
192
|
+
* Emitted from provider/actions/space-get.json by weaver's generator.
|
|
193
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
194
|
+
* being rejected, because it works until it silently does not. Fix
|
|
195
|
+
* provider/actions/space-get.json (or weaver's template/) and regenerate:
|
|
196
|
+
*
|
|
197
|
+
* npm run provider -- google_meet
|
|
198
|
+
*/
|
|
199
|
+
/**
|
|
200
|
+
* Read a Meet space's current state, including whether a conference is active
|
|
201
|
+
* right now.
|
|
202
|
+
*
|
|
203
|
+
* GET /spaces/{spaceId} —
|
|
204
|
+
* https://developers.google.com/workspace/meet/api/reference/rest/v2/spaces/get
|
|
205
|
+
*
|
|
206
|
+
* Notice what is NOT here: no key, no base URL, no mode check, no retry loop,
|
|
207
|
+
* no fake/real branch. This describes the request; callConnector resolves the
|
|
208
|
+
* connection, picks the estate, and either calls Google Meet or calls the
|
|
209
|
+
* faker.
|
|
210
|
+
*/
|
|
211
|
+
|
|
212
|
+
declare const SPACE_GET_OPERATION = "space_get";
|
|
213
|
+
type SpaceGetOptions = {
|
|
214
|
+
/** The node's resolved config. Keys: spaceId. */
|
|
215
|
+
config: Record<string, unknown>;
|
|
216
|
+
credentials?: Record<string, string | undefined>;
|
|
217
|
+
mode?: RequestedMode;
|
|
218
|
+
connectionId?: string | null;
|
|
219
|
+
input?: unknown;
|
|
220
|
+
attempts?: number;
|
|
221
|
+
/** Override the transport. The only way to exercise this without a network. */
|
|
222
|
+
transport?: Transport;
|
|
223
|
+
};
|
|
224
|
+
declare function googleMeetSpaceGet(options: SpaceGetOptions): Promise<ConnectorResult>;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* GENERATED FILE — do not edit.
|
|
228
|
+
*
|
|
229
|
+
* Emitted from provider/actions/transcript-entry-list.json by weaver's generator.
|
|
230
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
231
|
+
* being rejected, because it works until it silently does not. Fix
|
|
232
|
+
* provider/actions/transcript-entry-list.json (or weaver's template/) and regenerate:
|
|
233
|
+
*
|
|
234
|
+
* npm run provider -- google_meet
|
|
235
|
+
*/
|
|
236
|
+
/**
|
|
237
|
+
* Read a finished conference's transcript, one utterance per entry.
|
|
238
|
+
*
|
|
239
|
+
* GET
|
|
240
|
+
* /conferenceRecords/{conferenceRecordId}/transcripts/{transcriptId}/entries —
|
|
241
|
+
* https://developers.google.com/workspace/meet/api/reference/rest/v2/conferenceRecords.transcripts.entries/list
|
|
242
|
+
*
|
|
243
|
+
* Notice what is NOT here: no key, no base URL, no mode check, no retry loop,
|
|
244
|
+
* no fake/real branch. This describes the request; callConnector resolves the
|
|
245
|
+
* connection, picks the estate, and either calls Google Meet or calls the
|
|
246
|
+
* faker.
|
|
247
|
+
*/
|
|
248
|
+
|
|
249
|
+
declare const TRANSCRIPT_ENTRY_LIST_OPERATION = "transcript_entry_list";
|
|
250
|
+
type TranscriptEntryListOptions = {
|
|
251
|
+
/** The node's resolved config. Keys: conferenceRecordId, transcriptId, pageToken. */
|
|
252
|
+
config: Record<string, unknown>;
|
|
253
|
+
credentials?: Record<string, string | undefined>;
|
|
254
|
+
mode?: RequestedMode;
|
|
255
|
+
connectionId?: string | null;
|
|
256
|
+
input?: unknown;
|
|
257
|
+
attempts?: number;
|
|
258
|
+
/** Override the transport. The only way to exercise this without a network. */
|
|
259
|
+
transport?: Transport;
|
|
260
|
+
};
|
|
261
|
+
declare function googleMeetTranscriptEntryList(options: TranscriptEntryListOptions): Promise<ConnectorResult>;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* GENERATED FILE — do not edit.
|
|
265
|
+
*
|
|
266
|
+
* Emitted from provider/actions/transcript-list.json by weaver's generator.
|
|
267
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
268
|
+
* being rejected, because it works until it silently does not. Fix
|
|
269
|
+
* provider/actions/transcript-list.json (or weaver's template/) and regenerate:
|
|
270
|
+
*
|
|
271
|
+
* npm run provider -- google_meet
|
|
272
|
+
*/
|
|
273
|
+
/**
|
|
274
|
+
* List a finished conference's transcripts, when transcription was on.
|
|
275
|
+
*
|
|
276
|
+
* GET /conferenceRecords/{conferenceRecordId}/transcripts —
|
|
277
|
+
* https://developers.google.com/workspace/meet/api/reference/rest/v2/conferenceRecords.transcripts/list
|
|
278
|
+
*
|
|
279
|
+
* Notice what is NOT here: no key, no base URL, no mode check, no retry loop,
|
|
280
|
+
* no fake/real branch. This describes the request; callConnector resolves the
|
|
281
|
+
* connection, picks the estate, and either calls Google Meet or calls the
|
|
282
|
+
* faker.
|
|
283
|
+
*/
|
|
284
|
+
|
|
285
|
+
declare const TRANSCRIPT_LIST_OPERATION = "transcript_list";
|
|
286
|
+
type TranscriptListOptions = {
|
|
287
|
+
/** The node's resolved config. Keys: conferenceRecordId. */
|
|
288
|
+
config: Record<string, unknown>;
|
|
289
|
+
credentials?: Record<string, string | undefined>;
|
|
290
|
+
mode?: RequestedMode;
|
|
291
|
+
connectionId?: string | null;
|
|
292
|
+
input?: unknown;
|
|
293
|
+
attempts?: number;
|
|
294
|
+
/** Override the transport. The only way to exercise this without a network. */
|
|
295
|
+
transport?: Transport;
|
|
296
|
+
};
|
|
297
|
+
declare function googleMeetTranscriptList(options: TranscriptListOptions): Promise<ConnectorResult>;
|
|
298
|
+
|
|
299
|
+
export { CONFERENCE_RECORD_LIST_OPERATION, CONNECTOR_API_VERSION, type ConferenceRecordListOptions, GOOGLE_MEET, GOOGLE_MEET_BASE_URLS, GOOGLE_MEET_REQUIRES, PARTICIPANT_LIST_OPERATION, type ParticipantListOptions, SPACE_CREATE_OPERATION, SPACE_GET_OPERATION, type SpaceCreateOptions, type SpaceGetOptions, TRANSCRIPT_ENTRY_LIST_OPERATION, TRANSCRIPT_LIST_OPERATION, type TranscriptEntryListOptions, type TranscriptListOptions, googleMeetAuthorize, googleMeetConferenceRecordList, googleMeetFaker, googleMeetParticipantList, googleMeetSpaceCreate, googleMeetSpaceGet, googleMeetTranscriptEntryList, googleMeetTranscriptList };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
import { ServiceDescriptor, PreparedRequest, ConnectorMode, ConnectorFaker, RequestedMode, Transport, ConnectorResult } from '@particle-academy/fancy-connector-core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* GENERATED FILE — do not edit.
|
|
5
|
+
*
|
|
6
|
+
* Emitted from provider/manifest.json by weaver's generator.
|
|
7
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
8
|
+
* being rejected, because it works until it silently does not. Fix
|
|
9
|
+
* provider/manifest.json (or weaver's template/) and regenerate:
|
|
10
|
+
*
|
|
11
|
+
* npm run provider -- google_meet
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Google Meet, as one service descriptor shared by every Google Meet
|
|
15
|
+
* operation.
|
|
16
|
+
*
|
|
17
|
+
* @particle-academy/fancy-connector-core carries what is true of ALL
|
|
18
|
+
* connectors. This carries what is true of Google Meet: its base URL, its auth
|
|
19
|
+
* scheme, its idempotency header, and its faker.
|
|
20
|
+
*
|
|
21
|
+
* ## The sandbox trap, written down where it is used
|
|
22
|
+
*
|
|
23
|
+
* Google Meet has no test estate distinct from a real account, as far as this
|
|
24
|
+
* review found (2026-09-16) -- but it is UNVERIFIED, not confirmed.
|
|
25
|
+
* space_create makes a real, joinable meeting space. Use fake mode while
|
|
26
|
+
* building.
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The connector API version this package was GENERATED against.
|
|
31
|
+
*
|
|
32
|
+
* A literal, never imported. An imported constant lets an upgrade rewrite the
|
|
33
|
+
* very claim it exists to detect, after which the copy agrees with itself
|
|
34
|
+
* forever.
|
|
35
|
+
*/
|
|
36
|
+
declare const CONNECTOR_API_VERSION = 1;
|
|
37
|
+
declare const GOOGLE_MEET_BASE_URLS: {
|
|
38
|
+
readonly live: "https://meet.googleapis.com/v2";
|
|
39
|
+
};
|
|
40
|
+
/** Credential keys a remote call cannot proceed without. */
|
|
41
|
+
declare const GOOGLE_MEET_REQUIRES: readonly ["accessToken"];
|
|
42
|
+
/**
|
|
43
|
+
* Apply Google Meet's auth scheme to an outgoing request.
|
|
44
|
+
*
|
|
45
|
+
* Every Meet API v2 call is a Bearer token on the Authorization header.
|
|
46
|
+
*
|
|
47
|
+
* The mode is passed in because for some providers auth and estate are the
|
|
48
|
+
* same decision expressed in the URL; here it is unused, and saying so is
|
|
49
|
+
* cheaper than wondering later whether it was forgotten.
|
|
50
|
+
*/
|
|
51
|
+
declare function googleMeetAuthorize(credentials: Record<string, string | undefined>, request: PreparedRequest, _mode: ConnectorMode): void;
|
|
52
|
+
/** The Google Meet service, for the TypeScript runtime. */
|
|
53
|
+
declare const GOOGLE_MEET: ServiceDescriptor;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* GENERATED FILE — do not edit.
|
|
57
|
+
*
|
|
58
|
+
* Emitted from provider/fixtures/ by weaver's generator.
|
|
59
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
60
|
+
* being rejected, because it works until it silently does not. Fix
|
|
61
|
+
* provider/fixtures/ (or weaver's template/) and regenerate:
|
|
62
|
+
*
|
|
63
|
+
* npm run provider -- google_meet
|
|
64
|
+
*/
|
|
65
|
+
/**
|
|
66
|
+
* The Google Meet faker.
|
|
67
|
+
*
|
|
68
|
+
* Shapes, not behaviour: the goal is that a downstream node sees the field
|
|
69
|
+
* NAMES Google Meet actually publishes, so an author can wire {{ $json.data.id
|
|
70
|
+
* }} against a fake and have it keep working against the real thing.
|
|
71
|
+
*
|
|
72
|
+
* Deterministic — same inputs, same output. A faker returning a fresh uuid
|
|
73
|
+
* every call cannot be asserted on, so its fixtures degrade to "it did not
|
|
74
|
+
* throw", which is the assertion that catches nothing.
|
|
75
|
+
*/
|
|
76
|
+
|
|
77
|
+
declare const googleMeetFaker: ConnectorFaker;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* GENERATED FILE — do not edit.
|
|
81
|
+
*
|
|
82
|
+
* Emitted from provider/actions/conference-record-list.json by weaver's generator.
|
|
83
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
84
|
+
* being rejected, because it works until it silently does not. Fix
|
|
85
|
+
* provider/actions/conference-record-list.json (or weaver's template/) and regenerate:
|
|
86
|
+
*
|
|
87
|
+
* npm run provider -- google_meet
|
|
88
|
+
*/
|
|
89
|
+
/**
|
|
90
|
+
* List past conferences, optionally filtered to one space.
|
|
91
|
+
*
|
|
92
|
+
* GET /conferenceRecords —
|
|
93
|
+
* https://developers.google.com/workspace/meet/api/reference/rest/v2/conferenceRecords/list
|
|
94
|
+
*
|
|
95
|
+
* Notice what is NOT here: no key, no base URL, no mode check, no retry loop,
|
|
96
|
+
* no fake/real branch. This describes the request; callConnector resolves the
|
|
97
|
+
* connection, picks the estate, and either calls Google Meet or calls the
|
|
98
|
+
* faker.
|
|
99
|
+
*/
|
|
100
|
+
|
|
101
|
+
declare const CONFERENCE_RECORD_LIST_OPERATION = "conference_record_list";
|
|
102
|
+
type ConferenceRecordListOptions = {
|
|
103
|
+
/** The node's resolved config. Keys: filter, pageSize, pageToken. */
|
|
104
|
+
config: Record<string, unknown>;
|
|
105
|
+
credentials?: Record<string, string | undefined>;
|
|
106
|
+
mode?: RequestedMode;
|
|
107
|
+
connectionId?: string | null;
|
|
108
|
+
input?: unknown;
|
|
109
|
+
attempts?: number;
|
|
110
|
+
/** Override the transport. The only way to exercise this without a network. */
|
|
111
|
+
transport?: Transport;
|
|
112
|
+
};
|
|
113
|
+
declare function googleMeetConferenceRecordList(options: ConferenceRecordListOptions): Promise<ConnectorResult>;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* GENERATED FILE — do not edit.
|
|
117
|
+
*
|
|
118
|
+
* Emitted from provider/actions/participant-list.json by weaver's generator.
|
|
119
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
120
|
+
* being rejected, because it works until it silently does not. Fix
|
|
121
|
+
* provider/actions/participant-list.json (or weaver's template/) and regenerate:
|
|
122
|
+
*
|
|
123
|
+
* npm run provider -- google_meet
|
|
124
|
+
*/
|
|
125
|
+
/**
|
|
126
|
+
* List who attended a conference.
|
|
127
|
+
*
|
|
128
|
+
* GET /conferenceRecords/{conferenceRecordId}/participants —
|
|
129
|
+
* https://developers.google.com/workspace/meet/api/reference/rest/v2/conferenceRecords.participants/list
|
|
130
|
+
*
|
|
131
|
+
* Notice what is NOT here: no key, no base URL, no mode check, no retry loop,
|
|
132
|
+
* no fake/real branch. This describes the request; callConnector resolves the
|
|
133
|
+
* connection, picks the estate, and either calls Google Meet or calls the
|
|
134
|
+
* faker.
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
declare const PARTICIPANT_LIST_OPERATION = "participant_list";
|
|
138
|
+
type ParticipantListOptions = {
|
|
139
|
+
/** The node's resolved config. Keys: conferenceRecordId, pageToken. */
|
|
140
|
+
config: Record<string, unknown>;
|
|
141
|
+
credentials?: Record<string, string | undefined>;
|
|
142
|
+
mode?: RequestedMode;
|
|
143
|
+
connectionId?: string | null;
|
|
144
|
+
input?: unknown;
|
|
145
|
+
attempts?: number;
|
|
146
|
+
/** Override the transport. The only way to exercise this without a network. */
|
|
147
|
+
transport?: Transport;
|
|
148
|
+
};
|
|
149
|
+
declare function googleMeetParticipantList(options: ParticipantListOptions): Promise<ConnectorResult>;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* GENERATED FILE — do not edit.
|
|
153
|
+
*
|
|
154
|
+
* Emitted from provider/actions/space-create.json by weaver's generator.
|
|
155
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
156
|
+
* being rejected, because it works until it silently does not. Fix
|
|
157
|
+
* provider/actions/space-create.json (or weaver's template/) and regenerate:
|
|
158
|
+
*
|
|
159
|
+
* npm run provider -- google_meet
|
|
160
|
+
*/
|
|
161
|
+
/**
|
|
162
|
+
* Create a new Google Meet space and get its join link.
|
|
163
|
+
*
|
|
164
|
+
* POST /spaces —
|
|
165
|
+
* https://developers.google.com/workspace/meet/api/reference/rest/v2/spaces/create
|
|
166
|
+
*
|
|
167
|
+
* Notice what is NOT here: no key, no base URL, no mode check, no retry loop,
|
|
168
|
+
* no fake/real branch. This describes the request; callConnector resolves the
|
|
169
|
+
* connection, picks the estate, and either calls Google Meet or calls the
|
|
170
|
+
* faker.
|
|
171
|
+
*
|
|
172
|
+
* sideEffects: unsafe-to-replay.
|
|
173
|
+
*/
|
|
174
|
+
|
|
175
|
+
declare const SPACE_CREATE_OPERATION = "space_create";
|
|
176
|
+
type SpaceCreateOptions = {
|
|
177
|
+
/** The node's resolved config. Keys: accessType, entryPointAccess. */
|
|
178
|
+
config: Record<string, unknown>;
|
|
179
|
+
credentials?: Record<string, string | undefined>;
|
|
180
|
+
mode?: RequestedMode;
|
|
181
|
+
connectionId?: string | null;
|
|
182
|
+
input?: unknown;
|
|
183
|
+
attempts?: number;
|
|
184
|
+
/** Override the transport. The only way to exercise this without a network. */
|
|
185
|
+
transport?: Transport;
|
|
186
|
+
};
|
|
187
|
+
declare function googleMeetSpaceCreate(options: SpaceCreateOptions): Promise<ConnectorResult>;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* GENERATED FILE — do not edit.
|
|
191
|
+
*
|
|
192
|
+
* Emitted from provider/actions/space-get.json by weaver's generator.
|
|
193
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
194
|
+
* being rejected, because it works until it silently does not. Fix
|
|
195
|
+
* provider/actions/space-get.json (or weaver's template/) and regenerate:
|
|
196
|
+
*
|
|
197
|
+
* npm run provider -- google_meet
|
|
198
|
+
*/
|
|
199
|
+
/**
|
|
200
|
+
* Read a Meet space's current state, including whether a conference is active
|
|
201
|
+
* right now.
|
|
202
|
+
*
|
|
203
|
+
* GET /spaces/{spaceId} —
|
|
204
|
+
* https://developers.google.com/workspace/meet/api/reference/rest/v2/spaces/get
|
|
205
|
+
*
|
|
206
|
+
* Notice what is NOT here: no key, no base URL, no mode check, no retry loop,
|
|
207
|
+
* no fake/real branch. This describes the request; callConnector resolves the
|
|
208
|
+
* connection, picks the estate, and either calls Google Meet or calls the
|
|
209
|
+
* faker.
|
|
210
|
+
*/
|
|
211
|
+
|
|
212
|
+
declare const SPACE_GET_OPERATION = "space_get";
|
|
213
|
+
type SpaceGetOptions = {
|
|
214
|
+
/** The node's resolved config. Keys: spaceId. */
|
|
215
|
+
config: Record<string, unknown>;
|
|
216
|
+
credentials?: Record<string, string | undefined>;
|
|
217
|
+
mode?: RequestedMode;
|
|
218
|
+
connectionId?: string | null;
|
|
219
|
+
input?: unknown;
|
|
220
|
+
attempts?: number;
|
|
221
|
+
/** Override the transport. The only way to exercise this without a network. */
|
|
222
|
+
transport?: Transport;
|
|
223
|
+
};
|
|
224
|
+
declare function googleMeetSpaceGet(options: SpaceGetOptions): Promise<ConnectorResult>;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* GENERATED FILE — do not edit.
|
|
228
|
+
*
|
|
229
|
+
* Emitted from provider/actions/transcript-entry-list.json by weaver's generator.
|
|
230
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
231
|
+
* being rejected, because it works until it silently does not. Fix
|
|
232
|
+
* provider/actions/transcript-entry-list.json (or weaver's template/) and regenerate:
|
|
233
|
+
*
|
|
234
|
+
* npm run provider -- google_meet
|
|
235
|
+
*/
|
|
236
|
+
/**
|
|
237
|
+
* Read a finished conference's transcript, one utterance per entry.
|
|
238
|
+
*
|
|
239
|
+
* GET
|
|
240
|
+
* /conferenceRecords/{conferenceRecordId}/transcripts/{transcriptId}/entries —
|
|
241
|
+
* https://developers.google.com/workspace/meet/api/reference/rest/v2/conferenceRecords.transcripts.entries/list
|
|
242
|
+
*
|
|
243
|
+
* Notice what is NOT here: no key, no base URL, no mode check, no retry loop,
|
|
244
|
+
* no fake/real branch. This describes the request; callConnector resolves the
|
|
245
|
+
* connection, picks the estate, and either calls Google Meet or calls the
|
|
246
|
+
* faker.
|
|
247
|
+
*/
|
|
248
|
+
|
|
249
|
+
declare const TRANSCRIPT_ENTRY_LIST_OPERATION = "transcript_entry_list";
|
|
250
|
+
type TranscriptEntryListOptions = {
|
|
251
|
+
/** The node's resolved config. Keys: conferenceRecordId, transcriptId, pageToken. */
|
|
252
|
+
config: Record<string, unknown>;
|
|
253
|
+
credentials?: Record<string, string | undefined>;
|
|
254
|
+
mode?: RequestedMode;
|
|
255
|
+
connectionId?: string | null;
|
|
256
|
+
input?: unknown;
|
|
257
|
+
attempts?: number;
|
|
258
|
+
/** Override the transport. The only way to exercise this without a network. */
|
|
259
|
+
transport?: Transport;
|
|
260
|
+
};
|
|
261
|
+
declare function googleMeetTranscriptEntryList(options: TranscriptEntryListOptions): Promise<ConnectorResult>;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* GENERATED FILE — do not edit.
|
|
265
|
+
*
|
|
266
|
+
* Emitted from provider/actions/transcript-list.json by weaver's generator.
|
|
267
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
268
|
+
* being rejected, because it works until it silently does not. Fix
|
|
269
|
+
* provider/actions/transcript-list.json (or weaver's template/) and regenerate:
|
|
270
|
+
*
|
|
271
|
+
* npm run provider -- google_meet
|
|
272
|
+
*/
|
|
273
|
+
/**
|
|
274
|
+
* List a finished conference's transcripts, when transcription was on.
|
|
275
|
+
*
|
|
276
|
+
* GET /conferenceRecords/{conferenceRecordId}/transcripts —
|
|
277
|
+
* https://developers.google.com/workspace/meet/api/reference/rest/v2/conferenceRecords.transcripts/list
|
|
278
|
+
*
|
|
279
|
+
* Notice what is NOT here: no key, no base URL, no mode check, no retry loop,
|
|
280
|
+
* no fake/real branch. This describes the request; callConnector resolves the
|
|
281
|
+
* connection, picks the estate, and either calls Google Meet or calls the
|
|
282
|
+
* faker.
|
|
283
|
+
*/
|
|
284
|
+
|
|
285
|
+
declare const TRANSCRIPT_LIST_OPERATION = "transcript_list";
|
|
286
|
+
type TranscriptListOptions = {
|
|
287
|
+
/** The node's resolved config. Keys: conferenceRecordId. */
|
|
288
|
+
config: Record<string, unknown>;
|
|
289
|
+
credentials?: Record<string, string | undefined>;
|
|
290
|
+
mode?: RequestedMode;
|
|
291
|
+
connectionId?: string | null;
|
|
292
|
+
input?: unknown;
|
|
293
|
+
attempts?: number;
|
|
294
|
+
/** Override the transport. The only way to exercise this without a network. */
|
|
295
|
+
transport?: Transport;
|
|
296
|
+
};
|
|
297
|
+
declare function googleMeetTranscriptList(options: TranscriptListOptions): Promise<ConnectorResult>;
|
|
298
|
+
|
|
299
|
+
export { CONFERENCE_RECORD_LIST_OPERATION, CONNECTOR_API_VERSION, type ConferenceRecordListOptions, GOOGLE_MEET, GOOGLE_MEET_BASE_URLS, GOOGLE_MEET_REQUIRES, PARTICIPANT_LIST_OPERATION, type ParticipantListOptions, SPACE_CREATE_OPERATION, SPACE_GET_OPERATION, type SpaceCreateOptions, type SpaceGetOptions, TRANSCRIPT_ENTRY_LIST_OPERATION, TRANSCRIPT_LIST_OPERATION, type TranscriptEntryListOptions, type TranscriptListOptions, googleMeetAuthorize, googleMeetConferenceRecordList, googleMeetFaker, googleMeetParticipantList, googleMeetSpaceCreate, googleMeetSpaceGet, googleMeetTranscriptEntryList, googleMeetTranscriptList };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { CONFERENCE_RECORD_LIST_OPERATION, CONNECTOR_API_VERSION, GOOGLE_MEET, GOOGLE_MEET_BASE_URLS, GOOGLE_MEET_REQUIRES, PARTICIPANT_LIST_OPERATION, SPACE_CREATE_OPERATION, SPACE_GET_OPERATION, TRANSCRIPT_ENTRY_LIST_OPERATION, TRANSCRIPT_LIST_OPERATION, googleMeetAuthorize, googleMeetConferenceRecordList, googleMeetFaker, googleMeetParticipantList, googleMeetSpaceCreate, googleMeetSpaceGet, googleMeetTranscriptEntryList, googleMeetTranscriptList } from './chunk-FZZBTOL7.js';
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|