/** * 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 { CheckoutSourceTypeEnum } from './CheckoutSourceTypeEnum'; import { ExchangeKeyEnum } from './ExchangeKeyEnum'; /** * fromAddress, fromChainId, and fromChainName are required when sourceType is 'wallet' and optional when sourceType is 'exchange'. When sourceType is 'exchange', pass exchangeProvider to generate the buy URL and create the exchange source record server-side. * @export * @interface AttachSourceRequest */ export interface AttachSourceRequest { /** * * @type {CheckoutSourceTypeEnum} * @memberof AttachSourceRequest */ sourceType: CheckoutSourceTypeEnum; /** * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight) * @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;