diff --git a/src/neynar-api/v2/openapi-farcaster/.openapi-generator/FILES b/src/neynar-api/v2/openapi-farcaster/.openapi-generator/FILES index abbf1fdd..e8c827ce 100644 --- a/src/neynar-api/v2/openapi-farcaster/.openapi-generator/FILES +++ b/src/neynar-api/v2/openapi-farcaster/.openapi-generator/FILES @@ -38,17 +38,17 @@ models/bulk-casts-response.ts models/bulk-follow-response.ts models/bulk-users-response.ts models/buy-storage-req-body.ts -models/cast-author.ts models/cast-composer-actions-list-response-actions-inner-action.ts models/cast-composer-actions-list-response-actions-inner.ts models/cast-composer-actions-list-response.ts models/cast-composer-type.ts models/cast-conversation-sort-type.ts models/cast-dehydrated.ts +models/cast-embedded-parent-author.ts +models/cast-embedded.ts models/cast-id.ts models/cast-notification-type.ts models/cast-param-type.ts -models/cast-parent-author.ts models/cast-response.ts models/cast-viewer-context.ts models/cast-with-interactions-all-of.ts @@ -92,8 +92,13 @@ models/delete-cast-req-body.ts models/delete-frame-response.ts models/delete-neynar-frame-request.ts models/developer-managed-signer.ts +models/embed-cast-deep.ts models/embed-cast.ts +models/embed-deep.ts models/embed-type.ts +models/embed-url-metadata-html-all-of-oembed.ts +models/embed-url-metadata-html-all-of.ts +models/embed-url-metadata-html.ts models/embed-url-metadata-image.ts models/embed-url-metadata-video-stream-inner.ts models/embed-url-metadata-video.ts @@ -143,10 +148,11 @@ models/hydrated-follower.ts models/image-object.ts models/index.ts models/individual-hash-obj.ts +models/link-type-data-all-of.ts +models/link-type-data.ts models/location-address.ts models/location.ts models/mark-notifications-as-seen-req-body.ts -models/music-song-object.ts models/mute-list-response.ts models/mute-list.ts models/mute-record.ts @@ -168,8 +174,11 @@ models/neynar-page-input.ts models/notification-type.ts models/notification.ts models/notifications-response.ts +models/oembed-data.ts models/og-object.ts models/operation-response.ts +models/photo-type-data-all-of.ts +models/photo-type-data.ts models/post-cast-req-body-embeds-cast-id-properties.ts models/post-cast-req-body-embeds.ts models/post-cast-req-body.ts @@ -196,6 +205,8 @@ models/relevant-followers-response.ts models/remove-channel-member-request.ts models/remove-verification-req-body.ts models/respond-channel-invite-request.ts +models/rich-type-data-all-of.ts +models/rich-type-data.ts models/searched-user.ts models/signed-key-request-sponsor.ts models/signer.ts @@ -221,8 +232,6 @@ models/subscription.ts models/subscriptions-response.ts models/subscriptions.ts models/trending-channel-response.ts -models/twitter-image-object.ts -models/twitter-player-object.ts models/update-user-req-body-location.ts models/update-user-req-body.ts models/user-dehydrated.ts @@ -249,6 +258,8 @@ models/validated-frame-action.ts models/verification-chain-id.ts models/verification-type.ts models/video-object.ts +models/video-type-data-all-of.ts +models/video-type-data.ts models/webhook-delete-req-body.ts models/webhook-list-response.ts models/webhook-patch-req-body.ts diff --git a/src/neynar-api/v2/openapi-farcaster/models/cast-dehydrated.ts b/src/neynar-api/v2/openapi-farcaster/models/cast-dehydrated.ts index d2c827a8..0b736006 100644 --- a/src/neynar-api/v2/openapi-farcaster/models/cast-dehydrated.ts +++ b/src/neynar-api/v2/openapi-farcaster/models/cast-dehydrated.ts @@ -13,6 +13,9 @@ */ +// May contain unused imports in some cases +// @ts-ignore +import { UserDehydrated } from './user-dehydrated'; /** * @@ -25,13 +28,19 @@ export interface CastDehydrated { * @type {string} * @memberof CastDehydrated */ - 'hash': string; + 'object': CastDehydratedObjectEnum; /** * * @type {string} * @memberof CastDehydrated */ - 'object': CastDehydratedObjectEnum; + 'hash': string; + /** + * + * @type {UserDehydrated} + * @memberof CastDehydrated + */ + 'author'?: UserDehydrated; } export const CastDehydratedObjectEnum = { diff --git a/src/neynar-api/v2/openapi-farcaster/models/cast-parent-author.ts b/src/neynar-api/v2/openapi-farcaster/models/cast-embedded-parent-author.ts similarity index 81% rename from src/neynar-api/v2/openapi-farcaster/models/cast-parent-author.ts rename to src/neynar-api/v2/openapi-farcaster/models/cast-embedded-parent-author.ts index f8c79dca..ccbe99a9 100644 --- a/src/neynar-api/v2/openapi-farcaster/models/cast-parent-author.ts +++ b/src/neynar-api/v2/openapi-farcaster/models/cast-embedded-parent-author.ts @@ -17,13 +17,13 @@ /** * * @export - * @interface CastParentAuthor + * @interface CastEmbeddedParentAuthor */ -export interface CastParentAuthor { +export interface CastEmbeddedParentAuthor { /** * The unique identifier of a farcaster user (unsigned integer) * @type {number} - * @memberof CastParentAuthor + * @memberof CastEmbeddedParentAuthor */ 'fid': number | null; } diff --git a/src/neynar-api/v2/openapi-farcaster/models/cast-embedded.ts b/src/neynar-api/v2/openapi-farcaster/models/cast-embedded.ts new file mode 100644 index 00000000..2c8195f3 --- /dev/null +++ b/src/neynar-api/v2/openapi-farcaster/models/cast-embedded.ts @@ -0,0 +1,107 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Farcaster API V2 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CastEmbeddedParentAuthor } from './cast-embedded-parent-author'; +// May contain unused imports in some cases +// @ts-ignore +import { CastNotificationType } from './cast-notification-type'; +// May contain unused imports in some cases +// @ts-ignore +import { DehydratedChannel } from './dehydrated-channel'; +// May contain unused imports in some cases +// @ts-ignore +import { EmbedDeep } from './embed-deep'; +// May contain unused imports in some cases +// @ts-ignore +import { UserDehydrated } from './user-dehydrated'; + +/** + * + * @export + * @interface CastEmbedded + */ +export interface CastEmbedded { + /** + * + * @type {string} + * @memberof CastEmbedded + */ + 'hash': string; + /** + * + * @type {string} + * @memberof CastEmbedded + */ + 'parent_hash': string | null; + /** + * + * @type {string} + * @memberof CastEmbedded + */ + 'parent_url': string | null; + /** + * + * @type {string} + * @memberof CastEmbedded + */ + 'root_parent_url': string | null; + /** + * + * @type {CastEmbeddedParentAuthor} + * @memberof CastEmbedded + */ + 'parent_author': CastEmbeddedParentAuthor; + /** + * + * @type {UserDehydrated} + * @memberof CastEmbedded + */ + 'author': UserDehydrated; + /** + * + * @type {string} + * @memberof CastEmbedded + */ + 'text': string; + /** + * + * @type {string} + * @memberof CastEmbedded + */ + 'timestamp': string; + /** + * + * @type {CastNotificationType} + * @memberof CastEmbedded + */ + 'type': CastNotificationType; + /** + * + * @type {Array} + * @memberof CastEmbedded + */ + 'embeds': Array; + /** + * + * @type {DehydratedChannel} + * @memberof CastEmbedded + */ + 'channel': DehydratedChannel | null; +} + + + diff --git a/src/neynar-api/v2/openapi-farcaster/models/cast-with-interactions-and-conversations-ref.ts b/src/neynar-api/v2/openapi-farcaster/models/cast-with-interactions-and-conversations-ref.ts index 26ea46bc..79a92fb2 100644 --- a/src/neynar-api/v2/openapi-farcaster/models/cast-with-interactions-and-conversations-ref.ts +++ b/src/neynar-api/v2/openapi-farcaster/models/cast-with-interactions-and-conversations-ref.ts @@ -15,15 +15,12 @@ // May contain unused imports in some cases // @ts-ignore -import { CastAuthor } from './cast-author'; +import { CastEmbeddedParentAuthor } from './cast-embedded-parent-author'; // May contain unused imports in some cases // @ts-ignore import { CastNotificationType } from './cast-notification-type'; // May contain unused imports in some cases // @ts-ignore -import { CastParentAuthor } from './cast-parent-author'; -// May contain unused imports in some cases -// @ts-ignore import { CastViewerContext } from './cast-viewer-context'; // May contain unused imports in some cases // @ts-ignore diff --git a/src/neynar-api/v2/openapi-farcaster/models/cast-with-interactions-and-conversations.ts b/src/neynar-api/v2/openapi-farcaster/models/cast-with-interactions-and-conversations.ts index 73a95b4f..161f2eee 100644 --- a/src/neynar-api/v2/openapi-farcaster/models/cast-with-interactions-and-conversations.ts +++ b/src/neynar-api/v2/openapi-farcaster/models/cast-with-interactions-and-conversations.ts @@ -15,15 +15,12 @@ // May contain unused imports in some cases // @ts-ignore -import { CastAuthor } from './cast-author'; +import { CastEmbeddedParentAuthor } from './cast-embedded-parent-author'; // May contain unused imports in some cases // @ts-ignore import { CastNotificationType } from './cast-notification-type'; // May contain unused imports in some cases // @ts-ignore -import { CastParentAuthor } from './cast-parent-author'; -// May contain unused imports in some cases -// @ts-ignore import { CastViewerContext } from './cast-viewer-context'; // May contain unused imports in some cases // @ts-ignore diff --git a/src/neynar-api/v2/openapi-farcaster/models/cast-with-interactions.ts b/src/neynar-api/v2/openapi-farcaster/models/cast-with-interactions.ts index dab65eed..81dbab99 100644 --- a/src/neynar-api/v2/openapi-farcaster/models/cast-with-interactions.ts +++ b/src/neynar-api/v2/openapi-farcaster/models/cast-with-interactions.ts @@ -18,15 +18,12 @@ import { Cast } from './cast'; // May contain unused imports in some cases // @ts-ignore -import { CastAuthor } from './cast-author'; +import { CastEmbeddedParentAuthor } from './cast-embedded-parent-author'; // May contain unused imports in some cases // @ts-ignore import { CastNotificationType } from './cast-notification-type'; // May contain unused imports in some cases // @ts-ignore -import { CastParentAuthor } from './cast-parent-author'; -// May contain unused imports in some cases -// @ts-ignore import { CastViewerContext } from './cast-viewer-context'; // May contain unused imports in some cases // @ts-ignore diff --git a/src/neynar-api/v2/openapi-farcaster/models/cast.ts b/src/neynar-api/v2/openapi-farcaster/models/cast.ts index 5c33ceee..d2280965 100644 --- a/src/neynar-api/v2/openapi-farcaster/models/cast.ts +++ b/src/neynar-api/v2/openapi-farcaster/models/cast.ts @@ -15,16 +15,16 @@ // May contain unused imports in some cases // @ts-ignore -import { CastAuthor } from './cast-author'; +import { CastEmbeddedParentAuthor } from './cast-embedded-parent-author'; // May contain unused imports in some cases // @ts-ignore import { CastNotificationType } from './cast-notification-type'; // May contain unused imports in some cases // @ts-ignore -import { CastParentAuthor } from './cast-parent-author'; +import { Embed } from './embed'; // May contain unused imports in some cases // @ts-ignore -import { Embed } from './embed'; +import { User } from './user'; /** * @@ -58,16 +58,16 @@ export interface Cast { 'root_parent_url': string | null; /** * - * @type {CastParentAuthor} + * @type {CastEmbeddedParentAuthor} * @memberof Cast */ - 'parent_author': CastParentAuthor; + 'parent_author': CastEmbeddedParentAuthor; /** * - * @type {CastAuthor} + * @type {User} * @memberof Cast */ - 'author': CastAuthor; + 'author': User; /** * * @type {string} diff --git a/src/neynar-api/v2/openapi-farcaster/models/twitter-image-object.ts b/src/neynar-api/v2/openapi-farcaster/models/embed-cast-deep.ts similarity index 52% rename from src/neynar-api/v2/openapi-farcaster/models/twitter-image-object.ts rename to src/neynar-api/v2/openapi-farcaster/models/embed-cast-deep.ts index 08ceedd0..6e54aa3c 100644 --- a/src/neynar-api/v2/openapi-farcaster/models/twitter-image-object.ts +++ b/src/neynar-api/v2/openapi-farcaster/models/embed-cast-deep.ts @@ -13,36 +13,30 @@ */ +// May contain unused imports in some cases +// @ts-ignore +import { CastDehydrated } from './cast-dehydrated'; +// May contain unused imports in some cases +// @ts-ignore +import { CastId } from './cast-id'; /** * * @export - * @interface TwitterImageObject + * @interface EmbedCastDeep */ -export interface TwitterImageObject { +export interface EmbedCastDeep { /** * - * @type {string} - * @memberof TwitterImageObject + * @type {CastId} + * @memberof EmbedCastDeep */ - 'alt'?: string; + 'cast_id'?: CastId; /** * - * @type {string} - * @memberof TwitterImageObject + * @type {CastDehydrated} + * @memberof EmbedCastDeep */ - 'height'?: string; - /** - * - * @type {string} - * @memberof TwitterImageObject - */ - 'url': string; - /** - * - * @type {string} - * @memberof TwitterImageObject - */ - 'width'?: string; + 'cast': CastDehydrated; } diff --git a/src/neynar-api/v2/openapi-farcaster/models/embed-cast.ts b/src/neynar-api/v2/openapi-farcaster/models/embed-cast.ts index d94eea3c..6fb43a0f 100644 --- a/src/neynar-api/v2/openapi-farcaster/models/embed-cast.ts +++ b/src/neynar-api/v2/openapi-farcaster/models/embed-cast.ts @@ -15,7 +15,7 @@ // May contain unused imports in some cases // @ts-ignore -import { Cast } from './cast'; +import { CastEmbedded } from './cast-embedded'; // May contain unused imports in some cases // @ts-ignore import { CastId } from './cast-id'; @@ -31,12 +31,12 @@ export interface EmbedCast { * @type {CastId} * @memberof EmbedCast */ - 'cast_id': CastId; + 'cast_id'?: CastId; /** * - * @type {Cast} + * @type {CastEmbedded} * @memberof EmbedCast */ - 'metadata'?: Cast; + 'cast': CastEmbedded; } diff --git a/src/neynar-api/v2/openapi-farcaster/models/cast-author.ts b/src/neynar-api/v2/openapi-farcaster/models/embed-deep.ts similarity index 53% rename from src/neynar-api/v2/openapi-farcaster/models/cast-author.ts rename to src/neynar-api/v2/openapi-farcaster/models/embed-deep.ts index bc42f446..d3b56ec2 100644 --- a/src/neynar-api/v2/openapi-farcaster/models/cast-author.ts +++ b/src/neynar-api/v2/openapi-farcaster/models/embed-deep.ts @@ -15,30 +15,24 @@ // May contain unused imports in some cases // @ts-ignore -import { ActiveStatus } from './active-status'; +import { CastDehydrated } from './cast-dehydrated'; // May contain unused imports in some cases // @ts-ignore -import { User } from './user'; +import { CastId } from './cast-id'; // May contain unused imports in some cases // @ts-ignore -import { UserDehydrated } from './user-dehydrated'; +import { EmbedCastDeep } from './embed-cast-deep'; // May contain unused imports in some cases // @ts-ignore -import { UserProfile } from './user-profile'; +import { EmbedUrl } from './embed-url'; // May contain unused imports in some cases // @ts-ignore -import { UserVerifiedAccountsInner } from './user-verified-accounts-inner'; -// May contain unused imports in some cases -// @ts-ignore -import { UserVerifiedAddresses } from './user-verified-addresses'; -// May contain unused imports in some cases -// @ts-ignore -import { UserViewerContext } from './user-viewer-context'; +import { EmbedUrlMetadata } from './embed-url-metadata'; /** - * @type CastAuthor + * @type EmbedDeep * @export */ -export type CastAuthor = { object: 'user' } & User | { object: 'user_dehydrated' } & UserDehydrated; +export type EmbedDeep = EmbedCastDeep | EmbedUrl; diff --git a/src/neynar-api/v2/openapi-farcaster/models/embed-url-metadata-html-all-of-oembed.ts b/src/neynar-api/v2/openapi-farcaster/models/embed-url-metadata-html-all-of-oembed.ts new file mode 100644 index 00000000..5d26dac5 --- /dev/null +++ b/src/neynar-api/v2/openapi-farcaster/models/embed-url-metadata-html-all-of-oembed.ts @@ -0,0 +1,35 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Farcaster API V2 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { LinkTypeData } from './link-type-data'; +// May contain unused imports in some cases +// @ts-ignore +import { PhotoTypeData } from './photo-type-data'; +// May contain unused imports in some cases +// @ts-ignore +import { RichTypeData } from './rich-type-data'; +// May contain unused imports in some cases +// @ts-ignore +import { VideoTypeData } from './video-type-data'; + +/** + * @type EmbedUrlMetadataHtmlAllOfOembed + * @export + */ +export type EmbedUrlMetadataHtmlAllOfOembed = { type: 'link' } & LinkTypeData | { type: 'photo' } & PhotoTypeData | { type: 'rich' } & RichTypeData | { type: 'video' } & VideoTypeData; + + diff --git a/src/neynar-api/v2/openapi-farcaster/models/embed-url-metadata-html-all-of.ts b/src/neynar-api/v2/openapi-farcaster/models/embed-url-metadata-html-all-of.ts new file mode 100644 index 00000000..77ba3602 --- /dev/null +++ b/src/neynar-api/v2/openapi-farcaster/models/embed-url-metadata-html-all-of.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Farcaster API V2 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { EmbedUrlMetadataHtmlAllOfOembed } from './embed-url-metadata-html-all-of-oembed'; + +/** + * + * @export + * @interface EmbedUrlMetadataHtmlAllOf + */ +export interface EmbedUrlMetadataHtmlAllOf { + /** + * + * @type {EmbedUrlMetadataHtmlAllOfOembed} + * @memberof EmbedUrlMetadataHtmlAllOf + */ + 'oembed'?: EmbedUrlMetadataHtmlAllOfOembed; +} + diff --git a/src/neynar-api/v2/openapi-farcaster/models/embed-url-metadata-html.ts b/src/neynar-api/v2/openapi-farcaster/models/embed-url-metadata-html.ts new file mode 100644 index 00000000..a81c8fde --- /dev/null +++ b/src/neynar-api/v2/openapi-farcaster/models/embed-url-metadata-html.ts @@ -0,0 +1,38 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Farcaster API V2 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { EmbedUrlMetadataHtmlAllOf } from './embed-url-metadata-html-all-of'; +// May contain unused imports in some cases +// @ts-ignore +import { EmbedUrlMetadataHtmlAllOfOembed } from './embed-url-metadata-html-all-of-oembed'; +// May contain unused imports in some cases +// @ts-ignore +import { ImageObject } from './image-object'; +// May contain unused imports in some cases +// @ts-ignore +import { OgObject } from './og-object'; +// May contain unused imports in some cases +// @ts-ignore +import { VideoObject } from './video-object'; + +/** + * @type EmbedUrlMetadataHtml + * @export + */ +export type EmbedUrlMetadataHtml = EmbedUrlMetadataHtmlAllOf & OgObject; + + diff --git a/src/neynar-api/v2/openapi-farcaster/models/embed-url-metadata.ts b/src/neynar-api/v2/openapi-farcaster/models/embed-url-metadata.ts index faa9f719..09e835da 100644 --- a/src/neynar-api/v2/openapi-farcaster/models/embed-url-metadata.ts +++ b/src/neynar-api/v2/openapi-farcaster/models/embed-url-metadata.ts @@ -15,13 +15,13 @@ // May contain unused imports in some cases // @ts-ignore -import { EmbedUrlMetadataImage } from './embed-url-metadata-image'; +import { EmbedUrlMetadataHtml } from './embed-url-metadata-html'; // May contain unused imports in some cases // @ts-ignore -import { EmbedUrlMetadataVideo } from './embed-url-metadata-video'; +import { EmbedUrlMetadataImage } from './embed-url-metadata-image'; // May contain unused imports in some cases // @ts-ignore -import { OgObject } from './og-object'; +import { EmbedUrlMetadataVideo } from './embed-url-metadata-video'; /** * @@ -61,9 +61,9 @@ export interface EmbedUrlMetadata { 'video'?: EmbedUrlMetadataVideo; /** * - * @type {OgObject} + * @type {EmbedUrlMetadataHtml} * @memberof EmbedUrlMetadata */ - 'html'?: OgObject; + 'html'?: EmbedUrlMetadataHtml; } diff --git a/src/neynar-api/v2/openapi-farcaster/models/embed.ts b/src/neynar-api/v2/openapi-farcaster/models/embed.ts index 5c0e76ae..1d096220 100644 --- a/src/neynar-api/v2/openapi-farcaster/models/embed.ts +++ b/src/neynar-api/v2/openapi-farcaster/models/embed.ts @@ -15,7 +15,7 @@ // May contain unused imports in some cases // @ts-ignore -import { Cast } from './cast'; +import { CastEmbedded } from './cast-embedded'; // May contain unused imports in some cases // @ts-ignore import { CastId } from './cast-id'; @@ -25,6 +25,9 @@ import { EmbedCast } from './embed-cast'; // May contain unused imports in some cases // @ts-ignore import { EmbedUrl } from './embed-url'; +// May contain unused imports in some cases +// @ts-ignore +import { EmbedUrlMetadata } from './embed-url-metadata'; /** * @type Embed diff --git a/src/neynar-api/v2/openapi-farcaster/models/index.ts b/src/neynar-api/v2/openapi-farcaster/models/index.ts index 8f9fcaa6..322ba448 100644 --- a/src/neynar-api/v2/openapi-farcaster/models/index.ts +++ b/src/neynar-api/v2/openapi-farcaster/models/index.ts @@ -13,17 +13,17 @@ export * from './bulk-follow-response'; export * from './bulk-users-response'; export * from './buy-storage-req-body'; export * from './cast'; -export * from './cast-author'; export * from './cast-composer-actions-list-response'; export * from './cast-composer-actions-list-response-actions-inner'; export * from './cast-composer-actions-list-response-actions-inner-action'; export * from './cast-composer-type'; export * from './cast-conversation-sort-type'; export * from './cast-dehydrated'; +export * from './cast-embedded'; +export * from './cast-embedded-parent-author'; export * from './cast-id'; export * from './cast-notification-type'; export * from './cast-param-type'; -export * from './cast-parent-author'; export * from './cast-response'; export * from './cast-viewer-context'; export * from './cast-with-interactions'; @@ -68,9 +68,14 @@ export * from './delete-neynar-frame-request'; export * from './developer-managed-signer'; export * from './embed'; export * from './embed-cast'; +export * from './embed-cast-deep'; +export * from './embed-deep'; export * from './embed-type'; export * from './embed-url'; export * from './embed-url-metadata'; +export * from './embed-url-metadata-html'; +export * from './embed-url-metadata-html-all-of'; +export * from './embed-url-metadata-html-all-of-oembed'; export * from './embed-url-metadata-image'; export * from './embed-url-metadata-video'; export * from './embed-url-metadata-video-stream-inner'; @@ -116,10 +121,11 @@ export * from './get-casts-req-body'; export * from './hydrated-follower'; export * from './image-object'; export * from './individual-hash-obj'; +export * from './link-type-data'; +export * from './link-type-data-all-of'; export * from './location'; export * from './location-address'; export * from './mark-notifications-as-seen-req-body'; -export * from './music-song-object'; export * from './mute-list'; export * from './mute-list-response'; export * from './mute-record'; @@ -141,8 +147,11 @@ export * from './neynar-page-input-text'; export * from './notification'; export * from './notification-type'; export * from './notifications-response'; +export * from './oembed-data'; export * from './og-object'; export * from './operation-response'; +export * from './photo-type-data'; +export * from './photo-type-data-all-of'; export * from './post-cast-req-body'; export * from './post-cast-req-body-embeds'; export * from './post-cast-req-body-embeds-cast-id-properties'; @@ -169,6 +178,8 @@ export * from './relevant-followers-response'; export * from './remove-channel-member-request'; export * from './remove-verification-req-body'; export * from './respond-channel-invite-request'; +export * from './rich-type-data'; +export * from './rich-type-data-all-of'; export * from './searched-user'; export * from './signed-key-request-sponsor'; export * from './signer'; @@ -194,8 +205,6 @@ export * from './subscription-token'; export * from './subscriptions'; export * from './subscriptions-response'; export * from './trending-channel-response'; -export * from './twitter-image-object'; -export * from './twitter-player-object'; export * from './update-user-req-body'; export * from './update-user-req-body-location'; export * from './user'; @@ -222,6 +231,8 @@ export * from './validated-frame-action-tapped-button'; export * from './verification-chain-id'; export * from './verification-type'; export * from './video-object'; +export * from './video-type-data'; +export * from './video-type-data-all-of'; export * from './webhook'; export * from './webhook-delete-req-body'; export * from './webhook-list-response'; diff --git a/src/neynar-api/v2/openapi-farcaster/models/music-song-object.ts b/src/neynar-api/v2/openapi-farcaster/models/link-type-data-all-of.ts similarity index 58% rename from src/neynar-api/v2/openapi-farcaster/models/music-song-object.ts rename to src/neynar-api/v2/openapi-farcaster/models/link-type-data-all-of.ts index c5d3b3d3..3fa2d2f8 100644 --- a/src/neynar-api/v2/openapi-farcaster/models/music-song-object.ts +++ b/src/neynar-api/v2/openapi-farcaster/models/link-type-data-all-of.ts @@ -17,26 +17,21 @@ /** * * @export - * @interface MusicSongObject + * @interface LinkTypeDataAllOf */ -export interface MusicSongObject { +export interface LinkTypeDataAllOf { /** * * @type {string} - * @memberof MusicSongObject + * @memberof LinkTypeDataAllOf */ - 'disc'?: string; - /** - * - * @type {string} - * @memberof MusicSongObject - */ - 'track'?: string; - /** - * - * @type {string} - * @memberof MusicSongObject - */ - 'url': string; + 'type'?: LinkTypeDataAllOfTypeEnum; } +export const LinkTypeDataAllOfTypeEnum = { + Link: 'link' +} as const; + +export type LinkTypeDataAllOfTypeEnum = typeof LinkTypeDataAllOfTypeEnum[keyof typeof LinkTypeDataAllOfTypeEnum]; + + diff --git a/src/neynar-api/v2/openapi-farcaster/models/link-type-data.ts b/src/neynar-api/v2/openapi-farcaster/models/link-type-data.ts new file mode 100644 index 00000000..5d00eaa2 --- /dev/null +++ b/src/neynar-api/v2/openapi-farcaster/models/link-type-data.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Farcaster API V2 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { LinkTypeDataAllOf } from './link-type-data-all-of'; +// May contain unused imports in some cases +// @ts-ignore +import { OembedData } from './oembed-data'; + +/** + * @type LinkTypeData + * @export + */ +export type LinkTypeData = LinkTypeDataAllOf & OembedData; + + diff --git a/src/neynar-api/v2/openapi-farcaster/models/oembed-data.ts b/src/neynar-api/v2/openapi-farcaster/models/oembed-data.ts new file mode 100644 index 00000000..ecce1e19 --- /dev/null +++ b/src/neynar-api/v2/openapi-farcaster/models/oembed-data.ts @@ -0,0 +1,100 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Farcaster API V2 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * Basic data structure of every oembed response see https://oembed.com/ + * @export + * @interface OembedData + */ +export interface OembedData { + /** + * + * @type {string} + * @memberof OembedData + */ + 'type': OembedDataTypeEnum; + /** + * + * @type {string} + * @memberof OembedData + */ + 'version': string | null; + /** + * A text title, describing the resource. + * @type {string} + * @memberof OembedData + */ + 'title'?: string | null; + /** + * The name of the author/owner of the resource. + * @type {string} + * @memberof OembedData + */ + 'author_name'?: string | null; + /** + * A URL for the author/owner of the resource. + * @type {string} + * @memberof OembedData + */ + 'author_url'?: string | null; + /** + * The name of the resource provider. + * @type {string} + * @memberof OembedData + */ + 'provider_name'?: string | null; + /** + * The url of the resource provider. + * @type {string} + * @memberof OembedData + */ + '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 OembedData + */ + '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 OembedData + */ + '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 OembedData + */ + '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 OembedData + */ + 'thumbnail_height'?: number | null; +} + +export const OembedDataTypeEnum = { + Rich: 'rich', + Video: 'video', + Photo: 'photo', + Link: 'link' +} as const; + +export type OembedDataTypeEnum = typeof OembedDataTypeEnum[keyof typeof OembedDataTypeEnum]; + + diff --git a/src/neynar-api/v2/openapi-farcaster/models/og-object.ts b/src/neynar-api/v2/openapi-farcaster/models/og-object.ts index 15ae4cc1..1472635b 100644 --- a/src/neynar-api/v2/openapi-farcaster/models/og-object.ts +++ b/src/neynar-api/v2/openapi-farcaster/models/og-object.ts @@ -18,509 +18,26 @@ import { ImageObject } from './image-object'; // May contain unused imports in some cases // @ts-ignore -import { MusicSongObject } from './music-song-object'; -// May contain unused imports in some cases -// @ts-ignore -import { TwitterImageObject } from './twitter-image-object'; -// May contain unused imports in some cases -// @ts-ignore -import { TwitterPlayerObject } from './twitter-player-object'; -// May contain unused imports in some cases -// @ts-ignore -import { VideoObject } from './video-object'; - -/** - * - * @export - * @interface OgObject - */ -export interface OgObject { - /** - * - * @type {string} - * @memberof OgObject - */ - 'alAndroidAppName'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alAndroidClass'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alAndroidPackage'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alAndroidUrl'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alIosAppName'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alIosAppStoreId'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alIosUrl'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alIpadAppName'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alIpadAppStoreId'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alIpadUrl'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alIphoneAppName'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alIphoneAppStoreId'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alIphoneUrl'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alWebShouldFallback'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alWebUrl'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alWindowsAppId'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alWindowsAppName'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alWindowsPhoneAppId'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alWindowsPhoneAppName'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alWindowsPhoneUrl'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alWindowsUniversalAppId'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alWindowsUniversalAppName'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alWindowsUniversalUrl'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'alWindowsUrl'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'articleAuthor'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'articleExpirationTime'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'articleModifiedTime'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'articlePublishedDate'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'articlePublishedTime'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'articleModifiedDate'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'articlePublisher'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'articleSection'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'articleTag'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'author'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'bookAuthor'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'bookCanonicalName'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'bookIsbn'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'bookReleaseDate'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'booksBook'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'booksRatingScale'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'booksRatingValue'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'bookTag'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'businessContactDataCountryName'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'businessContactDataLocality'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'businessContactDataPostalCode'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'businessContactDataRegion'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'businessContactDataStreetAddress'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'charset'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcContributor'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcCoverage'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcCreator'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcDate'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcDateCreated'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcDateIssued'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcDescription'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcFormatMedia'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcFormatSize'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcIdentifier'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcLanguage'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcPublisher'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcRelation'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcRights'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcSource'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcSubject'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcTitle'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'dcType'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'favicon'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'fbAppId'?: string; - /** - * - * @type {Array} - * @memberof OgObject - */ - 'jsonLD'?: Array; - /** - * - * @type {string} - * @memberof OgObject - */ - 'modifiedTime'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'musicAlbum'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'musicAlbumDisc'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'musicAlbumTrack'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'musicAlbumUrl'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'musicCreator'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'musicDuration'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'musicMusician'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'musicPlaylist'?: string; +import { VideoObject } from './video-object'; + +/** + * + * @export + * @interface OgObject + */ +export interface OgObject { /** * * @type {string} * @memberof OgObject */ - 'musicRadioStation'?: string; + 'favicon'?: string; /** * * @type {string} * @memberof OgObject */ - 'musicReleaseDate'?: string; - /** - * - * @type {Array} - * @memberof OgObject - */ - 'musicSong'?: Array; + 'modifiedTime'?: string; /** * * @type {string} @@ -797,264 +314,6 @@ export interface OgObject { * @memberof OgObject */ 'ogWebsite'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'placeLocationLatitude'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'placeLocationLongitude'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'profileFirstName'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'profileGender'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'profileLastName'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'profileUsername'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'publishedTime'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'releaseDate'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'requestUrl'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'restaurantContactInfoCountryName'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'restaurantContactInfoEmail'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'restaurantContactInfoLocality'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'restaurantContactInfoPhoneNumber'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'restaurantContactInfoPostalCode'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'restaurantContactInfoRegion'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'restaurantContactInfoStreetAddress'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'restaurantContactInfoWebsite'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'restaurantMenu'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'restaurantRestaurant'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'restaurantSection'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'restaurantVariationPriceAmount'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'restaurantVariationPriceCurrency'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterAccount'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterAppIdGooglePlay'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterAppIdiPad'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterAppIdiPhone'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterAppNameGooglePlay'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterAppNameiPad'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterAppNameiPhone'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterAppUrlGooglePlay'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterAppUrliPad'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterAppUrliPhone'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterCard'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterCreator'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterCreatorId'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterDescription'?: string; - /** - * - * @type {Array} - * @memberof OgObject - */ - 'twitterImage'?: Array; - /** - * - * @type {Array} - * @memberof OgObject - */ - 'twitterPlayer'?: Array; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterPlayerStreamContentType'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterSite'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterSiteId'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterTitle'?: string; - /** - * - * @type {string} - * @memberof OgObject - */ - 'twitterUrl'?: string; /** * * @type {string} diff --git a/src/neynar-api/v2/openapi-farcaster/models/photo-type-data-all-of.ts b/src/neynar-api/v2/openapi-farcaster/models/photo-type-data-all-of.ts new file mode 100644 index 00000000..bd61fa5d --- /dev/null +++ b/src/neynar-api/v2/openapi-farcaster/models/photo-type-data-all-of.ts @@ -0,0 +1,55 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Farcaster API V2 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface PhotoTypeDataAllOf + */ +export interface PhotoTypeDataAllOf { + /** + * + * @type {string} + * @memberof PhotoTypeDataAllOf + */ + 'type'?: PhotoTypeDataAllOfTypeEnum; + /** + * The source URL of the image. Consumers should be able to insert this URL into an element. Only HTTP and HTTPS URLs are valid. + * @type {string} + * @memberof PhotoTypeDataAllOf + */ + 'url': string | null; + /** + * The width in pixels of the image specified in the url parameter. + * @type {number} + * @memberof PhotoTypeDataAllOf + */ + 'width': number | null; + /** + * The height in pixels of the image specified in the url parameter. + * @type {number} + * @memberof PhotoTypeDataAllOf + */ + 'height': number | null; +} + +export const PhotoTypeDataAllOfTypeEnum = { + Photo: 'photo' +} as const; + +export type PhotoTypeDataAllOfTypeEnum = typeof PhotoTypeDataAllOfTypeEnum[keyof typeof PhotoTypeDataAllOfTypeEnum]; + + diff --git a/src/neynar-api/v2/openapi-farcaster/models/photo-type-data.ts b/src/neynar-api/v2/openapi-farcaster/models/photo-type-data.ts new file mode 100644 index 00000000..03a097fe --- /dev/null +++ b/src/neynar-api/v2/openapi-farcaster/models/photo-type-data.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Farcaster API V2 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { OembedData } from './oembed-data'; +// May contain unused imports in some cases +// @ts-ignore +import { PhotoTypeDataAllOf } from './photo-type-data-all-of'; + +/** + * @type PhotoTypeData + * @export + */ +export type PhotoTypeData = OembedData & PhotoTypeDataAllOf; + + diff --git a/src/neynar-api/v2/openapi-farcaster/models/rich-type-data-all-of.ts b/src/neynar-api/v2/openapi-farcaster/models/rich-type-data-all-of.ts new file mode 100644 index 00000000..32055210 --- /dev/null +++ b/src/neynar-api/v2/openapi-farcaster/models/rich-type-data-all-of.ts @@ -0,0 +1,55 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Farcaster API V2 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface RichTypeDataAllOf + */ +export interface RichTypeDataAllOf { + /** + * + * @type {string} + * @memberof RichTypeDataAllOf + */ + 'type'?: RichTypeDataAllOfTypeEnum; + /** + * The HTML required to display the resource. The HTML should have no padding or margins. Consumers may wish to load the HTML in an off-domain iframe to avoid XSS vulnerabilities. The markup should be valid XHTML 1.0 Basic. + * @type {string} + * @memberof RichTypeDataAllOf + */ + 'html': string | null; + /** + * The width in pixels required to display the HTML. + * @type {number} + * @memberof RichTypeDataAllOf + */ + 'width': number | null; + /** + * The height in pixels required to display the HTML. + * @type {number} + * @memberof RichTypeDataAllOf + */ + 'height': number | null; +} + +export const RichTypeDataAllOfTypeEnum = { + Rich: 'rich' +} as const; + +export type RichTypeDataAllOfTypeEnum = typeof RichTypeDataAllOfTypeEnum[keyof typeof RichTypeDataAllOfTypeEnum]; + + diff --git a/src/neynar-api/v2/openapi-farcaster/models/rich-type-data.ts b/src/neynar-api/v2/openapi-farcaster/models/rich-type-data.ts new file mode 100644 index 00000000..5a75bd87 --- /dev/null +++ b/src/neynar-api/v2/openapi-farcaster/models/rich-type-data.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Farcaster API V2 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { OembedData } from './oembed-data'; +// May contain unused imports in some cases +// @ts-ignore +import { RichTypeDataAllOf } from './rich-type-data-all-of'; + +/** + * @type RichTypeData + * @export + */ +export type RichTypeData = OembedData & RichTypeDataAllOf; + + diff --git a/src/neynar-api/v2/openapi-farcaster/models/twitter-player-object.ts b/src/neynar-api/v2/openapi-farcaster/models/twitter-player-object.ts deleted file mode 100644 index f782d45a..00000000 --- a/src/neynar-api/v2/openapi-farcaster/models/twitter-player-object.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Farcaster API V2 - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 2.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface TwitterPlayerObject - */ -export interface TwitterPlayerObject { - /** - * - * @type {string} - * @memberof TwitterPlayerObject - */ - 'height'?: string; - /** - * - * @type {string} - * @memberof TwitterPlayerObject - */ - 'stream'?: string; - /** - * - * @type {string} - * @memberof TwitterPlayerObject - */ - 'url': string; - /** - * - * @type {string} - * @memberof TwitterPlayerObject - */ - 'width'?: string; -} - diff --git a/src/neynar-api/v2/openapi-farcaster/models/video-type-data-all-of.ts b/src/neynar-api/v2/openapi-farcaster/models/video-type-data-all-of.ts new file mode 100644 index 00000000..a98c0a01 --- /dev/null +++ b/src/neynar-api/v2/openapi-farcaster/models/video-type-data-all-of.ts @@ -0,0 +1,55 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Farcaster API V2 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface VideoTypeDataAllOf + */ +export interface VideoTypeDataAllOf { + /** + * + * @type {string} + * @memberof VideoTypeDataAllOf + */ + 'type'?: VideoTypeDataAllOfTypeEnum; + /** + * The HTML required to embed a video player. The HTML should have no padding or margins. Consumers may wish to load the HTML in an off-domain iframe to avoid XSS vulnerabilities. + * @type {string} + * @memberof VideoTypeDataAllOf + */ + 'html': string | null; + /** + * The width in pixels required to display the HTML. + * @type {number} + * @memberof VideoTypeDataAllOf + */ + 'width': number | null; + /** + * The height in pixels required to display the HTML. + * @type {number} + * @memberof VideoTypeDataAllOf + */ + 'height': number | null; +} + +export const VideoTypeDataAllOfTypeEnum = { + Video: 'video' +} as const; + +export type VideoTypeDataAllOfTypeEnum = typeof VideoTypeDataAllOfTypeEnum[keyof typeof VideoTypeDataAllOfTypeEnum]; + + diff --git a/src/neynar-api/v2/openapi-farcaster/models/video-type-data.ts b/src/neynar-api/v2/openapi-farcaster/models/video-type-data.ts new file mode 100644 index 00000000..f8dd7b87 --- /dev/null +++ b/src/neynar-api/v2/openapi-farcaster/models/video-type-data.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Farcaster API V2 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { OembedData } from './oembed-data'; +// May contain unused imports in some cases +// @ts-ignore +import { VideoTypeDataAllOf } from './video-type-data-all-of'; + +/** + * @type VideoTypeData + * @export + */ +export type VideoTypeData = OembedData & VideoTypeDataAllOf; + +