37 lines
706 B
TypeScript
37 lines
706 B
TypeScript
/**
|
|
* TextNow Unofficial API
|
|
* TypeScript client for TextNow messaging service
|
|
*/
|
|
|
|
// Auth exports
|
|
export {
|
|
TextNowAuth,
|
|
TextNowAuthError,
|
|
type TextNowCredentials,
|
|
type ParsedCookies,
|
|
parseCookies,
|
|
extractCSRFToken,
|
|
validateCookies,
|
|
saveCredentials,
|
|
loadCredentials,
|
|
hasStoredCredentials,
|
|
clearCredentials,
|
|
} from './auth.js';
|
|
|
|
// API exports
|
|
export {
|
|
TextNowAPI,
|
|
TextNowAPIError,
|
|
type Message,
|
|
type Conversation,
|
|
type SendMessageRequest,
|
|
type SendMessageResponse,
|
|
type SendMediaRequest,
|
|
type AttachmentUrlResponse,
|
|
createTextNowClient,
|
|
createTextNowClientWithCredentials,
|
|
} from './api.js';
|
|
|
|
// Default export
|
|
export { TextNowAPI as default } from './api.js';
|