/* 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 { AccountIdentifier } from './account-identifier'; // May contain unused imports in some cases // @ts-ignore import { AccountType2 } from './account-type2'; // May contain unused imports in some cases // @ts-ignore import { PolicyOperator } from './policy-operator'; // May contain unused imports in some cases // @ts-ignore import { PolicyTag } from './policy-tag'; /** * Destination configuration for policy rules * @export * @interface DestinationConfig */ export interface DestinationConfig { /** * * @type {PolicyOperator} * @memberof DestinationConfig */ 'operator': PolicyOperator; /** * Type of destination addresses allowed * @type {string} * @memberof DestinationConfig */ 'addressType': DestinationConfigAddressTypeEnum; /** * Destination account types * @type {Array} * @memberof DestinationConfig */ 'type'?: Array; /** * * @type {Array} * @memberof DestinationConfig */ 'subType'?: Array; /** * * @type {Array} * @memberof DestinationConfig */ 'ids'?: Array; /** * Tags for destination matching * @type {Array} * @memberof DestinationConfig */ 'tags'?: Array; /** * Whether to match from account or source (relevant only for ORDER policy type). If set to ACCOUNT, only matchFrom is allowed and other fields are not required. * @type {string} * @memberof DestinationConfig */ 'matchFrom'?: DestinationConfigMatchFromEnum; } export const DestinationConfigAddressTypeEnum = { Star: '*', Whitelisted: 'WHITELISTED', OneTime: 'ONE_TIME' } as const; export type DestinationConfigAddressTypeEnum = typeof DestinationConfigAddressTypeEnum[keyof typeof DestinationConfigAddressTypeEnum]; export const DestinationConfigMatchFromEnum = { Account: 'ACCOUNT', Source: 'SOURCE' } as const; export type DestinationConfigMatchFromEnum = typeof DestinationConfigMatchFromEnum[keyof typeof DestinationConfigMatchFromEnum];