Skip to content

Commit

Permalink
Merge pull request #8 from apideck-libraries/speakeasy-sdk-regen-1735…
Browse files Browse the repository at this point in the history
…225949

chore: 🐝 Update SDK - Generate 0.2.1
  • Loading branch information
Amzani authored Dec 27, 2024
2 parents df31643 + 36d8f3b commit 48b93da
Show file tree
Hide file tree
Showing 27 changed files with 194 additions and 82 deletions.
20 changes: 11 additions & 9 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 0e1578f5-5df8-4086-96d6-369ac62fc49d
management:
docChecksum: 00527826e00802057f1f1f32cd5fa2ff
docChecksum: 7dcfb4378c6b67f6f82c84503a30eb9f
docVersion: 10.9.0
speakeasyVersion: 1.460.2
speakeasyVersion: 1.460.3
generationVersion: 2.484.0
releaseVersion: 0.2.0
configChecksum: 236753ff2eaa619d8b8c448b59dee7ea
releaseVersion: 0.2.1
configChecksum: 6f5320d1ee1c87c751c46c07b06b2f27
repoURL: https://github.com/apideck-libraries/sdk-php.git
installationURL: https://github.com/apideck-libraries/sdk-php
published: true
Expand Down Expand Up @@ -585,8 +585,9 @@ generatedFiles:
- docs/Models/Components/Options.md
- docs/Models/Components/OrdersSort.md
- docs/Models/Components/OrdersSortBy.md
- docs/Models/Components/OutstandingBalance.md
- docs/Models/Components/OutstandingBalanceByCurrency.md
- docs/Models/Components/OutstandingBalanceByCustomer.md
- docs/Models/Components/OutstandingBalanceBySupplier.md
- docs/Models/Components/Owner.md
- docs/Models/Components/PaginationCoverage.md
- docs/Models/Components/PaginationCoverageMode.md
Expand Down Expand Up @@ -2023,8 +2024,9 @@ generatedFiles:
- src/Models/Components/Options.php
- src/Models/Components/OrdersSort.php
- src/Models/Components/OrdersSortBy.php
- src/Models/Components/OutstandingBalance.php
- src/Models/Components/OutstandingBalanceByCurrency.php
- src/Models/Components/OutstandingBalanceByCustomer.php
- src/Models/Components/OutstandingBalanceBySupplier.php
- src/Models/Components/Owner.php
- src/Models/Components/PaginationCoverage.php
- src/Models/Components/PaginationCoverageMode.php
Expand Down Expand Up @@ -9475,7 +9477,7 @@ examples:
"":
parameters:
query:
filter: {"customer_id": "123abc", "report_as_of_date": "2024-01-01", "period_count": 3, "period_length": 30}
filter: {"customer_id": "123abc", "supplier_id": "123abc", "report_as_of_date": "2024-01-01", "period_count": 3, "period_length": 30}
pass_through: {"search": "San Francisco"}
fields: "id,updated_at"
header:
Expand All @@ -9484,7 +9486,7 @@ examples:
x-apideck-service-id: "salesforce"
responses:
"200":
application/json: {"status_code": 200, "status": "OK", "service": "quickbooks", "resource": "AgedCreditors", "operation": "one", "data": {"report_generated_at": "2024-11-14T12:00:00.000Z", "report_as_of_date": "2024-11-13", "period_count": 4, "period_length": 30, "outstanding_balances": [{"customer_id": "123", "customer_name": "Super Store", "outstanding_balances_by_currency": [{"currency": "USD", "balances_by_period": [{"start_date": "2024-01-01", "end_date": "2024-01-30", "total_amount": 1500, "balances_by_transaction": [{"transaction_id": "INV-1001", "transaction_date": "2024-01-15", "transaction_type": "invoice", "due_date": "2024-02-15", "original_amount": 1000, "outstanding_balance": 800}, {"transaction_id": "INV-1001", "transaction_date": "2024-01-15", "transaction_type": "invoice", "due_date": "2024-02-15", "original_amount": 1000, "outstanding_balance": 800}]}, {"start_date": "2024-01-01", "end_date": "2024-01-30", "total_amount": 1500, "balances_by_transaction": [{"transaction_id": "INV-1001", "transaction_date": "2024-01-15", "transaction_type": "invoice", "due_date": "2024-02-15", "original_amount": 1000, "outstanding_balance": 800}, {"transaction_id": "INV-1001", "transaction_date": "2024-01-15", "transaction_type": "invoice", "due_date": "2024-02-15", "original_amount": 1000, "outstanding_balance": 800}, {"transaction_id": "INV-1001", "transaction_date": "2024-01-15", "transaction_type": "invoice", "due_date": "2024-02-15", "original_amount": 1000, "outstanding_balance": 800}]}]}, {"currency": "USD", "balances_by_period": [{"start_date": "2024-01-01", "end_date": "2024-01-30", "total_amount": 1500, "balances_by_transaction": [{"transaction_id": "INV-1001", "transaction_date": "2024-01-15", "transaction_type": "invoice", "due_date": "2024-02-15", "original_amount": 1000, "outstanding_balance": 800}]}]}]}, {"customer_id": "123", "customer_name": "Super Store", "outstanding_balances_by_currency": [{"currency": "USD", "balances_by_period": []}]}]}}
application/json: {"status_code": 200, "status": "OK", "service": "quickbooks", "resource": "AgedCreditors", "operation": "one", "data": {"report_generated_at": "2024-11-14T12:00:00.000Z", "report_as_of_date": "2024-11-13", "period_count": 4, "period_length": 30, "outstanding_balances": [{"outstanding_balances_by_currency": [{"currency": "USD", "balances_by_period": [{"start_date": "2024-01-01", "end_date": "2024-01-30", "total_amount": 1500, "balances_by_transaction": [{"transaction_id": "INV-1001", "transaction_date": "2024-01-15", "transaction_type": "invoice", "due_date": "2024-02-15", "original_amount": 1000, "outstanding_balance": 800}, {"transaction_id": "INV-1001", "transaction_date": "2024-01-15", "transaction_type": "invoice", "due_date": "2024-02-15", "original_amount": 1000, "outstanding_balance": 800}]}, {"start_date": "2024-01-01", "end_date": "2024-01-30", "total_amount": 1500, "balances_by_transaction": [{"transaction_id": "INV-1001", "transaction_date": "2024-01-15", "transaction_type": "invoice", "due_date": "2024-02-15", "original_amount": 1000, "outstanding_balance": 800}, {"transaction_id": "INV-1001", "transaction_date": "2024-01-15", "transaction_type": "invoice", "due_date": "2024-02-15", "original_amount": 1000, "outstanding_balance": 800}, {"transaction_id": "INV-1001", "transaction_date": "2024-01-15", "transaction_type": "invoice", "due_date": "2024-02-15", "original_amount": 1000, "outstanding_balance": 800}]}]}, {"currency": "USD", "balances_by_period": [{"start_date": "2024-01-01", "end_date": "2024-01-30", "total_amount": 1500, "balances_by_transaction": [{"transaction_id": "INV-1001", "transaction_date": "2024-01-15", "transaction_type": "invoice", "due_date": "2024-02-15", "original_amount": 1000, "outstanding_balance": 800}]}]}]}, {"outstanding_balances_by_currency": [{"currency": "USD", "balances_by_period": []}]}]}}
"400":
application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestValidationError", "message": "Invalid Params", "detail": {"missing": [{"foobar": "required"}]}, "ref": "https://developers.apideck.com/errors#requestvalidationerror"}
"401":
Expand All @@ -9501,7 +9503,7 @@ examples:
"":
parameters:
query:
filter: {"customer_id": "123abc", "report_as_of_date": "2024-01-01", "period_count": 3, "period_length": 30}
filter: {"customer_id": "123abc", "supplier_id": "123abc", "report_as_of_date": "2024-01-01", "period_count": 3, "period_length": 30}
pass_through: {"search": "San Francisco"}
fields: "id,updated_at"
header:
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: true
php:
version: 0.2.0
version: 0.2.1
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.460.2
speakeasyVersion: 1.460.3
sources:
Apideck:
sourceNamespace: apideck
sourceRevisionDigest: sha256:8ffa6bb63ffbea34b1922c2cbca4b5b8f328d850e3c5d86e29a6f598d23afc20
sourceBlobDigest: sha256:2387ea8d9d23982c568313b9885a37ac801333e6aba340789bb8b193cb5eb772
sourceRevisionDigest: sha256:8d88085b547fe4eadbe16eec774574625b6d45335843bb765f5c096747a86a82
sourceBlobDigest: sha256:6f14d7b19054d88262d5b57d85b909579b0fa66e54405da78a9dee274ab1c557
tags:
- latest
- speakeasy-sdk-regen-1734368306
- speakeasy-sdk-regen-1735225949
- 10.9.0
targets:
apideck:
source: Apideck
sourceNamespace: apideck
sourceRevisionDigest: sha256:8ffa6bb63ffbea34b1922c2cbca4b5b8f328d850e3c5d86e29a6f598d23afc20
sourceBlobDigest: sha256:2387ea8d9d23982c568313b9885a37ac801333e6aba340789bb8b193cb5eb772
sourceRevisionDigest: sha256:8d88085b547fe4eadbe16eec774574625b6d45335843bb765f5c096747a86a82
sourceBlobDigest: sha256:6f14d7b19054d88262d5b57d85b909579b0fa66e54405da78a9dee274ab1c557
codeSamplesNamespace: apideck-php-code-samples
codeSamplesRevisionDigest: sha256:59d93392ab01736eac0cfd36b928c415784b25046823c9ec91ac1602007a7803
codeSamplesRevisionDigest: sha256:27961cfb9aa691898c4eeea6ebd60dd427f8539ff74f0d93ff9f003c8a06ffc9
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 @@ -38,4 +38,14 @@ Based on:
### Generated
- [php v0.2.0] .
### Releases
- [Composer v0.2.0] https://packagist.org/packages/apideck-libraries/sdk-php#v0.2.0 - .
- [Composer v0.2.0] https://packagist.org/packages/apideck-libraries/sdk-php#v0.2.0 - .

