@peasant-labs/schema 0.1.0-rc8 → 0.1.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/internal/generated/contract/zod.gen.d.ts +1262 -91
- package/dist/internal/generated/contract/zod.gen.js +462 -13
- package/dist/internal/generated/enums.gen.d.ts +42 -6
- package/dist/internal/generated/enums.gen.js +41 -1
- package/dist/internal/generated/local-api.d.ts +3 -1
- 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/versions.gen.d.ts +3 -3
- package/dist/internal/generated/versions.gen.js +3 -3
- package/dist/internal/generated/village-api.d.ts +234 -32
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { type PublishOperationKind as PublishOperationKindContract } from "./contract/zod.gen.js";
|
|
2
|
+
import { type VisibilityIntent as VisibilityIntentContract } from "./contract/zod.gen.js";
|
|
1
3
|
import { type AnnotationAxis as AnnotationAxisContract } from "./contract/zod.gen.js";
|
|
2
4
|
import { type AnnotationDatatype as AnnotationDatatypeContract } from "./contract/zod.gen.js";
|
|
3
5
|
import { type AnnotationPushStatus as AnnotationPushStatusContract } from "./contract/zod.gen.js";
|
|
@@ -35,7 +37,24 @@ import { type TargetKind as TargetKindContract } from "./contract/zod.gen.js";
|
|
|
35
37
|
import { type ToolCallKind as ToolCallKindContract } from "./contract/zod.gen.js";
|
|
36
38
|
import { type TypeOrigin as TypeOriginContract } from "./contract/zod.gen.js";
|
|
37
39
|
import { type ValueDomainKind as ValueDomainKindContract } from "./contract/zod.gen.js";
|
|
40
|
+
import { type TranscriptUpdateLicense as TranscriptUpdateLicenseContract } from "./contract/zod.gen.js";
|
|
41
|
+
import { type TranscriptUpdateVisibility as TranscriptUpdateVisibilityContract } from "./contract/zod.gen.js";
|
|
38
42
|
import { type Visibility as VisibilityContract } from "./contract/zod.gen.js";
|
|
43
|
+
export type PublishOperationKind = PublishOperationKindContract;
|
|
44
|
+
export declare const PublishOperationKind: Readonly<{
|
|
45
|
+
readonly Preserve: "replace" | "append" | "preserve";
|
|
46
|
+
readonly Replace: "replace" | "append" | "preserve";
|
|
47
|
+
readonly Append: "replace" | "append" | "preserve";
|
|
48
|
+
}>;
|
|
49
|
+
export declare const AllPublishOperationKinds: readonly PublishOperationKind[];
|
|
50
|
+
export declare function isPublishOperationKind(value: unknown): value is PublishOperationKind;
|
|
51
|
+
export type VisibilityIntent = VisibilityIntentContract;
|
|
52
|
+
export declare const VisibilityIntent: Readonly<{
|
|
53
|
+
readonly Private: "private" | "public";
|
|
54
|
+
readonly Public: "private" | "public";
|
|
55
|
+
}>;
|
|
56
|
+
export declare const AllVisibilityIntents: readonly VisibilityIntent[];
|
|
57
|
+
export declare function isVisibilityIntent(value: unknown): value is VisibilityIntent;
|
|
39
58
|
export type AnnotationAxis = AnnotationAxisContract;
|
|
40
59
|
export declare const AnnotationAxis: Readonly<{
|
|
41
60
|
readonly Type: "type" | "session" | "project";
|
|
@@ -206,12 +225,13 @@ export declare const AllFileChangeStatuses: readonly FileChangeStatus[];
|
|
|
206
225
|
export declare function isFileChangeStatus(value: unknown): value is FileChangeStatus;
|
|
207
226
|
export type Harness = HarnessContract;
|
|
208
227
|
export declare const Harness: Readonly<{
|
|
209
|
-
readonly ClaudeCode: "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
210
|
-
readonly GeminiCLI: "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
211
|
-
readonly Codex: "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
212
|
-
readonly OpenCode: "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
213
|
-
readonly Cursor: "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
214
|
-
readonly Antigravity: "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
228
|
+
readonly ClaudeCode: "strike" | "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
229
|
+
readonly GeminiCLI: "strike" | "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
230
|
+
readonly Codex: "strike" | "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
231
|
+
readonly OpenCode: "strike" | "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
232
|
+
readonly Cursor: "strike" | "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
233
|
+
readonly Antigravity: "strike" | "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
234
|
+
readonly Strike: "strike" | "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
215
235
|
}>;
|
|
216
236
|
/**
|
|
217
237
|
* AllHarnesses is the ingestion-supported subset of Harness, not the full
|
|
@@ -395,6 +415,22 @@ export declare const ValueDomainKind: Readonly<{
|
|
|
395
415
|
}>;
|
|
396
416
|
export declare const AllValueDomainKinds: readonly ValueDomainKind[];
|
|
397
417
|
export declare function isValueDomainKind(value: unknown): value is ValueDomainKind;
|
|
418
|
+
export type TranscriptUpdateLicense = TranscriptUpdateLicenseContract;
|
|
419
|
+
export declare const TranscriptUpdateLicense: Readonly<{
|
|
420
|
+
readonly Clear: "" | "CC0-1.0" | "CC-BY-4.0" | "CC-BY-SA-4.0";
|
|
421
|
+
readonly CC0: "" | "CC0-1.0" | "CC-BY-4.0" | "CC-BY-SA-4.0";
|
|
422
|
+
readonly CCBY: "" | "CC0-1.0" | "CC-BY-4.0" | "CC-BY-SA-4.0";
|
|
423
|
+
readonly CCBYSA: "" | "CC0-1.0" | "CC-BY-4.0" | "CC-BY-SA-4.0";
|
|
424
|
+
}>;
|
|
425
|
+
export declare const AllTranscriptUpdateLicenses: readonly TranscriptUpdateLicense[];
|
|
426
|
+
export declare function isTranscriptUpdateLicense(value: unknown): value is TranscriptUpdateLicense;
|
|
427
|
+
export type TranscriptUpdateVisibility = TranscriptUpdateVisibilityContract;
|
|
428
|
+
export declare const TranscriptUpdateVisibility: Readonly<{
|
|
429
|
+
readonly Private: "private" | "public";
|
|
430
|
+
readonly Public: "private" | "public";
|
|
431
|
+
}>;
|
|
432
|
+
export declare const AllTranscriptUpdateVisibilities: readonly TranscriptUpdateVisibility[];
|
|
433
|
+
export declare function isTranscriptUpdateVisibility(value: unknown): value is TranscriptUpdateVisibility;
|
|
398
434
|
export type Visibility = VisibilityContract;
|
|
399
435
|
export declare const Visibility: Readonly<{
|
|
400
436
|
readonly Private: "private" | "public" | "group";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
// Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
|
|
2
|
+
import { zPublishOperationKind } from "./contract/zod.gen.js";
|
|
3
|
+
import { zVisibilityIntent } from "./contract/zod.gen.js";
|
|
2
4
|
import { zAnnotationAxis } from "./contract/zod.gen.js";
|
|
3
5
|
import { zAnnotationDatatype } from "./contract/zod.gen.js";
|
|
4
6
|
import { zAnnotationPushStatus } from "./contract/zod.gen.js";
|
|
@@ -36,7 +38,26 @@ import { zTargetKind } from "./contract/zod.gen.js";
|
|
|
36
38
|
import { zToolCallKind } from "./contract/zod.gen.js";
|
|
37
39
|
import { zTypeOrigin } from "./contract/zod.gen.js";
|
|
38
40
|
import { zValueDomainKind } from "./contract/zod.gen.js";
|
|
41
|
+
import { zTranscriptUpdateLicense } from "./contract/zod.gen.js";
|
|
42
|
+
import { zTranscriptUpdateVisibility } from "./contract/zod.gen.js";
|
|
39
43
|
import { zVisibility } from "./contract/zod.gen.js";
|
|
44
|
+
export const PublishOperationKind = Object.freeze({
|
|
45
|
+
Preserve: zPublishOperationKind.parse("preserve"),
|
|
46
|
+
Replace: zPublishOperationKind.parse("replace"),
|
|
47
|
+
Append: zPublishOperationKind.parse("append"),
|
|
48
|
+
});
|
|
49
|
+
export const AllPublishOperationKinds = Object.freeze([PublishOperationKind.Preserve, PublishOperationKind.Replace, PublishOperationKind.Append]);
|
|
50
|
+
export function isPublishOperationKind(value) {
|
|
51
|
+
return zPublishOperationKind.safeParse(value).success;
|
|
52
|
+
}
|
|
53
|
+
export const VisibilityIntent = Object.freeze({
|
|
54
|
+
Private: zVisibilityIntent.parse("private"),
|
|
55
|
+
Public: zVisibilityIntent.parse("public"),
|
|
56
|
+
});
|
|
57
|
+
export const AllVisibilityIntents = Object.freeze([VisibilityIntent.Private, VisibilityIntent.Public]);
|
|
58
|
+
export function isVisibilityIntent(value) {
|
|
59
|
+
return zVisibilityIntent.safeParse(value).success;
|
|
60
|
+
}
|
|
40
61
|
export const AnnotationAxis = Object.freeze({
|
|
41
62
|
Type: zAnnotationAxis.parse("type"),
|
|
42
63
|
Session: zAnnotationAxis.parse("session"),
|
|
@@ -229,13 +250,14 @@ export const Harness = Object.freeze({
|
|
|
229
250
|
OpenCode: zHarness.parse("opencode"),
|
|
230
251
|
Cursor: zHarness.parse("cursor"),
|
|
231
252
|
Antigravity: zHarness.parse("antigravity"),
|
|
253
|
+
Strike: zHarness.parse("strike"),
|
|
232
254
|
});
|
|
233
255
|
/**
|
|
234
256
|
* AllHarnesses is the ingestion-supported subset of Harness, not the full
|
|
235
257
|
* canonical set (mirrors types.go's AllHarnesses doc comment). Every Harness
|
|
236
258
|
* member remains individually valid and accepted by isHarness.
|
|
237
259
|
*/
|
|
238
|
-
export const AllHarnesses = Object.freeze([Harness.ClaudeCode, Harness.GeminiCLI, Harness.Codex, Harness.OpenCode, Harness.Cursor]);
|
|
260
|
+
export const AllHarnesses = Object.freeze([Harness.ClaudeCode, Harness.GeminiCLI, Harness.Codex, Harness.OpenCode, Harness.Cursor, Harness.Strike]);
|
|
239
261
|
export function isHarness(value) {
|
|
240
262
|
return zHarness.safeParse(value).success;
|
|
241
263
|
}
|
|
@@ -433,6 +455,24 @@ export const AllValueDomainKinds = Object.freeze([ValueDomainKind.Enumerated, Va
|
|
|
433
455
|
export function isValueDomainKind(value) {
|
|
434
456
|
return zValueDomainKind.safeParse(value).success;
|
|
435
457
|
}
|
|
458
|
+
export const TranscriptUpdateLicense = Object.freeze({
|
|
459
|
+
Clear: zTranscriptUpdateLicense.parse(""),
|
|
460
|
+
CC0: zTranscriptUpdateLicense.parse("CC0-1.0"),
|
|
461
|
+
CCBY: zTranscriptUpdateLicense.parse("CC-BY-4.0"),
|
|
462
|
+
CCBYSA: zTranscriptUpdateLicense.parse("CC-BY-SA-4.0"),
|
|
463
|
+
});
|
|
464
|
+
export const AllTranscriptUpdateLicenses = Object.freeze([TranscriptUpdateLicense.Clear, TranscriptUpdateLicense.CC0, TranscriptUpdateLicense.CCBY, TranscriptUpdateLicense.CCBYSA]);
|
|
465
|
+
export function isTranscriptUpdateLicense(value) {
|
|
466
|
+
return zTranscriptUpdateLicense.safeParse(value).success;
|
|
467
|
+
}
|
|
468
|
+
export const TranscriptUpdateVisibility = Object.freeze({
|
|
469
|
+
Private: zTranscriptUpdateVisibility.parse("private"),
|
|
470
|
+
Public: zTranscriptUpdateVisibility.parse("public"),
|
|
471
|
+
});
|
|
472
|
+
export const AllTranscriptUpdateVisibilities = Object.freeze([TranscriptUpdateVisibility.Private, TranscriptUpdateVisibility.Public]);
|
|
473
|
+
export function isTranscriptUpdateVisibility(value) {
|
|
474
|
+
return zTranscriptUpdateVisibility.safeParse(value).success;
|
|
475
|
+
}
|
|
436
476
|
export const Visibility = Object.freeze({
|
|
437
477
|
Private: zVisibility.parse("private"),
|
|
438
478
|
Group: zVisibility.parse("group"),
|
|
@@ -563,11 +563,13 @@ export interface components {
|
|
|
563
563
|
/**
|
|
564
564
|
* Session ID
|
|
565
565
|
* Format: session-id
|
|
566
|
-
* @description Unique session identifier (UUID, agent-{hex}, ses_{id}, sess_{id} (ACP),
|
|
566
|
+
* @description Unique session identifier (UUID, agent-{hex}, ses_{id}, sess_{id} (ACP), msg_{id}, or a Strike session ID)
|
|
567
567
|
* @example 99d59925-36bc-424c-a789-8be54d9702ba
|
|
568
568
|
* @example agent-a3aee4f
|
|
569
569
|
* @example ses_3cd91f52effeXd3QAJ54jOyzv5
|
|
570
570
|
* @example sess_3cd91f52effeXd3QAJ54jOyzv5
|
|
571
|
+
* @example 20260728T123456.123456789Z-ABCDEFGHIJKLMNOPQRST234567
|
|
572
|
+
* @example ABCDEFGHIJKLMNOPQRST234567
|
|
571
573
|
*/
|
|
572
574
|
SchemaSessionID: Schema.SessionID;
|
|
573
575
|
SchemaSessionInsight: Schema.SessionInsight;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { zActivityEdge, zAnnotationAxis, zAnnotationDatatype, zAnnotationEntryTarget, zAnnotationManifestResponse, zAnnotationPushStatus, zAnnotationPushResult, zAnnotationPushResponse, zAnnotationStatus, zAnnotatorKind, zAnnotatorSummary, zAssociationConclusion, zAssociationEvidenceKind, zAssociationEvidenceObservation, zAssociationID, zBatchCreateAnnotationsErrorResponse, zBatchCreateAnnotationsResponse, zBuiltinCommand, zCLILoginQuery, zChangeBinding, zChangeSummary, zChannelTopic, zChannelSubscription, zChildSessionRef, zCommitInfo, zConfidence, zContentKind, zContractVersion, zCreateAnnotationRequest, zBatchCreateAnnotationsRequest, zCreateAnnotationResponse, zDashboardPayload, zDayStats, zDecayLevel, zDiagnosticEntry, zDiagnosticsInfo, zDiffLineKind, zDiffLine, zDiffHunk, zEdgeViolationKind, zEdgeViolation, zEntryType, zExchangeCodeRequest, zExchangeCodeResponse, zFileChangeStatus, zChangeDiffPayload, zFileChange, zFileFamiliarity, zFrictionCluster,
|
|
2
|
-
export type { ActivityEdge, AnnotationEntryTarget, AnnotationManifestResponse, AnnotationPushResult, AnnotationPushResponse, AnnotatorSummary, AssociationEvidenceObservation, AssociationID, BatchCreateAnnotationsErrorResponse, BatchCreateAnnotationsResponse, CLILoginQuery, ChangeSummary, ChannelSubscription, ChildSessionRef, CommitInfo, ContractVersion, CreateAnnotationRequest, BatchCreateAnnotationsRequest, CreateAnnotationResponse, DashboardPayload, DayStats, DiagnosticEntry, DiagnosticsInfo, DiffLine, DiffHunk, EdgeViolation, ExchangeCodeRequest, ExchangeCodeResponse, ChangeDiffPayload, FileChange, FileFamiliarity, FrictionCluster,
|
|
1
|
+
export { zActivityEdge, zAnnotationAxis, zAnnotationDatatype, zAnnotationEntryTarget, zAnnotationManifestResponse, zAnnotationPushStatus, zAnnotationPushResult, zAnnotationPushResponse, zAnnotationStatus, zAnnotatorKind, zAnnotatorSummary, zAssociationConclusion, zAssociationEvidenceKind, zAssociationEvidenceObservation, zAssociationID, zAuthoritativeCommitInfo, zAuthoritativeDiagnosticEntry, zAuthoritativeDiagnosticsInfo, zAuthoritativeSessionStats, zAuthoritativeTimestampInfo, zBatchCreateAnnotationsErrorResponse, zBatchCreateAnnotationsResponse, zBuiltinCommand, zCLILoginQuery, zCanonicalPublishGitContext, zChangeBinding, zChangeSummary, zChannelTopic, zChannelSubscription, zChildSessionRef, zCommitInfo, zConfidence, zContentKind, zContractVersion, zCreateAnnotationRequest, zBatchCreateAnnotationsRequest, zCreateAnnotationResponse, zDashboardPayload, zDayStats, zDecayLevel, zDiagnosticEntry, zDiagnosticsInfo, zDiffLineKind, zDiffLine, zDiffHunk, zEdgeViolationKind, zEdgeViolation, zEntryType, zExchangeCodeRequest, zExchangeCodeResponse, zFileChangeStatus, zChangeDiffPayload, zFileChange, zFileFamiliarity, zFrictionCluster, zHarness, zHealthResponse, zHostSlug, zInsightClassification, zInsightKind, zInsightProvenance, zInteractionType, zLicense, zMapEdge, zMapNodeKind, zMessageType, zClientMessage, zMockConfigResponse, zModelID, zAuthoritativeModelInfo, zModelInfo, zOwnerUpdateLicenseIntent, zProjectHash, zAuthoritativeProjectContext, zProjectContext, zProjectResolutionPayload, zProjectSummary, zProjectSummariesPayload, zProvenance, zPublishOperationKind, zPublishLicenseOperation, zPublishRequestFingerprint, zPublishResponse, zPublishedAssociation, zAuthoritativeGitContext, zGitContext, zPublishAssociationOperation, zReadAttributionState, zReadStateGrade, zMapNode, zMapGraphPayload, zMapSlice, zRedactionInfo, zReviewSuggestion, zRewriteMethod, zRewriteResolution, zRole, zScaleKind, zSchemaVersionResponse, zSearchResult, zSearchPayload, zServerMessage, zSessionID, zAuthoritativeSessionIdentity, zAuthoritativeSubagentRef, zInsightEvidence, zSessionAssociation, zCommitRef, zRewrittenCommit, zSessionIdentity, zSessionInsight, zSessionOutcome, zAuthoritativeQualityMetrics, zQualityMetrics, zSessionScorecard, zSessionStats, zSessionSummary, zSessionsPayload, zShutdownResponse, zSourceFormat, zAuthoritativeSourceInfo, zSourceInfo, zStopReason, zSubagentRef, zTargetKind, zAnnotationPushItem, zAnnotationPushRequest, zAnnotationSummary, zAnnotationsPayload, zPullAnnotation, zQualitySession, zQualityPayload, zTaskSummary, zChangeSession, zMapNodeDetailPayload, zProjectTasksPayload, zTimelineSessionRef, zReviewListPayload, zTimestampInfo, zToolCallKind, zAuthoritativeSessionEntry, zCanonicalPublishReplacement, zSessionEntry, zPublishRequest, zToolCallDetail, zTranscriptContentHash, zCanonicalPublishOperation, zTranscriptID, zPullSkipGateItem, zPullSkipGateRequest, zPullSkipGateResult, zPullSkipGateResponse, zTranscriptUpdateLicense, zTranscriptUpdateVisibility, zOwnerTranscriptUpdateRequest, zOwnerTranscriptUpdateResponse, zTranscriptUpdateRequest, zTrendsPayload, zTurnDetail, zSessionDetailPayload, zTranscriptContent, zTypeOrigin, zUnifiedMetadata, zUnusualSignal, zChangeDetailPayload, zValueDomainKind, zValueDomain, zAnnotationTypeSummary, zTaxonomyFamilyNode, zTaxonomyNode, zVisibility, zPublishNormalizedValues, zPublishAppliedState, zAuthoritativePublishResponse, zPullTranscriptInfo, zPullListResponse, zVisibilityIntent, zAuthoritativePublishRequest, zWalkthroughStep, zWalkthroughTrail, zFamiliarityPayload } from "./contract/zod.gen.js";
|
|
2
|
+
export type { ActivityEdge, AnnotationEntryTarget, AnnotationManifestResponse, AnnotationPushResult, AnnotationPushResponse, AnnotatorSummary, AssociationEvidenceObservation, AssociationID, AuthoritativeCommitInfo, AuthoritativeDiagnosticEntry, AuthoritativeDiagnosticsInfo, AuthoritativeSessionStats, AuthoritativeTimestampInfo, BatchCreateAnnotationsErrorResponse, BatchCreateAnnotationsResponse, CLILoginQuery, CanonicalPublishGitContext, ChangeSummary, ChannelSubscription, ChildSessionRef, CommitInfo, ContractVersion, CreateAnnotationRequest, BatchCreateAnnotationsRequest, CreateAnnotationResponse, DashboardPayload, DayStats, DiagnosticEntry, DiagnosticsInfo, DiffLine, DiffHunk, EdgeViolation, ExchangeCodeRequest, ExchangeCodeResponse, ChangeDiffPayload, FileChange, FileFamiliarity, FrictionCluster, HealthResponse, HostSlug, InsightClassification, MapEdge, ClientMessage, MockConfigResponse, ModelID, AuthoritativeModelInfo, ModelInfo, OwnerUpdateLicenseIntent, ProjectHash, AuthoritativeProjectContext, ProjectContext, ProjectResolutionPayload, ProjectSummary, ProjectSummariesPayload, Provenance, PublishLicenseOperation, PublishRequestFingerprint, PublishResponse, PublishedAssociation, AuthoritativeGitContext, GitContext, PublishAssociationOperation, MapNode, MapGraphPayload, MapSlice, RedactionInfo, ReviewSuggestion, SchemaVersionResponse, SearchResult, SearchPayload, ServerMessage, SessionID, AuthoritativeSessionIdentity, AuthoritativeSubagentRef, InsightEvidence, SessionAssociation, CommitRef, RewrittenCommit, SessionIdentity, SessionInsight, AuthoritativeQualityMetrics, QualityMetrics, SessionScorecard, SessionStats, SessionSummary, SessionsPayload, ShutdownResponse, AuthoritativeSourceInfo, SourceInfo, SubagentRef, AnnotationPushItem, AnnotationPushRequest, AnnotationSummary, AnnotationsPayload, PullAnnotation, QualitySession, QualityPayload, TaskSummary, ChangeSession, MapNodeDetailPayload, ProjectTasksPayload, TimelineSessionRef, ReviewListPayload, TimestampInfo, AuthoritativeSessionEntry, CanonicalPublishReplacement, SessionEntry, PublishRequest, ToolCallDetail, TranscriptContentHash, CanonicalPublishOperation, TranscriptID, PullSkipGateItem, PullSkipGateRequest, PullSkipGateResult, PullSkipGateResponse, OwnerTranscriptUpdateRequest, OwnerTranscriptUpdateResponse, TranscriptUpdateRequest, TrendsPayload, TurnDetail, SessionDetailPayload, TranscriptContent, UnifiedMetadata, UnusualSignal, ChangeDetailPayload, ValueDomain, AnnotationTypeSummary, TaxonomyFamilyNode, TaxonomyNode, PublishNormalizedValues, PublishAppliedState, AuthoritativePublishResponse, PullTranscriptInfo, PullListResponse, AuthoritativePublishRequest, WalkthroughStep, WalkthroughTrail, FamiliarityPayload } from "./contract/zod.gen.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
|
|
2
|
-
export { zActivityEdge, zAnnotationAxis, zAnnotationDatatype, zAnnotationEntryTarget, zAnnotationManifestResponse, zAnnotationPushStatus, zAnnotationPushResult, zAnnotationPushResponse, zAnnotationStatus, zAnnotatorKind, zAnnotatorSummary, zAssociationConclusion, zAssociationEvidenceKind, zAssociationEvidenceObservation, zAssociationID, zBatchCreateAnnotationsErrorResponse, zBatchCreateAnnotationsResponse, zBuiltinCommand, zCLILoginQuery, zChangeBinding, zChangeSummary, zChannelTopic, zChannelSubscription, zChildSessionRef, zCommitInfo, zConfidence, zContentKind, zContractVersion, zCreateAnnotationRequest, zBatchCreateAnnotationsRequest, zCreateAnnotationResponse, zDashboardPayload, zDayStats, zDecayLevel, zDiagnosticEntry, zDiagnosticsInfo, zDiffLineKind, zDiffLine, zDiffHunk, zEdgeViolationKind, zEdgeViolation, zEntryType, zExchangeCodeRequest, zExchangeCodeResponse, zFileChangeStatus, zChangeDiffPayload, zFileChange, zFileFamiliarity, zFrictionCluster,
|
|
2
|
+
export { zActivityEdge, zAnnotationAxis, zAnnotationDatatype, zAnnotationEntryTarget, zAnnotationManifestResponse, zAnnotationPushStatus, zAnnotationPushResult, zAnnotationPushResponse, zAnnotationStatus, zAnnotatorKind, zAnnotatorSummary, zAssociationConclusion, zAssociationEvidenceKind, zAssociationEvidenceObservation, zAssociationID, zAuthoritativeCommitInfo, zAuthoritativeDiagnosticEntry, zAuthoritativeDiagnosticsInfo, zAuthoritativeSessionStats, zAuthoritativeTimestampInfo, zBatchCreateAnnotationsErrorResponse, zBatchCreateAnnotationsResponse, zBuiltinCommand, zCLILoginQuery, zCanonicalPublishGitContext, zChangeBinding, zChangeSummary, zChannelTopic, zChannelSubscription, zChildSessionRef, zCommitInfo, zConfidence, zContentKind, zContractVersion, zCreateAnnotationRequest, zBatchCreateAnnotationsRequest, zCreateAnnotationResponse, zDashboardPayload, zDayStats, zDecayLevel, zDiagnosticEntry, zDiagnosticsInfo, zDiffLineKind, zDiffLine, zDiffHunk, zEdgeViolationKind, zEdgeViolation, zEntryType, zExchangeCodeRequest, zExchangeCodeResponse, zFileChangeStatus, zChangeDiffPayload, zFileChange, zFileFamiliarity, zFrictionCluster, zHarness, zHealthResponse, zHostSlug, zInsightClassification, zInsightKind, zInsightProvenance, zInteractionType, zLicense, zMapEdge, zMapNodeKind, zMessageType, zClientMessage, zMockConfigResponse, zModelID, zAuthoritativeModelInfo, zModelInfo, zOwnerUpdateLicenseIntent, zProjectHash, zAuthoritativeProjectContext, zProjectContext, zProjectResolutionPayload, zProjectSummary, zProjectSummariesPayload, zProvenance, zPublishOperationKind, zPublishLicenseOperation, zPublishRequestFingerprint, zPublishResponse, zPublishedAssociation, zAuthoritativeGitContext, zGitContext, zPublishAssociationOperation, zReadAttributionState, zReadStateGrade, zMapNode, zMapGraphPayload, zMapSlice, zRedactionInfo, zReviewSuggestion, zRewriteMethod, zRewriteResolution, zRole, zScaleKind, zSchemaVersionResponse, zSearchResult, zSearchPayload, zServerMessage, zSessionID, zAuthoritativeSessionIdentity, zAuthoritativeSubagentRef, zInsightEvidence, zSessionAssociation, zCommitRef, zRewrittenCommit, zSessionIdentity, zSessionInsight, zSessionOutcome, zAuthoritativeQualityMetrics, zQualityMetrics, zSessionScorecard, zSessionStats, zSessionSummary, zSessionsPayload, zShutdownResponse, zSourceFormat, zAuthoritativeSourceInfo, zSourceInfo, zStopReason, zSubagentRef, zTargetKind, zAnnotationPushItem, zAnnotationPushRequest, zAnnotationSummary, zAnnotationsPayload, zPullAnnotation, zQualitySession, zQualityPayload, zTaskSummary, zChangeSession, zMapNodeDetailPayload, zProjectTasksPayload, zTimelineSessionRef, zReviewListPayload, zTimestampInfo, zToolCallKind, zAuthoritativeSessionEntry, zCanonicalPublishReplacement, zSessionEntry, zPublishRequest, zToolCallDetail, zTranscriptContentHash, zCanonicalPublishOperation, zTranscriptID, zPullSkipGateItem, zPullSkipGateRequest, zPullSkipGateResult, zPullSkipGateResponse, zTranscriptUpdateLicense, zTranscriptUpdateVisibility, zOwnerTranscriptUpdateRequest, zOwnerTranscriptUpdateResponse, zTranscriptUpdateRequest, zTrendsPayload, zTurnDetail, zSessionDetailPayload, zTranscriptContent, zTypeOrigin, zUnifiedMetadata, zUnusualSignal, zChangeDetailPayload, zValueDomainKind, zValueDomain, zAnnotationTypeSummary, zTaxonomyFamilyNode, zTaxonomyNode, zVisibility, zPublishNormalizedValues, zPublishAppliedState, zAuthoritativePublishResponse, zPullTranscriptInfo, zPullListResponse, zVisibilityIntent, zAuthoritativePublishRequest, zWalkthroughStep, zWalkthroughTrail, zFamiliarityPayload } from "./contract/zod.gen.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VillageAPIVersion: "0.
|
|
2
|
-
export declare const PeasantLocalAPIVersion: "0.
|
|
3
|
-
export declare const TypesVersion: "0.
|
|
1
|
+
export declare const VillageAPIVersion: "0.12.0";
|
|
2
|
+
export declare const PeasantLocalAPIVersion: "0.6.0";
|
|
3
|
+
export declare const TypesVersion: "0.9.0";
|
|
4
4
|
export declare const MetadataSchemaVersion: 9;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
|
|
2
|
-
export const VillageAPIVersion = "0.
|
|
3
|
-
export const PeasantLocalAPIVersion = "0.
|
|
4
|
-
export const TypesVersion = "0.
|
|
2
|
+
export const VillageAPIVersion = "0.12.0";
|
|
3
|
+
export const PeasantLocalAPIVersion = "0.6.0";
|
|
4
|
+
export const TypesVersion = "0.9.0";
|
|
5
5
|
export const MetadataSchemaVersion = 9;
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
import type * as Schema from "../../index.js";
|
|
2
2
|
export interface paths {
|
|
3
|
+
"/api/v1/annotations": {
|
|
4
|
+
parameters: {
|
|
5
|
+
query?: never;
|
|
6
|
+
header?: never;
|
|
7
|
+
path?: never;
|
|
8
|
+
cookie?: never;
|
|
9
|
+
};
|
|
10
|
+
get?: never;
|
|
11
|
+
put?: never;
|
|
12
|
+
/** @description Push annotations for the authenticated owner. Every item selects exactly one target arm: targetKind association requires only targetAssociationId, while every other target kind rejects targetAssociationId. Entry targets require a non-empty sessionId; endIndex must be greater than entryIndex and is enforced by the request validation boundary. The server resolves association targets owner-scoped before writing the all-or-nothing batch. */
|
|
13
|
+
post: operations["pushAnnotations"];
|
|
14
|
+
delete?: never;
|
|
15
|
+
options?: never;
|
|
16
|
+
head?: never;
|
|
17
|
+
patch?: never;
|
|
18
|
+
trace?: never;
|
|
19
|
+
};
|
|
3
20
|
"/api/v1/annotations/manifest": {
|
|
4
21
|
parameters: {
|
|
5
22
|
query?: never;
|
|
@@ -162,7 +179,7 @@ export interface paths {
|
|
|
162
179
|
};
|
|
163
180
|
get?: never;
|
|
164
181
|
put?: never;
|
|
165
|
-
/** @description Publish
|
|
182
|
+
/** @description Publish exact transcript bytes with typed JSON metadata. Creation returns 201 and replacement returns 200; both carry the complete authoritative receipt. */
|
|
166
183
|
post: operations["publishTranscript"];
|
|
167
184
|
delete?: never;
|
|
168
185
|
options?: never;
|
|
@@ -170,6 +187,23 @@ export interface paths {
|
|
|
170
187
|
patch?: never;
|
|
171
188
|
trace?: never;
|
|
172
189
|
};
|
|
190
|
+
"/api/v1/transcripts/{id}": {
|
|
191
|
+
parameters: {
|
|
192
|
+
query?: never;
|
|
193
|
+
header?: never;
|
|
194
|
+
path?: never;
|
|
195
|
+
cookie?: never;
|
|
196
|
+
};
|
|
197
|
+
get?: never;
|
|
198
|
+
put?: never;
|
|
199
|
+
post?: never;
|
|
200
|
+
delete?: never;
|
|
201
|
+
options?: never;
|
|
202
|
+
head?: never;
|
|
203
|
+
/** @description Update an owned transcript's metadata and governance axes. Every field is optional: omission preserves stored state; empty title, description, or tags clear those fields; license null requests clear; and a canonical license replaces. Explicit null for title, description, tags, or visibility is rejected, as are unknown fields and invalid or duplicate tags. Clearing an already granted Creative Commons license remains subject to the server's irrevocability rule. Only the owner may call this operation. A successful update returns the complete typed authoritative editable state, including the canonical transcript URL and positive update timestamp. Visibility accepts private and public; organization-scoped visibility remains deferred. */
|
|
204
|
+
patch: operations["updateTranscript"];
|
|
205
|
+
trace?: never;
|
|
206
|
+
};
|
|
173
207
|
}
|
|
174
208
|
export type webhooks = Record<string, never>;
|
|
175
209
|
export interface components {
|
|
@@ -182,21 +216,49 @@ export interface components {
|
|
|
182
216
|
* @enum {string}
|
|
183
217
|
*/
|
|
184
218
|
BestiaryHarness: Schema.Harness;
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
219
|
+
FormDataOpenapiTranscriptPublishMultipartRequest: {
|
|
220
|
+
/** @description PublishRequest JSON encoded with Content-Type application/json. */
|
|
221
|
+
metadata: components["schemas"]["OpenapiAuthoritativeTranscriptPublishRequest"];
|
|
222
|
+
/** @description Exact transcript bytes whose SHA3-256 digest equals metadata.contentHash. */
|
|
223
|
+
transcript_file: components["schemas"]["MultipartFileHeader"];
|
|
224
|
+
};
|
|
225
|
+
/** Format: binary */
|
|
226
|
+
MultipartFileHeader: string;
|
|
227
|
+
OpenapiAuthoritativeTranscriptPublishRequest: {
|
|
228
|
+
contentHash: components["schemas"]["SchemaTranscriptContentHash"];
|
|
229
|
+
diagnostics?: components["schemas"]["SchemaAuthoritativeDiagnosticsInfo"];
|
|
230
|
+
entries?: components["schemas"]["SchemaAuthoritativeSessionEntry"][];
|
|
231
|
+
git?: components["schemas"]["SchemaAuthoritativeGitContext"];
|
|
232
|
+
identity?: components["schemas"]["SchemaAuthoritativeSessionIdentity"];
|
|
190
233
|
license?: components["schemas"]["SchemaLicense"];
|
|
191
|
-
model: components["schemas"]["
|
|
192
|
-
project?: components["schemas"]["
|
|
193
|
-
quality?: components["schemas"]["
|
|
194
|
-
source?: components["schemas"]["
|
|
195
|
-
stats?: components["schemas"]["
|
|
196
|
-
subagents?: components["schemas"]["
|
|
197
|
-
timestamp?: components["schemas"]["
|
|
198
|
-
|
|
234
|
+
model: components["schemas"]["SchemaAuthoritativeModelInfo"];
|
|
235
|
+
project?: components["schemas"]["SchemaAuthoritativeProjectContext"];
|
|
236
|
+
quality?: components["schemas"]["SchemaAuthoritativeQualityMetrics"];
|
|
237
|
+
source?: components["schemas"]["SchemaAuthoritativeSourceInfo"];
|
|
238
|
+
stats?: components["schemas"]["SchemaAuthoritativeSessionStats"];
|
|
239
|
+
subagents?: components["schemas"]["SchemaAuthoritativeSubagentRef"][];
|
|
240
|
+
timestamp?: components["schemas"]["SchemaAuthoritativeTimestampInfo"];
|
|
241
|
+
visibilityIntent?: components["schemas"]["SchemaVisibilityIntent"];
|
|
242
|
+
};
|
|
243
|
+
OpenapiTranscriptUpdateErrorResponse: {
|
|
244
|
+
error: string;
|
|
245
|
+
};
|
|
246
|
+
SchemaAnnotationEntryTarget: Schema.AnnotationEntryTarget;
|
|
199
247
|
SchemaAnnotationManifestResponse: Schema.AnnotationManifestResponse;
|
|
248
|
+
SchemaAnnotationPushItem: Schema.AnnotationPushItem;
|
|
249
|
+
SchemaAnnotationPushRequest: Schema.AnnotationPushRequest;
|
|
250
|
+
SchemaAnnotationPushResponse: Schema.AnnotationPushResponse;
|
|
251
|
+
SchemaAnnotationPushResult: Schema.AnnotationPushResult;
|
|
252
|
+
/**
|
|
253
|
+
* Annotation Push Status
|
|
254
|
+
* @description Per-item annotation push outcome
|
|
255
|
+
* @example created
|
|
256
|
+
* @example updated
|
|
257
|
+
* @example skipped
|
|
258
|
+
* @example error
|
|
259
|
+
* @enum {string}
|
|
260
|
+
*/
|
|
261
|
+
SchemaAnnotationPushStatus: Schema.AnnotationPushStatus;
|
|
200
262
|
/**
|
|
201
263
|
* Annotator Kind
|
|
202
264
|
* @description Type of entity that produced an annotation: human, agent (AI model), or rule (automated classifier)
|
|
@@ -212,9 +274,20 @@ export interface components {
|
|
|
212
274
|
* @example assoc-20260726:session-a:commit-1
|
|
213
275
|
*/
|
|
214
276
|
SchemaAssociationID: Schema.AssociationID;
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
277
|
+
SchemaAuthoritativeCommitInfo: Schema.AuthoritativeCommitInfo;
|
|
278
|
+
SchemaAuthoritativeDiagnosticEntry: Schema.AuthoritativeDiagnosticEntry;
|
|
279
|
+
SchemaAuthoritativeDiagnosticsInfo: Schema.AuthoritativeDiagnosticsInfo;
|
|
280
|
+
SchemaAuthoritativeGitContext: Schema.AuthoritativeGitContext;
|
|
281
|
+
SchemaAuthoritativeModelInfo: Schema.AuthoritativeModelInfo;
|
|
282
|
+
SchemaAuthoritativeProjectContext: Schema.AuthoritativeProjectContext;
|
|
283
|
+
SchemaAuthoritativePublishResponse: Schema.AuthoritativePublishResponse;
|
|
284
|
+
SchemaAuthoritativeQualityMetrics: Schema.AuthoritativeQualityMetrics;
|
|
285
|
+
SchemaAuthoritativeSessionEntry: Schema.AuthoritativeSessionEntry;
|
|
286
|
+
SchemaAuthoritativeSessionIdentity: Schema.AuthoritativeSessionIdentity;
|
|
287
|
+
SchemaAuthoritativeSessionStats: Schema.AuthoritativeSessionStats;
|
|
288
|
+
SchemaAuthoritativeSourceInfo: Schema.AuthoritativeSourceInfo;
|
|
289
|
+
SchemaAuthoritativeSubagentRef: Schema.AuthoritativeSubagentRef;
|
|
290
|
+
SchemaAuthoritativeTimestampInfo: Schema.AuthoritativeTimestampInfo;
|
|
218
291
|
/**
|
|
219
292
|
* Entry Type
|
|
220
293
|
* @description Classification of a single entry within an agent session transcript
|
|
@@ -226,7 +299,6 @@ export interface components {
|
|
|
226
299
|
SchemaEntryType: Schema.EntryType;
|
|
227
300
|
SchemaExchangeCodeRequest: Schema.ExchangeCodeRequest;
|
|
228
301
|
SchemaExchangeCodeResponse: Schema.ExchangeCodeResponse;
|
|
229
|
-
SchemaGitContext: Schema.GitContext;
|
|
230
302
|
/**
|
|
231
303
|
* Host Slug
|
|
232
304
|
* @description Sanitized, filesystem-safe identifier derived from git remote; contains only [a-zA-Z0-9._<>-]
|
|
@@ -249,8 +321,10 @@ export interface components {
|
|
|
249
321
|
* @example codex-mini-latest
|
|
250
322
|
*/
|
|
251
323
|
SchemaModelID: Schema.ModelID;
|
|
252
|
-
|
|
253
|
-
|
|
324
|
+
SchemaOwnerTranscriptUpdateRequest: Schema.OwnerTranscriptUpdateRequest;
|
|
325
|
+
SchemaOwnerTranscriptUpdateResponse: Schema.OwnerTranscriptUpdateResponse;
|
|
326
|
+
/** @description Omitted preserves, null requests clear, and a canonical license replaces */
|
|
327
|
+
SchemaOwnerUpdateLicenseIntent: Schema.OwnerUpdateLicenseIntent;
|
|
254
328
|
/**
|
|
255
329
|
* Project Hash
|
|
256
330
|
* @description SHA-256 hex digest of the project's origin URL or local path
|
|
@@ -258,7 +332,14 @@ export interface components {
|
|
|
258
332
|
*/
|
|
259
333
|
SchemaProjectHash: Schema.ProjectHash;
|
|
260
334
|
SchemaProvenance: Schema.Provenance;
|
|
261
|
-
|
|
335
|
+
SchemaPublishAppliedState: Schema.PublishAppliedState;
|
|
336
|
+
SchemaPublishNormalizedValues: Schema.PublishNormalizedValues;
|
|
337
|
+
/**
|
|
338
|
+
* Publish Request Fingerprint
|
|
339
|
+
* @description SHA3-256 digest of the canonical domain-separated publish operation
|
|
340
|
+
*/
|
|
341
|
+
SchemaPublishRequestFingerprint: Schema.PublishRequestFingerprint;
|
|
342
|
+
SchemaPublishedAssociation: Schema.PublishedAssociation;
|
|
262
343
|
SchemaPullAnnotation: Schema.PullAnnotation;
|
|
263
344
|
SchemaPullListResponse: Schema.PullListResponse;
|
|
264
345
|
SchemaPullSkipGateItem: Schema.PullSkipGateItem;
|
|
@@ -266,7 +347,6 @@ export interface components {
|
|
|
266
347
|
SchemaPullSkipGateResponse: Schema.PullSkipGateResponse;
|
|
267
348
|
SchemaPullSkipGateResult: Schema.PullSkipGateResult;
|
|
268
349
|
SchemaPullTranscriptInfo: Schema.PullTranscriptInfo;
|
|
269
|
-
SchemaQualityMetrics: Schema.QualityMetrics;
|
|
270
350
|
/**
|
|
271
351
|
* Role
|
|
272
352
|
* @description Sender role of a message turn
|
|
@@ -276,18 +356,18 @@ export interface components {
|
|
|
276
356
|
*/
|
|
277
357
|
SchemaRole: Schema.Role;
|
|
278
358
|
SchemaSchemaVersionResponse: Schema.SchemaVersionResponse;
|
|
279
|
-
SchemaSessionEntry: Schema.SessionEntry;
|
|
280
359
|
/**
|
|
281
360
|
* Session ID
|
|
282
361
|
* Format: session-id
|
|
283
|
-
* @description Unique session identifier (UUID, agent-{hex}, ses_{id}, sess_{id} (ACP),
|
|
362
|
+
* @description Unique session identifier (UUID, agent-{hex}, ses_{id}, sess_{id} (ACP), msg_{id}, or a Strike session ID)
|
|
284
363
|
* @example 99d59925-36bc-424c-a789-8be54d9702ba
|
|
285
364
|
* @example agent-a3aee4f
|
|
286
365
|
* @example ses_3cd91f52effeXd3QAJ54jOyzv5
|
|
287
366
|
* @example sess_3cd91f52effeXd3QAJ54jOyzv5
|
|
367
|
+
* @example 20260728T123456.123456789Z-ABCDEFGHIJKLMNOPQRST234567
|
|
368
|
+
* @example ABCDEFGHIJKLMNOPQRST234567
|
|
288
369
|
*/
|
|
289
370
|
SchemaSessionID: Schema.SessionID;
|
|
290
|
-
SchemaSessionIdentity: Schema.SessionIdentity;
|
|
291
371
|
/**
|
|
292
372
|
* Session Outcome
|
|
293
373
|
* @description Resolution status of the session
|
|
@@ -297,7 +377,6 @@ export interface components {
|
|
|
297
377
|
* @enum {string}
|
|
298
378
|
*/
|
|
299
379
|
SchemaSessionOutcome: Schema.SessionOutcome;
|
|
300
|
-
SchemaSessionStats: Schema.SessionStats;
|
|
301
380
|
/**
|
|
302
381
|
* Source Format
|
|
303
382
|
* @description Transcript file format
|
|
@@ -306,7 +385,6 @@ export interface components {
|
|
|
306
385
|
* @enum {string}
|
|
307
386
|
*/
|
|
308
387
|
SchemaSourceFormat: Schema.SourceFormat;
|
|
309
|
-
SchemaSourceInfo: Schema.SourceInfo;
|
|
310
388
|
/**
|
|
311
389
|
* Stop Reason
|
|
312
390
|
* @description Reason why a session or turn ended (ACP-aligned)
|
|
@@ -315,7 +393,6 @@ export interface components {
|
|
|
315
393
|
* @enum {string}
|
|
316
394
|
*/
|
|
317
395
|
SchemaStopReason: Schema.StopReason;
|
|
318
|
-
SchemaSubagentRef: Schema.SubagentRef;
|
|
319
396
|
/**
|
|
320
397
|
* Target Kind
|
|
321
398
|
* @description What is being annotated: session-level, entry-level (turn/tool call), meta-annotation, project-level, a specific file version (content-hash keyed read-state receipt), or a durable session-to-commit association
|
|
@@ -326,7 +403,6 @@ export interface components {
|
|
|
326
403
|
* @enum {string}
|
|
327
404
|
*/
|
|
328
405
|
SchemaTargetKind: Schema.TargetKind;
|
|
329
|
-
SchemaTimestampInfo: Schema.TimestampInfo;
|
|
330
406
|
/**
|
|
331
407
|
* Tool Call Kind
|
|
332
408
|
* @description Classification of a tool call, aligned with ACP ToolCallUpdate.kind
|
|
@@ -336,6 +412,11 @@ export interface components {
|
|
|
336
412
|
* @enum {string}
|
|
337
413
|
*/
|
|
338
414
|
SchemaToolCallKind: Schema.ToolCallKind;
|
|
415
|
+
/**
|
|
416
|
+
* Transcript Content Hash
|
|
417
|
+
* @description SHA3-256 digest of the exact transcript file bytes
|
|
418
|
+
*/
|
|
419
|
+
SchemaTranscriptContentHash: Schema.TranscriptContentHash;
|
|
339
420
|
/**
|
|
340
421
|
* Transcript ID
|
|
341
422
|
* Format: uuid
|
|
@@ -343,6 +424,14 @@ export interface components {
|
|
|
343
424
|
* @example 99d59925-36bc-424c-a789-8be54d9702ba
|
|
344
425
|
*/
|
|
345
426
|
SchemaTranscriptID: Schema.TranscriptID;
|
|
427
|
+
/**
|
|
428
|
+
* TranscriptUpdateVisibility
|
|
429
|
+
* @description Visibility values accepted by the owner transcript update operation. Organization-scoped visibility is deferred and is deliberately not offered here.
|
|
430
|
+
* @example public
|
|
431
|
+
* @example private
|
|
432
|
+
* @enum {string}
|
|
433
|
+
*/
|
|
434
|
+
SchemaTranscriptUpdateVisibility: Schema.TranscriptUpdateVisibility;
|
|
346
435
|
/**
|
|
347
436
|
* Visibility
|
|
348
437
|
* @description Access control level for a published transcript
|
|
@@ -351,6 +440,14 @@ export interface components {
|
|
|
351
440
|
* @enum {string}
|
|
352
441
|
*/
|
|
353
442
|
SchemaVisibility: Schema.Visibility;
|
|
443
|
+
/**
|
|
444
|
+
* Visibility Intent
|
|
445
|
+
* @description Optional desired final access for legacy compatibility; content replacement remains private and widening occurs separately
|
|
446
|
+
* @example private
|
|
447
|
+
* @example public
|
|
448
|
+
* @enum {string}
|
|
449
|
+
*/
|
|
450
|
+
SchemaVisibilityIntent: Schema.VisibilityIntent;
|
|
354
451
|
/**
|
|
355
452
|
* Visibility
|
|
356
453
|
* @description Access control level for a published transcript
|
|
@@ -368,6 +465,30 @@ export interface components {
|
|
|
368
465
|
}
|
|
369
466
|
export type $defs = Record<string, never>;
|
|
370
467
|
export interface operations {
|
|
468
|
+
pushAnnotations: {
|
|
469
|
+
parameters: {
|
|
470
|
+
query?: never;
|
|
471
|
+
header?: never;
|
|
472
|
+
path?: never;
|
|
473
|
+
cookie?: never;
|
|
474
|
+
};
|
|
475
|
+
requestBody?: {
|
|
476
|
+
content: {
|
|
477
|
+
"application/json": components["schemas"]["SchemaAnnotationPushRequest"];
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
responses: {
|
|
481
|
+
/** @description OK */
|
|
482
|
+
200: {
|
|
483
|
+
headers: {
|
|
484
|
+
[name: string]: unknown;
|
|
485
|
+
};
|
|
486
|
+
content: {
|
|
487
|
+
"application/json": components["schemas"]["SchemaAnnotationPushResponse"];
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
};
|
|
371
492
|
getAnnotationManifest: {
|
|
372
493
|
parameters: {
|
|
373
494
|
query?: never;
|
|
@@ -573,9 +694,45 @@ export interface operations {
|
|
|
573
694
|
path?: never;
|
|
574
695
|
cookie?: never;
|
|
575
696
|
};
|
|
576
|
-
requestBody
|
|
697
|
+
requestBody: {
|
|
698
|
+
content: {
|
|
699
|
+
"multipart/form-data": components["schemas"]["FormDataOpenapiTranscriptPublishMultipartRequest"];
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
responses: {
|
|
703
|
+
/** @description OK */
|
|
704
|
+
200: {
|
|
705
|
+
headers: {
|
|
706
|
+
[name: string]: unknown;
|
|
707
|
+
};
|
|
708
|
+
content: {
|
|
709
|
+
"application/json": components["schemas"]["SchemaAuthoritativePublishResponse"];
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
/** @description Created */
|
|
713
|
+
201: {
|
|
714
|
+
headers: {
|
|
715
|
+
[name: string]: unknown;
|
|
716
|
+
};
|
|
717
|
+
content: {
|
|
718
|
+
"application/json": components["schemas"]["SchemaAuthoritativePublishResponse"];
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
};
|
|
723
|
+
updateTranscript: {
|
|
724
|
+
parameters: {
|
|
725
|
+
query?: never;
|
|
726
|
+
header?: never;
|
|
727
|
+
path: {
|
|
728
|
+
/** @description Transcript identifier */
|
|
729
|
+
id: components["schemas"]["SchemaTranscriptID"];
|
|
730
|
+
};
|
|
731
|
+
cookie?: never;
|
|
732
|
+
};
|
|
733
|
+
requestBody: {
|
|
577
734
|
content: {
|
|
578
|
-
"application/json": components["schemas"]["
|
|
735
|
+
"application/json": components["schemas"]["SchemaOwnerTranscriptUpdateRequest"];
|
|
579
736
|
};
|
|
580
737
|
};
|
|
581
738
|
responses: {
|
|
@@ -585,7 +742,52 @@ export interface operations {
|
|
|
585
742
|
[name: string]: unknown;
|
|
586
743
|
};
|
|
587
744
|
content: {
|
|
588
|
-
"application/json": components["schemas"]["
|
|
745
|
+
"application/json": components["schemas"]["SchemaOwnerTranscriptUpdateResponse"];
|
|
746
|
+
};
|
|
747
|
+
};
|
|
748
|
+
/** @description Bad Request */
|
|
749
|
+
400: {
|
|
750
|
+
headers: {
|
|
751
|
+
[name: string]: unknown;
|
|
752
|
+
};
|
|
753
|
+
content: {
|
|
754
|
+
"application/json": components["schemas"]["OpenapiTranscriptUpdateErrorResponse"];
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
/** @description Unauthorized */
|
|
758
|
+
401: {
|
|
759
|
+
headers: {
|
|
760
|
+
[name: string]: unknown;
|
|
761
|
+
};
|
|
762
|
+
content: {
|
|
763
|
+
"application/json": components["schemas"]["OpenapiTranscriptUpdateErrorResponse"];
|
|
764
|
+
};
|
|
765
|
+
};
|
|
766
|
+
/** @description Forbidden */
|
|
767
|
+
403: {
|
|
768
|
+
headers: {
|
|
769
|
+
[name: string]: unknown;
|
|
770
|
+
};
|
|
771
|
+
content: {
|
|
772
|
+
"application/json": components["schemas"]["OpenapiTranscriptUpdateErrorResponse"];
|
|
773
|
+
};
|
|
774
|
+
};
|
|
775
|
+
/** @description Not Found */
|
|
776
|
+
404: {
|
|
777
|
+
headers: {
|
|
778
|
+
[name: string]: unknown;
|
|
779
|
+
};
|
|
780
|
+
content: {
|
|
781
|
+
"application/json": components["schemas"]["OpenapiTranscriptUpdateErrorResponse"];
|
|
782
|
+
};
|
|
783
|
+
};
|
|
784
|
+
/** @description Internal Server Error */
|
|
785
|
+
500: {
|
|
786
|
+
headers: {
|
|
787
|
+
[name: string]: unknown;
|
|
788
|
+
};
|
|
789
|
+
content: {
|
|
790
|
+
"application/json": components["schemas"]["OpenapiTranscriptUpdateErrorResponse"];
|
|
589
791
|
};
|
|
590
792
|
};
|
|
591
793
|
};
|