@binalyze/air-sdk 5.13.2 → 5.15.2

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.
@@ -54,6 +54,10 @@ export type FilterEndpointDto = {
54
54
  * Seen between date range
55
55
  */
56
56
  lastSeenBetween?: DateRangeDto;
57
+ /**
58
+ * Registered at date range
59
+ */
60
+ registeredAt?: DateRangeDto;
57
61
  /**
58
62
  * Managed status list
59
63
  */
@@ -253,6 +257,10 @@ export type FilterEndpointWithTaskCountDto = {
253
257
  * Seen between date range
254
258
  */
255
259
  lastSeenBetween?: DateRangeDto;
260
+ /**
261
+ * Registered at date range
262
+ */
263
+ registeredAt?: DateRangeDto;
256
264
  /**
257
265
  * Managed status list
258
266
  */
@@ -922,6 +930,20 @@ export type ProxySettingsDto = {
922
930
  export type ValidateProxyDto = {
923
931
  [key: string]: unknown;
924
932
  };
933
+ export type TrustedCaResponseDto = {
934
+ cert: string;
935
+ validFrom: string;
936
+ validTo: string;
937
+ issuer: {
938
+ [key: string]: unknown;
939
+ };
940
+ subject: {
941
+ [key: string]: unknown;
942
+ };
943
+ };
944
+ export type TrustedCaDto = {
945
+ [key: string]: unknown;
946
+ };
925
947
  export type ActiveDirectoryDto = {
926
948
  [key: string]: unknown;
927
949
  };
@@ -1007,6 +1029,19 @@ export type UninstallationPasswordProtectionDto = {
1007
1029
  export type AutoUpdateDto = {
1008
1030
  [key: string]: unknown;
1009
1031
  };
1032
+ export type MitreAttackDatabaseSettingsDto = {
1033
+ [key: string]: unknown;
1034
+ };
1035
+ export type MitreAttackVersionItemDto = {
1036
+ /**
1037
+ * MITRE ATT&CK database version identifier
1038
+ */
1039
+ version: string;
1040
+ /**
1041
+ * Path to the version metadata file on CDN
1042
+ */
1043
+ metadataPath: string;
1044
+ };
1010
1045
  export type MandatoryCaseSelectionDto = {
1011
1046
  [key: string]: unknown;
1012
1047
  };
@@ -1544,6 +1579,370 @@ export type UpdateScheduledEvidenceAcquisitionTaskDto = {
1544
1579
  export type UpdateScheduledImageAcquisitionTaskDto = {
1545
1580
  [key: string]: unknown;
1546
1581
  };
1582
+ export type FilterGitRepositoriesRequestDto = {
1583
+ /**
1584
+ * Search term to filter repositories by name
1585
+ */
1586
+ searchTerm?: string;
1587
+ /**
1588
+ * Filter by git provider type
1589
+ */
1590
+ provider?: 'github' | 'gitlab' | 'azure-devops' | 'bitbucket';
1591
+ /**
1592
+ * Filter by content type
1593
+ */
1594
+ contentType?: 'triage-rules';
1595
+ /**
1596
+ * Filter by ownership mode
1597
+ */
1598
+ ownershipMode?: 'mirror' | 'fork';
1599
+ /**
1600
+ * Filter by last sync status
1601
+ */
1602
+ lastSyncStatus?: 'never' | 'in_progress' | 'syncing' | 'success' | 'failed';
1603
+ /**
1604
+ * Filter by organization IDs
1605
+ */
1606
+ organizationIds?: Array<number>;
1607
+ };
1608
+ export type GitRepositoryResponseDto = {
1609
+ /**
1610
+ * The unique identifier of the repository connection
1611
+ */
1612
+ _id: string;
1613
+ /**
1614
+ * The name of the repository connection
1615
+ */
1616
+ name: string;
1617
+ /**
1618
+ * The git provider type
1619
+ */
1620
+ provider: 'github' | 'gitlab' | 'azure-devops' | 'bitbucket';
1621
+ /**
1622
+ * The URL of the repository
1623
+ */
1624
+ url: string;
1625
+ /**
1626
+ * The branch being synced
1627
+ */
1628
+ branch: string;
1629
+ /**
1630
+ * List of paths included in sync
1631
+ */
1632
+ paths: Array<string>;
1633
+ /**
1634
+ * List of paths excluded from sync
1635
+ */
1636
+ excludePaths: Array<string>;
1637
+ /**
1638
+ * File patterns to match (glob syntax)
1639
+ */
1640
+ filePatterns: Array<string>;
1641
+ /**
1642
+ * The type of content in the repository
1643
+ */
1644
+ contentType: 'triage-rules';
1645
+ /**
1646
+ * Content-specific configuration
1647
+ */
1648
+ contentConfig: {
1649
+ [key: string]: unknown;
1650
+ };
1651
+ /**
1652
+ * Sync interval in minutes
1653
+ */
1654
+ syncIntervalMinutes: number;
1655
+ /**
1656
+ * Whether the repository sync is enabled
1657
+ */
1658
+ isEnabled: boolean;
1659
+ /**
1660
+ * The last sync timestamp
1661
+ */
1662
+ lastSyncAt?: string | null;
1663
+ /**
1664
+ * The status of the last sync
1665
+ */
1666
+ lastSyncStatus: 'never' | 'in_progress' | 'syncing' | 'success' | 'failed';
1667
+ /**
1668
+ * Error message from the last failed sync
1669
+ */
1670
+ lastSyncError?: string | null;
1671
+ /**
1672
+ * Organization IDs this repository belongs to
1673
+ */
1674
+ organizationIds: Array<number>;
1675
+ /**
1676
+ * Webhook secret for receiving push events from git providers
1677
+ */
1678
+ webhookSecret?: string | null;
1679
+ /**
1680
+ * Full webhook URL for configuring in the git provider
1681
+ */
1682
+ webhookUrl?: string | null;
1683
+ /**
1684
+ * The user who created this repository
1685
+ */
1686
+ createdBy: string;
1687
+ /**
1688
+ * The creation timestamp
1689
+ */
1690
+ createdAt: string;
1691
+ /**
1692
+ * The last update timestamp
1693
+ */
1694
+ updatedAt: string;
1695
+ };
1696
+ export type CreateGitRepositoryRequestDto = {
1697
+ /**
1698
+ * The name of the repository connection
1699
+ */
1700
+ name: string;
1701
+ /**
1702
+ * The git provider type
1703
+ */
1704
+ provider: 'github' | 'gitlab' | 'azure-devops' | 'bitbucket';
1705
+ /**
1706
+ * The URL of the repository
1707
+ */
1708
+ url: string;
1709
+ /**
1710
+ * The branch to sync from
1711
+ */
1712
+ branch: string;
1713
+ /**
1714
+ * List of paths to include in sync
1715
+ */
1716
+ paths?: Array<string>;
1717
+ /**
1718
+ * List of paths to exclude from sync
1719
+ */
1720
+ excludePaths?: Array<string>;
1721
+ /**
1722
+ * File patterns to match (glob syntax)
1723
+ */
1724
+ filePatterns?: Array<string>;
1725
+ /**
1726
+ * Access token for private repositories
1727
+ */
1728
+ accessToken?: string;
1729
+ /**
1730
+ * The type of content in the repository
1731
+ */
1732
+ contentType: 'triage-rules';
1733
+ /**
1734
+ * Content-specific configuration
1735
+ */
1736
+ contentConfig?: {
1737
+ [key: string]: unknown;
1738
+ };
1739
+ /**
1740
+ * Sync interval in minutes
1741
+ */
1742
+ syncIntervalMinutes: number;
1743
+ /**
1744
+ * Whether the repository sync is enabled
1745
+ */
1746
+ isEnabled: boolean;
1747
+ /**
1748
+ * Organization ID this repository belongs to
1749
+ */
1750
+ organizationId: number;
1751
+ };
1752
+ export type UpdateGitRepositoryRequestDto = {
1753
+ /**
1754
+ * The branch to sync from
1755
+ */
1756
+ branch?: string;
1757
+ /**
1758
+ * List of paths to include in sync
1759
+ */
1760
+ paths?: Array<string>;
1761
+ /**
1762
+ * List of paths to exclude from sync
1763
+ */
1764
+ excludePaths?: Array<string>;
1765
+ /**
1766
+ * File patterns to match (glob syntax)
1767
+ */
1768
+ filePatterns?: Array<string>;
1769
+ /**
1770
+ * Access token for private repositories
1771
+ */
1772
+ accessToken?: string;
1773
+ /**
1774
+ * Content-specific configuration (ownershipMode cannot be changed)
1775
+ */
1776
+ contentConfig?: {
1777
+ [key: string]: unknown;
1778
+ };
1779
+ /**
1780
+ * Sync interval in minutes (only for mirror mode)
1781
+ */
1782
+ syncIntervalMinutes?: number;
1783
+ /**
1784
+ * Whether the repository sync is enabled
1785
+ */
1786
+ isEnabled?: boolean;
1787
+ };
1788
+ export type BulkDeleteGitRepositoriesRequestDto = {
1789
+ /**
1790
+ * Array of repository connection IDs to delete
1791
+ */
1792
+ ids: Array<string>;
1793
+ };
1794
+ export type GitRepositorySyncLogResponseDto = {
1795
+ /**
1796
+ * The unique identifier of the sync log
1797
+ */
1798
+ _id: string;
1799
+ /**
1800
+ * The ID of the associated repository connection
1801
+ */
1802
+ repositoryId: string;
1803
+ /**
1804
+ * The status of the sync operation
1805
+ */
1806
+ status: 'never' | 'in_progress' | 'syncing' | 'success' | 'failed';
1807
+ /**
1808
+ * Number of files added during sync
1809
+ */
1810
+ filesAdded: number;
1811
+ /**
1812
+ * Number of files modified during sync
1813
+ */
1814
+ filesModified: number;
1815
+ /**
1816
+ * Number of files deleted during sync
1817
+ */
1818
+ filesDeleted: number;
1819
+ /**
1820
+ * Details of files added during sync
1821
+ */
1822
+ addedFiles?: Array<unknown> | null;
1823
+ /**
1824
+ * Details of files modified during sync
1825
+ */
1826
+ modifiedFiles?: Array<unknown> | null;
1827
+ /**
1828
+ * Details of files deleted during sync
1829
+ */
1830
+ deletedFiles?: Array<unknown> | null;
1831
+ /**
1832
+ * Number of files skipped during content processing
1833
+ */
1834
+ filesSkipped: number;
1835
+ /**
1836
+ * Details of files that were skipped during content processing
1837
+ */
1838
+ skippedFiles?: Array<unknown> | null;
1839
+ /**
1840
+ * Error message if the sync failed
1841
+ */
1842
+ errorMessage?: string | null;
1843
+ /**
1844
+ * How the sync was triggered
1845
+ */
1846
+ triggerType: 'manual' | 'scheduled' | 'webhook';
1847
+ /**
1848
+ * The commit SHA that triggered or corresponds to this sync
1849
+ */
1850
+ commitSha?: string | null;
1851
+ /**
1852
+ * The timestamp when the sync started
1853
+ */
1854
+ startedAt: string;
1855
+ /**
1856
+ * The timestamp when the sync completed
1857
+ */
1858
+ completedAt?: string | null;
1859
+ };
1860
+ export type BrowseRepositoryTreeRequestDto = {
1861
+ /**
1862
+ * The git provider type
1863
+ */
1864
+ provider: 'github' | 'gitlab' | 'azure-devops' | 'bitbucket';
1865
+ /**
1866
+ * The URL of the repository
1867
+ */
1868
+ url: string;
1869
+ /**
1870
+ * The branch to browse
1871
+ */
1872
+ branch?: string;
1873
+ /**
1874
+ * Access token for private repositories. Not required if repositoryId is provided (stored credentials will be used).
1875
+ */
1876
+ accessToken?: string;
1877
+ /**
1878
+ * ID of an existing repository connection. When provided, stored encrypted credentials are used instead of accessToken.
1879
+ */
1880
+ repositoryId?: string;
1881
+ };
1882
+ export type BrowseTreeItemDto = {
1883
+ /**
1884
+ * The file or directory path relative to the repository root
1885
+ */
1886
+ path: string;
1887
+ /**
1888
+ * The type of the tree item
1889
+ */
1890
+ type: 'blob' | 'tree';
1891
+ /**
1892
+ * The size of the file in bytes (0 for directories)
1893
+ */
1894
+ size: number;
1895
+ };
1896
+ export type BrowseRepositoryTreeResponseDto = {
1897
+ /**
1898
+ * The list of tree items (files and directories)
1899
+ */
1900
+ items: Array<BrowseTreeItemDto>;
1901
+ /**
1902
+ * Whether the tree was truncated due to size limits
1903
+ */
1904
+ truncated: boolean;
1905
+ /**
1906
+ * The total number of items in the repository tree
1907
+ */
1908
+ totalCount: number;
1909
+ };
1910
+ export type TestConnectionRequestDto = {
1911
+ /**
1912
+ * The git provider type
1913
+ */
1914
+ provider: 'github' | 'gitlab' | 'azure-devops' | 'bitbucket';
1915
+ /**
1916
+ * The URL of the repository
1917
+ */
1918
+ url: string;
1919
+ /**
1920
+ * The branch to validate
1921
+ */
1922
+ branch?: string;
1923
+ /**
1924
+ * Access token for private repositories
1925
+ */
1926
+ accessToken?: string;
1927
+ };
1928
+ export type GetRepositoryBranchesRequestDto = {
1929
+ /**
1930
+ * The git provider type
1931
+ */
1932
+ provider: 'github' | 'gitlab' | 'azure-devops' | 'bitbucket';
1933
+ /**
1934
+ * The URL of the repository
1935
+ */
1936
+ url: string;
1937
+ /**
1938
+ * Access token for private repositories. Not required if repositoryId is provided (stored credentials will be used).
1939
+ */
1940
+ accessToken?: string;
1941
+ /**
1942
+ * ID of an existing repository connection. When provided, stored encrypted credentials are used instead of accessToken.
1943
+ */
1944
+ repositoryId?: string;
1945
+ };
1547
1946
  export type CreateTriageRuleRequestDto = {
1548
1947
  /**
1549
1948
  * Human-readable name of the triage rule
@@ -1635,6 +2034,12 @@ export type TriageRuleResponseDto = {
1635
2034
  * The tag IDs of the triage rule
1636
2035
  */
1637
2036
  tagIds: Array<string>;
2037
+ /**
2038
+ * Rule metadata for provenance tracking
2039
+ */
2040
+ metadata?: {
2041
+ [key: string]: unknown;
2042
+ };
1638
2043
  /**
1639
2044
  * The created at of the triage rule
1640
2045
  */
@@ -1775,6 +2180,12 @@ export type TriageRuleListItemDto = {
1775
2180
  * Whether the triage rule is deletable
1776
2181
  */
1777
2182
  deletable: boolean;
2183
+ /**
2184
+ * Rule metadata for provenance tracking
2185
+ */
2186
+ metadata?: {
2187
+ [key: string]: unknown;
2188
+ };
1778
2189
  };
1779
2190
  export type ValidateTriageRuleRequestDto = {
1780
2191
  /**
@@ -2984,6 +3395,104 @@ export type FilterCaseCategoriesDto = {
2984
3395
  export type CreateCaseCategoryDto = {
2985
3396
  [key: string]: unknown;
2986
3397
  };
3398
+ export type CaseCloseReportHistoryVersionItemDto = {
3399
+ /**
3400
+ * History item kind
3401
+ */
3402
+ kind: 'version' | 'activity';
3403
+ /**
3404
+ * Report version number
3405
+ */
3406
+ version: number;
3407
+ /**
3408
+ * Report status
3409
+ */
3410
+ status: 'pending' | 'processing' | 'completed' | 'failed';
3411
+ /**
3412
+ * Timestamp when the report was created
3413
+ */
3414
+ date: string;
3415
+ /**
3416
+ * User who closed the case / created the report
3417
+ */
3418
+ closedBy: string;
3419
+ /**
3420
+ * Closure reason for the case
3421
+ */
3422
+ closureReason?: 'Incident Contained' | 'Investigation Complete' | 'False Positive' | 'Other';
3423
+ };
3424
+ export type CaseCloseReportHistoryActivityItemDto = {
3425
+ /**
3426
+ * History item kind
3427
+ */
3428
+ kind: 'version' | 'activity';
3429
+ /**
3430
+ * Activity event type
3431
+ */
3432
+ activityType: string;
3433
+ /**
3434
+ * Timestamp when the activity occurred
3435
+ */
3436
+ date: string;
3437
+ /**
3438
+ * User who performed the activity
3439
+ */
3440
+ performedBy: string;
3441
+ /**
3442
+ * Human-friendly description of the activity
3443
+ */
3444
+ description?: {
3445
+ [key: string]: unknown;
3446
+ } | null;
3447
+ };
3448
+ export type CaseCloseReportHistoryResponseDto = {
3449
+ /**
3450
+ * Case identifier
3451
+ */
3452
+ caseId: string;
3453
+ /**
3454
+ * History items (versions and activities) sorted by date descending
3455
+ */
3456
+ history: Array<CaseCloseReportHistoryVersionItemDto | CaseCloseReportHistoryActivityItemDto>;
3457
+ /**
3458
+ * Total number of history items across all pages
3459
+ */
3460
+ totalCount: number;
3461
+ };
3462
+ export type UpdateCaseCloseReportDto = {
3463
+ /**
3464
+ * Closure reason for the case
3465
+ */
3466
+ closureReason?: 'Incident Contained' | 'Investigation Complete' | 'False Positive' | 'Other';
3467
+ /**
3468
+ * Custom reason when closureReason is "other"
3469
+ */
3470
+ customReason?: string;
3471
+ /**
3472
+ * Initial access summary
3473
+ */
3474
+ initialAccessSummary?: string;
3475
+ /**
3476
+ * Lateral movement summary
3477
+ */
3478
+ lateralMovementSummary?: string;
3479
+ /**
3480
+ * Assets impacted summary
3481
+ */
3482
+ assetsImpactedSummary?: string;
3483
+ /**
3484
+ * Data at risk summary
3485
+ */
3486
+ dataAtRiskSummary?: string;
3487
+ /**
3488
+ * Remediation steps taken
3489
+ */
3490
+ remediation?: string;
3491
+ /**
3492
+ * Lessons learned from the case
3493
+ */
3494
+ lessonsLearned?: string;
3495
+ };
2987
3496
  export type InteractAvailableCommandOptionDto = {
2988
3497
  name: string;
2989
3498
  abbreviations: Array<string>;
@@ -4559,6 +5068,9 @@ export type ProxySettingsDtoWritable = {
4559
5068
  export type ValidateProxyDtoWritable = {
4560
5069
  [key: string]: unknown;
4561
5070
  };
5071
+ export type TrustedCaDtoWritable = {
5072
+ [key: string]: unknown;
5073
+ };
4562
5074
  export type ActiveDirectoryDtoWritable = {
4563
5075
  [key: string]: unknown;
4564
5076
  };
@@ -4634,6 +5146,9 @@ export type UninstallationPasswordProtectionDtoWritable = {
4634
5146
  export type AutoUpdateDtoWritable = {
4635
5147
  [key: string]: unknown;
4636
5148
  };
5149
+ export type MitreAttackDatabaseSettingsDtoWritable = {
5150
+ [key: string]: unknown;
5151
+ };
4637
5152
  export type MandatoryCaseSelectionDtoWritable = {
4638
5153
  [key: string]: unknown;
4639
5154
  };
@@ -6574,6 +7089,73 @@ export type SettingsValidateProxyData = {
6574
7089
  export type SettingsValidateProxyResponses = {
6575
7090
  201: unknown;
6576
7091
  };
7092
+ export type SettingsGetTrustedCertificatesData = {
7093
+ body?: never;
7094
+ path?: never;
7095
+ query?: never;
7096
+ url: '/api/public/settings/trusted-certificates';
7097
+ };
7098
+ export type SettingsGetTrustedCertificatesResponses = {
7099
+ 200: Array<TrustedCaResponseDto>;
7100
+ };
7101
+ export type SettingsGetTrustedCertificatesResponse = SettingsGetTrustedCertificatesResponses[keyof SettingsGetTrustedCertificatesResponses];
7102
+ export type SettingsAddTrustedCertificateData = {
7103
+ body: TrustedCaDtoWritable;
7104
+ path?: never;
7105
+ query?: never;
7106
+ url: '/api/public/settings/trusted-certificates';
7107
+ };
7108
+ export type SettingsAddTrustedCertificateErrors = {
7109
+ /**
7110
+ * Invalid certificate or maximum reached
7111
+ */
7112
+ 400: unknown;
7113
+ };
7114
+ export type SettingsAddTrustedCertificateResponses = {
7115
+ /**
7116
+ * Trusted CA certificate added successfully
7117
+ */
7118
+ 201: unknown;
7119
+ };
7120
+ export type SettingsDeleteTrustedCertificateData = {
7121
+ body?: never;
7122
+ path: {
7123
+ index: number;
7124
+ };
7125
+ query?: never;
7126
+ url: '/api/public/settings/trusted-certificates/{index}';
7127
+ };
7128
+ export type SettingsDeleteTrustedCertificateErrors = {
7129
+ /**
7130
+ * Certificate not found at index
7131
+ */
7132
+ 404: unknown;
7133
+ };
7134
+ export type SettingsDeleteTrustedCertificateResponses = {
7135
+ /**
7136
+ * Trusted CA certificate deleted
7137
+ */
7138
+ 204: void;
7139
+ };
7140
+ export type SettingsDeleteTrustedCertificateResponse = SettingsDeleteTrustedCertificateResponses[keyof SettingsDeleteTrustedCertificateResponses];
7141
+ export type SettingsValidateTrustedCertificateData = {
7142
+ body: TrustedCaDtoWritable;
7143
+ path?: never;
7144
+ query?: never;
7145
+ url: '/api/public/settings/validate-trusted-certificate';
7146
+ };
7147
+ export type SettingsValidateTrustedCertificateErrors = {
7148
+ /**
7149
+ * Invalid certificate
7150
+ */
7151
+ 400: unknown;
7152
+ };
7153
+ export type SettingsValidateTrustedCertificateResponses = {
7154
+ /**
7155
+ * Certificate is valid
7156
+ */
7157
+ 200: unknown;
7158
+ };
6577
7159
  export type SettingsSaveActiveDirectoryData = {
6578
7160
  body: ActiveDirectoryDtoWritable;
6579
7161
  path?: never;
@@ -6592,6 +7174,15 @@ export type SettingsValidateActiveDirectoryData = {
6592
7174
  export type SettingsValidateActiveDirectoryResponses = {
6593
7175
  201: unknown;
6594
7176
  };
7177
+ export type SettingsGetSyslogEventTypesData = {
7178
+ body?: never;
7179
+ path?: never;
7180
+ query?: never;
7181
+ url: '/api/public/settings/syslog/event-types';
7182
+ };
7183
+ export type SettingsGetSyslogEventTypesResponses = {
7184
+ 200: unknown;
7185
+ };
6595
7186
  export type SettingsSaveSyslogData = {
6596
7187
  body: SyslogSettingsDtoWritable;
6597
7188
  path?: never;
@@ -6853,6 +7444,25 @@ export type SettingsGetAutoUpdateWindowsData = {
6853
7444
  export type SettingsGetAutoUpdateWindowsResponses = {
6854
7445
  200: unknown;
6855
7446
  };
7447
+ export type SettingsSaveMitreAttackDatabaseSettingsData = {
7448
+ body: MitreAttackDatabaseSettingsDtoWritable;
7449
+ path?: never;
7450
+ query?: never;
7451
+ url: '/api/public/settings/mitre-attack-database';
7452
+ };
7453
+ export type SettingsSaveMitreAttackDatabaseSettingsResponses = {
7454
+ 200: unknown;
7455
+ };
7456
+ export type SettingsGetMitreAttackDatabaseVersionsData = {
7457
+ body?: never;
7458
+ path?: never;
7459
+ query?: never;
7460
+ url: '/api/public/settings/mitre-attack-database/versions';
7461
+ };
7462
+ export type SettingsGetMitreAttackDatabaseVersionsResponses = {
7463
+ 200: Array<MitreAttackVersionItemDto>;
7464
+ };
7465
+ export type SettingsGetMitreAttackDatabaseVersionsResponse = SettingsGetMitreAttackDatabaseVersionsResponses[keyof SettingsGetMitreAttackDatabaseVersionsResponses];
6856
7466
  export type SettingsSaveMandatoryCaseSelectionData = {
6857
7467
  body: MandatoryCaseSelectionDtoWritable;
6858
7468
  path?: never;
@@ -7034,6 +7644,20 @@ export type UserUpdateUserData = {
7034
7644
  export type UserUpdateUserResponses = {
7035
7645
  200: unknown;
7036
7646
  };
7647
+ export type UserManagementUsersPurgeAndDeleteData = {
7648
+ body?: never;
7649
+ path: {
7650
+ /**
7651
+ * User ID
7652
+ */
7653
+ id: string;
7654
+ };
7655
+ query?: never;
7656
+ url: '/api/public/user-management/users/{id}/purge';
7657
+ };
7658
+ export type UserManagementUsersPurgeAndDeleteResponses = {
7659
+ 200: unknown;
7660
+ };
7037
7661
  export type UserResetTfaData = {
7038
7662
  body?: never;
7039
7663
  path: {
@@ -7447,6 +8071,175 @@ export type AcquisitionValidateOsQueriesData = {
7447
8071
  export type AcquisitionValidateOsQueriesResponses = {
7448
8072
  201: unknown;
7449
8073
  };
8074
+ export type GitRepositoriesGetManyData = {
8075
+ body?: never;
8076
+ path?: never;
8077
+ query: {
8078
+ /**
8079
+ * Number of items per page
8080
+ */
8081
+ pageSize?: number;
8082
+ /**
8083
+ * Page number to retrieve
8084
+ */
8085
+ pageNumber?: number;
8086
+ /**
8087
+ * Sort direction
8088
+ */
8089
+ sortType?: 'ASC' | 'DESC';
8090
+ /**
8091
+ * Field name to sort by
8092
+ */
8093
+ sortBy?: string;
8094
+ filter: FilterGitRepositoriesRequestDto;
8095
+ };
8096
+ url: '/api/public/git-repositories';
8097
+ };
8098
+ export type GitRepositoriesGetManyResponses = {
8099
+ /**
8100
+ * The records have been successfully retrieved.
8101
+ */
8102
+ 200: PagingQueryResultDto;
8103
+ };
8104
+ export type GitRepositoriesGetManyResponse = GitRepositoriesGetManyResponses[keyof GitRepositoriesGetManyResponses];
8105
+ export type GitRepositoriesCreateData = {
8106
+ body: CreateGitRepositoryRequestDto;
8107
+ path?: never;
8108
+ query?: never;
8109
+ url: '/api/public/git-repositories';
8110
+ };
8111
+ export type GitRepositoriesCreateResponses = {
8112
+ /**
8113
+ * The record has been successfully created.
8114
+ */
8115
+ 200: GitRepositoryResponseDto;
8116
+ };
8117
+ export type GitRepositoriesCreateResponse = GitRepositoriesCreateResponses[keyof GitRepositoriesCreateResponses];
8118
+ export type GitRepositoriesDeleteData = {
8119
+ body?: never;
8120
+ path: {
8121
+ id: string;
8122
+ };
8123
+ query?: never;
8124
+ url: '/api/public/git-repositories/{id}';
8125
+ };
8126
+ export type GitRepositoriesDeleteResponses = {
8127
+ /**
8128
+ * The record has been successfully deleted.
8129
+ */
8130
+ 200: unknown;
8131
+ };
8132
+ export type GitRepositoriesGetOneData = {
8133
+ body?: never;
8134
+ path: {
8135
+ id: string;
8136
+ };
8137
+ query?: never;
8138
+ url: '/api/public/git-repositories/{id}';
8139
+ };
8140
+ export type GitRepositoriesGetOneResponses = {
8141
+ /**
8142
+ * The record has been successfully retrieved.
8143
+ */
8144
+ 200: GitRepositoryResponseDto;
8145
+ };
8146
+ export type GitRepositoriesGetOneResponse = GitRepositoriesGetOneResponses[keyof GitRepositoriesGetOneResponses];
8147
+ export type GitRepositoriesUpdateData = {
8148
+ body: UpdateGitRepositoryRequestDto;
8149
+ path: {
8150
+ id: string;
8151
+ };
8152
+ query?: never;
8153
+ url: '/api/public/git-repositories/{id}';
8154
+ };
8155
+ export type GitRepositoriesUpdateResponses = {
8156
+ /**
8157
+ * The record has been successfully updated.
8158
+ */
8159
+ 200: GitRepositoryResponseDto;
8160
+ };
8161
+ export type GitRepositoriesUpdateResponse = GitRepositoriesUpdateResponses[keyof GitRepositoriesUpdateResponses];
8162
+ export type GitRepositoriesBulkDeleteData = {
8163
+ body: BulkDeleteGitRepositoriesRequestDto;
8164
+ path?: never;
8165
+ query?: never;
8166
+ url: '/api/public/git-repositories/bulk-delete';
8167
+ };
8168
+ export type GitRepositoriesBulkDeleteResponses = {
8169
+ /**
8170
+ * The records have been successfully deleted.
8171
+ */
8172
+ 200: unknown;
8173
+ };
8174
+ export type GitRepositoriesTriggerSyncData = {
8175
+ body?: never;
8176
+ path: {
8177
+ id: string;
8178
+ };
8179
+ query?: never;
8180
+ url: '/api/public/git-repositories/{id}/sync';
8181
+ };
8182
+ export type GitRepositoriesTriggerSyncResponses = {
8183
+ /**
8184
+ * The sync has been successfully triggered.
8185
+ */
8186
+ 200: unknown;
8187
+ };
8188
+ export type GitRepositoriesGetSyncLogsData = {
8189
+ body?: never;
8190
+ path: {
8191
+ id: string;
8192
+ };
8193
+ query: {
8194
+ pageSize: string;
8195
+ page: string;
8196
+ };
8197
+ url: '/api/public/git-repositories/{id}/sync-logs';
8198
+ };
8199
+ export type GitRepositoriesGetSyncLogsResponses = {
8200
+ /**
8201
+ * The records have been successfully retrieved.
8202
+ */
8203
+ 200: Array<GitRepositorySyncLogResponseDto>;
8204
+ };
8205
+ export type GitRepositoriesGetSyncLogsResponse = GitRepositoriesGetSyncLogsResponses[keyof GitRepositoriesGetSyncLogsResponses];
8206
+ export type GitRepositoriesBrowseTreeData = {
8207
+ body: BrowseRepositoryTreeRequestDto;
8208
+ path?: never;
8209
+ query?: never;
8210
+ url: '/api/public/git-repositories/browse-tree';
8211
+ };
8212
+ export type GitRepositoriesBrowseTreeResponses = {
8213
+ /**
8214
+ * The repository tree has been successfully retrieved.
8215
+ */
8216
+ 200: BrowseRepositoryTreeResponseDto;
8217
+ };
8218
+ export type GitRepositoriesBrowseTreeResponse = GitRepositoriesBrowseTreeResponses[keyof GitRepositoriesBrowseTreeResponses];
8219
+ export type GitRepositoriesTestConnectionData = {
8220
+ body: TestConnectionRequestDto;
8221
+ path?: never;
8222
+ query?: never;
8223
+ url: '/api/public/git-repositories/test-connection';
8224
+ };
8225
+ export type GitRepositoriesTestConnectionResponses = {
8226
+ /**
8227
+ * The connection test result.
8228
+ */
8229
+ 200: unknown;
8230
+ };
8231
+ export type GitRepositoriesGetRepositoryBranchesData = {
8232
+ body: GetRepositoryBranchesRequestDto;
8233
+ path?: never;
8234
+ query?: never;
8235
+ url: '/api/public/git-repositories/get-repository-branches';
8236
+ };
8237
+ export type GitRepositoriesGetRepositoryBranchesResponses = {
8238
+ /**
8239
+ * The branches have been successfully retrieved.
8240
+ */
8241
+ 200: unknown;
8242
+ };
7450
8243
  export type GetManyTriageRulesData = {
7451
8244
  body?: never;
7452
8245
  path?: never;
@@ -9131,6 +9924,108 @@ export type CaseCategoriesDeleteData = {
9131
9924
  export type CaseCategoriesDeleteResponses = {
9132
9925
  200: unknown;
9133
9926
  };
9927
+ export type GetCaseCloseReportHistoryData = {
9928
+ body?: never;
9929
+ path: {
9930
+ caseId: string;
9931
+ };
9932
+ query?: {
9933
+ /**
9934
+ * Page number (1-based)
9935
+ */
9936
+ pageNumber?: number;
9937
+ /**
9938
+ * Number of items per page
9939
+ */
9940
+ pageSize?: number;
9941
+ };
9942
+ url: '/api/public/cases/{caseId}/reports/history';
9943
+ };
9944
+ export type GetCaseCloseReportHistoryResponses = {
9945
+ 200: CaseCloseReportHistoryResponseDto;
9946
+ };
9947
+ export type GetCaseCloseReportHistoryResponse = GetCaseCloseReportHistoryResponses[keyof GetCaseCloseReportHistoryResponses];
9948
+ export type GetCaseCloseReportData = {
9949
+ body?: never;
9950
+ path: {
9951
+ caseId: string;
9952
+ version: number;
9953
+ };
9954
+ query?: never;
9955
+ url: '/api/public/cases/{caseId}/reports';
9956
+ };
9957
+ export type GetCaseCloseReportResponses = {
9958
+ 200: unknown;
9959
+ };
9960
+ export type UpdateCaseCloseReportData = {
9961
+ body: UpdateCaseCloseReportDto;
9962
+ path: {
9963
+ caseId: string;
9964
+ version: number;
9965
+ };
9966
+ query?: never;
9967
+ url: '/api/public/cases/{caseId}/reports';
9968
+ };
9969
+ export type UpdateCaseCloseReportResponses = {
9970
+ 200: unknown;
9971
+ };
9972
+ export type GetCaseCloseReport2Data = {
9973
+ body?: never;
9974
+ path: {
9975
+ caseId: string;
9976
+ version: number;
9977
+ };
9978
+ query?: never;
9979
+ url: '/api/public/cases/{caseId}/reports/{version}';
9980
+ };
9981
+ export type GetCaseCloseReport2Responses = {
9982
+ 200: unknown;
9983
+ };
9984
+ export type UpdateCaseCloseReport2Data = {
9985
+ body: UpdateCaseCloseReportDto;
9986
+ path: {
9987
+ caseId: string;
9988
+ version: number;
9989
+ };
9990
+ query?: never;
9991
+ url: '/api/public/cases/{caseId}/reports/{version}';
9992
+ };
9993
+ export type UpdateCaseCloseReport2Responses = {
9994
+ 200: unknown;
9995
+ };
9996
+ export type ExportClosureReportFindingsData = {
9997
+ body?: never;
9998
+ path: {
9999
+ caseId: string;
10000
+ };
10001
+ query?: never;
10002
+ url: '/api/public/cases/{caseId}/reports/findings/export';
10003
+ };
10004
+ export type ExportClosureReportFindingsResponses = {
10005
+ 200: unknown;
10006
+ };
10007
+ export type ExportClosureReportFlagsData = {
10008
+ body?: never;
10009
+ path: {
10010
+ caseId: string;
10011
+ };
10012
+ query?: never;
10013
+ url: '/api/public/cases/{caseId}/reports/flags/export';
10014
+ };
10015
+ export type ExportClosureReportFlagsResponses = {
10016
+ 200: unknown;
10017
+ };
10018
+ export type ExportClosureReportAssetsData = {
10019
+ body?: never;
10020
+ path: {
10021
+ caseId: string;
10022
+ };
10023
+ query?: never;
10024
+ url: '/api/public/cases/{caseId}/reports/assets/export';
10025
+ };
10026
+ export type ExportClosureReportAssetsResponses = {
10027
+ 200: unknown;
10028
+ };
9134
10029
  export type InteractCommandsGetManyData = {
9135
10030
  body?: never;
9136
10031
  path?: never;