@virusis/api-client 0.1.13 → 0.1.15
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/container.d.ts +3 -0
- package/dist/generated/clients/api-service.d.ts +2 -0
- package/dist/generated/clients/api-service.js +2 -0
- package/dist/generated/clients/index.d.ts +1 -0
- package/dist/generated/clients/index.js +1 -0
- package/dist/generated/clients-rx/api-service-rx.d.ts +16 -0
- package/dist/generated/clients-rx/api-service-rx.js +12 -0
- package/dist/generated/clients-rx/index.d.ts +1 -0
- package/dist/generated/clients-rx/index.js +1 -0
- package/dist/generated/index.d.ts +155 -18
- package/dist/generated/index.js +328 -0
- package/dist/generated/models/create-share-link-request.d.ts +4 -0
- package/dist/generated/models/create-share-link-request.js +1 -0
- package/dist/generated/models/index.d.ts +5 -1
- package/dist/generated/models/index.js +5 -1
- package/dist/generated/models/scan-static-detail-for-algorithm-analysis.d.ts +4 -0
- package/dist/generated/models/scan-static-detail-for-algorithm-analysis.js +1 -0
- package/dist/generated/models/scan-summary-dto-i-data-result.d.ts +4 -0
- package/dist/generated/models/scan-summary-dto-i-data-result.js +1 -0
- package/dist/generated/models/scan-summary-dto.d.ts +4 -0
- package/dist/generated/models/scan-summary-dto.js +1 -0
- package/dist/generated/models/trial-notification-mutation-request.d.ts +4 -0
- package/dist/generated/models/trial-notification-mutation-request.js +1 -0
- package/dist/rx.d.ts +6 -0
- package/package.json +1 -1
package/dist/container.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ export declare function getServices(): {
|
|
|
67
67
|
scanTimingRunsService: import("./index.js").ScanTimingRunsClient;
|
|
68
68
|
scanTypesService: import("./index.js").ScanTypesClient;
|
|
69
69
|
scanVisibilityTypesService: import("./index.js").ScanVisibilityTypesClient;
|
|
70
|
+
apiService: import("./index.js").ApiClient;
|
|
70
71
|
internalService: import("./index.js").InternalClient;
|
|
71
72
|
threatConceptsService: import("./index.js").ThreatConceptsClient;
|
|
72
73
|
threatFrameworksService: import("./index.js").ThreatFrameworksClient;
|
|
@@ -143,6 +144,7 @@ export declare function getServicesRx(): {
|
|
|
143
144
|
scanTimingRunsService: import("./index.js").ScanTimingRunsClient;
|
|
144
145
|
scanTypesService: import("./index.js").ScanTypesClient;
|
|
145
146
|
scanVisibilityTypesService: import("./index.js").ScanVisibilityTypesClient;
|
|
147
|
+
apiService: import("./index.js").ApiClient;
|
|
146
148
|
internalService: import("./index.js").InternalClient;
|
|
147
149
|
threatConceptsService: import("./index.js").ThreatConceptsClient;
|
|
148
150
|
threatFrameworksService: import("./index.js").ThreatFrameworksClient;
|
|
@@ -220,6 +222,7 @@ export declare function getServicesByMode(mode?: ClientMode): {
|
|
|
220
222
|
scanTimingRunsService: import("./index.js").ScanTimingRunsClient;
|
|
221
223
|
scanTypesService: import("./index.js").ScanTypesClient;
|
|
222
224
|
scanVisibilityTypesService: import("./index.js").ScanVisibilityTypesClient;
|
|
225
|
+
apiService: import("./index.js").ApiClient;
|
|
223
226
|
internalService: import("./index.js").InternalClient;
|
|
224
227
|
threatConceptsService: import("./index.js").ThreatConceptsClient;
|
|
225
228
|
threatFrameworksService: import("./index.js").ThreatFrameworksClient;
|
|
@@ -54,6 +54,7 @@ export * from "./scan-timing-events-service.js";
|
|
|
54
54
|
export * from "./scan-timing-runs-service.js";
|
|
55
55
|
export * from "./scan-types-service.js";
|
|
56
56
|
export * from "./scan-visibility-types-service.js";
|
|
57
|
+
export * from "./api-service.js";
|
|
57
58
|
export * from "./internal-service.js";
|
|
58
59
|
export * from "./threat-concepts-service.js";
|
|
59
60
|
export * from "./threat-frameworks-service.js";
|
|
@@ -54,6 +54,7 @@ export * from "./scan-timing-events-service.js";
|
|
|
54
54
|
export * from "./scan-timing-runs-service.js";
|
|
55
55
|
export * from "./scan-types-service.js";
|
|
56
56
|
export * from "./scan-visibility-types-service.js";
|
|
57
|
+
export * from "./api-service.js";
|
|
57
58
|
export * from "./internal-service.js";
|
|
58
59
|
export * from "./threat-concepts-service.js";
|
|
59
60
|
export * from "./threat-frameworks-service.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ApiClient } from "../index.js";
|
|
2
|
+
import type { ApiClientConfig } from "../../base.js";
|
|
3
|
+
export declare function createApiServiceRx(config: ApiClientConfig, baseUrl?: string, http?: {
|
|
4
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
5
|
+
}): import("../../rx.js").Rxified<ApiClient>;
|
|
6
|
+
export type ApiServiceRx = ReturnType<typeof createApiServiceRx>;
|
|
7
|
+
export declare const apiServiceRx: (config: ApiClientConfig, baseUrl?: string, http?: {
|
|
8
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
9
|
+
}) => import("../../rx.js").Rxified<ApiClient>;
|
|
10
|
+
export declare class ApiServiceRxClass {
|
|
11
|
+
constructor(config: ApiClientConfig, baseUrl?: string, http?: {
|
|
12
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
export interface ApiServiceRxClass extends ApiServiceRx {
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ApiClient } from "../index.js";
|
|
2
|
+
import { rxifyClient } from "../../rx.js";
|
|
3
|
+
export function createApiServiceRx(config, baseUrl, http) {
|
|
4
|
+
return rxifyClient(new ApiClient(config, baseUrl, http));
|
|
5
|
+
}
|
|
6
|
+
export const apiServiceRx = (config, baseUrl, http) => createApiServiceRx(config, baseUrl, http);
|
|
7
|
+
// Angular DI icin: class token kullandiginda Observable donen wrapper
|
|
8
|
+
export class ApiServiceRxClass {
|
|
9
|
+
constructor(config, baseUrl, http) {
|
|
10
|
+
return createApiServiceRx(config, baseUrl, http);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -54,6 +54,7 @@ export * from "./scan-timing-events-service-rx.js";
|
|
|
54
54
|
export * from "./scan-timing-runs-service-rx.js";
|
|
55
55
|
export * from "./scan-types-service-rx.js";
|
|
56
56
|
export * from "./scan-visibility-types-service-rx.js";
|
|
57
|
+
export * from "./api-service-rx.js";
|
|
57
58
|
export * from "./internal-service-rx.js";
|
|
58
59
|
export * from "./threat-concepts-service-rx.js";
|
|
59
60
|
export * from "./threat-frameworks-service-rx.js";
|
|
@@ -54,6 +54,7 @@ export * from "./scan-timing-events-service-rx.js";
|
|
|
54
54
|
export * from "./scan-timing-runs-service-rx.js";
|
|
55
55
|
export * from "./scan-types-service-rx.js";
|
|
56
56
|
export * from "./scan-visibility-types-service-rx.js";
|
|
57
|
+
export * from "./api-service-rx.js";
|
|
57
58
|
export * from "./internal-service-rx.js";
|
|
58
59
|
export * from "./threat-concepts-service-rx.js";
|
|
59
60
|
export * from "./threat-frameworks-service-rx.js";
|
|
@@ -1187,6 +1187,16 @@ export declare class MenusClient extends BaseApiClient implements IMenusClient {
|
|
|
1187
1187
|
protected processGetFiltersBase(response: Response): Promise<MenuForTableDtoListResultFilterIDataResult>;
|
|
1188
1188
|
}
|
|
1189
1189
|
export interface INotificationsClient extends IEntity {
|
|
1190
|
+
/**
|
|
1191
|
+
* @param body (optional)
|
|
1192
|
+
* @return OK
|
|
1193
|
+
*/
|
|
1194
|
+
trialMarkAsRead(body?: TrialNotificationMutationRequest | undefined, signal?: AbortSignal): Promise<any>;
|
|
1195
|
+
/**
|
|
1196
|
+
* @param body (optional)
|
|
1197
|
+
* @return OK
|
|
1198
|
+
*/
|
|
1199
|
+
trialDelete(body?: TrialNotificationMutationRequest | undefined, signal?: AbortSignal): Promise<any>;
|
|
1190
1200
|
/**
|
|
1191
1201
|
* @param body (optional)
|
|
1192
1202
|
* @return OK
|
|
@@ -1240,6 +1250,18 @@ export declare class NotificationsClient extends BaseApiClient implements INotif
|
|
|
1240
1250
|
constructor(configuration: ApiClientConfig, baseUrl?: string, http?: {
|
|
1241
1251
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1242
1252
|
});
|
|
1253
|
+
/**
|
|
1254
|
+
* @param body (optional)
|
|
1255
|
+
* @return OK
|
|
1256
|
+
*/
|
|
1257
|
+
trialMarkAsRead(body?: TrialNotificationMutationRequest | undefined, signal?: AbortSignal): Promise<any>;
|
|
1258
|
+
protected processTrialMarkAsRead(response: Response): Promise<any>;
|
|
1259
|
+
/**
|
|
1260
|
+
* @param body (optional)
|
|
1261
|
+
* @return OK
|
|
1262
|
+
*/
|
|
1263
|
+
trialDelete(body?: TrialNotificationMutationRequest | undefined, signal?: AbortSignal): Promise<any>;
|
|
1264
|
+
protected processTrialDelete(response: Response): Promise<any>;
|
|
1243
1265
|
/**
|
|
1244
1266
|
* @param body (optional)
|
|
1245
1267
|
* @return OK
|
|
@@ -1409,6 +1431,10 @@ export interface IQueueMonitorClient extends IEntity {
|
|
|
1409
1431
|
* @return OK
|
|
1410
1432
|
*/
|
|
1411
1433
|
metrics(signal?: AbortSignal): Promise<any>;
|
|
1434
|
+
/**
|
|
1435
|
+
* @return OK
|
|
1436
|
+
*/
|
|
1437
|
+
workers(signal?: AbortSignal): Promise<any>;
|
|
1412
1438
|
/**
|
|
1413
1439
|
* @return OK
|
|
1414
1440
|
*/
|
|
@@ -1426,6 +1452,11 @@ export declare class QueueMonitorClient extends BaseApiClient implements IQueueM
|
|
|
1426
1452
|
*/
|
|
1427
1453
|
metrics(signal?: AbortSignal): Promise<any>;
|
|
1428
1454
|
protected processMetrics(response: Response): Promise<any>;
|
|
1455
|
+
/**
|
|
1456
|
+
* @return OK
|
|
1457
|
+
*/
|
|
1458
|
+
workers(signal?: AbortSignal): Promise<any>;
|
|
1459
|
+
protected processWorkers(response: Response): Promise<any>;
|
|
1429
1460
|
/**
|
|
1430
1461
|
* @return OK
|
|
1431
1462
|
*/
|
|
@@ -3444,6 +3475,11 @@ export interface IScanDatasClient extends IEntity {
|
|
|
3444
3475
|
* @return OK
|
|
3445
3476
|
*/
|
|
3446
3477
|
getScanDataForAnalysisDtoByGuid(scanGuid?: string | undefined, signal?: AbortSignal): Promise<ScanDataForAnalysisDtoIDataResult>;
|
|
3478
|
+
/**
|
|
3479
|
+
* @param scanGuid (optional)
|
|
3480
|
+
* @return OK
|
|
3481
|
+
*/
|
|
3482
|
+
getScanSummary(scanGuid?: string | undefined, signal?: AbortSignal): Promise<ScanSummaryDtoIDataResult>;
|
|
3447
3483
|
/**
|
|
3448
3484
|
* @param scanGuid (optional)
|
|
3449
3485
|
* @param skip (optional)
|
|
@@ -3543,6 +3579,12 @@ export declare class ScanDatasClient extends BaseApiClient implements IScanDatas
|
|
|
3543
3579
|
*/
|
|
3544
3580
|
getScanDataForAnalysisDtoByGuid(scanGuid?: string | undefined, signal?: AbortSignal): Promise<ScanDataForAnalysisDtoIDataResult>;
|
|
3545
3581
|
protected processGetScanDataForAnalysisDtoByGuid(response: Response): Promise<ScanDataForAnalysisDtoIDataResult>;
|
|
3582
|
+
/**
|
|
3583
|
+
* @param scanGuid (optional)
|
|
3584
|
+
* @return OK
|
|
3585
|
+
*/
|
|
3586
|
+
getScanSummary(scanGuid?: string | undefined, signal?: AbortSignal): Promise<ScanSummaryDtoIDataResult>;
|
|
3587
|
+
protected processGetScanSummary(response: Response): Promise<ScanSummaryDtoIDataResult>;
|
|
3546
3588
|
/**
|
|
3547
3589
|
* @param scanGuid (optional)
|
|
3548
3590
|
* @param skip (optional)
|
|
@@ -3768,11 +3810,11 @@ export interface IScanEngineImagesClient extends IEntity {
|
|
|
3768
3810
|
* @param imageName (optional)
|
|
3769
3811
|
* @return OK
|
|
3770
3812
|
*/
|
|
3771
|
-
saveImageBySearch(imageName?: string | undefined, signal?: AbortSignal): Promise<
|
|
3813
|
+
saveImageBySearch(imageName?: string | undefined, signal?: AbortSignal): Promise<IResult>;
|
|
3772
3814
|
/**
|
|
3773
3815
|
* @return OK
|
|
3774
3816
|
*/
|
|
3775
|
-
saveImagesBySearch(signal?: AbortSignal): Promise<
|
|
3817
|
+
saveImagesBySearch(signal?: AbortSignal): Promise<IResult>;
|
|
3776
3818
|
/**
|
|
3777
3819
|
* @param id (optional)
|
|
3778
3820
|
* @param scanEngineId (optional)
|
|
@@ -3856,13 +3898,13 @@ export declare class ScanEngineImagesClient extends BaseApiClient implements ISc
|
|
|
3856
3898
|
* @param imageName (optional)
|
|
3857
3899
|
* @return OK
|
|
3858
3900
|
*/
|
|
3859
|
-
saveImageBySearch(imageName?: string | undefined, signal?: AbortSignal): Promise<
|
|
3860
|
-
protected processSaveImageBySearch(response: Response): Promise<
|
|
3901
|
+
saveImageBySearch(imageName?: string | undefined, signal?: AbortSignal): Promise<IResult>;
|
|
3902
|
+
protected processSaveImageBySearch(response: Response): Promise<IResult>;
|
|
3861
3903
|
/**
|
|
3862
3904
|
* @return OK
|
|
3863
3905
|
*/
|
|
3864
|
-
saveImagesBySearch(signal?: AbortSignal): Promise<
|
|
3865
|
-
protected processSaveImagesBySearch(response: Response): Promise<
|
|
3906
|
+
saveImagesBySearch(signal?: AbortSignal): Promise<IResult>;
|
|
3907
|
+
protected processSaveImagesBySearch(response: Response): Promise<IResult>;
|
|
3866
3908
|
/**
|
|
3867
3909
|
* @param id (optional)
|
|
3868
3910
|
* @param scanEngineId (optional)
|
|
@@ -4467,6 +4509,11 @@ export interface IScanScoreResultsClient extends IEntity {
|
|
|
4467
4509
|
* @return OK
|
|
4468
4510
|
*/
|
|
4469
4511
|
process(body?: ProcessScanScoresRequest | undefined, signal?: AbortSignal): Promise<BooleanIDataResult>;
|
|
4512
|
+
/**
|
|
4513
|
+
* @param body (optional)
|
|
4514
|
+
* @return OK
|
|
4515
|
+
*/
|
|
4516
|
+
processInternal(body?: ProcessScanScoresRequest | undefined, signal?: AbortSignal): Promise<BooleanIDataResult>;
|
|
4470
4517
|
/**
|
|
4471
4518
|
* @param body (optional)
|
|
4472
4519
|
* @return OK
|
|
@@ -4526,6 +4573,12 @@ export declare class ScanScoreResultsClient extends BaseApiClient implements ISc
|
|
|
4526
4573
|
*/
|
|
4527
4574
|
process(body?: ProcessScanScoresRequest | undefined, signal?: AbortSignal): Promise<BooleanIDataResult>;
|
|
4528
4575
|
protected processProcess(response: Response): Promise<BooleanIDataResult>;
|
|
4576
|
+
/**
|
|
4577
|
+
* @param body (optional)
|
|
4578
|
+
* @return OK
|
|
4579
|
+
*/
|
|
4580
|
+
processInternal(body?: ProcessScanScoresRequest | undefined, signal?: AbortSignal): Promise<BooleanIDataResult>;
|
|
4581
|
+
protected processProcessInternal(response: Response): Promise<BooleanIDataResult>;
|
|
4529
4582
|
/**
|
|
4530
4583
|
* @param body (optional)
|
|
4531
4584
|
* @return OK
|
|
@@ -5252,6 +5305,11 @@ export interface IScanStaticResultsClient extends IEntity {
|
|
|
5252
5305
|
* @return OK
|
|
5253
5306
|
*/
|
|
5254
5307
|
process(body?: ProcessScanStaticResultRequest | undefined, signal?: AbortSignal): Promise<ScanStaticResultReportDtoIDataResult>;
|
|
5308
|
+
/**
|
|
5309
|
+
* @param body (optional)
|
|
5310
|
+
* @return OK
|
|
5311
|
+
*/
|
|
5312
|
+
processInternal(body?: ProcessScanStaticResultRequest | undefined, signal?: AbortSignal): Promise<ScanStaticResultReportDtoIDataResult>;
|
|
5255
5313
|
/**
|
|
5256
5314
|
* @param guid (optional)
|
|
5257
5315
|
* @return OK
|
|
@@ -5316,6 +5374,12 @@ export declare class ScanStaticResultsClient extends BaseApiClient implements IS
|
|
|
5316
5374
|
*/
|
|
5317
5375
|
process(body?: ProcessScanStaticResultRequest | undefined, signal?: AbortSignal): Promise<ScanStaticResultReportDtoIDataResult>;
|
|
5318
5376
|
protected processProcess(response: Response): Promise<ScanStaticResultReportDtoIDataResult>;
|
|
5377
|
+
/**
|
|
5378
|
+
* @param body (optional)
|
|
5379
|
+
* @return OK
|
|
5380
|
+
*/
|
|
5381
|
+
processInternal(body?: ProcessScanStaticResultRequest | undefined, signal?: AbortSignal): Promise<ScanStaticResultReportDtoIDataResult>;
|
|
5382
|
+
protected processProcessInternal(response: Response): Promise<ScanStaticResultReportDtoIDataResult>;
|
|
5319
5383
|
/**
|
|
5320
5384
|
* @param guid (optional)
|
|
5321
5385
|
* @return OK
|
|
@@ -6210,6 +6274,36 @@ export declare class ScanVisibilityTypesClient extends BaseApiClient implements
|
|
|
6210
6274
|
getFiltersBase(body?: ScanVisibilityTypeForTableFilterDataTableQuery | undefined, signal?: AbortSignal): Promise<ScanVisibilityTypeForTableDtoListResultFilterIDataResult>;
|
|
6211
6275
|
protected processGetFiltersBase(response: Response): Promise<ScanVisibilityTypeForTableDtoListResultFilterIDataResult>;
|
|
6212
6276
|
}
|
|
6277
|
+
export interface IApiClient extends IEntity {
|
|
6278
|
+
/**
|
|
6279
|
+
* @param body (optional)
|
|
6280
|
+
* @return OK
|
|
6281
|
+
*/
|
|
6282
|
+
shareLinksPost(body?: CreateShareLinkRequest | undefined, signal?: AbortSignal): Promise<any>;
|
|
6283
|
+
/**
|
|
6284
|
+
* @return OK
|
|
6285
|
+
*/
|
|
6286
|
+
shareLinksGet(code: string, signal?: AbortSignal): Promise<any>;
|
|
6287
|
+
}
|
|
6288
|
+
export declare class ApiClient extends BaseApiClient implements IApiClient {
|
|
6289
|
+
private http;
|
|
6290
|
+
private baseUrl;
|
|
6291
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
6292
|
+
constructor(configuration: ApiClientConfig, baseUrl?: string, http?: {
|
|
6293
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
6294
|
+
});
|
|
6295
|
+
/**
|
|
6296
|
+
* @param body (optional)
|
|
6297
|
+
* @return OK
|
|
6298
|
+
*/
|
|
6299
|
+
shareLinksPost(body?: CreateShareLinkRequest | undefined, signal?: AbortSignal): Promise<any>;
|
|
6300
|
+
protected processShareLinksPost(response: Response): Promise<any>;
|
|
6301
|
+
/**
|
|
6302
|
+
* @return OK
|
|
6303
|
+
*/
|
|
6304
|
+
shareLinksGet(code: string, signal?: AbortSignal): Promise<any>;
|
|
6305
|
+
protected processShareLinksGet(response: Response): Promise<any>;
|
|
6306
|
+
}
|
|
6213
6307
|
export interface IInternalClient extends IEntity {
|
|
6214
6308
|
/**
|
|
6215
6309
|
* @return OK
|
|
@@ -7897,6 +7991,10 @@ export interface ConstructorInfo extends IEntity {
|
|
|
7897
7991
|
readonly isSecurityTransparent?: boolean;
|
|
7898
7992
|
memberType?: MemberTypes;
|
|
7899
7993
|
}
|
|
7994
|
+
export interface CreateShareLinkRequest extends IEntity {
|
|
7995
|
+
url?: string | undefined;
|
|
7996
|
+
ttlMinutes?: number;
|
|
7997
|
+
}
|
|
7900
7998
|
export interface CurlTask extends IEntity {
|
|
7901
7999
|
id?: number;
|
|
7902
8000
|
name?: string | undefined;
|
|
@@ -8152,18 +8250,6 @@ export interface IResult extends IEntity {
|
|
|
8152
8250
|
readonly success?: boolean;
|
|
8153
8251
|
readonly message?: string | undefined;
|
|
8154
8252
|
}
|
|
8155
|
-
export interface IResultTask extends IEntity {
|
|
8156
|
-
readonly id?: number;
|
|
8157
|
-
exception?: AggregateException;
|
|
8158
|
-
status?: TaskStatus;
|
|
8159
|
-
readonly isCanceled?: boolean;
|
|
8160
|
-
readonly isCompleted?: boolean;
|
|
8161
|
-
readonly isCompletedSuccessfully?: boolean;
|
|
8162
|
-
creationOptions?: TaskCreationOptions;
|
|
8163
|
-
readonly asyncState?: any | undefined;
|
|
8164
|
-
readonly isFaulted?: boolean;
|
|
8165
|
-
result?: IResult;
|
|
8166
|
-
}
|
|
8167
8253
|
export interface Int32IDataResult extends IEntity {
|
|
8168
8254
|
readonly success?: boolean;
|
|
8169
8255
|
readonly message?: string | undefined;
|
|
@@ -8630,6 +8716,7 @@ export interface NotificationForTableDto extends IDto {
|
|
|
8630
8716
|
deviceHash?: string | undefined;
|
|
8631
8717
|
updateTime?: Date | undefined;
|
|
8632
8718
|
satatus?: boolean | undefined;
|
|
8719
|
+
eventFingerprint?: string | undefined;
|
|
8633
8720
|
}
|
|
8634
8721
|
export interface NotificationForTableDtoListIDataResult extends IEntity {
|
|
8635
8722
|
readonly success?: boolean;
|
|
@@ -9809,6 +9896,7 @@ export interface ScanDataForAlgorithmAnalysisDto extends IDto {
|
|
|
9809
9896
|
scanData?: ScanDataForAlgorithmAnalysis[] | undefined;
|
|
9810
9897
|
scanType?: ScanTypeForAlgorithmAnalysis;
|
|
9811
9898
|
scanDataMeta?: ScanDataMetaForAlgorithmAnalysis;
|
|
9899
|
+
scanStaticDetail?: ScanStaticDetailForAlgorithmAnalysis;
|
|
9812
9900
|
updateTime?: Date | undefined;
|
|
9813
9901
|
status?: boolean | undefined;
|
|
9814
9902
|
}
|
|
@@ -10691,9 +10779,18 @@ export interface ScanStaticDetail extends IEntity {
|
|
|
10691
10779
|
entryPointRva?: number | undefined;
|
|
10692
10780
|
imageBase?: number | undefined;
|
|
10693
10781
|
numberOfSections?: number | undefined;
|
|
10782
|
+
format?: string | undefined;
|
|
10783
|
+
zipType?: string | undefined;
|
|
10784
|
+
entryCount?: number | undefined;
|
|
10694
10785
|
updateTime?: Date | undefined;
|
|
10695
10786
|
status?: boolean | undefined;
|
|
10696
10787
|
}
|
|
10788
|
+
export interface ScanStaticDetailForAlgorithmAnalysis extends IEntity {
|
|
10789
|
+
riskScore?: number | undefined;
|
|
10790
|
+
globalEntropy?: number | undefined;
|
|
10791
|
+
architecture?: string | undefined;
|
|
10792
|
+
fileType?: string | undefined;
|
|
10793
|
+
}
|
|
10697
10794
|
export interface ScanStaticDetailForTableDto extends IDto {
|
|
10698
10795
|
id?: number;
|
|
10699
10796
|
scanStaticResultId?: number;
|
|
@@ -10709,6 +10806,9 @@ export interface ScanStaticDetailForTableDto extends IDto {
|
|
|
10709
10806
|
entryPointRva?: number | undefined;
|
|
10710
10807
|
imageBase?: number | undefined;
|
|
10711
10808
|
numberOfSections?: number | undefined;
|
|
10809
|
+
format?: string | undefined;
|
|
10810
|
+
zipType?: string | undefined;
|
|
10811
|
+
entryCount?: number | undefined;
|
|
10712
10812
|
updateTime?: string | undefined;
|
|
10713
10813
|
status?: boolean | undefined;
|
|
10714
10814
|
}
|
|
@@ -10959,6 +11059,11 @@ export interface ScanStaticResultDetailsDto extends IDto {
|
|
|
10959
11059
|
suspicious_tags?: string[] | undefined;
|
|
10960
11060
|
matches?: string[] | undefined;
|
|
10961
11061
|
image_info?: ScanStaticResultImageInfoDto;
|
|
11062
|
+
zip_type?: string | undefined;
|
|
11063
|
+
entry_count?: number | undefined;
|
|
11064
|
+
entries?: string[] | undefined;
|
|
11065
|
+
entry_point?: string | undefined;
|
|
11066
|
+
section_count?: number | undefined;
|
|
10962
11067
|
}
|
|
10963
11068
|
export interface ScanStaticResultForTableDto extends IDto {
|
|
10964
11069
|
id?: number;
|
|
@@ -11120,6 +11225,34 @@ export interface ScanStaticSectionListIDataResult extends IEntity {
|
|
|
11120
11225
|
readonly message?: string | undefined;
|
|
11121
11226
|
readonly data?: ScanStaticSection[] | undefined;
|
|
11122
11227
|
}
|
|
11228
|
+
export interface ScanSummaryDto extends IDto {
|
|
11229
|
+
scanGuid?: string | undefined;
|
|
11230
|
+
submissionName?: string | undefined;
|
|
11231
|
+
scanTypeName?: string | undefined;
|
|
11232
|
+
completedAt?: Date | undefined;
|
|
11233
|
+
totalEngineCount?: number;
|
|
11234
|
+
flaggedCount?: number;
|
|
11235
|
+
cleanCount?: number;
|
|
11236
|
+
errorCount?: number;
|
|
11237
|
+
overallScore?: number | undefined;
|
|
11238
|
+
algorithmScore?: number | undefined;
|
|
11239
|
+
llmScore?: number | undefined;
|
|
11240
|
+
staticScore?: number | undefined;
|
|
11241
|
+
threatIntelAvailable?: boolean;
|
|
11242
|
+
threatIntelSuccess?: boolean;
|
|
11243
|
+
threatDetectionCount?: number;
|
|
11244
|
+
staticAnalysisAvailable?: boolean;
|
|
11245
|
+
staticAnalysisSuccess?: boolean;
|
|
11246
|
+
md5?: string | undefined;
|
|
11247
|
+
sha1?: string | undefined;
|
|
11248
|
+
sha256?: string | undefined;
|
|
11249
|
+
fileSize?: number | undefined;
|
|
11250
|
+
}
|
|
11251
|
+
export interface ScanSummaryDtoIDataResult extends IEntity {
|
|
11252
|
+
readonly success?: boolean;
|
|
11253
|
+
readonly message?: string | undefined;
|
|
11254
|
+
data?: ScanSummaryDto;
|
|
11255
|
+
}
|
|
11123
11256
|
export interface ScanThreatDetection extends IEntity {
|
|
11124
11257
|
id?: number;
|
|
11125
11258
|
scanId?: number;
|
|
@@ -11854,6 +11987,10 @@ export interface TrialAnonFinalizeDto extends IDto {
|
|
|
11854
11987
|
code?: string | undefined;
|
|
11855
11988
|
state?: string | undefined;
|
|
11856
11989
|
}
|
|
11990
|
+
export interface TrialNotificationMutationRequest extends IEntity {
|
|
11991
|
+
notificationId?: number;
|
|
11992
|
+
deviceHash?: string | undefined;
|
|
11993
|
+
}
|
|
11857
11994
|
export interface TrialUser extends IEntity {
|
|
11858
11995
|
id?: number;
|
|
11859
11996
|
baseUserId?: number;
|
package/dist/generated/index.js
CHANGED
|
@@ -4228,6 +4228,86 @@ export class NotificationsClient extends BaseApiClient {
|
|
|
4228
4228
|
this.http = http ? http : { fetch: buildAuthFetch(configuration) };
|
|
4229
4229
|
this.baseUrl = (baseUrl ?? configuration.baseUrl ?? "").replace(/\/+$/, "").replace(/\/api$/, "");
|
|
4230
4230
|
}
|
|
4231
|
+
/**
|
|
4232
|
+
* @param body (optional)
|
|
4233
|
+
* @return OK
|
|
4234
|
+
*/
|
|
4235
|
+
trialMarkAsRead(body, signal) {
|
|
4236
|
+
let url_ = this.baseUrl + "/api/Notifications/TrialMarkAsRead";
|
|
4237
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
4238
|
+
const content_ = JSON.stringify(body);
|
|
4239
|
+
let options_ = {
|
|
4240
|
+
body: content_,
|
|
4241
|
+
method: "POST",
|
|
4242
|
+
signal,
|
|
4243
|
+
headers: {
|
|
4244
|
+
"Content-Type": "application/json",
|
|
4245
|
+
}
|
|
4246
|
+
};
|
|
4247
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
4248
|
+
return this.processTrialMarkAsRead(_response);
|
|
4249
|
+
});
|
|
4250
|
+
}
|
|
4251
|
+
processTrialMarkAsRead(response) {
|
|
4252
|
+
const status = response.status;
|
|
4253
|
+
let _headers = {};
|
|
4254
|
+
if (response.headers && response.headers.forEach) {
|
|
4255
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
4256
|
+
}
|
|
4257
|
+
;
|
|
4258
|
+
if (status === 200) {
|
|
4259
|
+
return response.text().then((_responseText) => {
|
|
4260
|
+
const result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4261
|
+
return result200;
|
|
4262
|
+
});
|
|
4263
|
+
}
|
|
4264
|
+
else if (status !== 200 && status !== 204) {
|
|
4265
|
+
return response.text().then((_responseText) => {
|
|
4266
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
4267
|
+
});
|
|
4268
|
+
}
|
|
4269
|
+
return Promise.resolve(null);
|
|
4270
|
+
}
|
|
4271
|
+
/**
|
|
4272
|
+
* @param body (optional)
|
|
4273
|
+
* @return OK
|
|
4274
|
+
*/
|
|
4275
|
+
trialDelete(body, signal) {
|
|
4276
|
+
let url_ = this.baseUrl + "/api/Notifications/TrialDelete";
|
|
4277
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
4278
|
+
const content_ = JSON.stringify(body);
|
|
4279
|
+
let options_ = {
|
|
4280
|
+
body: content_,
|
|
4281
|
+
method: "POST",
|
|
4282
|
+
signal,
|
|
4283
|
+
headers: {
|
|
4284
|
+
"Content-Type": "application/json",
|
|
4285
|
+
}
|
|
4286
|
+
};
|
|
4287
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
4288
|
+
return this.processTrialDelete(_response);
|
|
4289
|
+
});
|
|
4290
|
+
}
|
|
4291
|
+
processTrialDelete(response) {
|
|
4292
|
+
const status = response.status;
|
|
4293
|
+
let _headers = {};
|
|
4294
|
+
if (response.headers && response.headers.forEach) {
|
|
4295
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
4296
|
+
}
|
|
4297
|
+
;
|
|
4298
|
+
if (status === 200) {
|
|
4299
|
+
return response.text().then((_responseText) => {
|
|
4300
|
+
const result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4301
|
+
return result200;
|
|
4302
|
+
});
|
|
4303
|
+
}
|
|
4304
|
+
else if (status !== 200 && status !== 204) {
|
|
4305
|
+
return response.text().then((_responseText) => {
|
|
4306
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
4307
|
+
});
|
|
4308
|
+
}
|
|
4309
|
+
return Promise.resolve(null);
|
|
4310
|
+
}
|
|
4231
4311
|
/**
|
|
4232
4312
|
* @param body (optional)
|
|
4233
4313
|
* @return OK
|
|
@@ -5041,6 +5121,41 @@ export class QueueMonitorClient extends BaseApiClient {
|
|
|
5041
5121
|
}
|
|
5042
5122
|
return Promise.resolve(null);
|
|
5043
5123
|
}
|
|
5124
|
+
/**
|
|
5125
|
+
* @return OK
|
|
5126
|
+
*/
|
|
5127
|
+
workers(signal) {
|
|
5128
|
+
let url_ = this.baseUrl + "/api/QueueMonitor/workers";
|
|
5129
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
5130
|
+
let options_ = {
|
|
5131
|
+
method: "GET",
|
|
5132
|
+
signal,
|
|
5133
|
+
headers: {}
|
|
5134
|
+
};
|
|
5135
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
5136
|
+
return this.processWorkers(_response);
|
|
5137
|
+
});
|
|
5138
|
+
}
|
|
5139
|
+
processWorkers(response) {
|
|
5140
|
+
const status = response.status;
|
|
5141
|
+
let _headers = {};
|
|
5142
|
+
if (response.headers && response.headers.forEach) {
|
|
5143
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
5144
|
+
}
|
|
5145
|
+
;
|
|
5146
|
+
if (status === 200) {
|
|
5147
|
+
return response.text().then((_responseText) => {
|
|
5148
|
+
const result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
5149
|
+
return result200;
|
|
5150
|
+
});
|
|
5151
|
+
}
|
|
5152
|
+
else if (status !== 200 && status !== 204) {
|
|
5153
|
+
return response.text().then((_responseText) => {
|
|
5154
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
5155
|
+
});
|
|
5156
|
+
}
|
|
5157
|
+
return Promise.resolve(null);
|
|
5158
|
+
}
|
|
5044
5159
|
/**
|
|
5045
5160
|
* @return OK
|
|
5046
5161
|
*/
|
|
@@ -12281,6 +12396,49 @@ export class ScanDatasClient extends BaseApiClient {
|
|
|
12281
12396
|
}
|
|
12282
12397
|
return Promise.resolve(null);
|
|
12283
12398
|
}
|
|
12399
|
+
/**
|
|
12400
|
+
* @param scanGuid (optional)
|
|
12401
|
+
* @return OK
|
|
12402
|
+
*/
|
|
12403
|
+
getScanSummary(scanGuid, signal) {
|
|
12404
|
+
let url_ = this.baseUrl + "/api/ScanDatas/GetScanSummary?";
|
|
12405
|
+
if (scanGuid === null)
|
|
12406
|
+
throw new globalThis.Error("The parameter 'scanGuid' cannot be null.");
|
|
12407
|
+
else if (scanGuid !== undefined)
|
|
12408
|
+
url_ += "scanGuid=" + encodeURIComponent("" + scanGuid) + "&";
|
|
12409
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
12410
|
+
let options_ = {
|
|
12411
|
+
method: "GET",
|
|
12412
|
+
signal,
|
|
12413
|
+
headers: {
|
|
12414
|
+
"Accept": "application/json"
|
|
12415
|
+
}
|
|
12416
|
+
};
|
|
12417
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
12418
|
+
return this.processGetScanSummary(_response);
|
|
12419
|
+
});
|
|
12420
|
+
}
|
|
12421
|
+
processGetScanSummary(response) {
|
|
12422
|
+
const status = response.status;
|
|
12423
|
+
let _headers = {};
|
|
12424
|
+
if (response.headers && response.headers.forEach) {
|
|
12425
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
12426
|
+
}
|
|
12427
|
+
;
|
|
12428
|
+
if (status === 200) {
|
|
12429
|
+
return response.text().then((_responseText) => {
|
|
12430
|
+
let result200 = null;
|
|
12431
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
12432
|
+
return result200;
|
|
12433
|
+
});
|
|
12434
|
+
}
|
|
12435
|
+
else if (status !== 200 && status !== 204) {
|
|
12436
|
+
return response.text().then((_responseText) => {
|
|
12437
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
12438
|
+
});
|
|
12439
|
+
}
|
|
12440
|
+
return Promise.resolve(null);
|
|
12441
|
+
}
|
|
12284
12442
|
/**
|
|
12285
12443
|
* @param scanGuid (optional)
|
|
12286
12444
|
* @param skip (optional)
|
|
@@ -15954,6 +16112,48 @@ export class ScanScoreResultsClient extends BaseApiClient {
|
|
|
15954
16112
|
}
|
|
15955
16113
|
return Promise.resolve(null);
|
|
15956
16114
|
}
|
|
16115
|
+
/**
|
|
16116
|
+
* @param body (optional)
|
|
16117
|
+
* @return OK
|
|
16118
|
+
*/
|
|
16119
|
+
processInternal(body, signal) {
|
|
16120
|
+
let url_ = this.baseUrl + "/api/ScanScoreResults/ProcessInternal";
|
|
16121
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
16122
|
+
const content_ = JSON.stringify(body);
|
|
16123
|
+
let options_ = {
|
|
16124
|
+
body: content_,
|
|
16125
|
+
method: "POST",
|
|
16126
|
+
signal,
|
|
16127
|
+
headers: {
|
|
16128
|
+
"Content-Type": "application/json",
|
|
16129
|
+
"Accept": "application/json"
|
|
16130
|
+
}
|
|
16131
|
+
};
|
|
16132
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
16133
|
+
return this.processProcessInternal(_response);
|
|
16134
|
+
});
|
|
16135
|
+
}
|
|
16136
|
+
processProcessInternal(response) {
|
|
16137
|
+
const status = response.status;
|
|
16138
|
+
let _headers = {};
|
|
16139
|
+
if (response.headers && response.headers.forEach) {
|
|
16140
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
16141
|
+
}
|
|
16142
|
+
;
|
|
16143
|
+
if (status === 200) {
|
|
16144
|
+
return response.text().then((_responseText) => {
|
|
16145
|
+
let result200 = null;
|
|
16146
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
16147
|
+
return result200;
|
|
16148
|
+
});
|
|
16149
|
+
}
|
|
16150
|
+
else if (status !== 200 && status !== 204) {
|
|
16151
|
+
return response.text().then((_responseText) => {
|
|
16152
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
16153
|
+
});
|
|
16154
|
+
}
|
|
16155
|
+
return Promise.resolve(null);
|
|
16156
|
+
}
|
|
15957
16157
|
/**
|
|
15958
16158
|
* @param body (optional)
|
|
15959
16159
|
* @return OK
|
|
@@ -18762,6 +18962,48 @@ export class ScanStaticResultsClient extends BaseApiClient {
|
|
|
18762
18962
|
}
|
|
18763
18963
|
return Promise.resolve(null);
|
|
18764
18964
|
}
|
|
18965
|
+
/**
|
|
18966
|
+
* @param body (optional)
|
|
18967
|
+
* @return OK
|
|
18968
|
+
*/
|
|
18969
|
+
processInternal(body, signal) {
|
|
18970
|
+
let url_ = this.baseUrl + "/api/ScanStaticResults/ProcessInternal";
|
|
18971
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
18972
|
+
const content_ = JSON.stringify(body);
|
|
18973
|
+
let options_ = {
|
|
18974
|
+
body: content_,
|
|
18975
|
+
method: "POST",
|
|
18976
|
+
signal,
|
|
18977
|
+
headers: {
|
|
18978
|
+
"Content-Type": "application/json",
|
|
18979
|
+
"Accept": "application/json"
|
|
18980
|
+
}
|
|
18981
|
+
};
|
|
18982
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
18983
|
+
return this.processProcessInternal(_response);
|
|
18984
|
+
});
|
|
18985
|
+
}
|
|
18986
|
+
processProcessInternal(response) {
|
|
18987
|
+
const status = response.status;
|
|
18988
|
+
let _headers = {};
|
|
18989
|
+
if (response.headers && response.headers.forEach) {
|
|
18990
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18991
|
+
}
|
|
18992
|
+
;
|
|
18993
|
+
if (status === 200) {
|
|
18994
|
+
return response.text().then((_responseText) => {
|
|
18995
|
+
let result200 = null;
|
|
18996
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18997
|
+
return result200;
|
|
18998
|
+
});
|
|
18999
|
+
}
|
|
19000
|
+
else if (status !== 200 && status !== 204) {
|
|
19001
|
+
return response.text().then((_responseText) => {
|
|
19002
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19003
|
+
});
|
|
19004
|
+
}
|
|
19005
|
+
return Promise.resolve(null);
|
|
19006
|
+
}
|
|
18765
19007
|
/**
|
|
18766
19008
|
* @param guid (optional)
|
|
18767
19009
|
* @return OK
|
|
@@ -22177,6 +22419,92 @@ export class ScanVisibilityTypesClient extends BaseApiClient {
|
|
|
22177
22419
|
return Promise.resolve(null);
|
|
22178
22420
|
}
|
|
22179
22421
|
}
|
|
22422
|
+
export class ApiClient extends BaseApiClient {
|
|
22423
|
+
constructor(configuration, baseUrl, http) {
|
|
22424
|
+
super(configuration);
|
|
22425
|
+
this.jsonParseReviver = undefined;
|
|
22426
|
+
this.http = http ? http : { fetch: buildAuthFetch(configuration) };
|
|
22427
|
+
this.baseUrl = (baseUrl ?? configuration.baseUrl ?? "").replace(/\/+$/, "").replace(/\/api$/, "");
|
|
22428
|
+
}
|
|
22429
|
+
/**
|
|
22430
|
+
* @param body (optional)
|
|
22431
|
+
* @return OK
|
|
22432
|
+
*/
|
|
22433
|
+
shareLinksPost(body, signal) {
|
|
22434
|
+
let url_ = this.baseUrl + "/api/share-links";
|
|
22435
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22436
|
+
const content_ = JSON.stringify(body);
|
|
22437
|
+
let options_ = {
|
|
22438
|
+
body: content_,
|
|
22439
|
+
method: "POST",
|
|
22440
|
+
signal,
|
|
22441
|
+
headers: {
|
|
22442
|
+
"Content-Type": "application/json",
|
|
22443
|
+
}
|
|
22444
|
+
};
|
|
22445
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
22446
|
+
return this.processShareLinksPost(_response);
|
|
22447
|
+
});
|
|
22448
|
+
}
|
|
22449
|
+
processShareLinksPost(response) {
|
|
22450
|
+
const status = response.status;
|
|
22451
|
+
let _headers = {};
|
|
22452
|
+
if (response.headers && response.headers.forEach) {
|
|
22453
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
22454
|
+
}
|
|
22455
|
+
;
|
|
22456
|
+
if (status === 200) {
|
|
22457
|
+
return response.text().then((_responseText) => {
|
|
22458
|
+
const result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22459
|
+
return result200;
|
|
22460
|
+
});
|
|
22461
|
+
}
|
|
22462
|
+
else if (status !== 200 && status !== 204) {
|
|
22463
|
+
return response.text().then((_responseText) => {
|
|
22464
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22465
|
+
});
|
|
22466
|
+
}
|
|
22467
|
+
return Promise.resolve(null);
|
|
22468
|
+
}
|
|
22469
|
+
/**
|
|
22470
|
+
* @return OK
|
|
22471
|
+
*/
|
|
22472
|
+
shareLinksGet(code, signal) {
|
|
22473
|
+
let url_ = this.baseUrl + "/api/share-links/{code}";
|
|
22474
|
+
if (code === undefined || code === null)
|
|
22475
|
+
throw new globalThis.Error("The parameter 'code' must be defined.");
|
|
22476
|
+
url_ = url_.replace("{code}", encodeURIComponent("" + code));
|
|
22477
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22478
|
+
let options_ = {
|
|
22479
|
+
method: "GET",
|
|
22480
|
+
signal,
|
|
22481
|
+
headers: {}
|
|
22482
|
+
};
|
|
22483
|
+
return this.http.fetch(url_, options_).then((_response) => {
|
|
22484
|
+
return this.processShareLinksGet(_response);
|
|
22485
|
+
});
|
|
22486
|
+
}
|
|
22487
|
+
processShareLinksGet(response) {
|
|
22488
|
+
const status = response.status;
|
|
22489
|
+
let _headers = {};
|
|
22490
|
+
if (response.headers && response.headers.forEach) {
|
|
22491
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
22492
|
+
}
|
|
22493
|
+
;
|
|
22494
|
+
if (status === 200) {
|
|
22495
|
+
return response.text().then((_responseText) => {
|
|
22496
|
+
const result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22497
|
+
return result200;
|
|
22498
|
+
});
|
|
22499
|
+
}
|
|
22500
|
+
else if (status !== 200 && status !== 204) {
|
|
22501
|
+
return response.text().then((_responseText) => {
|
|
22502
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22503
|
+
});
|
|
22504
|
+
}
|
|
22505
|
+
return Promise.resolve(null);
|
|
22506
|
+
}
|
|
22507
|
+
}
|
|
22180
22508
|
export class InternalClient extends BaseApiClient {
|
|
22181
22509
|
constructor(configuration, baseUrl, http) {
|
|
22182
22510
|
super(configuration);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CreateShareLinkRequest as __CreateShareLinkRequest } from "../index.js";
|
|
2
|
+
export declare const CreateShareLinkRequest: __CreateShareLinkRequest;
|
|
3
|
+
export type CreateShareLinkRequest = __CreateShareLinkRequest;
|
|
4
|
+
export type createShareLinkRequest = __CreateShareLinkRequest;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const CreateShareLinkRequest = {};
|
|
@@ -30,6 +30,7 @@ export * from "./base-user-device-list-i-data-result.js";
|
|
|
30
30
|
export * from "./boolean-i-data-result.js";
|
|
31
31
|
export * from "./calling-conventions.js";
|
|
32
32
|
export * from "./constructor-info.js";
|
|
33
|
+
export * from "./create-share-link-request.js";
|
|
33
34
|
export * from "./curl-task.js";
|
|
34
35
|
export * from "./curl-task-for-table-dto.js";
|
|
35
36
|
export * from "./curl-task-for-table-dto-list-i-data-result.js";
|
|
@@ -62,7 +63,6 @@ export * from "./file-stream-i-data-result.js";
|
|
|
62
63
|
export * from "./generic-parameter-attributes.js";
|
|
63
64
|
export * from "./i-custom-attribute-provider.js";
|
|
64
65
|
export * from "./i-result.js";
|
|
65
|
-
export * from "./i-result-task.js";
|
|
66
66
|
export * from "./int32-i-data-result.js";
|
|
67
67
|
export * from "./int-ptr.js";
|
|
68
68
|
export * from "./interaction-tracker.js";
|
|
@@ -424,6 +424,7 @@ export * from "./scan-score-type-for-table-filter-data-table-query.js";
|
|
|
424
424
|
export * from "./scan-score-type-i-data-result.js";
|
|
425
425
|
export * from "./scan-score-type-list-i-data-result.js";
|
|
426
426
|
export * from "./scan-static-detail.js";
|
|
427
|
+
export * from "./scan-static-detail-for-algorithm-analysis.js";
|
|
427
428
|
export * from "./scan-static-detail-for-table-dto.js";
|
|
428
429
|
export * from "./scan-static-detail-for-table-dto-list-i-data-result.js";
|
|
429
430
|
export * from "./scan-static-detail-for-table-dto-list-result-filter.js";
|
|
@@ -486,6 +487,8 @@ export * from "./scan-static-section-for-table-filter.js";
|
|
|
486
487
|
export * from "./scan-static-section-for-table-filter-data-table-query.js";
|
|
487
488
|
export * from "./scan-static-section-i-data-result.js";
|
|
488
489
|
export * from "./scan-static-section-list-i-data-result.js";
|
|
490
|
+
export * from "./scan-summary-dto.js";
|
|
491
|
+
export * from "./scan-summary-dto-i-data-result.js";
|
|
489
492
|
export * from "./scan-threat-detection.js";
|
|
490
493
|
export * from "./scan-threat-detection-for-table-dto.js";
|
|
491
494
|
export * from "./scan-threat-detection-for-table-dto-list-i-data-result.js";
|
|
@@ -594,6 +597,7 @@ export * from "./threat-rule-version-i-data-result.js";
|
|
|
594
597
|
export * from "./threat-rule-version-list-i-data-result.js";
|
|
595
598
|
export * from "./trial-anon-auth-link-dto.js";
|
|
596
599
|
export * from "./trial-anon-finalize-dto.js";
|
|
600
|
+
export * from "./trial-notification-mutation-request.js";
|
|
597
601
|
export * from "./trial-user.js";
|
|
598
602
|
export * from "./trial-user-for-table-dto.js";
|
|
599
603
|
export * from "./trial-user-for-table-dto-list-i-data-result.js";
|
|
@@ -30,6 +30,7 @@ export * from "./base-user-device-list-i-data-result.js";
|
|
|
30
30
|
export * from "./boolean-i-data-result.js";
|
|
31
31
|
export * from "./calling-conventions.js";
|
|
32
32
|
export * from "./constructor-info.js";
|
|
33
|
+
export * from "./create-share-link-request.js";
|
|
33
34
|
export * from "./curl-task.js";
|
|
34
35
|
export * from "./curl-task-for-table-dto.js";
|
|
35
36
|
export * from "./curl-task-for-table-dto-list-i-data-result.js";
|
|
@@ -62,7 +63,6 @@ export * from "./file-stream-i-data-result.js";
|
|
|
62
63
|
export * from "./generic-parameter-attributes.js";
|
|
63
64
|
export * from "./i-custom-attribute-provider.js";
|
|
64
65
|
export * from "./i-result.js";
|
|
65
|
-
export * from "./i-result-task.js";
|
|
66
66
|
export * from "./int32-i-data-result.js";
|
|
67
67
|
export * from "./int-ptr.js";
|
|
68
68
|
export * from "./interaction-tracker.js";
|
|
@@ -424,6 +424,7 @@ export * from "./scan-score-type-for-table-filter-data-table-query.js";
|
|
|
424
424
|
export * from "./scan-score-type-i-data-result.js";
|
|
425
425
|
export * from "./scan-score-type-list-i-data-result.js";
|
|
426
426
|
export * from "./scan-static-detail.js";
|
|
427
|
+
export * from "./scan-static-detail-for-algorithm-analysis.js";
|
|
427
428
|
export * from "./scan-static-detail-for-table-dto.js";
|
|
428
429
|
export * from "./scan-static-detail-for-table-dto-list-i-data-result.js";
|
|
429
430
|
export * from "./scan-static-detail-for-table-dto-list-result-filter.js";
|
|
@@ -486,6 +487,8 @@ export * from "./scan-static-section-for-table-filter.js";
|
|
|
486
487
|
export * from "./scan-static-section-for-table-filter-data-table-query.js";
|
|
487
488
|
export * from "./scan-static-section-i-data-result.js";
|
|
488
489
|
export * from "./scan-static-section-list-i-data-result.js";
|
|
490
|
+
export * from "./scan-summary-dto.js";
|
|
491
|
+
export * from "./scan-summary-dto-i-data-result.js";
|
|
489
492
|
export * from "./scan-threat-detection.js";
|
|
490
493
|
export * from "./scan-threat-detection-for-table-dto.js";
|
|
491
494
|
export * from "./scan-threat-detection-for-table-dto-list-i-data-result.js";
|
|
@@ -594,6 +597,7 @@ export * from "./threat-rule-version-i-data-result.js";
|
|
|
594
597
|
export * from "./threat-rule-version-list-i-data-result.js";
|
|
595
598
|
export * from "./trial-anon-auth-link-dto.js";
|
|
596
599
|
export * from "./trial-anon-finalize-dto.js";
|
|
600
|
+
export * from "./trial-notification-mutation-request.js";
|
|
597
601
|
export * from "./trial-user.js";
|
|
598
602
|
export * from "./trial-user-for-table-dto.js";
|
|
599
603
|
export * from "./trial-user-for-table-dto-list-i-data-result.js";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ScanStaticDetailForAlgorithmAnalysis as __ScanStaticDetailForAlgorithmAnalysis } from "../index.js";
|
|
2
|
+
export declare const ScanStaticDetailForAlgorithmAnalysis: __ScanStaticDetailForAlgorithmAnalysis;
|
|
3
|
+
export type ScanStaticDetailForAlgorithmAnalysis = __ScanStaticDetailForAlgorithmAnalysis;
|
|
4
|
+
export type scanStaticDetailForAlgorithmAnalysis = __ScanStaticDetailForAlgorithmAnalysis;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const ScanStaticDetailForAlgorithmAnalysis = {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ScanSummaryDtoIDataResult as __ScanSummaryDtoIDataResult } from "../index.js";
|
|
2
|
+
export declare const ScanSummaryDtoIDataResult: __ScanSummaryDtoIDataResult;
|
|
3
|
+
export type ScanSummaryDtoIDataResult = __ScanSummaryDtoIDataResult;
|
|
4
|
+
export type scanSummaryDtoIDataResult = __ScanSummaryDtoIDataResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const ScanSummaryDtoIDataResult = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const ScanSummaryDto = {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { TrialNotificationMutationRequest as __TrialNotificationMutationRequest } from "../index.js";
|
|
2
|
+
export declare const TrialNotificationMutationRequest: __TrialNotificationMutationRequest;
|
|
3
|
+
export type TrialNotificationMutationRequest = __TrialNotificationMutationRequest;
|
|
4
|
+
export type trialNotificationMutationRequest = __TrialNotificationMutationRequest;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const TrialNotificationMutationRequest = {};
|
package/dist/rx.d.ts
CHANGED
|
@@ -183,6 +183,9 @@ export declare function createAllClients(cfg: ApiClientConfig, baseUrl?: string,
|
|
|
183
183
|
ScanVisibilityTypesClient: ClientCtors.ScanVisibilityTypesClient;
|
|
184
184
|
ScanVisibilityTypesService: ClientCtors.ScanVisibilityTypesClient;
|
|
185
185
|
scanVisibilityTypesService: ClientCtors.ScanVisibilityTypesClient;
|
|
186
|
+
ApiClient: ClientCtors.ApiClient;
|
|
187
|
+
ApiService: ClientCtors.ApiClient;
|
|
188
|
+
apiService: ClientCtors.ApiClient;
|
|
186
189
|
InternalClient: ClientCtors.InternalClient;
|
|
187
190
|
InternalService: ClientCtors.InternalClient;
|
|
188
191
|
internalService: ClientCtors.InternalClient;
|
|
@@ -407,6 +410,9 @@ export declare function createAllRxClients(cfg: ApiClientConfig, baseUrl?: strin
|
|
|
407
410
|
ScanVisibilityTypesClient: Rxified<ClientCtors.ScanVisibilityTypesClient>;
|
|
408
411
|
ScanVisibilityTypesService: Rxified<ClientCtors.ScanVisibilityTypesClient>;
|
|
409
412
|
scanVisibilityTypesService: Rxified<ClientCtors.ScanVisibilityTypesClient>;
|
|
413
|
+
ApiClient: Rxified<ClientCtors.ApiClient>;
|
|
414
|
+
ApiService: Rxified<ClientCtors.ApiClient>;
|
|
415
|
+
apiService: Rxified<ClientCtors.ApiClient>;
|
|
410
416
|
InternalClient: Rxified<ClientCtors.InternalClient>;
|
|
411
417
|
InternalService: Rxified<ClientCtors.InternalClient>;
|
|
412
418
|
internalService: Rxified<ClientCtors.InternalClient>;
|