@peasant-labs/schema 0.30.0 → 0.31.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.
@@ -68,7 +68,41 @@ export interface paths {
68
68
  patch?: never;
69
69
  trace?: never;
70
70
  };
71
- "/api/v1/groups": {
71
+ "/api/v1/auth/me": {
72
+ parameters: {
73
+ query?: never;
74
+ header?: never;
75
+ path?: never;
76
+ cookie?: never;
77
+ };
78
+ /** @description Read the stable authenticated user UUID before account-scoped metadata fetching. Usernames and credentials are not scope identity. */
79
+ get: operations["getAuthenticatedVillageUser"];
80
+ put?: never;
81
+ post?: never;
82
+ delete?: never;
83
+ options?: never;
84
+ head?: never;
85
+ patch?: never;
86
+ trace?: never;
87
+ };
88
+ "/api/v1/auth/orgs": {
89
+ parameters: {
90
+ query?: never;
91
+ header?: never;
92
+ path?: never;
93
+ cookie?: never;
94
+ };
95
+ /** @description Read the authenticated user organizations for scoped metadata discovery. Organization membership alone does not disclose linked collectives; use the viewer-authorized organization collective projection. Query failure is 500, never a successful empty set. */
96
+ get: operations["listAuthenticatedVillageOrganizations"];
97
+ put?: never;
98
+ post?: never;
99
+ delete?: never;
100
+ options?: never;
101
+ head?: never;
102
+ patch?: never;
103
+ trace?: never;
104
+ };
105
+ "/api/v1/collectives": {
72
106
  parameters: {
73
107
  query?: never;
74
108
  header?: never;
@@ -86,7 +120,7 @@ export interface paths {
86
120
  patch?: never;
87
121
  trace?: never;
88
122
  };
89
- "/api/v1/groups/public": {
123
+ "/api/v1/collectives/public": {
90
124
  parameters: {
91
125
  query?: never;
92
126
  header?: never;
@@ -103,7 +137,7 @@ export interface paths {
103
137
  patch?: never;
104
138
  trace?: never;
105
139
  };
106
- "/api/v1/groups/search": {
140
+ "/api/v1/collectives/search": {
107
141
  parameters: {
108
142
  query?: never;
109
143
  header?: never;
@@ -120,7 +154,7 @@ export interface paths {
120
154
  patch?: never;
121
155
  trace?: never;
122
156
  };
123
- "/api/v1/groups/visible": {
157
+ "/api/v1/collectives/visible": {
124
158
  parameters: {
125
159
  query?: never;
126
160
  header?: never;
@@ -137,7 +171,7 @@ export interface paths {
137
171
  patch?: never;
138
172
  trace?: never;
139
173
  };
140
- "/api/v1/groups/{id}": {
174
+ "/api/v1/collectives/{id}": {
141
175
  parameters: {
142
176
  query?: never;
143
177
  header?: never;
@@ -156,7 +190,7 @@ export interface paths {
156
190
  patch: operations["updateGroup"];
157
191
  trace?: never;
158
192
  };
159
- "/api/v1/groups/{id}/contributable": {
193
+ "/api/v1/collectives/{id}/contributable": {
160
194
  parameters: {
161
195
  query?: never;
162
196
  header?: never;
@@ -173,7 +207,7 @@ export interface paths {
173
207
  patch?: never;
174
208
  trace?: never;
175
209
  };
176
- "/api/v1/groups/{id}/join": {
210
+ "/api/v1/collectives/{id}/join": {
177
211
  parameters: {
178
212
  query?: never;
179
213
  header?: never;
@@ -190,7 +224,7 @@ export interface paths {
190
224
  patch?: never;
191
225
  trace?: never;
192
226
  };
193
- "/api/v1/groups/{id}/members": {
227
+ "/api/v1/collectives/{id}/members": {
194
228
  parameters: {
195
229
  query?: never;
196
230
  header?: never;
@@ -207,7 +241,7 @@ export interface paths {
207
241
  patch?: never;
208
242
  trace?: never;
209
243
  };
210
- "/api/v1/groups/{id}/members/{userID}": {
244
+ "/api/v1/collectives/{id}/members/{userID}": {
211
245
  parameters: {
212
246
  query?: never;
213
247
  header?: never;
@@ -224,7 +258,7 @@ export interface paths {
224
258
  patch?: never;
225
259
  trace?: never;
226
260
  };
227
- "/api/v1/groups/{id}/members/{userID}/role": {
261
+ "/api/v1/collectives/{id}/members/{userID}/role": {
228
262
  parameters: {
229
263
  query?: never;
230
264
  header?: never;
@@ -241,7 +275,7 @@ export interface paths {
241
275
  patch: operations["updateGroupMemberRole"];
242
276
  trace?: never;
243
277
  };
244
- "/api/v1/groups/{id}/my-shares": {
278
+ "/api/v1/collectives/{id}/my-shares": {
245
279
  parameters: {
246
280
  query?: never;
247
281
  header?: never;
@@ -258,7 +292,7 @@ export interface paths {
258
292
  patch?: never;
259
293
  trace?: never;
260
294
  };
261
- "/api/v1/groups/{id}/pending": {
295
+ "/api/v1/collectives/{id}/pending": {
262
296
  parameters: {
263
297
  query?: never;
264
298
  header?: never;
@@ -275,7 +309,7 @@ export interface paths {
275
309
  patch?: never;
276
310
  trace?: never;
277
311
  };
278
- "/api/v1/groups/{id}/repositories": {
312
+ "/api/v1/collectives/{id}/repositories": {
279
313
  parameters: {
280
314
  query?: never;
281
315
  header?: never;
@@ -293,7 +327,7 @@ export interface paths {
293
327
  patch?: never;
294
328
  trace?: never;
295
329
  };
296
- "/api/v1/groups/{id}/repositories/available": {
330
+ "/api/v1/collectives/{id}/repositories/available": {
297
331
  parameters: {
298
332
  query?: never;
299
333
  header?: never;
@@ -310,7 +344,7 @@ export interface paths {
310
344
  patch?: never;
311
345
  trace?: never;
312
346
  };
313
- "/api/v1/groups/{id}/repositories/{owner}/{name}": {
347
+ "/api/v1/collectives/{id}/repositories/{owner}/{name}": {
314
348
  parameters: {
315
349
  query?: never;
316
350
  header?: never;
@@ -327,7 +361,7 @@ export interface paths {
327
361
  patch?: never;
328
362
  trace?: never;
329
363
  };
330
- "/api/v1/groups/{id}/repositories/{owner}/{name}/commits": {
364
+ "/api/v1/collectives/{id}/repositories/{owner}/{name}/commits": {
331
365
  parameters: {
332
366
  query?: never;
333
367
  header?: never;
@@ -344,7 +378,7 @@ export interface paths {
344
378
  patch?: never;
345
379
  trace?: never;
346
380
  };
347
- "/api/v1/groups/{id}/shares": {
381
+ "/api/v1/collectives/{id}/shares": {
348
382
  parameters: {
349
383
  query?: never;
350
384
  header?: never;
@@ -362,7 +396,7 @@ export interface paths {
362
396
  patch: operations["batchReviewShares"];
363
397
  trace?: never;
364
398
  };
365
- "/api/v1/groups/{id}/shares/{transcriptID}": {
399
+ "/api/v1/collectives/{id}/shares/{transcriptID}": {
366
400
  parameters: {
367
401
  query?: never;
368
402
  header?: never;
@@ -379,7 +413,7 @@ export interface paths {
379
413
  patch: operations["reviewShare"];
380
414
  trace?: never;
381
415
  };
382
- "/api/v1/groups/{id}/transcripts/{transcriptID}": {
416
+ "/api/v1/collectives/{id}/transcripts/{transcriptID}": {
383
417
  parameters: {
384
418
  query?: never;
385
419
  header?: never;
@@ -396,32 +430,42 @@ export interface paths {
396
430
  patch?: never;
397
431
  trace?: never;
398
432
  };
399
- "/api/v1/integrations/github/webhook": {
433
+ "/api/v1/groups": {
400
434
  parameters: {
401
435
  query?: never;
402
436
  header?: never;
403
437
  path?: never;
404
438
  cookie?: never;
405
439
  };
406
- get?: never;
440
+ /**
441
+ * @deprecated
442
+ * @description List collectives the authenticated caller belongs to, with the caller's role and membership time.
443
+ */
444
+ get: operations["listGroupsDeprecated"];
407
445
  put?: never;
408
- /** @description Receive a GitHub App webhook delivery. The body is GitHub's payload, authenticated by the X-Hub-Signature-256 HMAC over the raw body; X-GitHub-Delivery makes redelivery idempotent. Handles installation, pull_request, check_run, and issue_comment events and acknowledges every other event without acting. Returns 501 when the App or its webhook secret is not configured. */
409
- post: operations["receiveGitHubWebhook"];
446
+ /**
447
+ * @deprecated
448
+ * @description Create a collective. Name is required; acceptance_mode defaults to open and data_access defaults to members_only when omitted. linked_github_org may be omitted or null for no organization, as on update.
449
+ */
450
+ post: operations["createGroupDeprecated"];
410
451
  delete?: never;
411
452
  options?: never;
412
453
  head?: never;
413
454
  patch?: never;
414
455
  trace?: never;
415
456
  };
416
- "/api/v1/pull/transcripts": {
457
+ "/api/v1/groups/public": {
417
458
  parameters: {
418
459
  query?: never;
419
460
  header?: never;
420
461
  path?: never;
421
462
  cookie?: never;
422
463
  };
423
- /** @description List transcripts the authenticated user may pull (own + group-shared; public excluded by the canPullTranscript policy). Offset pagination. The optional collectives filter narrows the list to the approved shares of the listed collectives the caller belongs to; a collective the caller is not in contributes nothing. */
424
- get: operations["listPullableTranscripts"];
464
+ /**
465
+ * @deprecated
466
+ * @description List collectives for the public directory as compact rows with member and approved-transcript counts.
467
+ */
468
+ get: operations["listPublicGroupsDeprecated"];
425
469
  put?: never;
426
470
  post?: never;
427
471
  delete?: never;
@@ -430,32 +474,38 @@ export interface paths {
430
474
  patch?: never;
431
475
  trace?: never;
432
476
  };
433
- "/api/v1/pull/transcripts/skip-gate": {
477
+ "/api/v1/groups/search": {
434
478
  parameters: {
435
479
  query?: never;
436
480
  header?: never;
437
481
  path?: never;
438
482
  cookie?: never;
439
483
  };
440
- get?: never;
484
+ /**
485
+ * @deprecated
486
+ * @description Search visible collectives. An empty q returns an empty collectives array; limit defaults to 10 and is capped at 50.
487
+ */
488
+ get: operations["searchCollectivesDeprecated"];
441
489
  put?: never;
442
- /** @description Batch currency check for a pulling client: per transcript it holds, send the id, the content-hash it holds, and its own annotation-hash set; receive per pullable id {contentCurrent, annotationsCurrent}. Non-pullable ids are withheld by omission from results. */
443
- post: operations["pullSkipGate"];
490
+ post?: never;
444
491
  delete?: never;
445
492
  options?: never;
446
493
  head?: never;
447
494
  patch?: never;
448
495
  trace?: never;
449
496
  };
450
- "/api/v1/pull/transcripts/{id}": {
497
+ "/api/v1/groups/visible": {
451
498
  parameters: {
452
499
  query?: never;
453
500
  header?: never;
454
501
  path?: never;
455
502
  cookie?: never;
456
503
  };
457
- /** @description Get a pullable transcript's metadata (owner, visibility, server-computed content_hash, push contract version). 404 (not 403) when not pullable. */
458
- get: operations["getPullTranscript"];
504
+ /**
505
+ * @deprecated
506
+ * @description List collectives the authenticated caller may see. Role and member_since are null when the caller sees the collective through public or open visibility but is not a member.
507
+ */
508
+ get: operations["listVisibleGroupsDeprecated"];
459
509
  put?: never;
460
510
  post?: never;
461
511
  delete?: never;
@@ -464,32 +514,46 @@ export interface paths {
464
514
  patch?: never;
465
515
  trace?: never;
466
516
  };
467
- "/api/v1/pull/transcripts/{id}/annotations": {
517
+ "/api/v1/groups/{id}": {
468
518
  parameters: {
469
519
  query?: never;
470
520
  header?: never;
471
521
  path?: never;
472
522
  cookie?: never;
473
523
  };
474
- /** @description List a transcript's annotations as PullAnnotation rows (AnnotationSummary plus author identity), so pulled annotations can be foreign-marked and own-authored rows excluded. */
475
- get: operations["getPullTranscriptAnnotations"];
524
+ /**
525
+ * @deprecated
526
+ * @description Get a collective with roster, stats, model breakdown, contributors, the caller's role, and a transcript page. pending_members is present only for owners. transcripts is an empty array when the caller may see the collective but may not read its data.
527
+ */
528
+ get: operations["getGroupDeprecated"];
476
529
  put?: never;
477
530
  post?: never;
478
- delete?: never;
531
+ /**
532
+ * @deprecated
533
+ * @description Delete an owned collective and return a status receipt.
534
+ */
535
+ delete: operations["deleteGroupDeprecated"];
479
536
  options?: never;
480
537
  head?: never;
481
- patch?: never;
538
+ /**
539
+ * @deprecated
540
+ * @description Update an owned collective. Name and description are written from the request body's string values, so a caller that wants to preserve them must send their current values. linked_github_org omitted means preserve, empty string clears, and non-empty sets after visible-org validation.
541
+ */
542
+ patch: operations["updateGroupDeprecated"];
482
543
  trace?: never;
483
544
  };
484
- "/api/v1/pull/transcripts/{id}/content": {
545
+ "/api/v1/groups/{id}/contributable": {
485
546
  parameters: {
486
547
  query?: never;
487
548
  header?: never;
488
549
  path?: never;
489
550
  cookie?: never;
490
551
  };
491
- /** @description Stream the transcript blob as served. Sends ETag: "<content_hash>"; a matching If-None-Match request yields 304 Not Modified. */
492
- get: operations["getPullTranscriptContent"];
552
+ /**
553
+ * @deprecated
554
+ * @description List every transcript the authenticated caller may offer to one collective, plus whether each transcript is already live in that collective. The response is deliberately unpaginated and bounded by the server row limit.
555
+ */
556
+ get: operations["listContributableTranscriptsDeprecated"];
493
557
  put?: never;
494
558
  post?: never;
495
559
  delete?: never;
@@ -498,25 +562,27 @@ export interface paths {
498
562
  patch?: never;
499
563
  trace?: never;
500
564
  };
501
- "/api/v1/pulls/{owner}/{name}/{number}": {
565
+ "/api/v1/groups/{id}/join": {
502
566
  parameters: {
503
567
  query?: never;
504
568
  header?: never;
505
569
  path?: never;
506
570
  cookie?: never;
507
571
  };
508
- /** @description Read one pull request's prompt attachment. The digest is null until the attachment reaches preview or attached; viewer_is_author is true when the caller is the pull request author. Readers who may not see the attached transcripts receive 403. */
509
- get: operations["getPullRequestAttachment"];
572
+ get?: never;
510
573
  put?: never;
511
- post?: never;
512
- /** @description Detach the prompts from a pull request. Only the pull request author may detach. Deletes the comment, resets the check, and restores each transcript's previous visibility; an attachment already detached returns 409. */
513
- delete: operations["detachPullRequestAttachment"];
574
+ /**
575
+ * @deprecated
576
+ * @description Join an open or verified collective as a contributor. Curated collectives require invitation and refuse this route.
577
+ */
578
+ post: operations["joinGroupDeprecated"];
579
+ delete?: never;
514
580
  options?: never;
515
581
  head?: never;
516
582
  patch?: never;
517
583
  trace?: never;
518
584
  };
519
- "/api/v1/pulls/{owner}/{name}/{number}/confirm": {
585
+ "/api/v1/groups/{id}/members": {
520
586
  parameters: {
521
587
  query?: never;
522
588
  header?: never;
@@ -525,57 +591,69 @@ export interface paths {
525
591
  };
526
592
  get?: never;
527
593
  put?: never;
528
- /** @description Confirm a preview and post it. Only the pull request author may confirm; the attachment must be in preview, otherwise 409. A failed post to GitHub returns 502 and leaves the attachment in preview. */
529
- post: operations["confirmPullRequestAttachment"];
594
+ /**
595
+ * @deprecated
596
+ * @description Add a platform user to an owned collective by username.
597
+ */
598
+ post: operations["addGroupMemberDeprecated"];
530
599
  delete?: never;
531
600
  options?: never;
532
601
  head?: never;
533
602
  patch?: never;
534
603
  trace?: never;
535
604
  };
536
- "/api/v1/schema/version": {
605
+ "/api/v1/groups/{id}/members/{userID}": {
537
606
  parameters: {
538
607
  query?: never;
539
608
  header?: never;
540
609
  path?: never;
541
610
  cookie?: never;
542
611
  };
543
- /** @description Advertise the annotation schema version plus push and pull contract windows and the deployment-specific content-capability set. contentCapabilities omitted or empty means none and null is invalid. Its items are opaque, forward-open revision strings: clients match exactly without SemVer or suffix parsing, ignore unknown tokens, and tolerate/deduplicate duplicates; server output contains only pinned known tokens, rejects duplicates, has no semantic order, and is serialized lexicographically. observed_model_v1 is required exactly when any root or nested assistant turn carries observedModel, not for session model alone. It guarantees assistant-only value validation before persistence with no invalid database or blob side effects and byte-exact accepted observedModel strings through storage, typed migration, rewrite, serving, and pull; JSON whitespace and key order are not guaranteed. */
544
- get: operations["getSchemaVersion"];
612
+ get?: never;
545
613
  put?: never;
546
614
  post?: never;
547
- delete?: never;
615
+ /**
616
+ * @deprecated
617
+ * @description Remove a member from a collective. The member may remove themselves; removing somebody else requires owner access. retract=true or a mandatory deletion policy retracts that member's live submissions.
618
+ */
619
+ delete: operations["removeGroupMemberDeprecated"];
548
620
  options?: never;
549
621
  head?: never;
550
622
  patch?: never;
551
623
  trace?: never;
552
624
  };
553
- "/api/v1/transcript-groups/{groupId}/members": {
625
+ "/api/v1/groups/{id}/members/{userID}/role": {
554
626
  parameters: {
555
627
  query?: never;
556
628
  header?: never;
557
629
  path?: never;
558
630
  cookie?: never;
559
631
  };
560
- /** @description Page the authorized saved helper threads selected by an originating grouped list. The required opaque scope is replayed with current authorization and cannot widen the original route filters. */
561
- get: operations["listTranscriptGroupMembers"];
632
+ get?: never;
562
633
  put?: never;
563
634
  post?: never;
564
635
  delete?: never;
565
636
  options?: never;
566
637
  head?: never;
567
- patch?: never;
638
+ /**
639
+ * @deprecated
640
+ * @description Change a collective member's role to contributor or member. Owner and pending are not accepted by this operation.
641
+ */
642
+ patch: operations["updateGroupMemberRoleDeprecated"];
568
643
  trace?: never;
569
644
  };
570
- "/api/v1/transcripts": {
645
+ "/api/v1/groups/{id}/my-shares": {
571
646
  parameters: {
572
647
  query?: never;
573
648
  header?: never;
574
649
  path?: never;
575
650
  cookie?: never;
576
651
  };
577
- /** @description List authorized transcripts using the existing global, recent, explore, profile, project, and search filters. view=grouped returns grouped list items; omitting view preserves the flat transcript array. */
578
- get: operations["listTranscripts"];
652
+ /**
653
+ * @deprecated
654
+ * @description List the authenticated caller's own live submissions to one collective, including pending and approved rows.
655
+ */
656
+ get: operations["listMyGroupSharesDeprecated"];
579
657
  put?: never;
580
658
  post?: never;
581
659
  delete?: never;
@@ -584,50 +662,62 @@ export interface paths {
584
662
  patch?: never;
585
663
  trace?: never;
586
664
  };
587
- "/api/v1/transcripts/publish": {
665
+ "/api/v1/groups/{id}/pending": {
588
666
  parameters: {
589
667
  query?: never;
590
668
  header?: never;
591
669
  path?: never;
592
670
  cookie?: never;
593
671
  };
594
- get?: never;
672
+ /**
673
+ * @deprecated
674
+ * @description List pending transcript submissions for an owned collective, oldest first.
675
+ */
676
+ get: operations["listPendingSharesDeprecated"];
595
677
  put?: never;
596
- /** @description Publish exact transcript bytes with typed JSON metadata. Capability negotiation is deployment-specific and uses exact string membership, never SemVer ordering. A client with required capabilities missing from the destination MUST refuse before remote upload and MUST NOT strip evidence; dry-run negotiation is local only. A server advertising observed_model_v1 MUST validate assistant-only attribution and observedModel values before persistence or any side effect, and MUST preserve accepted observedModel string bytes through storage, migration, rewrite, and serving; JSON formatting is excluded. Assistant includes nested subagent output represented by role assistant. Creation returns 201 and replacement returns 200; both carry the complete authoritative receipt. */
597
- post: operations["publishTranscript"];
678
+ post?: never;
598
679
  delete?: never;
599
680
  options?: never;
600
681
  head?: never;
601
682
  patch?: never;
602
683
  trace?: never;
603
684
  };
604
- "/api/v1/transcripts/{id}": {
685
+ "/api/v1/groups/{id}/repositories": {
605
686
  parameters: {
606
687
  query?: never;
607
688
  header?: never;
608
689
  path?: never;
609
690
  cookie?: never;
610
691
  };
611
- /** @description Get transcript metadata and viewer-authorized relationship navigation. Navigation is read-only and is never stored in transcript content. */
612
- get: operations["getTranscriptMetadata"];
692
+ /**
693
+ * @deprecated
694
+ * @description List GitHub repositories linked to a collective. The caller must be an authenticated collective member.
695
+ */
696
+ get: operations["listGroupRepositoriesDeprecated"];
613
697
  put?: never;
614
- post?: never;
698
+ /**
699
+ * @deprecated
700
+ * @description Link a GitHub repository to an owned collective after validating that the configured GitHub App installation can access it.
701
+ */
702
+ post: operations["linkGroupRepositoryDeprecated"];
615
703
  delete?: never;
616
704
  options?: never;
617
705
  head?: never;
618
- /** @description Update an owned transcript's metadata and governance axes. Every field is optional: omission preserves stored state; empty title, description, or tags clear those fields; license null requests clear; and a canonical license replaces. Explicit null for title, description, tags, or visibility is rejected, as are unknown fields and invalid or duplicate tags. Clearing an already granted Creative Commons license remains subject to the server's irrevocability rule. Only the owner may call this operation. A successful update returns the complete typed authoritative editable state, including the canonical transcript URL and positive update timestamp. Visibility accepts private and public; organization-scoped visibility remains deferred. */
619
- patch: operations["updateTranscript"];
706
+ patch?: never;
620
707
  trace?: never;
621
708
  };
622
- "/api/v1/transcripts/{id}/collectives": {
709
+ "/api/v1/groups/{id}/repositories/available": {
623
710
  parameters: {
624
711
  query?: never;
625
712
  header?: never;
626
713
  path?: never;
627
714
  cookie?: never;
628
715
  };
629
- /** @description List visible collectives that hold a transcript. The server returns an empty collectives array, not a refusal, when memberships are hidden by collective visibility or contributor opt-in policy. */
630
- get: operations["listTranscriptCollectives"];
716
+ /**
717
+ * @deprecated
718
+ * @description List the repositories the GitHub App can offer this collective, from the installation for the collective's linked organization. The caller must be the collective owner; a collective with no linked organization returns an empty list.
719
+ */
720
+ get: operations["listAvailableGroupRepositoriesDeprecated"];
631
721
  put?: never;
632
722
  post?: never;
633
723
  delete?: never;
@@ -636,32 +726,38 @@ export interface paths {
636
726
  patch?: never;
637
727
  trace?: never;
638
728
  };
639
- "/api/v1/transcripts/{id}/content": {
729
+ "/api/v1/groups/{id}/repositories/{owner}/{name}": {
640
730
  parameters: {
641
731
  query?: never;
642
732
  header?: never;
643
733
  path?: never;
644
734
  cookie?: never;
645
735
  };
646
- /** @description Get the durable transcript content envelope. This response never includes authorized relationship navigation. */
647
- get: operations["getTranscriptContent"];
736
+ get?: never;
648
737
  put?: never;
649
738
  post?: never;
650
- delete?: never;
739
+ /**
740
+ * @deprecated
741
+ * @description Unlink a GitHub repository from an owned collective.
742
+ */
743
+ delete: operations["unlinkGroupRepositoryDeprecated"];
651
744
  options?: never;
652
745
  head?: never;
653
746
  patch?: never;
654
747
  trace?: never;
655
748
  };
656
- "/api/v1/transcripts/{id}/pulls": {
749
+ "/api/v1/groups/{id}/repositories/{owner}/{name}/commits": {
657
750
  parameters: {
658
751
  query?: never;
659
752
  header?: never;
660
753
  path?: never;
661
754
  cookie?: never;
662
755
  };
663
- /** @description List the pull requests whose prompt attachment includes this transcript, attached or detached, with each pull request's title and head branch. A requested, waiting, or preview attachment is never listed. An attachment on a private repository is listed only to the pull request author, a member of the collective the attachment belongs to, or, for an attached attachment, a reader of the repository; any other attachment on a private repository is omitted rather than refused, and so is one whose visibility check cannot complete. A caller who may not read the transcript receives 404, never 403, so the read does not reveal that the transcript exists. 429 means the private-repository visibility check is rate limited; retry later. */
664
- get: operations["listTranscriptPullRequests"];
756
+ /**
757
+ * @deprecated
758
+ * @description List cached commits for a linked repository. refresh=true fetches from GitHub and requires collective owner access; otherwise any collective member may read the cache.
759
+ */
760
+ get: operations["listGroupRepositoryCommitsDeprecated"];
665
761
  put?: never;
666
762
  post?: never;
667
763
  delete?: never;
@@ -670,7 +766,7 @@ export interface paths {
670
766
  patch?: never;
671
767
  trace?: never;
672
768
  };
673
- "/api/v1/transcripts/{id}/share": {
769
+ "/api/v1/groups/{id}/shares": {
674
770
  parameters: {
675
771
  query?: never;
676
772
  header?: never;
@@ -679,15 +775,22 @@ export interface paths {
679
775
  };
680
776
  get?: never;
681
777
  put?: never;
682
- /** @description Offer one owned transcript to one or more collectives. The response is the transcript's share list, while duplicate or refused collectives are skipped unless every requested collective is already live. */
683
- post: operations["shareTranscriptWithGroups"];
778
+ /**
779
+ * @deprecated
780
+ * @description Offer selected transcripts from one owned project to one collective in one transaction. Omitted or empty transcript_ids means every owned transcript in the project. visibility_confirmed must be true when any selected private transcript would become visible to the collective.
781
+ */
782
+ post: operations["batchShareProjectDeprecated"];
684
783
  delete?: never;
685
784
  options?: never;
686
785
  head?: never;
687
- patch?: never;
786
+ /**
787
+ * @deprecated
788
+ * @description Approve or reject many pending submissions in one owner-only action. The response separates ids that were decided by this action from ids that were already decided, never submitted to this collective, or stale.
789
+ */
790
+ patch: operations["batchReviewSharesDeprecated"];
688
791
  trace?: never;
689
792
  };
690
- "/api/v1/transcripts/{id}/share/{groupID}": {
793
+ "/api/v1/groups/{id}/shares/{transcriptID}": {
691
794
  parameters: {
692
795
  query?: never;
693
796
  header?: never;
@@ -697,39 +800,62 @@ export interface paths {
697
800
  get?: never;
698
801
  put?: never;
699
802
  post?: never;
700
- /** @description Withdraw one owned transcript from one collective and return a status receipt. */
701
- delete: operations["unshareTranscriptFromGroup"];
803
+ delete?: never;
702
804
  options?: never;
703
805
  head?: never;
704
- patch?: never;
806
+ /**
807
+ * @deprecated
808
+ * @description Approve or reject one pending submission to an owned collective. The decision changes the share-attempt status and does not mutate transcript visibility.
809
+ */
810
+ patch: operations["reviewShareDeprecated"];
705
811
  trace?: never;
706
812
  };
707
- "/api/v1/users/me/collectives/contributions": {
813
+ "/api/v1/groups/{id}/transcripts/{transcriptID}": {
708
814
  parameters: {
709
815
  query?: never;
710
816
  header?: never;
711
817
  path?: never;
712
818
  cookie?: never;
713
819
  };
714
- /** @description List collectives the authenticated caller has offered transcripts to, with approved and pending transcript counts and rejected and withdrawn attempt counts. */
715
- get: operations["listMyCollectiveContributions"];
820
+ get?: never;
716
821
  put?: never;
717
822
  post?: never;
823
+ /**
824
+ * @deprecated
825
+ * @description Remove or revoke a transcript contribution from an owned collective without deleting the transcript from its owner's library.
826
+ */
827
+ delete: operations["removeGroupTranscriptDeprecated"];
828
+ options?: never;
829
+ head?: never;
830
+ patch?: never;
831
+ trace?: never;
832
+ };
833
+ "/api/v1/integrations/github/webhook": {
834
+ parameters: {
835
+ query?: never;
836
+ header?: never;
837
+ path?: never;
838
+ cookie?: never;
839
+ };
840
+ get?: never;
841
+ put?: never;
842
+ /** @description Receive a GitHub App webhook delivery. The body is GitHub's payload, authenticated by the X-Hub-Signature-256 HMAC over the raw body; X-GitHub-Delivery makes redelivery idempotent. Handles installation, pull_request, check_run, and issue_comment events and acknowledges every other event without acting. Returns 501 when the App or its webhook secret is not configured. */
843
+ post: operations["receiveGitHubWebhook"];
718
844
  delete?: never;
719
845
  options?: never;
720
846
  head?: never;
721
847
  patch?: never;
722
848
  trace?: never;
723
849
  };
724
- "/api/v1/users/me/collectives/{groupId}/submissions": {
850
+ "/api/v1/orgs/{login}": {
725
851
  parameters: {
726
852
  query?: never;
727
853
  header?: never;
728
854
  path?: never;
729
855
  cookie?: never;
730
856
  };
731
- /** @description List every transcript-collective pair the authenticated caller has offered to one collective, including pairs whose latest event was a withdrawal. A caller with no pair receives 404, matching no-such-collective. */
732
- get: operations["listMyCollectiveSubmissions"];
857
+ /** @description Read the existing organization response's viewer-permitted collectives projection. Additional organization statistics and members may be present but metadata consumers retain only the disclosed collective projection. Query errors, including linked-collective lookup failure, are 500 rather than fabricated empty success; unavailable organization is privacy-safe 404. Server disclosure remains authoritative. */
858
+ get: operations["getVillageOrganizationCollectives"];
733
859
  put?: never;
734
860
  post?: never;
735
861
  delete?: never;
@@ -738,15 +864,15 @@ export interface paths {
738
864
  patch?: never;
739
865
  trace?: never;
740
866
  };
741
- "/api/v1/users/me/collectives/{groupId}/transcripts/{transcriptId}/events": {
867
+ "/api/v1/pull/transcripts": {
742
868
  parameters: {
743
869
  query?: never;
744
870
  header?: never;
745
871
  path?: never;
746
872
  cookie?: never;
747
873
  };
748
- /** @description List the full owner-only event history for one transcript and collective pair, oldest event first. The decided_by_actor field is an actor class, never a moderator user id. */
749
- get: operations["listShareEventHistory"];
874
+ /** @description List transcripts the authenticated user may pull (own + group-shared; public excluded by the canPullTranscript policy). Offset pagination. The optional collectives filter narrows the list to the approved shares of the listed collectives the caller belongs to; a collective the caller is not in contributes nothing. */
875
+ get: operations["listPullableTranscripts"];
750
876
  put?: never;
751
877
  post?: never;
752
878
  delete?: never;
@@ -755,50 +881,49 @@ export interface paths {
755
881
  patch?: never;
756
882
  trace?: never;
757
883
  };
758
- "/api/v1/users/me/prompt-requests": {
884
+ "/api/v1/pull/transcripts/skip-gate": {
759
885
  parameters: {
760
886
  query?: never;
761
887
  header?: never;
762
888
  path?: never;
763
889
  cookie?: never;
764
890
  };
765
- /** @description List the caller's attachments that are waiting for a transcript from the caller's machine, naming both the base and head remotes of each pull request so a client can match the repository it is about to push against either. */
766
- get: operations["listMyPromptRequests"];
891
+ get?: never;
767
892
  put?: never;
768
- post?: never;
893
+ /** @description Batch currency check for a pulling client: per transcript it holds, send the id, the content-hash it holds, and its own annotation-hash set; receive per pullable id {contentCurrent, annotationsCurrent}. Non-pullable ids are withheld by omission from results. */
894
+ post: operations["pullSkipGate"];
769
895
  delete?: never;
770
896
  options?: never;
771
897
  head?: never;
772
898
  patch?: never;
773
899
  trace?: never;
774
900
  };
775
- "/api/v1/users/me/settings": {
901
+ "/api/v1/pull/transcripts/{id}": {
776
902
  parameters: {
777
903
  query?: never;
778
904
  header?: never;
779
905
  path?: never;
780
906
  cookie?: never;
781
907
  };
782
- /** @description Read the caller's settings, including preview_before_attach and auto_attach_pull_requests. auto_attach_pull_requests is off by default; when on, Village links the caller's transcripts that trace a pull request's commits when the pull request opens in a repository one of the caller's collectives links, and never changes who can read them. */
783
- get: operations["getMySettings"];
908
+ /** @description Get a pullable transcript's metadata (owner, visibility, server-computed content_hash, push contract version). 404 (not 403) when not pullable. */
909
+ get: operations["getPullTranscript"];
784
910
  put?: never;
785
911
  post?: never;
786
912
  delete?: never;
787
913
  options?: never;
788
914
  head?: never;
789
- /** @description Patch the caller's settings. A field that is omitted is left unchanged. */
790
- patch: operations["updateMySettings"];
915
+ patch?: never;
791
916
  trace?: never;
792
917
  };
793
- "/api/v1/users/me/stats": {
918
+ "/api/v1/pull/transcripts/{id}/annotations": {
794
919
  parameters: {
795
920
  query?: never;
796
921
  header?: never;
797
922
  path?: never;
798
923
  cookie?: never;
799
924
  };
800
- /** @description Read totals over every transcript the caller published: transcripts, turns, recorded duration, tokens, and the distinct pull requests attached to those transcripts that the caller may read under the visibility rule of listTranscriptPullRequests (state attached; detached pull requests are not counted). The totals cover every transcript, not one page of a list. */
801
- get: operations["getMyStats"];
925
+ /** @description List a transcript's annotations as PullAnnotation rows (AnnotationSummary plus author identity), so pulled annotations can be foreign-marked and own-authored rows excluded. */
926
+ get: operations["getPullTranscriptAnnotations"];
802
927
  put?: never;
803
928
  post?: never;
804
929
  delete?: never;
@@ -807,239 +932,565 @@ export interface paths {
807
932
  patch?: never;
808
933
  trace?: never;
809
934
  };
810
- }
811
- export type webhooks = Record<string, never>;
812
- export interface components {
813
- schemas: {
814
- /**
815
- * Harness
816
- * @description AI coding tool or development environment
817
- * @example claude-code
818
- * @example opencode
819
- * @enum {string}
820
- */
821
- BestiaryHarness: Schema.Harness;
822
- FormDataOpenapiTranscriptPublishMultipartRequest: {
823
- /** @description PublishRequest JSON encoded with Content-Type application/json. */
824
- metadata: components["schemas"]["OpenapiAuthoritativeTranscriptPublishRequest"];
825
- /** @description Exact transcript bytes whose SHA3-256 digest equals metadata.contentHash. */
826
- transcript_file: components["schemas"]["MultipartFileHeader"];
935
+ "/api/v1/pull/transcripts/{id}/content": {
936
+ parameters: {
937
+ query?: never;
938
+ header?: never;
939
+ path?: never;
940
+ cookie?: never;
827
941
  };
828
- /** Format: binary */
829
- MultipartFileHeader: string;
830
- OpenapiAuthoritativeTranscriptPublishRequest: {
831
- contentHash: components["schemas"]["SchemaTranscriptContentHash"];
832
- diagnostics?: components["schemas"]["SchemaAuthoritativeDiagnosticsInfo"];
833
- entries?: components["schemas"]["SchemaAuthoritativeSessionEntry"][];
834
- git?: components["schemas"]["SchemaAuthoritativeGitContext"];
835
- identity?: components["schemas"]["SchemaAuthoritativeSessionIdentity"];
836
- license?: components["schemas"]["SchemaLicense"];
837
- model: components["schemas"]["SchemaAuthoritativeModelInfo"];
838
- project?: components["schemas"]["SchemaAuthoritativeProjectContext"];
839
- quality?: components["schemas"]["SchemaAuthoritativeQualityMetrics"];
840
- source?: components["schemas"]["SchemaAuthoritativeSourceInfo"];
841
- stats?: components["schemas"]["SchemaAuthoritativeSessionStats"];
842
- subagents?: components["schemas"]["SchemaAuthoritativeSubagentRef"][];
843
- timestamp?: components["schemas"]["SchemaAuthoritativeTimestampInfo"];
844
- visibilityIntent?: components["schemas"]["SchemaVisibilityIntent"];
942
+ /** @description Stream the transcript blob as served. Sends ETag: "<content_hash>"; a matching If-None-Match request yields 304 Not Modified. */
943
+ get: operations["getPullTranscriptContent"];
944
+ put?: never;
945
+ post?: never;
946
+ delete?: never;
947
+ options?: never;
948
+ head?: never;
949
+ patch?: never;
950
+ trace?: never;
951
+ };
952
+ "/api/v1/pulls/{owner}/{name}/{number}": {
953
+ parameters: {
954
+ query?: never;
955
+ header?: never;
956
+ path?: never;
957
+ cookie?: never;
845
958
  };
846
- OpenapiTranscriptUpdateErrorResponse: {
847
- error: string;
959
+ /** @description Read one pull request's prompt attachment. The digest is null until the attachment reaches preview or attached; viewer_is_author is true when the caller is the pull request author. Readers who may not see the attached transcripts receive 403. */
960
+ get: operations["getPullRequestAttachment"];
961
+ put?: never;
962
+ post?: never;
963
+ /** @description Detach the prompts from a pull request. Only the pull request author may detach. Deletes the comment, resets the check, and restores each transcript's previous visibility; an attachment already detached returns 409. */
964
+ delete: operations["detachPullRequestAttachment"];
965
+ options?: never;
966
+ head?: never;
967
+ patch?: never;
968
+ trace?: never;
969
+ };
970
+ "/api/v1/pulls/{owner}/{name}/{number}/confirm": {
971
+ parameters: {
972
+ query?: never;
973
+ header?: never;
974
+ path?: never;
975
+ cookie?: never;
848
976
  };
849
- /** @enum {string} */
850
- OpenapiVillageGroupedView: "grouped";
851
- /**
852
- * Actor Origin
853
- * @description Closed session graph value
854
- * @example operator
855
- * @example agent_delegate
856
- * @example harness
857
- * @example unknown
858
- * @enum {string}
859
- */
860
- SchemaActorOrigin: Schema.ActorOrigin;
861
- SchemaAnnotationEntryTarget: Schema.AnnotationEntryTarget;
862
- SchemaAnnotationManifestResponse: Schema.AnnotationManifestResponse;
863
- SchemaAnnotationPushItem: Schema.AnnotationPushItem;
864
- SchemaAnnotationPushRequest: Schema.AnnotationPushRequest;
865
- SchemaAnnotationPushResponse: Schema.AnnotationPushResponse;
866
- SchemaAnnotationPushResult: Schema.AnnotationPushResult;
867
- /**
868
- * Annotation Push Status
869
- * @description Per-item annotation push outcome
870
- * @example created
871
- * @example updated
872
- * @example skipped
873
- * @example error
874
- * @enum {string}
875
- */
876
- SchemaAnnotationPushStatus: Schema.AnnotationPushStatus;
877
- /**
878
- * Annotator Kind
879
- * @description Type of entity that produced an annotation: human, agent (AI model), or rule (automated classifier)
880
- * @example human
881
- * @example agent
882
- * @example rule
883
- * @enum {string}
884
- */
885
- SchemaAnnotatorKind: Schema.AnnotatorKind;
886
- /**
887
- * Association ID
888
- * @description Opaque durable Peasant identifier for one session-to-commit association
889
- * @example assoc-20260726:session-a:commit-1
890
- */
891
- SchemaAssociationID: Schema.AssociationID;
892
- SchemaAuthoritativeCommitInfo: Schema.AuthoritativeCommitInfo;
893
- SchemaAuthoritativeDiagnosticEntry: Schema.AuthoritativeDiagnosticEntry;
894
- SchemaAuthoritativeDiagnosticsInfo: Schema.AuthoritativeDiagnosticsInfo;
895
- SchemaAuthoritativeGitContext: Schema.AuthoritativeGitContext;
896
- SchemaAuthoritativeModelInfo: Schema.AuthoritativeModelInfo;
897
- SchemaAuthoritativeProjectContext: Schema.AuthoritativeProjectContext;
898
- SchemaAuthoritativePublishResponse: Schema.AuthoritativePublishResponse;
899
- SchemaAuthoritativeQualityMetrics: Schema.AuthoritativeQualityMetrics;
900
- SchemaAuthoritativeSessionEntry: Schema.AuthoritativeSessionEntry;
901
- SchemaAuthoritativeSessionIdentity: Schema.AuthoritativeSessionIdentity;
902
- SchemaAuthoritativeSessionStats: Schema.AuthoritativeSessionStats;
903
- SchemaAuthoritativeSourceInfo: Schema.AuthoritativeSourceInfo;
904
- SchemaAuthoritativeSubagentRef: Schema.AuthoritativeSubagentRef;
905
- SchemaAuthoritativeTimestampInfo: Schema.AuthoritativeTimestampInfo;
906
- SchemaChildSessionRef: Schema.ChildSessionRef;
907
- SchemaCommandInvocation: Schema.CommandInvocation;
908
- /**
909
- * Content Kind
910
- * @description Payload kind carried by a transcript content envelope
911
- * @example session_detail
912
- * @enum {string}
913
- */
914
- SchemaContentKind: Schema.ContentKind;
915
- /**
916
- * Content Origin
917
- * @description Closed session graph value
918
- * @example submitted_input
919
- * @example harness_context
920
- * @example agent_output
921
- * @example agent_communication
922
- * @example tool_activity
923
- * @example system_control
924
- * @example generated_summary
925
- * @example unknown
926
- * @enum {string}
927
- */
928
- SchemaContentOrigin: Schema.ContentOrigin;
929
- /**
930
- * Content Ownership
931
- * @description Closed session graph value
932
- * @example local
933
- * @example inherited
934
- * @example uncertain
935
- * @enum {string}
936
- */
937
- SchemaContentOwnership: Schema.ContentOwnership;
938
- SchemaContentProvenance: Schema.ContentProvenance;
939
- /**
940
- * Delivery Origin
941
- * @description Closed session graph value
942
- * @example session_admission
943
- * @example guardian_review
944
- * @example subagent_delivery
945
- * @example inherited_context
946
- * @example tool_delivery
947
- * @example system_lifecycle
948
- * @example unknown
949
- * @enum {string}
950
- */
951
- SchemaDeliveryOrigin: Schema.DeliveryOrigin;
952
- /**
953
- * Digest Item Kind
954
- * @description Kind of one item in the prompt digest chain: a session boundary, a human prompt, a skill invocation marker, or a commit anchor
955
- * @example session
956
- * @example prompt
957
- * @example skill
958
- * @example commit
959
- * @enum {string}
960
- */
961
- SchemaDigestItemKind: Schema.DigestItemKind;
962
- SchemaEarlierHistorySection: Schema.EarlierHistorySection;
963
- /**
964
- * Earlier History State
965
- * @description Closed session graph value
966
- * @example uncertain_migrated
967
- * @example uncertain_unresolved
968
- * @enum {string}
969
- */
970
- SchemaEarlierHistoryState: Schema.EarlierHistoryState;
971
- /**
972
- * Entry Type
973
- * @description Classification of a single entry within an agent session transcript
974
- * @example text
975
- * @example tool_use
976
- * @example tool_result
977
- * @enum {string}
978
- */
979
- SchemaEntryType: Schema.EntryType;
980
- /**
981
- * Evidence Kind
982
- * @description Closed session graph value
983
- * @example native_typed
984
- * @example lifecycle_typed
985
- * @example existing_adapter
986
- * @example retained_last_good
987
- * @example unknown
988
- * @example conflict
989
- * @enum {string}
990
- */
991
- SchemaEvidenceKind: Schema.EvidenceKind;
992
- SchemaExchangeCodeRequest: Schema.ExchangeCodeRequest;
993
- SchemaExchangeCodeResponse: Schema.ExchangeCodeResponse;
994
- SchemaHelperContextSummary: Schema.HelperContextSummary;
995
- SchemaHelperGroupSummary: Schema.HelperGroupSummary;
996
- /**
997
- * Host Slug
998
- * @description Sanitized, filesystem-safe identifier derived from git remote; contains only [a-zA-Z0-9._<>-]
999
- * @example github.com--user--repo
1000
- * @example local--home-user-projects-myapp
1001
- */
1002
- SchemaHostSlug: Schema.HostSlug;
1003
- /**
1004
- * Input Modality
1005
- * @description Closed session graph value
1006
- * @example none
1007
- * @example text
1008
- * @example media
1009
- * @example user_action
1010
- * @example mixed
1011
- * @example unknown
1012
- * @enum {string}
1013
- */
1014
- SchemaInputModality: Schema.InputModality;
1015
- SchemaInterpretationDiagnostics: Schema.InterpretationDiagnostics;
1016
- /**
1017
- * License
1018
- * @description Content license for a published transcript
1019
- * @example CC0-1.0
1020
- * @enum {string}
1021
- */
1022
- SchemaLicense: Schema.License;
1023
- /**
1024
- * Model ID
1025
- * @description Model identifier (e.g. 'claude-opus-4-6', 'gemini-2.0-flash')
1026
- * @example claude-opus-4-6
1027
- * @example gemini-2.0-flash
1028
- * @example codex-mini-latest
1029
- */
1030
- SchemaModelID: Schema.ModelID;
1031
- SchemaNativeAttachmentRef: Schema.NativeAttachmentRef;
1032
- /**
1033
- * Native Metadata Kind
1034
- * @description Kind of bounded non-conversational native metadata
1035
- * @example pi.custom.data
1036
- * @example pi.custommessage.details
1037
- * @example pi.toolresult.details
1038
- * @example pi.compaction.details
1039
- * @example pi.branchsummary.details
1040
- * @enum {string}
1041
- */
1042
- SchemaNativeMetadataKind: Schema.NativeMetadataKind;
977
+ get?: never;
978
+ put?: never;
979
+ /** @description Confirm a preview and post it. Only the pull request author may confirm; the attachment must be in preview, otherwise 409. A failed post to GitHub returns 502 and leaves the attachment in preview. */
980
+ post: operations["confirmPullRequestAttachment"];
981
+ delete?: never;
982
+ options?: never;
983
+ head?: never;
984
+ patch?: never;
985
+ trace?: never;
986
+ };
987
+ "/api/v1/schema/version": {
988
+ parameters: {
989
+ query?: never;
990
+ header?: never;
991
+ path?: never;
992
+ cookie?: never;
993
+ };
994
+ /** @description Advertise the annotation schema version plus push and pull contract windows and the deployment-specific content-capability set. contentCapabilities omitted or empty means none and null is invalid. Its items are opaque, forward-open revision strings: clients match exactly without SemVer or suffix parsing, ignore unknown tokens, and tolerate/deduplicate duplicates; server output contains only pinned known tokens, rejects duplicates, has no semantic order, and is serialized lexicographically. observed_model_v1 is required exactly when any root or nested assistant turn carries observedModel, not for session model alone. It guarantees assistant-only value validation before persistence with no invalid database or blob side effects and byte-exact accepted observedModel strings through storage, typed migration, rewrite, serving, and pull; JSON whitespace and key order are not guaranteed. */
995
+ get: operations["getSchemaVersion"];
996
+ put?: never;
997
+ post?: never;
998
+ delete?: never;
999
+ options?: never;
1000
+ head?: never;
1001
+ patch?: never;
1002
+ trace?: never;
1003
+ };
1004
+ "/api/v1/transcript-groups/{groupId}/members": {
1005
+ parameters: {
1006
+ query?: never;
1007
+ header?: never;
1008
+ path?: never;
1009
+ cookie?: never;
1010
+ };
1011
+ /** @description Page the authorized saved helper threads selected by an originating grouped list. The required opaque scope is replayed with current authorization and cannot widen the original route filters. */
1012
+ get: operations["listTranscriptGroupMembers"];
1013
+ put?: never;
1014
+ post?: never;
1015
+ delete?: never;
1016
+ options?: never;
1017
+ head?: never;
1018
+ patch?: never;
1019
+ trace?: never;
1020
+ };
1021
+ "/api/v1/transcripts": {
1022
+ parameters: {
1023
+ query?: never;
1024
+ header?: never;
1025
+ path?: never;
1026
+ cookie?: never;
1027
+ };
1028
+ /** @description List authorized transcripts using the existing global, recent, explore, profile, project, and search filters. view=grouped returns grouped list items; omitting view preserves the flat transcript array. */
1029
+ get: operations["listTranscripts"];
1030
+ put?: never;
1031
+ post?: never;
1032
+ delete?: never;
1033
+ options?: never;
1034
+ head?: never;
1035
+ patch?: never;
1036
+ trace?: never;
1037
+ };
1038
+ "/api/v1/transcripts/publish": {
1039
+ parameters: {
1040
+ query?: never;
1041
+ header?: never;
1042
+ path?: never;
1043
+ cookie?: never;
1044
+ };
1045
+ get?: never;
1046
+ put?: never;
1047
+ /** @description Publish exact transcript bytes with typed JSON metadata. Capability negotiation is deployment-specific and uses exact string membership, never SemVer ordering. A client with required capabilities missing from the destination MUST refuse before remote upload and MUST NOT strip evidence; dry-run negotiation is local only. A server advertising observed_model_v1 MUST validate assistant-only attribution and observedModel values before persistence or any side effect, and MUST preserve accepted observedModel string bytes through storage, migration, rewrite, and serving; JSON formatting is excluded. Assistant includes nested subagent output represented by role assistant. Creation returns 201 and replacement returns 200; both carry the complete authoritative receipt. */
1048
+ post: operations["publishTranscript"];
1049
+ delete?: never;
1050
+ options?: never;
1051
+ head?: never;
1052
+ patch?: never;
1053
+ trace?: never;
1054
+ };
1055
+ "/api/v1/transcripts/{id}": {
1056
+ parameters: {
1057
+ query?: never;
1058
+ header?: never;
1059
+ path?: never;
1060
+ cookie?: never;
1061
+ };
1062
+ /** @description Get transcript metadata and viewer-authorized relationship navigation. Navigation is read-only and is never stored in transcript content. Nonowner collective associations use the same narrow viewer-visible/contributor-discoverable projection as the dedicated collective read; omitted associations do not disclose hidden existence. Query failures are 500, never successful empty arrays. */
1063
+ get: operations["getTranscriptMetadata"];
1064
+ put?: never;
1065
+ post?: never;
1066
+ delete?: never;
1067
+ options?: never;
1068
+ head?: never;
1069
+ /** @description Update an owned transcript's metadata and governance axes. Every field is optional: omission preserves stored state; empty title, description, or tags clear those fields; license null requests clear; and a canonical license replaces. Explicit null for title, description, tags, or visibility is rejected, as are unknown fields and invalid or duplicate tags. Clearing an already granted Creative Commons license remains subject to the server's irrevocability rule. Only the owner may call this operation. A successful update returns the complete typed authoritative editable state, including the canonical transcript URL and positive update timestamp. Visibility accepts private and public; organization-scoped visibility remains deferred. */
1070
+ patch: operations["updateTranscript"];
1071
+ trace?: never;
1072
+ };
1073
+ "/api/v1/transcripts/{id}/collectives": {
1074
+ parameters: {
1075
+ query?: never;
1076
+ header?: never;
1077
+ path?: never;
1078
+ cookie?: never;
1079
+ };
1080
+ /** @description List visible collectives that hold a transcript. The server returns an empty collectives array, not a refusal, when memberships are hidden by collective visibility or contributor opt-in policy. */
1081
+ get: operations["listTranscriptCollectives"];
1082
+ put?: never;
1083
+ post?: never;
1084
+ delete?: never;
1085
+ options?: never;
1086
+ head?: never;
1087
+ patch?: never;
1088
+ trace?: never;
1089
+ };
1090
+ "/api/v1/transcripts/{id}/content": {
1091
+ parameters: {
1092
+ query?: never;
1093
+ header?: never;
1094
+ path?: never;
1095
+ cookie?: never;
1096
+ };
1097
+ /** @description Get the durable transcript content envelope. This response never includes authorized relationship navigation. */
1098
+ get: operations["getTranscriptContent"];
1099
+ put?: never;
1100
+ post?: never;
1101
+ delete?: never;
1102
+ options?: never;
1103
+ head?: never;
1104
+ patch?: never;
1105
+ trace?: never;
1106
+ };
1107
+ "/api/v1/transcripts/{id}/pulls": {
1108
+ parameters: {
1109
+ query?: never;
1110
+ header?: never;
1111
+ path?: never;
1112
+ cookie?: never;
1113
+ };
1114
+ /** @description List the pull requests whose prompt attachment includes this transcript, attached or detached, with each pull request's title and head branch. A requested, waiting, or preview attachment is never listed. An attachment on a private repository is listed only to the pull request author, a member of the collective the attachment belongs to, or, for an attached attachment, a reader of the repository; any other attachment on a private repository is omitted rather than refused, and so is one whose visibility check cannot complete. A caller who may not read the transcript receives 404, never 403, so the read does not reveal that the transcript exists. 429 means the private-repository visibility check is rate limited; retry later. */
1115
+ get: operations["listTranscriptPullRequests"];
1116
+ put?: never;
1117
+ post?: never;
1118
+ delete?: never;
1119
+ options?: never;
1120
+ head?: never;
1121
+ patch?: never;
1122
+ trace?: never;
1123
+ };
1124
+ "/api/v1/transcripts/{id}/share": {
1125
+ parameters: {
1126
+ query?: never;
1127
+ header?: never;
1128
+ path?: never;
1129
+ cookie?: never;
1130
+ };
1131
+ get?: never;
1132
+ put?: never;
1133
+ /** @description Offer one owned transcript to one or more collectives. The response is the transcript's share list, while duplicate or refused collectives are skipped unless every requested collective is already live. */
1134
+ post: operations["shareTranscriptWithGroups"];
1135
+ delete?: never;
1136
+ options?: never;
1137
+ head?: never;
1138
+ patch?: never;
1139
+ trace?: never;
1140
+ };
1141
+ "/api/v1/transcripts/{id}/share/{groupID}": {
1142
+ parameters: {
1143
+ query?: never;
1144
+ header?: never;
1145
+ path?: never;
1146
+ cookie?: never;
1147
+ };
1148
+ get?: never;
1149
+ put?: never;
1150
+ post?: never;
1151
+ /** @description Withdraw one owned transcript from one collective and return a status receipt. */
1152
+ delete: operations["unshareTranscriptFromGroup"];
1153
+ options?: never;
1154
+ head?: never;
1155
+ patch?: never;
1156
+ trace?: never;
1157
+ };
1158
+ "/api/v1/users/me/collectives/contributions": {
1159
+ parameters: {
1160
+ query?: never;
1161
+ header?: never;
1162
+ path?: never;
1163
+ cookie?: never;
1164
+ };
1165
+ /** @description List collectives the authenticated caller has offered transcripts to, with approved and pending transcript counts and rejected and withdrawn attempt counts. */
1166
+ get: operations["listMyCollectiveContributions"];
1167
+ put?: never;
1168
+ post?: never;
1169
+ delete?: never;
1170
+ options?: never;
1171
+ head?: never;
1172
+ patch?: never;
1173
+ trace?: never;
1174
+ };
1175
+ "/api/v1/users/me/collectives/{groupId}/submissions": {
1176
+ parameters: {
1177
+ query?: never;
1178
+ header?: never;
1179
+ path?: never;
1180
+ cookie?: never;
1181
+ };
1182
+ /** @description List every transcript-collective pair the authenticated caller has offered to one collective, including pairs whose latest event was a withdrawal. A caller with no pair receives 404, matching no-such-collective. */
1183
+ get: operations["listMyCollectiveSubmissions"];
1184
+ put?: never;
1185
+ post?: never;
1186
+ delete?: never;
1187
+ options?: never;
1188
+ head?: never;
1189
+ patch?: never;
1190
+ trace?: never;
1191
+ };
1192
+ "/api/v1/users/me/collectives/{groupId}/transcripts/{transcriptId}/events": {
1193
+ parameters: {
1194
+ query?: never;
1195
+ header?: never;
1196
+ path?: never;
1197
+ cookie?: never;
1198
+ };
1199
+ /** @description List the full owner-only event history for one transcript and collective pair, oldest event first. The decided_by_actor field is an actor class, never a moderator user id. event_num identifies an attempt: pending may become approved/rejected/retracted/revoked at the same ordinal with immutable recorded_at and a newly recorded decided_at. An initially auto-approved attempt may have null decided_at. Terminal wire decision fields do not change; withdrawing/removing an approved contribution uses a new ordinal. Validate and reconcile with the canonical schema attempt helper, not a per-poll append log. */
1200
+ get: operations["listShareEventHistory"];
1201
+ put?: never;
1202
+ post?: never;
1203
+ delete?: never;
1204
+ options?: never;
1205
+ head?: never;
1206
+ patch?: never;
1207
+ trace?: never;
1208
+ };
1209
+ "/api/v1/users/me/prompt-requests": {
1210
+ parameters: {
1211
+ query?: never;
1212
+ header?: never;
1213
+ path?: never;
1214
+ cookie?: never;
1215
+ };
1216
+ /** @description List the caller's attachments that are waiting for a transcript from the caller's machine, naming both the base and head remotes of each pull request so a client can match the repository it is about to push against either. */
1217
+ get: operations["listMyPromptRequests"];
1218
+ put?: never;
1219
+ post?: never;
1220
+ delete?: never;
1221
+ options?: never;
1222
+ head?: never;
1223
+ patch?: never;
1224
+ trace?: never;
1225
+ };
1226
+ "/api/v1/users/me/settings": {
1227
+ parameters: {
1228
+ query?: never;
1229
+ header?: never;
1230
+ path?: never;
1231
+ cookie?: never;
1232
+ };
1233
+ /** @description Read the caller's settings, including preview_before_attach and auto_attach_pull_requests. auto_attach_pull_requests is off by default; when on, Village links the caller's transcripts that trace a pull request's commits when the pull request opens in a repository one of the caller's collectives links, and never changes who can read them. */
1234
+ get: operations["getMySettings"];
1235
+ put?: never;
1236
+ post?: never;
1237
+ delete?: never;
1238
+ options?: never;
1239
+ head?: never;
1240
+ /** @description Patch the caller's settings. A field that is omitted is left unchanged. */
1241
+ patch: operations["updateMySettings"];
1242
+ trace?: never;
1243
+ };
1244
+ "/api/v1/users/me/stats": {
1245
+ parameters: {
1246
+ query?: never;
1247
+ header?: never;
1248
+ path?: never;
1249
+ cookie?: never;
1250
+ };
1251
+ /** @description Read totals over every transcript the caller published: transcripts, turns, recorded duration, tokens, and the distinct pull requests attached to those transcripts that the caller may read under the visibility rule of listTranscriptPullRequests (state attached; detached pull requests are not counted). The totals cover every transcript, not one page of a list. */
1252
+ get: operations["getMyStats"];
1253
+ put?: never;
1254
+ post?: never;
1255
+ delete?: never;
1256
+ options?: never;
1257
+ head?: never;
1258
+ patch?: never;
1259
+ trace?: never;
1260
+ };
1261
+ }
1262
+ export type webhooks = Record<string, never>;
1263
+ export interface components {
1264
+ schemas: {
1265
+ /**
1266
+ * Harness
1267
+ * @description AI coding tool or development environment
1268
+ * @example claude-code
1269
+ * @example opencode
1270
+ * @enum {string}
1271
+ */
1272
+ BestiaryHarness: Schema.Harness;
1273
+ FormDataOpenapiTranscriptPublishMultipartRequest: {
1274
+ /** @description PublishRequest JSON encoded with Content-Type application/json. */
1275
+ metadata: components["schemas"]["OpenapiAuthoritativeTranscriptPublishRequest"];
1276
+ /** @description Exact transcript bytes whose SHA3-256 digest equals metadata.contentHash. */
1277
+ transcript_file: components["schemas"]["MultipartFileHeader"];
1278
+ };
1279
+ /** Format: binary */
1280
+ MultipartFileHeader: string;
1281
+ OpenapiAuthoritativeTranscriptPublishRequest: {
1282
+ contentHash: components["schemas"]["SchemaTranscriptContentHash"];
1283
+ diagnostics?: components["schemas"]["SchemaAuthoritativeDiagnosticsInfo"];
1284
+ entries?: components["schemas"]["SchemaAuthoritativeSessionEntry"][];
1285
+ git?: components["schemas"]["SchemaAuthoritativeGitContext"];
1286
+ identity?: components["schemas"]["SchemaAuthoritativeSessionIdentity"];
1287
+ license?: components["schemas"]["SchemaLicense"];
1288
+ model: components["schemas"]["SchemaAuthoritativeModelInfo"];
1289
+ project?: components["schemas"]["SchemaAuthoritativeProjectContext"];
1290
+ quality?: components["schemas"]["SchemaAuthoritativeQualityMetrics"];
1291
+ source?: components["schemas"]["SchemaAuthoritativeSourceInfo"];
1292
+ stats?: components["schemas"]["SchemaAuthoritativeSessionStats"];
1293
+ subagents?: components["schemas"]["SchemaAuthoritativeSubagentRef"][];
1294
+ timestamp?: components["schemas"]["SchemaAuthoritativeTimestampInfo"];
1295
+ visibilityIntent?: components["schemas"]["SchemaVisibilityIntent"];
1296
+ };
1297
+ OpenapiTranscriptUpdateErrorResponse: {
1298
+ error: string;
1299
+ };
1300
+ /** @enum {string} */
1301
+ OpenapiVillageGroupedView: "grouped";
1302
+ /**
1303
+ * Actor Origin
1304
+ * @description Closed session graph value
1305
+ * @example operator
1306
+ * @example agent_delegate
1307
+ * @example harness
1308
+ * @example unknown
1309
+ * @enum {string}
1310
+ */
1311
+ SchemaActorOrigin: Schema.ActorOrigin;
1312
+ SchemaAnnotationEntryTarget: Schema.AnnotationEntryTarget;
1313
+ SchemaAnnotationManifestResponse: Schema.AnnotationManifestResponse;
1314
+ SchemaAnnotationPushItem: Schema.AnnotationPushItem;
1315
+ SchemaAnnotationPushRequest: Schema.AnnotationPushRequest;
1316
+ SchemaAnnotationPushResponse: Schema.AnnotationPushResponse;
1317
+ SchemaAnnotationPushResult: Schema.AnnotationPushResult;
1318
+ /**
1319
+ * Annotation Push Status
1320
+ * @description Per-item annotation push outcome
1321
+ * @example created
1322
+ * @example updated
1323
+ * @example skipped
1324
+ * @example error
1325
+ * @enum {string}
1326
+ */
1327
+ SchemaAnnotationPushStatus: Schema.AnnotationPushStatus;
1328
+ /**
1329
+ * Annotator Kind
1330
+ * @description Type of entity that produced an annotation: human, agent (AI model), or rule (automated classifier)
1331
+ * @example human
1332
+ * @example agent
1333
+ * @example rule
1334
+ * @enum {string}
1335
+ */
1336
+ SchemaAnnotatorKind: Schema.AnnotatorKind;
1337
+ /**
1338
+ * Association ID
1339
+ * @description Opaque durable Peasant identifier for one session-to-commit association
1340
+ * @example assoc-20260726:session-a:commit-1
1341
+ */
1342
+ SchemaAssociationID: Schema.AssociationID;
1343
+ SchemaAuthoritativeCommitInfo: Schema.AuthoritativeCommitInfo;
1344
+ SchemaAuthoritativeDiagnosticEntry: Schema.AuthoritativeDiagnosticEntry;
1345
+ SchemaAuthoritativeDiagnosticsInfo: Schema.AuthoritativeDiagnosticsInfo;
1346
+ SchemaAuthoritativeGitContext: Schema.AuthoritativeGitContext;
1347
+ SchemaAuthoritativeModelInfo: Schema.AuthoritativeModelInfo;
1348
+ SchemaAuthoritativeProjectContext: Schema.AuthoritativeProjectContext;
1349
+ SchemaAuthoritativePublishResponse: Schema.AuthoritativePublishResponse;
1350
+ SchemaAuthoritativeQualityMetrics: Schema.AuthoritativeQualityMetrics;
1351
+ SchemaAuthoritativeSessionEntry: Schema.AuthoritativeSessionEntry;
1352
+ SchemaAuthoritativeSessionIdentity: Schema.AuthoritativeSessionIdentity;
1353
+ SchemaAuthoritativeSessionStats: Schema.AuthoritativeSessionStats;
1354
+ SchemaAuthoritativeSourceInfo: Schema.AuthoritativeSourceInfo;
1355
+ SchemaAuthoritativeSubagentRef: Schema.AuthoritativeSubagentRef;
1356
+ SchemaAuthoritativeTimestampInfo: Schema.AuthoritativeTimestampInfo;
1357
+ SchemaChildSessionRef: Schema.ChildSessionRef;
1358
+ SchemaCommandInvocation: Schema.CommandInvocation;
1359
+ /**
1360
+ * Content Kind
1361
+ * @description Payload kind carried by a transcript content envelope
1362
+ * @example session_detail
1363
+ * @enum {string}
1364
+ */
1365
+ SchemaContentKind: Schema.ContentKind;
1366
+ /**
1367
+ * Content Origin
1368
+ * @description Closed session graph value
1369
+ * @example submitted_input
1370
+ * @example harness_context
1371
+ * @example agent_output
1372
+ * @example agent_communication
1373
+ * @example tool_activity
1374
+ * @example system_control
1375
+ * @example generated_summary
1376
+ * @example unknown
1377
+ * @enum {string}
1378
+ */
1379
+ SchemaContentOrigin: Schema.ContentOrigin;
1380
+ /**
1381
+ * Content Ownership
1382
+ * @description Closed session graph value
1383
+ * @example local
1384
+ * @example inherited
1385
+ * @example uncertain
1386
+ * @enum {string}
1387
+ */
1388
+ SchemaContentOwnership: Schema.ContentOwnership;
1389
+ SchemaContentProvenance: Schema.ContentProvenance;
1390
+ /**
1391
+ * Delivery Origin
1392
+ * @description Closed session graph value
1393
+ * @example session_admission
1394
+ * @example guardian_review
1395
+ * @example subagent_delivery
1396
+ * @example inherited_context
1397
+ * @example tool_delivery
1398
+ * @example system_lifecycle
1399
+ * @example unknown
1400
+ * @enum {string}
1401
+ */
1402
+ SchemaDeliveryOrigin: Schema.DeliveryOrigin;
1403
+ /**
1404
+ * Digest Item Kind
1405
+ * @description Kind of one item in the prompt digest chain: a session boundary, a human prompt, a skill invocation marker, or a commit anchor
1406
+ * @example session
1407
+ * @example prompt
1408
+ * @example skill
1409
+ * @example commit
1410
+ * @enum {string}
1411
+ */
1412
+ SchemaDigestItemKind: Schema.DigestItemKind;
1413
+ SchemaEarlierHistorySection: Schema.EarlierHistorySection;
1414
+ /**
1415
+ * Earlier History State
1416
+ * @description Closed session graph value
1417
+ * @example uncertain_migrated
1418
+ * @example uncertain_unresolved
1419
+ * @enum {string}
1420
+ */
1421
+ SchemaEarlierHistoryState: Schema.EarlierHistoryState;
1422
+ /**
1423
+ * Entry Type
1424
+ * @description Classification of a single entry within an agent session transcript
1425
+ * @example text
1426
+ * @example tool_use
1427
+ * @example tool_result
1428
+ * @enum {string}
1429
+ */
1430
+ SchemaEntryType: Schema.EntryType;
1431
+ /**
1432
+ * Evidence Kind
1433
+ * @description Closed session graph value
1434
+ * @example native_typed
1435
+ * @example lifecycle_typed
1436
+ * @example existing_adapter
1437
+ * @example retained_last_good
1438
+ * @example unknown
1439
+ * @example conflict
1440
+ * @enum {string}
1441
+ */
1442
+ SchemaEvidenceKind: Schema.EvidenceKind;
1443
+ SchemaExchangeCodeRequest: Schema.ExchangeCodeRequest;
1444
+ SchemaExchangeCodeResponse: Schema.ExchangeCodeResponse;
1445
+ SchemaHelperContextSummary: Schema.HelperContextSummary;
1446
+ SchemaHelperGroupSummary: Schema.HelperGroupSummary;
1447
+ /**
1448
+ * Host Slug
1449
+ * @description Sanitized, filesystem-safe identifier derived from git remote; contains only [a-zA-Z0-9._<>-]
1450
+ * @example github.com--user--repo
1451
+ * @example local--home-user-projects-myapp
1452
+ */
1453
+ SchemaHostSlug: Schema.HostSlug;
1454
+ /**
1455
+ * Input Modality
1456
+ * @description Closed session graph value
1457
+ * @example none
1458
+ * @example text
1459
+ * @example media
1460
+ * @example user_action
1461
+ * @example mixed
1462
+ * @example unknown
1463
+ * @enum {string}
1464
+ */
1465
+ SchemaInputModality: Schema.InputModality;
1466
+ SchemaInterpretationDiagnostics: Schema.InterpretationDiagnostics;
1467
+ /**
1468
+ * License
1469
+ * @description Content license for a published transcript
1470
+ * @example CC0-1.0
1471
+ * @enum {string}
1472
+ */
1473
+ SchemaLicense: Schema.License;
1474
+ /**
1475
+ * Model ID
1476
+ * @description Model identifier (e.g. 'claude-opus-4-6', 'gemini-2.0-flash')
1477
+ * @example claude-opus-4-6
1478
+ * @example gemini-2.0-flash
1479
+ * @example codex-mini-latest
1480
+ */
1481
+ SchemaModelID: Schema.ModelID;
1482
+ SchemaNativeAttachmentRef: Schema.NativeAttachmentRef;
1483
+ /**
1484
+ * Native Metadata Kind
1485
+ * @description Kind of bounded non-conversational native metadata
1486
+ * @example pi.custom.data
1487
+ * @example pi.custommessage.details
1488
+ * @example pi.toolresult.details
1489
+ * @example pi.compaction.details
1490
+ * @example pi.branchsummary.details
1491
+ * @enum {string}
1492
+ */
1493
+ SchemaNativeMetadataKind: Schema.NativeMetadataKind;
1043
1494
  SchemaNativeMetadataRecord: Schema.NativeMetadataRecord;
1044
1495
  /**
1045
1496
  * Native Metadata Source Type
@@ -1325,7 +1776,7 @@ export interface components {
1325
1776
  * @example member
1326
1777
  * @enum {string}
1327
1778
  */
1328
- SchemaVillageAssignableGroupRole: Schema.VillageAssignableGroupRole;
1779
+ SchemaVillageAssignableCollectiveRole: Schema.VillageAssignableCollectiveRole;
1329
1780
  SchemaVillageAvailableRepositoriesResponse: Schema.VillageAvailableRepositoriesResponse;
1330
1781
  SchemaVillageAvailableRepository: Schema.VillageAvailableRepository;
1331
1782
  SchemaVillageBatchReviewRequest: Schema.VillageBatchReviewRequest;
@@ -1333,30 +1784,7 @@ export interface components {
1333
1784
  SchemaVillageBatchShareEntry: Schema.VillageBatchShareEntry;
1334
1785
  SchemaVillageBatchShareRequest: Schema.VillageBatchShareRequest;
1335
1786
  SchemaVillageBatchShareResponse: Schema.VillageBatchShareResponse;
1336
- SchemaVillageCollectiveSearchResponse: Schema.VillageCollectiveSearchResponse;
1337
- SchemaVillageCollectiveSearchResult: Schema.VillageCollectiveSearchResult;
1338
- SchemaVillageCollectiveSubmission: Schema.VillageCollectiveSubmission;
1339
- SchemaVillageContributableResponse: Schema.VillageContributableResponse;
1340
- SchemaVillageContributableTranscript: Schema.VillageContributableTranscript;
1341
- SchemaVillageContributedCollective: Schema.VillageContributedCollective;
1342
- SchemaVillageContributedCollectivesResponse: Schema.VillageContributedCollectivesResponse;
1343
- /**
1344
- * Village Contribution Status
1345
- * @description Status assigned when a new collective contribution is opened
1346
- * @example approved
1347
- * @example pending
1348
- * @enum {string}
1349
- */
1350
- SchemaVillageContributionStatus: Schema.VillageContributionStatus;
1351
- SchemaVillageCreateGroupRequest: Schema.VillageCreateGroupRequest;
1352
- SchemaVillageEnrichedTranscriptShare: Schema.VillageEnrichedTranscriptShare;
1353
- SchemaVillageErrorResponse: Schema.VillageErrorResponse;
1354
- /**
1355
- * GitHub Webhook Payload
1356
- * @description GitHub event payload forwarded verbatim; validated by the X-Hub-Signature-256 HMAC over the raw body, never by shape
1357
- */
1358
- SchemaVillageGitHubWebhookPayload: Schema.VillageGitHubWebhookPayload;
1359
- SchemaVillageGroup: Schema.VillageGroup;
1787
+ SchemaVillageCollective: Schema.VillageCollective;
1360
1788
  /**
1361
1789
  * Village Group Acceptance Mode
1362
1790
  * @description How a collective accepts new members and contributions
@@ -1365,8 +1793,8 @@ export interface components {
1365
1793
  * @example curated
1366
1794
  * @enum {string}
1367
1795
  */
1368
- SchemaVillageGroupAcceptanceMode: Schema.VillageGroupAcceptanceMode;
1369
- SchemaVillageGroupContributor: Schema.VillageGroupContributor;
1796
+ SchemaVillageCollectiveAcceptanceMode: Schema.VillageCollectiveAcceptanceMode;
1797
+ SchemaVillageCollectiveContributor: Schema.VillageCollectiveContributor;
1370
1798
  /**
1371
1799
  * Village Group Data Access
1372
1800
  * @description Who may read a collective's pooled transcript data
@@ -1375,13 +1803,13 @@ export interface components {
1375
1803
  * @example public
1376
1804
  * @enum {string}
1377
1805
  */
1378
- SchemaVillageGroupDataAccess: Schema.VillageGroupDataAccess;
1379
- SchemaVillageGroupDetailRecord: Schema.VillageGroupDetailRecord;
1380
- SchemaVillageGroupDetailResponse: Schema.VillageGroupDetailResponse;
1381
- SchemaVillageGroupMember: Schema.VillageGroupMember;
1382
- SchemaVillageGroupMemberRoleRequest: Schema.VillageGroupMemberRoleRequest;
1383
- SchemaVillageGroupMemberUsernameRequest: Schema.VillageGroupMemberUsernameRequest;
1384
- SchemaVillageGroupModelBreakdown: Schema.VillageGroupModelBreakdown;
1806
+ SchemaVillageCollectiveDataAccess: Schema.VillageCollectiveDataAccess;
1807
+ SchemaVillageCollectiveDetailRecord: Schema.VillageCollectiveDetailRecord;
1808
+ SchemaVillageCollectiveDetailResponse: Schema.VillageCollectiveDetailResponse;
1809
+ SchemaVillageCollectiveMember: Schema.VillageCollectiveMember;
1810
+ SchemaVillageCollectiveMemberRoleRequest: Schema.VillageCollectiveMemberRoleRequest;
1811
+ SchemaVillageCollectiveMemberUsernameRequest: Schema.VillageCollectiveMemberUsernameRequest;
1812
+ SchemaVillageCollectiveModelBreakdown: Schema.VillageCollectiveModelBreakdown;
1385
1813
  /**
1386
1814
  * Village Group Role
1387
1815
  * @description A user's role in one collective
@@ -1391,10 +1819,13 @@ export interface components {
1391
1819
  * @example pending
1392
1820
  * @enum {string}
1393
1821
  */
1394
- SchemaVillageGroupRole: Schema.VillageGroupRole;
1395
- SchemaVillageGroupStatusRoleResponse: Schema.VillageGroupStatusRoleResponse;
1396
- SchemaVillageGroupTranscript: Schema.VillageGroupTranscript;
1397
- SchemaVillageGroupTranscriptStats: Schema.VillageGroupTranscriptStats;
1822
+ SchemaVillageCollectiveRole: Schema.VillageCollectiveRole;
1823
+ SchemaVillageCollectiveSearchResponse: Schema.VillageCollectiveSearchResponse;
1824
+ SchemaVillageCollectiveSearchResult: Schema.VillageCollectiveSearchResult;
1825
+ SchemaVillageCollectiveStatusRoleResponse: Schema.VillageCollectiveStatusRoleResponse;
1826
+ SchemaVillageCollectiveSubmission: Schema.VillageCollectiveSubmission;
1827
+ SchemaVillageCollectiveTranscript: Schema.VillageCollectiveTranscript;
1828
+ SchemaVillageCollectiveTranscriptStats: Schema.VillageCollectiveTranscriptStats;
1398
1829
  /**
1399
1830
  * Village Group Viewer Role
1400
1831
  * @description The caller's role in a collective, or an empty string when the caller has none
@@ -1405,9 +1836,34 @@ export interface components {
1405
1836
  * @example pending
1406
1837
  * @enum {string}
1407
1838
  */
1408
- SchemaVillageGroupViewerRole: Schema.VillageGroupViewerRole;
1839
+ SchemaVillageCollectiveViewerRole: Schema.VillageCollectiveViewerRole;
1840
+ SchemaVillageContributableResponse: Schema.VillageContributableResponse;
1841
+ SchemaVillageContributableTranscript: Schema.VillageContributableTranscript;
1842
+ SchemaVillageContributedCollective: Schema.VillageContributedCollective;
1843
+ SchemaVillageContributedCollectivesResponse: Schema.VillageContributedCollectivesResponse;
1844
+ /**
1845
+ * Village Contribution Status
1846
+ * @description Status assigned when a new collective contribution is opened
1847
+ * @example approved
1848
+ * @example pending
1849
+ * @enum {string}
1850
+ */
1851
+ SchemaVillageContributionStatus: Schema.VillageContributionStatus;
1852
+ SchemaVillageCreateCollectiveRequest: Schema.VillageCreateCollectiveRequest;
1853
+ /**
1854
+ * @deprecated
1855
+ * @description Released groupId envelope for GET /api/v1/groups/{id}/contributable during the alias window. Use VillageGroupedContributableResponse on /api/v1/collectives/{id}/contributable.
1856
+ */
1857
+ SchemaVillageDeprecatedGroupedContributableResponse: Schema.VillageDeprecatedGroupedContributableResponse;
1858
+ SchemaVillageEnrichedTranscriptShare: Schema.VillageEnrichedTranscriptShare;
1859
+ SchemaVillageErrorResponse: Schema.VillageErrorResponse;
1860
+ /**
1861
+ * GitHub Webhook Payload
1862
+ * @description GitHub event payload forwarded verbatim; validated by the X-Hub-Signature-256 HMAC over the raw body, never by shape
1863
+ */
1864
+ SchemaVillageGitHubWebhookPayload: Schema.VillageGitHubWebhookPayload;
1865
+ SchemaVillageGroupedCollectiveDetailResponse: Schema.VillageGroupedCollectiveDetailResponse;
1409
1866
  SchemaVillageGroupedContributableResponse: Schema.VillageGroupedContributableResponse;
1410
- SchemaVillageGroupedGroupDetailResponse: Schema.VillageGroupedGroupDetailResponse;
1411
1867
  SchemaVillageHelperMembersPayload: Schema.VillageHelperMembersPayload;
1412
1868
  SchemaVillageLinkRepositoryRequest: Schema.VillageLinkRepositoryRequest;
1413
1869
  SchemaVillageLinkedRepositoriesResponse: Schema.VillageLinkedRepositoriesResponse;
@@ -1415,6 +1871,8 @@ export interface components {
1415
1871
  SchemaVillageListTranscriptAttestation: Schema.VillageListTranscriptAttestation;
1416
1872
  SchemaVillageListUserOrganization: Schema.VillageListUserOrganization;
1417
1873
  SchemaVillageMetadataUserOrganization: Schema.VillageMetadataUserOrganization;
1874
+ SchemaVillageOrganizationCollective: Schema.VillageOrganizationCollective;
1875
+ SchemaVillageOrganizationCollectivesResponse: Schema.VillageOrganizationCollectivesResponse;
1418
1876
  SchemaVillagePendingShare: Schema.VillagePendingShare;
1419
1877
  /**
1420
1878
  * Village Project Name Source
@@ -1437,7 +1895,7 @@ export interface components {
1437
1895
  * @enum {string}
1438
1896
  */
1439
1897
  SchemaVillagePromptsCheckMode: Schema.VillagePromptsCheckMode;
1440
- SchemaVillagePublicGroup: Schema.VillagePublicGroup;
1898
+ SchemaVillagePublicCollective: Schema.VillagePublicCollective;
1441
1899
  SchemaVillagePullRequestAttachedTranscript: Schema.VillagePullRequestAttachedTranscript;
1442
1900
  SchemaVillagePullRequestAttachment: Schema.VillagePullRequestAttachment;
1443
1901
  SchemaVillagePullRequestAttachmentResponse: Schema.VillagePullRequestAttachmentResponse;
@@ -1454,7 +1912,7 @@ export interface components {
1454
1912
  SchemaVillagePullRequestAttachmentState: Schema.VillagePullRequestAttachmentState;
1455
1913
  SchemaVillagePullRequestRef: Schema.VillagePullRequestRef;
1456
1914
  SchemaVillagePullRequestsSummary: Schema.VillagePullRequestsSummary;
1457
- SchemaVillageRemoveGroupMemberResponse: Schema.VillageRemoveGroupMemberResponse;
1915
+ SchemaVillageRemoveCollectiveMemberResponse: Schema.VillageRemoveCollectiveMemberResponse;
1458
1916
  SchemaVillageRepositoryCommit: Schema.VillageRepositoryCommit;
1459
1917
  SchemaVillageRepositoryCommitsResponse: Schema.VillageRepositoryCommitsResponse;
1460
1918
  /**
@@ -1529,14 +1987,14 @@ export interface components {
1529
1987
  * @example 123e4567-e89b-12d3-a456-426614174000
1530
1988
  */
1531
1989
  SchemaVillageUUID: Schema.VillageUUID;
1532
- SchemaVillageUpdateGroupRequest: Schema.VillageUpdateGroupRequest;
1990
+ SchemaVillageUpdateCollectiveRequest: Schema.VillageUpdateCollectiveRequest;
1533
1991
  SchemaVillageUpdateUserSettingsRequest: Schema.VillageUpdateUserSettingsRequest;
1534
1992
  SchemaVillageUser: Schema.VillageUser;
1535
- SchemaVillageUserGroup: Schema.VillageUserGroup;
1536
- SchemaVillageUserGroupShare: Schema.VillageUserGroupShare;
1993
+ SchemaVillageUserCollective: Schema.VillageUserCollective;
1994
+ SchemaVillageUserCollectiveShare: Schema.VillageUserCollectiveShare;
1537
1995
  SchemaVillageUserSettings: Schema.VillageUserSettings;
1538
1996
  SchemaVillageUserStats: Schema.VillageUserStats;
1539
- SchemaVillageVisibleGroup: Schema.VillageVisibleGroup;
1997
+ SchemaVillageVisibleCollective: Schema.VillageVisibleCollective;
1540
1998
  /**
1541
1999
  * Visibility
1542
2000
  * @description Access control level for a published transcript
@@ -1562,24 +2020,1484 @@ export interface components {
1562
2020
  */
1563
2021
  Visibility: Schema.Visibility;
1564
2022
  };
1565
- responses: never;
1566
- parameters: never;
1567
- requestBodies: never;
1568
- headers: never;
1569
- pathItems: never;
1570
- }
1571
- export type $defs = Record<string, never>;
1572
- export interface operations {
1573
- pushAnnotations: {
2023
+ responses: never;
2024
+ parameters: never;
2025
+ requestBodies: never;
2026
+ headers: never;
2027
+ pathItems: never;
2028
+ }
2029
+ export type $defs = Record<string, never>;
2030
+ export interface operations {
2031
+ pushAnnotations: {
2032
+ parameters: {
2033
+ query?: never;
2034
+ header?: never;
2035
+ path?: never;
2036
+ cookie?: never;
2037
+ };
2038
+ requestBody?: {
2039
+ content: {
2040
+ "application/json": components["schemas"]["SchemaAnnotationPushRequest"];
2041
+ };
2042
+ };
2043
+ responses: {
2044
+ /** @description OK */
2045
+ 200: {
2046
+ headers: {
2047
+ [name: string]: unknown;
2048
+ };
2049
+ content: {
2050
+ "application/json": components["schemas"]["SchemaAnnotationPushResponse"];
2051
+ };
2052
+ };
2053
+ };
2054
+ };
2055
+ getAnnotationManifest: {
2056
+ parameters: {
2057
+ query?: never;
2058
+ header?: never;
2059
+ path?: never;
2060
+ cookie?: never;
2061
+ };
2062
+ requestBody?: never;
2063
+ responses: {
2064
+ /** @description OK */
2065
+ 200: {
2066
+ headers: {
2067
+ [name: string]: unknown;
2068
+ };
2069
+ content: {
2070
+ "application/json": components["schemas"]["SchemaAnnotationManifestResponse"];
2071
+ };
2072
+ };
2073
+ };
2074
+ };
2075
+ cliExchangeCode: {
2076
+ parameters: {
2077
+ query?: never;
2078
+ header?: never;
2079
+ path?: never;
2080
+ cookie?: never;
2081
+ };
2082
+ requestBody?: {
2083
+ content: {
2084
+ "application/json": components["schemas"]["SchemaExchangeCodeRequest"];
2085
+ };
2086
+ };
2087
+ responses: {
2088
+ /** @description OK */
2089
+ 200: {
2090
+ headers: {
2091
+ [name: string]: unknown;
2092
+ };
2093
+ content: {
2094
+ "application/json": components["schemas"]["SchemaExchangeCodeResponse"];
2095
+ };
2096
+ };
2097
+ };
2098
+ };
2099
+ cliLogin: {
2100
+ parameters: {
2101
+ query?: {
2102
+ /** @description Local callback server port */
2103
+ port?: number;
2104
+ /** @description OAuth state parameter for CSRF protection */
2105
+ state?: string;
2106
+ };
2107
+ header?: never;
2108
+ path?: never;
2109
+ cookie?: never;
2110
+ };
2111
+ requestBody?: never;
2112
+ responses: {
2113
+ /** @description No Content */
2114
+ 204: {
2115
+ headers: {
2116
+ [name: string]: unknown;
2117
+ };
2118
+ content?: never;
2119
+ };
2120
+ };
2121
+ };
2122
+ getAuthenticatedVillageUser: {
2123
+ parameters: {
2124
+ query?: never;
2125
+ header?: never;
2126
+ path?: never;
2127
+ cookie?: never;
2128
+ };
2129
+ requestBody?: never;
2130
+ responses: {
2131
+ /** @description OK */
2132
+ 200: {
2133
+ headers: {
2134
+ [name: string]: unknown;
2135
+ };
2136
+ content: {
2137
+ "application/json": components["schemas"]["SchemaVillageUser"];
2138
+ };
2139
+ };
2140
+ /** @description Unauthorized */
2141
+ 401: {
2142
+ headers: {
2143
+ [name: string]: unknown;
2144
+ };
2145
+ content: {
2146
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2147
+ };
2148
+ };
2149
+ /** @description Internal Server Error */
2150
+ 500: {
2151
+ headers: {
2152
+ [name: string]: unknown;
2153
+ };
2154
+ content: {
2155
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2156
+ };
2157
+ };
2158
+ };
2159
+ };
2160
+ listAuthenticatedVillageOrganizations: {
2161
+ parameters: {
2162
+ query?: never;
2163
+ header?: never;
2164
+ path?: never;
2165
+ cookie?: never;
2166
+ };
2167
+ requestBody?: never;
2168
+ responses: {
2169
+ /** @description OK */
2170
+ 200: {
2171
+ headers: {
2172
+ [name: string]: unknown;
2173
+ };
2174
+ content: {
2175
+ "application/json": null | components["schemas"]["SchemaVillageMetadataUserOrganization"][];
2176
+ };
2177
+ };
2178
+ /** @description Unauthorized */
2179
+ 401: {
2180
+ headers: {
2181
+ [name: string]: unknown;
2182
+ };
2183
+ content: {
2184
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2185
+ };
2186
+ };
2187
+ /** @description Internal Server Error */
2188
+ 500: {
2189
+ headers: {
2190
+ [name: string]: unknown;
2191
+ };
2192
+ content: {
2193
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2194
+ };
2195
+ };
2196
+ };
2197
+ };
2198
+ listGroups: {
2199
+ parameters: {
2200
+ query?: never;
2201
+ header?: never;
2202
+ path?: never;
2203
+ cookie?: never;
2204
+ };
2205
+ requestBody?: never;
2206
+ responses: {
2207
+ /** @description OK */
2208
+ 200: {
2209
+ headers: {
2210
+ [name: string]: unknown;
2211
+ };
2212
+ content: {
2213
+ "application/json": null | components["schemas"]["SchemaVillageUserCollective"][];
2214
+ };
2215
+ };
2216
+ /** @description Unauthorized */
2217
+ 401: {
2218
+ headers: {
2219
+ [name: string]: unknown;
2220
+ };
2221
+ content: {
2222
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2223
+ };
2224
+ };
2225
+ /** @description Internal Server Error */
2226
+ 500: {
2227
+ headers: {
2228
+ [name: string]: unknown;
2229
+ };
2230
+ content: {
2231
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2232
+ };
2233
+ };
2234
+ };
2235
+ };
2236
+ createGroup: {
2237
+ parameters: {
2238
+ query?: never;
2239
+ header?: never;
2240
+ path?: never;
2241
+ cookie?: never;
2242
+ };
2243
+ requestBody: {
2244
+ content: {
2245
+ "application/json": components["schemas"]["SchemaVillageCreateCollectiveRequest"];
2246
+ };
2247
+ };
2248
+ responses: {
2249
+ /** @description Created */
2250
+ 201: {
2251
+ headers: {
2252
+ [name: string]: unknown;
2253
+ };
2254
+ content: {
2255
+ "application/json": components["schemas"]["SchemaVillageCollective"];
2256
+ };
2257
+ };
2258
+ /** @description Bad Request */
2259
+ 400: {
2260
+ headers: {
2261
+ [name: string]: unknown;
2262
+ };
2263
+ content: {
2264
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2265
+ };
2266
+ };
2267
+ /** @description Unauthorized */
2268
+ 401: {
2269
+ headers: {
2270
+ [name: string]: unknown;
2271
+ };
2272
+ content: {
2273
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2274
+ };
2275
+ };
2276
+ /** @description Internal Server Error */
2277
+ 500: {
2278
+ headers: {
2279
+ [name: string]: unknown;
2280
+ };
2281
+ content: {
2282
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2283
+ };
2284
+ };
2285
+ };
2286
+ };
2287
+ listPublicGroups: {
2288
+ parameters: {
2289
+ query?: never;
2290
+ header?: never;
2291
+ path?: never;
2292
+ cookie?: never;
2293
+ };
2294
+ requestBody?: never;
2295
+ responses: {
2296
+ /** @description OK */
2297
+ 200: {
2298
+ headers: {
2299
+ [name: string]: unknown;
2300
+ };
2301
+ content: {
2302
+ "application/json": null | components["schemas"]["SchemaVillagePublicCollective"][];
2303
+ };
2304
+ };
2305
+ /** @description Internal Server Error */
2306
+ 500: {
2307
+ headers: {
2308
+ [name: string]: unknown;
2309
+ };
2310
+ content: {
2311
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2312
+ };
2313
+ };
2314
+ };
2315
+ };
2316
+ searchCollectives: {
2317
+ parameters: {
2318
+ query?: {
2319
+ q?: string;
2320
+ limit?: number;
2321
+ };
2322
+ header?: never;
2323
+ path?: never;
2324
+ cookie?: never;
2325
+ };
2326
+ requestBody?: never;
2327
+ responses: {
2328
+ /** @description OK */
2329
+ 200: {
2330
+ headers: {
2331
+ [name: string]: unknown;
2332
+ };
2333
+ content: {
2334
+ "application/json": components["schemas"]["SchemaVillageCollectiveSearchResponse"];
2335
+ };
2336
+ };
2337
+ /** @description Internal Server Error */
2338
+ 500: {
2339
+ headers: {
2340
+ [name: string]: unknown;
2341
+ };
2342
+ content: {
2343
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2344
+ };
2345
+ };
2346
+ };
2347
+ };
2348
+ listVisibleGroups: {
2349
+ parameters: {
2350
+ query?: never;
2351
+ header?: never;
2352
+ path?: never;
2353
+ cookie?: never;
2354
+ };
2355
+ requestBody?: never;
2356
+ responses: {
2357
+ /** @description OK */
2358
+ 200: {
2359
+ headers: {
2360
+ [name: string]: unknown;
2361
+ };
2362
+ content: {
2363
+ "application/json": null | components["schemas"]["SchemaVillageVisibleCollective"][];
2364
+ };
2365
+ };
2366
+ /** @description Unauthorized */
2367
+ 401: {
2368
+ headers: {
2369
+ [name: string]: unknown;
2370
+ };
2371
+ content: {
2372
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2373
+ };
2374
+ };
2375
+ /** @description Internal Server Error */
2376
+ 500: {
2377
+ headers: {
2378
+ [name: string]: unknown;
2379
+ };
2380
+ content: {
2381
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2382
+ };
2383
+ };
2384
+ };
2385
+ };
2386
+ getGroup: {
2387
+ parameters: {
2388
+ query?: {
2389
+ limit?: number;
2390
+ offset?: number;
2391
+ /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
2392
+ view?: components["schemas"]["OpenapiVillageGroupedView"];
2393
+ };
2394
+ header?: never;
2395
+ path: {
2396
+ /** @description Collective identifier */
2397
+ id: components["schemas"]["SchemaVillageUUID"];
2398
+ };
2399
+ cookie?: never;
2400
+ };
2401
+ requestBody?: never;
2402
+ responses: {
2403
+ /** @description OK */
2404
+ 200: {
2405
+ headers: {
2406
+ [name: string]: unknown;
2407
+ };
2408
+ content: {
2409
+ "application/json": components["schemas"]["SchemaVillageCollectiveDetailResponse"] | components["schemas"]["SchemaVillageGroupedCollectiveDetailResponse"];
2410
+ };
2411
+ };
2412
+ /** @description Bad Request */
2413
+ 400: {
2414
+ headers: {
2415
+ [name: string]: unknown;
2416
+ };
2417
+ content: {
2418
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2419
+ };
2420
+ };
2421
+ /** @description Not Found */
2422
+ 404: {
2423
+ headers: {
2424
+ [name: string]: unknown;
2425
+ };
2426
+ content: {
2427
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2428
+ };
2429
+ };
2430
+ };
2431
+ };
2432
+ deleteGroup: {
2433
+ parameters: {
2434
+ query?: never;
2435
+ header?: never;
2436
+ path: {
2437
+ /** @description Collective identifier */
2438
+ id: components["schemas"]["SchemaVillageUUID"];
2439
+ };
2440
+ cookie?: never;
2441
+ };
2442
+ requestBody?: never;
2443
+ responses: {
2444
+ /** @description OK */
2445
+ 200: {
2446
+ headers: {
2447
+ [name: string]: unknown;
2448
+ };
2449
+ content: {
2450
+ "application/json": components["schemas"]["SchemaVillageStatusResponse"];
2451
+ };
2452
+ };
2453
+ /** @description Bad Request */
2454
+ 400: {
2455
+ headers: {
2456
+ [name: string]: unknown;
2457
+ };
2458
+ content: {
2459
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2460
+ };
2461
+ };
2462
+ /** @description Unauthorized */
2463
+ 401: {
2464
+ headers: {
2465
+ [name: string]: unknown;
2466
+ };
2467
+ content: {
2468
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2469
+ };
2470
+ };
2471
+ /** @description Forbidden */
2472
+ 403: {
2473
+ headers: {
2474
+ [name: string]: unknown;
2475
+ };
2476
+ content: {
2477
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2478
+ };
2479
+ };
2480
+ /** @description Internal Server Error */
2481
+ 500: {
2482
+ headers: {
2483
+ [name: string]: unknown;
2484
+ };
2485
+ content: {
2486
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2487
+ };
2488
+ };
2489
+ };
2490
+ };
2491
+ updateGroup: {
2492
+ parameters: {
2493
+ query?: never;
2494
+ header?: never;
2495
+ path: {
2496
+ /** @description Collective identifier */
2497
+ id: components["schemas"]["SchemaVillageUUID"];
2498
+ };
2499
+ cookie?: never;
2500
+ };
2501
+ requestBody: {
2502
+ content: {
2503
+ "application/json": components["schemas"]["SchemaVillageUpdateCollectiveRequest"];
2504
+ };
2505
+ };
2506
+ responses: {
2507
+ /** @description OK */
2508
+ 200: {
2509
+ headers: {
2510
+ [name: string]: unknown;
2511
+ };
2512
+ content: {
2513
+ "application/json": components["schemas"]["SchemaVillageCollective"];
2514
+ };
2515
+ };
2516
+ /** @description Bad Request */
2517
+ 400: {
2518
+ headers: {
2519
+ [name: string]: unknown;
2520
+ };
2521
+ content: {
2522
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2523
+ };
2524
+ };
2525
+ /** @description Unauthorized */
2526
+ 401: {
2527
+ headers: {
2528
+ [name: string]: unknown;
2529
+ };
2530
+ content: {
2531
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2532
+ };
2533
+ };
2534
+ /** @description Forbidden */
2535
+ 403: {
2536
+ headers: {
2537
+ [name: string]: unknown;
2538
+ };
2539
+ content: {
2540
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2541
+ };
2542
+ };
2543
+ /** @description Not Found */
2544
+ 404: {
2545
+ headers: {
2546
+ [name: string]: unknown;
2547
+ };
2548
+ content: {
2549
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2550
+ };
2551
+ };
2552
+ /** @description Internal Server Error */
2553
+ 500: {
2554
+ headers: {
2555
+ [name: string]: unknown;
2556
+ };
2557
+ content: {
2558
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2559
+ };
2560
+ };
2561
+ };
2562
+ };
2563
+ listContributableTranscripts: {
2564
+ parameters: {
2565
+ query?: {
2566
+ /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
2567
+ view?: components["schemas"]["OpenapiVillageGroupedView"];
2568
+ };
2569
+ header?: never;
2570
+ path: {
2571
+ /** @description Collective identifier */
2572
+ id: components["schemas"]["SchemaVillageUUID"];
2573
+ };
2574
+ cookie?: never;
2575
+ };
2576
+ requestBody?: never;
2577
+ responses: {
2578
+ /** @description OK */
2579
+ 200: {
2580
+ headers: {
2581
+ [name: string]: unknown;
2582
+ };
2583
+ content: {
2584
+ "application/json": components["schemas"]["SchemaVillageContributableResponse"] | components["schemas"]["SchemaVillageGroupedContributableResponse"];
2585
+ };
2586
+ };
2587
+ /** @description Bad Request */
2588
+ 400: {
2589
+ headers: {
2590
+ [name: string]: unknown;
2591
+ };
2592
+ content: {
2593
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2594
+ };
2595
+ };
2596
+ /** @description Unauthorized */
2597
+ 401: {
2598
+ headers: {
2599
+ [name: string]: unknown;
2600
+ };
2601
+ content: {
2602
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2603
+ };
2604
+ };
2605
+ /** @description Forbidden */
2606
+ 403: {
2607
+ headers: {
2608
+ [name: string]: unknown;
2609
+ };
2610
+ content: {
2611
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2612
+ };
2613
+ };
2614
+ /** @description Request Entity Too Large */
2615
+ 413: {
2616
+ headers: {
2617
+ [name: string]: unknown;
2618
+ };
2619
+ content: {
2620
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2621
+ };
2622
+ };
2623
+ /** @description Internal Server Error */
2624
+ 500: {
2625
+ headers: {
2626
+ [name: string]: unknown;
2627
+ };
2628
+ content: {
2629
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2630
+ };
2631
+ };
2632
+ };
2633
+ };
2634
+ joinGroup: {
2635
+ parameters: {
2636
+ query?: never;
2637
+ header?: never;
2638
+ path: {
2639
+ /** @description Collective identifier */
2640
+ id: components["schemas"]["SchemaVillageUUID"];
2641
+ };
2642
+ cookie?: never;
2643
+ };
2644
+ requestBody?: never;
2645
+ responses: {
2646
+ /** @description OK */
2647
+ 200: {
2648
+ headers: {
2649
+ [name: string]: unknown;
2650
+ };
2651
+ content: {
2652
+ "application/json": components["schemas"]["SchemaVillageCollectiveStatusRoleResponse"];
2653
+ };
2654
+ };
2655
+ /** @description Bad Request */
2656
+ 400: {
2657
+ headers: {
2658
+ [name: string]: unknown;
2659
+ };
2660
+ content: {
2661
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2662
+ };
2663
+ };
2664
+ /** @description Unauthorized */
2665
+ 401: {
2666
+ headers: {
2667
+ [name: string]: unknown;
2668
+ };
2669
+ content: {
2670
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2671
+ };
2672
+ };
2673
+ /** @description Forbidden */
2674
+ 403: {
2675
+ headers: {
2676
+ [name: string]: unknown;
2677
+ };
2678
+ content: {
2679
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2680
+ };
2681
+ };
2682
+ /** @description Not Found */
2683
+ 404: {
2684
+ headers: {
2685
+ [name: string]: unknown;
2686
+ };
2687
+ content: {
2688
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2689
+ };
2690
+ };
2691
+ /** @description Conflict */
2692
+ 409: {
2693
+ headers: {
2694
+ [name: string]: unknown;
2695
+ };
2696
+ content: {
2697
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2698
+ };
2699
+ };
2700
+ /** @description Internal Server Error */
2701
+ 500: {
2702
+ headers: {
2703
+ [name: string]: unknown;
2704
+ };
2705
+ content: {
2706
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2707
+ };
2708
+ };
2709
+ };
2710
+ };
2711
+ addGroupMember: {
2712
+ parameters: {
2713
+ query?: never;
2714
+ header?: never;
2715
+ path: {
2716
+ /** @description Collective identifier */
2717
+ id: components["schemas"]["SchemaVillageUUID"];
2718
+ };
2719
+ cookie?: never;
2720
+ };
2721
+ requestBody: {
2722
+ content: {
2723
+ "application/json": components["schemas"]["SchemaVillageCollectiveMemberUsernameRequest"];
2724
+ };
2725
+ };
2726
+ responses: {
2727
+ /** @description OK */
2728
+ 200: {
2729
+ headers: {
2730
+ [name: string]: unknown;
2731
+ };
2732
+ content: {
2733
+ "application/json": components["schemas"]["SchemaVillageStatusResponse"];
2734
+ };
2735
+ };
2736
+ /** @description Bad Request */
2737
+ 400: {
2738
+ headers: {
2739
+ [name: string]: unknown;
2740
+ };
2741
+ content: {
2742
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2743
+ };
2744
+ };
2745
+ /** @description Unauthorized */
2746
+ 401: {
2747
+ headers: {
2748
+ [name: string]: unknown;
2749
+ };
2750
+ content: {
2751
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2752
+ };
2753
+ };
2754
+ /** @description Forbidden */
2755
+ 403: {
2756
+ headers: {
2757
+ [name: string]: unknown;
2758
+ };
2759
+ content: {
2760
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2761
+ };
2762
+ };
2763
+ /** @description Not Found */
2764
+ 404: {
2765
+ headers: {
2766
+ [name: string]: unknown;
2767
+ };
2768
+ content: {
2769
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2770
+ };
2771
+ };
2772
+ /** @description Internal Server Error */
2773
+ 500: {
2774
+ headers: {
2775
+ [name: string]: unknown;
2776
+ };
2777
+ content: {
2778
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2779
+ };
2780
+ };
2781
+ };
2782
+ };
2783
+ removeGroupMember: {
2784
+ parameters: {
2785
+ query?: {
2786
+ retract?: boolean;
2787
+ };
2788
+ header?: never;
2789
+ path: {
2790
+ /** @description Collective identifier */
2791
+ id: components["schemas"]["SchemaVillageUUID"];
2792
+ /** @description Member user identifier */
2793
+ userID: components["schemas"]["SchemaVillageUUID"];
2794
+ };
2795
+ cookie?: never;
2796
+ };
2797
+ requestBody?: never;
2798
+ responses: {
2799
+ /** @description OK */
2800
+ 200: {
2801
+ headers: {
2802
+ [name: string]: unknown;
2803
+ };
2804
+ content: {
2805
+ "application/json": components["schemas"]["SchemaVillageRemoveCollectiveMemberResponse"];
2806
+ };
2807
+ };
2808
+ /** @description Bad Request */
2809
+ 400: {
2810
+ headers: {
2811
+ [name: string]: unknown;
2812
+ };
2813
+ content: {
2814
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2815
+ };
2816
+ };
2817
+ /** @description Unauthorized */
2818
+ 401: {
2819
+ headers: {
2820
+ [name: string]: unknown;
2821
+ };
2822
+ content: {
2823
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2824
+ };
2825
+ };
2826
+ /** @description Forbidden */
2827
+ 403: {
2828
+ headers: {
2829
+ [name: string]: unknown;
2830
+ };
2831
+ content: {
2832
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2833
+ };
2834
+ };
2835
+ /** @description Internal Server Error */
2836
+ 500: {
2837
+ headers: {
2838
+ [name: string]: unknown;
2839
+ };
2840
+ content: {
2841
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2842
+ };
2843
+ };
2844
+ };
2845
+ };
2846
+ updateGroupMemberRole: {
2847
+ parameters: {
2848
+ query?: never;
2849
+ header?: never;
2850
+ path: {
2851
+ /** @description Collective identifier */
2852
+ id: components["schemas"]["SchemaVillageUUID"];
2853
+ /** @description Member user identifier */
2854
+ userID: components["schemas"]["SchemaVillageUUID"];
2855
+ };
2856
+ cookie?: never;
2857
+ };
2858
+ requestBody: {
2859
+ content: {
2860
+ "application/json": components["schemas"]["SchemaVillageCollectiveMemberRoleRequest"];
2861
+ };
2862
+ };
2863
+ responses: {
2864
+ /** @description OK */
2865
+ 200: {
2866
+ headers: {
2867
+ [name: string]: unknown;
2868
+ };
2869
+ content: {
2870
+ "application/json": components["schemas"]["SchemaVillageCollectiveStatusRoleResponse"];
2871
+ };
2872
+ };
2873
+ /** @description Bad Request */
2874
+ 400: {
2875
+ headers: {
2876
+ [name: string]: unknown;
2877
+ };
2878
+ content: {
2879
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2880
+ };
2881
+ };
2882
+ /** @description Unauthorized */
2883
+ 401: {
2884
+ headers: {
2885
+ [name: string]: unknown;
2886
+ };
2887
+ content: {
2888
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2889
+ };
2890
+ };
2891
+ /** @description Forbidden */
2892
+ 403: {
2893
+ headers: {
2894
+ [name: string]: unknown;
2895
+ };
2896
+ content: {
2897
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2898
+ };
2899
+ };
2900
+ /** @description Not Found */
2901
+ 404: {
2902
+ headers: {
2903
+ [name: string]: unknown;
2904
+ };
2905
+ content: {
2906
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2907
+ };
2908
+ };
2909
+ /** @description Internal Server Error */
2910
+ 500: {
2911
+ headers: {
2912
+ [name: string]: unknown;
2913
+ };
2914
+ content: {
2915
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2916
+ };
2917
+ };
2918
+ };
2919
+ };
2920
+ listMyGroupShares: {
2921
+ parameters: {
2922
+ query?: {
2923
+ /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
2924
+ view?: components["schemas"]["OpenapiVillageGroupedView"];
2925
+ };
2926
+ header?: never;
2927
+ path: {
2928
+ /** @description Collective identifier */
2929
+ id: components["schemas"]["SchemaVillageUUID"];
2930
+ };
2931
+ cookie?: never;
2932
+ };
2933
+ requestBody?: never;
2934
+ responses: {
2935
+ /** @description OK */
2936
+ 200: {
2937
+ headers: {
2938
+ [name: string]: unknown;
2939
+ };
2940
+ content: {
2941
+ "application/json": components["schemas"]["SchemaVillageUserCollectiveShare"][] | components["schemas"]["SchemaVillageSessionListPayload"];
2942
+ };
2943
+ };
2944
+ /** @description Bad Request */
2945
+ 400: {
2946
+ headers: {
2947
+ [name: string]: unknown;
2948
+ };
2949
+ content: {
2950
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2951
+ };
2952
+ };
2953
+ /** @description Unauthorized */
2954
+ 401: {
2955
+ headers: {
2956
+ [name: string]: unknown;
2957
+ };
2958
+ content: {
2959
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2960
+ };
2961
+ };
2962
+ /** @description Internal Server Error */
2963
+ 500: {
2964
+ headers: {
2965
+ [name: string]: unknown;
2966
+ };
2967
+ content: {
2968
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2969
+ };
2970
+ };
2971
+ };
2972
+ };
2973
+ listPendingShares: {
2974
+ parameters: {
2975
+ query?: {
2976
+ /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
2977
+ view?: components["schemas"]["OpenapiVillageGroupedView"];
2978
+ };
2979
+ header?: never;
2980
+ path: {
2981
+ /** @description Collective identifier */
2982
+ id: components["schemas"]["SchemaVillageUUID"];
2983
+ };
2984
+ cookie?: never;
2985
+ };
2986
+ requestBody?: never;
2987
+ responses: {
2988
+ /** @description OK */
2989
+ 200: {
2990
+ headers: {
2991
+ [name: string]: unknown;
2992
+ };
2993
+ content: {
2994
+ "application/json": components["schemas"]["SchemaVillagePendingShare"][] | components["schemas"]["SchemaVillageSessionListPayload"];
2995
+ };
2996
+ };
2997
+ /** @description Bad Request */
2998
+ 400: {
2999
+ headers: {
3000
+ [name: string]: unknown;
3001
+ };
3002
+ content: {
3003
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3004
+ };
3005
+ };
3006
+ /** @description Unauthorized */
3007
+ 401: {
3008
+ headers: {
3009
+ [name: string]: unknown;
3010
+ };
3011
+ content: {
3012
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3013
+ };
3014
+ };
3015
+ /** @description Forbidden */
3016
+ 403: {
3017
+ headers: {
3018
+ [name: string]: unknown;
3019
+ };
3020
+ content: {
3021
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3022
+ };
3023
+ };
3024
+ /** @description Internal Server Error */
3025
+ 500: {
3026
+ headers: {
3027
+ [name: string]: unknown;
3028
+ };
3029
+ content: {
3030
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3031
+ };
3032
+ };
3033
+ };
3034
+ };
3035
+ listGroupRepositories: {
3036
+ parameters: {
3037
+ query?: never;
3038
+ header?: never;
3039
+ path: {
3040
+ /** @description Collective identifier */
3041
+ id: components["schemas"]["SchemaVillageUUID"];
3042
+ };
3043
+ cookie?: never;
3044
+ };
3045
+ requestBody?: never;
3046
+ responses: {
3047
+ /** @description OK */
3048
+ 200: {
3049
+ headers: {
3050
+ [name: string]: unknown;
3051
+ };
3052
+ content: {
3053
+ "application/json": components["schemas"]["SchemaVillageLinkedRepositoriesResponse"];
3054
+ };
3055
+ };
3056
+ /** @description Bad Request */
3057
+ 400: {
3058
+ headers: {
3059
+ [name: string]: unknown;
3060
+ };
3061
+ content: {
3062
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3063
+ };
3064
+ };
3065
+ /** @description Unauthorized */
3066
+ 401: {
3067
+ headers: {
3068
+ [name: string]: unknown;
3069
+ };
3070
+ content: {
3071
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3072
+ };
3073
+ };
3074
+ /** @description Forbidden */
3075
+ 403: {
3076
+ headers: {
3077
+ [name: string]: unknown;
3078
+ };
3079
+ content: {
3080
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3081
+ };
3082
+ };
3083
+ /** @description Internal Server Error */
3084
+ 500: {
3085
+ headers: {
3086
+ [name: string]: unknown;
3087
+ };
3088
+ content: {
3089
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3090
+ };
3091
+ };
3092
+ };
3093
+ };
3094
+ linkGroupRepository: {
3095
+ parameters: {
3096
+ query?: never;
3097
+ header?: never;
3098
+ path: {
3099
+ /** @description Collective identifier */
3100
+ id: components["schemas"]["SchemaVillageUUID"];
3101
+ };
3102
+ cookie?: never;
3103
+ };
3104
+ requestBody: {
3105
+ content: {
3106
+ "application/json": components["schemas"]["SchemaVillageLinkRepositoryRequest"];
3107
+ };
3108
+ };
3109
+ responses: {
3110
+ /** @description Created */
3111
+ 201: {
3112
+ headers: {
3113
+ [name: string]: unknown;
3114
+ };
3115
+ content: {
3116
+ "application/json": components["schemas"]["SchemaVillageLinkedRepository"];
3117
+ };
3118
+ };
3119
+ /** @description Bad Request */
3120
+ 400: {
3121
+ headers: {
3122
+ [name: string]: unknown;
3123
+ };
3124
+ content: {
3125
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3126
+ };
3127
+ };
3128
+ /** @description Unauthorized */
3129
+ 401: {
3130
+ headers: {
3131
+ [name: string]: unknown;
3132
+ };
3133
+ content: {
3134
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3135
+ };
3136
+ };
3137
+ /** @description Forbidden */
3138
+ 403: {
3139
+ headers: {
3140
+ [name: string]: unknown;
3141
+ };
3142
+ content: {
3143
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3144
+ };
3145
+ };
3146
+ /** @description Internal Server Error */
3147
+ 500: {
3148
+ headers: {
3149
+ [name: string]: unknown;
3150
+ };
3151
+ content: {
3152
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3153
+ };
3154
+ };
3155
+ /** @description Not Implemented */
3156
+ 501: {
3157
+ headers: {
3158
+ [name: string]: unknown;
3159
+ };
3160
+ content: {
3161
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3162
+ };
3163
+ };
3164
+ };
3165
+ };
3166
+ listAvailableGroupRepositories: {
3167
+ parameters: {
3168
+ query?: never;
3169
+ header?: never;
3170
+ path: {
3171
+ /** @description Collective identifier */
3172
+ id: components["schemas"]["SchemaVillageUUID"];
3173
+ };
3174
+ cookie?: never;
3175
+ };
3176
+ requestBody?: never;
3177
+ responses: {
3178
+ /** @description OK */
3179
+ 200: {
3180
+ headers: {
3181
+ [name: string]: unknown;
3182
+ };
3183
+ content: {
3184
+ "application/json": components["schemas"]["SchemaVillageAvailableRepositoriesResponse"];
3185
+ };
3186
+ };
3187
+ /** @description Bad Request */
3188
+ 400: {
3189
+ headers: {
3190
+ [name: string]: unknown;
3191
+ };
3192
+ content: {
3193
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3194
+ };
3195
+ };
3196
+ /** @description Unauthorized */
3197
+ 401: {
3198
+ headers: {
3199
+ [name: string]: unknown;
3200
+ };
3201
+ content: {
3202
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3203
+ };
3204
+ };
3205
+ /** @description Forbidden */
3206
+ 403: {
3207
+ headers: {
3208
+ [name: string]: unknown;
3209
+ };
3210
+ content: {
3211
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3212
+ };
3213
+ };
3214
+ /** @description Internal Server Error */
3215
+ 500: {
3216
+ headers: {
3217
+ [name: string]: unknown;
3218
+ };
3219
+ content: {
3220
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3221
+ };
3222
+ };
3223
+ /** @description Not Implemented */
3224
+ 501: {
3225
+ headers: {
3226
+ [name: string]: unknown;
3227
+ };
3228
+ content: {
3229
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3230
+ };
3231
+ };
3232
+ };
3233
+ };
3234
+ unlinkGroupRepository: {
3235
+ parameters: {
3236
+ query?: never;
3237
+ header?: never;
3238
+ path: {
3239
+ /** @description Collective identifier */
3240
+ id: components["schemas"]["SchemaVillageUUID"];
3241
+ /** @description Repository owner login */
3242
+ owner: string;
3243
+ /** @description Repository name */
3244
+ name: string;
3245
+ };
3246
+ cookie?: never;
3247
+ };
3248
+ requestBody?: never;
3249
+ responses: {
3250
+ /** @description OK */
3251
+ 200: {
3252
+ headers: {
3253
+ [name: string]: unknown;
3254
+ };
3255
+ content: {
3256
+ "application/json": components["schemas"]["SchemaVillageStatusResponse"];
3257
+ };
3258
+ };
3259
+ /** @description Bad Request */
3260
+ 400: {
3261
+ headers: {
3262
+ [name: string]: unknown;
3263
+ };
3264
+ content: {
3265
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3266
+ };
3267
+ };
3268
+ /** @description Unauthorized */
3269
+ 401: {
3270
+ headers: {
3271
+ [name: string]: unknown;
3272
+ };
3273
+ content: {
3274
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3275
+ };
3276
+ };
3277
+ /** @description Forbidden */
3278
+ 403: {
3279
+ headers: {
3280
+ [name: string]: unknown;
3281
+ };
3282
+ content: {
3283
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3284
+ };
3285
+ };
3286
+ /** @description Not Found */
3287
+ 404: {
3288
+ headers: {
3289
+ [name: string]: unknown;
3290
+ };
3291
+ content: {
3292
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3293
+ };
3294
+ };
3295
+ /** @description Internal Server Error */
3296
+ 500: {
3297
+ headers: {
3298
+ [name: string]: unknown;
3299
+ };
3300
+ content: {
3301
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3302
+ };
3303
+ };
3304
+ };
3305
+ };
3306
+ listGroupRepositoryCommits: {
3307
+ parameters: {
3308
+ query?: {
3309
+ refresh?: boolean;
3310
+ };
3311
+ header?: never;
3312
+ path: {
3313
+ /** @description Collective identifier */
3314
+ id: components["schemas"]["SchemaVillageUUID"];
3315
+ /** @description Repository owner login */
3316
+ owner: string;
3317
+ /** @description Repository name */
3318
+ name: string;
3319
+ };
3320
+ cookie?: never;
3321
+ };
3322
+ requestBody?: never;
3323
+ responses: {
3324
+ /** @description OK */
3325
+ 200: {
3326
+ headers: {
3327
+ [name: string]: unknown;
3328
+ };
3329
+ content: {
3330
+ "application/json": components["schemas"]["SchemaVillageRepositoryCommitsResponse"];
3331
+ };
3332
+ };
3333
+ /** @description Bad Request */
3334
+ 400: {
3335
+ headers: {
3336
+ [name: string]: unknown;
3337
+ };
3338
+ content: {
3339
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3340
+ };
3341
+ };
3342
+ /** @description Unauthorized */
3343
+ 401: {
3344
+ headers: {
3345
+ [name: string]: unknown;
3346
+ };
3347
+ content: {
3348
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3349
+ };
3350
+ };
3351
+ /** @description Forbidden */
3352
+ 403: {
3353
+ headers: {
3354
+ [name: string]: unknown;
3355
+ };
3356
+ content: {
3357
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3358
+ };
3359
+ };
3360
+ /** @description Not Found */
3361
+ 404: {
3362
+ headers: {
3363
+ [name: string]: unknown;
3364
+ };
3365
+ content: {
3366
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3367
+ };
3368
+ };
3369
+ /** @description Internal Server Error */
3370
+ 500: {
3371
+ headers: {
3372
+ [name: string]: unknown;
3373
+ };
3374
+ content: {
3375
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3376
+ };
3377
+ };
3378
+ /** @description Not Implemented */
3379
+ 501: {
3380
+ headers: {
3381
+ [name: string]: unknown;
3382
+ };
3383
+ content: {
3384
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3385
+ };
3386
+ };
3387
+ /** @description Bad Gateway */
3388
+ 502: {
3389
+ headers: {
3390
+ [name: string]: unknown;
3391
+ };
3392
+ content: {
3393
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3394
+ };
3395
+ };
3396
+ };
3397
+ };
3398
+ batchShareProject: {
3399
+ parameters: {
3400
+ query?: never;
3401
+ header?: never;
3402
+ path: {
3403
+ /** @description Collective identifier */
3404
+ id: components["schemas"]["SchemaVillageUUID"];
3405
+ };
3406
+ cookie?: never;
3407
+ };
3408
+ requestBody: {
3409
+ content: {
3410
+ "application/json": components["schemas"]["SchemaVillageBatchShareRequest"];
3411
+ };
3412
+ };
3413
+ responses: {
3414
+ /** @description OK */
3415
+ 200: {
3416
+ headers: {
3417
+ [name: string]: unknown;
3418
+ };
3419
+ content: {
3420
+ "application/json": components["schemas"]["SchemaVillageBatchShareResponse"];
3421
+ };
3422
+ };
3423
+ /** @description Bad Request */
3424
+ 400: {
3425
+ headers: {
3426
+ [name: string]: unknown;
3427
+ };
3428
+ content: {
3429
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3430
+ };
3431
+ };
3432
+ /** @description Unauthorized */
3433
+ 401: {
3434
+ headers: {
3435
+ [name: string]: unknown;
3436
+ };
3437
+ content: {
3438
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3439
+ };
3440
+ };
3441
+ /** @description Forbidden */
3442
+ 403: {
3443
+ headers: {
3444
+ [name: string]: unknown;
3445
+ };
3446
+ content: {
3447
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3448
+ };
3449
+ };
3450
+ /** @description Not Found */
3451
+ 404: {
3452
+ headers: {
3453
+ [name: string]: unknown;
3454
+ };
3455
+ content: {
3456
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3457
+ };
3458
+ };
3459
+ /** @description Conflict */
3460
+ 409: {
3461
+ headers: {
3462
+ [name: string]: unknown;
3463
+ };
3464
+ content: {
3465
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3466
+ };
3467
+ };
3468
+ /** @description Unprocessable Entity */
3469
+ 422: {
3470
+ headers: {
3471
+ [name: string]: unknown;
3472
+ };
3473
+ content: {
3474
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3475
+ };
3476
+ };
3477
+ /** @description Internal Server Error */
3478
+ 500: {
3479
+ headers: {
3480
+ [name: string]: unknown;
3481
+ };
3482
+ content: {
3483
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3484
+ };
3485
+ };
3486
+ };
3487
+ };
3488
+ batchReviewShares: {
1574
3489
  parameters: {
1575
3490
  query?: never;
1576
3491
  header?: never;
1577
- path?: never;
3492
+ path: {
3493
+ /** @description Collective identifier */
3494
+ id: components["schemas"]["SchemaVillageUUID"];
3495
+ };
1578
3496
  cookie?: never;
1579
3497
  };
1580
- requestBody?: {
3498
+ requestBody: {
1581
3499
  content: {
1582
- "application/json": components["schemas"]["SchemaAnnotationPushRequest"];
3500
+ "application/json": components["schemas"]["SchemaVillageBatchReviewRequest"];
1583
3501
  };
1584
3502
  };
1585
3503
  responses: {
@@ -1589,41 +3507,62 @@ export interface operations {
1589
3507
  [name: string]: unknown;
1590
3508
  };
1591
3509
  content: {
1592
- "application/json": components["schemas"]["SchemaAnnotationPushResponse"];
3510
+ "application/json": components["schemas"]["SchemaVillageBatchReviewResponse"];
1593
3511
  };
1594
3512
  };
1595
- };
1596
- };
1597
- getAnnotationManifest: {
1598
- parameters: {
1599
- query?: never;
1600
- header?: never;
1601
- path?: never;
1602
- cookie?: never;
1603
- };
1604
- requestBody?: never;
1605
- responses: {
1606
- /** @description OK */
1607
- 200: {
3513
+ /** @description Bad Request */
3514
+ 400: {
1608
3515
  headers: {
1609
3516
  [name: string]: unknown;
1610
3517
  };
1611
3518
  content: {
1612
- "application/json": components["schemas"]["SchemaAnnotationManifestResponse"];
3519
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3520
+ };
3521
+ };
3522
+ /** @description Unauthorized */
3523
+ 401: {
3524
+ headers: {
3525
+ [name: string]: unknown;
3526
+ };
3527
+ content: {
3528
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3529
+ };
3530
+ };
3531
+ /** @description Forbidden */
3532
+ 403: {
3533
+ headers: {
3534
+ [name: string]: unknown;
3535
+ };
3536
+ content: {
3537
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3538
+ };
3539
+ };
3540
+ /** @description Internal Server Error */
3541
+ 500: {
3542
+ headers: {
3543
+ [name: string]: unknown;
3544
+ };
3545
+ content: {
3546
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
1613
3547
  };
1614
3548
  };
1615
3549
  };
1616
3550
  };
1617
- cliExchangeCode: {
3551
+ reviewShare: {
1618
3552
  parameters: {
1619
3553
  query?: never;
1620
3554
  header?: never;
1621
- path?: never;
3555
+ path: {
3556
+ /** @description Collective identifier */
3557
+ id: components["schemas"]["SchemaVillageUUID"];
3558
+ /** @description Transcript identifier */
3559
+ transcriptID: components["schemas"]["SchemaTranscriptID"];
3560
+ };
1622
3561
  cookie?: never;
1623
3562
  };
1624
- requestBody?: {
3563
+ requestBody: {
1625
3564
  content: {
1626
- "application/json": components["schemas"]["SchemaExchangeCodeRequest"];
3565
+ "application/json": components["schemas"]["SchemaVillageReviewShareRequest"];
1627
3566
  };
1628
3567
  };
1629
3568
  responses: {
@@ -1633,35 +3572,109 @@ export interface operations {
1633
3572
  [name: string]: unknown;
1634
3573
  };
1635
3574
  content: {
1636
- "application/json": components["schemas"]["SchemaExchangeCodeResponse"];
3575
+ "application/json": components["schemas"]["SchemaVillageReviewShareResponse"];
3576
+ };
3577
+ };
3578
+ /** @description Bad Request */
3579
+ 400: {
3580
+ headers: {
3581
+ [name: string]: unknown;
3582
+ };
3583
+ content: {
3584
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3585
+ };
3586
+ };
3587
+ /** @description Unauthorized */
3588
+ 401: {
3589
+ headers: {
3590
+ [name: string]: unknown;
3591
+ };
3592
+ content: {
3593
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3594
+ };
3595
+ };
3596
+ /** @description Forbidden */
3597
+ 403: {
3598
+ headers: {
3599
+ [name: string]: unknown;
3600
+ };
3601
+ content: {
3602
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3603
+ };
3604
+ };
3605
+ /** @description Internal Server Error */
3606
+ 500: {
3607
+ headers: {
3608
+ [name: string]: unknown;
3609
+ };
3610
+ content: {
3611
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
1637
3612
  };
1638
3613
  };
1639
3614
  };
1640
3615
  };
1641
- cliLogin: {
3616
+ removeGroupTranscript: {
1642
3617
  parameters: {
1643
- query?: {
1644
- /** @description Local callback server port */
1645
- port?: number;
1646
- /** @description OAuth state parameter for CSRF protection */
1647
- state?: string;
1648
- };
3618
+ query?: never;
1649
3619
  header?: never;
1650
- path?: never;
3620
+ path: {
3621
+ /** @description Collective identifier */
3622
+ id: components["schemas"]["SchemaVillageUUID"];
3623
+ /** @description Transcript identifier */
3624
+ transcriptID: components["schemas"]["SchemaTranscriptID"];
3625
+ };
1651
3626
  cookie?: never;
1652
3627
  };
1653
3628
  requestBody?: never;
1654
3629
  responses: {
1655
- /** @description No Content */
1656
- 204: {
3630
+ /** @description OK */
3631
+ 200: {
1657
3632
  headers: {
1658
3633
  [name: string]: unknown;
1659
3634
  };
1660
- content?: never;
3635
+ content: {
3636
+ "application/json": components["schemas"]["SchemaVillageStatusResponse"];
3637
+ };
3638
+ };
3639
+ /** @description Bad Request */
3640
+ 400: {
3641
+ headers: {
3642
+ [name: string]: unknown;
3643
+ };
3644
+ content: {
3645
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3646
+ };
3647
+ };
3648
+ /** @description Unauthorized */
3649
+ 401: {
3650
+ headers: {
3651
+ [name: string]: unknown;
3652
+ };
3653
+ content: {
3654
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3655
+ };
3656
+ };
3657
+ /** @description Forbidden */
3658
+ 403: {
3659
+ headers: {
3660
+ [name: string]: unknown;
3661
+ };
3662
+ content: {
3663
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3664
+ };
3665
+ };
3666
+ /** @description Internal Server Error */
3667
+ 500: {
3668
+ headers: {
3669
+ [name: string]: unknown;
3670
+ };
3671
+ content: {
3672
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3673
+ };
1661
3674
  };
1662
3675
  };
1663
3676
  };
1664
- listGroups: {
3677
+ listGroupsDeprecated: {
1665
3678
  parameters: {
1666
3679
  query?: never;
1667
3680
  header?: never;
@@ -1676,7 +3689,7 @@ export interface operations {
1676
3689
  [name: string]: unknown;
1677
3690
  };
1678
3691
  content: {
1679
- "application/json": null | components["schemas"]["SchemaVillageUserGroup"][];
3692
+ "application/json": null | components["schemas"]["SchemaVillageUserCollective"][];
1680
3693
  };
1681
3694
  };
1682
3695
  /** @description Unauthorized */
@@ -1699,7 +3712,7 @@ export interface operations {
1699
3712
  };
1700
3713
  };
1701
3714
  };
1702
- createGroup: {
3715
+ createGroupDeprecated: {
1703
3716
  parameters: {
1704
3717
  query?: never;
1705
3718
  header?: never;
@@ -1708,7 +3721,7 @@ export interface operations {
1708
3721
  };
1709
3722
  requestBody: {
1710
3723
  content: {
1711
- "application/json": components["schemas"]["SchemaVillageCreateGroupRequest"];
3724
+ "application/json": components["schemas"]["SchemaVillageCreateCollectiveRequest"];
1712
3725
  };
1713
3726
  };
1714
3727
  responses: {
@@ -1718,7 +3731,7 @@ export interface operations {
1718
3731
  [name: string]: unknown;
1719
3732
  };
1720
3733
  content: {
1721
- "application/json": components["schemas"]["SchemaVillageGroup"];
3734
+ "application/json": components["schemas"]["SchemaVillageCollective"];
1722
3735
  };
1723
3736
  };
1724
3737
  /** @description Bad Request */
@@ -1750,7 +3763,7 @@ export interface operations {
1750
3763
  };
1751
3764
  };
1752
3765
  };
1753
- listPublicGroups: {
3766
+ listPublicGroupsDeprecated: {
1754
3767
  parameters: {
1755
3768
  query?: never;
1756
3769
  header?: never;
@@ -1765,7 +3778,7 @@ export interface operations {
1765
3778
  [name: string]: unknown;
1766
3779
  };
1767
3780
  content: {
1768
- "application/json": null | components["schemas"]["SchemaVillagePublicGroup"][];
3781
+ "application/json": null | components["schemas"]["SchemaVillagePublicCollective"][];
1769
3782
  };
1770
3783
  };
1771
3784
  /** @description Internal Server Error */
@@ -1779,7 +3792,7 @@ export interface operations {
1779
3792
  };
1780
3793
  };
1781
3794
  };
1782
- searchCollectives: {
3795
+ searchCollectivesDeprecated: {
1783
3796
  parameters: {
1784
3797
  query?: {
1785
3798
  q?: string;
@@ -1811,7 +3824,7 @@ export interface operations {
1811
3824
  };
1812
3825
  };
1813
3826
  };
1814
- listVisibleGroups: {
3827
+ listVisibleGroupsDeprecated: {
1815
3828
  parameters: {
1816
3829
  query?: never;
1817
3830
  header?: never;
@@ -1826,7 +3839,7 @@ export interface operations {
1826
3839
  [name: string]: unknown;
1827
3840
  };
1828
3841
  content: {
1829
- "application/json": null | components["schemas"]["SchemaVillageVisibleGroup"][];
3842
+ "application/json": null | components["schemas"]["SchemaVillageVisibleCollective"][];
1830
3843
  };
1831
3844
  };
1832
3845
  /** @description Unauthorized */
@@ -1849,7 +3862,7 @@ export interface operations {
1849
3862
  };
1850
3863
  };
1851
3864
  };
1852
- getGroup: {
3865
+ getGroupDeprecated: {
1853
3866
  parameters: {
1854
3867
  query?: {
1855
3868
  limit?: number;
@@ -1872,7 +3885,7 @@ export interface operations {
1872
3885
  [name: string]: unknown;
1873
3886
  };
1874
3887
  content: {
1875
- "application/json": components["schemas"]["SchemaVillageGroupDetailResponse"] | components["schemas"]["SchemaVillageGroupedGroupDetailResponse"];
3888
+ "application/json": components["schemas"]["SchemaVillageCollectiveDetailResponse"] | components["schemas"]["SchemaVillageGroupedCollectiveDetailResponse"];
1876
3889
  };
1877
3890
  };
1878
3891
  /** @description Bad Request */
@@ -1895,7 +3908,7 @@ export interface operations {
1895
3908
  };
1896
3909
  };
1897
3910
  };
1898
- deleteGroup: {
3911
+ deleteGroupDeprecated: {
1899
3912
  parameters: {
1900
3913
  query?: never;
1901
3914
  header?: never;
@@ -1954,7 +3967,7 @@ export interface operations {
1954
3967
  };
1955
3968
  };
1956
3969
  };
1957
- updateGroup: {
3970
+ updateGroupDeprecated: {
1958
3971
  parameters: {
1959
3972
  query?: never;
1960
3973
  header?: never;
@@ -1966,7 +3979,7 @@ export interface operations {
1966
3979
  };
1967
3980
  requestBody: {
1968
3981
  content: {
1969
- "application/json": components["schemas"]["SchemaVillageUpdateGroupRequest"];
3982
+ "application/json": components["schemas"]["SchemaVillageUpdateCollectiveRequest"];
1970
3983
  };
1971
3984
  };
1972
3985
  responses: {
@@ -1976,7 +3989,7 @@ export interface operations {
1976
3989
  [name: string]: unknown;
1977
3990
  };
1978
3991
  content: {
1979
- "application/json": components["schemas"]["SchemaVillageGroup"];
3992
+ "application/json": components["schemas"]["SchemaVillageCollective"];
1980
3993
  };
1981
3994
  };
1982
3995
  /** @description Bad Request */
@@ -2026,7 +4039,7 @@ export interface operations {
2026
4039
  };
2027
4040
  };
2028
4041
  };
2029
- listContributableTranscripts: {
4042
+ listContributableTranscriptsDeprecated: {
2030
4043
  parameters: {
2031
4044
  query?: {
2032
4045
  /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
@@ -2047,7 +4060,7 @@ export interface operations {
2047
4060
  [name: string]: unknown;
2048
4061
  };
2049
4062
  content: {
2050
- "application/json": components["schemas"]["SchemaVillageContributableResponse"] | components["schemas"]["SchemaVillageGroupedContributableResponse"];
4063
+ "application/json": components["schemas"]["SchemaVillageContributableResponse"] | components["schemas"]["SchemaVillageDeprecatedGroupedContributableResponse"];
2051
4064
  };
2052
4065
  };
2053
4066
  /** @description Bad Request */
@@ -2097,7 +4110,7 @@ export interface operations {
2097
4110
  };
2098
4111
  };
2099
4112
  };
2100
- joinGroup: {
4113
+ joinGroupDeprecated: {
2101
4114
  parameters: {
2102
4115
  query?: never;
2103
4116
  header?: never;
@@ -2115,7 +4128,7 @@ export interface operations {
2115
4128
  [name: string]: unknown;
2116
4129
  };
2117
4130
  content: {
2118
- "application/json": components["schemas"]["SchemaVillageGroupStatusRoleResponse"];
4131
+ "application/json": components["schemas"]["SchemaVillageCollectiveStatusRoleResponse"];
2119
4132
  };
2120
4133
  };
2121
4134
  /** @description Bad Request */
@@ -2174,7 +4187,7 @@ export interface operations {
2174
4187
  };
2175
4188
  };
2176
4189
  };
2177
- addGroupMember: {
4190
+ addGroupMemberDeprecated: {
2178
4191
  parameters: {
2179
4192
  query?: never;
2180
4193
  header?: never;
@@ -2186,7 +4199,7 @@ export interface operations {
2186
4199
  };
2187
4200
  requestBody: {
2188
4201
  content: {
2189
- "application/json": components["schemas"]["SchemaVillageGroupMemberUsernameRequest"];
4202
+ "application/json": components["schemas"]["SchemaVillageCollectiveMemberUsernameRequest"];
2190
4203
  };
2191
4204
  };
2192
4205
  responses: {
@@ -2246,7 +4259,7 @@ export interface operations {
2246
4259
  };
2247
4260
  };
2248
4261
  };
2249
- removeGroupMember: {
4262
+ removeGroupMemberDeprecated: {
2250
4263
  parameters: {
2251
4264
  query?: {
2252
4265
  retract?: boolean;
@@ -2268,7 +4281,7 @@ export interface operations {
2268
4281
  [name: string]: unknown;
2269
4282
  };
2270
4283
  content: {
2271
- "application/json": components["schemas"]["SchemaVillageRemoveGroupMemberResponse"];
4284
+ "application/json": components["schemas"]["SchemaVillageRemoveCollectiveMemberResponse"];
2272
4285
  };
2273
4286
  };
2274
4287
  /** @description Bad Request */
@@ -2309,7 +4322,7 @@ export interface operations {
2309
4322
  };
2310
4323
  };
2311
4324
  };
2312
- updateGroupMemberRole: {
4325
+ updateGroupMemberRoleDeprecated: {
2313
4326
  parameters: {
2314
4327
  query?: never;
2315
4328
  header?: never;
@@ -2323,7 +4336,7 @@ export interface operations {
2323
4336
  };
2324
4337
  requestBody: {
2325
4338
  content: {
2326
- "application/json": components["schemas"]["SchemaVillageGroupMemberRoleRequest"];
4339
+ "application/json": components["schemas"]["SchemaVillageCollectiveMemberRoleRequest"];
2327
4340
  };
2328
4341
  };
2329
4342
  responses: {
@@ -2333,7 +4346,7 @@ export interface operations {
2333
4346
  [name: string]: unknown;
2334
4347
  };
2335
4348
  content: {
2336
- "application/json": components["schemas"]["SchemaVillageGroupStatusRoleResponse"];
4349
+ "application/json": components["schemas"]["SchemaVillageCollectiveStatusRoleResponse"];
2337
4350
  };
2338
4351
  };
2339
4352
  /** @description Bad Request */
@@ -2383,7 +4396,7 @@ export interface operations {
2383
4396
  };
2384
4397
  };
2385
4398
  };
2386
- listMyGroupShares: {
4399
+ listMyGroupSharesDeprecated: {
2387
4400
  parameters: {
2388
4401
  query?: {
2389
4402
  /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
@@ -2404,7 +4417,7 @@ export interface operations {
2404
4417
  [name: string]: unknown;
2405
4418
  };
2406
4419
  content: {
2407
- "application/json": components["schemas"]["SchemaVillageUserGroupShare"][] | components["schemas"]["SchemaVillageSessionListPayload"];
4420
+ "application/json": components["schemas"]["SchemaVillageUserCollectiveShare"][] | components["schemas"]["SchemaVillageSessionListPayload"];
2408
4421
  };
2409
4422
  };
2410
4423
  /** @description Bad Request */
@@ -2436,7 +4449,7 @@ export interface operations {
2436
4449
  };
2437
4450
  };
2438
4451
  };
2439
- listPendingShares: {
4452
+ listPendingSharesDeprecated: {
2440
4453
  parameters: {
2441
4454
  query?: {
2442
4455
  /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
@@ -2498,7 +4511,7 @@ export interface operations {
2498
4511
  };
2499
4512
  };
2500
4513
  };
2501
- listGroupRepositories: {
4514
+ listGroupRepositoriesDeprecated: {
2502
4515
  parameters: {
2503
4516
  query?: never;
2504
4517
  header?: never;
@@ -2557,7 +4570,7 @@ export interface operations {
2557
4570
  };
2558
4571
  };
2559
4572
  };
2560
- linkGroupRepository: {
4573
+ linkGroupRepositoryDeprecated: {
2561
4574
  parameters: {
2562
4575
  query?: never;
2563
4576
  header?: never;
@@ -2629,7 +4642,7 @@ export interface operations {
2629
4642
  };
2630
4643
  };
2631
4644
  };
2632
- listAvailableGroupRepositories: {
4645
+ listAvailableGroupRepositoriesDeprecated: {
2633
4646
  parameters: {
2634
4647
  query?: never;
2635
4648
  header?: never;
@@ -2697,7 +4710,7 @@ export interface operations {
2697
4710
  };
2698
4711
  };
2699
4712
  };
2700
- unlinkGroupRepository: {
4713
+ unlinkGroupRepositoryDeprecated: {
2701
4714
  parameters: {
2702
4715
  query?: never;
2703
4716
  header?: never;
@@ -2769,7 +4782,7 @@ export interface operations {
2769
4782
  };
2770
4783
  };
2771
4784
  };
2772
- listGroupRepositoryCommits: {
4785
+ listGroupRepositoryCommitsDeprecated: {
2773
4786
  parameters: {
2774
4787
  query?: {
2775
4788
  refresh?: boolean;
@@ -2861,7 +4874,7 @@ export interface operations {
2861
4874
  };
2862
4875
  };
2863
4876
  };
2864
- batchShareProject: {
4877
+ batchShareProjectDeprecated: {
2865
4878
  parameters: {
2866
4879
  query?: never;
2867
4880
  header?: never;
@@ -2951,7 +4964,7 @@ export interface operations {
2951
4964
  };
2952
4965
  };
2953
4966
  };
2954
- batchReviewShares: {
4967
+ batchReviewSharesDeprecated: {
2955
4968
  parameters: {
2956
4969
  query?: never;
2957
4970
  header?: never;
@@ -3014,7 +5027,7 @@ export interface operations {
3014
5027
  };
3015
5028
  };
3016
5029
  };
3017
- reviewShare: {
5030
+ reviewShareDeprecated: {
3018
5031
  parameters: {
3019
5032
  query?: never;
3020
5033
  header?: never;
@@ -3079,7 +5092,7 @@ export interface operations {
3079
5092
  };
3080
5093
  };
3081
5094
  };
3082
- removeGroupTranscript: {
5095
+ removeGroupTranscriptDeprecated: {
3083
5096
  parameters: {
3084
5097
  query?: never;
3085
5098
  header?: never;
@@ -3198,6 +5211,55 @@ export interface operations {
3198
5211
  };
3199
5212
  };
3200
5213
  };
5214
+ getVillageOrganizationCollectives: {
5215
+ parameters: {
5216
+ query?: never;
5217
+ header?: never;
5218
+ path: {
5219
+ login: string;
5220
+ };
5221
+ cookie?: never;
5222
+ };
5223
+ requestBody?: never;
5224
+ responses: {
5225
+ /** @description OK */
5226
+ 200: {
5227
+ headers: {
5228
+ [name: string]: unknown;
5229
+ };
5230
+ content: {
5231
+ "application/json": components["schemas"]["SchemaVillageOrganizationCollectivesResponse"];
5232
+ };
5233
+ };
5234
+ /** @description Bad Request */
5235
+ 400: {
5236
+ headers: {
5237
+ [name: string]: unknown;
5238
+ };
5239
+ content: {
5240
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
5241
+ };
5242
+ };
5243
+ /** @description Not Found */
5244
+ 404: {
5245
+ headers: {
5246
+ [name: string]: unknown;
5247
+ };
5248
+ content: {
5249
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
5250
+ };
5251
+ };
5252
+ /** @description Internal Server Error */
5253
+ 500: {
5254
+ headers: {
5255
+ [name: string]: unknown;
5256
+ };
5257
+ content: {
5258
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
5259
+ };
5260
+ };
5261
+ };
5262
+ };
3201
5263
  listPullableTranscripts: {
3202
5264
  parameters: {
3203
5265
  query?: {
@@ -3753,6 +5815,15 @@ export interface operations {
3753
5815
  "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3754
5816
  };
3755
5817
  };
5818
+ /** @description Internal Server Error */
5819
+ 500: {
5820
+ headers: {
5821
+ [name: string]: unknown;
5822
+ };
5823
+ content: {
5824
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
5825
+ };
5826
+ };
3756
5827
  };
3757
5828
  };
3758
5829
  updateTranscript: {