codemie-sdk 0.1.271 → 0.1.272
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.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -15
- package/dist/index.d.ts +27 -15
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -166,35 +166,41 @@ interface SystemPromptHistory {
|
|
|
166
166
|
date: string;
|
|
167
167
|
created_by?: BaseUser;
|
|
168
168
|
}
|
|
169
|
+
interface AssistantCategory {
|
|
170
|
+
id: string;
|
|
171
|
+
name: string;
|
|
172
|
+
description?: string;
|
|
173
|
+
}
|
|
169
174
|
interface AssistantBase {
|
|
170
175
|
id: string;
|
|
171
176
|
created_by?: BaseUser;
|
|
172
|
-
name: string;
|
|
173
177
|
description: string;
|
|
174
178
|
icon_url?: string;
|
|
179
|
+
name: string;
|
|
175
180
|
}
|
|
176
181
|
interface Assistant extends AssistantBase {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
llm_model_type?: string;
|
|
181
|
-
toolkits: ToolKitDetails[];
|
|
182
|
+
assistant_ids: string[];
|
|
183
|
+
categories?: AssistantCategory[];
|
|
184
|
+
context: Context[];
|
|
182
185
|
conversation_starters: string[];
|
|
183
|
-
shared: boolean;
|
|
184
|
-
is_react: boolean;
|
|
185
|
-
is_global: boolean;
|
|
186
186
|
created_date?: string;
|
|
187
|
-
updated_date?: string;
|
|
188
187
|
creator: string;
|
|
188
|
+
is_global: boolean;
|
|
189
|
+
is_react: boolean;
|
|
190
|
+
llm_model_type?: string;
|
|
191
|
+
mcp_servers: MCPServerDetails[];
|
|
192
|
+
project: string;
|
|
193
|
+
prompt_variables?: PromptVariable[];
|
|
194
|
+
shared: boolean;
|
|
189
195
|
slug?: string;
|
|
196
|
+
system_prompt: string;
|
|
197
|
+
system_prompt_history: SystemPromptHistory[];
|
|
190
198
|
temperature?: number;
|
|
199
|
+
toolkits: ToolKitDetails[];
|
|
191
200
|
top_p?: number;
|
|
192
|
-
|
|
201
|
+
updated_date?: string;
|
|
193
202
|
user_abilities?: unknown[];
|
|
194
|
-
mcp_servers: MCPServerDetails[];
|
|
195
|
-
assistant_ids: string[];
|
|
196
203
|
version_count?: number;
|
|
197
|
-
prompt_variables?: PromptVariable[];
|
|
198
204
|
}
|
|
199
205
|
interface AssistantRequestBase extends AssistantBase {
|
|
200
206
|
system_prompt: string;
|
|
@@ -418,6 +424,7 @@ declare const AssistantCreateParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
418
424
|
default_value: string;
|
|
419
425
|
description?: string | undefined;
|
|
420
426
|
}>, "many">>>;
|
|
427
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
421
428
|
}, "strip", z.ZodTypeAny, {
|
|
422
429
|
project: string;
|
|
423
430
|
description: string;
|
|
@@ -473,6 +480,7 @@ declare const AssistantCreateParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
473
480
|
is_react?: boolean | undefined;
|
|
474
481
|
is_global?: boolean | undefined;
|
|
475
482
|
slug?: string | undefined;
|
|
483
|
+
categories?: string[] | undefined;
|
|
476
484
|
}, {
|
|
477
485
|
project: string;
|
|
478
486
|
description: string;
|
|
@@ -528,6 +536,7 @@ declare const AssistantCreateParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
528
536
|
is_react?: boolean | undefined;
|
|
529
537
|
is_global?: boolean | undefined;
|
|
530
538
|
slug?: string | undefined;
|
|
539
|
+
categories?: string[] | undefined;
|
|
531
540
|
}>>;
|
|
532
541
|
type AssistantCreateParams = z.infer<typeof AssistantCreateParamsSchema>;
|
|
533
542
|
declare const AssistantUpdateParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
@@ -679,6 +688,7 @@ declare const AssistantUpdateParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
679
688
|
default_value: string;
|
|
680
689
|
description?: string | undefined;
|
|
681
690
|
}>, "many">>>;
|
|
691
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
682
692
|
}, "strip", z.ZodTypeAny, {
|
|
683
693
|
project: string;
|
|
684
694
|
description: string;
|
|
@@ -734,6 +744,7 @@ declare const AssistantUpdateParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
734
744
|
is_react?: boolean | undefined;
|
|
735
745
|
is_global?: boolean | undefined;
|
|
736
746
|
slug?: string | undefined;
|
|
747
|
+
categories?: string[] | undefined;
|
|
737
748
|
}, {
|
|
738
749
|
project: string;
|
|
739
750
|
description: string;
|
|
@@ -789,6 +800,7 @@ declare const AssistantUpdateParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
789
800
|
is_react?: boolean | undefined;
|
|
790
801
|
is_global?: boolean | undefined;
|
|
791
802
|
slug?: string | undefined;
|
|
803
|
+
categories?: string[] | undefined;
|
|
792
804
|
}>>;
|
|
793
805
|
type AssistantUpdateParams = z.infer<typeof AssistantUpdateParamsSchema>;
|
|
794
806
|
declare const AssistantChatParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
@@ -2325,4 +2337,4 @@ declare class NotFoundError extends ApiError {
|
|
|
2325
2337
|
constructor(resourceType: string, resourceId: string);
|
|
2326
2338
|
}
|
|
2327
2339
|
|
|
2328
|
-
export { type AboutUser, type AboutUserResponse, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantDataItem, type AssistantDetailsData, type AssistantListParams, AssistantListParamsSchema, type AssistantRequestBase, type AssistantUpdateParams, AssistantUpdateParamsSchema, type AssistantVersion, type AssistantVersionsListParams, AssistantVersionsListParamsSchema, type BackgroundTaskEntity, BackgroundTaskStatus, type BackgroundTaskStatusType, type BaseCodeParams, type BaseConfluenceParams, type BaseDataSourceCreateDto, type BaseDataSourceCreateParams, type BaseDataSourceUpdateDto, type BaseDataSourceUpdateParams, type BaseFileParams, type BaseGoogleParams, type BaseJiraParams, type BaseModelApiResponse, type BaseModelResponse, type BaseUser, type ChatMessage, ChatRole, type Code, type CodeDataSourceCreateDto, type CodeDataSourceCreateParams, CodeDataSourceType, type CodeDataSourceTypeType, type CodeDataSourceUpdateDto, type CodeDataSourceUpdateParams, CodeMieClient, type CodeMieClientConfig, CodeMieError, type Confluence, type ConfluenceDataSourceCreateDto, type ConfluenceDataSourceCreateParams, type ConfluenceDataSourceUpdateDto, type ConfluenceDataSourceUpdateParams, type Context, type ContextItem, ContextType, type Conversation, type ConversationCreateParams, ConversationCreateParamsSchema, type ConversationCreateRequest, type ConversationDetails, type ConversationDetailsData, type CostConfig, CredentialTypes, type CredentialTypesType, type CredentialValues, type DataSource, type DataSourceCreateDto, type DataSourceCreateParams, type DataSourceListParams, type DataSourceProcessingInfo, type DataSourceProcessingInfoResponse, type DataSourceResponse, DataSourceStatus, type DataSourceStatusType, DataSourceType, type DataSourceTypeType, type DataSourceUpdateDto, type DataSourceUpdateParams, ExecutionStatus, type ExecutionStatusType, type File, type FileDataSourceCreateDto, type FileDataSourceCreateParams, type FileDataSourceUpdateDto, type FileDataSourceUpdateParams, type Files, type Google, type GoogleDataSourceCreateDto, type GoogleDataSourceCreateParams, type GoogleDataSourceUpdateDto, type GoogleDataSourceUpdateParams, type HistoryItem, type HistoryMark, type Integration, type IntegrationCreateParams, IntegrationCreateParamsSchema, type IntegrationGetByAliasParams, IntegrationGetByAliasParamsSchema, type IntegrationGetParams, IntegrationGetParamsSchema, type IntegrationListParams, IntegrationListParamsSchema, IntegrationType, type IntegrationTypeType, type IntegrationUpdateParams, IntegrationUpdateParamsSchema, type Jira, type JiraDataSourceCreateDto, type JiraDataSourceCreateParams, type JiraDataSourceUpdateDto, type JiraDataSourceUpdateParams, type LLMFeatures, type LLMModel, LLMProvider, type LLMProviderType, type MCPServerConfig, type MCPServerDetails, type Mark, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedResponse, type PaginationParams, type PromptVariable, type SortOrder, type SystemPromptHistory, type TaskUser, type Thought, type TokensUsage, type ToolDetails, type ToolItem, type ToolKitDetails, type UserData, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowExecution, type WorkflowExecutionCreateParams, WorkflowExecutionCreateParamsSchema, type WorkflowExecutionListParams, WorkflowExecutionListParamsSchema, type WorkflowExecutionResponse, type WorkflowExecutionState, type WorkflowExecutionStateListParams, WorkflowExecutionStateListParamsSchema, type WorkflowExecutionStateOutput, type WorkflowExecutionStateThought, type WorkflowListParams, WorkflowListParamsSchema, WorkflowMode, type WorkflowModeType, type WorkflowResponse, type WorkflowUpdateParams, WorkflowUpdateParamsSchema };
|
|
2340
|
+
export { type AboutUser, type AboutUserResponse, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantCategory, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantDataItem, type AssistantDetailsData, type AssistantListParams, AssistantListParamsSchema, type AssistantRequestBase, type AssistantUpdateParams, AssistantUpdateParamsSchema, type AssistantVersion, type AssistantVersionsListParams, AssistantVersionsListParamsSchema, type BackgroundTaskEntity, BackgroundTaskStatus, type BackgroundTaskStatusType, type BaseCodeParams, type BaseConfluenceParams, type BaseDataSourceCreateDto, type BaseDataSourceCreateParams, type BaseDataSourceUpdateDto, type BaseDataSourceUpdateParams, type BaseFileParams, type BaseGoogleParams, type BaseJiraParams, type BaseModelApiResponse, type BaseModelResponse, type BaseUser, type ChatMessage, ChatRole, type Code, type CodeDataSourceCreateDto, type CodeDataSourceCreateParams, CodeDataSourceType, type CodeDataSourceTypeType, type CodeDataSourceUpdateDto, type CodeDataSourceUpdateParams, CodeMieClient, type CodeMieClientConfig, CodeMieError, type Confluence, type ConfluenceDataSourceCreateDto, type ConfluenceDataSourceCreateParams, type ConfluenceDataSourceUpdateDto, type ConfluenceDataSourceUpdateParams, type Context, type ContextItem, ContextType, type Conversation, type ConversationCreateParams, ConversationCreateParamsSchema, type ConversationCreateRequest, type ConversationDetails, type ConversationDetailsData, type CostConfig, CredentialTypes, type CredentialTypesType, type CredentialValues, type DataSource, type DataSourceCreateDto, type DataSourceCreateParams, type DataSourceListParams, type DataSourceProcessingInfo, type DataSourceProcessingInfoResponse, type DataSourceResponse, DataSourceStatus, type DataSourceStatusType, DataSourceType, type DataSourceTypeType, type DataSourceUpdateDto, type DataSourceUpdateParams, ExecutionStatus, type ExecutionStatusType, type File, type FileDataSourceCreateDto, type FileDataSourceCreateParams, type FileDataSourceUpdateDto, type FileDataSourceUpdateParams, type Files, type Google, type GoogleDataSourceCreateDto, type GoogleDataSourceCreateParams, type GoogleDataSourceUpdateDto, type GoogleDataSourceUpdateParams, type HistoryItem, type HistoryMark, type Integration, type IntegrationCreateParams, IntegrationCreateParamsSchema, type IntegrationGetByAliasParams, IntegrationGetByAliasParamsSchema, type IntegrationGetParams, IntegrationGetParamsSchema, type IntegrationListParams, IntegrationListParamsSchema, IntegrationType, type IntegrationTypeType, type IntegrationUpdateParams, IntegrationUpdateParamsSchema, type Jira, type JiraDataSourceCreateDto, type JiraDataSourceCreateParams, type JiraDataSourceUpdateDto, type JiraDataSourceUpdateParams, type LLMFeatures, type LLMModel, LLMProvider, type LLMProviderType, type MCPServerConfig, type MCPServerDetails, type Mark, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedResponse, type PaginationParams, type PromptVariable, type SortOrder, type SystemPromptHistory, type TaskUser, type Thought, type TokensUsage, type ToolDetails, type ToolItem, type ToolKitDetails, type UserData, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowExecution, type WorkflowExecutionCreateParams, WorkflowExecutionCreateParamsSchema, type WorkflowExecutionListParams, WorkflowExecutionListParamsSchema, type WorkflowExecutionResponse, type WorkflowExecutionState, type WorkflowExecutionStateListParams, WorkflowExecutionStateListParamsSchema, type WorkflowExecutionStateOutput, type WorkflowExecutionStateThought, type WorkflowListParams, WorkflowListParamsSchema, WorkflowMode, type WorkflowModeType, type WorkflowResponse, type WorkflowUpdateParams, WorkflowUpdateParamsSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -166,35 +166,41 @@ interface SystemPromptHistory {
|
|
|
166
166
|
date: string;
|
|
167
167
|
created_by?: BaseUser;
|
|
168
168
|
}
|
|
169
|
+
interface AssistantCategory {
|
|
170
|
+
id: string;
|
|
171
|
+
name: string;
|
|
172
|
+
description?: string;
|
|
173
|
+
}
|
|
169
174
|
interface AssistantBase {
|
|
170
175
|
id: string;
|
|
171
176
|
created_by?: BaseUser;
|
|
172
|
-
name: string;
|
|
173
177
|
description: string;
|
|
174
178
|
icon_url?: string;
|
|
179
|
+
name: string;
|
|
175
180
|
}
|
|
176
181
|
interface Assistant extends AssistantBase {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
llm_model_type?: string;
|
|
181
|
-
toolkits: ToolKitDetails[];
|
|
182
|
+
assistant_ids: string[];
|
|
183
|
+
categories?: AssistantCategory[];
|
|
184
|
+
context: Context[];
|
|
182
185
|
conversation_starters: string[];
|
|
183
|
-
shared: boolean;
|
|
184
|
-
is_react: boolean;
|
|
185
|
-
is_global: boolean;
|
|
186
186
|
created_date?: string;
|
|
187
|
-
updated_date?: string;
|
|
188
187
|
creator: string;
|
|
188
|
+
is_global: boolean;
|
|
189
|
+
is_react: boolean;
|
|
190
|
+
llm_model_type?: string;
|
|
191
|
+
mcp_servers: MCPServerDetails[];
|
|
192
|
+
project: string;
|
|
193
|
+
prompt_variables?: PromptVariable[];
|
|
194
|
+
shared: boolean;
|
|
189
195
|
slug?: string;
|
|
196
|
+
system_prompt: string;
|
|
197
|
+
system_prompt_history: SystemPromptHistory[];
|
|
190
198
|
temperature?: number;
|
|
199
|
+
toolkits: ToolKitDetails[];
|
|
191
200
|
top_p?: number;
|
|
192
|
-
|
|
201
|
+
updated_date?: string;
|
|
193
202
|
user_abilities?: unknown[];
|
|
194
|
-
mcp_servers: MCPServerDetails[];
|
|
195
|
-
assistant_ids: string[];
|
|
196
203
|
version_count?: number;
|
|
197
|
-
prompt_variables?: PromptVariable[];
|
|
198
204
|
}
|
|
199
205
|
interface AssistantRequestBase extends AssistantBase {
|
|
200
206
|
system_prompt: string;
|
|
@@ -418,6 +424,7 @@ declare const AssistantCreateParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
418
424
|
default_value: string;
|
|
419
425
|
description?: string | undefined;
|
|
420
426
|
}>, "many">>>;
|
|
427
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
421
428
|
}, "strip", z.ZodTypeAny, {
|
|
422
429
|
project: string;
|
|
423
430
|
description: string;
|
|
@@ -473,6 +480,7 @@ declare const AssistantCreateParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
473
480
|
is_react?: boolean | undefined;
|
|
474
481
|
is_global?: boolean | undefined;
|
|
475
482
|
slug?: string | undefined;
|
|
483
|
+
categories?: string[] | undefined;
|
|
476
484
|
}, {
|
|
477
485
|
project: string;
|
|
478
486
|
description: string;
|
|
@@ -528,6 +536,7 @@ declare const AssistantCreateParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
528
536
|
is_react?: boolean | undefined;
|
|
529
537
|
is_global?: boolean | undefined;
|
|
530
538
|
slug?: string | undefined;
|
|
539
|
+
categories?: string[] | undefined;
|
|
531
540
|
}>>;
|
|
532
541
|
type AssistantCreateParams = z.infer<typeof AssistantCreateParamsSchema>;
|
|
533
542
|
declare const AssistantUpdateParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
@@ -679,6 +688,7 @@ declare const AssistantUpdateParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
679
688
|
default_value: string;
|
|
680
689
|
description?: string | undefined;
|
|
681
690
|
}>, "many">>>;
|
|
691
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
682
692
|
}, "strip", z.ZodTypeAny, {
|
|
683
693
|
project: string;
|
|
684
694
|
description: string;
|
|
@@ -734,6 +744,7 @@ declare const AssistantUpdateParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
734
744
|
is_react?: boolean | undefined;
|
|
735
745
|
is_global?: boolean | undefined;
|
|
736
746
|
slug?: string | undefined;
|
|
747
|
+
categories?: string[] | undefined;
|
|
737
748
|
}, {
|
|
738
749
|
project: string;
|
|
739
750
|
description: string;
|
|
@@ -789,6 +800,7 @@ declare const AssistantUpdateParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
789
800
|
is_react?: boolean | undefined;
|
|
790
801
|
is_global?: boolean | undefined;
|
|
791
802
|
slug?: string | undefined;
|
|
803
|
+
categories?: string[] | undefined;
|
|
792
804
|
}>>;
|
|
793
805
|
type AssistantUpdateParams = z.infer<typeof AssistantUpdateParamsSchema>;
|
|
794
806
|
declare const AssistantChatParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
@@ -2325,4 +2337,4 @@ declare class NotFoundError extends ApiError {
|
|
|
2325
2337
|
constructor(resourceType: string, resourceId: string);
|
|
2326
2338
|
}
|
|
2327
2339
|
|
|
2328
|
-
export { type AboutUser, type AboutUserResponse, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantDataItem, type AssistantDetailsData, type AssistantListParams, AssistantListParamsSchema, type AssistantRequestBase, type AssistantUpdateParams, AssistantUpdateParamsSchema, type AssistantVersion, type AssistantVersionsListParams, AssistantVersionsListParamsSchema, type BackgroundTaskEntity, BackgroundTaskStatus, type BackgroundTaskStatusType, type BaseCodeParams, type BaseConfluenceParams, type BaseDataSourceCreateDto, type BaseDataSourceCreateParams, type BaseDataSourceUpdateDto, type BaseDataSourceUpdateParams, type BaseFileParams, type BaseGoogleParams, type BaseJiraParams, type BaseModelApiResponse, type BaseModelResponse, type BaseUser, type ChatMessage, ChatRole, type Code, type CodeDataSourceCreateDto, type CodeDataSourceCreateParams, CodeDataSourceType, type CodeDataSourceTypeType, type CodeDataSourceUpdateDto, type CodeDataSourceUpdateParams, CodeMieClient, type CodeMieClientConfig, CodeMieError, type Confluence, type ConfluenceDataSourceCreateDto, type ConfluenceDataSourceCreateParams, type ConfluenceDataSourceUpdateDto, type ConfluenceDataSourceUpdateParams, type Context, type ContextItem, ContextType, type Conversation, type ConversationCreateParams, ConversationCreateParamsSchema, type ConversationCreateRequest, type ConversationDetails, type ConversationDetailsData, type CostConfig, CredentialTypes, type CredentialTypesType, type CredentialValues, type DataSource, type DataSourceCreateDto, type DataSourceCreateParams, type DataSourceListParams, type DataSourceProcessingInfo, type DataSourceProcessingInfoResponse, type DataSourceResponse, DataSourceStatus, type DataSourceStatusType, DataSourceType, type DataSourceTypeType, type DataSourceUpdateDto, type DataSourceUpdateParams, ExecutionStatus, type ExecutionStatusType, type File, type FileDataSourceCreateDto, type FileDataSourceCreateParams, type FileDataSourceUpdateDto, type FileDataSourceUpdateParams, type Files, type Google, type GoogleDataSourceCreateDto, type GoogleDataSourceCreateParams, type GoogleDataSourceUpdateDto, type GoogleDataSourceUpdateParams, type HistoryItem, type HistoryMark, type Integration, type IntegrationCreateParams, IntegrationCreateParamsSchema, type IntegrationGetByAliasParams, IntegrationGetByAliasParamsSchema, type IntegrationGetParams, IntegrationGetParamsSchema, type IntegrationListParams, IntegrationListParamsSchema, IntegrationType, type IntegrationTypeType, type IntegrationUpdateParams, IntegrationUpdateParamsSchema, type Jira, type JiraDataSourceCreateDto, type JiraDataSourceCreateParams, type JiraDataSourceUpdateDto, type JiraDataSourceUpdateParams, type LLMFeatures, type LLMModel, LLMProvider, type LLMProviderType, type MCPServerConfig, type MCPServerDetails, type Mark, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedResponse, type PaginationParams, type PromptVariable, type SortOrder, type SystemPromptHistory, type TaskUser, type Thought, type TokensUsage, type ToolDetails, type ToolItem, type ToolKitDetails, type UserData, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowExecution, type WorkflowExecutionCreateParams, WorkflowExecutionCreateParamsSchema, type WorkflowExecutionListParams, WorkflowExecutionListParamsSchema, type WorkflowExecutionResponse, type WorkflowExecutionState, type WorkflowExecutionStateListParams, WorkflowExecutionStateListParamsSchema, type WorkflowExecutionStateOutput, type WorkflowExecutionStateThought, type WorkflowListParams, WorkflowListParamsSchema, WorkflowMode, type WorkflowModeType, type WorkflowResponse, type WorkflowUpdateParams, WorkflowUpdateParamsSchema };
|
|
2340
|
+
export { type AboutUser, type AboutUserResponse, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantCategory, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantDataItem, type AssistantDetailsData, type AssistantListParams, AssistantListParamsSchema, type AssistantRequestBase, type AssistantUpdateParams, AssistantUpdateParamsSchema, type AssistantVersion, type AssistantVersionsListParams, AssistantVersionsListParamsSchema, type BackgroundTaskEntity, BackgroundTaskStatus, type BackgroundTaskStatusType, type BaseCodeParams, type BaseConfluenceParams, type BaseDataSourceCreateDto, type BaseDataSourceCreateParams, type BaseDataSourceUpdateDto, type BaseDataSourceUpdateParams, type BaseFileParams, type BaseGoogleParams, type BaseJiraParams, type BaseModelApiResponse, type BaseModelResponse, type BaseUser, type ChatMessage, ChatRole, type Code, type CodeDataSourceCreateDto, type CodeDataSourceCreateParams, CodeDataSourceType, type CodeDataSourceTypeType, type CodeDataSourceUpdateDto, type CodeDataSourceUpdateParams, CodeMieClient, type CodeMieClientConfig, CodeMieError, type Confluence, type ConfluenceDataSourceCreateDto, type ConfluenceDataSourceCreateParams, type ConfluenceDataSourceUpdateDto, type ConfluenceDataSourceUpdateParams, type Context, type ContextItem, ContextType, type Conversation, type ConversationCreateParams, ConversationCreateParamsSchema, type ConversationCreateRequest, type ConversationDetails, type ConversationDetailsData, type CostConfig, CredentialTypes, type CredentialTypesType, type CredentialValues, type DataSource, type DataSourceCreateDto, type DataSourceCreateParams, type DataSourceListParams, type DataSourceProcessingInfo, type DataSourceProcessingInfoResponse, type DataSourceResponse, DataSourceStatus, type DataSourceStatusType, DataSourceType, type DataSourceTypeType, type DataSourceUpdateDto, type DataSourceUpdateParams, ExecutionStatus, type ExecutionStatusType, type File, type FileDataSourceCreateDto, type FileDataSourceCreateParams, type FileDataSourceUpdateDto, type FileDataSourceUpdateParams, type Files, type Google, type GoogleDataSourceCreateDto, type GoogleDataSourceCreateParams, type GoogleDataSourceUpdateDto, type GoogleDataSourceUpdateParams, type HistoryItem, type HistoryMark, type Integration, type IntegrationCreateParams, IntegrationCreateParamsSchema, type IntegrationGetByAliasParams, IntegrationGetByAliasParamsSchema, type IntegrationGetParams, IntegrationGetParamsSchema, type IntegrationListParams, IntegrationListParamsSchema, IntegrationType, type IntegrationTypeType, type IntegrationUpdateParams, IntegrationUpdateParamsSchema, type Jira, type JiraDataSourceCreateDto, type JiraDataSourceCreateParams, type JiraDataSourceUpdateDto, type JiraDataSourceUpdateParams, type LLMFeatures, type LLMModel, LLMProvider, type LLMProviderType, type MCPServerConfig, type MCPServerDetails, type Mark, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedResponse, type PaginationParams, type PromptVariable, type SortOrder, type SystemPromptHistory, type TaskUser, type Thought, type TokensUsage, type ToolDetails, type ToolItem, type ToolKitDetails, type UserData, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowExecution, type WorkflowExecutionCreateParams, WorkflowExecutionCreateParamsSchema, type WorkflowExecutionListParams, WorkflowExecutionListParamsSchema, type WorkflowExecutionResponse, type WorkflowExecutionState, type WorkflowExecutionStateListParams, WorkflowExecutionStateListParamsSchema, type WorkflowExecutionStateOutput, type WorkflowExecutionStateThought, type WorkflowListParams, WorkflowListParamsSchema, WorkflowMode, type WorkflowModeType, type WorkflowResponse, type WorkflowUpdateParams, WorkflowUpdateParamsSchema };
|
package/dist/index.js
CHANGED
|
@@ -145,7 +145,8 @@ var AssistantCreateParamsSchema = z.object({
|
|
|
145
145
|
})
|
|
146
146
|
),
|
|
147
147
|
assistant_ids: z.array(z.string()),
|
|
148
|
-
prompt_variables: z.array(PromptVariableSchema).optional().default([])
|
|
148
|
+
prompt_variables: z.array(PromptVariableSchema).optional().default([]),
|
|
149
|
+
categories: z.array(z.string()).max(3).optional()
|
|
149
150
|
}).readonly();
|
|
150
151
|
var AssistantUpdateParamsSchema = AssistantCreateParamsSchema;
|
|
151
152
|
var AssistantChatParamsSchema = z.object({
|