Skip to content

Commit

Permalink
lookupCastConversation type fix
Browse files Browse the repository at this point in the history
lookupCastConversation type fix
  • Loading branch information
Shreyaschorge authored Apr 26, 2024
2 parents a61445d + 3a77660 commit 9049615
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@neynar/nodejs-sdk",
"version": "1.20.0",
"version": "1.20.1",
"description": "SDK to interact with Neynar APIs (https://docs.neynar.com/)",
"main": "./build/index.js",
"types": "./build/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ models/cast-parent-author-all-of.ts
models/cast-parent-author.ts
models/cast-response.ts
models/cast-with-interactions-all-of.ts
models/cast-with-interactions-and-conversations-all-of.ts
models/cast-with-interactions-and-conversations.ts
models/cast-with-interactions-reactions.ts
models/cast-with-interactions-replies.ts
Expand Down
Original file line number Diff line number Diff line change
@@ -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 { CastWithInteractionsAndConversations } from './cast-with-interactions-and-conversations';

/**
*
* @export
* @interface CastWithInteractionsAndConversationsAllOf
*/
export interface CastWithInteractionsAndConversationsAllOf {
/**
* note: This is recursive. It contains the direct replies to the cast and their direct replies up to n reply_depth.
* @type {Array<CastWithInteractionsAndConversations>}
* @memberof CastWithInteractionsAndConversationsAllOf
*/
'direct_replies'?: Array<CastWithInteractionsAndConversations>;
}

Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ import { CastParentAuthor } from './cast-parent-author';
import { CastWithInteractions } from './cast-with-interactions';
// May contain unused imports in some cases
// @ts-ignore
import { CastWithInteractionsAndConversationsAllOf } from './cast-with-interactions-and-conversations-all-of';
// May contain unused imports in some cases
// @ts-ignore
import { CastWithInteractionsReactions } from './cast-with-interactions-reactions';
// May contain unused imports in some cases
// @ts-ignore
Expand All @@ -45,6 +48,6 @@ import { User } from './user';
* @type CastWithInteractionsAndConversations
* @export
*/
export type CastWithInteractionsAndConversations = CastWithInteractions;
export type CastWithInteractionsAndConversations = CastWithInteractions & CastWithInteractionsAndConversationsAllOf;


1 change: 1 addition & 0 deletions src/neynar-api/v2/openapi-farcaster/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export * from './cast-response';
export * from './cast-with-interactions';
export * from './cast-with-interactions-all-of';
export * from './cast-with-interactions-and-conversations';
export * from './cast-with-interactions-and-conversations-all-of';
export * from './cast-with-interactions-reactions';
export * from './cast-with-interactions-replies';
export * from './casts-response';
Expand Down
2 changes: 1 addition & 1 deletion src/oas
Submodule oas updated 1 files
+147 −36 src/v2/spec.yaml

0 comments on commit 9049615

Please sign in to comment.