Skip to content

Commit fb1cc56

Browse files
authored
Merge pull request #42 from StackOneHQ/speakeasy-sdk-regen-1762646667
chore: 🐝 Update SDK - Generate 0.28.1
2 parents 9953c73 + 24d3921 commit fb1cc56

27 files changed

+332
-117
lines changed

.speakeasy/gen.lock

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: 3759371f-a095-4585-b437-50529a0eb248
33
management:
4-
docChecksum: fd6d287abee4d9f342e248db10460129
4+
docChecksum: 7557050ffcfabf100d281f29a1f4d59e
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.645.1
7-
generationVersion: 2.735.1
8-
releaseVersion: 0.28.0
9-
configChecksum: 20230b4eeb28ae90903e10d0ae5eb1da
6+
speakeasyVersion: 1.651.0
7+
generationVersion: 2.745.2
8+
releaseVersion: 0.28.1
9+
configChecksum: b17ca965caccb3ae7ccfc6f0a895e322
1010
repoURL: https://github.com/StackOneHQ/stackone-client-php.git
1111
installationURL: https://github.com/StackOneHQ/stackone-client-php
1212
published: true
1313
features:
1414
php:
1515
additionalProperties: 0.1.0
1616
constsAndDefaults: 0.2.0
17-
core: 3.9.1
17+
core: 3.9.2
1818
deprecations: 2.81.1
1919
examples: 2.81.6
2020
flattening: 2.81.1
@@ -107,6 +107,7 @@ generatedFiles:
107107
- docs/Models/Components/ActionsMetaPaginated.md
108108
- docs/Models/Components/ActionsRpcRequestDto.md
109109
- docs/Models/Components/ActionsRpcResponse.md
110+
- docs/Models/Components/ActionsRpcResponseData.md
110111
- docs/Models/Components/Active.md
111112
- docs/Models/Components/Active2.md
112113
- docs/Models/Components/Actor.md
@@ -1381,6 +1382,7 @@ generatedFiles:
13811382
- docs/Models/Components/ProviderErrorApiModelHeaders.md
13821383
- docs/Models/Components/ProviderErrorApiModelRaw.md
13831384
- docs/Models/Components/ProxyRequestBody.md
1385+
- docs/Models/Components/ProxyResponseApiModel.md
13841386
- docs/Models/Components/PushMessageContents.md
13851387
- docs/Models/Components/PushMessages.md
13861388
- docs/Models/Components/PushMessagesMessageContent.md
@@ -3599,6 +3601,7 @@ generatedFiles:
35993601
- src/Models/Components/ProviderErrorApiModelHeaders.php
36003602
- src/Models/Components/ProviderErrorApiModelRaw.php
36013603
- src/Models/Components/ProxyRequestBody.php
3604+
- src/Models/Components/ProxyResponseApiModel.php
36023605
- src/Models/Components/PushMessageContents.php
36033606
- src/Models/Components/PushMessages.php
36043607
- src/Models/Components/PushMessagesMessageContent.php
@@ -5072,6 +5075,8 @@ examples:
50725075
application/json: {"statusCode": 501, "message": "Not Implemented", "timestamp": "2023-05-30T00:00:00.000Z"}
50735076
"502":
50745077
application/json: {"statusCode": 502, "message": "Bad Gateway", "timestamp": "2023-05-30T00:00:00.000Z"}
5078+
"200":
5079+
application/json: {"status": 200, "headers": {"content-type": "application/json", "x-request-id": "123e4567-e89b-12d3-a456-426614174000"}, "data": {"id": "123", "name": "John Doe", "email": "john.doe@example.com"}, "provider_errors": [{"status": 400, "url": "https://api.someprovider.com/v1/endpoint", "raw": {}, "headers": {}}]}
50755080
hris_list_companies:
50765081
speakeasy-default-hris-list-companies:
50775082
parameters:
@@ -12968,7 +12973,7 @@ examples:
1296812973
query:
1296912974
group_by: "[\"connector\"]"
1297012975
filter: {"connectors": "connector1,connector2", "account_ids": "account1,account2", "action_key": "action1"}
12971-
include: ["operation_details"]
12976+
include: ["action_details"]
1297212977
responses:
1297312978
"200":
1297412979
application/json: {}
@@ -15156,4 +15161,4 @@ examples:
1515615161
application/json: {"statusCode": 502, "message": "Bad Gateway", "timestamp": "2023-05-30T00:00:00.000Z"}
1515715162
examplesVersion: 1.0.2
1515815163
generatedTests: {}
15159-
releaseNotes: "## Php SDK Changes Detected:\n* `stackone->actions->rpcAction()`: \n * `request->query` **Changed** **Breaking** :warning:\n * `response.data` **Changed**\n* `stackone->hris->listEmployees()`: `response.data->[]->bankDetails->[]->isPrimary` **Changed** **Breaking** :warning:\n* `stackone->hris->getEmployee()`: `response.data->bankDetails->[]->isPrimary` **Changed** **Breaking** :warning:\n"
15164+
releaseNotes: "## Php SDK Changes Detected:\n* `stackone->mcp->mcpGet()`: `request` **Changed**\n* `stackone->mcp->mcpPost()`: `request` **Changed**\n* `stackone->mcp->mcpDelete()`: `request` **Changed**\n* `stackone->proxy->proxyRequest()`: `response` **Changed**\n* `stackone->actions->listActionsMeta()`: \n * `request->include` **Changed**\n"

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ generation:
1919
hoistGlobalSecurity: true
2020
schemas:
2121
allOfMergeStrategy: shallowMerge
22+
requestBodyFieldName: ""
2223
tests:
2324
generateTests: true
2425
generateNewTests: false
2526
skipResponseBodyAssertions: false
2627
php:
27-
version: 0.28.0
28+
version: 0.28.1
2829
additionalDependencies:
2930
autoload: {}
3031
autoload-dev: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.645.1
1+
speakeasyVersion: 1.651.0
22
sources:
33
hris:
44
sourceNamespace: hris
@@ -8,20 +8,20 @@ sources:
88
- latest
99
stackone-specs:
1010
sourceNamespace: stackone-specs
11-
sourceRevisionDigest: sha256:8850587d3e0c4877c365ff4c099451f31f2594f84f0ce2401d1990e5e5c55665
12-
sourceBlobDigest: sha256:595bb5efd6351b7d06ad7eaac6801407c1eb5052b56cc4fbb247909b0f7b35e1
11+
sourceRevisionDigest: sha256:e0cb09750722d0802b60b43f332ff3cf6fed176ee874242defbee302f12f5364
12+
sourceBlobDigest: sha256:1f3bcfc18854cdd44b805e01d0e227c3a98d33b5d5a29eed6b8d36d3e5e6897e
1313
tags:
1414
- latest
15-
- speakeasy-sdk-regen-1762041867
15+
- speakeasy-sdk-regen-1762646667
1616
- 1.0.0
1717
targets:
1818
stack-one:
1919
source: stackone-specs
2020
sourceNamespace: stackone-specs
21-
sourceRevisionDigest: sha256:8850587d3e0c4877c365ff4c099451f31f2594f84f0ce2401d1990e5e5c55665
22-
sourceBlobDigest: sha256:595bb5efd6351b7d06ad7eaac6801407c1eb5052b56cc4fbb247909b0f7b35e1
21+
sourceRevisionDigest: sha256:e0cb09750722d0802b60b43f332ff3cf6fed176ee874242defbee302f12f5364
22+
sourceBlobDigest: sha256:1f3bcfc18854cdd44b805e01d0e227c3a98d33b5d5a29eed6b8d36d3e5e6897e
2323
codeSamplesNamespace: stackone-specs-php-code-samples
24-
codeSamplesRevisionDigest: sha256:e34e581fe169da484819a8ea1fa59d445a35068dadd1a8116ce625edb498a710
24+
codeSamplesRevisionDigest: sha256:9ba4682d935e2ba06f98d0fa7b0405a6692fc6eefcec8e58a540422368e0722d
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ $requestSecurity = new Operations\StackoneMcpGetSecurity(
171171

172172
$response = $sdk->mcp->mcpGet(
173173
security: $requestSecurity,
174-
xAccountId: '<id>',
175-
mcpSessionId: '<id>'
174+
mcpSessionId: '<id>',
175+
xAccountId: '<id>'
176176

177177
);
178178

@@ -567,7 +567,7 @@ $request = new Operations\StackoneListActionsMetaRequest(
567567
actionKey: 'action1',
568568
),
569569
include: [
570-
Operations\StackoneListActionsMetaQueryParamInclude::OperationDetails,
570+
Operations\StackoneListActionsMetaQueryParamInclude::ActionDetails,
571571
],
572572
);
573573

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,4 +288,14 @@ Based on:
288288
### Generated
289289
- [php v0.28.0] .
290290
### Releases
291-
- [Composer v0.28.0] https://packagist.org/packages/stackone/client-sdk#v0.28.0 - .
291+
- [Composer v0.28.0] https://packagist.org/packages/stackone/client-sdk#v0.28.0 - .
292+
293+
## 2025-11-09 00:04:07
294+
### Changes
295+
Based on:
296+
- OpenAPI Doc
297+
- Speakeasy CLI 1.651.0 (2.745.2) https://github.com/speakeasy-api/speakeasy
298+
### Generated
299+
- [php v0.28.1] .
300+
### Releases
301+
- [Composer v0.28.1] https://packagist.org/packages/stackone/client-sdk#v0.28.1 - .

