Skip to content

Commit fe3d842

Browse files
authored
Merge pull request #140 from dubinc/speakeasy-sdk-regen-1770424183
chore: 🐝 Update SDK - Generate 0.15.4
2 parents d0a3997 + a447f58 commit fe3d842

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1682
-49
lines changed

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 195 additions & 28 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
@@ -28,7 +28,7 @@ generation:
2828
generateNewTests: false
2929
skipResponseBodyAssertions: false
3030
php:
31-
version: 0.15.3
31+
version: 0.15.4
3232
additionalDependencies:
3333
autoload: {}
3434
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.703.0
1+
speakeasyVersion: 1.709.1
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:697c8b1a358a102d63b28241c37e5d2a7f06aa5f7e96e267cdf41f3e7c963118
6-
sourceBlobDigest: sha256:95552af2deba5b090f84a546ce6da63a5a2e7584ad345eebfc21927503f90b40
5+
sourceRevisionDigest: sha256:81dd03f25ffec86dbe5a06d476c9b3538f197d3fc21167596f246ea1c1655212
6+
sourceBlobDigest: sha256:46d7165333fc9b9bdd809c12c5ee974125578a995d262142ae0c1baf9ae71446
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1768436804
9+
- speakeasy-sdk-regen-1770424183
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:697c8b1a358a102d63b28241c37e5d2a7f06aa5f7e96e267cdf41f3e7c963118
16-
sourceBlobDigest: sha256:95552af2deba5b090f84a546ce6da63a5a2e7584ad345eebfc21927503f90b40
15+
sourceRevisionDigest: sha256:81dd03f25ffec86dbe5a06d476c9b3538f197d3fc21167596f246ea1c1655212
16+
sourceBlobDigest: sha256:46d7165333fc9b9bdd809c12c5ee974125578a995d262142ae0c1baf9ae71446
1717
codeSamplesNamespace: code-samples-php-my-first-target
18-
codeSamplesRevisionDigest: sha256:40e671b15245a5bd22f20eb2c75012ebc75d020945fa0d4cdd74fb786262ef92
18+
codeSamplesRevisionDigest: sha256:649f6861400e7bc34abaf4b58111f10f02998b448513b29bb01e6007fed69ff0
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

