@peasant-labs/schema 0.29.1 → 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.
@@ -503,7 +503,7 @@ export interface paths {
503
503
  path?: never;
504
504
  cookie?: never;
505
505
  };
506
- /** @description List sync candidates with optional owner-nested helper groups. */
506
+ /** @description Omitted view preserves the legacy flat response; view=grouped preserves helper groups and their membership scopes. view=home returns items/next forward pages of selected authoritative roots or general immediate children of parentSessionId, ordered by start time descending then local ID ascending. Only empty next means done: short or empty items may continue. maxItems omitted or zero defaults to 25, positive values clamp to 100; negative, malformed or repeated values return 400. pageToken is opaque and at most 4096 bytes; malformed, unsupported or stale-scope tokens return 400 with recovery guidance to discard continuation and restart, never a usable page. Root project/publication filters apply before paging; child calls reject them. Unknown or unselected parents return 404 without child IDs. Page hydration is limited to returned IDs and includes stored titles, bounded redaction-safe previews and canonical publication state without audience. Auto filtering may inspect scanned candidate repositories. Paging/filter parameters require view=home and are rejected for other views. view=project-options returns the complete metadata-only selected root project picker, sorted by name then hash, deduplicated by hash and independent of publication/current project filters; no counts, Git summaries or enrichment. Reauthorize and reapply canonical selection every request. Tokens are not credentials or snapshots. Selection failures retain 500/code selection_visibility; store failures return 500 and unavailable readers 503, never empty success. */
507
507
  get: operations["listSyncSessionsGrouped"];
508
508
  put?: never;
509
509
  post?: never;
@@ -513,6 +513,58 @@ export interface paths {
513
513
  patch?: never;
514
514
  trace?: never;
515
515
  };
