Skip to content

Commit

Permalink
Merge pull request #30 from dubinc/speakeasy-sdk-regen-1726877880
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.6.3
  • Loading branch information
steven-tey authored Sep 21, 2024
2 parents c570a7f + f441b8f commit 2845cc9
Show file tree
Hide file tree
Showing 15 changed files with 424 additions and 414 deletions.
14 changes: 7 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
lockVersion: 2.0.0
id: 43187d3e-7c3c-4c11-b5d4-4b2334fb6d96
management:
docChecksum: 81fbec1fddce6a9104ba0a932fec5804
docChecksum: bf87a4d4951f97782f297e956ac66cd2
docVersion: 0.0.1
speakeasyVersion: 1.398.0
generationVersion: 2.415.8
releaseVersion: 0.6.2
configChecksum: 9f0ea9d997909f14d40050547eeba01b
speakeasyVersion: 1.401.2
generationVersion: 2.421.3
releaseVersion: 0.6.3
configChecksum: 76b632191a82c9205ed829803d966d32
repoURL: https://github.com/dubinc/dub-php.git
installationURL: https://github.com/dubinc/dub-php
published: true
features:
php:
core: 3.4.3
core: 3.4.4
deprecations: 2.81.1
errors: 0.1.2
examples: 2.81.3
Expand All @@ -24,7 +24,7 @@ features:
nameOverrides: 2.81.2
nullables: 1.0.0
responseFormat: 0.1.0
unions: 0.1.2
unions: 0.1.3
generatedFiles:
- .gitattributes
- CONTRIBUTING.md
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
php:
version: 0.6.2
version: 0.6.3
clientServerStatusCodesAsErrors: true
flattenGlobalSecurity: true
imports:
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.398.0
speakeasyVersion: 1.401.2
sources:
dub:
sourceNamespace: dub
sourceRevisionDigest: sha256:bd32ec6ff7e825cc3f42918ff96557b51d46196407611ef0eb42edf2d47a8d10
sourceBlobDigest: sha256:fcdaff285860be87d8acd3091214b153f70d1a94b7ab7b1d9e99e96188670c8a
sourceRevisionDigest: sha256:095dde9547071c29e0634366a5012a7a978a7ea363661e1b0868f06d4b8d1324
sourceBlobDigest: sha256:84a1a763ef07a877a2379985c2bcec00b6c5cfcc6f774399c51bc37d710908fe
tags:
- latest
- main
targets:
my-first-target:
source: dub
sourceNamespace: dub
sourceRevisionDigest: sha256:bd32ec6ff7e825cc3f42918ff96557b51d46196407611ef0eb42edf2d47a8d10
sourceBlobDigest: sha256:fcdaff285860be87d8acd3091214b153f70d1a94b7ab7b1d9e99e96188670c8a
sourceRevisionDigest: sha256:095dde9547071c29e0634366a5012a7a978a7ea363661e1b0868f06d4b8d1324
sourceBlobDigest: sha256:84a1a763ef07a877a2379985c2bcec00b6c5cfcc6f774399c51bc37d710908fe
codeSamplesNamespace: code-samples-php-my-first-target
codeSamplesRevisionDigest: sha256:553d4ffe4f2d287ed62911887de66bd825999b4ac0b91b3d015eeb47a19de028
codeSamplesRevisionDigest: sha256:5ee8f8376b73da64a4800c84cf2a5b4e08040e07c9189e0cefa2a3a4da05934f
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ try {

### [Domains](docs/sdks/domains/README.md)

* [list](docs/sdks/domains/README.md#list) - Retrieve a list of domains
* [create](docs/sdks/domains/README.md#create) - Create a domain
* [delete](docs/sdks/domains/README.md#delete) - Delete a domain
* [list](docs/sdks/domains/README.md#list) - Retrieve a list of domains
* [update](docs/sdks/domains/README.md#update) - Update a domain
* [delete](docs/sdks/domains/README.md#delete) - Delete a domain


### [Events](docs/sdks/events/README.md)
Expand All @@ -129,15 +129,15 @@ try {

### [Links](docs/sdks/links/README.md)

* [list](docs/sdks/links/README.md#list) - Retrieve a list of links
* [create](docs/sdks/links/README.md#create) - Create a new link
* [list](docs/sdks/links/README.md#list) - Retrieve a list of links
* [count](docs/sdks/links/README.md#count) - Retrieve links count
* [get](docs/sdks/links/README.md#get) - Retrieve a link
* [delete](docs/sdks/links/README.md#delete) - Delete a link
* [update](docs/sdks/links/README.md#update) - Update a link
* [delete](docs/sdks/links/README.md#delete) - Delete a link
* [createMany](docs/sdks/links/README.md#createmany) - Bulk create links
* [deleteMany](docs/sdks/links/README.md#deletemany) - Bulk delete links
* [updateMany](docs/sdks/links/README.md#updatemany) - Bulk update links
* [deleteMany](docs/sdks/links/README.md#deletemany) - Bulk delete links
* [upsert](docs/sdks/links/README.md#upsert) - Upsert a link

### [Metatags](docs/sdks/metatags/README.md)
Expand All @@ -150,10 +150,10 @@ try {

### [Tags](docs/sdks/tags/README.md)

* [list](docs/sdks/tags/README.md#list) - Retrieve a list of tags
* [create](docs/sdks/tags/README.md#create) - Create a new tag
* [delete](docs/sdks/tags/README.md#delete) - Delete a tag
* [list](docs/sdks/tags/README.md#list) - Retrieve a list of tags
* [update](docs/sdks/tags/README.md#update) - Update a tag
* [delete](docs/sdks/tags/README.md#delete) - Delete a tag

### [Track](docs/sdks/track/README.md)

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,14 @@ Based on:
### Generated
- [php v0.6.2] .
### Releases
- [Composer v0.6.2] https://packagist.org/packages/dub/dub-php#v0.6.2 - .
- [Composer v0.6.2] https://packagist.org/packages/dub/dub-php#v0.6.2 - .

## 2024-09-21 00:17:54
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.401.2 (2.421.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.6.3] .
### Releases
- [Composer v0.6.3] https://packagist.org/packages/dub/dub-php#v0.6.3 - .
6 changes: 3 additions & 3 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ actions:
"x-codeSamples":
- "lang": "php"
"label": "getLinkInfo"
"source": "declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse Dub;\nuse Dub\\Models\\Components;\n\n$security = new Components\\Security(\n token: \"DUB_API_KEY\",\n);\n\n$sdk = Dub\\Dub::builder()->setSecurity($security)->build();\n\ntry {\n\n $response = $sdk->links->get('ringed-blow.name', '<key>', 'clux0rgak00011...', 'ext_123456');\n\n if ($response->linkSchema !== null) {\n // handle response\n }\n} catch (Throwable $e) {\n // handle exception\n}"
"source": "declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse Dub;\nuse Dub\\Models\\Components;\n\n$security = new Components\\Security(\n token: \"DUB_API_KEY\",\n);\n\n$sdk = Dub\\Dub::builder()->setSecurity($security)->build();\n\ntry {\n\n $response = $sdk->links->get('rural-mathematics.name', '<key>', 'clux0rgak00011...', 'ext_123456');\n\n if ($response->linkSchema !== null) {\n // handle response\n }\n} catch (Throwable $e) {\n // handle exception\n}"
- target: $["paths"]["/links/upsert"]["put"]
update:
"x-codeSamples":
Expand Down Expand Up @@ -110,7 +110,7 @@ actions:
"x-codeSamples":
- "lang": "php"
"label": "getQRCode"
"source": "declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse Dub;\nuse Dub\\Models\\Components;\nuse Dub\\Models\\Operations;\n\n$security = new Components\\Security(\n token: \"DUB_API_KEY\",\n);\n\n$sdk = Dub\\Dub::builder()->setSecurity($security)->build();\n\ntry {\n $request = new Operations\\GetQRCodeRequest(\n url: 'https://brief-micronutrient.org',\n );\n $response = $sdk->qrCodes->get($request);\n\n if ($response->res !== null) {\n // handle response\n }\n} catch (Throwable $e) {\n // handle exception\n}"
"source": "declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse Dub;\nuse Dub\\Models\\Components;\nuse Dub\\Models\\Operations;\n\n$security = new Components\\Security(\n token: \"DUB_API_KEY\",\n);\n\n$sdk = Dub\\Dub::builder()->setSecurity($security)->build();\n\ntry {\n $request = new Operations\\GetQRCodeRequest(\n url: 'https://normal-making.name',\n );\n $response = $sdk->qrCodes->get($request);\n\n if ($response->res !== null) {\n // handle response\n }\n} catch (Throwable $e) {\n // handle exception\n}"
- target: $["paths"]["/tags"]["get"]
update:
"x-codeSamples":
Expand Down Expand Up @@ -152,7 +152,7 @@ actions:
"x-codeSamples":
- "lang": "php"
"label": "trackSale"
"source": "declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse Dub;\nuse Dub\\Models\\Components;\nuse Dub\\Models\\Operations;\n\n$security = new Components\\Security(\n token: \"DUB_API_KEY\",\n);\n\n$sdk = Dub\\Dub::builder()->setSecurity($security)->build();\n\ntry {\n $request = new Operations\\TrackSaleRequestBody(\n customerId: '<value>',\n amount: 996500,\n paymentProcessor: Operations\\PaymentProcessor::Shopify,\n eventName: 'Purchase',\n );\n $response = $sdk->track->sale($request);\n\n if ($response->object !== null) {\n // handle response\n }\n} catch (Throwable $e) {\n // handle exception\n}"
"source": "declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse Dub;\nuse Dub\\Models\\Components;\nuse Dub\\Models\\Operations;\n\n$security = new Components\\Security(\n token: \"DUB_API_KEY\",\n);\n\n$sdk = Dub\\Dub::builder()->setSecurity($security)->build();\n\ntry {\n $request = new Operations\\TrackSaleRequestBody(\n customerId: '<value>',\n amount: 996500,\n paymentProcessor: Operations\\PaymentProcessor::Paddle,\n eventName: 'Purchase',\n );\n $response = $sdk->track->sale($request);\n\n if ($response->object !== null) {\n // handle response\n }\n} catch (Throwable $e) {\n // handle exception\n}"
- target: $["paths"]["/workspaces/{idOrSlug}"]["get"]
update:
"x-codeSamples":
Expand Down
Loading

0 comments on commit 2845cc9

Please sign in to comment.