/** * Whispir Platform API * Whispir Platform API for cross channel and multi channel communications. Documentation on each endpoint is available at https://developers.whispir.com. * * The version of the OpenAPI document: 1.0.0 * Contact: support@whispir.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 { RequestFile } from './models'; /** * The authentication model details. You will receive - For `queryparam` - `?Auth={{KeyValue}}` For `httpheader` - `X-Whispir-Callback-Key: {{KeyValue}}` For `basicauth` - `Authorization: Basic {{KeyValue}}` For `bearertoken` - `Authorization: Bearer {{KeyValue}}` */ export class CallbackAuth { /** * The type of authentication allowed by Whispir at the Destination URL */ 'type': CallbackAuth.TypeEnum = CallbackAuth.TypeEnum.Queryparam; /** * The value that will be passed with the authentication key */ 'key': string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "type", "baseName": "type", "type": "CallbackAuth.TypeEnum" }, { "name": "key", "baseName": "key", "type": "string" } ]; static getAttributeTypeMap() { return CallbackAuth.attributeTypeMap; } } export namespace CallbackAuth { export enum TypeEnum { Queryparam = 'queryparam', Httpheader = 'httpheader', Basicauth = 'basicauth', Bearertoken = 'bearertoken' } }