@peasant-labs/schema 0.52.0 → 0.54.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.
@@ -0,0 +1,818 @@
1
+ // Code generated by `go run ./cmd/schema-gen`. DO NOT EDIT.
2
+ import { routeMember } from "../../route-member.js";
3
+ /** HttpMethod is the closed set of HTTP methods the Village API and Local API documents declare. */
4
+ export const HttpMethod = Object.freeze({
5
+ Get: "GET",
6
+ Post: "POST",
7
+ Put: "PUT",
8
+ Patch: "PATCH",
9
+ Delete: "DELETE",
10
+ });
11
+ /** ALL_HTTP_METHODS is the canonical order of HttpMethod. */
12
+ export const ALL_HTTP_METHODS = Object.freeze([HttpMethod.Get, HttpMethod.Post, HttpMethod.Put, HttpMethod.Patch, HttpMethod.Delete]);
13
+ export function isHttpMethod(value) {
14
+ return typeof value === "string" && ALL_HTTP_METHODS.includes(value);
15
+ }
16
+ /** VillageRoute holds one member per operation of the Village API document, named by operationId. */
17
+ export const VillageRoute = Object.freeze({
18
+ /**
19
+ * `POST /api/v1/annotations` (operationId `pushAnnotations`).
20
+ */
21
+ PushAnnotations: routeMember(HttpMethod.Post, "/api/v1/annotations", "pushAnnotations"),
22
+ /**
23
+ * `GET /api/v1/annotations/manifest` (operationId `getAnnotationManifest`).
24
+ */
25
+ GetAnnotationManifest: routeMember(HttpMethod.Get, "/api/v1/annotations/manifest", "getAnnotationManifest"),
26
+ /**
27
+ * `POST /api/v1/auth/cli/exchange` (operationId `cliExchangeCode`).
28
+ */
29
+ CliExchangeCode: routeMember(HttpMethod.Post, "/api/v1/auth/cli/exchange", "cliExchangeCode"),
30
+ /**
31
+ * `GET /api/v1/auth/cli/login` (operationId `cliLogin`).
32
+ */
33
+ CliLogin: routeMember(HttpMethod.Get, "/api/v1/auth/cli/login", "cliLogin"),
34
+ /**
35
+ * `GET /api/v1/auth/me` (operationId `getAuthenticatedVillageUser`).
36
+ */
37
+ GetAuthenticatedVillageUser: routeMember(HttpMethod.Get, "/api/v1/auth/me", "getAuthenticatedVillageUser"),
38
+ /**
39
+ * `GET /api/v1/auth/orgs` (operationId `listAuthenticatedVillageOrganizations`).
40
+ */
41
+ ListAuthenticatedVillageOrganizations: routeMember(HttpMethod.Get, "/api/v1/auth/orgs", "listAuthenticatedVillageOrganizations"),
42
+ /**
43
+ * `GET /api/v1/collectives` (operationId `listGroups`).
44
+ */
45
+ ListGroups: routeMember(HttpMethod.Get, "/api/v1/collectives", "listGroups"),
46
+ /**
47
+ * `POST /api/v1/collectives` (operationId `createGroup`).
48
+ */
49
+ CreateGroup: routeMember(HttpMethod.Post, "/api/v1/collectives", "createGroup"),
50
+ /**
51
+ * `GET /api/v1/collectives/public` (operationId `listPublicGroups`).
52
+ */
53
+ ListPublicGroups: routeMember(HttpMethod.Get, "/api/v1/collectives/public", "listPublicGroups"),
54
+ /**
55
+ * `GET /api/v1/collectives/search` (operationId `searchCollectives`).
56
+ */
57
+ SearchCollectives: routeMember(HttpMethod.Get, "/api/v1/collectives/search", "searchCollectives"),
58
+ /**
59
+ * `GET /api/v1/collectives/visible` (operationId `listVisibleGroups`).
60
+ */
61
+ ListVisibleGroups: routeMember(HttpMethod.Get, "/api/v1/collectives/visible", "listVisibleGroups"),
62
+ /**
63
+ * `GET /api/v1/collectives/{id}` (operationId `getGroup`).
64
+ */
65
+ GetGroup: routeMember(HttpMethod.Get, "/api/v1/collectives/{id}", "getGroup"),
66
+ /**
67
+ * `PATCH /api/v1/collectives/{id}` (operationId `updateGroup`).
68
+ */
69
+ UpdateGroup: routeMember(HttpMethod.Patch, "/api/v1/collectives/{id}", "updateGroup"),
70
+ /**
71
+ * `DELETE /api/v1/collectives/{id}` (operationId `deleteGroup`).
72
+ */
73
+ DeleteGroup: routeMember(HttpMethod.Delete, "/api/v1/collectives/{id}", "deleteGroup"),
74
+ /**
75
+ * `GET /api/v1/collectives/{id}/contributable` (operationId `listContributableTranscripts`).
76
+ */
77
+ ListContributableTranscripts: routeMember(HttpMethod.Get, "/api/v1/collectives/{id}/contributable", "listContributableTranscripts"),
78
+ /**
79
+ * `GET /api/v1/collectives/{id}/invitations` (operationId `listGroupInvitations`).
80
+ */
81
+ ListGroupInvitations: routeMember(HttpMethod.Get, "/api/v1/collectives/{id}/invitations", "listGroupInvitations"),
82
+ /**
83
+ * `POST /api/v1/collectives/{id}/invitations` (operationId `createGroupInvitation`).
84
+ */
85
+ CreateGroupInvitation: routeMember(HttpMethod.Post, "/api/v1/collectives/{id}/invitations", "createGroupInvitation"),
86
+ /**
87
+ * `DELETE /api/v1/collectives/{id}/invitations/{invitationID}` (operationId `revokeGroupInvitation`).
88
+ */
89
+ RevokeGroupInvitation: routeMember(HttpMethod.Delete, "/api/v1/collectives/{id}/invitations/{invitationID}", "revokeGroupInvitation"),
90
+ /**
91
+ * `POST /api/v1/collectives/{id}/join` (operationId `joinGroup`).
92
+ */
93
+ JoinGroup: routeMember(HttpMethod.Post, "/api/v1/collectives/{id}/join", "joinGroup"),
94
+ /**
95
+ * `DELETE /api/v1/collectives/{id}/members/{userID}` (operationId `removeGroupMember`).
96
+ */
97
+ RemoveGroupMember: routeMember(HttpMethod.Delete, "/api/v1/collectives/{id}/members/{userID}", "removeGroupMember"),
98
+ /**
99
+ * `PATCH /api/v1/collectives/{id}/members/{userID}/role` (operationId `updateGroupMemberRole`).
100
+ */
101
+ UpdateGroupMemberRole: routeMember(HttpMethod.Patch, "/api/v1/collectives/{id}/members/{userID}/role", "updateGroupMemberRole"),
102
+ /**
103
+ * `GET /api/v1/collectives/{id}/my-shares` (operationId `listMyGroupShares`).
104
+ */
105
+ ListMyGroupShares: routeMember(HttpMethod.Get, "/api/v1/collectives/{id}/my-shares", "listMyGroupShares"),
106
+ /**
107
+ * `GET /api/v1/collectives/{id}/pending` (operationId `listPendingShares`).
108
+ */
109
+ ListPendingShares: routeMember(HttpMethod.Get, "/api/v1/collectives/{id}/pending", "listPendingShares"),
110
+ /**
111
+ * `GET /api/v1/collectives/{id}/repositories` (operationId `listGroupRepositories`).
112
+ */
113
+ ListGroupRepositories: routeMember(HttpMethod.Get, "/api/v1/collectives/{id}/repositories", "listGroupRepositories"),
114
+ /**
115
+ * `POST /api/v1/collectives/{id}/repositories` (operationId `linkGroupRepository`).
116
+ */
117
+ LinkGroupRepository: routeMember(HttpMethod.Post, "/api/v1/collectives/{id}/repositories", "linkGroupRepository"),
118
+ /**
119
+ * `GET /api/v1/collectives/{id}/repositories/available` (operationId `listAvailableGroupRepositories`).
120
+ */
121
+ ListAvailableGroupRepositories: routeMember(HttpMethod.Get, "/api/v1/collectives/{id}/repositories/available", "listAvailableGroupRepositories"),
122
+ /**
123
+ * `DELETE /api/v1/collectives/{id}/repositories/{owner}/{name}` (operationId `unlinkGroupRepository`).
124
+ */
125
+ UnlinkGroupRepository: routeMember(HttpMethod.Delete, "/api/v1/collectives/{id}/repositories/{owner}/{name}", "unlinkGroupRepository"),
126
+ /**
127
+ * `GET /api/v1/collectives/{id}/repositories/{owner}/{name}/commits` (operationId `listGroupRepositoryCommits`).
128
+ */
129
+ ListGroupRepositoryCommits: routeMember(HttpMethod.Get, "/api/v1/collectives/{id}/repositories/{owner}/{name}/commits", "listGroupRepositoryCommits"),
130
+ /**
131
+ * `POST /api/v1/collectives/{id}/shares` (operationId `batchShareProject`).
132
+ */
133
+ BatchShareProject: routeMember(HttpMethod.Post, "/api/v1/collectives/{id}/shares", "batchShareProject"),
134
+ /**
135
+ * `PATCH /api/v1/collectives/{id}/shares` (operationId `batchReviewShares`).
136
+ */
137
+ BatchReviewShares: routeMember(HttpMethod.Patch, "/api/v1/collectives/{id}/shares", "batchReviewShares"),
138
+ /**
139
+ * `PATCH /api/v1/collectives/{id}/shares/{transcriptID}` (operationId `reviewShare`).
140
+ */
141
+ ReviewShare: routeMember(HttpMethod.Patch, "/api/v1/collectives/{id}/shares/{transcriptID}", "reviewShare"),
142
+ /**
143
+ * `DELETE /api/v1/collectives/{id}/transcripts/{transcriptID}` (operationId `removeGroupTranscript`).
144
+ */
145
+ RemoveGroupTranscript: routeMember(HttpMethod.Delete, "/api/v1/collectives/{id}/transcripts/{transcriptID}", "removeGroupTranscript"),
146
+ /**
147
+ * `POST /api/v1/email/unsubscribe` (operationId `unsubscribeInvitationEmails`).
148
+ */
149
+ UnsubscribeInvitationEmails: routeMember(HttpMethod.Post, "/api/v1/email/unsubscribe", "unsubscribeInvitationEmails"),
150
+ /**
151
+ * `GET /api/v1/groups` (operationId `listGroupsDeprecated`).
152
+ * @deprecated The Village API document marks this operation deprecated.
153
+ */
154
+ ListGroupsDeprecated: routeMember(HttpMethod.Get, "/api/v1/groups", "listGroupsDeprecated"),
155
+ /**
156
+ * `POST /api/v1/groups` (operationId `createGroupDeprecated`).
157
+ * @deprecated The Village API document marks this operation deprecated.
158
+ */
159
+ CreateGroupDeprecated: routeMember(HttpMethod.Post, "/api/v1/groups", "createGroupDeprecated"),
160
+ /**
161
+ * `GET /api/v1/groups/public` (operationId `listPublicGroupsDeprecated`).
162
+ * @deprecated The Village API document marks this operation deprecated.
163
+ */
164
+ ListPublicGroupsDeprecated: routeMember(HttpMethod.Get, "/api/v1/groups/public", "listPublicGroupsDeprecated"),
165
+ /**
166
+ * `GET /api/v1/groups/search` (operationId `searchCollectivesDeprecated`).
167
+ * @deprecated The Village API document marks this operation deprecated.
168
+ */
169
+ SearchCollectivesDeprecated: routeMember(HttpMethod.Get, "/api/v1/groups/search", "searchCollectivesDeprecated"),
170
+ /**
171
+ * `GET /api/v1/groups/visible` (operationId `listVisibleGroupsDeprecated`).
172
+ * @deprecated The Village API document marks this operation deprecated.
173
+ */
174
+ ListVisibleGroupsDeprecated: routeMember(HttpMethod.Get, "/api/v1/groups/visible", "listVisibleGroupsDeprecated"),
175
+ /**
176
+ * `GET /api/v1/groups/{id}` (operationId `getGroupDeprecated`).
177
+ * @deprecated The Village API document marks this operation deprecated.
178
+ */
179
+ GetGroupDeprecated: routeMember(HttpMethod.Get, "/api/v1/groups/{id}", "getGroupDeprecated"),
180
+ /**
181
+ * `PATCH /api/v1/groups/{id}` (operationId `updateGroupDeprecated`).
182
+ * @deprecated The Village API document marks this operation deprecated.
183
+ */
184
+ UpdateGroupDeprecated: routeMember(HttpMethod.Patch, "/api/v1/groups/{id}", "updateGroupDeprecated"),
185
+ /**
186
+ * `DELETE /api/v1/groups/{id}` (operationId `deleteGroupDeprecated`).
187
+ * @deprecated The Village API document marks this operation deprecated.
188
+ */
189
+ DeleteGroupDeprecated: routeMember(HttpMethod.Delete, "/api/v1/groups/{id}", "deleteGroupDeprecated"),
190
+ /**
191
+ * `GET /api/v1/groups/{id}/contributable` (operationId `listContributableTranscriptsDeprecated`).
192
+ * @deprecated The Village API document marks this operation deprecated.
193
+ */
194
+ ListContributableTranscriptsDeprecated: routeMember(HttpMethod.Get, "/api/v1/groups/{id}/contributable", "listContributableTranscriptsDeprecated"),
195
+ /**
196
+ * `GET /api/v1/groups/{id}/invitations` (operationId `listGroupInvitationsDeprecated`).
197
+ * @deprecated The Village API document marks this operation deprecated.
198
+ */
199
+ ListGroupInvitationsDeprecated: routeMember(HttpMethod.Get, "/api/v1/groups/{id}/invitations", "listGroupInvitationsDeprecated"),
200
+ /**
201
+ * `POST /api/v1/groups/{id}/invitations` (operationId `createGroupInvitationDeprecated`).
202
+ * @deprecated The Village API document marks this operation deprecated.
203
+ */
204
+ CreateGroupInvitationDeprecated: routeMember(HttpMethod.Post, "/api/v1/groups/{id}/invitations", "createGroupInvitationDeprecated"),
205
+ /**
206
+ * `DELETE /api/v1/groups/{id}/invitations/{invitationID}` (operationId `revokeGroupInvitationDeprecated`).
207
+ * @deprecated The Village API document marks this operation deprecated.
208
+ */
209
+ RevokeGroupInvitationDeprecated: routeMember(HttpMethod.Delete, "/api/v1/groups/{id}/invitations/{invitationID}", "revokeGroupInvitationDeprecated"),
210
+ /**
211
+ * `POST /api/v1/groups/{id}/join` (operationId `joinGroupDeprecated`).
212
+ * @deprecated The Village API document marks this operation deprecated.
213
+ */
214
+ JoinGroupDeprecated: routeMember(HttpMethod.Post, "/api/v1/groups/{id}/join", "joinGroupDeprecated"),
215
+ /**
216
+ * `DELETE /api/v1/groups/{id}/members/{userID}` (operationId `removeGroupMemberDeprecated`).
217
+ * @deprecated The Village API document marks this operation deprecated.
218
+ */
219
+ RemoveGroupMemberDeprecated: routeMember(HttpMethod.Delete, "/api/v1/groups/{id}/members/{userID}", "removeGroupMemberDeprecated"),
220
+ /**
221
+ * `PATCH /api/v1/groups/{id}/members/{userID}/role` (operationId `updateGroupMemberRoleDeprecated`).
222
+ * @deprecated The Village API document marks this operation deprecated.
223
+ */
224
+ UpdateGroupMemberRoleDeprecated: routeMember(HttpMethod.Patch, "/api/v1/groups/{id}/members/{userID}/role", "updateGroupMemberRoleDeprecated"),
225
+ /**
226
+ * `GET /api/v1/groups/{id}/my-shares` (operationId `listMyGroupSharesDeprecated`).
227
+ * @deprecated The Village API document marks this operation deprecated.
228
+ */
229
+ ListMyGroupSharesDeprecated: routeMember(HttpMethod.Get, "/api/v1/groups/{id}/my-shares", "listMyGroupSharesDeprecated"),
230
+ /**
231
+ * `GET /api/v1/groups/{id}/pending` (operationId `listPendingSharesDeprecated`).
232
+ * @deprecated The Village API document marks this operation deprecated.
233
+ */
234
+ ListPendingSharesDeprecated: routeMember(HttpMethod.Get, "/api/v1/groups/{id}/pending", "listPendingSharesDeprecated"),
235
+ /**
236
+ * `GET /api/v1/groups/{id}/repositories` (operationId `listGroupRepositoriesDeprecated`).
237
+ * @deprecated The Village API document marks this operation deprecated.
238
+ */
239
+ ListGroupRepositoriesDeprecated: routeMember(HttpMethod.Get, "/api/v1/groups/{id}/repositories", "listGroupRepositoriesDeprecated"),
240
+ /**
241
+ * `POST /api/v1/groups/{id}/repositories` (operationId `linkGroupRepositoryDeprecated`).
242
+ * @deprecated The Village API document marks this operation deprecated.
243
+ */
244
+ LinkGroupRepositoryDeprecated: routeMember(HttpMethod.Post, "/api/v1/groups/{id}/repositories", "linkGroupRepositoryDeprecated"),
245
+ /**
246
+ * `GET /api/v1/groups/{id}/repositories/available` (operationId `listAvailableGroupRepositoriesDeprecated`).
247
+ * @deprecated The Village API document marks this operation deprecated.
248
+ */
249
+ ListAvailableGroupRepositoriesDeprecated: routeMember(HttpMethod.Get, "/api/v1/groups/{id}/repositories/available", "listAvailableGroupRepositoriesDeprecated"),
250
+ /**
251
+ * `DELETE /api/v1/groups/{id}/repositories/{owner}/{name}` (operationId `unlinkGroupRepositoryDeprecated`).
252
+ * @deprecated The Village API document marks this operation deprecated.
253
+ */
254
+ UnlinkGroupRepositoryDeprecated: routeMember(HttpMethod.Delete, "/api/v1/groups/{id}/repositories/{owner}/{name}", "unlinkGroupRepositoryDeprecated"),
255
+ /**
256
+ * `GET /api/v1/groups/{id}/repositories/{owner}/{name}/commits` (operationId `listGroupRepositoryCommitsDeprecated`).
257
+ * @deprecated The Village API document marks this operation deprecated.
258
+ */
259
+ ListGroupRepositoryCommitsDeprecated: routeMember(HttpMethod.Get, "/api/v1/groups/{id}/repositories/{owner}/{name}/commits", "listGroupRepositoryCommitsDeprecated"),
260
+ /**
261
+ * `POST /api/v1/groups/{id}/shares` (operationId `batchShareProjectDeprecated`).
262
+ * @deprecated The Village API document marks this operation deprecated.
263
+ */
264
+ BatchShareProjectDeprecated: routeMember(HttpMethod.Post, "/api/v1/groups/{id}/shares", "batchShareProjectDeprecated"),
265
+ /**
266
+ * `PATCH /api/v1/groups/{id}/shares` (operationId `batchReviewSharesDeprecated`).
267
+ * @deprecated The Village API document marks this operation deprecated.
268
+ */
269
+ BatchReviewSharesDeprecated: routeMember(HttpMethod.Patch, "/api/v1/groups/{id}/shares", "batchReviewSharesDeprecated"),
270
+ /**
271
+ * `PATCH /api/v1/groups/{id}/shares/{transcriptID}` (operationId `reviewShareDeprecated`).
272
+ * @deprecated The Village API document marks this operation deprecated.
273
+ */
274
+ ReviewShareDeprecated: routeMember(HttpMethod.Patch, "/api/v1/groups/{id}/shares/{transcriptID}", "reviewShareDeprecated"),
275
+ /**
276
+ * `DELETE /api/v1/groups/{id}/transcripts/{transcriptID}` (operationId `removeGroupTranscriptDeprecated`).
277
+ * @deprecated The Village API document marks this operation deprecated.
278
+ */
279
+ RemoveGroupTranscriptDeprecated: routeMember(HttpMethod.Delete, "/api/v1/groups/{id}/transcripts/{transcriptID}", "removeGroupTranscriptDeprecated"),
280
+ /**
281
+ * `POST /api/v1/integrations/github/webhook` (operationId `receiveGitHubWebhook`).
282
+ */
283
+ ReceiveGitHubWebhook: routeMember(HttpMethod.Post, "/api/v1/integrations/github/webhook", "receiveGitHubWebhook"),
284
+ /**
285
+ * `GET /api/v1/orgs/{login}` (operationId `getVillageOrganizationCollectives`).
286
+ */
287
+ GetVillageOrganizationCollectives: routeMember(HttpMethod.Get, "/api/v1/orgs/{login}", "getVillageOrganizationCollectives"),
288
+ /**
289
+ * `GET /api/v1/pull/transcripts` (operationId `listPullableTranscripts`).
290
+ */
291
+ ListPullableTranscripts: routeMember(HttpMethod.Get, "/api/v1/pull/transcripts", "listPullableTranscripts"),
292
+ /**
293
+ * `POST /api/v1/pull/transcripts/skip-gate` (operationId `pullSkipGate`).
294
+ */
295
+ PullSkipGate: routeMember(HttpMethod.Post, "/api/v1/pull/transcripts/skip-gate", "pullSkipGate"),
296
+ /**
297
+ * `GET /api/v1/pull/transcripts/{id}` (operationId `getPullTranscript`).
298
+ */
299
+ GetPullTranscript: routeMember(HttpMethod.Get, "/api/v1/pull/transcripts/{id}", "getPullTranscript"),
300
+ /**
301
+ * `GET /api/v1/pull/transcripts/{id}/annotations` (operationId `getPullTranscriptAnnotations`).
302
+ */
303
+ GetPullTranscriptAnnotations: routeMember(HttpMethod.Get, "/api/v1/pull/transcripts/{id}/annotations", "getPullTranscriptAnnotations"),
304
+ /**
305
+ * `GET /api/v1/pull/transcripts/{id}/content` (operationId `getPullTranscriptContent`).
306
+ */
307
+ GetPullTranscriptContent: routeMember(HttpMethod.Get, "/api/v1/pull/transcripts/{id}/content", "getPullTranscriptContent"),
308
+ /**
309
+ * `GET /api/v1/pull/transcripts/{id}/publish-metadata` (operationId `getPullTranscriptPublishMetadata`).
310
+ */
311
+ GetPullTranscriptPublishMetadata: routeMember(HttpMethod.Get, "/api/v1/pull/transcripts/{id}/publish-metadata", "getPullTranscriptPublishMetadata"),
312
+ /**
313
+ * `GET /api/v1/pulls/{owner}/{name}/{number}` (operationId `getPullRequestAttachment`).
314
+ */
315
+ GetPullRequestAttachment: routeMember(HttpMethod.Get, "/api/v1/pulls/{owner}/{name}/{number}", "getPullRequestAttachment"),
316
+ /**
317
+ * `DELETE /api/v1/pulls/{owner}/{name}/{number}` (operationId `detachPullRequestAttachment`).
318
+ */
319
+ DetachPullRequestAttachment: routeMember(HttpMethod.Delete, "/api/v1/pulls/{owner}/{name}/{number}", "detachPullRequestAttachment"),
320
+ /**
321
+ * `POST /api/v1/pulls/{owner}/{name}/{number}/confirm` (operationId `confirmPullRequestAttachment`).
322
+ */
323
+ ConfirmPullRequestAttachment: routeMember(HttpMethod.Post, "/api/v1/pulls/{owner}/{name}/{number}/confirm", "confirmPullRequestAttachment"),
324
+ /**
325
+ * `GET /api/v1/schema/version` (operationId `getSchemaVersion`).
326
+ */
327
+ GetSchemaVersion: routeMember(HttpMethod.Get, "/api/v1/schema/version", "getSchemaVersion"),
328
+ /**
329
+ * `GET /api/v1/transcript-groups/{groupId}/members` (operationId `listTranscriptGroupMembers`).
330
+ */
331
+ ListTranscriptGroupMembers: routeMember(HttpMethod.Get, "/api/v1/transcript-groups/{groupId}/members", "listTranscriptGroupMembers"),
332
+ /**
333
+ * `GET /api/v1/transcripts` (operationId `listTranscripts`).
334
+ */
335
+ ListTranscripts: routeMember(HttpMethod.Get, "/api/v1/transcripts", "listTranscripts"),
336
+ /**
337
+ * `POST /api/v1/transcripts/publish` (operationId `publishTranscript`).
338
+ */
339
+ PublishTranscript: routeMember(HttpMethod.Post, "/api/v1/transcripts/publish", "publishTranscript"),
340
+ /**
341
+ * `GET /api/v1/transcripts/{id}` (operationId `getTranscriptMetadata`).
342
+ */
343
+ GetTranscriptMetadata: routeMember(HttpMethod.Get, "/api/v1/transcripts/{id}", "getTranscriptMetadata"),
344
+ /**
345
+ * `PATCH /api/v1/transcripts/{id}` (operationId `updateTranscript`).
346
+ */
347
+ UpdateTranscript: routeMember(HttpMethod.Patch, "/api/v1/transcripts/{id}", "updateTranscript"),
348
+ /**
349
+ * `GET /api/v1/transcripts/{id}/collectives` (operationId `listTranscriptCollectives`).
350
+ */
351
+ ListTranscriptCollectives: routeMember(HttpMethod.Get, "/api/v1/transcripts/{id}/collectives", "listTranscriptCollectives"),
352
+ /**
353
+ * `GET /api/v1/transcripts/{id}/content` (operationId `getTranscriptContent`).
354
+ */
355
+ GetTranscriptContent: routeMember(HttpMethod.Get, "/api/v1/transcripts/{id}/content", "getTranscriptContent"),
356
+ /**
357
+ * `GET /api/v1/transcripts/{id}/header` (operationId `getTranscriptHeader`).
358
+ */
359
+ GetTranscriptHeader: routeMember(HttpMethod.Get, "/api/v1/transcripts/{id}/header", "getTranscriptHeader"),
360
+ /**
361
+ * `GET /api/v1/transcripts/{id}/pulls` (operationId `listTranscriptPullRequests`).
362
+ */
363
+ ListTranscriptPullRequests: routeMember(HttpMethod.Get, "/api/v1/transcripts/{id}/pulls", "listTranscriptPullRequests"),
364
+ /**
365
+ * `GET /api/v1/transcripts/{id}/segments` (operationId `getTranscriptSegments`).
366
+ */
367
+ GetTranscriptSegments: routeMember(HttpMethod.Get, "/api/v1/transcripts/{id}/segments", "getTranscriptSegments"),
368
+ /**
369
+ * `POST /api/v1/transcripts/{id}/segments/locate` (operationId `locateTranscriptEntry`).
370
+ */
371
+ LocateTranscriptEntry: routeMember(HttpMethod.Post, "/api/v1/transcripts/{id}/segments/locate", "locateTranscriptEntry"),
372
+ /**
373
+ * `GET /api/v1/transcripts/{id}/segments/{index}` (operationId `getTranscriptSegment`).
374
+ */
375
+ GetTranscriptSegment: routeMember(HttpMethod.Get, "/api/v1/transcripts/{id}/segments/{index}", "getTranscriptSegment"),
376
+ /**
377
+ * `POST /api/v1/transcripts/{id}/share` (operationId `shareTranscriptWithGroups`).
378
+ */
379
+ ShareTranscriptWithGroups: routeMember(HttpMethod.Post, "/api/v1/transcripts/{id}/share", "shareTranscriptWithGroups"),
380
+ /**
381
+ * `DELETE /api/v1/transcripts/{id}/share/{groupID}` (operationId `unshareTranscriptFromGroup`).
382
+ */
383
+ UnshareTranscriptFromGroup: routeMember(HttpMethod.Delete, "/api/v1/transcripts/{id}/share/{groupID}", "unshareTranscriptFromGroup"),
384
+ /**
385
+ * `GET /api/v1/transcripts/{id}/window` (operationId `getTranscriptWindow`).
386
+ */
387
+ GetTranscriptWindow: routeMember(HttpMethod.Get, "/api/v1/transcripts/{id}/window", "getTranscriptWindow"),
388
+ /**
389
+ * `GET /api/v1/users/me/collectives/contributions` (operationId `listMyCollectiveContributions`).
390
+ */
391
+ ListMyCollectiveContributions: routeMember(HttpMethod.Get, "/api/v1/users/me/collectives/contributions", "listMyCollectiveContributions"),
392
+ /**
393
+ * `GET /api/v1/users/me/collectives/{groupId}/submissions` (operationId `listMyCollectiveSubmissions`).
394
+ */
395
+ ListMyCollectiveSubmissions: routeMember(HttpMethod.Get, "/api/v1/users/me/collectives/{groupId}/submissions", "listMyCollectiveSubmissions"),
396
+ /**
397
+ * `GET /api/v1/users/me/collectives/{groupId}/transcripts/{transcriptId}/events` (operationId `listShareEventHistory`).
398
+ */
399
+ ListShareEventHistory: routeMember(HttpMethod.Get, "/api/v1/users/me/collectives/{groupId}/transcripts/{transcriptId}/events", "listShareEventHistory"),
400
+ /**
401
+ * `PUT /api/v1/users/me/email` (operationId `setMyNotificationEmail`).
402
+ */
403
+ SetMyNotificationEmail: routeMember(HttpMethod.Put, "/api/v1/users/me/email", "setMyNotificationEmail"),
404
+ /**
405
+ * `DELETE /api/v1/users/me/email` (operationId `removeMyNotificationEmail`).
406
+ */
407
+ RemoveMyNotificationEmail: routeMember(HttpMethod.Delete, "/api/v1/users/me/email", "removeMyNotificationEmail"),
408
+ /**
409
+ * `POST /api/v1/users/me/email/verify` (operationId `verifyMyNotificationEmail`).
410
+ */
411
+ VerifyMyNotificationEmail: routeMember(HttpMethod.Post, "/api/v1/users/me/email/verify", "verifyMyNotificationEmail"),
412
+ /**
413
+ * `GET /api/v1/users/me/invitations` (operationId `listMyInvitations`).
414
+ */
415
+ ListMyInvitations: routeMember(HttpMethod.Get, "/api/v1/users/me/invitations", "listMyInvitations"),
416
+ /**
417
+ * `POST /api/v1/users/me/invitations/{invitationID}/accept` (operationId `acceptMyInvitation`).
418
+ */
419
+ AcceptMyInvitation: routeMember(HttpMethod.Post, "/api/v1/users/me/invitations/{invitationID}/accept", "acceptMyInvitation"),
420
+ /**
421
+ * `POST /api/v1/users/me/invitations/{invitationID}/decline` (operationId `declineMyInvitation`).
422
+ */
423
+ DeclineMyInvitation: routeMember(HttpMethod.Post, "/api/v1/users/me/invitations/{invitationID}/decline", "declineMyInvitation"),
424
+ /**
425
+ * `GET /api/v1/users/me/prompt-requests` (operationId `listMyPromptRequests`).
426
+ */
427
+ ListMyPromptRequests: routeMember(HttpMethod.Get, "/api/v1/users/me/prompt-requests", "listMyPromptRequests"),
428
+ /**
429
+ * `GET /api/v1/users/me/settings` (operationId `getMySettings`).
430
+ */
431
+ GetMySettings: routeMember(HttpMethod.Get, "/api/v1/users/me/settings", "getMySettings"),
432
+ /**
433
+ * `PATCH /api/v1/users/me/settings` (operationId `updateMySettings`).
434
+ */
435
+ UpdateMySettings: routeMember(HttpMethod.Patch, "/api/v1/users/me/settings", "updateMySettings"),
436
+ /**
437
+ * `GET /api/v1/users/me/stats` (operationId `getMyStats`).
438
+ */
439
+ GetMyStats: routeMember(HttpMethod.Get, "/api/v1/users/me/stats", "getMyStats"),
440
+ });
441
+ /** ALL_VILLAGE_ROUTES is every member of VillageRoute, ordered by pattern and then by ALL_HTTP_METHODS. */
442
+ export const ALL_VILLAGE_ROUTES = Object.freeze([
443
+ VillageRoute.PushAnnotations,
444
+ VillageRoute.GetAnnotationManifest,
445
+ VillageRoute.CliExchangeCode,
446
+ VillageRoute.CliLogin,
447
+ VillageRoute.GetAuthenticatedVillageUser,
448
+ VillageRoute.ListAuthenticatedVillageOrganizations,
449
+ VillageRoute.ListGroups,
450
+ VillageRoute.CreateGroup,
451
+ VillageRoute.ListPublicGroups,
452
+ VillageRoute.SearchCollectives,
453
+ VillageRoute.ListVisibleGroups,
454
+ VillageRoute.GetGroup,
455
+ VillageRoute.UpdateGroup,
456
+ VillageRoute.DeleteGroup,
457
+ VillageRoute.ListContributableTranscripts,
458
+ VillageRoute.ListGroupInvitations,
459
+ VillageRoute.CreateGroupInvitation,
460
+ VillageRoute.RevokeGroupInvitation,
461
+ VillageRoute.JoinGroup,
462
+ VillageRoute.RemoveGroupMember,
463
+ VillageRoute.UpdateGroupMemberRole,
464
+ VillageRoute.ListMyGroupShares,
465
+ VillageRoute.ListPendingShares,
466
+ VillageRoute.ListGroupRepositories,
467
+ VillageRoute.LinkGroupRepository,
468
+ VillageRoute.ListAvailableGroupRepositories,
469
+ VillageRoute.UnlinkGroupRepository,
470
+ VillageRoute.ListGroupRepositoryCommits,
471
+ VillageRoute.BatchShareProject,
472
+ VillageRoute.BatchReviewShares,
473
+ VillageRoute.ReviewShare,
474
+ VillageRoute.RemoveGroupTranscript,
475
+ VillageRoute.UnsubscribeInvitationEmails,
476
+ VillageRoute.ListGroupsDeprecated,
477
+ VillageRoute.CreateGroupDeprecated,
478
+ VillageRoute.ListPublicGroupsDeprecated,
479
+ VillageRoute.SearchCollectivesDeprecated,
480
+ VillageRoute.ListVisibleGroupsDeprecated,
481
+ VillageRoute.GetGroupDeprecated,
482
+ VillageRoute.UpdateGroupDeprecated,
483
+ VillageRoute.DeleteGroupDeprecated,
484
+ VillageRoute.ListContributableTranscriptsDeprecated,
485
+ VillageRoute.ListGroupInvitationsDeprecated,
486
+ VillageRoute.CreateGroupInvitationDeprecated,
487
+ VillageRoute.RevokeGroupInvitationDeprecated,
488
+ VillageRoute.JoinGroupDeprecated,
489
+ VillageRoute.RemoveGroupMemberDeprecated,
490
+ VillageRoute.UpdateGroupMemberRoleDeprecated,
491
+ VillageRoute.ListMyGroupSharesDeprecated,
492
+ VillageRoute.ListPendingSharesDeprecated,
493
+ VillageRoute.ListGroupRepositoriesDeprecated,
494
+ VillageRoute.LinkGroupRepositoryDeprecated,
495
+ VillageRoute.ListAvailableGroupRepositoriesDeprecated,
496
+ VillageRoute.UnlinkGroupRepositoryDeprecated,
497
+ VillageRoute.ListGroupRepositoryCommitsDeprecated,
498
+ VillageRoute.BatchShareProjectDeprecated,
499
+ VillageRoute.BatchReviewSharesDeprecated,
500
+ VillageRoute.ReviewShareDeprecated,
501
+ VillageRoute.RemoveGroupTranscriptDeprecated,
502
+ VillageRoute.ReceiveGitHubWebhook,
503
+ VillageRoute.GetVillageOrganizationCollectives,
504
+ VillageRoute.ListPullableTranscripts,
505
+ VillageRoute.PullSkipGate,
506
+ VillageRoute.GetPullTranscript,
507
+ VillageRoute.GetPullTranscriptAnnotations,
508
+ VillageRoute.GetPullTranscriptContent,
509
+ VillageRoute.GetPullTranscriptPublishMetadata,
510
+ VillageRoute.GetPullRequestAttachment,
511
+ VillageRoute.DetachPullRequestAttachment,
512
+ VillageRoute.ConfirmPullRequestAttachment,
513
+ VillageRoute.GetSchemaVersion,
514
+ VillageRoute.ListTranscriptGroupMembers,
515
+ VillageRoute.ListTranscripts,
516
+ VillageRoute.PublishTranscript,
517
+ VillageRoute.GetTranscriptMetadata,
518
+ VillageRoute.UpdateTranscript,
519
+ VillageRoute.ListTranscriptCollectives,
520
+ VillageRoute.GetTranscriptContent,
521
+ VillageRoute.GetTranscriptHeader,
522
+ VillageRoute.ListTranscriptPullRequests,
523
+ VillageRoute.GetTranscriptSegments,
524
+ VillageRoute.LocateTranscriptEntry,
525
+ VillageRoute.GetTranscriptSegment,
526
+ VillageRoute.ShareTranscriptWithGroups,
527
+ VillageRoute.UnshareTranscriptFromGroup,
528
+ VillageRoute.GetTranscriptWindow,
529
+ VillageRoute.ListMyCollectiveContributions,
530
+ VillageRoute.ListMyCollectiveSubmissions,
531
+ VillageRoute.ListShareEventHistory,
532
+ VillageRoute.SetMyNotificationEmail,
533
+ VillageRoute.RemoveMyNotificationEmail,
534
+ VillageRoute.VerifyMyNotificationEmail,
535
+ VillageRoute.ListMyInvitations,
536
+ VillageRoute.AcceptMyInvitation,
537
+ VillageRoute.DeclineMyInvitation,
538
+ VillageRoute.ListMyPromptRequests,
539
+ VillageRoute.GetMySettings,
540
+ VillageRoute.UpdateMySettings,
541
+ VillageRoute.GetMyStats,
542
+ ]);
543
+ /** LocalRoute holds one member per operation of the Local API document, named by operationId. */
544
+ export const LocalRoute = Object.freeze({
545
+ /**
546
+ * `GET /api/v1/annotation-types` (operationId `listAnnotationTypes`).
547
+ */
548
+ ListAnnotationTypes: routeMember(HttpMethod.Get, "/api/v1/annotation-types", "listAnnotationTypes"),
549
+ /**
550
+ * `GET /api/v1/annotations` (operationId `listAnnotations`).
551
+ */
552
+ ListAnnotations: routeMember(HttpMethod.Get, "/api/v1/annotations", "listAnnotations"),
553
+ /**
554
+ * `POST /api/v1/annotations` (operationId `createAnnotation`).
555
+ */
556
+ CreateAnnotation: routeMember(HttpMethod.Post, "/api/v1/annotations", "createAnnotation"),
557
+ /**
558
+ * `GET /api/v1/attachments/{ref}` (operationId `getAttachment`).
559
+ */
560
+ GetAttachment: routeMember(HttpMethod.Get, "/api/v1/attachments/{ref}", "getAttachment"),
561
+ /**
562
+ * `GET /api/v1/config/capabilities` (operationId `getUICapabilities`).
563
+ */
564
+ GetUICapabilities: routeMember(HttpMethod.Get, "/api/v1/config/capabilities", "getUICapabilities"),
565
+ /**
566
+ * `GET /api/v1/config/mock` (operationId `getMockConfig`).
567
+ */
568
+ GetMockConfig: routeMember(HttpMethod.Get, "/api/v1/config/mock", "getMockConfig"),
569
+ /**
570
+ * `GET /api/v1/health` (operationId `getHealth`).
571
+ */
572
+ GetHealth: routeMember(HttpMethod.Get, "/api/v1/health", "getHealth"),
573
+ /**
574
+ * `POST /api/v1/kickstart/sessions` (operationId `openKickstartSession`).
575
+ */
576
+ OpenKickstartSession: routeMember(HttpMethod.Post, "/api/v1/kickstart/sessions", "openKickstartSession"),
577
+ /**
578
+ * `GET /api/v1/kickstart/sessions/{id}` (operationId `getKickstartSession`).
579
+ */
580
+ GetKickstartSession: routeMember(HttpMethod.Get, "/api/v1/kickstart/sessions/{id}", "getKickstartSession"),
581
+ /**
582
+ * `PATCH /api/v1/kickstart/sessions/{id}` (operationId `patchKickstartSession`).
583
+ */
584
+ PatchKickstartSession: routeMember(HttpMethod.Patch, "/api/v1/kickstart/sessions/{id}", "patchKickstartSession"),
585
+ /**
586
+ * `POST /api/v1/kickstart/sessions/{id}/commit` (operationId `commitKickstartSession`).
587
+ */
588
+ CommitKickstartSession: routeMember(HttpMethod.Post, "/api/v1/kickstart/sessions/{id}/commit", "commitKickstartSession"),
589
+ /**
590
+ * `POST /api/v1/kickstart/sessions/{id}/scan` (operationId `scanKickstartSession`).
591
+ */
592
+ ScanKickstartSession: routeMember(HttpMethod.Post, "/api/v1/kickstart/sessions/{id}/scan", "scanKickstartSession"),
593
+ /**
594
+ * `GET /api/v1/kickstart/sessions/{id}/tree` (operationId `getKickstartTree`).
595
+ */
596
+ GetKickstartTree: routeMember(HttpMethod.Get, "/api/v1/kickstart/sessions/{id}/tree", "getKickstartTree"),
597
+ /**
598
+ * `GET /api/v1/kickstart/sessions/{id}/tree/{nodeId}/preview` (operationId `getKickstartPreview`).
599
+ */
600
+ GetKickstartPreview: routeMember(HttpMethod.Get, "/api/v1/kickstart/sessions/{id}/tree/{nodeId}/preview", "getKickstartPreview"),
601
+ /**
602
+ * `GET /api/v1/kickstart/status` (operationId `getKickstartStatus`).
603
+ */
604
+ GetKickstartStatus: routeMember(HttpMethod.Get, "/api/v1/kickstart/status", "getKickstartStatus"),
605
+ /**
606
+ * `GET /api/v1/map/{projectHash}` (operationId `getMapGraph`).
607
+ */
608
+ GetMapGraph: routeMember(HttpMethod.Get, "/api/v1/map/{projectHash}", "getMapGraph"),
609
+ /**
610
+ * `GET /api/v1/map/{projectHash}/node` (operationId `getMapNodeDetail`).
611
+ */
612
+ GetMapNodeDetail: routeMember(HttpMethod.Get, "/api/v1/map/{projectHash}/node", "getMapNodeDetail"),
613
+ /**
614
+ * `GET /api/v1/map/{projectHash}/tasks` (operationId `listProjectTasks`).
615
+ */
616
+ ListProjectTasks: routeMember(HttpMethod.Get, "/api/v1/map/{projectHash}/tasks", "listProjectTasks"),
617
+ /**
618
+ * `GET /api/v1/projects/resolve` (operationId `resolveProject`).
619
+ */
620
+ ResolveProject: routeMember(HttpMethod.Get, "/api/v1/projects/resolve", "resolveProject"),
621
+ /**
622
+ * `GET /api/v1/projects/summary` (operationId `listProjectSummaries`).
623
+ */
624
+ ListProjectSummaries: routeMember(HttpMethod.Get, "/api/v1/projects/summary", "listProjectSummaries"),
625
+ /**
626
+ * `GET /api/v1/publications` (operationId `listPublications`).
627
+ */
628
+ ListPublications: routeMember(HttpMethod.Get, "/api/v1/publications", "listPublications"),
629
+ /**
630
+ * `GET /api/v1/quality` (operationId `getQualityPage`).
631
+ */
632
+ GetQualityPage: routeMember(HttpMethod.Get, "/api/v1/quality", "getQualityPage"),
633
+ /**
634
+ * `GET /api/v1/review/{projectHash}` (operationId `listReviewChanges`).
635
+ */
636
+ ListReviewChanges: routeMember(HttpMethod.Get, "/api/v1/review/{projectHash}", "listReviewChanges"),
637
+ /**
638
+ * `GET /api/v1/review/{projectHash}/change` (operationId `getChangeDetail`).
639
+ */
640
+ GetChangeDetail: routeMember(HttpMethod.Get, "/api/v1/review/{projectHash}/change", "getChangeDetail"),
641
+ /**
642
+ * `GET /api/v1/review/{projectHash}/diff` (operationId `getChangeDiff`).
643
+ */
644
+ GetChangeDiff: routeMember(HttpMethod.Get, "/api/v1/review/{projectHash}/diff", "getChangeDiff"),
645
+ /**
646
+ * `GET /api/v1/search` (operationId `searchMessages`).
647
+ */
648
+ SearchMessages: routeMember(HttpMethod.Get, "/api/v1/search", "searchMessages"),
649
+ /**
650
+ * `GET /api/v1/session-groups/{groupId}/members` (operationId `listLocalHelperGroupMembers`).
651
+ */
652
+ ListLocalHelperGroupMembers: routeMember(HttpMethod.Get, "/api/v1/session-groups/{groupId}/members", "listLocalHelperGroupMembers"),
653
+ /**
654
+ * `GET /api/v1/session-summaries` (operationId `getSessionSummariesByID`).
655
+ */
656
+ GetSessionSummariesByID: routeMember(HttpMethod.Get, "/api/v1/session-summaries", "getSessionSummariesByID"),
657
+ /**
658
+ * `GET /api/v1/sessions` (operationId `listSessions`).
659
+ */
660
+ ListSessions: routeMember(HttpMethod.Get, "/api/v1/sessions", "listSessions"),
661
+ /**
662
+ * `GET /api/v1/sessions/{id}` (operationId `getSession`).
663
+ */
664
+ GetSession: routeMember(HttpMethod.Get, "/api/v1/sessions/{id}", "getSession"),
665
+ /**
666
+ * `GET /api/v1/sessions/{id}/commits` (operationId `getSessionCommits`).
667
+ */
668
+ GetSessionCommits: routeMember(HttpMethod.Get, "/api/v1/sessions/{id}/commits", "getSessionCommits"),
669
+ /**
670
+ * `GET /api/v1/sessions/{id}/pull-requests` (operationId `getSessionPullRequests`).
671
+ */
672
+ GetSessionPullRequests: routeMember(HttpMethod.Get, "/api/v1/sessions/{id}/pull-requests", "getSessionPullRequests"),
673
+ /**
674
+ * `GET /api/v1/sessions/{id}/transcript` (operationId `getSessionTranscript`).
675
+ */
676
+ GetSessionTranscript: routeMember(HttpMethod.Get, "/api/v1/sessions/{id}/transcript", "getSessionTranscript"),
677
+ /**
678
+ * `GET /api/v1/sessions/{id}/transcript/segments` (operationId `getSessionTranscriptSegments`).
679
+ */
680
+ GetSessionTranscriptSegments: routeMember(HttpMethod.Get, "/api/v1/sessions/{id}/transcript/segments", "getSessionTranscriptSegments"),
681
+ /**
682
+ * `GET /api/v1/sessions/{id}/transcript/segments/{index}` (operationId `getSessionTranscriptSegment`).
683
+ */
684
+ GetSessionTranscriptSegment: routeMember(HttpMethod.Get, "/api/v1/sessions/{id}/transcript/segments/{index}", "getSessionTranscriptSegment"),
685
+ /**
686
+ * `GET /api/v1/sessions/{id}/transcript/window` (operationId `getSessionTranscriptWindow`).
687
+ */
688
+ GetSessionTranscriptWindow: routeMember(HttpMethod.Get, "/api/v1/sessions/{id}/transcript/window", "getSessionTranscriptWindow"),
689
+ /**
690
+ * `GET /api/v1/settings` (operationId `getSettings`).
691
+ */
692
+ GetSettings: routeMember(HttpMethod.Get, "/api/v1/settings", "getSettings"),
693
+ /**
694
+ * `PATCH /api/v1/settings` (operationId `updateSetting`).
695
+ */
696
+ UpdateSetting: routeMember(HttpMethod.Patch, "/api/v1/settings", "updateSetting"),
697
+ /**
698
+ * `PUT /api/v1/settings/auto-publish/{id}` (operationId `saveAutoPublishRule`).
699
+ */
700
+ SaveAutoPublishRule: routeMember(HttpMethod.Put, "/api/v1/settings/auto-publish/{id}", "saveAutoPublishRule"),
701
+ /**
702
+ * `DELETE /api/v1/settings/auto-publish/{id}` (operationId `deleteAutoPublishRule`).
703
+ */
704
+ DeleteAutoPublishRule: routeMember(HttpMethod.Delete, "/api/v1/settings/auto-publish/{id}", "deleteAutoPublishRule"),
705
+ /**
706
+ * `POST /api/v1/settings/auto-publish/{id}/install` (operationId `installAutoPublishHooks`).
707
+ */
708
+ InstallAutoPublishHooks: routeMember(HttpMethod.Post, "/api/v1/settings/auto-publish/{id}/install", "installAutoPublishHooks"),
709
+ /**
710
+ * `POST /api/v1/shutdown` (operationId `postShutdown`).
711
+ */
712
+ PostShutdown: routeMember(HttpMethod.Post, "/api/v1/shutdown", "postShutdown"),
713
+ /**
714
+ * `GET /api/v1/sync/auth` (operationId `getSyncAuth`).
715
+ */
716
+ GetSyncAuth: routeMember(HttpMethod.Get, "/api/v1/sync/auth", "getSyncAuth"),
717
+ /**
718
+ * `POST /api/v1/sync/login` (operationId `syncLogin`).
719
+ */
720
+ SyncLogin: routeMember(HttpMethod.Post, "/api/v1/sync/login", "syncLogin"),
721
+ /**
722
+ * `POST /api/v1/sync/logout` (operationId `syncLogout`).
723
+ */
724
+ SyncLogout: routeMember(HttpMethod.Post, "/api/v1/sync/logout", "syncLogout"),
725
+ /**
726
+ * `POST /api/v1/sync/push` (operationId `pushSyncSessions`).
727
+ */
728
+ PushSyncSessions: routeMember(HttpMethod.Post, "/api/v1/sync/push", "pushSyncSessions"),
729
+ /**
730
+ * `GET /api/v1/sync/redactions` (operationId `getSyncRedactions`).
731
+ */
732
+ GetSyncRedactions: routeMember(HttpMethod.Get, "/api/v1/sync/redactions", "getSyncRedactions"),
733
+ /**
734
+ * `GET /api/v1/sync/sessions` (operationId `listSyncSessionsGrouped`).
735
+ */
736
+ ListSyncSessionsGrouped: routeMember(HttpMethod.Get, "/api/v1/sync/sessions", "listSyncSessionsGrouped"),
737
+ /**
738
+ * `GET /api/v1/village/collective-observations` (operationId `listCollectiveObservations`).
739
+ */
740
+ ListCollectiveObservations: routeMember(HttpMethod.Get, "/api/v1/village/collective-observations", "listCollectiveObservations"),
741
+ /**
742
+ * `POST /api/v1/village/collective-observations/fetch` (operationId `fetchCollectiveObservations`).
743
+ */
744
+ FetchCollectiveObservations: routeMember(HttpMethod.Post, "/api/v1/village/collective-observations/fetch", "fetchCollectiveObservations"),
745
+ /**
746
+ * `PUT /api/v1/village/collective-observations/{collectiveId}/tracking` (operationId `trackCollectiveObservation`).
747
+ */
748
+ TrackCollectiveObservation: routeMember(HttpMethod.Put, "/api/v1/village/collective-observations/{collectiveId}/tracking", "trackCollectiveObservation"),
749
+ /**
750
+ * `DELETE /api/v1/village/collective-observations/{collectiveId}/tracking` (operationId `untrackCollectiveObservation`).
751
+ */
752
+ UntrackCollectiveObservation: routeMember(HttpMethod.Delete, "/api/v1/village/collective-observations/{collectiveId}/tracking", "untrackCollectiveObservation"),
753
+ /**
754
+ * `GET /api/v1/village/collectives` (operationId `listVillageCollectives`).
755
+ */
756
+ ListVillageCollectives: routeMember(HttpMethod.Get, "/api/v1/village/collectives", "listVillageCollectives"),
757
+ /**
758
+ * `GET /api/v1/village/contributions` (operationId `listLocalContributionEvidence`).
759
+ */
760
+ ListLocalContributionEvidence: routeMember(HttpMethod.Get, "/api/v1/village/contributions", "listLocalContributionEvidence"),
761
+ });
762
+ /** ALL_LOCAL_ROUTES is every member of LocalRoute, ordered by pattern and then by ALL_HTTP_METHODS. */
763
+ export const ALL_LOCAL_ROUTES = Object.freeze([
764
+ LocalRoute.ListAnnotationTypes,
765
+ LocalRoute.ListAnnotations,
766
+ LocalRoute.CreateAnnotation,
767
+ LocalRoute.GetAttachment,
768
+ LocalRoute.GetUICapabilities,
769
+ LocalRoute.GetMockConfig,
770
+ LocalRoute.GetHealth,
771
+ LocalRoute.OpenKickstartSession,
772
+ LocalRoute.GetKickstartSession,
773
+ LocalRoute.PatchKickstartSession,
774
+ LocalRoute.CommitKickstartSession,
775
+ LocalRoute.ScanKickstartSession,
776
+ LocalRoute.GetKickstartTree,
777
+ LocalRoute.GetKickstartPreview,
778
+ LocalRoute.GetKickstartStatus,
779
+ LocalRoute.GetMapGraph,
780
+ LocalRoute.GetMapNodeDetail,
781
+ LocalRoute.ListProjectTasks,
782
+ LocalRoute.ResolveProject,
783
+ LocalRoute.ListProjectSummaries,
784
+ LocalRoute.ListPublications,
785
+ LocalRoute.GetQualityPage,
786
+ LocalRoute.ListReviewChanges,
787
+ LocalRoute.GetChangeDetail,
788
+ LocalRoute.GetChangeDiff,
789
+ LocalRoute.SearchMessages,
790
+ LocalRoute.ListLocalHelperGroupMembers,
791
+ LocalRoute.GetSessionSummariesByID,
792
+ LocalRoute.ListSessions,
793
+ LocalRoute.GetSession,
794
+ LocalRoute.GetSessionCommits,
795
+ LocalRoute.GetSessionPullRequests,
796
+ LocalRoute.GetSessionTranscript,
797
+ LocalRoute.GetSessionTranscriptSegments,
798
+ LocalRoute.GetSessionTranscriptSegment,
799
+ LocalRoute.GetSessionTranscriptWindow,
800
+ LocalRoute.GetSettings,
801
+ LocalRoute.UpdateSetting,
802
+ LocalRoute.SaveAutoPublishRule,
803
+ LocalRoute.DeleteAutoPublishRule,
804
+ LocalRoute.InstallAutoPublishHooks,
805
+ LocalRoute.PostShutdown,
806
+ LocalRoute.GetSyncAuth,
807
+ LocalRoute.SyncLogin,
808
+ LocalRoute.SyncLogout,
809
+ LocalRoute.PushSyncSessions,
810
+ LocalRoute.GetSyncRedactions,
811
+ LocalRoute.ListSyncSessionsGrouped,
812
+ LocalRoute.ListCollectiveObservations,
813
+ LocalRoute.FetchCollectiveObservations,
814
+ LocalRoute.TrackCollectiveObservation,
815
+ LocalRoute.UntrackCollectiveObservation,
816
+ LocalRoute.ListVillageCollectives,
817
+ LocalRoute.ListLocalContributionEvidence,
818
+ ]);