@corti/sdk 2.0.0-templates.4 → 2.0.0-templates.5
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +0 -3
- package/dist/cjs/Client.js +28 -33
- package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +2 -1
- package/dist/cjs/api/resources/agents/client/Client.js +28 -4
- package/dist/cjs/api/resources/index.d.ts +0 -1
- package/dist/cjs/api/resources/index.js +1 -2
- package/dist/cjs/api/types/AgentsErrorResponse.d.ts +12 -0
- package/dist/cjs/api/types/AgentsValidationError.d.ts +8 -0
- package/dist/cjs/api/types/AgentsValidationErrorErrorsItem.d.ts +4 -0
- package/dist/cjs/api/types/AgentsValidationErrorResponse.d.ts +4 -0
- package/dist/cjs/api/types/SectionGenerationPartial.d.ts +1 -1
- package/dist/cjs/api/types/index.d.ts +4 -25
- package/dist/cjs/api/types/index.js +4 -25
- package/dist/cjs/serialization/types/AgentsErrorResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/{GuidedAssemblySectionRef.js → AgentsErrorResponse.js} +7 -6
- package/dist/cjs/serialization/types/AgentsValidationError.d.ts +14 -0
- package/dist/cjs/serialization/types/{ContextFacts.js → AgentsValidationError.js} +8 -5
- package/dist/cjs/serialization/types/AgentsValidationErrorErrorsItem.d.ts +10 -0
- package/dist/cjs/serialization/types/{GuidedDocumentFactMinimal.js → AgentsValidationErrorErrorsItem.js} +4 -3
- package/dist/cjs/serialization/types/AgentsValidationErrorResponse.d.ts +11 -0
- package/dist/cjs/serialization/types/{GuidedDynamicRequest.js → AgentsValidationErrorResponse.js} +8 -7
- package/dist/cjs/serialization/types/SectionGenerationPartial.d.ts +1 -1
- package/dist/cjs/serialization/types/SectionGenerationPartial.js +1 -1
- package/dist/cjs/serialization/types/index.d.ts +4 -25
- package/dist/cjs/serialization/types/index.js +4 -25
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +0 -3
- package/dist/esm/Client.mjs +0 -5
- package/dist/esm/api/errors/UnprocessableEntityError.d.mts +2 -1
- package/dist/esm/api/resources/agents/client/Client.mjs +28 -4
- package/dist/esm/api/resources/index.d.mts +0 -1
- package/dist/esm/api/resources/index.mjs +0 -1
- package/dist/esm/api/types/AgentsErrorResponse.d.mts +12 -0
- package/dist/esm/api/types/AgentsValidationError.d.mts +8 -0
- package/dist/esm/api/types/AgentsValidationErrorErrorsItem.d.mts +4 -0
- package/dist/esm/api/types/AgentsValidationErrorResponse.d.mts +4 -0
- package/dist/esm/api/types/SectionGenerationPartial.d.mts +1 -1
- package/dist/esm/api/types/index.d.mts +4 -25
- package/dist/esm/api/types/index.mjs +4 -25
- package/dist/esm/serialization/types/AgentsErrorResponse.d.mts +13 -0
- package/dist/esm/serialization/types/AgentsErrorResponse.mjs +9 -0
- package/dist/esm/serialization/types/AgentsValidationError.d.mts +14 -0
- package/dist/esm/serialization/types/AgentsValidationError.mjs +10 -0
- package/dist/esm/serialization/types/AgentsValidationErrorErrorsItem.d.mts +10 -0
- package/dist/esm/serialization/types/AgentsValidationErrorErrorsItem.mjs +6 -0
- package/dist/esm/serialization/types/AgentsValidationErrorResponse.d.mts +11 -0
- package/dist/esm/serialization/types/AgentsValidationErrorResponse.mjs +9 -0
- package/dist/esm/serialization/types/SectionGenerationPartial.d.mts +1 -1
- package/dist/esm/serialization/types/SectionGenerationPartial.mjs +1 -1
- package/dist/esm/serialization/types/index.d.mts +4 -25
- package/dist/esm/serialization/types/index.mjs +4 -25
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/resources/alphaDocuments/client/Client.d.ts +0 -35
- package/dist/cjs/api/resources/alphaDocuments/client/Client.js +0 -143
- package/dist/cjs/api/resources/alphaDocuments/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/alphaDocuments/client/index.js +0 -2
- package/dist/cjs/api/resources/alphaDocuments/index.d.ts +0 -1
- package/dist/cjs/api/resources/alphaDocuments/index.js +0 -17
- package/dist/cjs/api/types/ContextFacts.d.ts +0 -8
- package/dist/cjs/api/types/ContextText.d.ts +0 -8
- package/dist/cjs/api/types/ContextTranscript.d.ts +0 -8
- package/dist/cjs/api/types/GuidedAssemblyRequest.d.ts +0 -13
- package/dist/cjs/api/types/GuidedAssemblySectionRef.d.ts +0 -10
- package/dist/cjs/api/types/GuidedAssemblySectionRef.js +0 -3
- package/dist/cjs/api/types/GuidedDocumentByAssembly.d.ts +0 -12
- package/dist/cjs/api/types/GuidedDocumentByAssembly.js +0 -3
- package/dist/cjs/api/types/GuidedDocumentByDynamic.d.ts +0 -12
- package/dist/cjs/api/types/GuidedDocumentByDynamic.js +0 -3
- package/dist/cjs/api/types/GuidedDocumentByTemplateRef.d.ts +0 -12
- package/dist/cjs/api/types/GuidedDocumentByTemplateRef.js +0 -3
- package/dist/cjs/api/types/GuidedDocumentContext.d.ts +0 -2
- package/dist/cjs/api/types/GuidedDocumentContext.js +0 -3
- package/dist/cjs/api/types/GuidedDocumentFactMinimal.d.ts +0 -7
- package/dist/cjs/api/types/GuidedDocumentFactMinimal.js +0 -3
- package/dist/cjs/api/types/GuidedDocumentRequest.d.ts +0 -2
- package/dist/cjs/api/types/GuidedDocumentRequest.js +0 -3
- package/dist/cjs/api/types/GuidedDocumentResponse.d.ts +0 -8
- package/dist/cjs/api/types/GuidedDocumentResponse.js +0 -3
- package/dist/cjs/api/types/GuidedDocumentTranscriptMetadataMinimal.d.ts +0 -7
- package/dist/cjs/api/types/GuidedDocumentTranscriptMetadataMinimal.js +0 -3
- package/dist/cjs/api/types/GuidedDocumentTranscriptMinimal.d.ts +0 -8
- package/dist/cjs/api/types/GuidedDocumentTranscriptMinimal.js +0 -3
- package/dist/cjs/api/types/GuidedDocumentTranscriptSegmentMinimal.d.ts +0 -17
- package/dist/cjs/api/types/GuidedDocumentTranscriptSegmentMinimal.js +0 -3
- package/dist/cjs/api/types/GuidedDynamicInline.d.ts +0 -5
- package/dist/cjs/api/types/GuidedDynamicInline.js +0 -3
- package/dist/cjs/api/types/GuidedDynamicRequest.d.ts +0 -10
- package/dist/cjs/api/types/GuidedDynamicRequest.js +0 -3
- package/dist/cjs/api/types/GuidedGenerationResult.d.ts +0 -11
- package/dist/cjs/api/types/GuidedGenerationResult.js +0 -3
- package/dist/cjs/api/types/GuidedGenerationResultUsage.d.ts +0 -4
- package/dist/cjs/api/types/GuidedGenerationResultUsage.js +0 -3
- package/dist/cjs/api/types/GuidedGenerationResultUsageTokenCount.d.ts +0 -4
- package/dist/cjs/api/types/GuidedGenerationResultUsageTokenCount.js +0 -3
- package/dist/cjs/api/types/GuidedSectionOverride.d.ts +0 -13
- package/dist/cjs/api/types/GuidedSectionOverride.js +0 -3
- package/dist/cjs/api/types/GuidedTemplateOverrides.d.ts +0 -7
- package/dist/cjs/api/types/GuidedTemplateOverrides.js +0 -3
- package/dist/cjs/api/types/GuidedTemplateRef.d.ts +0 -9
- package/dist/cjs/api/types/GuidedTemplateRef.js +0 -3
- package/dist/cjs/api/types/SectionInstructionsOverride.d.ts +0 -9
- package/dist/cjs/api/types/SectionInstructionsOverride.js +0 -3
- package/dist/cjs/api/types/SectionOverrides.d.ts +0 -11
- package/dist/cjs/api/types/SectionOverrides.js +0 -3
- package/dist/cjs/serialization/types/ContextFacts.d.ts +0 -11
- package/dist/cjs/serialization/types/ContextText.d.ts +0 -10
- package/dist/cjs/serialization/types/ContextText.js +0 -42
- package/dist/cjs/serialization/types/ContextTranscript.d.ts +0 -11
- package/dist/cjs/serialization/types/ContextTranscript.js +0 -43
- package/dist/cjs/serialization/types/GuidedAssemblyRequest.d.ts +0 -14
- package/dist/cjs/serialization/types/GuidedAssemblyRequest.js +0 -46
- package/dist/cjs/serialization/types/GuidedAssemblySectionRef.d.ts +0 -12
- package/dist/cjs/serialization/types/GuidedDocumentByAssembly.d.ts +0 -13
- package/dist/cjs/serialization/types/GuidedDocumentByAssembly.js +0 -45
- package/dist/cjs/serialization/types/GuidedDocumentByDynamic.d.ts +0 -13
- package/dist/cjs/serialization/types/GuidedDocumentByDynamic.js +0 -45
- package/dist/cjs/serialization/types/GuidedDocumentByTemplateRef.d.ts +0 -13
- package/dist/cjs/serialization/types/GuidedDocumentByTemplateRef.js +0 -45
- package/dist/cjs/serialization/types/GuidedDocumentContext.d.ts +0 -10
- package/dist/cjs/serialization/types/GuidedDocumentContext.js +0 -42
- package/dist/cjs/serialization/types/GuidedDocumentFactMinimal.d.ts +0 -9
- package/dist/cjs/serialization/types/GuidedDocumentRequest.d.ts +0 -10
- package/dist/cjs/serialization/types/GuidedDocumentRequest.js +0 -46
- package/dist/cjs/serialization/types/GuidedDocumentResponse.d.ts +0 -12
- package/dist/cjs/serialization/types/GuidedDocumentResponse.js +0 -44
- package/dist/cjs/serialization/types/GuidedDocumentTranscriptMetadataMinimal.d.ts +0 -10
- package/dist/cjs/serialization/types/GuidedDocumentTranscriptMetadataMinimal.js +0 -42
- package/dist/cjs/serialization/types/GuidedDocumentTranscriptMinimal.d.ts +0 -12
- package/dist/cjs/serialization/types/GuidedDocumentTranscriptMinimal.js +0 -44
- package/dist/cjs/serialization/types/GuidedDocumentTranscriptSegmentMinimal.d.ts +0 -14
- package/dist/cjs/serialization/types/GuidedDocumentTranscriptSegmentMinimal.js +0 -46
- package/dist/cjs/serialization/types/GuidedDynamicInline.d.ts +0 -12
- package/dist/cjs/serialization/types/GuidedDynamicInline.js +0 -44
- package/dist/cjs/serialization/types/GuidedDynamicRequest.d.ts +0 -12
- package/dist/cjs/serialization/types/GuidedGenerationResult.d.ts +0 -12
- package/dist/cjs/serialization/types/GuidedGenerationResult.js +0 -46
- package/dist/cjs/serialization/types/GuidedGenerationResultUsage.d.ts +0 -10
- package/dist/cjs/serialization/types/GuidedGenerationResultUsage.js +0 -42
- package/dist/cjs/serialization/types/GuidedGenerationResultUsageTokenCount.d.ts +0 -10
- package/dist/cjs/serialization/types/GuidedGenerationResultUsageTokenCount.js +0 -42
- package/dist/cjs/serialization/types/GuidedSectionOverride.d.ts +0 -13
- package/dist/cjs/serialization/types/GuidedSectionOverride.js +0 -46
- package/dist/cjs/serialization/types/GuidedTemplateOverrides.d.ts +0 -12
- package/dist/cjs/serialization/types/GuidedTemplateOverrides.js +0 -44
- package/dist/cjs/serialization/types/GuidedTemplateRef.d.ts +0 -12
- package/dist/cjs/serialization/types/GuidedTemplateRef.js +0 -44
- package/dist/cjs/serialization/types/SectionInstructionsOverride.d.ts +0 -10
- package/dist/cjs/serialization/types/SectionInstructionsOverride.js +0 -42
- package/dist/cjs/serialization/types/SectionOverrides.d.ts +0 -12
- package/dist/cjs/serialization/types/SectionOverrides.js +0 -45
- package/dist/esm/api/resources/alphaDocuments/client/Client.d.mts +0 -35
- package/dist/esm/api/resources/alphaDocuments/client/Client.mjs +0 -106
- package/dist/esm/api/resources/alphaDocuments/client/index.d.mts +0 -1
- package/dist/esm/api/resources/alphaDocuments/client/index.mjs +0 -1
- package/dist/esm/api/resources/alphaDocuments/index.d.mts +0 -1
- package/dist/esm/api/resources/alphaDocuments/index.mjs +0 -1
- package/dist/esm/api/types/ContextFacts.d.mts +0 -8
- package/dist/esm/api/types/ContextText.d.mts +0 -8
- package/dist/esm/api/types/ContextTranscript.d.mts +0 -8
- package/dist/esm/api/types/GuidedAssemblyRequest.d.mts +0 -13
- package/dist/esm/api/types/GuidedAssemblySectionRef.d.mts +0 -10
- package/dist/esm/api/types/GuidedAssemblySectionRef.mjs +0 -2
- package/dist/esm/api/types/GuidedDocumentByAssembly.d.mts +0 -12
- package/dist/esm/api/types/GuidedDocumentByAssembly.mjs +0 -2
- package/dist/esm/api/types/GuidedDocumentByDynamic.d.mts +0 -12
- package/dist/esm/api/types/GuidedDocumentByDynamic.mjs +0 -2
- package/dist/esm/api/types/GuidedDocumentByTemplateRef.d.mts +0 -12
- package/dist/esm/api/types/GuidedDocumentByTemplateRef.mjs +0 -2
- package/dist/esm/api/types/GuidedDocumentContext.d.mts +0 -2
- package/dist/esm/api/types/GuidedDocumentContext.mjs +0 -2
- package/dist/esm/api/types/GuidedDocumentFactMinimal.d.mts +0 -7
- package/dist/esm/api/types/GuidedDocumentFactMinimal.mjs +0 -2
- package/dist/esm/api/types/GuidedDocumentRequest.d.mts +0 -2
- package/dist/esm/api/types/GuidedDocumentRequest.mjs +0 -2
- package/dist/esm/api/types/GuidedDocumentResponse.d.mts +0 -8
- package/dist/esm/api/types/GuidedDocumentResponse.mjs +0 -2
- package/dist/esm/api/types/GuidedDocumentTranscriptMetadataMinimal.d.mts +0 -7
- package/dist/esm/api/types/GuidedDocumentTranscriptMetadataMinimal.mjs +0 -2
- package/dist/esm/api/types/GuidedDocumentTranscriptMinimal.d.mts +0 -8
- package/dist/esm/api/types/GuidedDocumentTranscriptMinimal.mjs +0 -2
- package/dist/esm/api/types/GuidedDocumentTranscriptSegmentMinimal.d.mts +0 -17
- package/dist/esm/api/types/GuidedDocumentTranscriptSegmentMinimal.mjs +0 -2
- package/dist/esm/api/types/GuidedDynamicInline.d.mts +0 -5
- package/dist/esm/api/types/GuidedDynamicInline.mjs +0 -2
- package/dist/esm/api/types/GuidedDynamicRequest.d.mts +0 -10
- package/dist/esm/api/types/GuidedDynamicRequest.mjs +0 -2
- package/dist/esm/api/types/GuidedGenerationResult.d.mts +0 -11
- package/dist/esm/api/types/GuidedGenerationResult.mjs +0 -2
- package/dist/esm/api/types/GuidedGenerationResultUsage.d.mts +0 -4
- package/dist/esm/api/types/GuidedGenerationResultUsage.mjs +0 -2
- package/dist/esm/api/types/GuidedGenerationResultUsageTokenCount.d.mts +0 -4
- package/dist/esm/api/types/GuidedGenerationResultUsageTokenCount.mjs +0 -2
- package/dist/esm/api/types/GuidedSectionOverride.d.mts +0 -13
- package/dist/esm/api/types/GuidedSectionOverride.mjs +0 -2
- package/dist/esm/api/types/GuidedTemplateOverrides.d.mts +0 -7
- package/dist/esm/api/types/GuidedTemplateOverrides.mjs +0 -2
- package/dist/esm/api/types/GuidedTemplateRef.d.mts +0 -9
- package/dist/esm/api/types/GuidedTemplateRef.mjs +0 -2
- package/dist/esm/api/types/SectionInstructionsOverride.d.mts +0 -9
- package/dist/esm/api/types/SectionInstructionsOverride.mjs +0 -2
- package/dist/esm/api/types/SectionOverrides.d.mts +0 -11
- package/dist/esm/api/types/SectionOverrides.mjs +0 -2
- package/dist/esm/serialization/types/ContextFacts.d.mts +0 -11
- package/dist/esm/serialization/types/ContextFacts.mjs +0 -7
- package/dist/esm/serialization/types/ContextText.d.mts +0 -10
- package/dist/esm/serialization/types/ContextText.mjs +0 -6
- package/dist/esm/serialization/types/ContextTranscript.d.mts +0 -11
- package/dist/esm/serialization/types/ContextTranscript.mjs +0 -7
- package/dist/esm/serialization/types/GuidedAssemblyRequest.d.mts +0 -14
- package/dist/esm/serialization/types/GuidedAssemblyRequest.mjs +0 -10
- package/dist/esm/serialization/types/GuidedAssemblySectionRef.d.mts +0 -12
- package/dist/esm/serialization/types/GuidedAssemblySectionRef.mjs +0 -8
- package/dist/esm/serialization/types/GuidedDocumentByAssembly.d.mts +0 -13
- package/dist/esm/serialization/types/GuidedDocumentByAssembly.mjs +0 -9
- package/dist/esm/serialization/types/GuidedDocumentByDynamic.d.mts +0 -13
- package/dist/esm/serialization/types/GuidedDocumentByDynamic.mjs +0 -9
- package/dist/esm/serialization/types/GuidedDocumentByTemplateRef.d.mts +0 -13
- package/dist/esm/serialization/types/GuidedDocumentByTemplateRef.mjs +0 -9
- package/dist/esm/serialization/types/GuidedDocumentContext.d.mts +0 -10
- package/dist/esm/serialization/types/GuidedDocumentContext.mjs +0 -6
- package/dist/esm/serialization/types/GuidedDocumentFactMinimal.d.mts +0 -9
- package/dist/esm/serialization/types/GuidedDocumentFactMinimal.mjs +0 -5
- package/dist/esm/serialization/types/GuidedDocumentRequest.d.mts +0 -10
- package/dist/esm/serialization/types/GuidedDocumentRequest.mjs +0 -10
- package/dist/esm/serialization/types/GuidedDocumentResponse.d.mts +0 -12
- package/dist/esm/serialization/types/GuidedDocumentResponse.mjs +0 -8
- package/dist/esm/serialization/types/GuidedDocumentTranscriptMetadataMinimal.d.mts +0 -10
- package/dist/esm/serialization/types/GuidedDocumentTranscriptMetadataMinimal.mjs +0 -6
- package/dist/esm/serialization/types/GuidedDocumentTranscriptMinimal.d.mts +0 -12
- package/dist/esm/serialization/types/GuidedDocumentTranscriptMinimal.mjs +0 -8
- package/dist/esm/serialization/types/GuidedDocumentTranscriptSegmentMinimal.d.mts +0 -14
- package/dist/esm/serialization/types/GuidedDocumentTranscriptSegmentMinimal.mjs +0 -10
- package/dist/esm/serialization/types/GuidedDynamicInline.d.mts +0 -12
- package/dist/esm/serialization/types/GuidedDynamicInline.mjs +0 -8
- package/dist/esm/serialization/types/GuidedDynamicRequest.d.mts +0 -12
- package/dist/esm/serialization/types/GuidedDynamicRequest.mjs +0 -8
- package/dist/esm/serialization/types/GuidedGenerationResult.d.mts +0 -12
- package/dist/esm/serialization/types/GuidedGenerationResult.mjs +0 -10
- package/dist/esm/serialization/types/GuidedGenerationResultUsage.d.mts +0 -10
- package/dist/esm/serialization/types/GuidedGenerationResultUsage.mjs +0 -6
- package/dist/esm/serialization/types/GuidedGenerationResultUsageTokenCount.d.mts +0 -10
- package/dist/esm/serialization/types/GuidedGenerationResultUsageTokenCount.mjs +0 -6
- package/dist/esm/serialization/types/GuidedSectionOverride.d.mts +0 -13
- package/dist/esm/serialization/types/GuidedSectionOverride.mjs +0 -10
- package/dist/esm/serialization/types/GuidedTemplateOverrides.d.mts +0 -12
- package/dist/esm/serialization/types/GuidedTemplateOverrides.mjs +0 -8
- package/dist/esm/serialization/types/GuidedTemplateRef.d.mts +0 -12
- package/dist/esm/serialization/types/GuidedTemplateRef.mjs +0 -8
- package/dist/esm/serialization/types/SectionInstructionsOverride.d.mts +0 -10
- package/dist/esm/serialization/types/SectionInstructionsOverride.mjs +0 -6
- package/dist/esm/serialization/types/SectionOverrides.d.mts +0 -12
- package/dist/esm/serialization/types/SectionOverrides.mjs +0 -9
- /package/dist/cjs/api/types/{ContextFacts.js → AgentsErrorResponse.js} +0 -0
- /package/dist/cjs/api/types/{ContextText.js → AgentsValidationError.js} +0 -0
- /package/dist/cjs/api/types/{ContextTranscript.js → AgentsValidationErrorErrorsItem.js} +0 -0
- /package/dist/cjs/api/types/{GuidedAssemblyRequest.js → AgentsValidationErrorResponse.js} +0 -0
- /package/dist/esm/api/types/{ContextFacts.mjs → AgentsErrorResponse.mjs} +0 -0
- /package/dist/esm/api/types/{ContextText.mjs → AgentsValidationError.mjs} +0 -0
- /package/dist/esm/api/types/{ContextTranscript.mjs → AgentsValidationErrorErrorsItem.mjs} +0 -0
- /package/dist/esm/api/types/{GuidedAssemblyRequest.mjs → AgentsValidationErrorResponse.mjs} +0 -0
|
@@ -22,6 +22,7 @@ export * from "./AgentsCreateMcpServerAuthorizationType.js";
|
|
|
22
22
|
export * from "./AgentsCreateMcpServerTransportType.js";
|
|
23
23
|
export * from "./AgentsDataPart.js";
|
|
24
24
|
export * from "./AgentsDataPartKind.js";
|
|
25
|
+
export * from "./AgentsErrorResponse.js";
|
|
25
26
|
export * from "./AgentsExpert.js";
|
|
26
27
|
export * from "./AgentsExpertReference.js";
|
|
27
28
|
export * from "./AgentsExpertReferenceType.js";
|
|
@@ -52,6 +53,9 @@ export * from "./AgentsTaskStatusState.js";
|
|
|
52
53
|
export * from "./AgentsTextPart.js";
|
|
53
54
|
export * from "./AgentsTextPartKind.js";
|
|
54
55
|
export * from "./AgentsUpdateExpertReference.js";
|
|
56
|
+
export * from "./AgentsValidationError.js";
|
|
57
|
+
export * from "./AgentsValidationErrorErrorsItem.js";
|
|
58
|
+
export * from "./AgentsValidationErrorResponse.js";
|
|
55
59
|
export * from "./ArrayNode.js";
|
|
56
60
|
export * from "./AuthTokenRequestAuthorizationCode.js";
|
|
57
61
|
export * from "./AuthTokenRequestAuthorizationPkce.js";
|
|
@@ -76,9 +80,6 @@ export * from "./CommonTextContextType.js";
|
|
|
76
80
|
export * from "./CommonTranscriptRequest.js";
|
|
77
81
|
export * from "./CommonTranscriptResponse.js";
|
|
78
82
|
export * from "./CommonUsageInfo.js";
|
|
79
|
-
export * from "./ContextFacts.js";
|
|
80
|
-
export * from "./ContextText.js";
|
|
81
|
-
export * from "./ContextTranscript.js";
|
|
82
83
|
export * from "./CreateSectionBase.js";
|
|
83
84
|
export * from "./CreateSectionFromInheritanceRequest.js";
|
|
84
85
|
export * from "./CreateSectionFromScratchRequest.js";
|
|
@@ -125,26 +126,6 @@ export * from "./FactsListItem.js";
|
|
|
125
126
|
export * from "./FactsListResponse.js";
|
|
126
127
|
export * from "./FactsUpdateResponse.js";
|
|
127
128
|
export * from "./FieldDefinition.js";
|
|
128
|
-
export * from "./GuidedAssemblyRequest.js";
|
|
129
|
-
export * from "./GuidedAssemblySectionRef.js";
|
|
130
|
-
export * from "./GuidedDocumentByAssembly.js";
|
|
131
|
-
export * from "./GuidedDocumentByDynamic.js";
|
|
132
|
-
export * from "./GuidedDocumentByTemplateRef.js";
|
|
133
|
-
export * from "./GuidedDocumentContext.js";
|
|
134
|
-
export * from "./GuidedDocumentFactMinimal.js";
|
|
135
|
-
export * from "./GuidedDocumentRequest.js";
|
|
136
|
-
export * from "./GuidedDocumentResponse.js";
|
|
137
|
-
export * from "./GuidedDocumentTranscriptMetadataMinimal.js";
|
|
138
|
-
export * from "./GuidedDocumentTranscriptMinimal.js";
|
|
139
|
-
export * from "./GuidedDocumentTranscriptSegmentMinimal.js";
|
|
140
|
-
export * from "./GuidedDynamicInline.js";
|
|
141
|
-
export * from "./GuidedDynamicRequest.js";
|
|
142
|
-
export * from "./GuidedGenerationResult.js";
|
|
143
|
-
export * from "./GuidedGenerationResultUsage.js";
|
|
144
|
-
export * from "./GuidedGenerationResultUsageTokenCount.js";
|
|
145
|
-
export * from "./GuidedSectionOverride.js";
|
|
146
|
-
export * from "./GuidedTemplateOverrides.js";
|
|
147
|
-
export * from "./GuidedTemplateRef.js";
|
|
148
129
|
export * from "./InteractionsCreateResponse.js";
|
|
149
130
|
export * from "./InteractionsEncounterCreateRequest.js";
|
|
150
131
|
export * from "./InteractionsEncounterPeriod.js";
|
|
@@ -166,9 +147,7 @@ export * from "./Section.js";
|
|
|
166
147
|
export * from "./SectionGeneration.js";
|
|
167
148
|
export * from "./SectionGenerationPartial.js";
|
|
168
149
|
export * from "./SectionInstructions.js";
|
|
169
|
-
export * from "./SectionInstructionsOverride.js";
|
|
170
150
|
export * from "./SectionInstructionsPartial.js";
|
|
171
|
-
export * from "./SectionOverrides.js";
|
|
172
151
|
export * from "./SectionVersion.js";
|
|
173
152
|
export * from "./StatusResponse.js";
|
|
174
153
|
export * from "./StreamConfig.js";
|
|
@@ -38,6 +38,7 @@ __exportStar(require("./AgentsCreateMcpServerAuthorizationType.js"), exports);
|
|
|
38
38
|
__exportStar(require("./AgentsCreateMcpServerTransportType.js"), exports);
|
|
39
39
|
__exportStar(require("./AgentsDataPart.js"), exports);
|
|
40
40
|
__exportStar(require("./AgentsDataPartKind.js"), exports);
|
|
41
|
+
__exportStar(require("./AgentsErrorResponse.js"), exports);
|
|
41
42
|
__exportStar(require("./AgentsExpert.js"), exports);
|
|
42
43
|
__exportStar(require("./AgentsExpertReference.js"), exports);
|
|
43
44
|
__exportStar(require("./AgentsExpertReferenceType.js"), exports);
|
|
@@ -68,6 +69,9 @@ __exportStar(require("./AgentsTaskStatusState.js"), exports);
|
|
|
68
69
|
__exportStar(require("./AgentsTextPart.js"), exports);
|
|
69
70
|
__exportStar(require("./AgentsTextPartKind.js"), exports);
|
|
70
71
|
__exportStar(require("./AgentsUpdateExpertReference.js"), exports);
|
|
72
|
+
__exportStar(require("./AgentsValidationError.js"), exports);
|
|
73
|
+
__exportStar(require("./AgentsValidationErrorErrorsItem.js"), exports);
|
|
74
|
+
__exportStar(require("./AgentsValidationErrorResponse.js"), exports);
|
|
71
75
|
__exportStar(require("./ArrayNode.js"), exports);
|
|
72
76
|
__exportStar(require("./AuthTokenRequestAuthorizationCode.js"), exports);
|
|
73
77
|
__exportStar(require("./AuthTokenRequestAuthorizationPkce.js"), exports);
|
|
@@ -92,9 +96,6 @@ __exportStar(require("./CommonTextContextType.js"), exports);
|
|
|
92
96
|
__exportStar(require("./CommonTranscriptRequest.js"), exports);
|
|
93
97
|
__exportStar(require("./CommonTranscriptResponse.js"), exports);
|
|
94
98
|
__exportStar(require("./CommonUsageInfo.js"), exports);
|
|
95
|
-
__exportStar(require("./ContextFacts.js"), exports);
|
|
96
|
-
__exportStar(require("./ContextText.js"), exports);
|
|
97
|
-
__exportStar(require("./ContextTranscript.js"), exports);
|
|
98
99
|
__exportStar(require("./CreateSectionBase.js"), exports);
|
|
99
100
|
__exportStar(require("./CreateSectionFromInheritanceRequest.js"), exports);
|
|
100
101
|
__exportStar(require("./CreateSectionFromScratchRequest.js"), exports);
|
|
@@ -141,26 +142,6 @@ __exportStar(require("./FactsListItem.js"), exports);
|
|
|
141
142
|
__exportStar(require("./FactsListResponse.js"), exports);
|
|
142
143
|
__exportStar(require("./FactsUpdateResponse.js"), exports);
|
|
143
144
|
__exportStar(require("./FieldDefinition.js"), exports);
|
|
144
|
-
__exportStar(require("./GuidedAssemblyRequest.js"), exports);
|
|
145
|
-
__exportStar(require("./GuidedAssemblySectionRef.js"), exports);
|
|
146
|
-
__exportStar(require("./GuidedDocumentByAssembly.js"), exports);
|
|
147
|
-
__exportStar(require("./GuidedDocumentByDynamic.js"), exports);
|
|
148
|
-
__exportStar(require("./GuidedDocumentByTemplateRef.js"), exports);
|
|
149
|
-
__exportStar(require("./GuidedDocumentContext.js"), exports);
|
|
150
|
-
__exportStar(require("./GuidedDocumentFactMinimal.js"), exports);
|
|
151
|
-
__exportStar(require("./GuidedDocumentRequest.js"), exports);
|
|
152
|
-
__exportStar(require("./GuidedDocumentResponse.js"), exports);
|
|
153
|
-
__exportStar(require("./GuidedDocumentTranscriptMetadataMinimal.js"), exports);
|
|
154
|
-
__exportStar(require("./GuidedDocumentTranscriptMinimal.js"), exports);
|
|
155
|
-
__exportStar(require("./GuidedDocumentTranscriptSegmentMinimal.js"), exports);
|
|
156
|
-
__exportStar(require("./GuidedDynamicInline.js"), exports);
|
|
157
|
-
__exportStar(require("./GuidedDynamicRequest.js"), exports);
|
|
158
|
-
__exportStar(require("./GuidedGenerationResult.js"), exports);
|
|
159
|
-
__exportStar(require("./GuidedGenerationResultUsage.js"), exports);
|
|
160
|
-
__exportStar(require("./GuidedGenerationResultUsageTokenCount.js"), exports);
|
|
161
|
-
__exportStar(require("./GuidedSectionOverride.js"), exports);
|
|
162
|
-
__exportStar(require("./GuidedTemplateOverrides.js"), exports);
|
|
163
|
-
__exportStar(require("./GuidedTemplateRef.js"), exports);
|
|
164
145
|
__exportStar(require("./InteractionsCreateResponse.js"), exports);
|
|
165
146
|
__exportStar(require("./InteractionsEncounterCreateRequest.js"), exports);
|
|
166
147
|
__exportStar(require("./InteractionsEncounterPeriod.js"), exports);
|
|
@@ -182,9 +163,7 @@ __exportStar(require("./Section.js"), exports);
|
|
|
182
163
|
__exportStar(require("./SectionGeneration.js"), exports);
|
|
183
164
|
__exportStar(require("./SectionGenerationPartial.js"), exports);
|
|
184
165
|
__exportStar(require("./SectionInstructions.js"), exports);
|
|
185
|
-
__exportStar(require("./SectionInstructionsOverride.js"), exports);
|
|
186
166
|
__exportStar(require("./SectionInstructionsPartial.js"), exports);
|
|
187
|
-
__exportStar(require("./SectionOverrides.js"), exports);
|
|
188
167
|
__exportStar(require("./SectionVersion.js"), exports);
|
|
189
168
|
__exportStar(require("./StatusResponse.js"), exports);
|
|
190
169
|
__exportStar(require("./StreamConfig.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.0-templates.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.0-templates.5";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@corti/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "2.0.0-templates.
|
|
10
|
-
"User-Agent": "@corti/sdk/2.0.0-templates.
|
|
9
|
+
"X-Fern-SDK-Version": "2.0.0-templates.5",
|
|
10
|
+
"User-Agent": "@corti/sdk/2.0.0-templates.5",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
|
package/dist/esm/Client.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AgentsClient } from "./api/resources/agents/client/Client.mjs";
|
|
2
|
-
import { AlphaDocumentsClient } from "./api/resources/alphaDocuments/client/Client.mjs";
|
|
3
2
|
import { AlphaSectionsClient } from "./api/resources/alphaSections/client/Client.mjs";
|
|
4
3
|
import { AlphaSectionVersionsClient } from "./api/resources/alphaSectionVersions/client/Client.mjs";
|
|
5
4
|
import { AlphaTemplatesClient } from "./api/resources/alphaTemplates/client/Client.mjs";
|
|
@@ -35,7 +34,6 @@ export declare class CortiClient {
|
|
|
35
34
|
protected _alphaTemplateVersions: AlphaTemplateVersionsClient | undefined;
|
|
36
35
|
protected _alphaSections: AlphaSectionsClient | undefined;
|
|
37
36
|
protected _alphaSectionVersions: AlphaSectionVersionsClient | undefined;
|
|
38
|
-
protected _alphaDocuments: AlphaDocumentsClient | undefined;
|
|
39
37
|
protected _agents: AgentsClient | undefined;
|
|
40
38
|
protected _stream: StreamClient | undefined;
|
|
41
39
|
protected _transcribe: TranscribeClient | undefined;
|
|
@@ -52,7 +50,6 @@ export declare class CortiClient {
|
|
|
52
50
|
get alphaTemplateVersions(): AlphaTemplateVersionsClient;
|
|
53
51
|
get alphaSections(): AlphaSectionsClient;
|
|
54
52
|
get alphaSectionVersions(): AlphaSectionVersionsClient;
|
|
55
|
-
get alphaDocuments(): AlphaDocumentsClient;
|
|
56
53
|
get agents(): AgentsClient;
|
|
57
54
|
get stream(): StreamClient;
|
|
58
55
|
get transcribe(): TranscribeClient;
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import { AgentsClient } from "./api/resources/agents/client/Client.mjs";
|
|
3
|
-
import { AlphaDocumentsClient } from "./api/resources/alphaDocuments/client/Client.mjs";
|
|
4
3
|
import { AlphaSectionsClient } from "./api/resources/alphaSections/client/Client.mjs";
|
|
5
4
|
import { AlphaSectionVersionsClient } from "./api/resources/alphaSectionVersions/client/Client.mjs";
|
|
6
5
|
import { AlphaTemplatesClient } from "./api/resources/alphaTemplates/client/Client.mjs";
|
|
@@ -68,10 +67,6 @@ export class CortiClient {
|
|
|
68
67
|
var _a;
|
|
69
68
|
return ((_a = this._alphaSectionVersions) !== null && _a !== void 0 ? _a : (this._alphaSectionVersions = new AlphaSectionVersionsClient(this._options)));
|
|
70
69
|
}
|
|
71
|
-
get alphaDocuments() {
|
|
72
|
-
var _a;
|
|
73
|
-
return ((_a = this._alphaDocuments) !== null && _a !== void 0 ? _a : (this._alphaDocuments = new AlphaDocumentsClient(this._options)));
|
|
74
|
-
}
|
|
75
70
|
get agents() {
|
|
76
71
|
var _a;
|
|
77
72
|
return ((_a = this._agents) !== null && _a !== void 0 ? _a : (this._agents = new AgentsClient(this._options)));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type * as core from "../../core/index.mjs";
|
|
2
2
|
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
import type * as Corti from "../index.mjs";
|
|
3
4
|
export declare class UnprocessableEntityError extends errors.CortiError {
|
|
4
|
-
constructor(body
|
|
5
|
+
constructor(body: Corti.AgentsValidationErrorResponse, rawResponse?: core.RawResponse);
|
|
5
6
|
}
|
|
@@ -160,7 +160,13 @@ export class AgentsClient {
|
|
|
160
160
|
case 401:
|
|
161
161
|
throw new Corti.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
162
162
|
case 422:
|
|
163
|
-
throw new Corti.UnprocessableEntityError(_response.error.body,
|
|
163
|
+
throw new Corti.UnprocessableEntityError(serializers.AgentsValidationErrorResponse.parseOrThrow(_response.error.body, {
|
|
164
|
+
unrecognizedObjectKeys: "passthrough",
|
|
165
|
+
allowUnrecognizedUnionMembers: true,
|
|
166
|
+
allowUnrecognizedEnumValues: true,
|
|
167
|
+
skipValidation: true,
|
|
168
|
+
breadcrumbsPrefix: ["response"],
|
|
169
|
+
}), _response.rawResponse);
|
|
164
170
|
default:
|
|
165
171
|
throw new errors.CortiError({
|
|
166
172
|
statusCode: _response.error.statusCode,
|
|
@@ -350,7 +356,13 @@ export class AgentsClient {
|
|
|
350
356
|
case 404:
|
|
351
357
|
throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
|
|
352
358
|
case 422:
|
|
353
|
-
throw new Corti.UnprocessableEntityError(_response.error.body,
|
|
359
|
+
throw new Corti.UnprocessableEntityError(serializers.AgentsValidationErrorResponse.parseOrThrow(_response.error.body, {
|
|
360
|
+
unrecognizedObjectKeys: "passthrough",
|
|
361
|
+
allowUnrecognizedUnionMembers: true,
|
|
362
|
+
allowUnrecognizedEnumValues: true,
|
|
363
|
+
skipValidation: true,
|
|
364
|
+
breadcrumbsPrefix: ["response"],
|
|
365
|
+
}), _response.rawResponse);
|
|
354
366
|
default:
|
|
355
367
|
throw new errors.CortiError({
|
|
356
368
|
statusCode: _response.error.statusCode,
|
|
@@ -499,7 +511,13 @@ export class AgentsClient {
|
|
|
499
511
|
case 404:
|
|
500
512
|
throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
|
|
501
513
|
case 422:
|
|
502
|
-
throw new Corti.UnprocessableEntityError(_response.error.body,
|
|
514
|
+
throw new Corti.UnprocessableEntityError(serializers.AgentsValidationErrorResponse.parseOrThrow(_response.error.body, {
|
|
515
|
+
unrecognizedObjectKeys: "passthrough",
|
|
516
|
+
allowUnrecognizedUnionMembers: true,
|
|
517
|
+
allowUnrecognizedEnumValues: true,
|
|
518
|
+
skipValidation: true,
|
|
519
|
+
breadcrumbsPrefix: ["response"],
|
|
520
|
+
}), _response.rawResponse);
|
|
503
521
|
default:
|
|
504
522
|
throw new errors.CortiError({
|
|
505
523
|
statusCode: _response.error.statusCode,
|
|
@@ -712,7 +730,13 @@ export class AgentsClient {
|
|
|
712
730
|
case 401:
|
|
713
731
|
throw new Corti.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
714
732
|
case 422:
|
|
715
|
-
throw new Corti.UnprocessableEntityError(_response.error.body,
|
|
733
|
+
throw new Corti.UnprocessableEntityError(serializers.AgentsValidationErrorResponse.parseOrThrow(_response.error.body, {
|
|
734
|
+
unrecognizedObjectKeys: "passthrough",
|
|
735
|
+
allowUnrecognizedUnionMembers: true,
|
|
736
|
+
allowUnrecognizedEnumValues: true,
|
|
737
|
+
skipValidation: true,
|
|
738
|
+
breadcrumbsPrefix: ["response"],
|
|
739
|
+
}), _response.rawResponse);
|
|
716
740
|
default:
|
|
717
741
|
throw new errors.CortiError({
|
|
718
742
|
statusCode: _response.error.statusCode,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from "./agents/client/requests/index.mjs";
|
|
2
2
|
export * as agents from "./agents/index.mjs";
|
|
3
3
|
export * from "./agents/types/index.mjs";
|
|
4
|
-
export * as alphaDocuments from "./alphaDocuments/index.mjs";
|
|
5
4
|
export * from "./alphaSections/client/requests/index.mjs";
|
|
6
5
|
export * as alphaSections from "./alphaSections/index.mjs";
|
|
7
6
|
export * as alphaSectionVersions from "./alphaSectionVersions/index.mjs";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from "./agents/client/requests/index.mjs";
|
|
2
2
|
export * as agents from "./agents/index.mjs";
|
|
3
3
|
export * from "./agents/types/index.mjs";
|
|
4
|
-
export * as alphaDocuments from "./alphaDocuments/index.mjs";
|
|
5
4
|
export * from "./alphaSections/client/requests/index.mjs";
|
|
6
5
|
export * as alphaSections from "./alphaSections/index.mjs";
|
|
7
6
|
export * as alphaSectionVersions from "./alphaSectionVersions/index.mjs";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface AgentsErrorResponse {
|
|
2
|
+
/** A machine-readable error code that identifies the type of error. */
|
|
3
|
+
code: string;
|
|
4
|
+
/** A human-readable description of the error, providing more context about what went wrong. */
|
|
5
|
+
description: string;
|
|
6
|
+
/** A human-readable message describing how to fix the issue. */
|
|
7
|
+
howToFix?: string;
|
|
8
|
+
/** An optional object containing additional details about the error. */
|
|
9
|
+
details?: Record<string, unknown>;
|
|
10
|
+
/** An optional object containing the cause of the error, following the same structure as the parent error response. */
|
|
11
|
+
cause?: Record<string, unknown>;
|
|
12
|
+
}
|
|
@@ -4,7 +4,7 @@ import type * as Corti from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface SectionGenerationPartial {
|
|
6
6
|
/** Override the inherited section title. Passed to the LLM. */
|
|
7
|
-
|
|
7
|
+
heading?: string;
|
|
8
8
|
/** Override the inherited prompt instructions for this section. Any field omitted is inherited. */
|
|
9
9
|
instructions?: Corti.SectionInstructionsPartial;
|
|
10
10
|
/** Override the inherited output schema. */
|
|
@@ -22,6 +22,7 @@ export * from "./AgentsCreateMcpServerAuthorizationType.mjs";
|
|
|
22
22
|
export * from "./AgentsCreateMcpServerTransportType.mjs";
|
|
23
23
|
export * from "./AgentsDataPart.mjs";
|
|
24
24
|
export * from "./AgentsDataPartKind.mjs";
|
|
25
|
+
export * from "./AgentsErrorResponse.mjs";
|
|
25
26
|
export * from "./AgentsExpert.mjs";
|
|
26
27
|
export * from "./AgentsExpertReference.mjs";
|
|
27
28
|
export * from "./AgentsExpertReferenceType.mjs";
|
|
@@ -52,6 +53,9 @@ export * from "./AgentsTaskStatusState.mjs";
|
|
|
52
53
|
export * from "./AgentsTextPart.mjs";
|
|
53
54
|
export * from "./AgentsTextPartKind.mjs";
|
|
54
55
|
export * from "./AgentsUpdateExpertReference.mjs";
|
|
56
|
+
export * from "./AgentsValidationError.mjs";
|
|
57
|
+
export * from "./AgentsValidationErrorErrorsItem.mjs";
|
|
58
|
+
export * from "./AgentsValidationErrorResponse.mjs";
|
|
55
59
|
export * from "./ArrayNode.mjs";
|
|
56
60
|
export * from "./AuthTokenRequestAuthorizationCode.mjs";
|
|
57
61
|
export * from "./AuthTokenRequestAuthorizationPkce.mjs";
|
|
@@ -76,9 +80,6 @@ export * from "./CommonTextContextType.mjs";
|
|
|
76
80
|
export * from "./CommonTranscriptRequest.mjs";
|
|
77
81
|
export * from "./CommonTranscriptResponse.mjs";
|
|
78
82
|
export * from "./CommonUsageInfo.mjs";
|
|
79
|
-
export * from "./ContextFacts.mjs";
|
|
80
|
-
export * from "./ContextText.mjs";
|
|
81
|
-
export * from "./ContextTranscript.mjs";
|
|
82
83
|
export * from "./CreateSectionBase.mjs";
|
|
83
84
|
export * from "./CreateSectionFromInheritanceRequest.mjs";
|
|
84
85
|
export * from "./CreateSectionFromScratchRequest.mjs";
|
|
@@ -125,26 +126,6 @@ export * from "./FactsListItem.mjs";
|
|
|
125
126
|
export * from "./FactsListResponse.mjs";
|
|
126
127
|
export * from "./FactsUpdateResponse.mjs";
|
|
127
128
|
export * from "./FieldDefinition.mjs";
|
|
128
|
-
export * from "./GuidedAssemblyRequest.mjs";
|
|
129
|
-
export * from "./GuidedAssemblySectionRef.mjs";
|
|
130
|
-
export * from "./GuidedDocumentByAssembly.mjs";
|
|
131
|
-
export * from "./GuidedDocumentByDynamic.mjs";
|
|
132
|
-
export * from "./GuidedDocumentByTemplateRef.mjs";
|
|
133
|
-
export * from "./GuidedDocumentContext.mjs";
|
|
134
|
-
export * from "./GuidedDocumentFactMinimal.mjs";
|
|
135
|
-
export * from "./GuidedDocumentRequest.mjs";
|
|
136
|
-
export * from "./GuidedDocumentResponse.mjs";
|
|
137
|
-
export * from "./GuidedDocumentTranscriptMetadataMinimal.mjs";
|
|
138
|
-
export * from "./GuidedDocumentTranscriptMinimal.mjs";
|
|
139
|
-
export * from "./GuidedDocumentTranscriptSegmentMinimal.mjs";
|
|
140
|
-
export * from "./GuidedDynamicInline.mjs";
|
|
141
|
-
export * from "./GuidedDynamicRequest.mjs";
|
|
142
|
-
export * from "./GuidedGenerationResult.mjs";
|
|
143
|
-
export * from "./GuidedGenerationResultUsage.mjs";
|
|
144
|
-
export * from "./GuidedGenerationResultUsageTokenCount.mjs";
|
|
145
|
-
export * from "./GuidedSectionOverride.mjs";
|
|
146
|
-
export * from "./GuidedTemplateOverrides.mjs";
|
|
147
|
-
export * from "./GuidedTemplateRef.mjs";
|
|
148
129
|
export * from "./InteractionsCreateResponse.mjs";
|
|
149
130
|
export * from "./InteractionsEncounterCreateRequest.mjs";
|
|
150
131
|
export * from "./InteractionsEncounterPeriod.mjs";
|
|
@@ -166,9 +147,7 @@ export * from "./Section.mjs";
|
|
|
166
147
|
export * from "./SectionGeneration.mjs";
|
|
167
148
|
export * from "./SectionGenerationPartial.mjs";
|
|
168
149
|
export * from "./SectionInstructions.mjs";
|
|
169
|
-
export * from "./SectionInstructionsOverride.mjs";
|
|
170
150
|
export * from "./SectionInstructionsPartial.mjs";
|
|
171
|
-
export * from "./SectionOverrides.mjs";
|
|
172
151
|
export * from "./SectionVersion.mjs";
|
|
173
152
|
export * from "./StatusResponse.mjs";
|
|
174
153
|
export * from "./StreamConfig.mjs";
|
|
@@ -22,6 +22,7 @@ export * from "./AgentsCreateMcpServerAuthorizationType.mjs";
|
|
|
22
22
|
export * from "./AgentsCreateMcpServerTransportType.mjs";
|
|
23
23
|
export * from "./AgentsDataPart.mjs";
|
|
24
24
|
export * from "./AgentsDataPartKind.mjs";
|
|
25
|
+
export * from "./AgentsErrorResponse.mjs";
|
|
25
26
|
export * from "./AgentsExpert.mjs";
|
|
26
27
|
export * from "./AgentsExpertReference.mjs";
|
|
27
28
|
export * from "./AgentsExpertReferenceType.mjs";
|
|
@@ -52,6 +53,9 @@ export * from "./AgentsTaskStatusState.mjs";
|
|
|
52
53
|
export * from "./AgentsTextPart.mjs";
|
|
53
54
|
export * from "./AgentsTextPartKind.mjs";
|
|
54
55
|
export * from "./AgentsUpdateExpertReference.mjs";
|
|
56
|
+
export * from "./AgentsValidationError.mjs";
|
|
57
|
+
export * from "./AgentsValidationErrorErrorsItem.mjs";
|
|
58
|
+
export * from "./AgentsValidationErrorResponse.mjs";
|
|
55
59
|
export * from "./ArrayNode.mjs";
|
|
56
60
|
export * from "./AuthTokenRequestAuthorizationCode.mjs";
|
|
57
61
|
export * from "./AuthTokenRequestAuthorizationPkce.mjs";
|
|
@@ -76,9 +80,6 @@ export * from "./CommonTextContextType.mjs";
|
|
|
76
80
|
export * from "./CommonTranscriptRequest.mjs";
|
|
77
81
|
export * from "./CommonTranscriptResponse.mjs";
|
|
78
82
|
export * from "./CommonUsageInfo.mjs";
|
|
79
|
-
export * from "./ContextFacts.mjs";
|
|
80
|
-
export * from "./ContextText.mjs";
|
|
81
|
-
export * from "./ContextTranscript.mjs";
|
|
82
83
|
export * from "./CreateSectionBase.mjs";
|
|
83
84
|
export * from "./CreateSectionFromInheritanceRequest.mjs";
|
|
84
85
|
export * from "./CreateSectionFromScratchRequest.mjs";
|
|
@@ -125,26 +126,6 @@ export * from "./FactsListItem.mjs";
|
|
|
125
126
|
export * from "./FactsListResponse.mjs";
|
|
126
127
|
export * from "./FactsUpdateResponse.mjs";
|
|
127
128
|
export * from "./FieldDefinition.mjs";
|
|
128
|
-
export * from "./GuidedAssemblyRequest.mjs";
|
|
129
|
-
export * from "./GuidedAssemblySectionRef.mjs";
|
|
130
|
-
export * from "./GuidedDocumentByAssembly.mjs";
|
|
131
|
-
export * from "./GuidedDocumentByDynamic.mjs";
|
|
132
|
-
export * from "./GuidedDocumentByTemplateRef.mjs";
|
|
133
|
-
export * from "./GuidedDocumentContext.mjs";
|
|
134
|
-
export * from "./GuidedDocumentFactMinimal.mjs";
|
|
135
|
-
export * from "./GuidedDocumentRequest.mjs";
|
|
136
|
-
export * from "./GuidedDocumentResponse.mjs";
|
|
137
|
-
export * from "./GuidedDocumentTranscriptMetadataMinimal.mjs";
|
|
138
|
-
export * from "./GuidedDocumentTranscriptMinimal.mjs";
|
|
139
|
-
export * from "./GuidedDocumentTranscriptSegmentMinimal.mjs";
|
|
140
|
-
export * from "./GuidedDynamicInline.mjs";
|
|
141
|
-
export * from "./GuidedDynamicRequest.mjs";
|
|
142
|
-
export * from "./GuidedGenerationResult.mjs";
|
|
143
|
-
export * from "./GuidedGenerationResultUsage.mjs";
|
|
144
|
-
export * from "./GuidedGenerationResultUsageTokenCount.mjs";
|
|
145
|
-
export * from "./GuidedSectionOverride.mjs";
|
|
146
|
-
export * from "./GuidedTemplateOverrides.mjs";
|
|
147
|
-
export * from "./GuidedTemplateRef.mjs";
|
|
148
129
|
export * from "./InteractionsCreateResponse.mjs";
|
|
149
130
|
export * from "./InteractionsEncounterCreateRequest.mjs";
|
|
150
131
|
export * from "./InteractionsEncounterPeriod.mjs";
|
|
@@ -166,9 +147,7 @@ export * from "./Section.mjs";
|
|
|
166
147
|
export * from "./SectionGeneration.mjs";
|
|
167
148
|
export * from "./SectionGenerationPartial.mjs";
|
|
168
149
|
export * from "./SectionInstructions.mjs";
|
|
169
|
-
export * from "./SectionInstructionsOverride.mjs";
|
|
170
150
|
export * from "./SectionInstructionsPartial.mjs";
|
|
171
|
-
export * from "./SectionOverrides.mjs";
|
|
172
151
|
export * from "./SectionVersion.mjs";
|
|
173
152
|
export * from "./StatusResponse.mjs";
|
|
174
153
|
export * from "./StreamConfig.mjs";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
export declare const AgentsErrorResponse: core.serialization.ObjectSchema<serializers.AgentsErrorResponse.Raw, Corti.AgentsErrorResponse>;
|
|
5
|
+
export declare namespace AgentsErrorResponse {
|
|
6
|
+
interface Raw {
|
|
7
|
+
code: string;
|
|
8
|
+
description: string;
|
|
9
|
+
howToFix?: string | null;
|
|
10
|
+
details?: Record<string, unknown> | null;
|
|
11
|
+
cause?: Record<string, unknown> | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
export const AgentsErrorResponse = core.serialization.object({
|
|
4
|
+
code: core.serialization.string(),
|
|
5
|
+
description: core.serialization.string(),
|
|
6
|
+
howToFix: core.serialization.string().optional(),
|
|
7
|
+
details: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
8
|
+
cause: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
9
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { AgentsValidationErrorErrorsItem } from "./AgentsValidationErrorErrorsItem.mjs";
|
|
5
|
+
export declare const AgentsValidationError: core.serialization.ObjectSchema<serializers.AgentsValidationError.Raw, Corti.AgentsValidationError>;
|
|
6
|
+
export declare namespace AgentsValidationError {
|
|
7
|
+
interface Raw {
|
|
8
|
+
msg: string;
|
|
9
|
+
type: string;
|
|
10
|
+
reason: string;
|
|
11
|
+
howToFix: string;
|
|
12
|
+
errors?: AgentsValidationErrorErrorsItem.Raw[] | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { AgentsValidationErrorErrorsItem } from "./AgentsValidationErrorErrorsItem.mjs";
|
|
4
|
+
export const AgentsValidationError = core.serialization.object({
|
|
5
|
+
msg: core.serialization.string(),
|
|
6
|
+
type: core.serialization.string(),
|
|
7
|
+
reason: core.serialization.string(),
|
|
8
|
+
howToFix: core.serialization.string(),
|
|
9
|
+
errors: core.serialization.list(AgentsValidationErrorErrorsItem).optional(),
|
|
10
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
export declare const AgentsValidationErrorErrorsItem: core.serialization.ObjectSchema<serializers.AgentsValidationErrorErrorsItem.Raw, Corti.AgentsValidationErrorErrorsItem>;
|
|
5
|
+
export declare namespace AgentsValidationErrorErrorsItem {
|
|
6
|
+
interface Raw {
|
|
7
|
+
location?: string | null;
|
|
8
|
+
reason?: string | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
export const AgentsValidationErrorErrorsItem = core.serialization.object({
|
|
4
|
+
location: core.serialization.string().optional(),
|
|
5
|
+
reason: core.serialization.string().optional(),
|
|
6
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { AgentsErrorResponse } from "./AgentsErrorResponse.mjs";
|
|
5
|
+
import { AgentsValidationError } from "./AgentsValidationError.mjs";
|
|
6
|
+
export declare const AgentsValidationErrorResponse: core.serialization.ObjectSchema<serializers.AgentsValidationErrorResponse.Raw, Corti.AgentsValidationErrorResponse>;
|
|
7
|
+
export declare namespace AgentsValidationErrorResponse {
|
|
8
|
+
interface Raw extends AgentsErrorResponse.Raw {
|
|
9
|
+
detail?: AgentsValidationError.Raw[] | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { AgentsErrorResponse } from "./AgentsErrorResponse.mjs";
|
|
4
|
+
import { AgentsValidationError } from "./AgentsValidationError.mjs";
|
|
5
|
+
export const AgentsValidationErrorResponse = core.serialization
|
|
6
|
+
.object({
|
|
7
|
+
detail: core.serialization.list(AgentsValidationError).optional(),
|
|
8
|
+
})
|
|
9
|
+
.extend(AgentsErrorResponse);
|
|
@@ -5,7 +5,7 @@ import { SectionInstructionsPartial } from "./SectionInstructionsPartial.mjs";
|
|
|
5
5
|
export declare const SectionGenerationPartial: core.serialization.ObjectSchema<serializers.SectionGenerationPartial.Raw, Corti.SectionGenerationPartial>;
|
|
6
6
|
export declare namespace SectionGenerationPartial {
|
|
7
7
|
interface Raw {
|
|
8
|
-
|
|
8
|
+
heading?: string | null;
|
|
9
9
|
instructions?: SectionInstructionsPartial.Raw | null;
|
|
10
10
|
outputSchema?: serializers.OutputSchema.Raw | null;
|
|
11
11
|
}
|
|
@@ -3,7 +3,7 @@ import * as core from "../../core/index.mjs";
|
|
|
3
3
|
import * as serializers from "../index.mjs";
|
|
4
4
|
import { SectionInstructionsPartial } from "./SectionInstructionsPartial.mjs";
|
|
5
5
|
export const SectionGenerationPartial = core.serialization.object({
|
|
6
|
-
|
|
6
|
+
heading: core.serialization.string().optional(),
|
|
7
7
|
instructions: SectionInstructionsPartial.optional(),
|
|
8
8
|
outputSchema: core.serialization.lazy(() => serializers.OutputSchema).optional(),
|
|
9
9
|
});
|