Skip to content

Commit 2d2b7c1

Browse files
authored
Merge pull request #1 from midday-ai/speakeasy-sdk-regen-1749686653
chore: 🐝 Update SDK - Generate 0.0.2
2 parents 64cf69f + a5aec77 commit 2d2b7c1

File tree

170 files changed

+5859
-435
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+5859
-435
lines changed

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 196 additions & 32 deletions
Large diffs are not rendered by default.

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,18 @@ generation:
1717
oAuth2ClientCredentialsEnabled: true
1818
oAuth2PasswordEnabled: true
1919
sdkHooksConfigAccess: true
20+
tests:
21+
generateTests: true
22+
generateNewTests: false
23+
skipResponseBodyAssertions: false
2024
php:
21-
version: 0.0.1
25+
version: 0.0.2
2226
additionalDependencies:
2327
autoload: {}
2428
autoload-dev: {}
2529
require: {}
2630
require-dev: {}
31+
baseErrorName: MiddayException
2732
clientServerStatusCodesAsErrors: true
2833
defaultErrorName: APIException
2934
flattenGlobalSecurity: true

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
speakeasyVersion: 1.554.1
1+
speakeasyVersion: 1.606.0
22
sources:
33
-OAS:
44
sourceNamespace: midday-api
5-
sourceRevisionDigest: sha256:f2ea4d2b25b5ec58c8e5426028728f1c20a7bbea105679e6e0b452d37fe3e18f
6-
sourceBlobDigest: sha256:a0e6eecb2e29484d1407a8a6ea72ceec83b3c921d52872eddf62e79fc62721b7
5+
sourceRevisionDigest: sha256:f914bc30ad4ad47a5888b409e12b3dde9ccf093bf10ea24be3416a97ab950e4e
6+
sourceBlobDigest: sha256:e4822e044b4565fa816fe6cdd727bc82ccbac8008057a1da0e440106d8c3a87a
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1749686653
910
targets:
1011
midday:
1112
source: -OAS
1213
sourceNamespace: midday-api
13-
sourceRevisionDigest: sha256:f2ea4d2b25b5ec58c8e5426028728f1c20a7bbea105679e6e0b452d37fe3e18f
14-
sourceBlobDigest: sha256:a0e6eecb2e29484d1407a8a6ea72ceec83b3c921d52872eddf62e79fc62721b7
14+
sourceRevisionDigest: sha256:f914bc30ad4ad47a5888b409e12b3dde9ccf093bf10ea24be3416a97ab950e4e
15+
sourceBlobDigest: sha256:e4822e044b4565fa816fe6cdd727bc82ccbac8008057a1da0e440106d8c3a87a
1516
workflow:
1617
workflowVersion: 1.0.0
1718
speakeasyVersion: latest
@@ -25,6 +26,10 @@ workflow:
2526
midday:
2627
target: php
2728
source: -OAS
29+
publish:
30+
packagist:
31+
username: $packagist_username
32+
token: $packagist_token
2833
codeSamples:
2934
registry:
3035
location: registry.speakeasyapi.dev/midday/midday/-oas-php-code-samples

β€ŽREADME.mdβ€Ž

