(
documentId: string,
updateData: {
filename?: string
enabled?: boolean
chunkCount?: number
tokenCount?: number
characterCount?: number
processingStatus?: 'pending' | 'processing' | 'completed' | 'failed'
processingError?: string
tag1?: string
tag2?: string
tag3?: string
tag4?: string
tag5?: string
tag6?: string
tag7?: string
number1?: string
number2?: string
number3?: string
number4?: string
number5?: string
date1?: string
date2?: string
boolean1?: string
boolean2?: string
boolean3?: string
},
requestId: string
)
| 1603 | } |
| 1604 | |
| 1605 | export async function updateDocument( |
| 1606 | documentId: string, |
| 1607 | updateData: { |
| 1608 | filename?: string |
| 1609 | enabled?: boolean |
| 1610 | chunkCount?: number |
| 1611 | tokenCount?: number |
| 1612 | characterCount?: number |
| 1613 | processingStatus?: 'pending' | 'processing' | 'completed' | 'failed' |
| 1614 | processingError?: string |
| 1615 | tag1?: string |
| 1616 | tag2?: string |
| 1617 | tag3?: string |
| 1618 | tag4?: string |
| 1619 | tag5?: string |
| 1620 | tag6?: string |
| 1621 | tag7?: string |
| 1622 | number1?: string |
| 1623 | number2?: string |
| 1624 | number3?: string |
| 1625 | number4?: string |
| 1626 | number5?: string |
| 1627 | date1?: string |
| 1628 | date2?: string |
| 1629 | boolean1?: string |
| 1630 | boolean2?: string |
| 1631 | boolean3?: string |
| 1632 | }, |
| 1633 | requestId: string |
| 1634 | ): Promise<{ |
| 1635 | id: string |
| 1636 | knowledgeBaseId: string |
| 1637 | filename: string |
| 1638 | fileUrl: string |
| 1639 | fileSize: number |
| 1640 | mimeType: string |
| 1641 | chunkCount: number |
| 1642 | tokenCount: number |
| 1643 | characterCount: number |
| 1644 | processingStatus: 'pending' | 'processing' | 'completed' | 'failed' |
| 1645 | processingStartedAt: Date | null |
| 1646 | processingCompletedAt: Date | null |
| 1647 | processingError: string | null |
| 1648 | enabled: boolean |
| 1649 | uploadedAt: Date |
| 1650 | tag1: string | null |
| 1651 | tag2: string | null |
| 1652 | tag3: string | null |
| 1653 | tag4: string | null |
| 1654 | tag5: string | null |
| 1655 | tag6: string | null |
| 1656 | tag7: string | null |
| 1657 | number1: number | null |
| 1658 | number2: number | null |
| 1659 | number3: number | null |
| 1660 | number4: number | null |
| 1661 | number5: number | null |
| 1662 | date1: Date | null |
no test coverage detected