import t = require("io-ts"); export declare namespace Geotab { namespace Credentials { const dto: t.IntersectionC<[t.TypeC<{ username: t.StringC; database: t.StringC; url: t.StringC; }>, t.PartialC<{ password: t.StringC; sessionId: t.StringC; }>]>; type Type = t.TypeOf; } namespace SecurityToken { const dto: t.TypeC<{ database: t.StringC; username: t.StringC; sessionId: t.StringC; }>; type Type = t.TypeOf; } namespace Vehicle { const dto: t.TypeC<{ vin: t.StringC; deviceId: t.StringC; serialNumber: t.StringC; }>; type Type = t.TypeOf; } namespace VehicleMigrationContext { const dto: t.IntersectionC<[t.TypeC<{ vehicle: t.TypeC<{ vin: t.StringC; deviceId: t.StringC; serialNumber: t.StringC; }>; }>, t.PartialC<{ lastSyncedDataTimestamp: t.Type; }>]>; type Type = t.TypeOf; } namespace IntegrationAccount { const dto: t.TypeC<{ accountId: t.StringC; credentials: t.IntersectionC<[t.TypeC<{ username: t.StringC; database: t.StringC; url: t.StringC; }>, t.PartialC<{ password: t.StringC; sessionId: t.StringC; }>]>; defaultMigrationStartUnixTimestamp: t.UnionC<[t.NumberC, t.UndefinedC]>; lastSuccessDataMigrationUnixTimestamp: t.UnionC<[t.NumberC, t.UndefinedC]>; }>; type Type = t.TypeOf; } namespace IntegrationSummary { const dto: t.IntersectionC<[t.TypeC<{ accountId: t.StringC; alias: t.StringC; }>, t.PartialC<{ lastUpdate: t.PartialC<{ status: t.StringC; message: t.StringC; timestamp: t.Type; }>; lastSyncDone: t.PartialC<{ status: t.StringC; message: t.StringC; timestamp: t.Type; }>; }>]>; type Type = t.TypeOf; } namespace IntegrationRequest { const dataFetchableDto: t.TypeC<{ geotabDeviceId: t.StringC; startUnixTimestamp: t.NumberC; endUnixTimestamp: t.NumberC; }>; const identifierDto: t.IntersectionC<[t.TypeC<{ geotabDeviceId: t.StringC; startUnixTimestamp: t.NumberC; endUnixTimestamp: t.NumberC; }>, t.TypeC<{ vin: t.StringC; deviceId: t.StringC; geotabDeviceSerialNumber: t.StringC; }>]>; const credentialsDto: t.TypeC<{ database: t.StringC; userName: t.StringC; sessionId: t.StringC; uri: t.StringC; }>; const dto: t.IntersectionC<[t.IntersectionC<[t.TypeC<{ geotabDeviceId: t.StringC; startUnixTimestamp: t.NumberC; endUnixTimestamp: t.NumberC; }>, t.TypeC<{ vin: t.StringC; deviceId: t.StringC; geotabDeviceSerialNumber: t.StringC; }>]>, t.TypeC<{ accountId: t.StringC; migrationId: t.StringC; credentials: t.TypeC<{ database: t.StringC; userName: t.StringC; sessionId: t.StringC; uri: t.StringC; }>; }>]>; type DataFetchableType = t.TypeOf; type IdentifierType = t.TypeOf; type CredentialsType = t.TypeOf; type Type = t.TypeOf; } namespace API { type Result = { data: T; nextData: () => Promise>; }; namespace SensorData { namespace Request { const dto: t.TypeC<{ fromTimestamp: t.StringC; }>; type Type = t.TypeOf; } namespace Response { const dto: t.ArrayC; type Type = t.TypeOf; } } namespace Trip { namespace Response { const dto: t.ArrayC>>; type Type = t.TypeOf; } } namespace Pagination { const dto: t.TypeC<{ type: t.UnionC<[t.LiteralC<"StatusData">, t.LiteralC<"LogRecord">, t.LiteralC<"nextTripStart">, t.LiteralC<"lastTripId">]>; paginationKey: t.StringC; }>; type Type = t.TypeOf; } } /** * entity objects can be found here: * https://geotab.github.io/sdk/software/api/reference/#T:Geotab.Checkmate.ObjectModel.Entity **/ namespace Entities { namespace DeviceObj { const dto: t.TypeC<{ activeFrom: t.StringC; activeTo: t.StringC; comment: t.StringC; hardwareId: t.UnionC<[t.NumberC, t.UndefinedC]>; id: t.StringC; name: t.StringC; productId: t.NumberC; serialNumber: t.StringC; timeZoneId: t.StringC; version: t.UnionC<[t.StringC, t.UndefinedC]>; }>; type Type = t.TypeOf; } namespace ControllerObj { const dto: t.TypeC<{ codeId: t.NumberC; code: t.NumberC; id: t.StringC; name: t.StringC; source: t.StringC; version: t.UnionC<[t.StringC, t.UndefinedC]>; }>; type Type = t.TypeOf; } namespace StatusData { const dto: t.TypeC<{ data: t.UnknownC; dateTime: t.StringC; device: t.UnknownC; diagnostic: t.UnknownC; controller: t.UnionC<[t.UnknownC, t.UndefinedC]>; version: t.UnionC<[t.StringC, t.UndefinedC]>; id: t.UnionC<[t.StringC, t.UndefinedC]>; }>; type Type = t.TypeOf; } } } //# sourceMappingURL=geotab.d.ts.map