/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ChainEnum } from './ChainEnum'; import { ExchangeKeyEnum } from './ExchangeKeyEnum'; import { FlowSourceTypeEnum } from './FlowSourceTypeEnum'; /** * fromAddress, fromChainId, and fromChainName are required when sourceType is 'wallet'. When sourceType is 'exchange', they are optional; pass exchangeProvider to generate the buy URL and create the exchange source record server-side. When sourceType is 'deposit_address', fromChainId and fromChainName are required; fromAddress is not accepted (use refundAddress instead to specify where funds should be returned if the deposit fails). * @export * @interface FlowAttachSourceRequest */ export interface FlowAttachSourceRequest { /** * * @type {FlowSourceTypeEnum} * @memberof FlowAttachSourceRequest */ sourceType: FlowSourceTypeEnum; /** * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON) * @type {string} * @memberof FlowAttachSourceRequest */ fromAddress?: string; /** * * @type {string} * @memberof FlowAttachSourceRequest */ fromChainId?: string; /** * * @type {ChainEnum} * @memberof FlowAttachSourceRequest */ fromChainName?: ChainEnum; /** * * @type {ExchangeKeyEnum} * @memberof FlowAttachSourceRequest */ exchangeProvider?: ExchangeKeyEnum; /** * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON) * @type {string} * @memberof FlowAttachSourceRequest */ refundAddress?: string; } export declare function FlowAttachSourceRequestFromJSON(json: any): FlowAttachSourceRequest; export declare function FlowAttachSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowAttachSourceRequest; export declare function FlowAttachSourceRequestToJSON(value?: FlowAttachSourceRequest | null): any;