Constructores
constructor
• new SpacesClient(client): SpacesClient
Creates a new spaces client instance
Parámetros
Devuelve
SpacesClient
Definido en
spaces/client.ts:316Métodos
getByIds
▸ getByIds(ids, options): Promise<Response>
Get Spaces by IDs
Retrieves details of multiple Spaces by their IDs.
Parámetros
Devuelve
Promise<Response>
Promise resolving to the API response, or raw Response if requestOptions.raw is true
Definido en
spaces/client.ts:361 ▸ getByIds(ids, options?): Promise<Get2SpacesResponse>
Parámetros
Devuelve
Promise<Get2SpacesResponse>
Definido en
spaces/client.ts:374getPosts
▸ getPosts(id, options): Promise<Response>
Get Space Posts
Retrieves a list of Posts shared in a specific Space by its ID.
Parámetros
Devuelve
Promise<Response>
Promise resolving to the API response, or raw Response if requestOptions.raw is true
Definido en
spaces/client.ts:572 ▸ getPosts(id, options?): Promise<Get2SpacesIdTweetsResponse>
Parámetros
Devuelve
Promise<Get2SpacesIdTweetsResponse>
Definido en
spaces/client.ts:585search
▸ search(query, options): Promise<Response>
Search Spaces
Retrieves a list of Spaces matching the specified search query.
Parámetros
Devuelve
Promise<Response>
Promise resolving to the API response, or raw Response if requestOptions.raw is true
Definido en
spaces/client.ts:835 ▸ search(query, options?): Promise<Get2SpacesSearchResponse>
Parámetros
Devuelve
Promise<Get2SpacesSearchResponse>
Definido en
spaces/client.ts:848getBuyers
▸ getBuyers(id, options): Promise<Response>
Get Space ticket buyers
Retrieves a list of Users who purchased tickets to a specific Space by its ID.
Parámetros
Devuelve
Promise<Response>
Promise resolving to the API response, or raw Response if requestOptions.raw is true
Definido en
spaces/client.ts:1080 ▸ getBuyers(id, options?): Promise<Get2SpacesIdBuyersResponse>
Parámetros
Devuelve
Promise<Get2SpacesIdBuyersResponse>
Definido en
spaces/client.ts:1093getById
▸ getById(id, options): Promise<Response>
Get space by ID
Retrieves details of a specific space by its ID.
Parámetros
Devuelve
Promise<Response>
Promise resolving to the API response, or raw Response if requestOptions.raw is true
Definido en
spaces/client.ts:1293 ▸ getById(id, options?): Promise<Get2SpacesIdResponse>
Parámetros
Devuelve
Promise<Get2SpacesIdResponse>
Definido en
spaces/client.ts:1306getByCreatorIds
▸ getByCreatorIds(userIds, options): Promise<Response>
Get Spaces by creator IDs
Retrieves details of Spaces created by specified User IDs.
Parámetros
Devuelve
Promise<Response>
Promise resolving to the API response, or raw Response if requestOptions.raw is true
Definido en
spaces/client.ts:1495 ▸ getByCreatorIds(userIds, options?): Promise<Get2SpacesByCreatorIdsResponse>
Parámetros
Devuelve
Promise<Get2SpacesByCreatorIdsResponse>