Skip to content

Commit c0e73b3

Browse files
authored
Merge pull request #42 from dubinc/speakeasy-sdk-regen-1729210746
chore: 🐝 Update SDK - Generate 0.8.3
2 parents 078fdce + c36d4b5 commit c0e73b3

File tree

7 files changed

+49
-28
lines changed

7 files changed

+49
-28
lines changed

.speakeasy/gen.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 43187d3e-7c3c-4c11-b5d4-4b2334fb6d96
33
management:
4-
docChecksum: 8e16a6ad2773fc570daf1ee5754298d1
4+
docChecksum: c88acc42c7fc51806ffd58748f95557d
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.418.4
6+
speakeasyVersion: 1.419.0
77
generationVersion: 2.438.3
8-
releaseVersion: 0.8.2
9-
configChecksum: 723d6a9311351b6a69996e0301c795f8
8+
releaseVersion: 0.8.3
9+
configChecksum: 546a3ae32f0a7bc170b0578cdbada0bc
1010
repoURL: https://github.com/dubinc/dub-php.git
1111
installationURL: https://github.com/dubinc/dub-php
1212
published: true
@@ -825,7 +825,7 @@ examples:
825825
idOrSlug: "<value>"
826826
responses:
827827
"200":
828-
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>"}
828+
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>"}
829829
"400":
830830
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
831831
"401":
@@ -851,7 +851,7 @@ examples:
851851
idOrSlug: "<value>"
852852
responses:
853853
"200":
854-
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>"}
854+
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>"}
855855
"400":
856856
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
857857
"401":

.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: true
1414
php:
15-
version: 0.8.2
15+
version: 0.8.3
1616
clientServerStatusCodesAsErrors: true
1717
flattenGlobalSecurity: true
1818
imports:

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
speakeasyVersion: 1.418.4
1+
speakeasyVersion: 1.419.0
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:d28f693d697cc9d7457d69e7a611db5bde897f5f30b8eb38a3c37df0fda4e926
6-
sourceBlobDigest: sha256:eb6f87b3a530aa265d333302f91d616540dbf54790e4eabd2d287b764f06e3de
5+
sourceRevisionDigest: sha256:df51d1cacbe180a0c48dad4c36f66fe578c6be5ee40dbd21ed3c193a34d3169e
6+
sourceBlobDigest: sha256:b5e69d33a0ab8e1b2ad0d824738e50104cb4ca26cd08b7f9626db5c63c4d686b
77
tags:
88
- latest
99
- main
1010
targets:
1111
my-first-target:
1212
source: dub
1313
sourceNamespace: dub
14-
sourceRevisionDigest: sha256:d28f693d697cc9d7457d69e7a611db5bde897f5f30b8eb38a3c37df0fda4e926
15-
sourceBlobDigest: sha256:eb6f87b3a530aa265d333302f91d616540dbf54790e4eabd2d287b764f06e3de
14+
sourceRevisionDigest: sha256:df51d1cacbe180a0c48dad4c36f66fe578c6be5ee40dbd21ed3c193a34d3169e
15+
sourceBlobDigest: sha256:b5e69d33a0ab8e1b2ad0d824738e50104cb4ca26cd08b7f9626db5c63c4d686b
1616
codeSamplesNamespace: code-samples-php-my-first-target
17-
codeSamplesRevisionDigest: sha256:e3c5beda98d8af0f477fb2ed7d05936618f7c474ffb70453b3d32ad4f76562c7
17+
codeSamplesRevisionDigest: sha256:a0ebe9c70db280258be6e8631bf5582acc5afab1c8a4812372c7e6b7ddf64393
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,4 +330,14 @@ Based on:
330330
### Generated
331331
- [php v0.8.2] .
332332
### Releases
333-
- [Composer v0.8.2] https://packagist.org/packages/dub/dub-php#v0.8.2 - .
333+
- [Composer v0.8.2] https://packagist.org/packages/dub/dub-php#v0.8.2 - .
334+
335+
## 2024-10-18 00:19:01
336+
### Changes
337+
Based on:
338+
- OpenAPI Doc
339+
- Speakeasy CLI 1.419.0 (2.438.3) https://github.com/speakeasy-api/speakeasy
340+
### Generated
341+
- [php v0.8.3] .
342+
### Releases
343+
- [Composer v0.8.3] https://packagist.org/packages/dub/dub-php#v0.8.3 - .