516
+ "/api/v1/village/collective-observations": {
517
+ parameters: {
518
+ query?: never;
519
+ header?: never;
520
+ path?: never;
521
+ cookie?: never;
522
+ };
523
+ /** @description Read saved account-scoped relevant metadata without contacting Village. Never-fetched and known-empty remain distinct. Signed-out private reads never use a last-account fallback. */
524
+ get: operations["listCollectiveObservations"];
525
+ put?: never;
526
+ post?: never;
527
+ delete?: never;
528
+ options?: never;
529
+ head?: never;
530
+ patch?: never;
531
+ trace?: never;
532
+ };
533
+ "/api/v1/village/collective-observations/fetch": {
534
+ parameters: {
535
+ query?: never;
536
+ header?: never;
537
+ path?: never;
538
+ cookie?: never;
539
+ };
540
+ get?: never;
541
+ put?: never;
542
+ /** @description Synchronously fetch metadata only, with no request body. Complete catalog/history install independently; complete association sets install per transcript. Never transfer bodies, publish, join or alter consent. Typed reports on non-2xx preserve every committed effect and prior completion date. Status precedence: persistence > auth > deadline/cancellation > remote/contract > superseded. 200 only complete; initial auth failure commits nothing. No detached job or refresh alias. Returns 403 with a JSON error, and changes nothing, when the request did not come from this local server: its Host header does not name a loopback address, or a browser sent it from another origin. */
543
+ post: operations["fetchCollectiveObservations"];
544
+ delete?: never;
545
+ options?: never;
546
+ head?: never;
547
+ patch?: never;
548
+ trace?: never;
549
+ };
550
+ "/api/v1/village/collective-observations/{collectiveId}/tracking": {
551
+ parameters: {
552
+ query?: never;
553
+ header?: never;
554
+ path?: never;
555
+ cookie?: never;
556
+ };
557
+ get?: never;
558
+ /** @description Verify selected collective visibility online before storing explicit tracking. No body; tracking grants no membership or publication consent. Verification failure writes no preference; unavailable resources use privacy-safe 404. Returns 403 with a JSON error, and changes nothing, when the request did not come from this local server: its Host header does not name a loopback address, or a browser sent it from another origin. */
559
+ put: operations["trackCollectiveObservation"];
560
+ post?: never;
561
+ /** @description Idempotently remove an explicit tracking preference using saved identity offline. No remote mutation or publication consent change. Returns 403 with a JSON error, and changes nothing, when the request did not come from this local server: its Host header does not name a loopback address, or a browser sent it from another origin. */
562
+ delete: operations["untrackCollectiveObservation"];
563
+ options?: never;
564
+ head?: never;
565
+ patch?: never;
566
+ trace?: never;
567
+ };
516
568
  "/api/v1/village/collectives": {
517
569
  parameters: {
518
570
  query?: never;
@@ -530,6 +582,23 @@ export interface paths {
530
582
  patch?: never;
531
583
  trace?: never;
532
584
  };
585
+ "/api/v1/village/contributions": {
586
+ parameters: {
587
+ query?: never;
588
+ header?: never;
589
+ path?: never;
590
+ cookie?: never;
591
+ };
592
+ /** @description Read exactly one bounded evidence category offline. Default remote-attempts, page 1, limit 50; limit 1..200. Page >1 requires revision. Malformed or missing required token is 400; valid selected scope/incarnation/kind/generation mismatch is 409 with currentTraversalRevision and restart guidance. Filter BEFORE total/page. Read token, coverage, filtered total and rows in one storage snapshot. Order remote attempts by collectiveId/transcriptId/event_num ascending, receipts by confirmedAt/receiptId ascending, diagnostics by attemptedAt/operationId ascending. No overall cache revision, joined catalog labels or poll timestamps participate in traversal. */
593
+ get: operations["listLocalContributionEvidence"];
594
+ put?: never;
595
+ post?: never;
596
+ delete?: never;
597
+ options?: never;
598
+ head?: never;
599
+ patch?: never;
600
+ trace?: never;
601
+ };
533
602
  }
534
603
  export type webhooks = Record<string, never>;
535
604
  export interface components {
@@ -545,6 +614,9 @@ export interface components {
545
614
  BestiaryHarness: Schema.Harness;
546
615
  ClientMessage: Schema.ClientMessage;
547
616
  DashboardPayload: Schema.DashboardPayload;
617
+ LocalSyncProjectOption: Schema.LocalSyncProjectOption;
618
+ LocalSyncProjectOptions: Schema.LocalSyncProjectOptions;
619
+ LocalSyncSessionPage: Schema.LocalSyncSessionPage;
548
620
  LocalSyncSessionsPayload: Schema.LocalSyncSessionsPayload;
549
621
  OpenapiLocalErrorResponse: {
550
622
  code?: string;
@@ -683,6 +755,113 @@ export interface components {
683
755
  */
684
756
  SchemaChannelTopic: Schema.ChannelTopic;
685
757
  SchemaChildSessionRef: Schema.ChildSessionRef;
758
+ /**
759
+ * Collective Evidence Coverage
760
+ * @description Available saved evidence or explicitly unknown source ranges
761
+ * @example available
762
+ * @example unknown
763
+ * @enum {string}
764
+ */
765
+ SchemaCollectiveEvidenceCoverage: Schema.CollectiveEvidenceCoverage;
766
+ SchemaCollectiveFetchAssociationResults: Schema.CollectiveFetchAssociationResults;
767
+ SchemaCollectiveFetchAssociationScopeResult: Schema.CollectiveFetchAssociationScopeResult;
768
+ /**
769
+ * Collective Fetch Commit
770
+ * @description Committed effect, including earlier commits before cancellation
771
+ * @example updated
772
+ * @example unchanged
773
+ * @example retained
774
+ * @enum {string}
775
+ */
776
+ SchemaCollectiveFetchCommit: Schema.CollectiveFetchCommit;
777
+ /**
778
+ * Collective Fetch Domain
779
+ * @description Independently installed complete metadata dataset
780
+ * @example catalog
781
+ * @example history
782
+ * @example associations
783
+ * @enum {string}
784
+ */
785
+ SchemaCollectiveFetchDomain: Schema.CollectiveFetchDomain;
786
+ SchemaCollectiveFetchDomainResult: Schema.CollectiveFetchDomainResult;
787
+ SchemaCollectiveFetchDomainSummary: Schema.CollectiveFetchDomainSummary;
788
+ /**
789
+ * Collective Fetch Outcome
790
+ * @description Complete only when every requested required scope completed
791
+ * @example complete
792
+ * @example partial
793
+ * @example failed
794
+ * @enum {string}
795
+ */
796
+ SchemaCollectiveFetchOutcome: Schema.CollectiveFetchOutcome;
797
+ SchemaCollectiveFetchReport: Schema.CollectiveFetchReport;
798
+ SchemaCollectiveFetchSourceResult: Schema.CollectiveFetchSourceResult;
799
+ /**
800
+ * Collective Fetch State
801
+ * @description One invocation result; a failed domain retains prior completed dates
802
+ * @example complete
803
+ * @example failed
804
+ * @example cancelled
805
+ * @example superseded
806
+ * @example not_requested
807
+ * @enum {string}
808
+ */
809
+ SchemaCollectiveFetchState: Schema.CollectiveFetchState;
810
+ SchemaCollectiveFetchSummary: Schema.CollectiveFetchSummary;
811
+ SchemaCollectiveObservation: Schema.CollectiveObservation;
812
+ /**
813
+ * Collective Observation Reason
814
+ * @description Independent dated relevance reason, not authority
815
+ * @example membership
816
+ * @example contribution
817
+ * @example organization
818
+ * @example explicit
819
+ * @enum {string}
820
+ */
821
+ SchemaCollectiveObservationReason: Schema.CollectiveObservationReason;
822
+ SchemaCollectiveObservationResponse: Schema.CollectiveObservationResponse;
823
+ SchemaCollectiveObservationScope: Schema.CollectiveObservationScope;
824
+ /**
825
+ * Collective Observation Source
826
+ * @description Narrow metadata source, no world directory or transcript content
827
+ * @example membership
828
+ * @example contribution-discovery
829
+ * @example organization
830
+ * @example explicit
831
+ * @example submissions
832
+ * @example attempts
833
+ * @example associations
834
+ * @enum {string}
835
+ */
836
+ SchemaCollectiveObservationSource: Schema.CollectiveObservationSource;
837
+ /**
838
+ * Collective Observation State
839
+ * @description Dated disclosure state, never current authorization
840
+ * @example observed
841
+ * @example unavailable
842
+ * @example invalidated
843
+ * @enum {string}
844
+ */
845
+ SchemaCollectiveObservationState: Schema.CollectiveObservationState;
846
+ /**
847
+ * Collective Operation
848
+ * @description Operation whose actual outcome is recorded
849
+ * @example publish
850
+ * @example share
851
+ * @example fetch
852
+ * @example pull
853
+ * @enum {string}
854
+ */
855
+ SchemaCollectiveOperation: Schema.CollectiveOperation;
856
+ /**
857
+ * Collective Source Outcome
858
+ * @description Privacy-safe source outcome without hidden reasons
859
+ * @example disclosed
860
+ * @example not_disclosed
861
+ * @example failed
862
+ * @enum {string}
863
+ */
864
+ SchemaCollectiveSourceOutcome: Schema.CollectiveSourceOutcome;
686
865
  SchemaCommandInvocation: Schema.CommandInvocation;
687
866
  SchemaCommitRef: Schema.CommitRef;
688
867
  /**
@@ -718,6 +897,8 @@ export interface components {
718
897
  */
719
898
  SchemaContentOwnership: Schema.ContentOwnership;
720
899
  SchemaContentProvenance: Schema.ContentProvenance;
900
+ /** @description Opaque versioned selected-category traversal token; not cacheRevision or authority */
901
+ SchemaContributionTraversalRevision: Schema.ContributionTraversalRevision;
721
902
  SchemaCreateAnnotationRequest: Schema.CreateAnnotationRequest;
722
903
  SchemaCreateAnnotationResponse: Schema.CreateAnnotationResponse;
723
904
  SchemaDayStats: Schema.DayStats;
@@ -841,7 +1022,36 @@ export interface components {
841
1022
  * @enum {string}
842
1023
  */
843
1024
  SchemaLocalCollectiveSuggestionReason: Schema.LocalCollectiveSuggestionReason;
1025
+ /**
1026
+ * Confirmed Contribution Outcome
1027
+ * @description Actual request effect, never collective approval
1028
+ * @example published
1029
+ * @example submitted
1030
+ * @enum {string}
1031
+ */
1032
+ SchemaLocalConfirmedContributionOutcome: Schema.LocalConfirmedContributionOutcome;
1033
+ SchemaLocalConfirmedContributionReceipt: Schema.LocalConfirmedContributionReceipt;
1034
+ /**
1035
+ * Local Contribution Evidence Kind
1036
+ * @description One independently bounded evidence category
1037
+ * @example remote-attempts
1038
+ * @example receipts
1039
+ * @example operation-diagnostics
1040
+ * @enum {string}
1041
+ */
1042
+ SchemaLocalContributionEvidenceKind: Schema.LocalContributionEvidenceKind;
1043
+ SchemaLocalContributionHistoryResponse: Schema.LocalContributionHistoryResponse;
1044
+ SchemaLocalContributionTraversalConflict: Schema.LocalContributionTraversalConflict;
844
1045
  SchemaLocalHelperMembersPayload: Schema.LocalHelperMembersPayload;
1046
+ SchemaLocalOperationDiagnostic: Schema.LocalOperationDiagnostic;
1047
+ /**
1048
+ * Local Operation Diagnostic Outcome
1049
+ * @description Failure or uncertain remote effect, never successful contribution
1050
+ * @example failed
1051
+ * @example uncertain
1052
+ * @enum {string}
1053
+ */
1054
+ SchemaLocalOperationDiagnosticOutcome: Schema.LocalOperationDiagnosticOutcome;
845
1055
  SchemaLocalPublication: Schema.LocalPublication;
846
1056
  SchemaLocalPublicationAttemptFailure: Schema.LocalPublicationAttemptFailure;
847
1057
  SchemaLocalPublicationAudienceMember: Schema.LocalPublicationAudienceMember;
@@ -854,6 +1064,7 @@ export interface components {
854
1064
  */
855
1065
  SchemaLocalPublicationState: Schema.LocalPublicationState;
856
1066
  SchemaLocalPublicationsResponse: Schema.LocalPublicationsResponse;
1067
+ SchemaLocalRemoteContributionAttempt: Schema.LocalRemoteContributionAttempt;
857
1068
  SchemaLocalSessionListItem: Schema.LocalSessionListItem;
858
1069
  SchemaLocalSessionListPayload: Schema.LocalSessionListPayload;
859
1070
  SchemaLocalSessionRow: Schema.LocalSessionRow;
@@ -878,6 +1089,17 @@ export interface components {
878
1089
  */
879
1090
  SchemaLocalSettingValue: Schema.LocalSettingValue;
880
1091
  SchemaLocalSettingsResponse: Schema.LocalSettingsResponse;
1092
+ /**
1093
+ * Local Sync Publication Filter
1094
+ * @description Root publication filter; auto uses the canonical live hook decision
1095
+ * @example all
1096
+ * @example not-published
1097
+ * @example published
1098
+ * @example auto
1099
+ * @enum {string}
1100
+ */
1101
+ SchemaLocalSyncPublicationFilter: Schema.LocalSyncPublicationFilter;
1102
+ SchemaLocalSyncSessionRow: Schema.LocalSyncSessionRow;
881
1103
  SchemaLocalSyncSummary: Schema.LocalSyncSummary;
882
1104
  SchemaLocalVillageCollective: Schema.LocalVillageCollective;
883
1105
  SchemaLocalVillageCollectivesResponse: Schema.LocalVillageCollectivesResponse;
@@ -952,6 +1174,19 @@ export interface components {
952
1174
  * @example provider/Model Family
953
1175
  */
954
1176
  SchemaObservedModelID: Schema.ObservedModelID;
1177
+ SchemaOperationIssue: Schema.OperationIssue;
1178
+ /**
1179
+ * Operation Issue Code
1180
+ * @description Bounded failure category; retry is corrective text only
1181
+ * @example auth
1182
+ * @example remote
1183
+ * @example contract
1184
+ * @example deadline
1185
+ * @example persistence
1186
+ * @example superseded
1187
+ * @enum {string}
1188
+ */
1189
+ SchemaOperationIssueCode: Schema.OperationIssueCode;
955
1190
  /**
956
1191
  * Project Hash
957
1192
  * @description SHA-256 hex digest of the project's origin URL or local path
@@ -1324,7 +1559,7 @@ export interface components {
1324
1559
  * @example curated
1325
1560
  * @enum {string}
1326
1561
  */
1327
- SchemaVillageGroupAcceptanceMode: Schema.VillageGroupAcceptanceMode;
1562
+ SchemaVillageCollectiveAcceptanceMode: Schema.VillageCollectiveAcceptanceMode;
1328
1563
  /**
1329
1564
  * Village Group Data Access
1330
1565
  * @description Who may read a collective's pooled transcript data
@@ -1333,7 +1568,7 @@ export interface components {
1333
1568
  * @example public
1334
1569
  * @enum {string}
1335
1570
  */
1336
- SchemaVillageGroupDataAccess: Schema.VillageGroupDataAccess;
1571
+ SchemaVillageCollectiveDataAccess: Schema.VillageCollectiveDataAccess;
1337
1572
  /**
1338
1573
  * Village Group Role
1339
1574
  * @description A user's role in one collective
@@ -1343,7 +1578,7 @@ export interface components {
1343
1578
  * @example pending
1344
1579
  * @enum {string}
1345
1580
  */
1346
- SchemaVillageGroupRole: Schema.VillageGroupRole;
1581
+ SchemaVillageCollectiveRole: Schema.VillageCollectiveRole;
1347
1582
  SchemaVillagePromptRequest: Schema.VillagePromptRequest;
1348
1583
  /**
1349
1584
  * Village Pull Request Attachment State
@@ -1356,6 +1591,17 @@ export interface components {
1356
1591
  * @enum {string}
1357
1592
  */
1358
1593
  SchemaVillagePullRequestAttachmentState: Schema.VillagePullRequestAttachmentState;
1594
+ SchemaVillageShareEvent: Schema.VillageShareEvent;
1595
+ /**
1596
+ * Village Share Event Actor
1597
+ * @description Actor class that decided one collective share event
1598
+ * @example
1599
+ * @example owner
1600
+ * @example collective
1601
+ * @example moderator
1602
+ * @enum {string}
1603
+ */
1604
+ SchemaVillageShareEventActor: Schema.VillageShareEventActor;
1359
1605
  /**
1360
1606
  * Village Share Status
1361
1607
  * @description Status of one collective share-attempt event. Pending, approved, and rejected can appear in current projections; retracted and revoked are terminal ledger states.
@@ -1382,7 +1628,7 @@ export interface components {
1382
1628
  * @example 123e4567-e89b-12d3-a456-426614174000
1383
1629
  */
1384
1630
  SchemaVillageUUID: Schema.VillageUUID;
1385
- SchemaVillageUserGroup: Schema.VillageUserGroup;
1631
+ SchemaVillageUserCollective: Schema.VillageUserCollective;
1386
1632
  SearchPayload: Schema.SearchPayload;
1387
1633
  ServerMessage: Schema.ServerMessage;
1388
1634
  SessionDetailPayload: Schema.SessionDetailPayload;
@@ -2305,8 +2551,15 @@ export interface operations {
2305
2551
  listSyncSessionsGrouped: {
2306
2552
  parameters: {
2307
2553
  query?: {
2308
- /** @description Set to grouped for grouped rows */
2309
- view?: "grouped";
2554
+ /** @description Omit for legacy flat rows; grouped retains helper groups; home selects forward pages; project-options selects metadata-only root projects */
2555
+ view?: "grouped" | "home" | "project-options";
2556
+ /** @description Home only: omitted or zero defaults to 25; positive values clamp to 100; negative, malformed or repeated values are rejected */
2557
+ maxItems?: number;
2558
+ /** @description Home only: opaque continuation, omitted or empty starts; at most 4096 bytes; repeated values are rejected */
2559
+ pageToken?: string;
2560
+ parentSessionId?: string;
2561
+ projectHash?: components["schemas"]["SchemaProjectHash"];
2562
+ publication?: components["schemas"]["SchemaLocalSyncPublicationFilter"];
2310
2563
  };
2311
2564
  header?: never;
2312
2565
  path?: never;
@@ -2320,7 +2573,334 @@ export interface operations {
2320
2573
  [name: string]: unknown;
2321
2574
  };
2322
2575
  content: {
2323
- "application/json": components["schemas"]["LocalSyncSessionsPayload"] | components["schemas"]["SchemaLocalSessionListPayload"];
2576
+ "application/json": components["schemas"]["LocalSyncSessionsPayload"] | components["schemas"]["SchemaLocalSessionListPayload"] | components["schemas"]["LocalSyncSessionPage"] | components["schemas"]["LocalSyncProjectOptions"];
2577
+ };
2578
+ };
2579
+ /** @description Bad Request */
2580
+ 400: {
2581
+ headers: {
2582
+ [name: string]: unknown;
2583
+ };
2584
+ content: {
2585
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2586
+ };
2587
+ };
2588
+ /** @description Not Found */
2589
+ 404: {
2590
+ headers: {
2591
+ [name: string]: unknown;
2592
+ };
2593
+ content: {
2594
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2595
+ };
2596
+ };
2597
+ /** @description Internal Server Error */
2598
+ 500: {
2599
+ headers: {
2600
+ [name: string]: unknown;
2601
+ };
2602
+ content: {
2603
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2604
+ };
2605
+ };
2606
+ /** @description Service Unavailable */
2607
+ 503: {
2608
+ headers: {
2609
+ [name: string]: unknown;
2610
+ };
2611
+ content: {
2612
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2613
+ };
2614
+ };
2615
+ };
2616
+ };
2617
+ listCollectiveObservations: {
2618
+ parameters: {
2619
+ query?: never;
2620
+ header?: never;
2621
+ path?: never;
2622
+ cookie?: never;
2623
+ };
2624
+ requestBody?: never;
2625
+ responses: {
2626
+ /** @description OK */
2627
+ 200: {
2628
+ headers: {
2629
+ [name: string]: unknown;
2630
+ };
2631
+ content: {
2632
+ "application/json": components["schemas"]["SchemaCollectiveObservationResponse"];
2633
+ };
2634
+ };
2635
+ /** @description Bad Request */
2636
+ 400: {
2637
+ headers: {
2638
+ [name: string]: unknown;
2639
+ };
2640
+ content: {
2641
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2642
+ };
2643
+ };
2644
+ /** @description Unauthorized */
2645
+ 401: {
2646
+ headers: {
2647
+ [name: string]: unknown;
2648
+ };
2649
+ content: {
2650
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2651
+ };
2652
+ };
2653
+ /** @description Internal Server Error */
2654
+ 500: {
2655
+ headers: {
2656
+ [name: string]: unknown;
2657
+ };
2658
+ content: {
2659
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2660
+ };
2661
+ };
2662
+ };
2663
+ };
2664
+ fetchCollectiveObservations: {
2665
+ parameters: {
2666
+ query?: never;
2667
+ header?: never;
2668
+ path?: never;
2669
+ cookie?: never;
2670
+ };
2671
+ requestBody?: never;
2672
+ responses: {
2673
+ /** @description OK */
2674
+ 200: {
2675
+ headers: {
2676
+ [name: string]: unknown;
2677
+ };
2678
+ content: {
2679
+ "application/json": components["schemas"]["SchemaCollectiveFetchReport"];
2680
+ };
2681
+ };
2682
+ /** @description Unauthorized */
2683
+ 401: {
2684
+ headers: {
2685
+ [name: string]: unknown;
2686
+ };
2687
+ content: {
2688
+ "application/json": components["schemas"]["SchemaCollectiveFetchReport"] | components["schemas"]["OpenapiLocalErrorResponse"];
2689
+ };
2690
+ };
2691
+ /** @description Forbidden */
2692
+ 403: {
2693
+ headers: {
2694
+ [name: string]: unknown;
2695
+ };
2696
+ content: {
2697
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2698
+ };
2699
+ };
2700
+ /** @description Conflict */
2701
+ 409: {
2702
+ headers: {
2703
+ [name: string]: unknown;
2704
+ };
2705
+ content: {
2706
+ "application/json": components["schemas"]["SchemaCollectiveFetchReport"];
2707
+ };
2708
+ };
2709
+ /** @description Internal Server Error */
2710
+ 500: {
2711
+ headers: {
2712
+ [name: string]: unknown;
2713
+ };
2714
+ content: {
2715
+ "application/json": components["schemas"]["SchemaCollectiveFetchReport"];
2716
+ };
2717
+ };
2718
+ /** @description Bad Gateway */
2719
+ 502: {
2720
+ headers: {
2721
+ [name: string]: unknown;
2722
+ };
2723
+ content: {
2724
+ "application/json": components["schemas"]["SchemaCollectiveFetchReport"];
2725
+ };
2726
+ };
2727
+ /** @description Gateway Timeout */
2728
+ 504: {
2729
+ headers: {
2730
+ [name: string]: unknown;
2731
+ };
2732
+ content: {
2733
+ "application/json": components["schemas"]["SchemaCollectiveFetchReport"];
2734
+ };
2735
+ };
2736
+ };
2737
+ };
2738
+ trackCollectiveObservation: {
2739
+ parameters: {
2740
+ query?: never;
2741
+ header?: never;
2742
+ path: {
2743
+ collectiveId: components["schemas"]["SchemaVillageUUID"];
2744
+ };
2745
+ cookie?: never;
2746
+ };
2747
+ requestBody?: never;
2748
+ responses: {
2749
+ /** @description OK */
2750
+ 200: {
2751
+ headers: {
2752
+ [name: string]: unknown;
2753
+ };
2754
+ content: {
2755
+ "application/json": components["schemas"]["SchemaCollectiveObservationResponse"];
2756
+ };
2757
+ };
2758
+ /** @description Bad Request */
2759
+ 400: {
2760
+ headers: {
2761
+ [name: string]: unknown;
2762
+ };
2763
+ content: {
2764
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2765
+ };
2766
+ };
2767
+ /** @description Unauthorized */
2768
+ 401: {
2769
+ headers: {
2770
+ [name: string]: unknown;
2771
+ };
2772
+ content: {
2773
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2774
+ };
2775
+ };
2776
+ /** @description Forbidden */
2777
+ 403: {
2778
+ headers: {
2779
+ [name: string]: unknown;
2780
+ };
2781
+ content: {
2782
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2783
+ };
2784
+ };
2785
+ /** @description Not Found */
2786
+ 404: {
2787
+ headers: {
2788
+ [name: string]: unknown;
2789
+ };
2790
+ content: {
2791
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2792
+ };
2793
+ };
2794
+ /** @description Internal Server Error */
2795
+ 500: {
2796
+ headers: {
2797
+ [name: string]: unknown;
2798
+ };
2799
+ content: {
2800
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2801
+ };
2802
+ };
2803
+ /** @description Bad Gateway */
2804
+ 502: {
2805
+ headers: {
2806
+ [name: string]: unknown;
2807
+ };
2808
+ content: {
2809
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2810
+ };
2811
+ };
2812
+ /** @description Gateway Timeout */
2813
+ 504: {
2814
+ headers: {
2815
+ [name: string]: unknown;
2816
+ };
2817
+ content: {
2818
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2819
+ };
2820
+ };
2821
+ };
2822
+ };
2823
+ untrackCollectiveObservation: {
2824
+ parameters: {
2825
+ query?: never;
2826
+ header?: never;
2827
+ path: {
2828
+ collectiveId: components["schemas"]["SchemaVillageUUID"];
2829
+ };
2830
+ cookie?: never;
2831
+ };
2832
+ requestBody?: never;
2833
+ responses: {
2834
+ /** @description OK */
2835
+ 200: {
2836
+ headers: {
2837
+ [name: string]: unknown;
2838
+ };
2839
+ content: {
2840
+ "application/json": components["schemas"]["SchemaCollectiveObservationResponse"];
2841
+ };
2842
+ };
2843
+ /** @description Bad Request */
2844
+ 400: {
2845
+ headers: {
2846
+ [name: string]: unknown;
2847
+ };
2848
+ content: {
2849
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2850
+ };
2851
+ };
2852
+ /** @description Unauthorized */
2853
+ 401: {
2854
+ headers: {
2855
+ [name: string]: unknown;
2856
+ };
2857
+ content: {
2858
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2859
+ };
2860
+ };
2861
+ /** @description Forbidden */
2862
+ 403: {
2863
+ headers: {
2864
+ [name: string]: unknown;
2865
+ };
2866
+ content: {
2867
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2868
+ };
2869
+ };
2870
+ /** @description Not Found */
2871
+ 404: {
2872
+ headers: {
2873
+ [name: string]: unknown;
2874
+ };
2875
+ content: {
2876
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2877
+ };
2878
+ };
2879
+ /** @description Internal Server Error */
2880
+ 500: {
2881
+ headers: {
2882
+ [name: string]: unknown;
2883
+ };
2884
+ content: {
2885
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2886
+ };
2887
+ };
2888
+ /** @description Bad Gateway */
2889
+ 502: {
2890
+ headers: {
2891
+ [name: string]: unknown;
2892
+ };
2893
+ content: {
2894
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2895
+ };
2896
+ };
2897
+ /** @description Gateway Timeout */
2898
+ 504: {
2899
+ headers: {
2900
+ [name: string]: unknown;
2901
+ };
2902
+ content: {
2903
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2324
2904
  };
2325
2905
  };
2326
2906
  };
@@ -2366,4 +2946,66 @@ export interface operations {
2366
2946
  };
2367
2947
  };
2368
2948
  };
2949
+ listLocalContributionEvidence: {
2950
+ parameters: {
2951
+ query?: {
2952
+ kind?: components["schemas"]["SchemaLocalContributionEvidenceKind"];
2953
+ collectiveId?: components["schemas"]["SchemaVillageUUID"];
2954
+ page?: number;
2955
+ limit?: number;
2956
+ revision?: components["schemas"]["SchemaContributionTraversalRevision"];
2957
+ };
2958
+ header?: never;
2959
+ path?: never;
2960
+ cookie?: never;
2961
+ };
2962
+ requestBody?: never;
2963
+ responses: {
2964
+ /** @description OK */
2965
+ 200: {
2966
+ headers: {
2967
+ [name: string]: unknown;
2968
+ };
2969
+ content: {
2970
+ "application/json": components["schemas"]["SchemaLocalContributionHistoryResponse"];
2971
+ };
2972
+ };
2973
+ /** @description Bad Request */
2974
+ 400: {
2975
+ headers: {
2976
+ [name: string]: unknown;
2977
+ };
2978
+ content: {
2979
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2980
+ };
2981
+ };
2982
+ /** @description Unauthorized */
2983
+ 401: {
2984
+ headers: {
2985
+ [name: string]: unknown;
2986
+ };
2987
+ content: {
2988
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
2989
+ };
2990
+ };
2991
+ /** @description Conflict */
2992
+ 409: {
2993
+ headers: {
2994
+ [name: string]: unknown;
2995
+ };
2996
+ content: {
2997
+ "application/json": components["schemas"]["SchemaLocalContributionTraversalConflict"];
2998
+ };
2999
+ };
3000
+ /** @description Internal Server Error */
3001
+ 500: {
3002
+ headers: {
3003
+ [name: string]: unknown;
3004
+ };
3005
+ content: {
3006
+ "application/json": components["schemas"]["OpenapiLocalErrorResponse"];
3007
+ };
3008
+ };
3009
+ };
3010
+ };
2369
3011
  }