21 lines
783 B
TypeScript
21 lines
783 B
TypeScript
import { z } from 'zod';
|
|
export declare const apiProviders: readonly ["amazon", "axonaut", "fota_teltonika", "1nce", "laposte"];
|
|
export type ApiProvider = (typeof apiProviders)[number];
|
|
export declare const apiProviderLabels: Record<ApiProvider, string>;
|
|
export declare const apiKeyCreateSchema: z.ZodObject<{
|
|
provider: z.ZodEnum<{
|
|
amazon: "amazon";
|
|
axonaut: "axonaut";
|
|
fota_teltonika: "fota_teltonika";
|
|
"1nce": "1nce";
|
|
laposte: "laposte";
|
|
}>;
|
|
label: z.ZodString;
|
|
value: z.ZodString;
|
|
}, z.core.$strip>;
|
|
export type ApiKeyCreate = z.infer<typeof apiKeyCreateSchema>;
|
|
export declare const apiKeyUpdateSchema: z.ZodObject<{
|
|
value: z.ZodString;
|
|
}, z.core.$strip>;
|
|
export type ApiKeyUpdate = z.infer<typeof apiKeyUpdateSchema>;
|