import { APIResource } from "../core/resource.js"; import { PagePromise, SinglePage } from "../core/pagination.js"; import { RequestOptions } from "../internal/request-options.js"; export declare class Providers extends APIResource { /** * Return details on all available payroll and HR systems. */ list(options?: RequestOptions): PagePromise; } export type ProviderListResponsesSinglePage = SinglePage; export interface Provider { /** * The id of the payroll provider used in Connect. */ id: string; /** * The display name of the payroll provider. */ display_name: string; /** * The list of Finch products supported on this payroll provider. */ products: Array; /** * The authentication methods supported by the provider. */ authentication_methods?: Array; /** * `true` if the integration is in a beta state, `false` otherwise */ beta?: boolean; /** * The url to the official icon of the payroll provider. */ icon?: string; /** * The url to the official logo of the payroll provider. */ logo?: string; /** * @deprecated [DEPRECATED] Whether the Finch integration with this provider uses * the Assisted Connect Flow by default. This field is now deprecated. Please check * for a `type` of `assisted` in the `authentication_methods` field instead. */ manual?: boolean; /** * whether MFA is required for the provider. */ mfa_required?: boolean; /** * The hex code for the primary color of the payroll provider. */ primary_color?: string; } export declare namespace Provider { interface AuthenticationMethod { /** * The type of authentication method */ type: 'assisted' | 'credential' | 'api_token' | 'api_credential' | 'oauth' | 'api'; /** * The supported benefit types and their configurations */ benefits_support?: { [key: string]: unknown; }; /** * The supported fields for each Finch product */ supported_fields?: { [key: string]: unknown; }; } } export interface ProviderListResponse { /** * The id of the payroll provider used in Connect. */ id: string; /** * The display name of the payroll provider. */ display_name: string; /** * The list of Finch products supported on this payroll provider. */ products: Array; /** * The authentication methods supported by the provider. */ authentication_methods?: Array; /** * `true` if the integration is in a beta state, `false` otherwise */ beta?: boolean; /** * The url to the official icon of the payroll provider. */ icon?: string; /** * The url to the official logo of the payroll provider. */ logo?: string; /** * @deprecated [DEPRECATED] Whether the Finch integration with this provider uses * the Assisted Connect Flow by default. This field is now deprecated. Please check * for a `type` of `assisted` in the `authentication_methods` field instead. */ manual?: boolean; /** * whether MFA is required for the provider. */ mfa_required?: boolean; /** * The hex code for the primary color of the payroll provider. */ primary_color?: string; } export declare namespace ProviderListResponse { interface AuthenticationMethod { /** * The type of authentication method */ type: 'assisted' | 'credential' | 'api_token' | 'api_credential' | 'oauth' | 'api'; /** * The supported benefit types and their configurations */ benefits_support?: { [key: string]: unknown; }; /** * The supported fields for each Finch product */ supported_fields?: { [key: string]: unknown; }; } } export declare namespace Providers { export { type Provider as Provider, type ProviderListResponse as ProviderListResponse, type ProviderListResponsesSinglePage as ProviderListResponsesSinglePage, }; } //# sourceMappingURL=providers.d.ts.map