@binalyze/air-sdk 5.18.2 → 5.20.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.
@@ -746,12 +746,6 @@ export type ImportOffNetworkCollectionToTaskDto = {
746
746
  export type GenerateOffNetworkZipPasswordDto = {
747
747
  [key: string]: unknown;
748
748
  };
749
- export type PortableDiskImageDecryptionKeyResponseDto = {
750
- /**
751
- * 64-char hex AES-256 decryption key
752
- */
753
- decryptionKey: string;
754
- };
755
749
  export type AssignedTaskDto = {
756
750
  /**
757
751
  * Task identifier
@@ -810,7 +804,7 @@ export type FilterEndpointTasksDto = {
810
804
  /**
811
805
  * Task type list
812
806
  */
813
- type?: Array<'triage' | 'acquisition' | 'shutdown' | 'reboot' | 'uninstall' | 'isolation' | 'cancel' | 'investigation' | 'log-retrieval' | 'auto-tagging' | 'version-update' | 'mitre-attack-database-update' | 'offline-acquisition' | 'offline-triage' | 'migration' | 'interact-shell' | 'baseline-comparison' | 'baseline-acquisition' | 'agent-deployment' | 'acquire-image' | 'purge-local-data' | 'retry-upload' | 'calculate-hash' | 'drone-analysis' | 'full-text-search' | 'cloud-acquisition' | 'image-evidence-acquisition' | 'portable-disk-image'>;
807
+ type?: Array<'triage' | 'acquisition' | 'shutdown' | 'reboot' | 'uninstall' | 'isolation' | 'cancel' | 'investigation' | 'log-retrieval' | 'auto-tagging' | 'version-update' | 'mitre-attack-database-update' | 'offline-acquisition' | 'offline-triage' | 'migration' | 'interact-shell' | 'baseline-comparison' | 'baseline-acquisition' | 'agent-deployment' | 'acquire-image' | 'purge-local-data' | 'retry-upload' | 'calculate-hash' | 'drone-analysis' | 'full-text-search' | 'cloud-acquisition' | 'image-evidence-acquisition' | 'offline-image-evidence-acquisition'>;
814
808
  /**
815
809
  * Task status list
816
810
  */
@@ -1740,19 +1734,6 @@ export type AssignedTaskResponseDto = {
1740
1734
  export type OffNetworkAcquisitionTaskDto = {
1741
1735
  [key: string]: unknown;
1742
1736
  };
1743
- export type PortableDiskImageTaskDto = {
1744
- [key: string]: unknown;
1745
- };
1746
- export type PortableDiskImageTaskResponseDto = {
1747
- taskId: string;
1748
- fileName: string;
1749
- /**
1750
- * 64-char hex AES-256 decryption key
1751
- */
1752
- decryptionKey: string;
1753
- downloadUrl: string;
1754
- shareUrl: string;
1755
- };
1756
1737
  export type AcquireImageDto = {
1757
1738
  [key: string]: unknown;
1758
1739
  };
@@ -2515,6 +2496,9 @@ export type AzureStorageRepositoryDto = {
2515
2496
  export type AmazonS3RepositoryDto = {
2516
2497
  [key: string]: unknown;
2517
2498
  };
2499
+ export type S3CompatibleRepositoryDto = {
2500
+ [key: string]: unknown;
2501
+ };
2518
2502
  export type EvidenceRepositoryFilterDto = {
2519
2503
  /**
2520
2504
  * Free-text search term to filter repositories
@@ -2537,9 +2521,9 @@ export type EvidenceRepositoryFilterDto = {
2537
2521
  */
2538
2522
  host?: string;
2539
2523
  /**
2540
- * Filter by repository types
2524
+ * Filter by repository type. Accepts an enum type value (e.g. "smb", "sftp") or a free-text S3-compatible provider name (e.g. "MinIO", "Wasabi").
2541
2525
  */
2542
- type?: Array<'smb' | 'sftp' | 'azure-storage' | 'amazon-s3' | 'ftps' | 'google-cloud-storage'>;
2526
+ type?: Array<string>;
2543
2527
  /**
2544
2528
  * Organization IDs to filter repositories by
2545
2529
  */
@@ -2573,7 +2557,7 @@ export type EvidenceRepositoryInfoDto = {
2573
2557
  /**
2574
2558
  * Repository type
2575
2559
  */
2576
- type: 'smb' | 'sftp' | 'azure-storage' | 'amazon-s3' | 'ftps' | 'google-cloud-storage';
2560
+ type: 'smb' | 'sftp' | 'azure-storage' | 'amazon-s3' | 's3-compatible' | 'ftps' | 'google-cloud-storage';
2577
2561
  /**
2578
2562
  * Host for network repositories
2579
2563
  */
@@ -2598,6 +2582,14 @@ export type EvidenceRepositoryInfoDto = {
2598
2582
  * AWS Access Key ID
2599
2583
  */
2600
2584
  accessKeyId?: string;
2585
+ /**
2586
+ * Custom S3-compatible endpoint URL. When set, requests use path-style addressing.
2587
+ */
2588
+ endpoint?: string;
2589
+ /**
2590
+ * Optional provider name shown in the UI to distinguish between S3-compatible repositories. Pure UX hint, not used for any backend logic.
2591
+ */
2592
+ providerName?: string;
2601
2593
  /**
2602
2594
  * Organizations that can access this repository
2603
2595
  */
@@ -2664,6 +2656,9 @@ export type EvidenceRepositoriesPageDto = {
2664
2656
  export type ValidateAmazonS3Dto = {
2665
2657
  [key: string]: unknown;
2666
2658
  };
2659
+ export type ValidateS3CompatibleDto = {
2660
+ [key: string]: unknown;
2661
+ };
2667
2662
  export type ValidateAzureStorageDto = {
2668
2663
  [key: string]: unknown;
2669
2664
  };
@@ -2722,6 +2717,14 @@ export type FilterAuditLogRequestDto = {
2722
2717
  [key: string]: unknown;
2723
2718
  };
2724
2719
  };
2720
+ export type GetAuditLogEventFilterSettingsResponseDto = {
2721
+ eventFilterMode: 'all' | 'include' | 'exclude';
2722
+ filteredEventTypes: Array<string>;
2723
+ };
2724
+ export type UpdateAuditLogEventFilterRequestDto = {
2725
+ eventFilterMode?: 'all' | 'include' | 'exclude';
2726
+ filteredEventTypes?: Array<string>;
2727
+ };
2725
2728
  export type PolicyFilterEndpointDto = {
2726
2729
  [key: string]: unknown;
2727
2730
  };
@@ -3072,6 +3075,12 @@ export type FilterOrganizationUsersDto = {
3072
3075
  export type AutoAssetTagDto = {
3073
3076
  [key: string]: unknown;
3074
3077
  };
3078
+ export type UpdateAutoAssetTagStatusRequestDto = {
3079
+ /**
3080
+ * Whether the auto asset tag rule is enabled
3081
+ */
3082
+ enabled: boolean;
3083
+ };
3075
3084
  export type FilterAutoAssetTagsDto = {
3076
3085
  [key: string]: unknown;
3077
3086
  };
@@ -4691,6 +4700,20 @@ export type ApiErrorResponseDto = {
4691
4700
  } | null;
4692
4701
  errors: Array<ApiError>;
4693
4702
  };
4703
+ export type UpdateAssetV2RequestDto = {
4704
+ /**
4705
+ * Updated human-readable label.
4706
+ */
4707
+ label?: string;
4708
+ /**
4709
+ * Updated description.
4710
+ */
4711
+ description?: string;
4712
+ /**
4713
+ * Tag delta (additive semantics).
4714
+ */
4715
+ tagsToAdd?: Array<string>;
4716
+ };
4694
4717
  export type AcquisitionWebhookDto = {
4695
4718
  [key: string]: unknown;
4696
4719
  };
@@ -5260,6 +5283,25 @@ export type ImageEvidenceAcquisitionProfileFilterRequestDto = {
5260
5283
  */
5261
5284
  allOrganizations?: boolean;
5262
5285
  };
5286
+ export type PortableDiskImageTaskDto = {
5287
+ [key: string]: unknown;
5288
+ };
5289
+ export type PortableDiskImageTaskResponseDto = {
5290
+ taskId: string;
5291
+ fileName: string;
5292
+ /**
5293
+ * 64-char hex AES-256 decryption key
5294
+ */
5295
+ decryptionKey: string;
5296
+ downloadUrl: string;
5297
+ shareUrl: string;
5298
+ };
5299
+ export type PortableDiskImageDecryptionKeyResponseDto = {
5300
+ /**
5301
+ * 64-char hex AES-256 decryption key
5302
+ */
5303
+ decryptionKey: string;
5304
+ };
5263
5305
  export type DateRangeDtoWritable = {
5264
5306
  [key: string]: unknown;
5265
5307
  };
@@ -5549,9 +5591,6 @@ export type EventLogRecordsConfigWritable = {
5549
5591
  export type OffNetworkAcquisitionTaskDtoWritable = {
5550
5592
  [key: string]: unknown;
5551
5593
  };
5552
- export type PortableDiskImageTaskDtoWritable = {
5553
- [key: string]: unknown;
5554
- };
5555
5594
  export type AcquireImageDtoWritable = {
5556
5595
  [key: string]: unknown;
5557
5596
  };
@@ -5582,9 +5621,15 @@ export type AzureStorageRepositoryDtoWritable = {
5582
5621
  export type AmazonS3RepositoryDtoWritable = {
5583
5622
  [key: string]: unknown;
5584
5623
  };
5624
+ export type S3CompatibleRepositoryDtoWritable = {
5625
+ [key: string]: unknown;
5626
+ };
5585
5627
  export type ValidateAmazonS3DtoWritable = {
5586
5628
  [key: string]: unknown;
5587
5629
  };
5630
+ export type ValidateS3CompatibleDtoWritable = {
5631
+ [key: string]: unknown;
5632
+ };
5588
5633
  export type ValidateAzureStorageDtoWritable = {
5589
5634
  [key: string]: unknown;
5590
5635
  };
@@ -5897,6 +5942,9 @@ export type M365TenantWideAcquisitionsDtoWritable = {
5897
5942
  export type ImageAcquisitionEvidencesDtoWritable = {
5898
5943
  [key: string]: unknown;
5899
5944
  };
5945
+ export type PortableDiskImageTaskDtoWritable = {
5946
+ [key: string]: unknown;
5947
+ };
5900
5948
  export type AppGetBasicInfoData = {
5901
5949
  body?: never;
5902
5950
  path?: never;
@@ -7015,31 +7063,6 @@ export type TaskGenerateOffNetworkZipPasswordData = {
7015
7063
  export type TaskGenerateOffNetworkZipPasswordResponses = {
7016
7064
  201: unknown;
7017
7065
  };
7018
- export type PortableDiskImageDownloadPackageData = {
7019
- body?: never;
7020
- path?: never;
7021
- query?: never;
7022
- url: '/api/public/tasks/portable-disk-image/download';
7023
- };
7024
- export type PortableDiskImageDownloadPackageResponses = {
7025
- /**
7026
- * ZIP stream
7027
- */
7028
- 200: unknown;
7029
- };
7030
- export type PortableDiskImageRetrieveDecryptionKeyData = {
7031
- body?: never;
7032
- path?: never;
7033
- query?: never;
7034
- url: '/api/public/tasks/portable-disk-image/{taskId}/decryption-key';
7035
- };
7036
- export type PortableDiskImageRetrieveDecryptionKeyResponses = {
7037
- /**
7038
- * Decryption key retrieved successfully
7039
- */
7040
- 200: PortableDiskImageDecryptionKeyResponseDto;
7041
- };
7042
- export type PortableDiskImageRetrieveDecryptionKeyResponse = PortableDiskImageRetrieveDecryptionKeyResponses[keyof PortableDiskImageRetrieveDecryptionKeyResponses];
7043
7066
  export type AssetsAssignRebootTaskData = {
7044
7067
  body: RebootEndpointDto;
7045
7068
  path?: never;
@@ -8444,19 +8467,6 @@ export type AcquisitionCreateOffNetworkAcquisitionTaskFileData = {
8444
8467
  export type AcquisitionCreateOffNetworkAcquisitionTaskFileResponses = {
8445
8468
  201: unknown;
8446
8469
  };
8447
- export type AcquisitionCreatePortableDiskImageTaskData = {
8448
- body: PortableDiskImageTaskDtoWritable;
8449
- path?: never;
8450
- query?: never;
8451
- url: '/api/public/acquisitions/acquire/portable-disk-image';
8452
- };
8453
- export type AcquisitionCreatePortableDiskImageTaskResponses = {
8454
- /**
8455
- * Portable disk image task created successfully
8456
- */
8457
- 201: PortableDiskImageTaskResponseDto;
8458
- };
8459
- export type AcquisitionCreatePortableDiskImageTaskResponse = AcquisitionCreatePortableDiskImageTaskResponses[keyof AcquisitionCreatePortableDiskImageTaskResponses];
8460
8470
  export type AcquisitionAcquireImageData = {
8461
8471
  body: AcquireImageDtoWritable;
8462
8472
  path?: never;
@@ -9038,6 +9048,29 @@ export type EvidenceRepositoryUpdateAmazonS3Data = {
9038
9048
  export type EvidenceRepositoryUpdateAmazonS3Responses = {
9039
9049
  200: unknown;
9040
9050
  };
9051
+ export type EvidenceRepositoryCreateS3CompatibleData = {
9052
+ body: S3CompatibleRepositoryDtoWritable;
9053
+ path?: never;
9054
+ query?: never;
9055
+ url: '/api/public/evidences/repositories/s3-compatible';
9056
+ };
9057
+ export type EvidenceRepositoryCreateS3CompatibleResponses = {
9058
+ 201: unknown;
9059
+ };
9060
+ export type EvidenceRepositoryUpdateS3CompatibleData = {
9061
+ body: S3CompatibleRepositoryDtoWritable;
9062
+ path: {
9063
+ /**
9064
+ * Evidence repository identifier
9065
+ */
9066
+ id: string;
9067
+ };
9068
+ query?: never;
9069
+ url: '/api/public/evidences/repositories/s3-compatible/{id}';
9070
+ };
9071
+ export type EvidenceRepositoryUpdateS3CompatibleResponses = {
9072
+ 200: unknown;
9073
+ };
9041
9074
  export type EvidenceRepositoryDeleteData = {
9042
9075
  body?: never;
9043
9076
  path: {
@@ -9121,6 +9154,15 @@ export type EvidenceRepositoryValidateAmazonS3Data = {
9121
9154
  export type EvidenceRepositoryValidateAmazonS3Responses = {
9122
9155
  201: unknown;
9123
9156
  };
9157
+ export type EvidenceRepositoryValidateS3CompatibleData = {
9158
+ body: ValidateS3CompatibleDtoWritable;
9159
+ path?: never;
9160
+ query?: never;
9161
+ url: '/api/public/evidences/repositories/validate/s3-compatible';
9162
+ };
9163
+ export type EvidenceRepositoryValidateS3CompatibleResponses = {
9164
+ 201: unknown;
9165
+ };
9124
9166
  export type EvidenceRepositoryValidateAzureStorageData = {
9125
9167
  body: ValidateAzureStorageDtoWritable;
9126
9168
  path?: never;
@@ -9276,6 +9318,43 @@ export type AuditLogExportData = {
9276
9318
  export type AuditLogExportResponses = {
9277
9319
  200: unknown;
9278
9320
  };
9321
+ export type AuditLogsGetEventTypesData = {
9322
+ body?: never;
9323
+ path?: never;
9324
+ query?: never;
9325
+ url: '/api/public/audit-logs/event-types';
9326
+ };
9327
+ export type AuditLogsGetEventTypesResponses = {
9328
+ /**
9329
+ * Event types retrieved successfully.
9330
+ */
9331
+ 200: unknown;
9332
+ };
9333
+ export type AuditLogsGetEventFilterData = {
9334
+ body?: never;
9335
+ path?: never;
9336
+ query?: never;
9337
+ url: '/api/public/audit-logs/event-filter';
9338
+ };
9339
+ export type AuditLogsGetEventFilterResponses = {
9340
+ /**
9341
+ * Event filter settings retrieved successfully.
9342
+ */
9343
+ 200: GetAuditLogEventFilterSettingsResponseDto;
9344
+ };
9345
+ export type AuditLogsGetEventFilterResponse = AuditLogsGetEventFilterResponses[keyof AuditLogsGetEventFilterResponses];
9346
+ export type AuditLogsUpdateEventFilterData = {
9347
+ body: UpdateAuditLogEventFilterRequestDto;
9348
+ path?: never;
9349
+ query?: never;
9350
+ url: '/api/public/audit-logs/event-filter';
9351
+ };
9352
+ export type AuditLogsUpdateEventFilterResponses = {
9353
+ /**
9354
+ * Event filter settings updated successfully.
9355
+ */
9356
+ 200: unknown;
9357
+ };
9279
9358
  export type PolicyGetMatchStatsData = {
9280
9359
  body: PolicyFilterEndpointDtoWritable;
9281
9360
  path?: never;
@@ -9723,6 +9802,15 @@ export type AutoAssetTagUpdateAutoAssetTagData = {
9723
9802
  export type AutoAssetTagUpdateAutoAssetTagResponses = {
9724
9803
  200: unknown;
9725
9804
  };
9805
+ export type AutoAssetTagUpdateStatusData = {
9806
+ body: UpdateAutoAssetTagStatusRequestDto;
9807
+ path?: never;
9808
+ query?: never;
9809
+ url: '/api/public/auto-asset-tag/{id}/update-status';
9810
+ };
9811
+ export type AutoAssetTagUpdateStatusResponses = {
9812
+ 200: unknown;
9813
+ };
9726
9814
  export type AutoAssetTagDeleteBulkData = {
9727
9815
  body: BulkDeleteAutoAssetTagRequestDto;
9728
9816
  path?: never;
@@ -10479,7 +10567,7 @@ export type InteractCommandsGetManyResponses = {
10479
10567
  200: Array<InteractAvailableCommandDto>;
10480
10568
  };
10481
10569
  export type InteractCommandsGetManyResponse = InteractCommandsGetManyResponses[keyof InteractCommandsGetManyResponses];
10482
- export type InteractDownloadData = {
10570
+ export type InteractCommandsDownloadResultFileData = {
10483
10571
  body?: never;
10484
10572
  path: {
10485
10573
  sessionId: string;
@@ -10490,7 +10578,10 @@ export type InteractDownloadData = {
10490
10578
  };
10491
10579
  url: '/api/public/interact/commands/download/{sessionId}/{messageId}';
10492
10580
  };
10493
- export type InteractDownloadResponses = {
10581
+ export type InteractCommandsDownloadResultFileResponses = {
10582
+ /**
10583
+ * Command result file stream
10584
+ */
10494
10585
  200: unknown;
10495
10586
  };
10496
10587
  export type InteractShellAssignTaskData = {
@@ -11319,7 +11410,7 @@ export type InvestigationGetEvidenceDataStructureData = {
11319
11410
  evidenceCategory: string;
11320
11411
  };
11321
11412
  query?: never;
11322
- url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}/structure';
11413
+ url: '/api/public/investigation-hub/investigations/{investigationId}/platforms/{platform}/evidence-categories/{evidenceCategory}/structure';
11323
11414
  };
11324
11415
  export type InvestigationGetEvidenceDataStructureResponses = {
11325
11416
  200: unknown;
@@ -11332,7 +11423,7 @@ export type InvestigationGetEvidenceDataData = {
11332
11423
  evidenceCategory: string;
11333
11424
  };
11334
11425
  query?: never;
11335
- url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}';
11426
+ url: '/api/public/investigation-hub/investigations/{investigationId}/platforms/{platform}/evidence-categories/{evidenceCategory}';
11336
11427
  };
11337
11428
  export type InvestigationGetEvidenceDataResponses = {
11338
11429
  201: unknown;
@@ -11384,7 +11475,7 @@ export type InvestigationExportEvidenceDataData = {
11384
11475
  query: {
11385
11476
  exportId: string;
11386
11477
  };
11387
- url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}/export';
11478
+ url: '/api/public/investigation-hub/investigations/{investigationId}/platforms/{platform}/evidence-categories/{evidenceCategory}/export';
11388
11479
  };
11389
11480
  export type InvestigationExportEvidenceDataResponses = {
11390
11481
  200: unknown;
@@ -11397,7 +11488,7 @@ export type InvestigationCreateExportRequestForSectionDataData = {
11397
11488
  evidenceCategory: string;
11398
11489
  };
11399
11490
  query?: never;
11400
- url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}/export';
11491
+ url: '/api/public/investigation-hub/investigations/{investigationId}/platforms/{platform}/evidence-categories/{evidenceCategory}/export';
11401
11492
  };
11402
11493
  export type InvestigationCreateExportRequestForSectionDataResponses = {
11403
11494
  201: unknown;
@@ -11671,7 +11762,7 @@ export type InvestigationGetInvestigationTaskAssignmentForImportedEvidenceData =
11671
11762
  importId: string;
11672
11763
  };
11673
11764
  query?: never;
11674
- url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}/imports/{importId}/task-assignment';
11765
+ url: '/api/public/investigation-hub/investigations/{investigationId}/platforms/{platform}/evidence-categories/{evidenceCategory}/imports/{importId}/task-assignment';
11675
11766
  };
11676
11767
  export type InvestigationGetInvestigationTaskAssignmentForImportedEvidenceResponses = {
11677
11768
  200: unknown;
@@ -12145,7 +12236,7 @@ export type InvestigationTimelineGetTotalTimelineCountData = {
12145
12236
  url: '/api/public/investigation-hub/investigations/{investigationId}/total-timeline-count';
12146
12237
  };
12147
12238
  export type InvestigationTimelineGetTotalTimelineCountResponses = {
12148
- 200: unknown;
12239
+ 201: unknown;
12149
12240
  };
12150
12241
  export type InvestigationTimelineExportTimelineDataData = {
12151
12242
  body?: never;
@@ -12383,15 +12474,73 @@ export type ProcessorGetProcessorTypeByAssetTypeData = {
12383
12474
  export type ProcessorGetProcessorTypeByAssetTypeResponses = {
12384
12475
  200: unknown;
12385
12476
  };
12386
- export type AssetV2ApiControllerGetAssetByIdData = {
12477
+ export type AssetV2ApiControllerDeleteAssetData = {
12387
12478
  body?: never;
12388
12479
  path: {
12389
- id: string;
12480
+ /**
12481
+ * Asset canonical UUID or name.
12482
+ */
12483
+ idOrName: string;
12390
12484
  };
12391
- query?: never;
12392
- url: '/api/v2/assets/{id}';
12485
+ query?: {
12486
+ /**
12487
+ * Required for name path.
12488
+ */
12489
+ organizations?: unknown;
12490
+ };
12491
+ url: '/api/v2/assets/{idOrName}';
12492
+ };
12493
+ export type AssetV2ApiControllerDeleteAssetErrors = {
12494
+ /**
12495
+ * Validation error
12496
+ */
12497
+ 400: ApiErrorResponseDto;
12498
+ /**
12499
+ * Authentication required
12500
+ */
12501
+ 401: ApiErrorResponseDto;
12502
+ /**
12503
+ * Insufficient privileges
12504
+ */
12505
+ 403: ApiErrorResponseDto;
12506
+ /**
12507
+ * Resource not found
12508
+ */
12509
+ 404: ApiErrorResponseDto;
12510
+ /**
12511
+ * Conflict with current state
12512
+ */
12513
+ 409: ApiErrorResponseDto;
12514
+ /**
12515
+ * Server error
12516
+ */
12517
+ 500: ApiErrorResponseDto;
12518
+ };
12519
+ export type AssetV2ApiControllerDeleteAssetError = AssetV2ApiControllerDeleteAssetErrors[keyof AssetV2ApiControllerDeleteAssetErrors];
12520
+ export type AssetV2ApiControllerDeleteAssetResponses = {
12521
+ /**
12522
+ * Asset deleted. `result` is null.
12523
+ */
12524
+ 200: ApiSuccessResponseDto;
12525
+ };
12526
+ export type AssetV2ApiControllerDeleteAssetResponse = AssetV2ApiControllerDeleteAssetResponses[keyof AssetV2ApiControllerDeleteAssetResponses];
12527
+ export type AssetV2ApiControllerGetAssetData = {
12528
+ body?: never;
12529
+ path: {
12530
+ /**
12531
+ * Either the asset's canonical UUID or its human-readable name. For endpoint assets the name is the hostname; for other subtypes it is the subtype-specific display name.
12532
+ */
12533
+ idOrName: string;
12534
+ };
12535
+ query?: {
12536
+ /**
12537
+ * Polymorphic organizations scope. Comma-separated ids or names, or the literal "all". Required when path is a name. Ignored when path is a UUID.
12538
+ */
12539
+ organizations?: unknown;
12540
+ };
12541
+ url: '/api/v2/assets/{idOrName}';
12393
12542
  };
12394
- export type AssetV2ApiControllerGetAssetByIdErrors = {
12543
+ export type AssetV2ApiControllerGetAssetErrors = {
12395
12544
  /**
12396
12545
  * Validation error
12397
12546
  */
@@ -12417,11 +12566,58 @@ export type AssetV2ApiControllerGetAssetByIdErrors = {
12417
12566
  */
12418
12567
  500: ApiErrorResponseDto;
12419
12568
  };
12420
- export type AssetV2ApiControllerGetAssetByIdError = AssetV2ApiControllerGetAssetByIdErrors[keyof AssetV2ApiControllerGetAssetByIdErrors];
12421
- export type AssetV2ApiControllerGetAssetByIdResponses = {
12569
+ export type AssetV2ApiControllerGetAssetError = AssetV2ApiControllerGetAssetErrors[keyof AssetV2ApiControllerGetAssetErrors];
12570
+ export type AssetV2ApiControllerGetAssetResponses = {
12422
12571
  200: ApiSuccessResponseDto;
12423
12572
  };
12424
- export type AssetV2ApiControllerGetAssetByIdResponse = AssetV2ApiControllerGetAssetByIdResponses[keyof AssetV2ApiControllerGetAssetByIdResponses];
12573
+ export type AssetV2ApiControllerGetAssetResponse = AssetV2ApiControllerGetAssetResponses[keyof AssetV2ApiControllerGetAssetResponses];
12574
+ export type AssetV2ApiControllerUpdateAssetData = {
12575
+ body: UpdateAssetV2RequestDto;
12576
+ path: {
12577
+ /**
12578
+ * Asset canonical UUID or name.
12579
+ */
12580
+ idOrName: string;
12581
+ };
12582
+ query?: {
12583
+ /**
12584
+ * Required for name path.
12585
+ */
12586
+ organizations?: unknown;
12587
+ };
12588
+ url: '/api/v2/assets/{idOrName}';
12589
+ };
12590
+ export type AssetV2ApiControllerUpdateAssetErrors = {
12591
+ /**
12592
+ * Validation error
12593
+ */
12594
+ 400: ApiErrorResponseDto;
12595
+ /**
12596
+ * Authentication required
12597
+ */
12598
+ 401: ApiErrorResponseDto;
12599
+ /**
12600
+ * Insufficient privileges
12601
+ */
12602
+ 403: ApiErrorResponseDto;
12603
+ /**
12604
+ * Resource not found
12605
+ */
12606
+ 404: ApiErrorResponseDto;
12607
+ /**
12608
+ * Conflict with current state
12609
+ */
12610
+ 409: ApiErrorResponseDto;
12611
+ /**
12612
+ * Server error
12613
+ */
12614
+ 500: ApiErrorResponseDto;
12615
+ };
12616
+ export type AssetV2ApiControllerUpdateAssetError = AssetV2ApiControllerUpdateAssetErrors[keyof AssetV2ApiControllerUpdateAssetErrors];
12617
+ export type AssetV2ApiControllerUpdateAssetResponses = {
12618
+ 200: ApiSuccessResponseDto;
12619
+ };
12620
+ export type AssetV2ApiControllerUpdateAssetResponse = AssetV2ApiControllerUpdateAssetResponses[keyof AssetV2ApiControllerUpdateAssetResponses];
12425
12621
  export type WebhookFilterParsersData = {
12426
12622
  body?: never;
12427
12623
  path?: never;
@@ -13350,6 +13546,44 @@ export type ImageEvidenceAcquisitionProfilesDeleteBulkResponses = {
13350
13546
  */
13351
13547
  200: unknown;
13352
13548
  };
13549
+ export type DiskImageAcquisitionTasksCreateData = {
13550
+ body: PortableDiskImageTaskDtoWritable;
13551
+ path?: never;
13552
+ query?: never;
13553
+ url: '/api/public/disk-image-acquisition/task/portable';
13554
+ };
13555
+ export type DiskImageAcquisitionTasksCreateResponses = {
13556
+ /**
13557
+ * Portable disk image task created successfully
13558
+ */
13559
+ 201: PortableDiskImageTaskResponseDto;
13560
+ };
13561
+ export type DiskImageAcquisitionTasksCreateResponse = DiskImageAcquisitionTasksCreateResponses[keyof DiskImageAcquisitionTasksCreateResponses];
13562
+ export type DiskImageAcquisitionTasksDownloadData = {
13563
+ body?: never;
13564
+ path?: never;
13565
+ query?: never;
13566
+ url: '/api/public/disk-image-acquisition/task/portable/download';
13567
+ };
13568
+ export type DiskImageAcquisitionTasksDownloadResponses = {
13569
+ /**
13570
+ * ZIP stream
13571
+ */
13572
+ 200: unknown;
13573
+ };
13574
+ export type DiskImageAcquisitionTasksRetrieveDecryptionKeyData = {
13575
+ body?: never;
13576
+ path?: never;
13577
+ query?: never;
13578
+ url: '/api/public/disk-image-acquisition/task/{taskId}/decryption-key';
13579
+ };
13580
+ export type DiskImageAcquisitionTasksRetrieveDecryptionKeyResponses = {
13581
+ /**
13582
+ * Decryption key retrieved successfully
13583
+ */
13584
+ 200: PortableDiskImageDecryptionKeyResponseDto;
13585
+ };
13586
+ export type DiskImageAcquisitionTasksRetrieveDecryptionKeyResponse = DiskImageAcquisitionTasksRetrieveDecryptionKeyResponses[keyof DiskImageAcquisitionTasksRetrieveDecryptionKeyResponses];
13353
13587
  export type ClientOptions = {
13354
13588
  baseURL: string;
13355
13589
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@binalyze/air-sdk",
3
- "version": "5.18.2",
3
+ "version": "5.20.1",
4
4
  "private": false,
5
5
  "description": "Binalyze AIR - Typescript Axios SDK",
6
6
  "license": "MIT",