-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from apideck-libraries/speakeasy-sdk-regen-1733…
…922060 chore: 🐝 Update SDK - Generate 0.0.4
- Loading branch information
Showing
12 changed files
with
263 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
/** | ||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. | ||
*/ | ||
|
||
|
||
declare(strict_types=1); | ||
|
||
namespace Apideck\Unify\Hooks; | ||
|
||
class Credentials | ||
{ | ||
public string $clientID; | ||
public string $clientSecret; | ||
public string $tokenURL; | ||
|
||
public function __construct(string $clientID, string $clientSecret, string $tokenURL) | ||
{ | ||
$this->clientID = $clientID; | ||
$this->clientSecret = $clientSecret; | ||
$this->tokenURL = $tokenURL; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
|
||
/** | ||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. | ||
*/ | ||
|
||
|
||
declare(strict_types=1); | ||
|
||
namespace Apideck\Unify\Hooks; | ||
|
||
use Brick\DateTime\LocalTime; | ||
|
||
class Session | ||
{ | ||
public Credentials $credentials; | ||
public string $token; | ||
/** | ||
* @var array<string> scopes | ||
*/ | ||
public array $scopes; | ||
public ?LocalTime $expiresAt; | ||
|
||
/** | ||
* @param Credentials $credentials | ||
* @param string $token | ||
* @param array<string> $scopes | ||
* @param ?LocalTime $expiresAt | ||
*/ | ||
public function __construct(Credentials $credentials, string $token, array $scopes, ?LocalTime $expiresAt = null) | ||
{ | ||
$this->credentials = $credentials; | ||
$this->token = $token; | ||
$this->scopes = $scopes; | ||
$this->expiresAt = $expiresAt; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
/** | ||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. | ||
*/ | ||
|
||
|
||
declare(strict_types=1); | ||
|
||
namespace Apideck\Unify\Hooks; | ||
|
||
class TokenResponse | ||
{ | ||
public ?string $accessToken; | ||
public ?string $tokenType; | ||
public ?float $expiresIn; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters