tekimax-ts 0.1.1 → 0.1.2

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/index.d.mts CHANGED
@@ -31633,4 +31633,16 @@ declare const userMessageItemParamSchema: z.ZodObject<{
31633
31633
 
31634
31634
  declare const verbosityEnumSchema: z.ZodEnum<["low", "medium", "high"]>;
31635
31635
 
31636
- export { type AllowedToolChoice, type AllowedToolChoiceTypeEnumKey, type AllowedToolsParam, type AllowedToolsParamTypeEnumKey, type Annotation, type AssistantMessageItemParam, type AssistantMessageItemParamRoleEnumKey, type AssistantMessageItemParamTypeEnumKey, type CreateResponseBody, type Createresponse200, type CreateresponseMutation, type CreateresponseMutationRequest, type CreateresponseMutationResponse, type DetailEnum, type DetailEnumEnumKey, type DeveloperMessageItemParam, type DeveloperMessageItemParamRoleEnumKey, type DeveloperMessageItemParamTypeEnumKey, type EmptyModelParam, type Error, type ErrorPayload, type ErrorStreamingEvent, type ErrorStreamingEventTypeEnumKey, type FunctionCall, type FunctionCallItemParam, type FunctionCallItemParamTypeEnumKey, type FunctionCallItemStatus, type FunctionCallItemStatusEnumKey, type FunctionCallOutput, type FunctionCallOutputItemParam, type FunctionCallOutputItemParamTypeEnumKey, type FunctionCallOutputStatusEnum, type FunctionCallOutputStatusEnumEnumKey, type FunctionCallOutputTypeEnumKey, type FunctionCallStatus, type FunctionCallStatusEnumKey, type FunctionCallTypeEnumKey, type FunctionTool, type FunctionToolChoice, type FunctionToolChoiceTypeEnumKey, type FunctionToolParam, type FunctionToolParamTypeEnumKey, type FunctionToolTypeEnumKey, type ImageDetail, type ImageDetailEnumKey, type IncludeEnum, type IncludeEnumEnumKey, type IncompleteDetails, type InputFileContent, type InputFileContentParam, type InputFileContentParamTypeEnumKey, type InputFileContentTypeEnumKey, type InputImageContent, type InputImageContentParamAutoParam, type InputImageContentParamAutoParamTypeEnumKey, type InputImageContentTypeEnumKey, type InputTextContent, type InputTextContentParam, type InputTextContentParamTypeEnumKey, type InputTextContentTypeEnumKey, type InputTokensDetails, type InputVideoContent, type InputVideoContentTypeEnumKey, type ItemField, type ItemParam, type ItemReferenceParam, type ItemReferenceParamTypeEnumKey, type JsonObjectResponseFormat, type JsonObjectResponseFormatTypeEnumKey, type JsonSchemaResponseFormat, type JsonSchemaResponseFormatParam, type JsonSchemaResponseFormatParamTypeEnumKey, type JsonSchemaResponseFormatTypeEnumKey, type LogProb, type Message, type MessageRole, type MessageRoleEnumKey, type MessageStatus, type MessageStatusEnumKey, type MessageTypeEnumKey, type MetadataParam, type OutputTextContent, type OutputTextContentParam, type OutputTextContentParamTypeEnumKey, type OutputTextContentTypeEnumKey, type OutputTokensDetails, type Reasoning, type ReasoningBody, type ReasoningBodyTypeEnumKey, type ReasoningEffortEnum, type ReasoningEffortEnumEnumKey, type ReasoningItemParam, type ReasoningItemParamTypeEnumKey, type ReasoningParam, type ReasoningSummaryContentParam, type ReasoningSummaryContentParamTypeEnumKey, type ReasoningSummaryEnum, type ReasoningSummaryEnumEnumKey, type ReasoningTextContent, type ReasoningTextContentTypeEnumKey, type RefusalContent, type RefusalContentParam, type RefusalContentParamTypeEnumKey, type RefusalContentTypeEnumKey, type ResponseCompletedStreamingEvent, type ResponseCompletedStreamingEventTypeEnumKey, type ResponseContentPartAddedStreamingEvent, type ResponseContentPartAddedStreamingEventTypeEnumKey, type ResponseContentPartDoneStreamingEvent, type ResponseContentPartDoneStreamingEventTypeEnumKey, type ResponseCreatedStreamingEvent, type ResponseCreatedStreamingEventTypeEnumKey, type ResponseFailedStreamingEvent, type ResponseFailedStreamingEventTypeEnumKey, type ResponseFunctionCallArgumentsDeltaStreamingEvent, type ResponseFunctionCallArgumentsDeltaStreamingEventTypeEnumKey, type ResponseFunctionCallArgumentsDoneStreamingEvent, type ResponseFunctionCallArgumentsDoneStreamingEventTypeEnumKey, type ResponseInProgressStreamingEvent, type ResponseInProgressStreamingEventTypeEnumKey, type ResponseIncompleteStreamingEvent, type ResponseIncompleteStreamingEventTypeEnumKey, type ResponseOutputItemAddedStreamingEvent, type ResponseOutputItemAddedStreamingEventTypeEnumKey, type ResponseOutputItemDoneStreamingEvent, type ResponseOutputItemDoneStreamingEventTypeEnumKey, type ResponseOutputTextAnnotationAddedStreamingEvent, type ResponseOutputTextAnnotationAddedStreamingEventTypeEnumKey, type ResponseOutputTextDeltaStreamingEvent, type ResponseOutputTextDeltaStreamingEventTypeEnumKey, type ResponseOutputTextDoneStreamingEvent, type ResponseOutputTextDoneStreamingEventTypeEnumKey, type ResponseQueuedStreamingEvent, type ResponseQueuedStreamingEventTypeEnumKey, type ResponseReasoningDeltaStreamingEvent, type ResponseReasoningDeltaStreamingEventTypeEnumKey, type ResponseReasoningDoneStreamingEvent, type ResponseReasoningDoneStreamingEventTypeEnumKey, type ResponseReasoningSummaryDeltaStreamingEvent, type ResponseReasoningSummaryDeltaStreamingEventTypeEnumKey, type ResponseReasoningSummaryDoneStreamingEvent, type ResponseReasoningSummaryDoneStreamingEventTypeEnumKey, type ResponseReasoningSummaryPartAddedStreamingEvent, type ResponseReasoningSummaryPartAddedStreamingEventTypeEnumKey, type ResponseReasoningSummaryPartDoneStreamingEvent, type ResponseReasoningSummaryPartDoneStreamingEventTypeEnumKey, type ResponseRefusalDeltaStreamingEvent, type ResponseRefusalDeltaStreamingEventTypeEnumKey, type ResponseRefusalDoneStreamingEvent, type ResponseRefusalDoneStreamingEventTypeEnumKey, type ResponseResource, type ResponseResourceObjectEnumKey, type ResponsesToolParam, type ServiceTierEnum, type ServiceTierEnumEnumKey, type SpecificFunctionParam, type SpecificFunctionParamTypeEnumKey, type SpecificToolChoiceParam, type StreamOptionsParam, type SummaryTextContent, type SummaryTextContentTypeEnumKey, type SystemMessageItemParam, type SystemMessageItemParamRoleEnumKey, type SystemMessageItemParamTypeEnumKey, type TextContent, type TextContentTypeEnumKey, type TextField, type TextFormatParam, type TextParam, type TextResponseFormat, type TextResponseFormatTypeEnumKey, type Tool, type ToolChoiceParam, type ToolChoiceValueEnum, type ToolChoiceValueEnumEnumKey, type TopLogProb, type TruncationEnum, type TruncationEnumEnumKey, type UrlCitationBody, type UrlCitationBodyTypeEnumKey, type UrlCitationParam, type UrlCitationParamTypeEnumKey, type Usage, type UserMessageItemParam, type UserMessageItemParamRoleEnumKey, type UserMessageItemParamTypeEnumKey, type VerbosityEnum, type VerbosityEnumEnumKey, allowedToolChoiceSchema, allowedToolChoiceTypeEnum, allowedToolsParamSchema, allowedToolsParamTypeEnum, annotationSchema, assistantMessageItemParamRoleEnum, assistantMessageItemParamSchema, assistantMessageItemParamTypeEnum, createResponseBodySchema, createresponse200Schema, createresponseMutationRequestSchema, createresponseMutationResponseSchema, detailEnumEnum, detailEnumSchema, developerMessageItemParamRoleEnum, developerMessageItemParamSchema, developerMessageItemParamTypeEnum, emptyModelParamSchema, errorPayloadSchema, errorSchema, errorStreamingEventSchema, errorStreamingEventTypeEnum, functionCallItemParamSchema, functionCallItemParamTypeEnum, functionCallItemStatusEnum, functionCallItemStatusSchema, functionCallOutputItemParamSchema, functionCallOutputItemParamTypeEnum, functionCallOutputSchema, functionCallOutputStatusEnumEnum, functionCallOutputStatusEnumSchema, functionCallOutputTypeEnum, functionCallSchema, functionCallStatusEnum, functionCallStatusSchema, functionCallTypeEnum, functionToolChoiceSchema, functionToolChoiceTypeEnum, functionToolParamSchema, functionToolParamTypeEnum, functionToolSchema, functionToolTypeEnum, imageDetailEnum, imageDetailSchema, includeEnumEnum, includeEnumSchema, incompleteDetailsSchema, inputFileContentParamSchema, inputFileContentParamTypeEnum, inputFileContentSchema, inputFileContentTypeEnum, inputImageContentParamAutoParamSchema, inputImageContentParamAutoParamTypeEnum, inputImageContentSchema, inputImageContentTypeEnum, inputTextContentParamSchema, inputTextContentParamTypeEnum, inputTextContentSchema, inputTextContentTypeEnum, inputTokensDetailsSchema, inputVideoContentSchema, inputVideoContentTypeEnum, itemFieldSchema, itemParamSchema, itemReferenceParamSchema, itemReferenceParamTypeEnum, jsonObjectResponseFormatSchema, jsonObjectResponseFormatTypeEnum, jsonSchemaResponseFormatParamSchema, jsonSchemaResponseFormatParamTypeEnum, jsonSchemaResponseFormatSchema, jsonSchemaResponseFormatTypeEnum, logProbSchema, messageRoleEnum, messageRoleSchema, messageSchema, messageStatusEnum, messageStatusSchema, messageTypeEnum, metadataParamSchema, outputTextContentParamSchema, outputTextContentParamTypeEnum, outputTextContentSchema, outputTextContentTypeEnum, outputTokensDetailsSchema, reasoningBodySchema, reasoningBodyTypeEnum, reasoningEffortEnumEnum, reasoningEffortEnumSchema, reasoningItemParamSchema, reasoningItemParamTypeEnum, reasoningParamSchema, reasoningSchema, reasoningSummaryContentParamSchema, reasoningSummaryContentParamTypeEnum, reasoningSummaryEnumEnum, reasoningSummaryEnumSchema, reasoningTextContentSchema, reasoningTextContentTypeEnum, refusalContentParamSchema, refusalContentParamTypeEnum, refusalContentSchema, refusalContentTypeEnum, responseCompletedStreamingEventSchema, responseCompletedStreamingEventTypeEnum, responseContentPartAddedStreamingEventSchema, responseContentPartAddedStreamingEventTypeEnum, responseContentPartDoneStreamingEventSchema, responseContentPartDoneStreamingEventTypeEnum, responseCreatedStreamingEventSchema, responseCreatedStreamingEventTypeEnum, responseFailedStreamingEventSchema, responseFailedStreamingEventTypeEnum, responseFunctionCallArgumentsDeltaStreamingEventSchema, responseFunctionCallArgumentsDeltaStreamingEventTypeEnum, responseFunctionCallArgumentsDoneStreamingEventSchema, responseFunctionCallArgumentsDoneStreamingEventTypeEnum, responseInProgressStreamingEventSchema, responseInProgressStreamingEventTypeEnum, responseIncompleteStreamingEventSchema, responseIncompleteStreamingEventTypeEnum, responseOutputItemAddedStreamingEventSchema, responseOutputItemAddedStreamingEventTypeEnum, responseOutputItemDoneStreamingEventSchema, responseOutputItemDoneStreamingEventTypeEnum, responseOutputTextAnnotationAddedStreamingEventSchema, responseOutputTextAnnotationAddedStreamingEventTypeEnum, responseOutputTextDeltaStreamingEventSchema, responseOutputTextDeltaStreamingEventTypeEnum, responseOutputTextDoneStreamingEventSchema, responseOutputTextDoneStreamingEventTypeEnum, responseQueuedStreamingEventSchema, responseQueuedStreamingEventTypeEnum, responseReasoningDeltaStreamingEventSchema, responseReasoningDeltaStreamingEventTypeEnum, responseReasoningDoneStreamingEventSchema, responseReasoningDoneStreamingEventTypeEnum, responseReasoningSummaryDeltaStreamingEventSchema, responseReasoningSummaryDeltaStreamingEventTypeEnum, responseReasoningSummaryDoneStreamingEventSchema, responseReasoningSummaryDoneStreamingEventTypeEnum, responseReasoningSummaryPartAddedStreamingEventSchema, responseReasoningSummaryPartAddedStreamingEventTypeEnum, responseReasoningSummaryPartDoneStreamingEventSchema, responseReasoningSummaryPartDoneStreamingEventTypeEnum, responseRefusalDeltaStreamingEventSchema, responseRefusalDeltaStreamingEventTypeEnum, responseRefusalDoneStreamingEventSchema, responseRefusalDoneStreamingEventTypeEnum, responseResourceObjectEnum, responseResourceSchema, responsesToolParamSchema, serviceTierEnumEnum, serviceTierEnumSchema, specificFunctionParamSchema, specificFunctionParamTypeEnum, specificToolChoiceParamSchema, streamOptionsParamSchema, summaryTextContentSchema, summaryTextContentTypeEnum, systemMessageItemParamRoleEnum, systemMessageItemParamSchema, systemMessageItemParamTypeEnum, textContentSchema, textContentTypeEnum, textFieldSchema, textFormatParamSchema, textParamSchema, textResponseFormatSchema, textResponseFormatTypeEnum, toolChoiceParamSchema, toolChoiceValueEnumEnum, toolChoiceValueEnumSchema, toolSchema, topLogProbSchema, truncationEnumEnum, truncationEnumSchema, urlCitationBodySchema, urlCitationBodyTypeEnum, urlCitationParamSchema, urlCitationParamTypeEnum, usageSchema, userMessageItemParamRoleEnum, userMessageItemParamSchema, userMessageItemParamTypeEnum, verbosityEnumEnum, verbosityEnumSchema };
31636
+ declare class TekimaxClient {
31637
+ private baseUrl;
31638
+ private headers;
31639
+ constructor(options?: {
31640
+ baseUrl?: string;
31641
+ apiKey?: string;
31642
+ });
31643
+ private request;
31644
+ createSession(body: CreateResponseBody): Promise<ResponseResource>;
31645
+ sendMessage(body: CreateResponseBody): Promise<ResponseResource>;
31646
+ }
31647
+
31648
+ export { type AllowedToolChoice, type AllowedToolChoiceTypeEnumKey, type AllowedToolsParam, type AllowedToolsParamTypeEnumKey, type Annotation, type AssistantMessageItemParam, type AssistantMessageItemParamRoleEnumKey, type AssistantMessageItemParamTypeEnumKey, type CreateResponseBody, type Createresponse200, type CreateresponseMutation, type CreateresponseMutationRequest, type CreateresponseMutationResponse, type DetailEnum, type DetailEnumEnumKey, type DeveloperMessageItemParam, type DeveloperMessageItemParamRoleEnumKey, type DeveloperMessageItemParamTypeEnumKey, type EmptyModelParam, type Error, type ErrorPayload, type ErrorStreamingEvent, type ErrorStreamingEventTypeEnumKey, type FunctionCall, type FunctionCallItemParam, type FunctionCallItemParamTypeEnumKey, type FunctionCallItemStatus, type FunctionCallItemStatusEnumKey, type FunctionCallOutput, type FunctionCallOutputItemParam, type FunctionCallOutputItemParamTypeEnumKey, type FunctionCallOutputStatusEnum, type FunctionCallOutputStatusEnumEnumKey, type FunctionCallOutputTypeEnumKey, type FunctionCallStatus, type FunctionCallStatusEnumKey, type FunctionCallTypeEnumKey, type FunctionTool, type FunctionToolChoice, type FunctionToolChoiceTypeEnumKey, type FunctionToolParam, type FunctionToolParamTypeEnumKey, type FunctionToolTypeEnumKey, type ImageDetail, type ImageDetailEnumKey, type IncludeEnum, type IncludeEnumEnumKey, type IncompleteDetails, type InputFileContent, type InputFileContentParam, type InputFileContentParamTypeEnumKey, type InputFileContentTypeEnumKey, type InputImageContent, type InputImageContentParamAutoParam, type InputImageContentParamAutoParamTypeEnumKey, type InputImageContentTypeEnumKey, type InputTextContent, type InputTextContentParam, type InputTextContentParamTypeEnumKey, type InputTextContentTypeEnumKey, type InputTokensDetails, type InputVideoContent, type InputVideoContentTypeEnumKey, type ItemField, type ItemParam, type ItemReferenceParam, type ItemReferenceParamTypeEnumKey, type JsonObjectResponseFormat, type JsonObjectResponseFormatTypeEnumKey, type JsonSchemaResponseFormat, type JsonSchemaResponseFormatParam, type JsonSchemaResponseFormatParamTypeEnumKey, type JsonSchemaResponseFormatTypeEnumKey, type LogProb, type Message, type MessageRole, type MessageRoleEnumKey, type MessageStatus, type MessageStatusEnumKey, type MessageTypeEnumKey, type MetadataParam, type OutputTextContent, type OutputTextContentParam, type OutputTextContentParamTypeEnumKey, type OutputTextContentTypeEnumKey, type OutputTokensDetails, type Reasoning, type ReasoningBody, type ReasoningBodyTypeEnumKey, type ReasoningEffortEnum, type ReasoningEffortEnumEnumKey, type ReasoningItemParam, type ReasoningItemParamTypeEnumKey, type ReasoningParam, type ReasoningSummaryContentParam, type ReasoningSummaryContentParamTypeEnumKey, type ReasoningSummaryEnum, type ReasoningSummaryEnumEnumKey, type ReasoningTextContent, type ReasoningTextContentTypeEnumKey, type RefusalContent, type RefusalContentParam, type RefusalContentParamTypeEnumKey, type RefusalContentTypeEnumKey, type ResponseCompletedStreamingEvent, type ResponseCompletedStreamingEventTypeEnumKey, type ResponseContentPartAddedStreamingEvent, type ResponseContentPartAddedStreamingEventTypeEnumKey, type ResponseContentPartDoneStreamingEvent, type ResponseContentPartDoneStreamingEventTypeEnumKey, type ResponseCreatedStreamingEvent, type ResponseCreatedStreamingEventTypeEnumKey, type ResponseFailedStreamingEvent, type ResponseFailedStreamingEventTypeEnumKey, type ResponseFunctionCallArgumentsDeltaStreamingEvent, type ResponseFunctionCallArgumentsDeltaStreamingEventTypeEnumKey, type ResponseFunctionCallArgumentsDoneStreamingEvent, type ResponseFunctionCallArgumentsDoneStreamingEventTypeEnumKey, type ResponseInProgressStreamingEvent, type ResponseInProgressStreamingEventTypeEnumKey, type ResponseIncompleteStreamingEvent, type ResponseIncompleteStreamingEventTypeEnumKey, type ResponseOutputItemAddedStreamingEvent, type ResponseOutputItemAddedStreamingEventTypeEnumKey, type ResponseOutputItemDoneStreamingEvent, type ResponseOutputItemDoneStreamingEventTypeEnumKey, type ResponseOutputTextAnnotationAddedStreamingEvent, type ResponseOutputTextAnnotationAddedStreamingEventTypeEnumKey, type ResponseOutputTextDeltaStreamingEvent, type ResponseOutputTextDeltaStreamingEventTypeEnumKey, type ResponseOutputTextDoneStreamingEvent, type ResponseOutputTextDoneStreamingEventTypeEnumKey, type ResponseQueuedStreamingEvent, type ResponseQueuedStreamingEventTypeEnumKey, type ResponseReasoningDeltaStreamingEvent, type ResponseReasoningDeltaStreamingEventTypeEnumKey, type ResponseReasoningDoneStreamingEvent, type ResponseReasoningDoneStreamingEventTypeEnumKey, type ResponseReasoningSummaryDeltaStreamingEvent, type ResponseReasoningSummaryDeltaStreamingEventTypeEnumKey, type ResponseReasoningSummaryDoneStreamingEvent, type ResponseReasoningSummaryDoneStreamingEventTypeEnumKey, type ResponseReasoningSummaryPartAddedStreamingEvent, type ResponseReasoningSummaryPartAddedStreamingEventTypeEnumKey, type ResponseReasoningSummaryPartDoneStreamingEvent, type ResponseReasoningSummaryPartDoneStreamingEventTypeEnumKey, type ResponseRefusalDeltaStreamingEvent, type ResponseRefusalDeltaStreamingEventTypeEnumKey, type ResponseRefusalDoneStreamingEvent, type ResponseRefusalDoneStreamingEventTypeEnumKey, type ResponseResource, type ResponseResourceObjectEnumKey, type ResponsesToolParam, type ServiceTierEnum, type ServiceTierEnumEnumKey, type SpecificFunctionParam, type SpecificFunctionParamTypeEnumKey, type SpecificToolChoiceParam, type StreamOptionsParam, type SummaryTextContent, type SummaryTextContentTypeEnumKey, type SystemMessageItemParam, type SystemMessageItemParamRoleEnumKey, type SystemMessageItemParamTypeEnumKey, TekimaxClient, type TextContent, type TextContentTypeEnumKey, type TextField, type TextFormatParam, type TextParam, type TextResponseFormat, type TextResponseFormatTypeEnumKey, type Tool, type ToolChoiceParam, type ToolChoiceValueEnum, type ToolChoiceValueEnumEnumKey, type TopLogProb, type TruncationEnum, type TruncationEnumEnumKey, type UrlCitationBody, type UrlCitationBodyTypeEnumKey, type UrlCitationParam, type UrlCitationParamTypeEnumKey, type Usage, type UserMessageItemParam, type UserMessageItemParamRoleEnumKey, type UserMessageItemParamTypeEnumKey, type VerbosityEnum, type VerbosityEnumEnumKey, allowedToolChoiceSchema, allowedToolChoiceTypeEnum, allowedToolsParamSchema, allowedToolsParamTypeEnum, annotationSchema, assistantMessageItemParamRoleEnum, assistantMessageItemParamSchema, assistantMessageItemParamTypeEnum, createResponseBodySchema, createresponse200Schema, createresponseMutationRequestSchema, createresponseMutationResponseSchema, detailEnumEnum, detailEnumSchema, developerMessageItemParamRoleEnum, developerMessageItemParamSchema, developerMessageItemParamTypeEnum, emptyModelParamSchema, errorPayloadSchema, errorSchema, errorStreamingEventSchema, errorStreamingEventTypeEnum, functionCallItemParamSchema, functionCallItemParamTypeEnum, functionCallItemStatusEnum, functionCallItemStatusSchema, functionCallOutputItemParamSchema, functionCallOutputItemParamTypeEnum, functionCallOutputSchema, functionCallOutputStatusEnumEnum, functionCallOutputStatusEnumSchema, functionCallOutputTypeEnum, functionCallSchema, functionCallStatusEnum, functionCallStatusSchema, functionCallTypeEnum, functionToolChoiceSchema, functionToolChoiceTypeEnum, functionToolParamSchema, functionToolParamTypeEnum, functionToolSchema, functionToolTypeEnum, imageDetailEnum, imageDetailSchema, includeEnumEnum, includeEnumSchema, incompleteDetailsSchema, inputFileContentParamSchema, inputFileContentParamTypeEnum, inputFileContentSchema, inputFileContentTypeEnum, inputImageContentParamAutoParamSchema, inputImageContentParamAutoParamTypeEnum, inputImageContentSchema, inputImageContentTypeEnum, inputTextContentParamSchema, inputTextContentParamTypeEnum, inputTextContentSchema, inputTextContentTypeEnum, inputTokensDetailsSchema, inputVideoContentSchema, inputVideoContentTypeEnum, itemFieldSchema, itemParamSchema, itemReferenceParamSchema, itemReferenceParamTypeEnum, jsonObjectResponseFormatSchema, jsonObjectResponseFormatTypeEnum, jsonSchemaResponseFormatParamSchema, jsonSchemaResponseFormatParamTypeEnum, jsonSchemaResponseFormatSchema, jsonSchemaResponseFormatTypeEnum, logProbSchema, messageRoleEnum, messageRoleSchema, messageSchema, messageStatusEnum, messageStatusSchema, messageTypeEnum, metadataParamSchema, outputTextContentParamSchema, outputTextContentParamTypeEnum, outputTextContentSchema, outputTextContentTypeEnum, outputTokensDetailsSchema, reasoningBodySchema, reasoningBodyTypeEnum, reasoningEffortEnumEnum, reasoningEffortEnumSchema, reasoningItemParamSchema, reasoningItemParamTypeEnum, reasoningParamSchema, reasoningSchema, reasoningSummaryContentParamSchema, reasoningSummaryContentParamTypeEnum, reasoningSummaryEnumEnum, reasoningSummaryEnumSchema, reasoningTextContentSchema, reasoningTextContentTypeEnum, refusalContentParamSchema, refusalContentParamTypeEnum, refusalContentSchema, refusalContentTypeEnum, responseCompletedStreamingEventSchema, responseCompletedStreamingEventTypeEnum, responseContentPartAddedStreamingEventSchema, responseContentPartAddedStreamingEventTypeEnum, responseContentPartDoneStreamingEventSchema, responseContentPartDoneStreamingEventTypeEnum, responseCreatedStreamingEventSchema, responseCreatedStreamingEventTypeEnum, responseFailedStreamingEventSchema, responseFailedStreamingEventTypeEnum, responseFunctionCallArgumentsDeltaStreamingEventSchema, responseFunctionCallArgumentsDeltaStreamingEventTypeEnum, responseFunctionCallArgumentsDoneStreamingEventSchema, responseFunctionCallArgumentsDoneStreamingEventTypeEnum, responseInProgressStreamingEventSchema, responseInProgressStreamingEventTypeEnum, responseIncompleteStreamingEventSchema, responseIncompleteStreamingEventTypeEnum, responseOutputItemAddedStreamingEventSchema, responseOutputItemAddedStreamingEventTypeEnum, responseOutputItemDoneStreamingEventSchema, responseOutputItemDoneStreamingEventTypeEnum, responseOutputTextAnnotationAddedStreamingEventSchema, responseOutputTextAnnotationAddedStreamingEventTypeEnum, responseOutputTextDeltaStreamingEventSchema, responseOutputTextDeltaStreamingEventTypeEnum, responseOutputTextDoneStreamingEventSchema, responseOutputTextDoneStreamingEventTypeEnum, responseQueuedStreamingEventSchema, responseQueuedStreamingEventTypeEnum, responseReasoningDeltaStreamingEventSchema, responseReasoningDeltaStreamingEventTypeEnum, responseReasoningDoneStreamingEventSchema, responseReasoningDoneStreamingEventTypeEnum, responseReasoningSummaryDeltaStreamingEventSchema, responseReasoningSummaryDeltaStreamingEventTypeEnum, responseReasoningSummaryDoneStreamingEventSchema, responseReasoningSummaryDoneStreamingEventTypeEnum, responseReasoningSummaryPartAddedStreamingEventSchema, responseReasoningSummaryPartAddedStreamingEventTypeEnum, responseReasoningSummaryPartDoneStreamingEventSchema, responseReasoningSummaryPartDoneStreamingEventTypeEnum, responseRefusalDeltaStreamingEventSchema, responseRefusalDeltaStreamingEventTypeEnum, responseRefusalDoneStreamingEventSchema, responseRefusalDoneStreamingEventTypeEnum, responseResourceObjectEnum, responseResourceSchema, responsesToolParamSchema, serviceTierEnumEnum, serviceTierEnumSchema, specificFunctionParamSchema, specificFunctionParamTypeEnum, specificToolChoiceParamSchema, streamOptionsParamSchema, summaryTextContentSchema, summaryTextContentTypeEnum, systemMessageItemParamRoleEnum, systemMessageItemParamSchema, systemMessageItemParamTypeEnum, textContentSchema, textContentTypeEnum, textFieldSchema, textFormatParamSchema, textParamSchema, textResponseFormatSchema, textResponseFormatTypeEnum, toolChoiceParamSchema, toolChoiceValueEnumEnum, toolChoiceValueEnumSchema, toolSchema, topLogProbSchema, truncationEnumEnum, truncationEnumSchema, urlCitationBodySchema, urlCitationBodyTypeEnum, urlCitationParamSchema, urlCitationParamTypeEnum, usageSchema, userMessageItemParamRoleEnum, userMessageItemParamSchema, userMessageItemParamTypeEnum, verbosityEnumEnum, verbosityEnumSchema };
package/dist/index.d.ts CHANGED
@@ -31633,4 +31633,16 @@ declare const userMessageItemParamSchema: z.ZodObject<{
31633
31633
 
31634
31634
  declare const verbosityEnumSchema: z.ZodEnum<["low", "medium", "high"]>;
31635
31635
 
31636
- export { type AllowedToolChoice, type AllowedToolChoiceTypeEnumKey, type AllowedToolsParam, type AllowedToolsParamTypeEnumKey, type Annotation, type AssistantMessageItemParam, type AssistantMessageItemParamRoleEnumKey, type AssistantMessageItemParamTypeEnumKey, type CreateResponseBody, type Createresponse200, type CreateresponseMutation, type CreateresponseMutationRequest, type CreateresponseMutationResponse, type DetailEnum, type DetailEnumEnumKey, type DeveloperMessageItemParam, type DeveloperMessageItemParamRoleEnumKey, type DeveloperMessageItemParamTypeEnumKey, type EmptyModelParam, type Error, type ErrorPayload, type ErrorStreamingEvent, type ErrorStreamingEventTypeEnumKey, type FunctionCall, type FunctionCallItemParam, type FunctionCallItemParamTypeEnumKey, type FunctionCallItemStatus, type FunctionCallItemStatusEnumKey, type FunctionCallOutput, type FunctionCallOutputItemParam, type FunctionCallOutputItemParamTypeEnumKey, type FunctionCallOutputStatusEnum, type FunctionCallOutputStatusEnumEnumKey, type FunctionCallOutputTypeEnumKey, type FunctionCallStatus, type FunctionCallStatusEnumKey, type FunctionCallTypeEnumKey, type FunctionTool, type FunctionToolChoice, type FunctionToolChoiceTypeEnumKey, type FunctionToolParam, type FunctionToolParamTypeEnumKey, type FunctionToolTypeEnumKey, type ImageDetail, type ImageDetailEnumKey, type IncludeEnum, type IncludeEnumEnumKey, type IncompleteDetails, type InputFileContent, type InputFileContentParam, type InputFileContentParamTypeEnumKey, type InputFileContentTypeEnumKey, type InputImageContent, type InputImageContentParamAutoParam, type InputImageContentParamAutoParamTypeEnumKey, type InputImageContentTypeEnumKey, type InputTextContent, type InputTextContentParam, type InputTextContentParamTypeEnumKey, type InputTextContentTypeEnumKey, type InputTokensDetails, type InputVideoContent, type InputVideoContentTypeEnumKey, type ItemField, type ItemParam, type ItemReferenceParam, type ItemReferenceParamTypeEnumKey, type JsonObjectResponseFormat, type JsonObjectResponseFormatTypeEnumKey, type JsonSchemaResponseFormat, type JsonSchemaResponseFormatParam, type JsonSchemaResponseFormatParamTypeEnumKey, type JsonSchemaResponseFormatTypeEnumKey, type LogProb, type Message, type MessageRole, type MessageRoleEnumKey, type MessageStatus, type MessageStatusEnumKey, type MessageTypeEnumKey, type MetadataParam, type OutputTextContent, type OutputTextContentParam, type OutputTextContentParamTypeEnumKey, type OutputTextContentTypeEnumKey, type OutputTokensDetails, type Reasoning, type ReasoningBody, type ReasoningBodyTypeEnumKey, type ReasoningEffortEnum, type ReasoningEffortEnumEnumKey, type ReasoningItemParam, type ReasoningItemParamTypeEnumKey, type ReasoningParam, type ReasoningSummaryContentParam, type ReasoningSummaryContentParamTypeEnumKey, type ReasoningSummaryEnum, type ReasoningSummaryEnumEnumKey, type ReasoningTextContent, type ReasoningTextContentTypeEnumKey, type RefusalContent, type RefusalContentParam, type RefusalContentParamTypeEnumKey, type RefusalContentTypeEnumKey, type ResponseCompletedStreamingEvent, type ResponseCompletedStreamingEventTypeEnumKey, type ResponseContentPartAddedStreamingEvent, type ResponseContentPartAddedStreamingEventTypeEnumKey, type ResponseContentPartDoneStreamingEvent, type ResponseContentPartDoneStreamingEventTypeEnumKey, type ResponseCreatedStreamingEvent, type ResponseCreatedStreamingEventTypeEnumKey, type ResponseFailedStreamingEvent, type ResponseFailedStreamingEventTypeEnumKey, type ResponseFunctionCallArgumentsDeltaStreamingEvent, type ResponseFunctionCallArgumentsDeltaStreamingEventTypeEnumKey, type ResponseFunctionCallArgumentsDoneStreamingEvent, type ResponseFunctionCallArgumentsDoneStreamingEventTypeEnumKey, type ResponseInProgressStreamingEvent, type ResponseInProgressStreamingEventTypeEnumKey, type ResponseIncompleteStreamingEvent, type ResponseIncompleteStreamingEventTypeEnumKey, type ResponseOutputItemAddedStreamingEvent, type ResponseOutputItemAddedStreamingEventTypeEnumKey, type ResponseOutputItemDoneStreamingEvent, type ResponseOutputItemDoneStreamingEventTypeEnumKey, type ResponseOutputTextAnnotationAddedStreamingEvent, type ResponseOutputTextAnnotationAddedStreamingEventTypeEnumKey, type ResponseOutputTextDeltaStreamingEvent, type ResponseOutputTextDeltaStreamingEventTypeEnumKey, type ResponseOutputTextDoneStreamingEvent, type ResponseOutputTextDoneStreamingEventTypeEnumKey, type ResponseQueuedStreamingEvent, type ResponseQueuedStreamingEventTypeEnumKey, type ResponseReasoningDeltaStreamingEvent, type ResponseReasoningDeltaStreamingEventTypeEnumKey, type ResponseReasoningDoneStreamingEvent, type ResponseReasoningDoneStreamingEventTypeEnumKey, type ResponseReasoningSummaryDeltaStreamingEvent, type ResponseReasoningSummaryDeltaStreamingEventTypeEnumKey, type ResponseReasoningSummaryDoneStreamingEvent, type ResponseReasoningSummaryDoneStreamingEventTypeEnumKey, type ResponseReasoningSummaryPartAddedStreamingEvent, type ResponseReasoningSummaryPartAddedStreamingEventTypeEnumKey, type ResponseReasoningSummaryPartDoneStreamingEvent, type ResponseReasoningSummaryPartDoneStreamingEventTypeEnumKey, type ResponseRefusalDeltaStreamingEvent, type ResponseRefusalDeltaStreamingEventTypeEnumKey, type ResponseRefusalDoneStreamingEvent, type ResponseRefusalDoneStreamingEventTypeEnumKey, type ResponseResource, type ResponseResourceObjectEnumKey, type ResponsesToolParam, type ServiceTierEnum, type ServiceTierEnumEnumKey, type SpecificFunctionParam, type SpecificFunctionParamTypeEnumKey, type SpecificToolChoiceParam, type StreamOptionsParam, type SummaryTextContent, type SummaryTextContentTypeEnumKey, type SystemMessageItemParam, type SystemMessageItemParamRoleEnumKey, type SystemMessageItemParamTypeEnumKey, type TextContent, type TextContentTypeEnumKey, type TextField, type TextFormatParam, type TextParam, type TextResponseFormat, type TextResponseFormatTypeEnumKey, type Tool, type ToolChoiceParam, type ToolChoiceValueEnum, type ToolChoiceValueEnumEnumKey, type TopLogProb, type TruncationEnum, type TruncationEnumEnumKey, type UrlCitationBody, type UrlCitationBodyTypeEnumKey, type UrlCitationParam, type UrlCitationParamTypeEnumKey, type Usage, type UserMessageItemParam, type UserMessageItemParamRoleEnumKey, type UserMessageItemParamTypeEnumKey, type VerbosityEnum, type VerbosityEnumEnumKey, allowedToolChoiceSchema, allowedToolChoiceTypeEnum, allowedToolsParamSchema, allowedToolsParamTypeEnum, annotationSchema, assistantMessageItemParamRoleEnum, assistantMessageItemParamSchema, assistantMessageItemParamTypeEnum, createResponseBodySchema, createresponse200Schema, createresponseMutationRequestSchema, createresponseMutationResponseSchema, detailEnumEnum, detailEnumSchema, developerMessageItemParamRoleEnum, developerMessageItemParamSchema, developerMessageItemParamTypeEnum, emptyModelParamSchema, errorPayloadSchema, errorSchema, errorStreamingEventSchema, errorStreamingEventTypeEnum, functionCallItemParamSchema, functionCallItemParamTypeEnum, functionCallItemStatusEnum, functionCallItemStatusSchema, functionCallOutputItemParamSchema, functionCallOutputItemParamTypeEnum, functionCallOutputSchema, functionCallOutputStatusEnumEnum, functionCallOutputStatusEnumSchema, functionCallOutputTypeEnum, functionCallSchema, functionCallStatusEnum, functionCallStatusSchema, functionCallTypeEnum, functionToolChoiceSchema, functionToolChoiceTypeEnum, functionToolParamSchema, functionToolParamTypeEnum, functionToolSchema, functionToolTypeEnum, imageDetailEnum, imageDetailSchema, includeEnumEnum, includeEnumSchema, incompleteDetailsSchema, inputFileContentParamSchema, inputFileContentParamTypeEnum, inputFileContentSchema, inputFileContentTypeEnum, inputImageContentParamAutoParamSchema, inputImageContentParamAutoParamTypeEnum, inputImageContentSchema, inputImageContentTypeEnum, inputTextContentParamSchema, inputTextContentParamTypeEnum, inputTextContentSchema, inputTextContentTypeEnum, inputTokensDetailsSchema, inputVideoContentSchema, inputVideoContentTypeEnum, itemFieldSchema, itemParamSchema, itemReferenceParamSchema, itemReferenceParamTypeEnum, jsonObjectResponseFormatSchema, jsonObjectResponseFormatTypeEnum, jsonSchemaResponseFormatParamSchema, jsonSchemaResponseFormatParamTypeEnum, jsonSchemaResponseFormatSchema, jsonSchemaResponseFormatTypeEnum, logProbSchema, messageRoleEnum, messageRoleSchema, messageSchema, messageStatusEnum, messageStatusSchema, messageTypeEnum, metadataParamSchema, outputTextContentParamSchema, outputTextContentParamTypeEnum, outputTextContentSchema, outputTextContentTypeEnum, outputTokensDetailsSchema, reasoningBodySchema, reasoningBodyTypeEnum, reasoningEffortEnumEnum, reasoningEffortEnumSchema, reasoningItemParamSchema, reasoningItemParamTypeEnum, reasoningParamSchema, reasoningSchema, reasoningSummaryContentParamSchema, reasoningSummaryContentParamTypeEnum, reasoningSummaryEnumEnum, reasoningSummaryEnumSchema, reasoningTextContentSchema, reasoningTextContentTypeEnum, refusalContentParamSchema, refusalContentParamTypeEnum, refusalContentSchema, refusalContentTypeEnum, responseCompletedStreamingEventSchema, responseCompletedStreamingEventTypeEnum, responseContentPartAddedStreamingEventSchema, responseContentPartAddedStreamingEventTypeEnum, responseContentPartDoneStreamingEventSchema, responseContentPartDoneStreamingEventTypeEnum, responseCreatedStreamingEventSchema, responseCreatedStreamingEventTypeEnum, responseFailedStreamingEventSchema, responseFailedStreamingEventTypeEnum, responseFunctionCallArgumentsDeltaStreamingEventSchema, responseFunctionCallArgumentsDeltaStreamingEventTypeEnum, responseFunctionCallArgumentsDoneStreamingEventSchema, responseFunctionCallArgumentsDoneStreamingEventTypeEnum, responseInProgressStreamingEventSchema, responseInProgressStreamingEventTypeEnum, responseIncompleteStreamingEventSchema, responseIncompleteStreamingEventTypeEnum, responseOutputItemAddedStreamingEventSchema, responseOutputItemAddedStreamingEventTypeEnum, responseOutputItemDoneStreamingEventSchema, responseOutputItemDoneStreamingEventTypeEnum, responseOutputTextAnnotationAddedStreamingEventSchema, responseOutputTextAnnotationAddedStreamingEventTypeEnum, responseOutputTextDeltaStreamingEventSchema, responseOutputTextDeltaStreamingEventTypeEnum, responseOutputTextDoneStreamingEventSchema, responseOutputTextDoneStreamingEventTypeEnum, responseQueuedStreamingEventSchema, responseQueuedStreamingEventTypeEnum, responseReasoningDeltaStreamingEventSchema, responseReasoningDeltaStreamingEventTypeEnum, responseReasoningDoneStreamingEventSchema, responseReasoningDoneStreamingEventTypeEnum, responseReasoningSummaryDeltaStreamingEventSchema, responseReasoningSummaryDeltaStreamingEventTypeEnum, responseReasoningSummaryDoneStreamingEventSchema, responseReasoningSummaryDoneStreamingEventTypeEnum, responseReasoningSummaryPartAddedStreamingEventSchema, responseReasoningSummaryPartAddedStreamingEventTypeEnum, responseReasoningSummaryPartDoneStreamingEventSchema, responseReasoningSummaryPartDoneStreamingEventTypeEnum, responseRefusalDeltaStreamingEventSchema, responseRefusalDeltaStreamingEventTypeEnum, responseRefusalDoneStreamingEventSchema, responseRefusalDoneStreamingEventTypeEnum, responseResourceObjectEnum, responseResourceSchema, responsesToolParamSchema, serviceTierEnumEnum, serviceTierEnumSchema, specificFunctionParamSchema, specificFunctionParamTypeEnum, specificToolChoiceParamSchema, streamOptionsParamSchema, summaryTextContentSchema, summaryTextContentTypeEnum, systemMessageItemParamRoleEnum, systemMessageItemParamSchema, systemMessageItemParamTypeEnum, textContentSchema, textContentTypeEnum, textFieldSchema, textFormatParamSchema, textParamSchema, textResponseFormatSchema, textResponseFormatTypeEnum, toolChoiceParamSchema, toolChoiceValueEnumEnum, toolChoiceValueEnumSchema, toolSchema, topLogProbSchema, truncationEnumEnum, truncationEnumSchema, urlCitationBodySchema, urlCitationBodyTypeEnum, urlCitationParamSchema, urlCitationParamTypeEnum, usageSchema, userMessageItemParamRoleEnum, userMessageItemParamSchema, userMessageItemParamTypeEnum, verbosityEnumEnum, verbosityEnumSchema };
31636
+ declare class TekimaxClient {
31637
+ private baseUrl;
31638
+ private headers;
31639
+ constructor(options?: {
31640
+ baseUrl?: string;
31641
+ apiKey?: string;
31642
+ });
31643
+ private request;
31644
+ createSession(body: CreateResponseBody): Promise<ResponseResource>;
31645
+ sendMessage(body: CreateResponseBody): Promise<ResponseResource>;
31646
+ }
31647
+
31648
+ export { type AllowedToolChoice, type AllowedToolChoiceTypeEnumKey, type AllowedToolsParam, type AllowedToolsParamTypeEnumKey, type Annotation, type AssistantMessageItemParam, type AssistantMessageItemParamRoleEnumKey, type AssistantMessageItemParamTypeEnumKey, type CreateResponseBody, type Createresponse200, type CreateresponseMutation, type CreateresponseMutationRequest, type CreateresponseMutationResponse, type DetailEnum, type DetailEnumEnumKey, type DeveloperMessageItemParam, type DeveloperMessageItemParamRoleEnumKey, type DeveloperMessageItemParamTypeEnumKey, type EmptyModelParam, type Error, type ErrorPayload, type ErrorStreamingEvent, type ErrorStreamingEventTypeEnumKey, type FunctionCall, type FunctionCallItemParam, type FunctionCallItemParamTypeEnumKey, type FunctionCallItemStatus, type FunctionCallItemStatusEnumKey, type FunctionCallOutput, type FunctionCallOutputItemParam, type FunctionCallOutputItemParamTypeEnumKey, type FunctionCallOutputStatusEnum, type FunctionCallOutputStatusEnumEnumKey, type FunctionCallOutputTypeEnumKey, type FunctionCallStatus, type FunctionCallStatusEnumKey, type FunctionCallTypeEnumKey, type FunctionTool, type FunctionToolChoice, type FunctionToolChoiceTypeEnumKey, type FunctionToolParam, type FunctionToolParamTypeEnumKey, type FunctionToolTypeEnumKey, type ImageDetail, type ImageDetailEnumKey, type IncludeEnum, type IncludeEnumEnumKey, type IncompleteDetails, type InputFileContent, type InputFileContentParam, type InputFileContentParamTypeEnumKey, type InputFileContentTypeEnumKey, type InputImageContent, type InputImageContentParamAutoParam, type InputImageContentParamAutoParamTypeEnumKey, type InputImageContentTypeEnumKey, type InputTextContent, type InputTextContentParam, type InputTextContentParamTypeEnumKey, type InputTextContentTypeEnumKey, type InputTokensDetails, type InputVideoContent, type InputVideoContentTypeEnumKey, type ItemField, type ItemParam, type ItemReferenceParam, type ItemReferenceParamTypeEnumKey, type JsonObjectResponseFormat, type JsonObjectResponseFormatTypeEnumKey, type JsonSchemaResponseFormat, type JsonSchemaResponseFormatParam, type JsonSchemaResponseFormatParamTypeEnumKey, type JsonSchemaResponseFormatTypeEnumKey, type LogProb, type Message, type MessageRole, type MessageRoleEnumKey, type MessageStatus, type MessageStatusEnumKey, type MessageTypeEnumKey, type MetadataParam, type OutputTextContent, type OutputTextContentParam, type OutputTextContentParamTypeEnumKey, type OutputTextContentTypeEnumKey, type OutputTokensDetails, type Reasoning, type ReasoningBody, type ReasoningBodyTypeEnumKey, type ReasoningEffortEnum, type ReasoningEffortEnumEnumKey, type ReasoningItemParam, type ReasoningItemParamTypeEnumKey, type ReasoningParam, type ReasoningSummaryContentParam, type ReasoningSummaryContentParamTypeEnumKey, type ReasoningSummaryEnum, type ReasoningSummaryEnumEnumKey, type ReasoningTextContent, type ReasoningTextContentTypeEnumKey, type RefusalContent, type RefusalContentParam, type RefusalContentParamTypeEnumKey, type RefusalContentTypeEnumKey, type ResponseCompletedStreamingEvent, type ResponseCompletedStreamingEventTypeEnumKey, type ResponseContentPartAddedStreamingEvent, type ResponseContentPartAddedStreamingEventTypeEnumKey, type ResponseContentPartDoneStreamingEvent, type ResponseContentPartDoneStreamingEventTypeEnumKey, type ResponseCreatedStreamingEvent, type ResponseCreatedStreamingEventTypeEnumKey, type ResponseFailedStreamingEvent, type ResponseFailedStreamingEventTypeEnumKey, type ResponseFunctionCallArgumentsDeltaStreamingEvent, type ResponseFunctionCallArgumentsDeltaStreamingEventTypeEnumKey, type ResponseFunctionCallArgumentsDoneStreamingEvent, type ResponseFunctionCallArgumentsDoneStreamingEventTypeEnumKey, type ResponseInProgressStreamingEvent, type ResponseInProgressStreamingEventTypeEnumKey, type ResponseIncompleteStreamingEvent, type ResponseIncompleteStreamingEventTypeEnumKey, type ResponseOutputItemAddedStreamingEvent, type ResponseOutputItemAddedStreamingEventTypeEnumKey, type ResponseOutputItemDoneStreamingEvent, type ResponseOutputItemDoneStreamingEventTypeEnumKey, type ResponseOutputTextAnnotationAddedStreamingEvent, type ResponseOutputTextAnnotationAddedStreamingEventTypeEnumKey, type ResponseOutputTextDeltaStreamingEvent, type ResponseOutputTextDeltaStreamingEventTypeEnumKey, type ResponseOutputTextDoneStreamingEvent, type ResponseOutputTextDoneStreamingEventTypeEnumKey, type ResponseQueuedStreamingEvent, type ResponseQueuedStreamingEventTypeEnumKey, type ResponseReasoningDeltaStreamingEvent, type ResponseReasoningDeltaStreamingEventTypeEnumKey, type ResponseReasoningDoneStreamingEvent, type ResponseReasoningDoneStreamingEventTypeEnumKey, type ResponseReasoningSummaryDeltaStreamingEvent, type ResponseReasoningSummaryDeltaStreamingEventTypeEnumKey, type ResponseReasoningSummaryDoneStreamingEvent, type ResponseReasoningSummaryDoneStreamingEventTypeEnumKey, type ResponseReasoningSummaryPartAddedStreamingEvent, type ResponseReasoningSummaryPartAddedStreamingEventTypeEnumKey, type ResponseReasoningSummaryPartDoneStreamingEvent, type ResponseReasoningSummaryPartDoneStreamingEventTypeEnumKey, type ResponseRefusalDeltaStreamingEvent, type ResponseRefusalDeltaStreamingEventTypeEnumKey, type ResponseRefusalDoneStreamingEvent, type ResponseRefusalDoneStreamingEventTypeEnumKey, type ResponseResource, type ResponseResourceObjectEnumKey, type ResponsesToolParam, type ServiceTierEnum, type ServiceTierEnumEnumKey, type SpecificFunctionParam, type SpecificFunctionParamTypeEnumKey, type SpecificToolChoiceParam, type StreamOptionsParam, type SummaryTextContent, type SummaryTextContentTypeEnumKey, type SystemMessageItemParam, type SystemMessageItemParamRoleEnumKey, type SystemMessageItemParamTypeEnumKey, TekimaxClient, type TextContent, type TextContentTypeEnumKey, type TextField, type TextFormatParam, type TextParam, type TextResponseFormat, type TextResponseFormatTypeEnumKey, type Tool, type ToolChoiceParam, type ToolChoiceValueEnum, type ToolChoiceValueEnumEnumKey, type TopLogProb, type TruncationEnum, type TruncationEnumEnumKey, type UrlCitationBody, type UrlCitationBodyTypeEnumKey, type UrlCitationParam, type UrlCitationParamTypeEnumKey, type Usage, type UserMessageItemParam, type UserMessageItemParamRoleEnumKey, type UserMessageItemParamTypeEnumKey, type VerbosityEnum, type VerbosityEnumEnumKey, allowedToolChoiceSchema, allowedToolChoiceTypeEnum, allowedToolsParamSchema, allowedToolsParamTypeEnum, annotationSchema, assistantMessageItemParamRoleEnum, assistantMessageItemParamSchema, assistantMessageItemParamTypeEnum, createResponseBodySchema, createresponse200Schema, createresponseMutationRequestSchema, createresponseMutationResponseSchema, detailEnumEnum, detailEnumSchema, developerMessageItemParamRoleEnum, developerMessageItemParamSchema, developerMessageItemParamTypeEnum, emptyModelParamSchema, errorPayloadSchema, errorSchema, errorStreamingEventSchema, errorStreamingEventTypeEnum, functionCallItemParamSchema, functionCallItemParamTypeEnum, functionCallItemStatusEnum, functionCallItemStatusSchema, functionCallOutputItemParamSchema, functionCallOutputItemParamTypeEnum, functionCallOutputSchema, functionCallOutputStatusEnumEnum, functionCallOutputStatusEnumSchema, functionCallOutputTypeEnum, functionCallSchema, functionCallStatusEnum, functionCallStatusSchema, functionCallTypeEnum, functionToolChoiceSchema, functionToolChoiceTypeEnum, functionToolParamSchema, functionToolParamTypeEnum, functionToolSchema, functionToolTypeEnum, imageDetailEnum, imageDetailSchema, includeEnumEnum, includeEnumSchema, incompleteDetailsSchema, inputFileContentParamSchema, inputFileContentParamTypeEnum, inputFileContentSchema, inputFileContentTypeEnum, inputImageContentParamAutoParamSchema, inputImageContentParamAutoParamTypeEnum, inputImageContentSchema, inputImageContentTypeEnum, inputTextContentParamSchema, inputTextContentParamTypeEnum, inputTextContentSchema, inputTextContentTypeEnum, inputTokensDetailsSchema, inputVideoContentSchema, inputVideoContentTypeEnum, itemFieldSchema, itemParamSchema, itemReferenceParamSchema, itemReferenceParamTypeEnum, jsonObjectResponseFormatSchema, jsonObjectResponseFormatTypeEnum, jsonSchemaResponseFormatParamSchema, jsonSchemaResponseFormatParamTypeEnum, jsonSchemaResponseFormatSchema, jsonSchemaResponseFormatTypeEnum, logProbSchema, messageRoleEnum, messageRoleSchema, messageSchema, messageStatusEnum, messageStatusSchema, messageTypeEnum, metadataParamSchema, outputTextContentParamSchema, outputTextContentParamTypeEnum, outputTextContentSchema, outputTextContentTypeEnum, outputTokensDetailsSchema, reasoningBodySchema, reasoningBodyTypeEnum, reasoningEffortEnumEnum, reasoningEffortEnumSchema, reasoningItemParamSchema, reasoningItemParamTypeEnum, reasoningParamSchema, reasoningSchema, reasoningSummaryContentParamSchema, reasoningSummaryContentParamTypeEnum, reasoningSummaryEnumEnum, reasoningSummaryEnumSchema, reasoningTextContentSchema, reasoningTextContentTypeEnum, refusalContentParamSchema, refusalContentParamTypeEnum, refusalContentSchema, refusalContentTypeEnum, responseCompletedStreamingEventSchema, responseCompletedStreamingEventTypeEnum, responseContentPartAddedStreamingEventSchema, responseContentPartAddedStreamingEventTypeEnum, responseContentPartDoneStreamingEventSchema, responseContentPartDoneStreamingEventTypeEnum, responseCreatedStreamingEventSchema, responseCreatedStreamingEventTypeEnum, responseFailedStreamingEventSchema, responseFailedStreamingEventTypeEnum, responseFunctionCallArgumentsDeltaStreamingEventSchema, responseFunctionCallArgumentsDeltaStreamingEventTypeEnum, responseFunctionCallArgumentsDoneStreamingEventSchema, responseFunctionCallArgumentsDoneStreamingEventTypeEnum, responseInProgressStreamingEventSchema, responseInProgressStreamingEventTypeEnum, responseIncompleteStreamingEventSchema, responseIncompleteStreamingEventTypeEnum, responseOutputItemAddedStreamingEventSchema, responseOutputItemAddedStreamingEventTypeEnum, responseOutputItemDoneStreamingEventSchema, responseOutputItemDoneStreamingEventTypeEnum, responseOutputTextAnnotationAddedStreamingEventSchema, responseOutputTextAnnotationAddedStreamingEventTypeEnum, responseOutputTextDeltaStreamingEventSchema, responseOutputTextDeltaStreamingEventTypeEnum, responseOutputTextDoneStreamingEventSchema, responseOutputTextDoneStreamingEventTypeEnum, responseQueuedStreamingEventSchema, responseQueuedStreamingEventTypeEnum, responseReasoningDeltaStreamingEventSchema, responseReasoningDeltaStreamingEventTypeEnum, responseReasoningDoneStreamingEventSchema, responseReasoningDoneStreamingEventTypeEnum, responseReasoningSummaryDeltaStreamingEventSchema, responseReasoningSummaryDeltaStreamingEventTypeEnum, responseReasoningSummaryDoneStreamingEventSchema, responseReasoningSummaryDoneStreamingEventTypeEnum, responseReasoningSummaryPartAddedStreamingEventSchema, responseReasoningSummaryPartAddedStreamingEventTypeEnum, responseReasoningSummaryPartDoneStreamingEventSchema, responseReasoningSummaryPartDoneStreamingEventTypeEnum, responseRefusalDeltaStreamingEventSchema, responseRefusalDeltaStreamingEventTypeEnum, responseRefusalDoneStreamingEventSchema, responseRefusalDoneStreamingEventTypeEnum, responseResourceObjectEnum, responseResourceSchema, responsesToolParamSchema, serviceTierEnumEnum, serviceTierEnumSchema, specificFunctionParamSchema, specificFunctionParamTypeEnum, specificToolChoiceParamSchema, streamOptionsParamSchema, summaryTextContentSchema, summaryTextContentTypeEnum, systemMessageItemParamRoleEnum, systemMessageItemParamSchema, systemMessageItemParamTypeEnum, textContentSchema, textContentTypeEnum, textFieldSchema, textFormatParamSchema, textParamSchema, textResponseFormatSchema, textResponseFormatTypeEnum, toolChoiceParamSchema, toolChoiceValueEnumEnum, toolChoiceValueEnumSchema, toolSchema, topLogProbSchema, truncationEnumEnum, truncationEnumSchema, urlCitationBodySchema, urlCitationBodyTypeEnum, urlCitationParamSchema, urlCitationParamTypeEnum, usageSchema, userMessageItemParamRoleEnum, userMessageItemParamSchema, userMessageItemParamTypeEnum, verbosityEnumEnum, verbosityEnumSchema };
package/dist/index.js CHANGED
@@ -17,9 +17,10 @@ var __copyProps = (to, from, except, desc) => {
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
- // src/gen/index.ts
20
+ // src/index.ts
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
+ TekimaxClient: () => TekimaxClient,
23
24
  allowedToolChoiceSchema: () => allowedToolChoiceSchema,
24
25
  allowedToolChoiceTypeEnum: () => allowedToolChoiceTypeEnum,
25
26
  allowedToolsParamSchema: () => allowedToolsParamSchema,
@@ -1496,8 +1497,37 @@ var userMessageItemParamSchema = import_zod103.z.object({
1496
1497
  }))]).describe("A piece of message content, such as text, an image, or a file.")), import_zod103.z.string()]).describe("The message content, as an array of content parts."),
