@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.
- package/dist/collective-status.d.ts +1 -0
- package/dist/collective-status.js +35 -0
- package/dist/collective-validation.d.ts +19 -0
- package/dist/collective-validation.js +252 -0
- package/dist/contribution-attempt.d.ts +7 -0
- package/dist/contribution-attempt.js +47 -0
- package/dist/fixtures/session-graph.d.ts +15 -15
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/internal/generated/collective-compatibility.gen.d.ts +116 -0
- package/dist/internal/generated/collective-compatibility.gen.js +79 -0
- package/dist/internal/generated/contract/zod.gen.d.ts +4733 -2018
- package/dist/internal/generated/contract/zod.gen.js +499 -136
- package/dist/internal/generated/enums.gen.d.ts +219 -75
- package/dist/internal/generated/enums.gen.js +208 -49
- package/dist/internal/generated/local-api.d.ts +589 -4
- package/dist/internal/generated/public-contract.gen.d.ts +2 -2
- package/dist/internal/generated/public-contract.gen.js +1 -1
- package/dist/internal/generated/session-graph-fixtures.gen.d.ts +15 -15
- package/dist/internal/generated/session-graph-fixtures.gen.js +16 -16
- package/dist/internal/generated/versions.gen.d.ts +3 -3
- package/dist/internal/generated/versions.gen.js +3 -3
- package/dist/internal/generated/village-api.d.ts +2539 -468
- package/package.json +1 -1
|
@@ -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 {
|
|
@@ -686,6 +755,113 @@ export interface components {
|
|
|
686
755
|
*/
|
|
687
756
|
SchemaChannelTopic: Schema.ChannelTopic;
|
|
688
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;
|
|
689
865
|
SchemaCommandInvocation: Schema.CommandInvocation;
|
|
690
866
|
SchemaCommitRef: Schema.CommitRef;
|
|
691
867
|
/**
|
|
@@ -721,6 +897,8 @@ export interface components {
|
|
|
721
897
|
*/
|
|
722
898
|
SchemaContentOwnership: Schema.ContentOwnership;
|
|
723
899
|
SchemaContentProvenance: Schema.ContentProvenance;
|
|
900
|
+
/** @description Opaque versioned selected-category traversal token; not cacheRevision or authority */
|
|
901
|
+
SchemaContributionTraversalRevision: Schema.ContributionTraversalRevision;
|
|
724
902
|
SchemaCreateAnnotationRequest: Schema.CreateAnnotationRequest;
|
|
725
903
|
SchemaCreateAnnotationResponse: Schema.CreateAnnotationResponse;
|
|
726
904
|
SchemaDayStats: Schema.DayStats;
|
|
@@ -844,7 +1022,36 @@ export interface components {
|
|
|
844
1022
|
* @enum {string}
|
|
845
1023
|
*/
|
|
846
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;
|
|
847
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;
|
|
848
1055
|
SchemaLocalPublication: Schema.LocalPublication;
|
|
849
1056
|
SchemaLocalPublicationAttemptFailure: Schema.LocalPublicationAttemptFailure;
|
|
850
1057
|
SchemaLocalPublicationAudienceMember: Schema.LocalPublicationAudienceMember;
|
|
@@ -857,6 +1064,7 @@ export interface components {
|
|
|
857
1064
|
*/
|
|
858
1065
|
SchemaLocalPublicationState: Schema.LocalPublicationState;
|
|
859
1066
|
SchemaLocalPublicationsResponse: Schema.LocalPublicationsResponse;
|
|
1067
|
+
SchemaLocalRemoteContributionAttempt: Schema.LocalRemoteContributionAttempt;
|
|
860
1068
|
SchemaLocalSessionListItem: Schema.LocalSessionListItem;
|
|
861
1069
|
SchemaLocalSessionListPayload: Schema.LocalSessionListPayload;
|
|
862
1070
|
SchemaLocalSessionRow: Schema.LocalSessionRow;
|
|
@@ -966,6 +1174,19 @@ export interface components {
|
|
|
966
1174
|
* @example provider/Model Family
|
|
967
1175
|
*/
|
|
968
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;
|
|
969
1190
|
/**
|
|
970
1191
|
* Project Hash
|
|
971
1192
|
* @description SHA-256 hex digest of the project's origin URL or local path
|
|
@@ -1338,7 +1559,7 @@ export interface components {
|
|
|
1338
1559
|
* @example curated
|
|
1339
1560
|
* @enum {string}
|
|
1340
1561
|
*/
|
|
1341
|
-
|
|
1562
|
+
SchemaVillageCollectiveAcceptanceMode: Schema.VillageCollectiveAcceptanceMode;
|
|
1342
1563
|
/**
|
|
1343
1564
|
* Village Group Data Access
|
|
1344
1565
|
* @description Who may read a collective's pooled transcript data
|
|
@@ -1347,7 +1568,7 @@ export interface components {
|
|
|
1347
1568
|
* @example public
|
|
1348
1569
|
* @enum {string}
|
|
1349
1570
|
*/
|
|
1350
|
-
|
|
1571
|
+
SchemaVillageCollectiveDataAccess: Schema.VillageCollectiveDataAccess;
|
|
1351
1572
|
/**
|
|
1352
1573
|
* Village Group Role
|
|
1353
1574
|
* @description A user's role in one collective
|
|
@@ -1357,7 +1578,7 @@ export interface components {
|
|
|
1357
1578
|
* @example pending
|
|
1358
1579
|
* @enum {string}
|
|
1359
1580
|
*/
|
|
1360
|
-
|
|
1581
|
+
SchemaVillageCollectiveRole: Schema.VillageCollectiveRole;
|
|
1361
1582
|
SchemaVillagePromptRequest: Schema.VillagePromptRequest;
|
|
1362
1583
|
/**
|
|
1363
1584
|
* Village Pull Request Attachment State
|
|
@@ -1370,6 +1591,17 @@ export interface components {
|
|
|
1370
1591
|
* @enum {string}
|
|
1371
1592
|
*/
|
|
1372
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;
|
|
1373
1605
|
/**
|
|
1374
1606
|
* Village Share Status
|
|
1375
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.
|
|
@@ -1396,7 +1628,7 @@ export interface components {
|
|
|
1396
1628
|
* @example 123e4567-e89b-12d3-a456-426614174000
|
|
1397
1629
|
*/
|
|
1398
1630
|
SchemaVillageUUID: Schema.VillageUUID;
|
|
1399
|
-
|
|
1631
|
+
SchemaVillageUserCollective: Schema.VillageUserCollective;
|
|
1400
1632
|
SearchPayload: Schema.SearchPayload;
|
|
1401
1633
|
ServerMessage: Schema.ServerMessage;
|
|
1402
1634
|
SessionDetailPayload: Schema.SessionDetailPayload;
|
|
@@ -2382,6 +2614,297 @@ export interface operations {
|
|
|
2382
2614
|
};
|
|
2383
2615
|
};
|
|
2384
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"];
|
|
2904
|
+
};
|
|
2905
|
+
};
|
|
2906
|
+
};
|
|
2907
|
+
};
|
|
2385
2908
|
listVillageCollectives: {
|
|
2386
2909
|
parameters: {
|
|
2387
2910
|
query?: {
|
|
@@ -2423,4 +2946,66 @@ export interface operations {
|
|
|
2423
2946
|
};
|
|
2424
2947
|
};
|
|
2425
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
|
+
};
|
|
2426
3011
|
}
|