Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1,393 changes: 833 additions & 560 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
php:
version: 0.23.0
version: 0.23.2
additionalDependencies:
autoload: {}
autoload-dev: {}
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ sources:
- latest
stackone-specs:
sourceNamespace: stackone-specs
sourceRevisionDigest: sha256:8b88a8b8e385b59815587a748cd055160a39025f600c23082178614448726271
sourceBlobDigest: sha256:cd8b29022ae7d5e8855f17d266665e45e376777e62be6a36b64c1e4e145fa41c
sourceRevisionDigest: sha256:c1dfaa091afe705a84027c10227ab061ca6db9e304b76b7d69ce22aca3253a31
sourceBlobDigest: sha256:7feb39b65be170bb5679b836c652a6f0e35f84d5facd478c0bf49acb34659d86
tags:
- latest
- speakeasy-sdk-regen-1731801831
- speakeasy-sdk-regen-1736640213
- 1.0.0
targets:
stack-one:
source: stackone-specs
sourceNamespace: stackone-specs
sourceRevisionDigest: sha256:8b88a8b8e385b59815587a748cd055160a39025f600c23082178614448726271
sourceBlobDigest: sha256:cd8b29022ae7d5e8855f17d266665e45e376777e62be6a36b64c1e4e145fa41c
sourceRevisionDigest: sha256:c1dfaa091afe705a84027c10227ab061ca6db9e304b76b7d69ce22aca3253a31
sourceBlobDigest: sha256:7feb39b65be170bb5679b836c652a6f0e35f84d5facd478c0bf49acb34659d86
codeSamplesNamespace: stackone-specs-php-code-samples
codeSamplesRevisionDigest: sha256:9fd72c670f53deeea3c0d31ee1de7a8fc3f4fa2420d767275932dc603e636ae3
codeSamplesRevisionDigest: sha256:996c3fa7ba636577228ba378a3477ef4378e585952c687eebb8dd4e114730def
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Marketing: The documentation for the StackOne Unified API - MARKETING
* [stackone/client-sdk](#stackoneclient-sdk)
* [SDK Installation](#sdk-installation)
* [SDK Example Usage](#sdk-example-usage)
* [Authentication](#authentication)
* [Available Resources and Operations](#available-resources-and-operations)
* [Pagination](#pagination)
* [Error Handling](#error-handling)
Expand Down Expand Up @@ -84,6 +85,49 @@ foreach ($responses as $response) {
```
<!-- End SDK Example Usage [usage] -->

<!-- Start Authentication [security] -->
## Authentication

### Per-Client Security Schemes

This SDK supports the following security scheme globally:

| Name | Type | Scheme |
| ------------------------- | ---- | ---------- |
| `username`<br/>`password` | http | HTTP Basic |

You can set the security parameters through the `setSecurity` function on the `SDKBuilder` when initializing the SDK. For example:
```php
declare(strict_types=1);

require 'vendor/autoload.php';

use StackOne\client;
use StackOne\client\Models\Components;

$sdk = client\StackOne::builder()
->setSecurity(
new Components\Security(
username: '',
password: '',
)
)
->build();

$request = new Components\ConnectSessionAuthenticate(
token: '<value>',
);

$response = $sdk->connectSessions->authenticateConnectSession(
request: $request
);

if ($response->connectSession !== null) {
// handle response
}
```
<!-- End Authentication [security] -->

<!-- Start Available Resources and Operations [operations] -->
## Available Resources and Operations

Expand All @@ -101,6 +145,7 @@ foreach ($responses as $response) {
### [ats](docs/sdks/ats/README.md)

* [createApplication](docs/sdks/ats/README.md#createapplication) - Create Application
* [createApplicationNote](docs/sdks/ats/README.md#createapplicationnote) - Create Application Note
* [createBackgroundCheckPackage](docs/sdks/ats/README.md#createbackgroundcheckpackage) - Create Background Check Package
* [createCandidate](docs/sdks/ats/README.md#createcandidate) - Create Candidate
* [createCandidateNote](docs/sdks/ats/README.md#createcandidatenote) - Create Candidate Note
Expand All @@ -110,6 +155,7 @@ foreach ($responses as $response) {
* [getApplication](docs/sdks/ats/README.md#getapplication) - Get Application
* [getApplicationCustomFieldDefinition](docs/sdks/ats/README.md#getapplicationcustomfielddefinition) - Get Application Custom Field Definition
* [getApplicationDocument](docs/sdks/ats/README.md#getapplicationdocument) - Get Application Document
* [getApplicationNote](docs/sdks/ats/README.md#getapplicationnote) - Get Application Note
* [getApplicationOffer](docs/sdks/ats/README.md#getapplicationoffer) - Get Application Offer
* [getApplicationScheduledInterview](docs/sdks/ats/README.md#getapplicationscheduledinterview) - Get Applications scheduled interview
* [getApplicationScorecard](docs/sdks/ats/README.md#getapplicationscorecard) - Get Application Scorecard
Expand All @@ -135,6 +181,7 @@ foreach ($responses as $response) {
* [getUser](docs/sdks/ats/README.md#getuser) - Get User
* [listApplicationCustomFieldDefinitions](docs/sdks/ats/README.md#listapplicationcustomfielddefinitions) - List Application Custom Field Definitions
* [listApplicationDocuments](docs/sdks/ats/README.md#listapplicationdocuments) - List Application Documents
* [listApplicationNotes](docs/sdks/ats/README.md#listapplicationnotes) - List Application Notes
* [listApplicationScorecards](docs/sdks/ats/README.md#listapplicationscorecards) - List Application Scorecards
* [listApplications](docs/sdks/ats/README.md#listapplications) - List Applications
* [listApplicationsOffers](docs/sdks/ats/README.md#listapplicationsoffers) - List Application Offers
Expand All @@ -159,6 +206,7 @@ foreach ($responses as $response) {
* [moveApplication](docs/sdks/ats/README.md#moveapplication) - Move Application
* [rejectApplication](docs/sdks/ats/README.md#rejectapplication) - Reject Application
* [updateApplication](docs/sdks/ats/README.md#updateapplication) - Update an Application
* [updateApplicationNote](docs/sdks/ats/README.md#updateapplicationnote) - Update an Application Note
* [updateCandidate](docs/sdks/ats/README.md#updatecandidate) - Update Candidate
* [updateJob](docs/sdks/ats/README.md#updatejob) - Update Job
* [uploadApplicationDocument](docs/sdks/ats/README.md#uploadapplicationdocument) - Upload Application Document
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,14 @@ Based on:
### Generated
- [php v0.23.0] .
### Releases
- [Composer v0.23.0] https://packagist.org/packages/stackone/client-sdk#v0.23.0 - .
- [Composer v0.23.0] https://packagist.org/packages/stackone/client-sdk#v0.23.0 - .

## 2025-01-26 00:03:11
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.462.2 (2.486.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.23.2] .
### Releases
- [Composer v0.23.2] https://packagist.org/packages/stackone/client-sdk#v0.23.2 - .
11 changes: 11 additions & 0 deletions docs/Models/Components/AtsUpdateNotesRequestDto.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# AtsUpdateNotesRequestDto


## Fields

| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| `content` | array<[Components\NoteContentApiModel](../../Models/Components/NoteContentApiModel.md)> | :heavy_minus_sign: | N/A | |
| `authorId` | *?string* | :heavy_minus_sign: | Unique identifier of the author | 1234567890 |
| `visibility` | [?Components\AtsUpdateNotesRequestDtoVisibility](../../Models/Components/AtsUpdateNotesRequestDtoVisibility.md) | :heavy_minus_sign: | Visibility of the note | public |
| `passthrough` | array<string, *mixed*> | :heavy_minus_sign: | Value to pass through to the provider | {<br/>"other_known_names": "John Doe"<br/>} |
52 changes: 52 additions & 0 deletions docs/Models/Components/AtsUpdateNotesRequestDtoSourceValue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# AtsUpdateNotesRequestDtoSourceValue

The source value of the notes visibility.


## Supported Types

### `string`

```php
/**
* @var string
*/
string $value = /* values here */
```

### `float`

```php
/**
* @var float
*/
float $value = /* values here */
```

### `bool`

```php
/**
* @var bool
*/
bool $value = /* values here */
```

### `Components\AtsUpdateNotesRequestDtoSourceValue4`

```php
/**
* @var Components\AtsUpdateNotesRequestDtoSourceValue4
*/
Components\AtsUpdateNotesRequestDtoSourceValue4 $value = /* values here */
```

### `array`

```php
/**
* @var array<mixed>
*/
array $value = /* values here */
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# AtsUpdateNotesRequestDtoSourceValue4


## Fields

| Field | Type | Required | Description |
| ----------- | ----------- | ----------- | ----------- |
11 changes: 11 additions & 0 deletions docs/Models/Components/AtsUpdateNotesRequestDtoValue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# AtsUpdateNotesRequestDtoValue

The visibility of the notes.


## Values

| Name | Value |
| --------- | --------- |
| `Private` | private |
| `Public` | public |
11 changes: 11 additions & 0 deletions docs/Models/Components/AtsUpdateNotesRequestDtoVisibility.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# AtsUpdateNotesRequestDtoVisibility

Visibility of the note


## Fields

| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `value` | [?Components\AtsUpdateNotesRequestDtoValue](../../Models/Components/AtsUpdateNotesRequestDtoValue.md) | :heavy_minus_sign: | The visibility of the notes. | public |
| `sourceValue` | [string\|float\|bool\|Components\AtsUpdateNotesRequestDtoSourceValue4\|array\|null](../../Models/Components/AtsUpdateNotesRequestDtoSourceValue.md) | :heavy_minus_sign: | The source value of the notes visibility. | Public |
3 changes: 2 additions & 1 deletion docs/Models/Components/Category.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
| `unifiedCustomFields` | array<string, *mixed*> | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {<br/>"my_project_custom_field_1": "REF-1236",<br/>"my_project_custom_field_2": "some other value"<br/>} |
| `name` | *?string* | :heavy_minus_sign: | The name associated with this category | Information-Technology |
| `active` | *?bool* | :heavy_minus_sign: | Whether the category is active and therefore available for use | true |
| `level` | [?Components\CategoryLevel](../../Models/Components/CategoryLevel.md) | :heavy_minus_sign: | The hierarchal level of the category | |
| `level` | [?Components\CategoryLevel](../../Models/Components/CategoryLevel.md) | :heavy_minus_sign: | The hierarchal level of the category | |
| `language` | [?Components\CategoryLanguage](../../Models/Components/CategoryLanguage.md) | :heavy_minus_sign: | The language associated with this category | |
11 changes: 11 additions & 0 deletions docs/Models/Components/CategoryLanguage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# CategoryLanguage

The language associated with this category


## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
| `value` | [?Components\CategoryLanguageValue](../../Models/Components/CategoryLanguageValue.md) | :heavy_minus_sign: | The Locale Code of the language | en_GB |
| `sourceValue` | [string\|float\|bool\|Components\CategorySourceValueLanguage4\|array\|null](../../Models/Components/CategoryLanguageSourceValue.md) | :heavy_minus_sign: | N/A | |
Loading