docs/Models/Components/ActionsRpcResponse.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
8-
| `next` | *?string* | :heavy_minus_sign: | Cursor for fetching the next page of results |
9-
| `data` | [?array](../../Models/Components/Data.md) | :heavy_minus_sign: | The response data from the action RPC call |
6+
| Field | Type | Required | Description |
7+
| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- |
8+
| `next` | *?string* | :heavy_minus_sign: | Cursor for fetching the next page of results |
9+
| `data` | [?array](../../Models/Components/ActionsRpcResponseData.md) | :heavy_minus_sign: | The response data from the action RPC call |
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# ActionsRpcResponseData
2+
3+
The response data from the action RPC call
4+
5+
6+
## Supported Types
7+
8+
### `array`
9+
10+
```php
11+
/**
12+
* @var array<string, mixed>
13+
*/
14+
array $value = /* values here */
15+
```
16+
17+
### `array`
18+
19+
```php
20+
/**
21+
* @var array<array<string, mixed>>
22+
*/
23+
array $value = /* values here */
24+
```
25+

docs/Models/Components/Data.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Data
22

3-
The response data from the action RPC call
3+
The response data from the provider. Can be an object, array, or primitive value.
44

55

66
## Supported Types
@@ -23,3 +23,30 @@ array $value = /* values here */
2323
array $value = /* values here */
2424
```
2525

26+
### `string`
27+
28+
```php
29+
/**
30+
* @var string
31+
*/
32+
string $value = /* values here */
33+
```
34+
35+
### `float`
36+
37+
```php
38+
/**
39+
* @var float
40+
*/
41+
float $value = /* values here */
42+
```
43+
44+
### `bool`
45+
46+
```php
47+
/**
48+
* @var bool
49+
*/
50+
bool $value = /* values here */
51+
```
52+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ProxyResponseApiModel
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `status` | *float* | :heavy_check_mark: | The HTTP status code returned by the provider | 200 |
9+
| `headers` | array<string, *mixed*> | :heavy_minus_sign: | The headers returned by the provider | {<br/>"content-type": "application/json",<br/>"x-request-id": "123e4567-e89b-12d3-a456-426614174000"<br/>} |
10+
| `data` | [array\|string\|float\|bool\|null](../../Models/Components/Data.md) | :heavy_minus_sign: | The response data from the provider. Can be an object, array, or primitive value. | {<br/>"id": "123",<br/>"name": "John Doe",<br/>"email": "john.doe@example.com"<br/>} |
11+
| `providerErrors` | array<[Components\ProviderErrorApiModel](../../Models/Components/ProviderErrorApiModel.md)> | :heavy_minus_sign: | Provider-specific errors if any occurred | [<br/>{<br/>"status": 400,<br/>"url": "https://api.someprovider.com/v1/endpoint",<br/>"raw": {<br/>"error": "Bad Request",<br/>"message": "The supplied data is invalid"<br/>},<br/>"headers": {<br/>"date": "Tue, 02 Apr 2024 13:52:01 GMT",<br/>"content-type": "application/json; charset=utf-8"<br/>}<br/>}<br/>] |

docs/Models/Operations/StackoneListActionsMetaQueryParamInclude.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
## Values
55

6-
| Name | Value |
7-
| ------------------ | ------------------ |
8-
| `OperationDetails` | operation_details |
6+
| Name | Value |
7+
| --------------- | --------------- |
8+
| `ActionDetails` | action_details |

0 commit comments

Comments
 (0)