@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
44 lines (43 loc) • 1.54 kB
TypeScript
import { Name } from './name';
export declare class CreateCompanyUserRequest {
/**
* The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.
*/
'accountGroups'?: Array<string>;
/**
* The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user.
*/
'associatedMerchantAccounts'?: Array<string>;
/**
* The email address of the user.
*/
'email': string;
/**
* The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO**
*/
'loginMethod'?: string;
'name': Name;
/**
* The list of [roles](https://docs.adyen.com/account/user-roles) for this user.
*/
'roles'?: Array<string>;
/**
* The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.
*/
'timeZoneCode'?: string;
/**
* The user\'s email address that will be their username. Must be the same as the one in the `email` field.
*/
'username': string;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}