Skip to content

Commit 081bb5d

Browse files
authored
Merge pull request #122 from dubinc/speakeasy-sdk-regen-1751761552
chore: 🐝 Update SDK - Generate 0.12.31
2 parents 3271dd6 + 9a5e073 commit 081bb5d

File tree

13 files changed

+75
-25
lines changed

13 files changed

+75
-25
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 5 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: 9cde19fee10d246922e255635d90eec7
4+
docChecksum: 6e45f3521cae083a495cc5102bf01725
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.573.0
7-
generationVersion: 2.644.1
8-
releaseVersion: 0.12.30
9-
configChecksum: e9916be8127ae104f65be9033c72d3a6
6+
speakeasyVersion: 1.576.1
7+
generationVersion: 2.651.2
8+
releaseVersion: 0.12.31
9+
configChecksum: 53f57d1e5d36bc404b1c8df2599e1a85
1010
repoURL: https://github.com/dubinc/dub-php.git
1111
installationURL: https://github.com/dubinc/dub-php
1212
published: true

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ generation:
2121
generateNewTests: false
2222
skipResponseBodyAssertions: false
2323
php:
24-
version: 0.12.30
24+
version: 0.12.31
2525
additionalDependencies:
2626
autoload: {}
2727
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.573.0
1+
speakeasyVersion: 1.576.1
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:022bfa911b327d9e3a50df08636cab214e39b06cac7a8e9df868f9db5d070618
6-
sourceBlobDigest: sha256:2557c17c084dd8384279d71cd463284694b69a4b248c35babaa6918802c3ecab
5+
sourceRevisionDigest: sha256:344a20354eb4589dbbd9980f9be560845334a5393b506fa2c861a836aa71a842
6+
sourceBlobDigest: sha256:c6e3421dbea43d0614284508b706e3763f3efb3c7a18e67d6514e04f531cd03c
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1750811000
9+
- speakeasy-sdk-regen-1751761552
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:022bfa911b327d9e3a50df08636cab214e39b06cac7a8e9df868f9db5d070618
16-
sourceBlobDigest: sha256:2557c17c084dd8384279d71cd463284694b69a4b248c35babaa6918802c3ecab
15+
sourceRevisionDigest: sha256:344a20354eb4589dbbd9980f9be560845334a5393b506fa2c861a836aa71a842
16+
sourceBlobDigest: sha256:c6e3421dbea43d0614284508b706e3763f3efb3c7a18e67d6514e04f531cd03c
1717
codeSamplesNamespace: code-samples-php-my-first-target
18-
codeSamplesRevisionDigest: sha256:5604687170d9f250ace412cc7efe2c03c13dcdb15108ae3c8d0bc4c1aa110844
18+
codeSamplesRevisionDigest: sha256:6c18d3e676bb0872ef4d412bc495c262fb25986969ccac1a9dbf3d902b2e1294
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
@@ -1130,4 +1130,14 @@ Based on:
11301130
### Generated
11311131
- [php v0.12.30] .
11321132
### Releases
1133-
- [Composer v0.12.30] https://packagist.org/packages/dub/dub-php#v0.12.30 - .
1133+
- [Composer v0.12.30] https://packagist.org/packages/dub/dub-php#v0.12.30 - .
1134+
1135+
## 2025-07-08 00:23:02
1136+
### Changes
1137+
Based on:
1138+
- OpenAPI Doc
1139+
- Speakeasy CLI 1.576.1 (2.651.2) https://github.com/speakeasy-api/speakeasy
1140+
### Generated
1141+
- [php v0.12.31] .
1142+
### Releases
1143+
- [Composer v0.12.31] https://packagist.org/packages/dub/dub-php#v0.12.31 - .

docs/Models/Operations/CreateCustomerDiscount.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
| `description` | *?string* | :heavy_minus_sign: | N/A |
1313
| `couponId` | *string* | :heavy_check_mark: | N/A |
1414
| `couponTestId` | *string* | :heavy_check_mark: | N/A |
15-
| `partnersCount` | *?float* | :heavy_minus_sign: | N/A |
15+
| `partnersCount` | *?float* | :heavy_minus_sign: | N/A |
16+
| `default` | *bool* | :heavy_check_mark: | N/A |

docs/Models/Operations/Discount.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
| `description` | *?string* | :heavy_minus_sign: | N/A |
1313
| `couponId` | *string* | :heavy_check_mark: | N/A |
1414
| `couponTestId` | *string* | :heavy_check_mark: | N/A |
15-
| `partnersCount` | *?float* | :heavy_minus_sign: | N/A |
15+
| `partnersCount` | *?float* | :heavy_minus_sign: | N/A |
16+
| `default` | *bool* | :heavy_check_mark: | N/A |