1497
1498
  "status": import_zod103.z.optional(import_zod103.z.union([import_zod103.z.string(), import_zod103.z.null()]))
1498
1499
  });
1500
+
1501
+ // src/client.ts
1502
+ var TekimaxClient = class {
1503
+ constructor(options = {}) {
1504
+ this.baseUrl = options.baseUrl || "https://api.tekimax.com";
1505
+ this.headers = {
1506
+ "Content-Type": "application/json",
1507
+ ...options.apiKey ? { "Authorization": `Bearer ${options.apiKey}` } : {}
1508
+ };
1509
+ }
1510
+ async request(path, body) {
1511
+ const response = await fetch(`${this.baseUrl}${path}`, {
1512
+ method: "POST",
1513
+ headers: this.headers,
1514
+ body: JSON.stringify(body)
1515
+ });
1516
+ if (!response.ok) {
1517
+ throw new Error(`Tekimax API Error: ${response.status} ${response.statusText}`);
1518
+ }
1519
+ return response.json();
1520
+ }
1521
+ async createSession(body) {
1522
+ return this.request("/responses", body);
1523
+ }
1524
+ async sendMessage(body) {
1525
+ return this.request("/responses", body);
1526
+ }
1527
+ };
1499
1528
  // Annotate the CommonJS export names for ESM import in node:
