Skip to content

Commit 95bd1b1

Browse files
authored
Merge pull request #8 from StackOneHQ/speakeasy-sdk-regen-1729038171
chore: 🐝 Update SDK - Generate 0.9.0
2 parents b3420ff + c21b25f commit 95bd1b1

92 files changed

Lines changed: 3727 additions & 110 deletions

File tree

Some content is hidden

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

.speakeasy/gen.lock

Lines changed: 107 additions & 8 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
auth:
1313
oAuth2ClientCredentialsEnabled: false
1414
php:
15-
version: 0.7.0
15+
version: 0.9.0
1616
clientServerStatusCodesAsErrors: true
1717
flattenGlobalSecurity: true
1818
imports:

.speakeasy/workflow.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ sources:
88
- latest
99
stackone-specs:
1010
sourceNamespace: stackone-specs
11-
sourceRevisionDigest: sha256:a2bb0ad02b1496211a47c296f3e7714d726f002c3e92846e5d85bbf83499aa37
12-
sourceBlobDigest: sha256:da183657d2f9502f7c95b3e7e8711f79bb32b5e05d3d39282b65691a41871b9d
11+
sourceRevisionDigest: sha256:e39dc499bd4f7bf90c1303a85c8db3e4384c43f07534c94318060f757d78df89
12+
sourceBlobDigest: sha256:9271988ef570b3576a487e576bd25a7e20eee4949599a414770e0d7117eb8fd6
1313
tags:
1414
- latest
1515
- main
1616
targets:
1717
stack-one:
1818
source: stackone-specs
1919
sourceNamespace: stackone-specs
20-
sourceRevisionDigest: sha256:a2bb0ad02b1496211a47c296f3e7714d726f002c3e92846e5d85bbf83499aa37
21-
sourceBlobDigest: sha256:da183657d2f9502f7c95b3e7e8711f79bb32b5e05d3d39282b65691a41871b9d
20+
sourceRevisionDigest: sha256:e39dc499bd4f7bf90c1303a85c8db3e4384c43f07534c94318060f757d78df89
21+
sourceBlobDigest: sha256:9271988ef570b3576a487e576bd25a7e20eee4949599a414770e0d7117eb8fd6
2222
workflow:
2323
workflowVersion: 1.0.0
2424
speakeasyVersion: latest

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@ if ($response->employeesPaginated !== null) {
194194
* [listEmployments](docs/sdks/hris/README.md#listemployments) - List Employments
195195
* [getEmployment](docs/sdks/hris/README.md#getemployment) - Get Employment
196196
* [listEmployeeEmployments](docs/sdks/hris/README.md#listemployeeemployments) - List Employee Employments
197+
* [createEmployeeEmployment](docs/sdks/hris/README.md#createemployeeemployment) - Create Employee Employment
197198
* [getEmployeeEmployment](docs/sdks/hris/README.md#getemployeeemployment) - Get Employee Employment
199+
* [updateEmployeeEmployment](docs/sdks/hris/README.md#updateemployeeemployment) - Update Employee Employment
198200
* [listLocations](docs/sdks/hris/README.md#listlocations) - List locations
199201
* [getLocation](docs/sdks/hris/README.md#getlocation) - Get Location
200202
* [listTimeOffRequests](docs/sdks/hris/README.md#listtimeoffrequests) - List time off requests
@@ -283,6 +285,10 @@ if ($response->employeesPaginated !== null) {
283285
* [proxyRequest](docs/sdks/proxy/README.md#proxyrequest) - Proxy Request
284286

285287

288+
### [webhooks](docs/sdks/webhooks/README.md)
289+
290+
* [create](docs/sdks/webhooks/README.md#create)
291+
286292
</details>
287293
<!-- End Available Resources and Operations [operations] -->
288294

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,14 @@ Based on:
3838
### Generated
3939
- [php v0.7.0] .
4040
### Releases
41-
- [Composer v0.7.0] https://packagist.org/packages/stackone/client-sdk#v0.7.0 - .
41+
- [Composer v0.7.0] https://packagist.org/packages/stackone/client-sdk#v0.7.0 - .
42+
43+
## 2024-10-22 00:23:12
44+
### Changes
45+
Based on:
46+
- OpenAPI Doc
47+
- Speakeasy CLI 1.411.1 (2.436.1) https://github.com/speakeasy-api/speakeasy
48+
### Generated
49+
- [php v0.9.0] .
50+
### Releases
51+
- [Composer v0.9.0] https://packagist.org/packages/stackone/client-sdk#v0.9.0 - .

docs/Models/Components/CreateEmploymentApiModel.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,4 @@
1515
| `payCurrency` | *?string* | :heavy_minus_sign: | The currency used for pay | USD |
1616
| `effectiveDate` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | The effective date of the employment contract | 2021-01-01T01:01:01.000Z |
1717
| `employmentType` | [?Components\CreateEmploymentApiModelEmploymentType](../../Models/Components/CreateEmploymentApiModelEmploymentType.md) | :heavy_minus_sign: | The type of employment (e.g., contractor, permanent) | permanent |
18-
| `employmentContractType` | [?Components\CreateEmploymentApiModelEmploymentContractType](../../Models/Components/CreateEmploymentApiModelEmploymentContractType.md) | :heavy_minus_sign: | The employment work schedule type (e.g., full-time, part-time) | full_time |
19-
| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | The created_at date | 2021-01-01T01:01:01.000Z |
20-
| `updatedAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | The updated_at date | 2021-01-01T01:01:01.000Z |
18+
| `employmentContractType` | [?Components\CreateEmploymentApiModelEmploymentContractType](../../Models/Components/CreateEmploymentApiModelEmploymentContractType.md) | :heavy_minus_sign: | The employment work schedule type (e.g., full-time, part-time) | full_time |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# CreateEvent
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- |
8+
| `event` | *string* | :heavy_check_mark: | The event name | hris_employees.created |
9+
| `recordId` | *string* | :heavy_check_mark: | The record id associated with the event | |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# CreateEventResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ |
8+
| `event` | *string* | :heavy_check_mark: | The event name | hris_employees.created |
9+
| `recordId` | *string* | :heavy_check_mark: | The record id associated with the event | |
10+
| `status` | *float* | :heavy_check_mark: | The response http status code | 200 |
11+
| `message` | *?string* | :heavy_minus_sign: | The message associated with the operation result | The event was created |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# EmployeeNationalIdentityNumberCountry
2+
3+
The country code
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description | Example |
9+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
10+
| `value` | [?Components\EmployeeNationalIdentityNumberCountryValue](../../Models/Components/EmployeeNationalIdentityNumberCountryValue.md) | :heavy_minus_sign: | The ISO3166-1 Alpha2 Code of the Country | US |
11+
| `sourceValue` | [string\|float\|bool\|Components\EmployeeSourceValueNationalIdentityNumberCountry4\|array\|null](../../Models/Components/EmployeeNationalIdentityNumberCountrySourceValue.md) | :heavy_minus_sign: | N/A | |
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# EmployeeNationalIdentityNumberCountrySourceValue
2+
3+
4+
## Supported Types
5+
6+
### `string`
7+
8+
```php
9+
string $value = /* values here */
10+
```
11+
12+
### `float`
13+
14+
```php
15+
float $value = /* values here */
16+
```
17+
18+
### `bool`
19+
20+
```php
21+
bool $value = /* values here */
22+
```
23+
24+
### `Components\EmployeeSourceValueNationalIdentityNumberCountry4`
25+
26+
```php
27+
Components\EmployeeSourceValueNationalIdentityNumberCountry4 $value = /* values here */
28+
```
29+
30+
### `array`
31+
32+
```php
33+
array $value = /* values here */
34+
```
35+

0 commit comments

Comments
 (0)