import { ConfigService } from '@nestjs/config'; import { LabTechRadarBlip, LabTechRadarEdition } from 'itlab-functions'; import { AuthenticationModuleOptions } from '../../../authentication'; import { BaseHttpService } from '../../base-http.service'; import { FetchBlipOptionsDtoV1 } from './fetch-blip-options.dto.v1.type'; import { FetchEditionOptionsDtoV1 } from './fetch-edition-options.dto.v1.type copy'; /** * TechRadarService * * Service client responsible for interacting with the Tech Radar microservice. * Extends `BaseHttpService` to inherit: * - Environment-sensitive URL resolution (internal vs. external). * - Secure inter-service authentication. * - Structured logging for traceability of outbound requests. * * Why this pattern? * - Ensures all outbound calls follow a unified configuration and logging structure. * - Promotes strong typing and maintainable HTTP logic. * - Makes service interactions predictable and debuggable across environments. */ export declare class TechRadarService extends BaseHttpService { /** * Constructs an Tech Radar service client instance. * * @param {AuthenticationModuleOptions} authenticationOptions - Injected authentication configuration. * @param {ConfigService} configService - NestJS ConfigService for environment detection. */ constructor(authenticationOptions: AuthenticationModuleOptions, configService: ConfigService); /** * Retrieves a single blip entry by its MongoDB identifier. * * This method gracefully handles downstream failures by logging * and returning `undefined` instead of throwing. * * @param {string} blipId - Unique MongoDB identifier of the blip. * @param {FetchBlipOptionsDtoV1} [options] - Optional query parameters for filtering or projection. * @returns {Promise} Resolves to an Blip or `undefined` on failure. */ fetchBlipV1(blipId: string, options?: FetchBlipOptionsDtoV1): Promise; /** * Retrieves a collection of blip entries. * * Useful for batch lookups or paginated listings. * Returns an empty array if the downstream service call fails. * * @param {FetchBlipOptionsDtoV1} [options] - Optional filter options for narrowing results. * @returns {Promise} Resolves to a list of blips, or an empty array if none found. */ fetchBlipCollectionV1(options?: FetchBlipOptionsDtoV1): Promise; /** * Retrieves a single edition entry by its MongoDB identifier. * * This method gracefully handles downstream failures by logging * and returning `undefined` instead of throwing. * * @param {string} editionId - Unique MongoDB identifier of the edition. * @param {FetchEditionOptionsDtoV1} [options] - Optional query parameters for filtering or projection. * @returns {Promise} Resolves to an Edition or `undefined` on failure. */ fetchEditionV1(editionId: string, options?: FetchEditionOptionsDtoV1): Promise; /** * Retrieves a collection of edition entries. * * Useful for batch lookups or paginated listings. * Returns an empty array if the downstream service call fails. * * @param {FetchEditionOptionsDtoV1} [options] - Optional filter options for narrowing results. * @returns {Promise} Resolves to a list of editions, or an empty array if none found. */ fetchEditionCollectionV1(options?: FetchEditionOptionsDtoV1): Promise; }