Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.419.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Oct 18, 2024
1 parent 078fdce commit c36d4b5
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 28 deletions.
12 changes: 6 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 43187d3e-7c3c-4c11-b5d4-4b2334fb6d96
management:
docChecksum: 8e16a6ad2773fc570daf1ee5754298d1
docChecksum: c88acc42c7fc51806ffd58748f95557d
docVersion: 0.0.1
speakeasyVersion: 1.418.4
speakeasyVersion: 1.419.0
generationVersion: 2.438.3
releaseVersion: 0.8.2
configChecksum: 723d6a9311351b6a69996e0301c795f8
releaseVersion: 0.8.3
configChecksum: 546a3ae32f0a7bc170b0578cdbada0bc
repoURL: https://github.com/dubinc/dub-php.git
installationURL: https://github.com/dubinc/dub-php
published: true
Expand Down Expand Up @@ -825,7 +825,7 @@ examples:
idOrSlug: "<value>"
responses:
"200":
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": "<value>", "plan": "business extra", "stripeId": "<value>", "billingCycleStart": "900.65", "stripeConnectId": "<value>", "inviteCode": "<value>", "usage": "5588.34", "usageLimit": "8441.99", "linksUsage": "5442.21", "linksLimit": "8306.36", "salesUsage": "5212.35", "salesLimit": "785.92", "domainsLimit": "9699.61", "tagsLimit": "8661.61", "usersLimit": "4580.49", "aiUsage": "7352.87", "aiLimit": "4508.24", "referralLinkId": "<value>", "conversionEnabled": true, "dotLinkClaimed": true, "createdAt": "<value>", "users": [], "domains": [], "publishableKey": "<value>"}
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": "<value>", "inviteCode": "<value>", "plan": "business extra", "stripeId": "<value>", "billingCycleStart": "900.65", "paymentFailedAt": "<value>", "stripeConnectId": "<value>", "usage": "5588.34", "usageLimit": "8441.99", "linksUsage": "5442.21", "linksLimit": "8306.36", "salesUsage": "5212.35", "salesLimit": "785.92", "domainsLimit": "9699.61", "tagsLimit": "8661.61", "usersLimit": "4580.49", "aiUsage": "7352.87", "aiLimit": "4508.24", "referralLinkId": "<value>", "conversionEnabled": true, "dotLinkClaimed": true, "createdAt": "<value>", "users": [], "domains": [], "publishableKey": "<value>"}
"400":
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
"401":
Expand All @@ -851,7 +851,7 @@ examples:
idOrSlug: "<value>"
responses:
"200":
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": "<value>", "plan": "enterprise", "stripeId": "<value>", "billingCycleStart": "245.55", "stripeConnectId": "<value>", "inviteCode": "<value>", "usage": "5971.29", "usageLimit": "156.52", "linksUsage": "3446.2", "linksLimit": "7084.55", "salesUsage": "9914.64", "salesLimit": "2703.24", "domainsLimit": "6276.9", "tagsLimit": "6841.99", "usersLimit": "4888.52", "aiUsage": "4430.76", "aiLimit": "9840.08", "referralLinkId": "<value>", "conversionEnabled": false, "dotLinkClaimed": false, "createdAt": "<value>", "users": [], "domains": [], "publishableKey": "<value>"}
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": "<value>", "inviteCode": "<value>", "plan": "enterprise", "stripeId": "<value>", "billingCycleStart": "245.55", "paymentFailedAt": "<value>", "stripeConnectId": "<value>", "usage": "5971.29", "usageLimit": "156.52", "linksUsage": "3446.2", "linksLimit": "7084.55", "salesUsage": "9914.64", "salesLimit": "2703.24", "domainsLimit": "6276.9", "tagsLimit": "6841.99", "usersLimit": "4888.52", "aiUsage": "4430.76", "aiLimit": "9840.08", "referralLinkId": "<value>", "conversionEnabled": false, "dotLinkClaimed": false, "createdAt": "<value>", "users": [], "domains": [], "publishableKey": "<value>"}
"400":
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
"401":
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
php:
version: 0.8.2
version: 0.8.3
clientServerStatusCodesAsErrors: true
flattenGlobalSecurity: true
imports:
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.418.4
speakeasyVersion: 1.419.0
sources:
dub:
sourceNamespace: dub
sourceRevisionDigest: sha256:d28f693d697cc9d7457d69e7a611db5bde897f5f30b8eb38a3c37df0fda4e926
sourceBlobDigest: sha256:eb6f87b3a530aa265d333302f91d616540dbf54790e4eabd2d287b764f06e3de
sourceRevisionDigest: sha256:df51d1cacbe180a0c48dad4c36f66fe578c6be5ee40dbd21ed3c193a34d3169e
sourceBlobDigest: sha256:b5e69d33a0ab8e1b2ad0d824738e50104cb4ca26cd08b7f9626db5c63c4d686b
tags:
- latest
- main
targets:
my-first-target:
source: dub
sourceNamespace: dub
sourceRevisionDigest: sha256:d28f693d697cc9d7457d69e7a611db5bde897f5f30b8eb38a3c37df0fda4e926
sourceBlobDigest: sha256:eb6f87b3a530aa265d333302f91d616540dbf54790e4eabd2d287b764f06e3de
sourceRevisionDigest: sha256:df51d1cacbe180a0c48dad4c36f66fe578c6be5ee40dbd21ed3c193a34d3169e
sourceBlobDigest: sha256:b5e69d33a0ab8e1b2ad0d824738e50104cb4ca26cd08b7f9626db5c63c4d686b
codeSamplesNamespace: code-samples-php-my-first-target
codeSamplesRevisionDigest: sha256:e3c5beda98d8af0f477fb2ed7d05936618f7c474ffb70453b3d32ad4f76562c7
codeSamplesRevisionDigest: sha256:a0ebe9c70db280258be6e8631bf5582acc5afab1c8a4812372c7e6b7ddf64393
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,4 +330,14 @@ Based on:
### Generated
- [php v0.8.2] .
### Releases
- [Composer v0.8.2] https://packagist.org/packages/dub/dub-php#v0.8.2 - .
- [Composer v0.8.2] https://packagist.org/packages/dub/dub-php#v0.8.2 - .

