@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
89 lines (88 loc) • 2.71 kB
TypeScript
/**
* Neynar API
* The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
*
* The version of the OpenAPI document: 3.115.0
* Contact: team@neynar.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Link OEmbed data
* @export
* @interface OembedLinkData
*/
export interface OembedLinkData {
/**
*
* @type {string}
* @memberof OembedLinkData
*/
'type': OembedLinkDataTypeEnum;
/**
*
* @type {string}
* @memberof OembedLinkData
*/
'version': string | null;
/**
* A text title, describing the resource.
* @type {string}
* @memberof OembedLinkData
*/
'title'?: string | null;
/**
* The name of the author/owner of the resource.
* @type {string}
* @memberof OembedLinkData
*/
'author_name'?: string | null;
/**
* A URL for the author/owner of the resource.
* @type {string}
* @memberof OembedLinkData
*/
'author_url'?: string | null;
/**
* The name of the resource provider.
* @type {string}
* @memberof OembedLinkData
*/
'provider_name'?: string | null;
/**
* The url of the resource provider.
* @type {string}
* @memberof OembedLinkData
*/
'provider_url'?: string | null;
/**
* The suggested cache lifetime for this resource, in seconds. Consumers may choose to use this value or not.
* @type {string}
* @memberof OembedLinkData
*/
'cache_age'?: string | null;
/**
* A URL to a thumbnail image representing the resource. The thumbnail must respect any maxwidth and maxheight parameters. If this parameter is present, thumbnail_width and thumbnail_height must also be present.
* @type {string}
* @memberof OembedLinkData
*/
'thumbnail_url'?: string | null;
/**
* The width of the optional thumbnail. If this parameter is present, thumbnail_url and thumbnail_height must also be present.
* @type {number}
* @memberof OembedLinkData
*/
'thumbnail_width'?: number | null;
/**
* The height of the optional thumbnail. If this parameter is present, thumbnail_url and thumbnail_width must also be present.
* @type {number}
* @memberof OembedLinkData
*/
'thumbnail_height'?: number | null;
}
export declare const OembedLinkDataTypeEnum: {
readonly Link: "link";
};
export type OembedLinkDataTypeEnum = typeof OembedLinkDataTypeEnum[keyof typeof OembedLinkDataTypeEnum];