Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 1.0, Speakeasy CLI 1.337.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jul 17, 2024
1 parent 68ffef7 commit 8dab84b
Show file tree
Hide file tree
Showing 11 changed files with 65 additions and 14 deletions.
13 changes: 7 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 2b560ec4-b84f-4215-b917-90b5f7369715
management:
docChecksum: 0ffd229fc984e79a989b59bc7e76be0d
docChecksum: 6d51b60c29950dfc2984759824e2e857
docVersion: "1.0"
speakeasyVersion: 1.335.2
generationVersion: 2.372.3
releaseVersion: 0.15.35
configChecksum: 1e31a6e968c4a901c92d33f83c87d4a2
speakeasyVersion: 1.337.1
generationVersion: 2.373.2
releaseVersion: 0.15.36
configChecksum: bbdc4d481dd2254cb791c844bb935d11
repoURL: https://github.com/unified-to/unified-php-sdk.git
repoSubDirectory: .
installationURL: https://github.com/unified-to/unified-php-sdk
published: true
features:
php:
core: 3.3.7
core: 3.3.8
globalSecurity: 2.81.6
globalSecurityFlattening: 0.1.0
globalServerURLs: 2.82.1
Expand Down Expand Up @@ -1784,3 +1784,4 @@ generatedFiles:
- docs/sdks/webhook/README.md
- USAGE.md
- .gitattributes
- CONTRIBUTING.md
26 changes: 26 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Contributing to This Repository

Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements.

## How to Report Issues

If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes:

- A clear and descriptive title
- Steps to reproduce the issue
- Expected and actual behavior
- Any relevant logs, screenshots, or error messages
- Information about your environment (e.g., operating system, software versions)
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed

## Issue Triage and Upstream Fixes

We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code.

## Contact

If you have any questions or need further assistance, please feel free to reach out by opening an issue.

Thank you for your understanding and cooperation!

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

