UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

49 lines (48 loc) 1.23 kB
/** * Ocra (REST API for Sinch RTC clients) * REST API for Sinch RTC clients. * * The version of the OpenAPI document: 0.11.0 * Contact: rtc@sinch.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ClientErrorDomain } from './'; /** * Operation result assotiated with event if any * @export * @interface EventResult */ export interface EventResult { /** * * @type {string} * @memberof EventResult */ type: EventResultTypeEnum; /** * Error code withthin provided domain * @type {number} * @memberof EventResult */ errorCode?: number; /** * * @type {ClientErrorDomain} * @memberof EventResult */ errorDomain?: ClientErrorDomain; } /** * @export * @enum {string} */ export declare enum EventResultTypeEnum { Success = "success", Failure = "failure" } export declare function EventResultFromJSON(json: any): EventResult; export declare function EventResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventResult; export declare function EventResultToJSON(value?: EventResult | null): any;