Files
esg/src/providers/interfaces/provider-config.interface.ts
2026-06-09 14:07:37 +03:30

20 lines
480 B
TypeScript

import { ProviderEnvConfig } from '../../config/configuration';
export interface LegacyProviderApiResponse {
success?: boolean;
message?: string;
code?: string;
data?: Record<string, unknown>;
// CentInsur API format
IsSucceed?: boolean;
Result?: {
Result?: boolean;
ErrorMessage?: string | null;
ExternalServiceResponseDuration?: number;
[key: string]: unknown;
};
TrackingCode?: string;
}
export type ProviderConfigSlice = ProviderEnvConfig;