forked from Shared/esg
initial commit
This commit is contained in:
19
src/providers/interfaces/provider-config.interface.ts
Normal file
19
src/providers/interfaces/provider-config.interface.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user