@virusis/api-client 0.1.10 → 0.1.12

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.
Files changed (35) hide show
  1. package/dist/container.d.ts +3 -3
  2. package/dist/generated/clients/index.d.ts +1 -1
  3. package/dist/generated/clients/index.js +1 -1
  4. package/dist/generated/clients/scan-score-results-service.d.ts +2 -0
  5. package/dist/generated/clients/scan-score-results-service.js +2 -0
  6. package/dist/generated/clients-rx/index.d.ts +1 -1
  7. package/dist/generated/clients-rx/index.js +1 -1
  8. package/dist/generated/clients-rx/scan-score-results-service-rx.d.ts +16 -0
  9. package/dist/generated/clients-rx/scan-score-results-service-rx.js +12 -0
  10. package/dist/generated/index.d.ts +175 -62
  11. package/dist/generated/index.js +435 -138
  12. package/dist/generated/models/index.d.ts +10 -4
  13. package/dist/generated/models/index.js +10 -4
  14. package/dist/generated/models/process-scan-scores-request.d.ts +4 -0
  15. package/dist/generated/models/process-scan-scores-request.js +1 -0
  16. package/dist/generated/models/scan-score-result-for-table-dto-list-i-data-result.d.ts +4 -0
  17. package/dist/generated/models/scan-score-result-for-table-dto-list-i-data-result.js +1 -0
  18. package/dist/generated/models/scan-score-result-for-table-dto-list-result-filter-i-data-result.d.ts +4 -0
  19. package/dist/generated/models/scan-score-result-for-table-dto-list-result-filter-i-data-result.js +1 -0
  20. package/dist/generated/models/scan-score-result-for-table-dto-list-result-filter.d.ts +4 -0
  21. package/dist/generated/models/scan-score-result-for-table-dto-list-result-filter.js +1 -0
  22. package/dist/generated/models/scan-score-result-for-table-dto.d.ts +4 -0
  23. package/dist/generated/models/scan-score-result-for-table-dto.js +1 -0
  24. package/dist/generated/models/scan-score-result-for-table-filter-data-table-query.d.ts +4 -0
  25. package/dist/generated/models/scan-score-result-for-table-filter-data-table-query.js +1 -0
  26. package/dist/generated/models/scan-score-result-for-table-filter.d.ts +4 -0
  27. package/dist/generated/models/scan-score-result-for-table-filter.js +1 -0
  28. package/dist/generated/models/scan-score-result-i-data-result.d.ts +4 -0
  29. package/dist/generated/models/scan-score-result-i-data-result.js +1 -0
  30. package/dist/generated/models/scan-score-result-list-i-data-result.d.ts +4 -0
  31. package/dist/generated/models/scan-score-result-list-i-data-result.js +1 -0
  32. package/dist/generated/models/scan-score-result.d.ts +4 -0
  33. package/dist/generated/models/scan-score-result.js +1 -0
  34. package/dist/rx.d.ts +6 -6
  35. package/package.json +1 -1
