UNPKG

@coretext-ai/qa-google-contacts-a58500d5-8331-4ce9-a140-d204a9fae815

Version:
116 lines 3.1 kB
export declare class GoogleContactsClient { private oauthClient; private sessionId; private baseUrl; constructor(); /** * Get the session ID for this client instance */ getSessionId(): string; /** * Enhanced debug logging with session context */ private logDebug; /** * Initialize the API client */ initialize(): Promise<void>; /** * Make authenticated API request */ makeRequest(config: RequestConfig): Promise<any>; /** * Create a new contact with specified fields */ createContact(args?: any): Promise<any>; /** * Get a specific contact by resource name */ getPerson(args?: any): Promise<any>; /** * Update an existing contact */ updateContact(args?: any): Promise<any>; /** * Delete a contact permanently */ deleteContact(args?: any): Promise<any>; /** * List authenticated user&#x27;s contacts */ listConnections(args?: any): Promise<any>; /** * Search across all contacts with text query */ searchContacts(args?: any): Promise<any>; /** * Get multiple contacts by resource names */ batchGetPeople(args?: any): Promise<any>; /** * List all contact groups */ listContactGroups(args?: any): Promise<any>; /** * Create a new contact group */ createContactGroup(args?: any): Promise<any>; /** * Get a specific contact group by resource name */ getContactGroup(args?: any): Promise<any>; /** * Update an existing contact group */ updateContactGroup(args?: any): Promise<any>; /** * Delete a contact group */ deleteContactGroup(args?: any): Promise<any>; /** * Add or remove members from a contact group */ modifyContactGroupMembers(args?: any): Promise<any>; /** * List people in the authenticated user&#x27;s domain directory (G Suite/Workspace) */ listDirectoryPeople(args?: any): Promise<any>; /** * Search people in the authenticated user&#x27;s domain directory */ searchDirectoryPeople(args?: any): Promise<any>; /** * List other contacts (auto-created contacts from interactions) */ listOtherContacts(args?: any): Promise<any>; /** * Search other contacts with text query */ searchOtherContacts(args?: any): Promise<any>; /** * Copy an other contact to the authenticated user&#x27;s contacts */ copyOtherContact(args?: any): Promise<any>; /** * Build URL with path parameters and query string */ private buildUrl; /** * Check if client is authenticated */ isAuthenticated(): Promise<boolean>; /** * Revoke authentication tokens */ revokeAuthentication(): Promise<void>; } interface RequestConfig { method: string; path: string; pathParams?: Record<string, any>; queryParams?: Record<string, any>; body?: any; headers?: Record<string, string>; } export {}; //# sourceMappingURL=google-contacts-client.d.ts.map