## 2024-12-27 00:02:07
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.460.3 (2.484.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.2.1] .
### Releases
- [Composer v0.2.1] https://packagist.org/packages/apideck-libraries/sdk-php#v0.2.1 - .
14 changes: 7 additions & 7 deletions docs/Models/Components/AgedCreditors.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `reportGeneratedAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | The exact date and time the report was generated. | 2024-11-14T12:00:00.000Z |
| `reportAsOfDate` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | The cutoff date for transactions included in the report. | 2024-11-13 |
| `periodCount` | *?int* | :heavy_minus_sign: | Number of aging periods shown in the report. | 4 |
| `periodLength` | *?int* | :heavy_minus_sign: | Length of each aging period in days. | 30 |
| `outstandingBalances` | array<[Components\OutstandingBalance](../../Models/Components/OutstandingBalance.md)> | :heavy_minus_sign: | N/A | |
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| `reportGeneratedAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | The exact date and time the report was generated. | 2024-11-14T12:00:00.000Z |
| `reportAsOfDate` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | The cutoff date for transactions included in the report. | 2024-11-13 |
| `periodCount` | *?int* | :heavy_minus_sign: | Number of aging periods shown in the report. | 4 |
| `periodLength` | *?int* | :heavy_minus_sign: | Length of each aging period in days. | 30 |
| `outstandingBalances` | array<[Components\OutstandingBalanceBySupplier](../../Models/Components/OutstandingBalanceBySupplier.md)> | :heavy_minus_sign: | N/A | |
Loading

0 comments on commit 48b93da

Please sign in to comment.