/** * Copyright (c) 2023 The Nuinalp Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ import Plans from './plans'; export default class User { protected static adapter: any; id?: string; first_name: string; last_name: string; avatar?: string; email: string; type: 'customer' | 'admin'; status: string; plan: Plans; feedback_tests: boolean; nnp_offers: boolean; product_news: boolean; language: string; created_at: string; updated_at: string; deleted_at: string; static info(): Promise; static update(fields: Record): Promise; static newApiKey(): Promise<{ data: { api_key: string; }; }>; }