@particle-academy/google-meet-ui 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/index.cjs +454 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +233 -0
- package/dist/index.d.ts +233 -0
- package/dist/index.js +417 -0
- package/dist/index.js.map +1 -0
- package/package.json +57 -6
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import * as _particle_academy_fancy_flow_connectors from '@particle-academy/fancy-flow/connectors';
|
|
2
|
+
import { ConnectorMeta, OutputField } from '@particle-academy/fancy-flow/connectors';
|
|
3
|
+
import { NodeKindDefinition } from '@particle-academy/fancy-flow/engine';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* GENERATED FILE — do not edit.
|
|
7
|
+
*
|
|
8
|
+
* Emitted from provider/manifest.json by weaver's generator.
|
|
9
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
10
|
+
* being rejected, because it works until it silently does not. Fix
|
|
11
|
+
* provider/manifest.json (or weaver's template/) and regenerate:
|
|
12
|
+
*
|
|
13
|
+
* npm run provider -- google_meet
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Google Meet's identity on the authoring surface, shared by every Google Meet
|
|
17
|
+
* node.
|
|
18
|
+
*
|
|
19
|
+
* This file must import nothing from the js package: a PHP or Python project
|
|
20
|
+
* installs the ui package and never that one, and the import would be a
|
|
21
|
+
* dangling module the moment it did.
|
|
22
|
+
*
|
|
23
|
+
* ## The sandbox trap
|
|
24
|
+
*
|
|
25
|
+
* Google Meet has no test estate distinct from a real account, as far as this
|
|
26
|
+
* review found (2026-09-16) -- but it is UNVERIFIED, not confirmed.
|
|
27
|
+
* space_create makes a real, joinable meeting space. Use fake mode while
|
|
28
|
+
* building.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* The connector API version this package was GENERATED against.
|
|
33
|
+
*
|
|
34
|
+
* A literal, never imported — an imported constant lets an upgrade rewrite the
|
|
35
|
+
* very claim it exists to detect.
|
|
36
|
+
*/
|
|
37
|
+
declare const CONNECTOR_API_VERSION = 1;
|
|
38
|
+
/** The parts of a connector's identity that belong to the SERVICE, not the node. */
|
|
39
|
+
declare const GOOGLE_MEET_SERVICE: {
|
|
40
|
+
readonly service: "google_meet";
|
|
41
|
+
readonly serviceTitle: "Google Meet";
|
|
42
|
+
readonly domain: "messaging";
|
|
43
|
+
readonly sandbox: "unverified";
|
|
44
|
+
};
|
|
45
|
+
/** The credentials a Google Meet connection holds. */
|
|
46
|
+
declare const GOOGLE_MEET_CREDENTIALS: readonly [{
|
|
47
|
+
readonly key: "clientId";
|
|
48
|
+
readonly label: "OAuth client ID";
|
|
49
|
+
readonly scope: "provider";
|
|
50
|
+
readonly secret: false;
|
|
51
|
+
readonly help: "From the Google Cloud project you registered. One value for the whole installation -- the same app serves every connected Google account.";
|
|
52
|
+
}, {
|
|
53
|
+
readonly key: "clientSecret";
|
|
54
|
+
readonly label: "OAuth client secret";
|
|
55
|
+
readonly scope: "provider";
|
|
56
|
+
readonly secret: true;
|
|
57
|
+
readonly help: "From the same Google Cloud project. Used to exchange the code and to refresh; never sent with an API request.";
|
|
58
|
+
}, {
|
|
59
|
+
readonly key: "accessToken";
|
|
60
|
+
readonly label: "Access token";
|
|
61
|
+
readonly scope: "account";
|
|
62
|
+
readonly secret: true;
|
|
63
|
+
readonly help: "Obtained by the host's OAuth exchange, PER CONNECTED GOOGLE ACCOUNT. Expires after one hour -- a host that does not refresh will work for a while and then fail with no warning.";
|
|
64
|
+
}, {
|
|
65
|
+
readonly key: "refreshToken";
|
|
66
|
+
readonly label: "Refresh token";
|
|
67
|
+
readonly scope: "account";
|
|
68
|
+
readonly secret: true;
|
|
69
|
+
readonly optional: true;
|
|
70
|
+
readonly help: "Also per account. Reusable -- Google does not rotate it on refresh.";
|
|
71
|
+
}];
|
|
72
|
+
/**
|
|
73
|
+
* The OAuth2 exchange Google Meet requires — DECLARED here, performed by the
|
|
74
|
+
* host.
|
|
75
|
+
*
|
|
76
|
+
* A consent screen needs a browser, a redirect URI and somewhere to persist
|
|
77
|
+
* the result, and all three belong to the host; a package that ran the dance
|
|
78
|
+
* itself would have to own a web server. So this says precisely enough for a
|
|
79
|
+
* host to do it.
|
|
80
|
+
*
|
|
81
|
+
* The access token lasts 3600 seconds. A host that never refreshes will work
|
|
82
|
+
* all afternoon and be broken by morning, which is why the lifetime is stated
|
|
83
|
+
* rather than left to be discovered.
|
|
84
|
+
*
|
|
85
|
+
* Its refresh tokens do NOT rotate: the same one is reusable, so a refresh may
|
|
86
|
+
* safely be retried and may run concurrently. That is stated rather than
|
|
87
|
+
* assumed because the opposite — a provider that spends the token and revokes
|
|
88
|
+
* the grant on a replay — looks identical until it happens.
|
|
89
|
+
*
|
|
90
|
+
* Its consent grant is SHARED with every connector declaring grant "google":
|
|
91
|
+
* one OAuth client, one consent and one refresh token per person, scopes added
|
|
92
|
+
* as features are first used (authorizeParams). Revoking removes the WHOLE
|
|
93
|
+
* grant, so only a full disconnect revokes; a per-feature disconnect stops
|
|
94
|
+
* using the scope locally. Identify the account by the id_token's sub, never
|
|
95
|
+
* by email.
|
|
96
|
+
*/
|
|
97
|
+
declare const GOOGLE_MEET_OAUTH: {
|
|
98
|
+
readonly flow: "authorization_code";
|
|
99
|
+
readonly authorizeUrl: "https://accounts.google.com/o/oauth2/v2/auth";
|
|
100
|
+
readonly tokenUrl: "https://oauth2.googleapis.com/token";
|
|
101
|
+
readonly scopes: readonly ["https://www.googleapis.com/auth/meetings.space.created", "https://www.googleapis.com/auth/meetings.space.readonly"];
|
|
102
|
+
readonly accessTokenCredential: "accessToken";
|
|
103
|
+
readonly refreshTokenCredential: "refreshToken";
|
|
104
|
+
readonly refreshTokenRotates: false;
|
|
105
|
+
readonly accessTokenTtlSeconds: 3600;
|
|
106
|
+
readonly grant: "google";
|
|
107
|
+
readonly authorizeParams: {
|
|
108
|
+
readonly access_type: "offline";
|
|
109
|
+
readonly include_granted_scopes: "true";
|
|
110
|
+
};
|
|
111
|
+
readonly revoke: {
|
|
112
|
+
readonly url: "https://oauth2.googleapis.com/revoke";
|
|
113
|
+
readonly param: "token";
|
|
114
|
+
readonly scope: "grant";
|
|
115
|
+
};
|
|
116
|
+
readonly identity: {
|
|
117
|
+
readonly scope: "openid";
|
|
118
|
+
readonly claim: "sub";
|
|
119
|
+
readonly issuers: readonly ["https://accounts.google.com", "accounts.google.com"];
|
|
120
|
+
readonly jwksUrl: "https://www.googleapis.com/oauth2/v3/certs";
|
|
121
|
+
readonly audienceCredential: "clientId";
|
|
122
|
+
};
|
|
123
|
+
readonly restrictedScopes: readonly [];
|
|
124
|
+
};
|
|
125
|
+
/** Build a Google Meet node's connector metadata from the operation it performs. */
|
|
126
|
+
declare function googleMeetMeta(role: ConnectorMeta["role"], operation: string, docs: string): ConnectorMeta;
|
|
127
|
+
|
|
128
|
+
declare const GOOGLE_MEET_CONFERENCE_RECORD_LIST_KIND = "@particle-academy/google_meet_conference_record_list";
|
|
129
|
+
declare const GOOGLE_MEET_CONFERENCE_RECORD_LIST_OPERATION = "conference_record_list";
|
|
130
|
+
declare const GOOGLE_MEET_CONFERENCE_RECORD_LIST_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
131
|
+
/**
|
|
132
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
133
|
+
*
|
|
134
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
135
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
136
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
137
|
+
* and hoping.
|
|
138
|
+
*/
|
|
139
|
+
declare const GOOGLE_MEET_CONFERENCE_RECORD_LIST_OUTPUT: OutputField[];
|
|
140
|
+
declare const googleMeetConferenceRecordListKind: NodeKindDefinition;
|
|
141
|
+
|
|
142
|
+
declare const GOOGLE_MEET_PARTICIPANT_LIST_KIND = "@particle-academy/google_meet_participant_list";
|
|
143
|
+
declare const GOOGLE_MEET_PARTICIPANT_LIST_OPERATION = "participant_list";
|
|
144
|
+
declare const GOOGLE_MEET_PARTICIPANT_LIST_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
145
|
+
/**
|
|
146
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
147
|
+
*
|
|
148
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
149
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
150
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
151
|
+
* and hoping.
|
|
152
|
+
*/
|
|
153
|
+
declare const GOOGLE_MEET_PARTICIPANT_LIST_OUTPUT: OutputField[];
|
|
154
|
+
declare const googleMeetParticipantListKind: NodeKindDefinition;
|
|
155
|
+
|
|
156
|
+
declare const GOOGLE_MEET_SPACE_CREATE_KIND = "@particle-academy/google_meet_space_create";
|
|
157
|
+
declare const GOOGLE_MEET_SPACE_CREATE_OPERATION = "space_create";
|
|
158
|
+
declare const GOOGLE_MEET_SPACE_CREATE_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
159
|
+
/**
|
|
160
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
161
|
+
*
|
|
162
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
163
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
164
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
165
|
+
* and hoping.
|
|
166
|
+
*/
|
|
167
|
+
declare const GOOGLE_MEET_SPACE_CREATE_OUTPUT: OutputField[];
|
|
168
|
+
declare const googleMeetSpaceCreateKind: NodeKindDefinition;
|
|
169
|
+
|
|
170
|
+
declare const GOOGLE_MEET_SPACE_GET_KIND = "@particle-academy/google_meet_space_get";
|
|
171
|
+
declare const GOOGLE_MEET_SPACE_GET_OPERATION = "space_get";
|
|
172
|
+
declare const GOOGLE_MEET_SPACE_GET_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
173
|
+
/**
|
|
174
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
175
|
+
*
|
|
176
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
177
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
178
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
179
|
+
* and hoping.
|
|
180
|
+
*/
|
|
181
|
+
declare const GOOGLE_MEET_SPACE_GET_OUTPUT: OutputField[];
|
|
182
|
+
declare const googleMeetSpaceGetKind: NodeKindDefinition;
|
|
183
|
+
|
|
184
|
+
declare const GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_KIND = "@particle-academy/google_meet_transcript_entry_list";
|
|
185
|
+
declare const GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_OPERATION = "transcript_entry_list";
|
|
186
|
+
declare const GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
187
|
+
/**
|
|
188
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
189
|
+
*
|
|
190
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
191
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
192
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
193
|
+
* and hoping.
|
|
194
|
+
*/
|
|
195
|
+
declare const GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_OUTPUT: OutputField[];
|
|
196
|
+
declare const googleMeetTranscriptEntryListKind: NodeKindDefinition;
|
|
197
|
+
|
|
198
|
+
declare const GOOGLE_MEET_TRANSCRIPT_LIST_KIND = "@particle-academy/google_meet_transcript_list";
|
|
199
|
+
declare const GOOGLE_MEET_TRANSCRIPT_LIST_OPERATION = "transcript_list";
|
|
200
|
+
declare const GOOGLE_MEET_TRANSCRIPT_LIST_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
201
|
+
/**
|
|
202
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
203
|
+
*
|
|
204
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
205
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
206
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
207
|
+
* and hoping.
|
|
208
|
+
*/
|
|
209
|
+
declare const GOOGLE_MEET_TRANSCRIPT_LIST_OUTPUT: OutputField[];
|
|
210
|
+
declare const googleMeetTranscriptListKind: NodeKindDefinition;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* GENERATED FILE — do not edit.
|
|
214
|
+
*
|
|
215
|
+
* Emitted from provider/manifest.json by weaver's generator.
|
|
216
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
217
|
+
* being rejected, because it works until it silently does not. Fix
|
|
218
|
+
* provider/manifest.json (or weaver's template/) and regenerate:
|
|
219
|
+
*
|
|
220
|
+
* npm run provider -- google_meet
|
|
221
|
+
*/
|
|
222
|
+
/**
|
|
223
|
+
* Google Meet's node kinds for fancy-flow.
|
|
224
|
+
*
|
|
225
|
+
* Install this on every host. The TypeScript executors live in the js
|
|
226
|
+
* package's `./flow` subpath; PHP and Python hosts run their own and need only
|
|
227
|
+
* this.
|
|
228
|
+
*/
|
|
229
|
+
|
|
230
|
+
/** Every Google Meet kind, for a host that registers the lot. */
|
|
231
|
+
declare const GOOGLE_MEET_KINDS: NodeKindDefinition[];
|
|
232
|
+
|
|
233
|
+
export { CONNECTOR_API_VERSION, GOOGLE_MEET_CONFERENCE_RECORD_LIST_KIND, GOOGLE_MEET_CONFERENCE_RECORD_LIST_META, GOOGLE_MEET_CONFERENCE_RECORD_LIST_OPERATION, GOOGLE_MEET_CONFERENCE_RECORD_LIST_OUTPUT, GOOGLE_MEET_CREDENTIALS, GOOGLE_MEET_KINDS, GOOGLE_MEET_OAUTH, GOOGLE_MEET_PARTICIPANT_LIST_KIND, GOOGLE_MEET_PARTICIPANT_LIST_META, GOOGLE_MEET_PARTICIPANT_LIST_OPERATION, GOOGLE_MEET_PARTICIPANT_LIST_OUTPUT, GOOGLE_MEET_SERVICE, GOOGLE_MEET_SPACE_CREATE_KIND, GOOGLE_MEET_SPACE_CREATE_META, GOOGLE_MEET_SPACE_CREATE_OPERATION, GOOGLE_MEET_SPACE_CREATE_OUTPUT, GOOGLE_MEET_SPACE_GET_KIND, GOOGLE_MEET_SPACE_GET_META, GOOGLE_MEET_SPACE_GET_OPERATION, GOOGLE_MEET_SPACE_GET_OUTPUT, GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_KIND, GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_META, GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_OPERATION, GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_OUTPUT, GOOGLE_MEET_TRANSCRIPT_LIST_KIND, GOOGLE_MEET_TRANSCRIPT_LIST_META, GOOGLE_MEET_TRANSCRIPT_LIST_OPERATION, GOOGLE_MEET_TRANSCRIPT_LIST_OUTPUT, googleMeetConferenceRecordListKind, googleMeetMeta, googleMeetParticipantListKind, googleMeetSpaceCreateKind, googleMeetSpaceGetKind, googleMeetTranscriptEntryListKind, googleMeetTranscriptListKind };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import * as _particle_academy_fancy_flow_connectors from '@particle-academy/fancy-flow/connectors';
|
|
2
|
+
import { ConnectorMeta, OutputField } from '@particle-academy/fancy-flow/connectors';
|
|
3
|
+
import { NodeKindDefinition } from '@particle-academy/fancy-flow/engine';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* GENERATED FILE — do not edit.
|
|
7
|
+
*
|
|
8
|
+
* Emitted from provider/manifest.json by weaver's generator.
|
|
9
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
10
|
+
* being rejected, because it works until it silently does not. Fix
|
|
11
|
+
* provider/manifest.json (or weaver's template/) and regenerate:
|
|
12
|
+
*
|
|
13
|
+
* npm run provider -- google_meet
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Google Meet's identity on the authoring surface, shared by every Google Meet
|
|
17
|
+
* node.
|
|
18
|
+
*
|
|
19
|
+
* This file must import nothing from the js package: a PHP or Python project
|
|
20
|
+
* installs the ui package and never that one, and the import would be a
|
|
21
|
+
* dangling module the moment it did.
|
|
22
|
+
*
|
|
23
|
+
* ## The sandbox trap
|
|
24
|
+
*
|
|
25
|
+
* Google Meet has no test estate distinct from a real account, as far as this
|
|
26
|
+
* review found (2026-09-16) -- but it is UNVERIFIED, not confirmed.
|
|
27
|
+
* space_create makes a real, joinable meeting space. Use fake mode while
|
|
28
|
+
* building.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* The connector API version this package was GENERATED against.
|
|
33
|
+
*
|
|
34
|
+
* A literal, never imported — an imported constant lets an upgrade rewrite the
|
|
35
|
+
* very claim it exists to detect.
|
|
36
|
+
*/
|
|
37
|
+
declare const CONNECTOR_API_VERSION = 1;
|
|
38
|
+
/** The parts of a connector's identity that belong to the SERVICE, not the node. */
|
|
39
|
+
declare const GOOGLE_MEET_SERVICE: {
|
|
40
|
+
readonly service: "google_meet";
|
|
41
|
+
readonly serviceTitle: "Google Meet";
|
|
42
|
+
readonly domain: "messaging";
|
|
43
|
+
readonly sandbox: "unverified";
|
|
44
|
+
};
|
|
45
|
+
/** The credentials a Google Meet connection holds. */
|
|
46
|
+
declare const GOOGLE_MEET_CREDENTIALS: readonly [{
|
|
47
|
+
readonly key: "clientId";
|
|
48
|
+
readonly label: "OAuth client ID";
|
|
49
|
+
readonly scope: "provider";
|
|
50
|
+
readonly secret: false;
|
|
51
|
+
readonly help: "From the Google Cloud project you registered. One value for the whole installation -- the same app serves every connected Google account.";
|
|
52
|
+
}, {
|
|
53
|
+
readonly key: "clientSecret";
|
|
54
|
+
readonly label: "OAuth client secret";
|
|
55
|
+
readonly scope: "provider";
|
|
56
|
+
readonly secret: true;
|
|
57
|
+
readonly help: "From the same Google Cloud project. Used to exchange the code and to refresh; never sent with an API request.";
|
|
58
|
+
}, {
|
|
59
|
+
readonly key: "accessToken";
|
|
60
|
+
readonly label: "Access token";
|
|
61
|
+
readonly scope: "account";
|
|
62
|
+
readonly secret: true;
|
|
63
|
+
readonly help: "Obtained by the host's OAuth exchange, PER CONNECTED GOOGLE ACCOUNT. Expires after one hour -- a host that does not refresh will work for a while and then fail with no warning.";
|
|
64
|
+
}, {
|
|
65
|
+
readonly key: "refreshToken";
|
|
66
|
+
readonly label: "Refresh token";
|
|
67
|
+
readonly scope: "account";
|
|
68
|
+
readonly secret: true;
|
|
69
|
+
readonly optional: true;
|
|
70
|
+
readonly help: "Also per account. Reusable -- Google does not rotate it on refresh.";
|
|
71
|
+
}];
|
|
72
|
+
/**
|
|
73
|
+
* The OAuth2 exchange Google Meet requires — DECLARED here, performed by the
|
|
74
|
+
* host.
|
|
75
|
+
*
|
|
76
|
+
* A consent screen needs a browser, a redirect URI and somewhere to persist
|
|
77
|
+
* the result, and all three belong to the host; a package that ran the dance
|
|
78
|
+
* itself would have to own a web server. So this says precisely enough for a
|
|
79
|
+
* host to do it.
|
|
80
|
+
*
|
|
81
|
+
* The access token lasts 3600 seconds. A host that never refreshes will work
|
|
82
|
+
* all afternoon and be broken by morning, which is why the lifetime is stated
|
|
83
|
+
* rather than left to be discovered.
|
|
84
|
+
*
|
|
85
|
+
* Its refresh tokens do NOT rotate: the same one is reusable, so a refresh may
|
|
86
|
+
* safely be retried and may run concurrently. That is stated rather than
|
|
87
|
+
* assumed because the opposite — a provider that spends the token and revokes
|
|
88
|
+
* the grant on a replay — looks identical until it happens.
|
|
89
|
+
*
|
|
90
|
+
* Its consent grant is SHARED with every connector declaring grant "google":
|
|
91
|
+
* one OAuth client, one consent and one refresh token per person, scopes added
|
|
92
|
+
* as features are first used (authorizeParams). Revoking removes the WHOLE
|
|
93
|
+
* grant, so only a full disconnect revokes; a per-feature disconnect stops
|
|
94
|
+
* using the scope locally. Identify the account by the id_token's sub, never
|
|
95
|
+
* by email.
|
|
96
|
+
*/
|
|
97
|
+
declare const GOOGLE_MEET_OAUTH: {
|
|
98
|
+
readonly flow: "authorization_code";
|
|
99
|
+
readonly authorizeUrl: "https://accounts.google.com/o/oauth2/v2/auth";
|
|
100
|
+
readonly tokenUrl: "https://oauth2.googleapis.com/token";
|
|
101
|
+
readonly scopes: readonly ["https://www.googleapis.com/auth/meetings.space.created", "https://www.googleapis.com/auth/meetings.space.readonly"];
|
|
102
|
+
readonly accessTokenCredential: "accessToken";
|
|
103
|
+
readonly refreshTokenCredential: "refreshToken";
|
|
104
|
+
readonly refreshTokenRotates: false;
|
|
105
|
+
readonly accessTokenTtlSeconds: 3600;
|
|
106
|
+
readonly grant: "google";
|
|
107
|
+
readonly authorizeParams: {
|
|
108
|
+
readonly access_type: "offline";
|
|
109
|
+
readonly include_granted_scopes: "true";
|
|
110
|
+
};
|
|
111
|
+
readonly revoke: {
|
|
112
|
+
readonly url: "https://oauth2.googleapis.com/revoke";
|
|
113
|
+
readonly param: "token";
|
|
114
|
+
readonly scope: "grant";
|
|
115
|
+
};
|
|
116
|
+
readonly identity: {
|
|
117
|
+
readonly scope: "openid";
|
|
118
|
+
readonly claim: "sub";
|
|
119
|
+
readonly issuers: readonly ["https://accounts.google.com", "accounts.google.com"];
|
|
120
|
+
readonly jwksUrl: "https://www.googleapis.com/oauth2/v3/certs";
|
|
121
|
+
readonly audienceCredential: "clientId";
|
|
122
|
+
};
|
|
123
|
+
readonly restrictedScopes: readonly [];
|
|
124
|
+
};
|
|
125
|
+
/** Build a Google Meet node's connector metadata from the operation it performs. */
|
|
126
|
+
declare function googleMeetMeta(role: ConnectorMeta["role"], operation: string, docs: string): ConnectorMeta;
|
|
127
|
+
|
|
128
|
+
declare const GOOGLE_MEET_CONFERENCE_RECORD_LIST_KIND = "@particle-academy/google_meet_conference_record_list";
|
|
129
|
+
declare const GOOGLE_MEET_CONFERENCE_RECORD_LIST_OPERATION = "conference_record_list";
|
|
130
|
+
declare const GOOGLE_MEET_CONFERENCE_RECORD_LIST_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
131
|
+
/**
|
|
132
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
133
|
+
*
|
|
134
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
135
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
136
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
137
|
+
* and hoping.
|
|
138
|
+
*/
|
|
139
|
+
declare const GOOGLE_MEET_CONFERENCE_RECORD_LIST_OUTPUT: OutputField[];
|
|
140
|
+
declare const googleMeetConferenceRecordListKind: NodeKindDefinition;
|
|
141
|
+
|
|
142
|
+
declare const GOOGLE_MEET_PARTICIPANT_LIST_KIND = "@particle-academy/google_meet_participant_list";
|
|
143
|
+
declare const GOOGLE_MEET_PARTICIPANT_LIST_OPERATION = "participant_list";
|
|
144
|
+
declare const GOOGLE_MEET_PARTICIPANT_LIST_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
145
|
+
/**
|
|
146
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
147
|
+
*
|
|
148
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
149
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
150
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
151
|
+
* and hoping.
|
|
152
|
+
*/
|
|
153
|
+
declare const GOOGLE_MEET_PARTICIPANT_LIST_OUTPUT: OutputField[];
|
|
154
|
+
declare const googleMeetParticipantListKind: NodeKindDefinition;
|
|
155
|
+
|
|
156
|
+
declare const GOOGLE_MEET_SPACE_CREATE_KIND = "@particle-academy/google_meet_space_create";
|
|
157
|
+
declare const GOOGLE_MEET_SPACE_CREATE_OPERATION = "space_create";
|
|
158
|
+
declare const GOOGLE_MEET_SPACE_CREATE_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
159
|
+
/**
|
|
160
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
161
|
+
*
|
|
162
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
163
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
164
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
165
|
+
* and hoping.
|
|
166
|
+
*/
|
|
167
|
+
declare const GOOGLE_MEET_SPACE_CREATE_OUTPUT: OutputField[];
|
|
168
|
+
declare const googleMeetSpaceCreateKind: NodeKindDefinition;
|
|
169
|
+
|
|
170
|
+
declare const GOOGLE_MEET_SPACE_GET_KIND = "@particle-academy/google_meet_space_get";
|
|
171
|
+
declare const GOOGLE_MEET_SPACE_GET_OPERATION = "space_get";
|
|
172
|
+
declare const GOOGLE_MEET_SPACE_GET_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
173
|
+
/**
|
|
174
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
175
|
+
*
|
|
176
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
177
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
178
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
179
|
+
* and hoping.
|
|
180
|
+
*/
|
|
181
|
+
declare const GOOGLE_MEET_SPACE_GET_OUTPUT: OutputField[];
|
|
182
|
+
declare const googleMeetSpaceGetKind: NodeKindDefinition;
|
|
183
|
+
|
|
184
|
+
declare const GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_KIND = "@particle-academy/google_meet_transcript_entry_list";
|
|
185
|
+
declare const GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_OPERATION = "transcript_entry_list";
|
|
186
|
+
declare const GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
187
|
+
/**
|
|
188
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
189
|
+
*
|
|
190
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
191
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
192
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
193
|
+
* and hoping.
|
|
194
|
+
*/
|
|
195
|
+
declare const GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_OUTPUT: OutputField[];
|
|
196
|
+
declare const googleMeetTranscriptEntryListKind: NodeKindDefinition;
|
|
197
|
+
|
|
198
|
+
declare const GOOGLE_MEET_TRANSCRIPT_LIST_KIND = "@particle-academy/google_meet_transcript_list";
|
|
199
|
+
declare const GOOGLE_MEET_TRANSCRIPT_LIST_OPERATION = "transcript_list";
|
|
200
|
+
declare const GOOGLE_MEET_TRANSCRIPT_LIST_META: _particle_academy_fancy_flow_connectors.ConnectorMeta;
|
|
201
|
+
/**
|
|
202
|
+
* What this node emits — the "ingredients" a downstream node can reference.
|
|
203
|
+
*
|
|
204
|
+
* fancy-flow reads `outputShape` off the kind and offers it in the variable
|
|
205
|
+
* picker, so declaring it is the whole of the work: an author configuring the
|
|
206
|
+
* next node picks `{{ $json.data.id }}` off a list instead of typing a path
|
|
207
|
+
* and hoping.
|
|
208
|
+
*/
|
|
209
|
+
declare const GOOGLE_MEET_TRANSCRIPT_LIST_OUTPUT: OutputField[];
|
|
210
|
+
declare const googleMeetTranscriptListKind: NodeKindDefinition;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* GENERATED FILE — do not edit.
|
|
214
|
+
*
|
|
215
|
+
* Emitted from provider/manifest.json by weaver's generator.
|
|
216
|
+
* A hand-edit here is destroyed by the next protocol sync, which is worse than
|
|
217
|
+
* being rejected, because it works until it silently does not. Fix
|
|
218
|
+
* provider/manifest.json (or weaver's template/) and regenerate:
|
|
219
|
+
*
|
|
220
|
+
* npm run provider -- google_meet
|
|
221
|
+
*/
|
|
222
|
+
/**
|
|
223
|
+
* Google Meet's node kinds for fancy-flow.
|
|
224
|
+
*
|
|
225
|
+
* Install this on every host. The TypeScript executors live in the js
|
|
226
|
+
* package's `./flow` subpath; PHP and Python hosts run their own and need only
|
|
227
|
+
* this.
|
|
228
|
+
*/
|
|
229
|
+
|
|
230
|
+
/** Every Google Meet kind, for a host that registers the lot. */
|
|
231
|
+
declare const GOOGLE_MEET_KINDS: NodeKindDefinition[];
|
|
232
|
+
|
|
233
|
+
export { CONNECTOR_API_VERSION, GOOGLE_MEET_CONFERENCE_RECORD_LIST_KIND, GOOGLE_MEET_CONFERENCE_RECORD_LIST_META, GOOGLE_MEET_CONFERENCE_RECORD_LIST_OPERATION, GOOGLE_MEET_CONFERENCE_RECORD_LIST_OUTPUT, GOOGLE_MEET_CREDENTIALS, GOOGLE_MEET_KINDS, GOOGLE_MEET_OAUTH, GOOGLE_MEET_PARTICIPANT_LIST_KIND, GOOGLE_MEET_PARTICIPANT_LIST_META, GOOGLE_MEET_PARTICIPANT_LIST_OPERATION, GOOGLE_MEET_PARTICIPANT_LIST_OUTPUT, GOOGLE_MEET_SERVICE, GOOGLE_MEET_SPACE_CREATE_KIND, GOOGLE_MEET_SPACE_CREATE_META, GOOGLE_MEET_SPACE_CREATE_OPERATION, GOOGLE_MEET_SPACE_CREATE_OUTPUT, GOOGLE_MEET_SPACE_GET_KIND, GOOGLE_MEET_SPACE_GET_META, GOOGLE_MEET_SPACE_GET_OPERATION, GOOGLE_MEET_SPACE_GET_OUTPUT, GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_KIND, GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_META, GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_OPERATION, GOOGLE_MEET_TRANSCRIPT_ENTRY_LIST_OUTPUT, GOOGLE_MEET_TRANSCRIPT_LIST_KIND, GOOGLE_MEET_TRANSCRIPT_LIST_META, GOOGLE_MEET_TRANSCRIPT_LIST_OPERATION, GOOGLE_MEET_TRANSCRIPT_LIST_OUTPUT, googleMeetConferenceRecordListKind, googleMeetMeta, googleMeetParticipantListKind, googleMeetSpaceCreateKind, googleMeetSpaceGetKind, googleMeetTranscriptEntryListKind, googleMeetTranscriptListKind };
|