fleeta-api-lib
Version:
A comprehensive library for fleet management applications - API, Auth, Device management
28 lines • 5.36 kB
TypeScript
/**
* FleetA Library - Main Export
* Central export point for all library functionality
*/
export * from './api';
export * from './auth';
export * from './device';
export { playLiveView, stopLiveView, changeLiveDirection, changeLiveDirectionWithRetry, playLiveViewWithRetry, getLivePresignURL, startLiveStreamingWorkflow, createCustomSigner, validateWebRTCConfig, getLiveStreamStatus, startTwoWayAudio, stopTwoWayAudio, type LiveCameraChannel, type LiveStreamStatus, type LiveStreamState, type PlayLiveViewParams, type PlayLiveViewResponse, type StopLiveViewParams, type StopLiveViewResponse, type LiveDirectionParams, type LiveDirectionResponse, type LivePresignURLParams, type LivePresignURLResponse, type LiveStreamingWorkflow, type TwoWayStatus, type TwoWayStartParams, type TwoWayStartResponse, type TwoWayStopParams, type TwoWayStopResponse, LIVE_VIEW_ERROR_MESSAGES, CAMERA_CHANNEL_NAMES } from './live';
export { WebRTCProvider, createWebRTCProvider, checkMediaDeviceSupport, requestMicrophonePermission, WebRTCConnection, WebRTCFactory, AudioManager, ConnectionStateMachine, GenericSDKLoader, createWebRTCSDKLoader, type WebRTCProviderConfig, type WebRTCProviderCallbacks, type ConnectionState, type ConnectionStats, type ICEServer, // Provider version takes precedence
type EndpointsByProtocol, // Provider version takes precedence
type WebRTCConfig, // Provider version takes precedence (internal)
type WebRTCConnectionConfig, type WebRTCConnectionEvents, type MediaDeviceCapabilities, type ConnectionEvent, type ISDKLoader, type SDKLoaderConfig } from './live-provider';
export { useAuthStore } from './store/authStore';
export { useApiEndpointStore } from './store/apiEndpointStore';
export { GpsWebSocketSDK, GpsWebSocketFactory, ConnectionManager, AuthManager as GpsAuthManager, EventManager as GpsEventManager, RequestManager as GpsRequestManager, GpsConnectionStateMachine, type GpsWebSocketSDKOptions, type GpsWsEvent, type GpsWsEventHandler, type GpsConnectionState, type DeviceGpsInfo, type GpsWebSocketRequest, type GpsWebSocketResponse } from './gps-websocket';
export { GpsDataProvider, GpsDataManager, createBasicGpsProvider, createMapGpsProvider, createDashboardGpsProvider, createZoneGpsProvider, createPublicGpsProvider, hasSignificantChange, processGpsDataUpdates, optimizeForMapRendering, calculateProcessingMetrics, batchProcessUpdates, applyAutoFilter, applySubscriberFilter, filterByStatus, filterByRadius, filterBySpeed, groupDevices, sortDevices, findNearbyDevices, isValidCoordinate, isWithinBoundingBox, createCombinedFilter, createSearchFilter, GpsDataCache, createGpsDataCache, generateCacheKey, CacheKeys, type GpsDataProviderConfig, type GpsDataStats, type GpsDataProviderState, type DataProcessingResult, DEFAULT_GPS_PROVIDER_CONFIG } from './gps-data-provider';
export { EventWebSocketSDK, EventConnectionManager, EventWebSocketEventManager, type EventWebSocketSDKOptions, type EventWsEvent, type EventWsEventHandler, type EventConnectionState, type WebPushMessage, type WebPushEventCode, type MessageOnlyEventCode, type ImageIncludedEventCode, isImageIncludedEvent, WEBPUSH_EVENT_DESCRIPTIONS, WEBPUSH_EVENT_CATEGORIES, DEFAULT_EVENT_WEBSOCKET_CONFIG } from './event-websocket';
export { MultiDeviceProvider, DeviceStreamManager, StreamConnectionPool, MultiDeviceWebRTCConnection, QualityManager, createQualityManager, createMultiDeviceProvider, createGrid2x2Provider, createGrid3x3Provider, createGrid4x4Provider, type MultiDeviceProviderConfig, type DeviceManagerConfig, type MultiDeviceConnectionConfig, type ConnectionState as MultiDeviceConnectionState, type StreamQuality, type StreamType, type CameraChannel, type StreamUpdateEvent, type StreamCallback, type DeviceManagerEvents, type MultiDeviceProviderEvents, type VoiceCommState, type TwoWayAudioStatus, type DeviceStats, type MultiDeviceStats, type PooledConnection, type PoolStats, DEFAULT_MULTI_DEVICE_CONFIG } from './multi-device-provider';
export { inviteMember, getInviteMemberList, deleteMember, inviteSubMaster, inviteUser, isUsersApiReady, getMasterPermissions, getUserPermissions, getTargetUserPermissions, setTargetUserPermissions, hasPermission, getAuthConfigFromStore as getUsersAuthConfigFromStore, isAuthConfigured as isUsersAuthConfigured, isAuthConfigValid as isUsersAuthConfigValid, getAuthHeaders as getUsersAuthHeaders, type InviteMemberParams, type InviteMemberResponse, type GetInviteMemberListParams, type GetInviteMemberListResponse, type DeleteMemberParams, type DeleteMemberResponse, type GetTargetUserPermissionsParams, type GetTargetUserPermissionsResponse, type SetTargetUserPermissionsParams, type SetTargetUserPermissionsResponse, type InvitedMemberInfo, type InvitedMemberGroup, type FleetUserType, type LoginApp, INVITE_MEMBER_ERROR_MESSAGES, GET_INVITE_MEMBER_ERROR_MESSAGES, DELETE_MEMBER_ERROR_MESSAGES, GET_TARGET_USER_PERMISSIONS_ERROR_MESSAGES, SET_TARGET_USER_PERMISSIONS_ERROR_MESSAGES, FLEET_USER_TYPE_NAMES, LOGIN_APP_NAMES, MAIL_STATUS_NAMES, USER_ROLE_NAMES, PERMISSION_DISPLAY_NAMES, PERMISSION_CATEGORIES, USERS_API_VERSION, USERS_API_NAME } from './users';
export * from './group';
export declare const LIB_VERSION = "1.4.0";
export declare const LIB_NAME = "FleetA Library";
declare const _default: {
version: string;
name: string;
};
export default _default;
//# sourceMappingURL=index.d.ts.map