Skip to content

Commit 71d14a8

Browse files
authored
Merge pull request #21 from apideck-libraries/speakeasy-sdk-regen-1739290031
chore: 🐝 Update SDK - Generate 0.5.0
2 parents bd34fc6 + fe64df5 commit 71d14a8

File tree

114 files changed

+1650
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+1650
-143
lines changed

.speakeasy/gen.lock

Lines changed: 52 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
lockVersion: 2.0.0
22
id: 0e1578f5-5df8-4086-96d6-369ac62fc49d
33
management:
4-
docChecksum: 068bc54ce549b3d15555126d167f788e
5-
docVersion: 10.11.2
6-
speakeasyVersion: 1.484.1
7-
generationVersion: 2.503.2
8-
releaseVersion: 0.4.1
9-
configChecksum: 10409ec6f30074caf4371914ad9567cc
4+
docChecksum: 8a84b005337515a4311dec5a8c491146
5+
docVersion: 10.11.5
6+
speakeasyVersion: 1.497.0
7+
generationVersion: 2.517.3
8+
releaseVersion: 0.5.0
9+
configChecksum: 851ecda7fbcec54aca69233b47972ee1
1010
repoURL: https://github.com/apideck-libraries/sdk-php.git
1111
installationURL: https://github.com/apideck-libraries/sdk-php
1212
published: true
1313
features:
1414
php:
1515
constsAndDefaults: 0.2.0
1616
core: 3.7.13
17+
deepObjectParams: 0.1.0
1718
deprecations: 2.81.1
1819
errors: 0.3.0
1920
flattening: 2.81.1
20-
globalSecurity: 2.81.7
21+
globalSecurity: 2.81.8
2122
globalSecurityFlattening: 0.1.2
2223
globalServerURLs: 2.82.1
2324
globals: 2.82.2
@@ -26,8 +27,8 @@ features:
2627
methodArguments: 0.1.0
2728
methodServerURLs: 2.82.1
2829
nameOverrides: 2.81.2
29-
nullables: 1.0.0
30-
pagination: 0.1.2
30+
nullables: 1.0.1
31+
pagination: 0.1.3
3132
responseFormat: 0.1.0
3233
retries: 0.1.0
3334
typeOverrides: 2.81.1
@@ -80,6 +81,7 @@ generatedFiles:
8081
- docs/Models/Components/Attachment.md
8182
- docs/Models/Components/AttachmentReference.md
8283
- docs/Models/Components/AttachmentReferenceType.md
84+
- docs/Models/Components/Attempts.md
8385
- docs/Models/Components/Audience.md
8486
- docs/Models/Components/AuthType.md
8587
- docs/Models/Components/BalanceByPeriod.md
@@ -478,6 +480,7 @@ generatedFiles:
478480
- docs/Models/Components/GetUploadSessionResponse.md
479481
- docs/Models/Components/GetUserResponse.md
480482
- docs/Models/Components/GetUsersResponse.md
483+
- docs/Models/Components/GetWebhookEventLogsResponse.md
481484
- docs/Models/Components/GetWebhookResponse.md
482485
- docs/Models/Components/GetWebhooksResponse.md
483486
- docs/Models/Components/GrossProfit.md
@@ -756,6 +759,10 @@ generatedFiles:
756759
- docs/Models/Components/VirtualWebhooks.md
757760
- docs/Models/Components/Visibility.md
758761
- docs/Models/Components/Webhook.md
762+
- docs/Models/Components/WebhookEventLog.md
763+
- docs/Models/Components/WebhookEventLogService.md
764+
- docs/Models/Components/WebhookEventLogsFilter.md
765+
- docs/Models/Components/WebhookEventLogsFilterService.md
759766
- docs/Models/Components/WebhookEventType.md
760767
- docs/Models/Components/WebhookSubscription.md
761768
- docs/Models/Components/WebhookSupport.md
@@ -1282,6 +1289,8 @@ generatedFiles:
12821289
- docs/Models/Operations/VaultValidateConnectionStateRequest.md
12831290
- docs/Models/Operations/VaultValidateConnectionStateRequestBody.md
12841291
- docs/Models/Operations/VaultValidateConnectionStateResponse.md
1292+
- docs/Models/Operations/WebhookEventLogsAllRequest.md
1293+
- docs/Models/Operations/WebhookEventLogsAllResponse.md
12851294
- docs/Models/Operations/WebhookWebhooksAddRequest.md
12861295
- docs/Models/Operations/WebhookWebhooksAddResponse.md
12871296
- docs/Models/Operations/WebhookWebhooksAllRequest.md
@@ -1339,6 +1348,7 @@ generatedFiles:
13391348
- docs/sdks/employeepayrolls/README.md
13401349
- docs/sdks/employees/README.md
13411350
- docs/sdks/employeeschedules/README.md
1351+
- docs/sdks/eventlogs/README.md
13421352
- docs/sdks/expenses/README.md
13431353
- docs/sdks/files/README.md
13441354
- docs/sdks/filestorage/README.md
@@ -1430,6 +1440,7 @@ generatedFiles:
14301440
- src/EmployeePayrolls.php
14311441
- src/EmployeeSchedules.php
14321442
- src/Employees.php
1443+
- src/EventLogs.php
14331444
- src/Expenses.php
14341445
- src/FileStorage.php
14351446
- src/Files.php
@@ -1505,6 +1516,7 @@ generatedFiles:
15051516
- src/Models/Components/Attachment.php
15061517
- src/Models/Components/AttachmentReference.php
15071518
- src/Models/Components/AttachmentReferenceType.php
1519+
- src/Models/Components/Attempts.php
15081520
- src/Models/Components/Audience.php
15091521
- src/Models/Components/AuthType.php
15101522
- src/Models/Components/BalanceByPeriod.php
@@ -1899,6 +1911,7 @@ generatedFiles:
18991911
- src/Models/Components/GetUploadSessionResponse.php
19001912
- src/Models/Components/GetUserResponse.php
19011913
- src/Models/Components/GetUsersResponse.php
1914+
- src/Models/Components/GetWebhookEventLogsResponse.php
19021915
- src/Models/Components/GetWebhookResponse.php
19031916
- src/Models/Components/GetWebhooksResponse.php
19041917
- src/Models/Components/GrossProfit.php
@@ -2174,6 +2187,10 @@ generatedFiles:
21742187
- src/Models/Components/VirtualWebhooks.php
21752188
- src/Models/Components/Visibility.php
21762189
- src/Models/Components/Webhook.php
2190+
- src/Models/Components/WebhookEventLog.php
2191+
- src/Models/Components/WebhookEventLogService.php
2192+
- src/Models/Components/WebhookEventLogsFilter.php
2193+
- src/Models/Components/WebhookEventLogsFilterService.php
21772194
- src/Models/Components/WebhookEventType.php
21782195
- src/Models/Components/WebhookSubscription.php
21792196
- src/Models/Components/WebhookSupport.php
@@ -2702,6 +2719,8 @@ generatedFiles:
27022719
- src/Models/Operations/VaultValidateConnectionStateRequest.php
27032720
- src/Models/Operations/VaultValidateConnectionStateRequestBody.php
27042721
- src/Models/Operations/VaultValidateConnectionStateResponse.php
2722+
- src/Models/Operations/WebhookEventLogsAllRequest.php
2723+
- src/Models/Operations/WebhookEventLogsAllResponse.php
27052724
- src/Models/Operations/WebhookWebhooksAddRequest.php
27062725
- src/Models/Operations/WebhookWebhooksAddResponse.php
27072726
- src/Models/Operations/WebhookWebhooksAllRequest.php
@@ -6812,6 +6831,7 @@ examples:
68126831
fields: "id,updated_at"
68136832
limit: 20
68146833
filter: {"drive_id": "1234", "folder_id": "root", "shared": true}
6834+
raw: false
68156835
header:
68166836
x-apideck-consumer-id: "test-consumer"
68176837
x-apideck-app-id: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
@@ -9635,5 +9655,28 @@ examples:
96359655
application/json: {"status_code": 422, "error": "Unprocessable Entity", "type_name": "InvalidStateError", "message": "Invalid State", "detail": {"error": "Unprocessable", "message": "Unprocessable request, please verify your request headers and body."}, "ref": "https://developers.apideck.com/errors#invalidstateerror"}
96369656
default:
96379657
application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestHeadersValidationError", "message": "Invalid Params", "detail": {"missing": [{"x-apideck-consumer-id": "required"}]}, "ref": "https://developers.apideck.com/errors#unauthorizederror"}
9658+
webhook.eventLogsAll:
9659+
"":
9660+
parameters:
9661+
query:
9662+
limit: 20
9663+
filter: {"exclude_apis": "vault,proxy", "consumer_id": "test_user_id", "entity_type": "Connection", "event_type": "vault.connection.callable"}
9664+
header:
9665+
x-apideck-app-id: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
9666+
responses:
9667+
"200":
9668+
application/json: {"status_code": 200, "status": "OK", "data": [{"id": "1d174c4d-fe9e-4377-a76c-6da22fe9cd87", "status_code": 200, "success": true, "application_id": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", "consumer_id": "test_consumer_id", "unified_api": "crm", "service": {"id": "101-data-solution", "name": "101 Data Solution"}, "endpoint": "https://example.com/my/webhook/endpoint", "event_type": "vault.connection.updated", "execution_attempt": 3, "http_method": "GET", "timestamp": "2021-07-12T14:26:17.420Z", "entity_type": "Connection", "request_body": "{\"entity\":{\"id\":\"2222+test_user_id\",\"application_id\":\"2222\",\"consumer_id\":\"test_user_id\",\"name\":\"ActiveCampaign\",\"icon\":\"https://res.cloudinary.com/apideck/image/upload/v1529455970/catalog/activecampaign/icon128x128.png\",\"logo\":\"https://www.activecampaign.com/site/assets/social-2x.png\",\"unified_api\":\"crm\",\"service_id\":\"activecampaign\",\"auth_type\":\"apiKey\",\"enabled\":true,\"tag_line\":\"Integrated email marketing, marketing automation, and small business CRM. Save time while growing your business with sales automation.\",\"website\":\"https://www.activecampaign.com/\",\"settings\":{\"instance_url\":\"https://eu28.salesforce.com\",\"base_url\":\"https://updated.api-us1.com\"},\"metadata\":{\"plan\":\"enterprise\",\"account\":{\"name\":\"My Company\"}},\"state\":\"callable\",\"created_at\":\"2021-09-10T10:39:49.628Z\",\"updated_at\":\"2021-09-10T10:39:52.715Z\"},\"entityType\":\"Connection\"}", "response_body": "{\"status\":\"OK\"}", "retry_scheduled": true, "attempts": [{"timestamp": "2021-07-12T14:26:17.420Z", "execution_attempt": 3, "status_code": 200, "success": true}, {"timestamp": "2021-07-12T14:26:17.420Z", "execution_attempt": 3, "status_code": 200, "success": true}]}, {"id": "1d174c4d-fe9e-4377-a76c-6da22fe9cd87", "status_code": 200, "success": true, "application_id": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", "consumer_id": "test_consumer_id", "unified_api": "crm", "service": {"id": "101-data-solution", "name": "101 Data Solution"}, "endpoint": "https://example.com/my/webhook/endpoint", "event_type": "vault.connection.updated", "execution_attempt": 3, "http_method": "GET", "timestamp": "2021-07-12T14:26:17.420Z", "entity_type": "Connection", "request_body": "{\"entity\":{\"id\":\"2222+test_user_id\",\"application_id\":\"2222\",\"consumer_id\":\"test_user_id\",\"name\":\"ActiveCampaign\",\"icon\":\"https://res.cloudinary.com/apideck/image/upload/v1529455970/catalog/activecampaign/icon128x128.png\",\"logo\":\"https://www.activecampaign.com/site/assets/social-2x.png\",\"unified_api\":\"crm\",\"service_id\":\"activecampaign\",\"auth_type\":\"apiKey\",\"enabled\":true,\"tag_line\":\"Integrated email marketing, marketing automation, and small business CRM. Save time while growing your business with sales automation.\",\"website\":\"https://www.activecampaign.com/\",\"settings\":{\"instance_url\":\"https://eu28.salesforce.com\",\"base_url\":\"https://updated.api-us1.com\"},\"metadata\":{\"plan\":\"enterprise\",\"account\":{\"name\":\"My Company\"}},\"state\":\"callable\",\"created_at\":\"2021-09-10T10:39:49.628Z\",\"updated_at\":\"2021-09-10T10:39:52.715Z\"},\"entityType\":\"Connection\"}", "response_body": "{\"status\":\"OK\"}", "retry_scheduled": true, "attempts": [{"timestamp": "2021-07-12T14:26:17.420Z", "execution_attempt": 3, "status_code": 200, "success": true}, {"timestamp": "2021-07-12T14:26:17.420Z", "execution_attempt": 3, "status_code": 200, "success": true}, {"timestamp": "2021-07-12T14:26:17.420Z", "execution_attempt": 3, "status_code": 200, "success": true}]}, {"id": "1d174c4d-fe9e-4377-a76c-6da22fe9cd87", "status_code": 200, "success": true, "application_id": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", "consumer_id": "test_consumer_id", "unified_api": "crm", "service": {"id": "101-data-solution", "name": "101 Data Solution"}, "endpoint": "https://example.com/my/webhook/endpoint", "event_type": "vault.connection.updated", "execution_attempt": 3, "http_method": "GET", "timestamp": "2021-07-12T14:26:17.420Z", "entity_type": "Connection", "request_body": "{\"entity\":{\"id\":\"2222+test_user_id\",\"application_id\":\"2222\",\"consumer_id\":\"test_user_id\",\"name\":\"ActiveCampaign\",\"icon\":\"https://res.cloudinary.com/apideck/image/upload/v1529455970/catalog/activecampaign/icon128x128.png\",\"logo\":\"https://www.activecampaign.com/site/assets/social-2x.png\",\"unified_api\":\"crm\",\"service_id\":\"activecampaign\",\"auth_type\":\"apiKey\",\"enabled\":true,\"tag_line\":\"Integrated email marketing, marketing automation, and small business CRM. Save time while growing your business with sales automation.\",\"website\":\"https://www.activecampaign.com/\",\"settings\":{\"instance_url\":\"https://eu28.salesforce.com\",\"base_url\":\"https://updated.api-us1.com\"},\"metadata\":{\"plan\":\"enterprise\",\"account\":{\"name\":\"My Company\"}},\"state\":\"callable\",\"created_at\":\"2021-09-10T10:39:49.628Z\",\"updated_at\":\"2021-09-10T10:39:52.715Z\"},\"entityType\":\"Connection\"}", "response_body": "{\"status\":\"OK\"}", "retry_scheduled": true, "attempts": [{"timestamp": "2021-07-12T14:26:17.420Z", "execution_attempt": 3, "status_code": 200, "success": true}]}], "meta": {"items_on_page": 50, "cursors": {"previous": "em9oby1jcm06OnBhZ2U6OjE=", "current": "em9oby1jcm06OnBhZ2U6OjI=", "next": "em9oby1jcm06OnBhZ2U6OjM="}}, "links": {"previous": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D", "current": "https://unify.apideck.com/crm/companies", "next": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM"}}
9669+
"400":
9670+
application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestValidationError", "message": "Invalid Params", "detail": "Missing property foobar", "ref": "https://developers.apideck.com/errors#requestvalidationerror"}
9671+
"401":
9672+
application/json: {"status_code": 401, "error": "Unauthorized", "type_name": "UnauthorizedError", "message": "Unauthorized Request", "detail": "Missing authentication", "ref": "https://developers.apideck.com/errors#unauthorizederror"}
9673+
"402":
9674+
application/json: {"status_code": 402, "error": "Payment Required", "type_name": "RequestLimitError", "message": "Request Limit Reached", "detail": "You have reached your limit of 2000", "ref": "https://developers.apideck.com/errors#requestlimiterror"}
9675+
"404":
9676+
application/json: {"status_code": 404, "error": "Not Found", "type_name": "EntityNotFoundError", "message": "Unknown Widget", "detail": {"not_found": {"entity": "widget", "id": "123"}}, "ref": "https://developers.apideck.com/errors#entitynotfounderror"}
9677+
"422":
9678+
application/json: {"status_code": 422, "error": "Unprocessable Entity", "type_name": "InvalidStateError", "message": "Invalid State", "detail": {"error": "Unprocessable", "message": "Unprocessable request, please verify your request headers and body."}, "ref": "https://developers.apideck.com/errors#invalidstateerror"}
9679+
default:
9680+
application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestHeadersValidationError", "message": "Invalid Params", "detail": "Missing Header: x-apideck-consumer-id", "ref": "https://developers.apideck.com/errors#unauthorizederror"}
96389681
examplesVersion: 1.0.0
96399682
generatedTests: {}

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ generation:
77
useClassNamesForArrayFields: true
88
fixes:
99
nameResolutionDec2023: true
10+
nameResolutionFeb2025: false
1011
parameterOrderingFeb2024: true
1112
requestResponseComponentNamesFeb2024: true
13+
securityFeb2025: false
1214
auth:
1315
oAuth2ClientCredentialsEnabled: true
1416
oAuth2PasswordEnabled: true
1517
php:
16-
version: 0.4.1
18+
version: 0.5.0
1719
additionalDependencies:
1820
autoload: {}
1921
autoload-dev: {}

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.484.1
1+
speakeasyVersion: 1.497.0
22
sources:
33
Apideck:
44
sourceNamespace: apideck
5-
sourceRevisionDigest: sha256:e340d2015bf83ee37ac2f72aad6a56a9a2c6290a8a229edeca30d7759cab1c62
6-
sourceBlobDigest: sha256:94da7a3663c9fff3dac3d41364bf940e0b5eba81c50cb9e76a3af41d4af0b25f
5+
sourceRevisionDigest: sha256:4225e26489731dc74b1bcd2f5280ebab67e78f1fe17c69033955a7b2e13afd2f
6+
sourceBlobDigest: sha256:865d927d8e074531019c9b85b8edc30bb0baa6723da420039355c7b15192becd
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1738747410
10-
- 10.11.2
9+
- speakeasy-sdk-regen-1739290031
10+
- 10.11.5
1111
targets:
1212
apideck:
1313
source: Apideck
1414
sourceNamespace: apideck
15-
sourceRevisionDigest: sha256:e340d2015bf83ee37ac2f72aad6a56a9a2c6290a8a229edeca30d7759cab1c62
16-
sourceBlobDigest: sha256:94da7a3663c9fff3dac3d41364bf940e0b5eba81c50cb9e76a3af41d4af0b25f
15+
sourceRevisionDigest: sha256:4225e26489731dc74b1bcd2f5280ebab67e78f1fe17c69033955a7b2e13afd2f
16+
sourceBlobDigest: sha256:865d927d8e074531019c9b85b8edc30bb0baa6723da420039355c7b15192becd
1717
codeSamplesNamespace: apideck-php-code-samples
18-
codeSamplesRevisionDigest: sha256:b57bfa89aa06c4104c6fc0f6a1ae184dda0d9b05aa390e6ecb198f590776f88e
18+
codeSamplesRevisionDigest: sha256:105394d21757b8a332bc711414db747af9cfdebe3921679dfa419c4ae128d8a2
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,10 @@ if ($response->createTaxRateResponse !== null) {
698698
### [webhook](docs/sdks/webhook/README.md)
699699

700700

701+
#### [webhook->eventLogs](docs/sdks/eventlogs/README.md)
702+
703+
* [list](docs/sdks/eventlogs/README.md#list) - List event logs
704+
701705
#### [webhook->webhooks](docs/sdks/webhooks/README.md)
702706

703707
* [create](docs/sdks/webhooks/README.md#create) - Create webhook subscription
@@ -973,6 +977,7 @@ require 'vendor/autoload.php';
973977

974978
use Apideck\Unify;
975979
use Apideck\Unify\Models\Components;
980+
use Apideck\Unify\Models\Errors;
976981
use Apideck\Unify\Models\Operations;
977982

978983
$sdk = Unify\Apideck::builder()
@@ -1068,7 +1073,7 @@ try {
10681073

10691074
### Override Server URL Per-Client
10701075

1071-
The default server can also be overridden globally using the `setServerUrl(string $serverUrl)` builder method when initializing the SDK client instance. For example:
1076+
The default server can be overridden globally using the `setServerUrl(string $serverUrl)` builder method when initializing the SDK client instance. For example:
10721077
```php
10731078
declare(strict_types=1);
10741079

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,14 @@ Based on:
128128
### Generated
129129
- [php v0.4.1] .
130130
### Releases
131-
- [Composer v0.4.1] https://packagist.org/packages/apideck-libraries/sdk-php#v0.4.1 - .
131+
- [Composer v0.4.1] https://packagist.org/packages/apideck-libraries/sdk-php#v0.4.1 - .
132+
133+
## 2025-02-20 00:02:11
134+
### Changes
135+
Based on:
136+
- OpenAPI Doc
137+
- Speakeasy CLI 1.497.0 (2.517.3) https://github.com/speakeasy-api/speakeasy
138+
### Generated
139+
- [php v0.5.0] .
140+
### Releases
141+
- [Composer v0.5.0] https://packagist.org/packages/apideck-libraries/sdk-php#v0.5.0 - .

0 commit comments

Comments
 (0)