            baseUrl: 'https://api.tinkoff.ai/v1/',
            json: true,
            headers: {
                Authorization: `bearer ${token}`,
            }
        })
    }

    protected async request(method: 'get' | 'post' | 'put' | 'delete' | 'head' | 'patch', command: string, params?: Record<string, any>): Promise<Record<string, any>> {
        return await new Promise((resolve, reject) => {
            const config: Record<string, any> = {}