@binalyze/air-sdk 5.13.2 → 5.14.1
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.
|
@@ -1544,6 +1544,348 @@ export type UpdateScheduledEvidenceAcquisitionTaskDto = {
|
|
|
1544
1544
|
export type UpdateScheduledImageAcquisitionTaskDto = {
|
|
1545
1545
|
[key: string]: unknown;
|
|
1546
1546
|
};
|
|
1547
|
+
export type FilterGitRepositoriesRequestDto = {
|
|
1548
|
+
/**
|
|
1549
|
+
* Search term to filter repositories by name
|
|
1550
|
+
*/
|
|
1551
|
+
searchTerm?: string;
|
|
1552
|
+
/**
|
|
1553
|
+
* Filter by git provider type
|
|
1554
|
+
*/
|
|
1555
|
+
provider?: 'github' | 'gitlab' | 'azure-devops' | 'bitbucket';
|
|
1556
|
+
/**
|
|
1557
|
+
* Filter by content type
|
|
1558
|
+
*/
|
|
1559
|
+
contentType?: 'triage-rules';
|
|
1560
|
+
/**
|
|
1561
|
+
* Filter by last sync status
|
|
1562
|
+
*/
|
|
1563
|
+
lastSyncStatus?: 'never' | 'in_progress' | 'syncing' | 'success' | 'failed';
|
|
1564
|
+
/**
|
|
1565
|
+
* Filter by organization IDs
|
|
1566
|
+
*/
|
|
1567
|
+
organizationIds?: Array<number>;
|
|
1568
|
+
};
|
|
1569
|
+
export type GitRepositoryResponseDto = {
|
|
1570
|
+
/**
|
|
1571
|
+
* The unique identifier of the repository connection
|
|
1572
|
+
*/
|
|
1573
|
+
_id: string;
|
|
1574
|
+
/**
|
|
1575
|
+
* The name of the repository connection
|
|
1576
|
+
*/
|
|
1577
|
+
name: string;
|
|
1578
|
+
/**
|
|
1579
|
+
* The git provider type
|
|
1580
|
+
*/
|
|
1581
|
+
provider: 'github' | 'gitlab' | 'azure-devops' | 'bitbucket';
|
|
1582
|
+
/**
|
|
1583
|
+
* The URL of the repository
|
|
1584
|
+
*/
|
|
1585
|
+
url: string;
|
|
1586
|
+
/**
|
|
1587
|
+
* The branch being synced
|
|
1588
|
+
*/
|
|
1589
|
+
branch: string;
|
|
1590
|
+
/**
|
|
1591
|
+
* List of paths included in sync
|
|
1592
|
+
*/
|
|
1593
|
+
paths: Array<string>;
|
|
1594
|
+
/**
|
|
1595
|
+
* List of paths excluded from sync
|
|
1596
|
+
*/
|
|
1597
|
+
excludePaths: Array<string>;
|
|
1598
|
+
/**
|
|
1599
|
+
* File patterns to match (glob syntax)
|
|
1600
|
+
*/
|
|
1601
|
+
filePatterns: Array<string>;
|
|
1602
|
+
/**
|
|
1603
|
+
* The type of content in the repository
|
|
1604
|
+
*/
|
|
1605
|
+
contentType: 'triage-rules';
|
|
1606
|
+
/**
|
|
1607
|
+
* Content-specific configuration
|
|
1608
|
+
*/
|
|
1609
|
+
contentConfig: {
|
|
1610
|
+
[key: string]: unknown;
|
|
1611
|
+
};
|
|
1612
|
+
/**
|
|
1613
|
+
* Sync interval in minutes
|
|
1614
|
+
*/
|
|
1615
|
+
syncIntervalMinutes: number;
|
|
1616
|
+
/**
|
|
1617
|
+
* Whether the repository sync is enabled
|
|
1618
|
+
*/
|
|
1619
|
+
isEnabled: boolean;
|
|
1620
|
+
/**
|
|
1621
|
+
* The last sync timestamp
|
|
1622
|
+
*/
|
|
1623
|
+
lastSyncAt?: string | null;
|
|
1624
|
+
/**
|
|
1625
|
+
* The status of the last sync
|
|
1626
|
+
*/
|
|
1627
|
+
lastSyncStatus: 'never' | 'in_progress' | 'syncing' | 'success' | 'failed';
|
|
1628
|
+
/**
|
|
1629
|
+
* Error message from the last failed sync
|
|
1630
|
+
*/
|
|
1631
|
+
lastSyncError?: string | null;
|
|
1632
|
+
/**
|
|
1633
|
+
* Organization IDs this repository belongs to
|
|
1634
|
+
*/
|
|
1635
|
+
organizationIds: Array<number>;
|
|
1636
|
+
/**
|
|
1637
|
+
* Webhook secret for receiving push events from git providers
|
|
1638
|
+
*/
|
|
1639
|
+
webhookSecret?: string | null;
|
|
1640
|
+
/**
|
|
1641
|
+
* Full webhook URL for configuring in the git provider
|
|
1642
|
+
*/
|
|
1643
|
+
webhookUrl?: string | null;
|
|
1644
|
+
/**
|
|
1645
|
+
* The user who created this repository
|
|
1646
|
+
*/
|
|
1647
|
+
createdBy: string;
|
|
1648
|
+
/**
|
|
1649
|
+
* The creation timestamp
|
|
1650
|
+
*/
|
|
1651
|
+
createdAt: string;
|
|
1652
|
+
/**
|
|
1653
|
+
* The last update timestamp
|
|
1654
|
+
*/
|
|
1655
|
+
updatedAt: string;
|
|
1656
|
+
};
|
|
1657
|
+
export type CreateGitRepositoryRequestDto = {
|
|
1658
|
+
/**
|
|
1659
|
+
* The name of the repository connection
|
|
1660
|
+
*/
|
|
1661
|
+
name: string;
|
|
1662
|
+
/**
|
|
1663
|
+
* The git provider type
|
|
1664
|
+
*/
|
|
1665
|
+
provider: 'github' | 'gitlab' | 'azure-devops' | 'bitbucket';
|
|
1666
|
+
/**
|
|
1667
|
+
* The URL of the repository
|
|
1668
|
+
*/
|
|
1669
|
+
url: string;
|
|
1670
|
+
/**
|
|
1671
|
+
* The branch to sync from
|
|
1672
|
+
*/
|
|
1673
|
+
branch: string;
|
|
1674
|
+
/**
|
|
1675
|
+
* List of paths to include in sync
|
|
1676
|
+
*/
|
|
1677
|
+
paths?: Array<string>;
|
|
1678
|
+
/**
|
|
1679
|
+
* List of paths to exclude from sync
|
|
1680
|
+
*/
|
|
1681
|
+
excludePaths?: Array<string>;
|
|
1682
|
+
/**
|
|
1683
|
+
* File patterns to match (glob syntax)
|
|
1684
|
+
*/
|
|
1685
|
+
filePatterns?: Array<string>;
|
|
1686
|
+
/**
|
|
1687
|
+
* Access token for private repositories
|
|
1688
|
+
*/
|
|
1689
|
+
accessToken?: string;
|
|
1690
|
+
/**
|
|
1691
|
+
* The type of content in the repository
|
|
1692
|
+
*/
|
|
1693
|
+
contentType: 'triage-rules';
|
|
1694
|
+
/**
|
|
1695
|
+
* Content-specific configuration
|
|
1696
|
+
*/
|
|
1697
|
+
contentConfig?: {
|
|
1698
|
+
[key: string]: unknown;
|
|
1699
|
+
};
|
|
1700
|
+
/**
|
|
1701
|
+
* Sync interval in minutes
|
|
1702
|
+
*/
|
|
1703
|
+
syncIntervalMinutes: number;
|
|
1704
|
+
/**
|
|
1705
|
+
* Whether the repository sync is enabled
|
|
1706
|
+
*/
|
|
1707
|
+
isEnabled: boolean;
|
|
1708
|
+
/**
|
|
1709
|
+
* Organization ID this repository belongs to
|
|
1710
|
+
*/
|
|
1711
|
+
organizationId: number;
|
|
1712
|
+
};
|
|
1713
|
+
export type UpdateGitRepositoryRequestDto = {
|
|
1714
|
+
/**
|
|
1715
|
+
* The branch to sync from
|
|
1716
|
+
*/
|
|
1717
|
+
branch?: string;
|
|
1718
|
+
/**
|
|
1719
|
+
* List of paths to include in sync
|
|
1720
|
+
*/
|
|
1721
|
+
paths?: Array<string>;
|
|
1722
|
+
/**
|
|
1723
|
+
* List of paths to exclude from sync
|
|
1724
|
+
*/
|
|
1725
|
+
excludePaths?: Array<string>;
|
|
1726
|
+
/**
|
|
1727
|
+
* File patterns to match (glob syntax)
|
|
1728
|
+
*/
|
|
1729
|
+
filePatterns?: Array<string>;
|
|
1730
|
+
/**
|
|
1731
|
+
* Access token for private repositories
|
|
1732
|
+
*/
|
|
1733
|
+
accessToken?: string;
|
|
1734
|
+
/**
|
|
1735
|
+
* Content-specific configuration (ownershipMode cannot be changed)
|
|
1736
|
+
*/
|
|
1737
|
+
contentConfig?: {
|
|
1738
|
+
[key: string]: unknown;
|
|
1739
|
+
};
|
|
1740
|
+
/**
|
|
1741
|
+
* Sync interval in minutes (only for mirror mode)
|
|
1742
|
+
*/
|
|
1743
|
+
syncIntervalMinutes?: number;
|
|
1744
|
+
/**
|
|
1745
|
+
* Whether the repository sync is enabled
|
|
1746
|
+
*/
|
|
1747
|
+
isEnabled?: boolean;
|
|
1748
|
+
};
|
|
1749
|
+
export type BulkDeleteGitRepositoriesRequestDto = {
|
|
1750
|
+
/**
|
|
1751
|
+
* Array of repository connection IDs to delete
|
|
1752
|
+
*/
|
|
1753
|
+
ids: Array<string>;
|
|
1754
|
+
};
|
|
1755
|
+
export type GitRepositorySyncLogResponseDto = {
|
|
1756
|
+
/**
|
|
1757
|
+
* The unique identifier of the sync log
|
|
1758
|
+
*/
|
|
1759
|
+
_id: string;
|
|
1760
|
+
/**
|
|
1761
|
+
* The ID of the associated repository connection
|
|
1762
|
+
*/
|
|
1763
|
+
repositoryId: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* The status of the sync operation
|
|
1766
|
+
*/
|
|
1767
|
+
status: 'never' | 'in_progress' | 'syncing' | 'success' | 'failed';
|
|
1768
|
+
/**
|
|
1769
|
+
* Number of files added during sync
|
|
1770
|
+
*/
|
|
1771
|
+
filesAdded: number;
|
|
1772
|
+
/**
|
|
1773
|
+
* Number of files modified during sync
|
|
1774
|
+
*/
|
|
1775
|
+
filesModified: number;
|
|
1776
|
+
/**
|
|
1777
|
+
* Number of files deleted during sync
|
|
1778
|
+
*/
|
|
1779
|
+
filesDeleted: number;
|
|
1780
|
+
/**
|
|
1781
|
+
* Details of files added during sync
|
|
1782
|
+
*/
|
|
1783
|
+
addedFiles?: Array<unknown> | null;
|
|
1784
|
+
/**
|
|
1785
|
+
* Details of files modified during sync
|
|
1786
|
+
*/
|
|
1787
|
+
modifiedFiles?: Array<unknown> | null;
|
|
1788
|
+
/**
|
|
1789
|
+
* Details of files deleted during sync
|
|
1790
|
+
*/
|
|
1791
|
+
deletedFiles?: Array<unknown> | null;
|
|
1792
|
+
/**
|
|
1793
|
+
* Number of files skipped during content processing
|
|
1794
|
+
*/
|
|
1795
|
+
filesSkipped: number;
|
|
1796
|
+
/**
|
|
1797
|
+
* Details of files that were skipped during content processing
|
|
1798
|
+
*/
|
|
1799
|
+
skippedFiles?: Array<unknown> | null;
|
|
1800
|
+
/**
|
|
1801
|
+
* Error message if the sync failed
|
|
1802
|
+
*/
|
|
1803
|
+
errorMessage?: string | null;
|
|
1804
|
+
/**
|
|
1805
|
+
* How the sync was triggered
|
|
1806
|
+
*/
|
|
1807
|
+
triggerType: 'manual' | 'scheduled' | 'webhook';
|
|
1808
|
+
/**
|
|
1809
|
+
* The commit SHA that triggered or corresponds to this sync
|
|
1810
|
+
*/
|
|
1811
|
+
commitSha?: string | null;
|
|
1812
|
+
/**
|
|
1813
|
+
* The timestamp when the sync started
|
|
1814
|
+
*/
|
|
1815
|
+
startedAt: string;
|
|
1816
|
+
/**
|
|
1817
|
+
* The timestamp when the sync completed
|
|
1818
|
+
*/
|
|
1819
|
+
completedAt?: string | null;
|
|
1820
|
+
};
|
|
1821
|
+
export type BrowseRepositoryTreeRequestDto = {
|
|
1822
|
+
/**
|
|
1823
|
+
* The git provider type
|
|
1824
|
+
*/
|
|
1825
|
+
provider: 'github' | 'gitlab' | 'azure-devops' | 'bitbucket';
|
|
1826
|
+
/**
|
|
1827
|
+
* The URL of the repository
|
|
1828
|
+
*/
|
|
1829
|
+
url: string;
|
|
1830
|
+
/**
|
|
1831
|
+
* The branch to browse
|
|
1832
|
+
*/
|
|
1833
|
+
branch?: string;
|
|
1834
|
+
/**
|
|
1835
|
+
* Access token for private repositories. Not required if repositoryId is provided (stored credentials will be used).
|
|
1836
|
+
*/
|
|
1837
|
+
accessToken?: string;
|
|
1838
|
+
/**
|
|
1839
|
+
* ID of an existing repository connection. When provided, stored encrypted credentials are used instead of accessToken.
|
|
1840
|
+
*/
|
|
1841
|
+
repositoryId?: string;
|
|
1842
|
+
};
|
|
1843
|
+
export type BrowseTreeItemDto = {
|
|
1844
|
+
/**
|
|
1845
|
+
* The file or directory path relative to the repository root
|
|
1846
|
+
*/
|
|
1847
|
+
path: string;
|
|
1848
|
+
/**
|
|
1849
|
+
* The type of the tree item
|
|
1850
|
+
*/
|
|
1851
|
+
type: 'blob' | 'tree';
|
|
1852
|
+
/**
|
|
1853
|
+
* The size of the file in bytes (0 for directories)
|
|
1854
|
+
*/
|
|
1855
|
+
size: number;
|
|
1856
|
+
};
|
|
1857
|
+
export type BrowseRepositoryTreeResponseDto = {
|
|
1858
|
+
/**
|
|
1859
|
+
* The list of tree items (files and directories)
|
|
1860
|
+
*/
|
|
1861
|
+
items: Array<BrowseTreeItemDto>;
|
|
1862
|
+
/**
|
|
1863
|
+
* Whether the tree was truncated due to size limits
|
|
1864
|
+
*/
|
|
1865
|
+
truncated: boolean;
|
|
1866
|
+
/**
|
|
1867
|
+
* The total number of items in the repository tree
|
|
1868
|
+
*/
|
|
1869
|
+
totalCount: number;
|
|
1870
|
+
};
|
|
1871
|
+
export type TestConnectionRequestDto = {
|
|
1872
|
+
/**
|
|
1873
|
+
* The git provider type
|
|
1874
|
+
*/
|
|
1875
|
+
provider: 'github' | 'gitlab' | 'azure-devops' | 'bitbucket';
|
|
1876
|
+
/**
|
|
1877
|
+
* The URL of the repository
|
|
1878
|
+
*/
|
|
1879
|
+
url: string;
|
|
1880
|
+
/**
|
|
1881
|
+
* The branch to validate
|
|
1882
|
+
*/
|
|
1883
|
+
branch?: string;
|
|
1884
|
+
/**
|
|
1885
|
+
* Access token for private repositories
|
|
1886
|
+
*/
|
|
1887
|
+
accessToken?: string;
|
|
1888
|
+
};
|
|
1547
1889
|
export type CreateTriageRuleRequestDto = {
|
|
1548
1890
|
/**
|
|
1549
1891
|
* Human-readable name of the triage rule
|
|
@@ -1635,6 +1977,12 @@ export type TriageRuleResponseDto = {
|
|
|
1635
1977
|
* The tag IDs of the triage rule
|
|
1636
1978
|
*/
|
|
1637
1979
|
tagIds: Array<string>;
|
|
1980
|
+
/**
|
|
1981
|
+
* Rule metadata for provenance tracking
|
|
1982
|
+
*/
|
|
1983
|
+
metadata?: {
|
|
1984
|
+
[key: string]: unknown;
|
|
1985
|
+
};
|
|
1638
1986
|
/**
|
|
1639
1987
|
* The created at of the triage rule
|
|
1640
1988
|
*/
|
|
@@ -1775,6 +2123,12 @@ export type TriageRuleListItemDto = {
|
|
|
1775
2123
|
* Whether the triage rule is deletable
|
|
1776
2124
|
*/
|
|
1777
2125
|
deletable: boolean;
|
|
2126
|
+
/**
|
|
2127
|
+
* Rule metadata for provenance tracking
|
|
2128
|
+
*/
|
|
2129
|
+
metadata?: {
|
|
2130
|
+
[key: string]: unknown;
|
|
2131
|
+
};
|
|
1778
2132
|
};
|
|
1779
2133
|
export type ValidateTriageRuleRequestDto = {
|
|
1780
2134
|
/**
|
|
@@ -2984,6 +3338,104 @@ export type FilterCaseCategoriesDto = {
|
|
|
2984
3338
|
export type CreateCaseCategoryDto = {
|
|
2985
3339
|
[key: string]: unknown;
|
|
2986
3340
|
};
|
|
3341
|
+
export type CaseCloseReportHistoryVersionItemDto = {
|
|
3342
|
+
/**
|
|
3343
|
+
* History item kind
|
|
3344
|
+
*/
|
|
3345
|
+
kind: 'version' | 'activity';
|
|
3346
|
+
/**
|
|
3347
|
+
* Report version number
|
|
3348
|
+
*/
|
|
3349
|
+
version: number;
|
|
3350
|
+
/**
|
|
3351
|
+
* Report status
|
|
3352
|
+
*/
|
|
3353
|
+
status: 'pending' | 'processing' | 'completed' | 'failed';
|
|
3354
|
+
/**
|
|
3355
|
+
* Timestamp when the report was created
|
|
3356
|
+
*/
|
|
3357
|
+
date: string;
|
|
3358
|
+
/**
|
|
3359
|
+
* User who closed the case / created the report
|
|
3360
|
+
*/
|
|
3361
|
+
closedBy: string;
|
|
3362
|
+
/**
|
|
3363
|
+
* Closure reason for the case
|
|
3364
|
+
*/
|
|
3365
|
+
closureReason?: 'Incident Contained' | 'Investigation Complete' | 'False Positive' | 'Other';
|
|
3366
|
+
};
|
|
3367
|
+
export type CaseCloseReportHistoryActivityItemDto = {
|
|
3368
|
+
/**
|
|
3369
|
+
* History item kind
|
|
3370
|
+
*/
|
|
3371
|
+
kind: 'version' | 'activity';
|
|
3372
|
+
/**
|
|
3373
|
+
* Activity event type
|
|
3374
|
+
*/
|
|
3375
|
+
activityType: string;
|
|
3376
|
+
/**
|
|
3377
|
+
* Timestamp when the activity occurred
|
|
3378
|
+
*/
|
|
3379
|
+
date: string;
|
|
3380
|
+
/**
|
|
3381
|
+
* User who performed the activity
|
|
3382
|
+
*/
|
|
3383
|
+
performedBy: string;
|
|
3384
|
+
/**
|
|
3385
|
+
* Human-friendly description of the activity
|
|
3386
|
+
*/
|
|
3387
|
+
description?: {
|
|
3388
|
+
[key: string]: unknown;
|
|
3389
|
+
} | null;
|
|
3390
|
+
};
|
|
3391
|
+
export type CaseCloseReportHistoryResponseDto = {
|
|
3392
|
+
/**
|
|
3393
|
+
* Case identifier
|
|
3394
|
+
*/
|
|
3395
|
+
caseId: string;
|
|
3396
|
+
/**
|
|
3397
|
+
* History items (versions and activities) sorted by date descending
|
|
3398
|
+
*/
|
|
3399
|
+
history: Array<CaseCloseReportHistoryVersionItemDto | CaseCloseReportHistoryActivityItemDto>;
|
|
3400
|
+
/**
|
|
3401
|
+
* Total number of history items across all pages
|
|
3402
|
+
*/
|
|
3403
|
+
totalCount: number;
|
|
3404
|
+
};
|
|
3405
|
+
export type UpdateCaseCloseReportDto = {
|
|
3406
|
+
/**
|
|
3407
|
+
* Closure reason for the case
|
|
3408
|
+
*/
|
|
3409
|
+
closureReason?: 'Incident Contained' | 'Investigation Complete' | 'False Positive' | 'Other';
|
|
3410
|
+
/**
|
|
3411
|
+
* Custom reason when closureReason is "other"
|
|
3412
|
+
*/
|
|
3413
|
+
customReason?: string;
|
|
3414
|
+
/**
|
|
3415
|
+
* Initial access summary
|
|
3416
|
+
*/
|
|
3417
|
+
initialAccessSummary?: string;
|
|
3418
|
+
/**
|
|
3419
|
+
* Lateral movement summary
|
|
3420
|
+
*/
|
|
3421
|
+
lateralMovementSummary?: string;
|
|
3422
|
+
/**
|
|
3423
|
+
* Assets impacted summary
|
|
3424
|
+
*/
|
|
3425
|
+
assetsImpactedSummary?: string;
|
|
3426
|
+
/**
|
|
3427
|
+
* Data at risk summary
|
|
3428
|
+
*/
|
|
3429
|
+
dataAtRiskSummary?: string;
|
|
3430
|
+
/**
|
|
3431
|
+
* Remediation steps taken
|
|
3432
|
+
*/
|
|
3433
|
+
remediation?: string;
|
|
3434
|
+
/**
|
|
3435
|
+
* Lessons learned from the case
|
|
3436
|
+
*/
|
|
3437
|
+
lessonsLearned?: string;
|
|
3438
|
+
};
|
|
2987
3439
|
export type InteractAvailableCommandOptionDto = {
|
|
2988
3440
|
name: string;
|
|
2989
3441
|
abbreviations: Array<string>;
|
|
@@ -6592,6 +7044,15 @@ export type SettingsValidateActiveDirectoryData = {
|
|
|
6592
7044
|
export type SettingsValidateActiveDirectoryResponses = {
|
|
6593
7045
|
201: unknown;
|
|
6594
7046
|
};
|
|
7047
|
+
export type SettingsGetSyslogEventTypesData = {
|
|
7048
|
+
body?: never;
|
|
7049
|
+
path?: never;
|
|
7050
|
+
query?: never;
|
|
7051
|
+
url: '/api/public/settings/syslog/event-types';
|
|
7052
|
+
};
|
|
7053
|
+
export type SettingsGetSyslogEventTypesResponses = {
|
|
7054
|
+
200: unknown;
|
|
7055
|
+
};
|
|
6595
7056
|
export type SettingsSaveSyslogData = {
|
|
6596
7057
|
body: SyslogSettingsDtoWritable;
|
|
6597
7058
|
path?: never;
|
|
@@ -7034,6 +7495,20 @@ export type UserUpdateUserData = {
|
|
|
7034
7495
|
export type UserUpdateUserResponses = {
|
|
7035
7496
|
200: unknown;
|
|
7036
7497
|
};
|
|
7498
|
+
export type UserManagementUsersPurgeAndDeleteData = {
|
|
7499
|
+
body?: never;
|
|
7500
|
+
path: {
|
|
7501
|
+
/**
|
|
7502
|
+
* User ID
|
|
7503
|
+
*/
|
|
7504
|
+
id: string;
|
|
7505
|
+
};
|
|
7506
|
+
query?: never;
|
|
7507
|
+
url: '/api/public/user-management/users/{id}/purge';
|
|
7508
|
+
};
|
|
7509
|
+
export type UserManagementUsersPurgeAndDeleteResponses = {
|
|
7510
|
+
200: unknown;
|
|
7511
|
+
};
|
|
7037
7512
|
export type UserResetTfaData = {
|
|
7038
7513
|
body?: never;
|
|
7039
7514
|
path: {
|
|
@@ -7447,6 +7922,163 @@ export type AcquisitionValidateOsQueriesData = {
|
|
|
7447
7922
|
export type AcquisitionValidateOsQueriesResponses = {
|
|
7448
7923
|
201: unknown;
|
|
7449
7924
|
};
|
|
7925
|
+
export type GitRepositoriesGetManyData = {
|
|
7926
|
+
body?: never;
|
|
7927
|
+
path?: never;
|
|
7928
|
+
query: {
|
|
7929
|
+
/**
|
|
7930
|
+
* Number of items per page
|
|
7931
|
+
*/
|
|
7932
|
+
pageSize?: number;
|
|
7933
|
+
/**
|
|
7934
|
+
* Page number to retrieve
|
|
7935
|
+
*/
|
|
7936
|
+
pageNumber?: number;
|
|
7937
|
+
/**
|
|
7938
|
+
* Sort direction
|
|
7939
|
+
*/
|
|
7940
|
+
sortType?: 'ASC' | 'DESC';
|
|
7941
|
+
/**
|
|
7942
|
+
* Field name to sort by
|
|
7943
|
+
*/
|
|
7944
|
+
sortBy?: string;
|
|
7945
|
+
filter: FilterGitRepositoriesRequestDto;
|
|
7946
|
+
};
|
|
7947
|
+
url: '/api/public/git-repositories';
|
|
7948
|
+
};
|
|
7949
|
+
export type GitRepositoriesGetManyResponses = {
|
|
7950
|
+
/**
|
|
7951
|
+
* The records have been successfully retrieved.
|
|
7952
|
+
*/
|
|
7953
|
+
200: PagingQueryResultDto;
|
|
7954
|
+
};
|
|
7955
|
+
export type GitRepositoriesGetManyResponse = GitRepositoriesGetManyResponses[keyof GitRepositoriesGetManyResponses];
|
|
7956
|
+
export type GitRepositoriesCreateData = {
|
|
7957
|
+
body: CreateGitRepositoryRequestDto;
|
|
7958
|
+
path?: never;
|
|
7959
|
+
query?: never;
|
|
7960
|
+
url: '/api/public/git-repositories';
|
|
7961
|
+
};
|
|
7962
|
+
export type GitRepositoriesCreateResponses = {
|
|
7963
|
+
/**
|
|
7964
|
+
* The record has been successfully created.
|
|
7965
|
+
*/
|
|
7966
|
+
200: GitRepositoryResponseDto;
|
|
7967
|
+
};
|
|
7968
|
+
export type GitRepositoriesCreateResponse = GitRepositoriesCreateResponses[keyof GitRepositoriesCreateResponses];
|
|
7969
|
+
export type GitRepositoriesDeleteData = {
|
|
7970
|
+
body?: never;
|
|
7971
|
+
path: {
|
|
7972
|
+
id: string;
|
|
7973
|
+
};
|
|
7974
|
+
query?: never;
|
|
7975
|
+
url: '/api/public/git-repositories/{id}';
|
|
7976
|
+
};
|
|
7977
|
+
export type GitRepositoriesDeleteResponses = {
|
|
7978
|
+
/**
|
|
7979
|
+
* The record has been successfully deleted.
|
|
7980
|
+
*/
|
|
7981
|
+
200: unknown;
|
|
7982
|
+
};
|
|
7983
|
+
export type GitRepositoriesGetOneData = {
|
|
7984
|
+
body?: never;
|
|
7985
|
+
path: {
|
|
7986
|
+
id: string;
|
|
7987
|
+
};
|
|
7988
|
+
query?: never;
|
|
7989
|
+
url: '/api/public/git-repositories/{id}';
|
|
7990
|
+
};
|
|
7991
|
+
export type GitRepositoriesGetOneResponses = {
|
|
7992
|
+
/**
|
|
7993
|
+
* The record has been successfully retrieved.
|
|
7994
|
+
*/
|
|
7995
|
+
200: GitRepositoryResponseDto;
|
|
7996
|
+
};
|
|
7997
|
+
export type GitRepositoriesGetOneResponse = GitRepositoriesGetOneResponses[keyof GitRepositoriesGetOneResponses];
|
|
7998
|
+
export type GitRepositoriesUpdateData = {
|
|
7999
|
+
body: UpdateGitRepositoryRequestDto;
|
|
8000
|
+
path: {
|
|
8001
|
+
id: string;
|
|
8002
|
+
};
|
|
8003
|
+
query?: never;
|
|
8004
|
+
url: '/api/public/git-repositories/{id}';
|
|
8005
|
+
};
|
|
8006
|
+
export type GitRepositoriesUpdateResponses = {
|
|
8007
|
+
/**
|
|
8008
|
+
* The record has been successfully updated.
|
|
8009
|
+
*/
|
|
8010
|
+
200: GitRepositoryResponseDto;
|
|
8011
|
+
};
|
|
8012
|
+
export type GitRepositoriesUpdateResponse = GitRepositoriesUpdateResponses[keyof GitRepositoriesUpdateResponses];
|
|
8013
|
+
export type GitRepositoriesBulkDeleteData = {
|
|
8014
|
+
body: BulkDeleteGitRepositoriesRequestDto;
|
|
8015
|
+
path?: never;
|
|
8016
|
+
query?: never;
|
|
8017
|
+
url: '/api/public/git-repositories/bulk-delete';
|
|
8018
|
+
};
|
|
8019
|
+
export type GitRepositoriesBulkDeleteResponses = {
|
|
8020
|
+
/**
|
|
8021
|
+
* The records have been successfully deleted.
|
|
8022
|
+
*/
|
|
8023
|
+
200: unknown;
|
|
8024
|
+
};
|
|
8025
|
+
export type GitRepositoriesTriggerSyncData = {
|
|
8026
|
+
body?: never;
|
|
8027
|
+
path: {
|
|
8028
|
+
id: string;
|
|
8029
|
+
};
|
|
8030
|
+
query?: never;
|
|
8031
|
+
url: '/api/public/git-repositories/{id}/sync';
|
|
8032
|
+
};
|
|
8033
|
+
export type GitRepositoriesTriggerSyncResponses = {
|
|
8034
|
+
/**
|
|
8035
|
+
* The sync has been successfully triggered.
|
|
8036
|
+
*/
|
|
8037
|
+
200: unknown;
|
|
8038
|
+
};
|
|
8039
|
+
export type GitRepositoriesGetSyncLogsData = {
|
|
8040
|
+
body?: never;
|
|
8041
|
+
path: {
|
|
8042
|
+
id: string;
|
|
8043
|
+
};
|
|
8044
|
+
query: {
|
|
8045
|
+
pageSize: string;
|
|
8046
|
+
page: string;
|
|
8047
|
+
};
|
|
8048
|
+
url: '/api/public/git-repositories/{id}/sync-logs';
|
|
8049
|
+
};
|
|
8050
|
+
export type GitRepositoriesGetSyncLogsResponses = {
|
|
8051
|
+
/**
|
|
8052
|
+
* The records have been successfully retrieved.
|
|
8053
|
+
*/
|
|
8054
|
+
200: Array<GitRepositorySyncLogResponseDto>;
|
|
8055
|
+
};
|
|
8056
|
+
export type GitRepositoriesGetSyncLogsResponse = GitRepositoriesGetSyncLogsResponses[keyof GitRepositoriesGetSyncLogsResponses];
|
|
8057
|
+
export type GitRepositoriesBrowseTreeData = {
|
|
8058
|
+
body: BrowseRepositoryTreeRequestDto;
|
|
8059
|
+
path?: never;
|
|
8060
|
+
query?: never;
|
|
8061
|
+
url: '/api/public/git-repositories/browse-tree';
|
|
8062
|
+
};
|
|
8063
|
+
export type GitRepositoriesBrowseTreeResponses = {
|
|
8064
|
+
/**
|
|
8065
|
+
* The repository tree has been successfully retrieved.
|
|
8066
|
+
*/
|
|
8067
|
+
200: BrowseRepositoryTreeResponseDto;
|
|
8068
|
+
};
|
|
8069
|
+
export type GitRepositoriesBrowseTreeResponse = GitRepositoriesBrowseTreeResponses[keyof GitRepositoriesBrowseTreeResponses];
|
|
8070
|
+
export type GitRepositoriesTestConnectionData = {
|
|
8071
|
+
body: TestConnectionRequestDto;
|
|
8072
|
+
path?: never;
|
|
8073
|
+
query?: never;
|
|
8074
|
+
url: '/api/public/git-repositories/test-connection';
|
|
8075
|
+
};
|
|
8076
|
+
export type GitRepositoriesTestConnectionResponses = {
|
|
8077
|
+
/**
|
|
8078
|
+
* The connection test result.
|
|
8079
|
+
*/
|
|
8080
|
+
200: unknown;
|
|
8081
|
+
};
|
|
7450
8082
|
export type GetManyTriageRulesData = {
|
|
7451
8083
|
body?: never;
|
|
7452
8084
|
path?: never;
|
|
@@ -9131,6 +9763,108 @@ export type CaseCategoriesDeleteData = {
|
|
|
9131
9763
|
export type CaseCategoriesDeleteResponses = {
|
|
9132
9764
|
200: unknown;
|
|
9133
9765
|
};
|
|
9766
|
+
export type GetCaseCloseReportHistoryData = {
|
|
9767
|
+
body?: never;
|
|
9768
|
+
path: {
|
|
9769
|
+
caseId: string;
|
|
9770
|
+
};
|
|
9771
|
+
query?: {
|
|
9772
|
+
/**
|
|
9773
|
+
* Page number (1-based)
|
|
9774
|
+
*/
|
|
9775
|
+
pageNumber?: number;
|
|
9776
|
+
/**
|
|
9777
|
+
* Number of items per page
|
|
9778
|
+
*/
|
|
9779
|
+
pageSize?: number;
|
|
9780
|
+
};
|
|
9781
|
+
url: '/api/public/cases/{caseId}/reports/history';
|
|
9782
|
+
};
|
|
9783
|
+
export type GetCaseCloseReportHistoryResponses = {
|
|
9784
|
+
200: CaseCloseReportHistoryResponseDto;
|
|
9785
|
+
};
|
|
9786
|
+
export type GetCaseCloseReportHistoryResponse = GetCaseCloseReportHistoryResponses[keyof GetCaseCloseReportHistoryResponses];
|
|
9787
|
+
export type GetCaseCloseReportData = {
|
|
9788
|
+
body?: never;
|
|
9789
|
+
path: {
|
|
9790
|
+
caseId: string;
|
|
9791
|
+
version: number;
|
|
9792
|
+
};
|
|
9793
|
+
query?: never;
|
|
9794
|
+
url: '/api/public/cases/{caseId}/reports';
|
|
9795
|
+
};
|
|
9796
|
+
export type GetCaseCloseReportResponses = {
|
|
9797
|
+
200: unknown;
|
|
9798
|
+
};
|
|
9799
|
+
export type UpdateCaseCloseReportData = {
|
|
9800
|
+
body: UpdateCaseCloseReportDto;
|
|
9801
|
+
path: {
|
|
9802
|
+
caseId: string;
|
|
9803
|
+
version: number;
|
|
9804
|
+
};
|
|
9805
|
+
query?: never;
|
|
9806
|
+
url: '/api/public/cases/{caseId}/reports';
|
|
9807
|
+
};
|
|
9808
|
+
export type UpdateCaseCloseReportResponses = {
|
|
9809
|
+
200: unknown;
|
|
9810
|
+
};
|
|
9811
|
+
export type GetCaseCloseReport2Data = {
|
|
9812
|
+
body?: never;
|
|
9813
|
+
path: {
|
|
9814
|
+
caseId: string;
|
|
9815
|
+
version: number;
|
|
9816
|
+
};
|
|
9817
|
+
query?: never;
|
|
9818
|
+
url: '/api/public/cases/{caseId}/reports/{version}';
|
|
9819
|
+
};
|
|
9820
|
+
export type GetCaseCloseReport2Responses = {
|
|
9821
|
+
200: unknown;
|
|
9822
|
+
};
|
|
9823
|
+
export type UpdateCaseCloseReport2Data = {
|
|
9824
|
+
body: UpdateCaseCloseReportDto;
|
|
9825
|
+
path: {
|
|
9826
|
+
caseId: string;
|
|
9827
|
+
version: number;
|
|
9828
|
+
};
|
|
9829
|
+
query?: never;
|
|
9830
|
+
url: '/api/public/cases/{caseId}/reports/{version}';
|
|
9831
|
+
};
|
|
9832
|
+
export type UpdateCaseCloseReport2Responses = {
|
|
9833
|
+
200: unknown;
|
|
9834
|
+
};
|
|
9835
|
+
export type ExportClosureReportFindingsData = {
|
|
9836
|
+
body?: never;
|
|
9837
|
+
path: {
|
|
9838
|
+
caseId: string;
|
|
9839
|
+
};
|
|
9840
|
+
query?: never;
|
|
9841
|
+
url: '/api/public/cases/{caseId}/reports/findings/export';
|
|
9842
|
+
};
|
|
9843
|
+
export type ExportClosureReportFindingsResponses = {
|
|
9844
|
+
200: unknown;
|
|
9845
|
+
};
|
|
9846
|
+
export type ExportClosureReportFlagsData = {
|
|
9847
|
+
body?: never;
|
|
9848
|
+
path: {
|
|
9849
|
+
caseId: string;
|
|
9850
|
+
};
|
|
9851
|
+
query?: never;
|
|
9852
|
+
url: '/api/public/cases/{caseId}/reports/flags/export';
|
|
9853
|
+
};
|
|
9854
|
+
export type ExportClosureReportFlagsResponses = {
|
|
9855
|
+
200: unknown;
|
|
9856
|
+
};
|
|
9857
|
+
export type ExportClosureReportAssetsData = {
|
|
9858
|
+
body?: never;
|
|
9859
|
+
path: {
|
|
9860
|
+
caseId: string;
|
|
9861
|
+
};
|
|
9862
|
+
query?: never;
|
|
9863
|
+
url: '/api/public/cases/{caseId}/reports/assets/export';
|
|
9864
|
+
};
|
|
9865
|
+
export type ExportClosureReportAssetsResponses = {
|
|
9866
|
+
200: unknown;
|
|
9867
|
+
};
|
|
9134
9868
|
export type InteractCommandsGetManyData = {
|
|
9135
9869
|
body?: never;
|
|
9136
9870
|
path?: never;
|