β€ŽREADME.mdβ€Ž

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ if ($response->linkSchema !== null) {
203203

204204
### [Commissions](docs/sdks/commissions/README.md)
205205

206-
* [list](docs/sdks/commissions/README.md#list) - Get commissions for a program.
206+
* [list](docs/sdks/commissions/README.md#list) - List all commissions
207207
* [update](docs/sdks/commissions/README.md#update) - Update a commission.
208208

209209
### [Customers](docs/sdks/customers/README.md)
@@ -261,6 +261,10 @@ if ($response->linkSchema !== null) {
261261
* [ban](docs/sdks/partners/README.md#ban) - Ban a partner
262262
* [deactivate](docs/sdks/partners/README.md#deactivate) - Deactivate a partner
263263

264+
### [Payouts](docs/sdks/payouts/README.md)
265+
266+
* [list](docs/sdks/payouts/README.md#list) - List all payouts
267+
264268
### [QRCodes](docs/sdks/qrcodes/README.md)
265269

266270
* [get](docs/sdks/qrcodes/README.md#get) - Retrieve a QR code

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1290,4 +1290,14 @@ Based on:
12901290
### Generated
12911291
- [php v0.15.3] .
12921292
### Releases
1293-
- [Composer v0.15.3] https://packagist.org/packages/dub/dub-php#v0.15.3 - .
1293+
- [Composer v0.15.3] https://packagist.org/packages/dub/dub-php#v0.15.3 - .
1294+
1295+
## 2026-02-09 23:50:10
1296+
### Changes
1297+
Based on:
1298+
- OpenAPI Doc
1299+
- Speakeasy CLI 1.709.1 (2.812.2) https://github.com/speakeasy-api/speakeasy
1300+
### Generated
1301+
- [php v0.15.4] .
1302+
### Releases
1303+
- [Composer v0.15.4] https://packagist.org/packages/dub/dub-php#v0.15.4 - .

β€ŽcodeSamples.yamlβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,12 @@ actions:
237237
- "lang": "php"
238238
"label": "upsertPartnerLink"
239239
"source": "declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse Dub;\nuse Dub\\Models\\Operations;\n\n$sdk = Dub\\Dub::builder()\n ->setSecurity(\n 'DUB_API_KEY'\n )\n ->build();\n\n$request = new Operations\\UpsertPartnerLinkRequestBody(\n url: 'https://bad-intent.org/',\n linkProps: new Operations\\UpsertPartnerLinkLinkProps(\n externalId: '123456',\n tagIds: [\n 'clux0rgak00011...',\n ],\n testVariants: [\n new Operations\\UpsertPartnerLinkTestVariants(\n url: 'https://example.com/variant-1',\n percentage: 50,\n ),\n new Operations\\UpsertPartnerLinkTestVariants(\n url: 'https://example.com/variant-2',\n percentage: 50,\n ),\n ],\n ),\n);\n\n$response = $sdk->partners->upsertLink(\n request: $request\n);\n\nif ($response->linkSchema !== null) {\n // handle response\n}"
240+
- target: $["paths"]["/payouts"]["get"]
241+
update:
242+
"x-codeSamples":
243+
- "lang": "php"
244+
"label": "listPayouts"
245+
"source": "declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse Dub;\nuse Dub\\Models\\Operations;\n\n$sdk = Dub\\Dub::builder()\n ->setSecurity(\n 'DUB_API_KEY'\n )\n ->build();\n\n$request = new Operations\\ListPayoutsRequest(\n pageSize: 50,\n);\n\n$response = $sdk->payouts->list(\n request: $request\n);\n\nif ($response->responseBodies !== null) {\n // handle response\n}"
240246
- target: $["paths"]["/qr"]["get"]
241247
update:
242248
"x-codeSamples":
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# IndustryInterests
2+
3+
4+
## Values
5+
6+
| Name | Value |
7+
| ---------------------------- | ---------------------------- |
8+
| `SaaS` | SaaS |
9+
| `DevTool` | DevTool |
10+
| `Ai` | AI |
11+
| `CreativeAndDesign` | Creative_And_Design |
12+
| `ProductivitySoftware` | Productivity_Software |
13+
| `Marketing` | Marketing |
14+
| `Gaming` | Gaming |
15+
| `Finance` | Finance |
16+
| `Sales` | Sales |
17+
| `Ecommerce` | Ecommerce |
18+
| `CustomerServiceAndSupport` | Customer_Service_And_Support |
19+
| `ContentManagement` | Content_Management |
20+
| `HumanResources` | Human_Resources |
21+
| `Security` | Security |
22+
| `AnalyticsAndData` | Analytics_And_Data |
23+
| `SocialMedia` | Social_Media |
24+
| `ConsumerTech` | Consumer_Tech |
25+
| `EducationAndLearning` | Education_And_Learning |
26+
| `HealthAndFitness` | Health_And_Fitness |
27+
| `FoodAndBeverage` | Food_And_Beverage |
28+
| `TravelAndLifestyle` | Travel_And_Lifestyle |
29+
| `EntertainmentAndMedia` | Entertainment_And_Media |
30+
| `Sports` | Sports |
31+
| `ScienceAndEngineering` | Science_And_Engineering |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# InvoiceSettings
2+
3+
The partner's invoice settings.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ------------------ | ------------------ | ------------------ | ------------------ |
10+
| `address` | *?string* | :heavy_minus_sign: | N/A |
11+
| `taxId` | *?string* | :heavy_minus_sign: | N/A |

β€Ždocs/Models/Operations/ListBountySubmissionsRequest.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
| Field | Type | Required | Description | Example |
77
| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
8-
| `bountyId` | *string* | :heavy_check_mark: | The ID of the bounty | |
8+
| `bountyId` | *string* | :heavy_check_mark: | The unique ID of the bounty on Dub. Can be found in the URL of the bounty page, prefixed with `bnty_`. | |
99
| `status` | [?Operations\ListBountySubmissionsQueryParamStatus](../../Models/Operations/ListBountySubmissionsQueryParamStatus.md) | :heavy_minus_sign: | The status of the submissions to list. | |
1010
| `groupId` | *?string* | :heavy_minus_sign: | The ID of the group to list submissions for. | |
1111
| `partnerId` | *?string* | :heavy_minus_sign: | The ID of the partner to list submissions for. | |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# ListPayoutsMode
2+
3+
4+
## Values
5+
6+
| Name | Value |
7+
| ---------- | ---------- |
8+
| `Internal` | internal |
9+
| `External` | external |

0 commit comments

Comments
Β (0)