emailengine-client
Version:
A TypeScript client for the EmailEngine API
72 lines (71 loc) • 1.78 kB
TypeScript
import { Options } from "../../../../misc/Options";
/**
* Updates OAuth2 application information
*/
export declare class UpdateOAuth2AppOptions extends Options {
/**
* Override the EENGINE_TIMEOUT environment variable for a single API request (in milliseconds)
*/
'x-ee-timeout'?: number | undefined;
/**
* OAuth2 application ID
*/
'app': string;
/**
* Update OAuth2 application Details
*/
'body': {
/**
* Application name
*/
name?: string;
/**
* Application description
*/
description?: string;
/**
* Title for the application button
*/
title?: string;
/**
* Enable this app
*/
enabled?: boolean;
/**
* Client or Application ID for 3-legged OAuth2 applications
*/
clientId?: string;
/**
* Client secret for 3-legged OAuth2 applications
*/
clientSecret?: string;
/**
* OAuth2 Base Scopes
*/
baseScopes?: string;
/**
* OAuth2 Extra Scopes
*/
extraScopes?: string[];
/**
* OAuth2 scopes to skip from the base set
*/
skipScopes?: string[];
/**
* Service client ID for 2-legged OAuth2 applications
*/
serviceClient?: string;
/**
* PEM formatted service secret for 2-legged OAuth2 applications
*/
serviceKey?: string;
/**
* Authorization tenant value for Outlook OAuth2 applications
*/
authority?: string;
/**
* Redirect URL for 3-legged OAuth2 applications
*/
redirectUrl?: string;
};
}