@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
107 lines (106 loc) • 3.31 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.
*/
/**
* Photo OEmbed data
* @export
* @interface OembedPhotoData
*/
export interface OembedPhotoData {
/**
*
* @type {string}
* @memberof OembedPhotoData
*/
'type': OembedPhotoDataTypeEnum;
/**
*
* @type {string}
* @memberof OembedPhotoData
*/
'version': string | null;
/**
* A text title, describing the resource.
* @type {string}
* @memberof OembedPhotoData
*/
'title'?: string | null;
/**
* The name of the author/owner of the resource.
* @type {string}
* @memberof OembedPhotoData
*/
'author_name'?: string | null;
/**
* A URL for the author/owner of the resource.
* @type {string}
* @memberof OembedPhotoData
*/
'author_url'?: string | null;
/**
* The name of the resource provider.
* @type {string}
* @memberof OembedPhotoData
*/
'provider_name'?: string | null;
/**
* The url of the resource provider.
* @type {string}
* @memberof OembedPhotoData
*/
'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 OembedPhotoData
*/
'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 OembedPhotoData
*/
'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 OembedPhotoData
*/
'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 OembedPhotoData
*/
'thumbnail_height'?: number | null;
/**
* The source URL of the image. Consumers should be able to insert this URL into an <img> element. Only HTTP and HTTPS URLs are valid.
* @type {string}
* @memberof OembedPhotoData
*/
'url': string | null;
/**
* The width in pixels of the image specified in the url parameter.
* @type {number}
* @memberof OembedPhotoData
*/
'width': number | null;
/**
* The height in pixels of the image specified in the url parameter.
* @type {number}
* @memberof OembedPhotoData
*/
'height': number | null;
}
export declare const OembedPhotoDataTypeEnum: {
readonly Photo: "photo";
};
export type OembedPhotoDataTypeEnum = typeof OembedPhotoDataTypeEnum[keyof typeof OembedPhotoDataTypeEnum];