# Variable VerificationApiClient`Const`

VerificationApiClient: {
fetchExistingVerificationRequest: (
verificationId: string,
) => Promise<VerificationResponse>;
fetchNewVerificationRequest: (
programId: string,
trackingId?: string,
forceNewVerificationRequest?: boolean,
headers?: {},
) => Promise<VerificationResponse>;
fetchProgramTheme: (
programId: string,
locale?:
| "es"
| "id"
| "is"
| "no"
| "ar"
| "bg"
| "bn-IN"
| "cs"
| "da"
| "de"
| "el"
| "en-GB"
| "en-US"
| "es-ES"
| "fi"
| "fr-CA"
| "fr"
| "ga"
| "hi-IN"
| "hr"
| "hu"
| "it"
| "iw"
| "ja"
| "ko"
| "lo"
| "lt"
| "ms"
| "nl"
| "nl-BE"
| "pl"
| "pt-BR"
| "pt"
| "ro"
| "ru"
| "sk"
| "sl"
| "sr"
| "sv"
| "sw"
| "uk"
| "ur"
| "vi"
| "th"
| "tr"
| "zh-HK"
| "zh"
| "zu",
) => Promise<ProgramTheme>;
getIdCheckDocTypeForCountry: (
verificationId: string,
countries: string[],
) => Promise<ApplicableDocTypesResponse>;
getResendNewEmailCode: (verificationId: string) => Promise<any>;
getResendNewSmsCode: (verificationId: string) => Promise<any>;
submitStep: (
stepName: VerificationStep,
previousResponse: VerificationResponse,
viewModel: ViewModel,
) => Promise<VerificationResponse | ErrorResponse>;
} = ...

#### Type Declaration

- ##### fetchExistingVerificationRequest: (verificationId: string) => Promise<VerificationResponse>

- ##### fetchNewVerificationRequest: (
  programId: string,
  trackingId?: string,
  forceNewVerificationRequest?: boolean,
  headers?: {},
  ) => Promise<VerificationResponse>

- ##### fetchProgramTheme: (
  programId: string,
  locale?:
  | "es"
  | "id"
  | "is"
  | "no"
  | "ar"
  | "bg"
  | "bn-IN"
  | "cs"
  | "da"
  | "de"
  | "el"
  | "en-GB"
  | "en-US"
  | "es-ES"
  | "fi"
  | "fr-CA"
  | "fr"
  | "ga"
  | "hi-IN"
  | "hr"
  | "hu"
  | "it"
  | "iw"
  | "ja"
  | "ko"
  | "lo"
  | "lt"
  | "ms"
  | "nl"
  | "nl-BE"
  | "pl"
  | "pt-BR"
  | "pt"
  | "ro"
  | "ru"
  | "sk"
  | "sl"
  | "sr"
  | "sv"
  | "sw"
  | "uk"
  | "ur"
  | "vi"
  | "th"
  | "tr"
  | "zh-HK"
  | "zh"
  | "zu",
  ) => Promise<ProgramTheme>

- ##### getIdCheckDocTypeForCountry: (
  verificationId: string,
  countries: string[],
  ) => Promise<ApplicableDocTypesResponse>

- ##### getResendNewEmailCode: (verificationId: string) => Promise<any>

- ##### getResendNewSmsCode: (verificationId: string) => Promise<any>

- ##### submitStep: (
  stepName: VerificationStep,
  previousResponse: VerificationResponse,
  viewModel: ViewModel,
  ) => Promise<VerificationResponse | ErrorResponse>

- Defined in jslib/src/lib/ServerApi/VerificationApiClient.ts:377