/** * 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 so the bridge provider knows the source chain; fromAddress is optional (omit when the customer pays from a CEX with no connected wallet). * @export * @interface AttachSourceRequest */ export interface AttachSourceRequest { /** * * @type {FlowSourceTypeEnum} * @memberof AttachSourceRequest */ 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 AttachSourceRequest */ fromAddress?: string; /** * * @type {string} * @memberof AttachSourceRequest */ fromChainId?: string; /** * * @type {ChainEnum} * @memberof AttachSourceRequest */ fromChainName?: ChainEnum; /** * * @type {ExchangeKeyEnum} * @memberof AttachSourceRequest */ exchangeProvider?: ExchangeKeyEnum; } export declare function AttachSourceRequestFromJSON(json: any): AttachSourceRequest; export declare function AttachSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachSourceRequest; export declare function AttachSourceRequestToJSON(value?: AttachSourceRequest | null): any;