Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
f813329
feat(api): api update
stainless-app[bot] Feb 20, 2026
fe6b606
feat(api): api update
stainless-app[bot] Feb 20, 2026
b33be1b
codegen metadata
stainless-app[bot] Feb 24, 2026
e098615
feat(api): api update
stainless-app[bot] Feb 24, 2026
239a1d8
codegen metadata
stainless-app[bot] Feb 24, 2026
987a67a
codegen metadata
stainless-app[bot] Feb 24, 2026
6789612
codegen metadata
stainless-app[bot] Feb 24, 2026
958db57
chore(internal): upgrade phpunit
stainless-app[bot] Feb 27, 2026
297da59
chore(internal): codegen related update
stainless-app[bot] Mar 3, 2026
344cf76
chore(test): do not count install time for mock server timeout
stainless-app[bot] Mar 5, 2026
a26c7a0
codegen metadata
stainless-app[bot] Mar 12, 2026
fa13631
codegen metadata
stainless-app[bot] Mar 12, 2026
46dbc09
feat(api): manual updates
stainless-app[bot] Mar 12, 2026
dd063fd
codegen metadata
stainless-app[bot] Mar 13, 2026
d3967d0
chore(internal): tweak CI branches
stainless-app[bot] Mar 17, 2026
b2a0994
refactor(tests): switch from prism to steady
stainless-app[bot] Mar 20, 2026
5ead500
chore(tests): bump steady to v0.19.4
stainless-app[bot] Mar 21, 2026
1987ab0
chore(tests): bump steady to v0.19.5
stainless-app[bot] Mar 21, 2026
5299bea
chore(tests): bump steady to v0.19.6
stainless-app[bot] Mar 24, 2026
356dd2b
chore(tests): bump steady to v0.19.7
stainless-app[bot] Mar 25, 2026
1139ffe
codegen metadata
stainless-app[bot] Mar 25, 2026
5f4df79
codegen metadata
stainless-app[bot] Mar 25, 2026
e09fc64
codegen metadata
stainless-app[bot] Mar 25, 2026
05282bb
chore(internal): update multipart form array serialization
stainless-app[bot] Mar 27, 2026
9a809f7
chore(tests): bump steady to v0.20.1
stainless-app[bot] Apr 1, 2026
71daf35
chore(tests): bump steady to v0.20.2
stainless-app[bot] Apr 1, 2026
44ea2d6
fix(client): properly generate file params
stainless-app[bot] Apr 11, 2026
8b25044
feat(api): add network, bridge fields to accounts
stainless-app[bot] Apr 12, 2026
7d947c2
fix(client): resolve serialization issue with unions and enums
stainless-app[bot] Apr 18, 2026
8c3b6fc
fix: populate enum-typed properties with enum instances
stainless-app[bot] Apr 18, 2026
192de54
chore(tests): bump steady to v0.22.1
stainless-app[bot] Apr 18, 2026
f29f757
release: 0.1.0
stainless-app[bot] Apr 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
branches:
- '**'
- '!integrated/**'
- '!stl-preview-head/**'
- '!stl-preview-base/**'
- '!generated'
- '!codegen/**'
- 'codegen/stl/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.0.1"
".": "0.1.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 23
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/beeper%2Fbeeper-desktop-api-774bb08472b6bb14c280fe5b767925675516b5c8ccc0b89b5abd7ac7bc30fe5a.yml
openapi_spec_hash: ddd1ce1f334b45206ac008b0f5296842
config_hash: b5ac0c1579dfe6257bcdb84cfd1002fc
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/beeper%2Fbeeper-desktop-api-611aa7641fbca8cf31d626bf86f9efd3c2b92778e897ebbb25c6ea44185ed1ed.yml
openapi_spec_hash: d6c0a1776048dab04f6c5625c9893c9c
config_hash: 39ed0717b5f415499aaace2468346e1a
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Changelog

## 0.1.0 (2026-04-18)