docs/Models/Components/WorkspaceSchema.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@
2626
| `createdAt` | *string* | :heavy_check_mark: | The date and time when the workspace was created. |
2727
| `users` | array<[Components\Users](../../Models/Components/Users.md)> | :heavy_check_mark: | The role of the authenticated user in the workspace. |
2828
| `domains` | array<[Components\Domains](../../Models/Components/Domains.md)> | :heavy_check_mark: | The domains of the workspace. |
29+
| `inviteCode` | *string* | :heavy_check_mark: | The invite code of the workspace. |
2930
| `stripeId` | *string* | :heavy_check_mark: | The Stripe ID of the workspace. |
31+
| `paymentFailedAt` | *string* | :heavy_check_mark: | The date and time when the payment failed for the workspace. |
3032
| `stripeConnectId` | *string* | :heavy_check_mark: | [BETA]: The Stripe Connect ID of the workspace. |
31-
| `inviteCode` | *string* | :heavy_check_mark: | The invite code of the workspace. |
3233
| `referralLinkId` | *string* | :heavy_check_mark: | The ID of the referral link of the workspace. |
3334
| `flags` | array<string, *bool*> | :heavy_minus_sign: | The feature flags of the workspace, indicating which features are enabled. |
3435
| `publishableKey` | *string* | :heavy_check_mark: | The publishable key of the workspace. |

src/Models/Components/WorkspaceSchema.php

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ class WorkspaceSchema
4444
#[\JMS\Serializer\Annotation\SkipWhenNull]
4545
public ?string $logo = null;
4646

47+
/**
48+
* The invite code of the workspace.
49+
*
50+
* @var ?string $inviteCode
51+
*/
52+
#[\JMS\Serializer\Annotation\SerializedName('inviteCode')]
53+
public ?string $inviteCode;
54+
4755
/**
4856
* The plan of the workspace.
4957
*
@@ -70,20 +78,20 @@ class WorkspaceSchema
7078
public float $billingCycleStart;
7179

7280
/**
73-
* [BETA]: The Stripe Connect ID of the workspace.
81+
* The date and time when the payment failed for the workspace.
7482
*
75-
* @var ?string $stripeConnectId
83+
* @var ?string $paymentFailedAt
7684
*/
77-
#[\JMS\Serializer\Annotation\SerializedName('stripeConnectId')]
78-
public ?string $stripeConnectId;
85+
#[\JMS\Serializer\Annotation\SerializedName('paymentFailedAt')]
86+
public ?string $paymentFailedAt;
7987

8088
/**
81-
* The invite code of the workspace.
89+
* [BETA]: The Stripe Connect ID of the workspace.
8290
*
83-
* @var ?string $inviteCode
91+
* @var ?string $stripeConnectId
8492
*/
85-
#[\JMS\Serializer\Annotation\SerializedName('inviteCode')]
86-
public ?string $inviteCode;
93+
#[\JMS\Serializer\Annotation\SerializedName('stripeConnectId')]
94+
public ?string $stripeConnectId;
8795

8896
/**
8997
* The usage of the workspace.
@@ -263,15 +271,16 @@ class WorkspaceSchema
263271
* @param string $createdAt
264272
* @param array<Users> $users
265273
* @param array<Domains> $domains
274+
* @param ?string $inviteCode
266275
* @param ?string $stripeId
276+
* @param ?string $paymentFailedAt
267277
* @param ?string $stripeConnectId
268-
* @param ?string $inviteCode
269278
* @param ?string $referralLinkId
270279
* @param ?array<string, bool> $flags
271280
* @param ?string $publishableKey
272281
* @param ?string $logo
273282
*/
274-
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)
283+
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)
275284
{
276285
$this->id = $id;
277286
$this->name = $name;
@@ -294,9 +303,10 @@ public function __construct(string $id, string $name, string $slug, Plan $plan,
294303
$this->createdAt = $createdAt;
295304
$this->users = $users;
296305
$this->domains = $domains;
306+
$this->inviteCode = $inviteCode;
297307
$this->stripeId = $stripeId;
308+
$this->paymentFailedAt = $paymentFailedAt;
298309
$this->stripeConnectId = $stripeConnectId;
299-
$this->inviteCode = $inviteCode;
300310
$this->referralLinkId = $referralLinkId;
301311
$this->flags = $flags;
302312
$this->publishableKey = $publishableKey;

src/SDKConfiguration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ class SDKConfiguration
2727

2828
public string $openapiDocVersion = '0.0.1';
2929

30-
public string $sdkVersion = '0.8.2';
30+
public string $sdkVersion = '0.8.3';
3131

3232
public string $genVersion = '2.438.3';
3333

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

3636
public function getServerUrl(): string
3737
{

0 commit comments

Comments
 (0)