@binalyze/air-sdk 5.4.0 → 5.4.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.
- package/dist/air/AIR.d.ts +13 -12
- package/dist/air/AIR.js +1 -0
- package/dist/air/AIR.js.map +1 -1
- package/dist/domains/acquisitions.d.ts +2 -2
- package/dist/domains/acquisitions.js.map +1 -1
- package/dist/domains/api-tokens.d.ts +2 -2
- package/dist/domains/api-tokens.js.map +1 -1
- package/dist/domains/assets.d.ts +2 -2
- package/dist/domains/assets.js +20 -32
- package/dist/domains/assets.js.map +1 -1
- package/dist/domains/baseline.d.ts +2 -2
- package/dist/domains/baseline.js.map +1 -1
- package/dist/domains/cases.d.ts +2 -2
- package/dist/domains/cases.js +12 -43
- package/dist/domains/cases.js.map +1 -1
- package/dist/domains/index.d.ts +1 -0
- package/dist/domains/index.js +1 -0
- package/dist/domains/index.js.map +1 -1
- package/dist/domains/interact.d.ts +2 -2
- package/dist/domains/interact.js +30 -18
- package/dist/domains/interact.js.map +1 -1
- package/dist/domains/investigation.d.ts +2 -0
- package/dist/domains/investigation.js +118 -0
- package/dist/domains/investigation.js.map +1 -0
- package/dist/domains/organization.d.ts +2 -2
- package/dist/domains/organization.js +24 -15
- package/dist/domains/organization.js.map +1 -1
- package/dist/domains/repositories.d.ts +2 -2
- package/dist/domains/repositories.js.map +1 -1
- package/dist/domains/tasks.d.ts +2 -2
- package/dist/domains/tasks.js.map +1 -1
- package/dist/domains/triage.d.ts +2 -2
- package/dist/domains/triage.js +57 -45
- package/dist/domains/triage.js.map +1 -1
- package/dist/domains/users.d.ts +2 -2
- package/dist/domains/users.js.map +1 -1
- package/dist/sdk/typescript-axios/sdk.gen.d.ts +2 -2
- package/dist/sdk/typescript-axios/sdk.gen.js +13 -7
- package/dist/sdk/typescript-axios/sdk.gen.js.map +1 -1
- package/dist/sdk/typescript-axios/types.gen.d.ts +730 -365
- package/dist/types/acquisitions.d.ts +3 -3
- package/dist/types/api-tokens.d.ts +8 -8
- package/dist/types/assets.d.ts +27 -39
- package/dist/types/baseline.d.ts +12 -12
- package/dist/types/cases.d.ts +27 -42
- package/dist/types/common.d.ts +27 -0
- package/dist/types/common.js +3 -0
- package/dist/types/common.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/interact.d.ts +12 -12
- package/dist/types/investigation.d.ts +75 -0
- package/dist/types/investigation.js +3 -0
- package/dist/types/investigation.js.map +1 -0
- package/dist/types/organization.d.ts +13 -22
- package/dist/types/organization.js +3 -0
- package/dist/types/organization.js.map +1 -1
- package/dist/types/repositories.d.ts +9 -13
- package/dist/types/repositories.js +1 -0
- package/dist/types/repositories.js.map +1 -1
- package/dist/types/tasks.d.ts +25 -34
- package/dist/types/triage.d.ts +8 -8
- package/dist/types/users.d.ts +9 -13
- package/dist/types/users.js +1 -0
- package/dist/types/users.js.map +1 -1
- package/dist/utils/builders.d.ts +26 -0
- package/dist/utils/builders.js +85 -0
- package/dist/utils/builders.js.map +1 -0
- package/dist/utils/error-helpers.d.ts +6 -0
- package/dist/utils/error-helpers.js +109 -0
- package/dist/utils/error-helpers.js.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +3 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/result.d.ts +2 -0
- package/dist/utils/result.js +19 -0
- package/dist/utils/result.js.map +1 -0
- package/dist/utils/utils.d.ts +1 -0
- package/dist/utils/utils.js +3 -1
- package/dist/utils/utils.js.map +1 -1
- package/package.json +1 -1
|
@@ -3746,6 +3746,7 @@ exports.organizationGet = organizationGet;
|
|
|
3746
3746
|
*/
|
|
3747
3747
|
const organizationUpdate = (options) => {
|
|
3748
3748
|
return (options.client ?? client_gen_1.client).patch({
|
|
3749
|
+
responseType: 'json',
|
|
3749
3750
|
security: [
|
|
3750
3751
|
{
|
|
3751
3752
|
scheme: 'bearer',
|
|
@@ -4109,7 +4110,7 @@ const caseExportCases = (options) => {
|
|
|
4109
4110
|
};
|
|
4110
4111
|
exports.caseExportCases = caseExportCases;
|
|
4111
4112
|
const caseExportCaseNotes = (options) => {
|
|
4112
|
-
return (options
|
|
4113
|
+
return (options.client ?? client_gen_1.client).get({
|
|
4113
4114
|
security: [
|
|
4114
4115
|
{
|
|
4115
4116
|
scheme: 'bearer',
|
|
@@ -4152,7 +4153,7 @@ exports.caseExportCaseEndpoints1 = caseExportCaseEndpoints1;
|
|
|
4152
4153
|
* Fetches detailed information about a specific case
|
|
4153
4154
|
*/
|
|
4154
4155
|
const casesGet = (options) => {
|
|
4155
|
-
return (options
|
|
4156
|
+
return (options.client ?? client_gen_1.client).get({
|
|
4156
4157
|
responseType: 'json',
|
|
4157
4158
|
security: [
|
|
4158
4159
|
{
|
|
@@ -5409,7 +5410,7 @@ const investigationGetSectionDataStructure = (options) => {
|
|
|
5409
5410
|
type: 'http'
|
|
5410
5411
|
}
|
|
5411
5412
|
],
|
|
5412
|
-
url: '/api/public/investigation-hub/investigations/{investigationId}/
|
|
5413
|
+
url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}/structure',
|
|
5413
5414
|
...options
|
|
5414
5415
|
});
|
|
5415
5416
|
};
|
|
@@ -5422,7 +5423,7 @@ const investigationGetSectionData = (options) => {
|
|
|
5422
5423
|
type: 'http'
|
|
5423
5424
|
}
|
|
5424
5425
|
],
|
|
5425
|
-
url: '/api/public/investigation-hub/investigations/{investigationId}/
|
|
5426
|
+
url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}',
|
|
5426
5427
|
...options,
|
|
5427
5428
|
headers: {
|
|
5428
5429
|
'Content-Type': 'application/json',
|
|
@@ -5469,7 +5470,7 @@ const investigationExportSectionData = (options) => {
|
|
|
5469
5470
|
type: 'http'
|
|
5470
5471
|
}
|
|
5471
5472
|
],
|
|
5472
|
-
url: '/api/public/investigation-hub/investigations/{investigationId}/
|
|
5473
|
+
url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}/export',
|
|
5473
5474
|
...options
|
|
5474
5475
|
});
|
|
5475
5476
|
};
|
|
@@ -5482,7 +5483,7 @@ const investigationCreateExportRequestForSectionData = (options) => {
|
|
|
5482
5483
|
type: 'http'
|
|
5483
5484
|
}
|
|
5484
5485
|
],
|
|
5485
|
-
url: '/api/public/investigation-hub/investigations/{investigationId}/
|
|
5486
|
+
url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}/export',
|
|
5486
5487
|
...options,
|
|
5487
5488
|
headers: {
|
|
5488
5489
|
'Content-Type': 'application/json',
|
|
@@ -5540,6 +5541,7 @@ const investigationGetSummary = (options) => {
|
|
|
5540
5541
|
exports.investigationGetSummary = investigationGetSummary;
|
|
5541
5542
|
const investigationGetFindingDataStructure = (options) => {
|
|
5542
5543
|
return (options.client ?? client_gen_1.client).get({
|
|
5544
|
+
responseType: 'json',
|
|
5543
5545
|
security: [
|
|
5544
5546
|
{
|
|
5545
5547
|
scheme: 'bearer',
|
|
@@ -5553,6 +5555,7 @@ const investigationGetFindingDataStructure = (options) => {
|
|
|
5553
5555
|
exports.investigationGetFindingDataStructure = investigationGetFindingDataStructure;
|
|
5554
5556
|
const investigationFilterEndpointFindings = (options) => {
|
|
5555
5557
|
return (options.client ?? client_gen_1.client).post({
|
|
5558
|
+
responseType: 'json',
|
|
5556
5559
|
security: [
|
|
5557
5560
|
{
|
|
5558
5561
|
scheme: 'bearer',
|
|
@@ -5570,6 +5573,7 @@ const investigationFilterEndpointFindings = (options) => {
|
|
|
5570
5573
|
exports.investigationFilterEndpointFindings = investigationFilterEndpointFindings;
|
|
5571
5574
|
const investigationGetFindingsSummary = (options) => {
|
|
5572
5575
|
return (options.client ?? client_gen_1.client).post({
|
|
5576
|
+
responseType: 'json',
|
|
5573
5577
|
security: [
|
|
5574
5578
|
{
|
|
5575
5579
|
scheme: 'bearer',
|
|
@@ -5587,6 +5591,7 @@ const investigationGetFindingsSummary = (options) => {
|
|
|
5587
5591
|
exports.investigationGetFindingsSummary = investigationGetFindingsSummary;
|
|
5588
5592
|
const investigationGetMitreMatches = (options) => {
|
|
5589
5593
|
return (options.client ?? client_gen_1.client).post({
|
|
5594
|
+
responseType: 'json',
|
|
5590
5595
|
security: [
|
|
5591
5596
|
{
|
|
5592
5597
|
scheme: 'bearer',
|
|
@@ -5861,7 +5866,7 @@ const investigationGetInvestigationTaskAssignmentForImportedEvidence = (options)
|
|
|
5861
5866
|
type: 'http'
|
|
5862
5867
|
}
|
|
5863
5868
|
],
|
|
5864
|
-
url: '/api/public/investigation-hub/investigations/{investigationId}/{
|
|
5869
|
+
url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}/imports/{importId}/task-assignment',
|
|
5865
5870
|
...options
|
|
5866
5871
|
});
|
|
5867
5872
|
};
|
|
@@ -6262,6 +6267,7 @@ const investigationFlagUpdateFlag = (options) => {
|
|
|
6262
6267
|
exports.investigationFlagUpdateFlag = investigationFlagUpdateFlag;
|
|
6263
6268
|
const investigationActivityFilter = (options) => {
|
|
6264
6269
|
return (options.client ?? client_gen_1.client).get({
|
|
6270
|
+
responseType: 'json',
|
|
6265
6271
|
security: [
|
|
6266
6272
|
{
|
|
6267
6273
|
scheme: 'bearer',
|