export type ApacuanaSuccess = import("../success").ApacuanaSuccess; export type GenerateCertResponseData = { /** * - El certificado generado en formato string. */ cert: string; /** * - El ID del certificado generado. */ certifiedid: string; }; export type GetCertStatusResponseData = { /** * - El estado actual del certificado del usuario. */ status: string; }; export type CertType = { /** * - The ID of the certificate type. */ id: string; /** * - The name of the certificate type. */ name: string; }; export type GetCertTypesResponseData = { /** * - A list of available certificate types. */ types: Array; }; export type Requirement = { /** * - The ID of the requirement. */ id: string; /** * - The description of the requirement. */ description: string; }; export type GetRequirementsResponseData = { /** * - A list of requirements for the user type. */ requirements: Array; }; export type RequestCertificateResponseData = { /** * - A message confirming the request. */ message: string; }; export type GenerateCertResponse = GenerateCertResponseData & ApacuanaSuccess; export type GetCertStatusResponse = GetCertStatusResponseData & ApacuanaSuccess; export type GetCertTypesResponse = GetCertTypesResponseData & ApacuanaSuccess; export type GetRequirementsResponse = GetRequirementsResponseData & ApacuanaSuccess; export type RequestCertificateResponse = RequestCertificateResponseData & ApacuanaSuccess; export type EncryptedCSRObject = { /** * - The encrypted Certificate Signing Request. */ csr: string; }; export type CertificateRequestParams = { /** * - The user type to get requirements for. */ type: number; /** * - An optional observation for the certificate request. */ observation?: string | undefined; /** * - The documents required for the certificate. */ documents: Array<{ id: string; file: string; }>; }; export type ValidateCertificateRequestParams = { /** * - An optional observation for the certificate request. */ challenge?: string | undefined; }; export type ValidateCertificateResponseData = { /** * - A message confirming the request. */ message: string; /** * - A boolean confirming the request. */ auth: boolean; };