## 2024-10-18 00:19:01
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.419.0 (2.438.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.8.3] .
### Releases
- [Composer v0.8.3] https://packagist.org/packages/dub/dub-php#v0.8.3 - .
3 changes: 2 additions & 1 deletion docs/Models/Components/WorkspaceSchema.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@
| `createdAt` | *string* | :heavy_check_mark: | The date and time when the workspace was created. |
| `users` | array<[Components\Users](../../Models/Components/Users.md)> | :heavy_check_mark: | The role of the authenticated user in the workspace. |
| `domains` | array<[Components\Domains](../../Models/Components/Domains.md)> | :heavy_check_mark: | The domains of the workspace. |
| `inviteCode` | *string* | :heavy_check_mark: | The invite code of the workspace. |
| `stripeId` | *string* | :heavy_check_mark: | The Stripe ID of the workspace. |
| `paymentFailedAt` | *string* | :heavy_check_mark: | The date and time when the payment failed for the workspace. |
| `stripeConnectId` | *string* | :heavy_check_mark: | [BETA]: The Stripe Connect ID of the workspace. |
| `inviteCode` | *string* | :heavy_check_mark: | The invite code of the workspace. |
| `referralLinkId` | *string* | :heavy_check_mark: | The ID of the referral link of the workspace. |
| `flags` | array<string, *bool*> | :heavy_minus_sign: | The feature flags of the workspace, indicating which features are enabled. |
| `publishableKey` | *string* | :heavy_check_mark: | The publishable key of the workspace. |
Expand Down
32 changes: 21 additions & 11 deletions src/Models/Components/WorkspaceSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ class WorkspaceSchema
#[\JMS\Serializer\Annotation\SkipWhenNull]
public ?string $logo = null;

/**
* The invite code of the workspace.
*
* @var ?string $inviteCode
*/
#[\JMS\Serializer\Annotation\SerializedName('inviteCode')]
public ?string $inviteCode;

