// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from '../../core/resource'; import * as ScansAPI from './scans'; import { BaseScans, ScanCreateParams, ScanCreateResponse, ScanGetParams, ScanGetResponse, ScanListParams, ScanListResponse, ScanListResponsesV4PagePaginationArray, Scans, } from './scans'; import * as TargetEnvironmentsAPI from './target-environments'; import { BaseTargetEnvironments, TargetEnvironmentCreateParams, TargetEnvironmentCreateResponse, TargetEnvironmentDeleteParams, TargetEnvironmentDeleteResponse, TargetEnvironmentEditParams, TargetEnvironmentEditResponse, TargetEnvironmentGetParams, TargetEnvironmentGetResponse, TargetEnvironmentListParams, TargetEnvironmentListResponse, TargetEnvironmentListResponsesV4PagePaginationArray, TargetEnvironmentUpdateParams, TargetEnvironmentUpdateResponse, TargetEnvironments, } from './target-environments'; import * as CredentialSetsAPI from './credential-sets/credential-sets'; import { BaseCredentialSets, CredentialSetCreateParams, CredentialSetCreateResponse, CredentialSetDeleteParams, CredentialSetDeleteResponse, CredentialSetEditParams, CredentialSetEditResponse, CredentialSetGetParams, CredentialSetGetResponse, CredentialSetListParams, CredentialSetListResponse, CredentialSetListResponsesV4PagePaginationArray, CredentialSetUpdateParams, CredentialSetUpdateResponse, CredentialSets, } from './credential-sets/credential-sets'; export class BaseVulnerabilityScanner extends APIResource { static override readonly _key: readonly ['vulnerabilityScanner'] = Object.freeze([ 'vulnerabilityScanner', ] as const); } export class VulnerabilityScanner extends BaseVulnerabilityScanner { credentialSets: CredentialSetsAPI.CredentialSets = new CredentialSetsAPI.CredentialSets(this._client); scans: ScansAPI.Scans = new ScansAPI.Scans(this._client); targetEnvironments: TargetEnvironmentsAPI.TargetEnvironments = new TargetEnvironmentsAPI.TargetEnvironments( this._client, ); } VulnerabilityScanner.CredentialSets = CredentialSets; VulnerabilityScanner.BaseCredentialSets = BaseCredentialSets; VulnerabilityScanner.Scans = Scans; VulnerabilityScanner.BaseScans = BaseScans; VulnerabilityScanner.TargetEnvironments = TargetEnvironments; VulnerabilityScanner.BaseTargetEnvironments = BaseTargetEnvironments; export declare namespace VulnerabilityScanner { export { CredentialSets as CredentialSets, BaseCredentialSets as BaseCredentialSets, type CredentialSetCreateResponse as CredentialSetCreateResponse, type CredentialSetUpdateResponse as CredentialSetUpdateResponse, type CredentialSetListResponse as CredentialSetListResponse, type CredentialSetDeleteResponse as CredentialSetDeleteResponse, type CredentialSetEditResponse as CredentialSetEditResponse, type CredentialSetGetResponse as CredentialSetGetResponse, type CredentialSetListResponsesV4PagePaginationArray as CredentialSetListResponsesV4PagePaginationArray, type CredentialSetCreateParams as CredentialSetCreateParams, type CredentialSetUpdateParams as CredentialSetUpdateParams, type CredentialSetListParams as CredentialSetListParams, type CredentialSetDeleteParams as CredentialSetDeleteParams, type CredentialSetEditParams as CredentialSetEditParams, type CredentialSetGetParams as CredentialSetGetParams, }; export { Scans as Scans, BaseScans as BaseScans, type ScanCreateResponse as ScanCreateResponse, type ScanListResponse as ScanListResponse, type ScanGetResponse as ScanGetResponse, type ScanListResponsesV4PagePaginationArray as ScanListResponsesV4PagePaginationArray, type ScanCreateParams as ScanCreateParams, type ScanListParams as ScanListParams, type ScanGetParams as ScanGetParams, }; export { TargetEnvironments as TargetEnvironments, BaseTargetEnvironments as BaseTargetEnvironments, type TargetEnvironmentCreateResponse as TargetEnvironmentCreateResponse, type TargetEnvironmentUpdateResponse as TargetEnvironmentUpdateResponse, type TargetEnvironmentListResponse as TargetEnvironmentListResponse, type TargetEnvironmentDeleteResponse as TargetEnvironmentDeleteResponse, type TargetEnvironmentEditResponse as TargetEnvironmentEditResponse, type TargetEnvironmentGetResponse as TargetEnvironmentGetResponse, type TargetEnvironmentListResponsesV4PagePaginationArray as TargetEnvironmentListResponsesV4PagePaginationArray, type TargetEnvironmentCreateParams as TargetEnvironmentCreateParams, type TargetEnvironmentUpdateParams as TargetEnvironmentUpdateParams, type TargetEnvironmentListParams as TargetEnvironmentListParams, type TargetEnvironmentDeleteParams as TargetEnvironmentDeleteParams, type TargetEnvironmentEditParams as TargetEnvironmentEditParams, type TargetEnvironmentGetParams as TargetEnvironmentGetParams, }; }