@peasant-labs/schema 0.33.0 → 0.34.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.
@@ -207,24 +207,42 @@ export interface paths {
207
207
  patch?: never;
208
208
  trace?: never;
209
209
  };
210
- "/api/v1/collectives/{id}/join": {
210
+ "/api/v1/collectives/{id}/invitations": {
211
211
  parameters: {
212
212
  query?: never;
213
213
  header?: never;
214
214
  path?: never;
215
215
  cookie?: never;
216
216
  };
217
- get?: never;
217
+ /** @description List an owned collective's open invitations, each as the handle the inviting owner typed. Pending and declined invitations that have not expired are listed alike, with no status, so a decline is not revealed. Every invited name is listed until its invitation expires or is revoked, whether or not an account holds the name. An invitation whose invitee deletes their account stays listed, unchanged, until it expires, so a deletion is not revealed either. An accepted invitation leaves the list and its person appears in the roster; a revoked or expired one leaves the list. */
218
+ get: operations["listGroupInvitations"];
218
219
  put?: never;
219
- /** @description Join an open or verified collective as a contributor. Curated collectives require invitation and refuse this route. */
220
- post: operations["joinGroup"];
220
+ /** @description Invite a person to an owned collective by username. The person becomes a member only by accepting. The answer is 202 with status invited for every username, whether no account holds it, its account is not discoverable, or it is discoverable, so inviting never confirms that an account exists. Every invited name gets an invitation that the owners' list shows until it expires or is revoked, whether or not an account holds the name. Any invitation email is sent after this response, off the request path, so the response's timing never depends on the invitee. Inviting the same username again while an invitation is open is the same 202 and notifies no one. An invitation the person declined stays open to the owner, unchanged, until it expires. 409 means the person is already a member who consented; a member whose membership predates invitations may be invited again so that they can consent. An owner's invitation admits the person whatever the collective's acceptance mode, including curated and verified_only. 429 means the inviter or the collective has reached its invitation limit. */
221
+ post: operations["createGroupInvitation"];
221
222
  delete?: never;
222
223
  options?: never;
223
224
  head?: never;
224
225
  patch?: never;
225
226
  trace?: never;
226
227
  };
227
- "/api/v1/collectives/{id}/members": {
228
+ "/api/v1/collectives/{id}/invitations/{invitationID}": {
229
+ parameters: {
230
+ query?: never;
231
+ header?: never;
232
+ path?: never;
233
+ cookie?: never;
234
+ };
235
+ get?: never;
236
+ put?: never;
237
+ post?: never;
238
+ /** @description Revoke an open invitation of an owned collective. The invitation leaves the invitee's list and nothing is recorded. Revoking any listed invitation answers 200, including one for a name no account holds or one whose invitee has deleted their account, so revoking reveals nothing about the invitee. 404 means the collective has no open invitation with this id. */
239
+ delete: operations["revokeGroupInvitation"];
240
+ options?: never;
241
+ head?: never;
242
+ patch?: never;
243
+ trace?: never;
244
+ };
245
+ "/api/v1/collectives/{id}/join": {
228
246
  parameters: {
229
247
  query?: never;
230
248
  header?: never;
@@ -233,8 +251,8 @@ export interface paths {
233
251
  };
234
252
  get?: never;
235
253
  put?: never;
236
- /** @description Add a platform user to an owned collective by username. */
237
- post: operations["addGroupMember"];
254
+ /** @description Join an open or verified collective as a contributor. Curated collectives require invitation and refuse this route. */
255
+ post: operations["joinGroup"];
238
256
  delete?: never;
239
257
  options?: never;
240
258
  head?: never;
@@ -430,6 +448,23 @@ export interface paths {
430
448
  patch?: never;
431
449
  trace?: never;
432
450
  };
451
+ "/api/v1/email/unsubscribe": {
452
+ parameters: {
453
+ query?: never;
454
+ header?: never;
455
+ path?: never;
456
+ cookie?: never;
457
+ };
458
+ get?: never;
459
+ put?: never;
460
+ /** @description Turn off invitation emails for the account a signed unsubscribe token names, without signing in. This is the one-click unsubscribe target (RFC 8058) that every invitation email links to; a request body, such as List-Unsubscribe=One-Click, is ignored. The token can only turn this one setting off. 400 means the token is malformed, forged, or expired. */
461
+ post: operations["unsubscribeInvitationEmails"];
462
+ delete?: never;
463
+ options?: never;
464
+ head?: never;
465
+ patch?: never;
466
+ trace?: never;
467
+ };
433
468
  "/api/v1/groups": {
434
469
  parameters: {
435
470
  query?: never;
@@ -562,27 +597,51 @@ export interface paths {
562
597
  patch?: never;
563
598
  trace?: never;
564
599
  };
565
- "/api/v1/groups/{id}/join": {
600
+ "/api/v1/groups/{id}/invitations": {
566
601
  parameters: {
567
602
  query?: never;
568
603
  header?: never;
569
604
  path?: never;
570
605
  cookie?: never;
571
606
  };
572
- get?: never;
607
+ /**
608
+ * @deprecated
609
+ * @description List an owned collective's open invitations, each as the handle the inviting owner typed. Pending and declined invitations that have not expired are listed alike, with no status, so a decline is not revealed. Every invited name is listed until its invitation expires or is revoked, whether or not an account holds the name. An invitation whose invitee deletes their account stays listed, unchanged, until it expires, so a deletion is not revealed either. An accepted invitation leaves the list and its person appears in the roster; a revoked or expired one leaves the list.
610
+ */
611
+ get: operations["listGroupInvitationsDeprecated"];
573
612
  put?: never;
574
613
  /**
575
614
  * @deprecated
576
- * @description Join an open or verified collective as a contributor. Curated collectives require invitation and refuse this route.
615
+ * @description Invite a person to an owned collective by username. The person becomes a member only by accepting. The answer is 202 with status invited for every username, whether no account holds it, its account is not discoverable, or it is discoverable, so inviting never confirms that an account exists. Every invited name gets an invitation that the owners' list shows until it expires or is revoked, whether or not an account holds the name. Any invitation email is sent after this response, off the request path, so the response's timing never depends on the invitee. Inviting the same username again while an invitation is open is the same 202 and notifies no one. An invitation the person declined stays open to the owner, unchanged, until it expires. 409 means the person is already a member who consented; a member whose membership predates invitations may be invited again so that they can consent. An owner's invitation admits the person whatever the collective's acceptance mode, including curated and verified_only. 429 means the inviter or the collective has reached its invitation limit.
577
616
  */
578
- post: operations["joinGroupDeprecated"];
617
+ post: operations["createGroupInvitationDeprecated"];
579
618
  delete?: never;
580
619
  options?: never;
581
620
  head?: never;
582
621
  patch?: never;
583
622
  trace?: never;
584
623
  };
585
- "/api/v1/groups/{id}/members": {
624
+ "/api/v1/groups/{id}/invitations/{invitationID}": {
625
+ parameters: {
626
+ query?: never;
627
+ header?: never;
628
+ path?: never;
629
+ cookie?: never;
630
+ };
631
+ get?: never;
632
+ put?: never;
633
+ post?: never;
634
+ /**
635
+ * @deprecated
636
+ * @description Revoke an open invitation of an owned collective. The invitation leaves the invitee's list and nothing is recorded. Revoking any listed invitation answers 200, including one for a name no account holds or one whose invitee has deleted their account, so revoking reveals nothing about the invitee. 404 means the collective has no open invitation with this id.
637
+ */
638
+ delete: operations["revokeGroupInvitationDeprecated"];
639
+ options?: never;
640
+ head?: never;
641
+ patch?: never;
642
+ trace?: never;
643
+ };
644
+ "/api/v1/groups/{id}/join": {
586
645
  parameters: {
587
646
  query?: never;
588
647
  header?: never;
@@ -593,9 +652,9 @@ export interface paths {
593
652
  put?: never;
594
653
  /**
595
654
  * @deprecated
596
- * @description Add a platform user to an owned collective by username.
655
+ * @description Join an open or verified collective as a contributor. Curated collectives require invitation and refuse this route.
597
656
  */
598
- post: operations["addGroupMemberDeprecated"];
657
+ post: operations["joinGroupDeprecated"];
599
658
  delete?: never;
600
659
  options?: never;
601
660
  head?: never;
@@ -1206,6 +1265,92 @@ export interface paths {
1206
1265
  patch?: never;
1207
1266
  trace?: never;
1208
1267
  };
1268
+ "/api/v1/users/me/email": {
1269
+ parameters: {
1270
+ query?: never;
1271
+ header?: never;
1272
+ path?: never;
1273
+ cookie?: never;
1274
+ };
1275
+ get?: never;
1276
+ /** @description Set the caller's notification email address, replacing any earlier one, and email a verification token to it. The address is unverified until the token is confirmed, and Village emails invitations only to a verified address. The answer is the caller's own settings. 429 means too many verification emails were requested; 501 means this Village sends no email. */
1277
+ put: operations["setMyNotificationEmail"];
1278
+ post?: never;
1279
+ /** @description Remove the caller's notification email address. Village keeps no copy of it. The answer is the caller's own settings. */
1280
+ delete: operations["removeMyNotificationEmail"];
1281
+ options?: never;
1282
+ head?: never;
1283
+ patch?: never;
1284
+ trace?: never;
1285
+ };
1286
+ "/api/v1/users/me/email/verify": {
1287
+ parameters: {
1288
+ query?: never;
1289
+ header?: never;
1290
+ path?: never;
1291
+ cookie?: never;
1292
+ };
1293
+ get?: never;
1294
+ put?: never;
1295
+ /** @description Confirm the caller's notification email address with the token Village emailed to it. The token is bound to the caller's account and to that address, so it confirms nothing for anyone else. 400 means the token is wrong, expired, or for an address the caller has since replaced; the answer does not say which. The answer is the caller's own settings. */
1296
+ post: operations["verifyMyNotificationEmail"];
1297
+ delete?: never;
1298
+ options?: never;
1299
+ head?: never;
1300
+ patch?: never;
1301
+ trace?: never;
1302
+ };
1303
+ "/api/v1/users/me/invitations": {
1304
+ parameters: {
1305
+ query?: never;
1306
+ header?: never;
1307
+ path?: never;
1308
+ cookie?: never;
1309
+ };
1310
+ /** @description List the caller's own pending invitations that have not expired, each with the collective's summary and the inviting owner as the caller may see them. The summary is disclosed even for a collective visible only to its members. Another person's invitations are never listed. */
1311
+ get: operations["listMyInvitations"];
1312
+ put?: never;
1313
+ post?: never;
1314
+ delete?: never;
1315
+ options?: never;
1316
+ head?: never;
1317
+ patch?: never;
1318
+ trace?: never;
1319
+ };
1320
+ "/api/v1/users/me/invitations/{invitationID}/accept": {
1321
+ parameters: {
1322
+ query?: never;
1323
+ header?: never;
1324
+ path?: never;
1325
+ cookie?: never;
1326
+ };
1327
+ get?: never;
1328
+ put?: never;
1329
+ /** @description Accept one of the caller's pending invitations and join the collective as a member. Accepting is consent: the collective's owners may then see the caller's profile, while other members still see the caller as anonymous. Accepting when the caller is already a member who consented joins nothing new and answers 200. 404 means the caller holds no pending, unexpired invitation with this id, including one addressed to someone else. The operation takes no body; a later choice made at the moment of joining, such as how the caller is credited, would be an optional body. */
1330
+ post: operations["acceptMyInvitation"];
1331
+ delete?: never;
1332
+ options?: never;
1333
+ head?: never;
1334
+ patch?: never;
1335
+ trace?: never;
1336
+ };
1337
+ "/api/v1/users/me/invitations/{invitationID}/decline": {
1338
+ parameters: {
1339
+ query?: never;
1340
+ header?: never;
1341
+ path?: never;
1342
+ cookie?: never;
1343
+ };
1344
+ get?: never;
1345
+ put?: never;
1346
+ /** @description Decline one of the caller's pending invitations. The owners are not told: the invitation stays in their list unchanged until it expires, and inviting the caller again from the same collective before then notifies no one. 404 means the caller holds no pending, unexpired invitation with this id, including one addressed to someone else. */
1347
+ post: operations["declineMyInvitation"];
1348
+ delete?: never;
1349
+ options?: never;
1350
+ head?: never;
1351
+ patch?: never;
1352
+ trace?: never;
1353
+ };
1209
1354
  "/api/v1/users/me/prompt-requests": {
1210
1355
  parameters: {
1211
1356
  query?: never;
@@ -1230,14 +1375,14 @@ export interface paths {
1230
1375
  path?: never;
1231
1376
  cookie?: never;
1232
1377
  };
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. */
1378
+ /** @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. notification_email is the caller's own notification address with whether it is verified, or null; this is the only response that carries an email address, and only its owner receives it. email_invitations is on by default and decides whether Village emails the caller when a collective invites them, once the address is verified. */
1234
1379
  get: operations["getMySettings"];
1235
1380
  put?: never;
1236
1381
  post?: never;
1237
1382
  delete?: never;
1238
1383
  options?: never;
1239
1384
  head?: never;
1240
- /** @description Patch the caller's settings. A field that is omitted is left unchanged. */
1385
+ /** @description Patch the caller's settings. A field that is omitted is left unchanged. The notification address is set, verified, and removed through its own operations under /api/v1/users/me/email, because setting it sends mail. */
1241
1386
  patch: operations["updateMySettings"];
1242
1387
  trace?: never;
1243
1388
  };
@@ -1465,6 +1610,9 @@ export interface components {
1465
1610
  */
1466
1611
  SchemaInputModality: Schema.InputModality;
1467
1612
  SchemaInterpretationDiagnostics: Schema.InterpretationDiagnostics;
1613
+ SchemaLegacyPullAnnotation: Schema.LegacyPullAnnotation;
1614
+ SchemaLegacyPullListResponse: Schema.LegacyPullListResponse;
1615
+ SchemaLegacyPullTranscriptInfo: Schema.LegacyPullTranscriptInfo;
1468
1616
  /**
1469
1617
  * License
1470
1618
  * @description Content license for a published transcript
@@ -1807,9 +1955,12 @@ export interface components {
1807
1955
  SchemaVillageCollectiveDataAccess: Schema.VillageCollectiveDataAccess;
1808
1956
  SchemaVillageCollectiveDetailRecord: Schema.VillageCollectiveDetailRecord;
1809
1957
  SchemaVillageCollectiveDetailResponse: Schema.VillageCollectiveDetailResponse;
1958
+ SchemaVillageCollectiveInvitation: Schema.VillageCollectiveInvitation;
1959
+ SchemaVillageCollectiveInvitationRequest: Schema.VillageCollectiveInvitationRequest;
1960
+ SchemaVillageCollectiveInvitationSent: Schema.VillageCollectiveInvitationSent;
1961
+ SchemaVillageCollectiveInvitationsSentResponse: Schema.VillageCollectiveInvitationsSentResponse;
1810
1962
  SchemaVillageCollectiveMember: Schema.VillageCollectiveMember;
1811
1963
  SchemaVillageCollectiveMemberRoleRequest: Schema.VillageCollectiveMemberRoleRequest;
1812
- SchemaVillageCollectiveMemberUsernameRequest: Schema.VillageCollectiveMemberUsernameRequest;
1813
1964
  SchemaVillageCollectiveModelBreakdown: Schema.VillageCollectiveModelBreakdown;
1814
1965
  /**
1815
1966
  * Village Group Role
@@ -1866,12 +2017,15 @@ export interface components {
1866
2017
  SchemaVillageGroupedCollectiveDetailResponse: Schema.VillageGroupedCollectiveDetailResponse;
1867
2018
  SchemaVillageGroupedContributableResponse: Schema.VillageGroupedContributableResponse;
1868
2019
  SchemaVillageHelperMembersPayload: Schema.VillageHelperMembersPayload;
2020
+ SchemaVillageInvitedCollective: Schema.VillageInvitedCollective;
1869
2021
  SchemaVillageLinkRepositoryRequest: Schema.VillageLinkRepositoryRequest;
1870
2022
  SchemaVillageLinkedRepositoriesResponse: Schema.VillageLinkedRepositoriesResponse;
1871
2023
  SchemaVillageLinkedRepository: Schema.VillageLinkedRepository;
1872
2024
  SchemaVillageListTranscriptAttestation: Schema.VillageListTranscriptAttestation;
1873
2025
  SchemaVillageListUserOrganization: Schema.VillageListUserOrganization;
1874
2026
  SchemaVillageMetadataUserOrganization: Schema.VillageMetadataUserOrganization;
2027
+ SchemaVillageMyInvitationsResponse: Schema.VillageMyInvitationsResponse;
2028
+ SchemaVillageNotificationEmail: Schema.VillageNotificationEmail;
1875
2029
  SchemaVillageOrganizationCollective: Schema.VillageOrganizationCollective;
1876
2030
  SchemaVillageOrganizationCollectivesResponse: Schema.VillageOrganizationCollectivesResponse;
1877
2031
  SchemaVillagePendingShare: Schema.VillagePendingShare;
@@ -1934,6 +2088,7 @@ export interface components {
1934
2088
  SchemaVillageSessionListItem: Schema.VillageSessionListItem;
1935
2089
  SchemaVillageSessionListPayload: Schema.VillageSessionListPayload;
1936
2090
  SchemaVillageSessionRow: Schema.VillageSessionRow;
2091
+ SchemaVillageSetNotificationEmailRequest: Schema.VillageSetNotificationEmailRequest;
1937
2092
  SchemaVillageShareEvent: Schema.VillageShareEvent;
1938
2093
  /**
1939
2094
  * Village Share Event Actor
@@ -2000,6 +2155,7 @@ export interface components {
2000
2155
  SchemaVillageUserCollectiveShare: Schema.VillageUserCollectiveShare;
2001
2156
  SchemaVillageUserSettings: Schema.VillageUserSettings;
2002
2157
  SchemaVillageUserStats: Schema.VillageUserStats;
2158
+ SchemaVillageVerifyNotificationEmailRequest: Schema.VillageVerifyNotificationEmailRequest;
2003
2159
  SchemaVillageVisibleCollective: Schema.VillageVisibleCollective;
2004
2160
  /**
2005
2161
  * Visibility
@@ -2637,7 +2793,7 @@ export interface operations {
2637
2793
  };
2638
2794
  };
2639
2795
  };
2640
- joinGroup: {
2796
+ listGroupInvitations: {
2641
2797
  parameters: {
2642
2798
  query?: never;
2643
2799
  header?: never;
@@ -2655,7 +2811,7 @@ export interface operations {
2655
2811
  [name: string]: unknown;
2656
2812
  };
2657
2813
  content: {
2658
- "application/json": components["schemas"]["SchemaVillageCollectiveStatusRoleResponse"];
2814
+ "application/json": components["schemas"]["SchemaVillageCollectiveInvitationsSentResponse"];
2659
2815
  };
2660
2816
  };
2661
2817
  /** @description Bad Request */
@@ -2685,24 +2841,6 @@ export interface operations {
2685
2841
  "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2686
2842
  };
2687
2843
  };
2688
- /** @description Not Found */
2689
- 404: {
2690
- headers: {
2691
- [name: string]: unknown;
2692
- };
2693
- content: {
2694
- "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2695
- };
2696
- };
2697
- /** @description Conflict */
2698
- 409: {
2699
- headers: {
2700
- [name: string]: unknown;
2701
- };
2702
- content: {
2703
- "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2704
- };
2705
- };
2706
2844
  /** @description Internal Server Error */
2707
2845
  500: {
2708
2846
  headers: {
@@ -2714,7 +2852,7 @@ export interface operations {
2714
2852
  };
2715
2853
  };
2716
2854
  };
2717
- addGroupMember: {
2855
+ createGroupInvitation: {
2718
2856
  parameters: {
2719
2857
  query?: never;
2720
2858
  header?: never;
@@ -2726,12 +2864,12 @@ export interface operations {
2726
2864
  };
2727
2865
  requestBody: {
2728
2866
  content: {
2729
- "application/json": components["schemas"]["SchemaVillageCollectiveMemberUsernameRequest"];
2867
+ "application/json": components["schemas"]["SchemaVillageCollectiveInvitationRequest"];
2730
2868
  };
2731
2869
  };
2732
2870
  responses: {
2733
- /** @description OK */
2734
- 200: {
2871
+ /** @description Accepted */
2872
+ 202: {
2735
2873
  headers: {
2736
2874
  [name: string]: unknown;
2737
2875
  };
@@ -2766,8 +2904,17 @@ export interface operations {
2766
2904
  "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2767
2905
  };
2768
2906
  };
2769
- /** @description Not Found */
2770
- 404: {
2907
+ /** @description Conflict */
2908
+ 409: {
2909
+ headers: {
2910
+ [name: string]: unknown;
2911
+ };
2912
+ content: {
2913
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2914
+ };
2915
+ };
2916
+ /** @description Too Many Requests */
2917
+ 429: {
2771
2918
  headers: {
2772
2919
  [name: string]: unknown;
2773
2920
  };
@@ -2786,17 +2933,15 @@ export interface operations {
2786
2933
  };
2787
2934
  };
2788
2935
  };
2789
- removeGroupMember: {
2936
+ revokeGroupInvitation: {
2790
2937
  parameters: {
2791
- query?: {
2792
- retract?: boolean;
2793
- };
2938
+ query?: never;
2794
2939
  header?: never;
2795
2940
  path: {
2796
2941
  /** @description Collective identifier */
2797
2942
  id: components["schemas"]["SchemaVillageUUID"];
2798
- /** @description Member user identifier */
2799
- userID: components["schemas"]["SchemaVillageUUID"];
2943
+ /** @description Invitation identifier */
2944
+ invitationID: components["schemas"]["SchemaVillageUUID"];
2800
2945
  };
2801
2946
  cookie?: never;
2802
2947
  };
@@ -2808,7 +2953,7 @@ export interface operations {
2808
2953
  [name: string]: unknown;
2809
2954
  };
2810
2955
  content: {
2811
- "application/json": components["schemas"]["SchemaVillageRemoveCollectiveMemberResponse"];
2956
+ "application/json": components["schemas"]["SchemaVillageStatusResponse"];
2812
2957
  };
2813
2958
  };
2814
2959
  /** @description Bad Request */
@@ -2838,6 +2983,15 @@ export interface operations {
2838
2983
  "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2839
2984
  };
2840
2985
  };
2986
+ /** @description Not Found */
2987
+ 404: {
2988
+ headers: {
2989
+ [name: string]: unknown;
2990
+ };
2991
+ content: {
2992
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2993
+ };
2994
+ };
2841
2995
  /** @description Internal Server Error */
2842
2996
  500: {
2843
2997
  headers: {
@@ -2849,23 +3003,17 @@ export interface operations {
2849
3003
  };
2850
3004
  };
2851
3005
  };
2852
- updateGroupMemberRole: {
3006
+ joinGroup: {
2853
3007
  parameters: {
2854
3008
  query?: never;
2855
3009
  header?: never;
2856
3010
  path: {
2857
3011
  /** @description Collective identifier */
2858
3012
  id: components["schemas"]["SchemaVillageUUID"];
2859
- /** @description Member user identifier */
2860
- userID: components["schemas"]["SchemaVillageUUID"];
2861
3013
  };
2862
3014
  cookie?: never;
2863
3015
  };
2864
- requestBody: {
2865
- content: {
2866
- "application/json": components["schemas"]["SchemaVillageCollectiveMemberRoleRequest"];
2867
- };
2868
- };
3016
+ requestBody?: never;
2869
3017
  responses: {
2870
3018
  /** @description OK */
2871
3019
  200: {
@@ -2912,6 +3060,15 @@ export interface operations {
2912
3060
  "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2913
3061
  };
2914
3062
  };
3063
+ /** @description Conflict */
3064
+ 409: {
3065
+ headers: {
3066
+ [name: string]: unknown;
3067
+ };
3068
+ content: {
3069
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3070
+ };
3071
+ };
2915
3072
  /** @description Internal Server Error */
2916
3073
  500: {
2917
3074
  headers: {
@@ -2923,16 +3080,17 @@ export interface operations {
2923
3080
  };
2924
3081
  };
2925
3082
  };
2926
- listMyGroupShares: {
3083
+ removeGroupMember: {
2927
3084
  parameters: {
2928
3085
  query?: {
2929
- /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
2930
- view?: components["schemas"]["OpenapiVillageGroupedView"];
3086
+ retract?: boolean;
2931
3087
  };
2932
3088
  header?: never;
2933
3089
  path: {
2934
3090
  /** @description Collective identifier */
2935
3091
  id: components["schemas"]["SchemaVillageUUID"];
3092
+ /** @description Member user identifier */
3093
+ userID: components["schemas"]["SchemaVillageUUID"];
2936
3094
  };
2937
3095
  cookie?: never;
2938
3096
  };
@@ -2944,7 +3102,7 @@ export interface operations {
2944
3102
  [name: string]: unknown;
2945
3103
  };
2946
3104
  content: {
2947
- "application/json": components["schemas"]["SchemaVillageUserCollectiveShare"][] | components["schemas"]["SchemaVillageSessionListPayload"];
3105
+ "application/json": components["schemas"]["SchemaVillageRemoveCollectiveMemberResponse"];
2948
3106
  };
2949
3107
  };
2950
3108
  /** @description Bad Request */
@@ -2965,6 +3123,15 @@ export interface operations {
2965
3123
  "application/json": components["schemas"]["SchemaVillageErrorResponse"];
2966
3124
  };
2967
3125
  };
3126
+ /** @description Forbidden */
3127
+ 403: {
3128
+ headers: {
3129
+ [name: string]: unknown;
3130
+ };
3131
+ content: {
3132
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3133
+ };
3134
+ };
2968
3135
  /** @description Internal Server Error */
2969
3136
  500: {
2970
3137
  headers: {
@@ -2976,20 +3143,23 @@ export interface operations {
2976
3143
  };
2977
3144
  };
2978
3145
  };
2979
- listPendingShares: {
3146
+ updateGroupMemberRole: {
2980
3147
  parameters: {
2981
- query?: {
2982
- /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
2983
- view?: components["schemas"]["OpenapiVillageGroupedView"];
2984
- };
3148
+ query?: never;
2985
3149
  header?: never;
2986
3150
  path: {
2987
3151
  /** @description Collective identifier */
2988
3152
  id: components["schemas"]["SchemaVillageUUID"];
3153
+ /** @description Member user identifier */
3154
+ userID: components["schemas"]["SchemaVillageUUID"];
2989
3155
  };
2990
3156
  cookie?: never;
2991
3157
  };
2992
- requestBody?: never;
3158
+ requestBody: {
3159
+ content: {
3160
+ "application/json": components["schemas"]["SchemaVillageCollectiveMemberRoleRequest"];
3161
+ };
3162
+ };
2993
3163
  responses: {
2994
3164
  /** @description OK */
2995
3165
  200: {
@@ -2997,7 +3167,7 @@ export interface operations {
2997
3167
  [name: string]: unknown;
2998
3168
  };
2999
3169
  content: {
3000
- "application/json": components["schemas"]["SchemaVillagePendingShare"][] | components["schemas"]["SchemaVillageSessionListPayload"];
3170
+ "application/json": components["schemas"]["SchemaVillageCollectiveStatusRoleResponse"];
3001
3171
  };
3002
3172
  };
3003
3173
  /** @description Bad Request */
@@ -3027,6 +3197,15 @@ export interface operations {
3027
3197
  "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3028
3198
  };
3029
3199
  };
3200
+ /** @description Not Found */
3201
+ 404: {
3202
+ headers: {
3203
+ [name: string]: unknown;
3204
+ };
3205
+ content: {
3206
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3207
+ };
3208
+ };
3030
3209
  /** @description Internal Server Error */
3031
3210
  500: {
3032
3211
  headers: {
@@ -3038,9 +3217,124 @@ export interface operations {
3038
3217
  };
3039
3218
  };
3040
3219
  };
3041
- listGroupRepositories: {
3220
+ listMyGroupShares: {
3042
3221
  parameters: {
3043
- query?: never;
3222
+ query?: {
3223
+ /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
3224
+ view?: components["schemas"]["OpenapiVillageGroupedView"];
3225
+ };
3226
+ header?: never;
3227
+ path: {
3228
+ /** @description Collective identifier */
3229
+ id: components["schemas"]["SchemaVillageUUID"];
3230
+ };
3231
+ cookie?: never;
3232
+ };
3233
+ requestBody?: never;
3234
+ responses: {
3235
+ /** @description OK */
3236
+ 200: {
3237
+ headers: {
3238
+ [name: string]: unknown;
3239
+ };
3240
+ content: {
3241
+ "application/json": components["schemas"]["SchemaVillageUserCollectiveShare"][] | components["schemas"]["SchemaVillageSessionListPayload"];
3242
+ };
3243
+ };
3244
+ /** @description Bad Request */
3245
+ 400: {
3246
+ headers: {
3247
+ [name: string]: unknown;
3248
+ };
3249
+ content: {
3250
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3251
+ };
3252
+ };
3253
+ /** @description Unauthorized */
3254
+ 401: {
3255
+ headers: {
3256
+ [name: string]: unknown;
3257
+ };
3258
+ content: {
3259
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3260
+ };
3261
+ };
3262
+ /** @description Internal Server Error */
3263
+ 500: {
3264
+ headers: {
3265
+ [name: string]: unknown;
3266
+ };
3267
+ content: {
3268
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3269
+ };
3270
+ };
3271
+ };
3272
+ };
3273
+ listPendingShares: {
3274
+ parameters: {
3275
+ query?: {
3276
+ /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
3277
+ view?: components["schemas"]["OpenapiVillageGroupedView"];
3278
+ };
3279
+ header?: never;
3280
+ path: {
3281
+ /** @description Collective identifier */
3282
+ id: components["schemas"]["SchemaVillageUUID"];
3283
+ };
3284
+ cookie?: never;
3285
+ };
3286
+ requestBody?: never;
3287
+ responses: {
3288
+ /** @description OK */
3289
+ 200: {
3290
+ headers: {
3291
+ [name: string]: unknown;
3292
+ };
3293
+ content: {
3294
+ "application/json": components["schemas"]["SchemaVillagePendingShare"][] | components["schemas"]["SchemaVillageSessionListPayload"];
3295
+ };
3296
+ };
3297
+ /** @description Bad Request */
3298
+ 400: {
3299
+ headers: {
3300
+ [name: string]: unknown;
3301
+ };
3302
+ content: {
3303
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3304
+ };
3305
+ };
3306
+ /** @description Unauthorized */
3307
+ 401: {
3308
+ headers: {
3309
+ [name: string]: unknown;
3310
+ };
3311
+ content: {
3312
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3313
+ };
3314
+ };
3315
+ /** @description Forbidden */
3316
+ 403: {
3317
+ headers: {
3318
+ [name: string]: unknown;
3319
+ };
3320
+ content: {
3321
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3322
+ };
3323
+ };
3324
+ /** @description Internal Server Error */
3325
+ 500: {
3326
+ headers: {
3327
+ [name: string]: unknown;
3328
+ };
3329
+ content: {
3330
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3331
+ };
3332
+ };
3333
+ };
3334
+ };
3335
+ listGroupRepositories: {
3336
+ parameters: {
3337
+ query?: never;
3044
3338
  header?: never;
3045
3339
  path: {
3046
3340
  /** @description Collective identifier */
@@ -3680,6 +3974,47 @@ export interface operations {
3680
3974
  };
3681
3975
  };
3682
3976
  };
3977
+ unsubscribeInvitationEmails: {
3978
+ parameters: {
3979
+ query: {
3980
+ /** @description The signed token from the email's unsubscribe link */
3981
+ token: string;
3982
+ };
3983
+ header?: never;
3984
+ path?: never;
3985
+ cookie?: never;
3986
+ };
3987
+ requestBody?: never;
3988
+ responses: {
3989
+ /** @description OK */
3990
+ 200: {
3991
+ headers: {
3992
+ [name: string]: unknown;
3993
+ };
3994
+ content: {
3995
+ "application/json": components["schemas"]["SchemaVillageStatusResponse"];
3996
+ };
3997
+ };
3998
+ /** @description Bad Request */
3999
+ 400: {
4000
+ headers: {
4001
+ [name: string]: unknown;
4002
+ };
4003
+ content: {
4004
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4005
+ };
4006
+ };
4007
+ /** @description Internal Server Error */
4008
+ 500: {
4009
+ headers: {
4010
+ [name: string]: unknown;
4011
+ };
4012
+ content: {
4013
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4014
+ };
4015
+ };
4016
+ };
4017
+ };
3683
4018
  listGroupsDeprecated: {
3684
4019
  parameters: {
3685
4020
  query?: never;
@@ -4116,7 +4451,7 @@ export interface operations {
4116
4451
  };
4117
4452
  };
4118
4453
  };
4119
- joinGroupDeprecated: {
4454
+ listGroupInvitationsDeprecated: {
4120
4455
  parameters: {
4121
4456
  query?: never;
4122
4457
  header?: never;
@@ -4134,7 +4469,7 @@ export interface operations {
4134
4469
  [name: string]: unknown;
4135
4470
  };
4136
4471
  content: {
4137
- "application/json": components["schemas"]["SchemaVillageCollectiveStatusRoleResponse"];
4472
+ "application/json": components["schemas"]["SchemaVillageCollectiveInvitationsSentResponse"];
4138
4473
  };
4139
4474
  };
4140
4475
  /** @description Bad Request */
@@ -4164,24 +4499,6 @@ export interface operations {
4164
4499
  "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4165
4500
  };
4166
4501
  };
4167
- /** @description Not Found */
4168
- 404: {
4169
- headers: {
4170
- [name: string]: unknown;
4171
- };
4172
- content: {
4173
- "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4174
- };
4175
- };
4176
- /** @description Conflict */
4177
- 409: {
4178
- headers: {
4179
- [name: string]: unknown;
4180
- };
4181
- content: {
4182
- "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4183
- };
4184
- };
4185
4502
  /** @description Internal Server Error */
4186
4503
  500: {
4187
4504
  headers: {
@@ -4193,7 +4510,7 @@ export interface operations {
4193
4510
  };
4194
4511
  };
4195
4512
  };
4196
- addGroupMemberDeprecated: {
4513
+ createGroupInvitationDeprecated: {
4197
4514
  parameters: {
4198
4515
  query?: never;
4199
4516
  header?: never;
@@ -4205,12 +4522,12 @@ export interface operations {
4205
4522
  };
4206
4523
  requestBody: {
4207
4524
  content: {
4208
- "application/json": components["schemas"]["SchemaVillageCollectiveMemberUsernameRequest"];
4525
+ "application/json": components["schemas"]["SchemaVillageCollectiveInvitationRequest"];
4209
4526
  };
4210
4527
  };
4211
4528
  responses: {
4212
- /** @description OK */
4213
- 200: {
4529
+ /** @description Accepted */
4530
+ 202: {
4214
4531
  headers: {
4215
4532
  [name: string]: unknown;
4216
4533
  };
@@ -4245,8 +4562,17 @@ export interface operations {
4245
4562
  "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4246
4563
  };
4247
4564
  };
4248
- /** @description Not Found */
4249
- 404: {
4565
+ /** @description Conflict */
4566
+ 409: {
4567
+ headers: {
4568
+ [name: string]: unknown;
4569
+ };
4570
+ content: {
4571
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4572
+ };
4573
+ };
4574
+ /** @description Too Many Requests */
4575
+ 429: {
4250
4576
  headers: {
4251
4577
  [name: string]: unknown;
4252
4578
  };
@@ -4265,17 +4591,15 @@ export interface operations {
4265
4591
  };
4266
4592
  };
4267
4593
  };
4268
- removeGroupMemberDeprecated: {
4594
+ revokeGroupInvitationDeprecated: {
4269
4595
  parameters: {
4270
- query?: {
4271
- retract?: boolean;
4272
- };
4596
+ query?: never;
4273
4597
  header?: never;
4274
4598
  path: {
4275
4599
  /** @description Collective identifier */
4276
4600
  id: components["schemas"]["SchemaVillageUUID"];
4277
- /** @description Member user identifier */
4278
- userID: components["schemas"]["SchemaVillageUUID"];
4601
+ /** @description Invitation identifier */
4602
+ invitationID: components["schemas"]["SchemaVillageUUID"];
4279
4603
  };
4280
4604
  cookie?: never;
4281
4605
  };
@@ -4287,7 +4611,7 @@ export interface operations {
4287
4611
  [name: string]: unknown;
4288
4612
  };
4289
4613
  content: {
4290
- "application/json": components["schemas"]["SchemaVillageRemoveCollectiveMemberResponse"];
4614
+ "application/json": components["schemas"]["SchemaVillageStatusResponse"];
4291
4615
  };
4292
4616
  };
4293
4617
  /** @description Bad Request */
@@ -4317,6 +4641,15 @@ export interface operations {
4317
4641
  "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4318
4642
  };
4319
4643
  };
4644
+ /** @description Not Found */
4645
+ 404: {
4646
+ headers: {
4647
+ [name: string]: unknown;
4648
+ };
4649
+ content: {
4650
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4651
+ };
4652
+ };
4320
4653
  /** @description Internal Server Error */
4321
4654
  500: {
4322
4655
  headers: {
@@ -4328,23 +4661,17 @@ export interface operations {
4328
4661
  };
4329
4662
  };
4330
4663
  };
4331
- updateGroupMemberRoleDeprecated: {
4664
+ joinGroupDeprecated: {
4332
4665
  parameters: {
4333
4666
  query?: never;
4334
4667
  header?: never;
4335
4668
  path: {
4336
4669
  /** @description Collective identifier */
4337
4670
  id: components["schemas"]["SchemaVillageUUID"];
4338
- /** @description Member user identifier */
4339
- userID: components["schemas"]["SchemaVillageUUID"];
4340
4671
  };
4341
4672
  cookie?: never;
4342
4673
  };
4343
- requestBody: {
4344
- content: {
4345
- "application/json": components["schemas"]["SchemaVillageCollectiveMemberRoleRequest"];
4346
- };
4347
- };
4674
+ requestBody?: never;
4348
4675
  responses: {
4349
4676
  /** @description OK */
4350
4677
  200: {
@@ -4391,6 +4718,15 @@ export interface operations {
4391
4718
  "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4392
4719
  };
4393
4720
  };
4721
+ /** @description Conflict */
4722
+ 409: {
4723
+ headers: {
4724
+ [name: string]: unknown;
4725
+ };
4726
+ content: {
4727
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4728
+ };
4729
+ };
4394
4730
  /** @description Internal Server Error */
4395
4731
  500: {
4396
4732
  headers: {
@@ -4402,16 +4738,17 @@ export interface operations {
4402
4738
  };
4403
4739
  };
4404
4740
  };
4405
- listMyGroupSharesDeprecated: {
4741
+ removeGroupMemberDeprecated: {
4406
4742
  parameters: {
4407
4743
  query?: {
4408
- /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
4409
- view?: components["schemas"]["OpenapiVillageGroupedView"];
4744
+ retract?: boolean;
4410
4745
  };
4411
4746
  header?: never;
4412
4747
  path: {
4413
4748
  /** @description Collective identifier */
4414
4749
  id: components["schemas"]["SchemaVillageUUID"];
4750
+ /** @description Member user identifier */
4751
+ userID: components["schemas"]["SchemaVillageUUID"];
4415
4752
  };
4416
4753
  cookie?: never;
4417
4754
  };
@@ -4423,7 +4760,7 @@ export interface operations {
4423
4760
  [name: string]: unknown;
4424
4761
  };
4425
4762
  content: {
4426
- "application/json": components["schemas"]["SchemaVillageUserCollectiveShare"][] | components["schemas"]["SchemaVillageSessionListPayload"];
4763
+ "application/json": components["schemas"]["SchemaVillageRemoveCollectiveMemberResponse"];
4427
4764
  };
4428
4765
  };
4429
4766
  /** @description Bad Request */
@@ -4444,6 +4781,15 @@ export interface operations {
4444
4781
  "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4445
4782
  };
4446
4783
  };
4784
+ /** @description Forbidden */
4785
+ 403: {
4786
+ headers: {
4787
+ [name: string]: unknown;
4788
+ };
4789
+ content: {
4790
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4791
+ };
4792
+ };
4447
4793
  /** @description Internal Server Error */
4448
4794
  500: {
4449
4795
  headers: {
@@ -4455,24 +4801,151 @@ export interface operations {
4455
4801
  };
4456
4802
  };
4457
4803
  };
4458
- listPendingSharesDeprecated: {
4804
+ updateGroupMemberRoleDeprecated: {
4459
4805
  parameters: {
4460
- query?: {
4461
- /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
4462
- view?: components["schemas"]["OpenapiVillageGroupedView"];
4463
- };
4806
+ query?: never;
4464
4807
  header?: never;
4465
4808
  path: {
4466
4809
  /** @description Collective identifier */
4467
4810
  id: components["schemas"]["SchemaVillageUUID"];
4811
+ /** @description Member user identifier */
4812
+ userID: components["schemas"]["SchemaVillageUUID"];
4468
4813
  };
4469
4814
  cookie?: never;
4470
4815
  };
4471
- requestBody?: never;
4472
- responses: {
4473
- /** @description OK */
4474
- 200: {
4475
- headers: {
4816
+ requestBody: {
4817
+ content: {
4818
+ "application/json": components["schemas"]["SchemaVillageCollectiveMemberRoleRequest"];
4819
+ };
4820
+ };
4821
+ responses: {
4822
+ /** @description OK */
4823
+ 200: {
4824
+ headers: {
4825
+ [name: string]: unknown;
4826
+ };
4827
+ content: {
4828
+ "application/json": components["schemas"]["SchemaVillageCollectiveStatusRoleResponse"];
4829
+ };
4830
+ };
4831
+ /** @description Bad Request */
4832
+ 400: {
4833
+ headers: {
4834
+ [name: string]: unknown;
4835
+ };
4836
+ content: {
4837
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4838
+ };
4839
+ };
4840
+ /** @description Unauthorized */
4841
+ 401: {
4842
+ headers: {
4843
+ [name: string]: unknown;
4844
+ };
4845
+ content: {
4846
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4847
+ };
4848
+ };
4849
+ /** @description Forbidden */
4850
+ 403: {
4851
+ headers: {
4852
+ [name: string]: unknown;
4853
+ };
4854
+ content: {
4855
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4856
+ };
4857
+ };
4858
+ /** @description Not Found */
4859
+ 404: {
4860
+ headers: {
4861
+ [name: string]: unknown;
4862
+ };
4863
+ content: {
4864
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4865
+ };
4866
+ };
4867
+ /** @description Internal Server Error */
4868
+ 500: {
4869
+ headers: {
4870
+ [name: string]: unknown;
4871
+ };
4872
+ content: {
4873
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4874
+ };
4875
+ };
4876
+ };
4877
+ };
4878
+ listMyGroupSharesDeprecated: {
4879
+ parameters: {
4880
+ query?: {
4881
+ /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
4882
+ view?: components["schemas"]["OpenapiVillageGroupedView"];
4883
+ };
4884
+ header?: never;
4885
+ path: {
4886
+ /** @description Collective identifier */
4887
+ id: components["schemas"]["SchemaVillageUUID"];
4888
+ };
4889
+ cookie?: never;
4890
+ };
4891
+ requestBody?: never;
4892
+ responses: {
4893
+ /** @description OK */
4894
+ 200: {
4895
+ headers: {
4896
+ [name: string]: unknown;
4897
+ };
4898
+ content: {
4899
+ "application/json": components["schemas"]["SchemaVillageUserCollectiveShare"][] | components["schemas"]["SchemaVillageSessionListPayload"];
4900
+ };
4901
+ };
4902
+ /** @description Bad Request */
4903
+ 400: {
4904
+ headers: {
4905
+ [name: string]: unknown;
4906
+ };
4907
+ content: {
4908
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4909
+ };
4910
+ };
4911
+ /** @description Unauthorized */
4912
+ 401: {
4913
+ headers: {
4914
+ [name: string]: unknown;
4915
+ };
4916
+ content: {
4917
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4918
+ };
4919
+ };
4920
+ /** @description Internal Server Error */
4921
+ 500: {
4922
+ headers: {
4923
+ [name: string]: unknown;
4924
+ };
4925
+ content: {
4926
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
4927
+ };
4928
+ };
4929
+ };
4930
+ };
4931
+ listPendingSharesDeprecated: {
4932
+ parameters: {
4933
+ query?: {
4934
+ /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
4935
+ view?: components["schemas"]["OpenapiVillageGroupedView"];
4936
+ };
4937
+ header?: never;
4938
+ path: {
4939
+ /** @description Collective identifier */
4940
+ id: components["schemas"]["SchemaVillageUUID"];
4941
+ };
4942
+ cookie?: never;
4943
+ };
4944
+ requestBody?: never;
4945
+ responses: {
4946
+ /** @description OK */
4947
+ 200: {
4948
+ headers: {
4476
4949
  [name: string]: unknown;
4477
4950
  };
4478
4951
  content: {
@@ -5274,7 +5747,10 @@ export interface operations {
5274
5747
  /** @description Optional comma-separated collective identifiers. Narrows the list to transcripts with an approved share into any listed collective the caller belongs to. Omission, or only empty elements, lists every pullable transcript. */
5275
5748
  collectives?: string;
5276
5749
  };
5277
- header?: never;
5750
+ header?: {
5751
+ /** @description Optional. The newest pull contract this client reads, as MAJOR.MINOR.PATCH digits (for example 0.3.0). Village serves the highest version it supports that is no newer than this and no older than its minimum. Omitted or malformed (0.3, v0.3.0, any other text), it is treated as absent and Village serves its default (pullContractVersion), so a client with a buggy header still pulls. Below Village's minimum, the read is refused with 406 and a VillageErrorResponse. */
5752
+ "Peasant-Pull-Contract"?: string;
5753
+ };
5278
5754
  path?: never;
5279
5755
  cookie?: never;
5280
5756
  };
@@ -5282,11 +5758,22 @@ export interface operations {
5282
5758
  responses: {
5283
5759
  /** @description OK */
5284
5760
  200: {
5761
+ headers: {
5762
+ /** @description The pull contract version this response was served under. 0.2.0 bodies are the Legacy* envelope; 0.3.0 and any later 0.3.z bodies are the public owner envelope. */
5763
+ "Peasant-Pull-Contract": string;
5764
+ [name: string]: unknown;
5765
+ };
5766
+ content: {
5767
+ "application/json": components["schemas"]["SchemaPullListResponse"] | components["schemas"]["SchemaLegacyPullListResponse"];
5768
+ };
5769
+ };
5770
+ /** @description Not Acceptable */
5771
+ 406: {
5285
5772
  headers: {
5286
5773
  [name: string]: unknown;
5287
5774
  };
5288
5775
  content: {
5289
- "application/json": components["schemas"]["SchemaPullListResponse"];
5776
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
5290
5777
  };
5291
5778
  };
5292
5779
  };
@@ -5318,7 +5805,10 @@ export interface operations {
5318
5805
  getPullTranscript: {
5319
5806
  parameters: {
5320
5807
  query?: never;
5321
- header?: never;
5808
+ header?: {
5809
+ /** @description Optional. The newest pull contract this client reads, as MAJOR.MINOR.PATCH digits (for example 0.3.0). Village serves the highest version it supports that is no newer than this and no older than its minimum. Omitted or malformed (0.3, v0.3.0, any other text), it is treated as absent and Village serves its default (pullContractVersion), so a client with a buggy header still pulls. Below Village's minimum, the read is refused with 406 and a VillageErrorResponse. */
5810
+ "Peasant-Pull-Contract"?: string;
5811
+ };
5322
5812
  path: {
5323
5813
  id: string;
5324
5814
  };
@@ -5329,10 +5819,21 @@ export interface operations {
5329
5819
  /** @description OK */
5330
5820
  200: {
5331
5821
  headers: {
5822
+ /** @description The pull contract version this response was served under. 0.2.0 bodies are the Legacy* envelope; 0.3.0 and any later 0.3.z bodies are the public owner envelope. */
5823
+ "Peasant-Pull-Contract": string;
5332
5824
  [name: string]: unknown;
5333
5825
  };
5334
5826
  content: {
5335
- "application/json": components["schemas"]["SchemaPullTranscriptInfo"];
5827
+ "application/json": components["schemas"]["SchemaPullTranscriptInfo"] | components["schemas"]["SchemaLegacyPullTranscriptInfo"];
5828
+ };
5829
+ };
5830
+ /** @description Not Acceptable */
5831
+ 406: {
5832
+ headers: {
5833
+ [name: string]: unknown;
5834
+ };
5835
+ content: {
5836
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
5336
5837
  };
5337
5838
  };
5338
5839
  };
@@ -5340,7 +5841,10 @@ export interface operations {
5340
5841
  getPullTranscriptAnnotations: {
5341
5842
  parameters: {
5342
5843
  query?: never;
5343
- header?: never;
5844
+ header?: {
5845
+ /** @description Optional. The newest pull contract this client reads, as MAJOR.MINOR.PATCH digits (for example 0.3.0). Village serves the highest version it supports that is no newer than this and no older than its minimum. Omitted or malformed (0.3, v0.3.0, any other text), it is treated as absent and Village serves its default (pullContractVersion), so a client with a buggy header still pulls. Below Village's minimum, the read is refused with 406 and a VillageErrorResponse. */
5846
+ "Peasant-Pull-Contract"?: string;
5847
+ };
5344
5848
  path: {
5345
5849
  id: string;
5346
5850
  };
@@ -5351,10 +5855,21 @@ export interface operations {
5351
5855
  /** @description OK */
5352
5856
  200: {
5353
5857
  headers: {
5858
+ /** @description The pull contract version this response was served under. 0.2.0 bodies are the Legacy* envelope; 0.3.0 and any later 0.3.z bodies are the public owner envelope. */
5859
+ "Peasant-Pull-Contract": string;
5354
5860
  [name: string]: unknown;
5355
5861
  };
5356
5862
  content: {
5357
- "application/json": null | components["schemas"]["SchemaPullAnnotation"][];
5863
+ "application/json": (null | components["schemas"]["SchemaPullAnnotation"][]) | (null | components["schemas"]["SchemaLegacyPullAnnotation"][]);
5864
+ };
5865
+ };
5866
+ /** @description Not Acceptable */
5867
+ 406: {
5868
+ headers: {
5869
+ [name: string]: unknown;
5870
+ };
5871
+ content: {
5872
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
5358
5873
  };
5359
5874
  };
5360
5875
  };
@@ -5362,7 +5877,10 @@ export interface operations {
5362
5877
  getPullTranscriptContent: {
5363
5878
  parameters: {
5364
5879
  query?: never;
5365
- header?: never;
5880
+ header?: {
5881
+ /** @description Optional. The newest pull contract this client reads, as MAJOR.MINOR.PATCH digits (for example 0.3.0). Village serves the highest version it supports that is no newer than this and no older than its minimum. Omitted or malformed (0.3, v0.3.0, any other text), it is treated as absent and Village serves its default (pullContractVersion), so a client with a buggy header still pulls. Below Village's minimum, the read is refused with 406 and a VillageErrorResponse. */
5882
+ "Peasant-Pull-Contract"?: string;
5883
+ };
5366
5884
  path: {
5367
5885
  id: string;
5368
5886
  };
@@ -5370,13 +5888,24 @@ export interface operations {
5370
5888
  };
5371
5889
  requestBody?: never;
5372
5890
  responses: {
5373
- /** @description No Content */
5374
- 204: {
5891
+ /** @description OK */
5892
+ 200: {
5375
5893
  headers: {
5894
+ /** @description The pull contract version this response was served under. 0.2.0 bodies are the Legacy* envelope; 0.3.0 and any later 0.3.z bodies are the public owner envelope. */
5895
+ "Peasant-Pull-Contract": string;
5376
5896
  [name: string]: unknown;
5377
5897
  };
5378
5898
  content?: never;
5379
5899
  };
5900
+ /** @description Not Acceptable */
5901
+ 406: {
5902
+ headers: {
5903
+ [name: string]: unknown;
5904
+ };
5905
+ content: {
5906
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
5907
+ };
5908
+ };
5380
5909
  };
5381
5910
  };
5382
5911
  getPullRequestAttachment: {
@@ -6359,6 +6888,320 @@ export interface operations {
6359
6888
  };
6360
6889
  };
6361
6890
  };
6891
+ setMyNotificationEmail: {
6892
+ parameters: {
6893
+ query?: never;
6894
+ header?: never;
6895
+ path?: never;
6896
+ cookie?: never;
6897
+ };
6898
+ requestBody: {
6899
+ content: {
6900
+ "application/json": components["schemas"]["SchemaVillageSetNotificationEmailRequest"];
6901
+ };
6902
+ };
6903
+ responses: {
6904
+ /** @description OK */
6905
+ 200: {
6906
+ headers: {
6907
+ [name: string]: unknown;
6908
+ };
6909
+ content: {
6910
+ "application/json": components["schemas"]["SchemaVillageUserSettings"];
6911
+ };
6912
+ };
6913
+ /** @description Bad Request */
6914
+ 400: {
6915
+ headers: {
6916
+ [name: string]: unknown;
6917
+ };
6918
+ content: {
6919
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
6920
+ };
6921
+ };
6922
+ /** @description Unauthorized */
6923
+ 401: {
6924
+ headers: {
6925
+ [name: string]: unknown;
6926
+ };
6927
+ content: {
6928
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
6929
+ };
6930
+ };
6931
+ /** @description Too Many Requests */
6932
+ 429: {
6933
+ headers: {
6934
+ [name: string]: unknown;
6935
+ };
6936
+ content: {
6937
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
6938
+ };
6939
+ };
6940
+ /** @description Internal Server Error */
6941
+ 500: {
6942
+ headers: {
6943
+ [name: string]: unknown;
6944
+ };
6945
+ content: {
6946
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
6947
+ };
6948
+ };
6949
+ /** @description Not Implemented */
6950
+ 501: {
6951
+ headers: {
6952
+ [name: string]: unknown;
6953
+ };
6954
+ content: {
6955
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
6956
+ };
6957
+ };
6958
+ };
6959
+ };
6960
+ removeMyNotificationEmail: {
6961
+ parameters: {
6962
+ query?: never;
6963
+ header?: never;
6964
+ path?: never;
6965
+ cookie?: never;
6966
+ };
6967
+ requestBody?: never;
6968
+ responses: {
6969
+ /** @description OK */
6970
+ 200: {
6971
+ headers: {
6972
+ [name: string]: unknown;
6973
+ };
6974
+ content: {
6975
+ "application/json": components["schemas"]["SchemaVillageUserSettings"];
6976
+ };
6977
+ };
6978
+ /** @description Unauthorized */
6979
+ 401: {
6980
+ headers: {
6981
+ [name: string]: unknown;
6982
+ };
6983
+ content: {
6984
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
6985
+ };
6986
+ };
6987
+ /** @description Internal Server Error */
6988
+ 500: {
6989
+ headers: {
6990
+ [name: string]: unknown;
6991
+ };
6992
+ content: {
6993
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
6994
+ };
6995
+ };
6996
+ };
6997
+ };
6998
+ verifyMyNotificationEmail: {
6999
+ parameters: {
7000
+ query?: never;
7001
+ header?: never;
7002
+ path?: never;
7003
+ cookie?: never;
7004
+ };
7005
+ requestBody: {
7006
+ content: {
7007
+ "application/json": components["schemas"]["SchemaVillageVerifyNotificationEmailRequest"];
7008
+ };
7009
+ };
7010
+ responses: {
7011
+ /** @description OK */
7012
+ 200: {
7013
+ headers: {
7014
+ [name: string]: unknown;
7015
+ };
7016
+ content: {
7017
+ "application/json": components["schemas"]["SchemaVillageUserSettings"];
7018
+ };
7019
+ };
7020
+ /** @description Bad Request */
7021
+ 400: {
7022
+ headers: {
7023
+ [name: string]: unknown;
7024
+ };
7025
+ content: {
7026
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
7027
+ };
7028
+ };
7029
+ /** @description Unauthorized */
7030
+ 401: {
7031
+ headers: {
7032
+ [name: string]: unknown;
7033
+ };
7034
+ content: {
7035
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
7036
+ };
7037
+ };
7038
+ /** @description Internal Server Error */
7039
+ 500: {
7040
+ headers: {
7041
+ [name: string]: unknown;
7042
+ };
7043
+ content: {
7044
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
7045
+ };
7046
+ };
7047
+ };
7048
+ };
7049
+ listMyInvitations: {
7050
+ parameters: {
7051
+ query?: never;
7052
+ header?: never;
7053
+ path?: never;
7054
+ cookie?: never;
7055
+ };
7056
+ requestBody?: never;
7057
+ responses: {
7058
+ /** @description OK */
7059
+ 200: {
7060
+ headers: {
7061
+ [name: string]: unknown;
7062
+ };
7063
+ content: {
7064
+ "application/json": components["schemas"]["SchemaVillageMyInvitationsResponse"];
7065
+ };
7066
+ };
7067
+ /** @description Unauthorized */
7068
+ 401: {
7069
+ headers: {
7070
+ [name: string]: unknown;
7071
+ };
7072
+ content: {
7073
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
7074
+ };
7075
+ };
7076
+ /** @description Internal Server Error */
7077
+ 500: {
7078
+ headers: {
7079
+ [name: string]: unknown;
7080
+ };
7081
+ content: {
7082
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
7083
+ };
7084
+ };
7085
+ };
7086
+ };
7087
+ acceptMyInvitation: {
7088
+ parameters: {
7089
+ query?: never;
7090
+ header?: never;
7091
+ path: {
7092
+ /** @description Invitation identifier */
7093
+ invitationID: components["schemas"]["SchemaVillageUUID"];
7094
+ };
7095
+ cookie?: never;
7096
+ };
7097
+ requestBody?: never;
7098
+ responses: {
7099
+ /** @description OK */
7100
+ 200: {
7101
+ headers: {
7102
+ [name: string]: unknown;
7103
+ };
7104
+ content: {
7105
+ "application/json": components["schemas"]["SchemaVillageCollectiveStatusRoleResponse"];
7106
+ };
7107
+ };
7108
+ /** @description Bad Request */
7109
+ 400: {
7110
+ headers: {
7111
+ [name: string]: unknown;
7112
+ };
7113
+ content: {
7114
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
7115
+ };
7116
+ };
7117
+ /** @description Unauthorized */
7118
+ 401: {
7119
+ headers: {
7120
+ [name: string]: unknown;
7121
+ };
7122
+ content: {
7123
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
7124
+ };
7125
+ };
7126
+ /** @description Not Found */
7127
+ 404: {
7128
+ headers: {
7129
+ [name: string]: unknown;
7130
+ };
7131
+ content: {
7132
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
7133
+ };
7134
+ };
7135
+ /** @description Internal Server Error */
7136
+ 500: {
7137
+ headers: {
7138
+ [name: string]: unknown;
7139
+ };
7140
+ content: {
7141
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
7142
+ };
7143
+ };
7144
+ };
7145
+ };
7146
+ declineMyInvitation: {
7147
+ parameters: {
7148
+ query?: never;
7149
+ header?: never;
7150
+ path: {
7151
+ /** @description Invitation identifier */
7152
+ invitationID: components["schemas"]["SchemaVillageUUID"];
7153
+ };
7154
+ cookie?: never;
7155
+ };
7156
+ requestBody?: never;
7157
+ responses: {
7158
+ /** @description OK */
7159
+ 200: {
7160
+ headers: {
7161
+ [name: string]: unknown;
7162
+ };
7163
+ content: {
7164
+ "application/json": components["schemas"]["SchemaVillageStatusResponse"];
7165
+ };
7166
+ };
7167
+ /** @description Bad Request */
7168
+ 400: {
7169
+ headers: {
7170
+ [name: string]: unknown;
7171
+ };
7172
+ content: {
7173
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
7174
+ };
7175
+ };
7176
+ /** @description Unauthorized */
7177
+ 401: {
7178
+ headers: {
7179
+ [name: string]: unknown;
7180
+ };
7181
+ content: {
7182
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
7183
+ };
7184
+ };
7185
+ /** @description Not Found */
7186
+ 404: {
7187
+ headers: {
7188
+ [name: string]: unknown;
7189
+ };
7190
+ content: {
7191
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
7192
+ };
7193
+ };
7194
+ /** @description Internal Server Error */
7195
+ 500: {
7196
+ headers: {
7197
+ [name: string]: unknown;
7198
+ };
7199
+ content: {
7200
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
7201
+ };
7202
+ };
7203
+ };
7204
+ };
6362
7205
  listMyPromptRequests: {
6363
7206
  parameters: {
6364
7207
  query?: never;