UNPKG

@vectorize-io/vectorize-client

Version:
67 lines (56 loc) 1.74 kB
/* tslint:disable */ /* eslint-disable */ /** * Vectorize API * API for Vectorize services (Beta) * * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * Authentication configuration for Zoom * @export * @interface ZOOMAuthConfig */ export interface ZOOMAuthConfig { /** * Connect Zoom to Vectorize. Note: Authorizing a new Zoom account will disconnect any existing Zoom connectors using the same account.. Example: Authorize * @type {string} * @memberof ZOOMAuthConfig */ refreshToken: string; } /** * Check if a given object implements the ZOOMAuthConfig interface. */ export function instanceOfZOOMAuthConfig(value: object): value is ZOOMAuthConfig { if (!('refreshToken' in value) || value['refreshToken'] === undefined) return false; return true; } export function ZOOMAuthConfigFromJSON(json: any): ZOOMAuthConfig { return ZOOMAuthConfigFromJSONTyped(json, false); } export function ZOOMAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ZOOMAuthConfig { if (json == null) { return json; } return { 'refreshToken': json['refresh-token'], }; } export function ZOOMAuthConfigToJSON(json: any): ZOOMAuthConfig { return ZOOMAuthConfigToJSONTyped(json, false); } export function ZOOMAuthConfigToJSONTyped(value?: ZOOMAuthConfig | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'refresh-token': value['refreshToken'], }; }