box-ui-elements
Version:
Box UI Elements
25 lines (24 loc) • 783 B
TypeScript
/**
* Convert an enterprise users API response into an array of internal USM contacts.
*/
export declare const convertUserContactsResponse: (contactsApiData: any, currentUserId: any) => any;
/**
* Convert an enterprise groups API response into an array of internal USM contacts.
*/
export declare const convertGroupContactsResponse: (contactsApiData: any, emailMessage: any) => any;
/**
* Convert an enterprise users API response into a single internal USM contact object (from the first entry).
*/
export declare const convertUserContactByEmailResponse: (contactsApiData: any) => {
id?: undefined;
email?: undefined;
name?: undefined;
type?: undefined;
value?: undefined;
} | {
id: any;
email: any;
name: any;
type: any;
value: any;
};