docs/Models/Operations/GetCustomerDiscount.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
| `description` | *?string* | :heavy_minus_sign: | N/A |
1313
| `couponId` | *string* | :heavy_check_mark: | N/A |
1414
| `couponTestId` | *string* | :heavy_check_mark: | N/A |
15-
| `partnersCount` | *?float* | :heavy_minus_sign: | N/A |
15+
| `partnersCount` | *?float* | :heavy_minus_sign: | N/A |
16+
| `default` | *bool* | :heavy_check_mark: | N/A |

docs/Models/Operations/UpdateCustomerDiscount.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
| `description` | *?string* | :heavy_minus_sign: | N/A |
1313
| `couponId` | *string* | :heavy_check_mark: | N/A |
1414
| `couponTestId` | *string* | :heavy_check_mark: | N/A |
15-
| `partnersCount` | *?float* | :heavy_minus_sign: | N/A |
15+
| `partnersCount` | *?float* | :heavy_minus_sign: | N/A |
16+
| `default` | *bool* | :heavy_check_mark: | N/A |

src/Models/Operations/CreateCustomerDiscount.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ class CreateCustomerDiscount
3333
#[\Speakeasy\Serializer\Annotation\Type('\Dub\Models\Operations\CreateCustomerType')]
3434
public CreateCustomerType $type;
3535

36+
/**
37+
*
38+
* @var bool $default
39+
*/
40+
#[\Speakeasy\Serializer\Annotation\SerializedName('default')]
41+
public bool $default;
42+
3643
/**
3744
*
3845
* @var ?float $maxDuration
@@ -74,18 +81,20 @@ class CreateCustomerDiscount
7481
* @param string $id
7582
* @param float $amount
7683
* @param CreateCustomerType $type
84+
* @param bool $default
7785
* @param ?float $maxDuration
7886
* @param ?string $couponId
7987
* @param ?string $couponTestId
8088
* @param ?string $description
8189
* @param ?float $partnersCount
8290
* @phpstan-pure
8391
*/
84-
public function __construct(string $id, float $amount, CreateCustomerType $type, ?float $maxDuration = null, ?string $couponId = null, ?string $couponTestId = null, ?string $description = null, ?float $partnersCount = null)
92+
public function __construct(string $id, float $amount, CreateCustomerType $type, bool $default, ?float $maxDuration = null, ?string $couponId = null, ?string $couponTestId = null, ?string $description = null, ?float $partnersCount = null)
8593
{
8694
$this->id = $id;
8795
$this->amount = $amount;
8896
$this->type = $type;
97+
$this->default = $default;
8998
$this->maxDuration = $maxDuration;
9099
$this->couponId = $couponId;
91100
$this->couponTestId = $couponTestId;

src/Models/Operations/Discount.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ class Discount
3333
#[\Speakeasy\Serializer\Annotation\Type('\Dub\Models\Operations\GetCustomersType')]
3434
public GetCustomersType $type;
3535

36+
/**
37+
*
38+
* @var bool $default
39+
*/
40+
#[\Speakeasy\Serializer\Annotation\SerializedName('default')]
41+
public bool $default;
42+
3643
/**
3744
*
3845
* @var ?float $maxDuration
@@ -74,18 +81,20 @@ class Discount
7481
* @param string $id
7582
* @param float $amount
7683
* @param GetCustomersType $type
84+
* @param bool $default
7785
* @param ?float $maxDuration
7886
* @param ?string $couponId
7987
* @param ?string $couponTestId
8088
* @param ?string $description
8189
* @param ?float $partnersCount
8290
* @phpstan-pure
8391
*/
84-
public function __construct(string $id, float $amount, GetCustomersType $type, ?float $maxDuration = null, ?string $couponId = null, ?string $couponTestId = null, ?string $description = null, ?float $partnersCount = null)
92+
public function __construct(string $id, float $amount, GetCustomersType $type, bool $default, ?float $maxDuration = null, ?string $couponId = null, ?string $couponTestId = null, ?string $description = null, ?float $partnersCount = null)
8593
{
8694
$this->id = $id;
8795
$this->amount = $amount;
8896
$this->type = $type;
97+
$this->default = $default;
8998
$this->maxDuration = $maxDuration;
9099
$this->couponId = $couponId;
91100
$this->couponTestId = $couponTestId;

0 commit comments

Comments
 (0)