@binalyze/air-sdk 5.20.1 → 5.21.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.
|
@@ -1158,7 +1158,7 @@ export type UserPreferencesDto = {
|
|
|
1158
1158
|
/**
|
|
1159
1159
|
* Date format pattern (dayjs)
|
|
1160
1160
|
*/
|
|
1161
|
-
datePattern?: 'D-M-YY' | 'DD-MM-YYYY' | 'DD-MM-YY' | 'DD-MMM-YY' | 'DD/MMM/YYYY' | 'DD/MM/YYYY' | 'DD/MM/YY' | 'DD.MMM.YYYY' | 'DD.MM.YYYY' | 'DD.MM.YY' | 'DD.M.YY' | 'DD. MMM. YYYY' | 'D/MM/YY' | 'D/M/YYYY' | 'D/M/YY' | 'D.MM.YYYY' | 'D.M.YYYY' | 'D.M.YY' | 'D. M. YYYY' | 'D MMM YYYY';
|
|
1161
|
+
datePattern?: 'YYYY-MM-DD' | 'YYYY-M-D' | 'YYYY/MM/DD' | 'YYYY/M/D' | 'YYYY.MM.DD' | 'YYYY.M.D' | 'YY-MM-DD' | 'YY-M-D' | 'YY/MM/DD' | 'YY/M/D' | 'YY.M.D' | 'MM/DD/YYYY' | 'MM-DD-YYYY' | 'MM/DD/YY' | 'MMM DD, YYYY' | 'M/D/YYYY' | 'M/D/YY' | 'D-M-YYYY' | 'D-M-YY' | 'DD-MM-YYYY' | 'DD-MM-YY' | 'DD-MMM-YY' | 'DD/MMM/YYYY' | 'DD/MM/YYYY' | 'DD/MM/YY' | 'DD.MMM.YYYY' | 'DD.MM.YYYY' | 'DD.MM.YY' | 'DD.M.YY' | 'DD. MMM. YYYY' | 'D/MM/YY' | 'D/M/YYYY' | 'D/M/YY' | 'D.MM.YYYY' | 'D.M.YYYY' | 'D.M.YY' | 'D. M. YYYY' | 'D MMM YYYY';
|
|
1162
1162
|
/**
|
|
1163
1163
|
* Time format pattern (dayjs)
|
|
1164
1164
|
*/
|
|
@@ -4071,6 +4071,36 @@ export type FilterApiTokenRequestDto = {
|
|
|
4071
4071
|
*/
|
|
4072
4072
|
type?: 'USER' | 'SYSTEM';
|
|
4073
4073
|
};
|
|
4074
|
+
export type CurrentApiTokenResponseDto = {
|
|
4075
|
+
/**
|
|
4076
|
+
* The ID of the API token
|
|
4077
|
+
*/
|
|
4078
|
+
_id: string;
|
|
4079
|
+
/**
|
|
4080
|
+
* The name of the API token
|
|
4081
|
+
*/
|
|
4082
|
+
name: string;
|
|
4083
|
+
/**
|
|
4084
|
+
* The type of the API token
|
|
4085
|
+
*/
|
|
4086
|
+
type: 'USER' | 'SYSTEM';
|
|
4087
|
+
/**
|
|
4088
|
+
* The role ID bound to the API token
|
|
4089
|
+
*/
|
|
4090
|
+
roleId: string;
|
|
4091
|
+
/**
|
|
4092
|
+
* The name of the role bound to the API token
|
|
4093
|
+
*/
|
|
4094
|
+
roleName: string | null;
|
|
4095
|
+
/**
|
|
4096
|
+
* Organization IDs the API token is scoped to (empty array means ALL)
|
|
4097
|
+
*/
|
|
4098
|
+
organizationIds: Array<number>;
|
|
4099
|
+
/**
|
|
4100
|
+
* The expiration date of the API token
|
|
4101
|
+
*/
|
|
4102
|
+
expirationDate: string | null;
|
|
4103
|
+
};
|
|
4074
4104
|
export type ApiTokenResponseDto = {
|
|
4075
4105
|
/**
|
|
4076
4106
|
* The ID of the API token
|
|
@@ -4683,7 +4713,7 @@ export type ApiSuccessResponseDto = {
|
|
|
4683
4713
|
*/
|
|
4684
4714
|
result: {
|
|
4685
4715
|
[key: string]: unknown;
|
|
4686
|
-
};
|
|
4716
|
+
} | null;
|
|
4687
4717
|
/**
|
|
4688
4718
|
* Always empty on success; typed for envelope uniformity.
|
|
4689
4719
|
*/
|
|
@@ -4700,19 +4730,39 @@ export type ApiErrorResponseDto = {
|
|
|
4700
4730
|
} | null;
|
|
4701
4731
|
errors: Array<ApiError>;
|
|
4702
4732
|
};
|
|
4703
|
-
export type
|
|
4733
|
+
export type ApiPaginatedResponseDto = {
|
|
4734
|
+
success: boolean;
|
|
4735
|
+
statusCode: number;
|
|
4704
4736
|
/**
|
|
4705
|
-
*
|
|
4737
|
+
* Offset-paginated result payload.
|
|
4706
4738
|
*/
|
|
4707
|
-
|
|
4739
|
+
result: {
|
|
4740
|
+
[key: string]: unknown;
|
|
4741
|
+
};
|
|
4708
4742
|
/**
|
|
4709
|
-
*
|
|
4743
|
+
* Always empty on success; typed for envelope uniformity.
|
|
4710
4744
|
*/
|
|
4711
|
-
|
|
4745
|
+
errors: Array<ApiError>;
|
|
4746
|
+
};
|
|
4747
|
+
export type ReplaceAssetTagsV2RequestDto = {
|
|
4748
|
+
/**
|
|
4749
|
+
* Full replacement tag set. Empty array clears all tags.
|
|
4750
|
+
*/
|
|
4751
|
+
tags: Array<string>;
|
|
4712
4752
|
/**
|
|
4713
|
-
*
|
|
4753
|
+
* Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omit to default to organization id 0. Empty arrays are rejected.
|
|
4714
4754
|
*/
|
|
4715
|
-
|
|
4755
|
+
organizations?: number | string | Array<number | string> | 'all';
|
|
4756
|
+
};
|
|
4757
|
+
export type UpdateAssetLabelV2RequestDto = {
|
|
4758
|
+
/**
|
|
4759
|
+
* New non-blank label, or null to clear it.
|
|
4760
|
+
*/
|
|
4761
|
+
label: string | null;
|
|
4762
|
+
/**
|
|
4763
|
+
* Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omit to default to organization id 0. Empty arrays are rejected.
|
|
4764
|
+
*/
|
|
4765
|
+
organizations?: number | string | Array<number | string> | 'all';
|
|
4716
4766
|
};
|
|
4717
4767
|
export type AcquisitionWebhookDto = {
|
|
4718
4768
|
[key: string]: unknown;
|
|
@@ -5289,19 +5339,9 @@ export type PortableDiskImageTaskDto = {
|
|
|
5289
5339
|
export type PortableDiskImageTaskResponseDto = {
|
|
5290
5340
|
taskId: string;
|
|
5291
5341
|
fileName: string;
|
|
5292
|
-
/**
|
|
5293
|
-
* 64-char hex AES-256 decryption key
|
|
5294
|
-
*/
|
|
5295
|
-
decryptionKey: string;
|
|
5296
5342
|
downloadUrl: string;
|
|
5297
5343
|
shareUrl: string;
|
|
5298
5344
|
};
|
|
5299
|
-
export type PortableDiskImageDecryptionKeyResponseDto = {
|
|
5300
|
-
/**
|
|
5301
|
-
* 64-char hex AES-256 decryption key
|
|
5302
|
-
*/
|
|
5303
|
-
decryptionKey: string;
|
|
5304
|
-
};
|
|
5305
5345
|
export type DateRangeDtoWritable = {
|
|
5306
5346
|
[key: string]: unknown;
|
|
5307
5347
|
};
|
|
@@ -11095,6 +11135,22 @@ export type ApiTokensCreateResponses = {
|
|
|
11095
11135
|
200: ApiTokenResponseDto;
|
|
11096
11136
|
};
|
|
11097
11137
|
export type ApiTokensCreateResponse = ApiTokensCreateResponses[keyof ApiTokensCreateResponses];
|
|
11138
|
+
export type ApiTokensGetCurrentData = {
|
|
11139
|
+
body?: never;
|
|
11140
|
+
headers: {
|
|
11141
|
+
authorization: string;
|
|
11142
|
+
};
|
|
11143
|
+
path?: never;
|
|
11144
|
+
query?: never;
|
|
11145
|
+
url: '/api/public/api-tokens/current';
|
|
11146
|
+
};
|
|
11147
|
+
export type ApiTokensGetCurrentResponses = {
|
|
11148
|
+
/**
|
|
11149
|
+
* The current API token has been successfully retrieved.
|
|
11150
|
+
*/
|
|
11151
|
+
200: CurrentApiTokenResponseDto;
|
|
11152
|
+
};
|
|
11153
|
+
export type ApiTokensGetCurrentResponse = ApiTokensGetCurrentResponses[keyof ApiTokensGetCurrentResponses];
|
|
11098
11154
|
export type ApiTokensDeleteData = {
|
|
11099
11155
|
body?: never;
|
|
11100
11156
|
path: {
|
|
@@ -12474,6 +12530,139 @@ export type ProcessorGetProcessorTypeByAssetTypeData = {
|
|
|
12474
12530
|
export type ProcessorGetProcessorTypeByAssetTypeResponses = {
|
|
12475
12531
|
200: unknown;
|
|
12476
12532
|
};
|
|
12533
|
+
export type AssetV2ApiControllerGetStatsData = {
|
|
12534
|
+
body?: never;
|
|
12535
|
+
path?: never;
|
|
12536
|
+
query?: never;
|
|
12537
|
+
url: '/api/v2/assets/stats';
|
|
12538
|
+
};
|
|
12539
|
+
export type AssetV2ApiControllerGetStatsErrors = {
|
|
12540
|
+
/**
|
|
12541
|
+
* Validation error
|
|
12542
|
+
*/
|
|
12543
|
+
400: ApiErrorResponseDto;
|
|
12544
|
+
/**
|
|
12545
|
+
* Authentication required
|
|
12546
|
+
*/
|
|
12547
|
+
401: ApiErrorResponseDto;
|
|
12548
|
+
/**
|
|
12549
|
+
* Insufficient privileges
|
|
12550
|
+
*/
|
|
12551
|
+
403: ApiErrorResponseDto;
|
|
12552
|
+
/**
|
|
12553
|
+
* Resource not found
|
|
12554
|
+
*/
|
|
12555
|
+
404: ApiErrorResponseDto;
|
|
12556
|
+
/**
|
|
12557
|
+
* Conflict with current state
|
|
12558
|
+
*/
|
|
12559
|
+
409: ApiErrorResponseDto;
|
|
12560
|
+
/**
|
|
12561
|
+
* Server error
|
|
12562
|
+
*/
|
|
12563
|
+
500: ApiErrorResponseDto;
|
|
12564
|
+
};
|
|
12565
|
+
export type AssetV2ApiControllerGetStatsError = AssetV2ApiControllerGetStatsErrors[keyof AssetV2ApiControllerGetStatsErrors];
|
|
12566
|
+
export type AssetV2ApiControllerGetStatsResponses = {
|
|
12567
|
+
200: ApiSuccessResponseDto;
|
|
12568
|
+
};
|
|
12569
|
+
export type AssetV2ApiControllerGetStatsResponse = AssetV2ApiControllerGetStatsResponses[keyof AssetV2ApiControllerGetStatsResponses];
|
|
12570
|
+
export type AssetV2ApiControllerExportAssetsData = {
|
|
12571
|
+
body?: never;
|
|
12572
|
+
path?: never;
|
|
12573
|
+
query: {
|
|
12574
|
+
columnsOrder: string;
|
|
12575
|
+
};
|
|
12576
|
+
url: '/api/v2/assets/export';
|
|
12577
|
+
};
|
|
12578
|
+
export type AssetV2ApiControllerExportAssetsErrors = {
|
|
12579
|
+
/**
|
|
12580
|
+
* Validation error
|
|
12581
|
+
*/
|
|
12582
|
+
400: ApiErrorResponseDto;
|
|
12583
|
+
/**
|
|
12584
|
+
* Authentication required
|
|
12585
|
+
*/
|
|
12586
|
+
401: ApiErrorResponseDto;
|
|
12587
|
+
/**
|
|
12588
|
+
* Insufficient privileges
|
|
12589
|
+
*/
|
|
12590
|
+
403: ApiErrorResponseDto;
|
|
12591
|
+
/**
|
|
12592
|
+
* Resource not found
|
|
12593
|
+
*/
|
|
12594
|
+
404: ApiErrorResponseDto;
|
|
12595
|
+
/**
|
|
12596
|
+
* Conflict with current state
|
|
12597
|
+
*/
|
|
12598
|
+
409: ApiErrorResponseDto;
|
|
12599
|
+
/**
|
|
12600
|
+
* Server error
|
|
12601
|
+
*/
|
|
12602
|
+
500: ApiErrorResponseDto;
|
|
12603
|
+
};
|
|
12604
|
+
export type AssetV2ApiControllerExportAssetsError = AssetV2ApiControllerExportAssetsErrors[keyof AssetV2ApiControllerExportAssetsErrors];
|
|
12605
|
+
export type AssetV2ApiControllerExportAssetsResponses = {
|
|
12606
|
+
/**
|
|
12607
|
+
* CSV stream
|
|
12608
|
+
*/
|
|
12609
|
+
200: Blob | File;
|
|
12610
|
+
};
|
|
12611
|
+
export type AssetV2ApiControllerExportAssetsResponse = AssetV2ApiControllerExportAssetsResponses[keyof AssetV2ApiControllerExportAssetsResponses];
|
|
12612
|
+
export type AssetV2ApiControllerFilterAssetsData = {
|
|
12613
|
+
body?: never;
|
|
12614
|
+
path?: never;
|
|
12615
|
+
query?: {
|
|
12616
|
+
/**
|
|
12617
|
+
* Number of items per page
|
|
12618
|
+
*/
|
|
12619
|
+
pageSize?: number;
|
|
12620
|
+
/**
|
|
12621
|
+
* Page number to retrieve
|
|
12622
|
+
*/
|
|
12623
|
+
pageNumber?: number;
|
|
12624
|
+
/**
|
|
12625
|
+
* Sort direction
|
|
12626
|
+
*/
|
|
12627
|
+
sortType?: 'ASC' | 'DESC';
|
|
12628
|
+
/**
|
|
12629
|
+
* Field name to sort by
|
|
12630
|
+
*/
|
|
12631
|
+
sortBy?: string;
|
|
12632
|
+
};
|
|
12633
|
+
url: '/api/v2/assets';
|
|
12634
|
+
};
|
|
12635
|
+
export type AssetV2ApiControllerFilterAssetsErrors = {
|
|
12636
|
+
/**
|
|
12637
|
+
* Validation error
|
|
12638
|
+
*/
|
|
12639
|
+
400: ApiErrorResponseDto;
|
|
12640
|
+
/**
|
|
12641
|
+
* Authentication required
|
|
12642
|
+
*/
|
|
12643
|
+
401: ApiErrorResponseDto;
|
|
12644
|
+
/**
|
|
12645
|
+
* Insufficient privileges
|
|
12646
|
+
*/
|
|
12647
|
+
403: ApiErrorResponseDto;
|
|
12648
|
+
/**
|
|
12649
|
+
* Resource not found
|
|
12650
|
+
*/
|
|
12651
|
+
404: ApiErrorResponseDto;
|
|
12652
|
+
/**
|
|
12653
|
+
* Conflict with current state
|
|
12654
|
+
*/
|
|
12655
|
+
409: ApiErrorResponseDto;
|
|
12656
|
+
/**
|
|
12657
|
+
* Server error
|
|
12658
|
+
*/
|
|
12659
|
+
500: ApiErrorResponseDto;
|
|
12660
|
+
};
|
|
12661
|
+
export type AssetV2ApiControllerFilterAssetsError = AssetV2ApiControllerFilterAssetsErrors[keyof AssetV2ApiControllerFilterAssetsErrors];
|
|
12662
|
+
export type AssetV2ApiControllerFilterAssetsResponses = {
|
|
12663
|
+
200: ApiPaginatedResponseDto;
|
|
12664
|
+
};
|
|
12665
|
+
export type AssetV2ApiControllerFilterAssetsResponse = AssetV2ApiControllerFilterAssetsResponses[keyof AssetV2ApiControllerFilterAssetsResponses];
|
|
12477
12666
|
export type AssetV2ApiControllerDeleteAssetData = {
|
|
12478
12667
|
body?: never;
|
|
12479
12668
|
path: {
|
|
@@ -12482,11 +12671,11 @@ export type AssetV2ApiControllerDeleteAssetData = {
|
|
|
12482
12671
|
*/
|
|
12483
12672
|
idOrName: string;
|
|
12484
12673
|
};
|
|
12485
|
-
query
|
|
12674
|
+
query: {
|
|
12486
12675
|
/**
|
|
12487
|
-
*
|
|
12676
|
+
* Delete semantics.
|
|
12488
12677
|
*/
|
|
12489
|
-
|
|
12678
|
+
mode: 'purge' | 'uninstall' | 'purge-and-uninstall';
|
|
12490
12679
|
};
|
|
12491
12680
|
url: '/api/v2/assets/{idOrName}';
|
|
12492
12681
|
};
|
|
@@ -12518,9 +12707,6 @@ export type AssetV2ApiControllerDeleteAssetErrors = {
|
|
|
12518
12707
|
};
|
|
12519
12708
|
export type AssetV2ApiControllerDeleteAssetError = AssetV2ApiControllerDeleteAssetErrors[keyof AssetV2ApiControllerDeleteAssetErrors];
|
|
12520
12709
|
export type AssetV2ApiControllerDeleteAssetResponses = {
|
|
12521
|
-
/**
|
|
12522
|
-
* Asset deleted. `result` is null.
|
|
12523
|
-
*/
|
|
12524
12710
|
200: ApiSuccessResponseDto;
|
|
12525
12711
|
};
|
|
12526
12712
|
export type AssetV2ApiControllerDeleteAssetResponse = AssetV2ApiControllerDeleteAssetResponses[keyof AssetV2ApiControllerDeleteAssetResponses];
|
|
@@ -12528,14 +12714,11 @@ export type AssetV2ApiControllerGetAssetData = {
|
|
|
12528
12714
|
body?: never;
|
|
12529
12715
|
path: {
|
|
12530
12716
|
/**
|
|
12531
|
-
*
|
|
12717
|
+
* Asset canonical UUID or name.
|
|
12532
12718
|
*/
|
|
12533
12719
|
idOrName: string;
|
|
12534
12720
|
};
|
|
12535
12721
|
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
12722
|
organizations?: unknown;
|
|
12540
12723
|
};
|
|
12541
12724
|
url: '/api/v2/assets/{idOrName}';
|
|
@@ -12571,23 +12754,60 @@ export type AssetV2ApiControllerGetAssetResponses = {
|
|
|
12571
12754
|
200: ApiSuccessResponseDto;
|
|
12572
12755
|
};
|
|
12573
12756
|
export type AssetV2ApiControllerGetAssetResponse = AssetV2ApiControllerGetAssetResponses[keyof AssetV2ApiControllerGetAssetResponses];
|
|
12574
|
-
export type
|
|
12575
|
-
body:
|
|
12757
|
+
export type AssetV2ApiControllerReplaceTagsData = {
|
|
12758
|
+
body: ReplaceAssetTagsV2RequestDto;
|
|
12576
12759
|
path: {
|
|
12577
12760
|
/**
|
|
12578
12761
|
* Asset canonical UUID or name.
|
|
12579
12762
|
*/
|
|
12580
12763
|
idOrName: string;
|
|
12581
12764
|
};
|
|
12582
|
-
query?:
|
|
12765
|
+
query?: never;
|
|
12766
|
+
url: '/api/v2/assets/{idOrName}/tags';
|
|
12767
|
+
};
|
|
12768
|
+
export type AssetV2ApiControllerReplaceTagsErrors = {
|
|
12769
|
+
/**
|
|
12770
|
+
* Validation error
|
|
12771
|
+
*/
|
|
12772
|
+
400: ApiErrorResponseDto;
|
|
12773
|
+
/**
|
|
12774
|
+
* Authentication required
|
|
12775
|
+
*/
|
|
12776
|
+
401: ApiErrorResponseDto;
|
|
12777
|
+
/**
|
|
12778
|
+
* Insufficient privileges
|
|
12779
|
+
*/
|
|
12780
|
+
403: ApiErrorResponseDto;
|
|
12781
|
+
/**
|
|
12782
|
+
* Resource not found
|
|
12783
|
+
*/
|
|
12784
|
+
404: ApiErrorResponseDto;
|
|
12785
|
+
/**
|
|
12786
|
+
* Conflict with current state
|
|
12787
|
+
*/
|
|
12788
|
+
409: ApiErrorResponseDto;
|
|
12789
|
+
/**
|
|
12790
|
+
* Server error
|
|
12791
|
+
*/
|
|
12792
|
+
500: ApiErrorResponseDto;
|
|
12793
|
+
};
|
|
12794
|
+
export type AssetV2ApiControllerReplaceTagsError = AssetV2ApiControllerReplaceTagsErrors[keyof AssetV2ApiControllerReplaceTagsErrors];
|
|
12795
|
+
export type AssetV2ApiControllerReplaceTagsResponses = {
|
|
12796
|
+
200: ApiSuccessResponseDto;
|
|
12797
|
+
};
|
|
12798
|
+
export type AssetV2ApiControllerReplaceTagsResponse = AssetV2ApiControllerReplaceTagsResponses[keyof AssetV2ApiControllerReplaceTagsResponses];
|
|
12799
|
+
export type AssetV2ApiControllerUpdateLabelData = {
|
|
12800
|
+
body: UpdateAssetLabelV2RequestDto;
|
|
12801
|
+
path: {
|
|
12583
12802
|
/**
|
|
12584
|
-
*
|
|
12803
|
+
* Asset canonical UUID or name.
|
|
12585
12804
|
*/
|
|
12586
|
-
|
|
12805
|
+
idOrName: string;
|
|
12587
12806
|
};
|
|
12588
|
-
|
|
12807
|
+
query?: never;
|
|
12808
|
+
url: '/api/v2/assets/{idOrName}/label';
|
|
12589
12809
|
};
|
|
12590
|
-
export type
|
|
12810
|
+
export type AssetV2ApiControllerUpdateLabelErrors = {
|
|
12591
12811
|
/**
|
|
12592
12812
|
* Validation error
|
|
12593
12813
|
*/
|
|
@@ -12613,11 +12833,129 @@ export type AssetV2ApiControllerUpdateAssetErrors = {
|
|
|
12613
12833
|
*/
|
|
12614
12834
|
500: ApiErrorResponseDto;
|
|
12615
12835
|
};
|
|
12616
|
-
export type
|
|
12617
|
-
export type
|
|
12836
|
+
export type AssetV2ApiControllerUpdateLabelError = AssetV2ApiControllerUpdateLabelErrors[keyof AssetV2ApiControllerUpdateLabelErrors];
|
|
12837
|
+
export type AssetV2ApiControllerUpdateLabelResponses = {
|
|
12618
12838
|
200: ApiSuccessResponseDto;
|
|
12619
12839
|
};
|
|
12620
|
-
export type
|
|
12840
|
+
export type AssetV2ApiControllerUpdateLabelResponse = AssetV2ApiControllerUpdateLabelResponses[keyof AssetV2ApiControllerUpdateLabelResponses];
|
|
12841
|
+
export type AssetTaskHistoryV2ApiControllerFilterTriageTasksData = {
|
|
12842
|
+
body?: never;
|
|
12843
|
+
path: {
|
|
12844
|
+
/**
|
|
12845
|
+
* Asset canonical UUID or name.
|
|
12846
|
+
*/
|
|
12847
|
+
idOrName: string;
|
|
12848
|
+
};
|
|
12849
|
+
query?: {
|
|
12850
|
+
/**
|
|
12851
|
+
* Number of items per page
|
|
12852
|
+
*/
|
|
12853
|
+
pageSize?: number;
|
|
12854
|
+
/**
|
|
12855
|
+
* Page number to retrieve
|
|
12856
|
+
*/
|
|
12857
|
+
pageNumber?: number;
|
|
12858
|
+
/**
|
|
12859
|
+
* Sort direction
|
|
12860
|
+
*/
|
|
12861
|
+
sortType?: 'ASC' | 'DESC';
|
|
12862
|
+
/**
|
|
12863
|
+
* Field name to sort by
|
|
12864
|
+
*/
|
|
12865
|
+
sortBy?: string;
|
|
12866
|
+
};
|
|
12867
|
+
url: '/api/v2/assets/{idOrName}/triage';
|
|
12868
|
+
};
|
|
12869
|
+
export type AssetTaskHistoryV2ApiControllerFilterTriageTasksErrors = {
|
|
12870
|
+
/**
|
|
12871
|
+
* Validation error
|
|
12872
|
+
*/
|
|
12873
|
+
400: ApiErrorResponseDto;
|
|
12874
|
+
/**
|
|
12875
|
+
* Authentication required
|
|
12876
|
+
*/
|
|
12877
|
+
401: ApiErrorResponseDto;
|
|
12878
|
+
/**
|
|
12879
|
+
* Insufficient privileges
|
|
12880
|
+
*/
|
|
12881
|
+
403: ApiErrorResponseDto;
|
|
12882
|
+
/**
|
|
12883
|
+
* Resource not found
|
|
12884
|
+
*/
|
|
12885
|
+
404: ApiErrorResponseDto;
|
|
12886
|
+
/**
|
|
12887
|
+
* Conflict with current state
|
|
12888
|
+
*/
|
|
12889
|
+
409: ApiErrorResponseDto;
|
|
12890
|
+
/**
|
|
12891
|
+
* Server error
|
|
12892
|
+
*/
|
|
12893
|
+
500: ApiErrorResponseDto;
|
|
12894
|
+
};
|
|
12895
|
+
export type AssetTaskHistoryV2ApiControllerFilterTriageTasksError = AssetTaskHistoryV2ApiControllerFilterTriageTasksErrors[keyof AssetTaskHistoryV2ApiControllerFilterTriageTasksErrors];
|
|
12896
|
+
export type AssetTaskHistoryV2ApiControllerFilterTriageTasksResponses = {
|
|
12897
|
+
200: ApiPaginatedResponseDto;
|
|
12898
|
+
};
|
|
12899
|
+
export type AssetTaskHistoryV2ApiControllerFilterTriageTasksResponse = AssetTaskHistoryV2ApiControllerFilterTriageTasksResponses[keyof AssetTaskHistoryV2ApiControllerFilterTriageTasksResponses];
|
|
12900
|
+
export type AssetTaskHistoryV2ApiControllerFilterAcquisitionTasksData = {
|
|
12901
|
+
body?: never;
|
|
12902
|
+
path: {
|
|
12903
|
+
/**
|
|
12904
|
+
* Asset canonical UUID or name.
|
|
12905
|
+
*/
|
|
12906
|
+
idOrName: string;
|
|
12907
|
+
};
|
|
12908
|
+
query?: {
|
|
12909
|
+
/**
|
|
12910
|
+
* Number of items per page
|
|
12911
|
+
*/
|
|
12912
|
+
pageSize?: number;
|
|
12913
|
+
/**
|
|
12914
|
+
* Page number to retrieve
|
|
12915
|
+
*/
|
|
12916
|
+
pageNumber?: number;
|
|
12917
|
+
/**
|
|
12918
|
+
* Sort direction
|
|
12919
|
+
*/
|
|
12920
|
+
sortType?: 'ASC' | 'DESC';
|
|
12921
|
+
/**
|
|
12922
|
+
* Field name to sort by
|
|
12923
|
+
*/
|
|
12924
|
+
sortBy?: string;
|
|
12925
|
+
};
|
|
12926
|
+
url: '/api/v2/assets/{idOrName}/acquisition';
|
|
12927
|
+
};
|
|
12928
|
+
export type AssetTaskHistoryV2ApiControllerFilterAcquisitionTasksErrors = {
|
|
12929
|
+
/**
|
|
12930
|
+
* Validation error
|
|
12931
|
+
*/
|
|
12932
|
+
400: ApiErrorResponseDto;
|
|
12933
|
+
/**
|
|
12934
|
+
* Authentication required
|
|
12935
|
+
*/
|
|
12936
|
+
401: ApiErrorResponseDto;
|
|
12937
|
+
/**
|
|
12938
|
+
* Insufficient privileges
|
|
12939
|
+
*/
|
|
12940
|
+
403: ApiErrorResponseDto;
|
|
12941
|
+
/**
|
|
12942
|
+
* Resource not found
|
|
12943
|
+
*/
|
|
12944
|
+
404: ApiErrorResponseDto;
|
|
12945
|
+
/**
|
|
12946
|
+
* Conflict with current state
|
|
12947
|
+
*/
|
|
12948
|
+
409: ApiErrorResponseDto;
|
|
12949
|
+
/**
|
|
12950
|
+
* Server error
|
|
12951
|
+
*/
|
|
12952
|
+
500: ApiErrorResponseDto;
|
|
12953
|
+
};
|
|
12954
|
+
export type AssetTaskHistoryV2ApiControllerFilterAcquisitionTasksError = AssetTaskHistoryV2ApiControllerFilterAcquisitionTasksErrors[keyof AssetTaskHistoryV2ApiControllerFilterAcquisitionTasksErrors];
|
|
12955
|
+
export type AssetTaskHistoryV2ApiControllerFilterAcquisitionTasksResponses = {
|
|
12956
|
+
200: ApiPaginatedResponseDto;
|
|
12957
|
+
};
|
|
12958
|
+
export type AssetTaskHistoryV2ApiControllerFilterAcquisitionTasksResponse = AssetTaskHistoryV2ApiControllerFilterAcquisitionTasksResponses[keyof AssetTaskHistoryV2ApiControllerFilterAcquisitionTasksResponses];
|
|
12621
12959
|
export type WebhookFilterParsersData = {
|
|
12622
12960
|
body?: never;
|
|
12623
12961
|
path?: never;
|
|
@@ -13571,19 +13909,6 @@ export type DiskImageAcquisitionTasksDownloadResponses = {
|
|
|
13571
13909
|
*/
|
|
13572
13910
|
200: unknown;
|
|
13573
13911
|
};
|
|
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];
|
|
13587
13912
|
export type ClientOptions = {
|
|
13588
13913
|
baseURL: string;
|
|
13589
13914
|
};
|