Skip to content

Commit 8c0045b

Browse files
authored
Merge pull request #88 from dubinc/speakeasy-sdk-regen-1740961283
chore: 🐝 Update SDK - Generate 0.11.35
2 parents 920d034 + 207be82 commit 8c0045b

File tree

15 files changed

+102
-43
lines changed

15 files changed

+102
-43
lines changed

.speakeasy/gen.lock

Lines changed: 12 additions & 10 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
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: false
1717
php:
18-
version: 0.11.34
18+
version: 0.11.35
1919
additionalDependencies:
2020
autoload: {}
2121
autoload-dev: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.508.0
1+
speakeasyVersion: 1.508.1
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:f79ed71a4cdb9774077d17f6bf5b418d1a28412c45795e4976bf882236b5b279
6-
sourceBlobDigest: sha256:adedf20cbe668ed6bd859f2b03eb747d151a978f4dbcd1f321b9fe9662dda97f
5+
sourceRevisionDigest: sha256:7c411f859f26aca69c7ae4ff345693b59feef62d59ed18d666f3de167a5937e7
6+
sourceBlobDigest: sha256:3193a6aec6d02396c3e356e03d5748403f6f0809d7866fc39d969a278c4c1f78
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1740788530
9+
- speakeasy-sdk-regen-1740961283
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:f79ed71a4cdb9774077d17f6bf5b418d1a28412c45795e4976bf882236b5b279
16-
sourceBlobDigest: sha256:adedf20cbe668ed6bd859f2b03eb747d151a978f4dbcd1f321b9fe9662dda97f
15+
sourceRevisionDigest: sha256:7c411f859f26aca69c7ae4ff345693b59feef62d59ed18d666f3de167a5937e7
16+
sourceBlobDigest: sha256:3193a6aec6d02396c3e356e03d5748403f6f0809d7866fc39d969a278c4c1f78
1717
codeSamplesNamespace: code-samples-php-my-first-target
18-
codeSamplesRevisionDigest: sha256:042a8908c115b039f8eccf9a6ea3deb06eab89cb75f4bf053e4e5d593baa1d6f
18+
codeSamplesRevisionDigest: sha256:4a3b7e7d3b2f67053e9df36f29f29e1aff699bff3c72cd1f17a7940114a1f2d7
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,4 +790,14 @@ Based on:
790790
### Generated
791791
- [php v0.11.34] .
792792
### Releases
793-
- [Composer v0.11.34] https://packagist.org/packages/dub/dub-php#v0.11.34 - .
793+
- [Composer v0.11.34] https://packagist.org/packages/dub/dub-php#v0.11.34 - .
794+
795+
## 2025-03-03 00:21:07
796+
### Changes
797+
Based on:
798+
- OpenAPI Doc
799+
- Speakeasy CLI 1.508.1 (2.536.0) https://github.com/speakeasy-api/speakeasy
800+
### Generated
801+
- [php v0.11.35] .
802+
### Releases
803+
- [Composer v0.11.35] https://packagist.org/packages/dub/dub-php#v0.11.35 - .

docs/Models/Components/Discount.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- |
8-
| `id` | *string* | :heavy_check_mark: | N/A |
9-
| `amount` | *float* | :heavy_check_mark: | N/A |
10-
| `type` | [Components\Type](../../Models/Components/Type.md) | :heavy_check_mark: | N/A |
11-
| `couponId` | *string* | :heavy_check_mark: | N/A |
12-
| `couponTestId` | *string* | :heavy_check_mark: | N/A |
13-
| `duration` | *float* | :heavy_check_mark: | N/A |
14-
| `interval` | [Components\Interval](../../Models/Components/Interval.md) | :heavy_check_mark: | N/A |
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
8+
| `id` | *string* | :heavy_check_mark: | N/A |
9+
| `amount` | *float* | :heavy_check_mark: | N/A |
10+
| `type` | [Components\LeadEventType](../../Models/Components/LeadEventType.md) | :heavy_check_mark: | N/A |
11+
| `couponId` | *string* | :heavy_check_mark: | N/A |
12+
| `couponTestId` | *string* | :heavy_check_mark: | N/A |
13+
| `duration` | *float* | :heavy_check_mark: | N/A |
14+
| `interval` | [Components\Interval](../../Models/Components/Interval.md) | :heavy_check_mark: | N/A |

docs/Models/Components/FolderSchema.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
88
| `id` | *string* | :heavy_check_mark: | The unique ID of the folder. |
99
| `name` | *string* | :heavy_check_mark: | The name of the folder. |
10+
| `type` | [Components\Type](../../Models/Components/Type.md) | :heavy_check_mark: | N/A |
1011
| `createdAt` | *string* | :heavy_check_mark: | The date the folder was created. |
1112
| `updatedAt` | *string* | :heavy_check_mark: | The date the folder was updated. |
1213
| `linkCount` | *?float* | :heavy_minus_sign: | The number of links in the folder. |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# LeadEventType
2+
3+
4+
## Values
5+
6+
| Name | Value |
7+
| ------------ | ------------ |
8+
| `Percentage` | percentage |
9+
| `Flat` | flat |

docs/Models/Components/Type.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## Values
55

6-
| Name | Value |
7-
| ------------ | ------------ |
8-
| `Percentage` | percentage |
9-
| `Flat` | flat |
6+
| Name | Value |
7+
| --------- | --------- |
8+
| `Default` | default |
9+
| `Mega` | mega |

docs/Models/Components/WorkspaceSchema.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
| `slug` | *string* | :heavy_check_mark: | The slug of the workspace. | |
1111
| `plan` | [Components\Plan](../../Models/Components/Plan.md) | :heavy_check_mark: | The plan of the workspace. | |
1212
| `billingCycleStart` | *float* | :heavy_check_mark: | The date and time when the billing cycle starts for the workspace. | |
13+
| `totalLinks` | *float* | :heavy_check_mark: | The total number of links in the workspace. | |
1314
| `usage` | *float* | :heavy_check_mark: | The usage of the workspace. | |
1415
| `usageLimit` | *float* | :heavy_check_mark: | The usage limit of the workspace. | |
1516
| `linksUsage` | *float* | :heavy_check_mark: | The links usage of the workspace. | |

src/Models/Components/Discount.php

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

2828
/**
2929
*
30-
* @var Type $type
30+
* @var LeadEventType $type
3131
*/
3232
#[\Speakeasy\Serializer\Annotation\SerializedName('type')]
33-
#[\Speakeasy\Serializer\Annotation\Type('\Dub\Models\Components\Type')]
34-
public Type $type;
33+
#[\Speakeasy\Serializer\Annotation\Type('\Dub\Models\Components\LeadEventType')]
34+
public LeadEventType $type;
3535

3636
/**
3737
*
@@ -65,14 +65,14 @@ class Discount
6565
/**
6666
* @param string $id
6767
* @param float $amount
68-
* @param Type $type
68+
* @param LeadEventType $type
6969
* @param ?string $couponId
7070
* @param ?string $couponTestId
7171
* @param ?float $duration
7272
* @param ?Interval $interval
7373
* @phpstan-pure
7474
*/
75-
public function __construct(string $id, float $amount, Type $type, ?string $couponId = null, ?string $couponTestId = null, ?float $duration = null, ?Interval $interval = null)
75+
public function __construct(string $id, float $amount, LeadEventType $type, ?string $couponId = null, ?string $couponTestId = null, ?float $duration = null, ?Interval $interval = null)
7676
{
7777
$this->id = $id;
7878
$this->amount = $amount;

0 commit comments

Comments
 (0)