codemie-sdk 0.1.618 → 0.1.620

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
@@ -1126,6 +1126,7 @@ declare const DataSourceType: {
1126
1126
  readonly JIRA: "knowledge_base_jira";
1127
1127
  readonly FILE: "knowledge_base_file";
1128
1128
  readonly GOOGLE: "llm_routing_google";
1129
+ readonly GIT_FAQ: "knowledge_base_git_faq";
1129
1130
  readonly PROVIDER: "provider";
1130
1131
  readonly SUMMARY: "summary";
1131
1132
  readonly CHUNK_SUMMARY: "chunk-summary";
@@ -1192,6 +1193,13 @@ interface Code {
1192
1193
  settingId: string;
1193
1194
  summarizationModel?: string;
1194
1195
  }
1196
+ /** Git FAQ (knowledge_base_git_faq) datasource fields */
1197
+ interface GitFaq {
1198
+ link: string;
1199
+ branch: string;
1200
+ files_filter?: string;
1201
+ embedding_model?: string;
1202
+ }
1195
1203
  /** Azure DevOps Wiki-specific configuration */
1196
1204
  interface AzureDevOpsWiki {
1197
1205
  wiki_query?: string;
@@ -1385,7 +1393,7 @@ interface DataSourceProcessingInfo {
1385
1393
  /** Number of processed documents */
1386
1394
  processed_documents_count?: number;
1387
1395
  }
1388
- type DataSourceResponse = BaseDataSourceResponse | CodeDataSourceResponse;
1396
+ type DataSourceResponse = BaseDataSourceResponse | CodeDataSourceResponse | GitFaqDataSourceResponse;
1389
1397
  /** Datasource response interface */
1390
1398
  interface BaseDataSourceResponse {
1391
1399
  /** Unique identifier */
@@ -1459,6 +1467,12 @@ type CodeDataSourceResponse = BaseDataSourceResponse & {
1459
1467
  /** Enable documentation generation */
1460
1468
  docs_generation?: boolean;
1461
1469
  };
1470
+ /** Git FAQ datasource response */
1471
+ type GitFaqDataSourceResponse = BaseDataSourceResponse & {
1472
+ link?: string | null;
1473
+ branch?: string | null;
1474
+ files_filter?: string | null;
1475
+ };
1462
1476
  /** Datasource model */
1463
1477
  interface DataSource {
1464
1478
  /** Unique identifier */
@@ -1497,6 +1511,7 @@ interface DataSource {
1497
1511
  tokens_usage?: TokensUsage;
1498
1512
  /** Code-specific configuration */
1499
1513
  code?: Partial<Code>;
1514
+ git_faq?: Partial<GitFaq>;
1500
1515
  /** Jira-specific configuration */
1501
1516
  jira?: Jira;
1502
1517
  /** Confluence-specific configuration */
@@ -1557,6 +1572,17 @@ interface BaseGoogleParams {
1557
1572
  google_doc: string;
1558
1573
  }
1559
1574
  /** Code repository configuration */
1575
+ /** Git FAQ (knowledge_base_git_faq) datasource configuration */
1576
+ interface BaseGitFaqParams {
1577
+ /** Repository URL */
1578
+ link: string;
1579
+ /** Branch name */
1580
+ branch: string;
1581
+ /** Gitignore-style include/exclude patterns; empty indexes every .md file in the repo */
1582
+ files_filter?: string;
1583
+ /** Embedding model used for chunk vectors */
1584
+ embedding_model?: string;
1585
+ }
1560
1586
  interface BaseCodeParams {
1561
1587
  /** Repository URL */
1562
1588
  link: string;
@@ -1598,6 +1624,9 @@ interface JiraDataSourceCreateParams extends BaseDataSourceCreateParams, BaseJir
1598
1624
  interface GoogleDataSourceCreateParams extends BaseDataSourceCreateParams, BaseGoogleParams {
1599
1625
  type: typeof DataSourceType.GOOGLE;
1600
1626
  }
1627
+ interface GitFaqDataSourceCreateParams extends BaseDataSourceCreateParams, BaseGitFaqParams {
1628
+ type: typeof DataSourceType.GIT_FAQ;
1629
+ }
1601
1630
  interface FileDataSourceCreateParams extends BaseDataSourceCreateParams, BaseFileParams {
1602
1631
  type: typeof DataSourceType.FILE;
1603
1632
  }
@@ -1620,7 +1649,7 @@ interface OtherDataSourceCreateParams extends BaseDataSourceCreateParams {
1620
1649
  type: typeof DataSourceType.PROVIDER | typeof DataSourceType.SUMMARY | typeof DataSourceType.CHUNK_SUMMARY | typeof DataSourceType.JSON | typeof DataSourceType.PLATFORM;
1621
1650
  }
1622
1651
  /** DataSource create parameters */
1623
- type DataSourceCreateParams = ConfluenceDataSourceCreateParams | JiraDataSourceCreateParams | GoogleDataSourceCreateParams | FileDataSourceCreateParams | CodeDataSourceCreateParams | AzureDevOpsWikiDataSourceCreateParams | AzureDevOpsWorkItemDataSourceCreateParams | XrayDataSourceCreateParams | SharePointDataSourceCreateParams | OtherDataSourceCreateParams;
1652
+ type DataSourceCreateParams = ConfluenceDataSourceCreateParams | JiraDataSourceCreateParams | GoogleDataSourceCreateParams | GitFaqDataSourceCreateParams | FileDataSourceCreateParams | CodeDataSourceCreateParams | AzureDevOpsWikiDataSourceCreateParams | AzureDevOpsWorkItemDataSourceCreateParams | XrayDataSourceCreateParams | SharePointDataSourceCreateParams | OtherDataSourceCreateParams;
1624
1653
  interface BaseDataSourceUpdateParams {
1625
1654
  /** Type of datasource */
1626
1655
  type: DataSourceTypeType;
@@ -1652,6 +1681,9 @@ interface JiraDataSourceUpdateParams extends BaseDataSourceUpdateParams, Partial
1652
1681
  interface GoogleDataSourceUpdateParams extends BaseDataSourceUpdateParams, Partial<BaseGoogleParams> {
1653
1682
  type: typeof DataSourceType.GOOGLE;
1654
1683
  }
1684
+ interface GitFaqDataSourceUpdateParams extends BaseDataSourceUpdateParams, Partial<BaseGitFaqParams> {
1685
+ type: typeof DataSourceType.GIT_FAQ;
1686
+ }
1655
1687
  interface FileDataSourceUpdateParams extends BaseDataSourceUpdateParams, Partial<BaseFileParams> {
1656
1688
  type: typeof DataSourceType.FILE;
1657
1689
  }
@@ -1674,7 +1706,7 @@ interface OtherDataSourceUpdateParams extends BaseDataSourceUpdateParams {
1674
1706
  type: typeof DataSourceType.PROVIDER | typeof DataSourceType.SUMMARY | typeof DataSourceType.CHUNK_SUMMARY | typeof DataSourceType.JSON | typeof DataSourceType.PLATFORM;
1675
1707
  }
1676
1708
  /** DataSource update parameters */
1677
- type DataSourceUpdateParams = ConfluenceDataSourceUpdateParams | JiraDataSourceUpdateParams | GoogleDataSourceUpdateParams | FileDataSourceUpdateParams | CodeDataSourceUpdateParams | AzureDevOpsWikiDataSourceUpdateParams | AzureDevOpsWorkItemDataSourceUpdateParams | XrayDataSourceUpdateParams | SharePointDataSourceUpdateParams | OtherDataSourceUpdateParams;
1709
+ type DataSourceUpdateParams = ConfluenceDataSourceUpdateParams | JiraDataSourceUpdateParams | GoogleDataSourceUpdateParams | GitFaqDataSourceUpdateParams | FileDataSourceUpdateParams | CodeDataSourceUpdateParams | AzureDevOpsWikiDataSourceUpdateParams | AzureDevOpsWorkItemDataSourceUpdateParams | XrayDataSourceUpdateParams | SharePointDataSourceUpdateParams | OtherDataSourceUpdateParams;
1678
1710
 
1679
1711
  declare class DatasourceService {
1680
1712
  private api;
@@ -2800,4 +2832,4 @@ declare const ProjectSchema: z.ZodObject<{
2800
2832
  }, z.core.$strip>;
2801
2833
  type Project = z.infer<typeof ProjectSchema>;
2802
2834
 
2803
- export { type AboutUser, type AboutUserResponse, type AgentErrorDetails, type AnalyticsQueryParams, AnalyticsQueryParamsSchema, AnalyticsService, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantCategory, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantCreateResponse, type AssistantDataItem, type AssistantDetailsData, type AssistantEvaluationParams, AssistantEvaluationParamsSchema, 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 ColumnDefinition, 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, MCPServerConfigSchema, type MCPServerDetails, type Mark, type Metric, type MissingIntegration, type MissingIntegrationsByCredentialType, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedAnalyticsQueryParams, PaginatedAnalyticsQueryParamsSchema, type PaginatedResponse, type PaginationMetadata, type PaginationParams, type Project, ProjectSchema, type PromptVariable, type ProviderDataSourceRequest, type ResponseMetadata, 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, type SkillListParams, SkillListParamsSchema, SkillScopeFilter, SkillService, SkillSortBy, type SkillUpdateParams, SkillVisibility, type SortOrder, type SummariesData, type SummariesResponse, type SystemPromptHistory, TIME_PERIOD_VALUES, type TabularData, type TabularResponse, TaskService, type TaskUser, type Thought, type TimePeriod, type TokensUsage, type ToolDetails, type ToolErrorDetails, type ToolItem, type ToolKitDetails, type UserData, type UserListItem, UserService, type UsersListData, type UsersListResponse, type VersionsListResponse, type VirtualAssistantChatParams, VirtualAssistantChatParamsSchema, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowEvaluationParams, WorkflowEvaluationParamsSchema, 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 };
2835
+ export { type AboutUser, type AboutUserResponse, type AgentErrorDetails, type AnalyticsQueryParams, AnalyticsQueryParamsSchema, AnalyticsService, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantCategory, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantCreateResponse, type AssistantDataItem, type AssistantDetailsData, type AssistantEvaluationParams, AssistantEvaluationParamsSchema, 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 BaseGitFaqParams, 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 ColumnDefinition, 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 GitFaq, type GitFaqDataSourceCreateParams, type GitFaqDataSourceResponse, type GitFaqDataSourceUpdateParams, 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, MCPServerConfigSchema, type MCPServerDetails, type Mark, type Metric, type MissingIntegration, type MissingIntegrationsByCredentialType, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedAnalyticsQueryParams, PaginatedAnalyticsQueryParamsSchema, type PaginatedResponse, type PaginationMetadata, type PaginationParams, type Project, ProjectSchema, type PromptVariable, type ProviderDataSourceRequest, type ResponseMetadata, 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, type SkillListParams, SkillListParamsSchema, SkillScopeFilter, SkillService, SkillSortBy, type SkillUpdateParams, SkillVisibility, type SortOrder, type SummariesData, type SummariesResponse, type SystemPromptHistory, TIME_PERIOD_VALUES, type TabularData, type TabularResponse, TaskService, type TaskUser, type Thought, type TimePeriod, type TokensUsage, type ToolDetails, type ToolErrorDetails, type ToolItem, type ToolKitDetails, type UserData, type UserListItem, UserService, type UsersListData, type UsersListResponse, type VersionsListResponse, type VirtualAssistantChatParams, VirtualAssistantChatParamsSchema, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowEvaluationParams, WorkflowEvaluationParamsSchema, 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
@@ -1126,6 +1126,7 @@ declare const DataSourceType: {
1126
1126
  readonly JIRA: "knowledge_base_jira";
1127
1127
  readonly FILE: "knowledge_base_file";
1128
1128
  readonly GOOGLE: "llm_routing_google";
1129
+ readonly GIT_FAQ: "knowledge_base_git_faq";
1129
1130
  readonly PROVIDER: "provider";
1130
1131
  readonly SUMMARY: "summary";
1131
1132
  readonly CHUNK_SUMMARY: "chunk-summary";
@@ -1192,6 +1193,13 @@ interface Code {
1192
1193
  settingId: string;
1193
1194
  summarizationModel?: string;
1194
1195
  }
1196
+ /** Git FAQ (knowledge_base_git_faq) datasource fields */
1197
+ interface GitFaq {
1198
+ link: string;
1199
+ branch: string;
1200
+ files_filter?: string;
1201
+ embedding_model?: string;
1202
+ }
1195
1203
  /** Azure DevOps Wiki-specific configuration */
1196
1204
  interface AzureDevOpsWiki {
1197
1205
  wiki_query?: string;
@@ -1385,7 +1393,7 @@ interface DataSourceProcessingInfo {
1385
1393
  /** Number of processed documents */
1386
1394
  processed_documents_count?: number;
1387
1395
  }
1388
- type DataSourceResponse = BaseDataSourceResponse | CodeDataSourceResponse;
1396
+ type DataSourceResponse = BaseDataSourceResponse | CodeDataSourceResponse | GitFaqDataSourceResponse;
1389
1397
  /** Datasource response interface */
1390
1398
  interface BaseDataSourceResponse {
1391
1399
  /** Unique identifier */
@@ -1459,6 +1467,12 @@ type CodeDataSourceResponse = BaseDataSourceResponse & {
1459
1467
  /** Enable documentation generation */
1460
1468
  docs_generation?: boolean;
1461
1469
  };
1470
+ /** Git FAQ datasource response */
1471
+ type GitFaqDataSourceResponse = BaseDataSourceResponse & {
1472
+ link?: string | null;
1473
+ branch?: string | null;
1474
+ files_filter?: string | null;
1475
+ };
1462
1476
  /** Datasource model */
1463
1477
  interface DataSource {
1464
1478
  /** Unique identifier */
@@ -1497,6 +1511,7 @@ interface DataSource {
1497
1511
  tokens_usage?: TokensUsage;
1498
1512
  /** Code-specific configuration */
1499
1513
  code?: Partial<Code>;
1514
+ git_faq?: Partial<GitFaq>;
1500
1515
  /** Jira-specific configuration */
1501
1516
  jira?: Jira;
1502
1517
  /** Confluence-specific configuration */
@@ -1557,6 +1572,17 @@ interface BaseGoogleParams {
1557
1572
  google_doc: string;
1558
1573
  }
1559
1574
  /** Code repository configuration */
1575
+ /** Git FAQ (knowledge_base_git_faq) datasource configuration */
1576
+ interface BaseGitFaqParams {
1577
+ /** Repository URL */
1578
+ link: string;
1579
+ /** Branch name */
1580
+ branch: string;
1581
+ /** Gitignore-style include/exclude patterns; empty indexes every .md file in the repo */
1582
+ files_filter?: string;
1583
+ /** Embedding model used for chunk vectors */
1584
+ embedding_model?: string;
1585
+ }
1560
1586
  interface BaseCodeParams {
1561
1587
  /** Repository URL */
1562
1588
  link: string;
@@ -1598,6 +1624,9 @@ interface JiraDataSourceCreateParams extends BaseDataSourceCreateParams, BaseJir
1598
1624
  interface GoogleDataSourceCreateParams extends BaseDataSourceCreateParams, BaseGoogleParams {
1599
1625
  type: typeof DataSourceType.GOOGLE;
1600
1626
  }
1627
+ interface GitFaqDataSourceCreateParams extends BaseDataSourceCreateParams, BaseGitFaqParams {
1628
+ type: typeof DataSourceType.GIT_FAQ;
1629
+ }
1601
1630
  interface FileDataSourceCreateParams extends BaseDataSourceCreateParams, BaseFileParams {
1602
1631
  type: typeof DataSourceType.FILE;
1603
1632
  }
@@ -1620,7 +1649,7 @@ interface OtherDataSourceCreateParams extends BaseDataSourceCreateParams {
1620
1649
  type: typeof DataSourceType.PROVIDER | typeof DataSourceType.SUMMARY | typeof DataSourceType.CHUNK_SUMMARY | typeof DataSourceType.JSON | typeof DataSourceType.PLATFORM;
1621
1650
  }
1622
1651
  /** DataSource create parameters */
1623
- type DataSourceCreateParams = ConfluenceDataSourceCreateParams | JiraDataSourceCreateParams | GoogleDataSourceCreateParams | FileDataSourceCreateParams | CodeDataSourceCreateParams | AzureDevOpsWikiDataSourceCreateParams | AzureDevOpsWorkItemDataSourceCreateParams | XrayDataSourceCreateParams | SharePointDataSourceCreateParams | OtherDataSourceCreateParams;
1652
+ type DataSourceCreateParams = ConfluenceDataSourceCreateParams | JiraDataSourceCreateParams | GoogleDataSourceCreateParams | GitFaqDataSourceCreateParams | FileDataSourceCreateParams | CodeDataSourceCreateParams | AzureDevOpsWikiDataSourceCreateParams | AzureDevOpsWorkItemDataSourceCreateParams | XrayDataSourceCreateParams | SharePointDataSourceCreateParams | OtherDataSourceCreateParams;
1624
1653
  interface BaseDataSourceUpdateParams {
1625
1654
  /** Type of datasource */
1626
1655
  type: DataSourceTypeType;
@@ -1652,6 +1681,9 @@ interface JiraDataSourceUpdateParams extends BaseDataSourceUpdateParams, Partial
1652
1681
  interface GoogleDataSourceUpdateParams extends BaseDataSourceUpdateParams, Partial<BaseGoogleParams> {
1653
1682
  type: typeof DataSourceType.GOOGLE;
1654
1683
  }
1684
+ interface GitFaqDataSourceUpdateParams extends BaseDataSourceUpdateParams, Partial<BaseGitFaqParams> {
1685
+ type: typeof DataSourceType.GIT_FAQ;
1686
+ }
1655
1687
  interface FileDataSourceUpdateParams extends BaseDataSourceUpdateParams, Partial<BaseFileParams> {
1656
1688
  type: typeof DataSourceType.FILE;
1657
1689
  }
@@ -1674,7 +1706,7 @@ interface OtherDataSourceUpdateParams extends BaseDataSourceUpdateParams {
1674
1706
  type: typeof DataSourceType.PROVIDER | typeof DataSourceType.SUMMARY | typeof DataSourceType.CHUNK_SUMMARY | typeof DataSourceType.JSON | typeof DataSourceType.PLATFORM;
1675
1707
  }
1676
1708
  /** DataSource update parameters */
1677
- type DataSourceUpdateParams = ConfluenceDataSourceUpdateParams | JiraDataSourceUpdateParams | GoogleDataSourceUpdateParams | FileDataSourceUpdateParams | CodeDataSourceUpdateParams | AzureDevOpsWikiDataSourceUpdateParams | AzureDevOpsWorkItemDataSourceUpdateParams | XrayDataSourceUpdateParams | SharePointDataSourceUpdateParams | OtherDataSourceUpdateParams;
1709
+ type DataSourceUpdateParams = ConfluenceDataSourceUpdateParams | JiraDataSourceUpdateParams | GoogleDataSourceUpdateParams | GitFaqDataSourceUpdateParams | FileDataSourceUpdateParams | CodeDataSourceUpdateParams | AzureDevOpsWikiDataSourceUpdateParams | AzureDevOpsWorkItemDataSourceUpdateParams | XrayDataSourceUpdateParams | SharePointDataSourceUpdateParams | OtherDataSourceUpdateParams;
1678
1710
 
1679
1711
  declare class DatasourceService {
1680
1712
  private api;
@@ -2800,4 +2832,4 @@ declare const ProjectSchema: z.ZodObject<{
2800
2832
  }, z.core.$strip>;
2801
2833
  type Project = z.infer<typeof ProjectSchema>;
2802
2834
 
2803
- export { type AboutUser, type AboutUserResponse, type AgentErrorDetails, type AnalyticsQueryParams, AnalyticsQueryParamsSchema, AnalyticsService, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantCategory, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantCreateResponse, type AssistantDataItem, type AssistantDetailsData, type AssistantEvaluationParams, AssistantEvaluationParamsSchema, 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 ColumnDefinition, 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, MCPServerConfigSchema, type MCPServerDetails, type Mark, type Metric, type MissingIntegration, type MissingIntegrationsByCredentialType, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedAnalyticsQueryParams, PaginatedAnalyticsQueryParamsSchema, type PaginatedResponse, type PaginationMetadata, type PaginationParams, type Project, ProjectSchema, type PromptVariable, type ProviderDataSourceRequest, type ResponseMetadata, 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, type SkillListParams, SkillListParamsSchema, SkillScopeFilter, SkillService, SkillSortBy, type SkillUpdateParams, SkillVisibility, type SortOrder, type SummariesData, type SummariesResponse, type SystemPromptHistory, TIME_PERIOD_VALUES, type TabularData, type TabularResponse, TaskService, type TaskUser, type Thought, type TimePeriod, type TokensUsage, type ToolDetails, type ToolErrorDetails, type ToolItem, type ToolKitDetails, type UserData, type UserListItem, UserService, type UsersListData, type UsersListResponse, type VersionsListResponse, type VirtualAssistantChatParams, VirtualAssistantChatParamsSchema, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowEvaluationParams, WorkflowEvaluationParamsSchema, 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 };
2835
+ export { type AboutUser, type AboutUserResponse, type AgentErrorDetails, type AnalyticsQueryParams, AnalyticsQueryParamsSchema, AnalyticsService, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantCategory, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantCreateResponse, type AssistantDataItem, type AssistantDetailsData, type AssistantEvaluationParams, AssistantEvaluationParamsSchema, 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 BaseGitFaqParams, 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 ColumnDefinition, 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 GitFaq, type GitFaqDataSourceCreateParams, type GitFaqDataSourceResponse, type GitFaqDataSourceUpdateParams, 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, MCPServerConfigSchema, type MCPServerDetails, type Mark, type Metric, type MissingIntegration, type MissingIntegrationsByCredentialType, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedAnalyticsQueryParams, PaginatedAnalyticsQueryParamsSchema, type PaginatedResponse, type PaginationMetadata, type PaginationParams, type Project, ProjectSchema, type PromptVariable, type ProviderDataSourceRequest, type ResponseMetadata, 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, type SkillListParams, SkillListParamsSchema, SkillScopeFilter, SkillService, SkillSortBy, type SkillUpdateParams, SkillVisibility, type SortOrder, type SummariesData, type SummariesResponse, type SystemPromptHistory, TIME_PERIOD_VALUES, type TabularData, type TabularResponse, TaskService, type TaskUser, type Thought, type TimePeriod, type TokensUsage, type ToolDetails, type ToolErrorDetails, type ToolItem, type ToolKitDetails, type UserData, type UserListItem, UserService, type UsersListData, type UsersListResponse, type VersionsListResponse, type VirtualAssistantChatParams, VirtualAssistantChatParamsSchema, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowEvaluationParams, WorkflowEvaluationParamsSchema, 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.js CHANGED
@@ -896,6 +896,7 @@ var DataSourceType = {
896
896
  JIRA: "knowledge_base_jira",
897
897
  FILE: "knowledge_base_file",
898
898
  GOOGLE: "llm_routing_google",
899
+ GIT_FAQ: "knowledge_base_git_faq",
899
900
  PROVIDER: "provider",
900
901
  SUMMARY: "summary",
901
902
  CHUNK_SUMMARY: "chunk-summary",
@@ -929,6 +930,9 @@ var DatasourceMapper = class _DatasourceMapper {
929
930
  ...response.index_type === DataSourceType.GOOGLE && {
930
931
  google_doc: response.google_doc_link
931
932
  },
933
+ ...response.index_type === DataSourceType.GIT_FAQ && {
934
+ git_faq: _DatasourceMapper.extractGitFaqDataSourceResponseFields(response)
935
+ },
932
936
  ...response.index_type === DataSourceType.CODE && {
933
937
  code: _DatasourceMapper.extractCodeDataSourceResponseFields(
934
938
  response
@@ -990,6 +994,13 @@ var DatasourceMapper = class _DatasourceMapper {
990
994
  summarizationModel: response.summarization_model
991
995
  });
992
996
  }
997
+ static extractGitFaqDataSourceResponseFields(response) {
998
+ return omitUndefined({
999
+ link: response.link ?? void 0,
1000
+ branch: response.branch ?? void 0,
1001
+ files_filter: response.files_filter ?? void 0
1002
+ });
1003
+ }
993
1004
  /** Converts processing metadata from API format to client model format with consistent property naming */
994
1005
  static mapDatasourceProcessingInfoResponse(response) {
995
1006
  return omitUndefined({
@@ -1009,6 +1020,7 @@ var DatasourceMapper = class _DatasourceMapper {
1009
1020
  ...create.type === DataSourceType.CONFLUENCE && _DatasourceMapper.mapConfluenceDataSourceParams(create),
1010
1021
  ...create.type === DataSourceType.JIRA && _DatasourceMapper.mapJiraDataSourceParams(create),
1011
1022
  ...create.type === DataSourceType.GOOGLE && _DatasourceMapper.mapGoogleDataSourceParams(create),
1023
+ ...create.type === DataSourceType.GIT_FAQ && _DatasourceMapper.mapGitFaqDataSourceParams(create),
1012
1024
  ...create.type === DataSourceType.FILE && _DatasourceMapper.mapFileDataSourceParams(create),
1013
1025
  ...create.type === DataSourceType.CODE && _DatasourceMapper.mapCodeDataSourceParams(create),
1014
1026
  ...create.type === DataSourceType.AZURE_DEVOPS_WIKI && _DatasourceMapper.mapAzureDevOpsWikiParams(
@@ -1028,6 +1040,7 @@ var DatasourceMapper = class _DatasourceMapper {
1028
1040
  ...update.type === DataSourceType.CONFLUENCE && _DatasourceMapper.mapConfluenceDataSourceParams(update),
1029
1041
  ...update.type === DataSourceType.JIRA && _DatasourceMapper.mapJiraDataSourceParams(update),
1030
1042
  ...update.type === DataSourceType.GOOGLE && _DatasourceMapper.mapGoogleDataSourceParams(update),
1043
+ ...update.type === DataSourceType.GIT_FAQ && _DatasourceMapper.mapGitFaqDataSourceParams(update),
1031
1044
  ...update.type === DataSourceType.FILE && _DatasourceMapper.mapFileDataSourceParams(update),
1032
1045
  ...update.type === DataSourceType.CODE && _DatasourceMapper.mapCodeDataSourceParams(update),
1033
1046
  ...update.type === DataSourceType.AZURE_DEVOPS_WIKI && _DatasourceMapper.mapAzureDevOpsWikiParams(
@@ -1089,6 +1102,15 @@ var DatasourceMapper = class _DatasourceMapper {
1089
1102
  googleDoc: params.google_doc
1090
1103
  };
1091
1104
  }
1105
+ /** Maps Git FAQ datasource parameters (link/branch/files_filter) with API naming conventions */
1106
+ static mapGitFaqDataSourceParams(params) {
1107
+ return {
1108
+ link: params.link,
1109
+ branch: params.branch,
1110
+ files_filter: params.files_filter,
1111
+ ...params.embedding_model !== void 0 && { embedding_model: params.embedding_model }
1112
+ };
1113
+ }
1092
1114
  /** Maps file upload datasource parameters, handling file reference collections */
1093
1115
  static mapFileDataSourceParams(params) {
1094
1116
  return {
@@ -1157,6 +1179,7 @@ var DATA_SOURCE_TO_PATH_PARAM = {
1157
1179
  [DataSourceType.JIRA]: "JIRA",
1158
1180
  [DataSourceType.FILE]: "FILE",
1159
1181
  [DataSourceType.GOOGLE]: "GOOGLE",
1182
+ [DataSourceType.GIT_FAQ]: "GIT_FAQ",
1160
1183
  [DataSourceType.PROVIDER]: "PROVIDER",
1161
1184
  [DataSourceType.SUMMARY]: "SUMMARY",
1162
1185
  [DataSourceType.CHUNK_SUMMARY]: "CHUNK_SUMMARY",