codemie-sdk 0.1.233 → 0.1.235

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.cts CHANGED
@@ -135,6 +135,11 @@ interface Context {
135
135
  context_type: ContextType;
136
136
  name: string;
137
137
  }
138
+ interface PromptVariable {
139
+ key: string;
140
+ description?: string;
141
+ default_value: string;
142
+ }
138
143
  interface MCPServerConfig {
139
144
  command?: string;
140
145
  url?: string;
@@ -189,6 +194,7 @@ interface Assistant extends AssistantBase {
189
194
  mcp_servers: MCPServerDetails[];
190
195
  assistant_ids: string[];
191
196
  version_count?: number;
197
+ prompt_variables?: PromptVariable[];
192
198
  }
193
199
  interface AssistantRequestBase extends AssistantBase {
194
200
  system_prompt: string;
@@ -205,6 +211,7 @@ interface AssistantRequestBase extends AssistantBase {
205
211
  top_p?: number;
206
212
  mcp_servers: MCPServerDetails[];
207
213
  assistant_ids: string[];
214
+ prompt_variables?: PromptVariable[];
208
215
  }
209
216
  interface ChatMessage {
210
217
  role: ChatRole;
@@ -238,6 +245,7 @@ interface AssistantVersion {
238
245
  toolkits: ToolKitDetails[];
239
246
  mcp_servers: MCPServerDetails[];
240
247
  assistant_ids: string[];
248
+ prompt_variables?: PromptVariable[];
241
249
  [key: string]: unknown;
242
250
  }
243
251
 
@@ -397,6 +405,19 @@ declare const AssistantCreateParamsSchema: z.ZodReadonly<z.ZodObject<{
397
405
  mcp_connect_auth_token?: any;
398
406
  }>, "many">;
399
407
  assistant_ids: z.ZodArray<z.ZodString, "many">;
408
+ prompt_variables: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
409
+ key: z.ZodString;
410
+ description: z.ZodOptional<z.ZodString>;
411
+ default_value: z.ZodString;
412
+ }, "strip", z.ZodTypeAny, {
413
+ key: string;
414
+ default_value: string;
415
+ description?: string | undefined;
416
+ }, {
417
+ key: string;
418
+ default_value: string;
419
+ description?: string | undefined;
420
+ }>, "many">>>;
400
421
  }, "strip", z.ZodTypeAny, {
401
422
  project: string;
402
423
  description: string;
@@ -438,6 +459,11 @@ declare const AssistantCreateParamsSchema: z.ZodReadonly<z.ZodObject<{
438
459
  mcp_connect_auth_token?: any;
439
460
  }[];
440
461
  assistant_ids: string[];
462
+ prompt_variables: {
463
+ key: string;
464
+ default_value: string;
465
+ description?: string | undefined;
466
+ }[];
441
467
  name: string;
442
468
  conversation_starters: string[];
443
469
  temperature?: number | undefined;
@@ -492,6 +518,11 @@ declare const AssistantCreateParamsSchema: z.ZodReadonly<z.ZodObject<{
492
518
  conversation_starters: string[];
493
519
  temperature?: number | undefined;
494
520
  top_p?: number | undefined;
521
+ prompt_variables?: {
522
+ key: string;
523
+ default_value: string;
524
+ description?: string | undefined;
525
+ }[] | undefined;
495
526
  icon_url?: string | undefined;
496
527
  shared?: boolean | undefined;
497
528
  is_react?: boolean | undefined;
@@ -635,6 +666,19 @@ declare const AssistantUpdateParamsSchema: z.ZodReadonly<z.ZodObject<{
635
666
  mcp_connect_auth_token?: any;
636
667
  }>, "many">;
637
668
  assistant_ids: z.ZodArray<z.ZodString, "many">;
669
+ prompt_variables: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
670
+ key: z.ZodString;
671
+ description: z.ZodOptional<z.ZodString>;
672
+ default_value: z.ZodString;
673
+ }, "strip", z.ZodTypeAny, {
674
+ key: string;
675
+ default_value: string;
676
+ description?: string | undefined;
677
+ }, {
678
+ key: string;
679
+ default_value: string;
680
+ description?: string | undefined;
681
+ }>, "many">>>;
638
682
  }, "strip", z.ZodTypeAny, {
639
683
  project: string;
640
684
  description: string;
@@ -676,6 +720,11 @@ declare const AssistantUpdateParamsSchema: z.ZodReadonly<z.ZodObject<{
676
720
  mcp_connect_auth_token?: any;
677
721
  }[];
678
722
  assistant_ids: string[];
723
+ prompt_variables: {
724
+ key: string;
725
+ default_value: string;
726
+ description?: string | undefined;
727
+ }[];
679
728
  name: string;
680
729
  conversation_starters: string[];
681
730
  temperature?: number | undefined;
@@ -730,6 +779,11 @@ declare const AssistantUpdateParamsSchema: z.ZodReadonly<z.ZodObject<{
730
779
  conversation_starters: string[];
731
780
  temperature?: number | undefined;
732
781
  top_p?: number | undefined;
782
+ prompt_variables?: {
783
+ key: string;
784
+ default_value: string;
785
+ description?: string | undefined;
786
+ }[] | undefined;
733
787
  icon_url?: string | undefined;
734
788
  shared?: boolean | undefined;
735
789
  is_react?: boolean | undefined;
@@ -2271,4 +2325,4 @@ declare class NotFoundError extends ApiError {
2271
2325
  constructor(resourceType: string, resourceId: string);
2272
2326
  }
2273
2327
 
2274
- 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 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 };
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 };
package/dist/index.d.ts CHANGED
@@ -135,6 +135,11 @@ interface Context {
135
135
  context_type: ContextType;
136
136
  name: string;
137
137
  }
138
+ interface PromptVariable {
139
+ key: string;
140
+ description?: string;
141
+ default_value: string;
142
+ }
138
143
  interface MCPServerConfig {
139
144
  command?: string;
140
145
  url?: string;
@@ -189,6 +194,7 @@ interface Assistant extends AssistantBase {
189
194
  mcp_servers: MCPServerDetails[];
190
195
  assistant_ids: string[];
191
196
  version_count?: number;
197
+ prompt_variables?: PromptVariable[];
192
198
  }
193
199
  interface AssistantRequestBase extends AssistantBase {
194
200
  system_prompt: string;
@@ -205,6 +211,7 @@ interface AssistantRequestBase extends AssistantBase {
205
211
  top_p?: number;
206
212
  mcp_servers: MCPServerDetails[];
207
213
  assistant_ids: string[];
214
+ prompt_variables?: PromptVariable[];
208
215
  }
209
216
  interface ChatMessage {
210
217
  role: ChatRole;
@@ -238,6 +245,7 @@ interface AssistantVersion {
238
245
  toolkits: ToolKitDetails[];
239
246
  mcp_servers: MCPServerDetails[];
240
247
  assistant_ids: string[];
248
+ prompt_variables?: PromptVariable[];
241
249
  [key: string]: unknown;
242
250
  }
243
251
 
@@ -397,6 +405,19 @@ declare const AssistantCreateParamsSchema: z.ZodReadonly<z.ZodObject<{
397
405
  mcp_connect_auth_token?: any;
398
406
  }>, "many">;
399
407
  assistant_ids: z.ZodArray<z.ZodString, "many">;
408
+ prompt_variables: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
409
+ key: z.ZodString;
410
+ description: z.ZodOptional<z.ZodString>;
411
+ default_value: z.ZodString;
412
+ }, "strip", z.ZodTypeAny, {
413
+ key: string;
414
+ default_value: string;
415
+ description?: string | undefined;
416
+ }, {
417
+ key: string;
418
+ default_value: string;
419
+ description?: string | undefined;
420
+ }>, "many">>>;
400
421
  }, "strip", z.ZodTypeAny, {
401
422
  project: string;
402
423
  description: string;
@@ -438,6 +459,11 @@ declare const AssistantCreateParamsSchema: z.ZodReadonly<z.ZodObject<{
438
459
  mcp_connect_auth_token?: any;
439
460
  }[];
440
461
  assistant_ids: string[];
462
+ prompt_variables: {
463
+ key: string;
464
+ default_value: string;
465
+ description?: string | undefined;
466
+ }[];
441
467
  name: string;
442
468
  conversation_starters: string[];
443
469
  temperature?: number | undefined;
@@ -492,6 +518,11 @@ declare const AssistantCreateParamsSchema: z.ZodReadonly<z.ZodObject<{
492
518
  conversation_starters: string[];
493
519
  temperature?: number | undefined;
494
520
  top_p?: number | undefined;
521
+ prompt_variables?: {
522
+ key: string;
523
+ default_value: string;
524
+ description?: string | undefined;
525
+ }[] | undefined;
495
526
  icon_url?: string | undefined;
496
527
  shared?: boolean | undefined;
497
528
  is_react?: boolean | undefined;
@@ -635,6 +666,19 @@ declare const AssistantUpdateParamsSchema: z.ZodReadonly<z.ZodObject<{
635
666
  mcp_connect_auth_token?: any;
636
667
  }>, "many">;
637
668
  assistant_ids: z.ZodArray<z.ZodString, "many">;
669
+ prompt_variables: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
670
+ key: z.ZodString;
671
+ description: z.ZodOptional<z.ZodString>;
672
+ default_value: z.ZodString;
673
+ }, "strip", z.ZodTypeAny, {
674
+ key: string;
675
+ default_value: string;
676
+ description?: string | undefined;
677
+ }, {
678
+ key: string;
679
+ default_value: string;
680
+ description?: string | undefined;
681
+ }>, "many">>>;
638
682
  }, "strip", z.ZodTypeAny, {
639
683
  project: string;
640
684
  description: string;
@@ -676,6 +720,11 @@ declare const AssistantUpdateParamsSchema: z.ZodReadonly<z.ZodObject<{
676
720
  mcp_connect_auth_token?: any;
677
721
  }[];
678
722
  assistant_ids: string[];
723
+ prompt_variables: {
724
+ key: string;
725
+ default_value: string;
726
+ description?: string | undefined;
727
+ }[];
679
728
  name: string;
680
729
  conversation_starters: string[];
681
730
  temperature?: number | undefined;
@@ -730,6 +779,11 @@ declare const AssistantUpdateParamsSchema: z.ZodReadonly<z.ZodObject<{
730
779
  conversation_starters: string[];
731
780
  temperature?: number | undefined;
732
781
  top_p?: number | undefined;
782
+ prompt_variables?: {
783
+ key: string;
784
+ default_value: string;
785
+ description?: string | undefined;
786
+ }[] | undefined;
733
787
  icon_url?: string | undefined;
734
788
  shared?: boolean | undefined;
735
789
  is_react?: boolean | undefined;
@@ -2271,4 +2325,4 @@ declare class NotFoundError extends ApiError {
2271
2325
  constructor(resourceType: string, resourceId: string);
2272
2326
  }
2273
2327
 
2274
- 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 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 };
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 };
package/dist/index.js CHANGED
@@ -82,6 +82,11 @@ var AssistantListParamsSchema = z.object({
82
82
  per_page: z.number().default(12),
83
83
  filters: z.record(z.unknown()).optional()
84
84
  }).readonly();
85
+ var PromptVariableSchema = z.object({
86
+ key: z.string(),
87
+ description: z.string().optional(),
88
+ default_value: z.string()
89
+ });
85
90
  var AssistantCreateParamsSchema = z.object({
86
91
  name: z.string(),
87
92
  description: z.string(),
@@ -139,7 +144,8 @@ var AssistantCreateParamsSchema = z.object({
139
144
  mcp_connect_auth_token: z.any().optional()
140
145
  })
141
146
  ),
142
- assistant_ids: z.array(z.string())
147
+ assistant_ids: z.array(z.string()),
148
+ prompt_variables: z.array(PromptVariableSchema).optional().default([])
143
149
  }).readonly();
144
150
  var AssistantUpdateParamsSchema = AssistantCreateParamsSchema;
145
151
  var AssistantChatParamsSchema = z.object({