@venly/venly-core-sdk
Version:
Javascrip/Typescript SDK for Venly's Web3 Services
161 lines • 3.3 kB
TypeScript
import * as enums from '../enums/index';
/**
*
*/
export declare class VyJsonNode {
constructor(initializer?: VyJsonNode);
}
/**
*
*/
export declare class VyTypeValueDto {
/**
* The type of media. Possible values are: `video | audio | image`
* @type {string}
*/
type?: string;
/**
* The URL of the media file
* @type {string}
*/
value?: string;
constructor(initializer?: VyTypeValueDto);
}
/**
*
*/
export declare class VySortOrderDto {
/**
*
* @type {string}
*/
property?: string;
/**
* Result sorted in ascending or descending order
* @type {VySortType}
*/
direction?: enums.VySortType;
constructor(initializer?: VySortOrderDto);
}
/**
*
*/
export declare class VySortDto {
/**
*
* @type {VySortOrderDto[]}
*/
orders?: VySortOrderDto[];
constructor(initializer?: VySortDto);
}
/**
*
*/
export declare class VyErrorBody {
/**
*
* @type {string}
*/
errorCode?: string;
/**
*
* @type {string}
*/
errorMessage?: string;
constructor(initializer?: VyErrorBody);
}
/**
*
*/
export declare class VyAuthenticationMethodRequest {
/**
* This is the type of authentication for your endpoint. We allow two types: `BASIC_AUTHENTICATION` and `API_KEY`
* @type {VyAuthenticationMethodType}
*/
type?: enums.VyAuthenticationMethodType;
/**
* This is the username for your endpoint. (Required only when `authenticationMethod.type` is `BASIC_AUTHENTICATION`)
* @type {string}
*/
username?: string;
/**
* This is the password for your endpoint. (Required only when `authenticationMethod.type` is `BASIC_AUTHENTICATION`)
* @type {string}
*/
password?: string;
/**
* This is the header name for your endpoint. (Required only when `authenticationMethod.type` is `API_KEY`)
* @type {string}
*/
headerName?: string;
/**
* This is the value of api key for your endpoint. (Required only when `authenticationMethod.type` is `API_KEY`)
* @type {string}
*/
apiKey?: string;
constructor(initializer?: VyAuthenticationMethodRequest);
}
/**
*
*/
export declare class VyBasicAuthCredentialsDto {
/**
*
* @type {string}
*/
username?: string;
constructor(initializer?: VyBasicAuthCredentialsDto);
}
/**
*
*/
export declare class VyApiKeyAuthCredentialsDto {
/**
*
* @type {string}
*/
authenticationHeader?: string;
constructor(initializer?: VyApiKeyAuthCredentialsDto);
}
/**
*
*/
export declare class VyWebhookDto {
/**
*
* @type {string}
*/
id?: string;
/**
*
* @type {string}
*/
targetId?: string;
/**
*
* @type {string}
*/
application?: string;
/**
*
* @type {string}
*/
url?: string;
/**
*
* @type {VyAuthenticationMethodType}
*/
authenticationType?: enums.VyAuthenticationMethodType;
/**
*
* @type {VyBasicAuthCredentialsDto}
*/
basicAuthCredentials?: VyBasicAuthCredentialsDto;
/**
*
* @type {VyApiKeyAuthCredentialsDto}
*/
apiKeyAuthCredentials?: VyApiKeyAuthCredentialsDto;
constructor(initializer?: VyWebhookDto);
}
//# sourceMappingURL=VyModels.Shared.generated.d.ts.map