Skip to content

Commit 1c4d0e7

Browse files
feat(api): update via SDK Studio
1 parent 42e3998 commit 1c4d0e7

9 files changed

Lines changed: 6 additions & 61 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 13
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/beeper%2Fbeeper-desktop-api-10508b7bd52381c216ed2584b7b0894f70fcc97fbd7f86792e78f72d108157c5.yml
3-
openapi_spec_hash: d5f07fd2a363877f4c72da1187b8aaf1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/beeper%2Fbeeper-desktop-api-b81d5fe4f2baa8712e836253bbe1b2dac923e8cae22c8354725a7bbb80ac28bb.yml
3+
openapi_spec_hash: 147d897197c083303459f0973895e69f
44
config_hash: 7069b7e0f261442a13c7367bdc04f880

src/App/AppFocusParams.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@
1010
use BeeperDesktop\Core\Contracts\BaseModel;
1111

1212
/**
13-
* Bring Beeper Desktop to the foreground on this device. Optionally focuses a specific chat if chatID is provided.
14-
* - When to use: open Beeper, or jump to a specific chat.
15-
* - Constraints: requires Beeper Desktop running locally; no-op in headless environments.
16-
* - Idempotent: safe to call repeatedly. Returns an error if chatID is not found.
17-
* Returns: success.
13+
* Bring Beeper Desktop to the foreground on this device.
1814
*/
1915
final class AppFocusParams implements BaseModel
2016
{

src/Chats/ChatFindParams.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313

1414
/**
1515
* Search and filter conversations across all messaging accounts.
16-
* - When to use: browse chats by inbox (primary/low-priority/archive), type, unread status, or search terms.
17-
* - Pagination: use cursor + direction for pagination.
18-
* - Performance: provide accountIDs when known for faster filtering.
19-
* Returns: matching chats with pagination.
20-
* Agents: ALWAYS use linkToChat to make clickable links in your response.
2116
*/
2217
final class ChatFindParams implements BaseModel
2318
{

src/Chats/ChatRetrieveParams.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
use BeeperDesktop\Core\Contracts\BaseModel;
1111

1212
/**
13-
* Retrieve chat details: metadata, participants (limited), and latest message.
14-
* - When to use: fetch a complete view of a chat beyond what search returns.
15-
* - Constraints: not available for iMessage chats ('imsg##'). Participants limited by 'maxParticipantCount' (default 20, max 500).
16-
* Returns: chat details.Agents: ALWAYS use linkToChat to make clickable links in your response.
13+
* Retrieve chat details including metadata, participants, and latest message.
1714
*/
1815
final class ChatRetrieveParams implements BaseModel
1916
{

src/Messages/MessageSearchParams.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,6 @@
1313

1414
/**
1515
* Search messages across chats using Beeper's message index.
16-
* - When to use: find messages by text and/or filters (chatIDs, accountIDs, chatType, media type filters, sender, date ranges).
17-
* - CRITICAL: Query is LITERAL WORD MATCHING, NOT semantic search! Only finds messages containing these EXACT words.
18-
* • ✅ RIGHT: query="dinner" or query="sick" or query="error" (single words users type)
19-
* • ❌ WRONG: query="dinner plans tonight" or query="health issues" (phrases/concepts)
20-
* • The query matches ALL words provided (in any order). Example: query="flight booking" finds messages with both "flight" AND "booking".
21-
* - Media filters: Use onlyWithMedia for any media, or specific filters like onlyWithVideo, onlyWithImage, onlyWithLink, onlyWithFile for specific types.
22-
* - Pagination: use 'oldestCursor' + direction='before' for older; 'newestCursor' + direction='after' for newer.
23-
* - Performance: provide chatIDs/accountIDs when known. Omitted 'query' returns results based on filters only. Partial matches enabled; 'excludeLowPriority' defaults to true.
24-
* - Workflow tip: To search messages in specific conversations: 1) Use find-chats to get chatIDs, 2) Use search-messages with those chatIDs.
25-
* - IMPORTANT: Chat names vary widely. ASK the user for clarification:
26-
* • "Which chat do you mean by family?" (could be "The Smiths", "Mom Dad Kids", etc.)
27-
* • "What's the name of your work chat?" (could be "Team", company name, project name)
28-
* • "Who are the participants?" (use participantQuery in find-chats)
29-
* Returns: matching messages and referenced chats.
3016
*/
3117
final class MessageSearchParams implements BaseModel
3218
{

src/Services/AccountsService.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ public function __construct(private Client $client) {}
1919

2020
/**
2121
* List connected Beeper accounts available on this device.
22-
* - When to use: select account context before account-scoped operations.
23-
* - Scope: only accounts currently Connected on this device are included.
24-
* Returns: connected accounts.
2522
*/
2623
public function list(
2724
?RequestOptions $requestOptions = null

src/Services/AppService.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ final class AppService implements AppContract
2020
public function __construct(private Client $client) {}
2121

2222
/**
23-
* Bring Beeper Desktop to the foreground on this device. Optionally focuses a specific chat if chatID is provided.
24-
* - When to use: open Beeper, or jump to a specific chat.
25-
* - Constraints: requires Beeper Desktop running locally; no-op in headless environments.
26-
* - Idempotent: safe to call repeatedly. Returns an error if chatID is not found.
27-
* Returns: success.
23+
* Bring Beeper Desktop to the foreground on this device.
2824
*
2925
* @param string $chatID Optional Beeper chat ID to focus after bringing the app to foreground. If omitted, only foregrounds the app. Required if messageSortKey is present. No-op in headless environments.
3026
* @param string $messageSortKey Optional message sort key. Jumps to that message in the chat when foregrounding.

src/Services/ChatsService.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ final class ChatsService implements ChatsContract
2828
public function __construct(private Client $client) {}
2929

3030
/**
31-
* Retrieve chat details: metadata, participants (limited), and latest message.
32-
* - When to use: fetch a complete view of a chat beyond what search returns.
33-
* - Constraints: not available for iMessage chats ('imsg##'). Participants limited by 'maxParticipantCount' (default 20, max 500).
34-
* Returns: chat details.Agents: ALWAYS use linkToChat to make clickable links in your response.
31+
* Retrieve chat details including metadata, participants, and latest message.
3532
*
3633
* @param string $chatID Unique identifier of the chat to retrieve. Not available for iMessage chats. Participants are limited by 'maxParticipantCount'.
3734
* @param int|null $maxParticipantCount Maximum number of participants to return. Use -1 for all; otherwise 0–500. Defaults to 20.
@@ -90,11 +87,6 @@ public function archive(
9087

9188
/**
9289
* Search and filter conversations across all messaging accounts.
93-
* - When to use: browse chats by inbox (primary/low-priority/archive), type, unread status, or search terms.
94-
* - Pagination: use cursor + direction for pagination.
95-
* - Performance: provide accountIDs when known for faster filtering.
96-
* Returns: matching chats with pagination.
97-
* Agents: ALWAYS use linkToChat to make clickable links in your response.
9890
*
9991
* @param list<string> $accountIDs Provide an array of account IDs to filter chats from specific messaging accounts only
10092
* @param string $endingBefore A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.

src/Services/MessagesService.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,20 +57,6 @@ public function draft(
5757

5858
/**
5959
* Search messages across chats using Beeper's message index.
60-
* - When to use: find messages by text and/or filters (chatIDs, accountIDs, chatType, media type filters, sender, date ranges).
61-
* - CRITICAL: Query is LITERAL WORD MATCHING, NOT semantic search! Only finds messages containing these EXACT words.
62-
* • ✅ RIGHT: query="dinner" or query="sick" or query="error" (single words users type)
63-
* • ❌ WRONG: query="dinner plans tonight" or query="health issues" (phrases/concepts)
64-
* • The query matches ALL words provided (in any order). Example: query="flight booking" finds messages with both "flight" AND "booking".
65-
* - Media filters: Use onlyWithMedia for any media, or specific filters like onlyWithVideo, onlyWithImage, onlyWithLink, onlyWithFile for specific types.
66-
* - Pagination: use 'oldestCursor' + direction='before' for older; 'newestCursor' + direction='after' for newer.
67-
* - Performance: provide chatIDs/accountIDs when known. Omitted 'query' returns results based on filters only. Partial matches enabled; 'excludeLowPriority' defaults to true.
68-
* - Workflow tip: To search messages in specific conversations: 1) Use find-chats to get chatIDs, 2) Use search-messages with those chatIDs.
69-
* - IMPORTANT: Chat names vary widely. ASK the user for clarification:
70-
* • "Which chat do you mean by family?" (could be "The Smiths", "Mom Dad Kids", etc.)
71-
* • "What's the name of your work chat?" (could be "Team", company name, project name)
72-
* • "Who are the participants?" (use participantQuery in find-chats)
73-
* Returns: matching messages and referenced chats.
7460
*
7561
* @param list<string> $accountIDs limit search to specific Beeper account IDs (bridge instances)
7662
* @param list<string> $chatIDs limit search to specific Beeper chat IDs

0 commit comments

Comments
 (0)