Full Changelog: [v0.0.1...v0.1.0](https://github.com/beeper/desktop-api-php/compare/v0.0.1...v0.1.0)

### Features

* **api:** add network, bridge fields to accounts ([8b25044](https://github.com/beeper/desktop-api-php/commit/8b250446d8d538fc1027c9df483f07034049e302))
* **api:** api update ([e098615](https://github.com/beeper/desktop-api-php/commit/e0986159d91fbd76d8647de9e2f7e2f1aedb071f))
* **api:** api update ([fe6b606](https://github.com/beeper/desktop-api-php/commit/fe6b606f1e40643b6f81a68bfbf467653d070a6a))
* **api:** api update ([f813329](https://github.com/beeper/desktop-api-php/commit/f8133290552840e3723a0f67371a4481039c5ac6))
* **api:** api update ([1c754b3](https://github.com/beeper/desktop-api-php/commit/1c754b319cf35db0357cd97d9713119b78f70fc5))
* **api:** manual updates ([46dbc09](https://github.com/beeper/desktop-api-php/commit/46dbc095defeac9aa95e41cd668e883fcd20bea9))
* **api:** update via SDK Studio ([1c4d0e7](https://github.com/beeper/desktop-api-php/commit/1c4d0e7cb265c3bfcca18b886ec84d25eb7154d2))
* **api:** update via SDK Studio ([e372296](https://github.com/beeper/desktop-api-php/commit/e372296e9885f6bb33819a22d29e92ac725395f1))


### Bug Fixes

* **client:** properly generate file params ([44ea2d6](https://github.com/beeper/desktop-api-php/commit/44ea2d6f7210b88dd61b764242e7a68254f07efb))
* **client:** resolve serialization issue with unions and enums ([7d947c2](https://github.com/beeper/desktop-api-php/commit/7d947c2190514f5039947136a1e795e69069d42b))
* populate enum-typed properties with enum instances ([8c3b6fc](https://github.com/beeper/desktop-api-php/commit/8c3b6fc3be27e61cfb5556fab51f29bff5eae2e6))


### Chores

* **internal:** codegen related update ([297da59](https://github.com/beeper/desktop-api-php/commit/297da598fb4ba18fec57a63e461e4316f3d6e641))
* **internal:** tweak CI branches ([d3967d0](https://github.com/beeper/desktop-api-php/commit/d3967d0433e63e905f0d9699da709a7544ec12db))
* **internal:** update multipart form array serialization ([05282bb](https://github.com/beeper/desktop-api-php/commit/05282bbbaad46dceff167998b75e34a778f42a24))
* **internal:** upgrade phpunit ([958db57](https://github.com/beeper/desktop-api-php/commit/958db5719fcca4f33c8b9c4796e34b8a3c5a8d91))
* **test:** do not count install time for mock server timeout ([344cf76](https://github.com/beeper/desktop-api-php/commit/344cf76b4dc4c254d6c380f035e8b6d2d86fb138))
* **tests:** bump steady to v0.19.4 ([5ead500](https://github.com/beeper/desktop-api-php/commit/5ead500c3d450d125dee608bc6ec0054e6928e15))
* **tests:** bump steady to v0.19.5 ([1987ab0](https://github.com/beeper/desktop-api-php/commit/1987ab0fcc91f0bebfdf55a94fd5b6c59f3658e3))
* **tests:** bump steady to v0.19.6 ([5299bea](https://github.com/beeper/desktop-api-php/commit/5299bea39412364752a5a21800bc9e5837cbce81))
* **tests:** bump steady to v0.19.7 ([356dd2b](https://github.com/beeper/desktop-api-php/commit/356dd2b76fe8549a90e60013ad72e3fd5683e3cd))
* **tests:** bump steady to v0.20.1 ([9a809f7](https://github.com/beeper/desktop-api-php/commit/9a809f782c368dbed079b96555a27f76f39a9b42))
* **tests:** bump steady to v0.20.2 ([71daf35](https://github.com/beeper/desktop-api-php/commit/71daf3588b2f471df63c4070b121e8c5587e5727))
* **tests:** bump steady to v0.22.1 ([192de54](https://github.com/beeper/desktop-api-php/commit/192de547707b52e2d5f60984af9d2c153bef2060))


### Refactors

* **tests:** switch from prism to steady ([b2a0994](https://github.com/beeper/desktop-api-php/commit/b2a099467ced88b63d36ae05aa4db7da5b5c64c8))
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,36 @@ $client = new Client(requestOptions: ['maxRetries' => 0]);
$result = $client->accounts->list(requestOptions: ['maxRetries' => 5]);
```

### File uploads

Request parameters that correspond to file uploads can be passed as a resource returned by `fopen()`, a string of file contents, or a `FileParam` instance.

```php
<?php

use BeeperDesktop\Core\FileParam;

// Pass a string with filename and content type:
$contents = file_get_contents('/path/to/file');
// Pass a string with filename and content type:
$response = $client->assets->upload(
file: FileParam::fromString($contents, filename: '/path/to/file', contentType: '…'),
);

// Pass in only a string (where applicable)
$response = $client->assets->upload(file: '…');

// Pass an open resource:
$fd = fopen('/path/to/file', 'r');
try {
$response = $client->assets->upload(
file: FileParam::fromResource($fd, filename: '/path/to/file', contentType: '…'),
);
} finally {
fclose($fd);
}
```

## Advanced concepts

### Making custom or undocumented requests
Expand Down
Loading
Loading