@binalyze/air-sdk 5.6.2 → 5.8.4

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.
@@ -138,6 +138,10 @@ export type FilterEndpointDto = {
138
138
  * Filter by asset type (endpoint or disk-image only)
139
139
  */
140
140
  assetType?: Array<'disk-image' | 'endpoint' | 'cloud-asset'>;
141
+ /**
142
+ * Filter by maintenance mode
143
+ */
144
+ maintenanceMode?: boolean;
141
145
  };
142
146
  export type UpdateEndpointTagsDto = {
143
147
  [key: string]: unknown;
@@ -303,6 +307,10 @@ export type FilterEndpointWithTaskCountDto = {
303
307
  * Filter by asset type (endpoint or disk-image only)
304
308
  */
305
309
  assetType?: Array<'disk-image' | 'endpoint' | 'cloud-asset'>;
310
+ /**
311
+ * Filter by maintenance mode
312
+ */
313
+ maintenanceMode?: boolean;
306
314
  };
307
315
  export type ImportPpcasEndpointDto = {
308
316
  [key: string]: unknown;
@@ -345,6 +353,12 @@ export type DeployCloudAssetsDto = {
345
353
  export type UpdateEndpointConnectionRouteDto = {
346
354
  [key: string]: unknown;
347
355
  };
356
+ export type SetMaintenanceModeDto = {
357
+ /**
358
+ * Whether maintenance mode should be enabled (true) or disabled (false)
359
+ */
360
+ enabled: boolean;
361
+ };
348
362
  export type FilterTagsDto = {
349
363
  [key: string]: unknown;
350
364
  };
@@ -899,6 +913,9 @@ export type InteractDto = {
899
913
  export type FleetAiSettingsDto = {
900
914
  [key: string]: unknown;
901
915
  };
916
+ export type CaseAutoCloseSettingsDto = {
917
+ [key: string]: unknown;
918
+ };
902
919
  export type IpRestrictionDto = {
903
920
  [key: string]: unknown;
904
921
  };
@@ -1061,6 +1078,9 @@ export type ChangePasswordRequestDto = {
1061
1078
  export type UpdateUserDto = {
1062
1079
  [key: string]: unknown;
1063
1080
  };
1081
+ export type PartialUpdateUserDto = {
1082
+ [key: string]: unknown;
1083
+ };
1064
1084
  export type FilterUsersRequestDto = {
1065
1085
  /**
1066
1086
  * Free-text search across username, email and profile fields
@@ -2522,6 +2542,12 @@ export type CaseResponseDto = {
2522
2542
  * Total number of endpoints linked to the case
2523
2543
  */
2524
2544
  totalEndpoints: number;
2545
+ /**
2546
+ * Number of days to the case will be closed
2547
+ */
2548
+ closingInDays?: {
2549
+ [key: string]: unknown;
2550
+ } | null;
2525
2551
  };
2526
2552
  export type CaseTasksPageDto = {
2527
2553
  entities: Array<TaskAssignmentListItemDto>;
@@ -3193,6 +3219,10 @@ export type ApiTokenResponseDto = {
3193
3219
  * The last used date of the API token
3194
3220
  */
3195
3221
  lastUsedAt: string | null;
3222
+ /**
3223
+ * Usage count of the API token
3224
+ */
3225
+ usageCount: number;
3196
3226
  /**
3197
3227
  * The role ID of the API token
3198
3228
  */
@@ -3215,6 +3245,10 @@ export type CreateApiTokenRequestDto = {
3215
3245
  * The role ID of the API token
3216
3246
  */
3217
3247
  roleId?: string;
3248
+ /**
3249
+ * The role tag of the API token
3250
+ */
3251
+ roleTag?: string;
3218
3252
  };
3219
3253
  export type UpdateApiTokenRequestDto = {
3220
3254
  /**
@@ -3229,6 +3263,10 @@ export type UpdateApiTokenRequestDto = {
3229
3263
  * The role ID of the API token
3230
3264
  */
3231
3265
  roleId?: string;
3266
+ /**
3267
+ * The role tag of the API token
3268
+ */
3269
+ roleTag?: string;
3232
3270
  };
3233
3271
  export type BulkDeleteApiTokensRequestDto = {
3234
3272
  /**
@@ -3287,7 +3325,7 @@ export type CloudVendor = 'aws' | 'azure';
3287
3325
  export type UpdateInvestigationDto = {
3288
3326
  [key: string]: unknown;
3289
3327
  };
3290
- export type FilterInvestigationSectionDataDto = {
3328
+ export type FilterInvestigationEvidenceDataDto = {
3291
3329
  [key: string]: unknown;
3292
3330
  };
3293
3331
  export type ExportInvestigationFlaggedEvidenceDto = {
@@ -3810,6 +3848,12 @@ export type AutomationDto = {
3810
3848
  export type FilterAutomationsDto = {
3811
3849
  [key: string]: unknown;
3812
3850
  };
3851
+ export type SendHttpRequestConfigDto = {
3852
+ [key: string]: unknown;
3853
+ };
3854
+ export type TestSendEmailDto = {
3855
+ [key: string]: unknown;
3856
+ };
3813
3857
  export type CreateFullTextSearchProfileRequestDto = {
3814
3858
  /**
3815
3859
  * The name of the full text search profile
@@ -4033,11 +4077,11 @@ export type ImageAcquisitionEvidencesDto = {
4033
4077
  };
4034
4078
  export type CreateImageEvidenceAcquisitionProfileRequestDto = {
4035
4079
  /**
4036
- * The name of the image evidence acquisition profile
4080
+ * The name of the disk image acquisition profile
4037
4081
  */
4038
4082
  name: string;
4039
4083
  /**
4040
- * The organization IDs to associate with the image evidence acquisition profile
4084
+ * The organization IDs to associate with the disk image acquisition profile
4041
4085
  */
4042
4086
  organizationIds: Array<string>;
4043
4087
  /**
@@ -4059,7 +4103,7 @@ export type ImageEvidenceAcquisitionProfileResponseDto = {
4059
4103
  */
4060
4104
  _id: string;
4061
4105
  /**
4062
- * The name of the image evidence acquisition profile
4106
+ * The name of the disk image acquisition profile
4063
4107
  */
4064
4108
  name: string;
4065
4109
  /**
@@ -4109,11 +4153,11 @@ export type ImageEvidenceAcquisitionProfileResponseDto = {
4109
4153
  };
4110
4154
  export type UpdateImageEvidenceAcquisitionProfileRequestDto = {
4111
4155
  /**
4112
- * The name of the image evidence acquisition profile
4156
+ * The name of the disk image acquisition profile
4113
4157
  */
4114
4158
  name: string;
4115
4159
  /**
4116
- * The organization IDs to associate with the image evidence acquisition profile
4160
+ * The organization IDs to associate with the disk image acquisition profile
4117
4161
  */
4118
4162
  organizationIds: Array<string>;
4119
4163
  /**
@@ -4131,17 +4175,17 @@ export type UpdateImageEvidenceAcquisitionProfileRequestDto = {
4131
4175
  };
4132
4176
  export type BulkDeleteImageEvidenceAcquisitionProfileRequestDto = {
4133
4177
  /**
4134
- * Array of image evidence acquisition profile IDs to delete
4178
+ * Array of disk image acquisition profile IDs to delete
4135
4179
  */
4136
4180
  ids: Array<string>;
4137
4181
  };
4138
4182
  export type ImageEvidenceAcquisitionProfileFilterRequestDto = {
4139
4183
  /**
4140
- * Filter image evidence acquisition profiles by name
4184
+ * Filter disk image acquisition profiles by name
4141
4185
  */
4142
4186
  name?: string;
4143
4187
  /**
4144
- * Search term to filter image evidence acquisition profiles
4188
+ * Search term to filter disk image acquisition profiles
4145
4189
  */
4146
4190
  searchTerm?: string;
4147
4191
  /**
@@ -4279,6 +4323,9 @@ export type InteractDtoWritable = {
4279
4323
  export type FleetAiSettingsDtoWritable = {
4280
4324
  [key: string]: unknown;
4281
4325
  };
4326
+ export type CaseAutoCloseSettingsDtoWritable = {
4327
+ [key: string]: unknown;
4328
+ };
4282
4329
  export type IpRestrictionDtoWritable = {
4283
4330
  [key: string]: unknown;
4284
4331
  };
@@ -4380,6 +4427,9 @@ export type CreateUserDtoWritable = {
4380
4427
  export type UpdateUserDtoWritable = {
4381
4428
  [key: string]: unknown;
4382
4429
  };
4430
+ export type PartialUpdateUserDtoWritable = {
4431
+ [key: string]: unknown;
4432
+ };
4383
4433
  export type CreateApiUserDtoWritable = {
4384
4434
  [key: string]: unknown;
4385
4435
  };
@@ -4539,7 +4589,7 @@ export type FilterCloudAccountsDtoWritable = {
4539
4589
  export type UpdateInvestigationDtoWritable = {
4540
4590
  [key: string]: unknown;
4541
4591
  };
4542
- export type FilterInvestigationSectionDataDtoWritable = {
4592
+ export type FilterInvestigationEvidenceDataDtoWritable = {
4543
4593
  [key: string]: unknown;
4544
4594
  };
4545
4595
  export type ExportInvestigationFlaggedEvidenceDtoWritable = {
@@ -4740,6 +4790,12 @@ export type AutomationDtoWritable = {
4740
4790
  export type FilterAutomationsDtoWritable = {
4741
4791
  [key: string]: unknown;
4742
4792
  };
4793
+ export type SendHttpRequestConfigDtoWritable = {
4794
+ [key: string]: unknown;
4795
+ };
4796
+ export type TestSendEmailDtoWritable = {
4797
+ [key: string]: unknown;
4798
+ };
4743
4799
  export type KeywordInfoDtoWritable = {
4744
4800
  [key: string]: unknown;
4745
4801
  };
@@ -5519,6 +5575,28 @@ export type EndpointUpdateEndpointConnectionRoute1Data = {
5519
5575
  export type EndpointUpdateEndpointConnectionRoute1Responses = {
5520
5576
  200: unknown;
5521
5577
  };
5578
+ export type EndpointSetMaintenanceModeData = {
5579
+ body: SetMaintenanceModeDto;
5580
+ path: {
5581
+ endpointId: string;
5582
+ };
5583
+ query?: never;
5584
+ url: '/api/public/endpoints/{endpointId}/maintenance-mode';
5585
+ };
5586
+ export type EndpointSetMaintenanceModeResponses = {
5587
+ 201: unknown;
5588
+ };
5589
+ export type EndpointSetMaintenanceMode1Data = {
5590
+ body: SetMaintenanceModeDto;
5591
+ path: {
5592
+ endpointId: string;
5593
+ };
5594
+ query?: never;
5595
+ url: '/api/public/assets/{endpointId}/maintenance-mode';
5596
+ };
5597
+ export type EndpointSetMaintenanceMode1Responses = {
5598
+ 201: unknown;
5599
+ };
5522
5600
  export type EndpointTagFilterTagsData = {
5523
5601
  body?: never;
5524
5602
  path?: never;
@@ -6278,6 +6356,15 @@ export type SettingsSaveFleetAiData = {
6278
6356
  export type SettingsSaveFleetAiResponses = {
6279
6357
  200: unknown;
6280
6358
  };
6359
+ export type SettingsSaveCaseAutoCloseData = {
6360
+ body: CaseAutoCloseSettingsDtoWritable;
6361
+ path?: never;
6362
+ query?: never;
6363
+ url: '/api/public/settings/case-auto-close';
6364
+ };
6365
+ export type SettingsSaveCaseAutoCloseResponses = {
6366
+ 200: unknown;
6367
+ };
6281
6368
  export type SettingsValidateIpRestrictionData = {
6282
6369
  body: IpRestrictionDtoWritable;
6283
6370
  path?: never;
@@ -6530,6 +6617,20 @@ export type UserManagementUsersGetResponses = {
6530
6617
  200: UserDto;
6531
6618
  };
6532
6619
  export type UserManagementUsersGetResponse = UserManagementUsersGetResponses[keyof UserManagementUsersGetResponses];
6620
+ export type UserPatchUserData = {
6621
+ body: PartialUpdateUserDtoWritable;
6622
+ path: {
6623
+ /**
6624
+ * User ID
6625
+ */
6626
+ id: string;
6627
+ };
6628
+ query?: never;
6629
+ url: '/api/public/user-management/users/{id}';
6630
+ };
6631
+ export type UserPatchUserResponses = {
6632
+ 200: unknown;
6633
+ };
6533
6634
  export type UserUpdateUserData = {
6534
6635
  body: UpdateUserDtoWritable;
6535
6636
  path: {
@@ -9308,7 +9409,7 @@ export type InvestigationGetInvestigationMigrationsSummaryData = {
9308
9409
  export type InvestigationGetInvestigationMigrationsSummaryResponses = {
9309
9410
  200: unknown;
9310
9411
  };
9311
- export type InvestigationGetSectionDataStructureData = {
9412
+ export type InvestigationGetEvidenceDataStructureData = {
9312
9413
  body?: never;
9313
9414
  path: {
9314
9415
  investigationId: string;
@@ -9318,11 +9419,11 @@ export type InvestigationGetSectionDataStructureData = {
9318
9419
  query?: never;
9319
9420
  url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}/structure';
9320
9421
  };
9321
- export type InvestigationGetSectionDataStructureResponses = {
9422
+ export type InvestigationGetEvidenceDataStructureResponses = {
9322
9423
  200: unknown;
9323
9424
  };
9324
- export type InvestigationGetSectionDataData = {
9325
- body: FilterInvestigationSectionDataDtoWritable;
9425
+ export type InvestigationGetEvidenceDataData = {
9426
+ body: FilterInvestigationEvidenceDataDtoWritable;
9326
9427
  path: {
9327
9428
  investigationId: string;
9328
9429
  platform: string;
@@ -9331,7 +9432,20 @@ export type InvestigationGetSectionDataData = {
9331
9432
  query?: never;
9332
9433
  url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}';
9333
9434
  };
9334
- export type InvestigationGetSectionDataResponses = {
9435
+ export type InvestigationGetEvidenceDataResponses = {
9436
+ 201: unknown;
9437
+ };
9438
+ export type InvestigationGetEvidenceRelationDataData = {
9439
+ body: FilterInvestigationEvidenceDataDtoWritable;
9440
+ path: {
9441
+ investigationId: string;
9442
+ platform: string;
9443
+ evidenceCategory: string;
9444
+ };
9445
+ query?: never;
9446
+ url: '/api/public/investigation-hub/investigations/{investigationId}/platforms/{platform}/evidence-categories/{evidenceCategory}/relation-data';
9447
+ };
9448
+ export type InvestigationGetEvidenceRelationDataResponses = {
9335
9449
  201: unknown;
9336
9450
  };
9337
9451
  export type InvestigationExportFlagsData = {
@@ -9358,7 +9472,7 @@ export type InvestigationCreateExportRequestForFlagsData = {
9358
9472
  export type InvestigationCreateExportRequestForFlagsResponses = {
9359
9473
  201: unknown;
9360
9474
  };
9361
- export type InvestigationExportSectionDataData = {
9475
+ export type InvestigationExportEvidenceDataData = {
9362
9476
  body?: never;
9363
9477
  path: {
9364
9478
  investigationId: string;
@@ -9370,7 +9484,7 @@ export type InvestigationExportSectionDataData = {
9370
9484
  };
9371
9485
  url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}/export';
9372
9486
  };
9373
- export type InvestigationExportSectionDataResponses = {
9487
+ export type InvestigationExportEvidenceDataResponses = {
9374
9488
  200: unknown;
9375
9489
  };
9376
9490
  export type InvestigationCreateExportRequestForSectionDataData = {
@@ -10799,6 +10913,42 @@ export type AutomationHubGetActionTypesData = {
10799
10913
  export type AutomationHubGetActionTypesResponses = {
10800
10914
  200: unknown;
10801
10915
  };
10916
+ export type AutomationHubTestSendHttpRequestData = {
10917
+ body: SendHttpRequestConfigDtoWritable;
10918
+ path?: never;
10919
+ query?: never;
10920
+ url: '/api/public/automation-hub/types/action/send-http-request/test';
10921
+ };
10922
+ export type AutomationHubTestSendHttpRequestErrors = {
10923
+ /**
10924
+ * HTTP request failed
10925
+ */
10926
+ 400: unknown;
10927
+ };
10928
+ export type AutomationHubTestSendHttpRequestResponses = {
10929
+ /**
10930
+ * HTTP request test succeeded
10931
+ */
10932
+ 200: unknown;
10933
+ };
10934
+ export type AutomationHubTestSendEmailData = {
10935
+ body: TestSendEmailDtoWritable;
10936
+ path?: never;
10937
+ query?: never;
10938
+ url: '/api/public/automation-hub/types/action/send-email/test';
10939
+ };
10940
+ export type AutomationHubTestSendEmailErrors = {
10941
+ /**
10942
+ * Email test failed
10943
+ */
10944
+ 400: unknown;
10945
+ };
10946
+ export type AutomationHubTestSendEmailResponses = {
10947
+ /**
10948
+ * Email test succeeded
10949
+ */
10950
+ 200: unknown;
10951
+ };
10802
10952
  export type AutomationHubGetTriggerTypesData = {
10803
10953
  body?: never;
10804
10954
  path?: never;
@@ -11118,11 +11268,11 @@ export type ImageEvidenceAcquisitionProfilesGetManyData = {
11118
11268
  sortBy?: string;
11119
11269
  filter: ImageEvidenceAcquisitionProfileFilterRequestDto;
11120
11270
  };
11121
- url: '/api/public/image-evidence-acquisition-profiles';
11271
+ url: '/api/public/disk-image-acquisition-profiles';
11122
11272
  };
11123
11273
  export type ImageEvidenceAcquisitionProfilesGetManyResponses = {
11124
11274
  /**
11125
- * The image evidence acquisition profiles have been successfully retrieved.
11275
+ * The disk image acquisition profiles have been successfully retrieved.
11126
11276
  */
11127
11277
  200: PagingQueryResultDto;
11128
11278
  };
@@ -11131,11 +11281,11 @@ export type ImageEvidenceAcquisitionProfilesCreateData = {
11131
11281
  body: CreateImageEvidenceAcquisitionProfileRequestDto;
11132
11282
  path?: never;
11133
11283
  query?: never;
11134
- url: '/api/public/image-evidence-acquisition-profiles';
11284
+ url: '/api/public/disk-image-acquisition-profiles';
11135
11285
  };
11136
11286
  export type ImageEvidenceAcquisitionProfilesCreateResponses = {
11137
11287
  /**
11138
- * The image evidence acquisition profile has been successfully created.
11288
+ * The disk image acquisition profile has been successfully created.
11139
11289
  */
11140
11290
  200: ImageEvidenceAcquisitionProfileResponseDto;
11141
11291
  };
@@ -11144,16 +11294,16 @@ export type ImageEvidenceAcquisitionProfilesDeleteData = {
11144
11294
  body?: never;
11145
11295
  path: {
11146
11296
  /**
11147
- * The unique identifier of the image evidence acquisition profile
11297
+ * The unique identifier of the disk image acquisition profile
11148
11298
  */
11149
11299
  id: string;
11150
11300
  };
11151
11301
  query?: never;
11152
- url: '/api/public/image-evidence-acquisition-profiles/{id}';
11302
+ url: '/api/public/disk-image-acquisition-profiles/{id}';
11153
11303
  };
11154
11304
  export type ImageEvidenceAcquisitionProfilesDeleteResponses = {
11155
11305
  /**
11156
- * The image evidence acquisition profile by ID has been successfully deleted.
11306
+ * The disk image acquisition profile by ID has been successfully deleted.
11157
11307
  */
11158
11308
  200: unknown;
11159
11309
  };
@@ -11161,16 +11311,16 @@ export type ImageEvidenceAcquisitionProfilesGetOneData = {
11161
11311
  body?: never;
11162
11312
  path: {
11163
11313
  /**
11164
- * The unique identifier of the image evidence acquisition profile
11314
+ * The unique identifier of the disk image acquisition profile
11165
11315
  */
11166
11316
  id: string;
11167
11317
  };
11168
11318
  query?: never;
11169
- url: '/api/public/image-evidence-acquisition-profiles/{id}';
11319
+ url: '/api/public/disk-image-acquisition-profiles/{id}';
11170
11320
  };
11171
11321
  export type ImageEvidenceAcquisitionProfilesGetOneResponses = {
11172
11322
  /**
11173
- * The image evidence acquisition profile has been successfully retrieved.
11323
+ * The disk image acquisition profile has been successfully retrieved.
11174
11324
  */
11175
11325
  200: ImageEvidenceAcquisitionProfileResponseDto;
11176
11326
  };
@@ -11179,16 +11329,16 @@ export type ImageEvidenceAcquisitionProfilesUpdateData = {
11179
11329
  body: UpdateImageEvidenceAcquisitionProfileRequestDto;
11180
11330
  path: {
11181
11331
  /**
11182
- * The unique identifier of the image evidence acquisition profile
11332
+ * The unique identifier of the disk image acquisition profile
11183
11333
  */
11184
11334
  id: string;
11185
11335
  };
11186
11336
  query?: never;
11187
- url: '/api/public/image-evidence-acquisition-profiles/{id}';
11337
+ url: '/api/public/disk-image-acquisition-profiles/{id}';
11188
11338
  };
11189
11339
  export type ImageEvidenceAcquisitionProfilesUpdateResponses = {
11190
11340
  /**
11191
- * The image evidence acquisition profile has been successfully updated.
11341
+ * The disk image acquisition profile has been successfully updated.
11192
11342
  */
11193
11343
  200: ImageEvidenceAcquisitionProfileResponseDto;
11194
11344
  };
@@ -11197,11 +11347,11 @@ export type ImageEvidenceAcquisitionProfilesDeleteBulkData = {
11197
11347
  body: BulkDeleteImageEvidenceAcquisitionProfileRequestDto;
11198
11348
  path?: never;
11199
11349
  query?: never;
11200
- url: '/api/public/image-evidence-acquisition-profiles/bulk-delete';
11350
+ url: '/api/public/disk-image-acquisition-profiles/bulk-delete';
11201
11351
  };
11202
11352
  export type ImageEvidenceAcquisitionProfilesDeleteBulkResponses = {
11203
11353
  /**
11204
- * The image evidence acquisition profiles have been successfully deleted.
11354
+ * The disk image acquisition profiles have been successfully deleted.
11205
11355
  */
11206
11356
  200: unknown;
11207
11357
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@binalyze/air-sdk",
3
- "version": "5.6.2",
3
+ "version": "5.8.4",
4
4
  "private": false,
5
5
  "description": "Binalyze AIR - Typescript Axios SDK",
6
6
  "license": "MIT",