## 2024-07-17 00:20:59
### Changes
Based on:
- OpenAPI Doc 1.0
- Speakeasy CLI 1.337.1 (2.373.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.15.36] .
### Releases
- [Composer v0.15.36] https://packagist.org/packages/unified/unified-to#v0.15.36 - .
1 change: 1 addition & 0 deletions docs/Models/Shared/PaymentLink.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
| `currency` | *?string* | :heavy_minus_sign: | N/A |
| `id` | *?string* | :heavy_minus_sign: | N/A |
| `isActive` | *?bool* | :heavy_minus_sign: | N/A |
| `isChargeableNow` | *?bool* | :heavy_minus_sign: | N/A |
| `lineitems` | array<[\Unified\Unified_to\Models\Shared\PaymentLinkLineitem](../../Models/Shared/PaymentLinkLineitem.md)> | :heavy_minus_sign: | N/A |
| `paymentId` | *?string* | :heavy_minus_sign: | N/A |
| `raw` | array<string, *mixed*> | :heavy_minus_sign: | N/A |
Expand Down
2 changes: 1 addition & 1 deletion docs/Models/Shared/PaymentLinkLineitem.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
| `refundedAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | N/A |
| `taxAmount` | *?float* | :heavy_minus_sign: | N/A |
| `taxrateId` | *?string* | :heavy_minus_sign: | N/A |
| `totalAmount` | *float* | :heavy_check_mark: | N/A |
| `totalAmount` | *?float* | :heavy_minus_sign: | N/A |
| `unitAmount` | *?float* | :heavy_minus_sign: | N/A |
| `unitQuantity` | *?float* | :heavy_minus_sign: | N/A |
| `updatedAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | N/A |
3 changes: 3 additions & 0 deletions docs/sdks/link/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ try {
$request->paymentLink->currency = 'Aruban Guilder';
$request->paymentLink->id = '<id>';
$request->paymentLink->isActive = false;
$request->paymentLink->isChargeableNow = false;
$request->paymentLink->lineitems = [
new Shared\PaymentLinkLineitem(),
];
Expand Down Expand Up @@ -214,6 +215,7 @@ try {
$request->paymentLink->currency = 'UIC-Franc';
$request->paymentLink->id = '<id>';
$request->paymentLink->isActive = false;
$request->paymentLink->isChargeableNow = false;
$request->paymentLink->lineitems = [
new Shared\PaymentLinkLineitem(),
];
Expand Down Expand Up @@ -328,6 +330,7 @@ try {
$request->paymentLink->currency = 'Gibraltar Pound';
$request->paymentLink->id = '<id>';
$request->paymentLink->isActive = false;
$request->paymentLink->isChargeableNow = false;
$request->paymentLink->lineitems = [
new Shared\PaymentLinkLineitem(),
];
Expand Down
3 changes: 3 additions & 0 deletions docs/sdks/payment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ try {
$request->paymentLink->currency = 'Aruban Guilder';
$request->paymentLink->id = '<id>';
$request->paymentLink->isActive = false;
$request->paymentLink->isChargeableNow = false;
$request->paymentLink->lineitems = [
new Shared\PaymentLinkLineitem(),
];
Expand Down Expand Up @@ -611,6 +612,7 @@ try {
$request->paymentLink->currency = 'UIC-Franc';
$request->paymentLink->id = '<id>';
$request->paymentLink->isActive = false;
$request->paymentLink->isChargeableNow = false;
$request->paymentLink->lineitems = [
new Shared\PaymentLinkLineitem(),
];
Expand Down Expand Up @@ -838,6 +840,7 @@ try {
$request->paymentLink->currency = 'Gibraltar Pound';
$request->paymentLink->id = '<id>';
$request->paymentLink->isActive = false;
$request->paymentLink->isChargeableNow = false;
$request->paymentLink->lineitems = [
new Shared\PaymentLinkLineitem(),
];
Expand Down
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
baseServerURL: ""
flattenGlobalSecurity: true
php:
version: 0.15.35
version: 0.15.36
flattenGlobalSecurity: true
imports:
option: openapi
Expand Down
6 changes: 6 additions & 0 deletions src/Models/Shared/PaymentLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ class PaymentLink
#[\JMS\Serializer\Annotation\SkipWhenEmpty]
public ?bool $isActive = null;

#[\JMS\Serializer\Annotation\SerializedName('is_chargeable_now')]
#[\JMS\Serializer\Annotation\Type('bool')]
#[\JMS\Serializer\Annotation\SkipWhenEmpty]
public ?bool $isChargeableNow = null;

/**
* $lineitems
*
Expand Down Expand Up @@ -84,6 +89,7 @@ public function __construct()
$this->currency = null;
$this->id = null;
$this->isActive = null;
$this->isChargeableNow = null;
$this->lineitems = null;
$this->paymentId = null;
$this->raw = null;
Expand Down
5 changes: 3 additions & 2 deletions src/Models/Shared/PaymentLinkLineitem.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ class PaymentLinkLineitem

#[\JMS\Serializer\Annotation\SerializedName('total_amount')]
#[\JMS\Serializer\Annotation\Type('float')]
public float $totalAmount;
#[\JMS\Serializer\Annotation\SkipWhenEmpty]
public ?float $totalAmount = null;

#[\JMS\Serializer\Annotation\SerializedName('unit_amount')]
#[\JMS\Serializer\Annotation\Type('float')]
Expand Down Expand Up @@ -110,7 +111,7 @@ public function __construct()
$this->refundedAt = null;
$this->taxAmount = null;
$this->taxrateId = null;
$this->totalAmount = 0;
$this->totalAmount = null;
$this->unitAmount = null;
$this->unitQuantity = null;
$this->updatedAt = null;
Expand Down
6 changes: 3 additions & 3 deletions src/SDKConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ class SDKConfiguration

public string $openapiDocVersion = '1.0';

public string $sdkVersion = '0.15.35';
public string $sdkVersion = '0.15.36';

public string $genVersion = '2.372.3';
public string $genVersion = '2.373.2';

public string $userAgent = 'speakeasy-sdk/php 0.15.35 2.372.3 1.0 unified/unified-to';
public string $userAgent = 'speakeasy-sdk/php 0.15.36 2.373.2 1.0 unified/unified-to';

public function getServerUrl(): string
{
Expand Down

0 comments on commit 8dab84b

Please sign in to comment.