/** * Raiden API * https://raiden-network.readthedocs.io/en/latest/rest_api.html * * 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 { Observable } from 'rxjs'; import { BaseAPI } from '../runtime'; import { Channel, ChannelPartial, InlineObject } from '../models'; export interface GetChannelsForTokenRequest { tokenAddress: string; } export interface GetPartnerChannelRequest { tokenAddress: string; partnerAddress: string; } export interface OpenChannelRequest { channelPartial: ChannelPartial; } export interface PatchChannelRequest { tokenAddress: string; partnerAddress: string; inlineObject: InlineObject; } /** * no description */ export declare class ChannelsApi extends BaseAPI { /** * List of all unsettled channels */ getChannels: () => Observable; /** * List of all unsettled channels for the given token address. */ getChannelsForToken: (requestParameters: GetChannelsForTokenRequest) => Observable; /** * The channel is specified by the address of the token and the partner’s address. * Query information about one of your channels. */ getPartnerChannel: (requestParameters: GetPartnerChannelRequest) => Observable; /** * Opens a channel */ openChannel: (requestParameters: OpenChannelRequest) => Observable; /** * Close a channel or to increase the deposit in it. */ patchChannel: (requestParameters: PatchChannelRequest) => Observable; } //# sourceMappingURL=ChannelsApi.d.ts.map