codemie-sdk 0.1.423 → 0.1.425
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 +188 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +218 -10
- package/dist/index.d.ts +218 -10
- package/dist/index.js +187 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1743,20 +1743,22 @@ declare class TaskService {
|
|
|
1743
1743
|
/** Models for user service. */
|
|
1744
1744
|
/** User API response. */
|
|
1745
1745
|
interface AboutUserResponse {
|
|
1746
|
-
|
|
1746
|
+
user_id: string;
|
|
1747
1747
|
name: string;
|
|
1748
1748
|
username: string;
|
|
1749
|
-
|
|
1749
|
+
email: string;
|
|
1750
|
+
is_admin: boolean;
|
|
1750
1751
|
applications: string[];
|
|
1751
|
-
|
|
1752
|
+
applications_admin: string[];
|
|
1752
1753
|
picture: string;
|
|
1753
|
-
|
|
1754
|
+
knowledge_bases: string[];
|
|
1754
1755
|
}
|
|
1755
1756
|
/** User model. */
|
|
1756
1757
|
interface AboutUser {
|
|
1757
1758
|
user_id: string;
|
|
1758
1759
|
name: string;
|
|
1759
1760
|
username: string;
|
|
1761
|
+
email: string;
|
|
1760
1762
|
is_admin: boolean;
|
|
1761
1763
|
applications: string[];
|
|
1762
1764
|
applications_admin: string[];
|
|
@@ -1784,6 +1786,83 @@ declare class UserService {
|
|
|
1784
1786
|
getData(): Promise<UserData>;
|
|
1785
1787
|
}
|
|
1786
1788
|
|
|
1789
|
+
interface Category {
|
|
1790
|
+
id: string;
|
|
1791
|
+
name: string;
|
|
1792
|
+
description?: string;
|
|
1793
|
+
}
|
|
1794
|
+
interface CategoryResponse {
|
|
1795
|
+
id: string;
|
|
1796
|
+
name: string;
|
|
1797
|
+
description?: string;
|
|
1798
|
+
marketplaceAssistantCount: number;
|
|
1799
|
+
projectAssistantCount: number;
|
|
1800
|
+
/** ISO datetime string */
|
|
1801
|
+
createdAt: string;
|
|
1802
|
+
/** ISO datetime string */
|
|
1803
|
+
updatedAt?: string;
|
|
1804
|
+
}
|
|
1805
|
+
interface CategoryListResponse {
|
|
1806
|
+
categories: CategoryResponse[];
|
|
1807
|
+
page: number;
|
|
1808
|
+
per_page: number;
|
|
1809
|
+
total: number;
|
|
1810
|
+
pages: number;
|
|
1811
|
+
}
|
|
1812
|
+
interface CategoryCreateParams {
|
|
1813
|
+
/** 1–255 chars */
|
|
1814
|
+
name: string;
|
|
1815
|
+
/** Optional description, max 1000 chars */
|
|
1816
|
+
description?: string;
|
|
1817
|
+
}
|
|
1818
|
+
interface CategoryUpdateParams {
|
|
1819
|
+
/** 1–255 chars */
|
|
1820
|
+
name: string;
|
|
1821
|
+
/** Optional description, max 1000 chars */
|
|
1822
|
+
description?: string;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
declare class CategoryService {
|
|
1826
|
+
private api;
|
|
1827
|
+
constructor(config: AuthConfig);
|
|
1828
|
+
/**
|
|
1829
|
+
* Get all available assistant categories (legacy, non-paginated).
|
|
1830
|
+
* Public endpoint — no admin access required.
|
|
1831
|
+
* GET /v1/assistants/categories
|
|
1832
|
+
*/
|
|
1833
|
+
getCategories(): Promise<Category[]>;
|
|
1834
|
+
/**
|
|
1835
|
+
* Get paginated list of categories with marketplace/project assistant counts.
|
|
1836
|
+
* Admin access required.
|
|
1837
|
+
* GET /v1/assistants/categories/list
|
|
1838
|
+
*/
|
|
1839
|
+
listCategories(page?: number, perPage?: number): Promise<CategoryListResponse>;
|
|
1840
|
+
/**
|
|
1841
|
+
* Get a specific category by ID with assistant counts.
|
|
1842
|
+
* Admin access required.
|
|
1843
|
+
* GET /v1/assistants/categories/{id}
|
|
1844
|
+
*/
|
|
1845
|
+
getCategory(categoryId: string): Promise<CategoryResponse>;
|
|
1846
|
+
/**
|
|
1847
|
+
* Create a new category. The ID is auto-generated from the name.
|
|
1848
|
+
* Admin access required.
|
|
1849
|
+
* POST /v1/assistants/categories
|
|
1850
|
+
*/
|
|
1851
|
+
createCategory(params: CategoryCreateParams): Promise<CategoryResponse>;
|
|
1852
|
+
/**
|
|
1853
|
+
* Update an existing category.
|
|
1854
|
+
* Admin access required.
|
|
1855
|
+
* PUT /v1/assistants/categories/{id}
|
|
1856
|
+
*/
|
|
1857
|
+
updateCategory(categoryId: string, params: CategoryUpdateParams): Promise<CategoryResponse>;
|
|
1858
|
+
/**
|
|
1859
|
+
* Delete a category. Fails with 409 if any assistants are assigned to it.
|
|
1860
|
+
* Admin access required.
|
|
1861
|
+
* DELETE /v1/assistants/categories/{id}
|
|
1862
|
+
*/
|
|
1863
|
+
deleteCategory(categoryId: string): Promise<void>;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1787
1866
|
/** Models for skill-related data structures. */
|
|
1788
1867
|
declare enum SkillVisibility {
|
|
1789
1868
|
PRIVATE = "private",
|
|
@@ -1817,12 +1896,21 @@ declare enum SkillCategory {
|
|
|
1817
1896
|
DATA_ANALYTICS = "data_analytics",
|
|
1818
1897
|
PROJECT_MANAGEMENT = "project_management",
|
|
1819
1898
|
PRODUCT_MANAGEMENT = "product_management",
|
|
1820
|
-
BUSINESS_ANALYSIS = "business_analysis"
|
|
1899
|
+
BUSINESS_ANALYSIS = "business_analysis",
|
|
1900
|
+
MIGRATION_MODERNIZATION = "migration_modernization",
|
|
1901
|
+
SUPPORT = "support",
|
|
1902
|
+
CUSTOMER_EXPERIENCE = "customer_experience",
|
|
1903
|
+
KNOWLEDGE_MANAGEMENT = "knowledge_management",
|
|
1904
|
+
TRAINING = "training",
|
|
1905
|
+
PRESALES = "presales",
|
|
1906
|
+
INTERVIEW = "interview",
|
|
1907
|
+
TALENT_ACQUISITION = "talent_acquisition",
|
|
1908
|
+
OTHER = "other"
|
|
1821
1909
|
}
|
|
1822
1910
|
interface SkillCreatedBy {
|
|
1823
1911
|
id: string;
|
|
1912
|
+
username: string;
|
|
1824
1913
|
name: string;
|
|
1825
|
-
email?: string;
|
|
1826
1914
|
}
|
|
1827
1915
|
interface SkillListItem {
|
|
1828
1916
|
id: string;
|
|
@@ -1832,8 +1920,8 @@ interface SkillListItem {
|
|
|
1832
1920
|
visibility: SkillVisibility;
|
|
1833
1921
|
created_by: SkillCreatedBy | null;
|
|
1834
1922
|
categories: SkillCategory[];
|
|
1835
|
-
|
|
1836
|
-
|
|
1923
|
+
createdDate: string;
|
|
1924
|
+
updatedDate: string | null;
|
|
1837
1925
|
is_attached: boolean;
|
|
1838
1926
|
assistants_count: number;
|
|
1839
1927
|
user_abilities: string[];
|
|
@@ -1848,10 +1936,60 @@ interface SkillDetail extends SkillListItem {
|
|
|
1848
1936
|
interface SkillListPaginatedResponse {
|
|
1849
1937
|
skills: SkillListItem[];
|
|
1850
1938
|
page: number;
|
|
1851
|
-
|
|
1939
|
+
perPage: number;
|
|
1852
1940
|
pages: number;
|
|
1853
1941
|
total: number;
|
|
1854
1942
|
}
|
|
1943
|
+
/** Skill category API response item. */
|
|
1944
|
+
interface SkillCategoryItem {
|
|
1945
|
+
value: string;
|
|
1946
|
+
label: string;
|
|
1947
|
+
description?: string;
|
|
1948
|
+
}
|
|
1949
|
+
/** Parameters for creating a skill. */
|
|
1950
|
+
interface SkillCreateParams {
|
|
1951
|
+
/** Kebab-case identifier, 3–64 chars (e.g. "my-skill"). Must start and end with a letter or number. */
|
|
1952
|
+
name: string;
|
|
1953
|
+
/** 10–1000 chars. */
|
|
1954
|
+
description: string;
|
|
1955
|
+
/** Markdown skill instructions, minimum 100 chars. */
|
|
1956
|
+
content: string;
|
|
1957
|
+
project: string;
|
|
1958
|
+
visibility?: SkillVisibility;
|
|
1959
|
+
/** Max 3 categories. */
|
|
1960
|
+
categories?: string[];
|
|
1961
|
+
toolkits?: unknown[];
|
|
1962
|
+
mcp_servers?: unknown[];
|
|
1963
|
+
}
|
|
1964
|
+
/** Parameters for updating a skill. */
|
|
1965
|
+
interface SkillUpdateParams {
|
|
1966
|
+
/** Kebab-case identifier, 3–64 chars. Must start and end with a letter or number. */
|
|
1967
|
+
name?: string;
|
|
1968
|
+
/** 10–1000 chars. */
|
|
1969
|
+
description?: string;
|
|
1970
|
+
/** Markdown skill instructions, minimum 100 chars. */
|
|
1971
|
+
content?: string;
|
|
1972
|
+
project?: string;
|
|
1973
|
+
visibility?: SkillVisibility;
|
|
1974
|
+
/** Max 3 categories. */
|
|
1975
|
+
categories?: string[];
|
|
1976
|
+
toolkits?: unknown[];
|
|
1977
|
+
mcp_servers?: unknown[];
|
|
1978
|
+
}
|
|
1979
|
+
/** Parameters for importing a skill from .md file. */
|
|
1980
|
+
interface SkillImportParams {
|
|
1981
|
+
/**
|
|
1982
|
+
* Base64-encoded markdown file content. The file must include YAML frontmatter
|
|
1983
|
+
* with `name` and `description` fields. This matches the format produced by `export()`.
|
|
1984
|
+
*
|
|
1985
|
+
* @example
|
|
1986
|
+
* Buffer.from("---\nname: my-skill\ndescription: What this skill does\n---\n\n# Instructions\n...").toString("base64")
|
|
1987
|
+
*/
|
|
1988
|
+
file_content: string;
|
|
1989
|
+
filename: string;
|
|
1990
|
+
project: string;
|
|
1991
|
+
visibility?: SkillVisibility;
|
|
1992
|
+
}
|
|
1855
1993
|
|
|
1856
1994
|
declare const SkillListParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
1857
1995
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1859,6 +1997,7 @@ declare const SkillListParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1859
1997
|
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1860
1998
|
sort_by: z.ZodOptional<z.ZodEnum<typeof SkillSortBy>>;
|
|
1861
1999
|
scope: z.ZodOptional<z.ZodEnum<typeof SkillScopeFilter>>;
|
|
2000
|
+
assistant_id: z.ZodOptional<z.ZodString>;
|
|
1862
2001
|
}, z.core.$strip>>;
|
|
1863
2002
|
type SkillListParams = Partial<z.infer<typeof SkillListParamsSchema>>;
|
|
1864
2003
|
|
|
@@ -1877,6 +2016,70 @@ declare class SkillService {
|
|
|
1877
2016
|
* Get skill details by ID.
|
|
1878
2017
|
*/
|
|
1879
2018
|
get(skillId: string): Promise<SkillDetail>;
|
|
2019
|
+
/**
|
|
2020
|
+
* Create a new skill.
|
|
2021
|
+
*/
|
|
2022
|
+
create(params: SkillCreateParams): Promise<SkillDetail>;
|
|
2023
|
+
/**
|
|
2024
|
+
* Update an existing skill.
|
|
2025
|
+
*/
|
|
2026
|
+
update(skillId: string, params: SkillUpdateParams): Promise<SkillDetail>;
|
|
2027
|
+
/**
|
|
2028
|
+
* Delete a skill by ID.
|
|
2029
|
+
*/
|
|
2030
|
+
delete(skillId: string): Promise<AnyJson>;
|
|
2031
|
+
/**
|
|
2032
|
+
* Import a skill from .md file content.
|
|
2033
|
+
*/
|
|
2034
|
+
importSkill(params: SkillImportParams): Promise<SkillDetail>;
|
|
2035
|
+
/**
|
|
2036
|
+
* Export a skill as markdown content.
|
|
2037
|
+
*/
|
|
2038
|
+
export(skillId: string): Promise<string>;
|
|
2039
|
+
/**
|
|
2040
|
+
* Attach a skill to an assistant.
|
|
2041
|
+
*/
|
|
2042
|
+
attachToAssistant(assistantId: string, skillId: string): Promise<AnyJson>;
|
|
2043
|
+
/**
|
|
2044
|
+
* Detach a skill from an assistant.
|
|
2045
|
+
*/
|
|
2046
|
+
detachFromAssistant(assistantId: string, skillId: string): Promise<AnyJson>;
|
|
2047
|
+
/**
|
|
2048
|
+
* Get all skills attached to an assistant.
|
|
2049
|
+
*/
|
|
2050
|
+
getAssistantSkills(assistantId: string): Promise<SkillListItem[]>;
|
|
2051
|
+
/**
|
|
2052
|
+
* Bulk attach a skill to multiple assistants.
|
|
2053
|
+
*/
|
|
2054
|
+
bulkAttachToAssistants(skillId: string, assistantIds: string[]): Promise<AnyJson>;
|
|
2055
|
+
/**
|
|
2056
|
+
* Get all assistants using this skill.
|
|
2057
|
+
*/
|
|
2058
|
+
getSkillAssistants(skillId: string): Promise<AnyJson[]>;
|
|
2059
|
+
/**
|
|
2060
|
+
* Publish a skill to the marketplace.
|
|
2061
|
+
*/
|
|
2062
|
+
publish(skillId: string, categories?: string[]): Promise<AnyJson>;
|
|
2063
|
+
/**
|
|
2064
|
+
* Unpublish a skill from the marketplace.
|
|
2065
|
+
*/
|
|
2066
|
+
unpublish(skillId: string): Promise<AnyJson>;
|
|
2067
|
+
/**
|
|
2068
|
+
* Get list of available skill categories.
|
|
2069
|
+
*/
|
|
2070
|
+
listCategories(): Promise<SkillCategoryItem[]>;
|
|
2071
|
+
/**
|
|
2072
|
+
* Get users with access to skills.
|
|
2073
|
+
*/
|
|
2074
|
+
getUsers(): Promise<AnyJson[]>;
|
|
2075
|
+
/**
|
|
2076
|
+
* React to a skill.
|
|
2077
|
+
*/
|
|
2078
|
+
react(skillId: string, reaction: "like" | "dislike"): Promise<AnyJson>;
|
|
2079
|
+
/**
|
|
2080
|
+
* Remove all reactions from a skill.
|
|
2081
|
+
*/
|
|
2082
|
+
removeReactions(skillId: string): Promise<AnyJson>;
|
|
1880
2083
|
}
|
|
1881
2084
|
|
|
1882
2085
|
/** Models for workflow functionality */
|
|
@@ -2229,6 +2432,7 @@ declare class CodeMieClient {
|
|
|
2229
2432
|
private _llms;
|
|
2230
2433
|
private _tasks;
|
|
2231
2434
|
private _users;
|
|
2435
|
+
private _categories;
|
|
2232
2436
|
private _skills;
|
|
2233
2437
|
private _workflows;
|
|
2234
2438
|
constructor(config: CodeMieClientConfig);
|
|
@@ -2264,6 +2468,10 @@ declare class CodeMieClient {
|
|
|
2264
2468
|
* Get the FileService instance.
|
|
2265
2469
|
*/
|
|
2266
2470
|
get files(): FileService;
|
|
2471
|
+
/**
|
|
2472
|
+
* Get the CategoryService instance.
|
|
2473
|
+
*/
|
|
2474
|
+
get categories(): CategoryService;
|
|
2267
2475
|
/**
|
|
2268
2476
|
* Get the SkillService instance.
|
|
2269
2477
|
*/
|
|
@@ -2306,4 +2514,4 @@ declare class NotFoundError extends ApiError {
|
|
|
2306
2514
|
constructor(resourceType: string, resourceId: string);
|
|
2307
2515
|
}
|
|
2308
2516
|
|
|
2309
|
-
export { type AboutUser, type AboutUserResponse, type AgentErrorDetails, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantCategory, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantCreateResponse, type AssistantDataItem, type AssistantDetailsData, type AssistantListParams, AssistantListParamsSchema, AssistantService, type AssistantUpdateParams, AssistantUpdateParamsSchema, type AssistantUpdateResponse, type AssistantVersion, type AssistantVersionsListParams, AssistantVersionsListParamsSchema, type AuthConfig, type AzureDevOpsWiki, type AzureDevOpsWikiDataSourceCreateDto, type AzureDevOpsWikiDataSourceCreateParams, type AzureDevOpsWikiDataSourceUpdateDto, type AzureDevOpsWikiDataSourceUpdateParams, type AzureDevOpsWorkItem, type AzureDevOpsWorkItemDataSourceCreateDto, type AzureDevOpsWorkItemDataSourceCreateParams, type AzureDevOpsWorkItemDataSourceUpdateDto, type AzureDevOpsWorkItemDataSourceUpdateParams, type BackgroundTaskEntity, BackgroundTaskStatus, type BackgroundTaskStatusType, type BaseCodeParams, type BaseConfluenceParams, type BaseDataSourceCreateDto, type BaseDataSourceCreateParams, type BaseDataSourceResponse, type BaseDataSourceUpdateDto, type BaseDataSourceUpdateParams, type BaseFileParams, type BaseGoogleParams, type BaseJiraParams, type BaseModelApiResponse, type BaseModelResponse, type BaseSharePointParams, type BaseUser, ChatRole, type Code, type CodeAnalysisProviderCreateParams, type CodeDataSourceCreateDto, type CodeDataSourceCreateParams, type CodeDataSourceResponse, CodeDataSourceType, type CodeDataSourceTypeType, type CodeDataSourceUpdateDto, type CodeDataSourceUpdateParams, type CodeExplorationProviderCreateParams, 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, ConversationService, 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, DatasourceService, ERROR_MESSAGE_PATTERNS, type ElasticsearchStats, ErrorCategory, ErrorCode, ErrorDetailLevel, type ErrorResponse, ExecutionStatus, type ExecutionStatusType, type File, type FileBulkUploadResponse, type FileDataSourceCreateDto, type FileDataSourceCreateParams, type FileDataSourceUpdateDto, type FileDataSourceUpdateParams, FileService, type FileToUpload, type FileUploadResponse, type Files, type Google, type GoogleDataSourceCreateDto, type GoogleDataSourceCreateParams, type GoogleDataSourceUpdateDto, type GoogleDataSourceUpdateParams, HTTP_STATUS_TO_ERROR_CODE, type HistoryItem, type HistoryMark, type Integration, type IntegrationCreateParams, IntegrationCreateParamsSchema, type IntegrationGetByAliasParams, IntegrationGetByAliasParamsSchema, type IntegrationGetParams, IntegrationGetParamsSchema, type IntegrationListParams, IntegrationListParamsSchema, IntegrationService, IntegrationType, type IntegrationTypeType, type IntegrationUpdateParams, IntegrationUpdateParamsSchema, type IntegrationValidationResult, type Jira, type JiraDataSourceCreateDto, type JiraDataSourceCreateParams, type JiraDataSourceUpdateDto, type JiraDataSourceUpdateParams, type LLMFeatures, type LLMModel, LLMProvider, type LLMProviderType, LLMService, type MCPServerConfig, type MCPServerDetails, type Mark, type MissingIntegration, type MissingIntegrationsByCredentialType, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedResponse, type PaginationParams, type PromptVariable, type ProviderDataSourceRequest, type SharePoint, type SharePointAuthType, type SharePointDataSourceCreateDto, type SharePointDataSourceCreateParams, type SharePointDataSourceUpdateDto, type SharePointDataSourceUpdateParams, SkillCategory, type SkillCreatedBy, type SkillDetail, type SkillListItem, type SkillListPaginatedResponse, SkillScopeFilter, SkillService, SkillSortBy, SkillVisibility, type SortOrder, type SystemPromptHistory, TaskService, type TaskUser, type Thought, type TokensUsage, type ToolDetails, type ToolErrorDetails, type ToolItem, type ToolKitDetails, type UserData, UserService, type VersionsListResponse, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowExecution, type WorkflowExecutionCreateParams, WorkflowExecutionCreateParamsSchema, type WorkflowExecutionListParams, WorkflowExecutionListParamsSchema, type WorkflowExecutionResponse, WorkflowExecutionService, type WorkflowExecutionState, type WorkflowExecutionStateListParams, WorkflowExecutionStateListParamsSchema, type WorkflowExecutionStateOutput, WorkflowExecutionStateService, type WorkflowExecutionStateThought, type WorkflowListParams, WorkflowListParamsSchema, WorkflowMode, type WorkflowModeType, type WorkflowResponse, WorkflowService, type WorkflowUpdateParams, WorkflowUpdateParamsSchema, type XrayDataSourceCreateDto, type XrayDataSourceCreateParams, type XrayDataSourceUpdateDto, type XrayDataSourceUpdateParams, classifyHttpError, formatCookies, formatToolErrorForLevel, formatToolErrorFull, formatToolErrorMinimal, formatToolErrorStandard, isRecoverableError };
|
|
2517
|
+
export { type AboutUser, type AboutUserResponse, type AgentErrorDetails, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantCategory, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantCreateResponse, type AssistantDataItem, type AssistantDetailsData, type AssistantListParams, AssistantListParamsSchema, AssistantService, type AssistantUpdateParams, AssistantUpdateParamsSchema, type AssistantUpdateResponse, type AssistantVersion, type AssistantVersionsListParams, AssistantVersionsListParamsSchema, type AuthConfig, type AzureDevOpsWiki, type AzureDevOpsWikiDataSourceCreateDto, type AzureDevOpsWikiDataSourceCreateParams, type AzureDevOpsWikiDataSourceUpdateDto, type AzureDevOpsWikiDataSourceUpdateParams, type AzureDevOpsWorkItem, type AzureDevOpsWorkItemDataSourceCreateDto, type AzureDevOpsWorkItemDataSourceCreateParams, type AzureDevOpsWorkItemDataSourceUpdateDto, type AzureDevOpsWorkItemDataSourceUpdateParams, type BackgroundTaskEntity, BackgroundTaskStatus, type BackgroundTaskStatusType, type BaseCodeParams, type BaseConfluenceParams, type BaseDataSourceCreateDto, type BaseDataSourceCreateParams, type BaseDataSourceResponse, type BaseDataSourceUpdateDto, type BaseDataSourceUpdateParams, type BaseFileParams, type BaseGoogleParams, type BaseJiraParams, type BaseModelApiResponse, type BaseModelResponse, type BaseSharePointParams, type BaseUser, type Category, type CategoryCreateParams, type CategoryListResponse, type CategoryResponse, CategoryService, type CategoryUpdateParams, ChatRole, type Code, type CodeAnalysisProviderCreateParams, type CodeDataSourceCreateDto, type CodeDataSourceCreateParams, type CodeDataSourceResponse, CodeDataSourceType, type CodeDataSourceTypeType, type CodeDataSourceUpdateDto, type CodeDataSourceUpdateParams, type CodeExplorationProviderCreateParams, 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, ConversationService, 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, DatasourceService, ERROR_MESSAGE_PATTERNS, type ElasticsearchStats, ErrorCategory, ErrorCode, ErrorDetailLevel, type ErrorResponse, ExecutionStatus, type ExecutionStatusType, type File, type FileBulkUploadResponse, type FileDataSourceCreateDto, type FileDataSourceCreateParams, type FileDataSourceUpdateDto, type FileDataSourceUpdateParams, FileService, type FileToUpload, type FileUploadResponse, type Files, type Google, type GoogleDataSourceCreateDto, type GoogleDataSourceCreateParams, type GoogleDataSourceUpdateDto, type GoogleDataSourceUpdateParams, HTTP_STATUS_TO_ERROR_CODE, type HistoryItem, type HistoryMark, type Integration, type IntegrationCreateParams, IntegrationCreateParamsSchema, type IntegrationGetByAliasParams, IntegrationGetByAliasParamsSchema, type IntegrationGetParams, IntegrationGetParamsSchema, type IntegrationListParams, IntegrationListParamsSchema, IntegrationService, IntegrationType, type IntegrationTypeType, type IntegrationUpdateParams, IntegrationUpdateParamsSchema, type IntegrationValidationResult, type Jira, type JiraDataSourceCreateDto, type JiraDataSourceCreateParams, type JiraDataSourceUpdateDto, type JiraDataSourceUpdateParams, type LLMFeatures, type LLMModel, LLMProvider, type LLMProviderType, LLMService, type MCPServerConfig, type MCPServerDetails, type Mark, type MissingIntegration, type MissingIntegrationsByCredentialType, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedResponse, type PaginationParams, type PromptVariable, type ProviderDataSourceRequest, type SharePoint, type SharePointAuthType, type SharePointDataSourceCreateDto, type SharePointDataSourceCreateParams, type SharePointDataSourceUpdateDto, type SharePointDataSourceUpdateParams, SkillCategory, type SkillCategoryItem, type SkillCreateParams, type SkillCreatedBy, type SkillDetail, type SkillImportParams, type SkillListItem, type SkillListPaginatedResponse, SkillScopeFilter, SkillService, SkillSortBy, type SkillUpdateParams, SkillVisibility, type SortOrder, type SystemPromptHistory, TaskService, type TaskUser, type Thought, type TokensUsage, type ToolDetails, type ToolErrorDetails, type ToolItem, type ToolKitDetails, type UserData, UserService, type VersionsListResponse, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowExecution, type WorkflowExecutionCreateParams, WorkflowExecutionCreateParamsSchema, type WorkflowExecutionListParams, WorkflowExecutionListParamsSchema, type WorkflowExecutionResponse, WorkflowExecutionService, type WorkflowExecutionState, type WorkflowExecutionStateListParams, WorkflowExecutionStateListParamsSchema, type WorkflowExecutionStateOutput, WorkflowExecutionStateService, type WorkflowExecutionStateThought, type WorkflowListParams, WorkflowListParamsSchema, WorkflowMode, type WorkflowModeType, type WorkflowResponse, WorkflowService, type WorkflowUpdateParams, WorkflowUpdateParamsSchema, type XrayDataSourceCreateDto, type XrayDataSourceCreateParams, type XrayDataSourceUpdateDto, type XrayDataSourceUpdateParams, classifyHttpError, formatCookies, formatToolErrorForLevel, formatToolErrorFull, formatToolErrorMinimal, formatToolErrorStandard, isRecoverableError };
|
package/dist/index.d.ts
CHANGED
|
@@ -1743,20 +1743,22 @@ declare class TaskService {
|
|
|
1743
1743
|
/** Models for user service. */
|
|
1744
1744
|
/** User API response. */
|
|
1745
1745
|
interface AboutUserResponse {
|
|
1746
|
-
|
|
1746
|
+
user_id: string;
|
|
1747
1747
|
name: string;
|
|
1748
1748
|
username: string;
|
|
1749
|
-
|
|
1749
|
+
email: string;
|
|
1750
|
+
is_admin: boolean;
|
|
1750
1751
|
applications: string[];
|
|
1751
|
-
|
|
1752
|
+
applications_admin: string[];
|
|
1752
1753
|
picture: string;
|
|
1753
|
-
|
|
1754
|
+
knowledge_bases: string[];
|
|
1754
1755
|
}
|
|
1755
1756
|
/** User model. */
|
|
1756
1757
|
interface AboutUser {
|
|
1757
1758
|
user_id: string;
|
|
1758
1759
|
name: string;
|
|
1759
1760
|
username: string;
|
|
1761
|
+
email: string;
|
|
1760
1762
|
is_admin: boolean;
|
|
1761
1763
|
applications: string[];
|
|
1762
1764
|
applications_admin: string[];
|
|
@@ -1784,6 +1786,83 @@ declare class UserService {
|
|
|
1784
1786
|
getData(): Promise<UserData>;
|
|
1785
1787
|
}
|
|
1786
1788
|
|
|
1789
|
+
interface Category {
|
|
1790
|
+
id: string;
|
|
1791
|
+
name: string;
|
|
1792
|
+
description?: string;
|
|
1793
|
+
}
|
|
1794
|
+
interface CategoryResponse {
|
|
1795
|
+
id: string;
|
|
1796
|
+
name: string;
|
|
1797
|
+
description?: string;
|
|
1798
|
+
marketplaceAssistantCount: number;
|
|
1799
|
+
projectAssistantCount: number;
|
|
1800
|
+
/** ISO datetime string */
|
|
1801
|
+
createdAt: string;
|
|
1802
|
+
/** ISO datetime string */
|
|
1803
|
+
updatedAt?: string;
|
|
1804
|
+
}
|
|
1805
|
+
interface CategoryListResponse {
|
|
1806
|
+
categories: CategoryResponse[];
|
|
1807
|
+
page: number;
|
|
1808
|
+
per_page: number;
|
|
1809
|
+
total: number;
|
|
1810
|
+
pages: number;
|
|
1811
|
+
}
|
|
1812
|
+
interface CategoryCreateParams {
|
|
1813
|
+
/** 1–255 chars */
|
|
1814
|
+
name: string;
|
|
1815
|
+
/** Optional description, max 1000 chars */
|
|
1816
|
+
description?: string;
|
|
1817
|
+
}
|
|
1818
|
+
interface CategoryUpdateParams {
|
|
1819
|
+
/** 1–255 chars */
|
|
1820
|
+
name: string;
|
|
1821
|
+
/** Optional description, max 1000 chars */
|
|
1822
|
+
description?: string;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
declare class CategoryService {
|
|
1826
|
+
private api;
|
|
1827
|
+
constructor(config: AuthConfig);
|
|
1828
|
+
/**
|
|
1829
|
+
* Get all available assistant categories (legacy, non-paginated).
|
|
1830
|
+
* Public endpoint — no admin access required.
|
|
1831
|
+
* GET /v1/assistants/categories
|
|
1832
|
+
*/
|
|
1833
|
+
getCategories(): Promise<Category[]>;
|
|
1834
|
+
/**
|
|
1835
|
+
* Get paginated list of categories with marketplace/project assistant counts.
|
|
1836
|
+
* Admin access required.
|
|
1837
|
+
* GET /v1/assistants/categories/list
|
|
1838
|
+
*/
|
|
1839
|
+
listCategories(page?: number, perPage?: number): Promise<CategoryListResponse>;
|
|
1840
|
+
/**
|
|
1841
|
+
* Get a specific category by ID with assistant counts.
|
|
1842
|
+
* Admin access required.
|
|
1843
|
+
* GET /v1/assistants/categories/{id}
|
|
1844
|
+
*/
|
|
1845
|
+
getCategory(categoryId: string): Promise<CategoryResponse>;
|
|
1846
|
+
/**
|
|
1847
|
+
* Create a new category. The ID is auto-generated from the name.
|
|
1848
|
+
* Admin access required.
|
|
1849
|
+
* POST /v1/assistants/categories
|
|
1850
|
+
*/
|
|
1851
|
+
createCategory(params: CategoryCreateParams): Promise<CategoryResponse>;
|
|
1852
|
+
/**
|
|
1853
|
+
* Update an existing category.
|
|
1854
|
+
* Admin access required.
|
|
1855
|
+
* PUT /v1/assistants/categories/{id}
|
|
1856
|
+
*/
|
|
1857
|
+
updateCategory(categoryId: string, params: CategoryUpdateParams): Promise<CategoryResponse>;
|
|
1858
|
+
/**
|
|
1859
|
+
* Delete a category. Fails with 409 if any assistants are assigned to it.
|
|
1860
|
+
* Admin access required.
|
|
1861
|
+
* DELETE /v1/assistants/categories/{id}
|
|
1862
|
+
*/
|
|
1863
|
+
deleteCategory(categoryId: string): Promise<void>;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1787
1866
|
/** Models for skill-related data structures. */
|
|
1788
1867
|
declare enum SkillVisibility {
|
|
1789
1868
|
PRIVATE = "private",
|
|
@@ -1817,12 +1896,21 @@ declare enum SkillCategory {
|
|
|
1817
1896
|
DATA_ANALYTICS = "data_analytics",
|
|
1818
1897
|
PROJECT_MANAGEMENT = "project_management",
|
|
1819
1898
|
PRODUCT_MANAGEMENT = "product_management",
|
|
1820
|
-
BUSINESS_ANALYSIS = "business_analysis"
|
|
1899
|
+
BUSINESS_ANALYSIS = "business_analysis",
|
|
1900
|
+
MIGRATION_MODERNIZATION = "migration_modernization",
|
|
1901
|
+
SUPPORT = "support",
|
|
1902
|
+
CUSTOMER_EXPERIENCE = "customer_experience",
|
|
1903
|
+
KNOWLEDGE_MANAGEMENT = "knowledge_management",
|
|
1904
|
+
TRAINING = "training",
|
|
1905
|
+
PRESALES = "presales",
|
|
1906
|
+
INTERVIEW = "interview",
|
|
1907
|
+
TALENT_ACQUISITION = "talent_acquisition",
|
|
1908
|
+
OTHER = "other"
|
|
1821
1909
|
}
|
|
1822
1910
|
interface SkillCreatedBy {
|
|
1823
1911
|
id: string;
|
|
1912
|
+
username: string;
|
|
1824
1913
|
name: string;
|
|
1825
|
-
email?: string;
|
|
1826
1914
|
}
|
|
1827
1915
|
interface SkillListItem {
|
|
1828
1916
|
id: string;
|
|
@@ -1832,8 +1920,8 @@ interface SkillListItem {
|
|
|
1832
1920
|
visibility: SkillVisibility;
|
|
1833
1921
|
created_by: SkillCreatedBy | null;
|
|
1834
1922
|
categories: SkillCategory[];
|
|
1835
|
-
|
|
1836
|
-
|
|
1923
|
+
createdDate: string;
|
|
1924
|
+
updatedDate: string | null;
|
|
1837
1925
|
is_attached: boolean;
|
|
1838
1926
|
assistants_count: number;
|
|
1839
1927
|
user_abilities: string[];
|
|
@@ -1848,10 +1936,60 @@ interface SkillDetail extends SkillListItem {
|
|
|
1848
1936
|
interface SkillListPaginatedResponse {
|
|
1849
1937
|
skills: SkillListItem[];
|
|
1850
1938
|
page: number;
|
|
1851
|
-
|
|
1939
|
+
perPage: number;
|
|
1852
1940
|
pages: number;
|
|
1853
1941
|
total: number;
|
|
1854
1942
|
}
|
|
1943
|
+
/** Skill category API response item. */
|
|
1944
|
+
interface SkillCategoryItem {
|
|
1945
|
+
value: string;
|
|
1946
|
+
label: string;
|
|
1947
|
+
description?: string;
|
|
1948
|
+
}
|
|
1949
|
+
/** Parameters for creating a skill. */
|
|
1950
|
+
interface SkillCreateParams {
|
|
1951
|
+
/** Kebab-case identifier, 3–64 chars (e.g. "my-skill"). Must start and end with a letter or number. */
|
|
1952
|
+
name: string;
|
|
1953
|
+
/** 10–1000 chars. */
|
|
1954
|
+
description: string;
|
|
1955
|
+
/** Markdown skill instructions, minimum 100 chars. */
|
|
1956
|
+
content: string;
|
|
1957
|
+
project: string;
|
|
1958
|
+
visibility?: SkillVisibility;
|
|
1959
|
+
/** Max 3 categories. */
|
|
1960
|
+
categories?: string[];
|
|
1961
|
+
toolkits?: unknown[];
|
|
1962
|
+
mcp_servers?: unknown[];
|
|
1963
|
+
}
|
|
1964
|
+
/** Parameters for updating a skill. */
|
|
1965
|
+
interface SkillUpdateParams {
|
|
1966
|
+
/** Kebab-case identifier, 3–64 chars. Must start and end with a letter or number. */
|
|
1967
|
+
name?: string;
|
|
1968
|
+
/** 10–1000 chars. */
|
|
1969
|
+
description?: string;
|
|
1970
|
+
/** Markdown skill instructions, minimum 100 chars. */
|
|
1971
|
+
content?: string;
|
|
1972
|
+
project?: string;
|
|
1973
|
+
visibility?: SkillVisibility;
|
|
1974
|
+
/** Max 3 categories. */
|
|
1975
|
+
categories?: string[];
|
|
1976
|
+
toolkits?: unknown[];
|
|
1977
|
+
mcp_servers?: unknown[];
|
|
1978
|
+
}
|
|
1979
|
+
/** Parameters for importing a skill from .md file. */
|
|
1980
|
+
interface SkillImportParams {
|
|
1981
|
+
/**
|
|
1982
|
+
* Base64-encoded markdown file content. The file must include YAML frontmatter
|
|
1983
|
+
* with `name` and `description` fields. This matches the format produced by `export()`.
|
|
1984
|
+
*
|
|
1985
|
+
* @example
|
|
1986
|
+
* Buffer.from("---\nname: my-skill\ndescription: What this skill does\n---\n\n# Instructions\n...").toString("base64")
|
|
1987
|
+
*/
|
|
1988
|
+
file_content: string;
|
|
1989
|
+
filename: string;
|
|
1990
|
+
project: string;
|
|
1991
|
+
visibility?: SkillVisibility;
|
|
1992
|
+
}
|
|
1855
1993
|
|
|
1856
1994
|
declare const SkillListParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
1857
1995
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1859,6 +1997,7 @@ declare const SkillListParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1859
1997
|
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1860
1998
|
sort_by: z.ZodOptional<z.ZodEnum<typeof SkillSortBy>>;
|
|
1861
1999
|
scope: z.ZodOptional<z.ZodEnum<typeof SkillScopeFilter>>;
|
|
2000
|
+
assistant_id: z.ZodOptional<z.ZodString>;
|
|
1862
2001
|
}, z.core.$strip>>;
|
|
1863
2002
|
type SkillListParams = Partial<z.infer<typeof SkillListParamsSchema>>;
|
|
1864
2003
|
|
|
@@ -1877,6 +2016,70 @@ declare class SkillService {
|
|
|
1877
2016
|
* Get skill details by ID.
|
|
1878
2017
|
*/
|
|
1879
2018
|
get(skillId: string): Promise<SkillDetail>;
|
|
2019
|
+
/**
|
|
2020
|
+
* Create a new skill.
|
|
2021
|
+
*/
|
|
2022
|
+
create(params: SkillCreateParams): Promise<SkillDetail>;
|
|
2023
|
+
/**
|
|
2024
|
+
* Update an existing skill.
|
|
2025
|
+
*/
|
|
2026
|
+
update(skillId: string, params: SkillUpdateParams): Promise<SkillDetail>;
|
|
2027
|
+
/**
|
|
2028
|
+
* Delete a skill by ID.
|
|
2029
|
+
*/
|
|
2030
|
+
delete(skillId: string): Promise<AnyJson>;
|
|
2031
|
+
/**
|
|
2032
|
+
* Import a skill from .md file content.
|
|
2033
|
+
*/
|
|
2034
|
+
importSkill(params: SkillImportParams): Promise<SkillDetail>;
|
|
2035
|
+
/**
|
|
2036
|
+
* Export a skill as markdown content.
|
|
2037
|
+
*/
|
|
2038
|
+
export(skillId: string): Promise<string>;
|
|
2039
|
+
/**
|
|
2040
|
+
* Attach a skill to an assistant.
|
|
2041
|
+
*/
|
|
2042
|
+
attachToAssistant(assistantId: string, skillId: string): Promise<AnyJson>;
|
|
2043
|
+
/**
|
|
2044
|
+
* Detach a skill from an assistant.
|
|
2045
|
+
*/
|
|
2046
|
+
detachFromAssistant(assistantId: string, skillId: string): Promise<AnyJson>;
|
|
2047
|
+
/**
|
|
2048
|
+
* Get all skills attached to an assistant.
|
|
2049
|
+
*/
|
|
2050
|
+
getAssistantSkills(assistantId: string): Promise<SkillListItem[]>;
|
|
2051
|
+
/**
|
|
2052
|
+
* Bulk attach a skill to multiple assistants.
|
|
2053
|
+
*/
|
|
2054
|
+
bulkAttachToAssistants(skillId: string, assistantIds: string[]): Promise<AnyJson>;
|
|
2055
|
+
/**
|
|
2056
|
+
* Get all assistants using this skill.
|
|
2057
|
+
*/
|
|
2058
|
+
getSkillAssistants(skillId: string): Promise<AnyJson[]>;
|
|
2059
|
+
/**
|
|
2060
|
+
* Publish a skill to the marketplace.
|
|
2061
|
+
*/
|
|
2062
|
+
publish(skillId: string, categories?: string[]): Promise<AnyJson>;
|
|
2063
|
+
/**
|
|
2064
|
+
* Unpublish a skill from the marketplace.
|
|
2065
|
+
*/
|
|
2066
|
+
unpublish(skillId: string): Promise<AnyJson>;
|
|
2067
|
+
/**
|
|
2068
|
+
* Get list of available skill categories.
|
|
2069
|
+
*/
|
|
2070
|
+
listCategories(): Promise<SkillCategoryItem[]>;
|
|
2071
|
+
/**
|
|
2072
|
+
* Get users with access to skills.
|
|
2073
|
+
*/
|
|
2074
|
+
getUsers(): Promise<AnyJson[]>;
|
|
2075
|
+
/**
|
|
2076
|
+
* React to a skill.
|
|
2077
|
+
*/
|
|
2078
|
+
react(skillId: string, reaction: "like" | "dislike"): Promise<AnyJson>;
|
|
2079
|
+
/**
|
|
2080
|
+
* Remove all reactions from a skill.
|
|
2081
|
+
*/
|
|
2082
|
+
removeReactions(skillId: string): Promise<AnyJson>;
|
|
1880
2083
|
}
|
|
1881
2084
|
|
|
1882
2085
|
/** Models for workflow functionality */
|
|
@@ -2229,6 +2432,7 @@ declare class CodeMieClient {
|
|
|
2229
2432
|
private _llms;
|
|
2230
2433
|
private _tasks;
|
|
2231
2434
|
private _users;
|
|
2435
|
+
private _categories;
|
|
2232
2436
|
private _skills;
|
|
2233
2437
|
private _workflows;
|
|
2234
2438
|
constructor(config: CodeMieClientConfig);
|
|
@@ -2264,6 +2468,10 @@ declare class CodeMieClient {
|
|
|
2264
2468
|
* Get the FileService instance.
|
|
2265
2469
|
*/
|
|
2266
2470
|
get files(): FileService;
|
|
2471
|
+
/**
|
|
2472
|
+
* Get the CategoryService instance.
|
|
2473
|
+
*/
|
|
2474
|
+
get categories(): CategoryService;
|
|
2267
2475
|
/**
|
|
2268
2476
|
* Get the SkillService instance.
|
|
2269
2477
|
*/
|
|
@@ -2306,4 +2514,4 @@ declare class NotFoundError extends ApiError {
|
|
|
2306
2514
|
constructor(resourceType: string, resourceId: string);
|
|
2307
2515
|
}
|
|
2308
2516
|
|
|
2309
|
-
export { type AboutUser, type AboutUserResponse, type AgentErrorDetails, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantCategory, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantCreateResponse, type AssistantDataItem, type AssistantDetailsData, type AssistantListParams, AssistantListParamsSchema, AssistantService, type AssistantUpdateParams, AssistantUpdateParamsSchema, type AssistantUpdateResponse, type AssistantVersion, type AssistantVersionsListParams, AssistantVersionsListParamsSchema, type AuthConfig, type AzureDevOpsWiki, type AzureDevOpsWikiDataSourceCreateDto, type AzureDevOpsWikiDataSourceCreateParams, type AzureDevOpsWikiDataSourceUpdateDto, type AzureDevOpsWikiDataSourceUpdateParams, type AzureDevOpsWorkItem, type AzureDevOpsWorkItemDataSourceCreateDto, type AzureDevOpsWorkItemDataSourceCreateParams, type AzureDevOpsWorkItemDataSourceUpdateDto, type AzureDevOpsWorkItemDataSourceUpdateParams, type BackgroundTaskEntity, BackgroundTaskStatus, type BackgroundTaskStatusType, type BaseCodeParams, type BaseConfluenceParams, type BaseDataSourceCreateDto, type BaseDataSourceCreateParams, type BaseDataSourceResponse, type BaseDataSourceUpdateDto, type BaseDataSourceUpdateParams, type BaseFileParams, type BaseGoogleParams, type BaseJiraParams, type BaseModelApiResponse, type BaseModelResponse, type BaseSharePointParams, type BaseUser, ChatRole, type Code, type CodeAnalysisProviderCreateParams, type CodeDataSourceCreateDto, type CodeDataSourceCreateParams, type CodeDataSourceResponse, CodeDataSourceType, type CodeDataSourceTypeType, type CodeDataSourceUpdateDto, type CodeDataSourceUpdateParams, type CodeExplorationProviderCreateParams, 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, ConversationService, 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, DatasourceService, ERROR_MESSAGE_PATTERNS, type ElasticsearchStats, ErrorCategory, ErrorCode, ErrorDetailLevel, type ErrorResponse, ExecutionStatus, type ExecutionStatusType, type File, type FileBulkUploadResponse, type FileDataSourceCreateDto, type FileDataSourceCreateParams, type FileDataSourceUpdateDto, type FileDataSourceUpdateParams, FileService, type FileToUpload, type FileUploadResponse, type Files, type Google, type GoogleDataSourceCreateDto, type GoogleDataSourceCreateParams, type GoogleDataSourceUpdateDto, type GoogleDataSourceUpdateParams, HTTP_STATUS_TO_ERROR_CODE, type HistoryItem, type HistoryMark, type Integration, type IntegrationCreateParams, IntegrationCreateParamsSchema, type IntegrationGetByAliasParams, IntegrationGetByAliasParamsSchema, type IntegrationGetParams, IntegrationGetParamsSchema, type IntegrationListParams, IntegrationListParamsSchema, IntegrationService, IntegrationType, type IntegrationTypeType, type IntegrationUpdateParams, IntegrationUpdateParamsSchema, type IntegrationValidationResult, type Jira, type JiraDataSourceCreateDto, type JiraDataSourceCreateParams, type JiraDataSourceUpdateDto, type JiraDataSourceUpdateParams, type LLMFeatures, type LLMModel, LLMProvider, type LLMProviderType, LLMService, type MCPServerConfig, type MCPServerDetails, type Mark, type MissingIntegration, type MissingIntegrationsByCredentialType, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedResponse, type PaginationParams, type PromptVariable, type ProviderDataSourceRequest, type SharePoint, type SharePointAuthType, type SharePointDataSourceCreateDto, type SharePointDataSourceCreateParams, type SharePointDataSourceUpdateDto, type SharePointDataSourceUpdateParams, SkillCategory, type SkillCreatedBy, type SkillDetail, type SkillListItem, type SkillListPaginatedResponse, SkillScopeFilter, SkillService, SkillSortBy, SkillVisibility, type SortOrder, type SystemPromptHistory, TaskService, type TaskUser, type Thought, type TokensUsage, type ToolDetails, type ToolErrorDetails, type ToolItem, type ToolKitDetails, type UserData, UserService, type VersionsListResponse, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowExecution, type WorkflowExecutionCreateParams, WorkflowExecutionCreateParamsSchema, type WorkflowExecutionListParams, WorkflowExecutionListParamsSchema, type WorkflowExecutionResponse, WorkflowExecutionService, type WorkflowExecutionState, type WorkflowExecutionStateListParams, WorkflowExecutionStateListParamsSchema, type WorkflowExecutionStateOutput, WorkflowExecutionStateService, type WorkflowExecutionStateThought, type WorkflowListParams, WorkflowListParamsSchema, WorkflowMode, type WorkflowModeType, type WorkflowResponse, WorkflowService, type WorkflowUpdateParams, WorkflowUpdateParamsSchema, type XrayDataSourceCreateDto, type XrayDataSourceCreateParams, type XrayDataSourceUpdateDto, type XrayDataSourceUpdateParams, classifyHttpError, formatCookies, formatToolErrorForLevel, formatToolErrorFull, formatToolErrorMinimal, formatToolErrorStandard, isRecoverableError };
|
|
2517
|
+
export { type AboutUser, type AboutUserResponse, type AgentErrorDetails, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantCategory, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantCreateResponse, type AssistantDataItem, type AssistantDetailsData, type AssistantListParams, AssistantListParamsSchema, AssistantService, type AssistantUpdateParams, AssistantUpdateParamsSchema, type AssistantUpdateResponse, type AssistantVersion, type AssistantVersionsListParams, AssistantVersionsListParamsSchema, type AuthConfig, type AzureDevOpsWiki, type AzureDevOpsWikiDataSourceCreateDto, type AzureDevOpsWikiDataSourceCreateParams, type AzureDevOpsWikiDataSourceUpdateDto, type AzureDevOpsWikiDataSourceUpdateParams, type AzureDevOpsWorkItem, type AzureDevOpsWorkItemDataSourceCreateDto, type AzureDevOpsWorkItemDataSourceCreateParams, type AzureDevOpsWorkItemDataSourceUpdateDto, type AzureDevOpsWorkItemDataSourceUpdateParams, type BackgroundTaskEntity, BackgroundTaskStatus, type BackgroundTaskStatusType, type BaseCodeParams, type BaseConfluenceParams, type BaseDataSourceCreateDto, type BaseDataSourceCreateParams, type BaseDataSourceResponse, type BaseDataSourceUpdateDto, type BaseDataSourceUpdateParams, type BaseFileParams, type BaseGoogleParams, type BaseJiraParams, type BaseModelApiResponse, type BaseModelResponse, type BaseSharePointParams, type BaseUser, type Category, type CategoryCreateParams, type CategoryListResponse, type CategoryResponse, CategoryService, type CategoryUpdateParams, ChatRole, type Code, type CodeAnalysisProviderCreateParams, type CodeDataSourceCreateDto, type CodeDataSourceCreateParams, type CodeDataSourceResponse, CodeDataSourceType, type CodeDataSourceTypeType, type CodeDataSourceUpdateDto, type CodeDataSourceUpdateParams, type CodeExplorationProviderCreateParams, 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, ConversationService, 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, DatasourceService, ERROR_MESSAGE_PATTERNS, type ElasticsearchStats, ErrorCategory, ErrorCode, ErrorDetailLevel, type ErrorResponse, ExecutionStatus, type ExecutionStatusType, type File, type FileBulkUploadResponse, type FileDataSourceCreateDto, type FileDataSourceCreateParams, type FileDataSourceUpdateDto, type FileDataSourceUpdateParams, FileService, type FileToUpload, type FileUploadResponse, type Files, type Google, type GoogleDataSourceCreateDto, type GoogleDataSourceCreateParams, type GoogleDataSourceUpdateDto, type GoogleDataSourceUpdateParams, HTTP_STATUS_TO_ERROR_CODE, type HistoryItem, type HistoryMark, type Integration, type IntegrationCreateParams, IntegrationCreateParamsSchema, type IntegrationGetByAliasParams, IntegrationGetByAliasParamsSchema, type IntegrationGetParams, IntegrationGetParamsSchema, type IntegrationListParams, IntegrationListParamsSchema, IntegrationService, IntegrationType, type IntegrationTypeType, type IntegrationUpdateParams, IntegrationUpdateParamsSchema, type IntegrationValidationResult, type Jira, type JiraDataSourceCreateDto, type JiraDataSourceCreateParams, type JiraDataSourceUpdateDto, type JiraDataSourceUpdateParams, type LLMFeatures, type LLMModel, LLMProvider, type LLMProviderType, LLMService, type MCPServerConfig, type MCPServerDetails, type Mark, type MissingIntegration, type MissingIntegrationsByCredentialType, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedResponse, type PaginationParams, type PromptVariable, type ProviderDataSourceRequest, type SharePoint, type SharePointAuthType, type SharePointDataSourceCreateDto, type SharePointDataSourceCreateParams, type SharePointDataSourceUpdateDto, type SharePointDataSourceUpdateParams, SkillCategory, type SkillCategoryItem, type SkillCreateParams, type SkillCreatedBy, type SkillDetail, type SkillImportParams, type SkillListItem, type SkillListPaginatedResponse, SkillScopeFilter, SkillService, SkillSortBy, type SkillUpdateParams, SkillVisibility, type SortOrder, type SystemPromptHistory, TaskService, type TaskUser, type Thought, type TokensUsage, type ToolDetails, type ToolErrorDetails, type ToolItem, type ToolKitDetails, type UserData, UserService, type VersionsListResponse, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowExecution, type WorkflowExecutionCreateParams, WorkflowExecutionCreateParamsSchema, type WorkflowExecutionListParams, WorkflowExecutionListParamsSchema, type WorkflowExecutionResponse, WorkflowExecutionService, type WorkflowExecutionState, type WorkflowExecutionStateListParams, WorkflowExecutionStateListParamsSchema, type WorkflowExecutionStateOutput, WorkflowExecutionStateService, type WorkflowExecutionStateThought, type WorkflowListParams, WorkflowListParamsSchema, WorkflowMode, type WorkflowModeType, type WorkflowResponse, WorkflowService, type WorkflowUpdateParams, WorkflowUpdateParamsSchema, type XrayDataSourceCreateDto, type XrayDataSourceCreateParams, type XrayDataSourceUpdateDto, type XrayDataSourceUpdateParams, classifyHttpError, formatCookies, formatToolErrorForLevel, formatToolErrorFull, formatToolErrorMinimal, formatToolErrorStandard, isRecoverableError };
|