/**
* The plan of the workspace.
*
Expand All @@ -70,20 +78,20 @@ class WorkspaceSchema
public float $billingCycleStart;

/**
* [BETA]: The Stripe Connect ID of the workspace.
* The date and time when the payment failed for the workspace.
*
* @var ?string $stripeConnectId
* @var ?string $paymentFailedAt
*/
#[\JMS\Serializer\Annotation\SerializedName('stripeConnectId')]
public ?string $stripeConnectId;
#[\JMS\Serializer\Annotation\SerializedName('paymentFailedAt')]
public ?string $paymentFailedAt;

/**
* The invite code of the workspace.
* [BETA]: The Stripe Connect ID of the workspace.
*
* @var ?string $inviteCode
* @var ?string $stripeConnectId
*/
#[\JMS\Serializer\Annotation\SerializedName('inviteCode')]
public ?string $inviteCode;
#[\JMS\Serializer\Annotation\SerializedName('stripeConnectId')]
public ?string $stripeConnectId;

/**
* The usage of the workspace.
Expand Down Expand Up @@ -263,15 +271,16 @@ class WorkspaceSchema
* @param string $createdAt
* @param array<Users> $users
* @param array<Domains> $domains
* @param ?string $inviteCode
* @param ?string $stripeId
* @param ?string $paymentFailedAt
* @param ?string $stripeConnectId
* @param ?string $inviteCode
* @param ?string $referralLinkId
* @param ?array<string, bool> $flags
* @param ?string $publishableKey
* @param ?string $logo
*/
public function __construct(string $id, string $name, string $slug, Plan $plan, float $billingCycleStart, float $usage, float $usageLimit, float $linksUsage, float $linksLimit, float $salesUsage, float $salesLimit, float $domainsLimit, float $tagsLimit, float $usersLimit, float $aiUsage, float $aiLimit, bool $conversionEnabled, bool $dotLinkClaimed, string $createdAt, array $users, array $domains, ?string $stripeId = null, ?string $stripeConnectId = null, ?string $inviteCode = null, ?string $referralLinkId = null, ?array $flags = null, ?string $publishableKey = null, ?string $logo = null)
public function __construct(string $id, string $name, string $slug, Plan $plan, float $billingCycleStart, float $usage, float $usageLimit, float $linksUsage, float $linksLimit, float $salesUsage, float $salesLimit, float $domainsLimit, float $tagsLimit, float $usersLimit, float $aiUsage, float $aiLimit, bool $conversionEnabled, bool $dotLinkClaimed, string $createdAt, array $users, array $domains, ?string $inviteCode = null, ?string $stripeId = null, ?string $paymentFailedAt = null, ?string $stripeConnectId = null, ?string $referralLinkId = null, ?array $flags = null, ?string $publishableKey = null, ?string $logo = null)
{
$this->id = $id;
$this->name = $name;
Expand All @@ -294,9 +303,10 @@ public function __construct(string $id, string $name, string $slug, Plan $plan,
$this->createdAt = $createdAt;
$this->users = $users;
$this->domains = $domains;
$this->inviteCode = $inviteCode;
$this->stripeId = $stripeId;
$this->paymentFailedAt = $paymentFailedAt;
$this->stripeConnectId = $stripeConnectId;
$this->inviteCode = $inviteCode;
$this->referralLinkId = $referralLinkId;
$this->flags = $flags;
$this->publishableKey = $publishableKey;
Expand Down
4 changes: 2 additions & 2 deletions src/SDKConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ class SDKConfiguration

public string $openapiDocVersion = '0.0.1';

public string $sdkVersion = '0.8.2';
public string $sdkVersion = '0.8.3';

public string $genVersion = '2.438.3';

public string $userAgent = 'speakeasy-sdk/php 0.8.2 2.438.3 0.0.1 dub/dub-php';
public string $userAgent = 'speakeasy-sdk/php 0.8.3 2.438.3 0.0.1 dub/dub-php';

public function getServerUrl(): string
{
Expand Down

0 comments on commit c36d4b5

Please sign in to comment.