Lines changed: 14 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ Learn more about the Midday PHP SDK in the [official documentation](https://docs
1515
<!-- Start Summary [summary] -->
1616
## Summary
1717

18-
Midday is a platform for Invoicing, Time tracking, File reconciliation, Storage, Financial Overview & your own Assistant.
18+
Midday API: Midday is a platform for Invoicing, Time tracking, File reconciliation, Storage, Financial Overview & your own Assistant.
1919
<!-- End Summary [summary] -->
2020

2121
<!-- Start Table of Contents [toc] -->
2222
## Table of Contents
2323
<!-- $toc-max-depth=2 -->
24-
* [midday/midday-php](#openapiopenapi)
2524
* [SDK Installation](#sdk-installation)
2625
* [SDK Example Usage](#sdk-example-usage)
2726
* [Authentication](#authentication)
@@ -37,32 +36,11 @@ Midday is a platform for Invoicing, Time tracking, File reconciliation, Storage,
3736
<!-- Start SDK Installation [installation] -->
3837
## SDK Installation
3938

40-
> [!TIP]
41-
> To finish publishing your SDK you must [run your first generation action](https://www.speakeasy.com/docs/github-setup#step-by-step-guide).
42-
43-
4439
The SDK relies on [Composer](https://getcomposer.org/) to manage its dependencies.
4540

46-
To install the SDK first add the below to your `composer.json` file:
47-
48-
```json
49-
{
50-
"repositories": [
51-
{
52-
"type": "github",
53-
"url": "<UNSET>.git"
54-
}
55-
],
56-
"require": {
57-
"midday/midday-php": "*"
58-
}
59-
}
60-
```
61-
62-
Then run the following command:
63-
41+
To install the SDK and add it as a dependency to an existing `composer.json` file:
6442
```bash
65-
composer update
43+
composer require "midday/midday-php"
6644
```
6745
<!-- End SDK Installation [installation] -->
6846

@@ -295,13 +273,13 @@ if ($response->object !== null) {
295273
* [update](docs/sdks/teams/README.md#update) - Update a team
296274
* [members](docs/sdks/teams/README.md#members) - List all team members
297275

298-
### [tracker](docs/sdks/tracker/README.md)
299-
300-
* [delete](docs/sdks/tracker/README.md#delete) - Delete a tracker entry
301-
302276
### [trackerEntries](docs/sdks/trackerentries/README.md)
303277

304278
* [list](docs/sdks/trackerentries/README.md#list) - List all tracker entries
279+
* [create](docs/sdks/trackerentries/README.md#create) - Create a tracker entry
280+
* [createBulk](docs/sdks/trackerentries/README.md#createbulk) - Create multiple tracker entries
281+
* [delete](docs/sdks/trackerentries/README.md#delete) - Delete a tracker entry
282+
* [update](docs/sdks/trackerentries/README.md#update) - Update a tracker entry
305283

306284
### [trackerProjects](docs/sdks/trackerprojects/README.md)
307285

@@ -311,6 +289,13 @@ if ($response->object !== null) {
311289
* [delete](docs/sdks/trackerprojects/README.md#delete) - Delete a tracker project
312290
* [update](docs/sdks/trackerprojects/README.md#update) - Update a tracker project
313291

292+
### [trackerTimer](docs/sdks/trackertimer/README.md)
293+
294+
* [startTimer](docs/sdks/trackertimer/README.md#starttimer) - Start a timer
295+
* [stopTimer](docs/sdks/trackertimer/README.md#stoptimer) - Stop a timer
296+
* [getCurrentTimer](docs/sdks/trackertimer/README.md#getcurrenttimer) - Get current timer
297+
* [getTimerStatus](docs/sdks/trackertimer/README.md#gettimerstatus) - Get timer status
298+
314299
### [transactions](docs/sdks/transactions/README.md)
315300

316301
* [list](docs/sdks/transactions/README.md#list) - List all transactions

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
3+
## 2025-08-21 00:03:26
4+
### Changes
5+
Based on:
6+
- OpenAPI Doc
7+
- Speakeasy CLI 1.606.0 (2.686.7) https://github.com/speakeasy-api/speakeasy
8+
### Generated
9+
- [php v0.0.2] .
10+
### Releases
11+
- [Composer v0.0.2] https://packagist.org/packages/midday/midday-php#v0.0.2 - .

β€Žcomposer.jsonβ€Ž

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88
},
99
"license": "MIT",
1010
"require": {
11-
"php": "^8.2",
12-
"galbar/jsonpath": "^3.0",
11+
"php": ">=8.2",
12+
"galbar/jsonpath": ">=3.0",
1313
"guzzlehttp/guzzle": "^7.0",
1414
"speakeasy/serializer": "^4.0.3",
15-
"brick/date-time": "^0.7.0",
16-
"phpdocumentor/type-resolver": "^1.8",
17-
"brick/math": "^0.12.1"
15+
"brick/date-time": ">=0.7.0",
16+
"phpdocumentor/type-resolver": ">=1.8",
17+
"brick/math": ">=0.12.1"
1818
},
1919
"require-dev": {
20-
"laravel/pint": "^1.21.2",
21-
"phpstan/phpstan": "^2.1.0",
22-
"phpunit/phpunit": "^10",
20+
"laravel/pint": ">=1.21.2",
21+
"phpstan/phpstan": ">=2.1.0",
22+
"phpunit/phpunit": ">=10",
2323
"roave/security-advisories": "dev-latest"
2424
},
2525
"minimum-stability": "stable",

β€Ždocs/Models/Components/Category.mdβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ Category information assigned to the transaction for organization
1010
| `id` | *string* | :heavy_check_mark: | Unique identifier of the category | office-supplies |
1111
| `name` | *string* | :heavy_check_mark: | Display name of the category | Office Supplies |
1212
| `color` | *string* | :heavy_check_mark: | Hex color code associated with the category for UI display | #FF5733 |
13+
| `taxRate` | *float* | :heavy_check_mark: | Tax rate of the category | 10 |
14+
| `taxType` | *string* | :heavy_check_mark: | Tax type of the category | VAT |
1315
| `slug` | *string* | :heavy_check_mark: | URL-friendly slug of the category | office-supplies |

β€Ždocs/Models/Components/ProfitResultItem.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
| Field | Type | Required | Description | Example |
77
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
88
| `date` | *string* | :heavy_check_mark: | Date for the metric (ISO 8601) | 2023-01-31 |
9-
| `precentage` | [Components\ProfitPercentage](../../Models/Components/ProfitPercentage.md) | :heavy_check_mark: | N/A | |
9+
| `percentage` | [Components\ProfitPercentage](../../Models/Components/ProfitPercentage.md) | :heavy_check_mark: | N/A | |
1010
| `current` | [Components\ProfitCurrent](../../Models/Components/ProfitCurrent.md) | :heavy_check_mark: | N/A | |
1111
| `previous` | [Components\ProfitPrevious](../../Models/Components/ProfitPrevious.md) | :heavy_check_mark: | N/A | |

β€Ždocs/Models/Components/RevenueResultItem.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
| Field | Type | Required | Description | Example |
77
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
88
| `date` | *string* | :heavy_check_mark: | Date for the metric (ISO 8601) | 2023-01-31 |
9-
| `precentage` | [Components\RevenuePercentage](../../Models/Components/RevenuePercentage.md) | :heavy_check_mark: | N/A | |
9+
| `percentage` | [Components\RevenuePercentage](../../Models/Components/RevenuePercentage.md) | :heavy_check_mark: | N/A | |
1010
| `current` | [Components\RevenueCurrent](../../Models/Components/RevenueCurrent.md) | :heavy_check_mark: | N/A | |
1111
| `previous` | [Components\RevenuePrevious](../../Models/Components/RevenuePrevious.md) | :heavy_check_mark: | N/A | |

0 commit comments

Comments
Β (0)