@@ -27,7 +27,6 @@ export declare function getServices(): {
27
27
  queueMonitorService: import("./index.js").QueueMonitorClient;
28
28
  metricsService: import("./index.js").MetricsClient;
29
29
  healthService: import("./index.js").HealthClient;
30
- scanAlgorithmsService: import("./index.js").ScanAlgorithmsClient;
31
30
  scanApiBusSourcesService: import("./index.js").ScanApiBusSourcesClient;
32
31
  scanApiCredentialsService: import("./index.js").ScanApiCredentialsClient;
33
32
  scanApiCredentialUsagesService: import("./index.js").ScanApiCredentialUsagesClient;
@@ -50,6 +49,7 @@ export declare function getServices(): {
50
49
  scanEnginesService: import("./index.js").ScanEnginesClient;
51
50
  scanService: import("./index.js").ScanClient;
52
51
  scansService: import("./index.js").ScansClient;
52
+ scanScoreResultsService: import("./index.js").ScanScoreResultsClient;
53
53
  scanScoresService: import("./index.js").ScanScoresClient;
54
54
  scanScoreTypesService: import("./index.js").ScanScoreTypesClient;
55
55
  scanThreatDetectionsService: import("./index.js").ScanThreatDetectionsClient;
@@ -93,7 +93,6 @@ export declare function getServicesRx(): {
93
93
  queueMonitorService: import("./index.js").QueueMonitorClient;
94
94
  metricsService: import("./index.js").MetricsClient;
95
95
  healthService: import("./index.js").HealthClient;
96
- scanAlgorithmsService: import("./index.js").ScanAlgorithmsClient;
97
96
  scanApiBusSourcesService: import("./index.js").ScanApiBusSourcesClient;
98
97
  scanApiCredentialsService: import("./index.js").ScanApiCredentialsClient;
99
98
  scanApiCredentialUsagesService: import("./index.js").ScanApiCredentialUsagesClient;
@@ -116,6 +115,7 @@ export declare function getServicesRx(): {
116
115
  scanEnginesService: import("./index.js").ScanEnginesClient;
117
116
  scanService: import("./index.js").ScanClient;
118
117
  scansService: import("./index.js").ScansClient;
118
+ scanScoreResultsService: import("./index.js").ScanScoreResultsClient;
119
119
  scanScoresService: import("./index.js").ScanScoresClient;
120
120
  scanScoreTypesService: import("./index.js").ScanScoreTypesClient;
121
121
  scanThreatDetectionsService: import("./index.js").ScanThreatDetectionsClient;
@@ -160,7 +160,6 @@ export declare function getServicesByMode(mode?: ClientMode): {
160
160
  queueMonitorService: import("./index.js").QueueMonitorClient;
161
161
  metricsService: import("./index.js").MetricsClient;
162
162
  healthService: import("./index.js").HealthClient;
163
- scanAlgorithmsService: import("./index.js").ScanAlgorithmsClient;
164
163
  scanApiBusSourcesService: import("./index.js").ScanApiBusSourcesClient;
165
164
  scanApiCredentialsService: import("./index.js").ScanApiCredentialsClient;
166
165
  scanApiCredentialUsagesService: import("./index.js").ScanApiCredentialUsagesClient;
@@ -183,6 +182,7 @@ export declare function getServicesByMode(mode?: ClientMode): {
183
182
  scanEnginesService: import("./index.js").ScanEnginesClient;
184
183
  scanService: import("./index.js").ScanClient;
185
184
  scansService: import("./index.js").ScansClient;
185
+ scanScoreResultsService: import("./index.js").ScanScoreResultsClient;
186
186
  scanScoresService: import("./index.js").ScanScoresClient;
187
187
  scanScoreTypesService: import("./index.js").ScanScoreTypesClient;
188
188
  scanThreatDetectionsService: import("./index.js").ScanThreatDetectionsClient;
@@ -14,7 +14,6 @@ export * from "./operation-claims-service.js";
14
14
  export * from "./queue-monitor-service.js";
15
15
  export * from "./metrics-service.js";
16
16
  export * from "./health-service.js";
17
- export * from "./scan-algorithms-service.js";
18
17
  export * from "./scan-api-bus-sources-service.js";
19
18
  export * from "./scan-api-credentials-service.js";
20
19
  export * from "./scan-api-credential-usages-service.js";
@@ -37,6 +36,7 @@ export * from "./scan-engine-ranks-service.js";
37
36
  export * from "./scan-engines-service.js";
38
37
  export * from "./scan-service.js";
39
38
  export * from "./scans-service.js";
39
+ export * from "./scan-score-results-service.js";
40
40
  export * from "./scan-scores-service.js";
41
41
  export * from "./scan-score-types-service.js";
42
42
  export * from "./scan-threat-detections-service.js";
@@ -14,7 +14,6 @@ export * from "./operation-claims-service.js";
14
14
  export * from "./queue-monitor-service.js";
15
15
  export * from "./metrics-service.js";
16
16
  export * from "./health-service.js";
17
- export * from "./scan-algorithms-service.js";
18
17
  export * from "./scan-api-bus-sources-service.js";
19
18
  export * from "./scan-api-credentials-service.js";
20
19
  export * from "./scan-api-credential-usages-service.js";
@@ -37,6 +36,7 @@ export * from "./scan-engine-ranks-service.js";
37
36
  export * from "./scan-engines-service.js";
38
37
  export * from "./scan-service.js";
39
38
  export * from "./scans-service.js";
39
+ export * from "./scan-score-results-service.js";
40
40
  export * from "./scan-scores-service.js";
41
41
  export * from "./scan-score-types-service.js";
42
42
  export * from "./scan-threat-detections-service.js";
@@ -0,0 +1,2 @@
1
+ export { ScanScoreResultsClient, ScanScoreResultsClient as ScanScoreResultsService, IScanScoreResultsClient } from "../index.js";
2
+ export { ScanScoreResultsClient as scanScoreResultsService, IScanScoreResultsClient as iScanScoreResultsClient } from "../index.js";
@@ -0,0 +1,2 @@
1
+ export { ScanScoreResultsClient, ScanScoreResultsClient as ScanScoreResultsService } from "../index.js";
2
+ export { ScanScoreResultsClient as scanScoreResultsService } from "../index.js";
@@ -14,7 +14,6 @@ export * from "./operation-claims-service-rx.js";
14
14
  export * from "./queue-monitor-service-rx.js";
15
15
  export * from "./metrics-service-rx.js";
16
16
  export * from "./health-service-rx.js";
17
- export * from "./scan-algorithms-service-rx.js";
18
17
  export * from "./scan-api-bus-sources-service-rx.js";
19
18
  export * from "./scan-api-credentials-service-rx.js";
20
19
  export * from "./scan-api-credential-usages-service-rx.js";
@@ -37,6 +36,7 @@ export * from "./scan-engine-ranks-service-rx.js";
37
36
  export * from "./scan-engines-service-rx.js";
38
37
  export * from "./scan-service-rx.js";
39
38
  export * from "./scans-service-rx.js";
39
+ export * from "./scan-score-results-service-rx.js";
40
40
  export * from "./scan-scores-service-rx.js";
41
41
  export * from "./scan-score-types-service-rx.js";
42
42
  export * from "./scan-threat-detections-service-rx.js";
@@ -14,7 +14,6 @@ export * from "./operation-claims-service-rx.js";
14
14
  export * from "./queue-monitor-service-rx.js";
15
15
  export * from "./metrics-service-rx.js";
16
16
  export * from "./health-service-rx.js";
17
- export * from "./scan-algorithms-service-rx.js";
18
17
  export * from "./scan-api-bus-sources-service-rx.js";
19
18
  export * from "./scan-api-credentials-service-rx.js";
20
19
  export * from "./scan-api-credential-usages-service-rx.js";
@@ -37,6 +36,7 @@ export * from "./scan-engine-ranks-service-rx.js";
37
36
  export * from "./scan-engines-service-rx.js";
38
37
  export * from "./scan-service-rx.js";
39
38
  export * from "./scans-service-rx.js";
39
+ export * from "./scan-score-results-service-rx.js";
40
40
  export * from "./scan-scores-service-rx.js";
41
41
  export * from "./scan-score-types-service-rx.js";
42
42
  export * from "./scan-threat-detections-service-rx.js";
@@ -0,0 +1,16 @@
1
+ import { ScanScoreResultsClient } from "../index.js";
2
+ import type { ApiClientConfig } from "../../base.js";
3
+ export declare function createScanScoreResultsServiceRx(config: ApiClientConfig, baseUrl?: string, http?: {
4
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
5
+ }): import("../../rx.js").Rxified<ScanScoreResultsClient>;
6
+ export type ScanScoreResultsServiceRx = ReturnType<typeof createScanScoreResultsServiceRx>;
7
+ export declare const scanScoreResultsServiceRx: (config: ApiClientConfig, baseUrl?: string, http?: {
8
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
9
+ }) => import("../../rx.js").Rxified<ScanScoreResultsClient>;
10
+ export declare class ScanScoreResultsServiceRxClass {
11
+ constructor(config: ApiClientConfig, baseUrl?: string, http?: {
12
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
13
+ });
14
+ }
15
+ export interface ScanScoreResultsServiceRxClass extends ScanScoreResultsServiceRx {
16
+ }
@@ -0,0 +1,12 @@
1
+ import { ScanScoreResultsClient } from "../index.js";
2
+ import { rxifyClient } from "../../rx.js";
3
+ export function createScanScoreResultsServiceRx(config, baseUrl, http) {
4
+ return rxifyClient(new ScanScoreResultsClient(config, baseUrl, http));
5
+ }
6
+ export const scanScoreResultsServiceRx = (config, baseUrl, http) => createScanScoreResultsServiceRx(config, baseUrl, http);
7
+ // Angular DI icin: class token kullandiginda Observable donen wrapper
8
+ export class ScanScoreResultsServiceRxClass {
9
+ constructor(config, baseUrl, http) {
10
+ return createScanScoreResultsServiceRx(config, baseUrl, http);
11
+ }
12
+ }
@@ -1470,49 +1470,6 @@ export declare class HealthClient extends BaseApiClient implements IHealthClient
1470
1470
  live(signal?: AbortSignal): Promise<any>;
1471
1471
  protected processLive(response: Response): Promise<any>;
1472
1472
  }
1473
- export interface IScanAlgorithmsClient extends IEntity {
1474
- /**
1475
- * @param body (optional)
1476
- * @return OK
1477
- */
1478
- getScore(body?: ScanAlgorithmDto | undefined, signal?: AbortSignal): Promise<ScanScoreDtoIDataResult>;
1479
- /**
1480
- * @param body (optional)
1481
- * @return OK
1482
- */
1483
- getLLMScore(body?: ScanAlgorithmDto | undefined, signal?: AbortSignal): Promise<ScanAlgorithmLLMScoreDtoIDataResult>;
1484
- /**
1485
- * @param body (optional)
1486
- * @return OK
1487
- */
1488
- getEnrichment(body?: ScanAlgorithmDto | undefined, signal?: AbortSignal): Promise<ScanAlgorithmEnrichmentResultDtoIDataResult>;
1489
- }
1490
- export declare class ScanAlgorithmsClient extends BaseApiClient implements IScanAlgorithmsClient {
1491
- private http;
1492
- private baseUrl;
1493
- protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1494
- constructor(configuration: ApiClientConfig, baseUrl?: string, http?: {
1495
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1496
- });
1497
- /**
1498
- * @param body (optional)
1499
- * @return OK
1500
- */
1501
- getScore(body?: ScanAlgorithmDto | undefined, signal?: AbortSignal): Promise<ScanScoreDtoIDataResult>;
1502
- protected processGetScore(response: Response): Promise<ScanScoreDtoIDataResult>;
1503
- /**
1504
- * @param body (optional)
1505
- * @return OK
1506
- */
1507
- getLLMScore(body?: ScanAlgorithmDto | undefined, signal?: AbortSignal): Promise<ScanAlgorithmLLMScoreDtoIDataResult>;
1508
- protected processGetLLMScore(response: Response): Promise<ScanAlgorithmLLMScoreDtoIDataResult>;
1509
- /**
1510
- * @param body (optional)
1511
- * @return OK
1512
- */
1513
- getEnrichment(body?: ScanAlgorithmDto | undefined, signal?: AbortSignal): Promise<ScanAlgorithmEnrichmentResultDtoIDataResult>;
1514
- protected processGetEnrichment(response: Response): Promise<ScanAlgorithmEnrichmentResultDtoIDataResult>;
1515
- }
1516
1473
  export interface IScanApiBusSourcesClient extends IEntity {
1517
1474
  /**
1518
1475
  * @return OK
@@ -4201,6 +4158,126 @@ export declare class ScansClient extends BaseApiClient implements IScansClient {
4201
4158
  getFiltersBase(body?: ScanForTableFilterDataTableQuery | undefined, signal?: AbortSignal): Promise<ScanForTableDtoListResultFilterIDataResult>;
4202
4159
  protected processGetFiltersBase(response: Response): Promise<ScanForTableDtoListResultFilterIDataResult>;
4203
4160
  }
4161
+ export interface IScanScoreResultsClient extends IEntity {
4162
+ /**
4163
+ * @param body (optional)
4164
+ * @return OK
4165
+ */
4166
+ process(body?: ProcessScanScoresRequest | undefined, signal?: AbortSignal): Promise<BooleanIDataResult>;
4167
+ /**
4168
+ * @param body (optional)
4169
+ * @return OK
4170
+ */
4171
+ add(body?: ScanScoreResult | undefined, signal?: AbortSignal): Promise<IResult>;
4172
+ /**
4173
+ * @param body (optional)
4174
+ * @return OK
4175
+ */
4176
+ addMultiple(body?: ScanScoreResult[] | undefined, signal?: AbortSignal): Promise<IResult>;
4177
+ /**
4178
+ * @param body (optional)
4179
+ * @return OK
4180
+ */
4181
+ update(body?: ScanScoreResult | undefined, signal?: AbortSignal): Promise<IResult>;
4182
+ /**
4183
+ * @param body (optional)
4184
+ * @return OK
4185
+ */
4186
+ delete(body?: ScanScoreResult | undefined, signal?: AbortSignal): Promise<IResult>;
4187
+ /**
4188
+ * @param body (optional)
4189
+ * @return OK
4190
+ */
4191
+ deleteMultiple(body?: ScanScoreResult[] | undefined, signal?: AbortSignal): Promise<IResult>;
4192
+ /**
4193
+ * @param id (optional)
4194
+ * @return OK
4195
+ */
4196
+ getById(id?: number | undefined, signal?: AbortSignal): Promise<ScanScoreResultIDataResult>;
4197
+ /**
4198
+ * @return OK
4199
+ */
4200
+ getAll(signal?: AbortSignal): Promise<ScanScoreResultListIDataResult>;
4201
+ /**
4202
+ * @param skip (optional)
4203
+ * @param take (optional)
4204
+ * @return OK
4205
+ */
4206
+ pagination(skip?: number | undefined, take?: number | undefined, signal?: AbortSignal): Promise<ScanScoreResultForTableDtoListIDataResult>;
4207
+ /**
4208
+ * @param body (optional)
4209
+ * @return OK
4210
+ */
4211
+ getFiltersBase(body?: ScanScoreResultForTableFilterDataTableQuery | undefined, signal?: AbortSignal): Promise<ScanScoreResultForTableDtoListResultFilterIDataResult>;
4212
+ }
4213
+ export declare class ScanScoreResultsClient extends BaseApiClient implements IScanScoreResultsClient {
4214
+ private http;
4215
+ private baseUrl;
4216
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
4217
+ constructor(configuration: ApiClientConfig, baseUrl?: string, http?: {
4218
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
4219
+ });
4220
+ /**
4221
+ * @param body (optional)
4222
+ * @return OK
4223
+ */
4224
+ process(body?: ProcessScanScoresRequest | undefined, signal?: AbortSignal): Promise<BooleanIDataResult>;
4225
+ protected processProcess(response: Response): Promise<BooleanIDataResult>;
4226
+ /**
4227
+ * @param body (optional)
4228
+ * @return OK
4229
+ */
4230
+ add(body?: ScanScoreResult | undefined, signal?: AbortSignal): Promise<IResult>;
4231
+ protected processAdd(response: Response): Promise<IResult>;
4232
+ /**
4233
+ * @param body (optional)
4234
+ * @return OK
4235
+ */
4236
+ addMultiple(body?: ScanScoreResult[] | undefined, signal?: AbortSignal): Promise<IResult>;
4237
+ protected processAddMultiple(response: Response): Promise<IResult>;
4238
+ /**
4239
+ * @param body (optional)
4240
+ * @return OK
4241
+ */
4242
+ update(body?: ScanScoreResult | undefined, signal?: AbortSignal): Promise<IResult>;
4243
+ protected processUpdate(response: Response): Promise<IResult>;
4244
+ /**
4245
+ * @param body (optional)
4246
+ * @return OK
4247
+ */
4248
+ delete(body?: ScanScoreResult | undefined, signal?: AbortSignal): Promise<IResult>;
4249
+ protected processDelete(response: Response): Promise<IResult>;
4250
+ /**
4251
+ * @param body (optional)
4252
+ * @return OK
4253
+ */
4254
+ deleteMultiple(body?: ScanScoreResult[] | undefined, signal?: AbortSignal): Promise<IResult>;
4255
+ protected processDeleteMultiple(response: Response): Promise<IResult>;
4256
+ /**
4257
+ * @param id (optional)
4258
+ * @return OK
4259
+ */
4260
+ getById(id?: number | undefined, signal?: AbortSignal): Promise<ScanScoreResultIDataResult>;
4261
+ protected processGetById(response: Response): Promise<ScanScoreResultIDataResult>;
4262
+ /**
4263
+ * @return OK
4264
+ */
4265
+ getAll(signal?: AbortSignal): Promise<ScanScoreResultListIDataResult>;
4266
+ protected processGetAll(response: Response): Promise<ScanScoreResultListIDataResult>;
4267
+ /**
4268
+ * @param skip (optional)
4269
+ * @param take (optional)
4270
+ * @return OK
4271
+ */
4272
+ pagination(skip?: number | undefined, take?: number | undefined, signal?: AbortSignal): Promise<ScanScoreResultForTableDtoListIDataResult>;
4273
+ protected processPagination(response: Response): Promise<ScanScoreResultForTableDtoListIDataResult>;
4274
+ /**
4275
+ * @param body (optional)
4276
+ * @return OK
4277
+ */
4278
+ getFiltersBase(body?: ScanScoreResultForTableFilterDataTableQuery | undefined, signal?: AbortSignal): Promise<ScanScoreResultForTableDtoListResultFilterIDataResult>;
4279
+ protected processGetFiltersBase(response: Response): Promise<ScanScoreResultForTableDtoListResultFilterIDataResult>;
4280
+ }
4204
4281
  export interface IScanScoresClient extends IEntity {
4205
4282
  /**
4206
4283
  * @param body (optional)
@@ -4544,7 +4621,7 @@ export interface IScanThreatResultsClient extends IEntity {
4544
4621
  * @param body (optional)
4545
4622
  * @return OK
4546
4623
  */
4547
- processEnrichment(body?: ScanAlgorithmDto | undefined, signal?: AbortSignal): Promise<ScanAlgorithmEnrichmentResultDtoIDataResult>;
4624
+ process(body?: ScanAlgorithmDto | undefined, signal?: AbortSignal): Promise<ScanAlgorithmEnrichmentResultDtoIDataResult>;
4548
4625
  /**
4549
4626
  * @param body (optional)
4550
4627
  * @return OK
@@ -4602,8 +4679,8 @@ export declare class ScanThreatResultsClient extends BaseApiClient implements IS
4602
4679
  * @param body (optional)
4603
4680
  * @return OK
4604
4681
  */
4605
- processEnrichment(body?: ScanAlgorithmDto | undefined, signal?: AbortSignal): Promise<ScanAlgorithmEnrichmentResultDtoIDataResult>;
4606
- protected processProcessEnrichment(response: Response): Promise<ScanAlgorithmEnrichmentResultDtoIDataResult>;
4682
+ process(body?: ScanAlgorithmDto | undefined, signal?: AbortSignal): Promise<ScanAlgorithmEnrichmentResultDtoIDataResult>;
4683
+ protected processProcess(response: Response): Promise<ScanAlgorithmEnrichmentResultDtoIDataResult>;
4607
4684
  /**
4608
4685
  * @param body (optional)
4609
4686
  * @return OK
@@ -7673,6 +7750,9 @@ export interface ParameterInfo extends IEntity {
7673
7750
  readonly customAttributes?: CustomAttributeData[] | undefined;
7674
7751
  readonly metadataToken?: number;
7675
7752
  }
7753
+ export interface ProcessScanScoresRequest extends IEntity {
7754
+ guid?: string;
7755
+ }
7676
7756
  export declare enum PropertyAttributes {
7677
7757
  _0 = 0,
7678
7758
  _512 = 512,
@@ -7737,14 +7817,6 @@ export interface ScanAlgorithmEnrichmentResultDtoIDataResult extends IEntity {
7737
7817
  readonly message?: string | undefined;
7738
7818
  data?: ScanAlgorithmEnrichmentResultDto;
7739
7819
  }
7740
- export interface ScanAlgorithmLLMScoreDto extends IDto {
7741
- llm_score?: number;
7742
- }
7743
- export interface ScanAlgorithmLLMScoreDtoIDataResult extends IEntity {
7744
- readonly success?: boolean;
7745
- readonly message?: string | undefined;
7746
- data?: ScanAlgorithmLLMScoreDto;
7747
- }
7748
7820
  export interface ScanAlgorithmScoreForMlAnalysis extends IEntity {
7749
7821
  scoreResult?: number;
7750
7822
  }
@@ -9253,14 +9325,6 @@ export interface ScanScore extends IEntity {
9253
9325
  updateTime?: Date | undefined;
9254
9326
  status?: boolean | undefined;
9255
9327
  }
9256
- export interface ScanScoreDto extends IDto {
9257
- algorithm_score?: number;
9258
- }
9259
- export interface ScanScoreDtoIDataResult extends IEntity {
9260
- readonly success?: boolean;
9261
- readonly message?: string | undefined;
9262
- data?: ScanScoreDto;
9263
- }
9264
9328
  export interface ScanScoreForAnalysis extends IEntity {
9265
9329
  scoreResult?: number;
9266
9330
  scanScoreTypeName?: string | undefined;
@@ -9316,6 +9380,55 @@ export interface ScanScoreListIDataResult extends IEntity {
9316
9380
  readonly message?: string | undefined;
9317
9381
  readonly data?: ScanScore[] | undefined;
9318
9382
  }
9383
+ export interface ScanScoreResult extends IEntity {
9384
+ id?: number;
9385
+ scanId?: number;
9386
+ data?: string | undefined;
9387
+ updateTime?: Date | undefined;
9388
+ status?: boolean | undefined;
9389
+ }
9390
+ export interface ScanScoreResultForTableDto extends IDto {
9391
+ id?: number;
9392
+ scanId?: number;
9393
+ updateTime?: Date | undefined;
9394
+ status?: boolean | undefined;
9395
+ }
9396
+ export interface ScanScoreResultForTableDtoListIDataResult extends IEntity {
9397
+ readonly success?: boolean;
9398
+ readonly message?: string | undefined;
9399
+ readonly data?: ScanScoreResultForTableDto[] | undefined;
9400
+ }
9401
+ export interface ScanScoreResultForTableDtoListResultFilter extends IFilter {
9402
+ filterList?: ScanScoreResultForTableDto[] | undefined;
9403
+ totalCount?: number;
9404
+ totalRecordCount?: number;
9405
+ hasNextPage?: boolean;
9406
+ }
9407
+ export interface ScanScoreResultForTableDtoListResultFilterIDataResult extends IFilter {
9408
+ readonly success?: boolean;
9409
+ readonly message?: string | undefined;
9410
+ data?: ScanScoreResultForTableDtoListResultFilter;
9411
+ }
9412
+ export interface ScanScoreResultForTableFilter extends IFilter {
9413
+ scanId?: number | undefined;
9414
+ status?: boolean | undefined;
9415
+ }
9416
+ export interface ScanScoreResultForTableFilterDataTableQuery extends IFilter {
9417
+ filter?: ScanScoreResultForTableFilter;
9418
+ selectColumn?: number;
9419
+ skip?: number;
9420
+ take?: number;
9421
+ }
9422
+ export interface ScanScoreResultIDataResult extends IEntity {
9423
+ readonly success?: boolean;
9424
+ readonly message?: string | undefined;
9425
+ data?: ScanScoreResult;
9426
+ }
9427
+ export interface ScanScoreResultListIDataResult extends IEntity {
9428
+ readonly success?: boolean;
9429
+ readonly message?: string | undefined;
9430
+ readonly data?: ScanScoreResult[] | undefined;
9431
+ }
9319
9432
  export interface ScanScoreType extends IEntity {
9320
9433
  id?: number;
9321
9434
  name?: string | undefined;
@@ -5163,140 +5163,6 @@ export class HealthClient extends BaseApiClient {
5163
5163
  return Promise.resolve(null);
5164
5164
  }
5165
5165
  }
5166
- export class ScanAlgorithmsClient extends BaseApiClient {
5167
- constructor(configuration, baseUrl, http) {
5168
- super(configuration);
5169
- this.jsonParseReviver = undefined;
5170
- this.http = http ? http : { fetch: buildAuthFetch(configuration) };
5171
- this.baseUrl = (baseUrl ?? configuration.baseUrl ?? "").replace(/\/+$/, "").replace(/\/api$/, "");
5172
- }
5173
- /**
5174
- * @param body (optional)
5175
- * @return OK
5176
- */
5177
- getScore(body, signal) {
5178
- let url_ = this.baseUrl + "/api/ScanAlgorithms/GetScoreAsync";
5179
- url_ = url_.replace(/[?&]$/, "");
5180
- const content_ = JSON.stringify(body);
5181
- let options_ = {
5182
- body: content_,
5183
- method: "POST",
5184
- signal,
5185
- headers: {
5186
- "Content-Type": "application/json",
5187
- "Accept": "application/json"
5188
- }
5189
- };
5190
- return this.http.fetch(url_, options_).then((_response) => {
5191
- return this.processGetScore(_response);
5192
- });
5193
- }
5194
- processGetScore(response) {
5195
- const status = response.status;
5196
- let _headers = {};
5197
- if (response.headers && response.headers.forEach) {
5198
- response.headers.forEach((v, k) => _headers[k] = v);
5199
- }
5200
- ;
5201
- if (status === 200) {
5202
- return response.text().then((_responseText) => {
5203
- let result200 = null;
5204
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
5205
- return result200;
5206
- });
5207
- }
5208
- else if (status !== 200 && status !== 204) {
5209
- return response.text().then((_responseText) => {
5210
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
5211
- });
5212
- }
5213
- return Promise.resolve(null);
5214
- }
5215
- /**
5216
- * @param body (optional)
5217
- * @return OK
5218
- */
5219
- getLLMScore(body, signal) {
5220
- let url_ = this.baseUrl + "/api/ScanAlgorithms/GetLLMScoreAsync";
5221
- url_ = url_.replace(/[?&]$/, "");
5222
- const content_ = JSON.stringify(body);
5223
- let options_ = {
5224
- body: content_,
5225
- method: "POST",
5226
- signal,
5227
- headers: {
5228
- "Content-Type": "application/json",
5229
- "Accept": "application/json"
5230
- }
5231
- };
5232
- return this.http.fetch(url_, options_).then((_response) => {
5233
- return this.processGetLLMScore(_response);
5234
- });
5235
- }
5236
- processGetLLMScore(response) {
5237
- const status = response.status;
5238
- let _headers = {};
5239
- if (response.headers && response.headers.forEach) {
5240
- response.headers.forEach((v, k) => _headers[k] = v);
5241
- }
5242
- ;
5243
- if (status === 200) {
5244
- return response.text().then((_responseText) => {
5245
- let result200 = null;
5246
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
5247
- return result200;
5248
- });
5249
- }
5250
- else if (status !== 200 && status !== 204) {
5251
- return response.text().then((_responseText) => {
5252
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
5253
- });
5254
- }
5255
- return Promise.resolve(null);
5256
- }
5257
- /**
5258
- * @param body (optional)
5259
- * @return OK
5260
- */
5261
- getEnrichment(body, signal) {
5262
- let url_ = this.baseUrl + "/api/ScanAlgorithms/GetEnrichmentAsync";
5263
- url_ = url_.replace(/[?&]$/, "");
5264
- const content_ = JSON.stringify(body);
5265
- let options_ = {
5266
- body: content_,
5267
- method: "POST",
5268
- signal,
5269
- headers: {
5270
- "Content-Type": "application/json",
5271
- "Accept": "application/json"
5272
- }
5273
- };
5274
- return this.http.fetch(url_, options_).then((_response) => {
5275
- return this.processGetEnrichment(_response);
5276
- });
5277
- }
5278
- processGetEnrichment(response) {
5279
- const status = response.status;
5280
- let _headers = {};
5281
- if (response.headers && response.headers.forEach) {
5282
- response.headers.forEach((v, k) => _headers[k] = v);
5283
- }
5284
- ;
5285
- if (status === 200) {
5286
- return response.text().then((_responseText) => {
5287
- let result200 = null;
5288
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
5289
- return result200;
5290
- });
5291
- }
5292
- else if (status !== 200 && status !== 204) {
5293
- return response.text().then((_responseText) => {
5294
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
5295
- });
5296
- }
5297
- return Promise.resolve(null);
5298
- }
5299
- }
5300
5166
  export class ScanApiBusSourcesClient extends BaseApiClient {
5301
5167
  constructor(configuration, baseUrl, http) {
5302
5168
  super(configuration);
@@ -14969,6 +14835,437 @@ export class ScansClient extends BaseApiClient {
14969
14835
  return Promise.resolve(null);
14970
14836
  }
14971
14837
  }
14838
+ export class ScanScoreResultsClient extends BaseApiClient {
14839
+ constructor(configuration, baseUrl, http) {
14840
+ super(configuration);
14841
+ this.jsonParseReviver = undefined;
14842
+ this.http = http ? http : { fetch: buildAuthFetch(configuration) };
14843
+ this.baseUrl = (baseUrl ?? configuration.baseUrl ?? "").replace(/\/+$/, "").replace(/\/api$/, "");
14844
+ }
14845
+ /**
14846
+ * @param body (optional)
14847
+ * @return OK
14848
+ */
14849
+ process(body, signal) {
14850
+ let url_ = this.baseUrl + "/api/ScanScoreResults/Process";
14851
+ url_ = url_.replace(/[?&]$/, "");
14852
+ const content_ = JSON.stringify(body);
14853
+ let options_ = {
14854
+ body: content_,
14855
+ method: "POST",
14856
+ signal,
14857
+ headers: {
14858
+ "Content-Type": "application/json",
14859
+ "Accept": "application/json"
14860
+ }
14861
+ };
14862
+ return this.http.fetch(url_, options_).then((_response) => {
14863
+ return this.processProcess(_response);
14864
+ });
14865
+ }
14866
+ processProcess(response) {
14867
+ const status = response.status;
14868
+ let _headers = {};
14869
+ if (response.headers && response.headers.forEach) {
14870
+ response.headers.forEach((v, k) => _headers[k] = v);
14871
+ }
14872
+ ;
14873
+ if (status === 200) {
14874
+ return response.text().then((_responseText) => {
14875
+ let result200 = null;
14876
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
14877
+ return result200;
14878
+ });
14879
+ }
14880
+ else if (status !== 200 && status !== 204) {
14881
+ return response.text().then((_responseText) => {
14882
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
14883
+ });
14884
+ }
14885
+ return Promise.resolve(null);
14886
+ }
14887
+ /**
14888
+ * @param body (optional)
14889
+ * @return OK
14890
+ */
14891
+ add(body, signal) {
14892
+ let url_ = this.baseUrl + "/api/ScanScoreResults/Add";
14893
+ url_ = url_.replace(/[?&]$/, "");
14894
+ const content_ = JSON.stringify(body);
14895
+ let options_ = {
14896
+ body: content_,
14897
+ method: "POST",
14898
+ signal,
14899
+ headers: {
14900
+ "Content-Type": "application/json",
14901
+ "Accept": "application/json"
14902
+ }
14903
+ };
14904
+ return this.http.fetch(url_, options_).then((_response) => {
14905
+ return this.processAdd(_response);
14906
+ });
14907
+ }
14908
+ processAdd(response) {
14909
+ const status = response.status;
14910
+ let _headers = {};
14911
+ if (response.headers && response.headers.forEach) {
14912
+ response.headers.forEach((v, k) => _headers[k] = v);
14913
+ }
14914
+ ;
14915
+ if (status === 200) {
14916
+ return response.text().then((_responseText) => {
14917
+ let result200 = null;
14918
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
14919
+ return result200;
14920
+ });
14921
+ }
14922
+ else if (status !== 200 && status !== 204) {
14923
+ return response.text().then((_responseText) => {
14924
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
14925
+ });
14926
+ }
14927
+ return Promise.resolve(null);
14928
+ }
14929
+ /**
14930
+ * @param body (optional)
14931
+ * @return OK
14932
+ */
14933
+ addMultiple(body, signal) {
14934
+ let url_ = this.baseUrl + "/api/ScanScoreResults/AddMultiple";
14935
+ url_ = url_.replace(/[?&]$/, "");
14936
+ const content_ = JSON.stringify(body);
14937
+ let options_ = {
14938
+ body: content_,
14939
+ method: "POST",
14940
+ signal,
14941
+ headers: {
14942
+ "Content-Type": "application/json",
14943
+ "Accept": "application/json"
14944
+ }
14945
+ };
14946
+ return this.http.fetch(url_, options_).then((_response) => {
14947
+ return this.processAddMultiple(_response);
14948
+ });
14949
+ }
14950
+ processAddMultiple(response) {
14951
+ const status = response.status;
14952
+ let _headers = {};
14953
+ if (response.headers && response.headers.forEach) {
14954
+ response.headers.forEach((v, k) => _headers[k] = v);
14955
+ }
14956
+ ;
14957
+ if (status === 200) {
14958
+ return response.text().then((_responseText) => {
14959
+ let result200 = null;
14960
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
14961
+ return result200;
14962
+ });
14963
+ }
14964
+ else if (status !== 200 && status !== 204) {
14965
+ return response.text().then((_responseText) => {
14966
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
14967
+ });
14968
+ }
14969
+ return Promise.resolve(null);
14970
+ }
14971
+ /**
14972
+ * @param body (optional)
14973
+ * @return OK
14974
+ */
14975
+ update(body, signal) {
14976
+ let url_ = this.baseUrl + "/api/ScanScoreResults/Update";
14977
+ url_ = url_.replace(/[?&]$/, "");
14978
+ const content_ = JSON.stringify(body);
14979
+ let options_ = {
14980
+ body: content_,
14981
+ method: "POST",
14982
+ signal,
14983
+ headers: {
14984
+ "Content-Type": "application/json",
14985
+ "Accept": "application/json"
14986
+ }
14987
+ };
14988
+ return this.http.fetch(url_, options_).then((_response) => {
14989
+ return this.processUpdate(_response);
14990
+ });
14991
+ }
14992
+ processUpdate(response) {
14993
+ const status = response.status;
14994
+ let _headers = {};
14995
+ if (response.headers && response.headers.forEach) {
14996
+ response.headers.forEach((v, k) => _headers[k] = v);
14997
+ }
14998
+ ;
14999
+ if (status === 200) {
15000
+ return response.text().then((_responseText) => {
15001
+ let result200 = null;
15002
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
15003
+ return result200;
15004
+ });
15005
+ }
15006
+ else if (status !== 200 && status !== 204) {
15007
+ return response.text().then((_responseText) => {
15008
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
15009
+ });
15010
+ }
15011
+ return Promise.resolve(null);
15012
+ }
15013
+ /**
15014
+ * @param body (optional)
15015
+ * @return OK
15016
+ */
15017
+ delete(body, signal) {
15018
+ let url_ = this.baseUrl + "/api/ScanScoreResults/Delete";
15019
+ url_ = url_.replace(/[?&]$/, "");
15020
+ const content_ = JSON.stringify(body);
15021
+ let options_ = {
15022
+ body: content_,
15023
+ method: "POST",
15024
+ signal,
15025
+ headers: {
15026
+ "Content-Type": "application/json",
15027
+ "Accept": "application/json"
15028
+ }
15029
+ };
15030
+ return this.http.fetch(url_, options_).then((_response) => {
15031
+ return this.processDelete(_response);
15032
+ });
15033
+ }
15034
+ processDelete(response) {
15035
+ const status = response.status;
15036
+ let _headers = {};
15037
+ if (response.headers && response.headers.forEach) {
15038
+ response.headers.forEach((v, k) => _headers[k] = v);
15039
+ }
15040
+ ;
15041
+ if (status === 200) {
15042
+ return response.text().then((_responseText) => {
15043
+ let result200 = null;
15044
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
15045
+ return result200;
15046
+ });
15047
+ }
15048
+ else if (status !== 200 && status !== 204) {
15049
+ return response.text().then((_responseText) => {
15050
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
15051
+ });
15052
+ }
15053
+ return Promise.resolve(null);
15054
+ }
15055
+ /**
15056
+ * @param body (optional)
15057
+ * @return OK
15058
+ */
15059
+ deleteMultiple(body, signal) {
15060
+ let url_ = this.baseUrl + "/api/ScanScoreResults/DeleteMultiple";
15061
+ url_ = url_.replace(/[?&]$/, "");
15062
+ const content_ = JSON.stringify(body);
15063
+ let options_ = {
15064
+ body: content_,
15065
+ method: "POST",
15066
+ signal,
15067
+ headers: {
15068
+ "Content-Type": "application/json",
15069
+ "Accept": "application/json"
15070
+ }
15071
+ };
15072
+ return this.http.fetch(url_, options_).then((_response) => {
15073
+ return this.processDeleteMultiple(_response);
15074
+ });
15075
+ }
15076
+ processDeleteMultiple(response) {
15077
+ const status = response.status;
15078
+ let _headers = {};
15079
+ if (response.headers && response.headers.forEach) {
15080
+ response.headers.forEach((v, k) => _headers[k] = v);
15081
+ }
15082
+ ;
15083
+ if (status === 200) {
15084
+ return response.text().then((_responseText) => {
15085
+ let result200 = null;
15086
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
15087
+ return result200;
15088
+ });
15089
+ }
15090
+ else if (status !== 200 && status !== 204) {
15091
+ return response.text().then((_responseText) => {
15092
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
15093
+ });
15094
+ }
15095
+ return Promise.resolve(null);
15096
+ }
15097
+ /**
15098
+ * @param id (optional)
15099
+ * @return OK
15100
+ */
15101
+ getById(id, signal) {
15102
+ let url_ = this.baseUrl + "/api/ScanScoreResults/GetById?";
15103
+ if (id === null)
15104
+ throw new globalThis.Error("The parameter 'id' cannot be null.");
15105
+ else if (id !== undefined)
15106
+ url_ += "id=" + encodeURIComponent("" + id) + "&";
15107
+ url_ = url_.replace(/[?&]$/, "");
15108
+ let options_ = {
15109
+ method: "GET",
15110
+ signal,
15111
+ headers: {
15112
+ "Accept": "application/json"
15113
+ }
15114
+ };
15115
+ return this.http.fetch(url_, options_).then((_response) => {
15116
+ return this.processGetById(_response);
15117
+ });
15118
+ }
15119
+ processGetById(response) {
15120
+ const status = response.status;
15121
+ let _headers = {};
15122
+ if (response.headers && response.headers.forEach) {
15123
+ response.headers.forEach((v, k) => _headers[k] = v);
15124
+ }
15125
+ ;
15126
+ if (status === 200) {
15127
+ return response.text().then((_responseText) => {
15128
+ let result200 = null;
15129
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
15130
+ return result200;
15131
+ });
15132
+ }
15133
+ else if (status !== 200 && status !== 204) {
15134
+ return response.text().then((_responseText) => {
15135
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
15136
+ });
15137
+ }
15138
+ return Promise.resolve(null);
15139
+ }
15140
+ /**
15141
+ * @return OK
15142
+ */
15143
+ getAll(signal) {
15144
+ let url_ = this.baseUrl + "/api/ScanScoreResults/GetAll";
15145
+ url_ = url_.replace(/[?&]$/, "");
15146
+ let options_ = {
15147
+ method: "GET",
15148
+ signal,
15149
+ headers: {
15150
+ "Accept": "application/json"
15151
+ }
15152
+ };
15153
+ return this.http.fetch(url_, options_).then((_response) => {
15154
+ return this.processGetAll(_response);
15155
+ });
15156
+ }
15157
+ processGetAll(response) {
15158
+ const status = response.status;
15159
+ let _headers = {};
15160
+ if (response.headers && response.headers.forEach) {
15161
+ response.headers.forEach((v, k) => _headers[k] = v);
15162
+ }
15163
+ ;
15164
+ if (status === 200) {
15165
+ return response.text().then((_responseText) => {
15166
+ let result200 = null;
15167
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
15168
+ return result200;
15169
+ });
15170
+ }
15171
+ else if (status !== 200 && status !== 204) {
15172
+ return response.text().then((_responseText) => {
15173
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
15174
+ });
15175
+ }
15176
+ return Promise.resolve(null);
15177
+ }
15178
+ /**
15179
+ * @param skip (optional)
15180
+ * @param take (optional)
15181
+ * @return OK
15182
+ */
15183
+ pagination(skip, take, signal) {
15184
+ let url_ = this.baseUrl + "/api/ScanScoreResults/Pagination?";
15185
+ if (skip === null)
15186
+ throw new globalThis.Error("The parameter 'skip' cannot be null.");
15187
+ else if (skip !== undefined)
15188
+ url_ += "skip=" + encodeURIComponent("" + skip) + "&";
15189
+ if (take === null)
15190
+ throw new globalThis.Error("The parameter 'take' cannot be null.");
15191
+ else if (take !== undefined)
15192
+ url_ += "take=" + encodeURIComponent("" + take) + "&";
15193
+ url_ = url_.replace(/[?&]$/, "");
15194
+ let options_ = {
15195
+ method: "GET",
15196
+ signal,
15197
+ headers: {
15198
+ "Accept": "application/json"
15199
+ }
15200
+ };
15201
+ return this.http.fetch(url_, options_).then((_response) => {
15202
+ return this.processPagination(_response);
15203
+ });
15204
+ }
15205
+ processPagination(response) {
15206
+ const status = response.status;
15207
+ let _headers = {};
15208
+ if (response.headers && response.headers.forEach) {
15209
+ response.headers.forEach((v, k) => _headers[k] = v);
15210
+ }
15211
+ ;
15212
+ if (status === 200) {
15213
+ return response.text().then((_responseText) => {
15214
+ let result200 = null;
15215
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
15216
+ return result200;
15217
+ });
15218
+ }
15219
+ else if (status !== 200 && status !== 204) {
15220
+ return response.text().then((_responseText) => {
15221
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
15222
+ });
15223
+ }
15224
+ return Promise.resolve(null);
15225
+ }
15226
+ /**
15227
+ * @param body (optional)
15228
+ * @return OK
15229
+ */
15230
+ getFiltersBase(body, signal) {
15231
+ let url_ = this.baseUrl + "/api/ScanScoreResults/GetFiltersBase";
15232
+ url_ = url_.replace(/[?&]$/, "");
15233
+ const content_ = JSON.stringify(body);
15234
+ let options_ = {
15235
+ body: content_,
15236
+ method: "POST",
15237
+ signal,
15238
+ headers: {
15239
+ "Content-Type": "application/json",
15240
+ "Accept": "application/json"
15241
+ }
15242
+ };
15243
+ return this.http.fetch(url_, options_).then((_response) => {
15244
+ return this.processGetFiltersBase(_response);
15245
+ });
15246
+ }
15247
+ processGetFiltersBase(response) {
15248
+ const status = response.status;
15249
+ let _headers = {};
15250
+ if (response.headers && response.headers.forEach) {
15251
+ response.headers.forEach((v, k) => _headers[k] = v);
15252
+ }
15253
+ ;
15254
+ if (status === 200) {
15255
+ return response.text().then((_responseText) => {
15256
+ let result200 = null;
15257
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
15258
+ return result200;
15259
+ });
15260
+ }
15261
+ else if (status !== 200 && status !== 204) {
15262
+ return response.text().then((_responseText) => {
15263
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
15264
+ });
15265
+ }
15266
+ return Promise.resolve(null);
15267
+ }
15268
+ }
14972
15269
  export class ScanScoresClient extends BaseApiClient {
14973
15270
  constructor(configuration, baseUrl, http) {
14974
15271
  super(configuration);
@@ -16190,8 +16487,8 @@ export class ScanThreatResultsClient extends BaseApiClient {
16190
16487
  * @param body (optional)
16191
16488
  * @return OK
16192
16489
  */
16193
- processEnrichment(body, signal) {
16194
- let url_ = this.baseUrl + "/api/ScanThreatResults/ProcessEnrichment";
16490
+ process(body, signal) {
16491
+ let url_ = this.baseUrl + "/api/ScanThreatResults/Process";
16195
16492
  url_ = url_.replace(/[?&]$/, "");
16196
16493
  const content_ = JSON.stringify(body);
16197
16494
  let options_ = {
@@ -16204,10 +16501,10 @@ export class ScanThreatResultsClient extends BaseApiClient {
16204
16501
  }
16205
16502
  };
16206
16503
  return this.http.fetch(url_, options_).then((_response) => {
16207
- return this.processProcessEnrichment(_response);
16504
+ return this.processProcess(_response);
16208
16505
  });
16209
16506
  }
16210
- processProcessEnrichment(response) {
16507
+ processProcess(response) {
16211
16508
  const status = response.status;
16212
16509
  let _headers = {};
16213
16510
  if (response.headers && response.headers.forEach) {
@@ -137,6 +137,7 @@ export * from "./operation-claim-i-data-result.js";
137
137
  export * from "./operation-claim-list-i-data-result.js";
138
138
  export * from "./parameter-attributes.js";
139
139
  export * from "./parameter-info.js";
140
+ export * from "./process-scan-scores-request.js";
140
141
  export * from "./property-attributes.js";
141
142
  export * from "./property-info.js";
142
143
  export * from "./runtime-field-handle.js";
@@ -148,8 +149,6 @@ export * from "./scan-algorithm-dto.js";
148
149
  export * from "./scan-algorithm-enrichment-dto.js";
149
150
  export * from "./scan-algorithm-enrichment-result-dto.js";
150
151
  export * from "./scan-algorithm-enrichment-result-dto-i-data-result.js";
151
- export * from "./scan-algorithm-llm-score-dto.js";
152
- export * from "./scan-algorithm-llm-score-dto-i-data-result.js";
153
152
  export * from "./scan-algorithm-score-for-ml-analysis.js";
154
153
  export * from "./scan-api.js";
155
154
  export * from "./scan-api-bus-source.js";
@@ -378,8 +377,6 @@ export * from "./scan-i-data-result.js";
378
377
  export * from "./scan-list-i-data-result.js";
379
378
  export * from "./scan-proxy-request.js";
380
379
  export * from "./scan-score.js";
381
- export * from "./scan-score-dto.js";
382
- export * from "./scan-score-dto-i-data-result.js";
383
380
  export * from "./scan-score-for-analysis.js";
384
381
  export * from "./scan-score-for-table-dto.js";
385
382
  export * from "./scan-score-for-table-dto-list-i-data-result.js";
@@ -389,6 +386,15 @@ export * from "./scan-score-for-table-filter.js";
389
386
  export * from "./scan-score-for-table-filter-data-table-query.js";
390
387
  export * from "./scan-score-i-data-result.js";
391
388
  export * from "./scan-score-list-i-data-result.js";
389
+ export * from "./scan-score-result.js";
390
+ export * from "./scan-score-result-for-table-dto.js";
391
+ export * from "./scan-score-result-for-table-dto-list-i-data-result.js";
392
+ export * from "./scan-score-result-for-table-dto-list-result-filter.js";
393
+ export * from "./scan-score-result-for-table-dto-list-result-filter-i-data-result.js";
394
+ export * from "./scan-score-result-for-table-filter.js";
395
+ export * from "./scan-score-result-for-table-filter-data-table-query.js";
396
+ export * from "./scan-score-result-i-data-result.js";
397
+ export * from "./scan-score-result-list-i-data-result.js";
392
398
  export * from "./scan-score-type.js";
393
399
  export * from "./scan-score-type-for-table-dto.js";
394
400
  export * from "./scan-score-type-for-table-dto-list-i-data-result.js";
@@ -137,6 +137,7 @@ export * from "./operation-claim-i-data-result.js";
137
137
  export * from "./operation-claim-list-i-data-result.js";
138
138
  export * from "./parameter-attributes.js";
139
139
  export * from "./parameter-info.js";
140
+ export * from "./process-scan-scores-request.js";
140
141
  export * from "./property-attributes.js";
141
142
  export * from "./property-info.js";
142
143
  export * from "./runtime-field-handle.js";
@@ -148,8 +149,6 @@ export * from "./scan-algorithm-dto.js";
148
149
  export * from "./scan-algorithm-enrichment-dto.js";
149
150
  export * from "./scan-algorithm-enrichment-result-dto.js";
150
151
  export * from "./scan-algorithm-enrichment-result-dto-i-data-result.js";
151
- export * from "./scan-algorithm-llm-score-dto.js";
152
- export * from "./scan-algorithm-llm-score-dto-i-data-result.js";
153
152
  export * from "./scan-algorithm-score-for-ml-analysis.js";
154
153
  export * from "./scan-api.js";
155
154
  export * from "./scan-api-bus-source.js";
@@ -378,8 +377,6 @@ export * from "./scan-i-data-result.js";
378
377
  export * from "./scan-list-i-data-result.js";
379
378
  export * from "./scan-proxy-request.js";
380
379
  export * from "./scan-score.js";
381
- export * from "./scan-score-dto.js";
382
- export * from "./scan-score-dto-i-data-result.js";
383
380
  export * from "./scan-score-for-analysis.js";
384
381
  export * from "./scan-score-for-table-dto.js";
385
382
  export * from "./scan-score-for-table-dto-list-i-data-result.js";
@@ -389,6 +386,15 @@ export * from "./scan-score-for-table-filter.js";
389
386
  export * from "./scan-score-for-table-filter-data-table-query.js";
390
387
  export * from "./scan-score-i-data-result.js";
391
388
  export * from "./scan-score-list-i-data-result.js";
389
+ export * from "./scan-score-result.js";
390
+ export * from "./scan-score-result-for-table-dto.js";
391
+ export * from "./scan-score-result-for-table-dto-list-i-data-result.js";
392
+ export * from "./scan-score-result-for-table-dto-list-result-filter.js";
393
+ export * from "./scan-score-result-for-table-dto-list-result-filter-i-data-result.js";
394
+ export * from "./scan-score-result-for-table-filter.js";
395
+ export * from "./scan-score-result-for-table-filter-data-table-query.js";
396
+ export * from "./scan-score-result-i-data-result.js";
397
+ export * from "./scan-score-result-list-i-data-result.js";
392
398
  export * from "./scan-score-type.js";
393
399
  export * from "./scan-score-type-for-table-dto.js";
394
400
  export * from "./scan-score-type-for-table-dto-list-i-data-result.js";
@@ -0,0 +1,4 @@
1
+ import type { ProcessScanScoresRequest as __ProcessScanScoresRequest } from "../index.js";
2
+ export declare const ProcessScanScoresRequest: __ProcessScanScoresRequest;
3
+ export type ProcessScanScoresRequest = __ProcessScanScoresRequest;
4
+ export type processScanScoresRequest = __ProcessScanScoresRequest;
@@ -0,0 +1 @@
1
+ export const ProcessScanScoresRequest = {};
@@ -0,0 +1,4 @@
1
+ import type { ScanScoreResultForTableDtoListIDataResult as __ScanScoreResultForTableDtoListIDataResult } from "../index.js";
2
+ export declare const ScanScoreResultForTableDtoListIDataResult: __ScanScoreResultForTableDtoListIDataResult;
3
+ export type ScanScoreResultForTableDtoListIDataResult = __ScanScoreResultForTableDtoListIDataResult;
4
+ export type scanScoreResultForTableDtoListIDataResult = __ScanScoreResultForTableDtoListIDataResult;
@@ -0,0 +1 @@
1
+ export const ScanScoreResultForTableDtoListIDataResult = {};
@@ -0,0 +1,4 @@
1
+ import type { ScanScoreResultForTableDtoListResultFilterIDataResult as __ScanScoreResultForTableDtoListResultFilterIDataResult } from "../index.js";
2
+ export declare const ScanScoreResultForTableDtoListResultFilterIDataResult: __ScanScoreResultForTableDtoListResultFilterIDataResult;
3
+ export type ScanScoreResultForTableDtoListResultFilterIDataResult = __ScanScoreResultForTableDtoListResultFilterIDataResult;
4
+ export type scanScoreResultForTableDtoListResultFilterIDataResult = __ScanScoreResultForTableDtoListResultFilterIDataResult;
@@ -0,0 +1 @@
1
+ export const ScanScoreResultForTableDtoListResultFilterIDataResult = {};
@@ -0,0 +1,4 @@
1
+ import type { ScanScoreResultForTableDtoListResultFilter as __ScanScoreResultForTableDtoListResultFilter } from "../index.js";
2
+ export declare const ScanScoreResultForTableDtoListResultFilter: __ScanScoreResultForTableDtoListResultFilter;
3
+ export type ScanScoreResultForTableDtoListResultFilter = __ScanScoreResultForTableDtoListResultFilter;
4
+ export type scanScoreResultForTableDtoListResultFilter = __ScanScoreResultForTableDtoListResultFilter;
@@ -0,0 +1 @@
1
+ export const ScanScoreResultForTableDtoListResultFilter = {};
@@ -0,0 +1,4 @@
1
+ import type { ScanScoreResultForTableDto as __ScanScoreResultForTableDto } from "../index.js";
2
+ export declare const ScanScoreResultForTableDto: __ScanScoreResultForTableDto;
3
+ export type ScanScoreResultForTableDto = __ScanScoreResultForTableDto;
4
+ export type scanScoreResultForTableDto = __ScanScoreResultForTableDto;
@@ -0,0 +1 @@
1
+ export const ScanScoreResultForTableDto = {};
@@ -0,0 +1,4 @@
1
+ import type { ScanScoreResultForTableFilterDataTableQuery as __ScanScoreResultForTableFilterDataTableQuery } from "../index.js";
2
+ export declare const ScanScoreResultForTableFilterDataTableQuery: __ScanScoreResultForTableFilterDataTableQuery;
3
+ export type ScanScoreResultForTableFilterDataTableQuery = __ScanScoreResultForTableFilterDataTableQuery;
4
+ export type scanScoreResultForTableFilterDataTableQuery = __ScanScoreResultForTableFilterDataTableQuery;
@@ -0,0 +1 @@
1
+ export const ScanScoreResultForTableFilterDataTableQuery = {};
@@ -0,0 +1,4 @@
1
+ import type { ScanScoreResultForTableFilter as __ScanScoreResultForTableFilter } from "../index.js";
2
+ export declare const ScanScoreResultForTableFilter: __ScanScoreResultForTableFilter;
3
+ export type ScanScoreResultForTableFilter = __ScanScoreResultForTableFilter;
4
+ export type scanScoreResultForTableFilter = __ScanScoreResultForTableFilter;
@@ -0,0 +1 @@
1
+ export const ScanScoreResultForTableFilter = {};
@@ -0,0 +1,4 @@
1
+ import type { ScanScoreResultIDataResult as __ScanScoreResultIDataResult } from "../index.js";
2
+ export declare const ScanScoreResultIDataResult: __ScanScoreResultIDataResult;
3
+ export type ScanScoreResultIDataResult = __ScanScoreResultIDataResult;
4
+ export type scanScoreResultIDataResult = __ScanScoreResultIDataResult;
@@ -0,0 +1 @@
1
+ export const ScanScoreResultIDataResult = {};
@@ -0,0 +1,4 @@
1
+ import type { ScanScoreResultListIDataResult as __ScanScoreResultListIDataResult } from "../index.js";
2
+ export declare const ScanScoreResultListIDataResult: __ScanScoreResultListIDataResult;
3
+ export type ScanScoreResultListIDataResult = __ScanScoreResultListIDataResult;
4
+ export type scanScoreResultListIDataResult = __ScanScoreResultListIDataResult;
@@ -0,0 +1 @@
1
+ export const ScanScoreResultListIDataResult = {};
@@ -0,0 +1,4 @@
1
+ import type { ScanScoreResult as __ScanScoreResult } from "../index.js";
2
+ export declare const ScanScoreResult: __ScanScoreResult;
3
+ export type ScanScoreResult = __ScanScoreResult;
4
+ export type scanScoreResult = __ScanScoreResult;
@@ -0,0 +1 @@
1
+ export const ScanScoreResult = {};
package/dist/rx.d.ts CHANGED
@@ -63,9 +63,6 @@ export declare function createAllClients(cfg: ApiClientConfig, baseUrl?: string,
63
63
  HealthClient: ClientCtors.HealthClient;
64
64
  HealthService: ClientCtors.HealthClient;
65
65
  healthService: ClientCtors.HealthClient;
66
- ScanAlgorithmsClient: ClientCtors.ScanAlgorithmsClient;
67
- ScanAlgorithmsService: ClientCtors.ScanAlgorithmsClient;
68
- scanAlgorithmsService: ClientCtors.ScanAlgorithmsClient;
69
66
  ScanApiBusSourcesClient: ClientCtors.ScanApiBusSourcesClient;
70
67
  ScanApiBusSourcesService: ClientCtors.ScanApiBusSourcesClient;
71
68
  scanApiBusSourcesService: ClientCtors.ScanApiBusSourcesClient;
@@ -132,6 +129,9 @@ export declare function createAllClients(cfg: ApiClientConfig, baseUrl?: string,
132
129
  ScansClient: ClientCtors.ScansClient;
133
130
  ScansService: ClientCtors.ScansClient;
134
131
  scansService: ClientCtors.ScansClient;
132
+ ScanScoreResultsClient: ClientCtors.ScanScoreResultsClient;
133
+ ScanScoreResultsService: ClientCtors.ScanScoreResultsClient;
134
+ scanScoreResultsService: ClientCtors.ScanScoreResultsClient;
135
135
  ScanScoresClient: ClientCtors.ScanScoresClient;
136
136
  ScanScoresService: ClientCtors.ScanScoresClient;
137
137
  scanScoresService: ClientCtors.ScanScoresClient;
@@ -257,9 +257,6 @@ export declare function createAllRxClients(cfg: ApiClientConfig, baseUrl?: strin
257
257
  HealthClient: Rxified<ClientCtors.HealthClient>;
258
258
  HealthService: Rxified<ClientCtors.HealthClient>;
259
259
  healthService: Rxified<ClientCtors.HealthClient>;
260
- ScanAlgorithmsClient: Rxified<ClientCtors.ScanAlgorithmsClient>;
261
- ScanAlgorithmsService: Rxified<ClientCtors.ScanAlgorithmsClient>;
262
- scanAlgorithmsService: Rxified<ClientCtors.ScanAlgorithmsClient>;
263
260
  ScanApiBusSourcesClient: Rxified<ClientCtors.ScanApiBusSourcesClient>;
264
261
  ScanApiBusSourcesService: Rxified<ClientCtors.ScanApiBusSourcesClient>;
265
262
  scanApiBusSourcesService: Rxified<ClientCtors.ScanApiBusSourcesClient>;
@@ -326,6 +323,9 @@ export declare function createAllRxClients(cfg: ApiClientConfig, baseUrl?: strin
326
323
  ScansClient: Rxified<ClientCtors.ScansClient>;
327
324
  ScansService: Rxified<ClientCtors.ScansClient>;
328
325
  scansService: Rxified<ClientCtors.ScansClient>;
326
+ ScanScoreResultsClient: Rxified<ClientCtors.ScanScoreResultsClient>;
327
+ ScanScoreResultsService: Rxified<ClientCtors.ScanScoreResultsClient>;
328
+ scanScoreResultsService: Rxified<ClientCtors.ScanScoreResultsClient>;
329
329
  ScanScoresClient: Rxified<ClientCtors.ScanScoresClient>;
330
330
  ScanScoresService: Rxified<ClientCtors.ScanScoresClient>;
331
331
  scanScoresService: Rxified<ClientCtors.ScanScoresClient>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virusis/api-client",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",