/** * This file was auto-generated by Fern from our API Definition. */ import * as core from '../../../../core'; import * as environments from '../../../../environments'; import * as Truvity from '../../../index'; export declare namespace Gdpr { interface Options { environment?: core.Supplier; /** Specify a custom URL to connect the client to. */ baseUrl?: core.Supplier; apiKey?: core.Supplier; /** Additional headers to include in requests. */ headers?: Record | undefined>; fetcher?: core.FetchFunction; } interface RequestOptions { /** The maximum time to wait for a response in seconds. */ timeoutInSeconds?: number; /** The number of times to retry the request. Defaults to 2. */ maxRetries?: number; /** A hook to abort the request. */ abortSignal?: AbortSignal; /** Additional query string parameters to include in the request. */ queryParams?: Record; /** Additional headers to include in the request. */ headers?: Record | undefined>; } } /** * The Truvity's Admin Panel API. */ export declare class Gdpr { protected readonly _options: Gdpr.Options; constructor(_options?: Gdpr.Options); /** * Create a request to support. * * @param {Truvity.SupportRequestCreateRequest} request * @param {Gdpr.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Truvity.BadRequestError} * @throws {@link Truvity.UnauthorizedError} * @throws {@link Truvity.ForbiddenError} * @throws {@link Truvity.InternalServerError} * * @example * await client.gdpr.supportRequestCreate({ * message: "message", * type: "DATA_DUMP" * }) */ supportRequestCreate(request: Truvity.SupportRequestCreateRequest, requestOptions?: Gdpr.RequestOptions): core.HttpResponsePromise; private __supportRequestCreate; protected _getCustomAuthorizationHeaders(): Promise<{ 'X-API-KEY': string | undefined; }>; } //# sourceMappingURL=Client.d.ts.map