1500
1529
  0 && (module.exports = {
1530
+ TekimaxClient,
1501
1531
  allowedToolChoiceSchema,
1502
1532
  allowedToolChoiceTypeEnum,
1503
1533
  allowedToolsParamSchema,
package/dist/index.mjs CHANGED
@@ -1284,7 +1284,36 @@ var userMessageItemParamSchema = z103.object({
1284
1284
  }))]).describe("A piece of message content, such as text, an image, or a file.")), z103.string()]).describe("The message content, as an array of content parts."),
1285
1285
  "status": z103.optional(z103.union([z103.string(), z103.null()]))
1286
1286
  });
1287
+
1288
+ // src/client.ts
1289
+ var TekimaxClient = class {
1290
+ constructor(options = {}) {
1291
+ this.baseUrl = options.baseUrl || "https://api.tekimax.com";
1292
+ this.headers = {
1293
+ "Content-Type": "application/json",
1294
+ ...options.apiKey ? { "Authorization": `Bearer ${options.apiKey}` } : {}
1295
+ };
1296
+ }
1297
+ async request(path, body) {
1298
+ const response = await fetch(`${this.baseUrl}${path}`, {
1299
+ method: "POST",
1300
+ headers: this.headers,
1301
+ body: JSON.stringify(body)
1302
+ });
1303
+ if (!response.ok) {
1304
+ throw new Error(`Tekimax API Error: ${response.status} ${response.statusText}`);
1305
+ }
1306
+ return response.json();
1307
+ }
1308
+ async createSession(body) {
1309
+ return this.request("/responses", body);
1310
+ }
1311
+ async sendMessage(body) {
1312
+ return this.request("/responses", body);
1313
+ }
1314
+ };
1287
1315
  export {
1316
+ TekimaxClient,
1288
1317
  allowedToolChoiceSchema,
1289
1318
  allowedToolChoiceTypeEnum,
1290
1319
  allowedToolsParamSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tekimax-ts",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Tekimax TypeScript SDK generated with Kubb",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "scripts": {
16
16
  "generate": "kubb generate",
17
- "build": "tsup src/gen/index.ts --format cjs,esm --dts",
17
+ "build": "tsup src/index.ts --format cjs,esm --dts",
18
18
  "test": "echo \"Error: no test specified\" && exit 1"
19
19
  },
20
20
  "keywords": [
package/src/client.ts ADDED
@@ -0,0 +1,36 @@
1
+ import { CreateResponseBody, ResponseResource } from "./gen/types";
2
+
3
+ export class TekimaxClient {
4
+ private baseUrl: string;
5
+ private headers: HeadersInit;
6
+
7
+ constructor(options: { baseUrl?: string; apiKey?: string } = {}) {
8
+ this.baseUrl = options.baseUrl || "https://api.tekimax.com";
9
+ this.headers = {
10
+ "Content-Type": "application/json",
11
+ ...(options.apiKey ? { "Authorization": `Bearer ${options.apiKey}` } : {}),
12
+ };
13
+ }
14
+
15
+ private async request<T>(path: string, body: any): Promise<T> {
16
+ const response = await fetch(`${this.baseUrl}${path}`, {
17
+ method: "POST",
18
+ headers: this.headers,
19
+ body: JSON.stringify(body),
20
+ });
21
+
22
+ if (!response.ok) {
23
+ throw new Error(`Tekimax API Error: ${response.status} ${response.statusText}`);
24
+ }
25
+
26
+ return response.json() as Promise<T>;
27
+ }
28
+
29
+ async createSession(body: CreateResponseBody): Promise<ResponseResource> {
30
+ return this.request<ResponseResource>("/responses", body);
31
+ }
32
+
33
+ async sendMessage(body: CreateResponseBody): Promise<ResponseResource> {
34
+ return this.request<ResponseResource>("/responses", body);
35
+ }
36
+ }
package/src/index.ts ADDED
@@ -0,0 +1,3 @@
1
+ export * from "./gen/types";
2
+ export * from "./gen/zod";
3
+ export { TekimaxClient } from "./client";