@binalyze/air-sdk 5.4.2 → 5.5.0
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.
- package/README.md +50 -8
- package/dist/domains/interact.js +107 -0
- package/dist/domains/interact.js.map +1 -1
- package/dist/domains/tasks.js +75 -0
- package/dist/domains/tasks.js.map +1 -1
- package/dist/sdk/typescript-axios/sdk.gen.d.ts +53 -1
- package/dist/sdk/typescript-axios/sdk.gen.js +231 -4
- package/dist/sdk/typescript-axios/sdk.gen.js.map +1 -1
- package/dist/sdk/typescript-axios/types.gen.d.ts +458 -56
- package/dist/types/interact.d.ts +26 -0
- package/dist/types/tasks.d.ts +25 -0
- package/package.json +1 -1
|
@@ -130,6 +130,10 @@ export type FilterEndpointDto = {
|
|
|
130
130
|
* Filter endpoints excluded from updates
|
|
131
131
|
*/
|
|
132
132
|
excludedFromUpdates?: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Filter by serial number
|
|
135
|
+
*/
|
|
136
|
+
serialNumber?: string;
|
|
133
137
|
};
|
|
134
138
|
export type UpdateEndpointTagsDto = {
|
|
135
139
|
[key: string]: unknown;
|
|
@@ -287,6 +291,10 @@ export type FilterEndpointWithTaskCountDto = {
|
|
|
287
291
|
* Filter endpoints excluded from updates
|
|
288
292
|
*/
|
|
289
293
|
excludedFromUpdates?: boolean;
|
|
294
|
+
/**
|
|
295
|
+
* Filter by serial number
|
|
296
|
+
*/
|
|
297
|
+
serialNumber?: string;
|
|
290
298
|
};
|
|
291
299
|
export type ImportPpcasEndpointDto = {
|
|
292
300
|
[key: string]: unknown;
|
|
@@ -428,36 +436,6 @@ export type TaskResponseDto = {
|
|
|
428
436
|
[key: string]: unknown;
|
|
429
437
|
} | null;
|
|
430
438
|
};
|
|
431
|
-
export type FilterTasksDto = {
|
|
432
|
-
/**
|
|
433
|
-
* Free text to search over tasks
|
|
434
|
-
*/
|
|
435
|
-
searchTerm?: string;
|
|
436
|
-
/**
|
|
437
|
-
* Filter tasks by exact or partial name
|
|
438
|
-
*/
|
|
439
|
-
name?: string;
|
|
440
|
-
/**
|
|
441
|
-
* Filter by task types
|
|
442
|
-
*/
|
|
443
|
-
type?: Array<Array<unknown>>;
|
|
444
|
-
/**
|
|
445
|
-
* Filter by task source
|
|
446
|
-
*/
|
|
447
|
-
source?: Array<Array<unknown>>;
|
|
448
|
-
/**
|
|
449
|
-
* Filter by task status
|
|
450
|
-
*/
|
|
451
|
-
status?: Array<Array<unknown>>;
|
|
452
|
-
/**
|
|
453
|
-
* Filter by task execution type
|
|
454
|
-
*/
|
|
455
|
-
executionType?: Array<Array<unknown>>;
|
|
456
|
-
/**
|
|
457
|
-
* Organization IDs to scope results
|
|
458
|
-
*/
|
|
459
|
-
organizationIds: Array<Array<unknown>>;
|
|
460
|
-
};
|
|
461
439
|
export type TaskListItemDto = {
|
|
462
440
|
/**
|
|
463
441
|
* Unique task identifier
|
|
@@ -548,23 +526,38 @@ export type TaskListItemDto = {
|
|
|
548
526
|
*/
|
|
549
527
|
updatedAt: string;
|
|
550
528
|
};
|
|
551
|
-
export type
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
529
|
+
export type PagingQueryResultDto = {
|
|
530
|
+
[key: string]: unknown;
|
|
531
|
+
};
|
|
532
|
+
export type FilterTasksDto = {
|
|
533
|
+
/**
|
|
534
|
+
* Free text to search over tasks
|
|
535
|
+
*/
|
|
536
|
+
searchTerm?: string;
|
|
537
|
+
/**
|
|
538
|
+
* Filter tasks by exact or partial name
|
|
539
|
+
*/
|
|
540
|
+
name?: string;
|
|
541
|
+
/**
|
|
542
|
+
* Filter by task types
|
|
543
|
+
*/
|
|
544
|
+
type?: Array<Array<unknown>>;
|
|
545
|
+
/**
|
|
546
|
+
* Filter by task source
|
|
547
|
+
*/
|
|
548
|
+
source?: Array<Array<unknown>>;
|
|
549
|
+
/**
|
|
550
|
+
* Filter by task status
|
|
551
|
+
*/
|
|
552
|
+
status?: Array<Array<unknown>>;
|
|
553
|
+
/**
|
|
554
|
+
* Filter by task execution type
|
|
555
|
+
*/
|
|
556
|
+
executionType?: Array<Array<unknown>>;
|
|
557
|
+
/**
|
|
558
|
+
* Organization IDs to scope results
|
|
559
|
+
*/
|
|
560
|
+
organizationIds: Array<Array<unknown>>;
|
|
568
561
|
};
|
|
569
562
|
export type TaskNameDto = {
|
|
570
563
|
[key: string]: unknown;
|
|
@@ -669,7 +662,7 @@ export type FilterEndpointTasksDto = {
|
|
|
669
662
|
/**
|
|
670
663
|
* Task type list
|
|
671
664
|
*/
|
|
672
|
-
type?: Array<'triage' | 'acquisition' | 'shutdown' | 'reboot' | 'uninstall' | 'isolation' | 'cancel' | 'investigation' | 'log-retrieval' | 'auto-tagging' | 'version-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'>;
|
|
665
|
+
type?: Array<'triage' | 'acquisition' | 'shutdown' | 'reboot' | 'uninstall' | 'isolation' | 'cancel' | 'investigation' | 'log-retrieval' | 'auto-tagging' | 'version-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' | 'image-evidence-acquisition'>;
|
|
673
666
|
/**
|
|
674
667
|
* Task status list
|
|
675
668
|
*/
|
|
@@ -717,7 +710,7 @@ export type FilterTaskAssignmentsDto = {
|
|
|
717
710
|
/**
|
|
718
711
|
* Limit assignments to specific endpoint identifiers
|
|
719
712
|
*/
|
|
720
|
-
|
|
713
|
+
droneAnalysisAssignmentId?: Array<string>;
|
|
721
714
|
};
|
|
722
715
|
export type TaskAssignmentListItemDto = {
|
|
723
716
|
/**
|
|
@@ -1801,9 +1794,6 @@ export type FilterTriageRuleTagRequestDto = {
|
|
|
1801
1794
|
*/
|
|
1802
1795
|
withCount?: boolean;
|
|
1803
1796
|
};
|
|
1804
|
-
export type PagingQueryResultDto = {
|
|
1805
|
-
[key: string]: unknown;
|
|
1806
|
-
};
|
|
1807
1797
|
export type SmbRepositoryDto = {
|
|
1808
1798
|
[key: string]: unknown;
|
|
1809
1799
|
};
|
|
@@ -2964,6 +2954,44 @@ export type CreateInteractCommandSnippetRequestDto = {
|
|
|
2964
2954
|
* The organization IDs that can access this snippet
|
|
2965
2955
|
*/
|
|
2966
2956
|
organizationIds: Array<number>;
|
|
2957
|
+
/**
|
|
2958
|
+
* The tag IDs to associate with this snippet
|
|
2959
|
+
*/
|
|
2960
|
+
tagIds?: Array<string>;
|
|
2961
|
+
};
|
|
2962
|
+
export type InteractCommandSnippetTagResponseDto = {
|
|
2963
|
+
/**
|
|
2964
|
+
* The ID of the tag
|
|
2965
|
+
*/
|
|
2966
|
+
_id: string;
|
|
2967
|
+
/**
|
|
2968
|
+
* The name of the tag
|
|
2969
|
+
*/
|
|
2970
|
+
name: string;
|
|
2971
|
+
/**
|
|
2972
|
+
* The organization IDs that can access this tag. Empty array means all organizations
|
|
2973
|
+
*/
|
|
2974
|
+
organizationIds: Array<number>;
|
|
2975
|
+
/**
|
|
2976
|
+
* The username of the user who created the tag
|
|
2977
|
+
*/
|
|
2978
|
+
createdBy: string;
|
|
2979
|
+
/**
|
|
2980
|
+
* The count of the tag
|
|
2981
|
+
*/
|
|
2982
|
+
count: number | null;
|
|
2983
|
+
/**
|
|
2984
|
+
* The creation date of the tag
|
|
2985
|
+
*/
|
|
2986
|
+
createdAt: string;
|
|
2987
|
+
/**
|
|
2988
|
+
* The last update date of the tag
|
|
2989
|
+
*/
|
|
2990
|
+
updatedAt: string;
|
|
2991
|
+
/**
|
|
2992
|
+
* Whether the tag is deletable
|
|
2993
|
+
*/
|
|
2994
|
+
deletable: boolean;
|
|
2967
2995
|
};
|
|
2968
2996
|
export type InteractCommandSnippetResponseDto = {
|
|
2969
2997
|
/**
|
|
@@ -3006,6 +3034,10 @@ export type InteractCommandSnippetResponseDto = {
|
|
|
3006
3034
|
* Whether the command snippet is deletable
|
|
3007
3035
|
*/
|
|
3008
3036
|
deletable: boolean;
|
|
3037
|
+
/**
|
|
3038
|
+
* The tags associated with this snippet
|
|
3039
|
+
*/
|
|
3040
|
+
tags: Array<InteractCommandSnippetTagResponseDto>;
|
|
3009
3041
|
};
|
|
3010
3042
|
export type FilterInteractCommandSnippetsRequestDto = {
|
|
3011
3043
|
/**
|
|
@@ -3028,6 +3060,10 @@ export type FilterInteractCommandSnippetsRequestDto = {
|
|
|
3028
3060
|
* Filter by organization IDs
|
|
3029
3061
|
*/
|
|
3030
3062
|
organizationIds: Array<number>;
|
|
3063
|
+
/**
|
|
3064
|
+
* Filter by tag IDs
|
|
3065
|
+
*/
|
|
3066
|
+
tagIds?: Array<string>;
|
|
3031
3067
|
};
|
|
3032
3068
|
export type UpdateInteractCommandSnippetRequestDto = {
|
|
3033
3069
|
/**
|
|
@@ -3050,6 +3086,10 @@ export type UpdateInteractCommandSnippetRequestDto = {
|
|
|
3050
3086
|
* The organization IDs that can access this snippet
|
|
3051
3087
|
*/
|
|
3052
3088
|
organizationIds: Array<number>;
|
|
3089
|
+
/**
|
|
3090
|
+
* The tag IDs to associate with this snippet
|
|
3091
|
+
*/
|
|
3092
|
+
tagIds?: Array<string>;
|
|
3053
3093
|
};
|
|
3054
3094
|
export type BulkDeleteInteractCommandSnippetsRequestDto = {
|
|
3055
3095
|
/**
|
|
@@ -3057,6 +3097,25 @@ export type BulkDeleteInteractCommandSnippetsRequestDto = {
|
|
|
3057
3097
|
*/
|
|
3058
3098
|
ids: Array<string>;
|
|
3059
3099
|
};
|
|
3100
|
+
export type CreateInteractCommandSnippetTagRequestDto = {
|
|
3101
|
+
/**
|
|
3102
|
+
* The name of the tag
|
|
3103
|
+
*/
|
|
3104
|
+
name: string;
|
|
3105
|
+
/**
|
|
3106
|
+
* The organization IDs that can access this tag. Empty array means all organizations
|
|
3107
|
+
*/
|
|
3108
|
+
organizationIds?: Array<number>;
|
|
3109
|
+
};
|
|
3110
|
+
export type FilterInteractCommandSnippetTagsRequestDto = {
|
|
3111
|
+
[key: string]: unknown;
|
|
3112
|
+
};
|
|
3113
|
+
export type UpdateInteractCommandSnippetTagRequestDto = {
|
|
3114
|
+
/**
|
|
3115
|
+
* The name of the tag
|
|
3116
|
+
*/
|
|
3117
|
+
name: string;
|
|
3118
|
+
};
|
|
3060
3119
|
export type UploadFilePartDto = {
|
|
3061
3120
|
[key: string]: unknown;
|
|
3062
3121
|
};
|
|
@@ -3536,6 +3595,9 @@ export type GetInvestigationTimelineCountByGlobalFilterDto = {
|
|
|
3536
3595
|
export type ExportInvestigationTimelineEventsDto = {
|
|
3537
3596
|
[key: string]: unknown;
|
|
3538
3597
|
};
|
|
3598
|
+
export type FilterInvestigationTaskExecutionLogsDto = {
|
|
3599
|
+
[key: string]: unknown;
|
|
3600
|
+
};
|
|
3539
3601
|
export type UpdateRelayServerTagsDto = {
|
|
3540
3602
|
[key: string]: unknown;
|
|
3541
3603
|
};
|
|
@@ -3958,6 +4020,131 @@ export type CloudAcquisitionProfileFilterRequestDto = {
|
|
|
3958
4020
|
*/
|
|
3959
4021
|
allOrganizations?: boolean;
|
|
3960
4022
|
};
|
|
4023
|
+
export type ImageAcquisitionEvidencesDto = {
|
|
4024
|
+
[key: string]: unknown;
|
|
4025
|
+
};
|
|
4026
|
+
export type CreateImageEvidenceAcquisitionProfileRequestDto = {
|
|
4027
|
+
/**
|
|
4028
|
+
* The name of the image evidence acquisition profile
|
|
4029
|
+
*/
|
|
4030
|
+
name: string;
|
|
4031
|
+
/**
|
|
4032
|
+
* The organization IDs to associate with the image evidence acquisition profile
|
|
4033
|
+
*/
|
|
4034
|
+
organizationIds: Array<string>;
|
|
4035
|
+
/**
|
|
4036
|
+
* Whether to acquire all available image evidence files
|
|
4037
|
+
*/
|
|
4038
|
+
allFiles?: boolean;
|
|
4039
|
+
/**
|
|
4040
|
+
* List of image evidence paths to be acquired (ignored if allFiles is true)
|
|
4041
|
+
*/
|
|
4042
|
+
paths?: Array<string>;
|
|
4043
|
+
/**
|
|
4044
|
+
* The image evidence types to acquire (ignored if allFiles is true)
|
|
4045
|
+
*/
|
|
4046
|
+
imageAcquisitionEvidences?: ImageAcquisitionEvidencesDto;
|
|
4047
|
+
};
|
|
4048
|
+
export type ImageEvidenceAcquisitionProfileResponseDto = {
|
|
4049
|
+
/**
|
|
4050
|
+
* The ID of the item
|
|
4051
|
+
*/
|
|
4052
|
+
_id: string;
|
|
4053
|
+
/**
|
|
4054
|
+
* The name of the image evidence acquisition profile
|
|
4055
|
+
*/
|
|
4056
|
+
name: string;
|
|
4057
|
+
/**
|
|
4058
|
+
* Whether to acquire all available image evidence files
|
|
4059
|
+
*/
|
|
4060
|
+
allFiles: boolean;
|
|
4061
|
+
/**
|
|
4062
|
+
* List of image evidence paths to be acquired
|
|
4063
|
+
*/
|
|
4064
|
+
paths: Array<string>;
|
|
4065
|
+
/**
|
|
4066
|
+
* The selected image evidence types to acquire
|
|
4067
|
+
*/
|
|
4068
|
+
imageAcquisitionEvidences: ImageAcquisitionEvidencesDto;
|
|
4069
|
+
/**
|
|
4070
|
+
* Username of the user who created the profile
|
|
4071
|
+
*/
|
|
4072
|
+
createdBy: string;
|
|
4073
|
+
/**
|
|
4074
|
+
* List of organization IDs associated with the profile
|
|
4075
|
+
*/
|
|
4076
|
+
organizationIds: Array<string>;
|
|
4077
|
+
/**
|
|
4078
|
+
* Average execution time in minutes
|
|
4079
|
+
*/
|
|
4080
|
+
averageTime: number;
|
|
4081
|
+
/**
|
|
4082
|
+
* Username of the last user who used the profile
|
|
4083
|
+
*/
|
|
4084
|
+
lastUsedBy?: string;
|
|
4085
|
+
/**
|
|
4086
|
+
* Timestamp when the profile was last used
|
|
4087
|
+
*/
|
|
4088
|
+
lastUsedAt?: string;
|
|
4089
|
+
/**
|
|
4090
|
+
* Creation timestamp
|
|
4091
|
+
*/
|
|
4092
|
+
createdAt: string;
|
|
4093
|
+
/**
|
|
4094
|
+
* Last update timestamp
|
|
4095
|
+
*/
|
|
4096
|
+
updatedAt: string;
|
|
4097
|
+
/**
|
|
4098
|
+
* Whether the profile can be deleted
|
|
4099
|
+
*/
|
|
4100
|
+
deletable: boolean;
|
|
4101
|
+
};
|
|
4102
|
+
export type UpdateImageEvidenceAcquisitionProfileRequestDto = {
|
|
4103
|
+
/**
|
|
4104
|
+
* The name of the image evidence acquisition profile
|
|
4105
|
+
*/
|
|
4106
|
+
name: string;
|
|
4107
|
+
/**
|
|
4108
|
+
* The organization IDs to associate with the image evidence acquisition profile
|
|
4109
|
+
*/
|
|
4110
|
+
organizationIds: Array<string>;
|
|
4111
|
+
/**
|
|
4112
|
+
* Whether to acquire all available image evidence files
|
|
4113
|
+
*/
|
|
4114
|
+
allFiles?: boolean;
|
|
4115
|
+
/**
|
|
4116
|
+
* List of image evidence paths to be acquired (ignored if allFiles is true)
|
|
4117
|
+
*/
|
|
4118
|
+
paths?: Array<string>;
|
|
4119
|
+
/**
|
|
4120
|
+
* The image evidence types to acquire (ignored if allFiles is true)
|
|
4121
|
+
*/
|
|
4122
|
+
imageAcquisitionEvidences?: ImageAcquisitionEvidencesDto;
|
|
4123
|
+
};
|
|
4124
|
+
export type BulkDeleteImageEvidenceAcquisitionProfileRequestDto = {
|
|
4125
|
+
/**
|
|
4126
|
+
* Array of image evidence acquisition profile IDs to delete
|
|
4127
|
+
*/
|
|
4128
|
+
ids: Array<string>;
|
|
4129
|
+
};
|
|
4130
|
+
export type ImageEvidenceAcquisitionProfileFilterRequestDto = {
|
|
4131
|
+
/**
|
|
4132
|
+
* Filter image evidence acquisition profiles by name
|
|
4133
|
+
*/
|
|
4134
|
+
name?: string;
|
|
4135
|
+
/**
|
|
4136
|
+
* Search term to filter image evidence acquisition profiles
|
|
4137
|
+
*/
|
|
4138
|
+
searchTerm?: string;
|
|
4139
|
+
/**
|
|
4140
|
+
* Filter by organization IDs
|
|
4141
|
+
*/
|
|
4142
|
+
organizationIds?: Array<string>;
|
|
4143
|
+
/**
|
|
4144
|
+
* Include profiles from all organizations
|
|
4145
|
+
*/
|
|
4146
|
+
allOrganizations?: boolean;
|
|
4147
|
+
};
|
|
3961
4148
|
export type DateRangeDtoWritable = {
|
|
3962
4149
|
[key: string]: unknown;
|
|
3963
4150
|
};
|
|
@@ -3994,6 +4181,9 @@ export type UpdateEndpointConnectionRouteDtoWritable = {
|
|
|
3994
4181
|
export type FilterTagsDtoWritable = {
|
|
3995
4182
|
[key: string]: unknown;
|
|
3996
4183
|
};
|
|
4184
|
+
export type PagingQueryResultDtoWritable = {
|
|
4185
|
+
[key: string]: unknown;
|
|
4186
|
+
};
|
|
3997
4187
|
export type TaskNameDtoWritable = {
|
|
3998
4188
|
[key: string]: unknown;
|
|
3999
4189
|
};
|
|
@@ -4239,9 +4429,6 @@ export type TriageEndpointFilterDtoWritable = {
|
|
|
4239
4429
|
export type OffNetworkTriageTaskDtoWritable = {
|
|
4240
4430
|
[key: string]: unknown;
|
|
4241
4431
|
};
|
|
4242
|
-
export type PagingQueryResultDtoWritable = {
|
|
4243
|
-
[key: string]: unknown;
|
|
4244
|
-
};
|
|
4245
4432
|
export type SmbRepositoryDtoWritable = {
|
|
4246
4433
|
[key: string]: unknown;
|
|
4247
4434
|
};
|
|
@@ -4332,6 +4519,9 @@ export type FilterLibraryFilesDtoWritable = {
|
|
|
4332
4519
|
export type UploadLibraryFileDtoWritable = {
|
|
4333
4520
|
[key: string]: unknown;
|
|
4334
4521
|
};
|
|
4522
|
+
export type FilterInteractCommandSnippetTagsRequestDtoWritable = {
|
|
4523
|
+
[key: string]: unknown;
|
|
4524
|
+
};
|
|
4335
4525
|
export type UploadFilePartDtoWritable = {
|
|
4336
4526
|
[key: string]: unknown;
|
|
4337
4527
|
};
|
|
@@ -4470,6 +4660,9 @@ export type GetInvestigationTimelineCountByGlobalFilterDtoWritable = {
|
|
|
4470
4660
|
export type ExportInvestigationTimelineEventsDtoWritable = {
|
|
4471
4661
|
[key: string]: unknown;
|
|
4472
4662
|
};
|
|
4663
|
+
export type FilterInvestigationTaskExecutionLogsDtoWritable = {
|
|
4664
|
+
[key: string]: unknown;
|
|
4665
|
+
};
|
|
4473
4666
|
export type UpdateRelayServerTagsDtoWritable = {
|
|
4474
4667
|
[key: string]: unknown;
|
|
4475
4668
|
};
|
|
@@ -4551,6 +4744,9 @@ export type UpdateScheduledFullTextSearchTaskDtoWritable = {
|
|
|
4551
4744
|
export type M365AcquisitionsDtoWritable = {
|
|
4552
4745
|
[key: string]: unknown;
|
|
4553
4746
|
};
|
|
4747
|
+
export type ImageAcquisitionEvidencesDtoWritable = {
|
|
4748
|
+
[key: string]: unknown;
|
|
4749
|
+
};
|
|
4554
4750
|
export type LoggerDownloadLogsDirData = {
|
|
4555
4751
|
body?: never;
|
|
4556
4752
|
path?: never;
|
|
@@ -5447,7 +5643,7 @@ export type TasksGetManyResponses = {
|
|
|
5447
5643
|
/**
|
|
5448
5644
|
* Tasks retrieved successfully
|
|
5449
5645
|
*/
|
|
5450
|
-
200:
|
|
5646
|
+
200: PagingQueryResultDto;
|
|
5451
5647
|
};
|
|
5452
5648
|
export type TasksGetManyResponse = TasksGetManyResponses[keyof TasksGetManyResponses];
|
|
5453
5649
|
export type TaskRenameTaskData = {
|
|
@@ -8657,6 +8853,79 @@ export type InteractCommandSnippetsBulkDeleteResponses = {
|
|
|
8657
8853
|
*/
|
|
8658
8854
|
200: unknown;
|
|
8659
8855
|
};
|
|
8856
|
+
export type InteractCommandSnippetTagsGetManyData = {
|
|
8857
|
+
body?: never;
|
|
8858
|
+
path?: never;
|
|
8859
|
+
query: {
|
|
8860
|
+
/**
|
|
8861
|
+
* Number of items per page
|
|
8862
|
+
*/
|
|
8863
|
+
pageSize?: number;
|
|
8864
|
+
/**
|
|
8865
|
+
* Page number to retrieve
|
|
8866
|
+
*/
|
|
8867
|
+
pageNumber?: number;
|
|
8868
|
+
/**
|
|
8869
|
+
* Sort direction
|
|
8870
|
+
*/
|
|
8871
|
+
sortType?: 'ASC' | 'DESC';
|
|
8872
|
+
/**
|
|
8873
|
+
* Field name to sort by
|
|
8874
|
+
*/
|
|
8875
|
+
sortBy?: string;
|
|
8876
|
+
filter: FilterInteractCommandSnippetTagsRequestDtoWritable;
|
|
8877
|
+
};
|
|
8878
|
+
url: '/api/public/interact/command-snippet-tags';
|
|
8879
|
+
};
|
|
8880
|
+
export type InteractCommandSnippetTagsGetManyResponses = {
|
|
8881
|
+
/**
|
|
8882
|
+
* The records have been successfully retrieved.
|
|
8883
|
+
*/
|
|
8884
|
+
200: PagingQueryResultDto;
|
|
8885
|
+
};
|
|
8886
|
+
export type InteractCommandSnippetTagsGetManyResponse = InteractCommandSnippetTagsGetManyResponses[keyof InteractCommandSnippetTagsGetManyResponses];
|
|
8887
|
+
export type InteractCommandSnippetTagsCreateData = {
|
|
8888
|
+
body: CreateInteractCommandSnippetTagRequestDto;
|
|
8889
|
+
path?: never;
|
|
8890
|
+
query?: never;
|
|
8891
|
+
url: '/api/public/interact/command-snippet-tags';
|
|
8892
|
+
};
|
|
8893
|
+
export type InteractCommandSnippetTagsCreateResponses = {
|
|
8894
|
+
/**
|
|
8895
|
+
* The record has been successfully created.
|
|
8896
|
+
*/
|
|
8897
|
+
200: InteractCommandSnippetTagResponseDto;
|
|
8898
|
+
};
|
|
8899
|
+
export type InteractCommandSnippetTagsCreateResponse = InteractCommandSnippetTagsCreateResponses[keyof InteractCommandSnippetTagsCreateResponses];
|
|
8900
|
+
export type InteractCommandSnippetTagsDeleteData = {
|
|
8901
|
+
body?: never;
|
|
8902
|
+
path: {
|
|
8903
|
+
id: string;
|
|
8904
|
+
};
|
|
8905
|
+
query?: never;
|
|
8906
|
+
url: '/api/public/interact/command-snippet-tags/{id}';
|
|
8907
|
+
};
|
|
8908
|
+
export type InteractCommandSnippetTagsDeleteResponses = {
|
|
8909
|
+
/**
|
|
8910
|
+
* The record has been successfully deleted.
|
|
8911
|
+
*/
|
|
8912
|
+
200: unknown;
|
|
8913
|
+
};
|
|
8914
|
+
export type InteractCommandSnippetTagsUpdateData = {
|
|
8915
|
+
body: UpdateInteractCommandSnippetTagRequestDto;
|
|
8916
|
+
path: {
|
|
8917
|
+
id: string;
|
|
8918
|
+
};
|
|
8919
|
+
query?: never;
|
|
8920
|
+
url: '/api/public/interact/command-snippet-tags/{id}';
|
|
8921
|
+
};
|
|
8922
|
+
export type InteractCommandSnippetTagsUpdateResponses = {
|
|
8923
|
+
/**
|
|
8924
|
+
* The record has been successfully updated.
|
|
8925
|
+
*/
|
|
8926
|
+
200: InteractCommandSnippetTagResponseDto;
|
|
8927
|
+
};
|
|
8928
|
+
export type InteractCommandSnippetTagsUpdateResponse = InteractCommandSnippetTagsUpdateResponses[keyof InteractCommandSnippetTagsUpdateResponses];
|
|
8660
8929
|
export type MultipartUploadInitializeHeadData = {
|
|
8661
8930
|
body?: never;
|
|
8662
8931
|
path?: never;
|
|
@@ -9869,6 +10138,30 @@ export type InvestigationTimelineCreateExportRequestForTimelineData = {
|
|
|
9869
10138
|
export type InvestigationTimelineCreateExportRequestForTimelineResponses = {
|
|
9870
10139
|
201: unknown;
|
|
9871
10140
|
};
|
|
10141
|
+
export type InvestigationTaskExecutionLogGetTaskExecutionLogsData = {
|
|
10142
|
+
body?: never;
|
|
10143
|
+
path: {
|
|
10144
|
+
investigationId: string;
|
|
10145
|
+
};
|
|
10146
|
+
query?: never;
|
|
10147
|
+
url: '/api/public/investigation-hub/investigations/{investigationId}/task-execution-log-stats';
|
|
10148
|
+
};
|
|
10149
|
+
export type InvestigationTaskExecutionLogGetTaskExecutionLogsResponses = {
|
|
10150
|
+
200: unknown;
|
|
10151
|
+
};
|
|
10152
|
+
export type InvestigationTaskExecutionLogFilterTaskExecutionLogsData = {
|
|
10153
|
+
body: FilterInvestigationTaskExecutionLogsDtoWritable;
|
|
10154
|
+
path: {
|
|
10155
|
+
investigationId: string;
|
|
10156
|
+
platform: string;
|
|
10157
|
+
taskExecutionLogType: string;
|
|
10158
|
+
};
|
|
10159
|
+
query?: never;
|
|
10160
|
+
url: '/api/public/investigation-hub/investigations/{investigationId}/{platform}/{taskExecutionLogType}/task-execution-logs';
|
|
10161
|
+
};
|
|
10162
|
+
export type InvestigationTaskExecutionLogFilterTaskExecutionLogsResponses = {
|
|
10163
|
+
201: unknown;
|
|
10164
|
+
};
|
|
9872
10165
|
export type RelayServerUpdateTagsData = {
|
|
9873
10166
|
body: UpdateRelayServerTagsDtoWritable;
|
|
9874
10167
|
path?: never;
|
|
@@ -10799,6 +11092,115 @@ export type CloudAcquisitionProfilesUpdateResponses = {
|
|
|
10799
11092
|
200: CloudAcquisitionProfileResponseDto;
|
|
10800
11093
|
};
|
|
10801
11094
|
export type CloudAcquisitionProfilesUpdateResponse = CloudAcquisitionProfilesUpdateResponses[keyof CloudAcquisitionProfilesUpdateResponses];
|
|
11095
|
+
export type ImageEvidenceAcquisitionProfilesGetManyData = {
|
|
11096
|
+
body?: never;
|
|
11097
|
+
path?: never;
|
|
11098
|
+
query: {
|
|
11099
|
+
/**
|
|
11100
|
+
* Number of items per page
|
|
11101
|
+
*/
|
|
11102
|
+
pageSize?: number;
|
|
11103
|
+
/**
|
|
11104
|
+
* Page number to retrieve
|
|
11105
|
+
*/
|
|
11106
|
+
pageNumber?: number;
|
|
11107
|
+
/**
|
|
11108
|
+
* Sort direction
|
|
11109
|
+
*/
|
|
11110
|
+
sortType?: 'ASC' | 'DESC';
|
|
11111
|
+
/**
|
|
11112
|
+
* Field name to sort by
|
|
11113
|
+
*/
|
|
11114
|
+
sortBy?: string;
|
|
11115
|
+
filter: ImageEvidenceAcquisitionProfileFilterRequestDto;
|
|
11116
|
+
};
|
|
11117
|
+
url: '/api/public/image-evidence-acquisition-profiles';
|
|
11118
|
+
};
|
|
11119
|
+
export type ImageEvidenceAcquisitionProfilesGetManyResponses = {
|
|
11120
|
+
/**
|
|
11121
|
+
* The image evidence acquisition profiles have been successfully retrieved.
|
|
11122
|
+
*/
|
|
11123
|
+
200: PagingQueryResultDto;
|
|
11124
|
+
};
|
|
11125
|
+
export type ImageEvidenceAcquisitionProfilesGetManyResponse = ImageEvidenceAcquisitionProfilesGetManyResponses[keyof ImageEvidenceAcquisitionProfilesGetManyResponses];
|
|
11126
|
+
export type ImageEvidenceAcquisitionProfilesCreateData = {
|
|
11127
|
+
body: CreateImageEvidenceAcquisitionProfileRequestDto;
|
|
11128
|
+
path?: never;
|
|
11129
|
+
query?: never;
|
|
11130
|
+
url: '/api/public/image-evidence-acquisition-profiles';
|
|
11131
|
+
};
|
|
11132
|
+
export type ImageEvidenceAcquisitionProfilesCreateResponses = {
|
|
11133
|
+
/**
|
|
11134
|
+
* The image evidence acquisition profile has been successfully created.
|
|
11135
|
+
*/
|
|
11136
|
+
200: ImageEvidenceAcquisitionProfileResponseDto;
|
|
11137
|
+
};
|
|
11138
|
+
export type ImageEvidenceAcquisitionProfilesCreateResponse = ImageEvidenceAcquisitionProfilesCreateResponses[keyof ImageEvidenceAcquisitionProfilesCreateResponses];
|
|
11139
|
+
export type ImageEvidenceAcquisitionProfilesDeleteData = {
|
|
11140
|
+
body?: never;
|
|
11141
|
+
path: {
|
|
11142
|
+
/**
|
|
11143
|
+
* The unique identifier of the image evidence acquisition profile
|
|
11144
|
+
*/
|
|
11145
|
+
id: string;
|
|
11146
|
+
};
|
|
11147
|
+
query?: never;
|
|
11148
|
+
url: '/api/public/image-evidence-acquisition-profiles/{id}';
|
|
11149
|
+
};
|
|
11150
|
+
export type ImageEvidenceAcquisitionProfilesDeleteResponses = {
|
|
11151
|
+
/**
|
|
11152
|
+
* The image evidence acquisition profile by ID has been successfully deleted.
|
|
11153
|
+
*/
|
|
11154
|
+
200: unknown;
|
|
11155
|
+
};
|
|
11156
|
+
export type ImageEvidenceAcquisitionProfilesGetOneData = {
|
|
11157
|
+
body?: never;
|
|
11158
|
+
path: {
|
|
11159
|
+
/**
|
|
11160
|
+
* The unique identifier of the image evidence acquisition profile
|
|
11161
|
+
*/
|
|
11162
|
+
id: string;
|
|
11163
|
+
};
|
|
11164
|
+
query?: never;
|
|
11165
|
+
url: '/api/public/image-evidence-acquisition-profiles/{id}';
|
|
11166
|
+
};
|
|
11167
|
+
export type ImageEvidenceAcquisitionProfilesGetOneResponses = {
|
|
11168
|
+
/**
|
|
11169
|
+
* The image evidence acquisition profile has been successfully retrieved.
|
|
11170
|
+
*/
|
|
11171
|
+
200: ImageEvidenceAcquisitionProfileResponseDto;
|
|
11172
|
+
};
|
|
11173
|
+
export type ImageEvidenceAcquisitionProfilesGetOneResponse = ImageEvidenceAcquisitionProfilesGetOneResponses[keyof ImageEvidenceAcquisitionProfilesGetOneResponses];
|
|
11174
|
+
export type ImageEvidenceAcquisitionProfilesUpdateData = {
|
|
11175
|
+
body: UpdateImageEvidenceAcquisitionProfileRequestDto;
|
|
11176
|
+
path: {
|
|
11177
|
+
/**
|
|
11178
|
+
* The unique identifier of the image evidence acquisition profile
|
|
11179
|
+
*/
|
|
11180
|
+
id: string;
|
|
11181
|
+
};
|
|
11182
|
+
query?: never;
|
|
11183
|
+
url: '/api/public/image-evidence-acquisition-profiles/{id}';
|
|
11184
|
+
};
|
|
11185
|
+
export type ImageEvidenceAcquisitionProfilesUpdateResponses = {
|
|
11186
|
+
/**
|
|
11187
|
+
* The image evidence acquisition profile has been successfully updated.
|
|
11188
|
+
*/
|
|
11189
|
+
200: ImageEvidenceAcquisitionProfileResponseDto;
|
|
11190
|
+
};
|
|
11191
|
+
export type ImageEvidenceAcquisitionProfilesUpdateResponse = ImageEvidenceAcquisitionProfilesUpdateResponses[keyof ImageEvidenceAcquisitionProfilesUpdateResponses];
|
|
11192
|
+
export type ImageEvidenceAcquisitionProfilesDeleteBulkData = {
|
|
11193
|
+
body: BulkDeleteImageEvidenceAcquisitionProfileRequestDto;
|
|
11194
|
+
path?: never;
|
|
11195
|
+
query?: never;
|
|
11196
|
+
url: '/api/public/image-evidence-acquisition-profiles/bulk-delete';
|
|
11197
|
+
};
|
|
11198
|
+
export type ImageEvidenceAcquisitionProfilesDeleteBulkResponses = {
|
|
11199
|
+
/**
|
|
11200
|
+
* The image evidence acquisition profiles have been successfully deleted.
|
|
11201
|
+
*/
|
|
11202
|
+
200: unknown;
|
|
11203
|
+
};
|
|
10802
11204
|
export type ClientOptions = {
|
|
10803
11205
|
baseURL: 'https://dev-air.com' | (string & {});
|
|
10804
11206
|
};
|
package/dist/types/interact.d.ts
CHANGED
|
@@ -50,6 +50,31 @@ export interface IInterruptInteractCommandOptions {
|
|
|
50
50
|
export interface ICloseInteractSessionOptions {
|
|
51
51
|
sessionId: InteractSessionCloseData['path']['sessionId'];
|
|
52
52
|
}
|
|
53
|
+
export interface IWaitForSessionOptions {
|
|
54
|
+
sessionId: string;
|
|
55
|
+
taskId: string;
|
|
56
|
+
/**
|
|
57
|
+
* Timeout in seconds. If 0 or undefined, waits indefinitely.
|
|
58
|
+
*/
|
|
59
|
+
timeoutSeconds?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Poll interval in milliseconds. Defaults to 60000 (1 minute).
|
|
62
|
+
*/
|
|
63
|
+
pollIntervalMs?: number;
|
|
64
|
+
}
|
|
65
|
+
export type WaitForSessionStatus = 'live' | 'completed' | 'cancelled' | 'failed' | 'timeout';
|
|
66
|
+
export interface IWaitForSessionResult {
|
|
67
|
+
sessionId: string;
|
|
68
|
+
taskId: string;
|
|
69
|
+
status: WaitForSessionStatus;
|
|
70
|
+
message: string;
|
|
71
|
+
taskStatus?: string;
|
|
72
|
+
taskType?: string;
|
|
73
|
+
organizationId?: number;
|
|
74
|
+
createdAt?: string;
|
|
75
|
+
updatedAt?: string;
|
|
76
|
+
error?: string;
|
|
77
|
+
}
|
|
53
78
|
export interface IInteractAPI {
|
|
54
79
|
getCommands: () => Promise<IInteractCommand[]>;
|
|
55
80
|
createShellSession: (options: CreateInteractShellSessionOptions) => Promise<InteractShellSession>;
|
|
@@ -58,5 +83,6 @@ export interface IInteractAPI {
|
|
|
58
83
|
getCommandMessage: (options: IGetInteractCommandMessageOptions) => Promise<InteractCommandMessage>;
|
|
59
84
|
interruptCommand: (options: IInterruptInteractCommandOptions) => Promise<InteractInterruptCommandResult>;
|
|
60
85
|
closeSession: (options: ICloseInteractSessionOptions) => Promise<ICloseSessionResult>;
|
|
86
|
+
waitForSession: (options: IWaitForSessionOptions) => Promise<IWaitForSessionResult>;
|
|
61
87
|
}
|
|
62
88
|
export {};
|