/* tslint:disable */ /* eslint-disable */ /** * Fireblocks API * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import { ContactApprovalRequest } from './contact-approval-request'; // May contain unused imports in some cases // @ts-ignore import { ContactTag } from './contact-tag'; /** * A contact in the workspace address book. * @export * @interface Contact */ export interface Contact { /** * The unique identifier of the contact * @type {string} * @memberof Contact */ 'id': string; /** * The contact name, unique across the workspace * @type {string} * @memberof Contact */ 'name': string; /** * Whether the contact is an external party or an account the workspace owns elsewhere * @type {string} * @memberof Contact */ 'type': ContactTypeEnum; /** * The date and time the contact was last modified, in ISO-8601 * @type {string} * @memberof Contact */ 'updatedAt': string; /** * The tags attached to the contact * @type {Array} * @memberof Contact */ 'tags': Array; /** * * @type {ContactApprovalRequest} * @memberof Contact */ 'pendingApprovalRequest': ContactApprovalRequest | null; /** * The access control applied to the contact. Absent when none is set. * @type {string} * @memberof Contact */ 'accessControl'?: ContactAccessControlEnum; /** * Free-text notes on the contact. Absent when none are set. * @type {string} * @memberof Contact */ 'notes'?: string; /** * A customer-supplied reference id for the contact. Absent when none is set. * @type {string} * @memberof Contact */ 'externalRefId'?: string; /** * The container holding the contact. Absent when the contact sits at the root. * @type {string} * @memberof Contact */ 'containerId'?: string; /** * The date and time the contact was archived, in ISO-8601. Absent for live contacts, so this only carries a value when the request passed archived=true. * @type {string} * @memberof Contact */ 'archivedAt'?: string; } export const ContactTypeEnum = { Counterparty: 'COUNTERPARTY', OwnAccount: 'OWN_ACCOUNT' } as const; export type ContactTypeEnum = typeof ContactTypeEnum[keyof typeof ContactTypeEnum]; export const ContactAccessControlEnum = { Whitelist: 'WHITELIST', Blacklist: 'BLACKLIST' } as const; export type ContactAccessControlEnum = typeof ContactAccessControlEnum[keyof typeof ContactAccessControlEnum];