Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.477.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jan 29, 2025
1 parent f764e54 commit 9f1ee49
Show file tree
Hide file tree
Showing 17 changed files with 496 additions and 55 deletions.
20 changes: 13 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 43187d3e-7c3c-4c11-b5d4-4b2334fb6d96
management:
docChecksum: adaa2bd5ce5c9f12fb83c88e3ea2c2e0
docChecksum: 84dee82a0645f42cc2cc52337e45fbfb
docVersion: 0.0.1
speakeasyVersion: 1.476.2
generationVersion: 2.495.1
releaseVersion: 0.11.19
configChecksum: 7f6c2c3dbe10624b74890ad4c3629b15
speakeasyVersion: 1.477.0
generationVersion: 2.497.0
releaseVersion: 0.11.20
configChecksum: 8dda342d026d0277608571e08ac9e217
repoURL: https://github.com/dubinc/dub-php.git
installationURL: https://github.com/dubinc/dub-php
published: true
Expand Down Expand Up @@ -196,6 +196,8 @@ generatedFiles:
- docs/Models/Operations/CreatePartnerRequestBody.md
- docs/Models/Operations/CreatePartnerResponse.md
- docs/Models/Operations/CreatePartnerResponseBody.md
- docs/Models/Operations/CreatePartnerTagIds.md
- docs/Models/Operations/CreatePartnerTagNames.md
- docs/Models/Operations/CreatePartnerType.md
- docs/Models/Operations/CreateTagRequestBody.md
- docs/Models/Operations/CreateTagResponse.md
Expand Down Expand Up @@ -251,6 +253,7 @@ generatedFiles:
- docs/Models/Operations/Interval.md
- docs/Models/Operations/Level.md
- docs/Models/Operations/Link.md
- docs/Models/Operations/LinkProps.md
- docs/Models/Operations/ListDomainsRequest.md
- docs/Models/Operations/ListDomainsResponse.md
- docs/Models/Operations/ListEventsQueryParamTagIds.md
Expand Down Expand Up @@ -582,6 +585,7 @@ generatedFiles:
- src/Models/Operations/Interval.php
- src/Models/Operations/Level.php
- src/Models/Operations/Link.php
- src/Models/Operations/LinkProps.php
- src/Models/Operations/ListDomainsRequest.php
- src/Models/Operations/ListDomainsResponse.php
- src/Models/Operations/ListEventsRequest.php
Expand Down Expand Up @@ -1412,7 +1416,7 @@ examples:
idOrSlug: "<value>"
responses:
"200":
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": null, "inviteCode": "<value>", "plan": "business extra", "stripeId": "<id>", "billingCycleStart": 5588.34, "paymentFailedAt": "<value>", "stripeConnectId": "<id>", "usage": 5442.21, "usageLimit": 5212.35, "linksUsage": 9699.61, "linksLimit": 4580.49, "salesUsage": 4508.24, "salesLimit": 2627.95, "domainsLimit": 2134.57, "tagsLimit": 9371.46, "usersLimit": 4381.42, "aiUsage": 8013.73, "aiLimit": 788.88, "conversionEnabled": true, "dotLinkClaimed": true, "partnersEnabled": true, "createdAt": "1723222620163", "users": [{"role": "owner"}, {"role": "member"}, {"role": "member"}], "domains": [{"slug": "acme.com", "primary": false, "verified": false}, {"slug": "acme.com", "primary": false, "verified": false}], "store": {"key": "<value>"}}
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": null, "inviteCode": "<value>", "plan": "business extra", "stripeId": "<id>", "billingCycleStart": 5588.34, "paymentFailedAt": "<value>", "stripeConnectId": "<id>", "usage": 5442.21, "usageLimit": 5212.35, "linksUsage": 9699.61, "linksLimit": 4580.49, "salesUsage": 4508.24, "salesLimit": 2627.95, "domainsLimit": 2134.57, "tagsLimit": 9371.46, "usersLimit": 4381.42, "aiUsage": 8013.73, "aiLimit": 788.88, "conversionEnabled": true, "dotLinkClaimed": true, "partnersEnabled": true, "createdAt": "1723222620163", "users": [{"role": "owner"}, {"role": "member"}, {"role": "member"}], "domains": [{"slug": "acme.com", "primary": false, "verified": false}, {"slug": "acme.com", "primary": false, "verified": false}], "store": {"key": "<value>"}, "allowedHostnames": ["dub.sh"]}
"400":
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
"401":
Expand All @@ -1438,7 +1442,7 @@ examples:
idOrSlug: "<value>"
responses:
"200":
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": null, "inviteCode": "<value>", "plan": "enterprise", "stripeId": "<id>", "billingCycleStart": 5971.29, "paymentFailedAt": "<value>", "stripeConnectId": "<id>", "usage": 3446.2, "usageLimit": 9914.64, "linksUsage": 6276.9, "linksLimit": 4888.52, "salesUsage": 9840.08, "salesLimit": 540.62, "domainsLimit": 8965.01, "tagsLimit": 4468.63, "usersLimit": 3115.07, "aiUsage": 2494.4, "aiLimit": 1395.79, "conversionEnabled": false, "dotLinkClaimed": false, "partnersEnabled": true, "createdAt": "1720441243584", "users": [{"role": "member"}, {"role": "owner"}, {"role": "owner"}], "domains": [{"slug": "acme.com", "primary": false, "verified": false}, {"slug": "acme.com", "primary": false, "verified": false}, {"slug": "acme.com", "primary": false, "verified": false}], "store": {"key": "<value>", "key1": "<value>", "key2": "<value>"}}
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": null, "inviteCode": "<value>", "plan": "enterprise", "stripeId": "<id>", "billingCycleStart": 5971.29, "paymentFailedAt": "<value>", "stripeConnectId": "<id>", "usage": 3446.2, "usageLimit": 9914.64, "linksUsage": 6276.9, "linksLimit": 4888.52, "salesUsage": 9840.08, "salesLimit": 540.62, "domainsLimit": 8965.01, "tagsLimit": 4468.63, "usersLimit": 3115.07, "aiUsage": 2494.4, "aiLimit": 1395.79, "conversionEnabled": false, "dotLinkClaimed": false, "partnersEnabled": true, "createdAt": "1720441243584", "users": [{"role": "member"}, {"role": "owner"}, {"role": "owner"}], "domains": [{"slug": "acme.com", "primary": false, "verified": false}, {"slug": "acme.com", "primary": false, "verified": false}, {"slug": "acme.com", "primary": false, "verified": false}], "store": {"key": "<value>", "key1": "<value>", "key2": "<value>"}, "allowedHostnames": ["dub.sh"]}
"400":
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
"401":
Expand Down Expand Up @@ -1523,6 +1527,8 @@ examples:
application/json: {"title": "Dub.co - Link Management for Modern Marketing Teams", "description": "Dub.co is the open-source link management infrastructure ...", "image": "https://assets.dub.co/thumbnail.jpg"}
createPartner:
speakeasy-default-create-partner:
requestBody:
application/json: {"programId": "<id>", "name": "<value>", "email": "[email protected]", "username": "Aaliyah_Borer", "linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."]}}
responses:
"201":
application/json: {"id": "<id>", "name": "<value>", "email": "[email protected]", "image": "https://loremflickr.com/1/679?lock=7139282333236917", "country": "Slovenia", "bio": "<value>", "stripeConnectId": "<id>", "payoutsEnabled": false, "createdAt": "1730216446017", "updatedAt": "1738019902359", "status": "pending", "link": {"id": "<id>", "shortLink": "https://agile-defendant.biz/", "domain": "better-fedora.biz", "key": "<key>", "url": "https://calculating-pearl.info/", "clicks": 0, "leads": 0, "sales": 0, "saleAmount": 0}, "commissionAmount": 365.21, "earnings": 6216.36}
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
php:
version: 0.11.19
version: 0.11.20
additionalDependencies:
autoload: {}
autoload-dev: {}
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.476.2
speakeasyVersion: 1.477.0
sources:
dub:
sourceNamespace: dub
sourceRevisionDigest: sha256:1e3daf3eb06228806a38c0576a9737557e5800d414806c0858bb2a627e360922
sourceBlobDigest: sha256:cb6f4266fa1867dc7c1addc33802928e6153d0ec07a01270b22fdc25cc192efa
sourceRevisionDigest: sha256:5fad740cace93844f1397e67b6c56fdba22a628ac41b818b681b0394978eba4e
sourceBlobDigest: sha256:66e1ba2210a453339342266aa844ea89fedd7423aaae1e43745b01bb4d9ab7a5
tags:
- latest
- speakeasy-sdk-regen-1738023568
- speakeasy-sdk-regen-1738109959
- 0.0.1
targets:
my-first-target:
source: dub
sourceNamespace: dub
sourceRevisionDigest: sha256:1e3daf3eb06228806a38c0576a9737557e5800d414806c0858bb2a627e360922
sourceBlobDigest: sha256:cb6f4266fa1867dc7c1addc33802928e6153d0ec07a01270b22fdc25cc192efa
sourceRevisionDigest: sha256:5fad740cace93844f1397e67b6c56fdba22a628ac41b818b681b0394978eba4e
sourceBlobDigest: sha256:66e1ba2210a453339342266aa844ea89fedd7423aaae1e43745b01bb4d9ab7a5
codeSamplesNamespace: code-samples-php-my-first-target
codeSamplesRevisionDigest: sha256:4fc0b8e89fb36cd7edb0299cedc526e472df8f9e0e37398a0f56478df64e348e
codeSamplesRevisionDigest: sha256:80ab402f5aacca987adeef66b97f2831ca4b7e40703aa78b64a127eff13e62a7
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -640,4 +640,14 @@ Based on:
### Generated
- [php v0.11.19] .
### Releases
- [Composer v0.11.19] https://packagist.org/packages/dub/dub-php#v0.11.19 - .
- [Composer v0.11.19] https://packagist.org/packages/dub/dub-php#v0.11.19 - .

## 2025-01-29 00:18:59
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.477.0 (2.497.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.11.20] .
### Releases
- [Composer v0.11.20] https://packagist.org/packages/dub/dub-php#v0.11.20 - .
2 changes: 1 addition & 1 deletion codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ actions:
"x-codeSamples":
- "lang": "php"
"label": "createPartner"
"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\\CreatePartnerRequestBody(\n programId: '<id>',\n name: '<value>',\n email: '[email protected]',\n username: 'Aaliyah_Borer',\n);\n\n$response = $sdk->partners->create(\n request: $request\n);\n\nif ($response->object !== null) {\n // handle response\n}"
"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\\CreatePartnerRequestBody(\n programId: '<id>',\n name: '<value>',\n email: '[email protected]',\n username: 'Aaliyah_Borer',\n linkProps: new Operations\\LinkProps(\n externalId: '123456',\n tagIds: [\n 'clux0rgak00011...',\n ],\n ),\n);\n\n$response = $sdk->partners->create(\n request: $request\n);\n\nif ($response->object !== null) {\n // handle response\n}"
- target: $["paths"]["/qr"]["get"]
update:
"x-codeSamples":
Expand Down
Loading

0 comments on commit 9f1ee49

Please sign in to comment.