Skip to content

Commit c6f3ab0

Browse files
authored
Merge pull request #130 from dubinc/speakeasy-sdk-regen-1756513257
chore: 🐝 Update SDK - Generate 0.13.2
2 parents 1df57c7 + 3ca859c commit c6f3ab0

File tree

15 files changed

+182
-58
lines changed

15 files changed

+182
-58
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.env
2+
.env.local
13
**/.speakeasy/temp/
24
**/.speakeasy/logs/
35
.speakeasy/temp/

.speakeasy/gen.lock

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: 43187d3e-7c3c-4c11-b5d4-4b2334fb6d96
33
management:
4-
docChecksum: b064e9938ff571586b1d703bf639a40f
4+
docChecksum: 54c12f37004dd851733d9c6060b4addb
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.606.3
7-
generationVersion: 2.687.1
8-
releaseVersion: 0.13.1
9-
configChecksum: 847c722e4e62211abcc6fc7329259cb2
6+
speakeasyVersion: 1.615.0
7+
generationVersion: 2.698.0
8+
releaseVersion: 0.13.2
9+
configChecksum: dc8ce0c4080b3bd6e2ce4544f12d237b
1010
repoURL: https://github.com/dubinc/dub-php.git
1111
installationURL: https://github.com/dubinc/dub-php
1212
published: true
1313
features:
1414
php:
1515
constsAndDefaults: 0.2.0
16-
core: 3.8.9
16+
core: 3.8.10
1717
deprecations: 2.81.1
1818
errors: 0.3.0
1919
examples: 2.81.6
@@ -1380,7 +1380,7 @@ examples:
13801380
application/json: {"slug": "acme.com", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub"}
13811381
responses:
13821382
"201":
1383-
application/json: {"id": "<id>", "slug": "acme.com", "verified": false, "primary": false, "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "assetLinks": null, "appleAppSiteAssociation": null, "logo": "<value>", "createdAt": "1731942494392", "updatedAt": "1747534694534", "registeredDomain": {"id": "<id>", "autoRenewalDisabledAt": "<value>", "createdAt": "1718626088011", "expiresAt": "1770609789788", "renewalFee": 1289.07}}
1383+
application/json: {"id": "<id>", "slug": "acme.com", "verified": false, "primary": false, "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "logo": "<value>", "assetLinks": null, "appleAppSiteAssociation": null, "createdAt": "1731942494392", "updatedAt": "1747534694534", "registeredDomain": {"id": "<id>", "autoRenewalDisabledAt": "<value>", "createdAt": "1718626088011", "expiresAt": "1770609789788", "renewalFee": 1289.07}}
13841384
"400":
13851385
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
13861386
"401":
@@ -1408,7 +1408,7 @@ examples:
14081408
pageSize: 50
14091409
responses:
14101410
"200":
1411-
application/json: [{"id": "<id>", "slug": "acme.com", "verified": false, "primary": false, "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "assetLinks": null, "appleAppSiteAssociation": null, "logo": "<value>", "createdAt": "1745215100135", "updatedAt": "1747576673495", "registeredDomain": {"id": "<id>", "autoRenewalDisabledAt": "<value>", "createdAt": "1723832323745", "expiresAt": "1749463542538", "renewalFee": 9240.6}}]
1411+
application/json: [{"id": "<id>", "slug": "acme.com", "verified": false, "primary": false, "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "logo": "<value>", "assetLinks": null, "appleAppSiteAssociation": null, "createdAt": "1745215100135", "updatedAt": "1747576673495", "registeredDomain": {"id": "<id>", "autoRenewalDisabledAt": "<value>", "createdAt": "1723832323745", "expiresAt": "1749463542538", "renewalFee": 9240.6}}]
14121412
"400":
14131413
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
14141414
"401":
@@ -1436,7 +1436,7 @@ examples:
14361436
application/json: {"slug": "acme.com", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub"}
14371437
responses:
14381438
"200":
1439-
application/json: {"id": "<id>", "slug": "acme.com", "verified": false, "primary": false, "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "assetLinks": null, "appleAppSiteAssociation": null, "logo": "<value>", "createdAt": "1740765869970", "updatedAt": "1747566453491", "registeredDomain": {"id": "<id>", "autoRenewalDisabledAt": "<value>", "createdAt": "1732369408339", "expiresAt": "1760645363082", "renewalFee": 4964.92}}
1439+
application/json: {"id": "<id>", "slug": "acme.com", "verified": false, "primary": false, "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "logo": "<value>", "assetLinks": null, "appleAppSiteAssociation": null, "createdAt": "1740765869970", "updatedAt": "1747566453491", "registeredDomain": {"id": "<id>", "autoRenewalDisabledAt": "<value>", "createdAt": "1732369408339", "expiresAt": "1760645363082", "renewalFee": 4964.92}}
14401440
"400":
14411441
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
14421442
"401":
@@ -1509,7 +1509,7 @@ examples:
15091509
trackSale:
15101510
speakeasy-default-track-sale:
15111511
requestBody:
1512-
application/json: {"customerExternalId": "<id>", "amount": 594903, "currency": "usd", "eventName": "Invoice paid", "paymentProcessor": "custom", "invoiceId": null, "leadEventName": "Cloned template 1481267"}
1512+
application/json: {"customerExternalId": "<id>", "amount": 594903, "currency": "usd", "eventName": "Invoice paid", "paymentProcessor": "custom", "invoiceId": null, "leadEventName": "Cloned template 1481267", "customerName": null, "customerEmail": null, "customerAvatar": null}
15131513
responses:
15141514
"200":
15151515
application/json: {"eventName": "<value>", "customer": {"id": "<id>", "name": "<value>", "email": "Jettie.Hirthe97@yahoo.com", "avatar": "https://loremflickr.com/2112/1585?lock=96959249386723", "externalId": "<id>"}, "sale": {"amount": 67.63, "currency": "Pula", "paymentProcessor": "<value>", "invoiceId": "<id>", "metadata": {"key": "<value>"}}}
@@ -2069,4 +2069,6 @@ examples:
20692069
application/json: {"error": {"code": "internal_server_error", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#internal-server_error"}}
20702070
examplesVersion: 1.0.2
20712071
generatedTests: {}
2072-
releaseNotes: "## SDK Changes Detected:\n* `dub->workspaces->update()`: \n * `requestBody->allowedHostnames` **Removed** **Breaking** :warning:\n* `dub->events->list()`: `response.[]->[sale]->sale->paymentProcessor` **Changed**\n* `dub->track->sale()`: \n * `request->paymentProcessor` **Changed**\n"
2072+
releaseNotes: |
2073+
## Php SDK Changes Detected:
2074+
* `dub->track->sale()`: `request` **Changed**

.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.13.1
24+
version: 0.13.2
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.606.3
1+
speakeasyVersion: 1.615.0
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:2cdf78ae298d6609760b988a2dfbada8b59ac0c7476e23e38c56cd9056b212d3
6-
sourceBlobDigest: sha256:d86140330d07322638339cb3483d97eb432dc83656edcd30df4061a07bf824b5
5+
sourceRevisionDigest: sha256:c7f17079433f5f578955d661a83bf372adf05aa87759f2a62588320d9af3d4cd
6+
sourceBlobDigest: sha256:04c16363224b661a291af28f273c756907fd237fdd3b660e2d290b0b22cc5cc7
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1755908497
9+
- speakeasy-sdk-regen-1756513257
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:2cdf78ae298d6609760b988a2dfbada8b59ac0c7476e23e38c56cd9056b212d3
16-
sourceBlobDigest: sha256:d86140330d07322638339cb3483d97eb432dc83656edcd30df4061a07bf824b5
15+
sourceRevisionDigest: sha256:c7f17079433f5f578955d661a83bf372adf05aa87759f2a62588320d9af3d4cd
16+
sourceBlobDigest: sha256:04c16363224b661a291af28f273c756907fd237fdd3b660e2d290b0b22cc5cc7
1717
codeSamplesNamespace: code-samples-php-my-first-target
18-
codeSamplesRevisionDigest: sha256:b8714796bbcf317a711e9923fa261e1269104f40a07d1f7c3821561fd1d691c5
18+
codeSamplesRevisionDigest: sha256:ed8f54c26a427b25a33bac2be8ba35d343079d3b16bda5e53fb30c53570b6441
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
@@ -1200,4 +1200,14 @@ Based on:
12001200
### Generated
12011201
- [php v0.13.1] .
12021202
### Releases
1203-
- [Composer v0.13.1] https://packagist.org/packages/dub/dub-php#v0.13.1 - .
1203+
- [Composer v0.13.1] https://packagist.org/packages/dub/dub-php#v0.13.1 - .
1204+
1205+
## 2025-09-10 00:20:30
1206+
### Changes
1207+
Based on:
1208+
- OpenAPI Doc
1209+
- Speakeasy CLI 1.615.0 (2.698.0) https://github.com/speakeasy-api/speakeasy
1210+
### Generated
1211+
- [php v0.13.2] .
1212+
### Releases
1213+
- [Composer v0.13.2] https://packagist.org/packages/dub/dub-php#v0.13.2 - .

docs/Models/Components/DomainSchema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
| `placeholder` | *string* | :heavy_check_mark: | Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. | https://dub.co/help/article/what-is-dub |
1414
| `expiredUrl` | *string* | :heavy_check_mark: | The URL to redirect to when a link under this domain has expired. | https://acme.com/expired |
1515
| `notFoundUrl` | *string* | :heavy_check_mark: | The URL to redirect to when a link under this domain doesn't exist. | https://acme.com/not-found |
16+
| `logo` | *string* | :heavy_check_mark: | The logo of the domain. | |
1617
| `assetLinks` | *?string* | :heavy_minus_sign: | assetLinks.json configuration file (for deep link support on Android). | |
1718
| `appleAppSiteAssociation` | *?string* | :heavy_minus_sign: | apple-app-site-association configuration file (for deep link support on iOS). | |
18-
| `logo` | *string* | :heavy_check_mark: | The logo of the domain. | |
1919
| `createdAt` | *string* | :heavy_check_mark: | The date the domain was created. | |
2020
| `updatedAt` | *string* | :heavy_check_mark: | The date the domain was last updated. | |
2121
| `registeredDomain` | [Components\RegisteredDomain](../../Models/Components/RegisteredDomain.md) | :heavy_check_mark: | The registered domain record. | |

docs/Models/Components/Partner.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@
1010
| `email` | *string* | :heavy_check_mark: | The partner's email address. Should be a unique value across Dub. |
1111
| `image` | *string* | :heavy_check_mark: | The partner's avatar image. |
1212
| `payoutsEnabledAt` | *string* | :heavy_check_mark: | The date when the partner enabled payouts. |
13-
| `country` | *string* | :heavy_check_mark: | The partner's country (required for tax purposes). |
13+
| `country` | *string* | :heavy_check_mark: | The partner's country (required for tax purposes). |
14+
| `totalClicks` | *float* | :heavy_check_mark: | N/A |
15+
| `totalLeads` | *float* | :heavy_check_mark: | N/A |
16+
| `totalConversions` | *float* | :heavy_check_mark: | N/A |
17+
| `totalSales` | *float* | :heavy_check_mark: | N/A |
18+
| `totalSaleAmount` | *float* | :heavy_check_mark: | N/A |
19+
| `totalCommissions` | *float* | :heavy_check_mark: | N/A |

docs/Models/Operations/Mode.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Mode
22

3-
The mode to use for tracking the lead event. `async` will not block the request; `wait` will block the request until the lead event is fully recorded in Dub.
3+
The mode to use for tracking the lead event. `async` will not block the request; `wait` will block the request until the lead event is fully recorded in Dub; `deferred` will defer the lead event creation to a subsequent request.
44

55

66
## Values
77

8-
| Name | Value |
9-
| ------- | ------- |
10-
| `Async` | async |
11-
| `Wait` | wait |
8+
| Name | Value |
9+
| ---------- | ---------- |
10+
| `Async` | async |
11+
| `Wait` | wait |
12+
| `Deferred` | deferred |

0 commit comments

Comments
 (0)