import { initClient } from './initClient' ; ( async ( ) => { const apiClient = await initClient ( ) ; apiClient [ 'accessTokenStore' ] . accessToken ! . access_token = 'invalid' ; await apiClient . conversation . api . getAllConversations ( ) ; } ) ( ) . catch ( error => { console . error ( error ) ; process . exit ( 1 ) ; } ) ;